1 # This file was created automatically by SWIG 1.3.29.
2 # Don't modify this file, modify the SWIG interface instead.
5 Various *gizmo* classes: `DynamicSashWindow`, `EditableListBox`,
6 `LEDNumberCtrl`, `TreeListCtrl`, etc.
11 new_instancemethod
= new
.instancemethod
12 def _swig_setattr_nondynamic(self
,class_type
,name
,value
,static
=1):
13 if (name
== "thisown"): return self
.this
.own(value
)
15 if type(value
).__name
__ == 'PySwigObject':
16 self
.__dict
__[name
] = value
18 method
= class_type
.__swig
_setmethods
__.get(name
,None)
19 if method
: return method(self
,value
)
20 if (not static
) or hasattr(self
,name
):
21 self
.__dict
__[name
] = value
23 raise AttributeError("You cannot add attributes to %s" % self
)
25 def _swig_setattr(self
,class_type
,name
,value
):
26 return _swig_setattr_nondynamic(self
,class_type
,name
,value
,0)
28 def _swig_getattr(self
,class_type
,name
):
29 if (name
== "thisown"): return self
.this
.own()
30 method
= class_type
.__swig
_getmethods
__.get(name
,None)
31 if method
: return method(self
)
32 raise AttributeError,name
35 try: strthis
= "proxy of " + self
.this
.__repr
__()
37 return "<%s.%s; %s >" % (self
.__class
__.__module
__, self
.__class
__.__name
__, strthis
,)
41 _object
= types
.ObjectType
43 except AttributeError:
49 def _swig_setattr_nondynamic_method(set):
50 def set_attr(self
,name
,value
):
51 if (name
== "thisown"): return self
.this
.own(value
)
52 if hasattr(self
,name
) or (name
== "this"):
55 raise AttributeError("You cannot add attributes to %s" % self
)
63 __docfilter__
= wx
._core
.__DocFilter
(globals())
64 DS_MANAGE_SCROLLBARS
= _gizmos
.DS_MANAGE_SCROLLBARS
65 DS_DRAG_CORNER
= _gizmos
.DS_DRAG_CORNER
66 wxEVT_DYNAMIC_SASH_SPLIT
= _gizmos
.wxEVT_DYNAMIC_SASH_SPLIT
67 wxEVT_DYNAMIC_SASH_UNIFY
= _gizmos
.wxEVT_DYNAMIC_SASH_UNIFY
68 class DynamicSashSplitEvent(_core
.CommandEvent
):
69 """Proxy of C++ DynamicSashSplitEvent class"""
70 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
72 def __init__(self
, *args
, **kwargs
):
73 """__init__(self, Object target) -> DynamicSashSplitEvent"""
74 _gizmos
.DynamicSashSplitEvent_swiginit(self
,_gizmos
.new_DynamicSashSplitEvent(*args
, **kwargs
))
75 _gizmos
.DynamicSashSplitEvent_swigregister(DynamicSashSplitEvent
)
77 DynamicSashNameStr
= cvar
.DynamicSashNameStr
78 EditableListBoxNameStr
= cvar
.EditableListBoxNameStr
79 StaticPictureNameStr
= cvar
.StaticPictureNameStr
81 class DynamicSashUnifyEvent(_core
.CommandEvent
):
82 """Proxy of C++ DynamicSashUnifyEvent class"""
83 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
85 def __init__(self
, *args
, **kwargs
):
86 """__init__(self, Object target) -> DynamicSashUnifyEvent"""
87 _gizmos
.DynamicSashUnifyEvent_swiginit(self
,_gizmos
.new_DynamicSashUnifyEvent(*args
, **kwargs
))
88 _gizmos
.DynamicSashUnifyEvent_swigregister(DynamicSashUnifyEvent
)
90 class DynamicSashWindow(_core
.Window
):
91 """Proxy of C++ DynamicSashWindow class"""
92 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
94 def __init__(self
, *args
, **kwargs
):
96 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
97 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
98 String name=DynamicSashNameStr) -> DynamicSashWindow
100 _gizmos
.DynamicSashWindow_swiginit(self
,_gizmos
.new_DynamicSashWindow(*args
, **kwargs
))
101 self
._setOORInfo
(self
)
103 def Create(*args
, **kwargs
):
105 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
106 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
107 String name=DynamicSashNameStr) -> bool
109 return _gizmos
.DynamicSashWindow_Create(*args
, **kwargs
)
111 def GetHScrollBar(*args
, **kwargs
):
112 """GetHScrollBar(self, Window child) -> ScrollBar"""
113 return _gizmos
.DynamicSashWindow_GetHScrollBar(*args
, **kwargs
)
115 def GetVScrollBar(*args
, **kwargs
):
116 """GetVScrollBar(self, Window child) -> ScrollBar"""
117 return _gizmos
.DynamicSashWindow_GetVScrollBar(*args
, **kwargs
)
119 _gizmos
.DynamicSashWindow_swigregister(DynamicSashWindow
)
121 def PreDynamicSashWindow(*args
, **kwargs
):
122 """PreDynamicSashWindow() -> DynamicSashWindow"""
123 val
= _gizmos
.new_PreDynamicSashWindow(*args
, **kwargs
)
126 EVT_DYNAMIC_SASH_SPLIT
= wx
.PyEventBinder( wxEVT_DYNAMIC_SASH_SPLIT
, 1 )
127 EVT_DYNAMIC_SASH_UNIFY
= wx
.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY
, 1 )
129 EL_ALLOW_NEW
= _gizmos
.EL_ALLOW_NEW
130 EL_ALLOW_EDIT
= _gizmos
.EL_ALLOW_EDIT
131 EL_ALLOW_DELETE
= _gizmos
.EL_ALLOW_DELETE
132 class EditableListBox(_windows
.Panel
):
133 """Proxy of C++ EditableListBox class"""
134 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
135 __repr__
= _swig_repr
136 def __init__(self
, *args
, **kwargs
):
138 __init__(self, Window parent, int id=-1, String label=EmptyString,
139 Point pos=DefaultPosition, Size size=DefaultSize,
140 long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE,
141 String name=EditableListBoxNameStr) -> EditableListBox
143 _gizmos
.EditableListBox_swiginit(self
,_gizmos
.new_EditableListBox(*args
, **kwargs
))
144 self
._setOORInfo
(self
)
146 def SetStrings(*args
, **kwargs
):
147 """SetStrings(self, wxArrayString strings)"""
148 return _gizmos
.EditableListBox_SetStrings(*args
, **kwargs
)
150 def GetStrings(*args
, **kwargs
):
151 """GetStrings(self) -> PyObject"""
152 return _gizmos
.EditableListBox_GetStrings(*args
, **kwargs
)
154 def GetListCtrl(*args
, **kwargs
):
155 """GetListCtrl(self) -> ListCtrl"""
156 return _gizmos
.EditableListBox_GetListCtrl(*args
, **kwargs
)
158 def GetDelButton(*args
, **kwargs
):
159 """GetDelButton(self) -> BitmapButton"""
160 return _gizmos
.EditableListBox_GetDelButton(*args
, **kwargs
)
162 def GetNewButton(*args
, **kwargs
):
163 """GetNewButton(self) -> BitmapButton"""
164 return _gizmos
.EditableListBox_GetNewButton(*args
, **kwargs
)
166 def GetUpButton(*args
, **kwargs
):
167 """GetUpButton(self) -> BitmapButton"""
168 return _gizmos
.EditableListBox_GetUpButton(*args
, **kwargs
)
170 def GetDownButton(*args
, **kwargs
):
171 """GetDownButton(self) -> BitmapButton"""
172 return _gizmos
.EditableListBox_GetDownButton(*args
, **kwargs
)
174 def GetEditButton(*args
, **kwargs
):
175 """GetEditButton(self) -> BitmapButton"""
176 return _gizmos
.EditableListBox_GetEditButton(*args
, **kwargs
)
178 _gizmos
.EditableListBox_swigregister(EditableListBox
)
180 class RemotelyScrolledTreeCtrl(_controls
.TreeCtrl
):
181 """Proxy of C++ RemotelyScrolledTreeCtrl class"""
182 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
183 __repr__
= _swig_repr
184 def __init__(self
, *args
, **kwargs
):
186 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
187 long style=TR_HAS_BUTTONS) -> RemotelyScrolledTreeCtrl
189 _gizmos
.RemotelyScrolledTreeCtrl_swiginit(self
,_gizmos
.new_RemotelyScrolledTreeCtrl(*args
, **kwargs
))
190 self
._setOORInfo
(self
)
192 def HideVScrollbar(*args
, **kwargs
):
193 """HideVScrollbar(self)"""
194 return _gizmos
.RemotelyScrolledTreeCtrl_HideVScrollbar(*args
, **kwargs
)
196 def AdjustRemoteScrollbars(*args
, **kwargs
):
197 """AdjustRemoteScrollbars(self)"""
198 return _gizmos
.RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(*args
, **kwargs
)
200 def GetScrolledWindow(*args
, **kwargs
):
201 """GetScrolledWindow(self) -> ScrolledWindow"""
202 return _gizmos
.RemotelyScrolledTreeCtrl_GetScrolledWindow(*args
, **kwargs
)
204 def ScrollToLine(*args
, **kwargs
):
205 """ScrollToLine(self, int posHoriz, int posVert)"""
206 return _gizmos
.RemotelyScrolledTreeCtrl_ScrollToLine(*args
, **kwargs
)
208 def SetCompanionWindow(*args
, **kwargs
):
209 """SetCompanionWindow(self, Window companion)"""
210 return _gizmos
.RemotelyScrolledTreeCtrl_SetCompanionWindow(*args
, **kwargs
)
212 def GetCompanionWindow(*args
, **kwargs
):
213 """GetCompanionWindow(self) -> Window"""
214 return _gizmos
.RemotelyScrolledTreeCtrl_GetCompanionWindow(*args
, **kwargs
)
216 _gizmos
.RemotelyScrolledTreeCtrl_swigregister(RemotelyScrolledTreeCtrl
)
218 class TreeCompanionWindow(_core
.Window
):
219 """Proxy of C++ TreeCompanionWindow class"""
220 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
221 __repr__
= _swig_repr
222 def __init__(self
, *args
, **kwargs
):
224 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
225 Size size=DefaultSize, long style=0) -> TreeCompanionWindow
227 _gizmos
.TreeCompanionWindow_swiginit(self
,_gizmos
.new_TreeCompanionWindow(*args
, **kwargs
))
228 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, TreeCompanionWindow
)
230 def _setCallbackInfo(*args
, **kwargs
):
231 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
232 return _gizmos
.TreeCompanionWindow__setCallbackInfo(*args
, **kwargs
)
234 def GetTreeCtrl(*args
, **kwargs
):
235 """GetTreeCtrl(self) -> RemotelyScrolledTreeCtrl"""
236 return _gizmos
.TreeCompanionWindow_GetTreeCtrl(*args
, **kwargs
)
238 def SetTreeCtrl(*args
, **kwargs
):
239 """SetTreeCtrl(self, RemotelyScrolledTreeCtrl treeCtrl)"""
240 return _gizmos
.TreeCompanionWindow_SetTreeCtrl(*args
, **kwargs
)
242 _gizmos
.TreeCompanionWindow_swigregister(TreeCompanionWindow
)
244 class ThinSplitterWindow(_windows
.SplitterWindow
):
245 """Proxy of C++ ThinSplitterWindow class"""
246 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
247 __repr__
= _swig_repr
248 def __init__(self
, *args
, **kwargs
):
250 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
251 Size size=DefaultSize, long style=wxSP_3D|wxCLIP_CHILDREN) -> ThinSplitterWindow
253 _gizmos
.ThinSplitterWindow_swiginit(self
,_gizmos
.new_ThinSplitterWindow(*args
, **kwargs
))
254 self
._setOORInfo
(self
)
256 _gizmos
.ThinSplitterWindow_swigregister(ThinSplitterWindow
)
258 class SplitterScrolledWindow(_windows
.ScrolledWindow
):
259 """Proxy of C++ SplitterScrolledWindow class"""
260 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
261 __repr__
= _swig_repr
262 def __init__(self
, *args
, **kwargs
):
264 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
265 Size size=DefaultSize, long style=0) -> SplitterScrolledWindow
267 _gizmos
.SplitterScrolledWindow_swiginit(self
,_gizmos
.new_SplitterScrolledWindow(*args
, **kwargs
))
268 self
._setOORInfo
(self
)
270 _gizmos
.SplitterScrolledWindow_swigregister(SplitterScrolledWindow
)
272 LED_ALIGN_LEFT
= _gizmos
.LED_ALIGN_LEFT
273 LED_ALIGN_RIGHT
= _gizmos
.LED_ALIGN_RIGHT
274 LED_ALIGN_CENTER
= _gizmos
.LED_ALIGN_CENTER
275 LED_ALIGN_MASK
= _gizmos
.LED_ALIGN_MASK
276 LED_DRAW_FADED
= _gizmos
.LED_DRAW_FADED
277 class LEDNumberCtrl(_core
.Control
):
278 """Proxy of C++ LEDNumberCtrl class"""
279 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
280 __repr__
= _swig_repr
281 def __init__(self
, *args
, **kwargs
):
283 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
284 Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> LEDNumberCtrl
286 _gizmos
.LEDNumberCtrl_swiginit(self
,_gizmos
.new_LEDNumberCtrl(*args
, **kwargs
))
287 self
._setOORInfo
(self
)
289 def Create(*args
, **kwargs
):
291 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
292 Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> bool
294 Do the 2nd phase and create the GUI control.
296 return _gizmos
.LEDNumberCtrl_Create(*args
, **kwargs
)
298 def GetAlignment(*args
, **kwargs
):
300 GetAlignment(self) -> int
302 Get the control alignment (left/right/centre, top/bottom/centre)
304 return _gizmos
.LEDNumberCtrl_GetAlignment(*args
, **kwargs
)
306 def GetDrawFaded(*args
, **kwargs
):
307 """GetDrawFaded(self) -> bool"""
308 return _gizmos
.LEDNumberCtrl_GetDrawFaded(*args
, **kwargs
)
310 def GetValue(*args
, **kwargs
):
311 """GetValue(self) -> String"""
312 return _gizmos
.LEDNumberCtrl_GetValue(*args
, **kwargs
)
314 def SetAlignment(*args
, **kwargs
):
315 """SetAlignment(self, int Alignment, bool Redraw=True)"""
316 return _gizmos
.LEDNumberCtrl_SetAlignment(*args
, **kwargs
)
318 def SetDrawFaded(*args
, **kwargs
):
319 """SetDrawFaded(self, bool DrawFaded, bool Redraw=True)"""
320 return _gizmos
.LEDNumberCtrl_SetDrawFaded(*args
, **kwargs
)
322 def SetValue(*args
, **kwargs
):
323 """SetValue(self, String Value, bool Redraw=True)"""
324 return _gizmos
.LEDNumberCtrl_SetValue(*args
, **kwargs
)
326 _gizmos
.LEDNumberCtrl_swigregister(LEDNumberCtrl
)
328 def PreLEDNumberCtrl(*args
, **kwargs
):
329 """PreLEDNumberCtrl() -> LEDNumberCtrl"""
330 val
= _gizmos
.new_PreLEDNumberCtrl(*args
, **kwargs
)
333 #---------------------------------------------------------------------------
335 DEFAULT_COL_WIDTH
= _gizmos
.DEFAULT_COL_WIDTH
336 TL_MODE_NAV_FULLTREE
= _gizmos
.TL_MODE_NAV_FULLTREE
337 TL_MODE_NAV_EXPANDED
= _gizmos
.TL_MODE_NAV_EXPANDED
338 TL_MODE_NAV_VISIBLE
= _gizmos
.TL_MODE_NAV_VISIBLE
339 TL_MODE_NAV_LEVEL
= _gizmos
.TL_MODE_NAV_LEVEL
340 TL_MODE_FIND_EXACT
= _gizmos
.TL_MODE_FIND_EXACT
341 TL_MODE_FIND_PARTIAL
= _gizmos
.TL_MODE_FIND_PARTIAL
342 TL_MODE_FIND_NOCASE
= _gizmos
.TL_MODE_FIND_NOCASE
343 TREE_HITTEST_ONITEMCOLUMN
= _gizmos
.TREE_HITTEST_ONITEMCOLUMN
344 wx
.TREE_HITTEST_ONITEMCOLUMN
= TREE_HITTEST_ONITEMCOLUMN
345 TR_COLUMN_LINES
= _gizmos
.TR_COLUMN_LINES
346 TR_VIRTUAL
= _gizmos
.TR_VIRTUAL
347 wx
.TR_COLUMN_LINES
= TR_COLUMN_LINES
348 wxTR_VIRTUAL
= TR_VIRTUAL
350 #// Compatibility aliases for old names/values
351 TL_ALIGN_LEFT
= wx
.ALIGN_LEFT
352 TL_ALIGN_RIGHT
= wx
.ALIGN_RIGHT
353 TL_ALIGN_CENTER
= wx
.ALIGN_CENTER
355 TL_SEARCH_VISIBLE
= TL_MODE_NAV_VISIBLE
356 TL_SEARCH_LEVEL
= TL_MODE_NAV_LEVEL
357 TL_SEARCH_FULL
= TL_MODE_FIND_EXACT
358 TL_SEARCH_PARTIAL
= TL_MODE_FIND_PARTIAL
359 TL_SEARCH_NOCASE
= TL_MODE_FIND_NOCASE
361 TR_DONT_ADJUST_MAC
= 0
362 wx
.TR_DONT_ADJUST_MAC
= TR_DONT_ADJUST_MAC
364 class TreeListColumnInfo(_core
.Object
):
365 """Proxy of C++ TreeListColumnInfo class"""
366 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
367 __repr__
= _swig_repr
368 def __init__(self
, *args
, **kwargs
):
370 __init__(self, String text=EmptyString, int width=DEFAULT_COL_WIDTH,
371 int flag=ALIGN_LEFT, int image=-1, bool shown=True,
372 bool edit=False) -> TreeListColumnInfo
374 _gizmos
.TreeListColumnInfo_swiginit(self
,_gizmos
.new_TreeListColumnInfo(*args
, **kwargs
))
375 __swig_destroy__
= _gizmos
.delete_TreeListColumnInfo
376 __del__
= lambda self
: None;
377 def GetAlignment(*args
, **kwargs
):
378 """GetAlignment(self) -> int"""
379 return _gizmos
.TreeListColumnInfo_GetAlignment(*args
, **kwargs
)
381 def GetText(*args
, **kwargs
):
382 """GetText(self) -> String"""
383 return _gizmos
.TreeListColumnInfo_GetText(*args
, **kwargs
)
385 def GetImage(*args
, **kwargs
):
386 """GetImage(self) -> int"""
387 return _gizmos
.TreeListColumnInfo_GetImage(*args
, **kwargs
)
389 def GetSelectedImage(*args
, **kwargs
):
390 """GetSelectedImage(self) -> int"""
391 return _gizmos
.TreeListColumnInfo_GetSelectedImage(*args
, **kwargs
)
393 def GetWidth(*args
, **kwargs
):
394 """GetWidth(self) -> size_t"""
395 return _gizmos
.TreeListColumnInfo_GetWidth(*args
, **kwargs
)
397 def IsEditable(*args
, **kwargs
):
398 """IsEditable(self) -> bool"""
399 return _gizmos
.TreeListColumnInfo_IsEditable(*args
, **kwargs
)
401 def IsShown(*args
, **kwargs
):
402 """IsShown(self) -> bool"""
403 return _gizmos
.TreeListColumnInfo_IsShown(*args
, **kwargs
)
405 def SetAlignment(*args
, **kwargs
):
406 """SetAlignment(self, int alignment)"""
407 return _gizmos
.TreeListColumnInfo_SetAlignment(*args
, **kwargs
)
409 def SetText(*args
, **kwargs
):
410 """SetText(self, String text)"""
411 return _gizmos
.TreeListColumnInfo_SetText(*args
, **kwargs
)
413 def SetImage(*args
, **kwargs
):
414 """SetImage(self, int image)"""
415 return _gizmos
.TreeListColumnInfo_SetImage(*args
, **kwargs
)
417 def SetSelectedImage(*args
, **kwargs
):
418 """SetSelectedImage(self, int image)"""
419 return _gizmos
.TreeListColumnInfo_SetSelectedImage(*args
, **kwargs
)
421 def SetWidth(*args
, **kwargs
):
422 """SetWidth(self, size_t with)"""
423 return _gizmos
.TreeListColumnInfo_SetWidth(*args
, **kwargs
)
425 def SetEditable(*args
, **kwargs
):
426 """SetEditable(self, bool edit)"""
427 return _gizmos
.TreeListColumnInfo_SetEditable(*args
, **kwargs
)
429 def SetShown(*args
, **kwargs
):
430 """SetShown(self, bool shown)"""
431 return _gizmos
.TreeListColumnInfo_SetShown(*args
, **kwargs
)
433 _gizmos
.TreeListColumnInfo_swigregister(TreeListColumnInfo
)
434 TreeListCtrlNameStr
= cvar
.TreeListCtrlNameStr
436 class TreeListCtrl(_core
.Control
):
437 """Proxy of C++ TreeListCtrl class"""
438 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
439 __repr__
= _swig_repr
440 def __init__(self
, *args
, **kwargs
):
442 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
443 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
444 Validator validator=DefaultValidator,
445 String name=TreeListCtrlNameStr) -> TreeListCtrl
447 _gizmos
.TreeListCtrl_swiginit(self
,_gizmos
.new_TreeListCtrl(*args
, **kwargs
))
448 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, TreeListCtrl
)
450 def Create(*args
, **kwargs
):
452 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
453 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
454 Validator validator=DefaultValidator,
455 String name=TreeListCtrlNameStr) -> bool
457 Do the 2nd phase and create the GUI control.
459 return _gizmos
.TreeListCtrl_Create(*args
, **kwargs
)
461 def _setCallbackInfo(*args
, **kwargs
):
462 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
463 return _gizmos
.TreeListCtrl__setCallbackInfo(*args
, **kwargs
)
465 def GetCount(*args
, **kwargs
):
466 """GetCount(self) -> size_t"""
467 return _gizmos
.TreeListCtrl_GetCount(*args
, **kwargs
)
469 def GetIndent(*args
, **kwargs
):
470 """GetIndent(self) -> unsigned int"""
471 return _gizmos
.TreeListCtrl_GetIndent(*args
, **kwargs
)
473 def SetIndent(*args
, **kwargs
):
474 """SetIndent(self, unsigned int indent)"""
475 return _gizmos
.TreeListCtrl_SetIndent(*args
, **kwargs
)
477 def GetLineSpacing(*args
, **kwargs
):
478 """GetLineSpacing(self) -> unsigned int"""
479 return _gizmos
.TreeListCtrl_GetLineSpacing(*args
, **kwargs
)
481 def SetLineSpacing(*args
, **kwargs
):
482 """SetLineSpacing(self, unsigned int spacing)"""
483 return _gizmos
.TreeListCtrl_SetLineSpacing(*args
, **kwargs
)
485 def GetImageList(*args
, **kwargs
):
486 """GetImageList(self) -> ImageList"""
487 return _gizmos
.TreeListCtrl_GetImageList(*args
, **kwargs
)
489 def GetStateImageList(*args
, **kwargs
):
490 """GetStateImageList(self) -> ImageList"""
491 return _gizmos
.TreeListCtrl_GetStateImageList(*args
, **kwargs
)
493 def GetButtonsImageList(*args
, **kwargs
):
494 """GetButtonsImageList(self) -> ImageList"""
495 return _gizmos
.TreeListCtrl_GetButtonsImageList(*args
, **kwargs
)
497 def SetImageList(*args
, **kwargs
):
498 """SetImageList(self, ImageList imageList)"""
499 return _gizmos
.TreeListCtrl_SetImageList(*args
, **kwargs
)
501 def SetStateImageList(*args
, **kwargs
):
502 """SetStateImageList(self, ImageList imageList)"""
503 return _gizmos
.TreeListCtrl_SetStateImageList(*args
, **kwargs
)
505 def SetButtonsImageList(*args
, **kwargs
):
506 """SetButtonsImageList(self, ImageList imageList)"""
507 return _gizmos
.TreeListCtrl_SetButtonsImageList(*args
, **kwargs
)
509 def AssignImageList(*args
, **kwargs
):
510 """AssignImageList(self, ImageList imageList)"""
511 return _gizmos
.TreeListCtrl_AssignImageList(*args
, **kwargs
)
513 def AssignStateImageList(*args
, **kwargs
):
514 """AssignStateImageList(self, ImageList imageList)"""
515 return _gizmos
.TreeListCtrl_AssignStateImageList(*args
, **kwargs
)
517 def AssignButtonsImageList(*args
, **kwargs
):
518 """AssignButtonsImageList(self, ImageList imageList)"""
519 return _gizmos
.TreeListCtrl_AssignButtonsImageList(*args
, **kwargs
)
521 def AddColumn(*args
, **kwargs
):
523 AddColumn(self, String text, int width=DEFAULT_COL_WIDTH, int flag=ALIGN_LEFT,
524 int image=-1, bool shown=True, bool edit=False)
526 return _gizmos
.TreeListCtrl_AddColumn(*args
, **kwargs
)
528 def AddColumnInfo(*args
, **kwargs
):
529 """AddColumnInfo(self, TreeListColumnInfo col)"""
530 return _gizmos
.TreeListCtrl_AddColumnInfo(*args
, **kwargs
)
532 def InsertColumn(*args
, **kwargs
):
534 InsertColumn(self, int before, String text, int width=DEFAULT_COL_WIDTH,
535 int flag=ALIGN_LEFT, int image=-1, bool shown=True,
538 return _gizmos
.TreeListCtrl_InsertColumn(*args
, **kwargs
)
540 def InsertColumnInfo(*args
, **kwargs
):
541 """InsertColumnInfo(self, size_t before, TreeListColumnInfo col)"""
542 return _gizmos
.TreeListCtrl_InsertColumnInfo(*args
, **kwargs
)
544 def RemoveColumn(*args
, **kwargs
):
545 """RemoveColumn(self, size_t column)"""
546 return _gizmos
.TreeListCtrl_RemoveColumn(*args
, **kwargs
)
548 def GetColumnCount(*args
, **kwargs
):
549 """GetColumnCount(self) -> size_t"""
550 return _gizmos
.TreeListCtrl_GetColumnCount(*args
, **kwargs
)
552 def SetMainColumn(*args
, **kwargs
):
553 """SetMainColumn(self, size_t column)"""
554 return _gizmos
.TreeListCtrl_SetMainColumn(*args
, **kwargs
)
556 def GetMainColumn(*args
, **kwargs
):
557 """GetMainColumn(self) -> size_t"""
558 return _gizmos
.TreeListCtrl_GetMainColumn(*args
, **kwargs
)
560 def SetColumn(*args
, **kwargs
):
561 """SetColumn(self, int column, TreeListColumnInfo colInfo)"""
562 return _gizmos
.TreeListCtrl_SetColumn(*args
, **kwargs
)
564 def GetColumn(*args
, **kwargs
):
565 """GetColumn(self, int column) -> TreeListColumnInfo"""
566 return _gizmos
.TreeListCtrl_GetColumn(*args
, **kwargs
)
568 def SetColumnText(*args
, **kwargs
):
569 """SetColumnText(self, int column, String text)"""
570 return _gizmos
.TreeListCtrl_SetColumnText(*args
, **kwargs
)
572 def GetColumnText(*args
, **kwargs
):
573 """GetColumnText(self, int column) -> String"""
574 return _gizmos
.TreeListCtrl_GetColumnText(*args
, **kwargs
)
576 def SetColumnWidth(*args
, **kwargs
):
577 """SetColumnWidth(self, int column, int width)"""
578 return _gizmos
.TreeListCtrl_SetColumnWidth(*args
, **kwargs
)
580 def GetColumnWidth(*args
, **kwargs
):
581 """GetColumnWidth(self, int column) -> int"""
582 return _gizmos
.TreeListCtrl_GetColumnWidth(*args
, **kwargs
)
584 def SetColumnAlignment(*args
, **kwargs
):
585 """SetColumnAlignment(self, int column, int flag)"""
586 return _gizmos
.TreeListCtrl_SetColumnAlignment(*args
, **kwargs
)
588 def GetColumnAlignment(*args
, **kwargs
):
589 """GetColumnAlignment(self, int column) -> int"""
590 return _gizmos
.TreeListCtrl_GetColumnAlignment(*args
, **kwargs
)
592 def SetColumnImage(*args
, **kwargs
):
593 """SetColumnImage(self, int column, int image)"""
594 return _gizmos
.TreeListCtrl_SetColumnImage(*args
, **kwargs
)
596 def GetColumnImage(*args
, **kwargs
):
597 """GetColumnImage(self, int column) -> int"""
598 return _gizmos
.TreeListCtrl_GetColumnImage(*args
, **kwargs
)
600 def SetColumnShown(*args
, **kwargs
):
601 """SetColumnShown(self, int column, bool shown=True)"""
602 return _gizmos
.TreeListCtrl_SetColumnShown(*args
, **kwargs
)
604 def IsColumnShown(*args
, **kwargs
):
605 """IsColumnShown(self, int column) -> bool"""
606 return _gizmos
.TreeListCtrl_IsColumnShown(*args
, **kwargs
)
608 ShowColumn
= SetColumnShown
609 def SetColumnEditable(*args
, **kwargs
):
610 """SetColumnEditable(self, int column, bool edit=True)"""
611 return _gizmos
.TreeListCtrl_SetColumnEditable(*args
, **kwargs
)
613 def IsColumnEditable(*args
, **kwargs
):
614 """IsColumnEditable(self, int column) -> bool"""
615 return _gizmos
.TreeListCtrl_IsColumnEditable(*args
, **kwargs
)
617 def GetItemText(*args
, **kwargs
):
618 """GetItemText(self, TreeItemId item, int column=-1) -> String"""
619 return _gizmos
.TreeListCtrl_GetItemText(*args
, **kwargs
)
621 def GetItemImage(*args
, **kwargs
):
622 """GetItemImage(self, TreeItemId item, int column=-1, int which=TreeItemIcon_Normal) -> int"""
623 return _gizmos
.TreeListCtrl_GetItemImage(*args
, **kwargs
)
625 def SetItemText(*args
, **kwargs
):
626 """SetItemText(self, TreeItemId item, String text, int column=-1)"""
627 return _gizmos
.TreeListCtrl_SetItemText(*args
, **kwargs
)
629 def SetItemImage(*args
, **kwargs
):
630 """SetItemImage(self, TreeItemId item, int image, int column=-1, int which=TreeItemIcon_Normal)"""
631 return _gizmos
.TreeListCtrl_SetItemImage(*args
, **kwargs
)
633 def GetItemData(*args
, **kwargs
):
634 """GetItemData(self, TreeItemId item) -> TreeItemData"""
635 return _gizmos
.TreeListCtrl_GetItemData(*args
, **kwargs
)
637 def SetItemData(*args
, **kwargs
):
638 """SetItemData(self, TreeItemId item, TreeItemData data)"""
639 return _gizmos
.TreeListCtrl_SetItemData(*args
, **kwargs
)
641 def GetItemPyData(*args
, **kwargs
):
642 """GetItemPyData(self, TreeItemId item) -> PyObject"""
643 return _gizmos
.TreeListCtrl_GetItemPyData(*args
, **kwargs
)
645 def SetItemPyData(*args
, **kwargs
):
646 """SetItemPyData(self, TreeItemId item, PyObject obj)"""
647 return _gizmos
.TreeListCtrl_SetItemPyData(*args
, **kwargs
)
649 GetPyData
= GetItemPyData
650 SetPyData
= SetItemPyData
651 def GetItemBold(*args
, **kwargs
):
652 """GetItemBold(self, TreeItemId item) -> bool"""
653 return _gizmos
.TreeListCtrl_GetItemBold(*args
, **kwargs
)
655 def GetItemTextColour(*args
, **kwargs
):
656 """GetItemTextColour(self, TreeItemId item) -> Colour"""
657 return _gizmos
.TreeListCtrl_GetItemTextColour(*args
, **kwargs
)
659 def GetItemBackgroundColour(*args
, **kwargs
):
660 """GetItemBackgroundColour(self, TreeItemId item) -> Colour"""
661 return _gizmos
.TreeListCtrl_GetItemBackgroundColour(*args
, **kwargs
)
663 def GetItemFont(*args
, **kwargs
):
664 """GetItemFont(self, TreeItemId item) -> Font"""
665 return _gizmos
.TreeListCtrl_GetItemFont(*args
, **kwargs
)
667 def SetItemHasChildren(*args
, **kwargs
):
668 """SetItemHasChildren(self, TreeItemId item, bool has=True)"""
669 return _gizmos
.TreeListCtrl_SetItemHasChildren(*args
, **kwargs
)
671 def SetItemBold(*args
, **kwargs
):
672 """SetItemBold(self, TreeItemId item, bool bold=True)"""
673 return _gizmos
.TreeListCtrl_SetItemBold(*args
, **kwargs
)
675 def SetItemTextColour(*args
, **kwargs
):
676 """SetItemTextColour(self, TreeItemId item, Colour colour)"""
677 return _gizmos
.TreeListCtrl_SetItemTextColour(*args
, **kwargs
)
679 def SetItemBackgroundColour(*args
, **kwargs
):
680 """SetItemBackgroundColour(self, TreeItemId item, Colour colour)"""
681 return _gizmos
.TreeListCtrl_SetItemBackgroundColour(*args
, **kwargs
)
683 def SetItemFont(*args
, **kwargs
):
684 """SetItemFont(self, TreeItemId item, Font font)"""
685 return _gizmos
.TreeListCtrl_SetItemFont(*args
, **kwargs
)
687 def IsVisible(*args
, **kwargs
):
688 """IsVisible(self, TreeItemId item) -> bool"""
689 return _gizmos
.TreeListCtrl_IsVisible(*args
, **kwargs
)
691 def HasChildren(*args
, **kwargs
):
692 """HasChildren(self, TreeItemId item) -> bool"""
693 return _gizmos
.TreeListCtrl_HasChildren(*args
, **kwargs
)
695 ItemHasChildren
= HasChildren
696 def IsExpanded(*args
, **kwargs
):
697 """IsExpanded(self, TreeItemId item) -> bool"""
698 return _gizmos
.TreeListCtrl_IsExpanded(*args
, **kwargs
)
700 def IsSelected(*args
, **kwargs
):
701 """IsSelected(self, TreeItemId item) -> bool"""
702 return _gizmos
.TreeListCtrl_IsSelected(*args
, **kwargs
)
704 def IsBold(*args
, **kwargs
):
705 """IsBold(self, TreeItemId item) -> bool"""
706 return _gizmos
.TreeListCtrl_IsBold(*args
, **kwargs
)
708 def GetChildrenCount(*args
, **kwargs
):
709 """GetChildrenCount(self, TreeItemId item, bool recursively=True) -> size_t"""
710 return _gizmos
.TreeListCtrl_GetChildrenCount(*args
, **kwargs
)
712 def GetRootItem(*args
, **kwargs
):
713 """GetRootItem(self) -> TreeItemId"""
714 return _gizmos
.TreeListCtrl_GetRootItem(*args
, **kwargs
)
716 def GetSelection(*args
, **kwargs
):
717 """GetSelection(self) -> TreeItemId"""
718 return _gizmos
.TreeListCtrl_GetSelection(*args
, **kwargs
)
720 def GetSelections(*args
, **kwargs
):
721 """GetSelections(self) -> PyObject"""
722 return _gizmos
.TreeListCtrl_GetSelections(*args
, **kwargs
)
724 def GetItemParent(*args
, **kwargs
):
725 """GetItemParent(self, TreeItemId item) -> TreeItemId"""
726 return _gizmos
.TreeListCtrl_GetItemParent(*args
, **kwargs
)
728 def GetFirstChild(*args
, **kwargs
):
729 """GetFirstChild(self, TreeItemId item) -> PyObject"""
730 return _gizmos
.TreeListCtrl_GetFirstChild(*args
, **kwargs
)
732 def GetNextChild(*args
, **kwargs
):
733 """GetNextChild(self, TreeItemId item, void cookie) -> PyObject"""
734 return _gizmos
.TreeListCtrl_GetNextChild(*args
, **kwargs
)
736 def GetLastChild(*args
, **kwargs
):
737 """GetLastChild(self, TreeItemId item) -> PyObject"""
738 return _gizmos
.TreeListCtrl_GetLastChild(*args
, **kwargs
)
740 def GetPrevChild(*args
, **kwargs
):
741 """GetPrevChild(self, TreeItemId item, void cookie) -> PyObject"""
742 return _gizmos
.TreeListCtrl_GetPrevChild(*args
, **kwargs
)
744 def GetNextSibling(*args
, **kwargs
):
745 """GetNextSibling(self, TreeItemId item) -> TreeItemId"""
746 return _gizmos
.TreeListCtrl_GetNextSibling(*args
, **kwargs
)
748 def GetPrevSibling(*args
, **kwargs
):
749 """GetPrevSibling(self, TreeItemId item) -> TreeItemId"""
750 return _gizmos
.TreeListCtrl_GetPrevSibling(*args
, **kwargs
)
752 def GetNext(*args
, **kwargs
):
753 """GetNext(self, TreeItemId item) -> TreeItemId"""
754 return _gizmos
.TreeListCtrl_GetNext(*args
, **kwargs
)
756 def GetPrev(*args
, **kwargs
):
757 """GetPrev(self, TreeItemId item) -> TreeItemId"""
758 return _gizmos
.TreeListCtrl_GetPrev(*args
, **kwargs
)
760 def GetFirstExpandedItem(*args
, **kwargs
):
761 """GetFirstExpandedItem(self) -> TreeItemId"""
762 return _gizmos
.TreeListCtrl_GetFirstExpandedItem(*args
, **kwargs
)
764 def GetNextExpanded(*args
, **kwargs
):
765 """GetNextExpanded(self, TreeItemId item) -> TreeItemId"""
766 return _gizmos
.TreeListCtrl_GetNextExpanded(*args
, **kwargs
)
768 def GetPrevExpanded(*args
, **kwargs
):
769 """GetPrevExpanded(self, TreeItemId item) -> TreeItemId"""
770 return _gizmos
.TreeListCtrl_GetPrevExpanded(*args
, **kwargs
)
772 def GetFirstVisibleItem(*args
, **kwargs
):
773 """GetFirstVisibleItem(self, bool fullRow=False) -> TreeItemId"""
774 return _gizmos
.TreeListCtrl_GetFirstVisibleItem(*args
, **kwargs
)
776 def GetNextVisible(*args
, **kwargs
):
777 """GetNextVisible(self, TreeItemId item, bool fullRow=False) -> TreeItemId"""
778 return _gizmos
.TreeListCtrl_GetNextVisible(*args
, **kwargs
)
780 def GetPrevVisible(*args
, **kwargs
):
781 """GetPrevVisible(self, TreeItemId item, bool fullRow=False) -> TreeItemId"""
782 return _gizmos
.TreeListCtrl_GetPrevVisible(*args
, **kwargs
)
784 def AddRoot(*args
, **kwargs
):
785 """AddRoot(self, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId"""
786 return _gizmos
.TreeListCtrl_AddRoot(*args
, **kwargs
)
788 def PrependItem(*args
, **kwargs
):
790 PrependItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
791 TreeItemData data=None) -> TreeItemId
793 return _gizmos
.TreeListCtrl_PrependItem(*args
, **kwargs
)
795 def InsertItem(*args
, **kwargs
):
797 InsertItem(self, TreeItemId parent, TreeItemId idPrevious, String text,
798 int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId
800 return _gizmos
.TreeListCtrl_InsertItem(*args
, **kwargs
)
802 def InsertItemBefore(*args
, **kwargs
):
804 InsertItemBefore(self, TreeItemId parent, size_t index, String text, int image=-1,
805 int selectedImage=-1, TreeItemData data=None) -> TreeItemId
807 return _gizmos
.TreeListCtrl_InsertItemBefore(*args
, **kwargs
)
809 def AppendItem(*args
, **kwargs
):
811 AppendItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
812 TreeItemData data=None) -> TreeItemId
814 return _gizmos
.TreeListCtrl_AppendItem(*args
, **kwargs
)
816 def Delete(*args
, **kwargs
):
817 """Delete(self, TreeItemId item)"""
818 return _gizmos
.TreeListCtrl_Delete(*args
, **kwargs
)
820 def DeleteChildren(*args
, **kwargs
):
821 """DeleteChildren(self, TreeItemId item)"""
822 return _gizmos
.TreeListCtrl_DeleteChildren(*args
, **kwargs
)
824 def DeleteRoot(*args
, **kwargs
):
825 """DeleteRoot(self)"""
826 return _gizmos
.TreeListCtrl_DeleteRoot(*args
, **kwargs
)
828 DeleteAllItems
= DeleteRoot
829 def Expand(*args
, **kwargs
):
830 """Expand(self, TreeItemId item)"""
831 return _gizmos
.TreeListCtrl_Expand(*args
, **kwargs
)
833 def ExpandAll(*args
, **kwargs
):
834 """ExpandAll(self, TreeItemId item)"""
835 return _gizmos
.TreeListCtrl_ExpandAll(*args
, **kwargs
)
837 def Collapse(*args
, **kwargs
):
838 """Collapse(self, TreeItemId item)"""
839 return _gizmos
.TreeListCtrl_Collapse(*args
, **kwargs
)
841 def CollapseAndReset(*args
, **kwargs
):
842 """CollapseAndReset(self, TreeItemId item)"""
843 return _gizmos
.TreeListCtrl_CollapseAndReset(*args
, **kwargs
)
845 def Toggle(*args
, **kwargs
):
846 """Toggle(self, TreeItemId item)"""
847 return _gizmos
.TreeListCtrl_Toggle(*args
, **kwargs
)
849 def Unselect(*args
, **kwargs
):
851 return _gizmos
.TreeListCtrl_Unselect(*args
, **kwargs
)
853 def UnselectAll(*args
, **kwargs
):
854 """UnselectAll(self)"""
855 return _gizmos
.TreeListCtrl_UnselectAll(*args
, **kwargs
)
857 def SelectItem(*args
, **kwargs
):
859 SelectItem(self, TreeItemId item, TreeItemId last=(wxTreeItemId *) NULL,
860 bool unselect_others=True)
862 return _gizmos
.TreeListCtrl_SelectItem(*args
, **kwargs
)
864 def SelectAll(*args
, **kwargs
):
865 """SelectAll(self)"""
866 return _gizmos
.TreeListCtrl_SelectAll(*args
, **kwargs
)
868 def EnsureVisible(*args
, **kwargs
):
869 """EnsureVisible(self, TreeItemId item)"""
870 return _gizmos
.TreeListCtrl_EnsureVisible(*args
, **kwargs
)
872 def ScrollTo(*args
, **kwargs
):
873 """ScrollTo(self, TreeItemId item)"""
874 return _gizmos
.TreeListCtrl_ScrollTo(*args
, **kwargs
)
876 def HitTest(*args
, **kwargs
):
877 """HitTest(self, Point point, int OUTPUT, int OUTPUT) -> TreeItemId"""
878 return _gizmos
.TreeListCtrl_HitTest(*args
, **kwargs
)
880 def GetBoundingRect(*args
, **kwargs
):
881 """GetBoundingRect(self, TreeItemId item, bool textOnly=False) -> PyObject"""
882 return _gizmos
.TreeListCtrl_GetBoundingRect(*args
, **kwargs
)
884 def EditLabel(*args
, **kwargs
):
885 """EditLabel(self, TreeItemId item, int column=-1)"""
886 return _gizmos
.TreeListCtrl_EditLabel(*args
, **kwargs
)
889 def SortChildren(*args
, **kwargs
):
890 """SortChildren(self, TreeItemId item)"""
891 return _gizmos
.TreeListCtrl_SortChildren(*args
, **kwargs
)
893 def FindItem(*args
, **kwargs
):
894 """FindItem(self, TreeItemId item, String str, int flags=0) -> TreeItemId"""
895 return _gizmos
.TreeListCtrl_FindItem(*args
, **kwargs
)
897 def SetDragItem(*args
, **kwargs
):
898 """SetDragItem(self, TreeItemId item=(wxTreeItemId *) NULL)"""
899 return _gizmos
.TreeListCtrl_SetDragItem(*args
, **kwargs
)
901 def GetHeaderWindow(*args
, **kwargs
):
902 """GetHeaderWindow(self) -> Window"""
903 return _gizmos
.TreeListCtrl_GetHeaderWindow(*args
, **kwargs
)
905 def GetMainWindow(*args
, **kwargs
):
906 """GetMainWindow(self) -> ScrolledWindow"""
907 return _gizmos
.TreeListCtrl_GetMainWindow(*args
, **kwargs
)
909 _gizmos
.TreeListCtrl_swigregister(TreeListCtrl
)
911 def PreTreeListCtrl(*args
, **kwargs
):
912 """PreTreeListCtrl() -> TreeListCtrl"""
913 val
= _gizmos
.new_PreTreeListCtrl(*args
, **kwargs
)
916 SCALE_HORIZONTAL
= _gizmos
.SCALE_HORIZONTAL
917 SCALE_VERTICAL
= _gizmos
.SCALE_VERTICAL
918 SCALE_UNIFORM
= _gizmos
.SCALE_UNIFORM
919 SCALE_CUSTOM
= _gizmos
.SCALE_CUSTOM
920 class StaticPicture(_core
.Control
):
921 """Proxy of C++ StaticPicture class"""
922 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
923 __repr__
= _swig_repr
924 def __init__(self
, *args
, **kwargs
):
926 __init__(self, Window parent, int id=-1, Bitmap label=wxNullBitmap,
927 Point pos=DefaultPosition, Size size=DefaultSize,
928 long style=0, String name=StaticPictureNameStr) -> StaticPicture
930 _gizmos
.StaticPicture_swiginit(self
,_gizmos
.new_StaticPicture(*args
, **kwargs
))
931 self
._setOORInfo
(self
)
933 def Create(*args
, **kwargs
):
935 Create(self, Window parent, int id=-1, Bitmap label=wxNullBitmap,
936 Point pos=DefaultPosition, Size size=DefaultSize,
937 long style=0, String name=StaticPictureNameStr) -> bool
939 return _gizmos
.StaticPicture_Create(*args
, **kwargs
)
941 def SetBitmap(*args
, **kwargs
):
942 """SetBitmap(self, Bitmap bmp)"""
943 return _gizmos
.StaticPicture_SetBitmap(*args
, **kwargs
)
945 def GetBitmap(*args
, **kwargs
):
946 """GetBitmap(self) -> Bitmap"""
947 return _gizmos
.StaticPicture_GetBitmap(*args
, **kwargs
)
949 def SetIcon(*args
, **kwargs
):
950 """SetIcon(self, Icon icon)"""
951 return _gizmos
.StaticPicture_SetIcon(*args
, **kwargs
)
953 def GetIcon(*args
, **kwargs
):
954 """GetIcon(self) -> Icon"""
955 return _gizmos
.StaticPicture_GetIcon(*args
, **kwargs
)
957 def SetAlignment(*args
, **kwargs
):
958 """SetAlignment(self, int align)"""
959 return _gizmos
.StaticPicture_SetAlignment(*args
, **kwargs
)
961 def GetAlignment(*args
, **kwargs
):
963 GetAlignment(self) -> int
965 Get the control alignment (left/right/centre, top/bottom/centre)
967 return _gizmos
.StaticPicture_GetAlignment(*args
, **kwargs
)
969 def SetScale(*args
, **kwargs
):
970 """SetScale(self, int scale)"""
971 return _gizmos
.StaticPicture_SetScale(*args
, **kwargs
)
973 def GetScale(*args
, **kwargs
):
974 """GetScale(self) -> int"""
975 return _gizmos
.StaticPicture_GetScale(*args
, **kwargs
)
977 def SetCustomScale(*args
, **kwargs
):
978 """SetCustomScale(self, float sx, float sy)"""
979 return _gizmos
.StaticPicture_SetCustomScale(*args
, **kwargs
)
981 def GetCustomScale(*args
, **kwargs
):
982 """GetCustomScale(self, float OUTPUT, float OUTPUT)"""
983 return _gizmos
.StaticPicture_GetCustomScale(*args
, **kwargs
)
985 _gizmos
.StaticPicture_swigregister(StaticPicture
)
987 def PreStaticPicture(*args
, **kwargs
):
988 """PreStaticPicture() -> StaticPicture"""
989 val
= _gizmos
.new_PreStaticPicture(*args
, **kwargs
)