reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2060,6 +2060,10 @@ class ScrollBar(_core.Control):
|
||||
return _controls_.ScrollBar_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
PageSize = property(GetPageSize,doc="See `GetPageSize`")
|
||||
Range = property(GetRange,doc="See `GetRange`")
|
||||
ThumbPosition = property(GetThumbPosition,SetThumbPosition,doc="See `GetThumbPosition` and `SetThumbPosition`")
|
||||
ThumbSize = property(GetThumbSize,doc="See `GetThumbSize`")
|
||||
_controls_.ScrollBar_swigregister(ScrollBar)
|
||||
ScrollBarNameStr = cvar.ScrollBarNameStr
|
||||
|
||||
@@ -2162,6 +2166,9 @@ class SpinButton(_core.Control):
|
||||
return _controls_.SpinButton_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
Max = property(GetMax,SetMax,doc="See `GetMax` and `SetMax`")
|
||||
Min = property(GetMin,SetMin,doc="See `GetMin` and `SetMin`")
|
||||
Value = property(GetValue,SetValue,doc="See `GetValue` and `SetValue`")
|
||||
_controls_.SpinButton_swigregister(SpinButton)
|
||||
SPIN_BUTTON_NAME = cvar.SPIN_BUTTON_NAME
|
||||
SpinCtrlNameStr = cvar.SpinCtrlNameStr
|
||||
@@ -2257,6 +2264,9 @@ class SpinCtrl(_core.Control):
|
||||
return _controls_.SpinCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
Max = property(GetMax,doc="See `GetMax`")
|
||||
Min = property(GetMin,doc="See `GetMin`")
|
||||
Value = property(GetValue,SetValue,doc="See `GetValue` and `SetValue`")
|
||||
_controls_.SpinCtrl_swigregister(SpinCtrl)
|
||||
|
||||
def PreSpinCtrl(*args, **kwargs):
|
||||
@@ -2296,6 +2306,7 @@ class SpinEvent(_core.NotifyEvent):
|
||||
"""SetPosition(self, int pos)"""
|
||||
return _controls_.SpinEvent_SetPosition(*args, **kwargs)
|
||||
|
||||
Position = property(GetPosition,SetPosition,doc="See `GetPosition` and `SetPosition`")
|
||||
_controls_.SpinEvent_swigregister(SpinEvent)
|
||||
|
||||
wxEVT_COMMAND_SPINCTRL_UPDATED = _controls_.wxEVT_COMMAND_SPINCTRL_UPDATED
|
||||
@@ -2430,6 +2441,11 @@ class RadioBox(_core.Control):
|
||||
return _controls_.RadioBox_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
ColumnCount = property(GetColumnCount,doc="See `GetColumnCount`")
|
||||
Count = property(GetCount,doc="See `GetCount`")
|
||||
RowCount = property(GetRowCount,doc="See `GetRowCount`")
|
||||
Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`")
|
||||
StringSelection = property(GetStringSelection,SetStringSelection,doc="See `GetStringSelection` and `SetStringSelection`")
|
||||
_controls_.RadioBox_swigregister(RadioBox)
|
||||
RadioBoxNameStr = cvar.RadioBoxNameStr
|
||||
RadioButtonNameStr = cvar.RadioButtonNameStr
|
||||
@@ -2507,6 +2523,7 @@ class RadioButton(_core.Control):
|
||||
return _controls_.RadioButton_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
Value = property(GetValue,SetValue,doc="See `GetValue` and `SetValue`")
|
||||
_controls_.RadioButton_swigregister(RadioButton)
|
||||
|
||||
def PreRadioButton(*args, **kwargs):
|
||||
@@ -2673,6 +2690,15 @@ class Slider(_core.Control):
|
||||
return _controls_.Slider_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
LineSize = property(GetLineSize,SetLineSize,doc="See `GetLineSize` and `SetLineSize`")
|
||||
Max = property(GetMax,SetMax,doc="See `GetMax` and `SetMax`")
|
||||
Min = property(GetMin,SetMin,doc="See `GetMin` and `SetMin`")
|
||||
PageSize = property(GetPageSize,SetPageSize,doc="See `GetPageSize` and `SetPageSize`")
|
||||
SelEnd = property(GetSelEnd,doc="See `GetSelEnd`")
|
||||
SelStart = property(GetSelStart,doc="See `GetSelStart`")
|
||||
ThumbLength = property(GetThumbLength,SetThumbLength,doc="See `GetThumbLength` and `SetThumbLength`")
|
||||
TickFreq = property(GetTickFreq,SetTickFreq,doc="See `GetTickFreq` and `SetTickFreq`")
|
||||
Value = property(GetValue,SetValue,doc="See `GetValue` and `SetValue`")
|
||||
_controls_.Slider_swigregister(Slider)
|
||||
SliderNameStr = cvar.SliderNameStr
|
||||
|
||||
@@ -6325,6 +6351,9 @@ def PreDatePickerCtrl(*args, **kwargs):
|
||||
return val
|
||||
|
||||
HL_CONTEXTMENU = _controls_.HL_CONTEXTMENU
|
||||
HL_ALIGN_LEFT = _controls_.HL_ALIGN_LEFT
|
||||
HL_ALIGN_RIGHT = _controls_.HL_ALIGN_RIGHT
|
||||
HL_ALIGN_CENTRE = _controls_.HL_ALIGN_CENTRE
|
||||
HL_DEFAULT_STYLE = _controls_.HL_DEFAULT_STYLE
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
@@ -6576,6 +6605,13 @@ class PickerBase(_core.Control):
|
||||
"""GetPickerCtrl(self) -> Control"""
|
||||
return _controls_.PickerBase_GetPickerCtrl(*args, **kwargs)
|
||||
|
||||
InternalMargin = property(GetInternalMargin,SetInternalMargin,doc="See `GetInternalMargin` and `SetInternalMargin`")
|
||||
PickerCtrl = property(GetPickerCtrl,doc="See `GetPickerCtrl`")
|
||||
PickerCtrlProportion = property(GetPickerCtrlProportion,SetPickerCtrlProportion,doc="See `GetPickerCtrlProportion` and `SetPickerCtrlProportion`")
|
||||
TextCtrl = property(GetTextCtrl,doc="See `GetTextCtrl`")
|
||||
TextCtrlProportion = property(GetTextCtrlProportion,SetTextCtrlProportion,doc="See `GetTextCtrlProportion` and `SetTextCtrlProportion`")
|
||||
TextCtrlGrowable = property(IsTextCtrlGrowable,SetTextCtrlGrowable,doc="See `IsTextCtrlGrowable` and `SetTextCtrlGrowable`")
|
||||
PickerCtrlGrowable = property(IsPickerCtrlGrowable,SetPickerCtrlGrowable,doc="See `IsPickerCtrlGrowable` and `SetPickerCtrlGrowable`")
|
||||
_controls_.PickerBase_swigregister(PickerBase)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
@@ -48979,6 +48979,9 @@ SWIGEXPORT void SWIG_init(void) {
|
||||
SWIG_Python_SetConstant(d, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE)));
|
||||
SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get, HyperlinkCtrlNameStr_set);
|
||||
SWIG_Python_SetConstant(d, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU)));
|
||||
SWIG_Python_SetConstant(d, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT)));
|
||||
SWIG_Python_SetConstant(d, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT)));
|
||||
SWIG_Python_SetConstant(d, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE)));
|
||||
SWIG_Python_SetConstant(d, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE)));
|
||||
PyDict_SetItemString(d, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK));
|
||||
SWIG_Python_SetConstant(d, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL)));
|
||||
|
@@ -706,6 +706,7 @@ class Object(object):
|
||||
args[0].thisown = 0
|
||||
return val
|
||||
|
||||
ClassName = property(GetClassName,doc="See `GetClassName`")
|
||||
_core_.Object_swigregister(Object)
|
||||
_wxPySetDictionary = _core_._wxPySetDictionary
|
||||
cvar = _core_.cvar
|
||||
@@ -1320,30 +1321,34 @@ class Rect(object):
|
||||
"""
|
||||
return _core_.Rect___ne__(*args, **kwargs)
|
||||
|
||||
def InsideXY(*args, **kwargs):
|
||||
def ContainsXY(*args, **kwargs):
|
||||
"""
|
||||
InsideXY(self, int x, int y) -> bool
|
||||
ContainsXY(self, int x, int y) -> bool
|
||||
|
||||
Return True if the point is (not strcitly) inside the rect.
|
||||
Return True if the point is inside the rect.
|
||||
"""
|
||||
return _core_.Rect_InsideXY(*args, **kwargs)
|
||||
return _core_.Rect_ContainsXY(*args, **kwargs)
|
||||
|
||||
def Inside(*args, **kwargs):
|
||||
def Contains(*args, **kwargs):
|
||||
"""
|
||||
Inside(self, Point pt) -> bool
|
||||
Contains(self, Point pt) -> bool
|
||||
|
||||
Return True if the point is (not strcitly) inside the rect.
|
||||
Return True if the point is inside the rect.
|
||||
"""
|
||||
return _core_.Rect_Inside(*args, **kwargs)
|
||||
return _core_.Rect_Contains(*args, **kwargs)
|
||||
|
||||
def InsideRect(*args, **kwargs):
|
||||
def ContainsRect(*args, **kwargs):
|
||||
"""
|
||||
InsideRect(self, Rect rect) -> bool
|
||||
ContainsRect(self, Rect rect) -> bool
|
||||
|
||||
Returns ``True`` if the given rectangle is completely inside this
|
||||
rectangle or touches its boundary.
|
||||
"""
|
||||
return _core_.Rect_InsideRect(*args, **kwargs)
|
||||
return _core_.Rect_ContainsRect(*args, **kwargs)
|
||||
|
||||
Inside = wx._deprecated(Contains, "Use `Contains` instead.")
|
||||
InsideXY = wx._deprecated(ContainsXY, "Use `ContainsXY` instead.")
|
||||
InsideRect = wx._deprecated(ContainsRect, "Use `ContainsRect` instead.")
|
||||
|
||||
def Intersects(*args, **kwargs):
|
||||
"""
|
||||
@@ -1398,6 +1403,19 @@ class Rect(object):
|
||||
__safe_for_unpickling__ = True
|
||||
def __reduce__(self): return (wx.Rect, self.Get())
|
||||
|
||||
Bottom = property(GetBottom,SetBottom,doc="See `GetBottom` and `SetBottom`")
|
||||
BottomRight = property(GetBottomRight,SetBottomRight,doc="See `GetBottomRight` and `SetBottomRight`")
|
||||
Height = property(GetHeight,SetHeight,doc="See `GetHeight` and `SetHeight`")
|
||||
Left = property(GetLeft,SetLeft,doc="See `GetLeft` and `SetLeft`")
|
||||
Position = property(GetPosition,SetPosition,doc="See `GetPosition` and `SetPosition`")
|
||||
Right = property(GetRight,SetRight,doc="See `GetRight` and `SetRight`")
|
||||
Size = property(GetSize,SetSize,doc="See `GetSize` and `SetSize`")
|
||||
Top = property(GetTop,SetTop,doc="See `GetTop` and `SetTop`")
|
||||
TopLeft = property(GetTopLeft,SetTopLeft,doc="See `GetTopLeft` and `SetTopLeft`")
|
||||
Width = property(GetWidth,SetWidth,doc="See `GetWidth` and `SetWidth`")
|
||||
X = property(GetX,SetX,doc="See `GetX` and `SetX`")
|
||||
Y = property(GetY,SetY,doc="See `GetY` and `SetY`")
|
||||
Empty = property(IsEmpty,doc="See `IsEmpty`")
|
||||
_core_.Rect_swigregister(Rect)
|
||||
|
||||
def RectPP(*args, **kwargs):
|
||||
@@ -1572,6 +1590,10 @@ class Point2D(object):
|
||||
__safe_for_unpickling__ = True
|
||||
def __reduce__(self): return (wx.Point2D, self.Get())
|
||||
|
||||
Floor = property(GetFloor,doc="See `GetFloor`")
|
||||
Rounded = property(GetRounded,doc="See `GetRounded`")
|
||||
VectorAngle = property(GetVectorAngle,SetVectorAngle,doc="See `GetVectorAngle` and `SetVectorAngle`")
|
||||
VectorLength = property(GetVectorLength,SetVectorLength,doc="See `GetVectorLength` and `SetVectorLength`")
|
||||
_core_.Point2D_swigregister(Point2D)
|
||||
|
||||
def Point2DCopy(*args, **kwargs):
|
||||
@@ -4230,6 +4252,8 @@ class ScrollEvent(CommandEvent):
|
||||
"""SetPosition(self, int pos)"""
|
||||
return _core_.ScrollEvent_SetPosition(*args, **kwargs)
|
||||
|
||||
Orientation = property(GetOrientation,SetOrientation,doc="See `GetOrientation` and `SetOrientation`")
|
||||
Position = property(GetPosition,SetPosition,doc="See `GetPosition` and `SetPosition`")
|
||||
_core_.ScrollEvent_swigregister(ScrollEvent)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -4276,6 +4300,8 @@ class ScrollWinEvent(Event):
|
||||
"""SetPosition(self, int pos)"""
|
||||
return _core_.ScrollWinEvent_SetPosition(*args, **kwargs)
|
||||
|
||||
Orientation = property(GetOrientation,SetOrientation,doc="See `GetOrientation` and `SetOrientation`")
|
||||
Position = property(GetPosition,SetPosition,doc="See `GetPosition` and `SetPosition`")
|
||||
_core_.ScrollWinEvent_swigregister(ScrollWinEvent)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -4760,6 +4786,9 @@ class SetCursorEvent(Event):
|
||||
"""
|
||||
return _core_.SetCursorEvent_HasCursor(*args, **kwargs)
|
||||
|
||||
Cursor = property(GetCursor,SetCursor,doc="See `GetCursor` and `SetCursor`")
|
||||
X = property(GetX,doc="See `GetX`")
|
||||
Y = property(GetY,doc="See `GetY`")
|
||||
_core_.SetCursorEvent_swigregister(SetCursorEvent)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -5073,6 +5102,8 @@ class SizeEvent(Event):
|
||||
|
||||
m_size = property(_core_.SizeEvent_m_size_get, _core_.SizeEvent_m_size_set)
|
||||
m_rect = property(_core_.SizeEvent_m_rect_get, _core_.SizeEvent_m_rect_set)
|
||||
Rect = property(GetRect,SetRect,doc="See `GetRect` and `SetRect`")
|
||||
Size = property(GetSize,SetSize,doc="See `GetSize` and `SetSize`")
|
||||
_core_.SizeEvent_swigregister(SizeEvent)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -5233,9 +5264,14 @@ _core_.FocusEvent_swigregister(FocusEvent)
|
||||
|
||||
class ChildFocusEvent(CommandEvent):
|
||||
"""
|
||||
wx.ChildFocusEvent notifies the parent that a child has received the
|
||||
focus. Unlike `wx.FocusEvent` it is propagated up the window
|
||||
heirarchy.
|
||||
A child focus event is sent to a (parent-)window when one of its child
|
||||
windows gains focus, so that the window could restore the focus back
|
||||
to its corresponding child if it loses it now and regains later.
|
||||
|
||||
Notice that child window is the direct child of the window receiving
|
||||
the event, and so may not be the actual widget recieving focus if it
|
||||
is further down the containment heirarchy. Use `wx.Window.FindFocus`
|
||||
to get the widget that is actually receiving focus.
|
||||
"""
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
@@ -5250,7 +5286,8 @@ class ChildFocusEvent(CommandEvent):
|
||||
"""
|
||||
GetWindow(self) -> Window
|
||||
|
||||
The window which has just received the focus.
|
||||
The window, or (grand)parent of the window which has just received the
|
||||
focus.
|
||||
"""
|
||||
return _core_.ChildFocusEvent_GetWindow(*args, **kwargs)
|
||||
|
||||
@@ -5481,6 +5518,7 @@ class ShowEvent(Event):
|
||||
"""GetShow(self) -> bool"""
|
||||
return _core_.ShowEvent_GetShow(*args, **kwargs)
|
||||
|
||||
Show = property(GetShow,SetShow,doc="See `GetShow` and `SetShow`")
|
||||
_core_.ShowEvent_swigregister(ShowEvent)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -6067,6 +6105,7 @@ class PaletteChangedEvent(Event):
|
||||
"""GetChangedWindow(self) -> Window"""
|
||||
return _core_.PaletteChangedEvent_GetChangedWindow(*args, **kwargs)
|
||||
|
||||
ChangedWindow = property(GetChangedWindow,SetChangedWindow,doc="See `GetChangedWindow` and `SetChangedWindow`")
|
||||
_core_.PaletteChangedEvent_swigregister(PaletteChangedEvent)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -6099,6 +6138,7 @@ class QueryNewPaletteEvent(Event):
|
||||
"""GetPaletteRealized(self) -> bool"""
|
||||
return _core_.QueryNewPaletteEvent_GetPaletteRealized(*args, **kwargs)
|
||||
|
||||
PaletteRealized = property(GetPaletteRealized,SetPaletteRealized,doc="See `GetPaletteRealized` and `SetPaletteRealized`")
|
||||
_core_.QueryNewPaletteEvent_swigregister(QueryNewPaletteEvent)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -6954,9 +6994,9 @@ class PyApp(EvtHandler):
|
||||
return _core_.PyApp_GetComCtl32Version(*args, **kwargs)
|
||||
|
||||
GetComCtl32Version = staticmethod(GetComCtl32Version)
|
||||
def DisplayAvailable(*args, **kwargs):
|
||||
def IsDisplayAvailable(*args, **kwargs):
|
||||
"""
|
||||
DisplayAvailable() -> bool
|
||||
IsDisplayAvailable() -> bool
|
||||
|
||||
Tests if it is possible to create a GUI in the current environment.
|
||||
This will mean different things on the different platforms.
|
||||
@@ -6973,9 +7013,20 @@ class PyApp(EvtHandler):
|
||||
* On MS Windows...
|
||||
|
||||
"""
|
||||
return _core_.PyApp_DisplayAvailable(*args, **kwargs)
|
||||
return _core_.PyApp_IsDisplayAvailable(*args, **kwargs)
|
||||
|
||||
DisplayAvailable = staticmethod(DisplayAvailable)
|
||||
IsDisplayAvailable = staticmethod(IsDisplayAvailable)
|
||||
AppName = property(GetAppName,SetAppName,doc="See `GetAppName` and `SetAppName`")
|
||||
AssertMode = property(GetAssertMode,SetAssertMode,doc="See `GetAssertMode` and `SetAssertMode`")
|
||||
ClassName = property(GetClassName,SetClassName,doc="See `GetClassName` and `SetClassName`")
|
||||
ExitOnFrameDelete = property(GetExitOnFrameDelete,SetExitOnFrameDelete,doc="See `GetExitOnFrameDelete` and `SetExitOnFrameDelete`")
|
||||
LayoutDirection = property(GetLayoutDirection,doc="See `GetLayoutDirection`")
|
||||
PrintMode = property(GetPrintMode,SetPrintMode,doc="See `GetPrintMode` and `SetPrintMode`")
|
||||
TopWindow = property(GetTopWindow,SetTopWindow,doc="See `GetTopWindow` and `SetTopWindow`")
|
||||
Traits = property(GetTraits,doc="See `GetTraits`")
|
||||
UseBestVisual = property(GetUseBestVisual,SetUseBestVisual,doc="See `GetUseBestVisual` and `SetUseBestVisual`")
|
||||
VendorName = property(GetVendorName,SetVendorName,doc="See `GetVendorName` and `SetVendorName`")
|
||||
Active = property(IsActive)
|
||||
_core_.PyApp_swigregister(PyApp)
|
||||
|
||||
def PyApp_IsMainLoopRunning(*args):
|
||||
@@ -7036,9 +7087,9 @@ def PyApp_GetComCtl32Version(*args):
|
||||
"""
|
||||
return _core_.PyApp_GetComCtl32Version(*args)
|
||||
|
||||
def PyApp_DisplayAvailable(*args):
|
||||
def PyApp_IsDisplayAvailable(*args):
|
||||
"""
|
||||
PyApp_DisplayAvailable() -> bool
|
||||
PyApp_IsDisplayAvailable() -> bool
|
||||
|
||||
Tests if it is possible to create a GUI in the current environment.
|
||||
This will mean different things on the different platforms.
|
||||
@@ -7055,7 +7106,7 @@ def PyApp_DisplayAvailable(*args):
|
||||
* On MS Windows...
|
||||
|
||||
"""
|
||||
return _core_.PyApp_DisplayAvailable(*args)
|
||||
return _core_.PyApp_IsDisplayAvailable(*args)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
@@ -7288,7 +7339,7 @@ class App(wx.PyApp):
|
||||
wx.PyApp.__init__(self)
|
||||
|
||||
# make sure we can create a GUI
|
||||
if not self.DisplayAvailable():
|
||||
if not self.IsDisplayAvailable():
|
||||
|
||||
if wx.Platform == "__WXMAC__":
|
||||
msg = """This program needs access to the screen.
|
||||
@@ -8456,6 +8507,16 @@ class Window(EvtHandler):
|
||||
"""
|
||||
return _core_.Window_IsEnabled(*args, **kwargs)
|
||||
|
||||
def IsShownOnScreen(*args, **kwargs):
|
||||
"""
|
||||
IsShownOnScreen(self) -> bool
|
||||
|
||||
Returns ``True`` if the window is physically visible on the screen,
|
||||
i.e. it is shown and all its parents up to the toplevel window are
|
||||
shown as well.
|
||||
"""
|
||||
return _core_.Window_IsShownOnScreen(*args, **kwargs)
|
||||
|
||||
def SetWindowStyleFlag(*args, **kwargs):
|
||||
"""
|
||||
SetWindowStyleFlag(self, long style)
|
||||
@@ -9058,6 +9119,16 @@ class Window(EvtHandler):
|
||||
"""
|
||||
return _core_.Window_Freeze(*args, **kwargs)
|
||||
|
||||
def IsFrozen(*args, **kwargs):
|
||||
"""
|
||||
IsFrozen(self) -> bool
|
||||
|
||||
Returns ``True`` if the window has been frozen and not thawed yet.
|
||||
|
||||
:see: `Freeze` and `Thaw`
|
||||
"""
|
||||
return _core_.Window_IsFrozen(*args, **kwargs)
|
||||
|
||||
def Thaw(*args, **kwargs):
|
||||
"""
|
||||
Thaw(self)
|
||||
@@ -11411,6 +11482,19 @@ class SizerItem(Object):
|
||||
"""
|
||||
return _core_.SizerItem_SetUserData(*args, **kwargs)
|
||||
|
||||
Border = property(GetBorder,SetBorder,doc="See `GetBorder` and `SetBorder`")
|
||||
Flag = property(GetFlag,SetFlag,doc="See `GetFlag` and `SetFlag`")
|
||||
MinSize = property(GetMinSize,doc="See `GetMinSize`")
|
||||
MinSizeWithBorder = property(GetMinSizeWithBorder,doc="See `GetMinSizeWithBorder`")
|
||||
Position = property(GetPosition,doc="See `GetPosition`")
|
||||
Proportion = property(GetProportion,SetProportion,doc="See `GetProportion` and `SetProportion`")
|
||||
Ratio = property(GetRatio,SetRatio,doc="See `GetRatio` and `SetRatio`")
|
||||
Rect = property(GetRect,doc="See `GetRect`")
|
||||
Size = property(GetSize,doc="See `GetSize`")
|
||||
Sizer = property(GetSizer,SetSizer,doc="See `GetSizer` and `SetSizer`")
|
||||
Spacer = property(GetSpacer,SetSpacer,doc="See `GetSpacer` and `SetSpacer`")
|
||||
UserData = property(GetUserData,SetUserData,doc="See `GetUserData` and `SetUserData`")
|
||||
Window = property(GetWindow,SetWindow,doc="See `GetWindow` and `SetWindow`")
|
||||
_core_.SizerItem_swigregister(SizerItem)
|
||||
|
||||
def SizerItemWindow(*args, **kwargs):
|
||||
@@ -11933,6 +12017,11 @@ class Sizer(Object):
|
||||
"""
|
||||
return _core_.Sizer_ShowItems(*args, **kwargs)
|
||||
|
||||
Children = property(GetChildren,doc="See `GetChildren`")
|
||||
ContainingWindow = property(GetContainingWindow,SetContainingWindow,doc="See `GetContainingWindow` and `SetContainingWindow`")
|
||||
MinSize = property(GetMinSize,SetMinSize,doc="See `GetMinSize` and `SetMinSize`")
|
||||
Position = property(GetPosition,doc="See `GetPosition`")
|
||||
Size = property(GetSize,doc="See `GetSize`")
|
||||
_core_.Sizer_swigregister(Sizer)
|
||||
|
||||
class PySizer(Sizer):
|
||||
@@ -12067,6 +12156,7 @@ class StaticBoxSizer(BoxSizer):
|
||||
"""
|
||||
return _core_.StaticBoxSizer_GetStaticBox(*args, **kwargs)
|
||||
|
||||
StaticBox = property(GetStaticBox,doc="See `GetStaticBox`")
|
||||
_core_.StaticBoxSizer_swigregister(StaticBoxSizer)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -12424,6 +12514,11 @@ class StdDialogButtonSizer(BoxSizer):
|
||||
"""GetHelpButton(self) -> wxButton"""
|
||||
return _core_.StdDialogButtonSizer_GetHelpButton(*args, **kwargs)
|
||||
|
||||
AffirmativeButton = property(GetAffirmativeButton,SetAffirmativeButton,doc="See `GetAffirmativeButton` and `SetAffirmativeButton`")
|
||||
ApplyButton = property(GetApplyButton,doc="See `GetApplyButton`")
|
||||
CancelButton = property(GetCancelButton,SetCancelButton,doc="See `GetCancelButton` and `SetCancelButton`")
|
||||
HelpButton = property(GetHelpButton,doc="See `GetHelpButton`")
|
||||
NegativeButton = property(GetNegativeButton,SetNegativeButton,doc="See `GetNegativeButton` and `SetNegativeButton`")
|
||||
_core_.StdDialogButtonSizer_swigregister(StdDialogButtonSizer)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
@@ -3788,7 +3788,7 @@ SWIGINTERN wxPyApp *new_wxPyApp(){
|
||||
return wxPythonApp;
|
||||
}
|
||||
SWIGINTERN int wxPyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
|
||||
SWIGINTERN bool wxPyApp_DisplayAvailable(){
|
||||
SWIGINTERN bool wxPyApp_IsDisplayAvailable(){
|
||||
return wxPyTestDisplayAvailable();
|
||||
}
|
||||
|
||||
@@ -7492,7 +7492,7 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Rect_InsideXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
SWIGINTERN PyObject *_wrap_Rect_ContainsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxRect *arg1 = (wxRect *) 0 ;
|
||||
int arg2 ;
|
||||
@@ -7511,25 +7511,25 @@ SWIGINTERN PyObject *_wrap_Rect_InsideXY(PyObject *SWIGUNUSEDPARM(self), PyObjec
|
||||
(char *) "self",(char *) "x",(char *) "y", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_InsideXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_ContainsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRect, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Rect_InsideXY" "', expected argument " "1"" of type '" "wxRect const *""'");
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Rect_ContainsXY" "', expected argument " "1"" of type '" "wxRect const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxRect * >(argp1);
|
||||
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
||||
if (!SWIG_IsOK(ecode2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Rect_InsideXY" "', expected argument " "2"" of type '" "int""'");
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Rect_ContainsXY" "', expected argument " "2"" of type '" "int""'");
|
||||
}
|
||||
arg2 = static_cast< int >(val2);
|
||||
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
||||
if (!SWIG_IsOK(ecode3)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Rect_InsideXY" "', expected argument " "3"" of type '" "int""'");
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Rect_ContainsXY" "', expected argument " "3"" of type '" "int""'");
|
||||
}
|
||||
arg3 = static_cast< int >(val3);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
|
||||
result = (bool)((wxRect const *)arg1)->Contains(arg2,arg3);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
@@ -7542,7 +7542,7 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Rect_Inside(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
SWIGINTERN PyObject *_wrap_Rect_Contains(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxRect *arg1 = (wxRect *) 0 ;
|
||||
wxPoint *arg2 = 0 ;
|
||||
@@ -7556,10 +7556,10 @@ SWIGINTERN PyObject *_wrap_Rect_Inside(PyObject *SWIGUNUSEDPARM(self), PyObject
|
||||
(char *) "self",(char *) "pt", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Contains",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRect, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Rect_Inside" "', expected argument " "1"" of type '" "wxRect const *""'");
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Rect_Contains" "', expected argument " "1"" of type '" "wxRect const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxRect * >(argp1);
|
||||
{
|
||||
@@ -7568,7 +7568,7 @@ SWIGINTERN PyObject *_wrap_Rect_Inside(PyObject *SWIGUNUSEDPARM(self), PyObject
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
|
||||
result = (bool)((wxRect const *)arg1)->Contains((wxPoint const &)*arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
@@ -7581,7 +7581,7 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Rect_InsideRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
SWIGINTERN PyObject *_wrap_Rect_ContainsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxRect *arg1 = (wxRect *) 0 ;
|
||||
wxRect *arg2 = 0 ;
|
||||
@@ -7595,10 +7595,10 @@ SWIGINTERN PyObject *_wrap_Rect_InsideRect(PyObject *SWIGUNUSEDPARM(self), PyObj
|
||||
(char *) "self",(char *) "rect", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_InsideRect",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_ContainsRect",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRect, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Rect_InsideRect" "', expected argument " "1"" of type '" "wxRect const *""'");
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Rect_ContainsRect" "', expected argument " "1"" of type '" "wxRect const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxRect * >(argp1);
|
||||
{
|
||||
@@ -7607,7 +7607,7 @@ SWIGINTERN PyObject *_wrap_Rect_InsideRect(PyObject *SWIGUNUSEDPARM(self), PyObj
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)((wxRect const *)arg1)->Inside((wxRect const &)*arg2);
|
||||
result = (bool)((wxRect const *)arg1)->Contains((wxRect const &)*arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
@@ -28629,14 +28629,14 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_PyApp_DisplayAvailable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
SWIGINTERN PyObject *_wrap_PyApp_IsDisplayAvailable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
bool result;
|
||||
|
||||
if (!SWIG_Python_UnpackTuple(args,"PyApp_DisplayAvailable",0,0,0)) SWIG_fail;
|
||||
if (!SWIG_Python_UnpackTuple(args,"PyApp_IsDisplayAvailable",0,0,0)) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)wxPyApp_DisplayAvailable();
|
||||
result = (bool)wxPyApp_IsDisplayAvailable();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
@@ -33007,6 +33007,36 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Window_IsShownOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
bool result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Window_IsShownOnScreen" "', expected argument " "1"" of type '" "wxWindow const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxWindow * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)((wxWindow const *)arg1)->IsShownOnScreen();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
@@ -35034,6 +35064,36 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Window_IsFrozen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
bool result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Window_IsFrozen" "', expected argument " "1"" of type '" "wxWindow const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxWindow * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)((wxWindow const *)arg1)->IsFrozen();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Window_Thaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
@@ -53768,9 +53828,9 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Rect_InsideRect", (PyCFunction) _wrap_Rect_InsideRect, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Rect_ContainsXY", (PyCFunction) _wrap_Rect_ContainsXY, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Rect_Contains", (PyCFunction) _wrap_Rect_Contains, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Rect_ContainsRect", (PyCFunction) _wrap_Rect_ContainsRect, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Rect_CenterIn", (PyCFunction) _wrap_Rect_CenterIn, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Rect_x_set", _wrap_Rect_x_set, METH_VARARGS, NULL},
|
||||
@@ -54466,7 +54526,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PyApp__BootstrapApp", (PyCFunction)_wrap_PyApp__BootstrapApp, METH_O, NULL},
|
||||
{ (char *)"PyApp_GetComCtl32Version", (PyCFunction)_wrap_PyApp_GetComCtl32Version, METH_NOARGS, NULL},
|
||||
{ (char *)"PyApp_DisplayAvailable", (PyCFunction)_wrap_PyApp_DisplayAvailable, METH_NOARGS, NULL},
|
||||
{ (char *)"PyApp_IsDisplayAvailable", (PyCFunction)_wrap_PyApp_IsDisplayAvailable, METH_NOARGS, NULL},
|
||||
{ (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"PyApp_swiginit", PyApp_swiginit, METH_VARARGS, NULL},
|
||||
{ (char *)"Exit", (PyCFunction)_wrap_Exit, METH_NOARGS, NULL},
|
||||
@@ -54600,6 +54660,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"Window_Disable", (PyCFunction)_wrap_Window_Disable, METH_O, NULL},
|
||||
{ (char *)"Window_IsShown", (PyCFunction)_wrap_Window_IsShown, METH_O, NULL},
|
||||
{ (char *)"Window_IsEnabled", (PyCFunction)_wrap_Window_IsEnabled, METH_O, NULL},
|
||||
{ (char *)"Window_IsShownOnScreen", (PyCFunction)_wrap_Window_IsShownOnScreen, METH_O, NULL},
|
||||
{ (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Window_GetWindowStyleFlag", (PyCFunction)_wrap_Window_GetWindowStyleFlag, METH_O, NULL},
|
||||
{ (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@@ -54658,6 +54719,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"Window_Update", (PyCFunction)_wrap_Window_Update, METH_O, NULL},
|
||||
{ (char *)"Window_ClearBackground", (PyCFunction)_wrap_Window_ClearBackground, METH_O, NULL},
|
||||
{ (char *)"Window_Freeze", (PyCFunction)_wrap_Window_Freeze, METH_O, NULL},
|
||||
{ (char *)"Window_IsFrozen", (PyCFunction)_wrap_Window_IsFrozen, METH_O, NULL},
|
||||
{ (char *)"Window_Thaw", (PyCFunction)_wrap_Window_Thaw, METH_O, NULL},
|
||||
{ (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Window_GetUpdateRegion", (PyCFunction)_wrap_Window_GetUpdateRegion, METH_O, NULL},
|
||||
|
@@ -296,6 +296,7 @@ class Palette(GDIObject):
|
||||
return _gdi_.Palette_Ok(*args, **kwargs)
|
||||
|
||||
def __nonzero__(self): return self.Ok()
|
||||
ColoursCount = property(GetColoursCount,doc="See `GetColoursCount`")
|
||||
_gdi_.Palette_swigregister(Palette)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -375,6 +376,7 @@ class Pen(GDIObject):
|
||||
"""GetDashCount(self) -> int"""
|
||||
return _gdi_.Pen_GetDashCount(*args, **kwargs)
|
||||
|
||||
DashCount = property(GetDashCount,doc="See `GetDashCount`")
|
||||
def __eq__(*args, **kwargs):
|
||||
"""__eq__(self, Pen other) -> bool"""
|
||||
return _gdi_.Pen___eq__(*args, **kwargs)
|
||||
@@ -384,6 +386,12 @@ class Pen(GDIObject):
|
||||
return _gdi_.Pen___ne__(*args, **kwargs)
|
||||
|
||||
def __nonzero__(self): return self.Ok()
|
||||
Cap = property(GetCap,SetCap,doc="See `GetCap` and `SetCap`")
|
||||
Colour = property(GetColour,SetColour,doc="See `GetColour` and `SetColour`")
|
||||
Dashes = property(GetDashes,SetDashes,doc="See `GetDashes` and `SetDashes`")
|
||||
Join = property(GetJoin,SetJoin,doc="See `GetJoin` and `SetJoin`")
|
||||
Style = property(GetStyle,SetStyle,doc="See `GetStyle` and `SetStyle`")
|
||||
Width = property(GetWidth,SetWidth,doc="See `GetWidth` and `SetWidth`")
|
||||
_gdi_.Pen_swigregister(Pen)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -813,6 +821,11 @@ class PixelDataBase(object):
|
||||
"""GetRowStride(self) -> int"""
|
||||
return _gdi_.PixelDataBase_GetRowStride(*args, **kwargs)
|
||||
|
||||
Height = property(GetHeight,doc="See `GetHeight`")
|
||||
Origin = property(GetOrigin,doc="See `GetOrigin`")
|
||||
RowStride = property(GetRowStride,doc="See `GetRowStride`")
|
||||
Size = property(GetSize,doc="See `GetSize`")
|
||||
Width = property(GetWidth,doc="See `GetWidth`")
|
||||
_gdi_.PixelDataBase_swigregister(PixelDataBase)
|
||||
|
||||
class NativePixelData(PixelDataBase):
|
||||
@@ -1374,6 +1387,7 @@ class Region(GDIObject):
|
||||
"""UnionBitmapColour(self, Bitmap bmp, Colour transColour, int tolerance=0) -> bool"""
|
||||
return _gdi_.Region_UnionBitmapColour(*args, **kwargs)
|
||||
|
||||
Box = property(GetBox,doc="See `GetBox`")
|
||||
_gdi_.Region_swigregister(Region)
|
||||
|
||||
def RegionFromBitmap(*args, **kwargs):
|
||||
@@ -1444,6 +1458,13 @@ class RegionIterator(_core.Object):
|
||||
"""__nonzero__(self) -> bool"""
|
||||
return _gdi_.RegionIterator___nonzero__(*args, **kwargs)
|
||||
|
||||
H = property(GetH,doc="See `GetH`")
|
||||
Height = property(GetHeight,doc="See `GetHeight`")
|
||||
Rect = property(GetRect,doc="See `GetRect`")
|
||||
W = property(GetW,doc="See `GetW`")
|
||||
Width = property(GetWidth,doc="See `GetWidth`")
|
||||
X = property(GetX,doc="See `GetX`")
|
||||
Y = property(GetY,doc="See `GetY`")
|
||||
_gdi_.RegionIterator_swigregister(RegionIterator)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -2646,6 +2667,11 @@ class Locale(object):
|
||||
"""AddCatalog(self, String szDomain) -> bool"""
|
||||
return _gdi_.Locale_AddCatalog(*args, **kwargs)
|
||||
|
||||
def IsAvailable(*args, **kwargs):
|
||||
"""IsAvailable(int lang) -> bool"""
|
||||
return _gdi_.Locale_IsAvailable(*args, **kwargs)
|
||||
|
||||
IsAvailable = staticmethod(IsAvailable)
|
||||
def IsLoaded(*args, **kwargs):
|
||||
"""IsLoaded(self, String szDomain) -> bool"""
|
||||
return _gdi_.Locale_IsLoaded(*args, **kwargs)
|
||||
@@ -2702,6 +2728,10 @@ def Locale_AddCatalogLookupPathPrefix(*args, **kwargs):
|
||||
"""Locale_AddCatalogLookupPathPrefix(String prefix)"""
|
||||
return _gdi_.Locale_AddCatalogLookupPathPrefix(*args, **kwargs)
|
||||
|
||||
def Locale_IsAvailable(*args, **kwargs):
|
||||
"""Locale_IsAvailable(int lang) -> bool"""
|
||||
return _gdi_.Locale_IsAvailable(*args, **kwargs)
|
||||
|
||||
def Locale_GetLanguageInfo(*args, **kwargs):
|
||||
"""Locale_GetLanguageInfo(int lang) -> LanguageInfo"""
|
||||
return _gdi_.Locale_GetLanguageInfo(*args, **kwargs)
|
||||
@@ -4664,6 +4694,7 @@ class PostScriptDC(DC):
|
||||
return _gdi_.PostScriptDC_GetResolution(*args, **kwargs)
|
||||
|
||||
GetResolution = staticmethod(GetResolution)
|
||||
PrintData = property(GetPrintData,SetPrintData,doc="See `GetPrintData` and `SetPrintData`")
|
||||
_gdi_.PostScriptDC_swigregister(PostScriptDC)
|
||||
|
||||
def PostScriptDC_SetResolution(*args, **kwargs):
|
||||
@@ -5248,6 +5279,31 @@ class SplitterRenderParams(object):
|
||||
isHotSensitive = property(_gdi_.SplitterRenderParams_isHotSensitive_get)
|
||||
_gdi_.SplitterRenderParams_swigregister(SplitterRenderParams)
|
||||
|
||||
class HeaderButtonParams(object):
|
||||
"""Extra (optional) parameters for `wx.RendererNative.DrawHeaderButton`"""
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self) -> HeaderButtonParams
|
||||
|
||||
Extra (optional) parameters for `wx.RendererNative.DrawHeaderButton`
|
||||
"""
|
||||
_gdi_.HeaderButtonParams_swiginit(self,_gdi_.new_HeaderButtonParams(*args, **kwargs))
|
||||
__swig_destroy__ = _gdi_.delete_HeaderButtonParams
|
||||
__del__ = lambda self : None;
|
||||
m_arrowColour = property(_gdi_.HeaderButtonParams_m_arrowColour_get, _gdi_.HeaderButtonParams_m_arrowColour_set)
|
||||
m_selectionColour = property(_gdi_.HeaderButtonParams_m_selectionColour_get, _gdi_.HeaderButtonParams_m_selectionColour_set)
|
||||
m_labelText = property(_gdi_.HeaderButtonParams_m_labelText_get, _gdi_.HeaderButtonParams_m_labelText_set)
|
||||
m_labelFont = property(_gdi_.HeaderButtonParams_m_labelFont_get, _gdi_.HeaderButtonParams_m_labelFont_set)
|
||||
m_labelColour = property(_gdi_.HeaderButtonParams_m_labelColour_get, _gdi_.HeaderButtonParams_m_labelColour_set)
|
||||
m_labelBitmap = property(_gdi_.HeaderButtonParams_m_labelBitmap_get, _gdi_.HeaderButtonParams_m_labelBitmap_set)
|
||||
m_labelAlignment = property(_gdi_.HeaderButtonParams_m_labelAlignment_get, _gdi_.HeaderButtonParams_m_labelAlignment_set)
|
||||
_gdi_.HeaderButtonParams_swigregister(HeaderButtonParams)
|
||||
|
||||
HDR_SORT_ICON_NONE = _gdi_.HDR_SORT_ICON_NONE
|
||||
HDR_SORT_ICON_UP = _gdi_.HDR_SORT_ICON_UP
|
||||
HDR_SORT_ICON_DOWN = _gdi_.HDR_SORT_ICON_DOWN
|
||||
class RendererVersion(object):
|
||||
"""
|
||||
This simple struct represents the `wx.RendererNative` interface
|
||||
@@ -5284,11 +5340,12 @@ def RendererVersion_IsCompatible(*args, **kwargs):
|
||||
|
||||
class RendererNative(object):
|
||||
"""
|
||||
One of the design principles of wxWidgets is to use the native widgets
|
||||
on every platform in order to be as close to the native look and feel
|
||||
on every platform. However there are still cases when some generic
|
||||
widgets are needed for various reasons, but it can sometimes take a
|
||||
lot of messy work to make them conform to the native LnF.
|
||||
One of the design principles of wxWidgets is to use the native
|
||||
widgets on every platform in order to be as close as possible to
|
||||
the native look and feel on every platform. However there are
|
||||
still cases when some generic widgets are needed for various
|
||||
reasons, but it can sometimes take a lot of messy work to make
|
||||
them conform to the native LnF.
|
||||
|
||||
The wx.RendererNative class is a collection of functions that have
|
||||
platform-specific implementations for drawing certain parts of
|
||||
@@ -5306,13 +5363,33 @@ class RendererNative(object):
|
||||
__repr__ = _swig_repr
|
||||
def DrawHeaderButton(*args, **kwargs):
|
||||
"""
|
||||
DrawHeaderButton(self, Window win, DC dc, Rect rect, int flags=0)
|
||||
DrawHeaderButton(self, Window win, DC dc, Rect rect, int flags=0, int sortArrow=HDR_SORT_ICON_NONE,
|
||||
HeaderButtonParams params=None)
|
||||
|
||||
Draw the header control button (such as what is used by `wx.ListCtrl`
|
||||
in report mode.)
|
||||
"""
|
||||
return _gdi_.RendererNative_DrawHeaderButton(*args, **kwargs)
|
||||
|
||||
def DrawHeaderButtonContents(*args, **kwargs):
|
||||
"""
|
||||
DrawHeaderButtonContents(self, Window win, DC dc, Rect rect, int flags=0, int sortArrow=HDR_SORT_ICON_NONE,
|
||||
HeaderButtonParams params=None)
|
||||
|
||||
Draw the contents of a header control button, (label, sort
|
||||
arrows, etc.) Normally this is only called by `DrawHeaderButton`.
|
||||
"""
|
||||
return _gdi_.RendererNative_DrawHeaderButtonContents(*args, **kwargs)
|
||||
|
||||
def GetHeaderButtonHeight(*args, **kwargs):
|
||||
"""
|
||||
GetHeaderButtonHeight(self, Window win) -> int
|
||||
|
||||
Returns the default height of a header button, either a fixed platform
|
||||
height if available, or a generic height based on the window's font.
|
||||
"""
|
||||
return _gdi_.RendererNative_GetHeaderButtonHeight(*args, **kwargs)
|
||||
|
||||
def DrawTreeItemButton(*args, **kwargs):
|
||||
"""
|
||||
DrawTreeItemButton(self, Window win, DC dc, Rect rect, int flags=0)
|
||||
@@ -5463,6 +5540,8 @@ class RendererNative(object):
|
||||
"""
|
||||
return _gdi_.RendererNative_GetVersion(*args, **kwargs)
|
||||
|
||||
SplitterParams = property(GetSplitterParams,doc="See `GetSplitterParams`")
|
||||
Version = property(GetVersion,doc="See `GetVersion`")
|
||||
_gdi_.RendererNative_swigregister(RendererNative)
|
||||
|
||||
def RendererNative_Get(*args):
|
||||
@@ -6242,6 +6321,8 @@ class PseudoDC(_core.Object):
|
||||
"""
|
||||
return _gdi_.PseudoDC_SetLogicalFunction(*args, **kwargs)
|
||||
|
||||
IdBounds = property(GetIdBounds,SetIdBounds,doc="See `GetIdBounds` and `SetIdBounds`")
|
||||
Len = property(GetLen,doc="See `GetLen`")
|
||||
_gdi_.PseudoDC_swigregister(PseudoDC)
|
||||
|
||||
|
||||
|
@@ -2520,99 +2520,100 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags)
|
||||
#define SWIGTYPE_p_wxGIFHandler swig_types[54]
|
||||
#define SWIGTYPE_p_wxGridBagSizer swig_types[55]
|
||||
#define SWIGTYPE_p_wxGridSizer swig_types[56]
|
||||
#define SWIGTYPE_p_wxICOHandler swig_types[57]
|
||||
#define SWIGTYPE_p_wxIcon swig_types[58]
|
||||
#define SWIGTYPE_p_wxIconBundle swig_types[59]
|
||||
#define SWIGTYPE_p_wxIconLocation swig_types[60]
|
||||
#define SWIGTYPE_p_wxIconizeEvent swig_types[61]
|
||||
#define SWIGTYPE_p_wxIdleEvent swig_types[62]
|
||||
#define SWIGTYPE_p_wxImage swig_types[63]
|
||||
#define SWIGTYPE_p_wxImageHandler swig_types[64]
|
||||
#define SWIGTYPE_p_wxImageList swig_types[65]
|
||||
#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[66]
|
||||
#define SWIGTYPE_p_wxInitDialogEvent swig_types[67]
|
||||
#define SWIGTYPE_p_wxJPEGHandler swig_types[68]
|
||||
#define SWIGTYPE_p_wxKeyEvent swig_types[69]
|
||||
#define SWIGTYPE_p_wxLanguageInfo swig_types[70]
|
||||
#define SWIGTYPE_p_wxLayoutConstraints swig_types[71]
|
||||
#define SWIGTYPE_p_wxLocale swig_types[72]
|
||||
#define SWIGTYPE_p_wxMask swig_types[73]
|
||||
#define SWIGTYPE_p_wxMaximizeEvent swig_types[74]
|
||||
#define SWIGTYPE_p_wxMemoryDC swig_types[75]
|
||||
#define SWIGTYPE_p_wxMenu swig_types[76]
|
||||
#define SWIGTYPE_p_wxMenuBar swig_types[77]
|
||||
#define SWIGTYPE_p_wxMenuEvent swig_types[78]
|
||||
#define SWIGTYPE_p_wxMenuItem swig_types[79]
|
||||
#define SWIGTYPE_p_wxMetaFile swig_types[80]
|
||||
#define SWIGTYPE_p_wxMetaFileDC swig_types[81]
|
||||
#define SWIGTYPE_p_wxMirrorDC swig_types[82]
|
||||
#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[83]
|
||||
#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[84]
|
||||
#define SWIGTYPE_p_wxMouseEvent swig_types[85]
|
||||
#define SWIGTYPE_p_wxMoveEvent swig_types[86]
|
||||
#define SWIGTYPE_p_wxNativeEncodingInfo swig_types[87]
|
||||
#define SWIGTYPE_p_wxNativeFontInfo swig_types[88]
|
||||
#define SWIGTYPE_p_wxNativePixelData swig_types[89]
|
||||
#define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[90]
|
||||
#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[91]
|
||||
#define SWIGTYPE_p_wxNcPaintEvent swig_types[92]
|
||||
#define SWIGTYPE_p_wxNotifyEvent swig_types[93]
|
||||
#define SWIGTYPE_p_wxObject swig_types[94]
|
||||
#define SWIGTYPE_p_wxPCXHandler swig_types[95]
|
||||
#define SWIGTYPE_p_wxPNGHandler swig_types[96]
|
||||
#define SWIGTYPE_p_wxPNMHandler swig_types[97]
|
||||
#define SWIGTYPE_p_wxPaintDC swig_types[98]
|
||||
#define SWIGTYPE_p_wxPaintEvent swig_types[99]
|
||||
#define SWIGTYPE_p_wxPalette swig_types[100]
|
||||
#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[101]
|
||||
#define SWIGTYPE_p_wxPaperSize swig_types[102]
|
||||
#define SWIGTYPE_p_wxPen swig_types[103]
|
||||
#define SWIGTYPE_p_wxPenList swig_types[104]
|
||||
#define SWIGTYPE_p_wxPixelDataBase swig_types[105]
|
||||
#define SWIGTYPE_p_wxPoint swig_types[106]
|
||||
#define SWIGTYPE_p_wxPostScriptDC swig_types[107]
|
||||
#define SWIGTYPE_p_wxPrintData swig_types[108]
|
||||
#define SWIGTYPE_p_wxPrinterDC swig_types[109]
|
||||
#define SWIGTYPE_p_wxPseudoDC swig_types[110]
|
||||
#define SWIGTYPE_p_wxPyApp swig_types[111]
|
||||
#define SWIGTYPE_p_wxPyCommandEvent swig_types[112]
|
||||
#define SWIGTYPE_p_wxPyEvent swig_types[113]
|
||||
#define SWIGTYPE_p_wxPyFontEnumerator swig_types[114]
|
||||
#define SWIGTYPE_p_wxPyImageHandler swig_types[115]
|
||||
#define SWIGTYPE_p_wxPyLocale swig_types[116]
|
||||
#define SWIGTYPE_p_wxPySizer swig_types[117]
|
||||
#define SWIGTYPE_p_wxPyValidator swig_types[118]
|
||||
#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[119]
|
||||
#define SWIGTYPE_p_wxRect swig_types[120]
|
||||
#define SWIGTYPE_p_wxRegion swig_types[121]
|
||||
#define SWIGTYPE_p_wxRegionIterator swig_types[122]
|
||||
#define SWIGTYPE_p_wxRendererNative swig_types[123]
|
||||
#define SWIGTYPE_p_wxRendererVersion swig_types[124]
|
||||
#define SWIGTYPE_p_wxScreenDC swig_types[125]
|
||||
#define SWIGTYPE_p_wxScrollEvent swig_types[126]
|
||||
#define SWIGTYPE_p_wxScrollWinEvent swig_types[127]
|
||||
#define SWIGTYPE_p_wxSetCursorEvent swig_types[128]
|
||||
#define SWIGTYPE_p_wxShowEvent swig_types[129]
|
||||
#define SWIGTYPE_p_wxSize swig_types[130]
|
||||
#define SWIGTYPE_p_wxSizeEvent swig_types[131]
|
||||
#define SWIGTYPE_p_wxSizer swig_types[132]
|
||||
#define SWIGTYPE_p_wxSizerItem swig_types[133]
|
||||
#define SWIGTYPE_p_wxSplitterRenderParams swig_types[134]
|
||||
#define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
|
||||
#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[136]
|
||||
#define SWIGTYPE_p_wxStockGDI swig_types[137]
|
||||
#define SWIGTYPE_p_wxString swig_types[138]
|
||||
#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[139]
|
||||
#define SWIGTYPE_p_wxTIFFHandler swig_types[140]
|
||||
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[141]
|
||||
#define SWIGTYPE_p_wxValidator swig_types[142]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[143]
|
||||
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[144]
|
||||
#define SWIGTYPE_p_wxWindowDC swig_types[145]
|
||||
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[146]
|
||||
#define SWIGTYPE_p_wxXPMHandler swig_types[147]
|
||||
static swig_type_info *swig_types[149];
|
||||
static swig_module_info swig_module = {swig_types, 148, 0, 0, 0, 0};
|
||||
#define SWIGTYPE_p_wxHeaderButtonParams swig_types[57]
|
||||
#define SWIGTYPE_p_wxICOHandler swig_types[58]
|
||||
#define SWIGTYPE_p_wxIcon swig_types[59]
|
||||
#define SWIGTYPE_p_wxIconBundle swig_types[60]
|
||||
#define SWIGTYPE_p_wxIconLocation swig_types[61]
|
||||
#define SWIGTYPE_p_wxIconizeEvent swig_types[62]
|
||||
#define SWIGTYPE_p_wxIdleEvent swig_types[63]
|
||||
#define SWIGTYPE_p_wxImage swig_types[64]
|
||||
#define SWIGTYPE_p_wxImageHandler swig_types[65]
|
||||
#define SWIGTYPE_p_wxImageList swig_types[66]
|
||||
#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[67]
|
||||
#define SWIGTYPE_p_wxInitDialogEvent swig_types[68]
|
||||
#define SWIGTYPE_p_wxJPEGHandler swig_types[69]
|
||||
#define SWIGTYPE_p_wxKeyEvent swig_types[70]
|
||||
#define SWIGTYPE_p_wxLanguageInfo swig_types[71]
|
||||
#define SWIGTYPE_p_wxLayoutConstraints swig_types[72]
|
||||
#define SWIGTYPE_p_wxLocale swig_types[73]
|
||||
#define SWIGTYPE_p_wxMask swig_types[74]
|
||||
#define SWIGTYPE_p_wxMaximizeEvent swig_types[75]
|
||||
#define SWIGTYPE_p_wxMemoryDC swig_types[76]
|
||||
#define SWIGTYPE_p_wxMenu swig_types[77]
|
||||
#define SWIGTYPE_p_wxMenuBar swig_types[78]
|
||||
#define SWIGTYPE_p_wxMenuEvent swig_types[79]
|
||||
#define SWIGTYPE_p_wxMenuItem swig_types[80]
|
||||
#define SWIGTYPE_p_wxMetaFile swig_types[81]
|
||||
#define SWIGTYPE_p_wxMetaFileDC swig_types[82]
|
||||
#define SWIGTYPE_p_wxMirrorDC swig_types[83]
|
||||
#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[84]
|
||||
#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[85]
|
||||
#define SWIGTYPE_p_wxMouseEvent swig_types[86]
|
||||
#define SWIGTYPE_p_wxMoveEvent swig_types[87]
|
||||
#define SWIGTYPE_p_wxNativeEncodingInfo swig_types[88]
|
||||
#define SWIGTYPE_p_wxNativeFontInfo swig_types[89]
|
||||
#define SWIGTYPE_p_wxNativePixelData swig_types[90]
|
||||
#define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[91]
|
||||
#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
|
||||
#define SWIGTYPE_p_wxNcPaintEvent swig_types[93]
|
||||
#define SWIGTYPE_p_wxNotifyEvent swig_types[94]
|
||||
#define SWIGTYPE_p_wxObject swig_types[95]
|
||||
#define SWIGTYPE_p_wxPCXHandler swig_types[96]
|
||||
#define SWIGTYPE_p_wxPNGHandler swig_types[97]
|
||||
#define SWIGTYPE_p_wxPNMHandler swig_types[98]
|
||||
#define SWIGTYPE_p_wxPaintDC swig_types[99]
|
||||
#define SWIGTYPE_p_wxPaintEvent swig_types[100]
|
||||
#define SWIGTYPE_p_wxPalette swig_types[101]
|
||||
#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[102]
|
||||
#define SWIGTYPE_p_wxPaperSize swig_types[103]
|
||||
#define SWIGTYPE_p_wxPen swig_types[104]
|
||||
#define SWIGTYPE_p_wxPenList swig_types[105]
|
||||
#define SWIGTYPE_p_wxPixelDataBase swig_types[106]
|
||||
#define SWIGTYPE_p_wxPoint swig_types[107]
|
||||
#define SWIGTYPE_p_wxPostScriptDC swig_types[108]
|
||||
#define SWIGTYPE_p_wxPrintData swig_types[109]
|
||||
#define SWIGTYPE_p_wxPrinterDC swig_types[110]
|
||||
#define SWIGTYPE_p_wxPseudoDC swig_types[111]
|
||||
#define SWIGTYPE_p_wxPyApp swig_types[112]
|
||||
#define SWIGTYPE_p_wxPyCommandEvent swig_types[113]
|
||||
#define SWIGTYPE_p_wxPyEvent swig_types[114]
|
||||
#define SWIGTYPE_p_wxPyFontEnumerator swig_types[115]
|
||||
#define SWIGTYPE_p_wxPyImageHandler swig_types[116]
|
||||
#define SWIGTYPE_p_wxPyLocale swig_types[117]
|
||||
#define SWIGTYPE_p_wxPySizer swig_types[118]
|
||||
#define SWIGTYPE_p_wxPyValidator swig_types[119]
|
||||
#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[120]
|
||||
#define SWIGTYPE_p_wxRect swig_types[121]
|
||||
#define SWIGTYPE_p_wxRegion swig_types[122]
|
||||
#define SWIGTYPE_p_wxRegionIterator swig_types[123]
|
||||
#define SWIGTYPE_p_wxRendererNative swig_types[124]
|
||||
#define SWIGTYPE_p_wxRendererVersion swig_types[125]
|
||||
#define SWIGTYPE_p_wxScreenDC swig_types[126]
|
||||
#define SWIGTYPE_p_wxScrollEvent swig_types[127]
|
||||
#define SWIGTYPE_p_wxScrollWinEvent swig_types[128]
|
||||
#define SWIGTYPE_p_wxSetCursorEvent swig_types[129]
|
||||
#define SWIGTYPE_p_wxShowEvent swig_types[130]
|
||||
#define SWIGTYPE_p_wxSize swig_types[131]
|
||||
#define SWIGTYPE_p_wxSizeEvent swig_types[132]
|
||||
#define SWIGTYPE_p_wxSizer swig_types[133]
|
||||
#define SWIGTYPE_p_wxSizerItem swig_types[134]
|
||||
#define SWIGTYPE_p_wxSplitterRenderParams swig_types[135]
|
||||
#define SWIGTYPE_p_wxStaticBoxSizer swig_types[136]
|
||||
#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[137]
|
||||
#define SWIGTYPE_p_wxStockGDI swig_types[138]
|
||||
#define SWIGTYPE_p_wxString swig_types[139]
|
||||
#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[140]
|
||||
#define SWIGTYPE_p_wxTIFFHandler swig_types[141]
|
||||
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[142]
|
||||
#define SWIGTYPE_p_wxValidator swig_types[143]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[144]
|
||||
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[145]
|
||||
#define SWIGTYPE_p_wxWindowDC swig_types[146]
|
||||
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[147]
|
||||
#define SWIGTYPE_p_wxXPMHandler swig_types[148]
|
||||
static swig_type_info *swig_types[150];
|
||||
static swig_module_info swig_module = {swig_types, 149, 0, 0, 0, 0};
|
||||
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
|
||||
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
|
||||
|
||||
@@ -15874,6 +15875,38 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Locale_IsAvailable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
int arg1 ;
|
||||
bool result;
|
||||
int val1 ;
|
||||
int ecode1 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "lang", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_IsAvailable",kwnames,&obj0)) SWIG_fail;
|
||||
ecode1 = SWIG_AsVal_int(obj0, &val1);
|
||||
if (!SWIG_IsOK(ecode1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
|
||||
}
|
||||
arg1 = static_cast< int >(val1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)wxLocale::IsAvailable(arg1);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Locale_IsLoaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxLocale *arg1 = (wxLocale *) 0 ;
|
||||
@@ -26421,6 +26454,441 @@ SWIGINTERN PyObject *SplitterRenderParams_swiginit(PyObject *SWIGUNUSEDPARM(self
|
||||
return SWIG_Python_InitShadowInstance(args);
|
||||
}
|
||||
|
||||
SWIGINTERN PyObject *_wrap_new_HeaderButtonParams(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxHeaderButtonParams *result = 0 ;
|
||||
|
||||
if (!SWIG_Python_UnpackTuple(args,"new_HeaderButtonParams",0,0,0)) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxHeaderButtonParams *)new wxHeaderButtonParams();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHeaderButtonParams, SWIG_POINTER_NEW | 0 );
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_delete_HeaderButtonParams(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxHeaderButtonParams *arg1 = (wxHeaderButtonParams *) 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHeaderButtonParams, SWIG_POINTER_DISOWN | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxHeaderButtonParams * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
delete arg1;
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_HeaderButtonParams_m_arrowColour_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxHeaderButtonParams *arg1 = (wxHeaderButtonParams *) 0 ;
|
||||
wxColour *arg2 = (wxColour *) 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
wxColour temp2 ;
|
||||
PyObject *swig_obj[2] ;
|
||||
|
||||
if (!SWIG_Python_UnpackTuple(args,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHeaderButtonParams, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxHeaderButtonParams * >(argp1);
|
||||
{
|
||||
arg2 = &temp2;
|
||||
if ( ! wxColour_helper(swig_obj[1], &arg2)) SWIG_fail;
|
||||
}
|
||||
if (arg1) (arg1)->m_arrowColour = *arg2;
|
||||
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_HeaderButtonParams_m_arrowColour_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxHeaderButtonParams *arg1 = (wxHeaderButtonParams *) 0 ;
|
||||
wxColour *result = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHeaderButtonParams, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxHeaderButtonParams * >(argp1);
|
||||
result = (wxColour *)& ((arg1)->m_arrowColour);
|
||||
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_HeaderButtonParams_m_selectionColour_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxHeaderButtonParams *arg1 = (wxHeaderButtonParams *) 0 ;
|
||||
wxColour *arg2 = (wxColour *) 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
wxColour temp2 ;
|
||||
PyObject *swig_obj[2] ;
|
||||
|
||||
if (!SWIG_Python_UnpackTuple(args,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHeaderButtonParams, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxHeaderButtonParams * >(argp1);
|
||||
{
|
||||
arg2 = &temp2;
|
||||
if ( ! wxColour_helper(swig_obj[1], &arg2)) SWIG_fail;
|
||||
}
|
||||
if (arg1) (arg1)->m_selectionColour = *arg2;
|
||||
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_HeaderButtonParams_m_selectionColour_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxHeaderButtonParams *arg1 = (wxHeaderButtonParams *) 0 ;
|
||||
wxColour *result = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHeaderButtonParams, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxHeaderButtonParams * >(argp1);
|
||||
result = (wxColour *)& ((arg1)->m_selectionColour);
|
||||
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_HeaderButtonParams_m_labelText_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxHeaderButtonParams *arg1 = (wxHeaderButtonParams *) 0 ;
|
||||
wxString *arg2 = (wxString *) 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
bool temp2 = false ;
|
||||
PyObject *swig_obj[2] ;
|
||||
|
||||
if (!SWIG_Python_UnpackTuple(args,"HeaderButtonParams_m_labelText_set",2,2,swig_obj)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHeaderButtonParams, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxHeaderButtonParams * >(argp1);
|
||||
{
|
||||
arg2 = wxString_in_helper(swig_obj[1]);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
}
|
||||
if (arg1) (arg1)->m_labelText = *arg2;
|
||||
|
||||
resultobj = SWIG_Py_Void();
|
||||
{
|
||||
if (temp2)
|
||||
delete arg2;
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
{
|
||||
if (temp2)
|
||||
delete arg2;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_HeaderButtonParams_m_labelText_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxHeaderButtonParams *arg1 = (wxHeaderButtonParams *) 0 ;
|
||||
wxString *result = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHeaderButtonParams, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxHeaderButtonParams * >(argp1);
|
||||
result = (wxString *)& ((arg1)->m_labelText);
|
||||
{
|
||||
#if wxUSE_UNICODE
|
||||
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
|
||||
#else
|
||||
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
|
||||
#endif
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_HeaderButtonParams_m_labelFont_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxHeaderButtonParams *arg1 = (wxHeaderButtonParams *) 0 ;
|
||||
wxFont *arg2 = (wxFont *) 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
void *argp2 = 0 ;
|
||||
int res2 = 0 ;
|
||||
PyObject *swig_obj[2] ;
|
||||
|
||||
if (!SWIG_Python_UnpackTuple(args,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHeaderButtonParams, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxHeaderButtonParams * >(argp1);
|
||||
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxFont, 0 | 0 );
|
||||
if (!SWIG_IsOK(res2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
|
||||
}
|
||||
arg2 = reinterpret_cast< wxFont * >(argp2);
|
||||
if (arg1) (arg1)->m_labelFont = *arg2;
|
||||
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_HeaderButtonParams_m_labelFont_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxHeaderButtonParams *arg1 = (wxHeaderButtonParams *) 0 ;
|
||||
wxFont *result = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHeaderButtonParams, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxHeaderButtonParams * >(argp1);
|
||||
result = (wxFont *)& ((arg1)->m_labelFont);
|
||||
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFont, 0 | 0 );
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_HeaderButtonParams_m_labelColour_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxHeaderButtonParams *arg1 = (wxHeaderButtonParams *) 0 ;
|
||||
wxColour *arg2 = (wxColour *) 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
wxColour temp2 ;
|
||||
PyObject *swig_obj[2] ;
|
||||
|
||||
if (!SWIG_Python_UnpackTuple(args,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHeaderButtonParams, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxHeaderButtonParams * >(argp1);
|
||||
{
|
||||
arg2 = &temp2;
|
||||
if ( ! wxColour_helper(swig_obj[1], &arg2)) SWIG_fail;
|
||||
}
|
||||
if (arg1) (arg1)->m_labelColour = *arg2;
|
||||
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_HeaderButtonParams_m_labelColour_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxHeaderButtonParams *arg1 = (wxHeaderButtonParams *) 0 ;
|
||||
wxColour *result = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHeaderButtonParams, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxHeaderButtonParams * >(argp1);
|
||||
result = (wxColour *)& ((arg1)->m_labelColour);
|
||||
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxHeaderButtonParams *arg1 = (wxHeaderButtonParams *) 0 ;
|
||||
wxBitmap *arg2 = (wxBitmap *) 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
void *argp2 = 0 ;
|
||||
int res2 = 0 ;
|
||||
PyObject *swig_obj[2] ;
|
||||
|
||||
if (!SWIG_Python_UnpackTuple(args,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHeaderButtonParams, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxHeaderButtonParams * >(argp1);
|
||||
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
|
||||
if (!SWIG_IsOK(res2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
|
||||
}
|
||||
arg2 = reinterpret_cast< wxBitmap * >(argp2);
|
||||
if (arg1) (arg1)->m_labelBitmap = *arg2;
|
||||
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxHeaderButtonParams *arg1 = (wxHeaderButtonParams *) 0 ;
|
||||
wxBitmap *result = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHeaderButtonParams, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxHeaderButtonParams * >(argp1);
|
||||
result = (wxBitmap *)& ((arg1)->m_labelBitmap);
|
||||
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 );
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxHeaderButtonParams *arg1 = (wxHeaderButtonParams *) 0 ;
|
||||
int arg2 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
int val2 ;
|
||||
int ecode2 = 0 ;
|
||||
PyObject *swig_obj[2] ;
|
||||
|
||||
if (!SWIG_Python_UnpackTuple(args,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHeaderButtonParams, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxHeaderButtonParams * >(argp1);
|
||||
ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
|
||||
if (!SWIG_IsOK(ecode2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
|
||||
}
|
||||
arg2 = static_cast< int >(val2);
|
||||
if (arg1) (arg1)->m_labelAlignment = arg2;
|
||||
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxHeaderButtonParams *arg1 = (wxHeaderButtonParams *) 0 ;
|
||||
int result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHeaderButtonParams, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxHeaderButtonParams * >(argp1);
|
||||
result = (int) ((arg1)->m_labelAlignment);
|
||||
resultobj = SWIG_From_int(static_cast< int >(result));
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *HeaderButtonParams_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
||||
SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams, SWIG_NewClientData(obj));
|
||||
return SWIG_Py_Void();
|
||||
}
|
||||
|
||||
SWIGINTERN PyObject *HeaderButtonParams_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
return SWIG_Python_InitShadowInstance(args);
|
||||
}
|
||||
|
||||
SWIGINTERN PyObject *_wrap_new_RendererVersion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
int arg1 ;
|
||||
@@ -26587,6 +27055,8 @@ SWIGINTERN PyObject *_wrap_RendererNative_DrawHeaderButton(PyObject *SWIGUNUSEDP
|
||||
wxDC *arg3 = 0 ;
|
||||
wxRect *arg4 = 0 ;
|
||||
int arg5 = (int) 0 ;
|
||||
wxHeaderSortIconType arg6 = (wxHeaderSortIconType) wxHDR_SORT_ICON_NONE ;
|
||||
wxHeaderButtonParams *arg7 = (wxHeaderButtonParams *) NULL ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
void *argp2 = 0 ;
|
||||
@@ -26596,16 +27066,22 @@ SWIGINTERN PyObject *_wrap_RendererNative_DrawHeaderButton(PyObject *SWIGUNUSEDP
|
||||
wxRect temp4 ;
|
||||
int val5 ;
|
||||
int ecode5 = 0 ;
|
||||
int val6 ;
|
||||
int ecode6 = 0 ;
|
||||
void *argp7 = 0 ;
|
||||
int res7 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
PyObject * obj4 = 0 ;
|
||||
PyObject * obj5 = 0 ;
|
||||
PyObject * obj6 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
|
||||
(char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRendererNative, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
|
||||
@@ -26635,9 +27111,23 @@ SWIGINTERN PyObject *_wrap_RendererNative_DrawHeaderButton(PyObject *SWIGUNUSEDP
|
||||
}
|
||||
arg5 = static_cast< int >(val5);
|
||||
}
|
||||
if (obj5) {
|
||||
ecode6 = SWIG_AsVal_int(obj5, &val6);
|
||||
if (!SWIG_IsOK(ecode6)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
|
||||
}
|
||||
arg6 = static_cast< wxHeaderSortIconType >(val6);
|
||||
}
|
||||
if (obj6) {
|
||||
res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxHeaderButtonParams, 0 | 0 );
|
||||
if (!SWIG_IsOK(res7)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
|
||||
}
|
||||
arg7 = reinterpret_cast< wxHeaderButtonParams * >(argp7);
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->DrawHeaderButton(arg2,*arg3,(wxRect const &)*arg4,arg5);
|
||||
(arg1)->DrawHeaderButton(arg2,*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
@@ -26648,6 +27138,135 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_RendererNative_DrawHeaderButtonContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxRendererNative *arg1 = (wxRendererNative *) 0 ;
|
||||
wxWindow *arg2 = (wxWindow *) 0 ;
|
||||
wxDC *arg3 = 0 ;
|
||||
wxRect *arg4 = 0 ;
|
||||
int arg5 = (int) 0 ;
|
||||
wxHeaderSortIconType arg6 = (wxHeaderSortIconType) wxHDR_SORT_ICON_NONE ;
|
||||
wxHeaderButtonParams *arg7 = (wxHeaderButtonParams *) NULL ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
void *argp2 = 0 ;
|
||||
int res2 = 0 ;
|
||||
void *argp3 = 0 ;
|
||||
int res3 = 0 ;
|
||||
wxRect temp4 ;
|
||||
int val5 ;
|
||||
int ecode5 = 0 ;
|
||||
int val6 ;
|
||||
int ecode6 = 0 ;
|
||||
void *argp7 = 0 ;
|
||||
int res7 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
PyObject * obj4 = 0 ;
|
||||
PyObject * obj5 = 0 ;
|
||||
PyObject * obj6 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRendererNative, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxRendererNative * >(argp1);
|
||||
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
|
||||
}
|
||||
arg2 = reinterpret_cast< wxWindow * >(argp2);
|
||||
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
|
||||
if (!SWIG_IsOK(res3)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
|
||||
}
|
||||
if (!argp3) {
|
||||
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
|
||||
}
|
||||
arg3 = reinterpret_cast< wxDC * >(argp3);
|
||||
{
|
||||
arg4 = &temp4;
|
||||
if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
|
||||
}
|
||||
if (obj4) {
|
||||
ecode5 = SWIG_AsVal_int(obj4, &val5);
|
||||
if (!SWIG_IsOK(ecode5)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
|
||||
}
|
||||
arg5 = static_cast< int >(val5);
|
||||
}
|
||||
if (obj5) {
|
||||
ecode6 = SWIG_AsVal_int(obj5, &val6);
|
||||
if (!SWIG_IsOK(ecode6)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
|
||||
}
|
||||
arg6 = static_cast< wxHeaderSortIconType >(val6);
|
||||
}
|
||||
if (obj6) {
|
||||
res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxHeaderButtonParams, 0 | 0 );
|
||||
if (!SWIG_IsOK(res7)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
|
||||
}
|
||||
arg7 = reinterpret_cast< wxHeaderButtonParams * >(argp7);
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->DrawHeaderButtonContents(arg2,*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_RendererNative_GetHeaderButtonHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxRendererNative *arg1 = (wxRendererNative *) 0 ;
|
||||
wxWindow *arg2 = (wxWindow *) 0 ;
|
||||
int result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
void *argp2 = 0 ;
|
||||
int res2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "win", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRendererNative, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxRendererNative * >(argp1);
|
||||
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
|
||||
}
|
||||
arg2 = reinterpret_cast< wxWindow * >(argp2);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (int)(arg1)->GetHeaderButtonHeight(arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_From_int(static_cast< int >(result));
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_RendererNative_DrawTreeItemButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxRendererNative *arg1 = (wxRendererNative *) 0 ;
|
||||
@@ -30883,6 +31502,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"Locale_GetCanonicalName", (PyCFunction)_wrap_Locale_GetCanonicalName, METH_O, NULL},
|
||||
{ (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction) _wrap_Locale_AddCatalogLookupPathPrefix, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Locale_AddCatalog", (PyCFunction) _wrap_Locale_AddCatalog, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Locale_IsAvailable", (PyCFunction) _wrap_Locale_IsAvailable, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Locale_IsLoaded", (PyCFunction) _wrap_Locale_IsLoaded, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Locale_GetLanguageInfo", (PyCFunction) _wrap_Locale_GetLanguageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Locale_GetLanguageName", (PyCFunction) _wrap_Locale_GetLanguageName, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@@ -31162,6 +31782,24 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction)_wrap_SplitterRenderParams_isHotSensitive_get, METH_O, NULL},
|
||||
{ (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit, METH_VARARGS, NULL},
|
||||
{ (char *)"new_HeaderButtonParams", (PyCFunction)_wrap_new_HeaderButtonParams, METH_NOARGS, NULL},
|
||||
{ (char *)"delete_HeaderButtonParams", (PyCFunction)_wrap_delete_HeaderButtonParams, METH_O, NULL},
|
||||
{ (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set, METH_VARARGS, NULL},
|
||||
{ (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction)_wrap_HeaderButtonParams_m_arrowColour_get, METH_O, NULL},
|
||||
{ (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set, METH_VARARGS, NULL},
|
||||
{ (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction)_wrap_HeaderButtonParams_m_selectionColour_get, METH_O, NULL},
|
||||
{ (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set, METH_VARARGS, NULL},
|
||||
{ (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction)_wrap_HeaderButtonParams_m_labelText_get, METH_O, NULL},
|
||||
{ (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set, METH_VARARGS, NULL},
|
||||
{ (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction)_wrap_HeaderButtonParams_m_labelFont_get, METH_O, NULL},
|
||||
{ (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set, METH_VARARGS, NULL},
|
||||
{ (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction)_wrap_HeaderButtonParams_m_labelColour_get, METH_O, NULL},
|
||||
{ (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set, METH_VARARGS, NULL},
|
||||
{ (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction)_wrap_HeaderButtonParams_m_labelBitmap_get, METH_O, NULL},
|
||||
{ (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set, METH_VARARGS, NULL},
|
||||
{ (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction)_wrap_HeaderButtonParams_m_labelAlignment_get, METH_O, NULL},
|
||||
{ (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit, METH_VARARGS, NULL},
|
||||
{ (char *)"new_RendererVersion", (PyCFunction) _wrap_new_RendererVersion, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"delete_RendererVersion", (PyCFunction)_wrap_delete_RendererVersion, METH_O, NULL},
|
||||
{ (char *)"RendererVersion_IsCompatible", (PyCFunction) _wrap_RendererVersion_IsCompatible, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@@ -31170,6 +31808,8 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"RendererVersion_swigregister", RendererVersion_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"RendererVersion_swiginit", RendererVersion_swiginit, METH_VARARGS, NULL},
|
||||
{ (char *)"RendererNative_DrawHeaderButton", (PyCFunction) _wrap_RendererNative_DrawHeaderButton, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction) _wrap_RendererNative_DrawHeaderButtonContents, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction) _wrap_RendererNative_GetHeaderButtonHeight, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"RendererNative_DrawTreeItemButton", (PyCFunction) _wrap_RendererNative_DrawTreeItemButton, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"RendererNative_DrawSplitterBorder", (PyCFunction) _wrap_RendererNative_DrawSplitterBorder, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"RendererNative_DrawSplitterSash", (PyCFunction) _wrap_RendererNative_DrawSplitterSash, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@@ -31701,6 +32341,7 @@ static swig_type_info _swigt__p_wxFontList = {"_p_wxFontList", "wxFontList *", 0
|
||||
static swig_type_info _swigt__p_wxFontMapper = {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxGDIObjListBase = {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxGDIObject = {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxHeaderButtonParams = {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxIconLocation = {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
|
||||
@@ -31878,6 +32519,7 @@ static swig_type_info *swig_type_initial[] = {
|
||||
&_swigt__p_wxGIFHandler,
|
||||
&_swigt__p_wxGridBagSizer,
|
||||
&_swigt__p_wxGridSizer,
|
||||
&_swigt__p_wxHeaderButtonParams,
|
||||
&_swigt__p_wxICOHandler,
|
||||
&_swigt__p_wxIcon,
|
||||
&_swigt__p_wxIconBundle,
|
||||
@@ -32001,6 +32643,7 @@ static swig_cast_info _swigc__p_wxFontList[] = { {&_swigt__p_wxFontList, 0, 0,
|
||||
static swig_cast_info _swigc__p_wxFontMapper[] = { {&_swigt__p_wxFontMapper, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxGDIObjListBase[] = { {&_swigt__p_wxGDIObjListBase, 0, 0, 0}, {&_swigt__p_wxBrushList, _p_wxBrushListTo_p_wxGDIObjListBase, 0, 0}, {&_swigt__p_wxFontList, _p_wxFontListTo_p_wxGDIObjListBase, 0, 0}, {&_swigt__p_wxPenList, _p_wxPenListTo_p_wxGDIObjListBase, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxGDIObject[] = { {&_swigt__p_wxIcon, _p_wxIconTo_p_wxGDIObject, 0, 0}, {&_swigt__p_wxPen, _p_wxPenTo_p_wxGDIObject, 0, 0}, {&_swigt__p_wxFont, _p_wxFontTo_p_wxGDIObject, 0, 0}, {&_swigt__p_wxPalette, _p_wxPaletteTo_p_wxGDIObject, 0, 0}, {&_swigt__p_wxGDIObject, 0, 0, 0}, {&_swigt__p_wxCursor, _p_wxCursorTo_p_wxGDIObject, 0, 0}, {&_swigt__p_wxBitmap, _p_wxBitmapTo_p_wxGDIObject, 0, 0}, {&_swigt__p_wxRegion, _p_wxRegionTo_p_wxGDIObject, 0, 0}, {&_swigt__p_wxBrush, _p_wxBrushTo_p_wxGDIObject, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxHeaderButtonParams[] = { {&_swigt__p_wxHeaderButtonParams, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxIconLocation[] = { {&_swigt__p_wxIconLocation, 0, 0, 0},{0, 0, 0, 0}};
|
||||
@@ -32178,6 +32821,7 @@ static swig_cast_info *swig_cast_initial[] = {
|
||||
_swigc__p_wxGIFHandler,
|
||||
_swigc__p_wxGridBagSizer,
|
||||
_swigc__p_wxGridSizer,
|
||||
_swigc__p_wxHeaderButtonParams,
|
||||
_swigc__p_wxICOHandler,
|
||||
_swigc__p_wxIcon,
|
||||
_swigc__p_wxIconBundle,
|
||||
@@ -33222,6 +33866,9 @@ SWIGEXPORT void SWIG_init(void) {
|
||||
SWIG_Python_SetConstant(d, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED)));
|
||||
SWIG_Python_SetConstant(d, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK)));
|
||||
SWIG_Python_SetConstant(d, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY)));
|
||||
SWIG_Python_SetConstant(d, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE)));
|
||||
SWIG_Python_SetConstant(d, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP)));
|
||||
SWIG_Python_SetConstant(d, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN)));
|
||||
SWIG_Python_SetConstant(d, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version)));
|
||||
SWIG_Python_SetConstant(d, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age)));
|
||||
|
||||
|
@@ -1186,6 +1186,20 @@ class PlatformInformation(object):
|
||||
"""IsOk(self) -> bool"""
|
||||
return _misc_.PlatformInformation_IsOk(*args, **kwargs)
|
||||
|
||||
ArchName = property(GetArchName,doc="See `GetArchName`")
|
||||
Architecture = property(GetArchitecture,SetArchitecture,doc="See `GetArchitecture` and `SetArchitecture`")
|
||||
Endianness = property(GetEndianness,SetEndianness,doc="See `GetEndianness` and `SetEndianness`")
|
||||
EndiannessName = property(GetEndiannessName,doc="See `GetEndiannessName`")
|
||||
OSMajorVersion = property(GetOSMajorVersion,doc="See `GetOSMajorVersion`")
|
||||
OSMinorVersion = property(GetOSMinorVersion,doc="See `GetOSMinorVersion`")
|
||||
OperatingSystemFamilyName = property(GetOperatingSystemFamilyName,doc="See `GetOperatingSystemFamilyName`")
|
||||
OperatingSystemId = property(GetOperatingSystemId,SetOperatingSystemId,doc="See `GetOperatingSystemId` and `SetOperatingSystemId`")
|
||||
OperatingSystemIdName = property(GetOperatingSystemIdName,doc="See `GetOperatingSystemIdName`")
|
||||
PortId = property(GetPortId,SetPortId,doc="See `GetPortId` and `SetPortId`")
|
||||
PortIdName = property(GetPortIdName,doc="See `GetPortIdName`")
|
||||
PortIdShortName = property(GetPortIdShortName,doc="See `GetPortIdShortName`")
|
||||
ToolkitMajorVersion = property(GetToolkitMajorVersion,doc="See `GetToolkitMajorVersion`")
|
||||
ToolkitMinorVersion = property(GetToolkitMinorVersion,doc="See `GetToolkitMinorVersion`")
|
||||
_misc_.PlatformInformation_swigregister(PlatformInformation)
|
||||
|
||||
|
||||
@@ -1906,6 +1920,12 @@ class Process(_core.EvtHandler):
|
||||
"""IsErrorAvailable(self) -> bool"""
|
||||
return _misc_.Process_IsErrorAvailable(*args, **kwargs)
|
||||
|
||||
ErrorStream = property(GetErrorStream,doc="See `GetErrorStream`")
|
||||
InputStream = property(GetInputStream,doc="See `GetInputStream`")
|
||||
OutputStream = property(GetOutputStream,doc="See `GetOutputStream`")
|
||||
InputOpened = property(IsInputOpened)
|
||||
InputAvailable = property(IsInputAvailable)
|
||||
ErrorAvailable = property(IsErrorAvailable)
|
||||
_misc_.Process_swigregister(Process)
|
||||
|
||||
def Process_Kill(*args, **kwargs):
|
||||
@@ -1937,6 +1957,8 @@ class ProcessEvent(_core.Event):
|
||||
|
||||
m_pid = property(_misc_.ProcessEvent_m_pid_get, _misc_.ProcessEvent_m_pid_set)
|
||||
m_exitcode = property(_misc_.ProcessEvent_m_exitcode_get, _misc_.ProcessEvent_m_exitcode_set)
|
||||
ExitCode = property(GetExitCode,doc="See `GetExitCode`")
|
||||
Pid = property(GetPid,doc="See `GetPid`")
|
||||
_misc_.ProcessEvent_swigregister(ProcessEvent)
|
||||
|
||||
wxEVT_END_PROCESS = _misc_.wxEVT_END_PROCESS
|
||||
|
@@ -270,6 +270,10 @@ class ScrolledWindow(Panel):
|
||||
return _windows_.ScrolledWindow_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
ScaleX = property(GetScaleX,doc="See `GetScaleX`")
|
||||
ScaleY = property(GetScaleY,doc="See `GetScaleY`")
|
||||
TargetWindow = property(GetTargetWindow,SetTargetWindow,doc="See `GetTargetWindow` and `SetTargetWindow`")
|
||||
ViewStart = property(GetViewStart,doc="See `GetViewStart`")
|
||||
_windows_.ScrolledWindow_swigregister(ScrolledWindow)
|
||||
|
||||
def PreScrolledWindow(*args, **kwargs):
|
||||
@@ -785,6 +789,7 @@ class SplashScreenWindow(_core.Window):
|
||||
"""GetBitmap(self) -> Bitmap"""
|
||||
return _windows_.SplashScreenWindow_GetBitmap(*args, **kwargs)
|
||||
|
||||
Bitmap = property(GetBitmap,SetBitmap,doc="See `GetBitmap` and `SetBitmap`")
|
||||
_windows_.SplashScreenWindow_swigregister(SplashScreenWindow)
|
||||
|
||||
class SplashScreen(Frame):
|
||||
@@ -812,6 +817,9 @@ class SplashScreen(Frame):
|
||||
"""GetTimeout(self) -> int"""
|
||||
return _windows_.SplashScreen_GetTimeout(*args, **kwargs)
|
||||
|
||||
SplashStyle = property(GetSplashStyle,doc="See `GetSplashStyle`")
|
||||
SplashWindow = property(GetSplashWindow,doc="See `GetSplashWindow`")
|
||||
Timeout = property(GetTimeout,doc="See `GetTimeout`")
|
||||
_windows_.SplashScreen_swigregister(SplashScreen)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -911,7 +919,12 @@ class StatusBar(_core.Window):
|
||||
for i in range(len(items)):
|
||||
self.SetStatusText(items[i], i)
|
||||
|
||||
Fields = property(GetFields,SetFields)
|
||||
BorderX = property(GetBorderX,doc="See `GetBorderX`")
|
||||
BorderY = property(GetBorderY,doc="See `GetBorderY`")
|
||||
FieldRect = property(GetFieldRect,doc="See `GetFieldRect`")
|
||||
Fields = property(GetFields,SetFields,doc="See `GetFields` and `SetFields`")
|
||||
FieldsCount = property(GetFieldsCount,SetFieldsCount,doc="See `GetFieldsCount` and `SetFieldsCount`")
|
||||
StatusText = property(GetStatusText,SetStatusText,doc="See `GetStatusText` and `SetStatusText`")
|
||||
_windows_.StatusBar_swigregister(StatusBar)
|
||||
|
||||
def PreStatusBar(*args, **kwargs):
|
||||
@@ -1235,6 +1248,15 @@ class SplitterWindow(_core.Window):
|
||||
return _windows_.SplitterWindow_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
BorderSize = property(GetBorderSize,SetBorderSize,doc="See `GetBorderSize` and `SetBorderSize`")
|
||||
MinimumPaneSize = property(GetMinimumPaneSize,SetMinimumPaneSize,doc="See `GetMinimumPaneSize` and `SetMinimumPaneSize`")
|
||||
NeedUpdating = property(GetNeedUpdating,SetNeedUpdating,doc="See `GetNeedUpdating` and `SetNeedUpdating`")
|
||||
SashGravity = property(GetSashGravity,SetSashGravity,doc="See `GetSashGravity` and `SetSashGravity`")
|
||||
SashPosition = property(GetSashPosition,SetSashPosition,doc="See `GetSashPosition` and `SetSashPosition`")
|
||||
SashSize = property(GetSashSize,SetSashSize,doc="See `GetSashSize` and `SetSashSize`")
|
||||
SplitMode = property(GetSplitMode,SetSplitMode,doc="See `GetSplitMode` and `SetSplitMode`")
|
||||
Window1 = property(GetWindow1,doc="See `GetWindow1`")
|
||||
Window2 = property(GetWindow2,doc="See `GetWindow2`")
|
||||
_windows_.SplitterWindow_swigregister(SplitterWindow)
|
||||
SplitterNameStr = cvar.SplitterNameStr
|
||||
|
||||
@@ -1324,6 +1346,10 @@ class SplitterEvent(_core.NotifyEvent):
|
||||
"""
|
||||
return _windows_.SplitterEvent_GetY(*args, **kwargs)
|
||||
|
||||
SashPosition = property(GetSashPosition,SetSashPosition,doc="See `GetSashPosition` and `SetSashPosition`")
|
||||
WindowBeingRemoved = property(GetWindowBeingRemoved,doc="See `GetWindowBeingRemoved`")
|
||||
X = property(GetX,doc="See `GetX`")
|
||||
Y = property(GetY,doc="See `GetY`")
|
||||
_windows_.SplitterEvent_swigregister(SplitterEvent)
|
||||
|
||||
wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED = _windows_.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
|
||||
@@ -1448,6 +1474,12 @@ class SashWindow(_core.Window):
|
||||
"""SizeWindows(self)"""
|
||||
return _windows_.SashWindow_SizeWindows(*args, **kwargs)
|
||||
|
||||
DefaultBorderSize = property(GetDefaultBorderSize,SetDefaultBorderSize,doc="See `GetDefaultBorderSize` and `SetDefaultBorderSize`")
|
||||
ExtraBorderSize = property(GetExtraBorderSize,SetExtraBorderSize,doc="See `GetExtraBorderSize` and `SetExtraBorderSize`")
|
||||
MaximumSizeX = property(GetMaximumSizeX,SetMaximumSizeX,doc="See `GetMaximumSizeX` and `SetMaximumSizeX`")
|
||||
MaximumSizeY = property(GetMaximumSizeY,SetMaximumSizeY,doc="See `GetMaximumSizeY` and `SetMaximumSizeY`")
|
||||
MinimumSizeX = property(GetMinimumSizeX,SetMinimumSizeX,doc="See `GetMinimumSizeX` and `SetMinimumSizeX`")
|
||||
MinimumSizeY = property(GetMinimumSizeY,SetMinimumSizeY,doc="See `GetMinimumSizeY` and `SetMinimumSizeY`")
|
||||
_windows_.SashWindow_swigregister(SashWindow)
|
||||
SashNameStr = cvar.SashNameStr
|
||||
SashLayoutNameStr = cvar.SashLayoutNameStr
|
||||
@@ -1490,6 +1522,9 @@ class SashEvent(_core.CommandEvent):
|
||||
"""GetDragStatus(self) -> int"""
|
||||
return _windows_.SashEvent_GetDragStatus(*args, **kwargs)
|
||||
|
||||
DragRect = property(GetDragRect,SetDragRect,doc="See `GetDragRect` and `SetDragRect`")
|
||||
DragStatus = property(GetDragStatus,SetDragStatus,doc="See `GetDragStatus` and `SetDragStatus`")
|
||||
Edge = property(GetEdge,SetEdge,doc="See `GetEdge` and `SetEdge`")
|
||||
_windows_.SashEvent_swigregister(SashEvent)
|
||||
|
||||
wxEVT_SASH_DRAGGED = _windows_.wxEVT_SASH_DRAGGED
|
||||
@@ -1558,6 +1593,11 @@ class QueryLayoutInfoEvent(_core.Event):
|
||||
"""GetAlignment(self) -> int"""
|
||||
return _windows_.QueryLayoutInfoEvent_GetAlignment(*args, **kwargs)
|
||||
|
||||
Alignment = property(GetAlignment,SetAlignment,doc="See `GetAlignment` and `SetAlignment`")
|
||||
Flags = property(GetFlags,SetFlags,doc="See `GetFlags` and `SetFlags`")
|
||||
Orientation = property(GetOrientation,SetOrientation,doc="See `GetOrientation` and `SetOrientation`")
|
||||
RequestedLength = property(GetRequestedLength,SetRequestedLength,doc="See `GetRequestedLength` and `SetRequestedLength`")
|
||||
Size = property(GetSize,SetSize,doc="See `GetSize` and `SetSize`")
|
||||
_windows_.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEvent)
|
||||
|
||||
class CalculateLayoutEvent(_core.Event):
|
||||
@@ -1631,6 +1671,8 @@ class SashLayoutWindow(SashWindow):
|
||||
"""SetOrientation(self, int orientation)"""
|
||||
return _windows_.SashLayoutWindow_SetOrientation(*args, **kwargs)
|
||||
|
||||
Alignment = property(GetAlignment,SetAlignment,doc="See `GetAlignment` and `SetAlignment`")
|
||||
Orientation = property(GetOrientation,SetOrientation,doc="See `GetOrientation` and `SetOrientation`")
|
||||
_windows_.SashLayoutWindow_swigregister(SashLayoutWindow)
|
||||
|
||||
def PreSashLayoutWindow(*args, **kwargs):
|
||||
@@ -2519,6 +2561,8 @@ class SingleChoiceDialog(Dialog):
|
||||
"""
|
||||
return _windows_.SingleChoiceDialog_SetSelection(*args, **kwargs)
|
||||
|
||||
Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`")
|
||||
StringSelection = property(GetStringSelection,doc="See `GetStringSelection`")
|
||||
_windows_.SingleChoiceDialog_swigregister(SingleChoiceDialog)
|
||||
|
||||
TextEntryDialogStyle = _windows_.TextEntryDialogStyle
|
||||
@@ -3889,6 +3933,19 @@ class PrintData(_core.Object):
|
||||
"""SetPrivData(self, PyObject data)"""
|
||||
return _windows_.PrintData_SetPrivData(*args, **kwargs)
|
||||
|
||||
Bin = property(GetBin,SetBin,doc="See `GetBin` and `SetBin`")
|
||||
Collate = property(GetCollate,SetCollate,doc="See `GetCollate` and `SetCollate`")
|
||||
Colour = property(GetColour,SetColour,doc="See `GetColour` and `SetColour`")
|
||||
Duplex = property(GetDuplex,SetDuplex,doc="See `GetDuplex` and `SetDuplex`")
|
||||
Filename = property(GetFilename,SetFilename,doc="See `GetFilename` and `SetFilename`")
|
||||
NoCopies = property(GetNoCopies,SetNoCopies,doc="See `GetNoCopies` and `SetNoCopies`")
|
||||
Orientation = property(GetOrientation,SetOrientation,doc="See `GetOrientation` and `SetOrientation`")
|
||||
PaperId = property(GetPaperId,SetPaperId,doc="See `GetPaperId` and `SetPaperId`")
|
||||
PaperSize = property(GetPaperSize,SetPaperSize,doc="See `GetPaperSize` and `SetPaperSize`")
|
||||
PrintMode = property(GetPrintMode,SetPrintMode,doc="See `GetPrintMode` and `SetPrintMode`")
|
||||
PrinterName = property(GetPrinterName,SetPrinterName,doc="See `GetPrinterName` and `SetPrinterName`")
|
||||
PrivData = property(GetPrivData,SetPrivData,doc="See `GetPrivData` and `SetPrivData`")
|
||||
Quality = property(GetQuality,SetQuality,doc="See `GetQuality` and `SetQuality`")
|
||||
_windows_.PrintData_swigregister(PrintData)
|
||||
PrintoutTitleStr = cvar.PrintoutTitleStr
|
||||
PreviewCanvasNameStr = cvar.PreviewCanvasNameStr
|
||||
@@ -4031,6 +4088,15 @@ class PageSetupDialogData(_core.Object):
|
||||
return _windows_.PageSetupDialogData_CalculatePaperSizeFromId(*args, **kwargs)
|
||||
|
||||
def __nonzero__(self): return self.Ok()
|
||||
DefaultInfo = property(GetDefaultInfo,SetDefaultInfo,doc="See `GetDefaultInfo` and `SetDefaultInfo`")
|
||||
DefaultMinMargins = property(GetDefaultMinMargins,SetDefaultMinMargins,doc="See `GetDefaultMinMargins` and `SetDefaultMinMargins`")
|
||||
MarginBottomRight = property(GetMarginBottomRight,SetMarginBottomRight,doc="See `GetMarginBottomRight` and `SetMarginBottomRight`")
|
||||
MarginTopLeft = property(GetMarginTopLeft,SetMarginTopLeft,doc="See `GetMarginTopLeft` and `SetMarginTopLeft`")
|
||||
MinMarginBottomRight = property(GetMinMarginBottomRight,SetMinMarginBottomRight,doc="See `GetMinMarginBottomRight` and `SetMinMarginBottomRight`")
|
||||
MinMarginTopLeft = property(GetMinMarginTopLeft,SetMinMarginTopLeft,doc="See `GetMinMarginTopLeft` and `SetMinMarginTopLeft`")
|
||||
PaperId = property(GetPaperId,SetPaperId,doc="See `GetPaperId` and `SetPaperId`")
|
||||
PaperSize = property(GetPaperSize,SetPaperSize,doc="See `GetPaperSize` and `SetPaperSize`")
|
||||
PrintData = property(GetPrintData,SetPrintData,doc="See `GetPrintData` and `SetPrintData`")
|
||||
_windows_.PageSetupDialogData_swigregister(PageSetupDialogData)
|
||||
|
||||
class PageSetupDialog(_core.Object):
|
||||
@@ -4055,6 +4121,8 @@ class PageSetupDialog(_core.Object):
|
||||
return _windows_.PageSetupDialog_ShowModal(*args, **kwargs)
|
||||
|
||||
def Destroy(self): pass
|
||||
PageSetupData = property(GetPageSetupData,doc="See `GetPageSetupData`")
|
||||
PageSetupDialogData = property(GetPageSetupDialogData,doc="See `GetPageSetupDialogData`")
|
||||
_windows_.PageSetupDialog_swigregister(PageSetupDialog)
|
||||
|
||||
class PrintDialogData(_core.Object):
|
||||
@@ -4187,6 +4255,16 @@ class PrintDialogData(_core.Object):
|
||||
return _windows_.PrintDialogData_SetPrintData(*args, **kwargs)
|
||||
|
||||
def __nonzero__(self): return self.Ok()
|
||||
AllPages = property(GetAllPages,SetAllPages,doc="See `GetAllPages` and `SetAllPages`")
|
||||
Collate = property(GetCollate,SetCollate,doc="See `GetCollate` and `SetCollate`")
|
||||
FromPage = property(GetFromPage,SetFromPage,doc="See `GetFromPage` and `SetFromPage`")
|
||||
MaxPage = property(GetMaxPage,SetMaxPage,doc="See `GetMaxPage` and `SetMaxPage`")
|
||||
MinPage = property(GetMinPage,SetMinPage,doc="See `GetMinPage` and `SetMinPage`")
|
||||
NoCopies = property(GetNoCopies,SetNoCopies,doc="See `GetNoCopies` and `SetNoCopies`")
|
||||
PrintData = property(GetPrintData,SetPrintData,doc="See `GetPrintData` and `SetPrintData`")
|
||||
PrintToFile = property(GetPrintToFile,SetPrintToFile,doc="See `GetPrintToFile` and `SetPrintToFile`")
|
||||
Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`")
|
||||
ToPage = property(GetToPage,SetToPage,doc="See `GetToPage` and `SetToPage`")
|
||||
_windows_.PrintDialogData_swigregister(PrintDialogData)
|
||||
|
||||
class PrintDialog(_core.Object):
|
||||
@@ -4215,6 +4293,9 @@ class PrintDialog(_core.Object):
|
||||
return _windows_.PrintDialog_GetPrintDC(*args, **kwargs)
|
||||
|
||||
def Destroy(self): pass
|
||||
PrintDC = property(GetPrintDC,doc="See `GetPrintDC`")
|
||||
PrintData = property(GetPrintData,doc="See `GetPrintData`")
|
||||
PrintDialogData = property(GetPrintDialogData,doc="See `GetPrintDialogData`")
|
||||
_windows_.PrintDialog_swigregister(PrintDialog)
|
||||
|
||||
PRINTER_NO_ERROR = _windows_.PRINTER_NO_ERROR
|
||||
@@ -4262,6 +4343,8 @@ class Printer(_core.Object):
|
||||
return _windows_.Printer_GetLastError(*args, **kwargs)
|
||||
|
||||
GetLastError = staticmethod(GetLastError)
|
||||
Abort = property(GetAbort,doc="See `GetAbort`")
|
||||
PrintDialogData = property(GetPrintDialogData,doc="See `GetPrintDialogData`")
|
||||
_windows_.Printer_swigregister(Printer)
|
||||
|
||||
def Printer_GetLastError(*args):
|
||||
@@ -4393,6 +4476,12 @@ class Printout(_core.Object):
|
||||
base_GetPageInfo = wx._deprecated(base_GetPageInfo,
|
||||
"Please use Printout.GetPageInfo instead.")
|
||||
|
||||
DC = property(GetDC,SetDC,doc="See `GetDC` and `SetDC`")
|
||||
PPIPrinter = property(GetPPIPrinter,SetPPIPrinter,doc="See `GetPPIPrinter` and `SetPPIPrinter`")
|
||||
PPIScreen = property(GetPPIScreen,SetPPIScreen,doc="See `GetPPIScreen` and `SetPPIScreen`")
|
||||
PageSizeMM = property(GetPageSizeMM,SetPageSizeMM,doc="See `GetPageSizeMM` and `SetPageSizeMM`")
|
||||
PageSizePixels = property(GetPageSizePixels,SetPageSizePixels,doc="See `GetPageSizePixels` and `SetPageSizePixels`")
|
||||
Title = property(GetTitle,doc="See `GetTitle`")
|
||||
_windows_.Printout_swigregister(Printout)
|
||||
|
||||
class PreviewCanvas(ScrolledWindow):
|
||||
@@ -4439,6 +4528,7 @@ class PreviewFrame(Frame):
|
||||
"""GetControlBar(self) -> PreviewControlBar"""
|
||||
return _windows_.PreviewFrame_GetControlBar(*args, **kwargs)
|
||||
|
||||
ControlBar = property(GetControlBar,doc="See `GetControlBar`")
|
||||
_windows_.PreviewFrame_swigregister(PreviewFrame)
|
||||
|
||||
PREVIEW_PRINT = _windows_.PREVIEW_PRINT
|
||||
@@ -4502,6 +4592,8 @@ class PreviewControlBar(Panel):
|
||||
"""OnGoto(self)"""
|
||||
return _windows_.PreviewControlBar_OnGoto(*args, **kwargs)
|
||||
|
||||
PrintPreview = property(GetPrintPreview,doc="See `GetPrintPreview`")
|
||||
ZoomControl = property(GetZoomControl,SetZoomControl,doc="See `GetZoomControl` and `SetZoomControl`")
|
||||
_windows_.PreviewControlBar_swigregister(PreviewControlBar)
|
||||
|
||||
class PrintPreview(_core.Object):
|
||||
@@ -4605,6 +4697,15 @@ class PrintPreview(_core.Object):
|
||||
return _windows_.PrintPreview_DetermineScaling(*args, **kwargs)
|
||||
|
||||
def __nonzero__(self): return self.Ok()
|
||||
Canvas = property(GetCanvas,SetCanvas,doc="See `GetCanvas` and `SetCanvas`")
|
||||
CurrentPage = property(GetCurrentPage,SetCurrentPage,doc="See `GetCurrentPage` and `SetCurrentPage`")
|
||||
Frame = property(GetFrame,SetFrame,doc="See `GetFrame` and `SetFrame`")
|
||||
MaxPage = property(GetMaxPage,doc="See `GetMaxPage`")
|
||||
MinPage = property(GetMinPage,doc="See `GetMinPage`")
|
||||
PrintDialogData = property(GetPrintDialogData,doc="See `GetPrintDialogData`")
|
||||
Printout = property(GetPrintout,SetPrintout,doc="See `GetPrintout` and `SetPrintout`")
|
||||
PrintoutForPrinting = property(GetPrintoutForPrinting,doc="See `GetPrintoutForPrinting`")
|
||||
Zoom = property(GetZoom,SetZoom,doc="See `GetZoom` and `SetZoom`")
|
||||
_windows_.PrintPreview_swigregister(PrintPreview)
|
||||
|
||||
class PyPrintPreview(PrintPreview):
|
||||
|
@@ -366,6 +366,18 @@ class XmlNode(object):
|
||||
"""GetContent(self) -> String"""
|
||||
return _xrc.XmlNode_GetContent(*args, **kwargs)
|
||||
|
||||
def IsWhitespaceOnly(*args, **kwargs):
|
||||
"""IsWhitespaceOnly(self) -> bool"""
|
||||
return _xrc.XmlNode_IsWhitespaceOnly(*args, **kwargs)
|
||||
|
||||
def GetDepth(*args, **kwargs):
|
||||
"""GetDepth(self, XmlNode grandparent=None) -> int"""
|
||||
return _xrc.XmlNode_GetDepth(*args, **kwargs)
|
||||
|
||||
def GetNodeContent(*args, **kwargs):
|
||||
"""GetNodeContent(self) -> String"""
|
||||
return _xrc.XmlNode_GetNodeContent(*args, **kwargs)
|
||||
|
||||
def GetParent(*args, **kwargs):
|
||||
"""GetParent(self) -> XmlNode"""
|
||||
return _xrc.XmlNode_GetParent(*args, **kwargs)
|
||||
@@ -425,6 +437,9 @@ def XmlNodeEasy(*args, **kwargs):
|
||||
val = _xrc.new_XmlNodeEasy(*args, **kwargs)
|
||||
return val
|
||||
|
||||
XML_NO_INDENTATION = _xrc.XML_NO_INDENTATION
|
||||
XMLDOC_NONE = _xrc.XMLDOC_NONE
|
||||
XMLDOC_KEEP_WHITESPACE_NODES = _xrc.XMLDOC_KEEP_WHITESPACE_NODES
|
||||
class XmlDocument(_core.Object):
|
||||
"""Proxy of C++ XmlDocument class"""
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
@@ -435,19 +450,19 @@ class XmlDocument(_core.Object):
|
||||
__swig_destroy__ = _xrc.delete_XmlDocument
|
||||
__del__ = lambda self : None;
|
||||
def Load(*args, **kwargs):
|
||||
"""Load(self, String filename, String encoding=UTF8String) -> bool"""
|
||||
"""Load(self, String filename, String encoding=UTF8String, int flags=XMLDOC_NONE) -> bool"""
|
||||
return _xrc.XmlDocument_Load(*args, **kwargs)
|
||||
|
||||
def LoadFromStream(*args, **kwargs):
|
||||
"""LoadFromStream(self, InputStream stream, String encoding=UTF8String) -> bool"""
|
||||
"""LoadFromStream(self, InputStream stream, String encoding=UTF8String, int flags=XMLDOC_NONE) -> bool"""
|
||||
return _xrc.XmlDocument_LoadFromStream(*args, **kwargs)
|
||||
|
||||
def Save(*args, **kwargs):
|
||||
"""Save(self, String filename) -> bool"""
|
||||
"""Save(self, String filename, int indentstep=1) -> bool"""
|
||||
return _xrc.XmlDocument_Save(*args, **kwargs)
|
||||
|
||||
def SaveToStream(*args, **kwargs):
|
||||
"""SaveToStream(self, OutputStream stream) -> bool"""
|
||||
"""SaveToStream(self, OutputStream stream, int indentstep=1) -> bool"""
|
||||
return _xrc.XmlDocument_SaveToStream(*args, **kwargs)
|
||||
|
||||
def IsOk(*args, **kwargs):
|
||||
|
@@ -5668,6 +5668,111 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_XmlNode_IsWhitespaceOnly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxXmlNode *arg1 = (wxXmlNode *) 0 ;
|
||||
bool result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxXmlNode, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XmlNode_IsWhitespaceOnly" "', expected argument " "1"" of type '" "wxXmlNode const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxXmlNode * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)((wxXmlNode const *)arg1)->IsWhitespaceOnly();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_XmlNode_GetDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxXmlNode *arg1 = (wxXmlNode *) 0 ;
|
||||
wxXmlNode *arg2 = (wxXmlNode *) NULL ;
|
||||
int result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
void *argp2 = 0 ;
|
||||
int res2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "grandparent", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:XmlNode_GetDepth",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxXmlNode, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XmlNode_GetDepth" "', expected argument " "1"" of type '" "wxXmlNode const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxXmlNode * >(argp1);
|
||||
if (obj1) {
|
||||
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxXmlNode, 0 | 0 );
|
||||
if (!SWIG_IsOK(res2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XmlNode_GetDepth" "', expected argument " "2"" of type '" "wxXmlNode *""'");
|
||||
}
|
||||
arg2 = reinterpret_cast< wxXmlNode * >(argp2);
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (int)((wxXmlNode const *)arg1)->GetDepth(arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_From_int(static_cast< int >(result));
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_XmlNode_GetNodeContent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxXmlNode *arg1 = (wxXmlNode *) 0 ;
|
||||
wxString result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxXmlNode, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XmlNode_GetNodeContent" "', expected argument " "1"" of type '" "wxXmlNode const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxXmlNode * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = ((wxXmlNode const *)arg1)->GetNodeContent();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
#if wxUSE_UNICODE
|
||||
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
||||
#else
|
||||
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
||||
#endif
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_XmlNode_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxXmlNode *arg1 = (wxXmlNode *) 0 ;
|
||||
@@ -6359,19 +6464,23 @@ SWIGINTERN PyObject *_wrap_XmlDocument_Load(PyObject *SWIGUNUSEDPARM(self), PyOb
|
||||
wxString *arg2 = 0 ;
|
||||
wxString const &arg3_defvalue = wxPyUTF8String ;
|
||||
wxString *arg3 = (wxString *) &arg3_defvalue ;
|
||||
int arg4 = (int) wxXMLDOC_NONE ;
|
||||
bool result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp3 = false ;
|
||||
int val4 ;
|
||||
int ecode4 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "filename",(char *) "encoding", NULL
|
||||
(char *) "self",(char *) "filename",(char *) "encoding",(char *) "flags", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:XmlDocument_Load",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:XmlDocument_Load",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxXmlDocument, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XmlDocument_Load" "', expected argument " "1"" of type '" "wxXmlDocument *""'");
|
||||
@@ -6389,9 +6498,16 @@ SWIGINTERN PyObject *_wrap_XmlDocument_Load(PyObject *SWIGUNUSEDPARM(self), PyOb
|
||||
temp3 = true;
|
||||
}
|
||||
}
|
||||
if (obj3) {
|
||||
ecode4 = SWIG_AsVal_int(obj3, &val4);
|
||||
if (!SWIG_IsOK(ecode4)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XmlDocument_Load" "', expected argument " "4"" of type '" "int""'");
|
||||
}
|
||||
arg4 = static_cast< int >(val4);
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)(arg1)->Load((wxString const &)*arg2,(wxString const &)*arg3);
|
||||
result = (bool)(arg1)->Load((wxString const &)*arg2,(wxString const &)*arg3,arg4);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
@@ -6426,20 +6542,24 @@ SWIGINTERN PyObject *_wrap_XmlDocument_LoadFromStream(PyObject *SWIGUNUSEDPARM(s
|
||||
wxInputStream *arg2 = 0 ;
|
||||
wxString const &arg3_defvalue = wxPyUTF8String ;
|
||||
wxString *arg3 = (wxString *) &arg3_defvalue ;
|
||||
int arg4 = (int) wxXMLDOC_NONE ;
|
||||
bool result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
wxPyInputStream *temp2 ;
|
||||
bool created2 ;
|
||||
bool temp3 = false ;
|
||||
int val4 ;
|
||||
int ecode4 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "stream",(char *) "encoding", NULL
|
||||
(char *) "self",(char *) "stream",(char *) "encoding",(char *) "flags", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:XmlDocument_LoadFromStream",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:XmlDocument_LoadFromStream",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxXmlDocument, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XmlDocument_LoadFromStream" "', expected argument " "1"" of type '" "wxXmlDocument *""'");
|
||||
@@ -6466,9 +6586,16 @@ SWIGINTERN PyObject *_wrap_XmlDocument_LoadFromStream(PyObject *SWIGUNUSEDPARM(s
|
||||
temp3 = true;
|
||||
}
|
||||
}
|
||||
if (obj3) {
|
||||
ecode4 = SWIG_AsVal_int(obj3, &val4);
|
||||
if (!SWIG_IsOK(ecode4)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XmlDocument_LoadFromStream" "', expected argument " "4"" of type '" "int""'");
|
||||
}
|
||||
arg4 = static_cast< int >(val4);
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)(arg1)->Load(*arg2,(wxString const &)*arg3);
|
||||
result = (bool)(arg1)->Load(*arg2,(wxString const &)*arg3,arg4);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
@@ -6499,17 +6626,21 @@ SWIGINTERN PyObject *_wrap_XmlDocument_Save(PyObject *SWIGUNUSEDPARM(self), PyOb
|
||||
PyObject *resultobj = 0;
|
||||
wxXmlDocument *arg1 = (wxXmlDocument *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
int arg3 = (int) 1 ;
|
||||
bool result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
bool temp2 = false ;
|
||||
int val3 ;
|
||||
int ecode3 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "filename", NULL
|
||||
(char *) "self",(char *) "filename",(char *) "indentstep", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlDocument_Save",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:XmlDocument_Save",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxXmlDocument, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XmlDocument_Save" "', expected argument " "1"" of type '" "wxXmlDocument const *""'");
|
||||
@@ -6520,9 +6651,16 @@ SWIGINTERN PyObject *_wrap_XmlDocument_Save(PyObject *SWIGUNUSEDPARM(self), PyOb
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
}
|
||||
if (obj2) {
|
||||
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
||||
if (!SWIG_IsOK(ecode3)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XmlDocument_Save" "', expected argument " "3"" of type '" "int""'");
|
||||
}
|
||||
arg3 = static_cast< int >(val3);
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)((wxXmlDocument const *)arg1)->Save((wxString const &)*arg2);
|
||||
result = (bool)((wxXmlDocument const *)arg1)->Save((wxString const &)*arg2,arg3);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
@@ -6547,18 +6685,22 @@ SWIGINTERN PyObject *_wrap_XmlDocument_SaveToStream(PyObject *SWIGUNUSEDPARM(sel
|
||||
PyObject *resultobj = 0;
|
||||
wxXmlDocument *arg1 = (wxXmlDocument *) 0 ;
|
||||
wxOutputStream *arg2 = 0 ;
|
||||
int arg3 = (int) 1 ;
|
||||
bool result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
void *argp2 = 0 ;
|
||||
int res2 = 0 ;
|
||||
int val3 ;
|
||||
int ecode3 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "stream", NULL
|
||||
(char *) "self",(char *) "stream",(char *) "indentstep", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlDocument_SaveToStream",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:XmlDocument_SaveToStream",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxXmlDocument, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XmlDocument_SaveToStream" "', expected argument " "1"" of type '" "wxXmlDocument const *""'");
|
||||
@@ -6572,9 +6714,16 @@ SWIGINTERN PyObject *_wrap_XmlDocument_SaveToStream(PyObject *SWIGUNUSEDPARM(sel
|
||||
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "XmlDocument_SaveToStream" "', expected argument " "2"" of type '" "wxOutputStream &""'");
|
||||
}
|
||||
arg2 = reinterpret_cast< wxOutputStream * >(argp2);
|
||||
if (obj2) {
|
||||
ecode3 = SWIG_AsVal_int(obj2, &val3);
|
||||
if (!SWIG_IsOK(ecode3)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XmlDocument_SaveToStream" "', expected argument " "3"" of type '" "int""'");
|
||||
}
|
||||
arg3 = static_cast< int >(val3);
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)((wxXmlDocument const *)arg1)->Save(*arg2);
|
||||
result = (bool)((wxXmlDocument const *)arg1)->Save(*arg2,arg3);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
@@ -8558,6 +8707,9 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"XmlNode_GetType", (PyCFunction)_wrap_XmlNode_GetType, METH_O, NULL},
|
||||
{ (char *)"XmlNode_GetName", (PyCFunction)_wrap_XmlNode_GetName, METH_O, NULL},
|
||||
{ (char *)"XmlNode_GetContent", (PyCFunction)_wrap_XmlNode_GetContent, METH_O, NULL},
|
||||
{ (char *)"XmlNode_IsWhitespaceOnly", (PyCFunction)_wrap_XmlNode_IsWhitespaceOnly, METH_O, NULL},
|
||||
{ (char *)"XmlNode_GetDepth", (PyCFunction) _wrap_XmlNode_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"XmlNode_GetNodeContent", (PyCFunction)_wrap_XmlNode_GetNodeContent, METH_O, NULL},
|
||||
{ (char *)"XmlNode_GetParent", (PyCFunction)_wrap_XmlNode_GetParent, METH_O, NULL},
|
||||
{ (char *)"XmlNode_GetNext", (PyCFunction)_wrap_XmlNode_GetNext, METH_O, NULL},
|
||||
{ (char *)"XmlNode_GetChildren", (PyCFunction)_wrap_XmlNode_GetChildren, METH_O, NULL},
|
||||
@@ -9843,6 +9995,9 @@ SWIGEXPORT void SWIG_init(void) {
|
||||
SWIG_Python_SetConstant(d, "XML_DOCUMENT_FRAG_NODE",SWIG_From_int(static_cast< int >(wxXML_DOCUMENT_FRAG_NODE)));
|
||||
SWIG_Python_SetConstant(d, "XML_NOTATION_NODE",SWIG_From_int(static_cast< int >(wxXML_NOTATION_NODE)));
|
||||
SWIG_Python_SetConstant(d, "XML_HTML_DOCUMENT_NODE",SWIG_From_int(static_cast< int >(wxXML_HTML_DOCUMENT_NODE)));
|
||||
SWIG_Python_SetConstant(d, "XML_NO_INDENTATION",SWIG_From_int(static_cast< int >(wxXML_NO_INDENTATION)));
|
||||
SWIG_Python_SetConstant(d, "XMLDOC_NONE",SWIG_From_int(static_cast< int >(wxXMLDOC_NONE)));
|
||||
SWIG_Python_SetConstant(d, "XMLDOC_KEEP_WHITESPACE_NODES",SWIG_From_int(static_cast< int >(wxXMLDOC_KEEP_WHITESPACE_NODES)));
|
||||
|
||||
|
||||
wxXmlInitResourceModule();
|
||||
|
Reference in New Issue
Block a user