1 # This file was created automatically by SWIG 1.3.27.
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 SetTargetRect(*args
, **kwargs
):
275 """SetTargetRect(self, Rect rect)"""
276 return _windows_
.ScrolledWindow_SetTargetRect(*args
, **kwargs
)
278 def GetTargetRect(*args
, **kwargs
):
279 """GetTargetRect(self) -> Rect"""
280 return _windows_
.ScrolledWindow_GetTargetRect(*args
, **kwargs
)
282 def DoPrepareDC(*args
, **kwargs
):
284 DoPrepareDC(self, DC dc)
286 Normally what is called by `PrepareDC`.
288 return _windows_
.ScrolledWindow_DoPrepareDC(*args
, **kwargs
)
290 def GetClassDefaultAttributes(*args
, **kwargs
):
292 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
294 Get the default attributes for this class. This is useful if you want
295 to use the same font or colour in your own control as in a standard
296 control -- which is a much better idea than hard coding specific
297 colours or fonts which might look completely out of place on the
298 user's system, especially if it uses themes.
300 The variant parameter is only relevant under Mac currently and is
301 ignore under other platforms. Under Mac, it will change the size of
302 the returned font. See `wx.Window.SetWindowVariant` for more about
305 return _windows_
.ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
)
307 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
309 class ScrolledWindowPtr(ScrolledWindow
):
310 def __init__(self
, this
):
312 if not hasattr(self
,"thisown"): self
.thisown
= 0
313 self
.__class
__ = ScrolledWindow
314 _windows_
.ScrolledWindow_swigregister(ScrolledWindowPtr
)
316 def PreScrolledWindow(*args
, **kwargs
):
317 """PreScrolledWindow() -> ScrolledWindow"""
318 val
= _windows_
.new_PreScrolledWindow(*args
, **kwargs
)
322 def ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
):
324 ScrolledWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
326 Get the default attributes for this class. This is useful if you want
327 to use the same font or colour in your own control as in a standard
328 control -- which is a much better idea than hard coding specific
329 colours or fonts which might look completely out of place on the
330 user's system, especially if it uses themes.
332 The variant parameter is only relevant under Mac currently and is
333 ignore under other platforms. Under Mac, it will change the size of
334 the returned font. See `wx.Window.SetWindowVariant` for more about
337 return _windows_
.ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
)
339 #---------------------------------------------------------------------------
341 STAY_ON_TOP
= _windows_
.STAY_ON_TOP
342 ICONIZE
= _windows_
.ICONIZE
343 MINIMIZE
= _windows_
.MINIMIZE
344 MAXIMIZE
= _windows_
.MAXIMIZE
345 CLOSE_BOX
= _windows_
.CLOSE_BOX
346 THICK_FRAME
= _windows_
.THICK_FRAME
347 SYSTEM_MENU
= _windows_
.SYSTEM_MENU
348 MINIMIZE_BOX
= _windows_
.MINIMIZE_BOX
349 MAXIMIZE_BOX
= _windows_
.MAXIMIZE_BOX
350 TINY_CAPTION_HORIZ
= _windows_
.TINY_CAPTION_HORIZ
351 TINY_CAPTION_VERT
= _windows_
.TINY_CAPTION_VERT
352 RESIZE_BOX
= _windows_
.RESIZE_BOX
353 RESIZE_BORDER
= _windows_
.RESIZE_BORDER
354 DIALOG_NO_PARENT
= _windows_
.DIALOG_NO_PARENT
355 DEFAULT_FRAME_STYLE
= _windows_
.DEFAULT_FRAME_STYLE
356 DEFAULT_DIALOG_STYLE
= _windows_
.DEFAULT_DIALOG_STYLE
357 FRAME_TOOL_WINDOW
= _windows_
.FRAME_TOOL_WINDOW
358 FRAME_FLOAT_ON_PARENT
= _windows_
.FRAME_FLOAT_ON_PARENT
359 FRAME_NO_WINDOW_MENU
= _windows_
.FRAME_NO_WINDOW_MENU
360 FRAME_NO_TASKBAR
= _windows_
.FRAME_NO_TASKBAR
361 FRAME_SHAPED
= _windows_
.FRAME_SHAPED
362 FRAME_DRAWER
= _windows_
.FRAME_DRAWER
363 FRAME_EX_METAL
= _windows_
.FRAME_EX_METAL
364 DIALOG_EX_METAL
= _windows_
.DIALOG_EX_METAL
365 DIALOG_MODAL
= _windows_
.DIALOG_MODAL
366 DIALOG_MODELESS
= _windows_
.DIALOG_MODELESS
367 USER_COLOURS
= _windows_
.USER_COLOURS
368 NO_3D
= _windows_
.NO_3D
369 FULLSCREEN_NOMENUBAR
= _windows_
.FULLSCREEN_NOMENUBAR
370 FULLSCREEN_NOTOOLBAR
= _windows_
.FULLSCREEN_NOTOOLBAR
371 FULLSCREEN_NOSTATUSBAR
= _windows_
.FULLSCREEN_NOSTATUSBAR
372 FULLSCREEN_NOBORDER
= _windows_
.FULLSCREEN_NOBORDER
373 FULLSCREEN_NOCAPTION
= _windows_
.FULLSCREEN_NOCAPTION
374 FULLSCREEN_ALL
= _windows_
.FULLSCREEN_ALL
375 TOPLEVEL_EX_DIALOG
= _windows_
.TOPLEVEL_EX_DIALOG
376 USER_ATTENTION_INFO
= _windows_
.USER_ATTENTION_INFO
377 USER_ATTENTION_ERROR
= _windows_
.USER_ATTENTION_ERROR
378 class TopLevelWindow(_core
.Window
):
379 """Proxy of C++ TopLevelWindow class"""
380 def __init__(self
): raise RuntimeError, "No constructor defined"
382 return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
383 def Maximize(*args
, **kwargs
):
384 """Maximize(self, bool maximize=True)"""
385 return _windows_
.TopLevelWindow_Maximize(*args
, **kwargs
)
387 def Restore(*args
, **kwargs
):
389 return _windows_
.TopLevelWindow_Restore(*args
, **kwargs
)
391 def Iconize(*args
, **kwargs
):
392 """Iconize(self, bool iconize=True)"""
393 return _windows_
.TopLevelWindow_Iconize(*args
, **kwargs
)
395 def IsMaximized(*args
, **kwargs
):
396 """IsMaximized(self) -> bool"""
397 return _windows_
.TopLevelWindow_IsMaximized(*args
, **kwargs
)
399 def IsIconized(*args
, **kwargs
):
400 """IsIconized(self) -> bool"""
401 return _windows_
.TopLevelWindow_IsIconized(*args
, **kwargs
)
403 def GetIcon(*args
, **kwargs
):
404 """GetIcon(self) -> Icon"""
405 return _windows_
.TopLevelWindow_GetIcon(*args
, **kwargs
)
407 def SetIcon(*args
, **kwargs
):
408 """SetIcon(self, Icon icon)"""
409 return _windows_
.TopLevelWindow_SetIcon(*args
, **kwargs
)
411 def SetIcons(*args
, **kwargs
):
412 """SetIcons(self, wxIconBundle icons)"""
413 return _windows_
.TopLevelWindow_SetIcons(*args
, **kwargs
)
415 def ShowFullScreen(*args
, **kwargs
):
416 """ShowFullScreen(self, bool show, long style=FULLSCREEN_ALL) -> bool"""
417 return _windows_
.TopLevelWindow_ShowFullScreen(*args
, **kwargs
)
419 def IsFullScreen(*args
, **kwargs
):
420 """IsFullScreen(self) -> bool"""
421 return _windows_
.TopLevelWindow_IsFullScreen(*args
, **kwargs
)
423 def SetTitle(*args
, **kwargs
):
424 """SetTitle(self, String title)"""
425 return _windows_
.TopLevelWindow_SetTitle(*args
, **kwargs
)
427 def GetTitle(*args
, **kwargs
):
428 """GetTitle(self) -> String"""
429 return _windows_
.TopLevelWindow_GetTitle(*args
, **kwargs
)
431 def SetShape(*args
, **kwargs
):
432 """SetShape(self, Region region) -> bool"""
433 return _windows_
.TopLevelWindow_SetShape(*args
, **kwargs
)
435 def RequestUserAttention(*args
, **kwargs
):
436 """RequestUserAttention(self, int flags=USER_ATTENTION_INFO)"""
437 return _windows_
.TopLevelWindow_RequestUserAttention(*args
, **kwargs
)
439 def IsActive(*args
, **kwargs
):
440 """IsActive(self) -> bool"""
441 return _windows_
.TopLevelWindow_IsActive(*args
, **kwargs
)
443 def MacSetMetalAppearance(*args
, **kwargs
):
444 """MacSetMetalAppearance(self, bool on)"""
445 return _windows_
.TopLevelWindow_MacSetMetalAppearance(*args
, **kwargs
)
447 def MacGetMetalAppearance(*args
, **kwargs
):
448 """MacGetMetalAppearance(self) -> bool"""
449 return _windows_
.TopLevelWindow_MacGetMetalAppearance(*args
, **kwargs
)
452 class TopLevelWindowPtr(TopLevelWindow
):
453 def __init__(self
, this
):
455 if not hasattr(self
,"thisown"): self
.thisown
= 0
456 self
.__class
__ = TopLevelWindow
457 _windows_
.TopLevelWindow_swigregister(TopLevelWindowPtr
)
458 cvar
= _windows_
.cvar
459 FrameNameStr
= cvar
.FrameNameStr
460 DialogNameStr
= cvar
.DialogNameStr
461 StatusLineNameStr
= cvar
.StatusLineNameStr
462 ToolBarNameStr
= cvar
.ToolBarNameStr
464 #---------------------------------------------------------------------------
466 class Frame(TopLevelWindow
):
467 """Proxy of C++ Frame class"""
469 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
470 def __init__(self
, *args
, **kwargs
):
472 __init__(self, Window parent, int id=-1, String title=EmptyString,
473 Point pos=DefaultPosition, Size size=DefaultSize,
474 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> Frame
476 newobj
= _windows_
.new_Frame(*args
, **kwargs
)
477 self
.this
= newobj
.this
480 self
._setOORInfo
(self
)
482 def Create(*args
, **kwargs
):
484 Create(self, Window parent, int id=-1, String title=EmptyString,
485 Point pos=DefaultPosition, Size size=DefaultSize,
486 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
488 return _windows_
.Frame_Create(*args
, **kwargs
)
490 def GetClientAreaOrigin(*args
, **kwargs
):
492 GetClientAreaOrigin(self) -> Point
494 Get the origin of the client area of the window relative to the
495 window's top left corner (the client area may be shifted because of
496 the borders, scrollbars, other decorations...)
498 return _windows_
.Frame_GetClientAreaOrigin(*args
, **kwargs
)
500 def SendSizeEvent(*args
, **kwargs
):
501 """SendSizeEvent(self)"""
502 return _windows_
.Frame_SendSizeEvent(*args
, **kwargs
)
504 def SetMenuBar(*args
, **kwargs
):
505 """SetMenuBar(self, MenuBar menubar)"""
506 return _windows_
.Frame_SetMenuBar(*args
, **kwargs
)
508 def GetMenuBar(*args
, **kwargs
):
509 """GetMenuBar(self) -> MenuBar"""
510 return _windows_
.Frame_GetMenuBar(*args
, **kwargs
)
512 def ProcessCommand(*args
, **kwargs
):
513 """ProcessCommand(self, int winid) -> bool"""
514 return _windows_
.Frame_ProcessCommand(*args
, **kwargs
)
516 Command
= ProcessCommand
517 def CreateStatusBar(*args
, **kwargs
):
519 CreateStatusBar(self, int number=1, long style=DEFAULT_STATUSBAR_STYLE, int winid=0,
520 String name=StatusLineNameStr) -> StatusBar
522 return _windows_
.Frame_CreateStatusBar(*args
, **kwargs
)
524 def GetStatusBar(*args
, **kwargs
):
525 """GetStatusBar(self) -> StatusBar"""
526 return _windows_
.Frame_GetStatusBar(*args
, **kwargs
)
528 def SetStatusBar(*args
, **kwargs
):
529 """SetStatusBar(self, StatusBar statBar)"""
530 return _windows_
.Frame_SetStatusBar(*args
, **kwargs
)
532 def SetStatusText(*args
, **kwargs
):
533 """SetStatusText(self, String text, int number=0)"""
534 return _windows_
.Frame_SetStatusText(*args
, **kwargs
)
536 def SetStatusWidths(*args
, **kwargs
):
537 """SetStatusWidths(self, int widths)"""
538 return _windows_
.Frame_SetStatusWidths(*args
, **kwargs
)
540 def PushStatusText(*args
, **kwargs
):
541 """PushStatusText(self, String text, int number=0)"""
542 return _windows_
.Frame_PushStatusText(*args
, **kwargs
)
544 def PopStatusText(*args
, **kwargs
):
545 """PopStatusText(self, int number=0)"""
546 return _windows_
.Frame_PopStatusText(*args
, **kwargs
)
548 def SetStatusBarPane(*args
, **kwargs
):
549 """SetStatusBarPane(self, int n)"""
550 return _windows_
.Frame_SetStatusBarPane(*args
, **kwargs
)
552 def GetStatusBarPane(*args
, **kwargs
):
553 """GetStatusBarPane(self) -> int"""
554 return _windows_
.Frame_GetStatusBarPane(*args
, **kwargs
)
556 def CreateToolBar(*args
, **kwargs
):
557 """CreateToolBar(self, long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar"""
558 return _windows_
.Frame_CreateToolBar(*args
, **kwargs
)
560 def GetToolBar(*args
, **kwargs
):
561 """GetToolBar(self) -> wxToolBar"""
562 return _windows_
.Frame_GetToolBar(*args
, **kwargs
)
564 def SetToolBar(*args
, **kwargs
):
565 """SetToolBar(self, wxToolBar toolbar)"""
566 return _windows_
.Frame_SetToolBar(*args
, **kwargs
)
568 def DoGiveHelp(*args
, **kwargs
):
569 """DoGiveHelp(self, String text, bool show)"""
570 return _windows_
.Frame_DoGiveHelp(*args
, **kwargs
)
572 def DoMenuUpdates(*args
, **kwargs
):
573 """DoMenuUpdates(self, Menu menu=None)"""
574 return _windows_
.Frame_DoMenuUpdates(*args
, **kwargs
)
576 def GetClassDefaultAttributes(*args
, **kwargs
):
578 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
580 Get the default attributes for this class. This is useful if you want
581 to use the same font or colour in your own control as in a standard
582 control -- which is a much better idea than hard coding specific
583 colours or fonts which might look completely out of place on the
584 user's system, especially if it uses themes.
586 The variant parameter is only relevant under Mac currently and is
587 ignore under other platforms. Under Mac, it will change the size of
588 the returned font. See `wx.Window.SetWindowVariant` for more about
591 return _windows_
.Frame_GetClassDefaultAttributes(*args
, **kwargs
)
593 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
595 class FramePtr(Frame
):
596 def __init__(self
, this
):
598 if not hasattr(self
,"thisown"): self
.thisown
= 0
599 self
.__class
__ = Frame
600 _windows_
.Frame_swigregister(FramePtr
)
602 def PreFrame(*args
, **kwargs
):
603 """PreFrame() -> Frame"""
604 val
= _windows_
.new_PreFrame(*args
, **kwargs
)
608 def Frame_GetClassDefaultAttributes(*args
, **kwargs
):
610 Frame_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
612 Get the default attributes for this class. This is useful if you want
613 to use the same font or colour in your own control as in a standard
614 control -- which is a much better idea than hard coding specific
615 colours or fonts which might look completely out of place on the
616 user's system, especially if it uses themes.
618 The variant parameter is only relevant under Mac currently and is
619 ignore under other platforms. Under Mac, it will change the size of
620 the returned font. See `wx.Window.SetWindowVariant` for more about
623 return _windows_
.Frame_GetClassDefaultAttributes(*args
, **kwargs
)
625 #---------------------------------------------------------------------------
627 class Dialog(TopLevelWindow
):
628 """Proxy of C++ Dialog class"""
630 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
631 ButtonSizerFlags
= _windows_
.Dialog_ButtonSizerFlags
632 def __init__(self
, *args
, **kwargs
):
634 __init__(self, Window parent, int id=-1, String title=EmptyString,
635 Point pos=DefaultPosition, Size size=DefaultSize,
636 long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> Dialog
638 newobj
= _windows_
.new_Dialog(*args
, **kwargs
)
639 self
.this
= newobj
.this
642 self
._setOORInfo
(self
)
644 def Create(*args
, **kwargs
):
646 Create(self, Window parent, int id=-1, String title=EmptyString,
647 Point pos=DefaultPosition, Size size=DefaultSize,
648 long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> bool
650 return _windows_
.Dialog_Create(*args
, **kwargs
)
652 def SetReturnCode(*args
, **kwargs
):
653 """SetReturnCode(self, int returnCode)"""
654 return _windows_
.Dialog_SetReturnCode(*args
, **kwargs
)
656 def GetReturnCode(*args
, **kwargs
):
657 """GetReturnCode(self) -> int"""
658 return _windows_
.Dialog_GetReturnCode(*args
, **kwargs
)
660 def CreateTextSizer(*args
, **kwargs
):
661 """CreateTextSizer(self, String message) -> Sizer"""
662 return _windows_
.Dialog_CreateTextSizer(*args
, **kwargs
)
664 def CreateButtonSizer(*args
, **kwargs
):
665 """CreateButtonSizer(self, long flags, bool separated=False, int distance=0) -> Sizer"""
666 return _windows_
.Dialog_CreateButtonSizer(*args
, **kwargs
)
668 def CreateStdDialogButtonSizer(*args
, **kwargs
):
669 """CreateStdDialogButtonSizer(self, long flags) -> StdDialogButtonSizer"""
670 return _windows_
.Dialog_CreateStdDialogButtonSizer(*args
, **kwargs
)
672 def IsModal(*args
, **kwargs
):
673 """IsModal(self) -> bool"""
674 return _windows_
.Dialog_IsModal(*args
, **kwargs
)
676 def ShowModal(*args
, **kwargs
):
677 """ShowModal(self) -> int"""
678 return _windows_
.Dialog_ShowModal(*args
, **kwargs
)
680 def EndModal(*args
, **kwargs
):
681 """EndModal(self, int retCode)"""
682 return _windows_
.Dialog_EndModal(*args
, **kwargs
)
684 def GetClassDefaultAttributes(*args
, **kwargs
):
686 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
688 Get the default attributes for this class. This is useful if you want
689 to use the same font or colour in your own control as in a standard
690 control -- which is a much better idea than hard coding specific
691 colours or fonts which might look completely out of place on the
692 user's system, especially if it uses themes.
694 The variant parameter is only relevant under Mac currently and is
695 ignore under other platforms. Under Mac, it will change the size of
696 the returned font. See `wx.Window.SetWindowVariant` for more about
699 return _windows_
.Dialog_GetClassDefaultAttributes(*args
, **kwargs
)
701 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
702 def SendSizeEvent(self
):
703 self
.ProcessEvent(wx
.SizeEvent((-1,-1)))
706 class DialogPtr(Dialog
):
707 def __init__(self
, this
):
709 if not hasattr(self
,"thisown"): self
.thisown
= 0
710 self
.__class
__ = Dialog
711 _windows_
.Dialog_swigregister(DialogPtr
)
713 def PreDialog(*args
, **kwargs
):
714 """PreDialog() -> Dialog"""
715 val
= _windows_
.new_PreDialog(*args
, **kwargs
)
719 def Dialog_GetClassDefaultAttributes(*args
, **kwargs
):
721 Dialog_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
723 Get the default attributes for this class. This is useful if you want
724 to use the same font or colour in your own control as in a standard
725 control -- which is a much better idea than hard coding specific
726 colours or fonts which might look completely out of place on the
727 user's system, especially if it uses themes.
729 The variant parameter is only relevant under Mac currently and is
730 ignore under other platforms. Under Mac, it will change the size of
731 the returned font. See `wx.Window.SetWindowVariant` for more about
734 return _windows_
.Dialog_GetClassDefaultAttributes(*args
, **kwargs
)
736 #---------------------------------------------------------------------------
738 class MiniFrame(Frame
):
739 """Proxy of C++ MiniFrame class"""
741 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
742 def __init__(self
, *args
, **kwargs
):
744 __init__(self, Window parent, int id=-1, String title=EmptyString,
745 Point pos=DefaultPosition, Size size=DefaultSize,
746 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> MiniFrame
748 newobj
= _windows_
.new_MiniFrame(*args
, **kwargs
)
749 self
.this
= newobj
.this
752 self
._setOORInfo
(self
)
754 def Create(*args
, **kwargs
):
756 Create(self, Window parent, int id=-1, String title=EmptyString,
757 Point pos=DefaultPosition, Size size=DefaultSize,
758 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
760 return _windows_
.MiniFrame_Create(*args
, **kwargs
)
763 class MiniFramePtr(MiniFrame
):
764 def __init__(self
, this
):
766 if not hasattr(self
,"thisown"): self
.thisown
= 0
767 self
.__class
__ = MiniFrame
768 _windows_
.MiniFrame_swigregister(MiniFramePtr
)
770 def PreMiniFrame(*args
, **kwargs
):
771 """PreMiniFrame() -> MiniFrame"""
772 val
= _windows_
.new_PreMiniFrame(*args
, **kwargs
)
776 #---------------------------------------------------------------------------
778 SPLASH_CENTRE_ON_PARENT
= _windows_
.SPLASH_CENTRE_ON_PARENT
779 SPLASH_CENTRE_ON_SCREEN
= _windows_
.SPLASH_CENTRE_ON_SCREEN
780 SPLASH_NO_CENTRE
= _windows_
.SPLASH_NO_CENTRE
781 SPLASH_TIMEOUT
= _windows_
.SPLASH_TIMEOUT
782 SPLASH_NO_TIMEOUT
= _windows_
.SPLASH_NO_TIMEOUT
783 class SplashScreenWindow(_core
.Window
):
784 """Proxy of C++ SplashScreenWindow class"""
786 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
787 def __init__(self
, *args
, **kwargs
):
789 __init__(self, Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
790 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
792 newobj
= _windows_
.new_SplashScreenWindow(*args
, **kwargs
)
793 self
.this
= newobj
.this
796 self
._setOORInfo
(self
)
798 def SetBitmap(*args
, **kwargs
):
799 """SetBitmap(self, Bitmap bitmap)"""
800 return _windows_
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
802 def GetBitmap(*args
, **kwargs
):
803 """GetBitmap(self) -> Bitmap"""
804 return _windows_
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
807 class SplashScreenWindowPtr(SplashScreenWindow
):
808 def __init__(self
, this
):
810 if not hasattr(self
,"thisown"): self
.thisown
= 0
811 self
.__class
__ = SplashScreenWindow
812 _windows_
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
814 class SplashScreen(Frame
):
815 """Proxy of C++ SplashScreen class"""
817 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
818 def __init__(self
, *args
, **kwargs
):
820 __init__(self, Bitmap bitmap, long splashStyle, int milliseconds,
821 Window parent, int id=-1, Point pos=DefaultPosition,
822 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
824 newobj
= _windows_
.new_SplashScreen(*args
, **kwargs
)
825 self
.this
= newobj
.this
828 self
._setOORInfo
(self
)
830 def GetSplashStyle(*args
, **kwargs
):
831 """GetSplashStyle(self) -> long"""
832 return _windows_
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
834 def GetSplashWindow(*args
, **kwargs
):
835 """GetSplashWindow(self) -> SplashScreenWindow"""
836 return _windows_
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
838 def GetTimeout(*args
, **kwargs
):
839 """GetTimeout(self) -> int"""
840 return _windows_
.SplashScreen_GetTimeout(*args
, **kwargs
)
843 class SplashScreenPtr(SplashScreen
):
844 def __init__(self
, this
):
846 if not hasattr(self
,"thisown"): self
.thisown
= 0
847 self
.__class
__ = SplashScreen
848 _windows_
.SplashScreen_swigregister(SplashScreenPtr
)
850 #---------------------------------------------------------------------------
852 SB_NORMAL
= _windows_
.SB_NORMAL
853 SB_FLAT
= _windows_
.SB_FLAT
854 SB_RAISED
= _windows_
.SB_RAISED
855 class StatusBar(_core
.Window
):
856 """Proxy of C++ StatusBar class"""
858 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
859 def __init__(self
, *args
, **kwargs
):
861 __init__(self, Window parent, int id=-1, long style=DEFAULT_STATUSBAR_STYLE,
862 String name=StatusLineNameStr) -> StatusBar
864 newobj
= _windows_
.new_StatusBar(*args
, **kwargs
)
865 self
.this
= newobj
.this
868 self
._setOORInfo
(self
)
870 def Create(*args
, **kwargs
):
871 """Create(self, Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
872 return _windows_
.StatusBar_Create(*args
, **kwargs
)
874 def SetFieldsCount(*args
, **kwargs
):
875 """SetFieldsCount(self, int number=1)"""
876 return _windows_
.StatusBar_SetFieldsCount(*args
, **kwargs
)
878 def GetFieldsCount(*args
, **kwargs
):
879 """GetFieldsCount(self) -> int"""
880 return _windows_
.StatusBar_GetFieldsCount(*args
, **kwargs
)
882 def SetStatusText(*args
, **kwargs
):
883 """SetStatusText(self, String text, int number=0)"""
884 return _windows_
.StatusBar_SetStatusText(*args
, **kwargs
)
886 def GetStatusText(*args
, **kwargs
):
887 """GetStatusText(self, int number=0) -> String"""
888 return _windows_
.StatusBar_GetStatusText(*args
, **kwargs
)
890 def PushStatusText(*args
, **kwargs
):
891 """PushStatusText(self, String text, int number=0)"""
892 return _windows_
.StatusBar_PushStatusText(*args
, **kwargs
)
894 def PopStatusText(*args
, **kwargs
):
895 """PopStatusText(self, int number=0)"""
896 return _windows_
.StatusBar_PopStatusText(*args
, **kwargs
)
898 def SetStatusWidths(*args
, **kwargs
):
899 """SetStatusWidths(self, int widths)"""
900 return _windows_
.StatusBar_SetStatusWidths(*args
, **kwargs
)
902 def SetStatusStyles(*args
, **kwargs
):
903 """SetStatusStyles(self, int styles)"""
904 return _windows_
.StatusBar_SetStatusStyles(*args
, **kwargs
)
906 def GetFieldRect(*args
, **kwargs
):
907 """GetFieldRect(self, int i) -> Rect"""
908 return _windows_
.StatusBar_GetFieldRect(*args
, **kwargs
)
910 def SetMinHeight(*args
, **kwargs
):
911 """SetMinHeight(self, int height)"""
912 return _windows_
.StatusBar_SetMinHeight(*args
, **kwargs
)
914 def GetBorderX(*args
, **kwargs
):
915 """GetBorderX(self) -> int"""
916 return _windows_
.StatusBar_GetBorderX(*args
, **kwargs
)
918 def GetBorderY(*args
, **kwargs
):
919 """GetBorderY(self) -> int"""
920 return _windows_
.StatusBar_GetBorderY(*args
, **kwargs
)
922 def GetClassDefaultAttributes(*args
, **kwargs
):
924 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
926 Get the default attributes for this class. This is useful if you want
927 to use the same font or colour in your own control as in a standard
928 control -- which is a much better idea than hard coding specific
929 colours or fonts which might look completely out of place on the
930 user's system, especially if it uses themes.
932 The variant parameter is only relevant under Mac currently and is
933 ignore under other platforms. Under Mac, it will change the size of
934 the returned font. See `wx.Window.SetWindowVariant` for more about
937 return _windows_
.StatusBar_GetClassDefaultAttributes(*args
, **kwargs
)
939 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
941 class StatusBarPtr(StatusBar
):
942 def __init__(self
, this
):
944 if not hasattr(self
,"thisown"): self
.thisown
= 0
945 self
.__class
__ = StatusBar
946 _windows_
.StatusBar_swigregister(StatusBarPtr
)
948 def PreStatusBar(*args
, **kwargs
):
949 """PreStatusBar() -> StatusBar"""
950 val
= _windows_
.new_PreStatusBar(*args
, **kwargs
)
954 def StatusBar_GetClassDefaultAttributes(*args
, **kwargs
):
956 StatusBar_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
958 Get the default attributes for this class. This is useful if you want
959 to use the same font or colour in your own control as in a standard
960 control -- which is a much better idea than hard coding specific
961 colours or fonts which might look completely out of place on the
962 user's system, especially if it uses themes.
964 The variant parameter is only relevant under Mac currently and is
965 ignore under other platforms. Under Mac, it will change the size of
966 the returned font. See `wx.Window.SetWindowVariant` for more about
969 return _windows_
.StatusBar_GetClassDefaultAttributes(*args
, **kwargs
)
971 #---------------------------------------------------------------------------
973 SP_NOBORDER
= _windows_
.SP_NOBORDER
974 SP_NOSASH
= _windows_
.SP_NOSASH
975 SP_PERMIT_UNSPLIT
= _windows_
.SP_PERMIT_UNSPLIT
976 SP_LIVE_UPDATE
= _windows_
.SP_LIVE_UPDATE
977 SP_3DSASH
= _windows_
.SP_3DSASH
978 SP_3DBORDER
= _windows_
.SP_3DBORDER
979 SP_NO_XP_THEME
= _windows_
.SP_NO_XP_THEME
980 SP_BORDER
= _windows_
.SP_BORDER
981 SP_3D
= _windows_
.SP_3D
982 SPLIT_HORIZONTAL
= _windows_
.SPLIT_HORIZONTAL
983 SPLIT_VERTICAL
= _windows_
.SPLIT_VERTICAL
984 SPLIT_DRAG_NONE
= _windows_
.SPLIT_DRAG_NONE
985 SPLIT_DRAG_DRAGGING
= _windows_
.SPLIT_DRAG_DRAGGING
986 SPLIT_DRAG_LEFT_DOWN
= _windows_
.SPLIT_DRAG_LEFT_DOWN
987 class SplitterWindow(_core
.Window
):
989 wx.SplitterWindow manages up to two subwindows or panes, with an
990 optional vertical or horizontal split which can be used with the mouse
994 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
995 def __init__(self
, *args
, **kwargs
):
997 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
998 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
1000 Constructor. Creates and shows a SplitterWindow.
1002 if kwargs
.has_key('point'): kwargs
['pos'] = kwargs
['point'];del kwargs
['point']
1003 newobj
= _windows_
.new_SplitterWindow(*args
, **kwargs
)
1004 self
.this
= newobj
.this
1007 self
._setOORInfo
(self
)
1009 def Create(*args
, **kwargs
):
1011 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1012 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool
1014 Create the GUI part of the SplitterWindow for the 2-phase create.
1016 return _windows_
.SplitterWindow_Create(*args
, **kwargs
)
1018 def GetWindow1(*args
, **kwargs
):
1020 GetWindow1(self) -> Window
1022 Gets the only or left/top pane.
1024 return _windows_
.SplitterWindow_GetWindow1(*args
, **kwargs
)
1026 def GetWindow2(*args
, **kwargs
):
1028 GetWindow2(self) -> Window
1030 Gets the right/bottom pane.
1032 return _windows_
.SplitterWindow_GetWindow2(*args
, **kwargs
)
1034 def SetSplitMode(*args
, **kwargs
):
1036 SetSplitMode(self, int mode)
1038 Sets the split mode. The mode can be wx.SPLIT_VERTICAL or
1039 wx.SPLIT_HORIZONTAL. This only sets the internal variable; does not
1042 return _windows_
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
1044 def GetSplitMode(*args
, **kwargs
):
1046 GetSplitMode(self) -> int
1050 return _windows_
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
1052 def Initialize(*args
, **kwargs
):
1054 Initialize(self, Window window)
1056 Initializes the splitter window to have one pane. This should be
1057 called if you wish to initially view only a single pane in the
1058 splitter window. The child window is shown if it is currently hidden.
1060 return _windows_
.SplitterWindow_Initialize(*args
, **kwargs
)
1062 def SplitVertically(*args
, **kwargs
):
1064 SplitVertically(self, Window window1, Window window2, int sashPosition=0) -> bool
1066 Initializes the left and right panes of the splitter window. The
1067 child windows are shown if they are currently hidden.
1069 return _windows_
.SplitterWindow_SplitVertically(*args
, **kwargs
)
1071 def SplitHorizontally(*args
, **kwargs
):
1073 SplitHorizontally(self, Window window1, Window window2, int sashPosition=0) -> bool
1075 Initializes the top and bottom panes of the splitter window. The
1076 child windows are shown if they are currently hidden.
1078 return _windows_
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
1080 def Unsplit(*args
, **kwargs
):
1082 Unsplit(self, Window toRemove=None) -> bool
1084 Unsplits the window. Pass the pane to remove, or None to remove the
1085 right or bottom pane. Returns True if successful, False otherwise (the
1086 window was not split).
1088 This function will not actually delete the pane being
1089 removed; it sends EVT_SPLITTER_UNSPLIT which can be handled
1090 for the desired behaviour. By default, the pane being
1091 removed is only hidden.
1093 return _windows_
.SplitterWindow_Unsplit(*args
, **kwargs
)
1095 def ReplaceWindow(*args
, **kwargs
):
1097 ReplaceWindow(self, Window winOld, Window winNew) -> bool
1099 This function replaces one of the windows managed by the
1100 SplitterWindow with another one. It is in general better to use it
1101 instead of calling Unsplit() and then resplitting the window back
1102 because it will provoke much less flicker. It is valid to call this
1103 function whether the splitter has two windows or only one.
1105 Both parameters should be non-None and winOld must specify one of the
1106 windows managed by the splitter. If the parameters are incorrect or
1107 the window couldn't be replaced, False is returned. Otherwise the
1108 function will return True, but please notice that it will not Destroy
1109 the replaced window and you may wish to do it yourself.
1111 return _windows_
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
1113 def UpdateSize(*args
, **kwargs
):
1117 Causes any pending sizing of the sash and child panes to take place
1120 Such resizing normally takes place in idle time, in order to wait for
1121 layout to be completed. However, this can cause unacceptable flicker
1122 as the panes are resized after the window has been shown. To work
1123 around this, you can perform window layout (for example by sending a
1124 size event to the parent window), and then call this function, before
1125 showing the top-level window.
1127 return _windows_
.SplitterWindow_UpdateSize(*args
, **kwargs
)
1129 def IsSplit(*args
, **kwargs
):
1131 IsSplit(self) -> bool
1133 Is the window split?
1135 return _windows_
.SplitterWindow_IsSplit(*args
, **kwargs
)
1137 def SetSashSize(*args
, **kwargs
):
1139 SetSashSize(self, int width)
1143 return _windows_
.SplitterWindow_SetSashSize(*args
, **kwargs
)
1145 def SetBorderSize(*args
, **kwargs
):
1147 SetBorderSize(self, int width)
1149 Sets the border size. Currently a NOP.
1151 return _windows_
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
1153 def GetSashSize(*args
, **kwargs
):
1155 GetSashSize(self) -> int
1159 return _windows_
.SplitterWindow_GetSashSize(*args
, **kwargs
)
1161 def GetBorderSize(*args
, **kwargs
):
1163 GetBorderSize(self) -> int
1165 Gets the border size
1167 return _windows_
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
1169 def SetSashPosition(*args
, **kwargs
):
1171 SetSashPosition(self, int position, bool redraw=True)
1173 Sets the sash position, in pixels. If redraw is Ttrue then the panes
1174 are resized and the sash and border are redrawn.
1176 return _windows_
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
1178 def GetSashPosition(*args
, **kwargs
):
1180 GetSashPosition(self) -> int
1182 Returns the surrent sash position.
1184 return _windows_
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
1186 def SetSashGravity(*args
, **kwargs
):
1188 SetSashGravity(self, double gravity)
1190 Set the sash gravity. Gravity is a floating-point factor between 0.0
1191 and 1.0 which controls position of sash while resizing the
1192 `wx.SplitterWindow`. The gravity specifies how much the left/top
1193 window will grow while resizing.
1195 return _windows_
.SplitterWindow_SetSashGravity(*args
, **kwargs
)
1197 def GetSashGravity(*args
, **kwargs
):
1199 GetSashGravity(self) -> double
1201 Gets the sash gravity.
1203 :see: `SetSashGravity`
1206 return _windows_
.SplitterWindow_GetSashGravity(*args
, **kwargs
)
1208 def SetMinimumPaneSize(*args
, **kwargs
):
1210 SetMinimumPaneSize(self, int min)
1212 Sets the minimum pane size in pixels.
1214 The default minimum pane size is zero, which means that either pane
1215 can be reduced to zero by dragging the sash, thus removing one of the
1216 panes. To prevent this behaviour (and veto out-of-range sash
1217 dragging), set a minimum size, for example 20 pixels. If the
1218 wx.SP_PERMIT_UNSPLIT style is used when a splitter window is created,
1219 the window may be unsplit even if minimum size is non-zero.
1221 return _windows_
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
1223 def GetMinimumPaneSize(*args
, **kwargs
):
1225 GetMinimumPaneSize(self) -> int
1227 Gets the minimum pane size in pixels.
1229 return _windows_
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
1231 def SashHitTest(*args
, **kwargs
):
1233 SashHitTest(self, int x, int y, int tolerance=5) -> bool
1235 Tests for x, y over the sash
1237 return _windows_
.SplitterWindow_SashHitTest(*args
, **kwargs
)
1239 def SizeWindows(*args
, **kwargs
):
1245 return _windows_
.SplitterWindow_SizeWindows(*args
, **kwargs
)
1247 def SetNeedUpdating(*args
, **kwargs
):
1248 """SetNeedUpdating(self, bool needUpdating)"""
1249 return _windows_
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
1251 def GetNeedUpdating(*args
, **kwargs
):
1252 """GetNeedUpdating(self) -> bool"""
1253 return _windows_
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
1255 def GetClassDefaultAttributes(*args
, **kwargs
):
1257 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1259 Get the default attributes for this class. This is useful if you want
1260 to use the same font or colour in your own control as in a standard
1261 control -- which is a much better idea than hard coding specific
1262 colours or fonts which might look completely out of place on the
1263 user's system, especially if it uses themes.
1265 The variant parameter is only relevant under Mac currently and is
1266 ignore under other platforms. Under Mac, it will change the size of
1267 the returned font. See `wx.Window.SetWindowVariant` for more about
1270 return _windows_
.SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1272 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
1274 class SplitterWindowPtr(SplitterWindow
):
1275 def __init__(self
, this
):
1277 if not hasattr(self
,"thisown"): self
.thisown
= 0
1278 self
.__class
__ = SplitterWindow
1279 _windows_
.SplitterWindow_swigregister(SplitterWindowPtr
)
1280 SplitterNameStr
= cvar
.SplitterNameStr
1282 def PreSplitterWindow(*args
, **kwargs
):
1284 PreSplitterWindow() -> SplitterWindow
1286 Precreate a SplitterWindow for 2-phase creation.
1288 val
= _windows_
.new_PreSplitterWindow(*args
, **kwargs
)
1292 def SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
):
1294 SplitterWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1296 Get the default attributes for this class. This is useful if you want
1297 to use the same font or colour in your own control as in a standard
1298 control -- which is a much better idea than hard coding specific
1299 colours or fonts which might look completely out of place on the
1300 user's system, especially if it uses themes.
1302 The variant parameter is only relevant under Mac currently and is
1303 ignore under other platforms. Under Mac, it will change the size of
1304 the returned font. See `wx.Window.SetWindowVariant` for more about
1307 return _windows_
.SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1309 class SplitterEvent(_core
.NotifyEvent
):
1310 """This class represents the events generated by a splitter control."""
1312 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1313 def __init__(self
, *args
, **kwargs
):
1315 __init__(self, wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent
1317 This class represents the events generated by a splitter control.
1319 newobj
= _windows_
.new_SplitterEvent(*args
, **kwargs
)
1320 self
.this
= newobj
.this
1323 def SetSashPosition(*args
, **kwargs
):
1325 SetSashPosition(self, int pos)
1327 This function is only meaningful during EVT_SPLITTER_SASH_POS_CHANGING
1328 and EVT_SPLITTER_SASH_POS_CHANGED events. In the case of _CHANGED
1329 events, sets the the new sash position. In the case of _CHANGING
1330 events, sets the new tracking bar position so visual feedback during
1331 dragging will represent that change that will actually take place. Set
1332 to -1 from the event handler code to prevent repositioning.
1334 return _windows_
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
1336 def GetSashPosition(*args
, **kwargs
):
1338 GetSashPosition(self) -> int
1340 Returns the new sash position while in EVT_SPLITTER_SASH_POS_CHANGING
1341 and EVT_SPLITTER_SASH_POS_CHANGED events.
1343 return _windows_
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
1345 def GetWindowBeingRemoved(*args
, **kwargs
):
1347 GetWindowBeingRemoved(self) -> Window
1349 Returns a pointer to the window being removed when a splitter window
1352 return _windows_
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
1354 def GetX(*args
, **kwargs
):
1358 Returns the x coordinate of the double-click point in a
1359 EVT_SPLITTER_DCLICK event.
1361 return _windows_
.SplitterEvent_GetX(*args
, **kwargs
)
1363 def GetY(*args
, **kwargs
):
1367 Returns the y coordinate of the double-click point in a
1368 EVT_SPLITTER_DCLICK event.
1370 return _windows_
.SplitterEvent_GetY(*args
, **kwargs
)
1373 class SplitterEventPtr(SplitterEvent
):
1374 def __init__(self
, this
):
1376 if not hasattr(self
,"thisown"): self
.thisown
= 0
1377 self
.__class
__ = SplitterEvent
1378 _windows_
.SplitterEvent_swigregister(SplitterEventPtr
)
1380 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
1381 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
1382 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows_
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
1383 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows_
.wxEVT_COMMAND_SPLITTER_UNSPLIT
1384 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
1385 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
1386 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
1387 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
1388 EVT_SPLITTER_DCLICK
= EVT_SPLITTER_DOUBLECLICKED
1390 #---------------------------------------------------------------------------
1392 SASH_DRAG_NONE
= _windows_
.SASH_DRAG_NONE
1393 SASH_DRAG_DRAGGING
= _windows_
.SASH_DRAG_DRAGGING
1394 SASH_DRAG_LEFT_DOWN
= _windows_
.SASH_DRAG_LEFT_DOWN
1395 SW_NOBORDER
= _windows_
.SW_NOBORDER
1396 SW_BORDER
= _windows_
.SW_BORDER
1397 SW_3DSASH
= _windows_
.SW_3DSASH
1398 SW_3DBORDER
= _windows_
.SW_3DBORDER
1399 SW_3D
= _windows_
.SW_3D
1400 SASH_TOP
= _windows_
.SASH_TOP
1401 SASH_RIGHT
= _windows_
.SASH_RIGHT
1402 SASH_BOTTOM
= _windows_
.SASH_BOTTOM
1403 SASH_LEFT
= _windows_
.SASH_LEFT
1404 SASH_NONE
= _windows_
.SASH_NONE
1405 class SashWindow(_core
.Window
):
1406 """Proxy of C++ SashWindow class"""
1408 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1409 def __init__(self
, *args
, **kwargs
):
1411 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1412 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1413 String name=SashNameStr) -> SashWindow
1415 newobj
= _windows_
.new_SashWindow(*args
, **kwargs
)
1416 self
.this
= newobj
.this
1419 self
._setOORInfo
(self
)
1421 def Create(*args
, **kwargs
):
1423 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1424 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1425 String name=SashNameStr) -> bool
1427 return _windows_
.SashWindow_Create(*args
, **kwargs
)
1429 def SetSashVisible(*args
, **kwargs
):
1430 """SetSashVisible(self, int edge, bool sash)"""
1431 return _windows_
.SashWindow_SetSashVisible(*args
, **kwargs
)
1433 def GetSashVisible(*args
, **kwargs
):
1434 """GetSashVisible(self, int edge) -> bool"""
1435 return _windows_
.SashWindow_GetSashVisible(*args
, **kwargs
)
1437 def SetSashBorder(*args
, **kwargs
):
1438 """SetSashBorder(self, int edge, bool border)"""
1439 return _windows_
.SashWindow_SetSashBorder(*args
, **kwargs
)
1441 def HasBorder(*args
, **kwargs
):
1442 """HasBorder(self, int edge) -> bool"""
1443 return _windows_
.SashWindow_HasBorder(*args
, **kwargs
)
1445 def GetEdgeMargin(*args
, **kwargs
):
1446 """GetEdgeMargin(self, int edge) -> int"""
1447 return _windows_
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
1449 def SetDefaultBorderSize(*args
, **kwargs
):
1450 """SetDefaultBorderSize(self, int width)"""
1451 return _windows_
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
1453 def GetDefaultBorderSize(*args
, **kwargs
):
1454 """GetDefaultBorderSize(self) -> int"""
1455 return _windows_
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
1457 def SetExtraBorderSize(*args
, **kwargs
):
1458 """SetExtraBorderSize(self, int width)"""
1459 return _windows_
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
1461 def GetExtraBorderSize(*args
, **kwargs
):
1462 """GetExtraBorderSize(self) -> int"""
1463 return _windows_
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
1465 def SetMinimumSizeX(*args
, **kwargs
):
1466 """SetMinimumSizeX(self, int min)"""
1467 return _windows_
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
1469 def SetMinimumSizeY(*args
, **kwargs
):
1470 """SetMinimumSizeY(self, int min)"""
1471 return _windows_
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
1473 def GetMinimumSizeX(*args
, **kwargs
):
1474 """GetMinimumSizeX(self) -> int"""
1475 return _windows_
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
1477 def GetMinimumSizeY(*args
, **kwargs
):
1478 """GetMinimumSizeY(self) -> int"""
1479 return _windows_
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
1481 def SetMaximumSizeX(*args
, **kwargs
):
1482 """SetMaximumSizeX(self, int max)"""
1483 return _windows_
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
1485 def SetMaximumSizeY(*args
, **kwargs
):
1486 """SetMaximumSizeY(self, int max)"""
1487 return _windows_
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
1489 def GetMaximumSizeX(*args
, **kwargs
):
1490 """GetMaximumSizeX(self) -> int"""
1491 return _windows_
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
1493 def GetMaximumSizeY(*args
, **kwargs
):
1494 """GetMaximumSizeY(self) -> int"""
1495 return _windows_
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
1497 def SashHitTest(*args
, **kwargs
):
1498 """SashHitTest(self, int x, int y, int tolerance=2) -> int"""
1499 return _windows_
.SashWindow_SashHitTest(*args
, **kwargs
)
1501 def SizeWindows(*args
, **kwargs
):
1502 """SizeWindows(self)"""
1503 return _windows_
.SashWindow_SizeWindows(*args
, **kwargs
)
1506 class SashWindowPtr(SashWindow
):
1507 def __init__(self
, this
):
1509 if not hasattr(self
,"thisown"): self
.thisown
= 0
1510 self
.__class
__ = SashWindow
1511 _windows_
.SashWindow_swigregister(SashWindowPtr
)
1512 SashNameStr
= cvar
.SashNameStr
1513 SashLayoutNameStr
= cvar
.SashLayoutNameStr
1515 def PreSashWindow(*args
, **kwargs
):
1516 """PreSashWindow() -> SashWindow"""
1517 val
= _windows_
.new_PreSashWindow(*args
, **kwargs
)
1521 SASH_STATUS_OK
= _windows_
.SASH_STATUS_OK
1522 SASH_STATUS_OUT_OF_RANGE
= _windows_
.SASH_STATUS_OUT_OF_RANGE
1523 class SashEvent(_core
.CommandEvent
):
1524 """Proxy of C++ SashEvent class"""
1526 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1527 def __init__(self
, *args
, **kwargs
):
1528 """__init__(self, int id=0, int edge=SASH_NONE) -> SashEvent"""
1529 newobj
= _windows_
.new_SashEvent(*args
, **kwargs
)
1530 self
.this
= newobj
.this
1533 def SetEdge(*args
, **kwargs
):
1534 """SetEdge(self, int edge)"""
1535 return _windows_
.SashEvent_SetEdge(*args
, **kwargs
)
1537 def GetEdge(*args
, **kwargs
):
1538 """GetEdge(self) -> int"""
1539 return _windows_
.SashEvent_GetEdge(*args
, **kwargs
)
1541 def SetDragRect(*args
, **kwargs
):
1542 """SetDragRect(self, Rect rect)"""
1543 return _windows_
.SashEvent_SetDragRect(*args
, **kwargs
)
1545 def GetDragRect(*args
, **kwargs
):
1546 """GetDragRect(self) -> Rect"""
1547 return _windows_
.SashEvent_GetDragRect(*args
, **kwargs
)
1549 def SetDragStatus(*args
, **kwargs
):
1550 """SetDragStatus(self, int status)"""
1551 return _windows_
.SashEvent_SetDragStatus(*args
, **kwargs
)
1553 def GetDragStatus(*args
, **kwargs
):
1554 """GetDragStatus(self) -> int"""
1555 return _windows_
.SashEvent_GetDragStatus(*args
, **kwargs
)
1558 class SashEventPtr(SashEvent
):
1559 def __init__(self
, this
):
1561 if not hasattr(self
,"thisown"): self
.thisown
= 0
1562 self
.__class
__ = SashEvent
1563 _windows_
.SashEvent_swigregister(SashEventPtr
)
1565 wxEVT_SASH_DRAGGED
= _windows_
.wxEVT_SASH_DRAGGED
1566 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
1567 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
1569 #---------------------------------------------------------------------------
1571 LAYOUT_HORIZONTAL
= _windows_
.LAYOUT_HORIZONTAL
1572 LAYOUT_VERTICAL
= _windows_
.LAYOUT_VERTICAL
1573 LAYOUT_NONE
= _windows_
.LAYOUT_NONE
1574 LAYOUT_TOP
= _windows_
.LAYOUT_TOP
1575 LAYOUT_LEFT
= _windows_
.LAYOUT_LEFT
1576 LAYOUT_RIGHT
= _windows_
.LAYOUT_RIGHT
1577 LAYOUT_BOTTOM
= _windows_
.LAYOUT_BOTTOM
1578 LAYOUT_LENGTH_Y
= _windows_
.LAYOUT_LENGTH_Y
1579 LAYOUT_LENGTH_X
= _windows_
.LAYOUT_LENGTH_X
1580 LAYOUT_MRU_LENGTH
= _windows_
.LAYOUT_MRU_LENGTH
1581 LAYOUT_QUERY
= _windows_
.LAYOUT_QUERY
1582 wxEVT_QUERY_LAYOUT_INFO
= _windows_
.wxEVT_QUERY_LAYOUT_INFO
1583 wxEVT_CALCULATE_LAYOUT
= _windows_
.wxEVT_CALCULATE_LAYOUT
1584 class QueryLayoutInfoEvent(_core
.Event
):
1585 """Proxy of C++ QueryLayoutInfoEvent class"""
1587 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1588 def __init__(self
, *args
, **kwargs
):
1589 """__init__(self, int id=0) -> QueryLayoutInfoEvent"""
1590 newobj
= _windows_
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1591 self
.this
= newobj
.this
1594 def SetRequestedLength(*args
, **kwargs
):
1595 """SetRequestedLength(self, int length)"""
1596 return _windows_
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1598 def GetRequestedLength(*args
, **kwargs
):
1599 """GetRequestedLength(self) -> int"""
1600 return _windows_
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1602 def SetFlags(*args
, **kwargs
):
1603 """SetFlags(self, int flags)"""
1604 return _windows_
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1606 def GetFlags(*args
, **kwargs
):
1607 """GetFlags(self) -> int"""
1608 return _windows_
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1610 def SetSize(*args
, **kwargs
):
1611 """SetSize(self, Size size)"""
1612 return _windows_
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1614 def GetSize(*args
, **kwargs
):
1615 """GetSize(self) -> Size"""
1616 return _windows_
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1618 def SetOrientation(*args
, **kwargs
):
1619 """SetOrientation(self, int orient)"""
1620 return _windows_
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1622 def GetOrientation(*args
, **kwargs
):
1623 """GetOrientation(self) -> int"""
1624 return _windows_
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1626 def SetAlignment(*args
, **kwargs
):
1627 """SetAlignment(self, int align)"""
1628 return _windows_
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1630 def GetAlignment(*args
, **kwargs
):
1631 """GetAlignment(self) -> int"""
1632 return _windows_
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1635 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1636 def __init__(self
, this
):
1638 if not hasattr(self
,"thisown"): self
.thisown
= 0
1639 self
.__class
__ = QueryLayoutInfoEvent
1640 _windows_
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1642 class CalculateLayoutEvent(_core
.Event
):
1643 """Proxy of C++ CalculateLayoutEvent class"""
1645 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1646 def __init__(self
, *args
, **kwargs
):
1647 """__init__(self, int id=0) -> CalculateLayoutEvent"""
1648 newobj
= _windows_
.new_CalculateLayoutEvent(*args
, **kwargs
)
1649 self
.this
= newobj
.this
1652 def SetFlags(*args
, **kwargs
):
1653 """SetFlags(self, int flags)"""
1654 return _windows_
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1656 def GetFlags(*args
, **kwargs
):
1657 """GetFlags(self) -> int"""
1658 return _windows_
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1660 def SetRect(*args
, **kwargs
):
1661 """SetRect(self, Rect rect)"""
1662 return _windows_
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1664 def GetRect(*args
, **kwargs
):
1665 """GetRect(self) -> Rect"""
1666 return _windows_
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1669 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1670 def __init__(self
, this
):
1672 if not hasattr(self
,"thisown"): self
.thisown
= 0
1673 self
.__class
__ = CalculateLayoutEvent
1674 _windows_
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1676 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1677 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1679 class SashLayoutWindow(SashWindow
):
1680 """Proxy of C++ SashLayoutWindow class"""
1682 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1683 def __init__(self
, *args
, **kwargs
):
1685 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1686 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1687 String name=SashLayoutNameStr) -> SashLayoutWindow
1689 newobj
= _windows_
.new_SashLayoutWindow(*args
, **kwargs
)
1690 self
.this
= newobj
.this
1693 self
._setOORInfo
(self
)
1695 def Create(*args
, **kwargs
):
1697 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1698 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1699 String name=SashLayoutNameStr) -> bool
1701 return _windows_
.SashLayoutWindow_Create(*args
, **kwargs
)
1703 def GetAlignment(*args
, **kwargs
):
1704 """GetAlignment(self) -> int"""
1705 return _windows_
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1707 def GetOrientation(*args
, **kwargs
):
1708 """GetOrientation(self) -> int"""
1709 return _windows_
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1711 def SetAlignment(*args
, **kwargs
):
1712 """SetAlignment(self, int alignment)"""
1713 return _windows_
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1715 def SetDefaultSize(*args
, **kwargs
):
1716 """SetDefaultSize(self, Size size)"""
1717 return _windows_
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1719 def SetOrientation(*args
, **kwargs
):
1720 """SetOrientation(self, int orientation)"""
1721 return _windows_
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1724 class SashLayoutWindowPtr(SashLayoutWindow
):
1725 def __init__(self
, this
):
1727 if not hasattr(self
,"thisown"): self
.thisown
= 0
1728 self
.__class
__ = SashLayoutWindow
1729 _windows_
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1731 def PreSashLayoutWindow(*args
, **kwargs
):
1732 """PreSashLayoutWindow() -> SashLayoutWindow"""
1733 val
= _windows_
.new_PreSashLayoutWindow(*args
, **kwargs
)
1737 class LayoutAlgorithm(_core
.Object
):
1738 """Proxy of C++ LayoutAlgorithm class"""
1740 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1741 def __init__(self
, *args
, **kwargs
):
1742 """__init__(self) -> LayoutAlgorithm"""
1743 newobj
= _windows_
.new_LayoutAlgorithm(*args
, **kwargs
)
1744 self
.this
= newobj
.this
1747 def __del__(self
, destroy
=_windows_
.delete_LayoutAlgorithm
):
1750 if self
.thisown
: destroy(self
)
1753 def LayoutMDIFrame(*args
, **kwargs
):
1754 """LayoutMDIFrame(self, MDIParentFrame frame, Rect rect=None) -> bool"""
1755 return _windows_
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1757 def LayoutFrame(*args
, **kwargs
):
1758 """LayoutFrame(self, Frame frame, Window mainWindow=None) -> bool"""
1759 return _windows_
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1761 def LayoutWindow(*args
, **kwargs
):
1762 """LayoutWindow(self, Window parent, Window mainWindow=None) -> bool"""
1763 return _windows_
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1766 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1767 def __init__(self
, this
):
1769 if not hasattr(self
,"thisown"): self
.thisown
= 0
1770 self
.__class
__ = LayoutAlgorithm
1771 _windows_
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1773 #---------------------------------------------------------------------------
1775 class PopupWindow(_core
.Window
):
1776 """Proxy of C++ PopupWindow class"""
1778 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1779 def __init__(self
, *args
, **kwargs
):
1780 """__init__(self, Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1781 newobj
= _windows_
.new_PopupWindow(*args
, **kwargs
)
1782 self
.this
= newobj
.this
1785 self
._setOORInfo
(self
)
1787 def Create(*args
, **kwargs
):
1788 """Create(self, Window parent, int flags=BORDER_NONE) -> bool"""
1789 return _windows_
.PopupWindow_Create(*args
, **kwargs
)
1791 def Position(*args
, **kwargs
):
1792 """Position(self, Point ptOrigin, Size size)"""
1793 return _windows_
.PopupWindow_Position(*args
, **kwargs
)
1796 class PopupWindowPtr(PopupWindow
):
1797 def __init__(self
, this
):
1799 if not hasattr(self
,"thisown"): self
.thisown
= 0
1800 self
.__class
__ = PopupWindow
1801 _windows_
.PopupWindow_swigregister(PopupWindowPtr
)
1803 def PrePopupWindow(*args
, **kwargs
):
1804 """PrePopupWindow() -> PopupWindow"""
1805 val
= _windows_
.new_PrePopupWindow(*args
, **kwargs
)
1809 #---------------------------------------------------------------------------
1811 class PopupTransientWindow(PopupWindow
):
1812 """Proxy of C++ PopupTransientWindow class"""
1814 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1815 def __init__(self
, *args
, **kwargs
):
1816 """__init__(self, Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1817 newobj
= _windows_
.new_PopupTransientWindow(*args
, **kwargs
)
1818 self
.this
= newobj
.this
1821 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, PopupTransientWindow
)
1823 def _setCallbackInfo(*args
, **kwargs
):
1824 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1825 return _windows_
.PopupTransientWindow__setCallbackInfo(*args
, **kwargs
)
1827 def Popup(*args
, **kwargs
):
1828 """Popup(self, Window focus=None)"""
1829 return _windows_
.PopupTransientWindow_Popup(*args
, **kwargs
)
1831 def Dismiss(*args
, **kwargs
):
1833 return _windows_
.PopupTransientWindow_Dismiss(*args
, **kwargs
)
1836 class PopupTransientWindowPtr(PopupTransientWindow
):
1837 def __init__(self
, this
):
1839 if not hasattr(self
,"thisown"): self
.thisown
= 0
1840 self
.__class
__ = PopupTransientWindow
1841 _windows_
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1843 def PrePopupTransientWindow(*args
, **kwargs
):
1844 """PrePopupTransientWindow() -> PopupTransientWindow"""
1845 val
= _windows_
.new_PrePopupTransientWindow(*args
, **kwargs
)
1849 #---------------------------------------------------------------------------
1851 class TipWindow(PopupTransientWindow
):
1852 """Proxy of C++ TipWindow class"""
1854 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1855 def __init__(self
, *args
, **kwargs
):
1856 """__init__(self, Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1857 newobj
= _windows_
.new_TipWindow(*args
, **kwargs
)
1858 self
.this
= newobj
.this
1861 self
._setOORInfo
(self
)
1863 def SetBoundingRect(*args
, **kwargs
):
1864 """SetBoundingRect(self, Rect rectBound)"""
1865 return _windows_
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1867 def Close(*args
, **kwargs
):
1871 This function simply generates a EVT_CLOSE event whose handler usually
1872 tries to close the window. It doesn't close the window itself,
1873 however. If force is False (the default) then the window's close
1874 handler will be allowed to veto the destruction of the window.
1876 return _windows_
.TipWindow_Close(*args
, **kwargs
)
1879 class TipWindowPtr(TipWindow
):
1880 def __init__(self
, this
):
1882 if not hasattr(self
,"thisown"): self
.thisown
= 0
1883 self
.__class
__ = TipWindow
1884 _windows_
.TipWindow_swigregister(TipWindowPtr
)
1886 #---------------------------------------------------------------------------
1888 class VScrolledWindow(Panel
):
1889 """Proxy of C++ VScrolledWindow class"""
1891 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1892 def __init__(self
, *args
, **kwargs
):
1894 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1895 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
1897 newobj
= _windows_
.new_VScrolledWindow(*args
, **kwargs
)
1898 self
.this
= newobj
.this
1901 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1903 def _setCallbackInfo(*args
, **kwargs
):
1904 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1905 return _windows_
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1907 def Create(*args
, **kwargs
):
1909 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1910 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
1912 return _windows_
.VScrolledWindow_Create(*args
, **kwargs
)
1914 def SetLineCount(*args
, **kwargs
):
1915 """SetLineCount(self, size_t count)"""
1916 return _windows_
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1918 def ScrollToLine(*args
, **kwargs
):
1919 """ScrollToLine(self, size_t line) -> bool"""
1920 return _windows_
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1922 def ScrollLines(*args
, **kwargs
):
1924 ScrollLines(self, int lines) -> bool
1926 If the platform and window class supports it, scrolls the window by
1927 the given number of lines down, if lines is positive, or up if lines
1928 is negative. Returns True if the window was scrolled, False if it was
1929 already on top/bottom and nothing was done.
1931 return _windows_
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1933 def ScrollPages(*args
, **kwargs
):
1935 ScrollPages(self, int pages) -> bool
1937 If the platform and window class supports it, scrolls the window by
1938 the given number of pages down, if pages is positive, or up if pages
1939 is negative. Returns True if the window was scrolled, False if it was
1940 already on top/bottom and nothing was done.
1942 return _windows_
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1944 def RefreshLine(*args
, **kwargs
):
1945 """RefreshLine(self, size_t line)"""
1946 return _windows_
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1948 def RefreshLines(*args
, **kwargs
):
1949 """RefreshLines(self, size_t from, size_t to)"""
1950 return _windows_
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1952 def HitTestXY(*args
, **kwargs
):
1954 HitTestXY(self, int x, int y) -> int
1956 Test where the given (in client coords) point lies
1958 return _windows_
.VScrolledWindow_HitTestXY(*args
, **kwargs
)
1960 def HitTest(*args
, **kwargs
):
1962 HitTest(self, Point pt) -> int
1964 Test where the given (in client coords) point lies
1966 return _windows_
.VScrolledWindow_HitTest(*args
, **kwargs
)
1968 def RefreshAll(*args
, **kwargs
):
1969 """RefreshAll(self)"""
1970 return _windows_
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1972 def GetLineCount(*args
, **kwargs
):
1973 """GetLineCount(self) -> size_t"""
1974 return _windows_
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1976 def GetVisibleBegin(*args
, **kwargs
):
1977 """GetVisibleBegin(self) -> size_t"""
1978 return _windows_
.VScrolledWindow_GetVisibleBegin(*args
, **kwargs
)
1980 def GetVisibleEnd(*args
, **kwargs
):
1981 """GetVisibleEnd(self) -> size_t"""
1982 return _windows_
.VScrolledWindow_GetVisibleEnd(*args
, **kwargs
)
1984 def IsVisible(*args
, **kwargs
):
1985 """IsVisible(self, size_t line) -> bool"""
1986 return _windows_
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1988 def GetFirstVisibleLine(*args
, **kwargs
):
1989 """GetFirstVisibleLine(self) -> size_t"""
1990 return _windows_
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1992 def GetLastVisibleLine(*args
, **kwargs
):
1993 """GetLastVisibleLine(self) -> size_t"""
1994 return _windows_
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1997 class VScrolledWindowPtr(VScrolledWindow
):
1998 def __init__(self
, this
):
2000 if not hasattr(self
,"thisown"): self
.thisown
= 0
2001 self
.__class
__ = VScrolledWindow
2002 _windows_
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
2004 def PreVScrolledWindow(*args
, **kwargs
):
2005 """PreVScrolledWindow() -> VScrolledWindow"""
2006 val
= _windows_
.new_PreVScrolledWindow(*args
, **kwargs
)
2010 class VListBox(VScrolledWindow
):
2011 """Proxy of C++ VListBox class"""
2013 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2014 def __init__(self
, *args
, **kwargs
):
2016 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2017 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
2019 newobj
= _windows_
.new_VListBox(*args
, **kwargs
)
2020 self
.this
= newobj
.this
2023 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
2025 def _setCallbackInfo(*args
, **kwargs
):
2026 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2027 return _windows_
.VListBox__setCallbackInfo(*args
, **kwargs
)
2029 def Create(*args
, **kwargs
):
2031 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2032 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
2034 return _windows_
.VListBox_Create(*args
, **kwargs
)
2036 def GetItemCount(*args
, **kwargs
):
2037 """GetItemCount(self) -> size_t"""
2038 return _windows_
.VListBox_GetItemCount(*args
, **kwargs
)
2040 def HasMultipleSelection(*args
, **kwargs
):
2041 """HasMultipleSelection(self) -> bool"""
2042 return _windows_
.VListBox_HasMultipleSelection(*args
, **kwargs
)
2044 def GetSelection(*args
, **kwargs
):
2045 """GetSelection(self) -> int"""
2046 return _windows_
.VListBox_GetSelection(*args
, **kwargs
)
2048 def IsCurrent(*args
, **kwargs
):
2049 """IsCurrent(self, size_t item) -> bool"""
2050 return _windows_
.VListBox_IsCurrent(*args
, **kwargs
)
2052 def IsSelected(*args
, **kwargs
):
2053 """IsSelected(self, size_t item) -> bool"""
2054 return _windows_
.VListBox_IsSelected(*args
, **kwargs
)
2056 def GetSelectedCount(*args
, **kwargs
):
2057 """GetSelectedCount(self) -> size_t"""
2058 return _windows_
.VListBox_GetSelectedCount(*args
, **kwargs
)
2060 def GetFirstSelected(*args
, **kwargs
):
2061 """GetFirstSelected(self) -> PyObject"""
2062 return _windows_
.VListBox_GetFirstSelected(*args
, **kwargs
)
2064 def GetNextSelected(*args
, **kwargs
):
2065 """GetNextSelected(self, unsigned long cookie) -> PyObject"""
2066 return _windows_
.VListBox_GetNextSelected(*args
, **kwargs
)
2068 def GetMargins(*args
, **kwargs
):
2069 """GetMargins(self) -> Point"""
2070 return _windows_
.VListBox_GetMargins(*args
, **kwargs
)
2072 def GetSelectionBackground(*args
, **kwargs
):
2073 """GetSelectionBackground(self) -> Colour"""
2074 return _windows_
.VListBox_GetSelectionBackground(*args
, **kwargs
)
2076 def SetItemCount(*args
, **kwargs
):
2077 """SetItemCount(self, size_t count)"""
2078 return _windows_
.VListBox_SetItemCount(*args
, **kwargs
)
2080 def Clear(*args
, **kwargs
):
2082 return _windows_
.VListBox_Clear(*args
, **kwargs
)
2084 def SetSelection(*args
, **kwargs
):
2085 """SetSelection(self, int selection)"""
2086 return _windows_
.VListBox_SetSelection(*args
, **kwargs
)
2088 def Select(*args
, **kwargs
):
2089 """Select(self, size_t item, bool select=True) -> bool"""
2090 return _windows_
.VListBox_Select(*args
, **kwargs
)
2092 def SelectRange(*args
, **kwargs
):
2093 """SelectRange(self, size_t from, size_t to) -> bool"""
2094 return _windows_
.VListBox_SelectRange(*args
, **kwargs
)
2096 def Toggle(*args
, **kwargs
):
2097 """Toggle(self, size_t item)"""
2098 return _windows_
.VListBox_Toggle(*args
, **kwargs
)
2100 def SelectAll(*args
, **kwargs
):
2101 """SelectAll(self) -> bool"""
2102 return _windows_
.VListBox_SelectAll(*args
, **kwargs
)
2104 def DeselectAll(*args
, **kwargs
):
2105 """DeselectAll(self) -> bool"""
2106 return _windows_
.VListBox_DeselectAll(*args
, **kwargs
)
2108 def SetMargins(*args
, **kwargs
):
2109 """SetMargins(self, Point pt)"""
2110 return _windows_
.VListBox_SetMargins(*args
, **kwargs
)
2112 def SetMarginsXY(*args
, **kwargs
):
2113 """SetMarginsXY(self, int x, int y)"""
2114 return _windows_
.VListBox_SetMarginsXY(*args
, **kwargs
)
2116 def SetSelectionBackground(*args
, **kwargs
):
2117 """SetSelectionBackground(self, Colour col)"""
2118 return _windows_
.VListBox_SetSelectionBackground(*args
, **kwargs
)
2121 class VListBoxPtr(VListBox
):
2122 def __init__(self
, this
):
2124 if not hasattr(self
,"thisown"): self
.thisown
= 0
2125 self
.__class
__ = VListBox
2126 _windows_
.VListBox_swigregister(VListBoxPtr
)
2127 VListBoxNameStr
= cvar
.VListBoxNameStr
2129 def PreVListBox(*args
, **kwargs
):
2130 """PreVListBox() -> VListBox"""
2131 val
= _windows_
.new_PreVListBox(*args
, **kwargs
)
2135 class HtmlListBox(VListBox
):
2136 """Proxy of C++ HtmlListBox class"""
2138 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2139 def __init__(self
, *args
, **kwargs
):
2141 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2142 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
2144 newobj
= _windows_
.new_HtmlListBox(*args
, **kwargs
)
2145 self
.this
= newobj
.this
2148 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
2150 def _setCallbackInfo(*args
, **kwargs
):
2151 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2152 return _windows_
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
2154 def Create(*args
, **kwargs
):
2156 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2157 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
2159 return _windows_
.HtmlListBox_Create(*args
, **kwargs
)
2161 def RefreshAll(*args
, **kwargs
):
2162 """RefreshAll(self)"""
2163 return _windows_
.HtmlListBox_RefreshAll(*args
, **kwargs
)
2165 def SetItemCount(*args
, **kwargs
):
2166 """SetItemCount(self, size_t count)"""
2167 return _windows_
.HtmlListBox_SetItemCount(*args
, **kwargs
)
2169 def GetFileSystem(*args
, **kwargs
):
2170 """GetFileSystem(self) -> FileSystem"""
2171 return _windows_
.HtmlListBox_GetFileSystem(*args
, **kwargs
)
2174 class HtmlListBoxPtr(HtmlListBox
):
2175 def __init__(self
, this
):
2177 if not hasattr(self
,"thisown"): self
.thisown
= 0
2178 self
.__class
__ = HtmlListBox
2179 _windows_
.HtmlListBox_swigregister(HtmlListBoxPtr
)
2181 def PreHtmlListBox(*args
, **kwargs
):
2182 """PreHtmlListBox() -> HtmlListBox"""
2183 val
= _windows_
.new_PreHtmlListBox(*args
, **kwargs
)
2187 #---------------------------------------------------------------------------
2189 class TaskBarIcon(_core
.EvtHandler
):
2190 """Proxy of C++ TaskBarIcon class"""
2192 return "<%s.%s; proxy of C++ wxPyTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2193 def __init__(self
, *args
, **kwargs
):
2194 """__init__(self) -> TaskBarIcon"""
2195 newobj
= _windows_
.new_TaskBarIcon(*args
, **kwargs
)
2196 self
.this
= newobj
.this
2199 self
._setCallbackInfo
(self
, TaskBarIcon
, 0)
2201 def _setCallbackInfo(*args
, **kwargs
):
2202 """_setCallbackInfo(self, PyObject self, PyObject _class, int incref)"""
2203 return _windows_
.TaskBarIcon__setCallbackInfo(*args
, **kwargs
)
2205 def Destroy(*args
, **kwargs
):
2209 Deletes the C++ object this Python object is a proxy for.
2211 return _windows_
.TaskBarIcon_Destroy(*args
, **kwargs
)
2213 def IsOk(*args
, **kwargs
):
2214 """IsOk(self) -> bool"""
2215 return _windows_
.TaskBarIcon_IsOk(*args
, **kwargs
)
2217 def __nonzero__(self
): return self
.IsOk()
2218 def IsIconInstalled(*args
, **kwargs
):
2219 """IsIconInstalled(self) -> bool"""
2220 return _windows_
.TaskBarIcon_IsIconInstalled(*args
, **kwargs
)
2222 def SetIcon(*args
, **kwargs
):
2223 """SetIcon(self, Icon icon, String tooltip=EmptyString) -> bool"""
2224 return _windows_
.TaskBarIcon_SetIcon(*args
, **kwargs
)
2226 def RemoveIcon(*args
, **kwargs
):
2227 """RemoveIcon(self) -> bool"""
2228 return _windows_
.TaskBarIcon_RemoveIcon(*args
, **kwargs
)
2230 def PopupMenu(*args
, **kwargs
):
2231 """PopupMenu(self, Menu menu) -> bool"""
2232 return _windows_
.TaskBarIcon_PopupMenu(*args
, **kwargs
)
2235 class TaskBarIconPtr(TaskBarIcon
):
2236 def __init__(self
, this
):
2238 if not hasattr(self
,"thisown"): self
.thisown
= 0
2239 self
.__class
__ = TaskBarIcon
2240 _windows_
.TaskBarIcon_swigregister(TaskBarIconPtr
)
2242 class TaskBarIconEvent(_core
.Event
):
2243 """Proxy of C++ TaskBarIconEvent class"""
2245 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2246 def __init__(self
, *args
, **kwargs
):
2247 """__init__(self, wxEventType evtType, wxTaskBarIcon tbIcon) -> TaskBarIconEvent"""
2248 newobj
= _windows_
.new_TaskBarIconEvent(*args
, **kwargs
)
2249 self
.this
= newobj
.this
2253 class TaskBarIconEventPtr(TaskBarIconEvent
):
2254 def __init__(self
, this
):
2256 if not hasattr(self
,"thisown"): self
.thisown
= 0
2257 self
.__class
__ = TaskBarIconEvent
2258 _windows_
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
2260 wxEVT_TASKBAR_MOVE
= _windows_
.wxEVT_TASKBAR_MOVE
2261 wxEVT_TASKBAR_LEFT_DOWN
= _windows_
.wxEVT_TASKBAR_LEFT_DOWN
2262 wxEVT_TASKBAR_LEFT_UP
= _windows_
.wxEVT_TASKBAR_LEFT_UP
2263 wxEVT_TASKBAR_RIGHT_DOWN
= _windows_
.wxEVT_TASKBAR_RIGHT_DOWN
2264 wxEVT_TASKBAR_RIGHT_UP
= _windows_
.wxEVT_TASKBAR_RIGHT_UP
2265 wxEVT_TASKBAR_LEFT_DCLICK
= _windows_
.wxEVT_TASKBAR_LEFT_DCLICK
2266 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows_
.wxEVT_TASKBAR_RIGHT_DCLICK
2267 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
2268 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
2269 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
2270 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
2271 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
2272 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
2273 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
2275 #---------------------------------------------------------------------------
2277 class ColourData(_core
.Object
):
2279 This class holds a variety of information related to the colour
2280 chooser dialog, used to transfer settings and results to and from the
2284 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2285 def __init__(self
, *args
, **kwargs
):
2287 __init__(self) -> ColourData
2289 Constructor, sets default values.
2291 newobj
= _windows_
.new_ColourData(*args
, **kwargs
)
2292 self
.this
= newobj
.this
2295 def __del__(self
, destroy
=_windows_
.delete_ColourData
):
2298 if self
.thisown
: destroy(self
)
2301 def GetChooseFull(*args
, **kwargs
):
2303 GetChooseFull(self) -> bool
2305 Under Windows, determines whether the Windows colour dialog will
2306 display the full dialog with custom colour selection controls. Has no
2307 meaning under other platforms. The default value is true.
2309 return _windows_
.ColourData_GetChooseFull(*args
, **kwargs
)
2311 def GetColour(*args
, **kwargs
):
2313 GetColour(self) -> Colour
2315 Gets the colour (pre)selected by the dialog.
2317 return _windows_
.ColourData_GetColour(*args
, **kwargs
)
2319 def GetCustomColour(*args
, **kwargs
):
2321 GetCustomColour(self, int i) -> Colour
2323 Gets the i'th custom colour associated with the colour dialog. i
2324 should be an integer between 0 and 15. The default custom colours are
2325 all invalid colours.
2327 return _windows_
.ColourData_GetCustomColour(*args
, **kwargs
)
2329 def SetChooseFull(*args
, **kwargs
):
2331 SetChooseFull(self, int flag)
2333 Under Windows, tells the Windows colour dialog to display the full
2334 dialog with custom colour selection controls. Under other platforms,
2335 has no effect. The default value is true.
2337 return _windows_
.ColourData_SetChooseFull(*args
, **kwargs
)
2339 def SetColour(*args
, **kwargs
):
2341 SetColour(self, Colour colour)
2343 Sets the default colour for the colour dialog. The default colour is
2346 return _windows_
.ColourData_SetColour(*args
, **kwargs
)
2348 def SetCustomColour(*args
, **kwargs
):
2350 SetCustomColour(self, int i, Colour colour)
2352 Sets the i'th custom colour for the colour dialog. i should be an
2353 integer between 0 and 15. The default custom colours are all invalid colours.
2355 return _windows_
.ColourData_SetCustomColour(*args
, **kwargs
)
2358 class ColourDataPtr(ColourData
):
2359 def __init__(self
, this
):
2361 if not hasattr(self
,"thisown"): self
.thisown
= 0
2362 self
.__class
__ = ColourData
2363 _windows_
.ColourData_swigregister(ColourDataPtr
)
2364 FileSelectorPromptStr
= cvar
.FileSelectorPromptStr
2365 DirSelectorPromptStr
= cvar
.DirSelectorPromptStr
2366 DirDialogNameStr
= cvar
.DirDialogNameStr
2367 FileSelectorDefaultWildcardStr
= cvar
.FileSelectorDefaultWildcardStr
2368 GetTextFromUserPromptStr
= cvar
.GetTextFromUserPromptStr
2369 MessageBoxCaptionStr
= cvar
.MessageBoxCaptionStr
2371 class ColourDialog(Dialog
):
2372 """This class represents the colour chooser dialog."""
2374 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2375 def __init__(self
, *args
, **kwargs
):
2377 __init__(self, Window parent, ColourData data=None) -> ColourDialog
2379 Constructor. Pass a parent window, and optionally a `wx.ColourData`,
2380 which will be copied to the colour dialog's internal ColourData
2383 newobj
= _windows_
.new_ColourDialog(*args
, **kwargs
)
2384 self
.this
= newobj
.this
2387 self
._setOORInfo
(self
)
2389 def GetColourData(*args
, **kwargs
):
2391 GetColourData(self) -> ColourData
2393 Returns a reference to the `wx.ColourData` used by the dialog.
2395 return _windows_
.ColourDialog_GetColourData(*args
, **kwargs
)
2398 class ColourDialogPtr(ColourDialog
):
2399 def __init__(self
, this
):
2401 if not hasattr(self
,"thisown"): self
.thisown
= 0
2402 self
.__class
__ = ColourDialog
2403 _windows_
.ColourDialog_swigregister(ColourDialogPtr
)
2406 def GetColourFromUser(*args
, **kwargs
):
2408 GetColourFromUser(Window parent=(wxWindow *) NULL, Colour colInit=wxNullColour,
2409 String caption=EmptyString) -> Colour
2411 return _windows_
.GetColourFromUser(*args
, **kwargs
)
2412 class DirDialog(Dialog
):
2414 wx.DirDialog allows the user to select a directory by browising the
2418 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2419 def __init__(self
, *args
, **kwargs
):
2421 __init__(self, Window parent, String message=DirSelectorPromptStr,
2422 String defaultPath=EmptyString, long style=0,
2423 Point pos=DefaultPosition, Size size=DefaultSize,
2424 String name=DirDialogNameStr) -> DirDialog
2426 Constructor. Use ShowModal method to show the dialog.
2428 newobj
= _windows_
.new_DirDialog(*args
, **kwargs
)
2429 self
.this
= newobj
.this
2432 self
._setOORInfo
(self
)
2434 def GetPath(*args
, **kwargs
):
2436 GetPath(self) -> String
2438 Returns the default or user-selected path.
2440 return _windows_
.DirDialog_GetPath(*args
, **kwargs
)
2442 def GetMessage(*args
, **kwargs
):
2444 GetMessage(self) -> String
2446 Returns the message that will be displayed on the dialog.
2448 return _windows_
.DirDialog_GetMessage(*args
, **kwargs
)
2450 def GetStyle(*args
, **kwargs
):
2452 GetStyle(self) -> long
2454 Returns the dialog style.
2456 return _windows_
.DirDialog_GetStyle(*args
, **kwargs
)
2458 def SetMessage(*args
, **kwargs
):
2460 SetMessage(self, String message)
2462 Sets the message that will be displayed on the dialog.
2464 return _windows_
.DirDialog_SetMessage(*args
, **kwargs
)
2466 def SetPath(*args
, **kwargs
):
2468 SetPath(self, String path)
2470 Sets the default path.
2472 return _windows_
.DirDialog_SetPath(*args
, **kwargs
)
2475 class DirDialogPtr(DirDialog
):
2476 def __init__(self
, this
):
2478 if not hasattr(self
,"thisown"): self
.thisown
= 0
2479 self
.__class
__ = DirDialog
2480 _windows_
.DirDialog_swigregister(DirDialogPtr
)
2482 class FileDialog(Dialog
):
2484 wx.FileDialog allows the user to select one or more files from the
2488 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2489 def __init__(self
, *args
, **kwargs
):
2491 __init__(self, Window parent, String message=FileSelectorPromptStr,
2492 String defaultDir=EmptyString, String defaultFile=EmptyString,
2493 String wildcard=FileSelectorDefaultWildcardStr,
2494 long style=0, Point pos=DefaultPosition) -> FileDialog
2496 Constructor. Use ShowModal method to show the dialog.
2498 newobj
= _windows_
.new_FileDialog(*args
, **kwargs
)
2499 self
.this
= newobj
.this
2502 self
._setOORInfo
(self
)
2504 def SetMessage(*args
, **kwargs
):
2506 SetMessage(self, String message)
2508 Sets the message that will be displayed on the dialog.
2510 return _windows_
.FileDialog_SetMessage(*args
, **kwargs
)
2512 def SetPath(*args
, **kwargs
):
2514 SetPath(self, String path)
2516 Sets the path (the combined directory and filename that will be
2517 returned when the dialog is dismissed).
2519 return _windows_
.FileDialog_SetPath(*args
, **kwargs
)
2521 def SetDirectory(*args
, **kwargs
):
2523 SetDirectory(self, String dir)
2525 Sets the default directory.
2527 return _windows_
.FileDialog_SetDirectory(*args
, **kwargs
)
2529 def SetFilename(*args
, **kwargs
):
2531 SetFilename(self, String name)
2533 Sets the default filename.
2535 return _windows_
.FileDialog_SetFilename(*args
, **kwargs
)
2537 def SetWildcard(*args
, **kwargs
):
2539 SetWildcard(self, String wildCard)
2541 Sets the wildcard, which can contain multiple file types, for
2544 "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
2547 return _windows_
.FileDialog_SetWildcard(*args
, **kwargs
)
2549 def SetStyle(*args
, **kwargs
):
2551 SetStyle(self, long style)
2553 Sets the dialog style.
2555 return _windows_
.FileDialog_SetStyle(*args
, **kwargs
)
2557 def SetFilterIndex(*args
, **kwargs
):
2559 SetFilterIndex(self, int filterIndex)
2561 Sets the default filter index, starting from zero.
2563 return _windows_
.FileDialog_SetFilterIndex(*args
, **kwargs
)
2565 def GetMessage(*args
, **kwargs
):
2567 GetMessage(self) -> String
2569 Returns the message that will be displayed on the dialog.
2571 return _windows_
.FileDialog_GetMessage(*args
, **kwargs
)
2573 def GetPath(*args
, **kwargs
):
2575 GetPath(self) -> String
2577 Returns the full path (directory and filename) of the selected file.
2579 return _windows_
.FileDialog_GetPath(*args
, **kwargs
)
2581 def GetDirectory(*args
, **kwargs
):
2583 GetDirectory(self) -> String
2585 Returns the default directory.
2587 return _windows_
.FileDialog_GetDirectory(*args
, **kwargs
)
2589 def GetFilename(*args
, **kwargs
):
2591 GetFilename(self) -> String
2593 Returns the default filename.
2595 return _windows_
.FileDialog_GetFilename(*args
, **kwargs
)
2597 def GetWildcard(*args
, **kwargs
):
2599 GetWildcard(self) -> String
2601 Returns the file dialog wildcard.
2603 return _windows_
.FileDialog_GetWildcard(*args
, **kwargs
)
2605 def GetStyle(*args
, **kwargs
):
2607 GetStyle(self) -> long
2609 Returns the dialog style.
2611 return _windows_
.FileDialog_GetStyle(*args
, **kwargs
)
2613 def GetFilterIndex(*args
, **kwargs
):
2615 GetFilterIndex(self) -> int
2617 Returns the index into the list of filters supplied, optionally, in
2618 the wildcard parameter. Before the dialog is shown, this is the index
2619 which will be used when the dialog is first displayed. After the
2620 dialog is shown, this is the index selected by the user.
2622 return _windows_
.FileDialog_GetFilterIndex(*args
, **kwargs
)
2624 def GetFilenames(*args
, **kwargs
):
2626 GetFilenames(self) -> PyObject
2628 Returns a list of filenames chosen in the dialog. This function
2629 should only be used with the dialogs which have wx.MULTIPLE style, use
2630 GetFilename for the others.
2632 return _windows_
.FileDialog_GetFilenames(*args
, **kwargs
)
2634 def GetPaths(*args
, **kwargs
):
2636 GetPaths(self) -> PyObject
2638 Fills the array paths with the full paths of the files chosen. This
2639 function should only be used with the dialogs which have wx.MULTIPLE
2640 style, use GetPath for the others.
2642 return _windows_
.FileDialog_GetPaths(*args
, **kwargs
)
2645 class FileDialogPtr(FileDialog
):
2646 def __init__(self
, this
):
2648 if not hasattr(self
,"thisown"): self
.thisown
= 0
2649 self
.__class
__ = FileDialog
2650 _windows_
.FileDialog_swigregister(FileDialogPtr
)
2652 CHOICEDLG_STYLE
= _windows_
.CHOICEDLG_STYLE
2653 class MultiChoiceDialog(Dialog
):
2654 """A simple dialog with a multi selection listbox."""
2656 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2657 def __init__(self
, *args
, **kwargs
):
2659 __init__(self, Window parent, String message, String caption,
2660 List choices=EmptyList, long style=CHOICEDLG_STYLE,
2661 Point pos=DefaultPosition) -> MultiChoiceDialog
2663 Constructor. Use the `ShowModal` method to show the dialog.
2665 :param parent: The parent window.
2666 :param message: Text to display above the list of selections.
2667 :param caption: Text to use in the title bar of the dialog.
2668 :param choices: A list of strings or unicode objects that the
2669 user is allowed to choose from.
2670 :param style: Styles to apply to the dialog. The default value is
2671 equivallent to wx.DEFAULT_DIALOG_STYLE|wx.RESIZE_BORDER|wx.OK|wx.CANCEL|wx.CENTER.
2672 :param pos: Where to position the dialog (not used on Windows)
2676 newobj
= _windows_
.new_MultiChoiceDialog(*args
, **kwargs
)
2677 self
.this
= newobj
.this
2680 self
._setOORInfo
(self
)
2682 def SetSelections(*args
, **kwargs
):
2684 SetSelections(List selections)
2686 Specify the items in the list that should be selected, using a list of
2687 integers. The list should specify the indexes of the items that
2690 return _windows_
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
2692 def GetSelections(*args
, **kwargs
):
2694 GetSelections() -> [selections]
2696 Returns a list of integers representing the items that are selected.
2697 If an item is selected then its index will appear in the list.
2699 return _windows_
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
2702 class MultiChoiceDialogPtr(MultiChoiceDialog
):
2703 def __init__(self
, this
):
2705 if not hasattr(self
,"thisown"): self
.thisown
= 0
2706 self
.__class
__ = MultiChoiceDialog
2707 _windows_
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
2709 class SingleChoiceDialog(Dialog
):
2710 """A simple dialog with a single selection listbox."""
2712 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2713 def __init__(self
, *args
, **kwargs
):
2715 __init__(Window parent, String message, String caption,
2716 List choices=EmptyList, long style=CHOICEDLG_STYLE,
2717 Point pos=DefaultPosition) -> SingleChoiceDialog
2719 Constructor. Use ShowModal method to show the dialog.
2721 newobj
= _windows_
.new_SingleChoiceDialog(*args
, **kwargs
)
2722 self
.this
= newobj
.this
2725 self
._setOORInfo
(self
)
2727 def GetSelection(*args
, **kwargs
):
2729 GetSelection(self) -> int
2731 Get the index of teh currently selected item.
2733 return _windows_
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
2735 def GetStringSelection(*args
, **kwargs
):
2737 GetStringSelection(self) -> String
2739 Returns the string value of the currently selected item
2741 return _windows_
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
2743 def SetSelection(*args
, **kwargs
):
2745 SetSelection(self, int sel)
2747 Set the current selected item to sel
2749 return _windows_
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
2752 class SingleChoiceDialogPtr(SingleChoiceDialog
):
2753 def __init__(self
, this
):
2755 if not hasattr(self
,"thisown"): self
.thisown
= 0
2756 self
.__class
__ = SingleChoiceDialog
2757 _windows_
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
2759 TextEntryDialogStyle
= _windows_
.TextEntryDialogStyle
2760 class TextEntryDialog(Dialog
):
2761 """A dialog with text control, [ok] and [cancel] buttons"""
2763 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2764 def __init__(self
, *args
, **kwargs
):
2766 __init__(self, Window parent, String message, String caption=GetTextFromUserPromptStr,
2767 String defaultValue=EmptyString,
2768 long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> TextEntryDialog
2770 Constructor. Use ShowModal method to show the dialog.
2772 newobj
= _windows_
.new_TextEntryDialog(*args
, **kwargs
)
2773 self
.this
= newobj
.this
2776 self
._setOORInfo
(self
)
2778 def GetValue(*args
, **kwargs
):
2780 GetValue(self) -> String
2782 Returns the text that the user has entered if the user has pressed OK,
2783 or the original value if the user has pressed Cancel.
2785 return _windows_
.TextEntryDialog_GetValue(*args
, **kwargs
)
2787 def SetValue(*args
, **kwargs
):
2789 SetValue(self, String value)
2791 Sets the default text value.
2793 return _windows_
.TextEntryDialog_SetValue(*args
, **kwargs
)
2796 class TextEntryDialogPtr(TextEntryDialog
):
2797 def __init__(self
, this
):
2799 if not hasattr(self
,"thisown"): self
.thisown
= 0
2800 self
.__class
__ = TextEntryDialog
2801 _windows_
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
2803 class PasswordEntryDialog(TextEntryDialog
):
2804 """Proxy of C++ PasswordEntryDialog class"""
2806 return "<%s.%s; proxy of C++ wxPasswordEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2807 def __init__(self
, *args
, **kwargs
):
2809 __init__(self, Window parent, String message, String caption=GetPasswordFromUserPromptStr,
2810 String value=EmptyString,
2811 long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> PasswordEntryDialog
2813 newobj
= _windows_
.new_PasswordEntryDialog(*args
, **kwargs
)
2814 self
.this
= newobj
.this
2818 class PasswordEntryDialogPtr(PasswordEntryDialog
):
2819 def __init__(self
, this
):
2821 if not hasattr(self
,"thisown"): self
.thisown
= 0
2822 self
.__class
__ = PasswordEntryDialog
2823 _windows_
.PasswordEntryDialog_swigregister(PasswordEntryDialogPtr
)
2824 GetPasswordFromUserPromptStr
= cvar
.GetPasswordFromUserPromptStr
2826 class FontData(_core
.Object
):
2828 This class holds a variety of information related to font dialogs and
2829 is used to transfer settings to and results from a `wx.FontDialog`.
2832 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2833 def __init__(self
, *args
, **kwargs
):
2835 __init__(self) -> FontData
2837 This class holds a variety of information related to font dialogs and
2838 is used to transfer settings to and results from a `wx.FontDialog`.
2840 newobj
= _windows_
.new_FontData(*args
, **kwargs
)
2841 self
.this
= newobj
.this
2844 def __del__(self
, destroy
=_windows_
.delete_FontData
):
2847 if self
.thisown
: destroy(self
)
2850 def EnableEffects(*args
, **kwargs
):
2852 EnableEffects(self, bool enable)
2854 Enables or disables 'effects' under MS Windows only. This refers to
2855 the controls for manipulating colour, strikeout and underline
2856 properties. The default value is true.
2858 return _windows_
.FontData_EnableEffects(*args
, **kwargs
)
2860 def GetAllowSymbols(*args
, **kwargs
):
2862 GetAllowSymbols(self) -> bool
2864 Under MS Windows, returns a flag determining whether symbol fonts can
2865 be selected. Has no effect on other platforms. The default value is
2868 return _windows_
.FontData_GetAllowSymbols(*args
, **kwargs
)
2870 def GetColour(*args
, **kwargs
):
2872 GetColour(self) -> Colour
2874 Gets the colour associated with the font dialog. The default value is
2877 return _windows_
.FontData_GetColour(*args
, **kwargs
)
2879 def GetChosenFont(*args
, **kwargs
):
2881 GetChosenFont(self) -> Font
2883 Gets the font chosen by the user.
2885 return _windows_
.FontData_GetChosenFont(*args
, **kwargs
)
2887 def GetEnableEffects(*args
, **kwargs
):
2889 GetEnableEffects(self) -> bool
2891 Determines whether 'effects' are enabled under Windows.
2893 return _windows_
.FontData_GetEnableEffects(*args
, **kwargs
)
2895 def GetInitialFont(*args
, **kwargs
):
2897 GetInitialFont(self) -> Font
2899 Gets the font that will be initially used by the font dialog. This
2900 should have previously been set by the application.
2902 return _windows_
.FontData_GetInitialFont(*args
, **kwargs
)
2904 def GetShowHelp(*args
, **kwargs
):
2906 GetShowHelp(self) -> bool
2908 Returns true if the Help button will be shown (Windows only). The
2909 default value is false.
2911 return _windows_
.FontData_GetShowHelp(*args
, **kwargs
)
2913 def SetAllowSymbols(*args
, **kwargs
):
2915 SetAllowSymbols(self, bool allowSymbols)
2917 Under MS Windows, determines whether symbol fonts can be selected. Has
2918 no effect on other platforms. The default value is true.
2920 return _windows_
.FontData_SetAllowSymbols(*args
, **kwargs
)
2922 def SetChosenFont(*args
, **kwargs
):
2924 SetChosenFont(self, Font font)
2926 Sets the font that will be returned to the user (normally for internal
2929 return _windows_
.FontData_SetChosenFont(*args
, **kwargs
)
2931 def SetColour(*args
, **kwargs
):
2933 SetColour(self, Colour colour)
2935 Sets the colour that will be used for the font foreground colour. The
2936 default colour is black.
2938 return _windows_
.FontData_SetColour(*args
, **kwargs
)
2940 def SetInitialFont(*args
, **kwargs
):
2942 SetInitialFont(self, Font font)
2944 Sets the font that will be initially used by the font dialog.
2946 return _windows_
.FontData_SetInitialFont(*args
, **kwargs
)
2948 def SetRange(*args
, **kwargs
):
2950 SetRange(self, int min, int max)
2952 Sets the valid range for the font point size (Windows only). The
2953 default is 0, 0 (unrestricted range).
2955 return _windows_
.FontData_SetRange(*args
, **kwargs
)
2957 def SetShowHelp(*args
, **kwargs
):
2959 SetShowHelp(self, bool showHelp)
2961 Determines whether the Help button will be displayed in the font
2962 dialog (Windows only). The default value is false.
2964 return _windows_
.FontData_SetShowHelp(*args
, **kwargs
)
2967 class FontDataPtr(FontData
):
2968 def __init__(self
, this
):
2970 if not hasattr(self
,"thisown"): self
.thisown
= 0
2971 self
.__class
__ = FontData
2972 _windows_
.FontData_swigregister(FontDataPtr
)
2974 class FontDialog(Dialog
):
2976 wx.FontDialog allows the user to select a system font and its attributes.
2982 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2983 def __init__(self
, *args
, **kwargs
):
2985 __init__(self, Window parent, FontData data) -> FontDialog
2987 Constructor. Pass a parent window and the `wx.FontData` object to be
2988 used to initialize the dialog controls. Call `ShowModal` to display
2989 the dialog. If ShowModal returns ``wx.ID_OK`` then you can fetch the
2990 results with via the `wx.FontData` returned by `GetFontData`.
2992 newobj
= _windows_
.new_FontDialog(*args
, **kwargs
)
2993 self
.this
= newobj
.this
2996 self
._setOORInfo
(self
)
2998 def GetFontData(*args
, **kwargs
):
3000 GetFontData(self) -> FontData
3002 Returns a reference to the internal `wx.FontData` used by the
3005 return _windows_
.FontDialog_GetFontData(*args
, **kwargs
)
3008 class FontDialogPtr(FontDialog
):
3009 def __init__(self
, this
):
3011 if not hasattr(self
,"thisown"): self
.thisown
= 0
3012 self
.__class
__ = FontDialog
3013 _windows_
.FontDialog_swigregister(FontDialogPtr
)
3016 def GetFontFromUser(*args
, **kwargs
):
3017 """GetFontFromUser(Window parent=None, Font fontInit=wxNullFont, String caption=EmptyString) -> Font"""
3018 return _windows_
.GetFontFromUser(*args
, **kwargs
)
3019 class MessageDialog(Dialog
):
3021 This class provides a simple dialog that shows a single or multi-line
3022 message, with a choice of OK, Yes, No and/or Cancel buttons.
3025 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3026 def __init__(self
, *args
, **kwargs
):
3028 __init__(self, Window parent, String message, String caption=MessageBoxCaptionStr,
3029 long style=wxOK|wxCANCEL|wxCENTRE,
3030 Point pos=DefaultPosition) -> MessageDialog
3032 Constructor, use `ShowModal` to display the dialog.
3034 newobj
= _windows_
.new_MessageDialog(*args
, **kwargs
)
3035 self
.this
= newobj
.this
3038 self
._setOORInfo
(self
)
3041 class MessageDialogPtr(MessageDialog
):
3042 def __init__(self
, this
):
3044 if not hasattr(self
,"thisown"): self
.thisown
= 0
3045 self
.__class
__ = MessageDialog
3046 _windows_
.MessageDialog_swigregister(MessageDialogPtr
)
3048 class ProgressDialog(Frame
):
3050 A dialog that shows a short message and a progress bar. Optionally, it
3051 can display an ABORT button.
3054 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3055 def __init__(self
, *args
, **kwargs
):
3057 __init__(self, String title, String message, int maximum=100, Window parent=None,
3058 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
3060 Constructor. Creates the dialog, displays it and disables user input
3061 for other windows, or, if wx.PD_APP_MODAL flag is not given, for its
3064 newobj
= _windows_
.new_ProgressDialog(*args
, **kwargs
)
3065 self
.this
= newobj
.this
3068 self
._setOORInfo
(self
)
3070 def Update(*args
, **kwargs
):
3072 Update(self, int value, String newmsg=EmptyString) -> bool
3074 Updates the dialog, setting the progress bar to the new value and, if
3075 given changes the message above it. The value given should be less
3076 than or equal to the maximum value given to the constructor and the
3077 dialog is closed if it is equal to the maximum. Returns True unless
3078 the Cancel button has been pressed.
3080 If false is returned, the application can either immediately destroy
3081 the dialog or ask the user for the confirmation and if the abort is
3082 not confirmed the dialog may be resumed with Resume function.
3084 return _windows_
.ProgressDialog_Update(*args
, **kwargs
)
3086 def Resume(*args
, **kwargs
):
3090 Can be used to continue with the dialog, after the user had chosen to
3093 return _windows_
.ProgressDialog_Resume(*args
, **kwargs
)
3096 class ProgressDialogPtr(ProgressDialog
):
3097 def __init__(self
, this
):
3099 if not hasattr(self
,"thisown"): self
.thisown
= 0
3100 self
.__class
__ = ProgressDialog
3101 _windows_
.ProgressDialog_swigregister(ProgressDialogPtr
)
3103 FR_DOWN
= _windows_
.FR_DOWN
3104 FR_WHOLEWORD
= _windows_
.FR_WHOLEWORD
3105 FR_MATCHCASE
= _windows_
.FR_MATCHCASE
3106 FR_REPLACEDIALOG
= _windows_
.FR_REPLACEDIALOG
3107 FR_NOUPDOWN
= _windows_
.FR_NOUPDOWN
3108 FR_NOMATCHCASE
= _windows_
.FR_NOMATCHCASE
3109 FR_NOWHOLEWORD
= _windows_
.FR_NOWHOLEWORD
3110 wxEVT_COMMAND_FIND
= _windows_
.wxEVT_COMMAND_FIND
3111 wxEVT_COMMAND_FIND_NEXT
= _windows_
.wxEVT_COMMAND_FIND_NEXT
3112 wxEVT_COMMAND_FIND_REPLACE
= _windows_
.wxEVT_COMMAND_FIND_REPLACE
3113 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows_
.wxEVT_COMMAND_FIND_REPLACE_ALL
3114 wxEVT_COMMAND_FIND_CLOSE
= _windows_
.wxEVT_COMMAND_FIND_CLOSE
3115 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
3116 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
3117 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
3118 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
3119 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
3121 # For backwards compatibility. Should they be removed?
3122 EVT_COMMAND_FIND
= EVT_FIND
3123 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
3124 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
3125 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
3126 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
3128 class FindDialogEvent(_core
.CommandEvent
):
3129 """Events for the FindReplaceDialog"""
3131 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3132 def __init__(self
, *args
, **kwargs
):
3134 __init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent
3136 Events for the FindReplaceDialog
3138 newobj
= _windows_
.new_FindDialogEvent(*args
, **kwargs
)
3139 self
.this
= newobj
.this
3142 def GetFlags(*args
, **kwargs
):
3144 GetFlags(self) -> int
3146 Get the currently selected flags: this is the combination of
3147 wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.
3149 return _windows_
.FindDialogEvent_GetFlags(*args
, **kwargs
)
3151 def GetFindString(*args
, **kwargs
):
3153 GetFindString(self) -> String
3155 Return the string to find (never empty).
3157 return _windows_
.FindDialogEvent_GetFindString(*args
, **kwargs
)
3159 def GetReplaceString(*args
, **kwargs
):
3161 GetReplaceString(self) -> String
3163 Return the string to replace the search string with (only for replace
3164 and replace all events).
3166 return _windows_
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
3168 def GetDialog(*args
, **kwargs
):
3170 GetDialog(self) -> FindReplaceDialog
3172 Return the pointer to the dialog which generated this event.
3174 return _windows_
.FindDialogEvent_GetDialog(*args
, **kwargs
)
3176 def SetFlags(*args
, **kwargs
):
3177 """SetFlags(self, int flags)"""
3178 return _windows_
.FindDialogEvent_SetFlags(*args
, **kwargs
)
3180 def SetFindString(*args
, **kwargs
):
3181 """SetFindString(self, String str)"""
3182 return _windows_
.FindDialogEvent_SetFindString(*args
, **kwargs
)
3184 def SetReplaceString(*args
, **kwargs
):
3185 """SetReplaceString(self, String str)"""
3186 return _windows_
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
3189 class FindDialogEventPtr(FindDialogEvent
):
3190 def __init__(self
, this
):
3192 if not hasattr(self
,"thisown"): self
.thisown
= 0
3193 self
.__class
__ = FindDialogEvent
3194 _windows_
.FindDialogEvent_swigregister(FindDialogEventPtr
)
3196 class FindReplaceData(_core
.Object
):
3198 wx.FindReplaceData holds the data for wx.FindReplaceDialog. It is used
3199 to initialize the dialog with the default values and will keep the
3200 last values from the dialog when it is closed. It is also updated each
3201 time a `wx.FindDialogEvent` is generated so instead of using the
3202 `wx.FindDialogEvent` methods you can also directly query this object.
3204 Note that all SetXXX() methods may only be called before showing the
3205 dialog and calling them has no effect later.
3208 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3209 def __init__(self
, *args
, **kwargs
):
3211 __init__(self, int flags=0) -> FindReplaceData
3213 Constuctor initializes the flags to default value (0).
3215 newobj
= _windows_
.new_FindReplaceData(*args
, **kwargs
)
3216 self
.this
= newobj
.this
3219 def __del__(self
, destroy
=_windows_
.delete_FindReplaceData
):
3222 if self
.thisown
: destroy(self
)
3225 def GetFindString(*args
, **kwargs
):
3227 GetFindString(self) -> String
3229 Get the string to find.
3231 return _windows_
.FindReplaceData_GetFindString(*args
, **kwargs
)
3233 def GetReplaceString(*args
, **kwargs
):
3235 GetReplaceString(self) -> String
3237 Get the replacement string.
3239 return _windows_
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
3241 def GetFlags(*args
, **kwargs
):
3243 GetFlags(self) -> int
3245 Get the combination of flag values.
3247 return _windows_
.FindReplaceData_GetFlags(*args
, **kwargs
)
3249 def SetFlags(*args
, **kwargs
):
3251 SetFlags(self, int flags)
3253 Set the flags to use to initialize the controls of the dialog.
3255 return _windows_
.FindReplaceData_SetFlags(*args
, **kwargs
)
3257 def SetFindString(*args
, **kwargs
):
3259 SetFindString(self, String str)
3261 Set the string to find (used as initial value by the dialog).
3263 return _windows_
.FindReplaceData_SetFindString(*args
, **kwargs
)
3265 def SetReplaceString(*args
, **kwargs
):
3267 SetReplaceString(self, String str)
3269 Set the replacement string (used as initial value by the dialog).
3271 return _windows_
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
3274 class FindReplaceDataPtr(FindReplaceData
):
3275 def __init__(self
, this
):
3277 if not hasattr(self
,"thisown"): self
.thisown
= 0
3278 self
.__class
__ = FindReplaceData
3279 _windows_
.FindReplaceData_swigregister(FindReplaceDataPtr
)
3281 class FindReplaceDialog(Dialog
):
3283 wx.FindReplaceDialog is a standard modeless dialog which is used to
3284 allow the user to search for some text (and possibly replace it with
3285 something else). The actual searching is supposed to be done in the
3286 owner window which is the parent of this dialog. Note that it means
3287 that unlike for the other standard dialogs this one must have a parent
3288 window. Also note that there is no way to use this dialog in a modal
3289 way; it is always, by design and implementation, modeless.
3292 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3293 def __init__(self
, *args
, **kwargs
):
3295 __init__(self, Window parent, FindReplaceData data, String title,
3296 int style=0) -> FindReplaceDialog
3298 Create a FindReplaceDialog. The parent and data parameters must be
3299 non-None. Use Show to display the dialog.
3301 newobj
= _windows_
.new_FindReplaceDialog(*args
, **kwargs
)
3302 self
.this
= newobj
.this
3305 self
._setOORInfo
(self
)
3307 def Create(*args
, **kwargs
):
3309 Create(self, Window parent, FindReplaceData data, String title,
3310 int style=0) -> bool
3312 Create the dialog, for 2-phase create.
3314 return _windows_
.FindReplaceDialog_Create(*args
, **kwargs
)
3316 def GetData(*args
, **kwargs
):
3318 GetData(self) -> FindReplaceData
3320 Get the FindReplaceData object used by this dialog.
3322 return _windows_
.FindReplaceDialog_GetData(*args
, **kwargs
)
3324 def SetData(*args
, **kwargs
):
3326 SetData(self, FindReplaceData data)
3328 Set the FindReplaceData object used by this dialog.
3330 return _windows_
.FindReplaceDialog_SetData(*args
, **kwargs
)
3333 class FindReplaceDialogPtr(FindReplaceDialog
):
3334 def __init__(self
, this
):
3336 if not hasattr(self
,"thisown"): self
.thisown
= 0
3337 self
.__class
__ = FindReplaceDialog
3338 _windows_
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
3340 def PreFindReplaceDialog(*args
, **kwargs
):
3342 PreFindReplaceDialog() -> FindReplaceDialog
3344 Precreate a FindReplaceDialog for 2-phase creation
3346 val
= _windows_
.new_PreFindReplaceDialog(*args
, **kwargs
)
3350 #---------------------------------------------------------------------------
3352 IDM_WINDOWTILE
= _windows_
.IDM_WINDOWTILE
3353 IDM_WINDOWTILEHOR
= _windows_
.IDM_WINDOWTILEHOR
3354 IDM_WINDOWCASCADE
= _windows_
.IDM_WINDOWCASCADE
3355 IDM_WINDOWICONS
= _windows_
.IDM_WINDOWICONS
3356 IDM_WINDOWNEXT
= _windows_
.IDM_WINDOWNEXT
3357 IDM_WINDOWTILEVERT
= _windows_
.IDM_WINDOWTILEVERT
3358 IDM_WINDOWPREV
= _windows_
.IDM_WINDOWPREV
3359 FIRST_MDI_CHILD
= _windows_
.FIRST_MDI_CHILD
3360 LAST_MDI_CHILD
= _windows_
.LAST_MDI_CHILD
3361 class MDIParentFrame(Frame
):
3362 """Proxy of C++ MDIParentFrame class"""
3364 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3365 def __init__(self
, *args
, **kwargs
):
3367 __init__(self, Window parent, int id=-1, String title=EmptyString,
3368 Point pos=DefaultPosition, Size size=DefaultSize,
3369 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3370 String name=FrameNameStr) -> MDIParentFrame
3372 newobj
= _windows_
.new_MDIParentFrame(*args
, **kwargs
)
3373 self
.this
= newobj
.this
3376 self
._setOORInfo
(self
)
3378 def Create(*args
, **kwargs
):
3380 Create(self, Window parent, int id=-1, String title=EmptyString,
3381 Point pos=DefaultPosition, Size size=DefaultSize,
3382 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3383 String name=FrameNameStr) -> bool
3385 return _windows_
.MDIParentFrame_Create(*args
, **kwargs
)
3387 def ActivateNext(*args
, **kwargs
):
3388 """ActivateNext(self)"""
3389 return _windows_
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
3391 def ActivatePrevious(*args
, **kwargs
):
3392 """ActivatePrevious(self)"""
3393 return _windows_
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
3395 def ArrangeIcons(*args
, **kwargs
):
3396 """ArrangeIcons(self)"""
3397 return _windows_
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
3399 def Cascade(*args
, **kwargs
):
3401 return _windows_
.MDIParentFrame_Cascade(*args
, **kwargs
)
3403 def GetActiveChild(*args
, **kwargs
):
3404 """GetActiveChild(self) -> MDIChildFrame"""
3405 return _windows_
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
3407 def GetClientWindow(*args
, **kwargs
):
3408 """GetClientWindow(self) -> MDIClientWindow"""
3409 return _windows_
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
3411 def GetToolBar(*args
, **kwargs
):
3412 """GetToolBar(self) -> Window"""
3413 return _windows_
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
3415 def GetWindowMenu(*args
, **kwargs
):
3416 """GetWindowMenu(self) -> Menu"""
3417 return _windows_
.MDIParentFrame_GetWindowMenu(*args
, **kwargs
)
3419 def SetWindowMenu(*args
, **kwargs
):
3420 """SetWindowMenu(self, Menu menu)"""
3421 return _windows_
.MDIParentFrame_SetWindowMenu(*args
, **kwargs
)
3423 def SetToolBar(*args
, **kwargs
):
3424 """SetToolBar(self, wxToolBar toolbar)"""
3425 return _windows_
.MDIParentFrame_SetToolBar(*args
, **kwargs
)
3427 def Tile(*args
, **kwargs
):
3428 """Tile(self, int orient=HORIZONTAL)"""
3429 return _windows_
.MDIParentFrame_Tile(*args
, **kwargs
)
3432 class MDIParentFramePtr(MDIParentFrame
):
3433 def __init__(self
, this
):
3435 if not hasattr(self
,"thisown"): self
.thisown
= 0
3436 self
.__class
__ = MDIParentFrame
3437 _windows_
.MDIParentFrame_swigregister(MDIParentFramePtr
)
3439 def PreMDIParentFrame(*args
, **kwargs
):
3440 """PreMDIParentFrame() -> MDIParentFrame"""
3441 val
= _windows_
.new_PreMDIParentFrame(*args
, **kwargs
)
3445 class MDIChildFrame(Frame
):
3446 """Proxy of C++ MDIChildFrame class"""
3448 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3449 def __init__(self
, *args
, **kwargs
):
3451 __init__(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3452 Point pos=DefaultPosition, Size size=DefaultSize,
3453 long style=DEFAULT_FRAME_STYLE,
3454 String name=FrameNameStr) -> MDIChildFrame
3456 newobj
= _windows_
.new_MDIChildFrame(*args
, **kwargs
)
3457 self
.this
= newobj
.this
3460 self
._setOORInfo
(self
)
3462 def Create(*args
, **kwargs
):
3464 Create(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3465 Point pos=DefaultPosition, Size size=DefaultSize,
3466 long style=DEFAULT_FRAME_STYLE,
3467 String name=FrameNameStr) -> bool
3469 return _windows_
.MDIChildFrame_Create(*args
, **kwargs
)
3471 def Activate(*args
, **kwargs
):
3472 """Activate(self)"""
3473 return _windows_
.MDIChildFrame_Activate(*args
, **kwargs
)
3475 def Maximize(*args
, **kwargs
):
3476 """Maximize(self, bool maximize=True)"""
3477 return _windows_
.MDIChildFrame_Maximize(*args
, **kwargs
)
3479 def Restore(*args
, **kwargs
):
3481 return _windows_
.MDIChildFrame_Restore(*args
, **kwargs
)
3484 class MDIChildFramePtr(MDIChildFrame
):
3485 def __init__(self
, this
):
3487 if not hasattr(self
,"thisown"): self
.thisown
= 0
3488 self
.__class
__ = MDIChildFrame
3489 _windows_
.MDIChildFrame_swigregister(MDIChildFramePtr
)
3491 def PreMDIChildFrame(*args
, **kwargs
):
3492 """PreMDIChildFrame() -> MDIChildFrame"""
3493 val
= _windows_
.new_PreMDIChildFrame(*args
, **kwargs
)
3497 class MDIClientWindow(_core
.Window
):
3498 """Proxy of C++ MDIClientWindow class"""
3500 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3501 def __init__(self
, *args
, **kwargs
):
3502 """__init__(self, MDIParentFrame parent, long style=0) -> MDIClientWindow"""
3503 newobj
= _windows_
.new_MDIClientWindow(*args
, **kwargs
)
3504 self
.this
= newobj
.this
3507 self
._setOORInfo
(self
)
3509 def Create(*args
, **kwargs
):
3510 """Create(self, MDIParentFrame parent, long style=0) -> bool"""
3511 return _windows_
.MDIClientWindow_Create(*args
, **kwargs
)
3514 class MDIClientWindowPtr(MDIClientWindow
):
3515 def __init__(self
, this
):
3517 if not hasattr(self
,"thisown"): self
.thisown
= 0
3518 self
.__class
__ = MDIClientWindow
3519 _windows_
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
3521 def PreMDIClientWindow(*args
, **kwargs
):
3522 """PreMDIClientWindow() -> MDIClientWindow"""
3523 val
= _windows_
.new_PreMDIClientWindow(*args
, **kwargs
)
3527 #---------------------------------------------------------------------------
3529 class PyWindow(_core
.Window
):
3530 """Proxy of C++ PyWindow class"""
3532 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3533 def __init__(self
, *args
, **kwargs
):
3535 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3536 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyWindow
3538 newobj
= _windows_
.new_PyWindow(*args
, **kwargs
)
3539 self
.this
= newobj
.this
3542 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
3544 def _setCallbackInfo(*args
, **kwargs
):
3545 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3546 return _windows_
.PyWindow__setCallbackInfo(*args
, **kwargs
)
3548 def SetBestSize(*args
, **kwargs
):
3549 """SetBestSize(self, Size size)"""
3550 return _windows_
.PyWindow_SetBestSize(*args
, **kwargs
)
3552 def DoEraseBackground(*args
, **kwargs
):
3553 """DoEraseBackground(self, DC dc) -> bool"""
3554 return _windows_
.PyWindow_DoEraseBackground(*args
, **kwargs
)
3556 def base_DoMoveWindow(*args
, **kwargs
):
3557 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3558 return _windows_
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
3560 def base_DoSetSize(*args
, **kwargs
):
3561 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3562 return _windows_
.PyWindow_base_DoSetSize(*args
, **kwargs
)
3564 def base_DoSetClientSize(*args
, **kwargs
):
3565 """base_DoSetClientSize(self, int width, int height)"""
3566 return _windows_
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
3568 def base_DoSetVirtualSize(*args
, **kwargs
):
3569 """base_DoSetVirtualSize(self, int x, int y)"""
3570 return _windows_
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
3572 def base_DoGetSize(*args
, **kwargs
):
3573 """base_DoGetSize() -> (width, height)"""
3574 return _windows_
.PyWindow_base_DoGetSize(*args
, **kwargs
)
3576 def base_DoGetClientSize(*args
, **kwargs
):
3577 """base_DoGetClientSize() -> (width, height)"""
3578 return _windows_
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
3580 def base_DoGetPosition(*args
, **kwargs
):
3581 """base_DoGetPosition() -> (x,y)"""
3582 return _windows_
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
3584 def base_DoGetVirtualSize(*args
, **kwargs
):
3585 """base_DoGetVirtualSize(self) -> Size"""
3586 return _windows_
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
3588 def base_DoGetBestSize(*args
, **kwargs
):
3589 """base_DoGetBestSize(self) -> Size"""
3590 return _windows_
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
3592 def base_InitDialog(*args
, **kwargs
):
3593 """base_InitDialog(self)"""
3594 return _windows_
.PyWindow_base_InitDialog(*args
, **kwargs
)
3596 def base_TransferDataToWindow(*args
, **kwargs
):
3597 """base_TransferDataToWindow(self) -> bool"""
3598 return _windows_
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
3600 def base_TransferDataFromWindow(*args
, **kwargs
):
3601 """base_TransferDataFromWindow(self) -> bool"""
3602 return _windows_
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
3604 def base_Validate(*args
, **kwargs
):
3605 """base_Validate(self) -> bool"""
3606 return _windows_
.PyWindow_base_Validate(*args
, **kwargs
)
3608 def base_AcceptsFocus(*args
, **kwargs
):
3609 """base_AcceptsFocus(self) -> bool"""
3610 return _windows_
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
3612 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3613 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3614 return _windows_
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3616 def base_GetMaxSize(*args
, **kwargs
):
3617 """base_GetMaxSize(self) -> Size"""
3618 return _windows_
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
3620 def base_AddChild(*args
, **kwargs
):
3621 """base_AddChild(self, Window child)"""
3622 return _windows_
.PyWindow_base_AddChild(*args
, **kwargs
)
3624 def base_RemoveChild(*args
, **kwargs
):
3625 """base_RemoveChild(self, Window child)"""
3626 return _windows_
.PyWindow_base_RemoveChild(*args
, **kwargs
)
3628 def base_ShouldInheritColours(*args
, **kwargs
):
3629 """base_ShouldInheritColours(self) -> bool"""
3630 return _windows_
.PyWindow_base_ShouldInheritColours(*args
, **kwargs
)
3632 def base_GetDefaultAttributes(*args
, **kwargs
):
3633 """base_GetDefaultAttributes(self) -> VisualAttributes"""
3634 return _windows_
.PyWindow_base_GetDefaultAttributes(*args
, **kwargs
)
3636 def base_OnInternalIdle(*args
, **kwargs
):
3637 """base_OnInternalIdle(self)"""
3638 return _windows_
.PyWindow_base_OnInternalIdle(*args
, **kwargs
)
3641 class PyWindowPtr(PyWindow
):
3642 def __init__(self
, this
):
3644 if not hasattr(self
,"thisown"): self
.thisown
= 0
3645 self
.__class
__ = PyWindow
3646 _windows_
.PyWindow_swigregister(PyWindowPtr
)
3648 def PrePyWindow(*args
, **kwargs
):
3649 """PrePyWindow() -> PyWindow"""
3650 val
= _windows_
.new_PrePyWindow(*args
, **kwargs
)
3654 class PyPanel(Panel
):
3655 """Proxy of C++ PyPanel class"""
3657 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3658 def __init__(self
, *args
, **kwargs
):
3660 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3661 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyPanel
3663 newobj
= _windows_
.new_PyPanel(*args
, **kwargs
)
3664 self
.this
= newobj
.this
3667 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3669 def _setCallbackInfo(*args
, **kwargs
):
3670 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3671 return _windows_
.PyPanel__setCallbackInfo(*args
, **kwargs
)
3673 def SetBestSize(*args
, **kwargs
):
3674 """SetBestSize(self, Size size)"""
3675 return _windows_
.PyPanel_SetBestSize(*args
, **kwargs
)
3677 def DoEraseBackground(*args
, **kwargs
):
3678 """DoEraseBackground(self, DC dc) -> bool"""
3679 return _windows_
.PyPanel_DoEraseBackground(*args
, **kwargs
)
3681 def base_DoMoveWindow(*args
, **kwargs
):
3682 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3683 return _windows_
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
3685 def base_DoSetSize(*args
, **kwargs
):
3686 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3687 return _windows_
.PyPanel_base_DoSetSize(*args
, **kwargs
)
3689 def base_DoSetClientSize(*args
, **kwargs
):
3690 """base_DoSetClientSize(self, int width, int height)"""
3691 return _windows_
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
3693 def base_DoSetVirtualSize(*args
, **kwargs
):
3694 """base_DoSetVirtualSize(self, int x, int y)"""
3695 return _windows_
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
3697 def base_DoGetSize(*args
, **kwargs
):
3698 """base_DoGetSize() -> (width, height)"""
3699 return _windows_
.PyPanel_base_DoGetSize(*args
, **kwargs
)
3701 def base_DoGetClientSize(*args
, **kwargs
):
3702 """base_DoGetClientSize() -> (width, height)"""
3703 return _windows_
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
3705 def base_DoGetPosition(*args
, **kwargs
):
3706 """base_DoGetPosition() -> (x,y)"""
3707 return _windows_
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
3709 def base_DoGetVirtualSize(*args
, **kwargs
):
3710 """base_DoGetVirtualSize(self) -> Size"""
3711 return _windows_
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
3713 def base_DoGetBestSize(*args
, **kwargs
):
3714 """base_DoGetBestSize(self) -> Size"""
3715 return _windows_
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
3717 def base_InitDialog(*args
, **kwargs
):
3718 """base_InitDialog(self)"""
3719 return _windows_
.PyPanel_base_InitDialog(*args
, **kwargs
)
3721 def base_TransferDataToWindow(*args
, **kwargs
):
3722 """base_TransferDataToWindow(self) -> bool"""
3723 return _windows_
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
3725 def base_TransferDataFromWindow(*args
, **kwargs
):
3726 """base_TransferDataFromWindow(self) -> bool"""
3727 return _windows_
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
3729 def base_Validate(*args
, **kwargs
):
3730 """base_Validate(self) -> bool"""
3731 return _windows_
.PyPanel_base_Validate(*args
, **kwargs
)
3733 def base_AcceptsFocus(*args
, **kwargs
):
3734 """base_AcceptsFocus(self) -> bool"""
3735 return _windows_
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
3737 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3738 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3739 return _windows_
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3741 def base_GetMaxSize(*args
, **kwargs
):
3742 """base_GetMaxSize(self) -> Size"""
3743 return _windows_
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
3745 def base_AddChild(*args
, **kwargs
):
3746 """base_AddChild(self, Window child)"""
3747 return _windows_
.PyPanel_base_AddChild(*args
, **kwargs
)
3749 def base_RemoveChild(*args
, **kwargs
):
3750 """base_RemoveChild(self, Window child)"""
3751 return _windows_
.PyPanel_base_RemoveChild(*args
, **kwargs
)
3753 def base_ShouldInheritColours(*args
, **kwargs
):
3754 """base_ShouldInheritColours(self) -> bool"""
3755 return _windows_
.PyPanel_base_ShouldInheritColours(*args
, **kwargs
)
3757 def base_GetDefaultAttributes(*args
, **kwargs
):
3758 """base_GetDefaultAttributes(self) -> VisualAttributes"""
3759 return _windows_
.PyPanel_base_GetDefaultAttributes(*args
, **kwargs
)
3761 def base_OnInternalIdle(*args
, **kwargs
):
3762 """base_OnInternalIdle(self)"""
3763 return _windows_
.PyPanel_base_OnInternalIdle(*args
, **kwargs
)
3766 class PyPanelPtr(PyPanel
):
3767 def __init__(self
, this
):
3769 if not hasattr(self
,"thisown"): self
.thisown
= 0
3770 self
.__class
__ = PyPanel
3771 _windows_
.PyPanel_swigregister(PyPanelPtr
)
3773 def PrePyPanel(*args
, **kwargs
):
3774 """PrePyPanel() -> PyPanel"""
3775 val
= _windows_
.new_PrePyPanel(*args
, **kwargs
)
3779 class PyScrolledWindow(ScrolledWindow
):
3780 """Proxy of C++ PyScrolledWindow class"""
3782 return "<%s.%s; proxy of C++ wxPyScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3783 def __init__(self
, *args
, **kwargs
):
3785 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3786 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyScrolledWindow
3788 newobj
= _windows_
.new_PyScrolledWindow(*args
, **kwargs
)
3789 self
.this
= newobj
.this
3792 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyScrolledWindow
)
3794 def _setCallbackInfo(*args
, **kwargs
):
3795 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3796 return _windows_
.PyScrolledWindow__setCallbackInfo(*args
, **kwargs
)
3798 def SetBestSize(*args
, **kwargs
):
3799 """SetBestSize(self, Size size)"""
3800 return _windows_
.PyScrolledWindow_SetBestSize(*args
, **kwargs
)
3802 def DoEraseBackground(*args
, **kwargs
):
3803 """DoEraseBackground(self, DC dc) -> bool"""
3804 return _windows_
.PyScrolledWindow_DoEraseBackground(*args
, **kwargs
)
3806 def base_DoMoveWindow(*args
, **kwargs
):
3807 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3808 return _windows_
.PyScrolledWindow_base_DoMoveWindow(*args
, **kwargs
)
3810 def base_DoSetSize(*args
, **kwargs
):
3811 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3812 return _windows_
.PyScrolledWindow_base_DoSetSize(*args
, **kwargs
)
3814 def base_DoSetClientSize(*args
, **kwargs
):
3815 """base_DoSetClientSize(self, int width, int height)"""
3816 return _windows_
.PyScrolledWindow_base_DoSetClientSize(*args
, **kwargs
)
3818 def base_DoSetVirtualSize(*args
, **kwargs
):
3819 """base_DoSetVirtualSize(self, int x, int y)"""
3820 return _windows_
.PyScrolledWindow_base_DoSetVirtualSize(*args
, **kwargs
)
3822 def base_DoGetSize(*args
, **kwargs
):
3823 """base_DoGetSize() -> (width, height)"""
3824 return _windows_
.PyScrolledWindow_base_DoGetSize(*args
, **kwargs
)
3826 def base_DoGetClientSize(*args
, **kwargs
):
3827 """base_DoGetClientSize() -> (width, height)"""
3828 return _windows_
.PyScrolledWindow_base_DoGetClientSize(*args
, **kwargs
)
3830 def base_DoGetPosition(*args
, **kwargs
):
3831 """base_DoGetPosition() -> (x,y)"""
3832 return _windows_
.PyScrolledWindow_base_DoGetPosition(*args
, **kwargs
)
3834 def base_DoGetVirtualSize(*args
, **kwargs
):
3835 """base_DoGetVirtualSize(self) -> Size"""
3836 return _windows_
.PyScrolledWindow_base_DoGetVirtualSize(*args
, **kwargs
)
3838 def base_DoGetBestSize(*args
, **kwargs
):
3839 """base_DoGetBestSize(self) -> Size"""
3840 return _windows_
.PyScrolledWindow_base_DoGetBestSize(*args
, **kwargs
)
3842 def base_InitDialog(*args
, **kwargs
):
3843 """base_InitDialog(self)"""
3844 return _windows_
.PyScrolledWindow_base_InitDialog(*args
, **kwargs
)
3846 def base_TransferDataToWindow(*args
, **kwargs
):
3847 """base_TransferDataToWindow(self) -> bool"""
3848 return _windows_
.PyScrolledWindow_base_TransferDataToWindow(*args
, **kwargs
)
3850 def base_TransferDataFromWindow(*args
, **kwargs
):
3851 """base_TransferDataFromWindow(self) -> bool"""
3852 return _windows_
.PyScrolledWindow_base_TransferDataFromWindow(*args
, **kwargs
)
3854 def base_Validate(*args
, **kwargs
):
3855 """base_Validate(self) -> bool"""
3856 return _windows_
.PyScrolledWindow_base_Validate(*args
, **kwargs
)
3858 def base_AcceptsFocus(*args
, **kwargs
):
3859 """base_AcceptsFocus(self) -> bool"""
3860 return _windows_
.PyScrolledWindow_base_AcceptsFocus(*args
, **kwargs
)
3862 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3863 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3864 return _windows_
.PyScrolledWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3866 def base_GetMaxSize(*args
, **kwargs
):
3867 """base_GetMaxSize(self) -> Size"""
3868 return _windows_
.PyScrolledWindow_base_GetMaxSize(*args
, **kwargs
)
3870 def base_AddChild(*args
, **kwargs
):
3871 """base_AddChild(self, Window child)"""
3872 return _windows_
.PyScrolledWindow_base_AddChild(*args
, **kwargs
)
3874 def base_RemoveChild(*args
, **kwargs
):
3875 """base_RemoveChild(self, Window child)"""
3876 return _windows_
.PyScrolledWindow_base_RemoveChild(*args
, **kwargs
)
3878 def base_ShouldInheritColours(*args
, **kwargs
):
3879 """base_ShouldInheritColours(self) -> bool"""
3880 return _windows_
.PyScrolledWindow_base_ShouldInheritColours(*args
, **kwargs
)
3882 def base_GetDefaultAttributes(*args
, **kwargs
):
3883 """base_GetDefaultAttributes(self) -> VisualAttributes"""
3884 return _windows_
.PyScrolledWindow_base_GetDefaultAttributes(*args
, **kwargs
)
3886 def base_OnInternalIdle(*args
, **kwargs
):
3887 """base_OnInternalIdle(self)"""
3888 return _windows_
.PyScrolledWindow_base_OnInternalIdle(*args
, **kwargs
)
3891 class PyScrolledWindowPtr(PyScrolledWindow
):
3892 def __init__(self
, this
):
3894 if not hasattr(self
,"thisown"): self
.thisown
= 0
3895 self
.__class
__ = PyScrolledWindow
3896 _windows_
.PyScrolledWindow_swigregister(PyScrolledWindowPtr
)
3898 def PrePyScrolledWindow(*args
, **kwargs
):
3899 """PrePyScrolledWindow() -> PyScrolledWindow"""
3900 val
= _windows_
.new_PrePyScrolledWindow(*args
, **kwargs
)
3904 #---------------------------------------------------------------------------
3906 PRINT_MODE_NONE
= _windows_
.PRINT_MODE_NONE
3907 PRINT_MODE_PREVIEW
= _windows_
.PRINT_MODE_PREVIEW
3908 PRINT_MODE_FILE
= _windows_
.PRINT_MODE_FILE
3909 PRINT_MODE_PRINTER
= _windows_
.PRINT_MODE_PRINTER
3910 PRINT_MODE_STREAM
= _windows_
.PRINT_MODE_STREAM
3911 PRINTBIN_DEFAULT
= _windows_
.PRINTBIN_DEFAULT
3912 PRINTBIN_ONLYONE
= _windows_
.PRINTBIN_ONLYONE
3913 PRINTBIN_LOWER
= _windows_
.PRINTBIN_LOWER
3914 PRINTBIN_MIDDLE
= _windows_
.PRINTBIN_MIDDLE
3915 PRINTBIN_MANUAL
= _windows_
.PRINTBIN_MANUAL
3916 PRINTBIN_ENVELOPE
= _windows_
.PRINTBIN_ENVELOPE
3917 PRINTBIN_ENVMANUAL
= _windows_
.PRINTBIN_ENVMANUAL
3918 PRINTBIN_AUTO
= _windows_
.PRINTBIN_AUTO
3919 PRINTBIN_TRACTOR
= _windows_
.PRINTBIN_TRACTOR
3920 PRINTBIN_SMALLFMT
= _windows_
.PRINTBIN_SMALLFMT
3921 PRINTBIN_LARGEFMT
= _windows_
.PRINTBIN_LARGEFMT
3922 PRINTBIN_LARGECAPACITY
= _windows_
.PRINTBIN_LARGECAPACITY
3923 PRINTBIN_CASSETTE
= _windows_
.PRINTBIN_CASSETTE
3924 PRINTBIN_FORMSOURCE
= _windows_
.PRINTBIN_FORMSOURCE
3925 PRINTBIN_USER
= _windows_
.PRINTBIN_USER
3926 class PrintData(_core
.Object
):
3927 """Proxy of C++ PrintData class"""
3929 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3930 def __init__(self
, *args
):
3932 __init__(self) -> PrintData
3933 __init__(self, PrintData data) -> PrintData
3935 newobj
= _windows_
.new_PrintData(*args
)
3936 self
.this
= newobj
.this
3939 def __del__(self
, destroy
=_windows_
.delete_PrintData
):
3942 if self
.thisown
: destroy(self
)
3945 def GetNoCopies(*args
, **kwargs
):
3946 """GetNoCopies(self) -> int"""
3947 return _windows_
.PrintData_GetNoCopies(*args
, **kwargs
)
3949 def GetCollate(*args
, **kwargs
):
3950 """GetCollate(self) -> bool"""
3951 return _windows_
.PrintData_GetCollate(*args
, **kwargs
)
3953 def GetOrientation(*args
, **kwargs
):
3954 """GetOrientation(self) -> int"""
3955 return _windows_
.PrintData_GetOrientation(*args
, **kwargs
)
3957 def Ok(*args
, **kwargs
):
3958 """Ok(self) -> bool"""
3959 return _windows_
.PrintData_Ok(*args
, **kwargs
)
3961 def GetPrinterName(*args
, **kwargs
):
3962 """GetPrinterName(self) -> String"""
3963 return _windows_
.PrintData_GetPrinterName(*args
, **kwargs
)
3965 def GetColour(*args
, **kwargs
):
3966 """GetColour(self) -> bool"""
3967 return _windows_
.PrintData_GetColour(*args
, **kwargs
)
3969 def GetDuplex(*args
, **kwargs
):
3970 """GetDuplex(self) -> int"""
3971 return _windows_
.PrintData_GetDuplex(*args
, **kwargs
)
3973 def GetPaperId(*args
, **kwargs
):
3974 """GetPaperId(self) -> int"""
3975 return _windows_
.PrintData_GetPaperId(*args
, **kwargs
)
3977 def GetPaperSize(*args
, **kwargs
):
3978 """GetPaperSize(self) -> Size"""
3979 return _windows_
.PrintData_GetPaperSize(*args
, **kwargs
)
3981 def GetQuality(*args
, **kwargs
):
3982 """GetQuality(self) -> int"""
3983 return _windows_
.PrintData_GetQuality(*args
, **kwargs
)
3985 def GetBin(*args
, **kwargs
):
3986 """GetBin(self) -> int"""
3987 return _windows_
.PrintData_GetBin(*args
, **kwargs
)
3989 def GetPrintMode(*args
, **kwargs
):
3990 """GetPrintMode(self) -> int"""
3991 return _windows_
.PrintData_GetPrintMode(*args
, **kwargs
)
3993 def SetNoCopies(*args
, **kwargs
):
3994 """SetNoCopies(self, int v)"""
3995 return _windows_
.PrintData_SetNoCopies(*args
, **kwargs
)
3997 def SetCollate(*args
, **kwargs
):
3998 """SetCollate(self, bool flag)"""
3999 return _windows_
.PrintData_SetCollate(*args
, **kwargs
)
4001 def SetOrientation(*args
, **kwargs
):
4002 """SetOrientation(self, int orient)"""
4003 return _windows_
.PrintData_SetOrientation(*args
, **kwargs
)
4005 def SetPrinterName(*args
, **kwargs
):
4006 """SetPrinterName(self, String name)"""
4007 return _windows_
.PrintData_SetPrinterName(*args
, **kwargs
)
4009 def SetColour(*args
, **kwargs
):
4010 """SetColour(self, bool colour)"""
4011 return _windows_
.PrintData_SetColour(*args
, **kwargs
)
4013 def SetDuplex(*args
, **kwargs
):
4014 """SetDuplex(self, int duplex)"""
4015 return _windows_
.PrintData_SetDuplex(*args
, **kwargs
)
4017 def SetPaperId(*args
, **kwargs
):
4018 """SetPaperId(self, int sizeId)"""
4019 return _windows_
.PrintData_SetPaperId(*args
, **kwargs
)
4021 def SetPaperSize(*args
, **kwargs
):
4022 """SetPaperSize(self, Size sz)"""
4023 return _windows_
.PrintData_SetPaperSize(*args
, **kwargs
)
4025 def SetQuality(*args
, **kwargs
):
4026 """SetQuality(self, int quality)"""
4027 return _windows_
.PrintData_SetQuality(*args
, **kwargs
)
4029 def SetBin(*args
, **kwargs
):
4030 """SetBin(self, int bin)"""
4031 return _windows_
.PrintData_SetBin(*args
, **kwargs
)
4033 def SetPrintMode(*args
, **kwargs
):
4034 """SetPrintMode(self, int printMode)"""
4035 return _windows_
.PrintData_SetPrintMode(*args
, **kwargs
)
4037 def GetFilename(*args
, **kwargs
):
4038 """GetFilename(self) -> String"""
4039 return _windows_
.PrintData_GetFilename(*args
, **kwargs
)
4041 def SetFilename(*args
, **kwargs
):
4042 """SetFilename(self, String filename)"""
4043 return _windows_
.PrintData_SetFilename(*args
, **kwargs
)
4045 def __nonzero__(self
): return self
.Ok()
4046 def GetPrivData(*args
, **kwargs
):
4047 """GetPrivData(self) -> PyObject"""
4048 return _windows_
.PrintData_GetPrivData(*args
, **kwargs
)
4050 def SetPrivData(*args
, **kwargs
):
4051 """SetPrivData(self, PyObject data)"""
4052 return _windows_
.PrintData_SetPrivData(*args
, **kwargs
)
4055 class PrintDataPtr(PrintData
):
4056 def __init__(self
, this
):
4058 if not hasattr(self
,"thisown"): self
.thisown
= 0
4059 self
.__class
__ = PrintData
4060 _windows_
.PrintData_swigregister(PrintDataPtr
)
4061 PrintoutTitleStr
= cvar
.PrintoutTitleStr
4062 PreviewCanvasNameStr
= cvar
.PreviewCanvasNameStr
4064 class PageSetupDialogData(_core
.Object
):
4065 """Proxy of C++ PageSetupDialogData class"""
4067 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4068 def __init__(self
, *args
):
4070 __init__(self) -> PageSetupDialogData
4071 __init__(self, PageSetupDialogData data) -> PageSetupDialogData
4072 __init__(self, PrintData data) -> PageSetupDialogData
4074 newobj
= _windows_
.new_PageSetupDialogData(*args
)
4075 self
.this
= newobj
.this
4078 def __del__(self
, destroy
=_windows_
.delete_PageSetupDialogData
):
4081 if self
.thisown
: destroy(self
)
4084 def EnableHelp(*args
, **kwargs
):
4085 """EnableHelp(self, bool flag)"""
4086 return _windows_
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
4088 def EnableMargins(*args
, **kwargs
):
4089 """EnableMargins(self, bool flag)"""
4090 return _windows_
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
4092 def EnableOrientation(*args
, **kwargs
):
4093 """EnableOrientation(self, bool flag)"""
4094 return _windows_
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
4096 def EnablePaper(*args
, **kwargs
):
4097 """EnablePaper(self, bool flag)"""
4098 return _windows_
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
4100 def EnablePrinter(*args
, **kwargs
):
4101 """EnablePrinter(self, bool flag)"""
4102 return _windows_
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
4104 def GetDefaultMinMargins(*args
, **kwargs
):
4105 """GetDefaultMinMargins(self) -> bool"""
4106 return _windows_
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
4108 def GetEnableMargins(*args
, **kwargs
):
4109 """GetEnableMargins(self) -> bool"""
4110 return _windows_
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
4112 def GetEnableOrientation(*args
, **kwargs
):
4113 """GetEnableOrientation(self) -> bool"""
4114 return _windows_
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
4116 def GetEnablePaper(*args
, **kwargs
):
4117 """GetEnablePaper(self) -> bool"""
4118 return _windows_
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
4120 def GetEnablePrinter(*args
, **kwargs
):
4121 """GetEnablePrinter(self) -> bool"""
4122 return _windows_
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
4124 def GetEnableHelp(*args
, **kwargs
):
4125 """GetEnableHelp(self) -> bool"""
4126 return _windows_
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
4128 def GetDefaultInfo(*args
, **kwargs
):
4129 """GetDefaultInfo(self) -> bool"""
4130 return _windows_
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
4132 def GetMarginTopLeft(*args
, **kwargs
):
4133 """GetMarginTopLeft(self) -> Point"""
4134 return _windows_
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
4136 def GetMarginBottomRight(*args
, **kwargs
):
4137 """GetMarginBottomRight(self) -> Point"""
4138 return _windows_
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
4140 def GetMinMarginTopLeft(*args
, **kwargs
):
4141 """GetMinMarginTopLeft(self) -> Point"""
4142 return _windows_
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
4144 def GetMinMarginBottomRight(*args
, **kwargs
):
4145 """GetMinMarginBottomRight(self) -> Point"""
4146 return _windows_
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
4148 def GetPaperId(*args
, **kwargs
):
4149 """GetPaperId(self) -> int"""
4150 return _windows_
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
4152 def GetPaperSize(*args
, **kwargs
):
4153 """GetPaperSize(self) -> Size"""
4154 return _windows_
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
4156 def GetPrintData(*args
, **kwargs
):
4157 """GetPrintData(self) -> PrintData"""
4158 return _windows_
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
4160 def Ok(*args
, **kwargs
):
4161 """Ok(self) -> bool"""
4162 return _windows_
.PageSetupDialogData_Ok(*args
, **kwargs
)
4164 def SetDefaultInfo(*args
, **kwargs
):
4165 """SetDefaultInfo(self, bool flag)"""
4166 return _windows_
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
4168 def SetDefaultMinMargins(*args
, **kwargs
):
4169 """SetDefaultMinMargins(self, bool flag)"""
4170 return _windows_
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
4172 def SetMarginTopLeft(*args
, **kwargs
):
4173 """SetMarginTopLeft(self, Point pt)"""
4174 return _windows_
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
4176 def SetMarginBottomRight(*args
, **kwargs
):
4177 """SetMarginBottomRight(self, Point pt)"""
4178 return _windows_
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
4180 def SetMinMarginTopLeft(*args
, **kwargs
):
4181 """SetMinMarginTopLeft(self, Point pt)"""
4182 return _windows_
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
4184 def SetMinMarginBottomRight(*args
, **kwargs
):
4185 """SetMinMarginBottomRight(self, Point pt)"""
4186 return _windows_
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
4188 def SetPaperId(*args
, **kwargs
):
4189 """SetPaperId(self, int id)"""
4190 return _windows_
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
4192 def SetPaperSize(*args
, **kwargs
):
4193 """SetPaperSize(self, Size size)"""
4194 return _windows_
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
4196 def SetPrintData(*args
, **kwargs
):
4197 """SetPrintData(self, PrintData printData)"""
4198 return _windows_
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
4200 def CalculateIdFromPaperSize(*args
, **kwargs
):
4201 """CalculateIdFromPaperSize(self)"""
4202 return _windows_
.PageSetupDialogData_CalculateIdFromPaperSize(*args
, **kwargs
)
4204 def CalculatePaperSizeFromId(*args
, **kwargs
):
4205 """CalculatePaperSizeFromId(self)"""
4206 return _windows_
.PageSetupDialogData_CalculatePaperSizeFromId(*args
, **kwargs
)
4208 def __nonzero__(self
): return self
.Ok()
4210 class PageSetupDialogDataPtr(PageSetupDialogData
):
4211 def __init__(self
, this
):
4213 if not hasattr(self
,"thisown"): self
.thisown
= 0
4214 self
.__class
__ = PageSetupDialogData
4215 _windows_
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
4217 class PageSetupDialog(_core
.Object
):
4218 """Proxy of C++ PageSetupDialog class"""
4220 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4221 def __init__(self
, *args
, **kwargs
):
4222 """__init__(self, Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
4223 newobj
= _windows_
.new_PageSetupDialog(*args
, **kwargs
)
4224 self
.this
= newobj
.this
4227 def GetPageSetupData(*args
, **kwargs
):
4228 """GetPageSetupData(self) -> PageSetupDialogData"""
4229 return _windows_
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
4231 def GetPageSetupDialogData(*args
, **kwargs
):
4232 """GetPageSetupDialogData(self) -> PageSetupDialogData"""
4233 return _windows_
.PageSetupDialog_GetPageSetupDialogData(*args
, **kwargs
)
4235 def ShowModal(*args
, **kwargs
):
4236 """ShowModal(self) -> int"""
4237 return _windows_
.PageSetupDialog_ShowModal(*args
, **kwargs
)
4240 class PageSetupDialogPtr(PageSetupDialog
):
4241 def __init__(self
, this
):
4243 if not hasattr(self
,"thisown"): self
.thisown
= 0
4244 self
.__class
__ = PageSetupDialog
4245 _windows_
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
4247 class PrintDialogData(_core
.Object
):
4248 """Proxy of C++ PrintDialogData class"""
4250 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4251 def __init__(self
, *args
):
4253 __init__(self) -> PrintDialogData
4254 __init__(self, PrintData printData) -> PrintDialogData
4255 __init__(self, PrintDialogData printData) -> PrintDialogData
4257 newobj
= _windows_
.new_PrintDialogData(*args
)
4258 self
.this
= newobj
.this
4261 def __del__(self
, destroy
=_windows_
.delete_PrintDialogData
):
4264 if self
.thisown
: destroy(self
)
4267 def GetFromPage(*args
, **kwargs
):
4268 """GetFromPage(self) -> int"""
4269 return _windows_
.PrintDialogData_GetFromPage(*args
, **kwargs
)
4271 def GetToPage(*args
, **kwargs
):
4272 """GetToPage(self) -> int"""
4273 return _windows_
.PrintDialogData_GetToPage(*args
, **kwargs
)
4275 def GetMinPage(*args
, **kwargs
):
4276 """GetMinPage(self) -> int"""
4277 return _windows_
.PrintDialogData_GetMinPage(*args
, **kwargs
)
4279 def GetMaxPage(*args
, **kwargs
):
4280 """GetMaxPage(self) -> int"""
4281 return _windows_
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
4283 def GetNoCopies(*args
, **kwargs
):
4284 """GetNoCopies(self) -> int"""
4285 return _windows_
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
4287 def GetAllPages(*args
, **kwargs
):
4288 """GetAllPages(self) -> bool"""
4289 return _windows_
.PrintDialogData_GetAllPages(*args
, **kwargs
)
4291 def GetSelection(*args
, **kwargs
):
4292 """GetSelection(self) -> bool"""
4293 return _windows_
.PrintDialogData_GetSelection(*args
, **kwargs
)
4295 def GetCollate(*args
, **kwargs
):
4296 """GetCollate(self) -> bool"""
4297 return _windows_
.PrintDialogData_GetCollate(*args
, **kwargs
)
4299 def GetPrintToFile(*args
, **kwargs
):
4300 """GetPrintToFile(self) -> bool"""
4301 return _windows_
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
4303 def SetFromPage(*args
, **kwargs
):
4304 """SetFromPage(self, int v)"""
4305 return _windows_
.PrintDialogData_SetFromPage(*args
, **kwargs
)
4307 def SetToPage(*args
, **kwargs
):
4308 """SetToPage(self, int v)"""
4309 return _windows_
.PrintDialogData_SetToPage(*args
, **kwargs
)
4311 def SetMinPage(*args
, **kwargs
):
4312 """SetMinPage(self, int v)"""
4313 return _windows_
.PrintDialogData_SetMinPage(*args
, **kwargs
)
4315 def SetMaxPage(*args
, **kwargs
):
4316 """SetMaxPage(self, int v)"""
4317 return _windows_
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
4319 def SetNoCopies(*args
, **kwargs
):
4320 """SetNoCopies(self, int v)"""
4321 return _windows_
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
4323 def SetAllPages(*args
, **kwargs
):
4324 """SetAllPages(self, bool flag)"""
4325 return _windows_
.PrintDialogData_SetAllPages(*args
, **kwargs
)
4327 def SetSelection(*args
, **kwargs
):
4328 """SetSelection(self, bool flag)"""
4329 return _windows_
.PrintDialogData_SetSelection(*args
, **kwargs
)
4331 def SetCollate(*args
, **kwargs
):
4332 """SetCollate(self, bool flag)"""
4333 return _windows_
.PrintDialogData_SetCollate(*args
, **kwargs
)
4335 def SetPrintToFile(*args
, **kwargs
):
4336 """SetPrintToFile(self, bool flag)"""
4337 return _windows_
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
4339 def EnablePrintToFile(*args
, **kwargs
):
4340 """EnablePrintToFile(self, bool flag)"""
4341 return _windows_
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
4343 def EnableSelection(*args
, **kwargs
):
4344 """EnableSelection(self, bool flag)"""
4345 return _windows_
.PrintDialogData_EnableSelection(*args
, **kwargs
)
4347 def EnablePageNumbers(*args
, **kwargs
):
4348 """EnablePageNumbers(self, bool flag)"""
4349 return _windows_
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
4351 def EnableHelp(*args
, **kwargs
):
4352 """EnableHelp(self, bool flag)"""
4353 return _windows_
.PrintDialogData_EnableHelp(*args
, **kwargs
)
4355 def GetEnablePrintToFile(*args
, **kwargs
):
4356 """GetEnablePrintToFile(self) -> bool"""
4357 return _windows_
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
4359 def GetEnableSelection(*args
, **kwargs
):
4360 """GetEnableSelection(self) -> bool"""
4361 return _windows_
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
4363 def GetEnablePageNumbers(*args
, **kwargs
):
4364 """GetEnablePageNumbers(self) -> bool"""
4365 return _windows_
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
4367 def GetEnableHelp(*args
, **kwargs
):
4368 """GetEnableHelp(self) -> bool"""
4369 return _windows_
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
4371 def Ok(*args
, **kwargs
):
4372 """Ok(self) -> bool"""
4373 return _windows_
.PrintDialogData_Ok(*args
, **kwargs
)
4375 def GetPrintData(*args
, **kwargs
):
4376 """GetPrintData(self) -> PrintData"""
4377 return _windows_
.PrintDialogData_GetPrintData(*args
, **kwargs
)
4379 def SetPrintData(*args
, **kwargs
):
4380 """SetPrintData(self, PrintData printData)"""
4381 return _windows_
.PrintDialogData_SetPrintData(*args
, **kwargs
)
4383 def __nonzero__(self
): return self
.Ok()
4385 class PrintDialogDataPtr(PrintDialogData
):
4386 def __init__(self
, this
):
4388 if not hasattr(self
,"thisown"): self
.thisown
= 0
4389 self
.__class
__ = PrintDialogData
4390 _windows_
.PrintDialogData_swigregister(PrintDialogDataPtr
)
4392 class PrintDialog(_core
.Object
):
4393 """Proxy of C++ PrintDialog class"""
4395 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4396 def __init__(self
, *args
, **kwargs
):
4397 """__init__(self, Window parent, PrintDialogData data=None) -> PrintDialog"""
4398 newobj
= _windows_
.new_PrintDialog(*args
, **kwargs
)
4399 self
.this
= newobj
.this
4402 def ShowModal(*args
, **kwargs
):
4403 """ShowModal(self) -> int"""
4404 return _windows_
.PrintDialog_ShowModal(*args
, **kwargs
)
4406 def GetPrintDialogData(*args
, **kwargs
):
4407 """GetPrintDialogData(self) -> PrintDialogData"""
4408 return _windows_
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
4410 def GetPrintData(*args
, **kwargs
):
4411 """GetPrintData(self) -> PrintData"""
4412 return _windows_
.PrintDialog_GetPrintData(*args
, **kwargs
)
4414 def GetPrintDC(*args
, **kwargs
):
4415 """GetPrintDC(self) -> DC"""
4416 return _windows_
.PrintDialog_GetPrintDC(*args
, **kwargs
)
4419 class PrintDialogPtr(PrintDialog
):
4420 def __init__(self
, this
):
4422 if not hasattr(self
,"thisown"): self
.thisown
= 0
4423 self
.__class
__ = PrintDialog
4424 _windows_
.PrintDialog_swigregister(PrintDialogPtr
)
4426 PRINTER_NO_ERROR
= _windows_
.PRINTER_NO_ERROR
4427 PRINTER_CANCELLED
= _windows_
.PRINTER_CANCELLED
4428 PRINTER_ERROR
= _windows_
.PRINTER_ERROR
4429 class Printer(_core
.Object
):
4430 """Proxy of C++ Printer class"""
4432 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4433 def __init__(self
, *args
, **kwargs
):
4434 """__init__(self, PrintDialogData data=None) -> Printer"""
4435 newobj
= _windows_
.new_Printer(*args
, **kwargs
)
4436 self
.this
= newobj
.this
4439 def __del__(self
, destroy
=_windows_
.delete_Printer
):
4442 if self
.thisown
: destroy(self
)
4445 def CreateAbortWindow(*args
, **kwargs
):
4446 """CreateAbortWindow(self, Window parent, Printout printout) -> Window"""
4447 return _windows_
.Printer_CreateAbortWindow(*args
, **kwargs
)
4449 def ReportError(*args
, **kwargs
):
4450 """ReportError(self, Window parent, Printout printout, String message)"""
4451 return _windows_
.Printer_ReportError(*args
, **kwargs
)
4453 def Setup(*args
, **kwargs
):
4454 """Setup(self, Window parent) -> bool"""
4455 return _windows_
.Printer_Setup(*args
, **kwargs
)
4457 def Print(*args
, **kwargs
):
4458 """Print(self, Window parent, Printout printout, bool prompt=True) -> bool"""
4459 return _windows_
.Printer_Print(*args
, **kwargs
)
4461 def PrintDialog(*args
, **kwargs
):
4462 """PrintDialog(self, Window parent) -> DC"""
4463 return _windows_
.Printer_PrintDialog(*args
, **kwargs
)
4465 def GetPrintDialogData(*args
, **kwargs
):
4466 """GetPrintDialogData(self) -> PrintDialogData"""
4467 return _windows_
.Printer_GetPrintDialogData(*args
, **kwargs
)
4469 def GetAbort(*args
, **kwargs
):
4470 """GetAbort(self) -> bool"""
4471 return _windows_
.Printer_GetAbort(*args
, **kwargs
)
4473 def GetLastError(*args
, **kwargs
):
4474 """GetLastError() -> int"""
4475 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4477 GetLastError
= staticmethod(GetLastError
)
4479 class PrinterPtr(Printer
):
4480 def __init__(self
, this
):
4482 if not hasattr(self
,"thisown"): self
.thisown
= 0
4483 self
.__class
__ = Printer
4484 _windows_
.Printer_swigregister(PrinterPtr
)
4486 def Printer_GetLastError(*args
, **kwargs
):
4487 """Printer_GetLastError() -> int"""
4488 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4490 class Printout(_core
.Object
):
4491 """Proxy of C++ Printout class"""
4493 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4494 def __init__(self
, *args
, **kwargs
):
4495 """__init__(self, String title=PrintoutTitleStr) -> Printout"""
4496 newobj
= _windows_
.new_Printout(*args
, **kwargs
)
4497 self
.this
= newobj
.this
4500 self
._setCallbackInfo
(self
, Printout
)
4502 def _setCallbackInfo(*args
, **kwargs
):
4503 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4504 return _windows_
.Printout__setCallbackInfo(*args
, **kwargs
)
4506 def GetTitle(*args
, **kwargs
):
4507 """GetTitle(self) -> String"""
4508 return _windows_
.Printout_GetTitle(*args
, **kwargs
)
4510 def GetDC(*args
, **kwargs
):
4511 """GetDC(self) -> DC"""
4512 return _windows_
.Printout_GetDC(*args
, **kwargs
)
4514 def SetDC(*args
, **kwargs
):
4515 """SetDC(self, DC dc)"""
4516 return _windows_
.Printout_SetDC(*args
, **kwargs
)
4518 def SetPageSizePixels(*args
, **kwargs
):
4519 """SetPageSizePixels(self, int w, int h)"""
4520 return _windows_
.Printout_SetPageSizePixels(*args
, **kwargs
)
4522 def GetPageSizePixels(*args
, **kwargs
):
4523 """GetPageSizePixels() -> (w, h)"""
4524 return _windows_
.Printout_GetPageSizePixels(*args
, **kwargs
)
4526 def SetPageSizeMM(*args
, **kwargs
):
4527 """SetPageSizeMM(self, int w, int h)"""
4528 return _windows_
.Printout_SetPageSizeMM(*args
, **kwargs
)
4530 def GetPageSizeMM(*args
, **kwargs
):
4531 """GetPageSizeMM() -> (w, h)"""
4532 return _windows_
.Printout_GetPageSizeMM(*args
, **kwargs
)
4534 def SetPPIScreen(*args
, **kwargs
):
4535 """SetPPIScreen(self, int x, int y)"""
4536 return _windows_
.Printout_SetPPIScreen(*args
, **kwargs
)
4538 def GetPPIScreen(*args
, **kwargs
):
4539 """GetPPIScreen() -> (x,y)"""
4540 return _windows_
.Printout_GetPPIScreen(*args
, **kwargs
)
4542 def SetPPIPrinter(*args
, **kwargs
):
4543 """SetPPIPrinter(self, int x, int y)"""
4544 return _windows_
.Printout_SetPPIPrinter(*args
, **kwargs
)
4546 def GetPPIPrinter(*args
, **kwargs
):
4547 """GetPPIPrinter() -> (x,y)"""
4548 return _windows_
.Printout_GetPPIPrinter(*args
, **kwargs
)
4550 def IsPreview(*args
, **kwargs
):
4551 """IsPreview(self) -> bool"""
4552 return _windows_
.Printout_IsPreview(*args
, **kwargs
)
4554 def SetIsPreview(*args
, **kwargs
):
4555 """SetIsPreview(self, bool p)"""
4556 return _windows_
.Printout_SetIsPreview(*args
, **kwargs
)
4558 def base_OnBeginDocument(*args
, **kwargs
):
4559 """base_OnBeginDocument(self, int startPage, int endPage) -> bool"""
4560 return _windows_
.Printout_base_OnBeginDocument(*args
, **kwargs
)
4562 def base_OnEndDocument(*args
, **kwargs
):
4563 """base_OnEndDocument(self)"""
4564 return _windows_
.Printout_base_OnEndDocument(*args
, **kwargs
)
4566 def base_OnBeginPrinting(*args
, **kwargs
):
4567 """base_OnBeginPrinting(self)"""
4568 return _windows_
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
4570 def base_OnEndPrinting(*args
, **kwargs
):
4571 """base_OnEndPrinting(self)"""
4572 return _windows_
.Printout_base_OnEndPrinting(*args
, **kwargs
)
4574 def base_OnPreparePrinting(*args
, **kwargs
):
4575 """base_OnPreparePrinting(self)"""
4576 return _windows_
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
4578 def base_HasPage(*args
, **kwargs
):
4579 """base_HasPage(self, int page) -> bool"""
4580 return _windows_
.Printout_base_HasPage(*args
, **kwargs
)
4582 def base_GetPageInfo(*args
, **kwargs
):
4583 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
4584 return _windows_
.Printout_base_GetPageInfo(*args
, **kwargs
)
4587 class PrintoutPtr(Printout
):
4588 def __init__(self
, this
):
4590 if not hasattr(self
,"thisown"): self
.thisown
= 0
4591 self
.__class
__ = Printout
4592 _windows_
.Printout_swigregister(PrintoutPtr
)
4594 class PreviewCanvas(ScrolledWindow
):
4595 """Proxy of C++ PreviewCanvas class"""
4597 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4598 def __init__(self
, *args
, **kwargs
):
4600 __init__(self, PrintPreview preview, Window parent, Point pos=DefaultPosition,
4601 Size size=DefaultSize, long style=0,
4602 String name=PreviewCanvasNameStr) -> PreviewCanvas
4604 newobj
= _windows_
.new_PreviewCanvas(*args
, **kwargs
)
4605 self
.this
= newobj
.this
4608 self
._setOORInfo
(self
)
4611 class PreviewCanvasPtr(PreviewCanvas
):
4612 def __init__(self
, this
):
4614 if not hasattr(self
,"thisown"): self
.thisown
= 0
4615 self
.__class
__ = PreviewCanvas
4616 _windows_
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
4618 class PreviewFrame(Frame
):
4619 """Proxy of C++ PreviewFrame class"""
4621 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4622 def __init__(self
, *args
, **kwargs
):
4624 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4625 Size size=DefaultSize,
4626 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
4628 newobj
= _windows_
.new_PreviewFrame(*args
, **kwargs
)
4629 self
.this
= newobj
.this
4632 self
._setOORInfo
(self
)
4634 def Initialize(*args
, **kwargs
):
4635 """Initialize(self)"""
4636 return _windows_
.PreviewFrame_Initialize(*args
, **kwargs
)
4638 def CreateControlBar(*args
, **kwargs
):
4639 """CreateControlBar(self)"""
4640 return _windows_
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
4642 def CreateCanvas(*args
, **kwargs
):
4643 """CreateCanvas(self)"""
4644 return _windows_
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
4646 def GetControlBar(*args
, **kwargs
):
4647 """GetControlBar(self) -> PreviewControlBar"""
4648 return _windows_
.PreviewFrame_GetControlBar(*args
, **kwargs
)
4651 class PreviewFramePtr(PreviewFrame
):
4652 def __init__(self
, this
):
4654 if not hasattr(self
,"thisown"): self
.thisown
= 0
4655 self
.__class
__ = PreviewFrame
4656 _windows_
.PreviewFrame_swigregister(PreviewFramePtr
)
4658 PREVIEW_PRINT
= _windows_
.PREVIEW_PRINT
4659 PREVIEW_PREVIOUS
= _windows_
.PREVIEW_PREVIOUS
4660 PREVIEW_NEXT
= _windows_
.PREVIEW_NEXT
4661 PREVIEW_ZOOM
= _windows_
.PREVIEW_ZOOM
4662 PREVIEW_FIRST
= _windows_
.PREVIEW_FIRST
4663 PREVIEW_LAST
= _windows_
.PREVIEW_LAST
4664 PREVIEW_GOTO
= _windows_
.PREVIEW_GOTO
4665 PREVIEW_DEFAULT
= _windows_
.PREVIEW_DEFAULT
4666 ID_PREVIEW_CLOSE
= _windows_
.ID_PREVIEW_CLOSE
4667 ID_PREVIEW_NEXT
= _windows_
.ID_PREVIEW_NEXT
4668 ID_PREVIEW_PREVIOUS
= _windows_
.ID_PREVIEW_PREVIOUS
4669 ID_PREVIEW_PRINT
= _windows_
.ID_PREVIEW_PRINT
4670 ID_PREVIEW_ZOOM
= _windows_
.ID_PREVIEW_ZOOM
4671 ID_PREVIEW_FIRST
= _windows_
.ID_PREVIEW_FIRST
4672 ID_PREVIEW_LAST
= _windows_
.ID_PREVIEW_LAST
4673 ID_PREVIEW_GOTO
= _windows_
.ID_PREVIEW_GOTO
4674 class PreviewControlBar(Panel
):
4675 """Proxy of C++ PreviewControlBar class"""
4677 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4678 def __init__(self
, *args
, **kwargs
):
4680 __init__(self, PrintPreview preview, long buttons, Window parent,
4681 Point pos=DefaultPosition, Size size=DefaultSize,
4682 long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
4684 newobj
= _windows_
.new_PreviewControlBar(*args
, **kwargs
)
4685 self
.this
= newobj
.this
4688 self
._setOORInfo
(self
)
4690 def GetZoomControl(*args
, **kwargs
):
4691 """GetZoomControl(self) -> int"""
4692 return _windows_
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
4694 def SetZoomControl(*args
, **kwargs
):
4695 """SetZoomControl(self, int zoom)"""
4696 return _windows_
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
4698 def GetPrintPreview(*args
, **kwargs
):
4699 """GetPrintPreview(self) -> PrintPreview"""
4700 return _windows_
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
4702 def OnNext(*args
, **kwargs
):
4704 return _windows_
.PreviewControlBar_OnNext(*args
, **kwargs
)
4706 def OnPrevious(*args
, **kwargs
):
4707 """OnPrevious(self)"""
4708 return _windows_
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
4710 def OnFirst(*args
, **kwargs
):
4712 return _windows_
.PreviewControlBar_OnFirst(*args
, **kwargs
)
4714 def OnLast(*args
, **kwargs
):
4716 return _windows_
.PreviewControlBar_OnLast(*args
, **kwargs
)
4718 def OnGoto(*args
, **kwargs
):
4720 return _windows_
.PreviewControlBar_OnGoto(*args
, **kwargs
)
4723 class PreviewControlBarPtr(PreviewControlBar
):
4724 def __init__(self
, this
):
4726 if not hasattr(self
,"thisown"): self
.thisown
= 0
4727 self
.__class
__ = PreviewControlBar
4728 _windows_
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
4730 class PrintPreview(_core
.Object
):
4731 """Proxy of C++ PrintPreview class"""
4733 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4734 def __init__(self
, *args
):
4736 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview
4737 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview
4739 newobj
= _windows_
.new_PrintPreview(*args
)
4740 self
.this
= newobj
.this
4743 def SetCurrentPage(*args
, **kwargs
):
4744 """SetCurrentPage(self, int pageNum) -> bool"""
4745 return _windows_
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
4747 def GetCurrentPage(*args
, **kwargs
):
4748 """GetCurrentPage(self) -> int"""
4749 return _windows_
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
4751 def SetPrintout(*args
, **kwargs
):
4752 """SetPrintout(self, Printout printout)"""
4753 return _windows_
.PrintPreview_SetPrintout(*args
, **kwargs
)
4755 def GetPrintout(*args
, **kwargs
):
4756 """GetPrintout(self) -> Printout"""
4757 return _windows_
.PrintPreview_GetPrintout(*args
, **kwargs
)
4759 def GetPrintoutForPrinting(*args
, **kwargs
):
4760 """GetPrintoutForPrinting(self) -> Printout"""
4761 return _windows_
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
4763 def SetFrame(*args
, **kwargs
):
4764 """SetFrame(self, Frame frame)"""
4765 return _windows_
.PrintPreview_SetFrame(*args
, **kwargs
)
4767 def SetCanvas(*args
, **kwargs
):
4768 """SetCanvas(self, PreviewCanvas canvas)"""
4769 return _windows_
.PrintPreview_SetCanvas(*args
, **kwargs
)
4771 def GetFrame(*args
, **kwargs
):
4772 """GetFrame(self) -> Frame"""
4773 return _windows_
.PrintPreview_GetFrame(*args
, **kwargs
)
4775 def GetCanvas(*args
, **kwargs
):
4776 """GetCanvas(self) -> PreviewCanvas"""
4777 return _windows_
.PrintPreview_GetCanvas(*args
, **kwargs
)
4779 def PaintPage(*args
, **kwargs
):
4780 """PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4781 return _windows_
.PrintPreview_PaintPage(*args
, **kwargs
)
4783 def DrawBlankPage(*args
, **kwargs
):
4784 """DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4785 return _windows_
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
4787 def RenderPage(*args
, **kwargs
):
4788 """RenderPage(self, int pageNum) -> bool"""
4789 return _windows_
.PrintPreview_RenderPage(*args
, **kwargs
)
4791 def AdjustScrollbars(*args
, **kwargs
):
4792 """AdjustScrollbars(self, PreviewCanvas canvas)"""
4793 return _windows_
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
4795 def GetPrintDialogData(*args
, **kwargs
):
4796 """GetPrintDialogData(self) -> PrintDialogData"""
4797 return _windows_
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
4799 def SetZoom(*args
, **kwargs
):
4800 """SetZoom(self, int percent)"""
4801 return _windows_
.PrintPreview_SetZoom(*args
, **kwargs
)
4803 def GetZoom(*args
, **kwargs
):
4804 """GetZoom(self) -> int"""
4805 return _windows_
.PrintPreview_GetZoom(*args
, **kwargs
)
4807 def GetMaxPage(*args
, **kwargs
):
4808 """GetMaxPage(self) -> int"""
4809 return _windows_
.PrintPreview_GetMaxPage(*args
, **kwargs
)
4811 def GetMinPage(*args
, **kwargs
):
4812 """GetMinPage(self) -> int"""
4813 return _windows_
.PrintPreview_GetMinPage(*args
, **kwargs
)
4815 def Ok(*args
, **kwargs
):
4816 """Ok(self) -> bool"""
4817 return _windows_
.PrintPreview_Ok(*args
, **kwargs
)
4819 def SetOk(*args
, **kwargs
):
4820 """SetOk(self, bool ok)"""
4821 return _windows_
.PrintPreview_SetOk(*args
, **kwargs
)
4823 def Print(*args
, **kwargs
):
4824 """Print(self, bool interactive) -> bool"""
4825 return _windows_
.PrintPreview_Print(*args
, **kwargs
)
4827 def DetermineScaling(*args
, **kwargs
):
4828 """DetermineScaling(self)"""
4829 return _windows_
.PrintPreview_DetermineScaling(*args
, **kwargs
)
4831 def __nonzero__(self
): return self
.Ok()
4833 class PrintPreviewPtr(PrintPreview
):
4834 def __init__(self
, this
):
4836 if not hasattr(self
,"thisown"): self
.thisown
= 0
4837 self
.__class
__ = PrintPreview
4838 _windows_
.PrintPreview_swigregister(PrintPreviewPtr
)
4840 class PyPrintPreview(PrintPreview
):
4841 """Proxy of C++ PyPrintPreview class"""
4843 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4844 def __init__(self
, *args
):
4846 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview
4847 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview
4849 newobj
= _windows_
.new_PyPrintPreview(*args
)
4850 self
.this
= newobj
.this
4853 self
._setCallbackInfo
(self
, PyPrintPreview
)
4855 def _setCallbackInfo(*args
, **kwargs
):
4856 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4857 return _windows_
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
4859 def base_SetCurrentPage(*args
, **kwargs
):
4860 """base_SetCurrentPage(self, int pageNum) -> bool"""
4861 return _windows_
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
4863 def base_PaintPage(*args
, **kwargs
):
4864 """base_PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4865 return _windows_
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
4867 def base_DrawBlankPage(*args
, **kwargs
):
4868 """base_DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4869 return _windows_
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
4871 def base_RenderPage(*args
, **kwargs
):
4872 """base_RenderPage(self, int pageNum) -> bool"""
4873 return _windows_
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
4875 def base_SetZoom(*args
, **kwargs
):
4876 """base_SetZoom(self, int percent)"""
4877 return _windows_
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
4879 def base_Print(*args
, **kwargs
):
4880 """base_Print(self, bool interactive) -> bool"""
4881 return _windows_
.PyPrintPreview_base_Print(*args
, **kwargs
)
4883 def base_DetermineScaling(*args
, **kwargs
):
4884 """base_DetermineScaling(self)"""
4885 return _windows_
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
4888 class PyPrintPreviewPtr(PyPrintPreview
):
4889 def __init__(self
, this
):
4891 if not hasattr(self
,"thisown"): self
.thisown
= 0
4892 self
.__class
__ = PyPrintPreview
4893 _windows_
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
4895 class PyPreviewFrame(PreviewFrame
):
4896 """Proxy of C++ PyPreviewFrame class"""
4898 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4899 def __init__(self
, *args
, **kwargs
):
4901 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4902 Size size=DefaultSize,
4903 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
4905 newobj
= _windows_
.new_PyPreviewFrame(*args
, **kwargs
)
4906 self
.this
= newobj
.this
4909 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
4911 def _setCallbackInfo(*args
, **kwargs
):
4912 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4913 return _windows_
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
4915 def SetPreviewCanvas(*args
, **kwargs
):
4916 """SetPreviewCanvas(self, PreviewCanvas canvas)"""
4917 return _windows_
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
4919 def SetControlBar(*args
, **kwargs
):
4920 """SetControlBar(self, PreviewControlBar bar)"""
4921 return _windows_
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
4923 def base_Initialize(*args
, **kwargs
):
4924 """base_Initialize(self)"""
4925 return _windows_
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
4927 def base_CreateCanvas(*args
, **kwargs
):
4928 """base_CreateCanvas(self)"""
4929 return _windows_
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
4931 def base_CreateControlBar(*args
, **kwargs
):
4932 """base_CreateControlBar(self)"""
4933 return _windows_
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
4936 class PyPreviewFramePtr(PyPreviewFrame
):
4937 def __init__(self
, this
):
4939 if not hasattr(self
,"thisown"): self
.thisown
= 0
4940 self
.__class
__ = PyPreviewFrame
4941 _windows_
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
4943 class PyPreviewControlBar(PreviewControlBar
):
4944 """Proxy of C++ PyPreviewControlBar class"""
4946 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4947 def __init__(self
, *args
, **kwargs
):
4949 __init__(self, PrintPreview preview, long buttons, Window parent,
4950 Point pos=DefaultPosition, Size size=DefaultSize,
4951 long style=0, String name=PanelNameStr) -> PyPreviewControlBar
4953 newobj
= _windows_
.new_PyPreviewControlBar(*args
, **kwargs
)
4954 self
.this
= newobj
.this
4957 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
4959 def _setCallbackInfo(*args
, **kwargs
):
4960 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4961 return _windows_
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
4963 def SetPrintPreview(*args
, **kwargs
):
4964 """SetPrintPreview(self, PrintPreview preview)"""
4965 return _windows_
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
4967 def base_CreateButtons(*args
, **kwargs
):
4968 """base_CreateButtons(self)"""
4969 return _windows_
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
4971 def base_SetZoomControl(*args
, **kwargs
):
4972 """base_SetZoomControl(self, int zoom)"""
4973 return _windows_
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
4976 class PyPreviewControlBarPtr(PyPreviewControlBar
):
4977 def __init__(self
, this
):
4979 if not hasattr(self
,"thisown"): self
.thisown
= 0
4980 self
.__class
__ = PyPreviewControlBar
4981 _windows_
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)