1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
6 def _swig_setattr_nondynamic(self
,class_type
,name
,value
,static
=1):
8 if isinstance(value
, class_type
):
9 self
.__dict
__[name
] = value
.this
10 if hasattr(value
,"thisown"): self
.__dict
__["thisown"] = value
.thisown
13 method
= class_type
.__swig
_setmethods
__.get(name
,None)
14 if method
: return method(self
,value
)
15 if (not static
) or hasattr(self
,name
) or (name
== "thisown"):
16 self
.__dict
__[name
] = value
18 raise AttributeError("You cannot add attributes to %s" % self
)
20 def _swig_setattr(self
,class_type
,name
,value
):
21 return _swig_setattr_nondynamic(self
,class_type
,name
,value
,0)
23 def _swig_getattr(self
,class_type
,name
):
24 method
= class_type
.__swig
_getmethods
__.get(name
,None)
25 if method
: return method(self
)
26 raise AttributeError,name
30 _object
= types
.ObjectType
32 except AttributeError:
38 def _swig_setattr_nondynamic_method(set):
39 def set_attr(self
,name
,value
):
40 if hasattr(self
,name
) or (name
in ("this", "thisown")):
43 raise AttributeError("You cannot add attributes to %s" % self
)
49 #---------------------------------------------------------------------------
51 class Panel(_core
.Window
):
52 """Proxy of C++ Panel class"""
54 return "<%s.%s; proxy of C++ wxPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
55 def __init__(self
, *args
, **kwargs
):
57 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
58 Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
59 String name=PanelNameStr) -> Panel
61 newobj
= _windows_
.new_Panel(*args
, **kwargs
)
62 self
.this
= newobj
.this
65 self
._setOORInfo
(self
)
67 def Create(*args
, **kwargs
):
69 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
70 Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
71 String name=PanelNameStr) -> bool
73 Create the GUI part of the Window for 2-phase creation mode.
75 return _windows_
.Panel_Create(*args
, **kwargs
)
77 def InitDialog(*args
, **kwargs
):
81 Sends an EVT_INIT_DIALOG event, whose handler usually transfers data
82 to the dialog via validators.
84 return _windows_
.Panel_InitDialog(*args
, **kwargs
)
86 def SetFocus(*args
, **kwargs
):
90 Overrides `wx.Window.SetFocus`. This method uses the (undocumented)
91 mix-in class wxControlContainer which manages the focus and TAB logic
92 for controls which usually have child controls. In practice, if you
93 call this method and the panel has at least one child window, then the
94 focus will be given to the child window.
96 return _windows_
.Panel_SetFocus(*args
, **kwargs
)
98 def SetFocusIgnoringChildren(*args
, **kwargs
):
100 SetFocusIgnoringChildren(self)
102 In contrast to `SetFocus` (see above) this will set the focus to the
103 panel even of there are child windows in the panel. This is only
106 return _windows_
.Panel_SetFocusIgnoringChildren(*args
, **kwargs
)
108 def GetClassDefaultAttributes(*args
, **kwargs
):
110 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
112 Get the default attributes for this class. This is useful if you want
113 to use the same font or colour in your own control as in a standard
114 control -- which is a much better idea than hard coding specific
115 colours or fonts which might look completely out of place on the
116 user's system, especially if it uses themes.
118 The variant parameter is only relevant under Mac currently and is
119 ignore under other platforms. Under Mac, it will change the size of
120 the returned font. See `wx.Window.SetWindowVariant` for more about
123 return _windows_
.Panel_GetClassDefaultAttributes(*args
, **kwargs
)
125 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
127 class PanelPtr(Panel
):
128 def __init__(self
, this
):
130 if not hasattr(self
,"thisown"): self
.thisown
= 0
131 self
.__class
__ = Panel
132 _windows_
.Panel_swigregister(PanelPtr
)
134 def PrePanel(*args
, **kwargs
):
135 """PrePanel() -> Panel"""
136 val
= _windows_
.new_PrePanel(*args
, **kwargs
)
140 def Panel_GetClassDefaultAttributes(*args
, **kwargs
):
142 Panel_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
144 Get the default attributes for this class. This is useful if you want
145 to use the same font or colour in your own control as in a standard
146 control -- which is a much better idea than hard coding specific
147 colours or fonts which might look completely out of place on the
148 user's system, especially if it uses themes.
150 The variant parameter is only relevant under Mac currently and is
151 ignore under other platforms. Under Mac, it will change the size of
152 the returned font. See `wx.Window.SetWindowVariant` for more about
155 return _windows_
.Panel_GetClassDefaultAttributes(*args
, **kwargs
)
157 #---------------------------------------------------------------------------
159 class ScrolledWindow(Panel
):
160 """Proxy of C++ ScrolledWindow class"""
162 return "<%s.%s; proxy of C++ wxScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
163 def __init__(self
, *args
, **kwargs
):
165 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
166 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
167 String name=PanelNameStr) -> ScrolledWindow
169 newobj
= _windows_
.new_ScrolledWindow(*args
, **kwargs
)
170 self
.this
= newobj
.this
173 self
._setOORInfo
(self
)
175 def Create(*args
, **kwargs
):
177 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
178 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
179 String name=PanelNameStr) -> bool
181 Create the GUI part of the Window for 2-phase creation mode.
183 return _windows_
.ScrolledWindow_Create(*args
, **kwargs
)
185 def SetScrollbars(*args
, **kwargs
):
187 SetScrollbars(self, int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX,
188 int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)
190 return _windows_
.ScrolledWindow_SetScrollbars(*args
, **kwargs
)
192 def Scroll(*args
, **kwargs
):
193 """Scroll(self, int x, int y)"""
194 return _windows_
.ScrolledWindow_Scroll(*args
, **kwargs
)
196 def GetScrollPageSize(*args
, **kwargs
):
197 """GetScrollPageSize(self, int orient) -> int"""
198 return _windows_
.ScrolledWindow_GetScrollPageSize(*args
, **kwargs
)
200 def SetScrollPageSize(*args
, **kwargs
):
201 """SetScrollPageSize(self, int orient, int pageSize)"""
202 return _windows_
.ScrolledWindow_SetScrollPageSize(*args
, **kwargs
)
204 def SetScrollRate(*args
, **kwargs
):
205 """SetScrollRate(self, int xstep, int ystep)"""
206 return _windows_
.ScrolledWindow_SetScrollRate(*args
, **kwargs
)
208 def GetScrollPixelsPerUnit(*args
, **kwargs
):
210 GetScrollPixelsPerUnit() -> (xUnit, yUnit)
212 Get the size of one logical unit in physical units.
214 return _windows_
.ScrolledWindow_GetScrollPixelsPerUnit(*args
, **kwargs
)
216 def EnableScrolling(*args
, **kwargs
):
217 """EnableScrolling(self, bool x_scrolling, bool y_scrolling)"""
218 return _windows_
.ScrolledWindow_EnableScrolling(*args
, **kwargs
)
220 def GetViewStart(*args
, **kwargs
):
222 GetViewStart() -> (x,y)
226 return _windows_
.ScrolledWindow_GetViewStart(*args
, **kwargs
)
228 def SetScale(*args
, **kwargs
):
229 """SetScale(self, double xs, double ys)"""
230 return _windows_
.ScrolledWindow_SetScale(*args
, **kwargs
)
232 def GetScaleX(*args
, **kwargs
):
233 """GetScaleX(self) -> double"""
234 return _windows_
.ScrolledWindow_GetScaleX(*args
, **kwargs
)
236 def GetScaleY(*args
, **kwargs
):
237 """GetScaleY(self) -> double"""
238 return _windows_
.ScrolledWindow_GetScaleY(*args
, **kwargs
)
240 def CalcScrolledPosition(*args
):
242 CalcScrolledPosition(self, Point pt) -> Point
243 CalcScrolledPosition(int x, int y) -> (sx, sy)
245 Translate between scrolled and unscrolled coordinates.
247 return _windows_
.ScrolledWindow_CalcScrolledPosition(*args
)
249 def CalcUnscrolledPosition(*args
):
251 CalcUnscrolledPosition(self, Point pt) -> Point
252 CalcUnscrolledPosition(int x, int y) -> (ux, uy)
254 Translate between scrolled and unscrolled coordinates.
256 return _windows_
.ScrolledWindow_CalcUnscrolledPosition(*args
)
258 def AdjustScrollbars(*args
, **kwargs
):
259 """AdjustScrollbars(self)"""
260 return _windows_
.ScrolledWindow_AdjustScrollbars(*args
, **kwargs
)
262 def CalcScrollInc(*args
, **kwargs
):
263 """CalcScrollInc(self, ScrollWinEvent event) -> int"""
264 return _windows_
.ScrolledWindow_CalcScrollInc(*args
, **kwargs
)
266 def SetTargetWindow(*args
, **kwargs
):
267 """SetTargetWindow(self, Window target)"""
268 return _windows_
.ScrolledWindow_SetTargetWindow(*args
, **kwargs
)
270 def GetTargetWindow(*args
, **kwargs
):
271 """GetTargetWindow(self) -> Window"""
272 return _windows_
.ScrolledWindow_GetTargetWindow(*args
, **kwargs
)
274 def DoPrepareDC(*args
, **kwargs
):
276 DoPrepareDC(self, DC dc)
278 Normally what is called by `PrepareDC`.
280 return _windows_
.ScrolledWindow_DoPrepareDC(*args
, **kwargs
)
282 def GetClassDefaultAttributes(*args
, **kwargs
):
284 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
286 Get the default attributes for this class. This is useful if you want
287 to use the same font or colour in your own control as in a standard
288 control -- which is a much better idea than hard coding specific
289 colours or fonts which might look completely out of place on the
290 user's system, especially if it uses themes.
292 The variant parameter is only relevant under Mac currently and is
293 ignore under other platforms. Under Mac, it will change the size of
294 the returned font. See `wx.Window.SetWindowVariant` for more about
297 return _windows_
.ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
)
299 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
301 class ScrolledWindowPtr(ScrolledWindow
):
302 def __init__(self
, this
):
304 if not hasattr(self
,"thisown"): self
.thisown
= 0
305 self
.__class
__ = ScrolledWindow
306 _windows_
.ScrolledWindow_swigregister(ScrolledWindowPtr
)
308 def PreScrolledWindow(*args
, **kwargs
):
309 """PreScrolledWindow() -> ScrolledWindow"""
310 val
= _windows_
.new_PreScrolledWindow(*args
, **kwargs
)
314 def ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
):
316 ScrolledWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
318 Get the default attributes for this class. This is useful if you want
319 to use the same font or colour in your own control as in a standard
320 control -- which is a much better idea than hard coding specific
321 colours or fonts which might look completely out of place on the
322 user's system, especially if it uses themes.
324 The variant parameter is only relevant under Mac currently and is
325 ignore under other platforms. Under Mac, it will change the size of
326 the returned font. See `wx.Window.SetWindowVariant` for more about
329 return _windows_
.ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
)
331 #---------------------------------------------------------------------------
333 STAY_ON_TOP
= _windows_
.STAY_ON_TOP
334 ICONIZE
= _windows_
.ICONIZE
335 MINIMIZE
= _windows_
.MINIMIZE
336 MAXIMIZE
= _windows_
.MAXIMIZE
337 CLOSE_BOX
= _windows_
.CLOSE_BOX
338 THICK_FRAME
= _windows_
.THICK_FRAME
339 SYSTEM_MENU
= _windows_
.SYSTEM_MENU
340 MINIMIZE_BOX
= _windows_
.MINIMIZE_BOX
341 MAXIMIZE_BOX
= _windows_
.MAXIMIZE_BOX
342 TINY_CAPTION_HORIZ
= _windows_
.TINY_CAPTION_HORIZ
343 TINY_CAPTION_VERT
= _windows_
.TINY_CAPTION_VERT
344 RESIZE_BOX
= _windows_
.RESIZE_BOX
345 RESIZE_BORDER
= _windows_
.RESIZE_BORDER
346 DIALOG_NO_PARENT
= _windows_
.DIALOG_NO_PARENT
347 DEFAULT_FRAME_STYLE
= _windows_
.DEFAULT_FRAME_STYLE
348 DEFAULT_DIALOG_STYLE
= _windows_
.DEFAULT_DIALOG_STYLE
349 FRAME_TOOL_WINDOW
= _windows_
.FRAME_TOOL_WINDOW
350 FRAME_FLOAT_ON_PARENT
= _windows_
.FRAME_FLOAT_ON_PARENT
351 FRAME_NO_WINDOW_MENU
= _windows_
.FRAME_NO_WINDOW_MENU
352 FRAME_NO_TASKBAR
= _windows_
.FRAME_NO_TASKBAR
353 FRAME_SHAPED
= _windows_
.FRAME_SHAPED
354 FRAME_DRAWER
= _windows_
.FRAME_DRAWER
355 DIALOG_MODAL
= _windows_
.DIALOG_MODAL
356 DIALOG_MODELESS
= _windows_
.DIALOG_MODELESS
357 USER_COLOURS
= _windows_
.USER_COLOURS
358 NO_3D
= _windows_
.NO_3D
359 FULLSCREEN_NOMENUBAR
= _windows_
.FULLSCREEN_NOMENUBAR
360 FULLSCREEN_NOTOOLBAR
= _windows_
.FULLSCREEN_NOTOOLBAR
361 FULLSCREEN_NOSTATUSBAR
= _windows_
.FULLSCREEN_NOSTATUSBAR
362 FULLSCREEN_NOBORDER
= _windows_
.FULLSCREEN_NOBORDER
363 FULLSCREEN_NOCAPTION
= _windows_
.FULLSCREEN_NOCAPTION
364 FULLSCREEN_ALL
= _windows_
.FULLSCREEN_ALL
365 TOPLEVEL_EX_DIALOG
= _windows_
.TOPLEVEL_EX_DIALOG
366 USER_ATTENTION_INFO
= _windows_
.USER_ATTENTION_INFO
367 USER_ATTENTION_ERROR
= _windows_
.USER_ATTENTION_ERROR
368 class TopLevelWindow(_core
.Window
):
369 """Proxy of C++ TopLevelWindow class"""
370 def __init__(self
): raise RuntimeError, "No constructor defined"
372 return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
373 def Maximize(*args
, **kwargs
):
374 """Maximize(self, bool maximize=True)"""
375 return _windows_
.TopLevelWindow_Maximize(*args
, **kwargs
)
377 def Restore(*args
, **kwargs
):
379 return _windows_
.TopLevelWindow_Restore(*args
, **kwargs
)
381 def Iconize(*args
, **kwargs
):
382 """Iconize(self, bool iconize=True)"""
383 return _windows_
.TopLevelWindow_Iconize(*args
, **kwargs
)
385 def IsMaximized(*args
, **kwargs
):
386 """IsMaximized(self) -> bool"""
387 return _windows_
.TopLevelWindow_IsMaximized(*args
, **kwargs
)
389 def IsIconized(*args
, **kwargs
):
390 """IsIconized(self) -> bool"""
391 return _windows_
.TopLevelWindow_IsIconized(*args
, **kwargs
)
393 def GetIcon(*args
, **kwargs
):
394 """GetIcon(self) -> Icon"""
395 return _windows_
.TopLevelWindow_GetIcon(*args
, **kwargs
)
397 def SetIcon(*args
, **kwargs
):
398 """SetIcon(self, Icon icon)"""
399 return _windows_
.TopLevelWindow_SetIcon(*args
, **kwargs
)
401 def SetIcons(*args
, **kwargs
):
402 """SetIcons(self, wxIconBundle icons)"""
403 return _windows_
.TopLevelWindow_SetIcons(*args
, **kwargs
)
405 def ShowFullScreen(*args
, **kwargs
):
406 """ShowFullScreen(self, bool show, long style=FULLSCREEN_ALL) -> bool"""
407 return _windows_
.TopLevelWindow_ShowFullScreen(*args
, **kwargs
)
409 def IsFullScreen(*args
, **kwargs
):
410 """IsFullScreen(self) -> bool"""
411 return _windows_
.TopLevelWindow_IsFullScreen(*args
, **kwargs
)
413 def SetTitle(*args
, **kwargs
):
415 SetTitle(self, String title)
417 Sets the window's title. Applicable only to frames and dialogs.
419 return _windows_
.TopLevelWindow_SetTitle(*args
, **kwargs
)
421 def GetTitle(*args
, **kwargs
):
423 GetTitle(self) -> String
425 Gets the window's title. Applicable only to frames and dialogs.
427 return _windows_
.TopLevelWindow_GetTitle(*args
, **kwargs
)
429 def SetShape(*args
, **kwargs
):
430 """SetShape(self, Region region) -> bool"""
431 return _windows_
.TopLevelWindow_SetShape(*args
, **kwargs
)
433 def RequestUserAttention(*args
, **kwargs
):
434 """RequestUserAttention(self, int flags=USER_ATTENTION_INFO)"""
435 return _windows_
.TopLevelWindow_RequestUserAttention(*args
, **kwargs
)
437 def IsActive(*args
, **kwargs
):
438 """IsActive(self) -> bool"""
439 return _windows_
.TopLevelWindow_IsActive(*args
, **kwargs
)
441 def MacSetMetalAppearance(*args
, **kwargs
):
442 """MacSetMetalAppearance(self, bool on)"""
443 return _windows_
.TopLevelWindow_MacSetMetalAppearance(*args
, **kwargs
)
445 def MacGetMetalAppearance(*args
, **kwargs
):
446 """MacGetMetalAppearance(self) -> bool"""
447 return _windows_
.TopLevelWindow_MacGetMetalAppearance(*args
, **kwargs
)
450 class TopLevelWindowPtr(TopLevelWindow
):
451 def __init__(self
, this
):
453 if not hasattr(self
,"thisown"): self
.thisown
= 0
454 self
.__class
__ = TopLevelWindow
455 _windows_
.TopLevelWindow_swigregister(TopLevelWindowPtr
)
456 cvar
= _windows_
.cvar
457 FrameNameStr
= cvar
.FrameNameStr
458 DialogNameStr
= cvar
.DialogNameStr
459 StatusLineNameStr
= cvar
.StatusLineNameStr
460 ToolBarNameStr
= cvar
.ToolBarNameStr
462 #---------------------------------------------------------------------------
464 class Frame(TopLevelWindow
):
465 """Proxy of C++ Frame class"""
467 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
468 def __init__(self
, *args
, **kwargs
):
470 __init__(self, Window parent, int id=-1, String title=EmptyString,
471 Point pos=DefaultPosition, Size size=DefaultSize,
472 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> Frame
474 newobj
= _windows_
.new_Frame(*args
, **kwargs
)
475 self
.this
= newobj
.this
478 self
._setOORInfo
(self
)
480 def Create(*args
, **kwargs
):
482 Create(self, Window parent, int id=-1, String title=EmptyString,
483 Point pos=DefaultPosition, Size size=DefaultSize,
484 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
486 return _windows_
.Frame_Create(*args
, **kwargs
)
488 def GetClientAreaOrigin(*args
, **kwargs
):
490 GetClientAreaOrigin(self) -> Point
492 Get the origin of the client area of the window relative to the
493 window's top left corner (the client area may be shifted because of
494 the borders, scrollbars, other decorations...)
496 return _windows_
.Frame_GetClientAreaOrigin(*args
, **kwargs
)
498 def SendSizeEvent(*args
, **kwargs
):
499 """SendSizeEvent(self)"""
500 return _windows_
.Frame_SendSizeEvent(*args
, **kwargs
)
502 def SetMenuBar(*args
, **kwargs
):
503 """SetMenuBar(self, MenuBar menubar)"""
504 return _windows_
.Frame_SetMenuBar(*args
, **kwargs
)
506 def GetMenuBar(*args
, **kwargs
):
507 """GetMenuBar(self) -> MenuBar"""
508 return _windows_
.Frame_GetMenuBar(*args
, **kwargs
)
510 def ProcessCommand(*args
, **kwargs
):
511 """ProcessCommand(self, int winid) -> bool"""
512 return _windows_
.Frame_ProcessCommand(*args
, **kwargs
)
514 Command
= ProcessCommand
515 def CreateStatusBar(*args
, **kwargs
):
517 CreateStatusBar(self, int number=1, long style=wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE,
518 int winid=0, String name=StatusLineNameStr) -> StatusBar
520 return _windows_
.Frame_CreateStatusBar(*args
, **kwargs
)
522 def GetStatusBar(*args
, **kwargs
):
523 """GetStatusBar(self) -> StatusBar"""
524 return _windows_
.Frame_GetStatusBar(*args
, **kwargs
)
526 def SetStatusBar(*args
, **kwargs
):
527 """SetStatusBar(self, StatusBar statBar)"""
528 return _windows_
.Frame_SetStatusBar(*args
, **kwargs
)
530 def SetStatusText(*args
, **kwargs
):
531 """SetStatusText(self, String text, int number=0)"""
532 return _windows_
.Frame_SetStatusText(*args
, **kwargs
)
534 def SetStatusWidths(*args
, **kwargs
):
535 """SetStatusWidths(self, int widths)"""
536 return _windows_
.Frame_SetStatusWidths(*args
, **kwargs
)
538 def PushStatusText(*args
, **kwargs
):
539 """PushStatusText(self, String text, int number=0)"""
540 return _windows_
.Frame_PushStatusText(*args
, **kwargs
)
542 def PopStatusText(*args
, **kwargs
):
543 """PopStatusText(self, int number=0)"""
544 return _windows_
.Frame_PopStatusText(*args
, **kwargs
)
546 def SetStatusBarPane(*args
, **kwargs
):
547 """SetStatusBarPane(self, int n)"""
548 return _windows_
.Frame_SetStatusBarPane(*args
, **kwargs
)
550 def GetStatusBarPane(*args
, **kwargs
):
551 """GetStatusBarPane(self) -> int"""
552 return _windows_
.Frame_GetStatusBarPane(*args
, **kwargs
)
554 def CreateToolBar(*args
, **kwargs
):
555 """CreateToolBar(self, long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar"""
556 return _windows_
.Frame_CreateToolBar(*args
, **kwargs
)
558 def GetToolBar(*args
, **kwargs
):
559 """GetToolBar(self) -> wxToolBar"""
560 return _windows_
.Frame_GetToolBar(*args
, **kwargs
)
562 def SetToolBar(*args
, **kwargs
):
563 """SetToolBar(self, wxToolBar toolbar)"""
564 return _windows_
.Frame_SetToolBar(*args
, **kwargs
)
566 def DoGiveHelp(*args
, **kwargs
):
567 """DoGiveHelp(self, String text, bool show)"""
568 return _windows_
.Frame_DoGiveHelp(*args
, **kwargs
)
570 def DoMenuUpdates(*args
, **kwargs
):
571 """DoMenuUpdates(self, Menu menu=None)"""
572 return _windows_
.Frame_DoMenuUpdates(*args
, **kwargs
)
574 def GetClassDefaultAttributes(*args
, **kwargs
):
576 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
578 Get the default attributes for this class. This is useful if you want
579 to use the same font or colour in your own control as in a standard
580 control -- which is a much better idea than hard coding specific
581 colours or fonts which might look completely out of place on the
582 user's system, especially if it uses themes.
584 The variant parameter is only relevant under Mac currently and is
585 ignore under other platforms. Under Mac, it will change the size of
586 the returned font. See `wx.Window.SetWindowVariant` for more about
589 return _windows_
.Frame_GetClassDefaultAttributes(*args
, **kwargs
)
591 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
593 class FramePtr(Frame
):
594 def __init__(self
, this
):
596 if not hasattr(self
,"thisown"): self
.thisown
= 0
597 self
.__class
__ = Frame
598 _windows_
.Frame_swigregister(FramePtr
)
600 def PreFrame(*args
, **kwargs
):
601 """PreFrame() -> Frame"""
602 val
= _windows_
.new_PreFrame(*args
, **kwargs
)
606 def Frame_GetClassDefaultAttributes(*args
, **kwargs
):
608 Frame_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
610 Get the default attributes for this class. This is useful if you want
611 to use the same font or colour in your own control as in a standard
612 control -- which is a much better idea than hard coding specific
613 colours or fonts which might look completely out of place on the
614 user's system, especially if it uses themes.
616 The variant parameter is only relevant under Mac currently and is
617 ignore under other platforms. Under Mac, it will change the size of
618 the returned font. See `wx.Window.SetWindowVariant` for more about
621 return _windows_
.Frame_GetClassDefaultAttributes(*args
, **kwargs
)
623 #---------------------------------------------------------------------------
625 class Dialog(TopLevelWindow
):
626 """Proxy of C++ Dialog class"""
628 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
629 def __init__(self
, *args
, **kwargs
):
631 __init__(self, Window parent, int id=-1, String title=EmptyString,
632 Point pos=DefaultPosition, Size size=DefaultSize,
633 long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> Dialog
635 newobj
= _windows_
.new_Dialog(*args
, **kwargs
)
636 self
.this
= newobj
.this
639 self
._setOORInfo
(self
)
641 def Create(*args
, **kwargs
):
643 Create(self, Window parent, int id=-1, String title=EmptyString,
644 Point pos=DefaultPosition, Size size=DefaultSize,
645 long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> bool
647 return _windows_
.Dialog_Create(*args
, **kwargs
)
649 def SetReturnCode(*args
, **kwargs
):
650 """SetReturnCode(self, int returnCode)"""
651 return _windows_
.Dialog_SetReturnCode(*args
, **kwargs
)
653 def GetReturnCode(*args
, **kwargs
):
654 """GetReturnCode(self) -> int"""
655 return _windows_
.Dialog_GetReturnCode(*args
, **kwargs
)
657 def CreateTextSizer(*args
, **kwargs
):
658 """CreateTextSizer(self, String message) -> Sizer"""
659 return _windows_
.Dialog_CreateTextSizer(*args
, **kwargs
)
661 def CreateButtonSizer(*args
, **kwargs
):
662 """CreateButtonSizer(self, long flags) -> Sizer"""
663 return _windows_
.Dialog_CreateButtonSizer(*args
, **kwargs
)
665 def IsModal(*args
, **kwargs
):
666 """IsModal(self) -> bool"""
667 return _windows_
.Dialog_IsModal(*args
, **kwargs
)
669 def ShowModal(*args
, **kwargs
):
670 """ShowModal(self) -> int"""
671 return _windows_
.Dialog_ShowModal(*args
, **kwargs
)
673 def EndModal(*args
, **kwargs
):
674 """EndModal(self, int retCode)"""
675 return _windows_
.Dialog_EndModal(*args
, **kwargs
)
677 def GetClassDefaultAttributes(*args
, **kwargs
):
679 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
681 Get the default attributes for this class. This is useful if you want
682 to use the same font or colour in your own control as in a standard
683 control -- which is a much better idea than hard coding specific
684 colours or fonts which might look completely out of place on the
685 user's system, especially if it uses themes.
687 The variant parameter is only relevant under Mac currently and is
688 ignore under other platforms. Under Mac, it will change the size of
689 the returned font. See `wx.Window.SetWindowVariant` for more about
692 return _windows_
.Dialog_GetClassDefaultAttributes(*args
, **kwargs
)
694 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
695 def SendSizeEvent(self
):
696 self
.ProcessEvent(wx
.SizeEvent((-1,-1)))
699 class DialogPtr(Dialog
):
700 def __init__(self
, this
):
702 if not hasattr(self
,"thisown"): self
.thisown
= 0
703 self
.__class
__ = Dialog
704 _windows_
.Dialog_swigregister(DialogPtr
)
706 def PreDialog(*args
, **kwargs
):
707 """PreDialog() -> Dialog"""
708 val
= _windows_
.new_PreDialog(*args
, **kwargs
)
712 def Dialog_GetClassDefaultAttributes(*args
, **kwargs
):
714 Dialog_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
716 Get the default attributes for this class. This is useful if you want
717 to use the same font or colour in your own control as in a standard
718 control -- which is a much better idea than hard coding specific
719 colours or fonts which might look completely out of place on the
720 user's system, especially if it uses themes.
722 The variant parameter is only relevant under Mac currently and is
723 ignore under other platforms. Under Mac, it will change the size of
724 the returned font. See `wx.Window.SetWindowVariant` for more about
727 return _windows_
.Dialog_GetClassDefaultAttributes(*args
, **kwargs
)
729 #---------------------------------------------------------------------------
731 class MiniFrame(Frame
):
732 """Proxy of C++ MiniFrame class"""
734 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
735 def __init__(self
, *args
, **kwargs
):
737 __init__(self, Window parent, int id=-1, String title=EmptyString,
738 Point pos=DefaultPosition, Size size=DefaultSize,
739 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> MiniFrame
741 newobj
= _windows_
.new_MiniFrame(*args
, **kwargs
)
742 self
.this
= newobj
.this
745 self
._setOORInfo
(self
)
747 def Create(*args
, **kwargs
):
749 Create(self, Window parent, int id=-1, String title=EmptyString,
750 Point pos=DefaultPosition, Size size=DefaultSize,
751 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
753 return _windows_
.MiniFrame_Create(*args
, **kwargs
)
756 class MiniFramePtr(MiniFrame
):
757 def __init__(self
, this
):
759 if not hasattr(self
,"thisown"): self
.thisown
= 0
760 self
.__class
__ = MiniFrame
761 _windows_
.MiniFrame_swigregister(MiniFramePtr
)
763 def PreMiniFrame(*args
, **kwargs
):
764 """PreMiniFrame() -> MiniFrame"""
765 val
= _windows_
.new_PreMiniFrame(*args
, **kwargs
)
769 #---------------------------------------------------------------------------
771 SPLASH_CENTRE_ON_PARENT
= _windows_
.SPLASH_CENTRE_ON_PARENT
772 SPLASH_CENTRE_ON_SCREEN
= _windows_
.SPLASH_CENTRE_ON_SCREEN
773 SPLASH_NO_CENTRE
= _windows_
.SPLASH_NO_CENTRE
774 SPLASH_TIMEOUT
= _windows_
.SPLASH_TIMEOUT
775 SPLASH_NO_TIMEOUT
= _windows_
.SPLASH_NO_TIMEOUT
776 class SplashScreenWindow(_core
.Window
):
777 """Proxy of C++ SplashScreenWindow class"""
779 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
780 def __init__(self
, *args
, **kwargs
):
782 __init__(self, Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
783 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
785 newobj
= _windows_
.new_SplashScreenWindow(*args
, **kwargs
)
786 self
.this
= newobj
.this
789 self
._setOORInfo
(self
)
791 def SetBitmap(*args
, **kwargs
):
792 """SetBitmap(self, Bitmap bitmap)"""
793 return _windows_
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
795 def GetBitmap(*args
, **kwargs
):
796 """GetBitmap(self) -> Bitmap"""
797 return _windows_
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
800 class SplashScreenWindowPtr(SplashScreenWindow
):
801 def __init__(self
, this
):
803 if not hasattr(self
,"thisown"): self
.thisown
= 0
804 self
.__class
__ = SplashScreenWindow
805 _windows_
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
807 class SplashScreen(Frame
):
808 """Proxy of C++ SplashScreen class"""
810 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
811 def __init__(self
, *args
, **kwargs
):
813 __init__(self, Bitmap bitmap, long splashStyle, int milliseconds,
814 Window parent, int id=-1, Point pos=DefaultPosition,
815 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
817 newobj
= _windows_
.new_SplashScreen(*args
, **kwargs
)
818 self
.this
= newobj
.this
821 self
._setOORInfo
(self
)
823 def GetSplashStyle(*args
, **kwargs
):
824 """GetSplashStyle(self) -> long"""
825 return _windows_
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
827 def GetSplashWindow(*args
, **kwargs
):
828 """GetSplashWindow(self) -> SplashScreenWindow"""
829 return _windows_
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
831 def GetTimeout(*args
, **kwargs
):
832 """GetTimeout(self) -> int"""
833 return _windows_
.SplashScreen_GetTimeout(*args
, **kwargs
)
836 class SplashScreenPtr(SplashScreen
):
837 def __init__(self
, this
):
839 if not hasattr(self
,"thisown"): self
.thisown
= 0
840 self
.__class
__ = SplashScreen
841 _windows_
.SplashScreen_swigregister(SplashScreenPtr
)
843 #---------------------------------------------------------------------------
845 SB_NORMAL
= _windows_
.SB_NORMAL
846 SB_FLAT
= _windows_
.SB_FLAT
847 SB_RAISED
= _windows_
.SB_RAISED
848 class StatusBar(_core
.Window
):
849 """Proxy of C++ StatusBar class"""
851 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
852 def __init__(self
, *args
, **kwargs
):
854 __init__(self, Window parent, int id=-1, long style=wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE,
855 String name=StatusLineNameStr) -> StatusBar
857 newobj
= _windows_
.new_StatusBar(*args
, **kwargs
)
858 self
.this
= newobj
.this
861 self
._setOORInfo
(self
)
863 def Create(*args
, **kwargs
):
864 """Create(self, Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
865 return _windows_
.StatusBar_Create(*args
, **kwargs
)
867 def SetFieldsCount(*args
, **kwargs
):
868 """SetFieldsCount(self, int number=1)"""
869 return _windows_
.StatusBar_SetFieldsCount(*args
, **kwargs
)
871 def GetFieldsCount(*args
, **kwargs
):
872 """GetFieldsCount(self) -> int"""
873 return _windows_
.StatusBar_GetFieldsCount(*args
, **kwargs
)
875 def SetStatusText(*args
, **kwargs
):
876 """SetStatusText(self, String text, int number=0)"""
877 return _windows_
.StatusBar_SetStatusText(*args
, **kwargs
)
879 def GetStatusText(*args
, **kwargs
):
880 """GetStatusText(self, int number=0) -> String"""
881 return _windows_
.StatusBar_GetStatusText(*args
, **kwargs
)
883 def PushStatusText(*args
, **kwargs
):
884 """PushStatusText(self, String text, int number=0)"""
885 return _windows_
.StatusBar_PushStatusText(*args
, **kwargs
)
887 def PopStatusText(*args
, **kwargs
):
888 """PopStatusText(self, int number=0)"""
889 return _windows_
.StatusBar_PopStatusText(*args
, **kwargs
)
891 def SetStatusWidths(*args
, **kwargs
):
892 """SetStatusWidths(self, int widths)"""
893 return _windows_
.StatusBar_SetStatusWidths(*args
, **kwargs
)
895 def SetStatusStyles(*args
, **kwargs
):
896 """SetStatusStyles(self, int styles)"""
897 return _windows_
.StatusBar_SetStatusStyles(*args
, **kwargs
)
899 def GetFieldRect(*args
, **kwargs
):
900 """GetFieldRect(self, int i) -> Rect"""
901 return _windows_
.StatusBar_GetFieldRect(*args
, **kwargs
)
903 def SetMinHeight(*args
, **kwargs
):
904 """SetMinHeight(self, int height)"""
905 return _windows_
.StatusBar_SetMinHeight(*args
, **kwargs
)
907 def GetBorderX(*args
, **kwargs
):
908 """GetBorderX(self) -> int"""
909 return _windows_
.StatusBar_GetBorderX(*args
, **kwargs
)
911 def GetBorderY(*args
, **kwargs
):
912 """GetBorderY(self) -> int"""
913 return _windows_
.StatusBar_GetBorderY(*args
, **kwargs
)
915 def GetClassDefaultAttributes(*args
, **kwargs
):
917 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
919 Get the default attributes for this class. This is useful if you want
920 to use the same font or colour in your own control as in a standard
921 control -- which is a much better idea than hard coding specific
922 colours or fonts which might look completely out of place on the
923 user's system, especially if it uses themes.
925 The variant parameter is only relevant under Mac currently and is
926 ignore under other platforms. Under Mac, it will change the size of
927 the returned font. See `wx.Window.SetWindowVariant` for more about
930 return _windows_
.StatusBar_GetClassDefaultAttributes(*args
, **kwargs
)
932 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
934 class StatusBarPtr(StatusBar
):
935 def __init__(self
, this
):
937 if not hasattr(self
,"thisown"): self
.thisown
= 0
938 self
.__class
__ = StatusBar
939 _windows_
.StatusBar_swigregister(StatusBarPtr
)
941 def PreStatusBar(*args
, **kwargs
):
942 """PreStatusBar() -> StatusBar"""
943 val
= _windows_
.new_PreStatusBar(*args
, **kwargs
)
947 def StatusBar_GetClassDefaultAttributes(*args
, **kwargs
):
949 StatusBar_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
951 Get the default attributes for this class. This is useful if you want
952 to use the same font or colour in your own control as in a standard
953 control -- which is a much better idea than hard coding specific
954 colours or fonts which might look completely out of place on the
955 user's system, especially if it uses themes.
957 The variant parameter is only relevant under Mac currently and is
958 ignore under other platforms. Under Mac, it will change the size of
959 the returned font. See `wx.Window.SetWindowVariant` for more about
962 return _windows_
.StatusBar_GetClassDefaultAttributes(*args
, **kwargs
)
964 #---------------------------------------------------------------------------
966 SP_NOBORDER
= _windows_
.SP_NOBORDER
967 SP_NOSASH
= _windows_
.SP_NOSASH
968 SP_PERMIT_UNSPLIT
= _windows_
.SP_PERMIT_UNSPLIT
969 SP_LIVE_UPDATE
= _windows_
.SP_LIVE_UPDATE
970 SP_3DSASH
= _windows_
.SP_3DSASH
971 SP_3DBORDER
= _windows_
.SP_3DBORDER
972 SP_NO_XP_THEME
= _windows_
.SP_NO_XP_THEME
973 SP_BORDER
= _windows_
.SP_BORDER
974 SP_3D
= _windows_
.SP_3D
975 SPLIT_HORIZONTAL
= _windows_
.SPLIT_HORIZONTAL
976 SPLIT_VERTICAL
= _windows_
.SPLIT_VERTICAL
977 SPLIT_DRAG_NONE
= _windows_
.SPLIT_DRAG_NONE
978 SPLIT_DRAG_DRAGGING
= _windows_
.SPLIT_DRAG_DRAGGING
979 SPLIT_DRAG_LEFT_DOWN
= _windows_
.SPLIT_DRAG_LEFT_DOWN
980 class SplitterWindow(_core
.Window
):
982 wx.SplitterWindow manages up to two subwindows or panes, with an
983 optional vertical or horizontal split which can be used with the mouse
987 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
988 def __init__(self
, *args
, **kwargs
):
990 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
991 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
993 Constructor. Creates and shows a SplitterWindow.
995 if kwargs
.has_key('point'): kwargs
['pos'] = kwargs
['point'];del kwargs
['point']
996 newobj
= _windows_
.new_SplitterWindow(*args
, **kwargs
)
997 self
.this
= newobj
.this
1000 self
._setOORInfo
(self
)
1002 def Create(*args
, **kwargs
):
1004 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1005 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool
1007 Create the GUI part of the SplitterWindow for the 2-phase create.
1009 return _windows_
.SplitterWindow_Create(*args
, **kwargs
)
1011 def GetWindow1(*args
, **kwargs
):
1013 GetWindow1(self) -> Window
1015 Gets the only or left/top pane.
1017 return _windows_
.SplitterWindow_GetWindow1(*args
, **kwargs
)
1019 def GetWindow2(*args
, **kwargs
):
1021 GetWindow2(self) -> Window
1023 Gets the right/bottom pane.
1025 return _windows_
.SplitterWindow_GetWindow2(*args
, **kwargs
)
1027 def SetSplitMode(*args
, **kwargs
):
1029 SetSplitMode(self, int mode)
1031 Sets the split mode. The mode can be wx.SPLIT_VERTICAL or
1032 wx.SPLIT_HORIZONTAL. This only sets the internal variable; does not
1035 return _windows_
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
1037 def GetSplitMode(*args
, **kwargs
):
1039 GetSplitMode(self) -> int
1043 return _windows_
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
1045 def Initialize(*args
, **kwargs
):
1047 Initialize(self, Window window)
1049 Initializes the splitter window to have one pane. This should be
1050 called if you wish to initially view only a single pane in the
1053 return _windows_
.SplitterWindow_Initialize(*args
, **kwargs
)
1055 def SplitVertically(*args
, **kwargs
):
1057 SplitVertically(self, Window window1, Window window2, int sashPosition=0) -> bool
1059 Initializes the left and right panes of the splitter window.
1061 return _windows_
.SplitterWindow_SplitVertically(*args
, **kwargs
)
1063 def SplitHorizontally(*args
, **kwargs
):
1065 SplitHorizontally(self, Window window1, Window window2, int sashPosition=0) -> bool
1067 Initializes the top and bottom panes of the splitter window.
1069 return _windows_
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
1071 def Unsplit(*args
, **kwargs
):
1073 Unsplit(self, Window toRemove=None) -> bool
1075 Unsplits the window. Pass the pane to remove, or None to remove the
1076 right or bottom pane. Returns True if successful, False otherwise (the
1077 window was not split).
1079 This function will not actually delete the pane being
1080 removed; it sends EVT_SPLITTER_UNSPLIT which can be handled
1081 for the desired behaviour. By default, the pane being
1082 removed is only hidden.
1084 return _windows_
.SplitterWindow_Unsplit(*args
, **kwargs
)
1086 def ReplaceWindow(*args
, **kwargs
):
1088 ReplaceWindow(self, Window winOld, Window winNew) -> bool
1090 This function replaces one of the windows managed by the
1091 SplitterWindow with another one. It is in general better to use it
1092 instead of calling Unsplit() and then resplitting the window back
1093 because it will provoke much less flicker. It is valid to call this
1094 function whether the splitter has two windows or only one.
1096 Both parameters should be non-None and winOld must specify one of the
1097 windows managed by the splitter. If the parameters are incorrect or
1098 the window couldn't be replaced, False is returned. Otherwise the
1099 function will return True, but please notice that it will not Destroy
1100 the replaced window and you may wish to do it yourself.
1102 return _windows_
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
1104 def UpdateSize(*args
, **kwargs
):
1108 Causes any pending sizing of the sash and child panes to take place
1111 Such resizing normally takes place in idle time, in order to wait for
1112 layout to be completed. However, this can cause unacceptable flicker
1113 as the panes are resized after the window has been shown. To work
1114 around this, you can perform window layout (for example by sending a
1115 size event to the parent window), and then call this function, before
1116 showing the top-level window.
1118 return _windows_
.SplitterWindow_UpdateSize(*args
, **kwargs
)
1120 def IsSplit(*args
, **kwargs
):
1122 IsSplit(self) -> bool
1124 Is the window split?
1126 return _windows_
.SplitterWindow_IsSplit(*args
, **kwargs
)
1128 def SetSashSize(*args
, **kwargs
):
1130 SetSashSize(self, int width)
1132 Sets the sash size. Currently a NOP.
1134 return _windows_
.SplitterWindow_SetSashSize(*args
, **kwargs
)
1136 def SetBorderSize(*args
, **kwargs
):
1138 SetBorderSize(self, int width)
1140 Sets the border size. Currently a NOP.
1142 return _windows_
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
1144 def GetSashSize(*args
, **kwargs
):
1146 GetSashSize(self) -> int
1150 return _windows_
.SplitterWindow_GetSashSize(*args
, **kwargs
)
1152 def GetBorderSize(*args
, **kwargs
):
1154 GetBorderSize(self) -> int
1156 Gets the border size
1158 return _windows_
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
1160 def SetSashPosition(*args
, **kwargs
):
1162 SetSashPosition(self, int position, bool redraw=True)
1164 Sets the sash position, in pixels. If redraw is Ttrue then the panes
1165 are resized and the sash and border are redrawn.
1167 return _windows_
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
1169 def GetSashPosition(*args
, **kwargs
):
1171 GetSashPosition(self) -> int
1173 Returns the surrent sash position.
1175 return _windows_
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
1177 def SetSashGravity(*args
, **kwargs
):
1179 SetSashGravity(self, double gravity)
1181 Set the sash gravity. Gravity is a floating-point factor between 0.0
1182 and 1.0 which controls position of sash while resizing the
1183 `wx.SplitterWindow`. The gravity specifies how much the left/top
1184 window will grow while resizing.
1186 return _windows_
.SplitterWindow_SetSashGravity(*args
, **kwargs
)
1188 def GetSashGravity(*args
, **kwargs
):
1190 GetSashGravity(self) -> double
1192 Gets the sash gravity.
1194 :see: `SetSashGravity`
1197 return _windows_
.SplitterWindow_GetSashGravity(*args
, **kwargs
)
1199 def SetMinimumPaneSize(*args
, **kwargs
):
1201 SetMinimumPaneSize(self, int min)
1203 Sets the minimum pane size in pixels.
1205 The default minimum pane size is zero, which means that either pane
1206 can be reduced to zero by dragging the sash, thus removing one of the
1207 panes. To prevent this behaviour (and veto out-of-range sash
1208 dragging), set a minimum size, for example 20 pixels. If the
1209 wx.SP_PERMIT_UNSPLIT style is used when a splitter window is created,
1210 the window may be unsplit even if minimum size is non-zero.
1212 return _windows_
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
1214 def GetMinimumPaneSize(*args
, **kwargs
):
1216 GetMinimumPaneSize(self) -> int
1218 Gets the minimum pane size in pixels.
1220 return _windows_
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
1222 def SashHitTest(*args
, **kwargs
):
1224 SashHitTest(self, int x, int y, int tolerance=5) -> bool
1226 Tests for x, y over the sash
1228 return _windows_
.SplitterWindow_SashHitTest(*args
, **kwargs
)
1230 def SizeWindows(*args
, **kwargs
):
1236 return _windows_
.SplitterWindow_SizeWindows(*args
, **kwargs
)
1238 def SetNeedUpdating(*args
, **kwargs
):
1239 """SetNeedUpdating(self, bool needUpdating)"""
1240 return _windows_
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
1242 def GetNeedUpdating(*args
, **kwargs
):
1243 """GetNeedUpdating(self) -> bool"""
1244 return _windows_
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
1246 def GetClassDefaultAttributes(*args
, **kwargs
):
1248 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1250 Get the default attributes for this class. This is useful if you want
1251 to use the same font or colour in your own control as in a standard
1252 control -- which is a much better idea than hard coding specific
1253 colours or fonts which might look completely out of place on the
1254 user's system, especially if it uses themes.
1256 The variant parameter is only relevant under Mac currently and is
1257 ignore under other platforms. Under Mac, it will change the size of
1258 the returned font. See `wx.Window.SetWindowVariant` for more about
1261 return _windows_
.SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1263 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
1265 class SplitterWindowPtr(SplitterWindow
):
1266 def __init__(self
, this
):
1268 if not hasattr(self
,"thisown"): self
.thisown
= 0
1269 self
.__class
__ = SplitterWindow
1270 _windows_
.SplitterWindow_swigregister(SplitterWindowPtr
)
1271 SplitterNameStr
= cvar
.SplitterNameStr
1273 def PreSplitterWindow(*args
, **kwargs
):
1275 PreSplitterWindow() -> SplitterWindow
1277 Precreate a SplitterWindow for 2-phase creation.
1279 val
= _windows_
.new_PreSplitterWindow(*args
, **kwargs
)
1283 def SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
):
1285 SplitterWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1287 Get the default attributes for this class. This is useful if you want
1288 to use the same font or colour in your own control as in a standard
1289 control -- which is a much better idea than hard coding specific
1290 colours or fonts which might look completely out of place on the
1291 user's system, especially if it uses themes.
1293 The variant parameter is only relevant under Mac currently and is
1294 ignore under other platforms. Under Mac, it will change the size of
1295 the returned font. See `wx.Window.SetWindowVariant` for more about
1298 return _windows_
.SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1300 class SplitterEvent(_core
.NotifyEvent
):
1301 """This class represents the events generated by a splitter control."""
1303 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1304 def __init__(self
, *args
, **kwargs
):
1306 __init__(self, wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent
1308 This class represents the events generated by a splitter control.
1310 newobj
= _windows_
.new_SplitterEvent(*args
, **kwargs
)
1311 self
.this
= newobj
.this
1314 def SetSashPosition(*args
, **kwargs
):
1316 SetSashPosition(self, int pos)
1318 This funciton is only meaningful during EVT_SPLITTER_SASH_POS_CHANGING
1319 and EVT_SPLITTER_SASH_POS_CHANGED events. In the case of _CHANGED
1320 events, sets the the new sash position. In the case of _CHANGING
1321 events, sets the new tracking bar position so visual feedback during
1322 dragging will represent that change that will actually take place. Set
1323 to -1 from the event handler code to prevent repositioning.
1325 return _windows_
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
1327 def GetSashPosition(*args
, **kwargs
):
1329 GetSashPosition(self) -> int
1331 Returns the new sash position while in EVT_SPLITTER_SASH_POS_CHANGING
1332 and EVT_SPLITTER_SASH_POS_CHANGED events.
1334 return _windows_
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
1336 def GetWindowBeingRemoved(*args
, **kwargs
):
1338 GetWindowBeingRemoved(self) -> Window
1340 Returns a pointer to the window being removed when a splitter window
1343 return _windows_
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
1345 def GetX(*args
, **kwargs
):
1349 Returns the x coordinate of the double-click point in a
1350 EVT_SPLITTER_DCLICK event.
1352 return _windows_
.SplitterEvent_GetX(*args
, **kwargs
)
1354 def GetY(*args
, **kwargs
):
1358 Returns the y coordinate of the double-click point in a
1359 EVT_SPLITTER_DCLICK event.
1361 return _windows_
.SplitterEvent_GetY(*args
, **kwargs
)
1364 class SplitterEventPtr(SplitterEvent
):
1365 def __init__(self
, this
):
1367 if not hasattr(self
,"thisown"): self
.thisown
= 0
1368 self
.__class
__ = SplitterEvent
1369 _windows_
.SplitterEvent_swigregister(SplitterEventPtr
)
1371 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
1372 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
1373 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows_
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
1374 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows_
.wxEVT_COMMAND_SPLITTER_UNSPLIT
1375 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
1376 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
1377 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
1378 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
1379 EVT_SPLITTER_DCLICK
= EVT_SPLITTER_DOUBLECLICKED
1381 #---------------------------------------------------------------------------
1383 SASH_DRAG_NONE
= _windows_
.SASH_DRAG_NONE
1384 SASH_DRAG_DRAGGING
= _windows_
.SASH_DRAG_DRAGGING
1385 SASH_DRAG_LEFT_DOWN
= _windows_
.SASH_DRAG_LEFT_DOWN
1386 SW_NOBORDER
= _windows_
.SW_NOBORDER
1387 SW_BORDER
= _windows_
.SW_BORDER
1388 SW_3DSASH
= _windows_
.SW_3DSASH
1389 SW_3DBORDER
= _windows_
.SW_3DBORDER
1390 SW_3D
= _windows_
.SW_3D
1391 SASH_TOP
= _windows_
.SASH_TOP
1392 SASH_RIGHT
= _windows_
.SASH_RIGHT
1393 SASH_BOTTOM
= _windows_
.SASH_BOTTOM
1394 SASH_LEFT
= _windows_
.SASH_LEFT
1395 SASH_NONE
= _windows_
.SASH_NONE
1396 class SashWindow(_core
.Window
):
1397 """Proxy of C++ SashWindow class"""
1399 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1400 def __init__(self
, *args
, **kwargs
):
1402 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1403 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1404 String name=SashNameStr) -> SashWindow
1406 newobj
= _windows_
.new_SashWindow(*args
, **kwargs
)
1407 self
.this
= newobj
.this
1410 self
._setOORInfo
(self
)
1412 def Create(*args
, **kwargs
):
1414 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1415 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1416 String name=SashNameStr) -> bool
1418 return _windows_
.SashWindow_Create(*args
, **kwargs
)
1420 def SetSashVisible(*args
, **kwargs
):
1421 """SetSashVisible(self, int edge, bool sash)"""
1422 return _windows_
.SashWindow_SetSashVisible(*args
, **kwargs
)
1424 def GetSashVisible(*args
, **kwargs
):
1425 """GetSashVisible(self, int edge) -> bool"""
1426 return _windows_
.SashWindow_GetSashVisible(*args
, **kwargs
)
1428 def SetSashBorder(*args
, **kwargs
):
1429 """SetSashBorder(self, int edge, bool border)"""
1430 return _windows_
.SashWindow_SetSashBorder(*args
, **kwargs
)
1432 def HasBorder(*args
, **kwargs
):
1433 """HasBorder(self, int edge) -> bool"""
1434 return _windows_
.SashWindow_HasBorder(*args
, **kwargs
)
1436 def GetEdgeMargin(*args
, **kwargs
):
1437 """GetEdgeMargin(self, int edge) -> int"""
1438 return _windows_
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
1440 def SetDefaultBorderSize(*args
, **kwargs
):
1441 """SetDefaultBorderSize(self, int width)"""
1442 return _windows_
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
1444 def GetDefaultBorderSize(*args
, **kwargs
):
1445 """GetDefaultBorderSize(self) -> int"""
1446 return _windows_
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
1448 def SetExtraBorderSize(*args
, **kwargs
):
1449 """SetExtraBorderSize(self, int width)"""
1450 return _windows_
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
1452 def GetExtraBorderSize(*args
, **kwargs
):
1453 """GetExtraBorderSize(self) -> int"""
1454 return _windows_
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
1456 def SetMinimumSizeX(*args
, **kwargs
):
1457 """SetMinimumSizeX(self, int min)"""
1458 return _windows_
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
1460 def SetMinimumSizeY(*args
, **kwargs
):
1461 """SetMinimumSizeY(self, int min)"""
1462 return _windows_
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
1464 def GetMinimumSizeX(*args
, **kwargs
):
1465 """GetMinimumSizeX(self) -> int"""
1466 return _windows_
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
1468 def GetMinimumSizeY(*args
, **kwargs
):
1469 """GetMinimumSizeY(self) -> int"""
1470 return _windows_
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
1472 def SetMaximumSizeX(*args
, **kwargs
):
1473 """SetMaximumSizeX(self, int max)"""
1474 return _windows_
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
1476 def SetMaximumSizeY(*args
, **kwargs
):
1477 """SetMaximumSizeY(self, int max)"""
1478 return _windows_
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
1480 def GetMaximumSizeX(*args
, **kwargs
):
1481 """GetMaximumSizeX(self) -> int"""
1482 return _windows_
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
1484 def GetMaximumSizeY(*args
, **kwargs
):
1485 """GetMaximumSizeY(self) -> int"""
1486 return _windows_
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
1488 def SashHitTest(*args
, **kwargs
):
1489 """SashHitTest(self, int x, int y, int tolerance=2) -> int"""
1490 return _windows_
.SashWindow_SashHitTest(*args
, **kwargs
)
1492 def SizeWindows(*args
, **kwargs
):
1493 """SizeWindows(self)"""
1494 return _windows_
.SashWindow_SizeWindows(*args
, **kwargs
)
1497 class SashWindowPtr(SashWindow
):
1498 def __init__(self
, this
):
1500 if not hasattr(self
,"thisown"): self
.thisown
= 0
1501 self
.__class
__ = SashWindow
1502 _windows_
.SashWindow_swigregister(SashWindowPtr
)
1503 SashNameStr
= cvar
.SashNameStr
1504 SashLayoutNameStr
= cvar
.SashLayoutNameStr
1506 def PreSashWindow(*args
, **kwargs
):
1507 """PreSashWindow() -> SashWindow"""
1508 val
= _windows_
.new_PreSashWindow(*args
, **kwargs
)
1512 SASH_STATUS_OK
= _windows_
.SASH_STATUS_OK
1513 SASH_STATUS_OUT_OF_RANGE
= _windows_
.SASH_STATUS_OUT_OF_RANGE
1514 class SashEvent(_core
.CommandEvent
):
1515 """Proxy of C++ SashEvent class"""
1517 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1518 def __init__(self
, *args
, **kwargs
):
1519 """__init__(self, int id=0, int edge=SASH_NONE) -> SashEvent"""
1520 newobj
= _windows_
.new_SashEvent(*args
, **kwargs
)
1521 self
.this
= newobj
.this
1524 def SetEdge(*args
, **kwargs
):
1525 """SetEdge(self, int edge)"""
1526 return _windows_
.SashEvent_SetEdge(*args
, **kwargs
)
1528 def GetEdge(*args
, **kwargs
):
1529 """GetEdge(self) -> int"""
1530 return _windows_
.SashEvent_GetEdge(*args
, **kwargs
)
1532 def SetDragRect(*args
, **kwargs
):
1533 """SetDragRect(self, Rect rect)"""
1534 return _windows_
.SashEvent_SetDragRect(*args
, **kwargs
)
1536 def GetDragRect(*args
, **kwargs
):
1537 """GetDragRect(self) -> Rect"""
1538 return _windows_
.SashEvent_GetDragRect(*args
, **kwargs
)
1540 def SetDragStatus(*args
, **kwargs
):
1541 """SetDragStatus(self, int status)"""
1542 return _windows_
.SashEvent_SetDragStatus(*args
, **kwargs
)
1544 def GetDragStatus(*args
, **kwargs
):
1545 """GetDragStatus(self) -> int"""
1546 return _windows_
.SashEvent_GetDragStatus(*args
, **kwargs
)
1549 class SashEventPtr(SashEvent
):
1550 def __init__(self
, this
):
1552 if not hasattr(self
,"thisown"): self
.thisown
= 0
1553 self
.__class
__ = SashEvent
1554 _windows_
.SashEvent_swigregister(SashEventPtr
)
1556 wxEVT_SASH_DRAGGED
= _windows_
.wxEVT_SASH_DRAGGED
1557 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
1558 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
1560 #---------------------------------------------------------------------------
1562 LAYOUT_HORIZONTAL
= _windows_
.LAYOUT_HORIZONTAL
1563 LAYOUT_VERTICAL
= _windows_
.LAYOUT_VERTICAL
1564 LAYOUT_NONE
= _windows_
.LAYOUT_NONE
1565 LAYOUT_TOP
= _windows_
.LAYOUT_TOP
1566 LAYOUT_LEFT
= _windows_
.LAYOUT_LEFT
1567 LAYOUT_RIGHT
= _windows_
.LAYOUT_RIGHT
1568 LAYOUT_BOTTOM
= _windows_
.LAYOUT_BOTTOM
1569 LAYOUT_LENGTH_Y
= _windows_
.LAYOUT_LENGTH_Y
1570 LAYOUT_LENGTH_X
= _windows_
.LAYOUT_LENGTH_X
1571 LAYOUT_MRU_LENGTH
= _windows_
.LAYOUT_MRU_LENGTH
1572 LAYOUT_QUERY
= _windows_
.LAYOUT_QUERY
1573 wxEVT_QUERY_LAYOUT_INFO
= _windows_
.wxEVT_QUERY_LAYOUT_INFO
1574 wxEVT_CALCULATE_LAYOUT
= _windows_
.wxEVT_CALCULATE_LAYOUT
1575 class QueryLayoutInfoEvent(_core
.Event
):
1576 """Proxy of C++ QueryLayoutInfoEvent class"""
1578 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1579 def __init__(self
, *args
, **kwargs
):
1580 """__init__(self, int id=0) -> QueryLayoutInfoEvent"""
1581 newobj
= _windows_
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1582 self
.this
= newobj
.this
1585 def SetRequestedLength(*args
, **kwargs
):
1586 """SetRequestedLength(self, int length)"""
1587 return _windows_
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1589 def GetRequestedLength(*args
, **kwargs
):
1590 """GetRequestedLength(self) -> int"""
1591 return _windows_
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1593 def SetFlags(*args
, **kwargs
):
1594 """SetFlags(self, int flags)"""
1595 return _windows_
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1597 def GetFlags(*args
, **kwargs
):
1598 """GetFlags(self) -> int"""
1599 return _windows_
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1601 def SetSize(*args
, **kwargs
):
1602 """SetSize(self, Size size)"""
1603 return _windows_
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1605 def GetSize(*args
, **kwargs
):
1606 """GetSize(self) -> Size"""
1607 return _windows_
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1609 def SetOrientation(*args
, **kwargs
):
1610 """SetOrientation(self, int orient)"""
1611 return _windows_
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1613 def GetOrientation(*args
, **kwargs
):
1614 """GetOrientation(self) -> int"""
1615 return _windows_
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1617 def SetAlignment(*args
, **kwargs
):
1618 """SetAlignment(self, int align)"""
1619 return _windows_
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1621 def GetAlignment(*args
, **kwargs
):
1622 """GetAlignment(self) -> int"""
1623 return _windows_
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1626 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1627 def __init__(self
, this
):
1629 if not hasattr(self
,"thisown"): self
.thisown
= 0
1630 self
.__class
__ = QueryLayoutInfoEvent
1631 _windows_
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1633 class CalculateLayoutEvent(_core
.Event
):
1634 """Proxy of C++ CalculateLayoutEvent class"""
1636 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1637 def __init__(self
, *args
, **kwargs
):
1638 """__init__(self, int id=0) -> CalculateLayoutEvent"""
1639 newobj
= _windows_
.new_CalculateLayoutEvent(*args
, **kwargs
)
1640 self
.this
= newobj
.this
1643 def SetFlags(*args
, **kwargs
):
1644 """SetFlags(self, int flags)"""
1645 return _windows_
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1647 def GetFlags(*args
, **kwargs
):
1648 """GetFlags(self) -> int"""
1649 return _windows_
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1651 def SetRect(*args
, **kwargs
):
1652 """SetRect(self, Rect rect)"""
1653 return _windows_
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1655 def GetRect(*args
, **kwargs
):
1656 """GetRect(self) -> Rect"""
1657 return _windows_
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1660 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1661 def __init__(self
, this
):
1663 if not hasattr(self
,"thisown"): self
.thisown
= 0
1664 self
.__class
__ = CalculateLayoutEvent
1665 _windows_
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1667 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1668 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1670 class SashLayoutWindow(SashWindow
):
1671 """Proxy of C++ SashLayoutWindow class"""
1673 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1674 def __init__(self
, *args
, **kwargs
):
1676 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1677 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1678 String name=SashLayoutNameStr) -> SashLayoutWindow
1680 newobj
= _windows_
.new_SashLayoutWindow(*args
, **kwargs
)
1681 self
.this
= newobj
.this
1684 self
._setOORInfo
(self
)
1686 def Create(*args
, **kwargs
):
1688 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1689 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1690 String name=SashLayoutNameStr) -> bool
1692 return _windows_
.SashLayoutWindow_Create(*args
, **kwargs
)
1694 def GetAlignment(*args
, **kwargs
):
1695 """GetAlignment(self) -> int"""
1696 return _windows_
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1698 def GetOrientation(*args
, **kwargs
):
1699 """GetOrientation(self) -> int"""
1700 return _windows_
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1702 def SetAlignment(*args
, **kwargs
):
1703 """SetAlignment(self, int alignment)"""
1704 return _windows_
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1706 def SetDefaultSize(*args
, **kwargs
):
1707 """SetDefaultSize(self, Size size)"""
1708 return _windows_
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1710 def SetOrientation(*args
, **kwargs
):
1711 """SetOrientation(self, int orientation)"""
1712 return _windows_
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1715 class SashLayoutWindowPtr(SashLayoutWindow
):
1716 def __init__(self
, this
):
1718 if not hasattr(self
,"thisown"): self
.thisown
= 0
1719 self
.__class
__ = SashLayoutWindow
1720 _windows_
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1722 def PreSashLayoutWindow(*args
, **kwargs
):
1723 """PreSashLayoutWindow() -> SashLayoutWindow"""
1724 val
= _windows_
.new_PreSashLayoutWindow(*args
, **kwargs
)
1728 class LayoutAlgorithm(_core
.Object
):
1729 """Proxy of C++ LayoutAlgorithm class"""
1731 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1732 def __init__(self
, *args
, **kwargs
):
1733 """__init__(self) -> LayoutAlgorithm"""
1734 newobj
= _windows_
.new_LayoutAlgorithm(*args
, **kwargs
)
1735 self
.this
= newobj
.this
1738 def __del__(self
, destroy
=_windows_
.delete_LayoutAlgorithm
):
1741 if self
.thisown
: destroy(self
)
1744 def LayoutMDIFrame(*args
, **kwargs
):
1745 """LayoutMDIFrame(self, MDIParentFrame frame, Rect rect=None) -> bool"""
1746 return _windows_
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1748 def LayoutFrame(*args
, **kwargs
):
1749 """LayoutFrame(self, Frame frame, Window mainWindow=None) -> bool"""
1750 return _windows_
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1752 def LayoutWindow(*args
, **kwargs
):
1753 """LayoutWindow(self, Window parent, Window mainWindow=None) -> bool"""
1754 return _windows_
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1757 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1758 def __init__(self
, this
):
1760 if not hasattr(self
,"thisown"): self
.thisown
= 0
1761 self
.__class
__ = LayoutAlgorithm
1762 _windows_
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1764 #---------------------------------------------------------------------------
1766 class PopupWindow(_core
.Window
):
1767 """Proxy of C++ PopupWindow class"""
1769 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1770 def __init__(self
, *args
, **kwargs
):
1771 """__init__(self, Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1772 newobj
= _windows_
.new_PopupWindow(*args
, **kwargs
)
1773 self
.this
= newobj
.this
1776 self
._setOORInfo
(self
)
1778 def Create(*args
, **kwargs
):
1779 """Create(self, Window parent, int flags=BORDER_NONE) -> bool"""
1780 return _windows_
.PopupWindow_Create(*args
, **kwargs
)
1782 def Position(*args
, **kwargs
):
1783 """Position(self, Point ptOrigin, Size size)"""
1784 return _windows_
.PopupWindow_Position(*args
, **kwargs
)
1787 class PopupWindowPtr(PopupWindow
):
1788 def __init__(self
, this
):
1790 if not hasattr(self
,"thisown"): self
.thisown
= 0
1791 self
.__class
__ = PopupWindow
1792 _windows_
.PopupWindow_swigregister(PopupWindowPtr
)
1794 def PrePopupWindow(*args
, **kwargs
):
1795 """PrePopupWindow() -> PopupWindow"""
1796 val
= _windows_
.new_PrePopupWindow(*args
, **kwargs
)
1800 #---------------------------------------------------------------------------
1802 class PopupTransientWindow(PopupWindow
):
1803 """Proxy of C++ PopupTransientWindow class"""
1805 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1806 def __init__(self
, *args
, **kwargs
):
1807 """__init__(self, Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1808 newobj
= _windows_
.new_PopupTransientWindow(*args
, **kwargs
)
1809 self
.this
= newobj
.this
1812 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, PopupTransientWindow
)
1814 def _setCallbackInfo(*args
, **kwargs
):
1815 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1816 return _windows_
.PopupTransientWindow__setCallbackInfo(*args
, **kwargs
)
1818 def Popup(*args
, **kwargs
):
1819 """Popup(self, Window focus=None)"""
1820 return _windows_
.PopupTransientWindow_Popup(*args
, **kwargs
)
1822 def Dismiss(*args
, **kwargs
):
1824 return _windows_
.PopupTransientWindow_Dismiss(*args
, **kwargs
)
1827 class PopupTransientWindowPtr(PopupTransientWindow
):
1828 def __init__(self
, this
):
1830 if not hasattr(self
,"thisown"): self
.thisown
= 0
1831 self
.__class
__ = PopupTransientWindow
1832 _windows_
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1834 def PrePopupTransientWindow(*args
, **kwargs
):
1835 """PrePopupTransientWindow() -> PopupTransientWindow"""
1836 val
= _windows_
.new_PrePopupTransientWindow(*args
, **kwargs
)
1840 #---------------------------------------------------------------------------
1842 class TipWindow(PopupTransientWindow
):
1843 """Proxy of C++ TipWindow class"""
1845 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1846 def __init__(self
, *args
, **kwargs
):
1847 """__init__(self, Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1848 newobj
= _windows_
.new_TipWindow(*args
, **kwargs
)
1849 self
.this
= newobj
.this
1852 self
._setOORInfo
(self
)
1854 def SetBoundingRect(*args
, **kwargs
):
1855 """SetBoundingRect(self, Rect rectBound)"""
1856 return _windows_
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1858 def Close(*args
, **kwargs
):
1862 This function simply generates a EVT_CLOSE event whose handler usually
1863 tries to close the window. It doesn't close the window itself,
1864 however. If force is False (the default) then the window's close
1865 handler will be allowed to veto the destruction of the window.
1867 return _windows_
.TipWindow_Close(*args
, **kwargs
)
1870 class TipWindowPtr(TipWindow
):
1871 def __init__(self
, this
):
1873 if not hasattr(self
,"thisown"): self
.thisown
= 0
1874 self
.__class
__ = TipWindow
1875 _windows_
.TipWindow_swigregister(TipWindowPtr
)
1877 #---------------------------------------------------------------------------
1879 class VScrolledWindow(Panel
):
1880 """Proxy of C++ VScrolledWindow class"""
1882 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1883 def __init__(self
, *args
, **kwargs
):
1885 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1886 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
1888 newobj
= _windows_
.new_VScrolledWindow(*args
, **kwargs
)
1889 self
.this
= newobj
.this
1892 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1894 def _setCallbackInfo(*args
, **kwargs
):
1895 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1896 return _windows_
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1898 def Create(*args
, **kwargs
):
1900 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1901 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
1903 return _windows_
.VScrolledWindow_Create(*args
, **kwargs
)
1905 def SetLineCount(*args
, **kwargs
):
1906 """SetLineCount(self, size_t count)"""
1907 return _windows_
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1909 def ScrollToLine(*args
, **kwargs
):
1910 """ScrollToLine(self, size_t line) -> bool"""
1911 return _windows_
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1913 def ScrollLines(*args
, **kwargs
):
1915 ScrollLines(self, int lines) -> bool
1917 If the platform and window class supports it, scrolls the window by
1918 the given number of lines down, if lines is positive, or up if lines
1919 is negative. Returns True if the window was scrolled, False if it was
1920 already on top/bottom and nothing was done.
1922 return _windows_
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1924 def ScrollPages(*args
, **kwargs
):
1926 ScrollPages(self, int pages) -> bool
1928 If the platform and window class supports it, scrolls the window by
1929 the given number of pages down, if pages is positive, or up if pages
1930 is negative. Returns True if the window was scrolled, False if it was
1931 already on top/bottom and nothing was done.
1933 return _windows_
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1935 def RefreshLine(*args
, **kwargs
):
1936 """RefreshLine(self, size_t line)"""
1937 return _windows_
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1939 def RefreshLines(*args
, **kwargs
):
1940 """RefreshLines(self, size_t from, size_t to)"""
1941 return _windows_
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1943 def HitTestXY(*args
, **kwargs
):
1945 HitTestXY(self, int x, int y) -> int
1947 Test where the given (in client coords) point lies
1949 return _windows_
.VScrolledWindow_HitTestXY(*args
, **kwargs
)
1951 def HitTest(*args
, **kwargs
):
1953 HitTest(self, Point pt) -> int
1955 Test where the given (in client coords) point lies
1957 return _windows_
.VScrolledWindow_HitTest(*args
, **kwargs
)
1959 def RefreshAll(*args
, **kwargs
):
1960 """RefreshAll(self)"""
1961 return _windows_
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1963 def GetLineCount(*args
, **kwargs
):
1964 """GetLineCount(self) -> size_t"""
1965 return _windows_
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1967 def GetFirstVisibleLine(*args
, **kwargs
):
1968 """GetFirstVisibleLine(self) -> size_t"""
1969 return _windows_
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1971 def GetLastVisibleLine(*args
, **kwargs
):
1972 """GetLastVisibleLine(self) -> size_t"""
1973 return _windows_
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1975 def IsVisible(*args
, **kwargs
):
1976 """IsVisible(self, size_t line) -> bool"""
1977 return _windows_
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1980 class VScrolledWindowPtr(VScrolledWindow
):
1981 def __init__(self
, this
):
1983 if not hasattr(self
,"thisown"): self
.thisown
= 0
1984 self
.__class
__ = VScrolledWindow
1985 _windows_
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
1987 def PreVScrolledWindow(*args
, **kwargs
):
1988 """PreVScrolledWindow() -> VScrolledWindow"""
1989 val
= _windows_
.new_PreVScrolledWindow(*args
, **kwargs
)
1993 class VListBox(VScrolledWindow
):
1994 """Proxy of C++ VListBox class"""
1996 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1997 def __init__(self
, *args
, **kwargs
):
1999 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2000 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
2002 newobj
= _windows_
.new_VListBox(*args
, **kwargs
)
2003 self
.this
= newobj
.this
2006 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
2008 def _setCallbackInfo(*args
, **kwargs
):
2009 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2010 return _windows_
.VListBox__setCallbackInfo(*args
, **kwargs
)
2012 def Create(*args
, **kwargs
):
2014 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2015 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
2017 return _windows_
.VListBox_Create(*args
, **kwargs
)
2019 def GetItemCount(*args
, **kwargs
):
2020 """GetItemCount(self) -> size_t"""
2021 return _windows_
.VListBox_GetItemCount(*args
, **kwargs
)
2023 def HasMultipleSelection(*args
, **kwargs
):
2024 """HasMultipleSelection(self) -> bool"""
2025 return _windows_
.VListBox_HasMultipleSelection(*args
, **kwargs
)
2027 def GetSelection(*args
, **kwargs
):
2028 """GetSelection(self) -> int"""
2029 return _windows_
.VListBox_GetSelection(*args
, **kwargs
)
2031 def IsCurrent(*args
, **kwargs
):
2032 """IsCurrent(self, size_t item) -> bool"""
2033 return _windows_
.VListBox_IsCurrent(*args
, **kwargs
)
2035 def IsSelected(*args
, **kwargs
):
2036 """IsSelected(self, size_t item) -> bool"""
2037 return _windows_
.VListBox_IsSelected(*args
, **kwargs
)
2039 def GetSelectedCount(*args
, **kwargs
):
2040 """GetSelectedCount(self) -> size_t"""
2041 return _windows_
.VListBox_GetSelectedCount(*args
, **kwargs
)
2043 def GetFirstSelected(*args
, **kwargs
):
2044 """GetFirstSelected(self) -> PyObject"""
2045 return _windows_
.VListBox_GetFirstSelected(*args
, **kwargs
)
2047 def GetNextSelected(*args
, **kwargs
):
2048 """GetNextSelected(self, unsigned long cookie) -> PyObject"""
2049 return _windows_
.VListBox_GetNextSelected(*args
, **kwargs
)
2051 def GetMargins(*args
, **kwargs
):
2052 """GetMargins(self) -> Point"""
2053 return _windows_
.VListBox_GetMargins(*args
, **kwargs
)
2055 def GetSelectionBackground(*args
, **kwargs
):
2056 """GetSelectionBackground(self) -> Colour"""
2057 return _windows_
.VListBox_GetSelectionBackground(*args
, **kwargs
)
2059 def SetItemCount(*args
, **kwargs
):
2060 """SetItemCount(self, size_t count)"""
2061 return _windows_
.VListBox_SetItemCount(*args
, **kwargs
)
2063 def Clear(*args
, **kwargs
):
2065 return _windows_
.VListBox_Clear(*args
, **kwargs
)
2067 def SetSelection(*args
, **kwargs
):
2068 """SetSelection(self, int selection)"""
2069 return _windows_
.VListBox_SetSelection(*args
, **kwargs
)
2071 def Select(*args
, **kwargs
):
2072 """Select(self, size_t item, bool select=True) -> bool"""
2073 return _windows_
.VListBox_Select(*args
, **kwargs
)
2075 def SelectRange(*args
, **kwargs
):
2076 """SelectRange(self, size_t from, size_t to) -> bool"""
2077 return _windows_
.VListBox_SelectRange(*args
, **kwargs
)
2079 def Toggle(*args
, **kwargs
):
2080 """Toggle(self, size_t item)"""
2081 return _windows_
.VListBox_Toggle(*args
, **kwargs
)
2083 def SelectAll(*args
, **kwargs
):
2084 """SelectAll(self) -> bool"""
2085 return _windows_
.VListBox_SelectAll(*args
, **kwargs
)
2087 def DeselectAll(*args
, **kwargs
):
2088 """DeselectAll(self) -> bool"""
2089 return _windows_
.VListBox_DeselectAll(*args
, **kwargs
)
2091 def SetMargins(*args
, **kwargs
):
2092 """SetMargins(self, Point pt)"""
2093 return _windows_
.VListBox_SetMargins(*args
, **kwargs
)
2095 def SetMarginsXY(*args
, **kwargs
):
2096 """SetMarginsXY(self, int x, int y)"""
2097 return _windows_
.VListBox_SetMarginsXY(*args
, **kwargs
)
2099 def SetSelectionBackground(*args
, **kwargs
):
2100 """SetSelectionBackground(self, Colour col)"""
2101 return _windows_
.VListBox_SetSelectionBackground(*args
, **kwargs
)
2104 class VListBoxPtr(VListBox
):
2105 def __init__(self
, this
):
2107 if not hasattr(self
,"thisown"): self
.thisown
= 0
2108 self
.__class
__ = VListBox
2109 _windows_
.VListBox_swigregister(VListBoxPtr
)
2110 VListBoxNameStr
= cvar
.VListBoxNameStr
2112 def PreVListBox(*args
, **kwargs
):
2113 """PreVListBox() -> VListBox"""
2114 val
= _windows_
.new_PreVListBox(*args
, **kwargs
)
2118 class HtmlListBox(VListBox
):
2119 """Proxy of C++ HtmlListBox class"""
2121 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2122 def __init__(self
, *args
, **kwargs
):
2124 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2125 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
2127 newobj
= _windows_
.new_HtmlListBox(*args
, **kwargs
)
2128 self
.this
= newobj
.this
2131 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
2133 def _setCallbackInfo(*args
, **kwargs
):
2134 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2135 return _windows_
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
2137 def Create(*args
, **kwargs
):
2139 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2140 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
2142 return _windows_
.HtmlListBox_Create(*args
, **kwargs
)
2144 def RefreshAll(*args
, **kwargs
):
2145 """RefreshAll(self)"""
2146 return _windows_
.HtmlListBox_RefreshAll(*args
, **kwargs
)
2148 def SetItemCount(*args
, **kwargs
):
2149 """SetItemCount(self, size_t count)"""
2150 return _windows_
.HtmlListBox_SetItemCount(*args
, **kwargs
)
2152 def GetFileSystem(*args
, **kwargs
):
2153 """GetFileSystem(self) -> FileSystem"""
2154 return _windows_
.HtmlListBox_GetFileSystem(*args
, **kwargs
)
2157 class HtmlListBoxPtr(HtmlListBox
):
2158 def __init__(self
, this
):
2160 if not hasattr(self
,"thisown"): self
.thisown
= 0
2161 self
.__class
__ = HtmlListBox
2162 _windows_
.HtmlListBox_swigregister(HtmlListBoxPtr
)
2164 def PreHtmlListBox(*args
, **kwargs
):
2165 """PreHtmlListBox() -> HtmlListBox"""
2166 val
= _windows_
.new_PreHtmlListBox(*args
, **kwargs
)
2170 #---------------------------------------------------------------------------
2172 class TaskBarIcon(_core
.EvtHandler
):
2173 """Proxy of C++ TaskBarIcon class"""
2175 return "<%s.%s; proxy of C++ wxPyTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2176 def __init__(self
, *args
, **kwargs
):
2177 """__init__(self) -> TaskBarIcon"""
2178 newobj
= _windows_
.new_TaskBarIcon(*args
, **kwargs
)
2179 self
.this
= newobj
.this
2182 self
._setCallbackInfo
(self
, TaskBarIcon
, 0)
2184 def _setCallbackInfo(*args
, **kwargs
):
2185 """_setCallbackInfo(self, PyObject self, PyObject _class, int incref)"""
2186 return _windows_
.TaskBarIcon__setCallbackInfo(*args
, **kwargs
)
2188 def Destroy(*args
, **kwargs
):
2192 Deletes the C++ object this Python object is a proxy for.
2194 return _windows_
.TaskBarIcon_Destroy(*args
, **kwargs
)
2196 def IsOk(*args
, **kwargs
):
2197 """IsOk(self) -> bool"""
2198 return _windows_
.TaskBarIcon_IsOk(*args
, **kwargs
)
2200 def __nonzero__(self
): return self
.IsOk()
2201 def IsIconInstalled(*args
, **kwargs
):
2202 """IsIconInstalled(self) -> bool"""
2203 return _windows_
.TaskBarIcon_IsIconInstalled(*args
, **kwargs
)
2205 def SetIcon(*args
, **kwargs
):
2206 """SetIcon(self, Icon icon, String tooltip=EmptyString) -> bool"""
2207 return _windows_
.TaskBarIcon_SetIcon(*args
, **kwargs
)
2209 def RemoveIcon(*args
, **kwargs
):
2210 """RemoveIcon(self) -> bool"""
2211 return _windows_
.TaskBarIcon_RemoveIcon(*args
, **kwargs
)
2213 def PopupMenu(*args
, **kwargs
):
2214 """PopupMenu(self, Menu menu) -> bool"""
2215 return _windows_
.TaskBarIcon_PopupMenu(*args
, **kwargs
)
2218 class TaskBarIconPtr(TaskBarIcon
):
2219 def __init__(self
, this
):
2221 if not hasattr(self
,"thisown"): self
.thisown
= 0
2222 self
.__class
__ = TaskBarIcon
2223 _windows_
.TaskBarIcon_swigregister(TaskBarIconPtr
)
2225 class TaskBarIconEvent(_core
.Event
):
2226 """Proxy of C++ TaskBarIconEvent class"""
2228 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2229 def __init__(self
, *args
, **kwargs
):
2230 """__init__(self, wxEventType evtType, wxTaskBarIcon tbIcon) -> TaskBarIconEvent"""
2231 newobj
= _windows_
.new_TaskBarIconEvent(*args
, **kwargs
)
2232 self
.this
= newobj
.this
2236 class TaskBarIconEventPtr(TaskBarIconEvent
):
2237 def __init__(self
, this
):
2239 if not hasattr(self
,"thisown"): self
.thisown
= 0
2240 self
.__class
__ = TaskBarIconEvent
2241 _windows_
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
2243 wxEVT_TASKBAR_MOVE
= _windows_
.wxEVT_TASKBAR_MOVE
2244 wxEVT_TASKBAR_LEFT_DOWN
= _windows_
.wxEVT_TASKBAR_LEFT_DOWN
2245 wxEVT_TASKBAR_LEFT_UP
= _windows_
.wxEVT_TASKBAR_LEFT_UP
2246 wxEVT_TASKBAR_RIGHT_DOWN
= _windows_
.wxEVT_TASKBAR_RIGHT_DOWN
2247 wxEVT_TASKBAR_RIGHT_UP
= _windows_
.wxEVT_TASKBAR_RIGHT_UP
2248 wxEVT_TASKBAR_LEFT_DCLICK
= _windows_
.wxEVT_TASKBAR_LEFT_DCLICK
2249 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows_
.wxEVT_TASKBAR_RIGHT_DCLICK
2250 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
2251 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
2252 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
2253 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
2254 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
2255 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
2256 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
2258 #---------------------------------------------------------------------------
2260 class ColourData(_core
.Object
):
2262 This class holds a variety of information related to the colour
2263 chooser dialog, used to transfer settings and results to and from the
2267 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2268 def __init__(self
, *args
, **kwargs
):
2270 __init__(self) -> ColourData
2272 Constructor, sets default values.
2274 newobj
= _windows_
.new_ColourData(*args
, **kwargs
)
2275 self
.this
= newobj
.this
2278 def __del__(self
, destroy
=_windows_
.delete_ColourData
):
2281 if self
.thisown
: destroy(self
)
2284 def GetChooseFull(*args
, **kwargs
):
2286 GetChooseFull(self) -> bool
2288 Under Windows, determines whether the Windows colour dialog will
2289 display the full dialog with custom colour selection controls. Has no
2290 meaning under other platforms. The default value is true.
2292 return _windows_
.ColourData_GetChooseFull(*args
, **kwargs
)
2294 def GetColour(*args
, **kwargs
):
2296 GetColour(self) -> Colour
2298 Gets the colour (pre)selected by the dialog.
2300 return _windows_
.ColourData_GetColour(*args
, **kwargs
)
2302 def GetCustomColour(*args
, **kwargs
):
2304 GetCustomColour(self, int i) -> Colour
2306 Gets the i'th custom colour associated with the colour dialog. i
2307 should be an integer between 0 and 15. The default custom colours are
2308 all invalid colours.
2310 return _windows_
.ColourData_GetCustomColour(*args
, **kwargs
)
2312 def SetChooseFull(*args
, **kwargs
):
2314 SetChooseFull(self, int flag)
2316 Under Windows, tells the Windows colour dialog to display the full
2317 dialog with custom colour selection controls. Under other platforms,
2318 has no effect. The default value is true.
2320 return _windows_
.ColourData_SetChooseFull(*args
, **kwargs
)
2322 def SetColour(*args
, **kwargs
):
2324 SetColour(self, Colour colour)
2326 Sets the default colour for the colour dialog. The default colour is
2329 return _windows_
.ColourData_SetColour(*args
, **kwargs
)
2331 def SetCustomColour(*args
, **kwargs
):
2333 SetCustomColour(self, int i, Colour colour)
2335 Sets the i'th custom colour for the colour dialog. i should be an
2336 integer between 0 and 15. The default custom colours are all invalid colours.
2338 return _windows_
.ColourData_SetCustomColour(*args
, **kwargs
)
2341 class ColourDataPtr(ColourData
):
2342 def __init__(self
, this
):
2344 if not hasattr(self
,"thisown"): self
.thisown
= 0
2345 self
.__class
__ = ColourData
2346 _windows_
.ColourData_swigregister(ColourDataPtr
)
2347 FileSelectorPromptStr
= cvar
.FileSelectorPromptStr
2348 DirSelectorPromptStr
= cvar
.DirSelectorPromptStr
2349 DirDialogNameStr
= cvar
.DirDialogNameStr
2350 FileSelectorDefaultWildcardStr
= cvar
.FileSelectorDefaultWildcardStr
2351 GetTextFromUserPromptStr
= cvar
.GetTextFromUserPromptStr
2352 MessageBoxCaptionStr
= cvar
.MessageBoxCaptionStr
2354 class ColourDialog(Dialog
):
2355 """This class represents the colour chooser dialog."""
2357 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2358 def __init__(self
, *args
, **kwargs
):
2360 __init__(self, Window parent, ColourData data=None) -> ColourDialog
2362 Constructor. Pass a parent window, and optionally a `wx.ColourData`,
2363 which will be copied to the colour dialog's internal ColourData
2366 newobj
= _windows_
.new_ColourDialog(*args
, **kwargs
)
2367 self
.this
= newobj
.this
2370 self
._setOORInfo
(self
)
2372 def GetColourData(*args
, **kwargs
):
2374 GetColourData(self) -> ColourData
2376 Returns a reference to the `wx.ColourData` used by the dialog.
2378 return _windows_
.ColourDialog_GetColourData(*args
, **kwargs
)
2381 class ColourDialogPtr(ColourDialog
):
2382 def __init__(self
, this
):
2384 if not hasattr(self
,"thisown"): self
.thisown
= 0
2385 self
.__class
__ = ColourDialog
2386 _windows_
.ColourDialog_swigregister(ColourDialogPtr
)
2388 class DirDialog(Dialog
):
2390 wx.DirDialog allows the user to select a directory by browising the
2394 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2395 def __init__(self
, *args
, **kwargs
):
2397 __init__(self, Window parent, String message=DirSelectorPromptStr,
2398 String defaultPath=EmptyString, long style=0,
2399 Point pos=DefaultPosition, Size size=DefaultSize,
2400 String name=DirDialogNameStr) -> DirDialog
2402 Constructor. Use ShowModal method to show the dialog.
2404 newobj
= _windows_
.new_DirDialog(*args
, **kwargs
)
2405 self
.this
= newobj
.this
2408 self
._setOORInfo
(self
)
2410 def GetPath(*args
, **kwargs
):
2412 GetPath(self) -> String
2414 Returns the default or user-selected path.
2416 return _windows_
.DirDialog_GetPath(*args
, **kwargs
)
2418 def GetMessage(*args
, **kwargs
):
2420 GetMessage(self) -> String
2422 Returns the message that will be displayed on the dialog.
2424 return _windows_
.DirDialog_GetMessage(*args
, **kwargs
)
2426 def GetStyle(*args
, **kwargs
):
2428 GetStyle(self) -> long
2430 Returns the dialog style.
2432 return _windows_
.DirDialog_GetStyle(*args
, **kwargs
)
2434 def SetMessage(*args
, **kwargs
):
2436 SetMessage(self, String message)
2438 Sets the message that will be displayed on the dialog.
2440 return _windows_
.DirDialog_SetMessage(*args
, **kwargs
)
2442 def SetPath(*args
, **kwargs
):
2444 SetPath(self, String path)
2446 Sets the default path.
2448 return _windows_
.DirDialog_SetPath(*args
, **kwargs
)
2451 class DirDialogPtr(DirDialog
):
2452 def __init__(self
, this
):
2454 if not hasattr(self
,"thisown"): self
.thisown
= 0
2455 self
.__class
__ = DirDialog
2456 _windows_
.DirDialog_swigregister(DirDialogPtr
)
2458 class FileDialog(Dialog
):
2460 wx.FileDialog allows the user to select one or more files from the
2464 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2465 def __init__(self
, *args
, **kwargs
):
2467 __init__(self, Window parent, String message=FileSelectorPromptStr,
2468 String defaultDir=EmptyString, String defaultFile=EmptyString,
2469 String wildcard=FileSelectorDefaultWildcardStr,
2470 long style=0, Point pos=DefaultPosition) -> FileDialog
2472 Constructor. Use ShowModal method to show the dialog.
2474 newobj
= _windows_
.new_FileDialog(*args
, **kwargs
)
2475 self
.this
= newobj
.this
2478 self
._setOORInfo
(self
)
2480 def SetMessage(*args
, **kwargs
):
2482 SetMessage(self, String message)
2484 Sets the message that will be displayed on the dialog.
2486 return _windows_
.FileDialog_SetMessage(*args
, **kwargs
)
2488 def SetPath(*args
, **kwargs
):
2490 SetPath(self, String path)
2492 Sets the path (the combined directory and filename that will be
2493 returned when the dialog is dismissed).
2495 return _windows_
.FileDialog_SetPath(*args
, **kwargs
)
2497 def SetDirectory(*args
, **kwargs
):
2499 SetDirectory(self, String dir)
2501 Sets the default directory.
2503 return _windows_
.FileDialog_SetDirectory(*args
, **kwargs
)
2505 def SetFilename(*args
, **kwargs
):
2507 SetFilename(self, String name)
2509 Sets the default filename.
2511 return _windows_
.FileDialog_SetFilename(*args
, **kwargs
)
2513 def SetWildcard(*args
, **kwargs
):
2515 SetWildcard(self, String wildCard)
2517 Sets the wildcard, which can contain multiple file types, for
2520 "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
2523 return _windows_
.FileDialog_SetWildcard(*args
, **kwargs
)
2525 def SetStyle(*args
, **kwargs
):
2527 SetStyle(self, long style)
2529 Sets the dialog style.
2531 return _windows_
.FileDialog_SetStyle(*args
, **kwargs
)
2533 def SetFilterIndex(*args
, **kwargs
):
2535 SetFilterIndex(self, int filterIndex)
2537 Sets the default filter index, starting from zero.
2539 return _windows_
.FileDialog_SetFilterIndex(*args
, **kwargs
)
2541 def GetMessage(*args
, **kwargs
):
2543 GetMessage(self) -> String
2545 Returns the message that will be displayed on the dialog.
2547 return _windows_
.FileDialog_GetMessage(*args
, **kwargs
)
2549 def GetPath(*args
, **kwargs
):
2551 GetPath(self) -> String
2553 Returns the full path (directory and filename) of the selected file.
2555 return _windows_
.FileDialog_GetPath(*args
, **kwargs
)
2557 def GetDirectory(*args
, **kwargs
):
2559 GetDirectory(self) -> String
2561 Returns the default directory.
2563 return _windows_
.FileDialog_GetDirectory(*args
, **kwargs
)
2565 def GetFilename(*args
, **kwargs
):
2567 GetFilename(self) -> String
2569 Returns the default filename.
2571 return _windows_
.FileDialog_GetFilename(*args
, **kwargs
)
2573 def GetWildcard(*args
, **kwargs
):
2575 GetWildcard(self) -> String
2577 Returns the file dialog wildcard.
2579 return _windows_
.FileDialog_GetWildcard(*args
, **kwargs
)
2581 def GetStyle(*args
, **kwargs
):
2583 GetStyle(self) -> long
2585 Returns the dialog style.
2587 return _windows_
.FileDialog_GetStyle(*args
, **kwargs
)
2589 def GetFilterIndex(*args
, **kwargs
):
2591 GetFilterIndex(self) -> int
2593 Returns the index into the list of filters supplied, optionally, in
2594 the wildcard parameter. Before the dialog is shown, this is the index
2595 which will be used when the dialog is first displayed. After the
2596 dialog is shown, this is the index selected by the user.
2598 return _windows_
.FileDialog_GetFilterIndex(*args
, **kwargs
)
2600 def GetFilenames(*args
, **kwargs
):
2602 GetFilenames(self) -> PyObject
2604 Returns a list of filenames chosen in the dialog. This function
2605 should only be used with the dialogs which have wx.MULTIPLE style, use
2606 GetFilename for the others.
2608 return _windows_
.FileDialog_GetFilenames(*args
, **kwargs
)
2610 def GetPaths(*args
, **kwargs
):
2612 GetPaths(self) -> PyObject
2614 Fills the array paths with the full paths of the files chosen. This
2615 function should only be used with the dialogs which have wx.MULTIPLE
2616 style, use GetPath for the others.
2618 return _windows_
.FileDialog_GetPaths(*args
, **kwargs
)
2621 class FileDialogPtr(FileDialog
):
2622 def __init__(self
, this
):
2624 if not hasattr(self
,"thisown"): self
.thisown
= 0
2625 self
.__class
__ = FileDialog
2626 _windows_
.FileDialog_swigregister(FileDialogPtr
)
2628 CHOICEDLG_STYLE
= _windows_
.CHOICEDLG_STYLE
2629 class MultiChoiceDialog(Dialog
):
2630 """A simple dialog with a multi selection listbox."""
2632 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2633 def __init__(self
, *args
, **kwargs
):
2635 __init__(Window parent, String message, String caption,
2636 List choices=[], long style=CHOICEDLG_STYLE,
2637 Point pos=DefaultPosition) -> MultiChoiceDialog
2639 Constructor. Use ShowModal method to show the dialog.
2641 newobj
= _windows_
.new_MultiChoiceDialog(*args
, **kwargs
)
2642 self
.this
= newobj
.this
2645 self
._setOORInfo
(self
)
2647 def SetSelections(*args
, **kwargs
):
2649 SetSelections(List selections)
2651 Specify the items in the list that should be selected, using a list of
2654 return _windows_
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
2656 def GetSelections(*args
, **kwargs
):
2658 GetSelections() -> [selections]
2660 Returns a list of integers representing the items that are selected.
2662 return _windows_
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
2665 class MultiChoiceDialogPtr(MultiChoiceDialog
):
2666 def __init__(self
, this
):
2668 if not hasattr(self
,"thisown"): self
.thisown
= 0
2669 self
.__class
__ = MultiChoiceDialog
2670 _windows_
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
2672 class SingleChoiceDialog(Dialog
):
2673 """A simple dialog with a single selection listbox."""
2675 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2676 def __init__(self
, *args
, **kwargs
):
2678 __init__(Window parent, String message, String caption,
2679 List choices=[], long style=CHOICEDLG_STYLE,
2680 Point pos=DefaultPosition) -> SingleChoiceDialog
2682 Constructor. Use ShowModal method to show the dialog.
2684 newobj
= _windows_
.new_SingleChoiceDialog(*args
, **kwargs
)
2685 self
.this
= newobj
.this
2688 self
._setOORInfo
(self
)
2690 def GetSelection(*args
, **kwargs
):
2692 GetSelection(self) -> int
2694 Get the index of teh currently selected item.
2696 return _windows_
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
2698 def GetStringSelection(*args
, **kwargs
):
2700 GetStringSelection(self) -> String
2702 Returns the string value of the currently selected item
2704 return _windows_
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
2706 def SetSelection(*args
, **kwargs
):
2708 SetSelection(self, int sel)
2710 Set the current selected item to sel
2712 return _windows_
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
2715 class SingleChoiceDialogPtr(SingleChoiceDialog
):
2716 def __init__(self
, this
):
2718 if not hasattr(self
,"thisown"): self
.thisown
= 0
2719 self
.__class
__ = SingleChoiceDialog
2720 _windows_
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
2722 TextEntryDialogStyle
= _windows_
.TextEntryDialogStyle
2723 class TextEntryDialog(Dialog
):
2724 """A dialog with text control, [ok] and [cancel] buttons"""
2726 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2727 def __init__(self
, *args
, **kwargs
):
2729 __init__(self, Window parent, String message, String caption=GetTextFromUserPromptStr,
2730 String defaultValue=EmptyString,
2731 long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> TextEntryDialog
2733 Constructor. Use ShowModal method to show the dialog.
2735 newobj
= _windows_
.new_TextEntryDialog(*args
, **kwargs
)
2736 self
.this
= newobj
.this
2739 self
._setOORInfo
(self
)
2741 def GetValue(*args
, **kwargs
):
2743 GetValue(self) -> String
2745 Returns the text that the user has entered if the user has pressed OK,
2746 or the original value if the user has pressed Cancel.
2748 return _windows_
.TextEntryDialog_GetValue(*args
, **kwargs
)
2750 def SetValue(*args
, **kwargs
):
2752 SetValue(self, String value)
2754 Sets the default text value.
2756 return _windows_
.TextEntryDialog_SetValue(*args
, **kwargs
)
2759 class TextEntryDialogPtr(TextEntryDialog
):
2760 def __init__(self
, this
):
2762 if not hasattr(self
,"thisown"): self
.thisown
= 0
2763 self
.__class
__ = TextEntryDialog
2764 _windows_
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
2766 class PasswordEntryDialog(TextEntryDialog
):
2767 """Proxy of C++ PasswordEntryDialog class"""
2769 return "<%s.%s; proxy of C++ wxPasswordEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2770 def __init__(self
, *args
, **kwargs
):
2772 __init__(self, Window parent, String message, String caption=GetPasswordFromUserPromptStr,
2773 String value=EmptyString,
2774 long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> PasswordEntryDialog
2776 newobj
= _windows_
.new_PasswordEntryDialog(*args
, **kwargs
)
2777 self
.this
= newobj
.this
2781 class PasswordEntryDialogPtr(PasswordEntryDialog
):
2782 def __init__(self
, this
):
2784 if not hasattr(self
,"thisown"): self
.thisown
= 0
2785 self
.__class
__ = PasswordEntryDialog
2786 _windows_
.PasswordEntryDialog_swigregister(PasswordEntryDialogPtr
)
2787 GetPasswordFromUserPromptStr
= cvar
.GetPasswordFromUserPromptStr
2789 class FontData(_core
.Object
):
2791 This class holds a variety of information related to font dialogs and
2792 is used to transfer settings to and results from a `wx.FontDialog`.
2795 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2796 def __init__(self
, *args
, **kwargs
):
2798 __init__(self) -> FontData
2800 This class holds a variety of information related to font dialogs and
2801 is used to transfer settings to and results from a `wx.FontDialog`.
2803 newobj
= _windows_
.new_FontData(*args
, **kwargs
)
2804 self
.this
= newobj
.this
2807 def __del__(self
, destroy
=_windows_
.delete_FontData
):
2810 if self
.thisown
: destroy(self
)
2813 def EnableEffects(*args
, **kwargs
):
2815 EnableEffects(self, bool enable)
2817 Enables or disables 'effects' under MS Windows only. This refers to
2818 the controls for manipulating colour, strikeout and underline
2819 properties. The default value is true.
2821 return _windows_
.FontData_EnableEffects(*args
, **kwargs
)
2823 def GetAllowSymbols(*args
, **kwargs
):
2825 GetAllowSymbols(self) -> bool
2827 Under MS Windows, returns a flag determining whether symbol fonts can
2828 be selected. Has no effect on other platforms. The default value is
2831 return _windows_
.FontData_GetAllowSymbols(*args
, **kwargs
)
2833 def GetColour(*args
, **kwargs
):
2835 GetColour(self) -> Colour
2837 Gets the colour associated with the font dialog. The default value is
2840 return _windows_
.FontData_GetColour(*args
, **kwargs
)
2842 def GetChosenFont(*args
, **kwargs
):
2844 GetChosenFont(self) -> Font
2846 Gets the font chosen by the user.
2848 return _windows_
.FontData_GetChosenFont(*args
, **kwargs
)
2850 def GetEnableEffects(*args
, **kwargs
):
2852 GetEnableEffects(self) -> bool
2854 Determines whether 'effects' are enabled under Windows.
2856 return _windows_
.FontData_GetEnableEffects(*args
, **kwargs
)
2858 def GetInitialFont(*args
, **kwargs
):
2860 GetInitialFont(self) -> Font
2862 Gets the font that will be initially used by the font dialog. This
2863 should have previously been set by the application.
2865 return _windows_
.FontData_GetInitialFont(*args
, **kwargs
)
2867 def GetShowHelp(*args
, **kwargs
):
2869 GetShowHelp(self) -> bool
2871 Returns true if the Help button will be shown (Windows only). The
2872 default value is false.
2874 return _windows_
.FontData_GetShowHelp(*args
, **kwargs
)
2876 def SetAllowSymbols(*args
, **kwargs
):
2878 SetAllowSymbols(self, bool allowSymbols)
2880 Under MS Windows, determines whether symbol fonts can be selected. Has
2881 no effect on other platforms. The default value is true.
2883 return _windows_
.FontData_SetAllowSymbols(*args
, **kwargs
)
2885 def SetChosenFont(*args
, **kwargs
):
2887 SetChosenFont(self, Font font)
2889 Sets the font that will be returned to the user (normally for internal
2892 return _windows_
.FontData_SetChosenFont(*args
, **kwargs
)
2894 def SetColour(*args
, **kwargs
):
2896 SetColour(self, Colour colour)
2898 Sets the colour that will be used for the font foreground colour. The
2899 default colour is black.
2901 return _windows_
.FontData_SetColour(*args
, **kwargs
)
2903 def SetInitialFont(*args
, **kwargs
):
2905 SetInitialFont(self, Font font)
2907 Sets the font that will be initially used by the font dialog.
2909 return _windows_
.FontData_SetInitialFont(*args
, **kwargs
)
2911 def SetRange(*args
, **kwargs
):
2913 SetRange(self, int min, int max)
2915 Sets the valid range for the font point size (Windows only). The
2916 default is 0, 0 (unrestricted range).
2918 return _windows_
.FontData_SetRange(*args
, **kwargs
)
2920 def SetShowHelp(*args
, **kwargs
):
2922 SetShowHelp(self, bool showHelp)
2924 Determines whether the Help button will be displayed in the font
2925 dialog (Windows only). The default value is false.
2927 return _windows_
.FontData_SetShowHelp(*args
, **kwargs
)
2930 class FontDataPtr(FontData
):
2931 def __init__(self
, this
):
2933 if not hasattr(self
,"thisown"): self
.thisown
= 0
2934 self
.__class
__ = FontData
2935 _windows_
.FontData_swigregister(FontDataPtr
)
2937 class FontDialog(Dialog
):
2939 wx.FontDialog allows the user to select a system font and its attributes.
2945 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2946 def __init__(self
, *args
, **kwargs
):
2948 __init__(self, Window parent, FontData data) -> FontDialog
2950 Constructor. Pass a parent window and the `wx.FontData` object to be
2951 used to initialize the dialog controls. Call `ShowModal` to display
2952 the dialog. If ShowModal returns ``wx.ID_OK`` then you can fetch the
2953 results with via the `wx.FontData` returned by `GetFontData`.
2955 newobj
= _windows_
.new_FontDialog(*args
, **kwargs
)
2956 self
.this
= newobj
.this
2959 self
._setOORInfo
(self
)
2961 def GetFontData(*args
, **kwargs
):
2963 GetFontData(self) -> FontData
2965 Returns a reference to the internal `wx.FontData` used by the
2968 return _windows_
.FontDialog_GetFontData(*args
, **kwargs
)
2971 class FontDialogPtr(FontDialog
):
2972 def __init__(self
, this
):
2974 if not hasattr(self
,"thisown"): self
.thisown
= 0
2975 self
.__class
__ = FontDialog
2976 _windows_
.FontDialog_swigregister(FontDialogPtr
)
2978 class MessageDialog(Dialog
):
2980 This class provides a simple dialog that shows a single or multi-line
2981 message, with a choice of OK, Yes, No and/or Cancel buttons.
2984 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2985 def __init__(self
, *args
, **kwargs
):
2987 __init__(self, Window parent, String message, String caption=MessageBoxCaptionStr,
2988 long style=wxOK|wxCANCEL|wxCENTRE,
2989 Point pos=DefaultPosition) -> MessageDialog
2991 Constructor, use `ShowModal` to display the dialog.
2993 newobj
= _windows_
.new_MessageDialog(*args
, **kwargs
)
2994 self
.this
= newobj
.this
2997 self
._setOORInfo
(self
)
3000 class MessageDialogPtr(MessageDialog
):
3001 def __init__(self
, this
):
3003 if not hasattr(self
,"thisown"): self
.thisown
= 0
3004 self
.__class
__ = MessageDialog
3005 _windows_
.MessageDialog_swigregister(MessageDialogPtr
)
3007 class ProgressDialog(Frame
):
3009 A dialog that shows a short message and a progress bar. Optionally, it
3010 can display an ABORT button.
3013 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3014 def __init__(self
, *args
, **kwargs
):
3016 __init__(self, String title, String message, int maximum=100, Window parent=None,
3017 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
3019 Constructor. Creates the dialog, displays it and disables user input
3020 for other windows, or, if wx.PD_APP_MODAL flag is not given, for its
3023 newobj
= _windows_
.new_ProgressDialog(*args
, **kwargs
)
3024 self
.this
= newobj
.this
3027 self
._setOORInfo
(self
)
3029 def Update(*args
, **kwargs
):
3031 Update(self, int value, String newmsg=EmptyString) -> bool
3033 Updates the dialog, setting the progress bar to the new value and, if
3034 given changes the message above it. The value given should be less
3035 than or equal to the maximum value given to the constructor and the
3036 dialog is closed if it is equal to the maximum. Returns true unless
3037 the Cancel button has been pressed.
3039 If false is returned, the application can either immediately destroy
3040 the dialog or ask the user for the confirmation and if the abort is
3041 not confirmed the dialog may be resumed with Resume function.
3043 return _windows_
.ProgressDialog_Update(*args
, **kwargs
)
3045 def Resume(*args
, **kwargs
):
3049 Can be used to continue with the dialog, after the user had chosen to
3052 return _windows_
.ProgressDialog_Resume(*args
, **kwargs
)
3055 class ProgressDialogPtr(ProgressDialog
):
3056 def __init__(self
, this
):
3058 if not hasattr(self
,"thisown"): self
.thisown
= 0
3059 self
.__class
__ = ProgressDialog
3060 _windows_
.ProgressDialog_swigregister(ProgressDialogPtr
)
3062 FR_DOWN
= _windows_
.FR_DOWN
3063 FR_WHOLEWORD
= _windows_
.FR_WHOLEWORD
3064 FR_MATCHCASE
= _windows_
.FR_MATCHCASE
3065 FR_REPLACEDIALOG
= _windows_
.FR_REPLACEDIALOG
3066 FR_NOUPDOWN
= _windows_
.FR_NOUPDOWN
3067 FR_NOMATCHCASE
= _windows_
.FR_NOMATCHCASE
3068 FR_NOWHOLEWORD
= _windows_
.FR_NOWHOLEWORD
3069 wxEVT_COMMAND_FIND
= _windows_
.wxEVT_COMMAND_FIND
3070 wxEVT_COMMAND_FIND_NEXT
= _windows_
.wxEVT_COMMAND_FIND_NEXT
3071 wxEVT_COMMAND_FIND_REPLACE
= _windows_
.wxEVT_COMMAND_FIND_REPLACE
3072 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows_
.wxEVT_COMMAND_FIND_REPLACE_ALL
3073 wxEVT_COMMAND_FIND_CLOSE
= _windows_
.wxEVT_COMMAND_FIND_CLOSE
3074 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
3075 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
3076 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
3077 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
3078 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
3080 # For backwards compatibility. Should they be removed?
3081 EVT_COMMAND_FIND
= EVT_FIND
3082 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
3083 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
3084 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
3085 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
3087 class FindDialogEvent(_core
.CommandEvent
):
3088 """Events for the FindReplaceDialog"""
3090 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3091 def __init__(self
, *args
, **kwargs
):
3093 __init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent
3095 Events for the FindReplaceDialog
3097 newobj
= _windows_
.new_FindDialogEvent(*args
, **kwargs
)
3098 self
.this
= newobj
.this
3101 def GetFlags(*args
, **kwargs
):
3103 GetFlags(self) -> int
3105 Get the currently selected flags: this is the combination of
3106 wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.
3108 return _windows_
.FindDialogEvent_GetFlags(*args
, **kwargs
)
3110 def GetFindString(*args
, **kwargs
):
3112 GetFindString(self) -> String
3114 Return the string to find (never empty).
3116 return _windows_
.FindDialogEvent_GetFindString(*args
, **kwargs
)
3118 def GetReplaceString(*args
, **kwargs
):
3120 GetReplaceString(self) -> String
3122 Return the string to replace the search string with (only for replace
3123 and replace all events).
3125 return _windows_
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
3127 def GetDialog(*args
, **kwargs
):
3129 GetDialog(self) -> FindReplaceDialog
3131 Return the pointer to the dialog which generated this event.
3133 return _windows_
.FindDialogEvent_GetDialog(*args
, **kwargs
)
3135 def SetFlags(*args
, **kwargs
):
3136 """SetFlags(self, int flags)"""
3137 return _windows_
.FindDialogEvent_SetFlags(*args
, **kwargs
)
3139 def SetFindString(*args
, **kwargs
):
3140 """SetFindString(self, String str)"""
3141 return _windows_
.FindDialogEvent_SetFindString(*args
, **kwargs
)
3143 def SetReplaceString(*args
, **kwargs
):
3144 """SetReplaceString(self, String str)"""
3145 return _windows_
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
3148 class FindDialogEventPtr(FindDialogEvent
):
3149 def __init__(self
, this
):
3151 if not hasattr(self
,"thisown"): self
.thisown
= 0
3152 self
.__class
__ = FindDialogEvent
3153 _windows_
.FindDialogEvent_swigregister(FindDialogEventPtr
)
3155 class FindReplaceData(_core
.Object
):
3157 wx.FindReplaceData holds the data for wx.FindReplaceDialog. It is used
3158 to initialize the dialog with the default values and will keep the
3159 last values from the dialog when it is closed. It is also updated each
3160 time a `wx.FindDialogEvent` is generated so instead of using the
3161 `wx.FindDialogEvent` methods you can also directly query this object.
3163 Note that all SetXXX() methods may only be called before showing the
3164 dialog and calling them has no effect later.
3167 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3168 def __init__(self
, *args
, **kwargs
):
3170 __init__(self, int flags=0) -> FindReplaceData
3172 Constuctor initializes the flags to default value (0).
3174 newobj
= _windows_
.new_FindReplaceData(*args
, **kwargs
)
3175 self
.this
= newobj
.this
3178 def __del__(self
, destroy
=_windows_
.delete_FindReplaceData
):
3181 if self
.thisown
: destroy(self
)
3184 def GetFindString(*args
, **kwargs
):
3186 GetFindString(self) -> String
3188 Get the string to find.
3190 return _windows_
.FindReplaceData_GetFindString(*args
, **kwargs
)
3192 def GetReplaceString(*args
, **kwargs
):
3194 GetReplaceString(self) -> String
3196 Get the replacement string.
3198 return _windows_
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
3200 def GetFlags(*args
, **kwargs
):
3202 GetFlags(self) -> int
3204 Get the combination of flag values.
3206 return _windows_
.FindReplaceData_GetFlags(*args
, **kwargs
)
3208 def SetFlags(*args
, **kwargs
):
3210 SetFlags(self, int flags)
3212 Set the flags to use to initialize the controls of the dialog.
3214 return _windows_
.FindReplaceData_SetFlags(*args
, **kwargs
)
3216 def SetFindString(*args
, **kwargs
):
3218 SetFindString(self, String str)
3220 Set the string to find (used as initial value by the dialog).
3222 return _windows_
.FindReplaceData_SetFindString(*args
, **kwargs
)
3224 def SetReplaceString(*args
, **kwargs
):
3226 SetReplaceString(self, String str)
3228 Set the replacement string (used as initial value by the dialog).
3230 return _windows_
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
3233 class FindReplaceDataPtr(FindReplaceData
):
3234 def __init__(self
, this
):
3236 if not hasattr(self
,"thisown"): self
.thisown
= 0
3237 self
.__class
__ = FindReplaceData
3238 _windows_
.FindReplaceData_swigregister(FindReplaceDataPtr
)
3240 class FindReplaceDialog(Dialog
):
3242 wx.FindReplaceDialog is a standard modeless dialog which is used to
3243 allow the user to search for some text (and possibly replace it with
3244 something else). The actual searching is supposed to be done in the
3245 owner window which is the parent of this dialog. Note that it means
3246 that unlike for the other standard dialogs this one must have a parent
3247 window. Also note that there is no way to use this dialog in a modal
3248 way; it is always, by design and implementation, modeless.
3251 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3252 def __init__(self
, *args
, **kwargs
):
3254 __init__(self, Window parent, FindReplaceData data, String title,
3255 int style=0) -> FindReplaceDialog
3257 Create a FindReplaceDialog. The parent and data parameters must be
3258 non-None. Use Show to display the dialog.
3260 newobj
= _windows_
.new_FindReplaceDialog(*args
, **kwargs
)
3261 self
.this
= newobj
.this
3264 self
._setOORInfo
(self
)
3266 def Create(*args
, **kwargs
):
3268 Create(self, Window parent, FindReplaceData data, String title,
3269 int style=0) -> bool
3271 Create the dialog, for 2-phase create.
3273 return _windows_
.FindReplaceDialog_Create(*args
, **kwargs
)
3275 def GetData(*args
, **kwargs
):
3277 GetData(self) -> FindReplaceData
3279 Get the FindReplaceData object used by this dialog.
3281 return _windows_
.FindReplaceDialog_GetData(*args
, **kwargs
)
3283 def SetData(*args
, **kwargs
):
3285 SetData(self, FindReplaceData data)
3287 Set the FindReplaceData object used by this dialog.
3289 return _windows_
.FindReplaceDialog_SetData(*args
, **kwargs
)
3292 class FindReplaceDialogPtr(FindReplaceDialog
):
3293 def __init__(self
, this
):
3295 if not hasattr(self
,"thisown"): self
.thisown
= 0
3296 self
.__class
__ = FindReplaceDialog
3297 _windows_
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
3299 def PreFindReplaceDialog(*args
, **kwargs
):
3301 PreFindReplaceDialog() -> FindReplaceDialog
3303 Precreate a FindReplaceDialog for 2-phase creation
3305 val
= _windows_
.new_PreFindReplaceDialog(*args
, **kwargs
)
3309 #---------------------------------------------------------------------------
3311 IDM_WINDOWTILE
= _windows_
.IDM_WINDOWTILE
3312 IDM_WINDOWTILEHOR
= _windows_
.IDM_WINDOWTILEHOR
3313 IDM_WINDOWCASCADE
= _windows_
.IDM_WINDOWCASCADE
3314 IDM_WINDOWICONS
= _windows_
.IDM_WINDOWICONS
3315 IDM_WINDOWNEXT
= _windows_
.IDM_WINDOWNEXT
3316 IDM_WINDOWTILEVERT
= _windows_
.IDM_WINDOWTILEVERT
3317 FIRST_MDI_CHILD
= _windows_
.FIRST_MDI_CHILD
3318 LAST_MDI_CHILD
= _windows_
.LAST_MDI_CHILD
3319 class MDIParentFrame(Frame
):
3320 """Proxy of C++ MDIParentFrame class"""
3322 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3323 def __init__(self
, *args
, **kwargs
):
3325 __init__(self, Window parent, int id=-1, String title=EmptyString,
3326 Point pos=DefaultPosition, Size size=DefaultSize,
3327 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3328 String name=FrameNameStr) -> MDIParentFrame
3330 newobj
= _windows_
.new_MDIParentFrame(*args
, **kwargs
)
3331 self
.this
= newobj
.this
3334 self
._setOORInfo
(self
)
3336 def Create(*args
, **kwargs
):
3338 Create(self, Window parent, int id=-1, String title=EmptyString,
3339 Point pos=DefaultPosition, Size size=DefaultSize,
3340 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3341 String name=FrameNameStr) -> bool
3343 return _windows_
.MDIParentFrame_Create(*args
, **kwargs
)
3345 def ActivateNext(*args
, **kwargs
):
3346 """ActivateNext(self)"""
3347 return _windows_
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
3349 def ActivatePrevious(*args
, **kwargs
):
3350 """ActivatePrevious(self)"""
3351 return _windows_
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
3353 def ArrangeIcons(*args
, **kwargs
):
3354 """ArrangeIcons(self)"""
3355 return _windows_
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
3357 def Cascade(*args
, **kwargs
):
3359 return _windows_
.MDIParentFrame_Cascade(*args
, **kwargs
)
3361 def GetActiveChild(*args
, **kwargs
):
3362 """GetActiveChild(self) -> MDIChildFrame"""
3363 return _windows_
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
3365 def GetClientWindow(*args
, **kwargs
):
3366 """GetClientWindow(self) -> MDIClientWindow"""
3367 return _windows_
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
3369 def GetToolBar(*args
, **kwargs
):
3370 """GetToolBar(self) -> Window"""
3371 return _windows_
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
3373 def Tile(*args
, **kwargs
):
3375 return _windows_
.MDIParentFrame_Tile(*args
, **kwargs
)
3378 class MDIParentFramePtr(MDIParentFrame
):
3379 def __init__(self
, this
):
3381 if not hasattr(self
,"thisown"): self
.thisown
= 0
3382 self
.__class
__ = MDIParentFrame
3383 _windows_
.MDIParentFrame_swigregister(MDIParentFramePtr
)
3385 def PreMDIParentFrame(*args
, **kwargs
):
3386 """PreMDIParentFrame() -> MDIParentFrame"""
3387 val
= _windows_
.new_PreMDIParentFrame(*args
, **kwargs
)
3391 class MDIChildFrame(Frame
):
3392 """Proxy of C++ MDIChildFrame class"""
3394 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3395 def __init__(self
, *args
, **kwargs
):
3397 __init__(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3398 Point pos=DefaultPosition, Size size=DefaultSize,
3399 long style=DEFAULT_FRAME_STYLE,
3400 String name=FrameNameStr) -> MDIChildFrame
3402 newobj
= _windows_
.new_MDIChildFrame(*args
, **kwargs
)
3403 self
.this
= newobj
.this
3406 self
._setOORInfo
(self
)
3408 def Create(*args
, **kwargs
):
3410 Create(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3411 Point pos=DefaultPosition, Size size=DefaultSize,
3412 long style=DEFAULT_FRAME_STYLE,
3413 String name=FrameNameStr) -> bool
3415 return _windows_
.MDIChildFrame_Create(*args
, **kwargs
)
3417 def Activate(*args
, **kwargs
):
3418 """Activate(self)"""
3419 return _windows_
.MDIChildFrame_Activate(*args
, **kwargs
)
3421 def Maximize(*args
, **kwargs
):
3422 """Maximize(self, bool maximize=True)"""
3423 return _windows_
.MDIChildFrame_Maximize(*args
, **kwargs
)
3425 def Restore(*args
, **kwargs
):
3427 return _windows_
.MDIChildFrame_Restore(*args
, **kwargs
)
3430 class MDIChildFramePtr(MDIChildFrame
):
3431 def __init__(self
, this
):
3433 if not hasattr(self
,"thisown"): self
.thisown
= 0
3434 self
.__class
__ = MDIChildFrame
3435 _windows_
.MDIChildFrame_swigregister(MDIChildFramePtr
)
3437 def PreMDIChildFrame(*args
, **kwargs
):
3438 """PreMDIChildFrame() -> MDIChildFrame"""
3439 val
= _windows_
.new_PreMDIChildFrame(*args
, **kwargs
)
3443 class MDIClientWindow(_core
.Window
):
3444 """Proxy of C++ MDIClientWindow class"""
3446 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3447 def __init__(self
, *args
, **kwargs
):
3448 """__init__(self, MDIParentFrame parent, long style=0) -> MDIClientWindow"""
3449 newobj
= _windows_
.new_MDIClientWindow(*args
, **kwargs
)
3450 self
.this
= newobj
.this
3453 self
._setOORInfo
(self
)
3455 def Create(*args
, **kwargs
):
3456 """Create(self, MDIParentFrame parent, long style=0) -> bool"""
3457 return _windows_
.MDIClientWindow_Create(*args
, **kwargs
)
3460 class MDIClientWindowPtr(MDIClientWindow
):
3461 def __init__(self
, this
):
3463 if not hasattr(self
,"thisown"): self
.thisown
= 0
3464 self
.__class
__ = MDIClientWindow
3465 _windows_
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
3467 def PreMDIClientWindow(*args
, **kwargs
):
3468 """PreMDIClientWindow() -> MDIClientWindow"""
3469 val
= _windows_
.new_PreMDIClientWindow(*args
, **kwargs
)
3473 #---------------------------------------------------------------------------
3475 class PyWindow(_core
.Window
):
3476 """Proxy of C++ PyWindow class"""
3478 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3479 def __init__(self
, *args
, **kwargs
):
3481 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3482 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyWindow
3484 newobj
= _windows_
.new_PyWindow(*args
, **kwargs
)
3485 self
.this
= newobj
.this
3488 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
3490 def _setCallbackInfo(*args
, **kwargs
):
3491 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3492 return _windows_
.PyWindow__setCallbackInfo(*args
, **kwargs
)
3494 def SetBestSize(*args
, **kwargs
):
3495 """SetBestSize(self, Size size)"""
3496 return _windows_
.PyWindow_SetBestSize(*args
, **kwargs
)
3498 def base_DoMoveWindow(*args
, **kwargs
):
3499 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3500 return _windows_
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
3502 def base_DoSetSize(*args
, **kwargs
):
3503 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3504 return _windows_
.PyWindow_base_DoSetSize(*args
, **kwargs
)
3506 def base_DoSetClientSize(*args
, **kwargs
):
3507 """base_DoSetClientSize(self, int width, int height)"""
3508 return _windows_
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
3510 def base_DoSetVirtualSize(*args
, **kwargs
):
3511 """base_DoSetVirtualSize(self, int x, int y)"""
3512 return _windows_
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
3514 def base_DoGetSize(*args
, **kwargs
):
3515 """base_DoGetSize() -> (width, height)"""
3516 return _windows_
.PyWindow_base_DoGetSize(*args
, **kwargs
)
3518 def base_DoGetClientSize(*args
, **kwargs
):
3519 """base_DoGetClientSize() -> (width, height)"""
3520 return _windows_
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
3522 def base_DoGetPosition(*args
, **kwargs
):
3523 """base_DoGetPosition() -> (x,y)"""
3524 return _windows_
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
3526 def base_DoGetVirtualSize(*args
, **kwargs
):
3527 """base_DoGetVirtualSize(self) -> Size"""
3528 return _windows_
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
3530 def base_DoGetBestSize(*args
, **kwargs
):
3531 """base_DoGetBestSize(self) -> Size"""
3532 return _windows_
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
3534 def base_InitDialog(*args
, **kwargs
):
3535 """base_InitDialog(self)"""
3536 return _windows_
.PyWindow_base_InitDialog(*args
, **kwargs
)
3538 def base_TransferDataToWindow(*args
, **kwargs
):
3539 """base_TransferDataToWindow(self) -> bool"""
3540 return _windows_
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
3542 def base_TransferDataFromWindow(*args
, **kwargs
):
3543 """base_TransferDataFromWindow(self) -> bool"""
3544 return _windows_
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
3546 def base_Validate(*args
, **kwargs
):
3547 """base_Validate(self) -> bool"""
3548 return _windows_
.PyWindow_base_Validate(*args
, **kwargs
)
3550 def base_AcceptsFocus(*args
, **kwargs
):
3551 """base_AcceptsFocus(self) -> bool"""
3552 return _windows_
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
3554 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3555 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3556 return _windows_
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3558 def base_GetMaxSize(*args
, **kwargs
):
3559 """base_GetMaxSize(self) -> Size"""
3560 return _windows_
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
3562 def base_AddChild(*args
, **kwargs
):
3563 """base_AddChild(self, Window child)"""
3564 return _windows_
.PyWindow_base_AddChild(*args
, **kwargs
)
3566 def base_RemoveChild(*args
, **kwargs
):
3567 """base_RemoveChild(self, Window child)"""
3568 return _windows_
.PyWindow_base_RemoveChild(*args
, **kwargs
)
3570 def base_ShouldInheritColours(*args
, **kwargs
):
3571 """base_ShouldInheritColours(self) -> bool"""
3572 return _windows_
.PyWindow_base_ShouldInheritColours(*args
, **kwargs
)
3574 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3575 """base_ApplyParentThemeBackground(self, Colour c)"""
3576 return _windows_
.PyWindow_base_ApplyParentThemeBackground(*args
, **kwargs
)
3578 def base_GetDefaultAttributes(*args
, **kwargs
):
3579 """base_GetDefaultAttributes(self) -> VisualAttributes"""
3580 return _windows_
.PyWindow_base_GetDefaultAttributes(*args
, **kwargs
)
3583 class PyWindowPtr(PyWindow
):
3584 def __init__(self
, this
):
3586 if not hasattr(self
,"thisown"): self
.thisown
= 0
3587 self
.__class
__ = PyWindow
3588 _windows_
.PyWindow_swigregister(PyWindowPtr
)
3590 def PrePyWindow(*args
, **kwargs
):
3591 """PrePyWindow() -> PyWindow"""
3592 val
= _windows_
.new_PrePyWindow(*args
, **kwargs
)
3596 class PyPanel(Panel
):
3597 """Proxy of C++ PyPanel class"""
3599 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3600 def __init__(self
, *args
, **kwargs
):
3602 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3603 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyPanel
3605 newobj
= _windows_
.new_PyPanel(*args
, **kwargs
)
3606 self
.this
= newobj
.this
3609 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3611 def _setCallbackInfo(*args
, **kwargs
):
3612 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3613 return _windows_
.PyPanel__setCallbackInfo(*args
, **kwargs
)
3615 def SetBestSize(*args
, **kwargs
):
3616 """SetBestSize(self, Size size)"""
3617 return _windows_
.PyPanel_SetBestSize(*args
, **kwargs
)
3619 def base_DoMoveWindow(*args
, **kwargs
):
3620 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3621 return _windows_
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
3623 def base_DoSetSize(*args
, **kwargs
):
3624 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3625 return _windows_
.PyPanel_base_DoSetSize(*args
, **kwargs
)
3627 def base_DoSetClientSize(*args
, **kwargs
):
3628 """base_DoSetClientSize(self, int width, int height)"""
3629 return _windows_
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
3631 def base_DoSetVirtualSize(*args
, **kwargs
):
3632 """base_DoSetVirtualSize(self, int x, int y)"""
3633 return _windows_
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
3635 def base_DoGetSize(*args
, **kwargs
):
3636 """base_DoGetSize() -> (width, height)"""
3637 return _windows_
.PyPanel_base_DoGetSize(*args
, **kwargs
)
3639 def base_DoGetClientSize(*args
, **kwargs
):
3640 """base_DoGetClientSize() -> (width, height)"""
3641 return _windows_
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
3643 def base_DoGetPosition(*args
, **kwargs
):
3644 """base_DoGetPosition() -> (x,y)"""
3645 return _windows_
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
3647 def base_DoGetVirtualSize(*args
, **kwargs
):
3648 """base_DoGetVirtualSize(self) -> Size"""
3649 return _windows_
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
3651 def base_DoGetBestSize(*args
, **kwargs
):
3652 """base_DoGetBestSize(self) -> Size"""
3653 return _windows_
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
3655 def base_InitDialog(*args
, **kwargs
):
3656 """base_InitDialog(self)"""
3657 return _windows_
.PyPanel_base_InitDialog(*args
, **kwargs
)
3659 def base_TransferDataToWindow(*args
, **kwargs
):
3660 """base_TransferDataToWindow(self) -> bool"""
3661 return _windows_
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
3663 def base_TransferDataFromWindow(*args
, **kwargs
):
3664 """base_TransferDataFromWindow(self) -> bool"""
3665 return _windows_
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
3667 def base_Validate(*args
, **kwargs
):
3668 """base_Validate(self) -> bool"""
3669 return _windows_
.PyPanel_base_Validate(*args
, **kwargs
)
3671 def base_AcceptsFocus(*args
, **kwargs
):
3672 """base_AcceptsFocus(self) -> bool"""
3673 return _windows_
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
3675 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3676 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3677 return _windows_
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3679 def base_GetMaxSize(*args
, **kwargs
):
3680 """base_GetMaxSize(self) -> Size"""
3681 return _windows_
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
3683 def base_AddChild(*args
, **kwargs
):
3684 """base_AddChild(self, Window child)"""
3685 return _windows_
.PyPanel_base_AddChild(*args
, **kwargs
)
3687 def base_RemoveChild(*args
, **kwargs
):
3688 """base_RemoveChild(self, Window child)"""
3689 return _windows_
.PyPanel_base_RemoveChild(*args
, **kwargs
)
3691 def base_ShouldInheritColours(*args
, **kwargs
):
3692 """base_ShouldInheritColours(self) -> bool"""
3693 return _windows_
.PyPanel_base_ShouldInheritColours(*args
, **kwargs
)
3695 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3696 """base_ApplyParentThemeBackground(self, Colour c)"""
3697 return _windows_
.PyPanel_base_ApplyParentThemeBackground(*args
, **kwargs
)
3699 def base_GetDefaultAttributes(*args
, **kwargs
):
3700 """base_GetDefaultAttributes(self) -> VisualAttributes"""
3701 return _windows_
.PyPanel_base_GetDefaultAttributes(*args
, **kwargs
)
3704 class PyPanelPtr(PyPanel
):
3705 def __init__(self
, this
):
3707 if not hasattr(self
,"thisown"): self
.thisown
= 0
3708 self
.__class
__ = PyPanel
3709 _windows_
.PyPanel_swigregister(PyPanelPtr
)
3711 def PrePyPanel(*args
, **kwargs
):
3712 """PrePyPanel() -> PyPanel"""
3713 val
= _windows_
.new_PrePyPanel(*args
, **kwargs
)
3717 class PyScrolledWindow(ScrolledWindow
):
3718 """Proxy of C++ PyScrolledWindow class"""
3720 return "<%s.%s; proxy of C++ wxPyScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3721 def __init__(self
, *args
, **kwargs
):
3723 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3724 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyScrolledWindow
3726 newobj
= _windows_
.new_PyScrolledWindow(*args
, **kwargs
)
3727 self
.this
= newobj
.this
3730 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3732 def _setCallbackInfo(*args
, **kwargs
):
3733 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3734 return _windows_
.PyScrolledWindow__setCallbackInfo(*args
, **kwargs
)
3736 def SetBestSize(*args
, **kwargs
):
3737 """SetBestSize(self, Size size)"""
3738 return _windows_
.PyScrolledWindow_SetBestSize(*args
, **kwargs
)
3740 def base_DoMoveWindow(*args
, **kwargs
):
3741 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3742 return _windows_
.PyScrolledWindow_base_DoMoveWindow(*args
, **kwargs
)
3744 def base_DoSetSize(*args
, **kwargs
):
3745 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3746 return _windows_
.PyScrolledWindow_base_DoSetSize(*args
, **kwargs
)
3748 def base_DoSetClientSize(*args
, **kwargs
):
3749 """base_DoSetClientSize(self, int width, int height)"""
3750 return _windows_
.PyScrolledWindow_base_DoSetClientSize(*args
, **kwargs
)
3752 def base_DoSetVirtualSize(*args
, **kwargs
):
3753 """base_DoSetVirtualSize(self, int x, int y)"""
3754 return _windows_
.PyScrolledWindow_base_DoSetVirtualSize(*args
, **kwargs
)
3756 def base_DoGetSize(*args
, **kwargs
):
3757 """base_DoGetSize() -> (width, height)"""
3758 return _windows_
.PyScrolledWindow_base_DoGetSize(*args
, **kwargs
)
3760 def base_DoGetClientSize(*args
, **kwargs
):
3761 """base_DoGetClientSize() -> (width, height)"""
3762 return _windows_
.PyScrolledWindow_base_DoGetClientSize(*args
, **kwargs
)
3764 def base_DoGetPosition(*args
, **kwargs
):
3765 """base_DoGetPosition() -> (x,y)"""
3766 return _windows_
.PyScrolledWindow_base_DoGetPosition(*args
, **kwargs
)
3768 def base_DoGetVirtualSize(*args
, **kwargs
):
3769 """base_DoGetVirtualSize(self) -> Size"""
3770 return _windows_
.PyScrolledWindow_base_DoGetVirtualSize(*args
, **kwargs
)
3772 def base_DoGetBestSize(*args
, **kwargs
):
3773 """base_DoGetBestSize(self) -> Size"""
3774 return _windows_
.PyScrolledWindow_base_DoGetBestSize(*args
, **kwargs
)
3776 def base_InitDialog(*args
, **kwargs
):
3777 """base_InitDialog(self)"""
3778 return _windows_
.PyScrolledWindow_base_InitDialog(*args
, **kwargs
)
3780 def base_TransferDataToWindow(*args
, **kwargs
):
3781 """base_TransferDataToWindow(self) -> bool"""
3782 return _windows_
.PyScrolledWindow_base_TransferDataToWindow(*args
, **kwargs
)
3784 def base_TransferDataFromWindow(*args
, **kwargs
):
3785 """base_TransferDataFromWindow(self) -> bool"""
3786 return _windows_
.PyScrolledWindow_base_TransferDataFromWindow(*args
, **kwargs
)
3788 def base_Validate(*args
, **kwargs
):
3789 """base_Validate(self) -> bool"""
3790 return _windows_
.PyScrolledWindow_base_Validate(*args
, **kwargs
)
3792 def base_AcceptsFocus(*args
, **kwargs
):
3793 """base_AcceptsFocus(self) -> bool"""
3794 return _windows_
.PyScrolledWindow_base_AcceptsFocus(*args
, **kwargs
)
3796 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3797 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3798 return _windows_
.PyScrolledWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3800 def base_GetMaxSize(*args
, **kwargs
):
3801 """base_GetMaxSize(self) -> Size"""
3802 return _windows_
.PyScrolledWindow_base_GetMaxSize(*args
, **kwargs
)
3804 def base_AddChild(*args
, **kwargs
):
3805 """base_AddChild(self, Window child)"""
3806 return _windows_
.PyScrolledWindow_base_AddChild(*args
, **kwargs
)
3808 def base_RemoveChild(*args
, **kwargs
):
3809 """base_RemoveChild(self, Window child)"""
3810 return _windows_
.PyScrolledWindow_base_RemoveChild(*args
, **kwargs
)
3812 def base_ShouldInheritColours(*args
, **kwargs
):
3813 """base_ShouldInheritColours(self) -> bool"""
3814 return _windows_
.PyScrolledWindow_base_ShouldInheritColours(*args
, **kwargs
)
3816 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3817 """base_ApplyParentThemeBackground(self, Colour c)"""
3818 return _windows_
.PyScrolledWindow_base_ApplyParentThemeBackground(*args
, **kwargs
)
3820 def base_GetDefaultAttributes(*args
, **kwargs
):
3821 """base_GetDefaultAttributes(self) -> VisualAttributes"""
3822 return _windows_
.PyScrolledWindow_base_GetDefaultAttributes(*args
, **kwargs
)
3825 class PyScrolledWindowPtr(PyScrolledWindow
):
3826 def __init__(self
, this
):
3828 if not hasattr(self
,"thisown"): self
.thisown
= 0
3829 self
.__class
__ = PyScrolledWindow
3830 _windows_
.PyScrolledWindow_swigregister(PyScrolledWindowPtr
)
3832 def PrePyScrolledWindow(*args
, **kwargs
):
3833 """PrePyScrolledWindow() -> PyScrolledWindow"""
3834 val
= _windows_
.new_PrePyScrolledWindow(*args
, **kwargs
)
3838 #---------------------------------------------------------------------------
3840 PRINT_MODE_NONE
= _windows_
.PRINT_MODE_NONE
3841 PRINT_MODE_PREVIEW
= _windows_
.PRINT_MODE_PREVIEW
3842 PRINT_MODE_FILE
= _windows_
.PRINT_MODE_FILE
3843 PRINT_MODE_PRINTER
= _windows_
.PRINT_MODE_PRINTER
3844 PRINT_MODE_STREAM
= _windows_
.PRINT_MODE_STREAM
3845 PRINTBIN_DEFAULT
= _windows_
.PRINTBIN_DEFAULT
3846 PRINTBIN_ONLYONE
= _windows_
.PRINTBIN_ONLYONE
3847 PRINTBIN_LOWER
= _windows_
.PRINTBIN_LOWER
3848 PRINTBIN_MIDDLE
= _windows_
.PRINTBIN_MIDDLE
3849 PRINTBIN_MANUAL
= _windows_
.PRINTBIN_MANUAL
3850 PRINTBIN_ENVELOPE
= _windows_
.PRINTBIN_ENVELOPE
3851 PRINTBIN_ENVMANUAL
= _windows_
.PRINTBIN_ENVMANUAL
3852 PRINTBIN_AUTO
= _windows_
.PRINTBIN_AUTO
3853 PRINTBIN_TRACTOR
= _windows_
.PRINTBIN_TRACTOR
3854 PRINTBIN_SMALLFMT
= _windows_
.PRINTBIN_SMALLFMT
3855 PRINTBIN_LARGEFMT
= _windows_
.PRINTBIN_LARGEFMT
3856 PRINTBIN_LARGECAPACITY
= _windows_
.PRINTBIN_LARGECAPACITY
3857 PRINTBIN_CASSETTE
= _windows_
.PRINTBIN_CASSETTE
3858 PRINTBIN_FORMSOURCE
= _windows_
.PRINTBIN_FORMSOURCE
3859 PRINTBIN_USER
= _windows_
.PRINTBIN_USER
3860 class PrintData(_core
.Object
):
3861 """Proxy of C++ PrintData class"""
3863 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3864 def __init__(self
, *args
):
3866 __init__(self) -> PrintData
3867 __init__(self, PrintData data) -> PrintData
3869 newobj
= _windows_
.new_PrintData(*args
)
3870 self
.this
= newobj
.this
3873 def __del__(self
, destroy
=_windows_
.delete_PrintData
):
3876 if self
.thisown
: destroy(self
)
3879 def GetNoCopies(*args
, **kwargs
):
3880 """GetNoCopies(self) -> int"""
3881 return _windows_
.PrintData_GetNoCopies(*args
, **kwargs
)
3883 def GetCollate(*args
, **kwargs
):
3884 """GetCollate(self) -> bool"""
3885 return _windows_
.PrintData_GetCollate(*args
, **kwargs
)
3887 def GetOrientation(*args
, **kwargs
):
3888 """GetOrientation(self) -> int"""
3889 return _windows_
.PrintData_GetOrientation(*args
, **kwargs
)
3891 def Ok(*args
, **kwargs
):
3892 """Ok(self) -> bool"""
3893 return _windows_
.PrintData_Ok(*args
, **kwargs
)
3895 def GetPrinterName(*args
, **kwargs
):
3896 """GetPrinterName(self) -> String"""
3897 return _windows_
.PrintData_GetPrinterName(*args
, **kwargs
)
3899 def GetColour(*args
, **kwargs
):
3900 """GetColour(self) -> bool"""
3901 return _windows_
.PrintData_GetColour(*args
, **kwargs
)
3903 def GetDuplex(*args
, **kwargs
):
3904 """GetDuplex(self) -> int"""
3905 return _windows_
.PrintData_GetDuplex(*args
, **kwargs
)
3907 def GetPaperId(*args
, **kwargs
):
3908 """GetPaperId(self) -> int"""
3909 return _windows_
.PrintData_GetPaperId(*args
, **kwargs
)
3911 def GetPaperSize(*args
, **kwargs
):
3912 """GetPaperSize(self) -> Size"""
3913 return _windows_
.PrintData_GetPaperSize(*args
, **kwargs
)
3915 def GetQuality(*args
, **kwargs
):
3916 """GetQuality(self) -> int"""
3917 return _windows_
.PrintData_GetQuality(*args
, **kwargs
)
3919 def GetBin(*args
, **kwargs
):
3920 """GetBin(self) -> int"""
3921 return _windows_
.PrintData_GetBin(*args
, **kwargs
)
3923 def GetPrintMode(*args
, **kwargs
):
3924 """GetPrintMode(self) -> int"""
3925 return _windows_
.PrintData_GetPrintMode(*args
, **kwargs
)
3927 def SetNoCopies(*args
, **kwargs
):
3928 """SetNoCopies(self, int v)"""
3929 return _windows_
.PrintData_SetNoCopies(*args
, **kwargs
)
3931 def SetCollate(*args
, **kwargs
):
3932 """SetCollate(self, bool flag)"""
3933 return _windows_
.PrintData_SetCollate(*args
, **kwargs
)
3935 def SetOrientation(*args
, **kwargs
):
3936 """SetOrientation(self, int orient)"""
3937 return _windows_
.PrintData_SetOrientation(*args
, **kwargs
)
3939 def SetPrinterName(*args
, **kwargs
):
3940 """SetPrinterName(self, String name)"""
3941 return _windows_
.PrintData_SetPrinterName(*args
, **kwargs
)
3943 def SetColour(*args
, **kwargs
):
3944 """SetColour(self, bool colour)"""
3945 return _windows_
.PrintData_SetColour(*args
, **kwargs
)
3947 def SetDuplex(*args
, **kwargs
):
3948 """SetDuplex(self, int duplex)"""
3949 return _windows_
.PrintData_SetDuplex(*args
, **kwargs
)
3951 def SetPaperId(*args
, **kwargs
):
3952 """SetPaperId(self, int sizeId)"""
3953 return _windows_
.PrintData_SetPaperId(*args
, **kwargs
)
3955 def SetPaperSize(*args
, **kwargs
):
3956 """SetPaperSize(self, Size sz)"""
3957 return _windows_
.PrintData_SetPaperSize(*args
, **kwargs
)
3959 def SetQuality(*args
, **kwargs
):
3960 """SetQuality(self, int quality)"""
3961 return _windows_
.PrintData_SetQuality(*args
, **kwargs
)
3963 def SetBin(*args
, **kwargs
):
3964 """SetBin(self, int bin)"""
3965 return _windows_
.PrintData_SetBin(*args
, **kwargs
)
3967 def SetPrintMode(*args
, **kwargs
):
3968 """SetPrintMode(self, int printMode)"""
3969 return _windows_
.PrintData_SetPrintMode(*args
, **kwargs
)
3971 def GetFilename(*args
, **kwargs
):
3972 """GetFilename(self) -> String"""
3973 return _windows_
.PrintData_GetFilename(*args
, **kwargs
)
3975 def SetFilename(*args
, **kwargs
):
3976 """SetFilename(self, String filename)"""
3977 return _windows_
.PrintData_SetFilename(*args
, **kwargs
)
3979 def __nonzero__(self
): return self
.Ok()
3980 def GetPrinterCommand(*args
, **kwargs
):
3981 """GetPrinterCommand(self) -> String"""
3982 return _windows_
.PrintData_GetPrinterCommand(*args
, **kwargs
)
3984 def GetPrinterOptions(*args
, **kwargs
):
3985 """GetPrinterOptions(self) -> String"""
3986 return _windows_
.PrintData_GetPrinterOptions(*args
, **kwargs
)
3988 def GetPreviewCommand(*args
, **kwargs
):
3989 """GetPreviewCommand(self) -> String"""
3990 return _windows_
.PrintData_GetPreviewCommand(*args
, **kwargs
)
3992 def GetFontMetricPath(*args
, **kwargs
):
3993 """GetFontMetricPath(self) -> String"""
3994 return _windows_
.PrintData_GetFontMetricPath(*args
, **kwargs
)
3996 def GetPrinterScaleX(*args
, **kwargs
):
3997 """GetPrinterScaleX(self) -> double"""
3998 return _windows_
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
4000 def GetPrinterScaleY(*args
, **kwargs
):
4001 """GetPrinterScaleY(self) -> double"""
4002 return _windows_
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
4004 def GetPrinterTranslateX(*args
, **kwargs
):
4005 """GetPrinterTranslateX(self) -> long"""
4006 return _windows_
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
4008 def GetPrinterTranslateY(*args
, **kwargs
):
4009 """GetPrinterTranslateY(self) -> long"""
4010 return _windows_
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
4012 def SetPrinterCommand(*args
, **kwargs
):
4013 """SetPrinterCommand(self, String command)"""
4014 return _windows_
.PrintData_SetPrinterCommand(*args
, **kwargs
)
4016 def SetPrinterOptions(*args
, **kwargs
):
4017 """SetPrinterOptions(self, String options)"""
4018 return _windows_
.PrintData_SetPrinterOptions(*args
, **kwargs
)
4020 def SetPreviewCommand(*args
, **kwargs
):
4021 """SetPreviewCommand(self, String command)"""
4022 return _windows_
.PrintData_SetPreviewCommand(*args
, **kwargs
)
4024 def SetFontMetricPath(*args
, **kwargs
):
4025 """SetFontMetricPath(self, String path)"""
4026 return _windows_
.PrintData_SetFontMetricPath(*args
, **kwargs
)
4028 def SetPrinterScaleX(*args
, **kwargs
):
4029 """SetPrinterScaleX(self, double x)"""
4030 return _windows_
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
4032 def SetPrinterScaleY(*args
, **kwargs
):
4033 """SetPrinterScaleY(self, double y)"""
4034 return _windows_
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
4036 def SetPrinterScaling(*args
, **kwargs
):
4037 """SetPrinterScaling(self, double x, double y)"""
4038 return _windows_
.PrintData_SetPrinterScaling(*args
, **kwargs
)
4040 def SetPrinterTranslateX(*args
, **kwargs
):
4041 """SetPrinterTranslateX(self, long x)"""
4042 return _windows_
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
4044 def SetPrinterTranslateY(*args
, **kwargs
):
4045 """SetPrinterTranslateY(self, long y)"""
4046 return _windows_
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
4048 def SetPrinterTranslation(*args
, **kwargs
):
4049 """SetPrinterTranslation(self, long x, long y)"""
4050 return _windows_
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
4053 class PrintDataPtr(PrintData
):
4054 def __init__(self
, this
):
4056 if not hasattr(self
,"thisown"): self
.thisown
= 0
4057 self
.__class
__ = PrintData
4058 _windows_
.PrintData_swigregister(PrintDataPtr
)
4059 PrintoutTitleStr
= cvar
.PrintoutTitleStr
4060 PreviewCanvasNameStr
= cvar
.PreviewCanvasNameStr
4062 class PageSetupDialogData(_core
.Object
):
4063 """Proxy of C++ PageSetupDialogData class"""
4065 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4066 def __init__(self
, *args
):
4068 __init__(self) -> PageSetupDialogData
4069 __init__(self, PageSetupDialogData data) -> PageSetupDialogData
4071 newobj
= _windows_
.new_PageSetupDialogData(*args
)
4072 self
.this
= newobj
.this
4075 def __del__(self
, destroy
=_windows_
.delete_PageSetupDialogData
):
4078 if self
.thisown
: destroy(self
)
4081 def EnableHelp(*args
, **kwargs
):
4082 """EnableHelp(self, bool flag)"""
4083 return _windows_
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
4085 def EnableMargins(*args
, **kwargs
):
4086 """EnableMargins(self, bool flag)"""
4087 return _windows_
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
4089 def EnableOrientation(*args
, **kwargs
):
4090 """EnableOrientation(self, bool flag)"""
4091 return _windows_
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
4093 def EnablePaper(*args
, **kwargs
):
4094 """EnablePaper(self, bool flag)"""
4095 return _windows_
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
4097 def EnablePrinter(*args
, **kwargs
):
4098 """EnablePrinter(self, bool flag)"""
4099 return _windows_
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
4101 def GetDefaultMinMargins(*args
, **kwargs
):
4102 """GetDefaultMinMargins(self) -> bool"""
4103 return _windows_
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
4105 def GetEnableMargins(*args
, **kwargs
):
4106 """GetEnableMargins(self) -> bool"""
4107 return _windows_
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
4109 def GetEnableOrientation(*args
, **kwargs
):
4110 """GetEnableOrientation(self) -> bool"""
4111 return _windows_
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
4113 def GetEnablePaper(*args
, **kwargs
):
4114 """GetEnablePaper(self) -> bool"""
4115 return _windows_
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
4117 def GetEnablePrinter(*args
, **kwargs
):
4118 """GetEnablePrinter(self) -> bool"""
4119 return _windows_
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
4121 def GetEnableHelp(*args
, **kwargs
):
4122 """GetEnableHelp(self) -> bool"""
4123 return _windows_
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
4125 def GetDefaultInfo(*args
, **kwargs
):
4126 """GetDefaultInfo(self) -> bool"""
4127 return _windows_
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
4129 def GetMarginTopLeft(*args
, **kwargs
):
4130 """GetMarginTopLeft(self) -> Point"""
4131 return _windows_
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
4133 def GetMarginBottomRight(*args
, **kwargs
):
4134 """GetMarginBottomRight(self) -> Point"""
4135 return _windows_
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
4137 def GetMinMarginTopLeft(*args
, **kwargs
):
4138 """GetMinMarginTopLeft(self) -> Point"""
4139 return _windows_
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
4141 def GetMinMarginBottomRight(*args
, **kwargs
):
4142 """GetMinMarginBottomRight(self) -> Point"""
4143 return _windows_
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
4145 def GetPaperId(*args
, **kwargs
):
4146 """GetPaperId(self) -> int"""
4147 return _windows_
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
4149 def GetPaperSize(*args
, **kwargs
):
4150 """GetPaperSize(self) -> Size"""
4151 return _windows_
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
4153 def GetPrintData(*args
, **kwargs
):
4154 """GetPrintData(self) -> PrintData"""
4155 return _windows_
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
4157 def Ok(*args
, **kwargs
):
4158 """Ok(self) -> bool"""
4159 return _windows_
.PageSetupDialogData_Ok(*args
, **kwargs
)
4161 def SetDefaultInfo(*args
, **kwargs
):
4162 """SetDefaultInfo(self, bool flag)"""
4163 return _windows_
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
4165 def SetDefaultMinMargins(*args
, **kwargs
):
4166 """SetDefaultMinMargins(self, bool flag)"""
4167 return _windows_
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
4169 def SetMarginTopLeft(*args
, **kwargs
):
4170 """SetMarginTopLeft(self, Point pt)"""
4171 return _windows_
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
4173 def SetMarginBottomRight(*args
, **kwargs
):
4174 """SetMarginBottomRight(self, Point pt)"""
4175 return _windows_
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
4177 def SetMinMarginTopLeft(*args
, **kwargs
):
4178 """SetMinMarginTopLeft(self, Point pt)"""
4179 return _windows_
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
4181 def SetMinMarginBottomRight(*args
, **kwargs
):
4182 """SetMinMarginBottomRight(self, Point pt)"""
4183 return _windows_
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
4185 def SetPaperId(*args
, **kwargs
):
4186 """SetPaperId(self, int id)"""
4187 return _windows_
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
4189 def SetPaperSize(*args
, **kwargs
):
4190 """SetPaperSize(self, Size size)"""
4191 return _windows_
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
4193 def SetPrintData(*args
, **kwargs
):
4194 """SetPrintData(self, PrintData printData)"""
4195 return _windows_
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
4197 def __nonzero__(self
): return self
.Ok()
4199 class PageSetupDialogDataPtr(PageSetupDialogData
):
4200 def __init__(self
, this
):
4202 if not hasattr(self
,"thisown"): self
.thisown
= 0
4203 self
.__class
__ = PageSetupDialogData
4204 _windows_
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
4206 class PageSetupDialog(_core
.Object
):
4207 """Proxy of C++ PageSetupDialog class"""
4209 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4210 def __init__(self
, *args
, **kwargs
):
4211 """__init__(self, Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
4212 newobj
= _windows_
.new_PageSetupDialog(*args
, **kwargs
)
4213 self
.this
= newobj
.this
4216 def GetPageSetupData(*args
, **kwargs
):
4217 """GetPageSetupData(self) -> PageSetupDialogData"""
4218 return _windows_
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
4220 def GetPageSetupDialogData(*args
, **kwargs
):
4221 """GetPageSetupDialogData(self) -> PageSetupDialogData"""
4222 return _windows_
.PageSetupDialog_GetPageSetupDialogData(*args
, **kwargs
)
4224 def ShowModal(*args
, **kwargs
):
4225 """ShowModal(self) -> int"""
4226 return _windows_
.PageSetupDialog_ShowModal(*args
, **kwargs
)
4229 class PageSetupDialogPtr(PageSetupDialog
):
4230 def __init__(self
, this
):
4232 if not hasattr(self
,"thisown"): self
.thisown
= 0
4233 self
.__class
__ = PageSetupDialog
4234 _windows_
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
4236 class PrintDialogData(_core
.Object
):
4237 """Proxy of C++ PrintDialogData class"""
4239 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4240 def __init__(self
, *args
):
4242 __init__(self) -> PrintDialogData
4243 __init__(self, PrintData printData) -> PrintDialogData
4245 newobj
= _windows_
.new_PrintDialogData(*args
)
4246 self
.this
= newobj
.this
4249 def __del__(self
, destroy
=_windows_
.delete_PrintDialogData
):
4252 if self
.thisown
: destroy(self
)
4255 def GetFromPage(*args
, **kwargs
):
4256 """GetFromPage(self) -> int"""
4257 return _windows_
.PrintDialogData_GetFromPage(*args
, **kwargs
)
4259 def GetToPage(*args
, **kwargs
):
4260 """GetToPage(self) -> int"""
4261 return _windows_
.PrintDialogData_GetToPage(*args
, **kwargs
)
4263 def GetMinPage(*args
, **kwargs
):
4264 """GetMinPage(self) -> int"""
4265 return _windows_
.PrintDialogData_GetMinPage(*args
, **kwargs
)
4267 def GetMaxPage(*args
, **kwargs
):
4268 """GetMaxPage(self) -> int"""
4269 return _windows_
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
4271 def GetNoCopies(*args
, **kwargs
):
4272 """GetNoCopies(self) -> int"""
4273 return _windows_
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
4275 def GetAllPages(*args
, **kwargs
):
4276 """GetAllPages(self) -> bool"""
4277 return _windows_
.PrintDialogData_GetAllPages(*args
, **kwargs
)
4279 def GetSelection(*args
, **kwargs
):
4280 """GetSelection(self) -> bool"""
4281 return _windows_
.PrintDialogData_GetSelection(*args
, **kwargs
)
4283 def GetCollate(*args
, **kwargs
):
4284 """GetCollate(self) -> bool"""
4285 return _windows_
.PrintDialogData_GetCollate(*args
, **kwargs
)
4287 def GetPrintToFile(*args
, **kwargs
):
4288 """GetPrintToFile(self) -> bool"""
4289 return _windows_
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
4291 def GetSetupDialog(*args
, **kwargs
):
4292 """GetSetupDialog(self) -> bool"""
4293 return _windows_
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
4295 def SetSetupDialog(*args
, **kwargs
):
4296 """SetSetupDialog(self, bool flag)"""
4297 return _windows_
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
4299 def SetFromPage(*args
, **kwargs
):
4300 """SetFromPage(self, int v)"""
4301 return _windows_
.PrintDialogData_SetFromPage(*args
, **kwargs
)
4303 def SetToPage(*args
, **kwargs
):
4304 """SetToPage(self, int v)"""
4305 return _windows_
.PrintDialogData_SetToPage(*args
, **kwargs
)
4307 def SetMinPage(*args
, **kwargs
):
4308 """SetMinPage(self, int v)"""
4309 return _windows_
.PrintDialogData_SetMinPage(*args
, **kwargs
)
4311 def SetMaxPage(*args
, **kwargs
):
4312 """SetMaxPage(self, int v)"""
4313 return _windows_
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
4315 def SetNoCopies(*args
, **kwargs
):
4316 """SetNoCopies(self, int v)"""
4317 return _windows_
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
4319 def SetAllPages(*args
, **kwargs
):
4320 """SetAllPages(self, bool flag)"""
4321 return _windows_
.PrintDialogData_SetAllPages(*args
, **kwargs
)
4323 def SetSelection(*args
, **kwargs
):
4324 """SetSelection(self, bool flag)"""
4325 return _windows_
.PrintDialogData_SetSelection(*args
, **kwargs
)
4327 def SetCollate(*args
, **kwargs
):
4328 """SetCollate(self, bool flag)"""
4329 return _windows_
.PrintDialogData_SetCollate(*args
, **kwargs
)
4331 def SetPrintToFile(*args
, **kwargs
):
4332 """SetPrintToFile(self, bool flag)"""
4333 return _windows_
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
4335 def EnablePrintToFile(*args
, **kwargs
):
4336 """EnablePrintToFile(self, bool flag)"""
4337 return _windows_
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
4339 def EnableSelection(*args
, **kwargs
):
4340 """EnableSelection(self, bool flag)"""
4341 return _windows_
.PrintDialogData_EnableSelection(*args
, **kwargs
)
4343 def EnablePageNumbers(*args
, **kwargs
):
4344 """EnablePageNumbers(self, bool flag)"""
4345 return _windows_
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
4347 def EnableHelp(*args
, **kwargs
):
4348 """EnableHelp(self, bool flag)"""
4349 return _windows_
.PrintDialogData_EnableHelp(*args
, **kwargs
)
4351 def GetEnablePrintToFile(*args
, **kwargs
):
4352 """GetEnablePrintToFile(self) -> bool"""
4353 return _windows_
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
4355 def GetEnableSelection(*args
, **kwargs
):
4356 """GetEnableSelection(self) -> bool"""
4357 return _windows_
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
4359 def GetEnablePageNumbers(*args
, **kwargs
):
4360 """GetEnablePageNumbers(self) -> bool"""
4361 return _windows_
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
4363 def GetEnableHelp(*args
, **kwargs
):
4364 """GetEnableHelp(self) -> bool"""
4365 return _windows_
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
4367 def Ok(*args
, **kwargs
):
4368 """Ok(self) -> bool"""
4369 return _windows_
.PrintDialogData_Ok(*args
, **kwargs
)
4371 def GetPrintData(*args
, **kwargs
):
4372 """GetPrintData(self) -> PrintData"""
4373 return _windows_
.PrintDialogData_GetPrintData(*args
, **kwargs
)
4375 def SetPrintData(*args
, **kwargs
):
4376 """SetPrintData(self, PrintData printData)"""
4377 return _windows_
.PrintDialogData_SetPrintData(*args
, **kwargs
)
4379 def __nonzero__(self
): return self
.Ok()
4381 class PrintDialogDataPtr(PrintDialogData
):
4382 def __init__(self
, this
):
4384 if not hasattr(self
,"thisown"): self
.thisown
= 0
4385 self
.__class
__ = PrintDialogData
4386 _windows_
.PrintDialogData_swigregister(PrintDialogDataPtr
)
4388 class PrintDialog(_core
.Object
):
4389 """Proxy of C++ PrintDialog class"""
4391 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4392 def __init__(self
, *args
, **kwargs
):
4393 """__init__(self, Window parent, PrintDialogData data=None) -> PrintDialog"""
4394 newobj
= _windows_
.new_PrintDialog(*args
, **kwargs
)
4395 self
.this
= newobj
.this
4398 def ShowModal(*args
, **kwargs
):
4399 """ShowModal(self) -> int"""
4400 return _windows_
.PrintDialog_ShowModal(*args
, **kwargs
)
4402 def GetPrintDialogData(*args
, **kwargs
):
4403 """GetPrintDialogData(self) -> PrintDialogData"""
4404 return _windows_
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
4406 def GetPrintData(*args
, **kwargs
):
4407 """GetPrintData(self) -> PrintData"""
4408 return _windows_
.PrintDialog_GetPrintData(*args
, **kwargs
)
4410 def GetPrintDC(*args
, **kwargs
):
4411 """GetPrintDC(self) -> DC"""
4412 return _windows_
.PrintDialog_GetPrintDC(*args
, **kwargs
)
4415 class PrintDialogPtr(PrintDialog
):
4416 def __init__(self
, this
):
4418 if not hasattr(self
,"thisown"): self
.thisown
= 0
4419 self
.__class
__ = PrintDialog
4420 _windows_
.PrintDialog_swigregister(PrintDialogPtr
)
4422 PRINTER_NO_ERROR
= _windows_
.PRINTER_NO_ERROR
4423 PRINTER_CANCELLED
= _windows_
.PRINTER_CANCELLED
4424 PRINTER_ERROR
= _windows_
.PRINTER_ERROR
4425 class Printer(_core
.Object
):
4426 """Proxy of C++ Printer class"""
4428 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4429 def __init__(self
, *args
, **kwargs
):
4430 """__init__(self, PrintDialogData data=None) -> Printer"""
4431 newobj
= _windows_
.new_Printer(*args
, **kwargs
)
4432 self
.this
= newobj
.this
4435 def __del__(self
, destroy
=_windows_
.delete_Printer
):
4438 if self
.thisown
: destroy(self
)
4441 def CreateAbortWindow(*args
, **kwargs
):
4442 """CreateAbortWindow(self, Window parent, Printout printout) -> Window"""
4443 return _windows_
.Printer_CreateAbortWindow(*args
, **kwargs
)
4445 def ReportError(*args
, **kwargs
):
4446 """ReportError(self, Window parent, Printout printout, String message)"""
4447 return _windows_
.Printer_ReportError(*args
, **kwargs
)
4449 def Setup(*args
, **kwargs
):
4450 """Setup(self, Window parent) -> bool"""
4451 return _windows_
.Printer_Setup(*args
, **kwargs
)
4453 def Print(*args
, **kwargs
):
4454 """Print(self, Window parent, Printout printout, bool prompt=True) -> bool"""
4455 return _windows_
.Printer_Print(*args
, **kwargs
)
4457 def PrintDialog(*args
, **kwargs
):
4458 """PrintDialog(self, Window parent) -> DC"""
4459 return _windows_
.Printer_PrintDialog(*args
, **kwargs
)
4461 def GetPrintDialogData(*args
, **kwargs
):
4462 """GetPrintDialogData(self) -> PrintDialogData"""
4463 return _windows_
.Printer_GetPrintDialogData(*args
, **kwargs
)
4465 def GetAbort(*args
, **kwargs
):
4466 """GetAbort(self) -> bool"""
4467 return _windows_
.Printer_GetAbort(*args
, **kwargs
)
4469 def GetLastError(*args
, **kwargs
):
4470 """GetLastError() -> int"""
4471 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4473 GetLastError
= staticmethod(GetLastError
)
4475 class PrinterPtr(Printer
):
4476 def __init__(self
, this
):
4478 if not hasattr(self
,"thisown"): self
.thisown
= 0
4479 self
.__class
__ = Printer
4480 _windows_
.Printer_swigregister(PrinterPtr
)
4482 def Printer_GetLastError(*args
, **kwargs
):
4483 """Printer_GetLastError() -> int"""
4484 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4486 class Printout(_core
.Object
):
4487 """Proxy of C++ Printout class"""
4489 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4490 def __init__(self
, *args
, **kwargs
):
4491 """__init__(self, String title=PrintoutTitleStr) -> Printout"""
4492 newobj
= _windows_
.new_Printout(*args
, **kwargs
)
4493 self
.this
= newobj
.this
4496 self
._setCallbackInfo
(self
, Printout
)
4498 def _setCallbackInfo(*args
, **kwargs
):
4499 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4500 return _windows_
.Printout__setCallbackInfo(*args
, **kwargs
)
4502 def GetTitle(*args
, **kwargs
):
4503 """GetTitle(self) -> String"""
4504 return _windows_
.Printout_GetTitle(*args
, **kwargs
)
4506 def GetDC(*args
, **kwargs
):
4507 """GetDC(self) -> DC"""
4508 return _windows_
.Printout_GetDC(*args
, **kwargs
)
4510 def SetDC(*args
, **kwargs
):
4511 """SetDC(self, DC dc)"""
4512 return _windows_
.Printout_SetDC(*args
, **kwargs
)
4514 def SetPageSizePixels(*args
, **kwargs
):
4515 """SetPageSizePixels(self, int w, int h)"""
4516 return _windows_
.Printout_SetPageSizePixels(*args
, **kwargs
)
4518 def GetPageSizePixels(*args
, **kwargs
):
4519 """GetPageSizePixels() -> (w, h)"""
4520 return _windows_
.Printout_GetPageSizePixels(*args
, **kwargs
)
4522 def SetPageSizeMM(*args
, **kwargs
):
4523 """SetPageSizeMM(self, int w, int h)"""
4524 return _windows_
.Printout_SetPageSizeMM(*args
, **kwargs
)
4526 def GetPageSizeMM(*args
, **kwargs
):
4527 """GetPageSizeMM() -> (w, h)"""
4528 return _windows_
.Printout_GetPageSizeMM(*args
, **kwargs
)
4530 def SetPPIScreen(*args
, **kwargs
):
4531 """SetPPIScreen(self, int x, int y)"""
4532 return _windows_
.Printout_SetPPIScreen(*args
, **kwargs
)
4534 def GetPPIScreen(*args
, **kwargs
):
4535 """GetPPIScreen() -> (x,y)"""
4536 return _windows_
.Printout_GetPPIScreen(*args
, **kwargs
)
4538 def SetPPIPrinter(*args
, **kwargs
):
4539 """SetPPIPrinter(self, int x, int y)"""
4540 return _windows_
.Printout_SetPPIPrinter(*args
, **kwargs
)
4542 def GetPPIPrinter(*args
, **kwargs
):
4543 """GetPPIPrinter() -> (x,y)"""
4544 return _windows_
.Printout_GetPPIPrinter(*args
, **kwargs
)
4546 def IsPreview(*args
, **kwargs
):
4547 """IsPreview(self) -> bool"""
4548 return _windows_
.Printout_IsPreview(*args
, **kwargs
)
4550 def SetIsPreview(*args
, **kwargs
):
4551 """SetIsPreview(self, bool p)"""
4552 return _windows_
.Printout_SetIsPreview(*args
, **kwargs
)
4554 def base_OnBeginDocument(*args
, **kwargs
):
4555 """base_OnBeginDocument(self, int startPage, int endPage) -> bool"""
4556 return _windows_
.Printout_base_OnBeginDocument(*args
, **kwargs
)
4558 def base_OnEndDocument(*args
, **kwargs
):
4559 """base_OnEndDocument(self)"""
4560 return _windows_
.Printout_base_OnEndDocument(*args
, **kwargs
)
4562 def base_OnBeginPrinting(*args
, **kwargs
):
4563 """base_OnBeginPrinting(self)"""
4564 return _windows_
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
4566 def base_OnEndPrinting(*args
, **kwargs
):
4567 """base_OnEndPrinting(self)"""
4568 return _windows_
.Printout_base_OnEndPrinting(*args
, **kwargs
)
4570 def base_OnPreparePrinting(*args
, **kwargs
):
4571 """base_OnPreparePrinting(self)"""
4572 return _windows_
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
4574 def base_HasPage(*args
, **kwargs
):
4575 """base_HasPage(self, int page) -> bool"""
4576 return _windows_
.Printout_base_HasPage(*args
, **kwargs
)
4578 def base_GetPageInfo(*args
, **kwargs
):
4579 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
4580 return _windows_
.Printout_base_GetPageInfo(*args
, **kwargs
)
4583 class PrintoutPtr(Printout
):
4584 def __init__(self
, this
):
4586 if not hasattr(self
,"thisown"): self
.thisown
= 0
4587 self
.__class
__ = Printout
4588 _windows_
.Printout_swigregister(PrintoutPtr
)
4590 class PreviewCanvas(ScrolledWindow
):
4591 """Proxy of C++ PreviewCanvas class"""
4593 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4594 def __init__(self
, *args
, **kwargs
):
4596 __init__(self, PrintPreview preview, Window parent, Point pos=DefaultPosition,
4597 Size size=DefaultSize, long style=0,
4598 String name=PreviewCanvasNameStr) -> PreviewCanvas
4600 newobj
= _windows_
.new_PreviewCanvas(*args
, **kwargs
)
4601 self
.this
= newobj
.this
4604 self
._setOORInfo
(self
)
4607 class PreviewCanvasPtr(PreviewCanvas
):
4608 def __init__(self
, this
):
4610 if not hasattr(self
,"thisown"): self
.thisown
= 0
4611 self
.__class
__ = PreviewCanvas
4612 _windows_
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
4614 class PreviewFrame(Frame
):
4615 """Proxy of C++ PreviewFrame class"""
4617 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4618 def __init__(self
, *args
, **kwargs
):
4620 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4621 Size size=DefaultSize,
4622 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
4624 newobj
= _windows_
.new_PreviewFrame(*args
, **kwargs
)
4625 self
.this
= newobj
.this
4628 self
._setOORInfo
(self
)
4630 def Initialize(*args
, **kwargs
):
4631 """Initialize(self)"""
4632 return _windows_
.PreviewFrame_Initialize(*args
, **kwargs
)
4634 def CreateControlBar(*args
, **kwargs
):
4635 """CreateControlBar(self)"""
4636 return _windows_
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
4638 def CreateCanvas(*args
, **kwargs
):
4639 """CreateCanvas(self)"""
4640 return _windows_
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
4642 def GetControlBar(*args
, **kwargs
):
4643 """GetControlBar(self) -> PreviewControlBar"""
4644 return _windows_
.PreviewFrame_GetControlBar(*args
, **kwargs
)
4647 class PreviewFramePtr(PreviewFrame
):
4648 def __init__(self
, this
):
4650 if not hasattr(self
,"thisown"): self
.thisown
= 0
4651 self
.__class
__ = PreviewFrame
4652 _windows_
.PreviewFrame_swigregister(PreviewFramePtr
)
4654 PREVIEW_PRINT
= _windows_
.PREVIEW_PRINT
4655 PREVIEW_PREVIOUS
= _windows_
.PREVIEW_PREVIOUS
4656 PREVIEW_NEXT
= _windows_
.PREVIEW_NEXT
4657 PREVIEW_ZOOM
= _windows_
.PREVIEW_ZOOM
4658 PREVIEW_FIRST
= _windows_
.PREVIEW_FIRST
4659 PREVIEW_LAST
= _windows_
.PREVIEW_LAST
4660 PREVIEW_GOTO
= _windows_
.PREVIEW_GOTO
4661 PREVIEW_DEFAULT
= _windows_
.PREVIEW_DEFAULT
4662 ID_PREVIEW_CLOSE
= _windows_
.ID_PREVIEW_CLOSE
4663 ID_PREVIEW_NEXT
= _windows_
.ID_PREVIEW_NEXT
4664 ID_PREVIEW_PREVIOUS
= _windows_
.ID_PREVIEW_PREVIOUS
4665 ID_PREVIEW_PRINT
= _windows_
.ID_PREVIEW_PRINT
4666 ID_PREVIEW_ZOOM
= _windows_
.ID_PREVIEW_ZOOM
4667 ID_PREVIEW_FIRST
= _windows_
.ID_PREVIEW_FIRST
4668 ID_PREVIEW_LAST
= _windows_
.ID_PREVIEW_LAST
4669 ID_PREVIEW_GOTO
= _windows_
.ID_PREVIEW_GOTO
4670 class PreviewControlBar(Panel
):
4671 """Proxy of C++ PreviewControlBar class"""
4673 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4674 def __init__(self
, *args
, **kwargs
):
4676 __init__(self, PrintPreview preview, long buttons, Window parent,
4677 Point pos=DefaultPosition, Size size=DefaultSize,
4678 long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
4680 newobj
= _windows_
.new_PreviewControlBar(*args
, **kwargs
)
4681 self
.this
= newobj
.this
4684 self
._setOORInfo
(self
)
4686 def GetZoomControl(*args
, **kwargs
):
4687 """GetZoomControl(self) -> int"""
4688 return _windows_
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
4690 def SetZoomControl(*args
, **kwargs
):
4691 """SetZoomControl(self, int zoom)"""
4692 return _windows_
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
4694 def GetPrintPreview(*args
, **kwargs
):
4695 """GetPrintPreview(self) -> PrintPreview"""
4696 return _windows_
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
4698 def OnNext(*args
, **kwargs
):
4700 return _windows_
.PreviewControlBar_OnNext(*args
, **kwargs
)
4702 def OnPrevious(*args
, **kwargs
):
4703 """OnPrevious(self)"""
4704 return _windows_
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
4706 def OnFirst(*args
, **kwargs
):
4708 return _windows_
.PreviewControlBar_OnFirst(*args
, **kwargs
)
4710 def OnLast(*args
, **kwargs
):
4712 return _windows_
.PreviewControlBar_OnLast(*args
, **kwargs
)
4714 def OnGoto(*args
, **kwargs
):
4716 return _windows_
.PreviewControlBar_OnGoto(*args
, **kwargs
)
4719 class PreviewControlBarPtr(PreviewControlBar
):
4720 def __init__(self
, this
):
4722 if not hasattr(self
,"thisown"): self
.thisown
= 0
4723 self
.__class
__ = PreviewControlBar
4724 _windows_
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
4726 class PrintPreview(_core
.Object
):
4727 """Proxy of C++ PrintPreview class"""
4729 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4730 def __init__(self
, *args
):
4732 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview
4733 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview
4735 newobj
= _windows_
.new_PrintPreview(*args
)
4736 self
.this
= newobj
.this
4739 def SetCurrentPage(*args
, **kwargs
):
4740 """SetCurrentPage(self, int pageNum) -> bool"""
4741 return _windows_
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
4743 def GetCurrentPage(*args
, **kwargs
):
4744 """GetCurrentPage(self) -> int"""
4745 return _windows_
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
4747 def SetPrintout(*args
, **kwargs
):
4748 """SetPrintout(self, Printout printout)"""
4749 return _windows_
.PrintPreview_SetPrintout(*args
, **kwargs
)
4751 def GetPrintout(*args
, **kwargs
):
4752 """GetPrintout(self) -> Printout"""
4753 return _windows_
.PrintPreview_GetPrintout(*args
, **kwargs
)
4755 def GetPrintoutForPrinting(*args
, **kwargs
):
4756 """GetPrintoutForPrinting(self) -> Printout"""
4757 return _windows_
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
4759 def SetFrame(*args
, **kwargs
):
4760 """SetFrame(self, Frame frame)"""
4761 return _windows_
.PrintPreview_SetFrame(*args
, **kwargs
)
4763 def SetCanvas(*args
, **kwargs
):
4764 """SetCanvas(self, PreviewCanvas canvas)"""
4765 return _windows_
.PrintPreview_SetCanvas(*args
, **kwargs
)
4767 def GetFrame(*args
, **kwargs
):
4768 """GetFrame(self) -> Frame"""
4769 return _windows_
.PrintPreview_GetFrame(*args
, **kwargs
)
4771 def GetCanvas(*args
, **kwargs
):
4772 """GetCanvas(self) -> PreviewCanvas"""
4773 return _windows_
.PrintPreview_GetCanvas(*args
, **kwargs
)
4775 def PaintPage(*args
, **kwargs
):
4776 """PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4777 return _windows_
.PrintPreview_PaintPage(*args
, **kwargs
)
4779 def DrawBlankPage(*args
, **kwargs
):
4780 """DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4781 return _windows_
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
4783 def RenderPage(*args
, **kwargs
):
4784 """RenderPage(self, int pageNum) -> bool"""
4785 return _windows_
.PrintPreview_RenderPage(*args
, **kwargs
)
4787 def AdjustScrollbars(*args
, **kwargs
):
4788 """AdjustScrollbars(self, PreviewCanvas canvas)"""
4789 return _windows_
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
4791 def GetPrintDialogData(*args
, **kwargs
):
4792 """GetPrintDialogData(self) -> PrintDialogData"""
4793 return _windows_
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
4795 def SetZoom(*args
, **kwargs
):
4796 """SetZoom(self, int percent)"""
4797 return _windows_
.PrintPreview_SetZoom(*args
, **kwargs
)
4799 def GetZoom(*args
, **kwargs
):
4800 """GetZoom(self) -> int"""
4801 return _windows_
.PrintPreview_GetZoom(*args
, **kwargs
)
4803 def GetMaxPage(*args
, **kwargs
):
4804 """GetMaxPage(self) -> int"""
4805 return _windows_
.PrintPreview_GetMaxPage(*args
, **kwargs
)
4807 def GetMinPage(*args
, **kwargs
):
4808 """GetMinPage(self) -> int"""
4809 return _windows_
.PrintPreview_GetMinPage(*args
, **kwargs
)
4811 def Ok(*args
, **kwargs
):
4812 """Ok(self) -> bool"""
4813 return _windows_
.PrintPreview_Ok(*args
, **kwargs
)
4815 def SetOk(*args
, **kwargs
):
4816 """SetOk(self, bool ok)"""
4817 return _windows_
.PrintPreview_SetOk(*args
, **kwargs
)
4819 def Print(*args
, **kwargs
):
4820 """Print(self, bool interactive) -> bool"""
4821 return _windows_
.PrintPreview_Print(*args
, **kwargs
)
4823 def DetermineScaling(*args
, **kwargs
):
4824 """DetermineScaling(self)"""
4825 return _windows_
.PrintPreview_DetermineScaling(*args
, **kwargs
)
4827 def __nonzero__(self
): return self
.Ok()
4829 class PrintPreviewPtr(PrintPreview
):
4830 def __init__(self
, this
):
4832 if not hasattr(self
,"thisown"): self
.thisown
= 0
4833 self
.__class
__ = PrintPreview
4834 _windows_
.PrintPreview_swigregister(PrintPreviewPtr
)
4836 class PyPrintPreview(PrintPreview
):
4837 """Proxy of C++ PyPrintPreview class"""
4839 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4840 def __init__(self
, *args
):
4842 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview
4843 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview
4845 newobj
= _windows_
.new_PyPrintPreview(*args
)
4846 self
.this
= newobj
.this
4849 self
._setCallbackInfo
(self
, PyPrintPreview
)
4851 def _setCallbackInfo(*args
, **kwargs
):
4852 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4853 return _windows_
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
4855 def base_SetCurrentPage(*args
, **kwargs
):
4856 """base_SetCurrentPage(self, int pageNum) -> bool"""
4857 return _windows_
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
4859 def base_PaintPage(*args
, **kwargs
):
4860 """base_PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4861 return _windows_
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
4863 def base_DrawBlankPage(*args
, **kwargs
):
4864 """base_DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4865 return _windows_
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
4867 def base_RenderPage(*args
, **kwargs
):
4868 """base_RenderPage(self, int pageNum) -> bool"""
4869 return _windows_
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
4871 def base_SetZoom(*args
, **kwargs
):
4872 """base_SetZoom(self, int percent)"""
4873 return _windows_
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
4875 def base_Print(*args
, **kwargs
):
4876 """base_Print(self, bool interactive) -> bool"""
4877 return _windows_
.PyPrintPreview_base_Print(*args
, **kwargs
)
4879 def base_DetermineScaling(*args
, **kwargs
):
4880 """base_DetermineScaling(self)"""
4881 return _windows_
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
4884 class PyPrintPreviewPtr(PyPrintPreview
):
4885 def __init__(self
, this
):
4887 if not hasattr(self
,"thisown"): self
.thisown
= 0
4888 self
.__class
__ = PyPrintPreview
4889 _windows_
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
4891 class PyPreviewFrame(PreviewFrame
):
4892 """Proxy of C++ PyPreviewFrame class"""
4894 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4895 def __init__(self
, *args
, **kwargs
):
4897 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4898 Size size=DefaultSize,
4899 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
4901 newobj
= _windows_
.new_PyPreviewFrame(*args
, **kwargs
)
4902 self
.this
= newobj
.this
4905 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
4907 def _setCallbackInfo(*args
, **kwargs
):
4908 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4909 return _windows_
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
4911 def SetPreviewCanvas(*args
, **kwargs
):
4912 """SetPreviewCanvas(self, PreviewCanvas canvas)"""
4913 return _windows_
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
4915 def SetControlBar(*args
, **kwargs
):
4916 """SetControlBar(self, PreviewControlBar bar)"""
4917 return _windows_
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
4919 def base_Initialize(*args
, **kwargs
):
4920 """base_Initialize(self)"""
4921 return _windows_
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
4923 def base_CreateCanvas(*args
, **kwargs
):
4924 """base_CreateCanvas(self)"""
4925 return _windows_
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
4927 def base_CreateControlBar(*args
, **kwargs
):
4928 """base_CreateControlBar(self)"""
4929 return _windows_
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
4932 class PyPreviewFramePtr(PyPreviewFrame
):
4933 def __init__(self
, this
):
4935 if not hasattr(self
,"thisown"): self
.thisown
= 0
4936 self
.__class
__ = PyPreviewFrame
4937 _windows_
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
4939 class PyPreviewControlBar(PreviewControlBar
):
4940 """Proxy of C++ PyPreviewControlBar class"""
4942 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4943 def __init__(self
, *args
, **kwargs
):
4945 __init__(self, PrintPreview preview, long buttons, Window parent,
4946 Point pos=DefaultPosition, Size size=DefaultSize,
4947 long style=0, String name=PanelNameStr) -> PyPreviewControlBar
4949 newobj
= _windows_
.new_PyPreviewControlBar(*args
, **kwargs
)
4950 self
.this
= newobj
.this
4953 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
4955 def _setCallbackInfo(*args
, **kwargs
):
4956 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4957 return _windows_
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
4959 def SetPrintPreview(*args
, **kwargs
):
4960 """SetPrintPreview(self, PrintPreview preview)"""
4961 return _windows_
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
4963 def base_CreateButtons(*args
, **kwargs
):
4964 """base_CreateButtons(self)"""
4965 return _windows_
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
4967 def base_SetZoomControl(*args
, **kwargs
):
4968 """base_SetZoomControl(self, int zoom)"""
4969 return _windows_
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
4972 class PyPreviewControlBarPtr(PyPreviewControlBar
):
4973 def __init__(self
, this
):
4975 if not hasattr(self
,"thisown"): self
.thisown
= 0
4976 self
.__class
__ = PyPreviewControlBar
4977 _windows_
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)