reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -12,13 +12,15 @@ wxEVT_DYNAMIC_SASH_UNIFY = _gizmos.wxEVT_DYNAMIC_SASH_UNIFY
|
||||
DS_MANAGE_SCROLLBARS = _gizmos.DS_MANAGE_SCROLLBARS
|
||||
DS_DRAG_CORNER = _gizmos.DS_DRAG_CORNER
|
||||
class DynamicSashSplitEvent(core.CommandEvent):
|
||||
""""""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxDynamicSashSplitEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(Object target) -> DynamicSashSplitEvent"""
|
||||
newobj = _gizmos.new_DynamicSashSplitEvent(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxDynamicSashSplitEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
|
||||
class DynamicSashSplitEventPtr(DynamicSashSplitEvent):
|
||||
def __init__(self, this):
|
||||
@@ -28,13 +30,15 @@ class DynamicSashSplitEventPtr(DynamicSashSplitEvent):
|
||||
_gizmos.DynamicSashSplitEvent_swigregister(DynamicSashSplitEventPtr)
|
||||
|
||||
class DynamicSashUnifyEvent(core.CommandEvent):
|
||||
""""""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxDynamicSashUnifyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(Object target) -> DynamicSashUnifyEvent"""
|
||||
newobj = _gizmos.new_DynamicSashUnifyEvent(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxDynamicSashUnifyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
|
||||
class DynamicSashUnifyEventPtr(DynamicSashUnifyEvent):
|
||||
def __init__(self, this):
|
||||
@@ -44,17 +48,33 @@ class DynamicSashUnifyEventPtr(DynamicSashUnifyEvent):
|
||||
_gizmos.DynamicSashUnifyEvent_swigregister(DynamicSashUnifyEventPtr)
|
||||
|
||||
class DynamicSashWindow(core.Window):
|
||||
""""""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxDynamicSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
|
||||
wxString name=wxPyDynamicSashNameStr) -> DynamicSashWindow"""
|
||||
newobj = _gizmos.new_DynamicSashWindow(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
self._setOORInfo(self)
|
||||
def Create(*args, **kwargs): return _gizmos.DynamicSashWindow_Create(*args, **kwargs)
|
||||
def GetHScrollBar(*args, **kwargs): return _gizmos.DynamicSashWindow_GetHScrollBar(*args, **kwargs)
|
||||
def GetVScrollBar(*args, **kwargs): return _gizmos.DynamicSashWindow_GetVScrollBar(*args, **kwargs)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxDynamicSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
"""Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
|
||||
wxString name=wxPyDynamicSashNameStr) -> bool"""
|
||||
return _gizmos.DynamicSashWindow_Create(*args, **kwargs)
|
||||
|
||||
def GetHScrollBar(*args, **kwargs):
|
||||
"""GetHScrollBar(Window child) -> ScrollBar"""
|
||||
return _gizmos.DynamicSashWindow_GetHScrollBar(*args, **kwargs)
|
||||
|
||||
def GetVScrollBar(*args, **kwargs):
|
||||
"""GetVScrollBar(Window child) -> ScrollBar"""
|
||||
return _gizmos.DynamicSashWindow_GetVScrollBar(*args, **kwargs)
|
||||
|
||||
|
||||
class DynamicSashWindowPtr(DynamicSashWindow):
|
||||
def __init__(self, this):
|
||||
@@ -64,6 +84,7 @@ class DynamicSashWindowPtr(DynamicSashWindow):
|
||||
_gizmos.DynamicSashWindow_swigregister(DynamicSashWindowPtr)
|
||||
|
||||
def PreDynamicSashWindow(*args, **kwargs):
|
||||
"""PreDynamicSashWindow() -> DynamicSashWindow"""
|
||||
val = _gizmos.new_PreDynamicSashWindow(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
return val
|
||||
@@ -75,22 +96,51 @@ EL_ALLOW_NEW = _gizmos.EL_ALLOW_NEW
|
||||
EL_ALLOW_EDIT = _gizmos.EL_ALLOW_EDIT
|
||||
EL_ALLOW_DELETE = _gizmos.EL_ALLOW_DELETE
|
||||
class EditableListBox(windows.Panel):
|
||||
""""""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxEditableListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(Window parent, int id, wxString label, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE,
|
||||
wxString name=wxPyEditableListBoxNameStr) -> EditableListBox"""
|
||||
newobj = _gizmos.new_EditableListBox(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
self._setOORInfo(self)
|
||||
def SetStrings(*args, **kwargs): return _gizmos.EditableListBox_SetStrings(*args, **kwargs)
|
||||
def GetStrings(*args, **kwargs): return _gizmos.EditableListBox_GetStrings(*args, **kwargs)
|
||||
def GetListCtrl(*args, **kwargs): return _gizmos.EditableListBox_GetListCtrl(*args, **kwargs)
|
||||
def GetDelButton(*args, **kwargs): return _gizmos.EditableListBox_GetDelButton(*args, **kwargs)
|
||||
def GetNewButton(*args, **kwargs): return _gizmos.EditableListBox_GetNewButton(*args, **kwargs)
|
||||
def GetUpButton(*args, **kwargs): return _gizmos.EditableListBox_GetUpButton(*args, **kwargs)
|
||||
def GetDownButton(*args, **kwargs): return _gizmos.EditableListBox_GetDownButton(*args, **kwargs)
|
||||
def GetEditButton(*args, **kwargs): return _gizmos.EditableListBox_GetEditButton(*args, **kwargs)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxEditableListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
|
||||
def SetStrings(*args, **kwargs):
|
||||
"""SetStrings(wxArrayString strings)"""
|
||||
return _gizmos.EditableListBox_SetStrings(*args, **kwargs)
|
||||
|
||||
def GetStrings(*args, **kwargs):
|
||||
"""GetStrings() -> PyObject"""
|
||||
return _gizmos.EditableListBox_GetStrings(*args, **kwargs)
|
||||
|
||||
def GetListCtrl(*args, **kwargs):
|
||||
"""GetListCtrl() -> wxListCtrl"""
|
||||
return _gizmos.EditableListBox_GetListCtrl(*args, **kwargs)
|
||||
|
||||
def GetDelButton(*args, **kwargs):
|
||||
"""GetDelButton() -> BitmapButton"""
|
||||
return _gizmos.EditableListBox_GetDelButton(*args, **kwargs)
|
||||
|
||||
def GetNewButton(*args, **kwargs):
|
||||
"""GetNewButton() -> BitmapButton"""
|
||||
return _gizmos.EditableListBox_GetNewButton(*args, **kwargs)
|
||||
|
||||
def GetUpButton(*args, **kwargs):
|
||||
"""GetUpButton() -> BitmapButton"""
|
||||
return _gizmos.EditableListBox_GetUpButton(*args, **kwargs)
|
||||
|
||||
def GetDownButton(*args, **kwargs):
|
||||
"""GetDownButton() -> BitmapButton"""
|
||||
return _gizmos.EditableListBox_GetDownButton(*args, **kwargs)
|
||||
|
||||
def GetEditButton(*args, **kwargs):
|
||||
"""GetEditButton() -> BitmapButton"""
|
||||
return _gizmos.EditableListBox_GetEditButton(*args, **kwargs)
|
||||
|
||||
|
||||
class EditableListBoxPtr(EditableListBox):
|
||||
def __init__(self, this):
|
||||
@@ -100,20 +150,42 @@ class EditableListBoxPtr(EditableListBox):
|
||||
_gizmos.EditableListBox_swigregister(EditableListBoxPtr)
|
||||
|
||||
class RemotelyScrolledTreeCtrl(controls.TreeCtrl):
|
||||
""""""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxRemotelyScrolledTreeCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=TR_HAS_BUTTONS) -> RemotelyScrolledTreeCtrl"""
|
||||
newobj = _gizmos.new_RemotelyScrolledTreeCtrl(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
self._setOORInfo(self)
|
||||
def HideVScrollbar(*args, **kwargs): return _gizmos.RemotelyScrolledTreeCtrl_HideVScrollbar(*args, **kwargs)
|
||||
def AdjustRemoteScrollbars(*args, **kwargs): return _gizmos.RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(*args, **kwargs)
|
||||
def GetScrolledWindow(*args, **kwargs): return _gizmos.RemotelyScrolledTreeCtrl_GetScrolledWindow(*args, **kwargs)
|
||||
def ScrollToLine(*args, **kwargs): return _gizmos.RemotelyScrolledTreeCtrl_ScrollToLine(*args, **kwargs)
|
||||
def SetCompanionWindow(*args, **kwargs): return _gizmos.RemotelyScrolledTreeCtrl_SetCompanionWindow(*args, **kwargs)
|
||||
def GetCompanionWindow(*args, **kwargs): return _gizmos.RemotelyScrolledTreeCtrl_GetCompanionWindow(*args, **kwargs)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxRemotelyScrolledTreeCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
|
||||
def HideVScrollbar(*args, **kwargs):
|
||||
"""HideVScrollbar()"""
|
||||
return _gizmos.RemotelyScrolledTreeCtrl_HideVScrollbar(*args, **kwargs)
|
||||
|
||||
def AdjustRemoteScrollbars(*args, **kwargs):
|
||||
"""AdjustRemoteScrollbars()"""
|
||||
return _gizmos.RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(*args, **kwargs)
|
||||
|
||||
def GetScrolledWindow(*args, **kwargs):
|
||||
"""GetScrolledWindow() -> ScrolledWindow"""
|
||||
return _gizmos.RemotelyScrolledTreeCtrl_GetScrolledWindow(*args, **kwargs)
|
||||
|
||||
def ScrollToLine(*args, **kwargs):
|
||||
"""ScrollToLine(int posHoriz, int posVert)"""
|
||||
return _gizmos.RemotelyScrolledTreeCtrl_ScrollToLine(*args, **kwargs)
|
||||
|
||||
def SetCompanionWindow(*args, **kwargs):
|
||||
"""SetCompanionWindow(Window companion)"""
|
||||
return _gizmos.RemotelyScrolledTreeCtrl_SetCompanionWindow(*args, **kwargs)
|
||||
|
||||
def GetCompanionWindow(*args, **kwargs):
|
||||
"""GetCompanionWindow() -> Window"""
|
||||
return _gizmos.RemotelyScrolledTreeCtrl_GetCompanionWindow(*args, **kwargs)
|
||||
|
||||
|
||||
class RemotelyScrolledTreeCtrlPtr(RemotelyScrolledTreeCtrl):
|
||||
def __init__(self, this):
|
||||
@@ -123,17 +195,30 @@ class RemotelyScrolledTreeCtrlPtr(RemotelyScrolledTreeCtrl):
|
||||
_gizmos.RemotelyScrolledTreeCtrl_swigregister(RemotelyScrolledTreeCtrlPtr)
|
||||
|
||||
class TreeCompanionWindow(core.Window):
|
||||
""""""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxPyTreeCompanionWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=0) -> TreeCompanionWindow"""
|
||||
newobj = _gizmos.new_TreeCompanionWindow(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
self._setOORInfo(self);self._setCallbackInfo(self, TreeCompanionWindow)
|
||||
def _setCallbackInfo(*args, **kwargs): return _gizmos.TreeCompanionWindow__setCallbackInfo(*args, **kwargs)
|
||||
def GetTreeCtrl(*args, **kwargs): return _gizmos.TreeCompanionWindow_GetTreeCtrl(*args, **kwargs)
|
||||
def SetTreeCtrl(*args, **kwargs): return _gizmos.TreeCompanionWindow_SetTreeCtrl(*args, **kwargs)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxPyTreeCompanionWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
|
||||
def _setCallbackInfo(*args, **kwargs):
|
||||
"""_setCallbackInfo(PyObject self, PyObject _class)"""
|
||||
return _gizmos.TreeCompanionWindow__setCallbackInfo(*args, **kwargs)
|
||||
|
||||
def GetTreeCtrl(*args, **kwargs):
|
||||
"""GetTreeCtrl() -> RemotelyScrolledTreeCtrl"""
|
||||
return _gizmos.TreeCompanionWindow_GetTreeCtrl(*args, **kwargs)
|
||||
|
||||
def SetTreeCtrl(*args, **kwargs):
|
||||
"""SetTreeCtrl(RemotelyScrolledTreeCtrl treeCtrl)"""
|
||||
return _gizmos.TreeCompanionWindow_SetTreeCtrl(*args, **kwargs)
|
||||
|
||||
|
||||
class TreeCompanionWindowPtr(TreeCompanionWindow):
|
||||
def __init__(self, this):
|
||||
@@ -143,14 +228,18 @@ class TreeCompanionWindowPtr(TreeCompanionWindow):
|
||||
_gizmos.TreeCompanionWindow_swigregister(TreeCompanionWindowPtr)
|
||||
|
||||
class ThinSplitterWindow(windows.SplitterWindow):
|
||||
""""""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxThinSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=wxSP_3D|wxCLIP_CHILDREN) -> ThinSplitterWindow"""
|
||||
newobj = _gizmos.new_ThinSplitterWindow(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
self._setOORInfo(self)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxThinSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
|
||||
|
||||
class ThinSplitterWindowPtr(ThinSplitterWindow):
|
||||
def __init__(self, this):
|
||||
@@ -160,14 +249,18 @@ class ThinSplitterWindowPtr(ThinSplitterWindow):
|
||||
_gizmos.ThinSplitterWindow_swigregister(ThinSplitterWindowPtr)
|
||||
|
||||
class SplitterScrolledWindow(windows.ScrolledWindow):
|
||||
""""""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxSplitterScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=0) -> SplitterScrolledWindow"""
|
||||
newobj = _gizmos.new_SplitterScrolledWindow(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
self._setOORInfo(self)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxSplitterScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
|
||||
|
||||
class SplitterScrolledWindowPtr(SplitterScrolledWindow):
|
||||
def __init__(self, this):
|
||||
@@ -182,21 +275,47 @@ LED_ALIGN_CENTER = _gizmos.LED_ALIGN_CENTER
|
||||
LED_ALIGN_MASK = _gizmos.LED_ALIGN_MASK
|
||||
LED_DRAW_FADED = _gizmos.LED_DRAW_FADED
|
||||
class LEDNumberCtrl(core.Control):
|
||||
""""""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxLEDNumberCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> LEDNumberCtrl"""
|
||||
newobj = _gizmos.new_LEDNumberCtrl(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
self._setOORInfo(self)
|
||||
def Create(*args, **kwargs): return _gizmos.LEDNumberCtrl_Create(*args, **kwargs)
|
||||
def GetAlignment(*args, **kwargs): return _gizmos.LEDNumberCtrl_GetAlignment(*args, **kwargs)
|
||||
def GetDrawFaded(*args, **kwargs): return _gizmos.LEDNumberCtrl_GetDrawFaded(*args, **kwargs)
|
||||
def GetValue(*args, **kwargs): return _gizmos.LEDNumberCtrl_GetValue(*args, **kwargs)
|
||||
def SetAlignment(*args, **kwargs): return _gizmos.LEDNumberCtrl_SetAlignment(*args, **kwargs)
|
||||
def SetDrawFaded(*args, **kwargs): return _gizmos.LEDNumberCtrl_SetDrawFaded(*args, **kwargs)
|
||||
def SetValue(*args, **kwargs): return _gizmos.LEDNumberCtrl_SetValue(*args, **kwargs)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxLEDNumberCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
"""Create(Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> bool"""
|
||||
return _gizmos.LEDNumberCtrl_Create(*args, **kwargs)
|
||||
|
||||
def GetAlignment(*args, **kwargs):
|
||||
"""GetAlignment() -> wxLEDValueAlign"""
|
||||
return _gizmos.LEDNumberCtrl_GetAlignment(*args, **kwargs)
|
||||
|
||||
def GetDrawFaded(*args, **kwargs):
|
||||
"""GetDrawFaded() -> bool"""
|
||||
return _gizmos.LEDNumberCtrl_GetDrawFaded(*args, **kwargs)
|
||||
|
||||
def GetValue(*args, **kwargs):
|
||||
"""GetValue() -> wxString"""
|
||||
return _gizmos.LEDNumberCtrl_GetValue(*args, **kwargs)
|
||||
|
||||
def SetAlignment(*args, **kwargs):
|
||||
"""SetAlignment(wxLEDValueAlign Alignment, bool Redraw=true)"""
|
||||
return _gizmos.LEDNumberCtrl_SetAlignment(*args, **kwargs)
|
||||
|
||||
def SetDrawFaded(*args, **kwargs):
|
||||
"""SetDrawFaded(bool DrawFaded, bool Redraw=true)"""
|
||||
return _gizmos.LEDNumberCtrl_SetDrawFaded(*args, **kwargs)
|
||||
|
||||
def SetValue(*args, **kwargs):
|
||||
"""SetValue(wxString Value, bool Redraw=true)"""
|
||||
return _gizmos.LEDNumberCtrl_SetValue(*args, **kwargs)
|
||||
|
||||
|
||||
class LEDNumberCtrlPtr(LEDNumberCtrl):
|
||||
def __init__(self, this):
|
||||
@@ -206,6 +325,7 @@ class LEDNumberCtrlPtr(LEDNumberCtrl):
|
||||
_gizmos.LEDNumberCtrl_swigregister(LEDNumberCtrlPtr)
|
||||
|
||||
def PreLEDNumberCtrl(*args, **kwargs):
|
||||
"""PreLEDNumberCtrl() -> LEDNumberCtrl"""
|
||||
val = _gizmos.new_PreLEDNumberCtrl(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
return val
|
||||
@@ -215,23 +335,56 @@ TL_ALIGN_RIGHT = _gizmos.TL_ALIGN_RIGHT
|
||||
TL_ALIGN_CENTER = _gizmos.TL_ALIGN_CENTER
|
||||
TREE_HITTEST_ONITEMCOLUMN = _gizmos.TREE_HITTEST_ONITEMCOLUMN
|
||||
class TreeListColumnInfo(core.Object):
|
||||
""""""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxTreeListColumnInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(wxString text=wxPyEmptyString, int image=-1, size_t width=100,
|
||||
wxTreeListColumnAlign alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo"""
|
||||
newobj = _gizmos.new_TreeListColumnInfo(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def GetAlignment(*args, **kwargs): return _gizmos.TreeListColumnInfo_GetAlignment(*args, **kwargs)
|
||||
def GetText(*args, **kwargs): return _gizmos.TreeListColumnInfo_GetText(*args, **kwargs)
|
||||
def GetImage(*args, **kwargs): return _gizmos.TreeListColumnInfo_GetImage(*args, **kwargs)
|
||||
def GetSelectedImage(*args, **kwargs): return _gizmos.TreeListColumnInfo_GetSelectedImage(*args, **kwargs)
|
||||
def GetWidth(*args, **kwargs): return _gizmos.TreeListColumnInfo_GetWidth(*args, **kwargs)
|
||||
def SetAlignment(*args, **kwargs): return _gizmos.TreeListColumnInfo_SetAlignment(*args, **kwargs)
|
||||
def SetText(*args, **kwargs): return _gizmos.TreeListColumnInfo_SetText(*args, **kwargs)
|
||||
def SetImage(*args, **kwargs): return _gizmos.TreeListColumnInfo_SetImage(*args, **kwargs)
|
||||
def SetSelectedImage(*args, **kwargs): return _gizmos.TreeListColumnInfo_SetSelectedImage(*args, **kwargs)
|
||||
def SetWidth(*args, **kwargs): return _gizmos.TreeListColumnInfo_SetWidth(*args, **kwargs)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxTreeListColumnInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def GetAlignment(*args, **kwargs):
|
||||
"""GetAlignment() -> wxTreeListColumnAlign"""
|
||||
return _gizmos.TreeListColumnInfo_GetAlignment(*args, **kwargs)
|
||||
|
||||
def GetText(*args, **kwargs):
|
||||
"""GetText() -> wxString"""
|
||||
return _gizmos.TreeListColumnInfo_GetText(*args, **kwargs)
|
||||
|
||||
def GetImage(*args, **kwargs):
|
||||
"""GetImage() -> int"""
|
||||
return _gizmos.TreeListColumnInfo_GetImage(*args, **kwargs)
|
||||
|
||||
def GetSelectedImage(*args, **kwargs):
|
||||
"""GetSelectedImage() -> int"""
|
||||
return _gizmos.TreeListColumnInfo_GetSelectedImage(*args, **kwargs)
|
||||
|
||||
def GetWidth(*args, **kwargs):
|
||||
"""GetWidth() -> size_t"""
|
||||
return _gizmos.TreeListColumnInfo_GetWidth(*args, **kwargs)
|
||||
|
||||
def SetAlignment(*args, **kwargs):
|
||||
"""SetAlignment(wxTreeListColumnAlign alignment)"""
|
||||
return _gizmos.TreeListColumnInfo_SetAlignment(*args, **kwargs)
|
||||
|
||||
def SetText(*args, **kwargs):
|
||||
"""SetText(wxString text)"""
|
||||
return _gizmos.TreeListColumnInfo_SetText(*args, **kwargs)
|
||||
|
||||
def SetImage(*args, **kwargs):
|
||||
"""SetImage(int image)"""
|
||||
return _gizmos.TreeListColumnInfo_SetImage(*args, **kwargs)
|
||||
|
||||
def SetSelectedImage(*args, **kwargs):
|
||||
"""SetSelectedImage(int image)"""
|
||||
return _gizmos.TreeListColumnInfo_SetSelectedImage(*args, **kwargs)
|
||||
|
||||
def SetWidth(*args, **kwargs):
|
||||
"""SetWidth(size_t with)"""
|
||||
return _gizmos.TreeListColumnInfo_SetWidth(*args, **kwargs)
|
||||
|
||||
|
||||
class TreeListColumnInfoPtr(TreeListColumnInfo):
|
||||
def __init__(self, this):
|
||||
@@ -241,122 +394,430 @@ class TreeListColumnInfoPtr(TreeListColumnInfo):
|
||||
_gizmos.TreeListColumnInfo_swigregister(TreeListColumnInfoPtr)
|
||||
|
||||
class TreeListCtrl(core.Control):
|
||||
""""""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxPyTreeListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
|
||||
Validator validator=DefaultValidator,
|
||||
wxString name=wxPyTreeListCtrlNameStr) -> TreeListCtrl"""
|
||||
newobj = _gizmos.new_TreeListCtrl(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
self._setOORInfo(self);self._setCallbackInfo(self, TreeListCtrl)
|
||||
def Create(*args, **kwargs): return _gizmos.TreeListCtrl_Create(*args, **kwargs)
|
||||
def _setCallbackInfo(*args, **kwargs): return _gizmos.TreeListCtrl__setCallbackInfo(*args, **kwargs)
|
||||
def GetCount(*args, **kwargs): return _gizmos.TreeListCtrl_GetCount(*args, **kwargs)
|
||||
def GetIndent(*args, **kwargs): return _gizmos.TreeListCtrl_GetIndent(*args, **kwargs)
|
||||
def SetIndent(*args, **kwargs): return _gizmos.TreeListCtrl_SetIndent(*args, **kwargs)
|
||||
def GetSpacing(*args, **kwargs): return _gizmos.TreeListCtrl_GetSpacing(*args, **kwargs)
|
||||
def SetSpacing(*args, **kwargs): return _gizmos.TreeListCtrl_SetSpacing(*args, **kwargs)
|
||||
def GetLineSpacing(*args, **kwargs): return _gizmos.TreeListCtrl_GetLineSpacing(*args, **kwargs)
|
||||
def SetLineSpacing(*args, **kwargs): return _gizmos.TreeListCtrl_SetLineSpacing(*args, **kwargs)
|
||||
def GetImageList(*args, **kwargs): return _gizmos.TreeListCtrl_GetImageList(*args, **kwargs)
|
||||
def GetStateImageList(*args, **kwargs): return _gizmos.TreeListCtrl_GetStateImageList(*args, **kwargs)
|
||||
def GetButtonsImageList(*args, **kwargs): return _gizmos.TreeListCtrl_GetButtonsImageList(*args, **kwargs)
|
||||
def SetImageList(*args, **kwargs): return _gizmos.TreeListCtrl_SetImageList(*args, **kwargs)
|
||||
def SetStateImageList(*args, **kwargs): return _gizmos.TreeListCtrl_SetStateImageList(*args, **kwargs)
|
||||
def SetButtonsImageList(*args, **kwargs): return _gizmos.TreeListCtrl_SetButtonsImageList(*args, **kwargs)
|
||||
def AssignImageList(*args, **kwargs):
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
"""Create(Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
|
||||
Validator validator=DefaultValidator,
|
||||
wxString name=wxPyTreeListCtrlNameStr) -> bool"""
|
||||
return _gizmos.TreeListCtrl_Create(*args, **kwargs)
|
||||
|
||||
def _setCallbackInfo(*args, **kwargs):
|
||||
"""_setCallbackInfo(PyObject self, PyObject _class)"""
|
||||
return _gizmos.TreeListCtrl__setCallbackInfo(*args, **kwargs)
|
||||
|
||||
def GetCount(*args, **kwargs):
|
||||
"""GetCount() -> size_t"""
|
||||
return _gizmos.TreeListCtrl_GetCount(*args, **kwargs)
|
||||
|
||||
def GetIndent(*args, **kwargs):
|
||||
"""GetIndent() -> unsigned int"""
|
||||
return _gizmos.TreeListCtrl_GetIndent(*args, **kwargs)
|
||||
|
||||
def SetIndent(*args, **kwargs):
|
||||
"""SetIndent(unsigned int indent)"""
|
||||
return _gizmos.TreeListCtrl_SetIndent(*args, **kwargs)
|
||||
|
||||
def GetSpacing(*args, **kwargs):
|
||||
"""GetSpacing() -> unsigned int"""
|
||||
return _gizmos.TreeListCtrl_GetSpacing(*args, **kwargs)
|
||||
|
||||
def SetSpacing(*args, **kwargs):
|
||||
"""SetSpacing(unsigned int spacing)"""
|
||||
return _gizmos.TreeListCtrl_SetSpacing(*args, **kwargs)
|
||||
|
||||
def GetLineSpacing(*args, **kwargs):
|
||||
"""GetLineSpacing() -> unsigned int"""
|
||||
return _gizmos.TreeListCtrl_GetLineSpacing(*args, **kwargs)
|
||||
|
||||
def SetLineSpacing(*args, **kwargs):
|
||||
"""SetLineSpacing(unsigned int spacing)"""
|
||||
return _gizmos.TreeListCtrl_SetLineSpacing(*args, **kwargs)
|
||||
|
||||
def GetImageList(*args, **kwargs):
|
||||
"""GetImageList() -> wxImageList"""
|
||||
return _gizmos.TreeListCtrl_GetImageList(*args, **kwargs)
|
||||
|
||||
def GetStateImageList(*args, **kwargs):
|
||||
"""GetStateImageList() -> wxImageList"""
|
||||
return _gizmos.TreeListCtrl_GetStateImageList(*args, **kwargs)
|
||||
|
||||
def GetButtonsImageList(*args, **kwargs):
|
||||
"""GetButtonsImageList() -> wxImageList"""
|
||||
return _gizmos.TreeListCtrl_GetButtonsImageList(*args, **kwargs)
|
||||
|
||||
def SetImageList(*args, **kwargs):
|
||||
"""SetImageList(wxImageList imageList)"""
|
||||
return _gizmos.TreeListCtrl_SetImageList(*args, **kwargs)
|
||||
|
||||
def SetStateImageList(*args, **kwargs):
|
||||
"""SetStateImageList(wxImageList imageList)"""
|
||||
return _gizmos.TreeListCtrl_SetStateImageList(*args, **kwargs)
|
||||
|
||||
def SetButtonsImageList(*args, **kwargs):
|
||||
"""SetButtonsImageList(wxImageList imageList)"""
|
||||
return _gizmos.TreeListCtrl_SetButtonsImageList(*args, **kwargs)
|
||||
|
||||
def AssignImageList(*args, **kwargs):
|
||||
"""AssignImageList(wxImageList imageList)"""
|
||||
val = _gizmos.TreeListCtrl_AssignImageList(*args, **kwargs)
|
||||
args[1].thisown = 0
|
||||
return val
|
||||
def AssignStateImageList(*args, **kwargs):
|
||||
|
||||
def AssignStateImageList(*args, **kwargs):
|
||||
"""AssignStateImageList(wxImageList imageList)"""
|
||||
val = _gizmos.TreeListCtrl_AssignStateImageList(*args, **kwargs)
|
||||
args[1].thisown = 0
|
||||
return val
|
||||
def AssignButtonsImageList(*args, **kwargs):
|
||||
|
||||
def AssignButtonsImageList(*args, **kwargs):
|
||||
"""AssignButtonsImageList(wxImageList imageList)"""
|
||||
val = _gizmos.TreeListCtrl_AssignButtonsImageList(*args, **kwargs)
|
||||
args[1].thisown = 0
|
||||
return val
|
||||
def AddColumn(*args, **kwargs): return _gizmos.TreeListCtrl_AddColumn(*args, **kwargs)
|
||||
def AddColumnInfo(*args, **kwargs): return _gizmos.TreeListCtrl_AddColumnInfo(*args, **kwargs)
|
||||
def InsertColumn(*args, **kwargs): return _gizmos.TreeListCtrl_InsertColumn(*args, **kwargs)
|
||||
def InsertColumnInfo(*args, **kwargs): return _gizmos.TreeListCtrl_InsertColumnInfo(*args, **kwargs)
|
||||
def RemoveColumn(*args, **kwargs): return _gizmos.TreeListCtrl_RemoveColumn(*args, **kwargs)
|
||||
def GetColumnCount(*args, **kwargs): return _gizmos.TreeListCtrl_GetColumnCount(*args, **kwargs)
|
||||
def SetColumnWidth(*args, **kwargs): return _gizmos.TreeListCtrl_SetColumnWidth(*args, **kwargs)
|
||||
def GetColumnWidth(*args, **kwargs): return _gizmos.TreeListCtrl_GetColumnWidth(*args, **kwargs)
|
||||
def SetMainColumn(*args, **kwargs): return _gizmos.TreeListCtrl_SetMainColumn(*args, **kwargs)
|
||||
def GetMainColumn(*args, **kwargs): return _gizmos.TreeListCtrl_GetMainColumn(*args, **kwargs)
|
||||
def SetColumnText(*args, **kwargs): return _gizmos.TreeListCtrl_SetColumnText(*args, **kwargs)
|
||||
def GetColumnText(*args, **kwargs): return _gizmos.TreeListCtrl_GetColumnText(*args, **kwargs)
|
||||
def SetColumn(*args, **kwargs): return _gizmos.TreeListCtrl_SetColumn(*args, **kwargs)
|
||||
def GetColumn(*args, **kwargs): return _gizmos.TreeListCtrl_GetColumn(*args, **kwargs)
|
||||
def SetColumnAlignment(*args, **kwargs): return _gizmos.TreeListCtrl_SetColumnAlignment(*args, **kwargs)
|
||||
def GetColumnAlignment(*args, **kwargs): return _gizmos.TreeListCtrl_GetColumnAlignment(*args, **kwargs)
|
||||
def SetColumnImage(*args, **kwargs): return _gizmos.TreeListCtrl_SetColumnImage(*args, **kwargs)
|
||||
def GetColumnImage(*args, **kwargs): return _gizmos.TreeListCtrl_GetColumnImage(*args, **kwargs)
|
||||
def GetItemText(*args, **kwargs): return _gizmos.TreeListCtrl_GetItemText(*args, **kwargs)
|
||||
def GetItemImage(*args, **kwargs): return _gizmos.TreeListCtrl_GetItemImage(*args, **kwargs)
|
||||
def SetItemText(*args, **kwargs): return _gizmos.TreeListCtrl_SetItemText(*args, **kwargs)
|
||||
def SetItemImage(*args, **kwargs): return _gizmos.TreeListCtrl_SetItemImage(*args, **kwargs)
|
||||
def GetItemData(*args, **kwargs): return _gizmos.TreeListCtrl_GetItemData(*args, **kwargs)
|
||||
def SetItemData(*args, **kwargs): return _gizmos.TreeListCtrl_SetItemData(*args, **kwargs)
|
||||
def GetItemPyData(*args, **kwargs): return _gizmos.TreeListCtrl_GetItemPyData(*args, **kwargs)
|
||||
def SetItemPyData(*args, **kwargs): return _gizmos.TreeListCtrl_SetItemPyData(*args, **kwargs)
|
||||
def SetItemHasChildren(*args, **kwargs): return _gizmos.TreeListCtrl_SetItemHasChildren(*args, **kwargs)
|
||||
def SetItemBold(*args, **kwargs): return _gizmos.TreeListCtrl_SetItemBold(*args, **kwargs)
|
||||
def SetItemTextColour(*args, **kwargs): return _gizmos.TreeListCtrl_SetItemTextColour(*args, **kwargs)
|
||||
def SetItemBackgroundColour(*args, **kwargs): return _gizmos.TreeListCtrl_SetItemBackgroundColour(*args, **kwargs)
|
||||
def SetItemFont(*args, **kwargs): return _gizmos.TreeListCtrl_SetItemFont(*args, **kwargs)
|
||||
def GetItemBold(*args, **kwargs): return _gizmos.TreeListCtrl_GetItemBold(*args, **kwargs)
|
||||
def GetItemTextColour(*args, **kwargs): return _gizmos.TreeListCtrl_GetItemTextColour(*args, **kwargs)
|
||||
def GetItemBackgroundColour(*args, **kwargs): return _gizmos.TreeListCtrl_GetItemBackgroundColour(*args, **kwargs)
|
||||
def GetItemFont(*args, **kwargs): return _gizmos.TreeListCtrl_GetItemFont(*args, **kwargs)
|
||||
def IsVisible(*args, **kwargs): return _gizmos.TreeListCtrl_IsVisible(*args, **kwargs)
|
||||
def ItemHasChildren(*args, **kwargs): return _gizmos.TreeListCtrl_ItemHasChildren(*args, **kwargs)
|
||||
def IsExpanded(*args, **kwargs): return _gizmos.TreeListCtrl_IsExpanded(*args, **kwargs)
|
||||
def IsSelected(*args, **kwargs): return _gizmos.TreeListCtrl_IsSelected(*args, **kwargs)
|
||||
def IsBold(*args, **kwargs): return _gizmos.TreeListCtrl_IsBold(*args, **kwargs)
|
||||
def GetChildrenCount(*args, **kwargs): return _gizmos.TreeListCtrl_GetChildrenCount(*args, **kwargs)
|
||||
def GetRootItem(*args, **kwargs): return _gizmos.TreeListCtrl_GetRootItem(*args, **kwargs)
|
||||
def GetSelection(*args, **kwargs): return _gizmos.TreeListCtrl_GetSelection(*args, **kwargs)
|
||||
def GetSelections(*args, **kwargs): return _gizmos.TreeListCtrl_GetSelections(*args, **kwargs)
|
||||
def GetItemParent(*args, **kwargs): return _gizmos.TreeListCtrl_GetItemParent(*args, **kwargs)
|
||||
def GetFirstChild(*args, **kwargs): return _gizmos.TreeListCtrl_GetFirstChild(*args, **kwargs)
|
||||
def GetNextChild(*args, **kwargs): return _gizmos.TreeListCtrl_GetNextChild(*args, **kwargs)
|
||||
def GetLastChild(*args, **kwargs): return _gizmos.TreeListCtrl_GetLastChild(*args, **kwargs)
|
||||
def GetNextSibling(*args, **kwargs): return _gizmos.TreeListCtrl_GetNextSibling(*args, **kwargs)
|
||||
def GetPrevSibling(*args, **kwargs): return _gizmos.TreeListCtrl_GetPrevSibling(*args, **kwargs)
|
||||
def GetFirstVisibleItem(*args, **kwargs): return _gizmos.TreeListCtrl_GetFirstVisibleItem(*args, **kwargs)
|
||||
def GetNextVisible(*args, **kwargs): return _gizmos.TreeListCtrl_GetNextVisible(*args, **kwargs)
|
||||
def GetPrevVisible(*args, **kwargs): return _gizmos.TreeListCtrl_GetPrevVisible(*args, **kwargs)
|
||||
def GetNext(*args, **kwargs): return _gizmos.TreeListCtrl_GetNext(*args, **kwargs)
|
||||
def AddRoot(*args, **kwargs): return _gizmos.TreeListCtrl_AddRoot(*args, **kwargs)
|
||||
def PrependItem(*args, **kwargs): return _gizmos.TreeListCtrl_PrependItem(*args, **kwargs)
|
||||
def InsertItem(*args, **kwargs): return _gizmos.TreeListCtrl_InsertItem(*args, **kwargs)
|
||||
def InsertItemBefore(*args, **kwargs): return _gizmos.TreeListCtrl_InsertItemBefore(*args, **kwargs)
|
||||
def AppendItem(*args, **kwargs): return _gizmos.TreeListCtrl_AppendItem(*args, **kwargs)
|
||||
def Delete(*args, **kwargs): return _gizmos.TreeListCtrl_Delete(*args, **kwargs)
|
||||
def DeleteChildren(*args, **kwargs): return _gizmos.TreeListCtrl_DeleteChildren(*args, **kwargs)
|
||||
def DeleteAllItems(*args, **kwargs): return _gizmos.TreeListCtrl_DeleteAllItems(*args, **kwargs)
|
||||
def Expand(*args, **kwargs): return _gizmos.TreeListCtrl_Expand(*args, **kwargs)
|
||||
def ExpandAll(*args, **kwargs): return _gizmos.TreeListCtrl_ExpandAll(*args, **kwargs)
|
||||
def Collapse(*args, **kwargs): return _gizmos.TreeListCtrl_Collapse(*args, **kwargs)
|
||||
def CollapseAndReset(*args, **kwargs): return _gizmos.TreeListCtrl_CollapseAndReset(*args, **kwargs)
|
||||
def Toggle(*args, **kwargs): return _gizmos.TreeListCtrl_Toggle(*args, **kwargs)
|
||||
def Unselect(*args, **kwargs): return _gizmos.TreeListCtrl_Unselect(*args, **kwargs)
|
||||
def UnselectAll(*args, **kwargs): return _gizmos.TreeListCtrl_UnselectAll(*args, **kwargs)
|
||||
def SelectItem(*args, **kwargs): return _gizmos.TreeListCtrl_SelectItem(*args, **kwargs)
|
||||
def EnsureVisible(*args, **kwargs): return _gizmos.TreeListCtrl_EnsureVisible(*args, **kwargs)
|
||||
def ScrollTo(*args, **kwargs): return _gizmos.TreeListCtrl_ScrollTo(*args, **kwargs)
|
||||
def HitTest(*args, **kwargs): return _gizmos.TreeListCtrl_HitTest(*args, **kwargs)
|
||||
def GetBoundingRect(*args, **kwargs): return _gizmos.TreeListCtrl_GetBoundingRect(*args, **kwargs)
|
||||
def EditLabel(*args, **kwargs): return _gizmos.TreeListCtrl_EditLabel(*args, **kwargs)
|
||||
def Edit(*args, **kwargs): return _gizmos.TreeListCtrl_Edit(*args, **kwargs)
|
||||
def SortChildren(*args, **kwargs): return _gizmos.TreeListCtrl_SortChildren(*args, **kwargs)
|
||||
def GetItemSelectedImage(*args, **kwargs): return _gizmos.TreeListCtrl_GetItemSelectedImage(*args, **kwargs)
|
||||
def SetItemSelectedImage(*args, **kwargs): return _gizmos.TreeListCtrl_SetItemSelectedImage(*args, **kwargs)
|
||||
def GetHeaderWindow(*args, **kwargs): return _gizmos.TreeListCtrl_GetHeaderWindow(*args, **kwargs)
|
||||
def GetMainWindow(*args, **kwargs): return _gizmos.TreeListCtrl_GetMainWindow(*args, **kwargs)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxPyTreeListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
|
||||
def AddColumn(*args, **kwargs):
|
||||
"""AddColumn(wxString text)"""
|
||||
return _gizmos.TreeListCtrl_AddColumn(*args, **kwargs)
|
||||
|
||||
def AddColumnInfo(*args, **kwargs):
|
||||
"""AddColumnInfo(TreeListColumnInfo col)"""
|
||||
return _gizmos.TreeListCtrl_AddColumnInfo(*args, **kwargs)
|
||||
|
||||
def InsertColumn(*args, **kwargs):
|
||||
"""InsertColumn(size_t before, wxString text)"""
|
||||
return _gizmos.TreeListCtrl_InsertColumn(*args, **kwargs)
|
||||
|
||||
def InsertColumnInfo(*args, **kwargs):
|
||||
"""InsertColumnInfo(size_t before, TreeListColumnInfo col)"""
|
||||
return _gizmos.TreeListCtrl_InsertColumnInfo(*args, **kwargs)
|
||||
|
||||
def RemoveColumn(*args, **kwargs):
|
||||
"""RemoveColumn(size_t column)"""
|
||||
return _gizmos.TreeListCtrl_RemoveColumn(*args, **kwargs)
|
||||
|
||||
def GetColumnCount(*args, **kwargs):
|
||||
"""GetColumnCount() -> size_t"""
|
||||
return _gizmos.TreeListCtrl_GetColumnCount(*args, **kwargs)
|
||||
|
||||
def SetColumnWidth(*args, **kwargs):
|
||||
"""SetColumnWidth(size_t column, size_t width)"""
|
||||
return _gizmos.TreeListCtrl_SetColumnWidth(*args, **kwargs)
|
||||
|
||||
def GetColumnWidth(*args, **kwargs):
|
||||
"""GetColumnWidth(size_t column) -> int"""
|
||||
return _gizmos.TreeListCtrl_GetColumnWidth(*args, **kwargs)
|
||||
|
||||
def SetMainColumn(*args, **kwargs):
|
||||
"""SetMainColumn(size_t column)"""
|
||||
return _gizmos.TreeListCtrl_SetMainColumn(*args, **kwargs)
|
||||
|
||||
def GetMainColumn(*args, **kwargs):
|
||||
"""GetMainColumn() -> size_t"""
|
||||
return _gizmos.TreeListCtrl_GetMainColumn(*args, **kwargs)
|
||||
|
||||
def SetColumnText(*args, **kwargs):
|
||||
"""SetColumnText(size_t column, wxString text)"""
|
||||
return _gizmos.TreeListCtrl_SetColumnText(*args, **kwargs)
|
||||
|
||||
def GetColumnText(*args, **kwargs):
|
||||
"""GetColumnText(size_t column) -> wxString"""
|
||||
return _gizmos.TreeListCtrl_GetColumnText(*args, **kwargs)
|
||||
|
||||
def SetColumn(*args, **kwargs):
|
||||
"""SetColumn(size_t column, TreeListColumnInfo info)"""
|
||||
return _gizmos.TreeListCtrl_SetColumn(*args, **kwargs)
|
||||
|
||||
def GetColumn(*args, **kwargs):
|
||||
"""GetColumn(size_t column) -> TreeListColumnInfo"""
|
||||
return _gizmos.TreeListCtrl_GetColumn(*args, **kwargs)
|
||||
|
||||
def SetColumnAlignment(*args, **kwargs):
|
||||
"""SetColumnAlignment(size_t column, wxTreeListColumnAlign align)"""
|
||||
return _gizmos.TreeListCtrl_SetColumnAlignment(*args, **kwargs)
|
||||
|
||||
def GetColumnAlignment(*args, **kwargs):
|
||||
"""GetColumnAlignment(size_t column) -> wxTreeListColumnAlign"""
|
||||
return _gizmos.TreeListCtrl_GetColumnAlignment(*args, **kwargs)
|
||||
|
||||
def SetColumnImage(*args, **kwargs):
|
||||
"""SetColumnImage(size_t column, int image)"""
|
||||
return _gizmos.TreeListCtrl_SetColumnImage(*args, **kwargs)
|
||||
|
||||
def GetColumnImage(*args, **kwargs):
|
||||
"""GetColumnImage(size_t column) -> int"""
|
||||
return _gizmos.TreeListCtrl_GetColumnImage(*args, **kwargs)
|
||||
|
||||
def GetItemText(*args, **kwargs):
|
||||
"""GetItemText(TreeItemId item, int column=-1) -> wxString"""
|
||||
return _gizmos.TreeListCtrl_GetItemText(*args, **kwargs)
|
||||
|
||||
def GetItemImage(*args, **kwargs):
|
||||
"""GetItemImage(TreeItemId item, int column=-1, wxTreeItemIcon which=TreeItemIcon_Normal) -> int"""
|
||||
return _gizmos.TreeListCtrl_GetItemImage(*args, **kwargs)
|
||||
|
||||
def SetItemText(*args, **kwargs):
|
||||
"""SetItemText(TreeItemId item, wxString text, int column=-1)"""
|
||||
return _gizmos.TreeListCtrl_SetItemText(*args, **kwargs)
|
||||
|
||||
def SetItemImage(*args, **kwargs):
|
||||
"""SetItemImage(TreeItemId item, int image, int column=-1, wxTreeItemIcon which=TreeItemIcon_Normal)"""
|
||||
return _gizmos.TreeListCtrl_SetItemImage(*args, **kwargs)
|
||||
|
||||
def GetItemData(*args, **kwargs):
|
||||
"""GetItemData(TreeItemId item) -> TreeItemData"""
|
||||
return _gizmos.TreeListCtrl_GetItemData(*args, **kwargs)
|
||||
|
||||
def SetItemData(*args, **kwargs):
|
||||
"""SetItemData(TreeItemId item, TreeItemData data)"""
|
||||
return _gizmos.TreeListCtrl_SetItemData(*args, **kwargs)
|
||||
|
||||
def GetItemPyData(*args, **kwargs):
|
||||
"""GetItemPyData(TreeItemId item) -> PyObject"""
|
||||
return _gizmos.TreeListCtrl_GetItemPyData(*args, **kwargs)
|
||||
|
||||
def SetItemPyData(*args, **kwargs):
|
||||
"""SetItemPyData(TreeItemId item, PyObject obj)"""
|
||||
return _gizmos.TreeListCtrl_SetItemPyData(*args, **kwargs)
|
||||
|
||||
def SetItemHasChildren(*args, **kwargs):
|
||||
"""SetItemHasChildren(TreeItemId item, bool has=True)"""
|
||||
return _gizmos.TreeListCtrl_SetItemHasChildren(*args, **kwargs)
|
||||
|
||||
def SetItemBold(*args, **kwargs):
|
||||
"""SetItemBold(TreeItemId item, bool bold=True)"""
|
||||
return _gizmos.TreeListCtrl_SetItemBold(*args, **kwargs)
|
||||
|
||||
def SetItemTextColour(*args, **kwargs):
|
||||
"""SetItemTextColour(TreeItemId item, wxColour col)"""
|
||||
return _gizmos.TreeListCtrl_SetItemTextColour(*args, **kwargs)
|
||||
|
||||
def SetItemBackgroundColour(*args, **kwargs):
|
||||
"""SetItemBackgroundColour(TreeItemId item, wxColour col)"""
|
||||
return _gizmos.TreeListCtrl_SetItemBackgroundColour(*args, **kwargs)
|
||||
|
||||
def SetItemFont(*args, **kwargs):
|
||||
"""SetItemFont(TreeItemId item, wxFont font)"""
|
||||
return _gizmos.TreeListCtrl_SetItemFont(*args, **kwargs)
|
||||
|
||||
def GetItemBold(*args, **kwargs):
|
||||
"""GetItemBold(TreeItemId item) -> bool"""
|
||||
return _gizmos.TreeListCtrl_GetItemBold(*args, **kwargs)
|
||||
|
||||
def GetItemTextColour(*args, **kwargs):
|
||||
"""GetItemTextColour(TreeItemId item) -> wxColour"""
|
||||
return _gizmos.TreeListCtrl_GetItemTextColour(*args, **kwargs)
|
||||
|
||||
def GetItemBackgroundColour(*args, **kwargs):
|
||||
"""GetItemBackgroundColour(TreeItemId item) -> wxColour"""
|
||||
return _gizmos.TreeListCtrl_GetItemBackgroundColour(*args, **kwargs)
|
||||
|
||||
def GetItemFont(*args, **kwargs):
|
||||
"""GetItemFont(TreeItemId item) -> wxFont"""
|
||||
return _gizmos.TreeListCtrl_GetItemFont(*args, **kwargs)
|
||||
|
||||
def IsVisible(*args, **kwargs):
|
||||
"""IsVisible(TreeItemId item) -> bool"""
|
||||
return _gizmos.TreeListCtrl_IsVisible(*args, **kwargs)
|
||||
|
||||
def ItemHasChildren(*args, **kwargs):
|
||||
"""ItemHasChildren(TreeItemId item) -> bool"""
|
||||
return _gizmos.TreeListCtrl_ItemHasChildren(*args, **kwargs)
|
||||
|
||||
def IsExpanded(*args, **kwargs):
|
||||
"""IsExpanded(TreeItemId item) -> bool"""
|
||||
return _gizmos.TreeListCtrl_IsExpanded(*args, **kwargs)
|
||||
|
||||
def IsSelected(*args, **kwargs):
|
||||
"""IsSelected(TreeItemId item) -> bool"""
|
||||
return _gizmos.TreeListCtrl_IsSelected(*args, **kwargs)
|
||||
|
||||
def IsBold(*args, **kwargs):
|
||||
"""IsBold(TreeItemId item) -> bool"""
|
||||
return _gizmos.TreeListCtrl_IsBold(*args, **kwargs)
|
||||
|
||||
def GetChildrenCount(*args, **kwargs):
|
||||
"""GetChildrenCount(TreeItemId item, bool recursively=True) -> size_t"""
|
||||
return _gizmos.TreeListCtrl_GetChildrenCount(*args, **kwargs)
|
||||
|
||||
def GetRootItem(*args, **kwargs):
|
||||
"""GetRootItem() -> TreeItemId"""
|
||||
return _gizmos.TreeListCtrl_GetRootItem(*args, **kwargs)
|
||||
|
||||
def GetSelection(*args, **kwargs):
|
||||
"""GetSelection() -> TreeItemId"""
|
||||
return _gizmos.TreeListCtrl_GetSelection(*args, **kwargs)
|
||||
|
||||
def GetSelections(*args, **kwargs):
|
||||
"""GetSelections() -> PyObject"""
|
||||
return _gizmos.TreeListCtrl_GetSelections(*args, **kwargs)
|
||||
|
||||
def GetItemParent(*args, **kwargs):
|
||||
"""GetItemParent(TreeItemId item) -> TreeItemId"""
|
||||
return _gizmos.TreeListCtrl_GetItemParent(*args, **kwargs)
|
||||
|
||||
def GetFirstChild(*args, **kwargs):
|
||||
"""GetFirstChild(TreeItemId item) -> PyObject"""
|
||||
return _gizmos.TreeListCtrl_GetFirstChild(*args, **kwargs)
|
||||
|
||||
def GetNextChild(*args, **kwargs):
|
||||
"""GetNextChild(TreeItemId item, long cookie) -> PyObject"""
|
||||
return _gizmos.TreeListCtrl_GetNextChild(*args, **kwargs)
|
||||
|
||||
def GetLastChild(*args, **kwargs):
|
||||
"""GetLastChild(TreeItemId item) -> TreeItemId"""
|
||||
return _gizmos.TreeListCtrl_GetLastChild(*args, **kwargs)
|
||||
|
||||
def GetNextSibling(*args, **kwargs):
|
||||
"""GetNextSibling(TreeItemId item) -> TreeItemId"""
|
||||
return _gizmos.TreeListCtrl_GetNextSibling(*args, **kwargs)
|
||||
|
||||
def GetPrevSibling(*args, **kwargs):
|
||||
"""GetPrevSibling(TreeItemId item) -> TreeItemId"""
|
||||
return _gizmos.TreeListCtrl_GetPrevSibling(*args, **kwargs)
|
||||
|
||||
def GetFirstVisibleItem(*args, **kwargs):
|
||||
"""GetFirstVisibleItem() -> TreeItemId"""
|
||||
return _gizmos.TreeListCtrl_GetFirstVisibleItem(*args, **kwargs)
|
||||
|
||||
def GetNextVisible(*args, **kwargs):
|
||||
"""GetNextVisible(TreeItemId item) -> TreeItemId"""
|
||||
return _gizmos.TreeListCtrl_GetNextVisible(*args, **kwargs)
|
||||
|
||||
def GetPrevVisible(*args, **kwargs):
|
||||
"""GetPrevVisible(TreeItemId item) -> TreeItemId"""
|
||||
return _gizmos.TreeListCtrl_GetPrevVisible(*args, **kwargs)
|
||||
|
||||
def GetNext(*args, **kwargs):
|
||||
"""GetNext(TreeItemId item) -> TreeItemId"""
|
||||
return _gizmos.TreeListCtrl_GetNext(*args, **kwargs)
|
||||
|
||||
def AddRoot(*args, **kwargs):
|
||||
"""AddRoot(wxString text, int image=-1, int selectedImage=-1,
|
||||
TreeItemData data=None) -> TreeItemId"""
|
||||
return _gizmos.TreeListCtrl_AddRoot(*args, **kwargs)
|
||||
|
||||
def PrependItem(*args, **kwargs):
|
||||
"""PrependItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1,
|
||||
TreeItemData data=None) -> TreeItemId"""
|
||||
return _gizmos.TreeListCtrl_PrependItem(*args, **kwargs)
|
||||
|
||||
def InsertItem(*args, **kwargs):
|
||||
"""InsertItem(TreeItemId parent, TreeItemId idPrevious, wxString text,
|
||||
int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId"""
|
||||
return _gizmos.TreeListCtrl_InsertItem(*args, **kwargs)
|
||||
|
||||
def InsertItemBefore(*args, **kwargs):
|
||||
"""InsertItemBefore(TreeItemId parent, size_t index, wxString text, int image=-1,
|
||||
int selectedImage=-1, TreeItemData data=None) -> TreeItemId"""
|
||||
return _gizmos.TreeListCtrl_InsertItemBefore(*args, **kwargs)
|
||||
|
||||
def AppendItem(*args, **kwargs):
|
||||
"""AppendItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1,
|
||||
TreeItemData data=None) -> TreeItemId"""
|
||||
return _gizmos.TreeListCtrl_AppendItem(*args, **kwargs)
|
||||
|
||||
def Delete(*args, **kwargs):
|
||||
"""Delete(TreeItemId item)"""
|
||||
return _gizmos.TreeListCtrl_Delete(*args, **kwargs)
|
||||
|
||||
def DeleteChildren(*args, **kwargs):
|
||||
"""DeleteChildren(TreeItemId item)"""
|
||||
return _gizmos.TreeListCtrl_DeleteChildren(*args, **kwargs)
|
||||
|
||||
def DeleteAllItems(*args, **kwargs):
|
||||
"""DeleteAllItems()"""
|
||||
return _gizmos.TreeListCtrl_DeleteAllItems(*args, **kwargs)
|
||||
|
||||
def Expand(*args, **kwargs):
|
||||
"""Expand(TreeItemId item)"""
|
||||
return _gizmos.TreeListCtrl_Expand(*args, **kwargs)
|
||||
|
||||
def ExpandAll(*args, **kwargs):
|
||||
"""ExpandAll(TreeItemId item)"""
|
||||
return _gizmos.TreeListCtrl_ExpandAll(*args, **kwargs)
|
||||
|
||||
def Collapse(*args, **kwargs):
|
||||
"""Collapse(TreeItemId item)"""
|
||||
return _gizmos.TreeListCtrl_Collapse(*args, **kwargs)
|
||||
|
||||
def CollapseAndReset(*args, **kwargs):
|
||||
"""CollapseAndReset(TreeItemId item)"""
|
||||
return _gizmos.TreeListCtrl_CollapseAndReset(*args, **kwargs)
|
||||
|
||||
def Toggle(*args, **kwargs):
|
||||
"""Toggle(TreeItemId item)"""
|
||||
return _gizmos.TreeListCtrl_Toggle(*args, **kwargs)
|
||||
|
||||
def Unselect(*args, **kwargs):
|
||||
"""Unselect()"""
|
||||
return _gizmos.TreeListCtrl_Unselect(*args, **kwargs)
|
||||
|
||||
def UnselectAll(*args, **kwargs):
|
||||
"""UnselectAll()"""
|
||||
return _gizmos.TreeListCtrl_UnselectAll(*args, **kwargs)
|
||||
|
||||
def SelectItem(*args, **kwargs):
|
||||
"""SelectItem(TreeItemId item, bool unselect_others=True, bool extended_select=False)"""
|
||||
return _gizmos.TreeListCtrl_SelectItem(*args, **kwargs)
|
||||
|
||||
def EnsureVisible(*args, **kwargs):
|
||||
"""EnsureVisible(TreeItemId item)"""
|
||||
return _gizmos.TreeListCtrl_EnsureVisible(*args, **kwargs)
|
||||
|
||||
def ScrollTo(*args, **kwargs):
|
||||
"""ScrollTo(TreeItemId item)"""
|
||||
return _gizmos.TreeListCtrl_ScrollTo(*args, **kwargs)
|
||||
|
||||
def HitTest(*args, **kwargs):
|
||||
"""HitTest(Point point, int OUTPUT, int OUTPUT) -> TreeItemId"""
|
||||
return _gizmos.TreeListCtrl_HitTest(*args, **kwargs)
|
||||
|
||||
def GetBoundingRect(*args, **kwargs):
|
||||
"""GetBoundingRect(TreeItemId item, bool textOnly=False) -> PyObject"""
|
||||
return _gizmos.TreeListCtrl_GetBoundingRect(*args, **kwargs)
|
||||
|
||||
def EditLabel(*args, **kwargs):
|
||||
"""EditLabel(TreeItemId item)"""
|
||||
return _gizmos.TreeListCtrl_EditLabel(*args, **kwargs)
|
||||
|
||||
def Edit(*args, **kwargs):
|
||||
"""Edit(TreeItemId item)"""
|
||||
return _gizmos.TreeListCtrl_Edit(*args, **kwargs)
|
||||
|
||||
def SortChildren(*args, **kwargs):
|
||||
"""SortChildren(TreeItemId item)"""
|
||||
return _gizmos.TreeListCtrl_SortChildren(*args, **kwargs)
|
||||
|
||||
def GetItemSelectedImage(*args, **kwargs):
|
||||
"""GetItemSelectedImage(TreeItemId item) -> int"""
|
||||
return _gizmos.TreeListCtrl_GetItemSelectedImage(*args, **kwargs)
|
||||
|
||||
def SetItemSelectedImage(*args, **kwargs):
|
||||
"""SetItemSelectedImage(TreeItemId item, int image)"""
|
||||
return _gizmos.TreeListCtrl_SetItemSelectedImage(*args, **kwargs)
|
||||
|
||||
def GetHeaderWindow(*args, **kwargs):
|
||||
"""GetHeaderWindow() -> Window"""
|
||||
return _gizmos.TreeListCtrl_GetHeaderWindow(*args, **kwargs)
|
||||
|
||||
def GetMainWindow(*args, **kwargs):
|
||||
"""GetMainWindow() -> Window"""
|
||||
return _gizmos.TreeListCtrl_GetMainWindow(*args, **kwargs)
|
||||
|
||||
|
||||
class TreeListCtrlPtr(TreeListCtrl):
|
||||
def __init__(self, this):
|
||||
@@ -366,6 +827,7 @@ class TreeListCtrlPtr(TreeListCtrl):
|
||||
_gizmos.TreeListCtrl_swigregister(TreeListCtrlPtr)
|
||||
|
||||
def PreTreeListCtrl(*args, **kwargs):
|
||||
"""PreTreeListCtrl() -> TreeListCtrl"""
|
||||
val = _gizmos.new_PreTreeListCtrl(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -6,25 +6,54 @@ import _glcanvas
|
||||
import core
|
||||
wx = core
|
||||
class GLContext(core.Object):
|
||||
""""""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxGLContext instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(bool isRGB, GLCanvas win, wxPalette palette=wxNullPalette,
|
||||
GLContext other=None) -> GLContext"""
|
||||
newobj = _glcanvas.new_GLContext(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def __del__(self, destroy=_glcanvas.delete_GLContext):
|
||||
"""__del__()"""
|
||||
try:
|
||||
if self.thisown: destroy(self)
|
||||
except: pass
|
||||
def SetCurrent(*args, **kwargs): return _glcanvas.GLContext_SetCurrent(*args, **kwargs)
|
||||
def SetColour(*args, **kwargs): return _glcanvas.GLContext_SetColour(*args, **kwargs)
|
||||
def SwapBuffers(*args, **kwargs): return _glcanvas.GLContext_SwapBuffers(*args, **kwargs)
|
||||
def SetupPixelFormat(*args, **kwargs): return _glcanvas.GLContext_SetupPixelFormat(*args, **kwargs)
|
||||
def SetupPalette(*args, **kwargs): return _glcanvas.GLContext_SetupPalette(*args, **kwargs)
|
||||
def CreateDefaultPalette(*args, **kwargs): return _glcanvas.GLContext_CreateDefaultPalette(*args, **kwargs)
|
||||
def GetPalette(*args, **kwargs): return _glcanvas.GLContext_GetPalette(*args, **kwargs)
|
||||
def GetWindow(*args, **kwargs): return _glcanvas.GLContext_GetWindow(*args, **kwargs)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxGLContext instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
|
||||
def SetCurrent(*args, **kwargs):
|
||||
"""SetCurrent()"""
|
||||
return _glcanvas.GLContext_SetCurrent(*args, **kwargs)
|
||||
|
||||
def SetColour(*args, **kwargs):
|
||||
"""SetColour(wxString colour)"""
|
||||
return _glcanvas.GLContext_SetColour(*args, **kwargs)
|
||||
|
||||
def SwapBuffers(*args, **kwargs):
|
||||
"""SwapBuffers()"""
|
||||
return _glcanvas.GLContext_SwapBuffers(*args, **kwargs)
|
||||
|
||||
def SetupPixelFormat(*args, **kwargs):
|
||||
"""SetupPixelFormat()"""
|
||||
return _glcanvas.GLContext_SetupPixelFormat(*args, **kwargs)
|
||||
|
||||
def SetupPalette(*args, **kwargs):
|
||||
"""SetupPalette(wxPalette palette)"""
|
||||
return _glcanvas.GLContext_SetupPalette(*args, **kwargs)
|
||||
|
||||
def CreateDefaultPalette(*args, **kwargs):
|
||||
"""CreateDefaultPalette() -> wxPalette"""
|
||||
return _glcanvas.GLContext_CreateDefaultPalette(*args, **kwargs)
|
||||
|
||||
def GetPalette(*args, **kwargs):
|
||||
"""GetPalette() -> wxPalette"""
|
||||
return _glcanvas.GLContext_GetPalette(*args, **kwargs)
|
||||
|
||||
def GetWindow(*args, **kwargs):
|
||||
"""GetWindow() -> Window"""
|
||||
return _glcanvas.GLContext_GetWindow(*args, **kwargs)
|
||||
|
||||
|
||||
class GLContextPtr(GLContext):
|
||||
def __init__(self, this):
|
||||
@@ -50,18 +79,36 @@ WX_GL_MIN_ACCUM_GREEN = _glcanvas.WX_GL_MIN_ACCUM_GREEN
|
||||
WX_GL_MIN_ACCUM_BLUE = _glcanvas.WX_GL_MIN_ACCUM_BLUE
|
||||
WX_GL_MIN_ACCUM_ALPHA = _glcanvas.WX_GL_MIN_ACCUM_ALPHA
|
||||
class GLCanvas(core.Window):
|
||||
""""""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxGLCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=0, wxString name=wxPyGLCanvasNameStr,
|
||||
int attribList=None,
|
||||
wxPalette palette=wxNullPalette) -> GLCanvas"""
|
||||
newobj = _glcanvas.new_GLCanvas(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
self._setOORInfo(self)
|
||||
def SetCurrent(*args, **kwargs): return _glcanvas.GLCanvas_SetCurrent(*args, **kwargs)
|
||||
def SetColour(*args, **kwargs): return _glcanvas.GLCanvas_SetColour(*args, **kwargs)
|
||||
def SwapBuffers(*args, **kwargs): return _glcanvas.GLCanvas_SwapBuffers(*args, **kwargs)
|
||||
def GetContext(*args, **kwargs): return _glcanvas.GLCanvas_GetContext(*args, **kwargs)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxGLCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
|
||||
def SetCurrent(*args, **kwargs):
|
||||
"""SetCurrent()"""
|
||||
return _glcanvas.GLCanvas_SetCurrent(*args, **kwargs)
|
||||
|
||||
def SetColour(*args, **kwargs):
|
||||
"""SetColour(wxString colour)"""
|
||||
return _glcanvas.GLCanvas_SetColour(*args, **kwargs)
|
||||
|
||||
def SwapBuffers(*args, **kwargs):
|
||||
"""SwapBuffers()"""
|
||||
return _glcanvas.GLCanvas_SwapBuffers(*args, **kwargs)
|
||||
|
||||
def GetContext(*args, **kwargs):
|
||||
"""GetContext() -> GLContext"""
|
||||
return _glcanvas.GLCanvas_GetContext(*args, **kwargs)
|
||||
|
||||
|
||||
class GLCanvasPtr(GLCanvas):
|
||||
def __init__(self, this):
|
||||
@@ -71,6 +118,10 @@ class GLCanvasPtr(GLCanvas):
|
||||
_glcanvas.GLCanvas_swigregister(GLCanvasPtr)
|
||||
|
||||
def wxGLCanvasWithContext(*args, **kwargs):
|
||||
"""wxGLCanvasWithContext(Window parent, GLContext shared=None, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize,
|
||||
long style=0, wxString name=wxPyGLCanvasNameStr,
|
||||
int attribList=None, wxPalette palette=wxNullPalette) -> GLCanvas"""
|
||||
val = _glcanvas.new_wxGLCanvasWithContext(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
val._setOORInfo(val)
|
||||
|
||||
@@ -347,7 +347,7 @@ static PyObject *_wrap_GLContext_SetColour(PyObject *self, PyObject *args, PyObj
|
||||
PyObject *resultobj;
|
||||
wxGLContext *arg1 = (wxGLContext *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -359,7 +359,7 @@ static PyObject *_wrap_GLContext_SetColour(PyObject *self, PyObject *args, PyObj
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -552,7 +552,7 @@ static PyObject * GLContext_swigregister(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_GLCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
wxWindowID arg2 = (wxWindowID) -1 ;
|
||||
int arg2 = (int) -1 ;
|
||||
wxPoint const &arg3_defvalue = wxDefaultPosition ;
|
||||
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
|
||||
wxSize const &arg4_defvalue = wxDefaultSize ;
|
||||
@@ -566,7 +566,7 @@ static PyObject *_wrap_new_GLCanvas(PyObject *self, PyObject *args, PyObject *kw
|
||||
wxGLCanvas *result;
|
||||
wxPoint temp3 ;
|
||||
wxSize temp4 ;
|
||||
bool temp6 = false ;
|
||||
bool temp6 = False ;
|
||||
int *temp7 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -596,7 +596,7 @@ static PyObject *_wrap_new_GLCanvas(PyObject *self, PyObject *args, PyObject *kw
|
||||
{
|
||||
arg6 = wxString_in_helper(obj5);
|
||||
if (arg6 == NULL) SWIG_fail;
|
||||
temp6 = true;
|
||||
temp6 = True;
|
||||
}
|
||||
}
|
||||
if (obj6) {
|
||||
@@ -651,7 +651,7 @@ static PyObject *_wrap_new_wxGLCanvasWithContext(PyObject *self, PyObject *args,
|
||||
PyObject *resultobj;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
wxGLContext *arg2 = (wxGLContext *) NULL ;
|
||||
wxWindowID arg3 = (wxWindowID) -1 ;
|
||||
int arg3 = (int) -1 ;
|
||||
wxPoint const &arg4_defvalue = wxDefaultPosition ;
|
||||
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
|
||||
wxSize const &arg5_defvalue = wxDefaultSize ;
|
||||
@@ -665,7 +665,7 @@ static PyObject *_wrap_new_wxGLCanvasWithContext(PyObject *self, PyObject *args,
|
||||
wxGLCanvas *result;
|
||||
wxPoint temp4 ;
|
||||
wxSize temp5 ;
|
||||
bool temp7 = false ;
|
||||
bool temp7 = False ;
|
||||
int *temp8 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -699,7 +699,7 @@ static PyObject *_wrap_new_wxGLCanvasWithContext(PyObject *self, PyObject *args,
|
||||
{
|
||||
arg7 = wxString_in_helper(obj6);
|
||||
if (arg7 == NULL) SWIG_fail;
|
||||
temp7 = true;
|
||||
temp7 = True;
|
||||
}
|
||||
}
|
||||
if (obj7) {
|
||||
@@ -778,7 +778,7 @@ static PyObject *_wrap_GLCanvas_SetColour(PyObject *self, PyObject *args, PyObje
|
||||
PyObject *resultobj;
|
||||
wxGLCanvas *arg1 = (wxGLCanvas *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -790,7 +790,7 @@ static PyObject *_wrap_GLCanvas_SetColour(PyObject *self, PyObject *args, PyObje
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -655,7 +655,7 @@ static PyObject *_wrap_ShapeRegion_SetText(PyObject *self, PyObject *args, PyObj
|
||||
PyObject *resultobj;
|
||||
wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -667,7 +667,7 @@ static PyObject *_wrap_ShapeRegion_SetText(PyObject *self, PyObject *args, PyObj
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -872,7 +872,7 @@ static PyObject *_wrap_ShapeRegion_SetName(PyObject *self, PyObject *args, PyObj
|
||||
PyObject *resultobj;
|
||||
wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -884,7 +884,7 @@ static PyObject *_wrap_ShapeRegion_SetName(PyObject *self, PyObject *args, PyObj
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -912,7 +912,7 @@ static PyObject *_wrap_ShapeRegion_SetColour(PyObject *self, PyObject *args, PyO
|
||||
PyObject *resultobj;
|
||||
wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -924,7 +924,7 @@ static PyObject *_wrap_ShapeRegion_SetColour(PyObject *self, PyObject *args, PyO
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -1381,7 +1381,7 @@ static PyObject *_wrap_ShapeRegion_SetPenColour(PyObject *self, PyObject *args,
|
||||
PyObject *resultobj;
|
||||
wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -1393,7 +1393,7 @@ static PyObject *_wrap_ShapeRegion_SetPenColour(PyObject *self, PyObject *args,
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -1837,7 +1837,7 @@ static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject *self, PyO
|
||||
PyObject *resultobj;
|
||||
wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
|
||||
wxDC *arg2 = 0 ;
|
||||
bool arg3 = (bool) FALSE ;
|
||||
bool arg3 = (bool) False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -2107,7 +2107,7 @@ static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject *self, PyObject
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
bool result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -2148,7 +2148,7 @@ static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject *self, PyObjec
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj6 = 0 ;
|
||||
@@ -2454,7 +2454,7 @@ static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject *self, PyObjec
|
||||
PyObject *resultobj;
|
||||
wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
|
||||
wxDC *arg2 = 0 ;
|
||||
bool arg3 = (bool) TRUE ;
|
||||
bool arg3 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -3474,7 +3474,7 @@ static PyObject *_wrap_PyShape_CalculateSize(PyObject *self, PyObject *args, PyO
|
||||
static PyObject *_wrap_PyShape_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxPyShape *arg1 = (wxPyShape *) 0 ;
|
||||
bool arg2 = (bool) TRUE ;
|
||||
bool arg2 = (bool) True ;
|
||||
wxDC *arg3 = (wxDC *) NULL ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -3509,8 +3509,8 @@ static PyObject *_wrap_PyShape_Select(PyObject *self, PyObject *args, PyObject *
|
||||
static PyObject *_wrap_PyShape_SetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxPyShape *arg1 = (wxPyShape *) 0 ;
|
||||
bool arg2 = (bool) TRUE ;
|
||||
bool arg3 = (bool) FALSE ;
|
||||
bool arg2 = (bool) True ;
|
||||
bool arg3 = (bool) False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -3621,7 +3621,7 @@ static PyObject *_wrap_PyShape_SetSensitivityFilter(PyObject *self, PyObject *ar
|
||||
PyObject *resultobj;
|
||||
wxPyShape *arg1 = (wxPyShape *) 0 ;
|
||||
int arg2 = (int) OP_ALL ;
|
||||
bool arg3 = (bool) FALSE ;
|
||||
bool arg3 = (bool) False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -3677,7 +3677,7 @@ static PyObject *_wrap_PyShape_SetDraggable(PyObject *self, PyObject *args, PyOb
|
||||
PyObject *resultobj;
|
||||
wxPyShape *arg1 = (wxPyShape *) 0 ;
|
||||
bool arg2 ;
|
||||
bool arg3 = (bool) FALSE ;
|
||||
bool arg3 = (bool) False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -3884,7 +3884,7 @@ static PyObject *_wrap_PyShape_SetShadowMode(PyObject *self, PyObject *args, PyO
|
||||
PyObject *resultobj;
|
||||
wxPyShape *arg1 = (wxPyShape *) 0 ;
|
||||
int arg2 ;
|
||||
bool arg3 = (bool) FALSE ;
|
||||
bool arg3 = (bool) False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -4406,7 +4406,7 @@ static PyObject *_wrap_PyShape_Move(PyObject *self, PyObject *args, PyObject *kw
|
||||
wxDC *arg2 = 0 ;
|
||||
double arg3 ;
|
||||
double arg4 ;
|
||||
bool arg5 = (bool) TRUE ;
|
||||
bool arg5 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj4 = 0 ;
|
||||
@@ -4617,7 +4617,7 @@ static PyObject *_wrap_PyShape_SetSize(PyObject *self, PyObject *args, PyObject
|
||||
wxPyShape *arg1 = (wxPyShape *) 0 ;
|
||||
double arg2 ;
|
||||
double arg3 ;
|
||||
bool arg4 = (bool) TRUE ;
|
||||
bool arg4 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -4812,7 +4812,7 @@ static PyObject *_wrap_PyShape_AddText(PyObject *self, PyObject *args, PyObject
|
||||
PyObject *resultobj;
|
||||
wxPyShape *arg1 = (wxPyShape *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -4824,7 +4824,7 @@ static PyObject *_wrap_PyShape_AddText(PyObject *self, PyObject *args, PyObject
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -4928,7 +4928,7 @@ static PyObject *_wrap_PyShape_FormatText(PyObject *self, PyObject *args, PyObje
|
||||
wxDC *arg2 = 0 ;
|
||||
wxString *arg3 = 0 ;
|
||||
int arg4 = (int) 0 ;
|
||||
bool temp3 = false ;
|
||||
bool temp3 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -4945,7 +4945,7 @@ static PyObject *_wrap_PyShape_FormatText(PyObject *self, PyObject *args, PyObje
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = true;
|
||||
temp3 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -5101,7 +5101,7 @@ static PyObject *_wrap_PyShape_SetTextColour(PyObject *self, PyObject *args, PyO
|
||||
wxPyShape *arg1 = (wxPyShape *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
int arg3 = (int) 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -5113,7 +5113,7 @@ static PyObject *_wrap_PyShape_SetTextColour(PyObject *self, PyObject *args, PyO
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -5199,7 +5199,7 @@ static PyObject *_wrap_PyShape_SetRegionName(PyObject *self, PyObject *args, PyO
|
||||
wxPyShape *arg1 = (wxPyShape *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
int arg3 = (int) 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -5211,7 +5211,7 @@ static PyObject *_wrap_PyShape_SetRegionName(PyObject *self, PyObject *args, PyO
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -5272,7 +5272,7 @@ static PyObject *_wrap_PyShape_GetRegionId(PyObject *self, PyObject *args, PyObj
|
||||
wxPyShape *arg1 = (wxPyShape *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
int result;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -5284,7 +5284,7 @@ static PyObject *_wrap_PyShape_GetRegionId(PyObject *self, PyObject *args, PyObj
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -5313,7 +5313,7 @@ static PyObject *_wrap_PyShape_NameRegions(PyObject *self, PyObject *args, PyObj
|
||||
wxPyShape *arg1 = (wxPyShape *) 0 ;
|
||||
wxString const &arg2_defvalue = "" ;
|
||||
wxString *arg2 = (wxString *) &arg2_defvalue ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -5326,7 +5326,7 @@ static PyObject *_wrap_PyShape_NameRegions(PyObject *self, PyObject *args, PyObj
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -5457,7 +5457,7 @@ static PyObject *_wrap_PyShape_FindRegion(PyObject *self, PyObject *args, PyObje
|
||||
wxString *arg2 = 0 ;
|
||||
int *arg3 = (int *) 0 ;
|
||||
wxPyShape *result;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
int temp3 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -5471,7 +5471,7 @@ static PyObject *_wrap_PyShape_FindRegion(PyObject *self, PyObject *args, PyObje
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -5821,7 +5821,7 @@ static PyObject *_wrap_PyShape_EraseLinks(PyObject *self, PyObject *args, PyObje
|
||||
wxPyShape *arg1 = (wxPyShape *) 0 ;
|
||||
wxDC *arg2 = 0 ;
|
||||
int arg3 = (int) -1 ;
|
||||
bool arg4 = (bool) FALSE ;
|
||||
bool arg4 = (bool) False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
@@ -5858,7 +5858,7 @@ static PyObject *_wrap_PyShape_DrawLinks(PyObject *self, PyObject *args, PyObjec
|
||||
wxPyShape *arg1 = (wxPyShape *) 0 ;
|
||||
wxDC *arg2 = 0 ;
|
||||
int arg3 = (int) -1 ;
|
||||
bool arg4 = (bool) FALSE ;
|
||||
bool arg4 = (bool) False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
@@ -6412,8 +6412,8 @@ static PyObject *_wrap_PyShape_HasDescendant(PyObject *self, PyObject *args, PyO
|
||||
static PyObject *_wrap_PyShape_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxPyShape *arg1 = (wxPyShape *) 0 ;
|
||||
bool arg2 = (bool) TRUE ;
|
||||
bool arg3 = (bool) TRUE ;
|
||||
bool arg2 = (bool) True ;
|
||||
bool arg3 = (bool) True ;
|
||||
wxPyShape *result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -6790,7 +6790,7 @@ static PyObject *_wrap_PyShape_base_OnDrawBranches(PyObject *self, PyObject *arg
|
||||
PyObject *resultobj;
|
||||
wxPyShape *arg1 = (wxPyShape *) 0 ;
|
||||
wxDC *arg2 = 0 ;
|
||||
bool arg3 = (bool) FALSE ;
|
||||
bool arg3 = (bool) False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -7060,7 +7060,7 @@ static PyObject *_wrap_PyShape_base_OnMovePre(PyObject *self, PyObject *args, Py
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
bool result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -7101,7 +7101,7 @@ static PyObject *_wrap_PyShape_base_OnMovePost(PyObject *self, PyObject *args, P
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj6 = 0 ;
|
||||
@@ -7407,7 +7407,7 @@ static PyObject *_wrap_PyShape_base_OnMoveLink(PyObject *self, PyObject *args, P
|
||||
PyObject *resultobj;
|
||||
wxPyShape *arg1 = (wxPyShape *) 0 ;
|
||||
wxDC *arg2 = 0 ;
|
||||
bool arg3 = (bool) TRUE ;
|
||||
bool arg3 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -7841,7 +7841,7 @@ static PyObject *_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject
|
||||
double *arg3 = (double *) 0 ;
|
||||
double *arg4 = (double *) 0 ;
|
||||
bool result;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -7855,7 +7855,7 @@ static PyObject *_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
|
||||
if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
|
||||
@@ -8480,7 +8480,7 @@ static PyObject *_wrap_PseudoMetaFile_DrawText(PyObject *self, PyObject *args, P
|
||||
wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
wxPoint *arg3 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
wxPoint temp3 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -8494,7 +8494,7 @@ static PyObject *_wrap_PseudoMetaFile_DrawText(PyObject *self, PyObject *args, P
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
arg3 = &temp3;
|
||||
@@ -9339,7 +9339,7 @@ static PyObject *_wrap_PyRectangleShape_base_OnMovePre(PyObject *self, PyObject
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
bool result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -9380,7 +9380,7 @@ static PyObject *_wrap_PyRectangleShape_base_OnMovePost(PyObject *self, PyObject
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj6 = 0 ;
|
||||
@@ -9686,7 +9686,7 @@ static PyObject *_wrap_PyRectangleShape_base_OnMoveLink(PyObject *self, PyObject
|
||||
PyObject *resultobj;
|
||||
wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
|
||||
wxDC *arg2 = 0 ;
|
||||
bool arg3 = (bool) TRUE ;
|
||||
bool arg3 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -10323,7 +10323,7 @@ static PyObject *_wrap_PyControlPoint_base_OnMovePre(PyObject *self, PyObject *a
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
bool result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -10364,7 +10364,7 @@ static PyObject *_wrap_PyControlPoint_base_OnMovePost(PyObject *self, PyObject *
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj6 = 0 ;
|
||||
@@ -10670,7 +10670,7 @@ static PyObject *_wrap_PyControlPoint_base_OnMoveLink(PyObject *self, PyObject *
|
||||
PyObject *resultobj;
|
||||
wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
|
||||
wxDC *arg2 = 0 ;
|
||||
bool arg3 = (bool) TRUE ;
|
||||
bool arg3 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -11003,7 +11003,7 @@ static PyObject *_wrap_PyBitmapShape_SetFilename(PyObject *self, PyObject *args,
|
||||
PyObject *resultobj;
|
||||
wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -11015,7 +11015,7 @@ static PyObject *_wrap_PyBitmapShape_SetFilename(PyObject *self, PyObject *args,
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -11397,7 +11397,7 @@ static PyObject *_wrap_PyBitmapShape_base_OnMovePre(PyObject *self, PyObject *ar
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
bool result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -11438,7 +11438,7 @@ static PyObject *_wrap_PyBitmapShape_base_OnMovePost(PyObject *self, PyObject *a
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj6 = 0 ;
|
||||
@@ -11744,7 +11744,7 @@ static PyObject *_wrap_PyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *a
|
||||
PyObject *resultobj;
|
||||
wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
|
||||
wxDC *arg2 = 0 ;
|
||||
bool arg3 = (bool) TRUE ;
|
||||
bool arg3 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -12357,7 +12357,7 @@ static PyObject *_wrap_PyDrawnShape_DrawText(PyObject *self, PyObject *args, PyO
|
||||
wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
wxPoint *arg3 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
wxPoint temp3 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -12371,7 +12371,7 @@ static PyObject *_wrap_PyDrawnShape_DrawText(PyObject *self, PyObject *args, PyO
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
arg3 = &temp3;
|
||||
@@ -12482,7 +12482,7 @@ static PyObject *_wrap_PyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *a
|
||||
wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool result;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -12494,7 +12494,7 @@ static PyObject *_wrap_PyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *a
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -13247,7 +13247,7 @@ static PyObject *_wrap_PyDrawnShape_base_OnMovePre(PyObject *self, PyObject *arg
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
bool result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -13288,7 +13288,7 @@ static PyObject *_wrap_PyDrawnShape_base_OnMovePost(PyObject *self, PyObject *ar
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj6 = 0 ;
|
||||
@@ -13594,7 +13594,7 @@ static PyObject *_wrap_PyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *ar
|
||||
PyObject *resultobj;
|
||||
wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
|
||||
wxDC *arg2 = 0 ;
|
||||
bool arg3 = (bool) TRUE ;
|
||||
bool arg3 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -14697,7 +14697,7 @@ static PyObject *_wrap_PyCompositeShape_base_OnMovePre(PyObject *self, PyObject
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
bool result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -14738,7 +14738,7 @@ static PyObject *_wrap_PyCompositeShape_base_OnMovePost(PyObject *self, PyObject
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj6 = 0 ;
|
||||
@@ -15044,7 +15044,7 @@ static PyObject *_wrap_PyCompositeShape_base_OnMoveLink(PyObject *self, PyObject
|
||||
PyObject *resultobj;
|
||||
wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
|
||||
wxDC *arg2 = 0 ;
|
||||
bool arg3 = (bool) TRUE ;
|
||||
bool arg3 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -15692,7 +15692,7 @@ static PyObject *_wrap_PyDividedShape_base_OnMovePre(PyObject *self, PyObject *a
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
bool result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -15733,7 +15733,7 @@ static PyObject *_wrap_PyDividedShape_base_OnMovePost(PyObject *self, PyObject *
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj6 = 0 ;
|
||||
@@ -16039,7 +16039,7 @@ static PyObject *_wrap_PyDividedShape_base_OnMoveLink(PyObject *self, PyObject *
|
||||
PyObject *resultobj;
|
||||
wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
|
||||
wxDC *arg2 = 0 ;
|
||||
bool arg3 = (bool) TRUE ;
|
||||
bool arg3 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -16800,7 +16800,7 @@ static PyObject *_wrap_PyDivisionShape_SetLeftSideColour(PyObject *self, PyObjec
|
||||
PyObject *resultobj;
|
||||
wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -16812,7 +16812,7 @@ static PyObject *_wrap_PyDivisionShape_SetLeftSideColour(PyObject *self, PyObjec
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -16938,7 +16938,7 @@ static PyObject *_wrap_PyDivisionShape_SetTopSideColour(PyObject *self, PyObject
|
||||
PyObject *resultobj;
|
||||
wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -16950,7 +16950,7 @@ static PyObject *_wrap_PyDivisionShape_SetTopSideColour(PyObject *self, PyObject
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -17376,7 +17376,7 @@ static PyObject *_wrap_PyDivisionShape_base_OnMovePre(PyObject *self, PyObject *
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
bool result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -17417,7 +17417,7 @@ static PyObject *_wrap_PyDivisionShape_base_OnMovePost(PyObject *self, PyObject
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj6 = 0 ;
|
||||
@@ -17723,7 +17723,7 @@ static PyObject *_wrap_PyDivisionShape_base_OnMoveLink(PyObject *self, PyObject
|
||||
PyObject *resultobj;
|
||||
wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
|
||||
wxDC *arg2 = 0 ;
|
||||
bool arg3 = (bool) TRUE ;
|
||||
bool arg3 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -18299,7 +18299,7 @@ static PyObject *_wrap_PyEllipseShape_base_OnMovePre(PyObject *self, PyObject *a
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
bool result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -18340,7 +18340,7 @@ static PyObject *_wrap_PyEllipseShape_base_OnMovePost(PyObject *self, PyObject *
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj6 = 0 ;
|
||||
@@ -18646,7 +18646,7 @@ static PyObject *_wrap_PyEllipseShape_base_OnMoveLink(PyObject *self, PyObject *
|
||||
PyObject *resultobj;
|
||||
wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
|
||||
wxDC *arg2 = 0 ;
|
||||
bool arg3 = (bool) TRUE ;
|
||||
bool arg3 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -19221,7 +19221,7 @@ static PyObject *_wrap_PyCircleShape_base_OnMovePre(PyObject *self, PyObject *ar
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
bool result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -19262,7 +19262,7 @@ static PyObject *_wrap_PyCircleShape_base_OnMovePost(PyObject *self, PyObject *a
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj6 = 0 ;
|
||||
@@ -19568,7 +19568,7 @@ static PyObject *_wrap_PyCircleShape_base_OnMoveLink(PyObject *self, PyObject *a
|
||||
PyObject *resultobj;
|
||||
wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
|
||||
wxDC *arg2 = 0 ;
|
||||
bool arg3 = (bool) TRUE ;
|
||||
bool arg3 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -19767,7 +19767,7 @@ static PyObject *_wrap_new_ArrowHead(PyObject *self, PyObject *args, PyObject *k
|
||||
wxPseudoMetaFile *arg6 = (wxPseudoMetaFile *) NULL ;
|
||||
long arg7 = (long) -1 ;
|
||||
wxArrowHead *result;
|
||||
bool temp5 = false ;
|
||||
bool temp5 = False ;
|
||||
PyObject * obj4 = 0 ;
|
||||
PyObject * obj5 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -19779,7 +19779,7 @@ static PyObject *_wrap_new_ArrowHead(PyObject *self, PyObject *args, PyObject *k
|
||||
{
|
||||
arg5 = wxString_in_helper(obj4);
|
||||
if (arg5 == NULL) SWIG_fail;
|
||||
temp5 = true;
|
||||
temp5 = True;
|
||||
}
|
||||
}
|
||||
if (obj5) {
|
||||
@@ -20311,7 +20311,7 @@ static PyObject *_wrap_PyLineShape_AddArrow(PyObject *self, PyObject *args, PyOb
|
||||
wxString *arg6 = (wxString *) &arg6_defvalue ;
|
||||
wxPseudoMetaFile *arg7 = (wxPseudoMetaFile *) NULL ;
|
||||
long arg8 = (long) -1 ;
|
||||
bool temp6 = false ;
|
||||
bool temp6 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj5 = 0 ;
|
||||
PyObject * obj6 = 0 ;
|
||||
@@ -20325,7 +20325,7 @@ static PyObject *_wrap_PyLineShape_AddArrow(PyObject *self, PyObject *args, PyOb
|
||||
{
|
||||
arg6 = wxString_in_helper(obj5);
|
||||
if (arg6 == NULL) SWIG_fail;
|
||||
temp6 = true;
|
||||
temp6 = True;
|
||||
}
|
||||
}
|
||||
if (obj6) {
|
||||
@@ -20389,7 +20389,7 @@ static PyObject *_wrap_PyLineShape_ClearArrow(PyObject *self, PyObject *args, Py
|
||||
wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool result;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -20401,7 +20401,7 @@ static PyObject *_wrap_PyLineShape_ClearArrow(PyObject *self, PyObject *args, Py
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -20520,7 +20520,7 @@ static PyObject *_wrap_PyLineShape_DeleteArrowHead(PyObject *self, PyObject *arg
|
||||
int arg2 ;
|
||||
wxString *arg3 = 0 ;
|
||||
bool result;
|
||||
bool temp3 = false ;
|
||||
bool temp3 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -20532,7 +20532,7 @@ static PyObject *_wrap_PyLineShape_DeleteArrowHead(PyObject *self, PyObject *arg
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = true;
|
||||
temp3 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -20715,7 +20715,7 @@ static PyObject *_wrap_PyLineShape_FindArrowHead(PyObject *self, PyObject *args,
|
||||
int arg2 ;
|
||||
wxString *arg3 = 0 ;
|
||||
wxArrowHead *result;
|
||||
bool temp3 = false ;
|
||||
bool temp3 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -20727,7 +20727,7 @@ static PyObject *_wrap_PyLineShape_FindArrowHead(PyObject *self, PyObject *args,
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = true;
|
||||
temp3 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -21880,7 +21880,7 @@ static PyObject *_wrap_PyLineShape_base_OnMovePre(PyObject *self, PyObject *args
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
bool result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -21921,7 +21921,7 @@ static PyObject *_wrap_PyLineShape_base_OnMovePost(PyObject *self, PyObject *arg
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj6 = 0 ;
|
||||
@@ -22227,7 +22227,7 @@ static PyObject *_wrap_PyLineShape_base_OnMoveLink(PyObject *self, PyObject *arg
|
||||
PyObject *resultobj;
|
||||
wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
|
||||
wxDC *arg2 = 0 ;
|
||||
bool arg3 = (bool) TRUE ;
|
||||
bool arg3 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -22952,7 +22952,7 @@ static PyObject *_wrap_PyPolygonShape_base_OnMovePre(PyObject *self, PyObject *a
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
bool result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -22993,7 +22993,7 @@ static PyObject *_wrap_PyPolygonShape_base_OnMovePost(PyObject *self, PyObject *
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj6 = 0 ;
|
||||
@@ -23299,7 +23299,7 @@ static PyObject *_wrap_PyPolygonShape_base_OnMoveLink(PyObject *self, PyObject *
|
||||
PyObject *resultobj;
|
||||
wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
|
||||
wxDC *arg2 = 0 ;
|
||||
bool arg3 = (bool) TRUE ;
|
||||
bool arg3 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -23899,7 +23899,7 @@ static PyObject *_wrap_PyTextShape_base_OnMovePre(PyObject *self, PyObject *args
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
bool result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -23940,7 +23940,7 @@ static PyObject *_wrap_PyTextShape_base_OnMovePost(PyObject *self, PyObject *arg
|
||||
double arg4 ;
|
||||
double arg5 ;
|
||||
double arg6 ;
|
||||
bool arg7 = (bool) TRUE ;
|
||||
bool arg7 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj6 = 0 ;
|
||||
@@ -24246,7 +24246,7 @@ static PyObject *_wrap_PyTextShape_base_OnMoveLink(PyObject *self, PyObject *arg
|
||||
PyObject *resultobj;
|
||||
wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
|
||||
wxDC *arg2 = 0 ;
|
||||
bool arg3 = (bool) TRUE ;
|
||||
bool arg3 = (bool) True ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -25140,7 +25140,7 @@ static PyObject * Diagram_swigregister(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_PyShapeCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxWindow *arg1 = (wxWindow *) NULL ;
|
||||
wxWindowID arg2 = (wxWindowID) -1 ;
|
||||
int arg2 = (int) -1 ;
|
||||
wxPoint const &arg3_defvalue = wxDefaultPosition ;
|
||||
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
|
||||
wxSize const &arg4_defvalue = wxDefaultSize ;
|
||||
@@ -25151,7 +25151,7 @@ static PyObject *_wrap_new_PyShapeCanvas(PyObject *self, PyObject *args, PyObjec
|
||||
wxPyShapeCanvas *result;
|
||||
wxPoint temp3 ;
|
||||
wxSize temp4 ;
|
||||
bool temp6 = false ;
|
||||
bool temp6 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
@@ -25180,7 +25180,7 @@ static PyObject *_wrap_new_PyShapeCanvas(PyObject *self, PyObject *args, PyObjec
|
||||
{
|
||||
arg6 = wxString_in_helper(obj5);
|
||||
if (arg6 == NULL) SWIG_fail;
|
||||
temp6 = true;
|
||||
temp6 = True;
|
||||
}
|
||||
}
|
||||
{
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -292,7 +292,7 @@ extern "C" {
|
||||
static PyObject *_wrap_new_StyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
wxWindowID arg2 ;
|
||||
int arg2 ;
|
||||
wxPoint const &arg3_defvalue = wxDefaultPosition ;
|
||||
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
|
||||
wxSize const &arg4_defvalue = wxDefaultSize ;
|
||||
@@ -303,7 +303,7 @@ static PyObject *_wrap_new_StyledTextCtrl(PyObject *self, PyObject *args, PyObje
|
||||
wxStyledTextCtrl *result;
|
||||
wxPoint temp3 ;
|
||||
wxSize temp4 ;
|
||||
bool temp6 = false ;
|
||||
bool temp6 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
@@ -330,7 +330,7 @@ static PyObject *_wrap_new_StyledTextCtrl(PyObject *self, PyObject *args, PyObje
|
||||
{
|
||||
arg6 = wxString_in_helper(obj5);
|
||||
if (arg6 == NULL) SWIG_fail;
|
||||
temp6 = true;
|
||||
temp6 = True;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -381,7 +381,7 @@ static PyObject *_wrap_StyledTextCtrl_Create(PyObject *self, PyObject *args, PyO
|
||||
PyObject *resultobj;
|
||||
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
|
||||
wxWindow *arg2 = (wxWindow *) 0 ;
|
||||
wxWindowID arg3 ;
|
||||
int arg3 ;
|
||||
wxPoint const &arg4_defvalue = wxDefaultPosition ;
|
||||
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
|
||||
wxSize const &arg5_defvalue = wxDefaultSize ;
|
||||
@@ -391,7 +391,7 @@ static PyObject *_wrap_StyledTextCtrl_Create(PyObject *self, PyObject *args, PyO
|
||||
wxString *arg7 = (wxString *) &arg7_defvalue ;
|
||||
wxPoint temp4 ;
|
||||
wxSize temp5 ;
|
||||
bool temp7 = false ;
|
||||
bool temp7 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
@@ -420,7 +420,7 @@ static PyObject *_wrap_StyledTextCtrl_Create(PyObject *self, PyObject *args, PyO
|
||||
{
|
||||
arg7 = wxString_in_helper(obj6);
|
||||
if (arg7 == NULL) SWIG_fail;
|
||||
temp7 = true;
|
||||
temp7 = True;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -449,7 +449,7 @@ static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *self, PyObject *args, Py
|
||||
PyObject *resultobj;
|
||||
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -461,7 +461,7 @@ static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *self, PyObject *args, Py
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -520,7 +520,7 @@ static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *self, PyObject *args,
|
||||
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
|
||||
int arg2 ;
|
||||
wxString *arg3 = 0 ;
|
||||
bool temp3 = false ;
|
||||
bool temp3 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -532,7 +532,7 @@ static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *self, PyObject *args,
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = true;
|
||||
temp3 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -2150,7 +2150,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject
|
||||
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
|
||||
int arg2 ;
|
||||
wxString *arg3 = 0 ;
|
||||
bool temp3 = false ;
|
||||
bool temp3 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -2162,7 +2162,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = true;
|
||||
temp3 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -2636,7 +2636,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *self, PyObject *arg
|
||||
PyObject *resultobj;
|
||||
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -2648,7 +2648,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *self, PyObject *arg
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -3178,7 +3178,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *self, PyObject *arg
|
||||
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
|
||||
int arg2 ;
|
||||
wxString *arg3 = 0 ;
|
||||
bool temp3 = false ;
|
||||
bool temp3 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -3190,7 +3190,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *self, PyObject *arg
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = true;
|
||||
temp3 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -3316,7 +3316,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *self, PyObject *ar
|
||||
PyObject *resultobj;
|
||||
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -3328,7 +3328,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *self, PyObject *ar
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -3406,7 +3406,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *a
|
||||
PyObject *resultobj;
|
||||
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -3418,7 +3418,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *a
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -3499,7 +3499,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObjec
|
||||
PyObject *resultobj;
|
||||
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -3511,7 +3511,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObjec
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -3646,7 +3646,7 @@ static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *self, PyObject *arg
|
||||
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
|
||||
int arg2 ;
|
||||
wxString *arg3 = 0 ;
|
||||
bool temp3 = false ;
|
||||
bool temp3 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -3658,7 +3658,7 @@ static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *self, PyObject *arg
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = true;
|
||||
temp3 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -4594,7 +4594,7 @@ static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *self, PyObject *args, P
|
||||
wxString *arg4 = 0 ;
|
||||
int arg5 = (int) 0 ;
|
||||
int result;
|
||||
bool temp4 = false ;
|
||||
bool temp4 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -4606,7 +4606,7 @@ static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *self, PyObject *args, P
|
||||
{
|
||||
arg4 = wxString_in_helper(obj3);
|
||||
if (arg4 == NULL) SWIG_fail;
|
||||
temp4 = true;
|
||||
temp4 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -5108,7 +5108,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *self, PyObject
|
||||
PyObject *resultobj;
|
||||
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -5120,7 +5120,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *self, PyObject
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -5370,7 +5370,7 @@ static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *self, PyObject *args, Py
|
||||
PyObject *resultobj;
|
||||
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -5382,7 +5382,7 @@ static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *self, PyObject *args, Py
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -5670,7 +5670,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *ar
|
||||
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
int result;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -5682,7 +5682,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *ar
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -5711,7 +5711,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *
|
||||
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
int result;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -5723,7 +5723,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -5752,7 +5752,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *self, PyObject *a
|
||||
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
int result;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -5764,7 +5764,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *self, PyObject *a
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -5843,7 +5843,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *self, PyObject *args
|
||||
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
|
||||
int arg2 ;
|
||||
wxString *arg3 = 0 ;
|
||||
bool temp3 = false ;
|
||||
bool temp3 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -5855,7 +5855,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *self, PyObject *args
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = true;
|
||||
temp3 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -6834,7 +6834,7 @@ static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *self, PyObject *args,
|
||||
int arg2 ;
|
||||
wxString *arg3 = 0 ;
|
||||
int result;
|
||||
bool temp3 = false ;
|
||||
bool temp3 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -6846,7 +6846,7 @@ static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *self, PyObject *args,
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = true;
|
||||
temp3 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -7007,7 +7007,7 @@ static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *self, PyObject *args,
|
||||
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
|
||||
int arg2 ;
|
||||
wxString *arg3 = 0 ;
|
||||
bool temp3 = false ;
|
||||
bool temp3 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -7019,7 +7019,7 @@ static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *self, PyObject *args,
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = true;
|
||||
temp3 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -7830,7 +7830,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *self, PyObject *args,
|
||||
int arg2 ;
|
||||
wxString *arg3 = 0 ;
|
||||
int result;
|
||||
bool temp3 = false ;
|
||||
bool temp3 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -7842,7 +7842,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *self, PyObject *args,
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = true;
|
||||
temp3 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -7872,7 +7872,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *self, PyObject *args,
|
||||
int arg2 ;
|
||||
wxString *arg3 = 0 ;
|
||||
int result;
|
||||
bool temp3 = false ;
|
||||
bool temp3 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -7884,7 +7884,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *self, PyObject *args,
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = true;
|
||||
temp3 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -8923,7 +8923,7 @@ static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *self, PyObject *args, P
|
||||
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
|
||||
int arg2 ;
|
||||
wxString *arg3 = 0 ;
|
||||
bool temp3 = false ;
|
||||
bool temp3 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -8935,7 +8935,7 @@ static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *self, PyObject *args, P
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = true;
|
||||
temp3 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -9088,8 +9088,8 @@ static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *self, PyObject *args
|
||||
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
wxString *arg3 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp3 = false ;
|
||||
bool temp2 = False ;
|
||||
bool temp3 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -9102,12 +9102,12 @@ static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *self, PyObject *args
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = true;
|
||||
temp3 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -9144,7 +9144,7 @@ static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args
|
||||
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
|
||||
int arg2 ;
|
||||
wxString *arg3 = 0 ;
|
||||
bool temp3 = false ;
|
||||
bool temp3 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -9156,7 +9156,7 @@ static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = true;
|
||||
temp3 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -9184,7 +9184,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject
|
||||
PyObject *resultobj;
|
||||
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -9196,7 +9196,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -9250,7 +9250,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *arg
|
||||
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
|
||||
int arg2 ;
|
||||
wxString *arg3 = 0 ;
|
||||
bool temp3 = false ;
|
||||
bool temp3 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -9262,7 +9262,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *arg
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = true;
|
||||
temp3 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -9326,7 +9326,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject
|
||||
bool arg5 ;
|
||||
bool arg6 ;
|
||||
bool arg7 ;
|
||||
bool temp4 = false ;
|
||||
bool temp4 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
PyObject * obj4 = 0 ;
|
||||
@@ -9341,7 +9341,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject
|
||||
{
|
||||
arg4 = wxString_in_helper(obj3);
|
||||
if (arg4 == NULL) SWIG_fail;
|
||||
temp4 = true;
|
||||
temp4 = True;
|
||||
}
|
||||
arg5 = PyInt_AsLong(obj4) ? true : false;
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
@@ -9680,7 +9680,7 @@ static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *self, PyObject *args, P
|
||||
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool result;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -9692,7 +9692,7 @@ static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *self, PyObject *args, P
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -9721,7 +9721,7 @@ static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *self, PyObject *args, P
|
||||
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool result;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -9733,7 +9733,7 @@ static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *self, PyObject *args, P
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -9760,8 +9760,8 @@ static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *self, PyObject *args, P
|
||||
static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
|
||||
wxCoord arg2 ;
|
||||
wxCoord arg3 ;
|
||||
int arg2 ;
|
||||
int arg3 ;
|
||||
wxDragResult arg4 ;
|
||||
wxDragResult result;
|
||||
wxDragResult *argp4 ;
|
||||
@@ -9800,7 +9800,7 @@ static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *self, PyObject *args,
|
||||
long arg3 ;
|
||||
wxString *arg4 = 0 ;
|
||||
bool result;
|
||||
bool temp4 = false ;
|
||||
bool temp4 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -9812,7 +9812,7 @@ static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *self, PyObject *args,
|
||||
{
|
||||
arg4 = wxString_in_helper(obj3);
|
||||
if (arg4 == NULL) SWIG_fail;
|
||||
temp4 = true;
|
||||
temp4 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -9995,7 +9995,7 @@ static PyObject *_wrap_StyledTextEvent_SetText(PyObject *self, PyObject *args, P
|
||||
PyObject *resultobj;
|
||||
wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -10007,7 +10007,7 @@ static PyObject *_wrap_StyledTextEvent_SetText(PyObject *self, PyObject *args, P
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
@@ -10335,7 +10335,7 @@ static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *self, PyObject *arg
|
||||
PyObject *resultobj;
|
||||
wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = false ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -10347,7 +10347,7 @@ static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *self, PyObject *arg
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
temp2 = True;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
|
||||
@@ -14,47 +14,143 @@ WX_XMLRES_CURRENT_VERSION_REVISION = _xrc.WX_XMLRES_CURRENT_VERSION_REVISION
|
||||
XRC_USE_LOCALE = _xrc.XRC_USE_LOCALE
|
||||
XRC_NO_SUBCLASSING = _xrc.XRC_NO_SUBCLASSING
|
||||
class XmlResource(core.Object):
|
||||
""""""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxXmlResource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(wxString filemask, int flags=XRC_USE_LOCALE) -> XmlResource"""
|
||||
newobj = _xrc.new_XmlResource(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
self.InitAllHandlers()
|
||||
|
||||
def __del__(self, destroy=_xrc.delete_XmlResource):
|
||||
"""__del__()"""
|
||||
try:
|
||||
if self.thisown: destroy(self)
|
||||
except: pass
|
||||
def Load(*args, **kwargs): return _xrc.XmlResource_Load(*args, **kwargs)
|
||||
def LoadFromString(*args, **kwargs): return _xrc.XmlResource_LoadFromString(*args, **kwargs)
|
||||
def InitAllHandlers(*args, **kwargs): return _xrc.XmlResource_InitAllHandlers(*args, **kwargs)
|
||||
def AddHandler(*args, **kwargs): return _xrc.XmlResource_AddHandler(*args, **kwargs)
|
||||
def InsertHandler(*args, **kwargs): return _xrc.XmlResource_InsertHandler(*args, **kwargs)
|
||||
def ClearHandlers(*args, **kwargs): return _xrc.XmlResource_ClearHandlers(*args, **kwargs)
|
||||
AddSubclassFactory = staticmethod(_xrc.XmlResource_AddSubclassFactory)
|
||||
def LoadMenu(*args, **kwargs): return _xrc.XmlResource_LoadMenu(*args, **kwargs)
|
||||
def LoadMenuBar(*args, **kwargs): return _xrc.XmlResource_LoadMenuBar(*args, **kwargs)
|
||||
def LoadMenuBarOnFrame(*args, **kwargs): return _xrc.XmlResource_LoadMenuBarOnFrame(*args, **kwargs)
|
||||
def LoadToolBar(*args, **kwargs): return _xrc.XmlResource_LoadToolBar(*args, **kwargs)
|
||||
def LoadDialog(*args, **kwargs): return _xrc.XmlResource_LoadDialog(*args, **kwargs)
|
||||
def LoadOnDialog(*args, **kwargs): return _xrc.XmlResource_LoadOnDialog(*args, **kwargs)
|
||||
def LoadPanel(*args, **kwargs): return _xrc.XmlResource_LoadPanel(*args, **kwargs)
|
||||
def LoadOnPanel(*args, **kwargs): return _xrc.XmlResource_LoadOnPanel(*args, **kwargs)
|
||||
def LoadFrame(*args, **kwargs): return _xrc.XmlResource_LoadFrame(*args, **kwargs)
|
||||
def LoadOnFrame(*args, **kwargs): return _xrc.XmlResource_LoadOnFrame(*args, **kwargs)
|
||||
def LoadObject(*args, **kwargs): return _xrc.XmlResource_LoadObject(*args, **kwargs)
|
||||
def LoadOnObject(*args, **kwargs): return _xrc.XmlResource_LoadOnObject(*args, **kwargs)
|
||||
def LoadBitmap(*args, **kwargs): return _xrc.XmlResource_LoadBitmap(*args, **kwargs)
|
||||
def LoadIcon(*args, **kwargs): return _xrc.XmlResource_LoadIcon(*args, **kwargs)
|
||||
def AttachUnknownControl(*args, **kwargs): return _xrc.XmlResource_AttachUnknownControl(*args, **kwargs)
|
||||
GetXRCID = staticmethod(_xrc.XmlResource_GetXRCID)
|
||||
def GetVersion(*args, **kwargs): return _xrc.XmlResource_GetVersion(*args, **kwargs)
|
||||
def CompareVersion(*args, **kwargs): return _xrc.XmlResource_CompareVersion(*args, **kwargs)
|
||||
Get = staticmethod(_xrc.XmlResource_Get)
|
||||
Set = staticmethod(_xrc.XmlResource_Set)
|
||||
def GetFlags(*args, **kwargs): return _xrc.XmlResource_GetFlags(*args, **kwargs)
|
||||
def SetFlags(*args, **kwargs): return _xrc.XmlResource_SetFlags(*args, **kwargs)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxXmlResource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
|
||||
def Load(*args, **kwargs):
|
||||
"""Load(wxString filemask) -> bool"""
|
||||
return _xrc.XmlResource_Load(*args, **kwargs)
|
||||
|
||||
def LoadFromString(*args, **kwargs):
|
||||
"""LoadFromString(wxString data) -> bool"""
|
||||
return _xrc.XmlResource_LoadFromString(*args, **kwargs)
|
||||
|
||||
def InitAllHandlers(*args, **kwargs):
|
||||
"""InitAllHandlers()"""
|
||||
return _xrc.XmlResource_InitAllHandlers(*args, **kwargs)
|
||||
|
||||
def AddHandler(*args, **kwargs):
|
||||
"""AddHandler(XmlResourceHandler handler)"""
|
||||
return _xrc.XmlResource_AddHandler(*args, **kwargs)
|
||||
|
||||
def InsertHandler(*args, **kwargs):
|
||||
"""InsertHandler(XmlResourceHandler handler)"""
|
||||
return _xrc.XmlResource_InsertHandler(*args, **kwargs)
|
||||
|
||||
def ClearHandlers(*args, **kwargs):
|
||||
"""ClearHandlers()"""
|
||||
return _xrc.XmlResource_ClearHandlers(*args, **kwargs)
|
||||
|
||||
def AddSubclassFactory(*args, **kwargs):
|
||||
"""XmlResource.AddSubclassFactory(XmlSubclassFactory factory)"""
|
||||
return _xrc.XmlResource_AddSubclassFactory(*args, **kwargs)
|
||||
|
||||
AddSubclassFactory = staticmethod(AddSubclassFactory)
|
||||
def LoadMenu(*args, **kwargs):
|
||||
"""LoadMenu(wxString name) -> Menu"""
|
||||
return _xrc.XmlResource_LoadMenu(*args, **kwargs)
|
||||
|
||||
def LoadMenuBar(*args, **kwargs):
|
||||
"""LoadMenuBar(wxString name) -> MenuBar"""
|
||||
return _xrc.XmlResource_LoadMenuBar(*args, **kwargs)
|
||||
|
||||
def LoadMenuBarOnFrame(*args, **kwargs):
|
||||
"""LoadMenuBarOnFrame(Window parent, wxString name) -> MenuBar"""
|
||||
return _xrc.XmlResource_LoadMenuBarOnFrame(*args, **kwargs)
|
||||
|
||||
def LoadToolBar(*args, **kwargs):
|
||||
"""LoadToolBar(Window parent, wxString name) -> wxToolBar"""
|
||||
return _xrc.XmlResource_LoadToolBar(*args, **kwargs)
|
||||
|
||||
def LoadDialog(*args, **kwargs):
|
||||
"""LoadDialog(Window parent, wxString name) -> wxDialog"""
|
||||
return _xrc.XmlResource_LoadDialog(*args, **kwargs)
|
||||
|
||||
def LoadOnDialog(*args, **kwargs):
|
||||
"""LoadOnDialog(wxDialog dlg, Window parent, wxString name) -> bool"""
|
||||
return _xrc.XmlResource_LoadOnDialog(*args, **kwargs)
|
||||
|
||||
def LoadPanel(*args, **kwargs):
|
||||
"""LoadPanel(Window parent, wxString name) -> wxPanel"""
|
||||
return _xrc.XmlResource_LoadPanel(*args, **kwargs)
|
||||
|
||||
def LoadOnPanel(*args, **kwargs):
|
||||
"""LoadOnPanel(wxPanel panel, Window parent, wxString name) -> bool"""
|
||||
return _xrc.XmlResource_LoadOnPanel(*args, **kwargs)
|
||||
|
||||
def LoadFrame(*args, **kwargs):
|
||||
"""LoadFrame(Window parent, wxString name) -> wxFrame"""
|
||||
return _xrc.XmlResource_LoadFrame(*args, **kwargs)
|
||||
|
||||
def LoadOnFrame(*args, **kwargs):
|
||||
"""LoadOnFrame(wxFrame frame, Window parent, wxString name) -> bool"""
|
||||
return _xrc.XmlResource_LoadOnFrame(*args, **kwargs)
|
||||
|
||||
def LoadObject(*args, **kwargs):
|
||||
"""LoadObject(Window parent, wxString name, wxString classname) -> Object"""
|
||||
return _xrc.XmlResource_LoadObject(*args, **kwargs)
|
||||
|
||||
def LoadOnObject(*args, **kwargs):
|
||||
"""LoadOnObject(Object instance, Window parent, wxString name, wxString classname) -> bool"""
|
||||
return _xrc.XmlResource_LoadOnObject(*args, **kwargs)
|
||||
|
||||
def LoadBitmap(*args, **kwargs):
|
||||
"""LoadBitmap(wxString name) -> wxBitmap"""
|
||||
return _xrc.XmlResource_LoadBitmap(*args, **kwargs)
|
||||
|
||||
def LoadIcon(*args, **kwargs):
|
||||
"""LoadIcon(wxString name) -> wxIcon"""
|
||||
return _xrc.XmlResource_LoadIcon(*args, **kwargs)
|
||||
|
||||
def AttachUnknownControl(*args, **kwargs):
|
||||
"""AttachUnknownControl(wxString name, Window control, Window parent=None) -> bool"""
|
||||
return _xrc.XmlResource_AttachUnknownControl(*args, **kwargs)
|
||||
|
||||
def GetXRCID(*args, **kwargs):
|
||||
"""XmlResource.GetXRCID(wxString str_id) -> int"""
|
||||
return _xrc.XmlResource_GetXRCID(*args, **kwargs)
|
||||
|
||||
GetXRCID = staticmethod(GetXRCID)
|
||||
def GetVersion(*args, **kwargs):
|
||||
"""GetVersion() -> long"""
|
||||
return _xrc.XmlResource_GetVersion(*args, **kwargs)
|
||||
|
||||
def CompareVersion(*args, **kwargs):
|
||||
"""CompareVersion(int major, int minor, int release, int revision) -> int"""
|
||||
return _xrc.XmlResource_CompareVersion(*args, **kwargs)
|
||||
|
||||
def Get(*args, **kwargs):
|
||||
"""XmlResource.Get() -> XmlResource"""
|
||||
return _xrc.XmlResource_Get(*args, **kwargs)
|
||||
|
||||
Get = staticmethod(Get)
|
||||
def Set(*args, **kwargs):
|
||||
"""XmlResource.Set(XmlResource res) -> XmlResource"""
|
||||
return _xrc.XmlResource_Set(*args, **kwargs)
|
||||
|
||||
Set = staticmethod(Set)
|
||||
def GetFlags(*args, **kwargs):
|
||||
"""GetFlags() -> int"""
|
||||
return _xrc.XmlResource_GetFlags(*args, **kwargs)
|
||||
|
||||
def SetFlags(*args, **kwargs):
|
||||
"""SetFlags(int flags)"""
|
||||
return _xrc.XmlResource_SetFlags(*args, **kwargs)
|
||||
|
||||
|
||||
class XmlResourcePtr(XmlResource):
|
||||
def __init__(self, this):
|
||||
@@ -64,21 +160,30 @@ class XmlResourcePtr(XmlResource):
|
||||
_xrc.XmlResource_swigregister(XmlResourcePtr)
|
||||
|
||||
def EmptyXmlResource(*args, **kwargs):
|
||||
"""EmptyXmlResource(int flags=XRC_USE_LOCALE) -> XmlResource"""
|
||||
val = _xrc.new_EmptyXmlResource(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
val.InitAllHandlers()
|
||||
return val
|
||||
|
||||
XmlResource_AddSubclassFactory = _xrc.XmlResource_AddSubclassFactory
|
||||
def XmlResource_AddSubclassFactory(*args, **kwargs):
|
||||
"""XmlResource_AddSubclassFactory(XmlSubclassFactory factory)"""
|
||||
return _xrc.XmlResource_AddSubclassFactory(*args, **kwargs)
|
||||
|
||||
XmlResource_GetXRCID = _xrc.XmlResource_GetXRCID
|
||||
def XmlResource_GetXRCID(*args, **kwargs):
|
||||
"""XmlResource_GetXRCID(wxString str_id) -> int"""
|
||||
return _xrc.XmlResource_GetXRCID(*args, **kwargs)
|
||||
|
||||
XmlResource_Get = _xrc.XmlResource_Get
|
||||
def XmlResource_Get(*args, **kwargs):
|
||||
"""XmlResource_Get() -> XmlResource"""
|
||||
return _xrc.XmlResource_Get(*args, **kwargs)
|
||||
|
||||
XmlResource_Set = _xrc.XmlResource_Set
|
||||
def XmlResource_Set(*args, **kwargs):
|
||||
"""XmlResource_Set(XmlResource res) -> XmlResource"""
|
||||
return _xrc.XmlResource_Set(*args, **kwargs)
|
||||
|
||||
def XRCID(str_id):
|
||||
return wxXmlResource_GetXRCID(str_id)
|
||||
return XmlResource_GetXRCID(str_id)
|
||||
|
||||
def XRCCTRL(window, str_id, *ignoreargs):
|
||||
return window.FindWindowById(XRCID(str_id))
|
||||
@@ -86,15 +191,21 @@ def XRCCTRL(window, str_id, *ignoreargs):
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class XmlSubclassFactory(object):
|
||||
""""""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxPyXmlSubclassFactory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__() -> XmlSubclassFactory"""
|
||||
newobj = _xrc.new_XmlSubclassFactory(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
self._setCallbackInfo(self, XmlSubclassFactory)
|
||||
def _setCallbackInfo(*args, **kwargs): return _xrc.XmlSubclassFactory__setCallbackInfo(*args, **kwargs)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxPyXmlSubclassFactory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
|
||||
def _setCallbackInfo(*args, **kwargs):
|
||||
"""_setCallbackInfo(PyObject self, PyObject _class)"""
|
||||
return _xrc.XmlSubclassFactory__setCallbackInfo(*args, **kwargs)
|
||||
|
||||
|
||||
class XmlSubclassFactoryPtr(XmlSubclassFactory):
|
||||
def __init__(self, this):
|
||||
@@ -119,19 +230,40 @@ XML_DOCUMENT_FRAG_NODE = _xrc.XML_DOCUMENT_FRAG_NODE
|
||||
XML_NOTATION_NODE = _xrc.XML_NOTATION_NODE
|
||||
XML_HTML_DOCUMENT_NODE = _xrc.XML_HTML_DOCUMENT_NODE
|
||||
class XmlProperty(object):
|
||||
""""""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxXmlProperty instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(wxString name=wxPyEmptyString, wxString value=wxPyEmptyString,
|
||||
XmlProperty next=None) -> XmlProperty"""
|
||||
newobj = _xrc.new_XmlProperty(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def GetName(*args, **kwargs): return _xrc.XmlProperty_GetName(*args, **kwargs)
|
||||
def GetValue(*args, **kwargs): return _xrc.XmlProperty_GetValue(*args, **kwargs)
|
||||
def GetNext(*args, **kwargs): return _xrc.XmlProperty_GetNext(*args, **kwargs)
|
||||
def SetName(*args, **kwargs): return _xrc.XmlProperty_SetName(*args, **kwargs)
|
||||
def SetValue(*args, **kwargs): return _xrc.XmlProperty_SetValue(*args, **kwargs)
|
||||
def SetNext(*args, **kwargs): return _xrc.XmlProperty_SetNext(*args, **kwargs)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxXmlProperty instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def GetName(*args, **kwargs):
|
||||
"""GetName() -> wxString"""
|
||||
return _xrc.XmlProperty_GetName(*args, **kwargs)
|
||||
|
||||
def GetValue(*args, **kwargs):
|
||||
"""GetValue() -> wxString"""
|
||||
return _xrc.XmlProperty_GetValue(*args, **kwargs)
|
||||
|
||||
def GetNext(*args, **kwargs):
|
||||
"""GetNext() -> XmlProperty"""
|
||||
return _xrc.XmlProperty_GetNext(*args, **kwargs)
|
||||
|
||||
def SetName(*args, **kwargs):
|
||||
"""SetName(wxString name)"""
|
||||
return _xrc.XmlProperty_SetName(*args, **kwargs)
|
||||
|
||||
def SetValue(*args, **kwargs):
|
||||
"""SetValue(wxString value)"""
|
||||
return _xrc.XmlProperty_SetValue(*args, **kwargs)
|
||||
|
||||
def SetNext(*args, **kwargs):
|
||||
"""SetNext(XmlProperty next)"""
|
||||
return _xrc.XmlProperty_SetNext(*args, **kwargs)
|
||||
|
||||
|
||||
class XmlPropertyPtr(XmlProperty):
|
||||
def __init__(self, this):
|
||||
@@ -141,39 +273,111 @@ class XmlPropertyPtr(XmlProperty):
|
||||
_xrc.XmlProperty_swigregister(XmlPropertyPtr)
|
||||
|
||||
class XmlNode(object):
|
||||
""""""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxXmlNode instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(XmlNode parent=None, wxXmlNodeType type=0, wxString name=wxPyEmptyString,
|
||||
wxString content=wxPyEmptyString,
|
||||
XmlProperty props=None, XmlNode next=None) -> XmlNode"""
|
||||
newobj = _xrc.new_XmlNode(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def __del__(self, destroy=_xrc.delete_XmlNode):
|
||||
"""__del__()"""
|
||||
try:
|
||||
if self.thisown: destroy(self)
|
||||
except: pass
|
||||
def AddChild(*args, **kwargs): return _xrc.XmlNode_AddChild(*args, **kwargs)
|
||||
def InsertChild(*args, **kwargs): return _xrc.XmlNode_InsertChild(*args, **kwargs)
|
||||
def RemoveChild(*args, **kwargs): return _xrc.XmlNode_RemoveChild(*args, **kwargs)
|
||||
def AddProperty(*args, **kwargs): return _xrc.XmlNode_AddProperty(*args, **kwargs)
|
||||
def AddPropertyName(*args, **kwargs): return _xrc.XmlNode_AddPropertyName(*args, **kwargs)
|
||||
def DeleteProperty(*args, **kwargs): return _xrc.XmlNode_DeleteProperty(*args, **kwargs)
|
||||
def GetType(*args, **kwargs): return _xrc.XmlNode_GetType(*args, **kwargs)
|
||||
def GetName(*args, **kwargs): return _xrc.XmlNode_GetName(*args, **kwargs)
|
||||
def GetContent(*args, **kwargs): return _xrc.XmlNode_GetContent(*args, **kwargs)
|
||||
def GetParent(*args, **kwargs): return _xrc.XmlNode_GetParent(*args, **kwargs)
|
||||
def GetNext(*args, **kwargs): return _xrc.XmlNode_GetNext(*args, **kwargs)
|
||||
def GetChildren(*args, **kwargs): return _xrc.XmlNode_GetChildren(*args, **kwargs)
|
||||
def GetProperties(*args, **kwargs): return _xrc.XmlNode_GetProperties(*args, **kwargs)
|
||||
def GetPropVal(*args, **kwargs): return _xrc.XmlNode_GetPropVal(*args, **kwargs)
|
||||
def HasProp(*args, **kwargs): return _xrc.XmlNode_HasProp(*args, **kwargs)
|
||||
def SetType(*args, **kwargs): return _xrc.XmlNode_SetType(*args, **kwargs)
|
||||
def SetName(*args, **kwargs): return _xrc.XmlNode_SetName(*args, **kwargs)
|
||||
def SetContent(*args, **kwargs): return _xrc.XmlNode_SetContent(*args, **kwargs)
|
||||
def SetParent(*args, **kwargs): return _xrc.XmlNode_SetParent(*args, **kwargs)
|
||||
def SetNext(*args, **kwargs): return _xrc.XmlNode_SetNext(*args, **kwargs)
|
||||
def SetChildren(*args, **kwargs): return _xrc.XmlNode_SetChildren(*args, **kwargs)
|
||||
def SetProperties(*args, **kwargs): return _xrc.XmlNode_SetProperties(*args, **kwargs)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxXmlNode instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
|
||||
def AddChild(*args, **kwargs):
|
||||
"""AddChild(XmlNode child)"""
|
||||
return _xrc.XmlNode_AddChild(*args, **kwargs)
|
||||
|
||||
def InsertChild(*args, **kwargs):
|
||||
"""InsertChild(XmlNode child, XmlNode before_node)"""
|
||||
return _xrc.XmlNode_InsertChild(*args, **kwargs)
|
||||
|
||||
def RemoveChild(*args, **kwargs):
|
||||
"""RemoveChild(XmlNode child) -> bool"""
|
||||
return _xrc.XmlNode_RemoveChild(*args, **kwargs)
|
||||
|
||||
def AddProperty(*args, **kwargs):
|
||||
"""AddProperty(XmlProperty prop)"""
|
||||
return _xrc.XmlNode_AddProperty(*args, **kwargs)
|
||||
|
||||
def AddPropertyName(*args, **kwargs):
|
||||
"""AddPropertyName(wxString name, wxString value)"""
|
||||
return _xrc.XmlNode_AddPropertyName(*args, **kwargs)
|
||||
|
||||
def DeleteProperty(*args, **kwargs):
|
||||
"""DeleteProperty(wxString name) -> bool"""
|
||||
return _xrc.XmlNode_DeleteProperty(*args, **kwargs)
|
||||
|
||||
def GetType(*args, **kwargs):
|
||||
"""GetType() -> wxXmlNodeType"""
|
||||
return _xrc.XmlNode_GetType(*args, **kwargs)
|
||||
|
||||
def GetName(*args, **kwargs):
|
||||
"""GetName() -> wxString"""
|
||||
return _xrc.XmlNode_GetName(*args, **kwargs)
|
||||
|
||||
def GetContent(*args, **kwargs):
|
||||
"""GetContent() -> wxString"""
|
||||
return _xrc.XmlNode_GetContent(*args, **kwargs)
|
||||
|
||||
def GetParent(*args, **kwargs):
|
||||
"""GetParent() -> XmlNode"""
|
||||
return _xrc.XmlNode_GetParent(*args, **kwargs)
|
||||
|
||||
def GetNext(*args, **kwargs):
|
||||
"""GetNext() -> XmlNode"""
|
||||
return _xrc.XmlNode_GetNext(*args, **kwargs)
|
||||
|
||||
def GetChildren(*args, **kwargs):
|
||||
"""GetChildren() -> XmlNode"""
|
||||
return _xrc.XmlNode_GetChildren(*args, **kwargs)
|
||||
|
||||
def GetProperties(*args, **kwargs):
|
||||
"""GetProperties() -> XmlProperty"""
|
||||
return _xrc.XmlNode_GetProperties(*args, **kwargs)
|
||||
|
||||
def GetPropVal(*args, **kwargs):
|
||||
"""GetPropVal(wxString propName, wxString defaultVal) -> wxString"""
|
||||
return _xrc.XmlNode_GetPropVal(*args, **kwargs)
|
||||
|
||||
def HasProp(*args, **kwargs):
|
||||
"""HasProp(wxString propName) -> bool"""
|
||||
return _xrc.XmlNode_HasProp(*args, **kwargs)
|
||||
|
||||
def SetType(*args, **kwargs):
|
||||
"""SetType(wxXmlNodeType type)"""
|
||||
return _xrc.XmlNode_SetType(*args, **kwargs)
|
||||
|
||||
def SetName(*args, **kwargs):
|
||||
"""SetName(wxString name)"""
|
||||
return _xrc.XmlNode_SetName(*args, **kwargs)
|
||||
|
||||
def SetContent(*args, **kwargs):
|
||||
"""SetContent(wxString con)"""
|
||||
return _xrc.XmlNode_SetContent(*args, **kwargs)
|
||||
|
||||
def SetParent(*args, **kwargs):
|
||||
"""SetParent(XmlNode parent)"""
|
||||
return _xrc.XmlNode_SetParent(*args, **kwargs)
|
||||
|
||||
def SetNext(*args, **kwargs):
|
||||
"""SetNext(XmlNode next)"""
|
||||
return _xrc.XmlNode_SetNext(*args, **kwargs)
|
||||
|
||||
def SetChildren(*args, **kwargs):
|
||||
"""SetChildren(XmlNode child)"""
|
||||
return _xrc.XmlNode_SetChildren(*args, **kwargs)
|
||||
|
||||
def SetProperties(*args, **kwargs):
|
||||
"""SetProperties(XmlProperty prop)"""
|
||||
return _xrc.XmlNode_SetProperties(*args, **kwargs)
|
||||
|
||||
|
||||
class XmlNodePtr(XmlNode):
|
||||
def __init__(self, this):
|
||||
@@ -183,33 +387,71 @@ class XmlNodePtr(XmlNode):
|
||||
_xrc.XmlNode_swigregister(XmlNodePtr)
|
||||
|
||||
def XmlNodeEasy(*args, **kwargs):
|
||||
"""XmlNodeEasy(wxXmlNodeType type, wxString name, wxString content=wxPyEmptyString) -> XmlNode"""
|
||||
val = _xrc.new_XmlNodeEasy(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
class XmlDocument(core.Object):
|
||||
""""""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxXmlDocument instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(wxString filename, wxString encoding=wxPyUTF8String) -> XmlDocument"""
|
||||
newobj = _xrc.new_XmlDocument(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def __del__(self, destroy=_xrc.delete_XmlDocument):
|
||||
"""__del__()"""
|
||||
try:
|
||||
if self.thisown: destroy(self)
|
||||
except: pass
|
||||
def Load(*args, **kwargs): return _xrc.XmlDocument_Load(*args, **kwargs)
|
||||
def LoadFromStream(*args, **kwargs): return _xrc.XmlDocument_LoadFromStream(*args, **kwargs)
|
||||
def Save(*args, **kwargs): return _xrc.XmlDocument_Save(*args, **kwargs)
|
||||
def SaveToStream(*args, **kwargs): return _xrc.XmlDocument_SaveToStream(*args, **kwargs)
|
||||
def IsOk(*args, **kwargs): return _xrc.XmlDocument_IsOk(*args, **kwargs)
|
||||
def GetRoot(*args, **kwargs): return _xrc.XmlDocument_GetRoot(*args, **kwargs)
|
||||
def GetVersion(*args, **kwargs): return _xrc.XmlDocument_GetVersion(*args, **kwargs)
|
||||
def GetFileEncoding(*args, **kwargs): return _xrc.XmlDocument_GetFileEncoding(*args, **kwargs)
|
||||
def SetRoot(*args, **kwargs): return _xrc.XmlDocument_SetRoot(*args, **kwargs)
|
||||
def SetVersion(*args, **kwargs): return _xrc.XmlDocument_SetVersion(*args, **kwargs)
|
||||
def SetFileEncoding(*args, **kwargs): return _xrc.XmlDocument_SetFileEncoding(*args, **kwargs)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxXmlDocument instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
|
||||
def Load(*args, **kwargs):
|
||||
"""Load(wxString filename, wxString encoding=wxPyUTF8String) -> bool"""
|
||||
return _xrc.XmlDocument_Load(*args, **kwargs)
|
||||
|
||||
def LoadFromStream(*args, **kwargs):
|
||||
"""LoadFromStream(wxInputStream stream, wxString encoding=wxPyUTF8String) -> bool"""
|
||||
return _xrc.XmlDocument_LoadFromStream(*args, **kwargs)
|
||||
|
||||
def Save(*args, **kwargs):
|
||||
"""Save(wxString filename) -> bool"""
|
||||
return _xrc.XmlDocument_Save(*args, **kwargs)
|
||||
|
||||
def SaveToStream(*args, **kwargs):
|
||||
"""SaveToStream(OutputStream stream) -> bool"""
|
||||
return _xrc.XmlDocument_SaveToStream(*args, **kwargs)
|
||||
|
||||
def IsOk(*args, **kwargs):
|
||||
"""IsOk() -> bool"""
|
||||
return _xrc.XmlDocument_IsOk(*args, **kwargs)
|
||||
|
||||
def GetRoot(*args, **kwargs):
|
||||
"""GetRoot() -> XmlNode"""
|
||||
return _xrc.XmlDocument_GetRoot(*args, **kwargs)
|
||||
|
||||
def GetVersion(*args, **kwargs):
|
||||
"""GetVersion() -> wxString"""
|
||||
return _xrc.XmlDocument_GetVersion(*args, **kwargs)
|
||||
|
||||
def GetFileEncoding(*args, **kwargs):
|
||||
"""GetFileEncoding() -> wxString"""
|
||||
return _xrc.XmlDocument_GetFileEncoding(*args, **kwargs)
|
||||
|
||||
def SetRoot(*args, **kwargs):
|
||||
"""SetRoot(XmlNode node)"""
|
||||
return _xrc.XmlDocument_SetRoot(*args, **kwargs)
|
||||
|
||||
def SetVersion(*args, **kwargs):
|
||||
"""SetVersion(wxString version)"""
|
||||
return _xrc.XmlDocument_SetVersion(*args, **kwargs)
|
||||
|
||||
def SetFileEncoding(*args, **kwargs):
|
||||
"""SetFileEncoding(wxString encoding)"""
|
||||
return _xrc.XmlDocument_SetFileEncoding(*args, **kwargs)
|
||||
|
||||
|
||||
class XmlDocumentPtr(XmlDocument):
|
||||
def __init__(self, this):
|
||||
@@ -219,11 +461,13 @@ class XmlDocumentPtr(XmlDocument):
|
||||
_xrc.XmlDocument_swigregister(XmlDocumentPtr)
|
||||
|
||||
def XmlDocumentFromStream(*args, **kwargs):
|
||||
"""XmlDocumentFromStream(wxInputStream stream, wxString encoding=wxPyUTF8String) -> XmlDocument"""
|
||||
val = _xrc.new_XmlDocumentFromStream(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
def EmptyXmlDocument(*args, **kwargs):
|
||||
"""EmptyXmlDocument() -> XmlDocument"""
|
||||
val = _xrc.new_EmptyXmlDocument(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
return val
|
||||
@@ -231,49 +475,159 @@ def EmptyXmlDocument(*args, **kwargs):
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class XmlResourceHandler(core.Object):
|
||||
""""""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxPyXmlResourceHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__() -> XmlResourceHandler"""
|
||||
newobj = _xrc.new_XmlResourceHandler(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
self._setCallbackInfo(self, XmlResourceHandler)
|
||||
def _setCallbackInfo(*args, **kwargs): return _xrc.XmlResourceHandler__setCallbackInfo(*args, **kwargs)
|
||||
def CreateResource(*args, **kwargs): return _xrc.XmlResourceHandler_CreateResource(*args, **kwargs)
|
||||
def SetParentResource(*args, **kwargs): return _xrc.XmlResourceHandler_SetParentResource(*args, **kwargs)
|
||||
def GetResource(*args, **kwargs): return _xrc.XmlResourceHandler_GetResource(*args, **kwargs)
|
||||
def GetNode(*args, **kwargs): return _xrc.XmlResourceHandler_GetNode(*args, **kwargs)
|
||||
def GetClass(*args, **kwargs): return _xrc.XmlResourceHandler_GetClass(*args, **kwargs)
|
||||
def GetParent(*args, **kwargs): return _xrc.XmlResourceHandler_GetParent(*args, **kwargs)
|
||||
def GetInstance(*args, **kwargs): return _xrc.XmlResourceHandler_GetInstance(*args, **kwargs)
|
||||
def GetParentAsWindow(*args, **kwargs): return _xrc.XmlResourceHandler_GetParentAsWindow(*args, **kwargs)
|
||||
def GetInstanceAsWindow(*args, **kwargs): return _xrc.XmlResourceHandler_GetInstanceAsWindow(*args, **kwargs)
|
||||
def IsOfClass(*args, **kwargs): return _xrc.XmlResourceHandler_IsOfClass(*args, **kwargs)
|
||||
def GetNodeContent(*args, **kwargs): return _xrc.XmlResourceHandler_GetNodeContent(*args, **kwargs)
|
||||
def HasParam(*args, **kwargs): return _xrc.XmlResourceHandler_HasParam(*args, **kwargs)
|
||||
def GetParamNode(*args, **kwargs): return _xrc.XmlResourceHandler_GetParamNode(*args, **kwargs)
|
||||
def GetParamValue(*args, **kwargs): return _xrc.XmlResourceHandler_GetParamValue(*args, **kwargs)
|
||||
def AddStyle(*args, **kwargs): return _xrc.XmlResourceHandler_AddStyle(*args, **kwargs)
|
||||
def AddWindowStyles(*args, **kwargs): return _xrc.XmlResourceHandler_AddWindowStyles(*args, **kwargs)
|
||||
def GetStyle(*args, **kwargs): return _xrc.XmlResourceHandler_GetStyle(*args, **kwargs)
|
||||
def GetText(*args, **kwargs): return _xrc.XmlResourceHandler_GetText(*args, **kwargs)
|
||||
def GetID(*args, **kwargs): return _xrc.XmlResourceHandler_GetID(*args, **kwargs)
|
||||
def GetName(*args, **kwargs): return _xrc.XmlResourceHandler_GetName(*args, **kwargs)
|
||||
def GetBool(*args, **kwargs): return _xrc.XmlResourceHandler_GetBool(*args, **kwargs)
|
||||
def GetLong(*args, **kwargs): return _xrc.XmlResourceHandler_GetLong(*args, **kwargs)
|
||||
def GetColour(*args, **kwargs): return _xrc.XmlResourceHandler_GetColour(*args, **kwargs)
|
||||
def GetSize(*args, **kwargs): return _xrc.XmlResourceHandler_GetSize(*args, **kwargs)
|
||||
def GetPosition(*args, **kwargs): return _xrc.XmlResourceHandler_GetPosition(*args, **kwargs)
|
||||
def GetDimension(*args, **kwargs): return _xrc.XmlResourceHandler_GetDimension(*args, **kwargs)
|
||||
def GetBitmap(*args, **kwargs): return _xrc.XmlResourceHandler_GetBitmap(*args, **kwargs)
|
||||
def GetIcon(*args, **kwargs): return _xrc.XmlResourceHandler_GetIcon(*args, **kwargs)
|
||||
def GetFont(*args, **kwargs): return _xrc.XmlResourceHandler_GetFont(*args, **kwargs)
|
||||
def SetupWindow(*args, **kwargs): return _xrc.XmlResourceHandler_SetupWindow(*args, **kwargs)
|
||||
def CreateChildren(*args, **kwargs): return _xrc.XmlResourceHandler_CreateChildren(*args, **kwargs)
|
||||
def CreateChildrenPrivately(*args, **kwargs): return _xrc.XmlResourceHandler_CreateChildrenPrivately(*args, **kwargs)
|
||||
def CreateResFromNode(*args, **kwargs): return _xrc.XmlResourceHandler_CreateResFromNode(*args, **kwargs)
|
||||
def GetCurFileSystem(*args, **kwargs): return _xrc.XmlResourceHandler_GetCurFileSystem(*args, **kwargs)
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxPyXmlResourceHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
|
||||
def _setCallbackInfo(*args, **kwargs):
|
||||
"""_setCallbackInfo(PyObject self, PyObject _class)"""
|
||||
return _xrc.XmlResourceHandler__setCallbackInfo(*args, **kwargs)
|
||||
|
||||
def CreateResource(*args, **kwargs):
|
||||
"""CreateResource(XmlNode node, Object parent, Object instance) -> Object"""
|
||||
return _xrc.XmlResourceHandler_CreateResource(*args, **kwargs)
|
||||
|
||||
def SetParentResource(*args, **kwargs):
|
||||
"""SetParentResource(XmlResource res)"""
|
||||
return _xrc.XmlResourceHandler_SetParentResource(*args, **kwargs)
|
||||
|
||||
def GetResource(*args, **kwargs):
|
||||
"""GetResource() -> XmlResource"""
|
||||
return _xrc.XmlResourceHandler_GetResource(*args, **kwargs)
|
||||
|
||||
def GetNode(*args, **kwargs):
|
||||
"""GetNode() -> XmlNode"""
|
||||
return _xrc.XmlResourceHandler_GetNode(*args, **kwargs)
|
||||
|
||||
def GetClass(*args, **kwargs):
|
||||
"""GetClass() -> wxString"""
|
||||
return _xrc.XmlResourceHandler_GetClass(*args, **kwargs)
|
||||
|
||||
def GetParent(*args, **kwargs):
|
||||
"""GetParent() -> Object"""
|
||||
return _xrc.XmlResourceHandler_GetParent(*args, **kwargs)
|
||||
|
||||
def GetInstance(*args, **kwargs):
|
||||
"""GetInstance() -> Object"""
|
||||
return _xrc.XmlResourceHandler_GetInstance(*args, **kwargs)
|
||||
|
||||
def GetParentAsWindow(*args, **kwargs):
|
||||
"""GetParentAsWindow() -> Window"""
|
||||
return _xrc.XmlResourceHandler_GetParentAsWindow(*args, **kwargs)
|
||||
|
||||
def GetInstanceAsWindow(*args, **kwargs):
|
||||
"""GetInstanceAsWindow() -> Window"""
|
||||
return _xrc.XmlResourceHandler_GetInstanceAsWindow(*args, **kwargs)
|
||||
|
||||
def IsOfClass(*args, **kwargs):
|
||||
"""IsOfClass(XmlNode node, wxString classname) -> bool"""
|
||||
return _xrc.XmlResourceHandler_IsOfClass(*args, **kwargs)
|
||||
|
||||
def GetNodeContent(*args, **kwargs):
|
||||
"""GetNodeContent(XmlNode node) -> wxString"""
|
||||
return _xrc.XmlResourceHandler_GetNodeContent(*args, **kwargs)
|
||||
|
||||
def HasParam(*args, **kwargs):
|
||||
"""HasParam(wxString param) -> bool"""
|
||||
return _xrc.XmlResourceHandler_HasParam(*args, **kwargs)
|
||||
|
||||
def GetParamNode(*args, **kwargs):
|
||||
"""GetParamNode(wxString param) -> XmlNode"""
|
||||
return _xrc.XmlResourceHandler_GetParamNode(*args, **kwargs)
|
||||
|
||||
def GetParamValue(*args, **kwargs):
|
||||
"""GetParamValue(wxString param) -> wxString"""
|
||||
return _xrc.XmlResourceHandler_GetParamValue(*args, **kwargs)
|
||||
|
||||
def AddStyle(*args, **kwargs):
|
||||
"""AddStyle(wxString name, int value)"""
|
||||
return _xrc.XmlResourceHandler_AddStyle(*args, **kwargs)
|
||||
|
||||
def AddWindowStyles(*args, **kwargs):
|
||||
"""AddWindowStyles()"""
|
||||
return _xrc.XmlResourceHandler_AddWindowStyles(*args, **kwargs)
|
||||
|
||||
def GetStyle(*args, **kwargs):
|
||||
"""GetStyle(wxString param=wxPyStyleString, int defaults=0) -> int"""
|
||||
return _xrc.XmlResourceHandler_GetStyle(*args, **kwargs)
|
||||
|
||||
def GetText(*args, **kwargs):
|
||||
"""GetText(wxString param, bool translate=True) -> wxString"""
|
||||
return _xrc.XmlResourceHandler_GetText(*args, **kwargs)
|
||||
|
||||
def GetID(*args, **kwargs):
|
||||
"""GetID() -> int"""
|
||||
return _xrc.XmlResourceHandler_GetID(*args, **kwargs)
|
||||
|
||||
def GetName(*args, **kwargs):
|
||||
"""GetName() -> wxString"""
|
||||
return _xrc.XmlResourceHandler_GetName(*args, **kwargs)
|
||||
|
||||
def GetBool(*args, **kwargs):
|
||||
"""GetBool(wxString param, bool defaultv=False) -> bool"""
|
||||
return _xrc.XmlResourceHandler_GetBool(*args, **kwargs)
|
||||
|
||||
def GetLong(*args, **kwargs):
|
||||
"""GetLong(wxString param, long defaultv=0) -> long"""
|
||||
return _xrc.XmlResourceHandler_GetLong(*args, **kwargs)
|
||||
|
||||
def GetColour(*args, **kwargs):
|
||||
"""GetColour(wxString param) -> wxColour"""
|
||||
return _xrc.XmlResourceHandler_GetColour(*args, **kwargs)
|
||||
|
||||
def GetSize(*args, **kwargs):
|
||||
"""GetSize(wxString param=wxPySizeString) -> Size"""
|
||||
return _xrc.XmlResourceHandler_GetSize(*args, **kwargs)
|
||||
|
||||
def GetPosition(*args, **kwargs):
|
||||
"""GetPosition(wxString param=wxPyPosString) -> Point"""
|
||||
return _xrc.XmlResourceHandler_GetPosition(*args, **kwargs)
|
||||
|
||||
def GetDimension(*args, **kwargs):
|
||||
"""GetDimension(wxString param, int defaultv=0) -> int"""
|
||||
return _xrc.XmlResourceHandler_GetDimension(*args, **kwargs)
|
||||
|
||||
def GetBitmap(*args, **kwargs):
|
||||
"""GetBitmap(wxString param=wxPyBitmapString, wxArtClient defaultArtClient=wxART_OTHER,
|
||||
Size size=DefaultSize) -> wxBitmap"""
|
||||
return _xrc.XmlResourceHandler_GetBitmap(*args, **kwargs)
|
||||
|
||||
def GetIcon(*args, **kwargs):
|
||||
"""GetIcon(wxString param=wxPyIconString, wxArtClient defaultArtClient=wxART_OTHER,
|
||||
Size size=DefaultSize) -> wxIcon"""
|
||||
return _xrc.XmlResourceHandler_GetIcon(*args, **kwargs)
|
||||
|
||||
def GetFont(*args, **kwargs):
|
||||
"""GetFont(wxString param=wxPyFontString) -> wxFont"""
|
||||
return _xrc.XmlResourceHandler_GetFont(*args, **kwargs)
|
||||
|
||||
def SetupWindow(*args, **kwargs):
|
||||
"""SetupWindow(Window wnd)"""
|
||||
return _xrc.XmlResourceHandler_SetupWindow(*args, **kwargs)
|
||||
|
||||
def CreateChildren(*args, **kwargs):
|
||||
"""CreateChildren(Object parent, bool this_hnd_only=False)"""
|
||||
return _xrc.XmlResourceHandler_CreateChildren(*args, **kwargs)
|
||||
|
||||
def CreateChildrenPrivately(*args, **kwargs):
|
||||
"""CreateChildrenPrivately(Object parent, XmlNode rootnode=None)"""
|
||||
return _xrc.XmlResourceHandler_CreateChildrenPrivately(*args, **kwargs)
|
||||
|
||||
def CreateResFromNode(*args, **kwargs):
|
||||
"""CreateResFromNode(XmlNode node, Object parent, Object instance=None) -> Object"""
|
||||
return _xrc.XmlResourceHandler_CreateResFromNode(*args, **kwargs)
|
||||
|
||||
def GetCurFileSystem(*args, **kwargs):
|
||||
"""GetCurFileSystem() -> FileSystem"""
|
||||
return _xrc.XmlResourceHandler_GetCurFileSystem(*args, **kwargs)
|
||||
|
||||
|
||||
class XmlResourceHandlerPtr(XmlResourceHandler):
|
||||
def __init__(self, this):
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user