X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/15d9a04c6877a2f730b679402e6798aaace16e3a..6a30d63aeddf193ee6e672ce29911a8d29f4fe03:/wxPython/contrib/gizmos/gizmos.py diff --git a/wxPython/contrib/gizmos/gizmos.py b/wxPython/contrib/gizmos/gizmos.py index bbd10067db..822bebeb25 100644 --- a/wxPython/contrib/gizmos/gizmos.py +++ b/wxPython/contrib/gizmos/gizmos.py @@ -1,726 +1,373 @@ # This file was created automatically by SWIG. -import gizmosc - -from misc import * - -from misc2 import * - -from windows import * - -from gdi import * - -from fonts import * - -from clip_dnd import * - -from events import * - -from streams import * - -from utils import * - -from mdi import * - -from frames import * - -from stattool import * - -from controls import * - -from controls2 import * - -from windows2 import * - -from cmndlgs import * - -from windows3 import * - -from image import * - -from printfw import * - -from sizers import * - -from filesys import * - -def EVT_DYNAMIC_SASH_SPLIT(win, id, func): - win.Connect(id, -1, wxEVT_DYNAMIC_SASH_SPLIT, func) - -def EVT_DYNAMIC_SASH_UNIFY(win, id, func): - win.Connect(id, -1, wxEVT_DYNAMIC_SASH_UNIFY, func) - -class wxDynamicSashSplitEventPtr(wxCommandEventPtr): - def __init__(self,this): - self.this = this - self.thisown = 0 - def __repr__(self): - return "<%s.%s instance; proxy of C++ wxDynamicSashSplitEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) -class wxDynamicSashSplitEvent(wxDynamicSashSplitEventPtr): - def __init__(self,*_args,**_kwargs): - self.this = gizmosc.new_wxDynamicSashSplitEvent(*_args,**_kwargs) +# Don't modify this file, modify the SWIG interface instead. + +import _gizmos + +import windows +import core +import controls +wx = core +wxEVT_DYNAMIC_SASH_SPLIT = _gizmos.wxEVT_DYNAMIC_SASH_SPLIT +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 __init__(self, *args, **kwargs): + 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 wxDynamicSashUnifyEventPtr(wxCommandEventPtr): - def __init__(self,this): +class DynamicSashSplitEventPtr(DynamicSashSplitEvent): + def __init__(self, this): self.this = this - self.thisown = 0 - def __repr__(self): - return "<%s.%s instance; proxy of C++ wxDynamicSashUnifyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) -class wxDynamicSashUnifyEvent(wxDynamicSashUnifyEventPtr): - def __init__(self,*_args,**_kwargs): - self.this = gizmosc.new_wxDynamicSashUnifyEvent(*_args,**_kwargs) + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = DynamicSashSplitEvent +_gizmos.DynamicSashSplitEvent_swigregister(DynamicSashSplitEventPtr) + +class DynamicSashUnifyEvent(core.CommandEvent): + def __init__(self, *args, **kwargs): + 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 wxDynamicSashWindowPtr(wxWindowPtr): - def __init__(self,this): +class DynamicSashUnifyEventPtr(DynamicSashUnifyEvent): + def __init__(self, this): self.this = this - self.thisown = 0 - def Create(self, *_args, **_kwargs): - val = gizmosc.wxDynamicSashWindow_Create(self, *_args, **_kwargs) - return val - def GetHScrollBar(self, *_args, **_kwargs): - val = gizmosc.wxDynamicSashWindow_GetHScrollBar(self, *_args, **_kwargs) - if val: val = wxScrollBarPtr(val) - return val - def GetVScrollBar(self, *_args, **_kwargs): - val = gizmosc.wxDynamicSashWindow_GetVScrollBar(self, *_args, **_kwargs) - if val: val = wxScrollBarPtr(val) - return val - def __repr__(self): - return "<%s.%s instance; proxy of C++ wxDynamicSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) -class wxDynamicSashWindow(wxDynamicSashWindowPtr): - def __init__(self,*_args,**_kwargs): - self.this = gizmosc.new_wxDynamicSashWindow(*_args,**_kwargs) + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = DynamicSashUnifyEvent +_gizmos.DynamicSashUnifyEvent_swigregister(DynamicSashUnifyEventPtr) + +class DynamicSashWindow(core.Window): + def __init__(self, *args, **kwargs): + 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,) +class DynamicSashWindowPtr(DynamicSashWindow): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = DynamicSashWindow +_gizmos.DynamicSashWindow_swigregister(DynamicSashWindowPtr) - -def wxPreDynamicSashWindow(*_args,**_kwargs): - val = wxDynamicSashWindowPtr(gizmosc.new_wxPreDynamicSashWindow(*_args,**_kwargs)) +def PreDynamicSashWindow(*args, **kwargs): + val = _gizmos.new_PreDynamicSashWindow(*args, **kwargs) val.thisown = 1 - val._setOORInfo(val) return val +EVT_DYNAMIC_SASH_SPLIT = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_SPLIT, 1 ) +EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 ) -class wxEditableListBoxPtr(wxPanelPtr): - def __init__(self,this): - self.this = this - self.thisown = 0 - def SetStrings(self, *_args, **_kwargs): - val = gizmosc.wxEditableListBox_SetStrings(self, *_args, **_kwargs) - return val - def GetStrings(self, *_args, **_kwargs): - val = gizmosc.wxEditableListBox_GetStrings(self, *_args, **_kwargs) - return val - def GetListCtrl(self, *_args, **_kwargs): - val = gizmosc.wxEditableListBox_GetListCtrl(self, *_args, **_kwargs) - return val - def GetDelButton(self, *_args, **_kwargs): - val = gizmosc.wxEditableListBox_GetDelButton(self, *_args, **_kwargs) - return val - def GetNewButton(self, *_args, **_kwargs): - val = gizmosc.wxEditableListBox_GetNewButton(self, *_args, **_kwargs) - return val - def GetUpButton(self, *_args, **_kwargs): - val = gizmosc.wxEditableListBox_GetUpButton(self, *_args, **_kwargs) - return val - def GetDownButton(self, *_args, **_kwargs): - val = gizmosc.wxEditableListBox_GetDownButton(self, *_args, **_kwargs) - return val - def GetEditButton(self, *_args, **_kwargs): - val = gizmosc.wxEditableListBox_GetEditButton(self, *_args, **_kwargs) - return val - def __repr__(self): - return "<%s.%s instance; proxy of C++ wxEditableListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) -class wxEditableListBox(wxEditableListBoxPtr): - def __init__(self,*_args,**_kwargs): - self.this = gizmosc.new_wxEditableListBox(*_args,**_kwargs) +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 __init__(self, *args, **kwargs): + 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,) - - - -class wxRemotelyScrolledTreeCtrlPtr(wxTreeCtrlPtr): - def __init__(self,this): +class EditableListBoxPtr(EditableListBox): + def __init__(self, this): self.this = this - self.thisown = 0 - def HideVScrollbar(self, *_args, **_kwargs): - val = gizmosc.wxRemotelyScrolledTreeCtrl_HideVScrollbar(self, *_args, **_kwargs) - return val - def AdjustRemoteScrollbars(self, *_args, **_kwargs): - val = gizmosc.wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(self, *_args, **_kwargs) - return val - def GetScrolledWindow(self, *_args, **_kwargs): - val = gizmosc.wxRemotelyScrolledTreeCtrl_GetScrolledWindow(self, *_args, **_kwargs) - if val: val = wxScrolledWindowPtr(val) - return val - def ScrollToLine(self, *_args, **_kwargs): - val = gizmosc.wxRemotelyScrolledTreeCtrl_ScrollToLine(self, *_args, **_kwargs) - return val - def SetCompanionWindow(self, *_args, **_kwargs): - val = gizmosc.wxRemotelyScrolledTreeCtrl_SetCompanionWindow(self, *_args, **_kwargs) - return val - def GetCompanionWindow(self, *_args, **_kwargs): - val = gizmosc.wxRemotelyScrolledTreeCtrl_GetCompanionWindow(self, *_args, **_kwargs) - return val - def __repr__(self): - return "<%s.%s instance; proxy of C++ wxRemotelyScrolledTreeCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) -class wxRemotelyScrolledTreeCtrl(wxRemotelyScrolledTreeCtrlPtr): - def __init__(self,*_args,**_kwargs): - self.this = gizmosc.new_wxRemotelyScrolledTreeCtrl(*_args,**_kwargs) + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = EditableListBox +_gizmos.EditableListBox_swigregister(EditableListBoxPtr) + +class RemotelyScrolledTreeCtrl(controls.TreeCtrl): + def __init__(self, *args, **kwargs): + 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,) - - - -class wxTreeCompanionWindowPtr(wxWindowPtr): - def __init__(self,this): +class RemotelyScrolledTreeCtrlPtr(RemotelyScrolledTreeCtrl): + def __init__(self, this): self.this = this - self.thisown = 0 - def _setCallbackInfo(self, *_args, **_kwargs): - val = gizmosc.wxTreeCompanionWindow__setCallbackInfo(self, *_args, **_kwargs) - return val - def GetTreeCtrl(self, *_args, **_kwargs): - val = gizmosc.wxTreeCompanionWindow_GetTreeCtrl(self, *_args, **_kwargs) - if val: val = wxRemotelyScrolledTreeCtrlPtr(val) - return val - def SetTreeCtrl(self, *_args, **_kwargs): - val = gizmosc.wxTreeCompanionWindow_SetTreeCtrl(self, *_args, **_kwargs) - return val - def __repr__(self): - return "<%s.%s instance; proxy of C++ wxTreeCompanionWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) -class wxTreeCompanionWindow(wxTreeCompanionWindowPtr): - def __init__(self,*_args,**_kwargs): - self.this = gizmosc.new_wxTreeCompanionWindow(*_args,**_kwargs) + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = RemotelyScrolledTreeCtrl +_gizmos.RemotelyScrolledTreeCtrl_swigregister(RemotelyScrolledTreeCtrlPtr) + +class TreeCompanionWindow(core.Window): + def __init__(self, *args, **kwargs): + newobj = _gizmos.new_TreeCompanionWindow(*args, **kwargs) + self.this = newobj.this self.thisown = 1 - self._setCallbackInfo(self, wxTreeCompanionWindow) - self._setOORInfo(self) - - - + 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,) -class wxThinSplitterWindowPtr(wxSplitterWindowPtr): - def __init__(self,this): +class TreeCompanionWindowPtr(TreeCompanionWindow): + def __init__(self, this): self.this = this - self.thisown = 0 - def __repr__(self): - return "<%s.%s instance; proxy of C++ wxThinSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) -class wxThinSplitterWindow(wxThinSplitterWindowPtr): - def __init__(self,*_args,**_kwargs): - self.this = gizmosc.new_wxThinSplitterWindow(*_args,**_kwargs) + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = TreeCompanionWindow +_gizmos.TreeCompanionWindow_swigregister(TreeCompanionWindowPtr) + +class ThinSplitterWindow(windows.SplitterWindow): + def __init__(self, *args, **kwargs): + 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 wxSplitterScrolledWindowPtr(wxScrolledWindowPtr): - def __init__(self,this): +class ThinSplitterWindowPtr(ThinSplitterWindow): + def __init__(self, this): self.this = this - self.thisown = 0 - def __repr__(self): - return "<%s.%s instance; proxy of C++ wxSplitterScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) -class wxSplitterScrolledWindow(wxSplitterScrolledWindowPtr): - def __init__(self,*_args,**_kwargs): - self.this = gizmosc.new_wxSplitterScrolledWindow(*_args,**_kwargs) + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = ThinSplitterWindow +_gizmos.ThinSplitterWindow_swigregister(ThinSplitterWindowPtr) + +class SplitterScrolledWindow(windows.ScrolledWindow): + def __init__(self, *args, **kwargs): + 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 wxLEDNumberCtrlPtr(wxControlPtr): - def __init__(self,this): +class SplitterScrolledWindowPtr(SplitterScrolledWindow): + def __init__(self, this): self.this = this - self.thisown = 0 - def Create(self, *_args, **_kwargs): - val = gizmosc.wxLEDNumberCtrl_Create(self, *_args, **_kwargs) - return val - def GetAlignment(self, *_args, **_kwargs): - val = gizmosc.wxLEDNumberCtrl_GetAlignment(self, *_args, **_kwargs) - return val - def GetDrawFaded(self, *_args, **_kwargs): - val = gizmosc.wxLEDNumberCtrl_GetDrawFaded(self, *_args, **_kwargs) - return val - def GetValue(self, *_args, **_kwargs): - val = gizmosc.wxLEDNumberCtrl_GetValue(self, *_args, **_kwargs) - return val - def SetAlignment(self, *_args, **_kwargs): - val = gizmosc.wxLEDNumberCtrl_SetAlignment(self, *_args, **_kwargs) - return val - def SetDrawFaded(self, *_args, **_kwargs): - val = gizmosc.wxLEDNumberCtrl_SetDrawFaded(self, *_args, **_kwargs) - return val - def SetValue(self, *_args, **_kwargs): - val = gizmosc.wxLEDNumberCtrl_SetValue(self, *_args, **_kwargs) - return val - def __repr__(self): - return "<%s.%s instance; proxy of C++ wxLEDNumberCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) -class wxLEDNumberCtrl(wxLEDNumberCtrlPtr): - def __init__(self,*_args,**_kwargs): - self.this = gizmosc.new_wxLEDNumberCtrl(*_args,**_kwargs) + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = SplitterScrolledWindow +_gizmos.SplitterScrolledWindow_swigregister(SplitterScrolledWindowPtr) + +LED_ALIGN_LEFT = _gizmos.LED_ALIGN_LEFT +LED_ALIGN_RIGHT = _gizmos.LED_ALIGN_RIGHT +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 __init__(self, *args, **kwargs): + 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,) +class LEDNumberCtrlPtr(LEDNumberCtrl): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = LEDNumberCtrl +_gizmos.LEDNumberCtrl_swigregister(LEDNumberCtrlPtr) - -def wxPreLEDNumberCtrl(*_args,**_kwargs): - val = wxLEDNumberCtrlPtr(gizmosc.new_wxPreLEDNumberCtrl(*_args,**_kwargs)) +def PreLEDNumberCtrl(*args, **kwargs): + val = _gizmos.new_PreLEDNumberCtrl(*args, **kwargs) val.thisown = 1 - val._setOORInfo(val) return val - -class wxTreeListColumnInfoPtr(wxObjectPtr): - def __init__(self,this): - self.this = this - self.thisown = 0 - def GetAlignment(self, *_args, **_kwargs): - val = gizmosc.wxTreeListColumnInfo_GetAlignment(self, *_args, **_kwargs) - return val - def GetText(self, *_args, **_kwargs): - val = gizmosc.wxTreeListColumnInfo_GetText(self, *_args, **_kwargs) - return val - def GetImage(self, *_args, **_kwargs): - val = gizmosc.wxTreeListColumnInfo_GetImage(self, *_args, **_kwargs) - return val - def GetSelectedImage(self, *_args, **_kwargs): - val = gizmosc.wxTreeListColumnInfo_GetSelectedImage(self, *_args, **_kwargs) - return val - def GetWidth(self, *_args, **_kwargs): - val = gizmosc.wxTreeListColumnInfo_GetWidth(self, *_args, **_kwargs) - return val - def SetAlignment(self, *_args, **_kwargs): - val = gizmosc.wxTreeListColumnInfo_SetAlignment(self, *_args, **_kwargs) - return val - def SetText(self, *_args, **_kwargs): - val = gizmosc.wxTreeListColumnInfo_SetText(self, *_args, **_kwargs) - return val - def SetImage(self, *_args, **_kwargs): - val = gizmosc.wxTreeListColumnInfo_SetImage(self, *_args, **_kwargs) - return val - def SetSelectedImage(self, *_args, **_kwargs): - val = gizmosc.wxTreeListColumnInfo_SetSelectedImage(self, *_args, **_kwargs) - return val - def SetWidth(self, *_args, **_kwargs): - val = gizmosc.wxTreeListColumnInfo_SetWidth(self, *_args, **_kwargs) - return val - def __repr__(self): - return "<%s.%s instance; proxy of C++ wxTreeListColumnInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) -class wxTreeListColumnInfo(wxTreeListColumnInfoPtr): - def __init__(self,*_args,**_kwargs): - self.this = gizmosc.new_wxTreeListColumnInfo(*_args,**_kwargs) +TL_ALIGN_LEFT = _gizmos.TL_ALIGN_LEFT +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 __init__(self, *args, **kwargs): + newobj = _gizmos.new_TreeListColumnInfo(*args, **kwargs) + self.this = newobj.this self.thisown = 1 - - - - -class wxTreeListCtrlPtr(wxControlPtr): - def __init__(self,this): - self.this = this - self.thisown = 0 - def Create(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_Create(self, *_args, **_kwargs) - return val - def _setCallbackInfo(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl__setCallbackInfo(self, *_args, **_kwargs) - return val - def GetCount(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetCount(self, *_args, **_kwargs) - return val - def GetIndent(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetIndent(self, *_args, **_kwargs) - return val - def SetIndent(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_SetIndent(self, *_args, **_kwargs) - return val - def GetSpacing(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetSpacing(self, *_args, **_kwargs) - return val - def SetSpacing(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_SetSpacing(self, *_args, **_kwargs) - return val - def GetLineSpacing(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetLineSpacing(self, *_args, **_kwargs) - return val - def SetLineSpacing(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_SetLineSpacing(self, *_args, **_kwargs) - return val - def GetImageList(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetImageList(self, *_args, **_kwargs) - return val - def GetStateImageList(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetStateImageList(self, *_args, **_kwargs) - return val - def GetButtonsImageList(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetButtonsImageList(self, *_args, **_kwargs) - return val - def SetImageList(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_SetImageList(self, *_args, **_kwargs) - return val - def SetStateImageList(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_SetStateImageList(self, *_args, **_kwargs) - return val - def SetButtonsImageList(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_SetButtonsImageList(self, *_args, **_kwargs) - return val - def AssignImageList(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_AssignImageList(self, *_args, **_kwargs) - _args[0].thisown = 0 - return val - def AssignStateImageList(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_AssignStateImageList(self, *_args, **_kwargs) - _args[0].thisown = 0 - return val - def AssignButtonsImageList(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_AssignButtonsImageList(self, *_args, **_kwargs) - _args[0].thisown = 0 - return val - def AddColumn(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_AddColumn(self, *_args, **_kwargs) - return val - def AddColumnInfo(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_AddColumnInfo(self, *_args, **_kwargs) - return val - def InsertColumn(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_InsertColumn(self, *_args, **_kwargs) - return val - def InsertColumnInfo(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_InsertColumnInfo(self, *_args, **_kwargs) - return val - def RemoveColumn(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_RemoveColumn(self, *_args, **_kwargs) - return val - def GetColumnCount(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetColumnCount(self, *_args, **_kwargs) - return val - def SetColumnWidth(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_SetColumnWidth(self, *_args, **_kwargs) - return val - def GetColumnWidth(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetColumnWidth(self, *_args, **_kwargs) - return val - def SetMainColumn(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_SetMainColumn(self, *_args, **_kwargs) - return val - def GetMainColumn(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetMainColumn(self, *_args, **_kwargs) - return val - def SetColumnText(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_SetColumnText(self, *_args, **_kwargs) - return val - def GetColumnText(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetColumnText(self, *_args, **_kwargs) - return val - def SetColumn(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_SetColumn(self, *_args, **_kwargs) - return val - def GetColumn(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetColumn(self, *_args, **_kwargs) - if val: val = wxTreeListColumnInfoPtr(val) - return val - def SetColumnAlignment(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_SetColumnAlignment(self, *_args, **_kwargs) - return val - def GetColumnAlignment(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetColumnAlignment(self, *_args, **_kwargs) - return val - def SetColumnImage(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_SetColumnImage(self, *_args, **_kwargs) - return val - def GetColumnImage(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetColumnImage(self, *_args, **_kwargs) - return val - def GetItemText(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetItemText(self, *_args, **_kwargs) - return val - def GetItemImage(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetItemImage(self, *_args, **_kwargs) - return val - def SetItemText(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_SetItemText(self, *_args, **_kwargs) - return val - def SetItemImage(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_SetItemImage(self, *_args, **_kwargs) - return val - def GetItemData(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetItemData(self, *_args, **_kwargs) - if val: val = wxTreeItemDataPtr(val) - return val - def SetItemData(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_SetItemData(self, *_args, **_kwargs) - return val - def GetPyData(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetPyData(self, *_args, **_kwargs) - return val - def SetPyData(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_SetPyData(self, *_args, **_kwargs) - return val - def SetItemHasChildren(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_SetItemHasChildren(self, *_args, **_kwargs) - return val - def SetItemBold(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_SetItemBold(self, *_args, **_kwargs) - return val - def SetItemTextColour(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_SetItemTextColour(self, *_args, **_kwargs) - return val - def SetItemBackgroundColour(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_SetItemBackgroundColour(self, *_args, **_kwargs) - return val - def SetItemFont(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_SetItemFont(self, *_args, **_kwargs) - return val - def GetItemBold(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetItemBold(self, *_args, **_kwargs) - return val - def GetItemTextColour(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetItemTextColour(self, *_args, **_kwargs) - if val: val = wxColourPtr(val) ; val.thisown = 1 - return val - def GetItemBackgroundColour(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetItemBackgroundColour(self, *_args, **_kwargs) - if val: val = wxColourPtr(val) ; val.thisown = 1 - return val - def GetItemFont(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetItemFont(self, *_args, **_kwargs) - if val: val = wxFontPtr(val) ; val.thisown = 1 - return val - def IsVisible(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_IsVisible(self, *_args, **_kwargs) - return val - def ItemHasChildren(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_ItemHasChildren(self, *_args, **_kwargs) - return val - def IsExpanded(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_IsExpanded(self, *_args, **_kwargs) - return val - def IsSelected(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_IsSelected(self, *_args, **_kwargs) - return val - def IsBold(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_IsBold(self, *_args, **_kwargs) - return val - def GetChildrenCount(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetChildrenCount(self, *_args, **_kwargs) - return val - def GetRootItem(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetRootItem(self, *_args, **_kwargs) - if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 - return val - def GetSelection(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetSelection(self, *_args, **_kwargs) - if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 - return val - def GetSelections(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetSelections(self, *_args, **_kwargs) - return val - def GetItemParent(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetItemParent(self, *_args, **_kwargs) - if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 - return val - def GetFirstChild(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetFirstChild(self, *_args, **_kwargs) - return val - def GetNextChild(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetNextChild(self, *_args, **_kwargs) - return val - def GetLastChild(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetLastChild(self, *_args, **_kwargs) - if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 - return val - def GetNextSibling(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetNextSibling(self, *_args, **_kwargs) - if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 - return val - def GetPrevSibling(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetPrevSibling(self, *_args, **_kwargs) - if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 - return val - def GetFirstVisibleItem(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetFirstVisibleItem(self, *_args, **_kwargs) - if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 - return val - def GetNextVisible(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetNextVisible(self, *_args, **_kwargs) - if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 - return val - def GetPrevVisible(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetPrevVisible(self, *_args, **_kwargs) - if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 - return val - def GetNext(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetNext(self, *_args, **_kwargs) - if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 - return val - def AddRoot(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_AddRoot(self, *_args, **_kwargs) - if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 - return val - def PrependItem(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_PrependItem(self, *_args, **_kwargs) - if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 - return val - def InsertItem(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_InsertItem(self, *_args, **_kwargs) - if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 - return val - def InsertItemBefore(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_InsertItemBefore(self, *_args, **_kwargs) - if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 - return val - def AppendItem(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_AppendItem(self, *_args, **_kwargs) - if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 - return val - def Delete(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_Delete(self, *_args, **_kwargs) - return val - def DeleteChildren(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_DeleteChildren(self, *_args, **_kwargs) - return val - def DeleteAllItems(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_DeleteAllItems(self, *_args, **_kwargs) - return val - def Expand(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_Expand(self, *_args, **_kwargs) - return val - def ExpandAll(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_ExpandAll(self, *_args, **_kwargs) - return val - def Collapse(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_Collapse(self, *_args, **_kwargs) - return val - def CollapseAndReset(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_CollapseAndReset(self, *_args, **_kwargs) - return val - def Toggle(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_Toggle(self, *_args, **_kwargs) - return val - def Unselect(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_Unselect(self, *_args, **_kwargs) - return val - def UnselectAll(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_UnselectAll(self, *_args, **_kwargs) - return val - def SelectItem(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_SelectItem(self, *_args, **_kwargs) - return val - def EnsureVisible(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_EnsureVisible(self, *_args, **_kwargs) - return val - def ScrollTo(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_ScrollTo(self, *_args, **_kwargs) - return val - def HitTest(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_HitTest(self, *_args, **_kwargs) - return val - def GetBoundingRect(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetBoundingRect(self, *_args, **_kwargs) - return val - def EditLabel(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_EditLabel(self, *_args, **_kwargs) - return val - def Edit(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_Edit(self, *_args, **_kwargs) - return val - def SortChildren(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_SortChildren(self, *_args, **_kwargs) - return val - def GetItemSelectedImage(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetItemSelectedImage(self, *_args, **_kwargs) - return val - def SetItemSelectedImage(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_SetItemSelectedImage(self, *_args, **_kwargs) - return val - def GetHeaderWindow(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetHeaderWindow(self, *_args, **_kwargs) - return val - def GetMainWindow(self, *_args, **_kwargs): - val = gizmosc.wxTreeListCtrl_GetMainWindow(self, *_args, **_kwargs) - return val + 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 instance; proxy of C++ wxTreeListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) - - # Redefine some methods that SWIG gets a bit confused on... - def GetFirstChild(self, *_args, **_kwargs): - val1,val2 = gizmosc.wxTreeListCtrl_GetFirstChild(self, *_args, **_kwargs) - val1 = wxTreeItemIdPtr(val1) - val1.thisown = 1 - return (val1,val2) - def GetNextChild(self, *_args, **_kwargs): - val1,val2 = gizmosc.wxTreeListCtrl_GetNextChild(self, *_args, **_kwargs) - val1 = wxTreeItemIdPtr(val1) - val1.thisown = 1 - return (val1,val2) - def HitTest(self, *_args, **_kwargs): - val1, val2, val3 = gizmosc.wxTreeListCtrl_HitTest(self, *_args, **_kwargs) - val1 = wxTreeItemIdPtr(val1) - val1.thisown = 1 - return (val1, val2, val3) + return "<%s.%s; proxy of C++ wxTreeListColumnInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) -class wxTreeListCtrl(wxTreeListCtrlPtr): - def __init__(self,*_args,**_kwargs): - self.this = gizmosc.new_wxTreeListCtrl(*_args,**_kwargs) +class TreeListColumnInfoPtr(TreeListColumnInfo): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = TreeListColumnInfo +_gizmos.TreeListColumnInfo_swigregister(TreeListColumnInfoPtr) + +class TreeListCtrl(core.Control): + def __init__(self, *args, **kwargs): + newobj = _gizmos.new_TreeListCtrl(*args, **kwargs) + self.this = newobj.this self.thisown = 1 - self._setCallbackInfo(self, wxTreeListCtrl) - self._setOORInfo(self) - + 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): + val = _gizmos.TreeListCtrl_AssignImageList(*args, **kwargs) + args[1].thisown = 0 + return val + def AssignStateImageList(*args, **kwargs): + val = _gizmos.TreeListCtrl_AssignStateImageList(*args, **kwargs) + args[1].thisown = 0 + return val + def AssignButtonsImageList(*args, **kwargs): + 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,) +class TreeListCtrlPtr(TreeListCtrl): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = TreeListCtrl +_gizmos.TreeListCtrl_swigregister(TreeListCtrlPtr) -def wxPreTreeListCtrl(*_args,**_kwargs): - val = wxTreeListCtrlPtr(gizmosc.new_wxPreTreeListCtrl(*_args,**_kwargs)) +def PreTreeListCtrl(*args, **kwargs): + val = _gizmos.new_PreTreeListCtrl(*args, **kwargs) val.thisown = 1 - val._setOORInfo(val) return val - - -#-------------- FUNCTION WRAPPERS ------------------ - - - -#-------------- VARIABLE WRAPPERS ------------------ - -wxEVT_DYNAMIC_SASH_SPLIT = gizmosc.wxEVT_DYNAMIC_SASH_SPLIT -wxEVT_DYNAMIC_SASH_UNIFY = gizmosc.wxEVT_DYNAMIC_SASH_UNIFY -wxDS_MANAGE_SCROLLBARS = gizmosc.wxDS_MANAGE_SCROLLBARS -wxDS_DRAG_CORNER = gizmosc.wxDS_DRAG_CORNER -wxEL_ALLOW_NEW = gizmosc.wxEL_ALLOW_NEW -wxEL_ALLOW_EDIT = gizmosc.wxEL_ALLOW_EDIT -wxEL_ALLOW_DELETE = gizmosc.wxEL_ALLOW_DELETE -wxLED_ALIGN_LEFT = gizmosc.wxLED_ALIGN_LEFT -wxLED_ALIGN_RIGHT = gizmosc.wxLED_ALIGN_RIGHT -wxLED_ALIGN_CENTER = gizmosc.wxLED_ALIGN_CENTER -wxLED_ALIGN_MASK = gizmosc.wxLED_ALIGN_MASK -wxLED_DRAW_FADED = gizmosc.wxLED_DRAW_FADED -wxTL_ALIGN_LEFT = gizmosc.wxTL_ALIGN_LEFT -wxTL_ALIGN_RIGHT = gizmosc.wxTL_ALIGN_RIGHT -wxTL_ALIGN_CENTER = gizmosc.wxTL_ALIGN_CENTER -wxTREE_HITTEST_ONITEMCOLUMN = gizmosc.wxTREE_HITTEST_ONITEMCOLUMN - - -#-------------- USER INCLUDE ----------------------- - -# Stuff these names into the wx namespace so wxPyConstructObject can find them - -wx.wxDynamicSashSplitEventPtr = wxDynamicSashSplitEventPtr -wx.wxDynamicSashUnifyEventPtr = wxDynamicSashUnifyEventPtr -wx.wxDynamicSashWindowPtr = wxDynamicSashWindowPtr - -wx.wxEditableListBoxPtr = wxEditableListBoxPtr - -wx.wxRemotelyScrolledTreeCtrlPtr = wxRemotelyScrolledTreeCtrlPtr -wx.wxTreeCompanionWindowPtr = wxTreeCompanionWindowPtr -wx.wxThinSplitterWindowPtr = wxThinSplitterWindowPtr -wx.wxSplitterScrolledWindowPtr = wxSplitterScrolledWindowPtr