2003-11-21 15:58:50 -05:00
|
|
|
# This file was created automatically by SWIG.
|
|
|
|
# Don't modify this file, modify the SWIG interface instead.
|
|
|
|
|
2004-05-14 18:18:25 -04:00
|
|
|
"""
|
|
|
|
Various *gizmo* classes: `DynamicSashWindow`, `EditableListBox`,
|
|
|
|
`LEDNumberCtrl`, `TreeListCtrl`, etc.
|
|
|
|
"""
|
|
|
|
|
2003-11-21 15:58:50 -05:00
|
|
|
import _gizmos
|
|
|
|
|
2004-04-25 03:03:15 -04:00
|
|
|
import _windows
|
|
|
|
import _core
|
|
|
|
import _controls
|
|
|
|
wx = _core
|
2004-05-01 23:13:30 -04:00
|
|
|
__docfilter__ = wx.__DocFilter(globals())
|
2003-11-21 15:58:50 -05:00
|
|
|
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
|
2004-04-25 03:03:15 -04:00
|
|
|
class DynamicSashSplitEvent(_core.CommandEvent):
|
2003-11-21 15:58:50 -05:00
|
|
|
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):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""__init__(self, Object target) -> DynamicSashSplitEvent"""
|
2003-11-21 15:58:50 -05:00
|
|
|
newobj = _gizmos.new_DynamicSashSplitEvent(*args, **kwargs)
|
|
|
|
self.this = newobj.this
|
|
|
|
self.thisown = 1
|
|
|
|
del newobj.thisown
|
|
|
|
|
|
|
|
class DynamicSashSplitEventPtr(DynamicSashSplitEvent):
|
|
|
|
def __init__(self, this):
|
|
|
|
self.this = this
|
|
|
|
if not hasattr(self,"thisown"): self.thisown = 0
|
|
|
|
self.__class__ = DynamicSashSplitEvent
|
|
|
|
_gizmos.DynamicSashSplitEvent_swigregister(DynamicSashSplitEventPtr)
|
2003-12-19 20:17:52 -05:00
|
|
|
cvar = _gizmos.cvar
|
|
|
|
DynamicSashNameStr = cvar.DynamicSashNameStr
|
|
|
|
EditableListBoxNameStr = cvar.EditableListBoxNameStr
|
|
|
|
TreeListCtrlNameStr = cvar.TreeListCtrlNameStr
|
2003-11-21 15:58:50 -05:00
|
|
|
|
2004-04-25 03:03:15 -04:00
|
|
|
class DynamicSashUnifyEvent(_core.CommandEvent):
|
2003-11-21 15:58:50 -05:00
|
|
|
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):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""__init__(self, Object target) -> DynamicSashUnifyEvent"""
|
2003-11-21 15:58:50 -05:00
|
|
|
newobj = _gizmos.new_DynamicSashUnifyEvent(*args, **kwargs)
|
|
|
|
self.this = newobj.this
|
|
|
|
self.thisown = 1
|
|
|
|
del newobj.thisown
|
|
|
|
|
|
|
|
class DynamicSashUnifyEventPtr(DynamicSashUnifyEvent):
|
|
|
|
def __init__(self, this):
|
|
|
|
self.this = this
|
|
|
|
if not hasattr(self,"thisown"): self.thisown = 0
|
|
|
|
self.__class__ = DynamicSashUnifyEvent
|
|
|
|
_gizmos.DynamicSashUnifyEvent_swigregister(DynamicSashUnifyEventPtr)
|
|
|
|
|
2004-04-25 03:03:15 -04:00
|
|
|
class DynamicSashWindow(_core.Window):
|
2003-11-21 15:58:50 -05:00
|
|
|
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):
|
2003-11-26 20:17:54 -05:00
|
|
|
"""
|
2004-04-24 20:47:48 -04:00
|
|
|
__init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
|
2003-11-26 20:17:54 -05:00
|
|
|
long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
|
2003-12-19 20:17:52 -05:00
|
|
|
String name=DynamicSashNameStr) -> DynamicSashWindow
|
2003-11-26 20:17:54 -05:00
|
|
|
"""
|
2003-11-21 15:58:50 -05:00
|
|
|
newobj = _gizmos.new_DynamicSashWindow(*args, **kwargs)
|
|
|
|
self.this = newobj.this
|
|
|
|
self.thisown = 1
|
|
|
|
del newobj.thisown
|
|
|
|
self._setOORInfo(self)
|
|
|
|
|
|
|
|
def Create(*args, **kwargs):
|
2003-11-26 20:17:54 -05:00
|
|
|
"""
|
2004-04-24 20:47:48 -04:00
|
|
|
Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
|
2003-11-26 20:17:54 -05:00
|
|
|
long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
|
2003-12-19 20:17:52 -05:00
|
|
|
String name=DynamicSashNameStr) -> bool
|
2003-11-26 20:17:54 -05:00
|
|
|
"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.DynamicSashWindow_Create(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetHScrollBar(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetHScrollBar(self, Window child) -> ScrollBar"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.DynamicSashWindow_GetHScrollBar(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetVScrollBar(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetVScrollBar(self, Window child) -> ScrollBar"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.DynamicSashWindow_GetVScrollBar(*args, **kwargs)
|
|
|
|
|
|
|
|
|
|
|
|
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 PreDynamicSashWindow(*args, **kwargs):
|
|
|
|
"""PreDynamicSashWindow() -> DynamicSashWindow"""
|
|
|
|
val = _gizmos.new_PreDynamicSashWindow(*args, **kwargs)
|
|
|
|
val.thisown = 1
|
|
|
|
return val
|
|
|
|
|
|
|
|
EVT_DYNAMIC_SASH_SPLIT = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_SPLIT, 1 )
|
|
|
|
EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
|
|
|
|
|
|
|
|
EL_ALLOW_NEW = _gizmos.EL_ALLOW_NEW
|
|
|
|
EL_ALLOW_EDIT = _gizmos.EL_ALLOW_EDIT
|
|
|
|
EL_ALLOW_DELETE = _gizmos.EL_ALLOW_DELETE
|
2004-04-25 03:03:15 -04:00
|
|
|
class EditableListBox(_windows.Panel):
|
2003-11-21 15:58:50 -05:00
|
|
|
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):
|
2003-11-26 20:17:54 -05:00
|
|
|
"""
|
2004-04-24 20:47:48 -04:00
|
|
|
__init__(self, Window parent, int id, String label, Point pos=DefaultPosition,
|
2003-11-26 20:17:54 -05:00
|
|
|
Size size=DefaultSize, long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE,
|
2003-12-19 20:17:52 -05:00
|
|
|
String name=EditableListBoxNameStr) -> EditableListBox
|
2003-11-26 20:17:54 -05:00
|
|
|
"""
|
2003-11-21 15:58:50 -05:00
|
|
|
newobj = _gizmos.new_EditableListBox(*args, **kwargs)
|
|
|
|
self.this = newobj.this
|
|
|
|
self.thisown = 1
|
|
|
|
del newobj.thisown
|
|
|
|
self._setOORInfo(self)
|
|
|
|
|
|
|
|
def SetStrings(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetStrings(self, wxArrayString strings)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.EditableListBox_SetStrings(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetStrings(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetStrings(self) -> PyObject"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.EditableListBox_GetStrings(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetListCtrl(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetListCtrl(self) -> wxListCtrl"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.EditableListBox_GetListCtrl(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetDelButton(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetDelButton(self) -> BitmapButton"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.EditableListBox_GetDelButton(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetNewButton(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetNewButton(self) -> BitmapButton"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.EditableListBox_GetNewButton(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetUpButton(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetUpButton(self) -> BitmapButton"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.EditableListBox_GetUpButton(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetDownButton(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetDownButton(self) -> BitmapButton"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.EditableListBox_GetDownButton(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetEditButton(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetEditButton(self) -> BitmapButton"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.EditableListBox_GetEditButton(*args, **kwargs)
|
|
|
|
|
|
|
|
|
|
|
|
class EditableListBoxPtr(EditableListBox):
|
|
|
|
def __init__(self, this):
|
|
|
|
self.this = this
|
|
|
|
if not hasattr(self,"thisown"): self.thisown = 0
|
|
|
|
self.__class__ = EditableListBox
|
|
|
|
_gizmos.EditableListBox_swigregister(EditableListBoxPtr)
|
|
|
|
|
2004-04-25 03:03:15 -04:00
|
|
|
class RemotelyScrolledTreeCtrl(_controls.TreeCtrl):
|
2003-11-21 15:58:50 -05:00
|
|
|
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):
|
2003-11-26 20:17:54 -05:00
|
|
|
"""
|
2004-04-24 20:47:48 -04:00
|
|
|
__init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
|
2003-11-26 20:17:54 -05:00
|
|
|
long style=TR_HAS_BUTTONS) -> RemotelyScrolledTreeCtrl
|
|
|
|
"""
|
2003-11-21 15:58:50 -05:00
|
|
|
newobj = _gizmos.new_RemotelyScrolledTreeCtrl(*args, **kwargs)
|
|
|
|
self.this = newobj.this
|
|
|
|
self.thisown = 1
|
|
|
|
del newobj.thisown
|
|
|
|
self._setOORInfo(self)
|
|
|
|
|
|
|
|
def HideVScrollbar(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""HideVScrollbar(self)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.RemotelyScrolledTreeCtrl_HideVScrollbar(*args, **kwargs)
|
|
|
|
|
|
|
|
def AdjustRemoteScrollbars(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""AdjustRemoteScrollbars(self)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetScrolledWindow(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetScrolledWindow(self) -> ScrolledWindow"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.RemotelyScrolledTreeCtrl_GetScrolledWindow(*args, **kwargs)
|
|
|
|
|
|
|
|
def ScrollToLine(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""ScrollToLine(self, int posHoriz, int posVert)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.RemotelyScrolledTreeCtrl_ScrollToLine(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetCompanionWindow(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetCompanionWindow(self, Window companion)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.RemotelyScrolledTreeCtrl_SetCompanionWindow(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetCompanionWindow(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetCompanionWindow(self) -> Window"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.RemotelyScrolledTreeCtrl_GetCompanionWindow(*args, **kwargs)
|
|
|
|
|
|
|
|
|
|
|
|
class RemotelyScrolledTreeCtrlPtr(RemotelyScrolledTreeCtrl):
|
|
|
|
def __init__(self, this):
|
|
|
|
self.this = this
|
|
|
|
if not hasattr(self,"thisown"): self.thisown = 0
|
|
|
|
self.__class__ = RemotelyScrolledTreeCtrl
|
|
|
|
_gizmos.RemotelyScrolledTreeCtrl_swigregister(RemotelyScrolledTreeCtrlPtr)
|
|
|
|
|
2004-04-25 03:03:15 -04:00
|
|
|
class TreeCompanionWindow(_core.Window):
|
2003-11-21 15:58:50 -05:00
|
|
|
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):
|
2003-11-26 20:17:54 -05:00
|
|
|
"""
|
2004-04-24 20:47:48 -04:00
|
|
|
__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
2003-11-26 20:17:54 -05:00
|
|
|
Size size=DefaultSize, long style=0) -> TreeCompanionWindow
|
|
|
|
"""
|
2003-11-21 15:58:50 -05:00
|
|
|
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):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeCompanionWindow__setCallbackInfo(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetTreeCtrl(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetTreeCtrl(self) -> RemotelyScrolledTreeCtrl"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeCompanionWindow_GetTreeCtrl(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetTreeCtrl(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetTreeCtrl(self, RemotelyScrolledTreeCtrl treeCtrl)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeCompanionWindow_SetTreeCtrl(*args, **kwargs)
|
|
|
|
|
|
|
|
|
|
|
|
class TreeCompanionWindowPtr(TreeCompanionWindow):
|
|
|
|
def __init__(self, this):
|
|
|
|
self.this = this
|
|
|
|
if not hasattr(self,"thisown"): self.thisown = 0
|
|
|
|
self.__class__ = TreeCompanionWindow
|
|
|
|
_gizmos.TreeCompanionWindow_swigregister(TreeCompanionWindowPtr)
|
|
|
|
|
2004-04-25 03:03:15 -04:00
|
|
|
class ThinSplitterWindow(_windows.SplitterWindow):
|
2003-11-21 15:58:50 -05:00
|
|
|
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):
|
2003-11-26 20:17:54 -05:00
|
|
|
"""
|
2004-04-24 20:47:48 -04:00
|
|
|
__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
2003-11-26 20:17:54 -05:00
|
|
|
Size size=DefaultSize, long style=wxSP_3D|wxCLIP_CHILDREN) -> ThinSplitterWindow
|
|
|
|
"""
|
2003-11-21 15:58:50 -05:00
|
|
|
newobj = _gizmos.new_ThinSplitterWindow(*args, **kwargs)
|
|
|
|
self.this = newobj.this
|
|
|
|
self.thisown = 1
|
|
|
|
del newobj.thisown
|
|
|
|
self._setOORInfo(self)
|
|
|
|
|
|
|
|
|
|
|
|
class ThinSplitterWindowPtr(ThinSplitterWindow):
|
|
|
|
def __init__(self, this):
|
|
|
|
self.this = this
|
|
|
|
if not hasattr(self,"thisown"): self.thisown = 0
|
|
|
|
self.__class__ = ThinSplitterWindow
|
|
|
|
_gizmos.ThinSplitterWindow_swigregister(ThinSplitterWindowPtr)
|
|
|
|
|
2004-04-25 03:03:15 -04:00
|
|
|
class SplitterScrolledWindow(_windows.ScrolledWindow):
|
2003-11-21 15:58:50 -05:00
|
|
|
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):
|
2003-11-26 20:17:54 -05:00
|
|
|
"""
|
2004-04-24 20:47:48 -04:00
|
|
|
__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
2003-11-26 20:17:54 -05:00
|
|
|
Size size=DefaultSize, long style=0) -> SplitterScrolledWindow
|
|
|
|
"""
|
2003-11-21 15:58:50 -05:00
|
|
|
newobj = _gizmos.new_SplitterScrolledWindow(*args, **kwargs)
|
|
|
|
self.this = newobj.this
|
|
|
|
self.thisown = 1
|
|
|
|
del newobj.thisown
|
|
|
|
self._setOORInfo(self)
|
|
|
|
|
|
|
|
|
|
|
|
class SplitterScrolledWindowPtr(SplitterScrolledWindow):
|
|
|
|
def __init__(self, this):
|
|
|
|
self.this = this
|
|
|
|
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
|
2004-04-25 03:03:15 -04:00
|
|
|
class LEDNumberCtrl(_core.Control):
|
2003-11-21 15:58:50 -05:00
|
|
|
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):
|
2003-11-26 20:17:54 -05:00
|
|
|
"""
|
2004-04-24 20:47:48 -04:00
|
|
|
__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
2003-11-26 20:17:54 -05:00
|
|
|
Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> LEDNumberCtrl
|
|
|
|
"""
|
2003-11-21 15:58:50 -05:00
|
|
|
newobj = _gizmos.new_LEDNumberCtrl(*args, **kwargs)
|
|
|
|
self.this = newobj.this
|
|
|
|
self.thisown = 1
|
|
|
|
del newobj.thisown
|
|
|
|
self._setOORInfo(self)
|
|
|
|
|
|
|
|
def Create(*args, **kwargs):
|
2003-11-26 20:17:54 -05:00
|
|
|
"""
|
2004-04-24 20:47:48 -04:00
|
|
|
Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
2003-11-26 20:17:54 -05:00
|
|
|
Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> bool
|
|
|
|
"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.LEDNumberCtrl_Create(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetAlignment(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetAlignment(self) -> int"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.LEDNumberCtrl_GetAlignment(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetDrawFaded(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetDrawFaded(self) -> bool"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.LEDNumberCtrl_GetDrawFaded(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetValue(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetValue(self) -> String"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.LEDNumberCtrl_GetValue(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetAlignment(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetAlignment(self, int Alignment, bool Redraw=true)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.LEDNumberCtrl_SetAlignment(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetDrawFaded(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetDrawFaded(self, bool DrawFaded, bool Redraw=true)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.LEDNumberCtrl_SetDrawFaded(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetValue(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetValue(self, String Value, bool Redraw=true)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.LEDNumberCtrl_SetValue(*args, **kwargs)
|
|
|
|
|
|
|
|
|
|
|
|
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 PreLEDNumberCtrl(*args, **kwargs):
|
|
|
|
"""PreLEDNumberCtrl() -> LEDNumberCtrl"""
|
|
|
|
val = _gizmos.new_PreLEDNumberCtrl(*args, **kwargs)
|
|
|
|
val.thisown = 1
|
|
|
|
return val
|
|
|
|
|
|
|
|
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
|
2004-04-25 03:03:15 -04:00
|
|
|
class TreeListColumnInfo(_core.Object):
|
2003-11-21 15:58:50 -05:00
|
|
|
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):
|
2003-11-26 20:17:54 -05:00
|
|
|
"""
|
2004-04-24 20:47:48 -04:00
|
|
|
__init__(self, String text=EmptyString, int image=-1, size_t width=100,
|
2003-12-19 20:17:52 -05:00
|
|
|
int alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo
|
2003-11-26 20:17:54 -05:00
|
|
|
"""
|
2003-11-21 15:58:50 -05:00
|
|
|
newobj = _gizmos.new_TreeListColumnInfo(*args, **kwargs)
|
|
|
|
self.this = newobj.this
|
|
|
|
self.thisown = 1
|
|
|
|
del newobj.thisown
|
|
|
|
def GetAlignment(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetAlignment(self) -> int"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListColumnInfo_GetAlignment(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetText(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetText(self) -> String"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListColumnInfo_GetText(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetImage(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetImage(self) -> int"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListColumnInfo_GetImage(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetSelectedImage(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetSelectedImage(self) -> int"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListColumnInfo_GetSelectedImage(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetWidth(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetWidth(self) -> size_t"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListColumnInfo_GetWidth(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetAlignment(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetAlignment(self, int alignment)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListColumnInfo_SetAlignment(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetText(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetText(self, String text)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListColumnInfo_SetText(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetImage(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetImage(self, int image)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListColumnInfo_SetImage(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetSelectedImage(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetSelectedImage(self, int image)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListColumnInfo_SetSelectedImage(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetWidth(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetWidth(self, size_t with)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListColumnInfo_SetWidth(*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)
|
|
|
|
|
2004-04-25 03:03:15 -04:00
|
|
|
class TreeListCtrl(_core.Control):
|
2003-11-21 15:58:50 -05:00
|
|
|
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):
|
2003-11-26 20:17:54 -05:00
|
|
|
"""
|
2004-04-24 20:47:48 -04:00
|
|
|
__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
2003-11-26 20:17:54 -05:00
|
|
|
Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
|
|
|
|
Validator validator=DefaultValidator,
|
2003-12-19 20:17:52 -05:00
|
|
|
String name=TreeListCtrlNameStr) -> TreeListCtrl
|
2003-11-26 20:17:54 -05:00
|
|
|
"""
|
2003-11-21 15:58:50 -05:00
|
|
|
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):
|
2003-11-26 20:17:54 -05:00
|
|
|
"""
|
2004-04-24 20:47:48 -04:00
|
|
|
Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
2003-11-26 20:17:54 -05:00
|
|
|
Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
|
|
|
|
Validator validator=DefaultValidator,
|
2003-12-19 20:17:52 -05:00
|
|
|
String name=TreeListCtrlNameStr) -> bool
|
2004-03-09 23:16:12 -05:00
|
|
|
|
|
|
|
Do the 2nd phase and create the GUI control.
|
2003-11-26 20:17:54 -05:00
|
|
|
"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_Create(*args, **kwargs)
|
|
|
|
|
|
|
|
def _setCallbackInfo(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl__setCallbackInfo(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetCount(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetCount(self) -> size_t"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetCount(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetIndent(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetIndent(self) -> unsigned int"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetIndent(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetIndent(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetIndent(self, unsigned int indent)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_SetIndent(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetSpacing(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetSpacing(self) -> unsigned int"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetSpacing(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetSpacing(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetSpacing(self, unsigned int spacing)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_SetSpacing(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetLineSpacing(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetLineSpacing(self) -> unsigned int"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetLineSpacing(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetLineSpacing(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetLineSpacing(self, unsigned int spacing)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_SetLineSpacing(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetImageList(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetImageList(self) -> ImageList"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetImageList(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetStateImageList(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetStateImageList(self) -> ImageList"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetStateImageList(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetButtonsImageList(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetButtonsImageList(self) -> ImageList"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetButtonsImageList(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetImageList(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetImageList(self, ImageList imageList)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_SetImageList(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetStateImageList(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetStateImageList(self, ImageList imageList)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_SetStateImageList(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetButtonsImageList(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetButtonsImageList(self, ImageList imageList)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_SetButtonsImageList(*args, **kwargs)
|
|
|
|
|
|
|
|
def AssignImageList(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""AssignImageList(self, ImageList imageList)"""
|
2004-01-26 21:38:53 -05:00
|
|
|
return _gizmos.TreeListCtrl_AssignImageList(*args, **kwargs)
|
2003-11-21 15:58:50 -05:00
|
|
|
|
|
|
|
def AssignStateImageList(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""AssignStateImageList(self, ImageList imageList)"""
|
2004-01-26 21:38:53 -05:00
|
|
|
return _gizmos.TreeListCtrl_AssignStateImageList(*args, **kwargs)
|
2003-11-21 15:58:50 -05:00
|
|
|
|
|
|
|
def AssignButtonsImageList(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""AssignButtonsImageList(self, ImageList imageList)"""
|
2004-01-26 21:38:53 -05:00
|
|
|
return _gizmos.TreeListCtrl_AssignButtonsImageList(*args, **kwargs)
|
2003-11-21 15:58:50 -05:00
|
|
|
|
|
|
|
def AddColumn(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""AddColumn(self, String text)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_AddColumn(*args, **kwargs)
|
|
|
|
|
|
|
|
def AddColumnInfo(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""AddColumnInfo(self, TreeListColumnInfo col)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_AddColumnInfo(*args, **kwargs)
|
|
|
|
|
|
|
|
def InsertColumn(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""InsertColumn(self, size_t before, String text)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_InsertColumn(*args, **kwargs)
|
|
|
|
|
|
|
|
def InsertColumnInfo(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""InsertColumnInfo(self, size_t before, TreeListColumnInfo col)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_InsertColumnInfo(*args, **kwargs)
|
|
|
|
|
|
|
|
def RemoveColumn(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""RemoveColumn(self, size_t column)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_RemoveColumn(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetColumnCount(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetColumnCount(self) -> size_t"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetColumnCount(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetColumnWidth(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetColumnWidth(self, size_t column, size_t width)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_SetColumnWidth(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetColumnWidth(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetColumnWidth(self, size_t column) -> int"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetColumnWidth(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetMainColumn(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetMainColumn(self, size_t column)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_SetMainColumn(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetMainColumn(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetMainColumn(self) -> size_t"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetMainColumn(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetColumnText(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetColumnText(self, size_t column, String text)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_SetColumnText(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetColumnText(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetColumnText(self, size_t column) -> String"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetColumnText(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetColumn(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetColumn(self, size_t column, TreeListColumnInfo info)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_SetColumn(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetColumn(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetColumn(self, size_t column) -> TreeListColumnInfo"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetColumn(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetColumnAlignment(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetColumnAlignment(self, size_t column, int align)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_SetColumnAlignment(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetColumnAlignment(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetColumnAlignment(self, size_t column) -> int"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetColumnAlignment(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetColumnImage(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetColumnImage(self, size_t column, int image)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_SetColumnImage(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetColumnImage(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetColumnImage(self, size_t column) -> int"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetColumnImage(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetItemText(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetItemText(self, TreeItemId item, int column=-1) -> String"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetItemText(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetItemImage(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetItemImage(self, TreeItemId item, int column=-1, int which=TreeItemIcon_Normal) -> int"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetItemImage(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetItemText(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetItemText(self, TreeItemId item, String text, int column=-1)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_SetItemText(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetItemImage(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetItemImage(self, TreeItemId item, int image, int column=-1, int which=TreeItemIcon_Normal)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_SetItemImage(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetItemData(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetItemData(self, TreeItemId item) -> TreeItemData"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetItemData(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetItemData(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetItemData(self, TreeItemId item, TreeItemData data)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_SetItemData(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetItemPyData(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetItemPyData(self, TreeItemId item) -> PyObject"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetItemPyData(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetItemPyData(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetItemPyData(self, TreeItemId item, PyObject obj)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_SetItemPyData(*args, **kwargs)
|
|
|
|
|
2004-03-24 21:21:49 -05:00
|
|
|
GetPyData = GetItemPyData
|
|
|
|
SetPyData = SetItemPyData
|
2003-11-21 15:58:50 -05:00
|
|
|
def SetItemHasChildren(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetItemHasChildren(self, TreeItemId item, bool has=True)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_SetItemHasChildren(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetItemBold(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetItemBold(self, TreeItemId item, bool bold=True)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_SetItemBold(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetItemTextColour(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetItemTextColour(self, TreeItemId item, Colour col)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_SetItemTextColour(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetItemBackgroundColour(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetItemBackgroundColour(self, TreeItemId item, Colour col)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_SetItemBackgroundColour(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetItemFont(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetItemFont(self, TreeItemId item, Font font)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_SetItemFont(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetItemBold(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetItemBold(self, TreeItemId item) -> bool"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetItemBold(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetItemTextColour(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetItemTextColour(self, TreeItemId item) -> Colour"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetItemTextColour(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetItemBackgroundColour(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetItemBackgroundColour(self, TreeItemId item) -> Colour"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetItemBackgroundColour(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetItemFont(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetItemFont(self, TreeItemId item) -> Font"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetItemFont(*args, **kwargs)
|
|
|
|
|
|
|
|
def IsVisible(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""IsVisible(self, TreeItemId item) -> bool"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_IsVisible(*args, **kwargs)
|
|
|
|
|
|
|
|
def ItemHasChildren(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""ItemHasChildren(self, TreeItemId item) -> bool"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_ItemHasChildren(*args, **kwargs)
|
|
|
|
|
|
|
|
def IsExpanded(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""IsExpanded(self, TreeItemId item) -> bool"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_IsExpanded(*args, **kwargs)
|
|
|
|
|
|
|
|
def IsSelected(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""IsSelected(self, TreeItemId item) -> bool"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_IsSelected(*args, **kwargs)
|
|
|
|
|
|
|
|
def IsBold(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""IsBold(self, TreeItemId item) -> bool"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_IsBold(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetChildrenCount(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetChildrenCount(self, TreeItemId item, bool recursively=True) -> size_t"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetChildrenCount(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetRootItem(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetRootItem(self) -> TreeItemId"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetRootItem(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetSelection(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetSelection(self) -> TreeItemId"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetSelection(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetSelections(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetSelections(self) -> PyObject"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetSelections(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetItemParent(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetItemParent(self, TreeItemId item) -> TreeItemId"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetItemParent(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetFirstChild(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetFirstChild(self, TreeItemId item) -> PyObject"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetFirstChild(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetNextChild(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetNextChild(self, TreeItemId item, long cookie) -> PyObject"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetNextChild(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetLastChild(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetLastChild(self, TreeItemId item) -> TreeItemId"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetLastChild(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetNextSibling(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetNextSibling(self, TreeItemId item) -> TreeItemId"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetNextSibling(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetPrevSibling(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetPrevSibling(self, TreeItemId item) -> TreeItemId"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetPrevSibling(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetFirstVisibleItem(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetFirstVisibleItem(self) -> TreeItemId"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetFirstVisibleItem(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetNextVisible(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetNextVisible(self, TreeItemId item) -> TreeItemId"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetNextVisible(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetPrevVisible(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetPrevVisible(self, TreeItemId item) -> TreeItemId"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetPrevVisible(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetNext(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetNext(self, TreeItemId item) -> TreeItemId"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetNext(*args, **kwargs)
|
|
|
|
|
|
|
|
def AddRoot(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""AddRoot(self, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_AddRoot(*args, **kwargs)
|
|
|
|
|
|
|
|
def PrependItem(*args, **kwargs):
|
2003-11-26 20:17:54 -05:00
|
|
|
"""
|
2004-04-24 20:47:48 -04:00
|
|
|
PrependItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
|
2003-11-26 20:17:54 -05:00
|
|
|
TreeItemData data=None) -> TreeItemId
|
|
|
|
"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_PrependItem(*args, **kwargs)
|
|
|
|
|
|
|
|
def InsertItem(*args, **kwargs):
|
2003-11-26 20:17:54 -05:00
|
|
|
"""
|
2004-04-24 20:47:48 -04:00
|
|
|
InsertItem(self, TreeItemId parent, TreeItemId idPrevious, String text,
|
2003-11-26 20:17:54 -05:00
|
|
|
int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId
|
|
|
|
"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_InsertItem(*args, **kwargs)
|
|
|
|
|
|
|
|
def InsertItemBefore(*args, **kwargs):
|
2003-11-26 20:17:54 -05:00
|
|
|
"""
|
2004-04-24 20:47:48 -04:00
|
|
|
InsertItemBefore(self, TreeItemId parent, size_t index, String text, int image=-1,
|
2003-11-26 20:17:54 -05:00
|
|
|
int selectedImage=-1, TreeItemData data=None) -> TreeItemId
|
|
|
|
"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_InsertItemBefore(*args, **kwargs)
|
|
|
|
|
|
|
|
def AppendItem(*args, **kwargs):
|
2003-11-26 20:17:54 -05:00
|
|
|
"""
|
2004-04-24 20:47:48 -04:00
|
|
|
AppendItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
|
2003-11-26 20:17:54 -05:00
|
|
|
TreeItemData data=None) -> TreeItemId
|
|
|
|
"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_AppendItem(*args, **kwargs)
|
|
|
|
|
|
|
|
def Delete(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""Delete(self, TreeItemId item)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_Delete(*args, **kwargs)
|
|
|
|
|
|
|
|
def DeleteChildren(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""DeleteChildren(self, TreeItemId item)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_DeleteChildren(*args, **kwargs)
|
|
|
|
|
|
|
|
def DeleteAllItems(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""DeleteAllItems(self)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_DeleteAllItems(*args, **kwargs)
|
|
|
|
|
|
|
|
def Expand(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""Expand(self, TreeItemId item)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_Expand(*args, **kwargs)
|
|
|
|
|
|
|
|
def ExpandAll(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""ExpandAll(self, TreeItemId item)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_ExpandAll(*args, **kwargs)
|
|
|
|
|
|
|
|
def Collapse(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""Collapse(self, TreeItemId item)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_Collapse(*args, **kwargs)
|
|
|
|
|
|
|
|
def CollapseAndReset(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""CollapseAndReset(self, TreeItemId item)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_CollapseAndReset(*args, **kwargs)
|
|
|
|
|
|
|
|
def Toggle(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""Toggle(self, TreeItemId item)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_Toggle(*args, **kwargs)
|
|
|
|
|
|
|
|
def Unselect(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""Unselect(self)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_Unselect(*args, **kwargs)
|
|
|
|
|
|
|
|
def UnselectAll(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""UnselectAll(self)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_UnselectAll(*args, **kwargs)
|
|
|
|
|
|
|
|
def SelectItem(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SelectItem(self, TreeItemId item, bool unselect_others=True, bool extended_select=False)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_SelectItem(*args, **kwargs)
|
|
|
|
|
|
|
|
def EnsureVisible(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""EnsureVisible(self, TreeItemId item)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_EnsureVisible(*args, **kwargs)
|
|
|
|
|
|
|
|
def ScrollTo(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""ScrollTo(self, TreeItemId item)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_ScrollTo(*args, **kwargs)
|
|
|
|
|
|
|
|
def HitTest(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""HitTest(self, Point point, int OUTPUT, int OUTPUT) -> TreeItemId"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_HitTest(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetBoundingRect(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetBoundingRect(self, TreeItemId item, bool textOnly=False) -> PyObject"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetBoundingRect(*args, **kwargs)
|
|
|
|
|
|
|
|
def EditLabel(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""EditLabel(self, TreeItemId item)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_EditLabel(*args, **kwargs)
|
|
|
|
|
|
|
|
def Edit(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""Edit(self, TreeItemId item)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_Edit(*args, **kwargs)
|
|
|
|
|
|
|
|
def SortChildren(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SortChildren(self, TreeItemId item)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_SortChildren(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetItemSelectedImage(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetItemSelectedImage(self, TreeItemId item) -> int"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetItemSelectedImage(*args, **kwargs)
|
|
|
|
|
|
|
|
def SetItemSelectedImage(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""SetItemSelectedImage(self, TreeItemId item, int image)"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_SetItemSelectedImage(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetHeaderWindow(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetHeaderWindow(self) -> Window"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetHeaderWindow(*args, **kwargs)
|
|
|
|
|
|
|
|
def GetMainWindow(*args, **kwargs):
|
2004-04-24 20:47:48 -04:00
|
|
|
"""GetMainWindow(self) -> Window"""
|
2003-11-21 15:58:50 -05:00
|
|
|
return _gizmos.TreeListCtrl_GetMainWindow(*args, **kwargs)
|
|
|
|
|
|
|
|
|
|
|
|
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 PreTreeListCtrl(*args, **kwargs):
|
|
|
|
"""PreTreeListCtrl() -> TreeListCtrl"""
|
|
|
|
val = _gizmos.new_PreTreeListCtrl(*args, **kwargs)
|
|
|
|
val.thisown = 1
|
|
|
|
return val
|
|
|
|
|
|
|
|
|