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
)
451 def CenterOnScreen(*args
, **kwargs
):
453 CenterOnScreen(self, int dir=BOTH)
455 Center the window on screen
457 return _windows_
.TopLevelWindow_CenterOnScreen(*args
, **kwargs
)
459 CentreOnScreen
= CenterOnScreen
461 class TopLevelWindowPtr(TopLevelWindow
):
462 def __init__(self
, this
):
464 if not hasattr(self
,"thisown"): self
.thisown
= 0
465 self
.__class
__ = TopLevelWindow
466 _windows_
.TopLevelWindow_swigregister(TopLevelWindowPtr
)
467 cvar
= _windows_
.cvar
468 FrameNameStr
= cvar
.FrameNameStr
469 DialogNameStr
= cvar
.DialogNameStr
470 StatusLineNameStr
= cvar
.StatusLineNameStr
471 ToolBarNameStr
= cvar
.ToolBarNameStr
473 #---------------------------------------------------------------------------
475 class Frame(TopLevelWindow
):
476 """Proxy of C++ Frame class"""
478 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
479 def __init__(self
, *args
, **kwargs
):
481 __init__(self, Window parent, int id=-1, String title=EmptyString,
482 Point pos=DefaultPosition, Size size=DefaultSize,
483 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> Frame
485 newobj
= _windows_
.new_Frame(*args
, **kwargs
)
486 self
.this
= newobj
.this
489 self
._setOORInfo
(self
)
491 def Create(*args
, **kwargs
):
493 Create(self, Window parent, int id=-1, String title=EmptyString,
494 Point pos=DefaultPosition, Size size=DefaultSize,
495 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
497 return _windows_
.Frame_Create(*args
, **kwargs
)
499 def GetClientAreaOrigin(*args
, **kwargs
):
501 GetClientAreaOrigin(self) -> Point
503 Get the origin of the client area of the window relative to the
504 window's top left corner (the client area may be shifted because of
505 the borders, scrollbars, other decorations...)
507 return _windows_
.Frame_GetClientAreaOrigin(*args
, **kwargs
)
509 def SendSizeEvent(*args
, **kwargs
):
510 """SendSizeEvent(self)"""
511 return _windows_
.Frame_SendSizeEvent(*args
, **kwargs
)
513 def SetMenuBar(*args
, **kwargs
):
514 """SetMenuBar(self, MenuBar menubar)"""
515 return _windows_
.Frame_SetMenuBar(*args
, **kwargs
)
517 def GetMenuBar(*args
, **kwargs
):
518 """GetMenuBar(self) -> MenuBar"""
519 return _windows_
.Frame_GetMenuBar(*args
, **kwargs
)
521 def ProcessCommand(*args
, **kwargs
):
522 """ProcessCommand(self, int winid) -> bool"""
523 return _windows_
.Frame_ProcessCommand(*args
, **kwargs
)
525 Command
= ProcessCommand
526 def CreateStatusBar(*args
, **kwargs
):
528 CreateStatusBar(self, int number=1, long style=DEFAULT_STATUSBAR_STYLE, int winid=0,
529 String name=StatusLineNameStr) -> StatusBar
531 return _windows_
.Frame_CreateStatusBar(*args
, **kwargs
)
533 def GetStatusBar(*args
, **kwargs
):
534 """GetStatusBar(self) -> StatusBar"""
535 return _windows_
.Frame_GetStatusBar(*args
, **kwargs
)
537 def SetStatusBar(*args
, **kwargs
):
538 """SetStatusBar(self, StatusBar statBar)"""
539 return _windows_
.Frame_SetStatusBar(*args
, **kwargs
)
541 def SetStatusText(*args
, **kwargs
):
542 """SetStatusText(self, String text, int number=0)"""
543 return _windows_
.Frame_SetStatusText(*args
, **kwargs
)
545 def SetStatusWidths(*args
, **kwargs
):
546 """SetStatusWidths(self, int widths)"""
547 return _windows_
.Frame_SetStatusWidths(*args
, **kwargs
)
549 def PushStatusText(*args
, **kwargs
):
550 """PushStatusText(self, String text, int number=0)"""
551 return _windows_
.Frame_PushStatusText(*args
, **kwargs
)
553 def PopStatusText(*args
, **kwargs
):
554 """PopStatusText(self, int number=0)"""
555 return _windows_
.Frame_PopStatusText(*args
, **kwargs
)
557 def SetStatusBarPane(*args
, **kwargs
):
558 """SetStatusBarPane(self, int n)"""
559 return _windows_
.Frame_SetStatusBarPane(*args
, **kwargs
)
561 def GetStatusBarPane(*args
, **kwargs
):
562 """GetStatusBarPane(self) -> int"""
563 return _windows_
.Frame_GetStatusBarPane(*args
, **kwargs
)
565 def CreateToolBar(*args
, **kwargs
):
566 """CreateToolBar(self, long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar"""
567 return _windows_
.Frame_CreateToolBar(*args
, **kwargs
)
569 def GetToolBar(*args
, **kwargs
):
570 """GetToolBar(self) -> wxToolBar"""
571 return _windows_
.Frame_GetToolBar(*args
, **kwargs
)
573 def SetToolBar(*args
, **kwargs
):
574 """SetToolBar(self, wxToolBar toolbar)"""
575 return _windows_
.Frame_SetToolBar(*args
, **kwargs
)
577 def DoGiveHelp(*args
, **kwargs
):
578 """DoGiveHelp(self, String text, bool show)"""
579 return _windows_
.Frame_DoGiveHelp(*args
, **kwargs
)
581 def DoMenuUpdates(*args
, **kwargs
):
582 """DoMenuUpdates(self, Menu menu=None)"""
583 return _windows_
.Frame_DoMenuUpdates(*args
, **kwargs
)
585 def GetClassDefaultAttributes(*args
, **kwargs
):
587 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
589 Get the default attributes for this class. This is useful if you want
590 to use the same font or colour in your own control as in a standard
591 control -- which is a much better idea than hard coding specific
592 colours or fonts which might look completely out of place on the
593 user's system, especially if it uses themes.
595 The variant parameter is only relevant under Mac currently and is
596 ignore under other platforms. Under Mac, it will change the size of
597 the returned font. See `wx.Window.SetWindowVariant` for more about
600 return _windows_
.Frame_GetClassDefaultAttributes(*args
, **kwargs
)
602 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
604 class FramePtr(Frame
):
605 def __init__(self
, this
):
607 if not hasattr(self
,"thisown"): self
.thisown
= 0
608 self
.__class
__ = Frame
609 _windows_
.Frame_swigregister(FramePtr
)
611 def PreFrame(*args
, **kwargs
):
612 """PreFrame() -> Frame"""
613 val
= _windows_
.new_PreFrame(*args
, **kwargs
)
617 def Frame_GetClassDefaultAttributes(*args
, **kwargs
):
619 Frame_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
621 Get the default attributes for this class. This is useful if you want
622 to use the same font or colour in your own control as in a standard
623 control -- which is a much better idea than hard coding specific
624 colours or fonts which might look completely out of place on the
625 user's system, especially if it uses themes.
627 The variant parameter is only relevant under Mac currently and is
628 ignore under other platforms. Under Mac, it will change the size of
629 the returned font. See `wx.Window.SetWindowVariant` for more about
632 return _windows_
.Frame_GetClassDefaultAttributes(*args
, **kwargs
)
634 #---------------------------------------------------------------------------
636 class Dialog(TopLevelWindow
):
637 """Proxy of C++ Dialog class"""
639 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
640 ButtonSizerFlags
= _windows_
.Dialog_ButtonSizerFlags
641 def __init__(self
, *args
, **kwargs
):
643 __init__(self, Window parent, int id=-1, String title=EmptyString,
644 Point pos=DefaultPosition, Size size=DefaultSize,
645 long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> Dialog
647 newobj
= _windows_
.new_Dialog(*args
, **kwargs
)
648 self
.this
= newobj
.this
651 self
._setOORInfo
(self
)
653 def Create(*args
, **kwargs
):
655 Create(self, Window parent, int id=-1, String title=EmptyString,
656 Point pos=DefaultPosition, Size size=DefaultSize,
657 long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> bool
659 return _windows_
.Dialog_Create(*args
, **kwargs
)
661 def SetReturnCode(*args
, **kwargs
):
662 """SetReturnCode(self, int returnCode)"""
663 return _windows_
.Dialog_SetReturnCode(*args
, **kwargs
)
665 def GetReturnCode(*args
, **kwargs
):
666 """GetReturnCode(self) -> int"""
667 return _windows_
.Dialog_GetReturnCode(*args
, **kwargs
)
669 def SetAffirmativeId(*args
, **kwargs
):
670 """SetAffirmativeId(self, int affirmativeId)"""
671 return _windows_
.Dialog_SetAffirmativeId(*args
, **kwargs
)
673 def GetAffirmativeId(*args
, **kwargs
):
674 """GetAffirmativeId(self) -> int"""
675 return _windows_
.Dialog_GetAffirmativeId(*args
, **kwargs
)
677 def SetEscapeId(*args
, **kwargs
):
678 """SetEscapeId(self, int escapeId)"""
679 return _windows_
.Dialog_SetEscapeId(*args
, **kwargs
)
681 def GetEscapeId(*args
, **kwargs
):
682 """GetEscapeId(self) -> int"""
683 return _windows_
.Dialog_GetEscapeId(*args
, **kwargs
)
685 def CreateTextSizer(*args
, **kwargs
):
686 """CreateTextSizer(self, String message) -> Sizer"""
687 return _windows_
.Dialog_CreateTextSizer(*args
, **kwargs
)
689 def CreateButtonSizer(*args
, **kwargs
):
690 """CreateButtonSizer(self, long flags, bool separated=False, int distance=0) -> Sizer"""
691 return _windows_
.Dialog_CreateButtonSizer(*args
, **kwargs
)
693 def CreateStdDialogButtonSizer(*args
, **kwargs
):
694 """CreateStdDialogButtonSizer(self, long flags) -> StdDialogButtonSizer"""
695 return _windows_
.Dialog_CreateStdDialogButtonSizer(*args
, **kwargs
)
697 def IsModal(*args
, **kwargs
):
698 """IsModal(self) -> bool"""
699 return _windows_
.Dialog_IsModal(*args
, **kwargs
)
701 def ShowModal(*args
, **kwargs
):
702 """ShowModal(self) -> int"""
703 return _windows_
.Dialog_ShowModal(*args
, **kwargs
)
705 def EndModal(*args
, **kwargs
):
706 """EndModal(self, int retCode)"""
707 return _windows_
.Dialog_EndModal(*args
, **kwargs
)
709 def GetClassDefaultAttributes(*args
, **kwargs
):
711 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
713 Get the default attributes for this class. This is useful if you want
714 to use the same font or colour in your own control as in a standard
715 control -- which is a much better idea than hard coding specific
716 colours or fonts which might look completely out of place on the
717 user's system, especially if it uses themes.
719 The variant parameter is only relevant under Mac currently and is
720 ignore under other platforms. Under Mac, it will change the size of
721 the returned font. See `wx.Window.SetWindowVariant` for more about
724 return _windows_
.Dialog_GetClassDefaultAttributes(*args
, **kwargs
)
726 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
728 class DialogPtr(Dialog
):
729 def __init__(self
, this
):
731 if not hasattr(self
,"thisown"): self
.thisown
= 0
732 self
.__class
__ = Dialog
733 _windows_
.Dialog_swigregister(DialogPtr
)
735 def PreDialog(*args
, **kwargs
):
736 """PreDialog() -> Dialog"""
737 val
= _windows_
.new_PreDialog(*args
, **kwargs
)
741 def Dialog_GetClassDefaultAttributes(*args
, **kwargs
):
743 Dialog_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
745 Get the default attributes for this class. This is useful if you want
746 to use the same font or colour in your own control as in a standard
747 control -- which is a much better idea than hard coding specific
748 colours or fonts which might look completely out of place on the
749 user's system, especially if it uses themes.
751 The variant parameter is only relevant under Mac currently and is
752 ignore under other platforms. Under Mac, it will change the size of
753 the returned font. See `wx.Window.SetWindowVariant` for more about
756 return _windows_
.Dialog_GetClassDefaultAttributes(*args
, **kwargs
)
758 #---------------------------------------------------------------------------
760 class MiniFrame(Frame
):
761 """Proxy of C++ MiniFrame class"""
763 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
764 def __init__(self
, *args
, **kwargs
):
766 __init__(self, Window parent, int id=-1, String title=EmptyString,
767 Point pos=DefaultPosition, Size size=DefaultSize,
768 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> MiniFrame
770 newobj
= _windows_
.new_MiniFrame(*args
, **kwargs
)
771 self
.this
= newobj
.this
774 self
._setOORInfo
(self
)
776 def Create(*args
, **kwargs
):
778 Create(self, Window parent, int id=-1, String title=EmptyString,
779 Point pos=DefaultPosition, Size size=DefaultSize,
780 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
782 return _windows_
.MiniFrame_Create(*args
, **kwargs
)
785 class MiniFramePtr(MiniFrame
):
786 def __init__(self
, this
):
788 if not hasattr(self
,"thisown"): self
.thisown
= 0
789 self
.__class
__ = MiniFrame
790 _windows_
.MiniFrame_swigregister(MiniFramePtr
)
792 def PreMiniFrame(*args
, **kwargs
):
793 """PreMiniFrame() -> MiniFrame"""
794 val
= _windows_
.new_PreMiniFrame(*args
, **kwargs
)
798 #---------------------------------------------------------------------------
800 SPLASH_CENTRE_ON_PARENT
= _windows_
.SPLASH_CENTRE_ON_PARENT
801 SPLASH_CENTRE_ON_SCREEN
= _windows_
.SPLASH_CENTRE_ON_SCREEN
802 SPLASH_NO_CENTRE
= _windows_
.SPLASH_NO_CENTRE
803 SPLASH_TIMEOUT
= _windows_
.SPLASH_TIMEOUT
804 SPLASH_NO_TIMEOUT
= _windows_
.SPLASH_NO_TIMEOUT
805 class SplashScreenWindow(_core
.Window
):
806 """Proxy of C++ SplashScreenWindow class"""
808 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
809 def __init__(self
, *args
, **kwargs
):
811 __init__(self, Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
812 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
814 newobj
= _windows_
.new_SplashScreenWindow(*args
, **kwargs
)
815 self
.this
= newobj
.this
818 self
._setOORInfo
(self
)
820 def SetBitmap(*args
, **kwargs
):
821 """SetBitmap(self, Bitmap bitmap)"""
822 return _windows_
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
824 def GetBitmap(*args
, **kwargs
):
825 """GetBitmap(self) -> Bitmap"""
826 return _windows_
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
829 class SplashScreenWindowPtr(SplashScreenWindow
):
830 def __init__(self
, this
):
832 if not hasattr(self
,"thisown"): self
.thisown
= 0
833 self
.__class
__ = SplashScreenWindow
834 _windows_
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
836 class SplashScreen(Frame
):
837 """Proxy of C++ SplashScreen class"""
839 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
840 def __init__(self
, *args
, **kwargs
):
842 __init__(self, Bitmap bitmap, long splashStyle, int milliseconds,
843 Window parent, int id=-1, Point pos=DefaultPosition,
844 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
846 newobj
= _windows_
.new_SplashScreen(*args
, **kwargs
)
847 self
.this
= newobj
.this
850 self
._setOORInfo
(self
)
852 def GetSplashStyle(*args
, **kwargs
):
853 """GetSplashStyle(self) -> long"""
854 return _windows_
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
856 def GetSplashWindow(*args
, **kwargs
):
857 """GetSplashWindow(self) -> SplashScreenWindow"""
858 return _windows_
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
860 def GetTimeout(*args
, **kwargs
):
861 """GetTimeout(self) -> int"""
862 return _windows_
.SplashScreen_GetTimeout(*args
, **kwargs
)
865 class SplashScreenPtr(SplashScreen
):
866 def __init__(self
, this
):
868 if not hasattr(self
,"thisown"): self
.thisown
= 0
869 self
.__class
__ = SplashScreen
870 _windows_
.SplashScreen_swigregister(SplashScreenPtr
)
872 #---------------------------------------------------------------------------
874 SB_NORMAL
= _windows_
.SB_NORMAL
875 SB_FLAT
= _windows_
.SB_FLAT
876 SB_RAISED
= _windows_
.SB_RAISED
877 class StatusBar(_core
.Window
):
878 """Proxy of C++ StatusBar class"""
880 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
881 def __init__(self
, *args
, **kwargs
):
883 __init__(self, Window parent, int id=-1, long style=DEFAULT_STATUSBAR_STYLE,
884 String name=StatusLineNameStr) -> StatusBar
886 newobj
= _windows_
.new_StatusBar(*args
, **kwargs
)
887 self
.this
= newobj
.this
890 self
._setOORInfo
(self
)
892 def Create(*args
, **kwargs
):
893 """Create(self, Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
894 return _windows_
.StatusBar_Create(*args
, **kwargs
)
896 def SetFieldsCount(*args
, **kwargs
):
897 """SetFieldsCount(self, int number=1)"""
898 return _windows_
.StatusBar_SetFieldsCount(*args
, **kwargs
)
900 def GetFieldsCount(*args
, **kwargs
):
901 """GetFieldsCount(self) -> int"""
902 return _windows_
.StatusBar_GetFieldsCount(*args
, **kwargs
)
904 def SetStatusText(*args
, **kwargs
):
905 """SetStatusText(self, String text, int number=0)"""
906 return _windows_
.StatusBar_SetStatusText(*args
, **kwargs
)
908 def GetStatusText(*args
, **kwargs
):
909 """GetStatusText(self, int number=0) -> String"""
910 return _windows_
.StatusBar_GetStatusText(*args
, **kwargs
)
912 def PushStatusText(*args
, **kwargs
):
913 """PushStatusText(self, String text, int number=0)"""
914 return _windows_
.StatusBar_PushStatusText(*args
, **kwargs
)
916 def PopStatusText(*args
, **kwargs
):
917 """PopStatusText(self, int number=0)"""
918 return _windows_
.StatusBar_PopStatusText(*args
, **kwargs
)
920 def SetStatusWidths(*args
, **kwargs
):
921 """SetStatusWidths(self, int widths)"""
922 return _windows_
.StatusBar_SetStatusWidths(*args
, **kwargs
)
924 def SetStatusStyles(*args
, **kwargs
):
925 """SetStatusStyles(self, int styles)"""
926 return _windows_
.StatusBar_SetStatusStyles(*args
, **kwargs
)
928 def GetFieldRect(*args
, **kwargs
):
929 """GetFieldRect(self, int i) -> Rect"""
930 return _windows_
.StatusBar_GetFieldRect(*args
, **kwargs
)
932 def SetMinHeight(*args
, **kwargs
):
933 """SetMinHeight(self, int height)"""
934 return _windows_
.StatusBar_SetMinHeight(*args
, **kwargs
)
936 def GetBorderX(*args
, **kwargs
):
937 """GetBorderX(self) -> int"""
938 return _windows_
.StatusBar_GetBorderX(*args
, **kwargs
)
940 def GetBorderY(*args
, **kwargs
):
941 """GetBorderY(self) -> int"""
942 return _windows_
.StatusBar_GetBorderY(*args
, **kwargs
)
944 def GetClassDefaultAttributes(*args
, **kwargs
):
946 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
948 Get the default attributes for this class. This is useful if you want
949 to use the same font or colour in your own control as in a standard
950 control -- which is a much better idea than hard coding specific
951 colours or fonts which might look completely out of place on the
952 user's system, especially if it uses themes.
954 The variant parameter is only relevant under Mac currently and is
955 ignore under other platforms. Under Mac, it will change the size of
956 the returned font. See `wx.Window.SetWindowVariant` for more about
959 return _windows_
.StatusBar_GetClassDefaultAttributes(*args
, **kwargs
)
961 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
963 class StatusBarPtr(StatusBar
):
964 def __init__(self
, this
):
966 if not hasattr(self
,"thisown"): self
.thisown
= 0
967 self
.__class
__ = StatusBar
968 _windows_
.StatusBar_swigregister(StatusBarPtr
)
970 def PreStatusBar(*args
, **kwargs
):
971 """PreStatusBar() -> StatusBar"""
972 val
= _windows_
.new_PreStatusBar(*args
, **kwargs
)
976 def StatusBar_GetClassDefaultAttributes(*args
, **kwargs
):
978 StatusBar_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
980 Get the default attributes for this class. This is useful if you want
981 to use the same font or colour in your own control as in a standard
982 control -- which is a much better idea than hard coding specific
983 colours or fonts which might look completely out of place on the
984 user's system, especially if it uses themes.
986 The variant parameter is only relevant under Mac currently and is
987 ignore under other platforms. Under Mac, it will change the size of
988 the returned font. See `wx.Window.SetWindowVariant` for more about
991 return _windows_
.StatusBar_GetClassDefaultAttributes(*args
, **kwargs
)
993 #---------------------------------------------------------------------------
995 SP_NOBORDER
= _windows_
.SP_NOBORDER
996 SP_NOSASH
= _windows_
.SP_NOSASH
997 SP_PERMIT_UNSPLIT
= _windows_
.SP_PERMIT_UNSPLIT
998 SP_LIVE_UPDATE
= _windows_
.SP_LIVE_UPDATE
999 SP_3DSASH
= _windows_
.SP_3DSASH
1000 SP_3DBORDER
= _windows_
.SP_3DBORDER
1001 SP_NO_XP_THEME
= _windows_
.SP_NO_XP_THEME
1002 SP_BORDER
= _windows_
.SP_BORDER
1003 SP_3D
= _windows_
.SP_3D
1004 SPLIT_HORIZONTAL
= _windows_
.SPLIT_HORIZONTAL
1005 SPLIT_VERTICAL
= _windows_
.SPLIT_VERTICAL
1006 SPLIT_DRAG_NONE
= _windows_
.SPLIT_DRAG_NONE
1007 SPLIT_DRAG_DRAGGING
= _windows_
.SPLIT_DRAG_DRAGGING
1008 SPLIT_DRAG_LEFT_DOWN
= _windows_
.SPLIT_DRAG_LEFT_DOWN
1009 class SplitterWindow(_core
.Window
):
1011 wx.SplitterWindow manages up to two subwindows or panes, with an
1012 optional vertical or horizontal split which can be used with the mouse
1013 or programmatically.
1016 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1017 def __init__(self
, *args
, **kwargs
):
1019 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1020 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
1022 Constructor. Creates and shows a SplitterWindow.
1024 if kwargs
.has_key('point'): kwargs
['pos'] = kwargs
['point'];del kwargs
['point']
1025 newobj
= _windows_
.new_SplitterWindow(*args
, **kwargs
)
1026 self
.this
= newobj
.this
1029 self
._setOORInfo
(self
)
1031 def Create(*args
, **kwargs
):
1033 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1034 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool
1036 Create the GUI part of the SplitterWindow for the 2-phase create.
1038 return _windows_
.SplitterWindow_Create(*args
, **kwargs
)
1040 def GetWindow1(*args
, **kwargs
):
1042 GetWindow1(self) -> Window
1044 Gets the only or left/top pane.
1046 return _windows_
.SplitterWindow_GetWindow1(*args
, **kwargs
)
1048 def GetWindow2(*args
, **kwargs
):
1050 GetWindow2(self) -> Window
1052 Gets the right/bottom pane.
1054 return _windows_
.SplitterWindow_GetWindow2(*args
, **kwargs
)
1056 def SetSplitMode(*args
, **kwargs
):
1058 SetSplitMode(self, int mode)
1060 Sets the split mode. The mode can be wx.SPLIT_VERTICAL or
1061 wx.SPLIT_HORIZONTAL. This only sets the internal variable; does not
1064 return _windows_
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
1066 def GetSplitMode(*args
, **kwargs
):
1068 GetSplitMode(self) -> int
1072 return _windows_
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
1074 def Initialize(*args
, **kwargs
):
1076 Initialize(self, Window window)
1078 Initializes the splitter window to have one pane. This should be
1079 called if you wish to initially view only a single pane in the
1080 splitter window. The child window is shown if it is currently hidden.
1082 return _windows_
.SplitterWindow_Initialize(*args
, **kwargs
)
1084 def SplitVertically(*args
, **kwargs
):
1086 SplitVertically(self, Window window1, Window window2, int sashPosition=0) -> bool
1088 Initializes the left and right panes of the splitter window. The
1089 child windows are shown if they are currently hidden.
1091 return _windows_
.SplitterWindow_SplitVertically(*args
, **kwargs
)
1093 def SplitHorizontally(*args
, **kwargs
):
1095 SplitHorizontally(self, Window window1, Window window2, int sashPosition=0) -> bool
1097 Initializes the top and bottom panes of the splitter window. The
1098 child windows are shown if they are currently hidden.
1100 return _windows_
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
1102 def Unsplit(*args
, **kwargs
):
1104 Unsplit(self, Window toRemove=None) -> bool
1106 Unsplits the window. Pass the pane to remove, or None to remove the
1107 right or bottom pane. Returns True if successful, False otherwise (the
1108 window was not split).
1110 This function will not actually delete the pane being
1111 removed; it sends EVT_SPLITTER_UNSPLIT which can be handled
1112 for the desired behaviour. By default, the pane being
1113 removed is only hidden.
1115 return _windows_
.SplitterWindow_Unsplit(*args
, **kwargs
)
1117 def ReplaceWindow(*args
, **kwargs
):
1119 ReplaceWindow(self, Window winOld, Window winNew) -> bool
1121 This function replaces one of the windows managed by the
1122 SplitterWindow with another one. It is in general better to use it
1123 instead of calling Unsplit() and then resplitting the window back
1124 because it will provoke much less flicker. It is valid to call this
1125 function whether the splitter has two windows or only one.
1127 Both parameters should be non-None and winOld must specify one of the
1128 windows managed by the splitter. If the parameters are incorrect or
1129 the window couldn't be replaced, False is returned. Otherwise the
1130 function will return True, but please notice that it will not Destroy
1131 the replaced window and you may wish to do it yourself.
1133 return _windows_
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
1135 def UpdateSize(*args
, **kwargs
):
1139 Causes any pending sizing of the sash and child panes to take place
1142 Such resizing normally takes place in idle time, in order to wait for
1143 layout to be completed. However, this can cause unacceptable flicker
1144 as the panes are resized after the window has been shown. To work
1145 around this, you can perform window layout (for example by sending a
1146 size event to the parent window), and then call this function, before
1147 showing the top-level window.
1149 return _windows_
.SplitterWindow_UpdateSize(*args
, **kwargs
)
1151 def IsSplit(*args
, **kwargs
):
1153 IsSplit(self) -> bool
1155 Is the window split?
1157 return _windows_
.SplitterWindow_IsSplit(*args
, **kwargs
)
1159 def SetSashSize(*args
, **kwargs
):
1161 SetSashSize(self, int width)
1165 return _windows_
.SplitterWindow_SetSashSize(*args
, **kwargs
)
1167 def SetBorderSize(*args
, **kwargs
):
1169 SetBorderSize(self, int width)
1171 Sets the border size. Currently a NOP.
1173 return _windows_
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
1175 def GetSashSize(*args
, **kwargs
):
1177 GetSashSize(self) -> int
1181 return _windows_
.SplitterWindow_GetSashSize(*args
, **kwargs
)
1183 def GetBorderSize(*args
, **kwargs
):
1185 GetBorderSize(self) -> int
1187 Gets the border size
1189 return _windows_
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
1191 def SetSashPosition(*args
, **kwargs
):
1193 SetSashPosition(self, int position, bool redraw=True)
1195 Sets the sash position, in pixels. If redraw is Ttrue then the panes
1196 are resized and the sash and border are redrawn.
1198 return _windows_
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
1200 def GetSashPosition(*args
, **kwargs
):
1202 GetSashPosition(self) -> int
1204 Returns the surrent sash position.
1206 return _windows_
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
1208 def SetSashGravity(*args
, **kwargs
):
1210 SetSashGravity(self, double gravity)
1212 Set the sash gravity. Gravity is a floating-point factor between 0.0
1213 and 1.0 which controls position of sash while resizing the
1214 `wx.SplitterWindow`. The gravity specifies how much the left/top
1215 window will grow while resizing.
1217 return _windows_
.SplitterWindow_SetSashGravity(*args
, **kwargs
)
1219 def GetSashGravity(*args
, **kwargs
):
1221 GetSashGravity(self) -> double
1223 Gets the sash gravity.
1225 :see: `SetSashGravity`
1228 return _windows_
.SplitterWindow_GetSashGravity(*args
, **kwargs
)
1230 def SetMinimumPaneSize(*args
, **kwargs
):
1232 SetMinimumPaneSize(self, int min)
1234 Sets the minimum pane size in pixels.
1236 The default minimum pane size is zero, which means that either pane
1237 can be reduced to zero by dragging the sash, thus removing one of the
1238 panes. To prevent this behaviour (and veto out-of-range sash
1239 dragging), set a minimum size, for example 20 pixels. If the
1240 wx.SP_PERMIT_UNSPLIT style is used when a splitter window is created,
1241 the window may be unsplit even if minimum size is non-zero.
1243 return _windows_
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
1245 def GetMinimumPaneSize(*args
, **kwargs
):
1247 GetMinimumPaneSize(self) -> int
1249 Gets the minimum pane size in pixels.
1251 return _windows_
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
1253 def SashHitTest(*args
, **kwargs
):
1255 SashHitTest(self, int x, int y, int tolerance=5) -> bool
1257 Tests for x, y over the sash
1259 return _windows_
.SplitterWindow_SashHitTest(*args
, **kwargs
)
1261 def SizeWindows(*args
, **kwargs
):
1267 return _windows_
.SplitterWindow_SizeWindows(*args
, **kwargs
)
1269 def SetNeedUpdating(*args
, **kwargs
):
1270 """SetNeedUpdating(self, bool needUpdating)"""
1271 return _windows_
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
1273 def GetNeedUpdating(*args
, **kwargs
):
1274 """GetNeedUpdating(self) -> bool"""
1275 return _windows_
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
1277 def GetClassDefaultAttributes(*args
, **kwargs
):
1279 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1281 Get the default attributes for this class. This is useful if you want
1282 to use the same font or colour in your own control as in a standard
1283 control -- which is a much better idea than hard coding specific
1284 colours or fonts which might look completely out of place on the
1285 user's system, especially if it uses themes.
1287 The variant parameter is only relevant under Mac currently and is
1288 ignore under other platforms. Under Mac, it will change the size of
1289 the returned font. See `wx.Window.SetWindowVariant` for more about
1292 return _windows_
.SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1294 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
1296 class SplitterWindowPtr(SplitterWindow
):
1297 def __init__(self
, this
):
1299 if not hasattr(self
,"thisown"): self
.thisown
= 0
1300 self
.__class
__ = SplitterWindow
1301 _windows_
.SplitterWindow_swigregister(SplitterWindowPtr
)
1302 SplitterNameStr
= cvar
.SplitterNameStr
1304 def PreSplitterWindow(*args
, **kwargs
):
1306 PreSplitterWindow() -> SplitterWindow
1308 Precreate a SplitterWindow for 2-phase creation.
1310 val
= _windows_
.new_PreSplitterWindow(*args
, **kwargs
)
1314 def SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
):
1316 SplitterWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1318 Get the default attributes for this class. This is useful if you want
1319 to use the same font or colour in your own control as in a standard
1320 control -- which is a much better idea than hard coding specific
1321 colours or fonts which might look completely out of place on the
1322 user's system, especially if it uses themes.
1324 The variant parameter is only relevant under Mac currently and is
1325 ignore under other platforms. Under Mac, it will change the size of
1326 the returned font. See `wx.Window.SetWindowVariant` for more about
1329 return _windows_
.SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1331 class SplitterEvent(_core
.NotifyEvent
):
1332 """This class represents the events generated by a splitter control."""
1334 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1335 def __init__(self
, *args
, **kwargs
):
1337 __init__(self, wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent
1339 This class represents the events generated by a splitter control.
1341 newobj
= _windows_
.new_SplitterEvent(*args
, **kwargs
)
1342 self
.this
= newobj
.this
1345 def SetSashPosition(*args
, **kwargs
):
1347 SetSashPosition(self, int pos)
1349 This function is only meaningful during EVT_SPLITTER_SASH_POS_CHANGING
1350 and EVT_SPLITTER_SASH_POS_CHANGED events. In the case of _CHANGED
1351 events, sets the the new sash position. In the case of _CHANGING
1352 events, sets the new tracking bar position so visual feedback during
1353 dragging will represent that change that will actually take place. Set
1354 to -1 from the event handler code to prevent repositioning.
1356 return _windows_
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
1358 def GetSashPosition(*args
, **kwargs
):
1360 GetSashPosition(self) -> int
1362 Returns the new sash position while in EVT_SPLITTER_SASH_POS_CHANGING
1363 and EVT_SPLITTER_SASH_POS_CHANGED events.
1365 return _windows_
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
1367 def GetWindowBeingRemoved(*args
, **kwargs
):
1369 GetWindowBeingRemoved(self) -> Window
1371 Returns a pointer to the window being removed when a splitter window
1374 return _windows_
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
1376 def GetX(*args
, **kwargs
):
1380 Returns the x coordinate of the double-click point in a
1381 EVT_SPLITTER_DCLICK event.
1383 return _windows_
.SplitterEvent_GetX(*args
, **kwargs
)
1385 def GetY(*args
, **kwargs
):
1389 Returns the y coordinate of the double-click point in a
1390 EVT_SPLITTER_DCLICK event.
1392 return _windows_
.SplitterEvent_GetY(*args
, **kwargs
)
1395 class SplitterEventPtr(SplitterEvent
):
1396 def __init__(self
, this
):
1398 if not hasattr(self
,"thisown"): self
.thisown
= 0
1399 self
.__class
__ = SplitterEvent
1400 _windows_
.SplitterEvent_swigregister(SplitterEventPtr
)
1402 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
1403 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
1404 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows_
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
1405 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows_
.wxEVT_COMMAND_SPLITTER_UNSPLIT
1406 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
1407 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
1408 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
1409 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
1410 EVT_SPLITTER_DCLICK
= EVT_SPLITTER_DOUBLECLICKED
1412 #---------------------------------------------------------------------------
1414 SASH_DRAG_NONE
= _windows_
.SASH_DRAG_NONE
1415 SASH_DRAG_DRAGGING
= _windows_
.SASH_DRAG_DRAGGING
1416 SASH_DRAG_LEFT_DOWN
= _windows_
.SASH_DRAG_LEFT_DOWN
1417 SW_NOBORDER
= _windows_
.SW_NOBORDER
1418 SW_BORDER
= _windows_
.SW_BORDER
1419 SW_3DSASH
= _windows_
.SW_3DSASH
1420 SW_3DBORDER
= _windows_
.SW_3DBORDER
1421 SW_3D
= _windows_
.SW_3D
1422 SASH_TOP
= _windows_
.SASH_TOP
1423 SASH_RIGHT
= _windows_
.SASH_RIGHT
1424 SASH_BOTTOM
= _windows_
.SASH_BOTTOM
1425 SASH_LEFT
= _windows_
.SASH_LEFT
1426 SASH_NONE
= _windows_
.SASH_NONE
1427 class SashWindow(_core
.Window
):
1428 """Proxy of C++ SashWindow class"""
1430 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1431 def __init__(self
, *args
, **kwargs
):
1433 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1434 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1435 String name=SashNameStr) -> SashWindow
1437 newobj
= _windows_
.new_SashWindow(*args
, **kwargs
)
1438 self
.this
= newobj
.this
1441 self
._setOORInfo
(self
)
1443 def Create(*args
, **kwargs
):
1445 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1446 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1447 String name=SashNameStr) -> bool
1449 return _windows_
.SashWindow_Create(*args
, **kwargs
)
1451 def SetSashVisible(*args
, **kwargs
):
1452 """SetSashVisible(self, int edge, bool sash)"""
1453 return _windows_
.SashWindow_SetSashVisible(*args
, **kwargs
)
1455 def GetSashVisible(*args
, **kwargs
):
1456 """GetSashVisible(self, int edge) -> bool"""
1457 return _windows_
.SashWindow_GetSashVisible(*args
, **kwargs
)
1459 def SetSashBorder(*args
, **kwargs
):
1460 """SetSashBorder(self, int edge, bool border)"""
1461 return _windows_
.SashWindow_SetSashBorder(*args
, **kwargs
)
1463 def HasBorder(*args
, **kwargs
):
1464 """HasBorder(self, int edge) -> bool"""
1465 return _windows_
.SashWindow_HasBorder(*args
, **kwargs
)
1467 def GetEdgeMargin(*args
, **kwargs
):
1468 """GetEdgeMargin(self, int edge) -> int"""
1469 return _windows_
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
1471 def SetDefaultBorderSize(*args
, **kwargs
):
1472 """SetDefaultBorderSize(self, int width)"""
1473 return _windows_
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
1475 def GetDefaultBorderSize(*args
, **kwargs
):
1476 """GetDefaultBorderSize(self) -> int"""
1477 return _windows_
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
1479 def SetExtraBorderSize(*args
, **kwargs
):
1480 """SetExtraBorderSize(self, int width)"""
1481 return _windows_
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
1483 def GetExtraBorderSize(*args
, **kwargs
):
1484 """GetExtraBorderSize(self) -> int"""
1485 return _windows_
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
1487 def SetMinimumSizeX(*args
, **kwargs
):
1488 """SetMinimumSizeX(self, int min)"""
1489 return _windows_
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
1491 def SetMinimumSizeY(*args
, **kwargs
):
1492 """SetMinimumSizeY(self, int min)"""
1493 return _windows_
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
1495 def GetMinimumSizeX(*args
, **kwargs
):
1496 """GetMinimumSizeX(self) -> int"""
1497 return _windows_
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
1499 def GetMinimumSizeY(*args
, **kwargs
):
1500 """GetMinimumSizeY(self) -> int"""
1501 return _windows_
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
1503 def SetMaximumSizeX(*args
, **kwargs
):
1504 """SetMaximumSizeX(self, int max)"""
1505 return _windows_
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
1507 def SetMaximumSizeY(*args
, **kwargs
):
1508 """SetMaximumSizeY(self, int max)"""
1509 return _windows_
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
1511 def GetMaximumSizeX(*args
, **kwargs
):
1512 """GetMaximumSizeX(self) -> int"""
1513 return _windows_
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
1515 def GetMaximumSizeY(*args
, **kwargs
):
1516 """GetMaximumSizeY(self) -> int"""
1517 return _windows_
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
1519 def SashHitTest(*args
, **kwargs
):
1520 """SashHitTest(self, int x, int y, int tolerance=2) -> int"""
1521 return _windows_
.SashWindow_SashHitTest(*args
, **kwargs
)
1523 def SizeWindows(*args
, **kwargs
):
1524 """SizeWindows(self)"""
1525 return _windows_
.SashWindow_SizeWindows(*args
, **kwargs
)
1528 class SashWindowPtr(SashWindow
):
1529 def __init__(self
, this
):
1531 if not hasattr(self
,"thisown"): self
.thisown
= 0
1532 self
.__class
__ = SashWindow
1533 _windows_
.SashWindow_swigregister(SashWindowPtr
)
1534 SashNameStr
= cvar
.SashNameStr
1535 SashLayoutNameStr
= cvar
.SashLayoutNameStr
1537 def PreSashWindow(*args
, **kwargs
):
1538 """PreSashWindow() -> SashWindow"""
1539 val
= _windows_
.new_PreSashWindow(*args
, **kwargs
)
1543 SASH_STATUS_OK
= _windows_
.SASH_STATUS_OK
1544 SASH_STATUS_OUT_OF_RANGE
= _windows_
.SASH_STATUS_OUT_OF_RANGE
1545 class SashEvent(_core
.CommandEvent
):
1546 """Proxy of C++ SashEvent class"""
1548 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1549 def __init__(self
, *args
, **kwargs
):
1550 """__init__(self, int id=0, int edge=SASH_NONE) -> SashEvent"""
1551 newobj
= _windows_
.new_SashEvent(*args
, **kwargs
)
1552 self
.this
= newobj
.this
1555 def SetEdge(*args
, **kwargs
):
1556 """SetEdge(self, int edge)"""
1557 return _windows_
.SashEvent_SetEdge(*args
, **kwargs
)
1559 def GetEdge(*args
, **kwargs
):
1560 """GetEdge(self) -> int"""
1561 return _windows_
.SashEvent_GetEdge(*args
, **kwargs
)
1563 def SetDragRect(*args
, **kwargs
):
1564 """SetDragRect(self, Rect rect)"""
1565 return _windows_
.SashEvent_SetDragRect(*args
, **kwargs
)
1567 def GetDragRect(*args
, **kwargs
):
1568 """GetDragRect(self) -> Rect"""
1569 return _windows_
.SashEvent_GetDragRect(*args
, **kwargs
)
1571 def SetDragStatus(*args
, **kwargs
):
1572 """SetDragStatus(self, int status)"""
1573 return _windows_
.SashEvent_SetDragStatus(*args
, **kwargs
)
1575 def GetDragStatus(*args
, **kwargs
):
1576 """GetDragStatus(self) -> int"""
1577 return _windows_
.SashEvent_GetDragStatus(*args
, **kwargs
)
1580 class SashEventPtr(SashEvent
):
1581 def __init__(self
, this
):
1583 if not hasattr(self
,"thisown"): self
.thisown
= 0
1584 self
.__class
__ = SashEvent
1585 _windows_
.SashEvent_swigregister(SashEventPtr
)
1587 wxEVT_SASH_DRAGGED
= _windows_
.wxEVT_SASH_DRAGGED
1588 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
1589 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
1591 #---------------------------------------------------------------------------
1593 LAYOUT_HORIZONTAL
= _windows_
.LAYOUT_HORIZONTAL
1594 LAYOUT_VERTICAL
= _windows_
.LAYOUT_VERTICAL
1595 LAYOUT_NONE
= _windows_
.LAYOUT_NONE
1596 LAYOUT_TOP
= _windows_
.LAYOUT_TOP
1597 LAYOUT_LEFT
= _windows_
.LAYOUT_LEFT
1598 LAYOUT_RIGHT
= _windows_
.LAYOUT_RIGHT
1599 LAYOUT_BOTTOM
= _windows_
.LAYOUT_BOTTOM
1600 LAYOUT_LENGTH_Y
= _windows_
.LAYOUT_LENGTH_Y
1601 LAYOUT_LENGTH_X
= _windows_
.LAYOUT_LENGTH_X
1602 LAYOUT_MRU_LENGTH
= _windows_
.LAYOUT_MRU_LENGTH
1603 LAYOUT_QUERY
= _windows_
.LAYOUT_QUERY
1604 wxEVT_QUERY_LAYOUT_INFO
= _windows_
.wxEVT_QUERY_LAYOUT_INFO
1605 wxEVT_CALCULATE_LAYOUT
= _windows_
.wxEVT_CALCULATE_LAYOUT
1606 class QueryLayoutInfoEvent(_core
.Event
):
1607 """Proxy of C++ QueryLayoutInfoEvent class"""
1609 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1610 def __init__(self
, *args
, **kwargs
):
1611 """__init__(self, int id=0) -> QueryLayoutInfoEvent"""
1612 newobj
= _windows_
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1613 self
.this
= newobj
.this
1616 def SetRequestedLength(*args
, **kwargs
):
1617 """SetRequestedLength(self, int length)"""
1618 return _windows_
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1620 def GetRequestedLength(*args
, **kwargs
):
1621 """GetRequestedLength(self) -> int"""
1622 return _windows_
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1624 def SetFlags(*args
, **kwargs
):
1625 """SetFlags(self, int flags)"""
1626 return _windows_
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1628 def GetFlags(*args
, **kwargs
):
1629 """GetFlags(self) -> int"""
1630 return _windows_
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1632 def SetSize(*args
, **kwargs
):
1633 """SetSize(self, Size size)"""
1634 return _windows_
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1636 def GetSize(*args
, **kwargs
):
1637 """GetSize(self) -> Size"""
1638 return _windows_
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1640 def SetOrientation(*args
, **kwargs
):
1641 """SetOrientation(self, int orient)"""
1642 return _windows_
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1644 def GetOrientation(*args
, **kwargs
):
1645 """GetOrientation(self) -> int"""
1646 return _windows_
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1648 def SetAlignment(*args
, **kwargs
):
1649 """SetAlignment(self, int align)"""
1650 return _windows_
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1652 def GetAlignment(*args
, **kwargs
):
1653 """GetAlignment(self) -> int"""
1654 return _windows_
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1657 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1658 def __init__(self
, this
):
1660 if not hasattr(self
,"thisown"): self
.thisown
= 0
1661 self
.__class
__ = QueryLayoutInfoEvent
1662 _windows_
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1664 class CalculateLayoutEvent(_core
.Event
):
1665 """Proxy of C++ CalculateLayoutEvent class"""
1667 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1668 def __init__(self
, *args
, **kwargs
):
1669 """__init__(self, int id=0) -> CalculateLayoutEvent"""
1670 newobj
= _windows_
.new_CalculateLayoutEvent(*args
, **kwargs
)
1671 self
.this
= newobj
.this
1674 def SetFlags(*args
, **kwargs
):
1675 """SetFlags(self, int flags)"""
1676 return _windows_
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1678 def GetFlags(*args
, **kwargs
):
1679 """GetFlags(self) -> int"""
1680 return _windows_
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1682 def SetRect(*args
, **kwargs
):
1683 """SetRect(self, Rect rect)"""
1684 return _windows_
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1686 def GetRect(*args
, **kwargs
):
1687 """GetRect(self) -> Rect"""
1688 return _windows_
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1691 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1692 def __init__(self
, this
):
1694 if not hasattr(self
,"thisown"): self
.thisown
= 0
1695 self
.__class
__ = CalculateLayoutEvent
1696 _windows_
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1698 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1699 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1701 class SashLayoutWindow(SashWindow
):
1702 """Proxy of C++ SashLayoutWindow class"""
1704 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1705 def __init__(self
, *args
, **kwargs
):
1707 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1708 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1709 String name=SashLayoutNameStr) -> SashLayoutWindow
1711 newobj
= _windows_
.new_SashLayoutWindow(*args
, **kwargs
)
1712 self
.this
= newobj
.this
1715 self
._setOORInfo
(self
)
1717 def Create(*args
, **kwargs
):
1719 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1720 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1721 String name=SashLayoutNameStr) -> bool
1723 return _windows_
.SashLayoutWindow_Create(*args
, **kwargs
)
1725 def GetAlignment(*args
, **kwargs
):
1726 """GetAlignment(self) -> int"""
1727 return _windows_
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1729 def GetOrientation(*args
, **kwargs
):
1730 """GetOrientation(self) -> int"""
1731 return _windows_
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1733 def SetAlignment(*args
, **kwargs
):
1734 """SetAlignment(self, int alignment)"""
1735 return _windows_
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1737 def SetDefaultSize(*args
, **kwargs
):
1738 """SetDefaultSize(self, Size size)"""
1739 return _windows_
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1741 def SetOrientation(*args
, **kwargs
):
1742 """SetOrientation(self, int orientation)"""
1743 return _windows_
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1746 class SashLayoutWindowPtr(SashLayoutWindow
):
1747 def __init__(self
, this
):
1749 if not hasattr(self
,"thisown"): self
.thisown
= 0
1750 self
.__class
__ = SashLayoutWindow
1751 _windows_
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1753 def PreSashLayoutWindow(*args
, **kwargs
):
1754 """PreSashLayoutWindow() -> SashLayoutWindow"""
1755 val
= _windows_
.new_PreSashLayoutWindow(*args
, **kwargs
)
1759 class LayoutAlgorithm(_core
.Object
):
1760 """Proxy of C++ LayoutAlgorithm class"""
1762 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1763 def __init__(self
, *args
, **kwargs
):
1764 """__init__(self) -> LayoutAlgorithm"""
1765 newobj
= _windows_
.new_LayoutAlgorithm(*args
, **kwargs
)
1766 self
.this
= newobj
.this
1769 def __del__(self
, destroy
=_windows_
.delete_LayoutAlgorithm
):
1772 if self
.thisown
: destroy(self
)
1775 def LayoutMDIFrame(*args
, **kwargs
):
1776 """LayoutMDIFrame(self, MDIParentFrame frame, Rect rect=None) -> bool"""
1777 return _windows_
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1779 def LayoutFrame(*args
, **kwargs
):
1780 """LayoutFrame(self, Frame frame, Window mainWindow=None) -> bool"""
1781 return _windows_
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1783 def LayoutWindow(*args
, **kwargs
):
1784 """LayoutWindow(self, Window parent, Window mainWindow=None) -> bool"""
1785 return _windows_
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1788 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1789 def __init__(self
, this
):
1791 if not hasattr(self
,"thisown"): self
.thisown
= 0
1792 self
.__class
__ = LayoutAlgorithm
1793 _windows_
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1795 class PopupWindow(_core
.Window
):
1796 """Proxy of C++ PopupWindow class"""
1798 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1799 def __init__(self
, *args
, **kwargs
):
1800 """__init__(self, Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1801 newobj
= _windows_
.new_PopupWindow(*args
, **kwargs
)
1802 self
.this
= newobj
.this
1806 class PopupWindowPtr(PopupWindow
):
1807 def __init__(self
, this
):
1809 if not hasattr(self
,"thisown"): self
.thisown
= 0
1810 self
.__class
__ = PopupWindow
1811 _windows_
.PopupWindow_swigregister(PopupWindowPtr
)
1813 def PrePopupWindow(*args
, **kwargs
):
1814 """PrePopupWindow() -> PopupWindow"""
1815 val
= _windows_
.new_PrePopupWindow(*args
, **kwargs
)
1819 class PopupTransientWindow(PopupWindow
):
1820 """Proxy of C++ PopupTransientWindow class"""
1822 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1823 def __init__(self
, *args
, **kwargs
):
1824 """__init__(self, Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1825 newobj
= _windows_
.new_PopupTransientWindow(*args
, **kwargs
)
1826 self
.this
= newobj
.this
1830 class PopupTransientWindowPtr(PopupTransientWindow
):
1831 def __init__(self
, this
):
1833 if not hasattr(self
,"thisown"): self
.thisown
= 0
1834 self
.__class
__ = PopupTransientWindow
1835 _windows_
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1837 def PrePopupTransientWindow(*args
, **kwargs
):
1838 """PrePopupTransientWindow() -> PopupTransientWindow"""
1839 val
= _windows_
.new_PrePopupTransientWindow(*args
, **kwargs
)
1843 #---------------------------------------------------------------------------
1845 class TipWindow(Frame
):
1846 """Proxy of C++ TipWindow class"""
1848 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1849 def __init__(self
, *args
, **kwargs
):
1850 """__init__(self, Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1851 newobj
= _windows_
.new_TipWindow(*args
, **kwargs
)
1852 self
.this
= newobj
.this
1855 self
._setOORInfo
(self
)
1857 def SetBoundingRect(*args
, **kwargs
):
1858 """SetBoundingRect(self, Rect rectBound)"""
1859 return _windows_
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1861 def Close(*args
, **kwargs
):
1865 This function simply generates a EVT_CLOSE event whose handler usually
1866 tries to close the window. It doesn't close the window itself,
1867 however. If force is False (the default) then the window's close
1868 handler will be allowed to veto the destruction of the window.
1870 return _windows_
.TipWindow_Close(*args
, **kwargs
)
1873 class TipWindowPtr(TipWindow
):
1874 def __init__(self
, this
):
1876 if not hasattr(self
,"thisown"): self
.thisown
= 0
1877 self
.__class
__ = TipWindow
1878 _windows_
.TipWindow_swigregister(TipWindowPtr
)
1880 #---------------------------------------------------------------------------
1882 class VScrolledWindow(Panel
):
1883 """Proxy of C++ VScrolledWindow class"""
1885 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1886 def __init__(self
, *args
, **kwargs
):
1888 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1889 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
1891 newobj
= _windows_
.new_VScrolledWindow(*args
, **kwargs
)
1892 self
.this
= newobj
.this
1895 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1897 def _setCallbackInfo(*args
, **kwargs
):
1898 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1899 return _windows_
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1901 def Create(*args
, **kwargs
):
1903 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1904 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
1906 return _windows_
.VScrolledWindow_Create(*args
, **kwargs
)
1908 def SetLineCount(*args
, **kwargs
):
1909 """SetLineCount(self, size_t count)"""
1910 return _windows_
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1912 def ScrollToLine(*args
, **kwargs
):
1913 """ScrollToLine(self, size_t line) -> bool"""
1914 return _windows_
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1916 def ScrollLines(*args
, **kwargs
):
1918 ScrollLines(self, int lines) -> bool
1920 If the platform and window class supports it, scrolls the window by
1921 the given number of lines down, if lines is positive, or up if lines
1922 is negative. Returns True if the window was scrolled, False if it was
1923 already on top/bottom and nothing was done.
1925 return _windows_
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1927 def ScrollPages(*args
, **kwargs
):
1929 ScrollPages(self, int pages) -> bool
1931 If the platform and window class supports it, scrolls the window by
1932 the given number of pages down, if pages is positive, or up if pages
1933 is negative. Returns True if the window was scrolled, False if it was
1934 already on top/bottom and nothing was done.
1936 return _windows_
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1938 def RefreshLine(*args
, **kwargs
):
1939 """RefreshLine(self, size_t line)"""
1940 return _windows_
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1942 def RefreshLines(*args
, **kwargs
):
1943 """RefreshLines(self, size_t from, size_t to)"""
1944 return _windows_
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1946 def HitTestXY(*args
, **kwargs
):
1948 HitTestXY(self, int x, int y) -> int
1950 Test where the given (in client coords) point lies
1952 return _windows_
.VScrolledWindow_HitTestXY(*args
, **kwargs
)
1954 def HitTest(*args
, **kwargs
):
1956 HitTest(self, Point pt) -> int
1958 Test where the given (in client coords) point lies
1960 return _windows_
.VScrolledWindow_HitTest(*args
, **kwargs
)
1962 def RefreshAll(*args
, **kwargs
):
1963 """RefreshAll(self)"""
1964 return _windows_
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1966 def GetLineCount(*args
, **kwargs
):
1967 """GetLineCount(self) -> size_t"""
1968 return _windows_
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1970 def GetVisibleBegin(*args
, **kwargs
):
1971 """GetVisibleBegin(self) -> size_t"""
1972 return _windows_
.VScrolledWindow_GetVisibleBegin(*args
, **kwargs
)
1974 def GetVisibleEnd(*args
, **kwargs
):
1975 """GetVisibleEnd(self) -> size_t"""
1976 return _windows_
.VScrolledWindow_GetVisibleEnd(*args
, **kwargs
)
1978 def IsVisible(*args
, **kwargs
):
1979 """IsVisible(self, size_t line) -> bool"""
1980 return _windows_
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1982 def GetFirstVisibleLine(*args
, **kwargs
):
1983 """GetFirstVisibleLine(self) -> size_t"""
1984 return _windows_
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1986 def GetLastVisibleLine(*args
, **kwargs
):
1987 """GetLastVisibleLine(self) -> size_t"""
1988 return _windows_
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1991 class VScrolledWindowPtr(VScrolledWindow
):
1992 def __init__(self
, this
):
1994 if not hasattr(self
,"thisown"): self
.thisown
= 0
1995 self
.__class
__ = VScrolledWindow
1996 _windows_
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
1998 def PreVScrolledWindow(*args
, **kwargs
):
1999 """PreVScrolledWindow() -> VScrolledWindow"""
2000 val
= _windows_
.new_PreVScrolledWindow(*args
, **kwargs
)
2004 class VListBox(VScrolledWindow
):
2005 """Proxy of C++ VListBox class"""
2007 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2008 def __init__(self
, *args
, **kwargs
):
2010 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2011 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
2013 newobj
= _windows_
.new_VListBox(*args
, **kwargs
)
2014 self
.this
= newobj
.this
2017 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
2019 def _setCallbackInfo(*args
, **kwargs
):
2020 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2021 return _windows_
.VListBox__setCallbackInfo(*args
, **kwargs
)
2023 def Create(*args
, **kwargs
):
2025 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2026 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
2028 return _windows_
.VListBox_Create(*args
, **kwargs
)
2030 def GetItemCount(*args
, **kwargs
):
2031 """GetItemCount(self) -> size_t"""
2032 return _windows_
.VListBox_GetItemCount(*args
, **kwargs
)
2034 def HasMultipleSelection(*args
, **kwargs
):
2035 """HasMultipleSelection(self) -> bool"""
2036 return _windows_
.VListBox_HasMultipleSelection(*args
, **kwargs
)
2038 def GetSelection(*args
, **kwargs
):
2039 """GetSelection(self) -> int"""
2040 return _windows_
.VListBox_GetSelection(*args
, **kwargs
)
2042 def IsCurrent(*args
, **kwargs
):
2043 """IsCurrent(self, size_t item) -> bool"""
2044 return _windows_
.VListBox_IsCurrent(*args
, **kwargs
)
2046 def IsSelected(*args
, **kwargs
):
2047 """IsSelected(self, size_t item) -> bool"""
2048 return _windows_
.VListBox_IsSelected(*args
, **kwargs
)
2050 def GetSelectedCount(*args
, **kwargs
):
2051 """GetSelectedCount(self) -> size_t"""
2052 return _windows_
.VListBox_GetSelectedCount(*args
, **kwargs
)
2054 def GetFirstSelected(*args
, **kwargs
):
2055 """GetFirstSelected(self) -> PyObject"""
2056 return _windows_
.VListBox_GetFirstSelected(*args
, **kwargs
)
2058 def GetNextSelected(*args
, **kwargs
):
2059 """GetNextSelected(self, unsigned long cookie) -> PyObject"""
2060 return _windows_
.VListBox_GetNextSelected(*args
, **kwargs
)
2062 def GetMargins(*args
, **kwargs
):
2063 """GetMargins(self) -> Point"""
2064 return _windows_
.VListBox_GetMargins(*args
, **kwargs
)
2066 def GetSelectionBackground(*args
, **kwargs
):
2067 """GetSelectionBackground(self) -> Colour"""
2068 return _windows_
.VListBox_GetSelectionBackground(*args
, **kwargs
)
2070 def SetItemCount(*args
, **kwargs
):
2071 """SetItemCount(self, size_t count)"""
2072 return _windows_
.VListBox_SetItemCount(*args
, **kwargs
)
2074 def Clear(*args
, **kwargs
):
2076 return _windows_
.VListBox_Clear(*args
, **kwargs
)
2078 def SetSelection(*args
, **kwargs
):
2079 """SetSelection(self, int selection)"""
2080 return _windows_
.VListBox_SetSelection(*args
, **kwargs
)
2082 def Select(*args
, **kwargs
):
2083 """Select(self, size_t item, bool select=True) -> bool"""
2084 return _windows_
.VListBox_Select(*args
, **kwargs
)
2086 def SelectRange(*args
, **kwargs
):
2087 """SelectRange(self, size_t from, size_t to) -> bool"""
2088 return _windows_
.VListBox_SelectRange(*args
, **kwargs
)
2090 def Toggle(*args
, **kwargs
):
2091 """Toggle(self, size_t item)"""
2092 return _windows_
.VListBox_Toggle(*args
, **kwargs
)
2094 def SelectAll(*args
, **kwargs
):
2095 """SelectAll(self) -> bool"""
2096 return _windows_
.VListBox_SelectAll(*args
, **kwargs
)
2098 def DeselectAll(*args
, **kwargs
):
2099 """DeselectAll(self) -> bool"""
2100 return _windows_
.VListBox_DeselectAll(*args
, **kwargs
)
2102 def SetMargins(*args
, **kwargs
):
2103 """SetMargins(self, Point pt)"""
2104 return _windows_
.VListBox_SetMargins(*args
, **kwargs
)
2106 def SetMarginsXY(*args
, **kwargs
):
2107 """SetMarginsXY(self, int x, int y)"""
2108 return _windows_
.VListBox_SetMarginsXY(*args
, **kwargs
)
2110 def SetSelectionBackground(*args
, **kwargs
):
2111 """SetSelectionBackground(self, Colour col)"""
2112 return _windows_
.VListBox_SetSelectionBackground(*args
, **kwargs
)
2115 class VListBoxPtr(VListBox
):
2116 def __init__(self
, this
):
2118 if not hasattr(self
,"thisown"): self
.thisown
= 0
2119 self
.__class
__ = VListBox
2120 _windows_
.VListBox_swigregister(VListBoxPtr
)
2121 VListBoxNameStr
= cvar
.VListBoxNameStr
2123 def PreVListBox(*args
, **kwargs
):
2124 """PreVListBox() -> VListBox"""
2125 val
= _windows_
.new_PreVListBox(*args
, **kwargs
)
2129 class HtmlListBox(VListBox
):
2130 """Proxy of C++ HtmlListBox class"""
2132 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2133 def __init__(self
, *args
, **kwargs
):
2135 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2136 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
2138 newobj
= _windows_
.new_HtmlListBox(*args
, **kwargs
)
2139 self
.this
= newobj
.this
2142 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
2144 def _setCallbackInfo(*args
, **kwargs
):
2145 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2146 return _windows_
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
2148 def Create(*args
, **kwargs
):
2150 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2151 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
2153 return _windows_
.HtmlListBox_Create(*args
, **kwargs
)
2155 def RefreshAll(*args
, **kwargs
):
2156 """RefreshAll(self)"""
2157 return _windows_
.HtmlListBox_RefreshAll(*args
, **kwargs
)
2159 def SetItemCount(*args
, **kwargs
):
2160 """SetItemCount(self, size_t count)"""
2161 return _windows_
.HtmlListBox_SetItemCount(*args
, **kwargs
)
2163 def GetFileSystem(*args
, **kwargs
):
2164 """GetFileSystem(self) -> FileSystem"""
2165 return _windows_
.HtmlListBox_GetFileSystem(*args
, **kwargs
)
2168 class HtmlListBoxPtr(HtmlListBox
):
2169 def __init__(self
, this
):
2171 if not hasattr(self
,"thisown"): self
.thisown
= 0
2172 self
.__class
__ = HtmlListBox
2173 _windows_
.HtmlListBox_swigregister(HtmlListBoxPtr
)
2175 def PreHtmlListBox(*args
, **kwargs
):
2176 """PreHtmlListBox() -> HtmlListBox"""
2177 val
= _windows_
.new_PreHtmlListBox(*args
, **kwargs
)
2181 #---------------------------------------------------------------------------
2183 class TaskBarIcon(_core
.EvtHandler
):
2184 """Proxy of C++ TaskBarIcon class"""
2186 return "<%s.%s; proxy of C++ wxPyTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2187 def __init__(self
, *args
, **kwargs
):
2188 """__init__(self) -> TaskBarIcon"""
2189 newobj
= _windows_
.new_TaskBarIcon(*args
, **kwargs
)
2190 self
.this
= newobj
.this
2193 self
._setCallbackInfo
(self
, TaskBarIcon
, 0)
2195 def __del__(self
, destroy
=_windows_
.delete_TaskBarIcon
):
2198 if self
.thisown
: destroy(self
)
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 val
= _windows_
.TaskBarIcon_Destroy(*args
, **kwargs
)
2215 def IsOk(*args
, **kwargs
):
2216 """IsOk(self) -> bool"""
2217 return _windows_
.TaskBarIcon_IsOk(*args
, **kwargs
)
2219 def __nonzero__(self
): return self
.IsOk()
2220 def IsIconInstalled(*args
, **kwargs
):
2221 """IsIconInstalled(self) -> bool"""
2222 return _windows_
.TaskBarIcon_IsIconInstalled(*args
, **kwargs
)
2224 def SetIcon(*args
, **kwargs
):
2225 """SetIcon(self, Icon icon, String tooltip=EmptyString) -> bool"""
2226 return _windows_
.TaskBarIcon_SetIcon(*args
, **kwargs
)
2228 def RemoveIcon(*args
, **kwargs
):
2229 """RemoveIcon(self) -> bool"""
2230 return _windows_
.TaskBarIcon_RemoveIcon(*args
, **kwargs
)
2232 def PopupMenu(*args
, **kwargs
):
2233 """PopupMenu(self, Menu menu) -> bool"""
2234 return _windows_
.TaskBarIcon_PopupMenu(*args
, **kwargs
)
2237 class TaskBarIconPtr(TaskBarIcon
):
2238 def __init__(self
, this
):
2240 if not hasattr(self
,"thisown"): self
.thisown
= 0
2241 self
.__class
__ = TaskBarIcon
2242 _windows_
.TaskBarIcon_swigregister(TaskBarIconPtr
)
2244 class TaskBarIconEvent(_core
.Event
):
2245 """Proxy of C++ TaskBarIconEvent class"""
2247 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2248 def __init__(self
, *args
, **kwargs
):
2249 """__init__(self, wxEventType evtType, wxTaskBarIcon tbIcon) -> TaskBarIconEvent"""
2250 newobj
= _windows_
.new_TaskBarIconEvent(*args
, **kwargs
)
2251 self
.this
= newobj
.this
2255 class TaskBarIconEventPtr(TaskBarIconEvent
):
2256 def __init__(self
, this
):
2258 if not hasattr(self
,"thisown"): self
.thisown
= 0
2259 self
.__class
__ = TaskBarIconEvent
2260 _windows_
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
2262 wxEVT_TASKBAR_MOVE
= _windows_
.wxEVT_TASKBAR_MOVE
2263 wxEVT_TASKBAR_LEFT_DOWN
= _windows_
.wxEVT_TASKBAR_LEFT_DOWN
2264 wxEVT_TASKBAR_LEFT_UP
= _windows_
.wxEVT_TASKBAR_LEFT_UP
2265 wxEVT_TASKBAR_RIGHT_DOWN
= _windows_
.wxEVT_TASKBAR_RIGHT_DOWN
2266 wxEVT_TASKBAR_RIGHT_UP
= _windows_
.wxEVT_TASKBAR_RIGHT_UP
2267 wxEVT_TASKBAR_LEFT_DCLICK
= _windows_
.wxEVT_TASKBAR_LEFT_DCLICK
2268 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows_
.wxEVT_TASKBAR_RIGHT_DCLICK
2269 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
2270 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
2271 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
2272 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
2273 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
2274 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
2275 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
2277 #---------------------------------------------------------------------------
2279 class ColourData(_core
.Object
):
2281 This class holds a variety of information related to the colour
2282 chooser dialog, used to transfer settings and results to and from the
2286 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2287 def __init__(self
, *args
, **kwargs
):
2289 __init__(self) -> ColourData
2291 Constructor, sets default values.
2293 newobj
= _windows_
.new_ColourData(*args
, **kwargs
)
2294 self
.this
= newobj
.this
2297 def __del__(self
, destroy
=_windows_
.delete_ColourData
):
2300 if self
.thisown
: destroy(self
)
2303 def GetChooseFull(*args
, **kwargs
):
2305 GetChooseFull(self) -> bool
2307 Under Windows, determines whether the Windows colour dialog will
2308 display the full dialog with custom colour selection controls. Has no
2309 meaning under other platforms. The default value is true.
2311 return _windows_
.ColourData_GetChooseFull(*args
, **kwargs
)
2313 def GetColour(*args
, **kwargs
):
2315 GetColour(self) -> Colour
2317 Gets the colour (pre)selected by the dialog.
2319 return _windows_
.ColourData_GetColour(*args
, **kwargs
)
2321 def GetCustomColour(*args
, **kwargs
):
2323 GetCustomColour(self, int i) -> Colour
2325 Gets the i'th custom colour associated with the colour dialog. i
2326 should be an integer between 0 and 15. The default custom colours are
2327 all invalid colours.
2329 return _windows_
.ColourData_GetCustomColour(*args
, **kwargs
)
2331 def SetChooseFull(*args
, **kwargs
):
2333 SetChooseFull(self, int flag)
2335 Under Windows, tells the Windows colour dialog to display the full
2336 dialog with custom colour selection controls. Under other platforms,
2337 has no effect. The default value is true.
2339 return _windows_
.ColourData_SetChooseFull(*args
, **kwargs
)
2341 def SetColour(*args
, **kwargs
):
2343 SetColour(self, Colour colour)
2345 Sets the default colour for the colour dialog. The default colour is
2348 return _windows_
.ColourData_SetColour(*args
, **kwargs
)
2350 def SetCustomColour(*args
, **kwargs
):
2352 SetCustomColour(self, int i, Colour colour)
2354 Sets the i'th custom colour for the colour dialog. i should be an
2355 integer between 0 and 15. The default custom colours are all invalid colours.
2357 return _windows_
.ColourData_SetCustomColour(*args
, **kwargs
)
2360 class ColourDataPtr(ColourData
):
2361 def __init__(self
, this
):
2363 if not hasattr(self
,"thisown"): self
.thisown
= 0
2364 self
.__class
__ = ColourData
2365 _windows_
.ColourData_swigregister(ColourDataPtr
)
2366 FileSelectorPromptStr
= cvar
.FileSelectorPromptStr
2367 DirSelectorPromptStr
= cvar
.DirSelectorPromptStr
2368 DirDialogNameStr
= cvar
.DirDialogNameStr
2369 FileSelectorDefaultWildcardStr
= cvar
.FileSelectorDefaultWildcardStr
2370 GetTextFromUserPromptStr
= cvar
.GetTextFromUserPromptStr
2371 MessageBoxCaptionStr
= cvar
.MessageBoxCaptionStr
2373 class ColourDialog(Dialog
):
2374 """This class represents the colour chooser dialog."""
2376 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2377 def __init__(self
, *args
, **kwargs
):
2379 __init__(self, Window parent, ColourData data=None) -> ColourDialog
2381 Constructor. Pass a parent window, and optionally a `wx.ColourData`,
2382 which will be copied to the colour dialog's internal ColourData
2385 newobj
= _windows_
.new_ColourDialog(*args
, **kwargs
)
2386 self
.this
= newobj
.this
2389 self
._setOORInfo
(self
)
2391 def GetColourData(*args
, **kwargs
):
2393 GetColourData(self) -> ColourData
2395 Returns a reference to the `wx.ColourData` used by the dialog.
2397 return _windows_
.ColourDialog_GetColourData(*args
, **kwargs
)
2400 class ColourDialogPtr(ColourDialog
):
2401 def __init__(self
, this
):
2403 if not hasattr(self
,"thisown"): self
.thisown
= 0
2404 self
.__class
__ = ColourDialog
2405 _windows_
.ColourDialog_swigregister(ColourDialogPtr
)
2408 def GetColourFromUser(*args
, **kwargs
):
2410 GetColourFromUser(Window parent=(wxWindow *) NULL, Colour colInit=wxNullColour,
2411 String caption=EmptyString) -> Colour
2413 return _windows_
.GetColourFromUser(*args
, **kwargs
)
2414 class DirDialog(Dialog
):
2416 wx.DirDialog allows the user to select a directory by browising the
2420 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2421 def __init__(self
, *args
, **kwargs
):
2423 __init__(self, Window parent, String message=DirSelectorPromptStr,
2424 String defaultPath=EmptyString, long style=0,
2425 Point pos=DefaultPosition, Size size=DefaultSize,
2426 String name=DirDialogNameStr) -> DirDialog
2428 Constructor. Use ShowModal method to show the dialog.
2430 newobj
= _windows_
.new_DirDialog(*args
, **kwargs
)
2431 self
.this
= newobj
.this
2434 self
._setOORInfo
(self
)
2436 def GetPath(*args
, **kwargs
):
2438 GetPath(self) -> String
2440 Returns the default or user-selected path.
2442 return _windows_
.DirDialog_GetPath(*args
, **kwargs
)
2444 def GetMessage(*args
, **kwargs
):
2446 GetMessage(self) -> String
2448 Returns the message that will be displayed on the dialog.
2450 return _windows_
.DirDialog_GetMessage(*args
, **kwargs
)
2452 def GetStyle(*args
, **kwargs
):
2454 GetStyle(self) -> long
2456 Returns the dialog style.
2458 return _windows_
.DirDialog_GetStyle(*args
, **kwargs
)
2460 def SetMessage(*args
, **kwargs
):
2462 SetMessage(self, String message)
2464 Sets the message that will be displayed on the dialog.
2466 return _windows_
.DirDialog_SetMessage(*args
, **kwargs
)
2468 def SetPath(*args
, **kwargs
):
2470 SetPath(self, String path)
2472 Sets the default path.
2474 return _windows_
.DirDialog_SetPath(*args
, **kwargs
)
2477 class DirDialogPtr(DirDialog
):
2478 def __init__(self
, this
):
2480 if not hasattr(self
,"thisown"): self
.thisown
= 0
2481 self
.__class
__ = DirDialog
2482 _windows_
.DirDialog_swigregister(DirDialogPtr
)
2484 class FileDialog(Dialog
):
2486 wx.FileDialog allows the user to select one or more files from the
2490 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2491 def __init__(self
, *args
, **kwargs
):
2493 __init__(self, Window parent, String message=FileSelectorPromptStr,
2494 String defaultDir=EmptyString, String defaultFile=EmptyString,
2495 String wildcard=FileSelectorDefaultWildcardStr,
2496 long style=0, Point pos=DefaultPosition) -> FileDialog
2498 Constructor. Use ShowModal method to show the dialog.
2500 newobj
= _windows_
.new_FileDialog(*args
, **kwargs
)
2501 self
.this
= newobj
.this
2504 self
._setOORInfo
(self
)
2506 def SetMessage(*args
, **kwargs
):
2508 SetMessage(self, String message)
2510 Sets the message that will be displayed on the dialog.
2512 return _windows_
.FileDialog_SetMessage(*args
, **kwargs
)
2514 def SetPath(*args
, **kwargs
):
2516 SetPath(self, String path)
2518 Sets the path (the combined directory and filename that will be
2519 returned when the dialog is dismissed).
2521 return _windows_
.FileDialog_SetPath(*args
, **kwargs
)
2523 def SetDirectory(*args
, **kwargs
):
2525 SetDirectory(self, String dir)
2527 Sets the default directory.
2529 return _windows_
.FileDialog_SetDirectory(*args
, **kwargs
)
2531 def SetFilename(*args
, **kwargs
):
2533 SetFilename(self, String name)
2535 Sets the default filename.
2537 return _windows_
.FileDialog_SetFilename(*args
, **kwargs
)
2539 def SetWildcard(*args
, **kwargs
):
2541 SetWildcard(self, String wildCard)
2543 Sets the wildcard, which can contain multiple file types, for
2546 "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
2549 return _windows_
.FileDialog_SetWildcard(*args
, **kwargs
)
2551 def SetStyle(*args
, **kwargs
):
2553 SetStyle(self, long style)
2555 Sets the dialog style.
2557 return _windows_
.FileDialog_SetStyle(*args
, **kwargs
)
2559 def SetFilterIndex(*args
, **kwargs
):
2561 SetFilterIndex(self, int filterIndex)
2563 Sets the default filter index, starting from zero.
2565 return _windows_
.FileDialog_SetFilterIndex(*args
, **kwargs
)
2567 def GetMessage(*args
, **kwargs
):
2569 GetMessage(self) -> String
2571 Returns the message that will be displayed on the dialog.
2573 return _windows_
.FileDialog_GetMessage(*args
, **kwargs
)
2575 def GetPath(*args
, **kwargs
):
2577 GetPath(self) -> String
2579 Returns the full path (directory and filename) of the selected file.
2581 return _windows_
.FileDialog_GetPath(*args
, **kwargs
)
2583 def GetDirectory(*args
, **kwargs
):
2585 GetDirectory(self) -> String
2587 Returns the default directory.
2589 return _windows_
.FileDialog_GetDirectory(*args
, **kwargs
)
2591 def GetFilename(*args
, **kwargs
):
2593 GetFilename(self) -> String
2595 Returns the default filename.
2597 return _windows_
.FileDialog_GetFilename(*args
, **kwargs
)
2599 def GetWildcard(*args
, **kwargs
):
2601 GetWildcard(self) -> String
2603 Returns the file dialog wildcard.
2605 return _windows_
.FileDialog_GetWildcard(*args
, **kwargs
)
2607 def GetStyle(*args
, **kwargs
):
2609 GetStyle(self) -> long
2611 Returns the dialog style.
2613 return _windows_
.FileDialog_GetStyle(*args
, **kwargs
)
2615 def GetFilterIndex(*args
, **kwargs
):
2617 GetFilterIndex(self) -> int
2619 Returns the index into the list of filters supplied, optionally, in
2620 the wildcard parameter. Before the dialog is shown, this is the index
2621 which will be used when the dialog is first displayed. After the
2622 dialog is shown, this is the index selected by the user.
2624 return _windows_
.FileDialog_GetFilterIndex(*args
, **kwargs
)
2626 def GetFilenames(*args
, **kwargs
):
2628 GetFilenames(self) -> PyObject
2630 Returns a list of filenames chosen in the dialog. This function
2631 should only be used with the dialogs which have wx.MULTIPLE style, use
2632 GetFilename for the others.
2634 return _windows_
.FileDialog_GetFilenames(*args
, **kwargs
)
2636 def GetPaths(*args
, **kwargs
):
2638 GetPaths(self) -> PyObject
2640 Fills the array paths with the full paths of the files chosen. This
2641 function should only be used with the dialogs which have wx.MULTIPLE
2642 style, use GetPath for the others.
2644 return _windows_
.FileDialog_GetPaths(*args
, **kwargs
)
2647 class FileDialogPtr(FileDialog
):
2648 def __init__(self
, this
):
2650 if not hasattr(self
,"thisown"): self
.thisown
= 0
2651 self
.__class
__ = FileDialog
2652 _windows_
.FileDialog_swigregister(FileDialogPtr
)
2654 CHOICEDLG_STYLE
= _windows_
.CHOICEDLG_STYLE
2655 class MultiChoiceDialog(Dialog
):
2656 """A simple dialog with a multi selection listbox."""
2658 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2659 def __init__(self
, *args
, **kwargs
):
2661 __init__(self, Window parent, String message, String caption,
2662 List choices=EmptyList, long style=CHOICEDLG_STYLE,
2663 Point pos=DefaultPosition) -> MultiChoiceDialog
2665 Constructor. Use the `ShowModal` method to show the dialog.
2667 :param parent: The parent window.
2668 :param message: Text to display above the list of selections.
2669 :param caption: Text to use in the title bar of the dialog.
2670 :param choices: A list of strings or unicode objects that the
2671 user is allowed to choose from.
2672 :param style: Styles to apply to the dialog. The default value is
2673 equivallent to wx.DEFAULT_DIALOG_STYLE|wx.RESIZE_BORDER|wx.OK|wx.CANCEL|wx.CENTER.
2674 :param pos: Where to position the dialog (not used on Windows)
2678 newobj
= _windows_
.new_MultiChoiceDialog(*args
, **kwargs
)
2679 self
.this
= newobj
.this
2682 self
._setOORInfo
(self
)
2684 def SetSelections(*args
, **kwargs
):
2686 SetSelections(List selections)
2688 Specify the items in the list that should be selected, using a list of
2689 integers. The list should specify the indexes of the items that
2692 return _windows_
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
2694 def GetSelections(*args
, **kwargs
):
2696 GetSelections() -> [selections]
2698 Returns a list of integers representing the items that are selected.
2699 If an item is selected then its index will appear in the list.
2701 return _windows_
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
2704 class MultiChoiceDialogPtr(MultiChoiceDialog
):
2705 def __init__(self
, this
):
2707 if not hasattr(self
,"thisown"): self
.thisown
= 0
2708 self
.__class
__ = MultiChoiceDialog
2709 _windows_
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
2711 class SingleChoiceDialog(Dialog
):
2712 """A simple dialog with a single selection listbox."""
2714 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2715 def __init__(self
, *args
, **kwargs
):
2717 __init__(Window parent, String message, String caption,
2718 List choices=EmptyList, long style=CHOICEDLG_STYLE,
2719 Point pos=DefaultPosition) -> SingleChoiceDialog
2721 Constructor. Use ShowModal method to show the dialog.
2723 newobj
= _windows_
.new_SingleChoiceDialog(*args
, **kwargs
)
2724 self
.this
= newobj
.this
2727 self
._setOORInfo
(self
)
2729 def GetSelection(*args
, **kwargs
):
2731 GetSelection(self) -> int
2733 Get the index of teh currently selected item.
2735 return _windows_
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
2737 def GetStringSelection(*args
, **kwargs
):
2739 GetStringSelection(self) -> String
2741 Returns the string value of the currently selected item
2743 return _windows_
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
2745 def SetSelection(*args
, **kwargs
):
2747 SetSelection(self, int sel)
2749 Set the current selected item to sel
2751 return _windows_
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
2754 class SingleChoiceDialogPtr(SingleChoiceDialog
):
2755 def __init__(self
, this
):
2757 if not hasattr(self
,"thisown"): self
.thisown
= 0
2758 self
.__class
__ = SingleChoiceDialog
2759 _windows_
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
2761 TextEntryDialogStyle
= _windows_
.TextEntryDialogStyle
2762 class TextEntryDialog(Dialog
):
2763 """A dialog with text control, [ok] and [cancel] buttons"""
2765 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2766 def __init__(self
, *args
, **kwargs
):
2768 __init__(self, Window parent, String message, String caption=GetTextFromUserPromptStr,
2769 String defaultValue=EmptyString,
2770 long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> TextEntryDialog
2772 Constructor. Use ShowModal method to show the dialog.
2774 newobj
= _windows_
.new_TextEntryDialog(*args
, **kwargs
)
2775 self
.this
= newobj
.this
2778 self
._setOORInfo
(self
)
2780 def GetValue(*args
, **kwargs
):
2782 GetValue(self) -> String
2784 Returns the text that the user has entered if the user has pressed OK,
2785 or the original value if the user has pressed Cancel.
2787 return _windows_
.TextEntryDialog_GetValue(*args
, **kwargs
)
2789 def SetValue(*args
, **kwargs
):
2791 SetValue(self, String value)
2793 Sets the default text value.
2795 return _windows_
.TextEntryDialog_SetValue(*args
, **kwargs
)
2798 class TextEntryDialogPtr(TextEntryDialog
):
2799 def __init__(self
, this
):
2801 if not hasattr(self
,"thisown"): self
.thisown
= 0
2802 self
.__class
__ = TextEntryDialog
2803 _windows_
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
2805 class PasswordEntryDialog(TextEntryDialog
):
2806 """Proxy of C++ PasswordEntryDialog class"""
2808 return "<%s.%s; proxy of C++ wxPasswordEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2809 def __init__(self
, *args
, **kwargs
):
2811 __init__(self, Window parent, String message, String caption=GetPasswordFromUserPromptStr,
2812 String value=EmptyString,
2813 long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> PasswordEntryDialog
2815 newobj
= _windows_
.new_PasswordEntryDialog(*args
, **kwargs
)
2816 self
.this
= newobj
.this
2820 class PasswordEntryDialogPtr(PasswordEntryDialog
):
2821 def __init__(self
, this
):
2823 if not hasattr(self
,"thisown"): self
.thisown
= 0
2824 self
.__class
__ = PasswordEntryDialog
2825 _windows_
.PasswordEntryDialog_swigregister(PasswordEntryDialogPtr
)
2826 GetPasswordFromUserPromptStr
= cvar
.GetPasswordFromUserPromptStr
2828 class FontData(_core
.Object
):
2830 This class holds a variety of information related to font dialogs and
2831 is used to transfer settings to and results from a `wx.FontDialog`.
2834 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2835 def __init__(self
, *args
, **kwargs
):
2837 __init__(self) -> FontData
2839 This class holds a variety of information related to font dialogs and
2840 is used to transfer settings to and results from a `wx.FontDialog`.
2842 newobj
= _windows_
.new_FontData(*args
, **kwargs
)
2843 self
.this
= newobj
.this
2846 def __del__(self
, destroy
=_windows_
.delete_FontData
):
2849 if self
.thisown
: destroy(self
)
2852 def EnableEffects(*args
, **kwargs
):
2854 EnableEffects(self, bool enable)
2856 Enables or disables 'effects' under MS Windows only. This refers to
2857 the controls for manipulating colour, strikeout and underline
2858 properties. The default value is true.
2860 return _windows_
.FontData_EnableEffects(*args
, **kwargs
)
2862 def GetAllowSymbols(*args
, **kwargs
):
2864 GetAllowSymbols(self) -> bool
2866 Under MS Windows, returns a flag determining whether symbol fonts can
2867 be selected. Has no effect on other platforms. The default value is
2870 return _windows_
.FontData_GetAllowSymbols(*args
, **kwargs
)
2872 def GetColour(*args
, **kwargs
):
2874 GetColour(self) -> Colour
2876 Gets the colour associated with the font dialog. The default value is
2879 return _windows_
.FontData_GetColour(*args
, **kwargs
)
2881 def GetChosenFont(*args
, **kwargs
):
2883 GetChosenFont(self) -> Font
2885 Gets the font chosen by the user.
2887 return _windows_
.FontData_GetChosenFont(*args
, **kwargs
)
2889 def GetEnableEffects(*args
, **kwargs
):
2891 GetEnableEffects(self) -> bool
2893 Determines whether 'effects' are enabled under Windows.
2895 return _windows_
.FontData_GetEnableEffects(*args
, **kwargs
)
2897 def GetInitialFont(*args
, **kwargs
):
2899 GetInitialFont(self) -> Font
2901 Gets the font that will be initially used by the font dialog. This
2902 should have previously been set by the application.
2904 return _windows_
.FontData_GetInitialFont(*args
, **kwargs
)
2906 def GetShowHelp(*args
, **kwargs
):
2908 GetShowHelp(self) -> bool
2910 Returns true if the Help button will be shown (Windows only). The
2911 default value is false.
2913 return _windows_
.FontData_GetShowHelp(*args
, **kwargs
)
2915 def SetAllowSymbols(*args
, **kwargs
):
2917 SetAllowSymbols(self, bool allowSymbols)
2919 Under MS Windows, determines whether symbol fonts can be selected. Has
2920 no effect on other platforms. The default value is true.
2922 return _windows_
.FontData_SetAllowSymbols(*args
, **kwargs
)
2924 def SetChosenFont(*args
, **kwargs
):
2926 SetChosenFont(self, Font font)
2928 Sets the font that will be returned to the user (normally for internal
2931 return _windows_
.FontData_SetChosenFont(*args
, **kwargs
)
2933 def SetColour(*args
, **kwargs
):
2935 SetColour(self, Colour colour)
2937 Sets the colour that will be used for the font foreground colour. The
2938 default colour is black.
2940 return _windows_
.FontData_SetColour(*args
, **kwargs
)
2942 def SetInitialFont(*args
, **kwargs
):
2944 SetInitialFont(self, Font font)
2946 Sets the font that will be initially used by the font dialog.
2948 return _windows_
.FontData_SetInitialFont(*args
, **kwargs
)
2950 def SetRange(*args
, **kwargs
):
2952 SetRange(self, int min, int max)
2954 Sets the valid range for the font point size (Windows only). The
2955 default is 0, 0 (unrestricted range).
2957 return _windows_
.FontData_SetRange(*args
, **kwargs
)
2959 def SetShowHelp(*args
, **kwargs
):
2961 SetShowHelp(self, bool showHelp)
2963 Determines whether the Help button will be displayed in the font
2964 dialog (Windows only). The default value is false.
2966 return _windows_
.FontData_SetShowHelp(*args
, **kwargs
)
2969 class FontDataPtr(FontData
):
2970 def __init__(self
, this
):
2972 if not hasattr(self
,"thisown"): self
.thisown
= 0
2973 self
.__class
__ = FontData
2974 _windows_
.FontData_swigregister(FontDataPtr
)
2976 class FontDialog(Dialog
):
2978 wx.FontDialog allows the user to select a system font and its attributes.
2984 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2985 def __init__(self
, *args
, **kwargs
):
2987 __init__(self, Window parent, FontData data) -> FontDialog
2989 Constructor. Pass a parent window and the `wx.FontData` object to be
2990 used to initialize the dialog controls. Call `ShowModal` to display
2991 the dialog. If ShowModal returns ``wx.ID_OK`` then you can fetch the
2992 results with via the `wx.FontData` returned by `GetFontData`.
2994 newobj
= _windows_
.new_FontDialog(*args
, **kwargs
)
2995 self
.this
= newobj
.this
2998 self
._setOORInfo
(self
)
3000 def GetFontData(*args
, **kwargs
):
3002 GetFontData(self) -> FontData
3004 Returns a reference to the internal `wx.FontData` used by the
3007 return _windows_
.FontDialog_GetFontData(*args
, **kwargs
)
3010 class FontDialogPtr(FontDialog
):
3011 def __init__(self
, this
):
3013 if not hasattr(self
,"thisown"): self
.thisown
= 0
3014 self
.__class
__ = FontDialog
3015 _windows_
.FontDialog_swigregister(FontDialogPtr
)
3018 def GetFontFromUser(*args
, **kwargs
):
3019 """GetFontFromUser(Window parent=None, Font fontInit=wxNullFont, String caption=EmptyString) -> Font"""
3020 return _windows_
.GetFontFromUser(*args
, **kwargs
)
3021 class MessageDialog(Dialog
):
3023 This class provides a simple dialog that shows a single or multi-line
3024 message, with a choice of OK, Yes, No and/or Cancel buttons.
3027 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3028 def __init__(self
, *args
, **kwargs
):
3030 __init__(self, Window parent, String message, String caption=MessageBoxCaptionStr,
3031 long style=wxOK|wxCANCEL|wxCENTRE,
3032 Point pos=DefaultPosition) -> MessageDialog
3034 Constructor, use `ShowModal` to display the dialog.
3036 newobj
= _windows_
.new_MessageDialog(*args
, **kwargs
)
3037 self
.this
= newobj
.this
3040 self
._setOORInfo
(self
)
3043 class MessageDialogPtr(MessageDialog
):
3044 def __init__(self
, this
):
3046 if not hasattr(self
,"thisown"): self
.thisown
= 0
3047 self
.__class
__ = MessageDialog
3048 _windows_
.MessageDialog_swigregister(MessageDialogPtr
)
3050 class ProgressDialog(Frame
):
3052 A dialog that shows a short message and a progress bar. Optionally, it
3053 can display an ABORT button.
3056 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3057 def __init__(self
, *args
, **kwargs
):
3059 __init__(self, String title, String message, int maximum=100, Window parent=None,
3060 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
3062 Constructor. Creates the dialog, displays it and disables user input
3063 for other windows, or, if wx.PD_APP_MODAL flag is not given, for its
3066 newobj
= _windows_
.new_ProgressDialog(*args
, **kwargs
)
3067 self
.this
= newobj
.this
3070 self
._setOORInfo
(self
)
3072 def Update(*args
, **kwargs
):
3074 Update(self, int value, String newmsg=EmptyString) -> bool
3076 Updates the dialog, setting the progress bar to the new value and, if
3077 given changes the message above it. The value given should be less
3078 than or equal to the maximum value given to the constructor and the
3079 dialog is closed if it is equal to the maximum. Returns True unless
3080 the Cancel button has been pressed.
3082 If false is returned, the application can either immediately destroy
3083 the dialog or ask the user for the confirmation and if the abort is
3084 not confirmed the dialog may be resumed with Resume function.
3086 return _windows_
.ProgressDialog_Update(*args
, **kwargs
)
3088 def Resume(*args
, **kwargs
):
3092 Can be used to continue with the dialog, after the user had chosen to
3095 return _windows_
.ProgressDialog_Resume(*args
, **kwargs
)
3098 class ProgressDialogPtr(ProgressDialog
):
3099 def __init__(self
, this
):
3101 if not hasattr(self
,"thisown"): self
.thisown
= 0
3102 self
.__class
__ = ProgressDialog
3103 _windows_
.ProgressDialog_swigregister(ProgressDialogPtr
)
3105 FR_DOWN
= _windows_
.FR_DOWN
3106 FR_WHOLEWORD
= _windows_
.FR_WHOLEWORD
3107 FR_MATCHCASE
= _windows_
.FR_MATCHCASE
3108 FR_REPLACEDIALOG
= _windows_
.FR_REPLACEDIALOG
3109 FR_NOUPDOWN
= _windows_
.FR_NOUPDOWN
3110 FR_NOMATCHCASE
= _windows_
.FR_NOMATCHCASE
3111 FR_NOWHOLEWORD
= _windows_
.FR_NOWHOLEWORD
3112 wxEVT_COMMAND_FIND
= _windows_
.wxEVT_COMMAND_FIND
3113 wxEVT_COMMAND_FIND_NEXT
= _windows_
.wxEVT_COMMAND_FIND_NEXT
3114 wxEVT_COMMAND_FIND_REPLACE
= _windows_
.wxEVT_COMMAND_FIND_REPLACE
3115 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows_
.wxEVT_COMMAND_FIND_REPLACE_ALL
3116 wxEVT_COMMAND_FIND_CLOSE
= _windows_
.wxEVT_COMMAND_FIND_CLOSE
3117 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
3118 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
3119 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
3120 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
3121 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
3123 # For backwards compatibility. Should they be removed?
3124 EVT_COMMAND_FIND
= EVT_FIND
3125 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
3126 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
3127 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
3128 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
3130 class FindDialogEvent(_core
.CommandEvent
):
3131 """Events for the FindReplaceDialog"""
3133 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3134 def __init__(self
, *args
, **kwargs
):
3136 __init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent
3138 Events for the FindReplaceDialog
3140 newobj
= _windows_
.new_FindDialogEvent(*args
, **kwargs
)
3141 self
.this
= newobj
.this
3144 def GetFlags(*args
, **kwargs
):
3146 GetFlags(self) -> int
3148 Get the currently selected flags: this is the combination of
3149 wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.
3151 return _windows_
.FindDialogEvent_GetFlags(*args
, **kwargs
)
3153 def GetFindString(*args
, **kwargs
):
3155 GetFindString(self) -> String
3157 Return the string to find (never empty).
3159 return _windows_
.FindDialogEvent_GetFindString(*args
, **kwargs
)
3161 def GetReplaceString(*args
, **kwargs
):
3163 GetReplaceString(self) -> String
3165 Return the string to replace the search string with (only for replace
3166 and replace all events).
3168 return _windows_
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
3170 def GetDialog(*args
, **kwargs
):
3172 GetDialog(self) -> FindReplaceDialog
3174 Return the pointer to the dialog which generated this event.
3176 return _windows_
.FindDialogEvent_GetDialog(*args
, **kwargs
)
3178 def SetFlags(*args
, **kwargs
):
3179 """SetFlags(self, int flags)"""
3180 return _windows_
.FindDialogEvent_SetFlags(*args
, **kwargs
)
3182 def SetFindString(*args
, **kwargs
):
3183 """SetFindString(self, String str)"""
3184 return _windows_
.FindDialogEvent_SetFindString(*args
, **kwargs
)
3186 def SetReplaceString(*args
, **kwargs
):
3187 """SetReplaceString(self, String str)"""
3188 return _windows_
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
3191 class FindDialogEventPtr(FindDialogEvent
):
3192 def __init__(self
, this
):
3194 if not hasattr(self
,"thisown"): self
.thisown
= 0
3195 self
.__class
__ = FindDialogEvent
3196 _windows_
.FindDialogEvent_swigregister(FindDialogEventPtr
)
3198 class FindReplaceData(_core
.Object
):
3200 wx.FindReplaceData holds the data for wx.FindReplaceDialog. It is used
3201 to initialize the dialog with the default values and will keep the
3202 last values from the dialog when it is closed. It is also updated each
3203 time a `wx.FindDialogEvent` is generated so instead of using the
3204 `wx.FindDialogEvent` methods you can also directly query this object.
3206 Note that all SetXXX() methods may only be called before showing the
3207 dialog and calling them has no effect later.
3210 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3211 def __init__(self
, *args
, **kwargs
):
3213 __init__(self, int flags=0) -> FindReplaceData
3215 Constuctor initializes the flags to default value (0).
3217 newobj
= _windows_
.new_FindReplaceData(*args
, **kwargs
)
3218 self
.this
= newobj
.this
3221 def __del__(self
, destroy
=_windows_
.delete_FindReplaceData
):
3224 if self
.thisown
: destroy(self
)
3227 def GetFindString(*args
, **kwargs
):
3229 GetFindString(self) -> String
3231 Get the string to find.
3233 return _windows_
.FindReplaceData_GetFindString(*args
, **kwargs
)
3235 def GetReplaceString(*args
, **kwargs
):
3237 GetReplaceString(self) -> String
3239 Get the replacement string.
3241 return _windows_
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
3243 def GetFlags(*args
, **kwargs
):
3245 GetFlags(self) -> int
3247 Get the combination of flag values.
3249 return _windows_
.FindReplaceData_GetFlags(*args
, **kwargs
)
3251 def SetFlags(*args
, **kwargs
):
3253 SetFlags(self, int flags)
3255 Set the flags to use to initialize the controls of the dialog.
3257 return _windows_
.FindReplaceData_SetFlags(*args
, **kwargs
)
3259 def SetFindString(*args
, **kwargs
):
3261 SetFindString(self, String str)
3263 Set the string to find (used as initial value by the dialog).
3265 return _windows_
.FindReplaceData_SetFindString(*args
, **kwargs
)
3267 def SetReplaceString(*args
, **kwargs
):
3269 SetReplaceString(self, String str)
3271 Set the replacement string (used as initial value by the dialog).
3273 return _windows_
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
3276 class FindReplaceDataPtr(FindReplaceData
):
3277 def __init__(self
, this
):
3279 if not hasattr(self
,"thisown"): self
.thisown
= 0
3280 self
.__class
__ = FindReplaceData
3281 _windows_
.FindReplaceData_swigregister(FindReplaceDataPtr
)
3283 class FindReplaceDialog(Dialog
):
3285 wx.FindReplaceDialog is a standard modeless dialog which is used to
3286 allow the user to search for some text (and possibly replace it with
3287 something else). The actual searching is supposed to be done in the
3288 owner window which is the parent of this dialog. Note that it means
3289 that unlike for the other standard dialogs this one must have a parent
3290 window. Also note that there is no way to use this dialog in a modal
3291 way; it is always, by design and implementation, modeless.
3294 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3295 def __init__(self
, *args
, **kwargs
):
3297 __init__(self, Window parent, FindReplaceData data, String title,
3298 int style=0) -> FindReplaceDialog
3300 Create a FindReplaceDialog. The parent and data parameters must be
3301 non-None. Use Show to display the dialog.
3303 newobj
= _windows_
.new_FindReplaceDialog(*args
, **kwargs
)
3304 self
.this
= newobj
.this
3307 self
._setOORInfo
(self
)
3309 def Create(*args
, **kwargs
):
3311 Create(self, Window parent, FindReplaceData data, String title,
3312 int style=0) -> bool
3314 Create the dialog, for 2-phase create.
3316 return _windows_
.FindReplaceDialog_Create(*args
, **kwargs
)
3318 def GetData(*args
, **kwargs
):
3320 GetData(self) -> FindReplaceData
3322 Get the FindReplaceData object used by this dialog.
3324 return _windows_
.FindReplaceDialog_GetData(*args
, **kwargs
)
3326 def SetData(*args
, **kwargs
):
3328 SetData(self, FindReplaceData data)
3330 Set the FindReplaceData object used by this dialog.
3332 return _windows_
.FindReplaceDialog_SetData(*args
, **kwargs
)
3335 class FindReplaceDialogPtr(FindReplaceDialog
):
3336 def __init__(self
, this
):
3338 if not hasattr(self
,"thisown"): self
.thisown
= 0
3339 self
.__class
__ = FindReplaceDialog
3340 _windows_
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
3342 def PreFindReplaceDialog(*args
, **kwargs
):
3344 PreFindReplaceDialog() -> FindReplaceDialog
3346 Precreate a FindReplaceDialog for 2-phase creation
3348 val
= _windows_
.new_PreFindReplaceDialog(*args
, **kwargs
)
3352 #---------------------------------------------------------------------------
3354 IDM_WINDOWTILE
= _windows_
.IDM_WINDOWTILE
3355 IDM_WINDOWTILEHOR
= _windows_
.IDM_WINDOWTILEHOR
3356 IDM_WINDOWCASCADE
= _windows_
.IDM_WINDOWCASCADE
3357 IDM_WINDOWICONS
= _windows_
.IDM_WINDOWICONS
3358 IDM_WINDOWNEXT
= _windows_
.IDM_WINDOWNEXT
3359 IDM_WINDOWTILEVERT
= _windows_
.IDM_WINDOWTILEVERT
3360 IDM_WINDOWPREV
= _windows_
.IDM_WINDOWPREV
3361 FIRST_MDI_CHILD
= _windows_
.FIRST_MDI_CHILD
3362 LAST_MDI_CHILD
= _windows_
.LAST_MDI_CHILD
3363 class MDIParentFrame(Frame
):
3364 """Proxy of C++ MDIParentFrame class"""
3366 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3367 def __init__(self
, *args
, **kwargs
):
3369 __init__(self, Window parent, int id=-1, String title=EmptyString,
3370 Point pos=DefaultPosition, Size size=DefaultSize,
3371 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3372 String name=FrameNameStr) -> MDIParentFrame
3374 newobj
= _windows_
.new_MDIParentFrame(*args
, **kwargs
)
3375 self
.this
= newobj
.this
3378 self
._setOORInfo
(self
)
3380 def Create(*args
, **kwargs
):
3382 Create(self, Window parent, int id=-1, String title=EmptyString,
3383 Point pos=DefaultPosition, Size size=DefaultSize,
3384 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3385 String name=FrameNameStr) -> bool
3387 return _windows_
.MDIParentFrame_Create(*args
, **kwargs
)
3389 def ActivateNext(*args
, **kwargs
):
3390 """ActivateNext(self)"""
3391 return _windows_
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
3393 def ActivatePrevious(*args
, **kwargs
):
3394 """ActivatePrevious(self)"""
3395 return _windows_
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
3397 def ArrangeIcons(*args
, **kwargs
):
3398 """ArrangeIcons(self)"""
3399 return _windows_
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
3401 def Cascade(*args
, **kwargs
):
3403 return _windows_
.MDIParentFrame_Cascade(*args
, **kwargs
)
3405 def GetActiveChild(*args
, **kwargs
):
3406 """GetActiveChild(self) -> MDIChildFrame"""
3407 return _windows_
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
3409 def GetClientWindow(*args
, **kwargs
):
3410 """GetClientWindow(self) -> MDIClientWindow"""
3411 return _windows_
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
3413 def GetToolBar(*args
, **kwargs
):
3414 """GetToolBar(self) -> Window"""
3415 return _windows_
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
3417 def Tile(*args
, **kwargs
):
3418 """Tile(self, int orient=HORIZONTAL)"""
3419 return _windows_
.MDIParentFrame_Tile(*args
, **kwargs
)
3422 class MDIParentFramePtr(MDIParentFrame
):
3423 def __init__(self
, this
):
3425 if not hasattr(self
,"thisown"): self
.thisown
= 0
3426 self
.__class
__ = MDIParentFrame
3427 _windows_
.MDIParentFrame_swigregister(MDIParentFramePtr
)
3429 def PreMDIParentFrame(*args
, **kwargs
):
3430 """PreMDIParentFrame() -> MDIParentFrame"""
3431 val
= _windows_
.new_PreMDIParentFrame(*args
, **kwargs
)
3435 class MDIChildFrame(Frame
):
3436 """Proxy of C++ MDIChildFrame class"""
3438 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3439 def __init__(self
, *args
, **kwargs
):
3441 __init__(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3442 Point pos=DefaultPosition, Size size=DefaultSize,
3443 long style=DEFAULT_FRAME_STYLE,
3444 String name=FrameNameStr) -> MDIChildFrame
3446 newobj
= _windows_
.new_MDIChildFrame(*args
, **kwargs
)
3447 self
.this
= newobj
.this
3450 self
._setOORInfo
(self
)
3452 def Create(*args
, **kwargs
):
3454 Create(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3455 Point pos=DefaultPosition, Size size=DefaultSize,
3456 long style=DEFAULT_FRAME_STYLE,
3457 String name=FrameNameStr) -> bool
3459 return _windows_
.MDIChildFrame_Create(*args
, **kwargs
)
3461 def Activate(*args
, **kwargs
):
3462 """Activate(self)"""
3463 return _windows_
.MDIChildFrame_Activate(*args
, **kwargs
)
3465 def Maximize(*args
, **kwargs
):
3466 """Maximize(self, bool maximize=True)"""
3467 return _windows_
.MDIChildFrame_Maximize(*args
, **kwargs
)
3469 def Restore(*args
, **kwargs
):
3471 return _windows_
.MDIChildFrame_Restore(*args
, **kwargs
)
3474 class MDIChildFramePtr(MDIChildFrame
):
3475 def __init__(self
, this
):
3477 if not hasattr(self
,"thisown"): self
.thisown
= 0
3478 self
.__class
__ = MDIChildFrame
3479 _windows_
.MDIChildFrame_swigregister(MDIChildFramePtr
)
3481 def PreMDIChildFrame(*args
, **kwargs
):
3482 """PreMDIChildFrame() -> MDIChildFrame"""
3483 val
= _windows_
.new_PreMDIChildFrame(*args
, **kwargs
)
3487 class MDIClientWindow(_core
.Window
):
3488 """Proxy of C++ MDIClientWindow class"""
3490 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3491 def __init__(self
, *args
, **kwargs
):
3492 """__init__(self, MDIParentFrame parent, long style=0) -> MDIClientWindow"""
3493 newobj
= _windows_
.new_MDIClientWindow(*args
, **kwargs
)
3494 self
.this
= newobj
.this
3497 self
._setOORInfo
(self
)
3499 def Create(*args
, **kwargs
):
3500 """Create(self, MDIParentFrame parent, long style=0) -> bool"""
3501 return _windows_
.MDIClientWindow_Create(*args
, **kwargs
)
3504 class MDIClientWindowPtr(MDIClientWindow
):
3505 def __init__(self
, this
):
3507 if not hasattr(self
,"thisown"): self
.thisown
= 0
3508 self
.__class
__ = MDIClientWindow
3509 _windows_
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
3511 def PreMDIClientWindow(*args
, **kwargs
):
3512 """PreMDIClientWindow() -> MDIClientWindow"""
3513 val
= _windows_
.new_PreMDIClientWindow(*args
, **kwargs
)
3517 #---------------------------------------------------------------------------
3519 class PyWindow(_core
.Window
):
3520 """Proxy of C++ PyWindow class"""
3522 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3523 def __init__(self
, *args
, **kwargs
):
3525 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3526 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyWindow
3528 newobj
= _windows_
.new_PyWindow(*args
, **kwargs
)
3529 self
.this
= newobj
.this
3532 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
3534 def _setCallbackInfo(*args
, **kwargs
):
3535 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3536 return _windows_
.PyWindow__setCallbackInfo(*args
, **kwargs
)
3538 def SetBestSize(*args
, **kwargs
):
3539 """SetBestSize(self, Size size)"""
3540 return _windows_
.PyWindow_SetBestSize(*args
, **kwargs
)
3542 def DoEraseBackground(*args
, **kwargs
):
3543 """DoEraseBackground(self, DC dc) -> bool"""
3544 return _windows_
.PyWindow_DoEraseBackground(*args
, **kwargs
)
3546 def DoMoveWindow(*args
, **kwargs
):
3547 """DoMoveWindow(self, int x, int y, int width, int height)"""
3548 return _windows_
.PyWindow_DoMoveWindow(*args
, **kwargs
)
3550 def DoSetSize(*args
, **kwargs
):
3551 """DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3552 return _windows_
.PyWindow_DoSetSize(*args
, **kwargs
)
3554 def DoSetClientSize(*args
, **kwargs
):
3555 """DoSetClientSize(self, int width, int height)"""
3556 return _windows_
.PyWindow_DoSetClientSize(*args
, **kwargs
)
3558 def DoSetVirtualSize(*args
, **kwargs
):
3559 """DoSetVirtualSize(self, int x, int y)"""
3560 return _windows_
.PyWindow_DoSetVirtualSize(*args
, **kwargs
)
3562 def DoGetSize(*args
, **kwargs
):
3563 """DoGetSize() -> (width, height)"""
3564 return _windows_
.PyWindow_DoGetSize(*args
, **kwargs
)
3566 def DoGetClientSize(*args
, **kwargs
):
3567 """DoGetClientSize() -> (width, height)"""
3568 return _windows_
.PyWindow_DoGetClientSize(*args
, **kwargs
)
3570 def DoGetPosition(*args
, **kwargs
):
3571 """DoGetPosition() -> (x,y)"""
3572 return _windows_
.PyWindow_DoGetPosition(*args
, **kwargs
)
3574 def DoGetVirtualSize(*args
, **kwargs
):
3575 """DoGetVirtualSize(self) -> Size"""
3576 return _windows_
.PyWindow_DoGetVirtualSize(*args
, **kwargs
)
3578 def DoGetBestSize(*args
, **kwargs
):
3579 """DoGetBestSize(self) -> Size"""
3580 return _windows_
.PyWindow_DoGetBestSize(*args
, **kwargs
)
3582 def InitDialog(*args
, **kwargs
):
3586 Sends an EVT_INIT_DIALOG event, whose handler usually transfers data
3587 to the dialog via validators.
3589 return _windows_
.PyWindow_InitDialog(*args
, **kwargs
)
3591 def TransferDataToWindow(*args
, **kwargs
):
3593 TransferDataToWindow(self) -> bool
3595 Transfers values to child controls from data areas specified by their
3596 validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
3597 style flag set, the method will also call TransferDataToWindow() of
3600 return _windows_
.PyWindow_TransferDataToWindow(*args
, **kwargs
)
3602 def TransferDataFromWindow(*args
, **kwargs
):
3604 TransferDataFromWindow(self) -> bool
3606 Transfers values from child controls to data areas specified by their
3607 validators. Returns false if a transfer failed. If the window has
3608 wx.WS_EX_VALIDATE_RECURSIVELY extra style flag set, the method will
3609 also call TransferDataFromWindow() of all child windows.
3611 return _windows_
.PyWindow_TransferDataFromWindow(*args
, **kwargs
)
3613 def Validate(*args
, **kwargs
):
3615 Validate(self) -> bool
3617 Validates the current values of the child controls using their
3618 validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
3619 style flag set, the method will also call Validate() of all child
3620 windows. Returns false if any of the validations failed.
3622 return _windows_
.PyWindow_Validate(*args
, **kwargs
)
3624 def AcceptsFocus(*args
, **kwargs
):
3626 AcceptsFocus(self) -> bool
3628 Can this window have focus?
3630 return _windows_
.PyWindow_AcceptsFocus(*args
, **kwargs
)
3632 def AcceptsFocusFromKeyboard(*args
, **kwargs
):
3634 AcceptsFocusFromKeyboard(self) -> bool
3636 Can this window be given focus by keyboard navigation? if not, the
3637 only way to give it focus (provided it accepts it at all) is to click
3640 return _windows_
.PyWindow_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3642 def GetMaxSize(*args
, **kwargs
):
3643 """GetMaxSize(self) -> Size"""
3644 return _windows_
.PyWindow_GetMaxSize(*args
, **kwargs
)
3646 def AddChild(*args
, **kwargs
):
3648 AddChild(self, Window child)
3650 Adds a child window. This is called automatically by window creation
3651 functions so should not be required by the application programmer.
3653 return _windows_
.PyWindow_AddChild(*args
, **kwargs
)
3655 def RemoveChild(*args
, **kwargs
):
3657 RemoveChild(self, Window child)
3659 Removes a child window. This is called automatically by window
3660 deletion functions so should not be required by the application
3663 return _windows_
.PyWindow_RemoveChild(*args
, **kwargs
)
3665 def ShouldInheritColours(*args
, **kwargs
):
3667 ShouldInheritColours(self) -> bool
3669 Return true from here to allow the colours of this window to be
3670 changed by InheritAttributes, returning false forbids inheriting them
3671 from the parent window.
3673 The base class version returns false, but this method is overridden in
3674 wxControl where it returns true.
3676 return _windows_
.PyWindow_ShouldInheritColours(*args
, **kwargs
)
3678 def GetDefaultAttributes(*args
, **kwargs
):
3679 """GetDefaultAttributes(self) -> VisualAttributes"""
3680 return _windows_
.PyWindow_GetDefaultAttributes(*args
, **kwargs
)
3682 def OnInternalIdle(*args
, **kwargs
):
3683 """OnInternalIdle(self)"""
3684 return _windows_
.PyWindow_OnInternalIdle(*args
, **kwargs
)
3686 def base_DoMoveWindow(*args
, **kw
):
3687 return PyWindow
.DoMoveWindow(*args
, **kw
)
3688 base_DoMoveWindow
= wx
._deprecated
(base_DoMoveWindow
,
3689 "Please use PyWindow.DoMoveWindow instead.")
3691 def base_DoSetSize(*args
, **kw
):
3692 return PyWindow
.DoSetSize(*args
, **kw
)
3693 base_DoSetSize
= wx
._deprecated
(base_DoSetSize
,
3694 "Please use PyWindow.DoSetSize instead.")
3696 def base_DoSetClientSize(*args
, **kw
):
3697 return PyWindow
.DoSetClientSize(*args
, **kw
)
3698 base_DoSetClientSize
= wx
._deprecated
(base_DoSetClientSize
,
3699 "Please use PyWindow.DoSetClientSize instead.")
3701 def base_DoSetVirtualSize(*args
, **kw
):
3702 return PyWindow
.DoSetVirtualSize(*args
, **kw
)
3703 base_DoSetVirtualSize
= wx
._deprecated
(base_DoSetVirtualSize
,
3704 "Please use PyWindow.DoSetVirtualSize instead.")
3706 def base_DoGetSize(*args
, **kw
):
3707 return PyWindow
.DoGetSize(*args
, **kw
)
3708 base_DoGetSize
= wx
._deprecated
(base_DoGetSize
,
3709 "Please use PyWindow.DoGetSize instead.")
3711 def base_DoGetClientSize(*args
, **kw
):
3712 return PyWindow
.DoGetClientSize(*args
, **kw
)
3713 base_DoGetClientSize
= wx
._deprecated
(base_DoGetClientSize
,
3714 "Please use PyWindow.DoGetClientSize instead.")
3716 def base_DoGetPosition(*args
, **kw
):
3717 return PyWindow
.DoGetPosition(*args
, **kw
)
3718 base_DoGetPosition
= wx
._deprecated
(base_DoGetPosition
,
3719 "Please use PyWindow.DoGetPosition instead.")
3721 def base_DoGetVirtualSize(*args
, **kw
):
3722 return PyWindow
.DoGetVirtualSize(*args
, **kw
)
3723 base_DoGetVirtualSize
= wx
._deprecated
(base_DoGetVirtualSize
,
3724 "Please use PyWindow.DoGetVirtualSize instead.")
3726 def base_DoGetBestSize(*args
, **kw
):
3727 return PyWindow
.DoGetBestSize(*args
, **kw
)
3728 base_DoGetBestSize
= wx
._deprecated
(base_DoGetBestSize
,
3729 "Please use PyWindow.DoGetBestSize instead.")
3731 def base_InitDialog(*args
, **kw
):
3732 return PyWindow
.InitDialog(*args
, **kw
)
3733 base_InitDialog
= wx
._deprecated
(base_InitDialog
,
3734 "Please use PyWindow.InitDialog instead.")
3736 def base_TransferDataToWindow(*args
, **kw
):
3737 return PyWindow
.TransferDataToWindow(*args
, **kw
)
3738 base_TransferDataToWindow
= wx
._deprecated
(base_TransferDataToWindow
,
3739 "Please use PyWindow.TransferDataToWindow instead.")
3741 def base_TransferDataFromWindow(*args
, **kw
):
3742 return PyWindow
.TransferDataFromWindow(*args
, **kw
)
3743 base_TransferDataFromWindow
= wx
._deprecated
(base_TransferDataFromWindow
,
3744 "Please use PyWindow.TransferDataFromWindow instead.")
3746 def base_Validate(*args
, **kw
):
3747 return PyWindow
.Validate(*args
, **kw
)
3748 base_Validate
= wx
._deprecated
(base_Validate
,
3749 "Please use PyWindow.Validate instead.")
3751 def base_AcceptsFocus(*args
, **kw
):
3752 return PyWindow
.AcceptsFocus(*args
, **kw
)
3753 base_AcceptsFocus
= wx
._deprecated
(base_AcceptsFocus
,
3754 "Please use PyWindow.AcceptsFocus instead.")
3756 def base_AcceptsFocusFromKeyboard(*args
, **kw
):
3757 return PyWindow
.AcceptsFocusFromKeyboard(*args
, **kw
)
3758 base_AcceptsFocusFromKeyboard
= wx
._deprecated
(base_AcceptsFocusFromKeyboard
,
3759 "Please use PyWindow.AcceptsFocusFromKeyboard instead.")
3761 def base_GetMaxSize(*args
, **kw
):
3762 return PyWindow
.GetMaxSize(*args
, **kw
)
3763 base_GetMaxSize
= wx
._deprecated
(base_GetMaxSize
,
3764 "Please use PyWindow.GetMaxSize instead.")
3766 def base_AddChild(*args
, **kw
):
3767 return PyWindow
.AddChild(*args
, **kw
)
3768 base_AddChild
= wx
._deprecated
(base_AddChild
,
3769 "Please use PyWindow.AddChild instead.")
3771 def base_RemoveChild(*args
, **kw
):
3772 return PyWindow
.RemoveChild(*args
, **kw
)
3773 base_RemoveChild
= wx
._deprecated
(base_RemoveChild
,
3774 "Please use PyWindow.RemoveChild instead.")
3776 def base_ShouldInheritColours(*args
, **kw
):
3777 return PyWindow
.ShouldInheritColours(*args
, **kw
)
3778 base_ShouldInheritColours
= wx
._deprecated
(base_ShouldInheritColours
,
3779 "Please use PyWindow.ShouldInheritColours instead.")
3781 def base_GetDefaultAttributes(*args
, **kw
):
3782 return PyWindow
.GetDefaultAttributes(*args
, **kw
)
3783 base_GetDefaultAttributes
= wx
._deprecated
(base_GetDefaultAttributes
,
3784 "Please use PyWindow.GetDefaultAttributes instead.")
3786 def base_OnInternalIdle(*args
, **kw
):
3787 return PyWindow
.OnInternalIdle(*args
, **kw
)
3788 base_OnInternalIdle
= wx
._deprecated
(base_OnInternalIdle
,
3789 "Please use PyWindow.OnInternalIdle instead.")
3792 class PyWindowPtr(PyWindow
):
3793 def __init__(self
, this
):
3795 if not hasattr(self
,"thisown"): self
.thisown
= 0
3796 self
.__class
__ = PyWindow
3797 _windows_
.PyWindow_swigregister(PyWindowPtr
)
3799 def PrePyWindow(*args
, **kwargs
):
3800 """PrePyWindow() -> PyWindow"""
3801 val
= _windows_
.new_PrePyWindow(*args
, **kwargs
)
3805 class PyPanel(Panel
):
3806 """Proxy of C++ PyPanel class"""
3808 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3809 def __init__(self
, *args
, **kwargs
):
3811 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3812 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyPanel
3814 newobj
= _windows_
.new_PyPanel(*args
, **kwargs
)
3815 self
.this
= newobj
.this
3818 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3820 def _setCallbackInfo(*args
, **kwargs
):
3821 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3822 return _windows_
.PyPanel__setCallbackInfo(*args
, **kwargs
)
3824 def SetBestSize(*args
, **kwargs
):
3825 """SetBestSize(self, Size size)"""
3826 return _windows_
.PyPanel_SetBestSize(*args
, **kwargs
)
3828 def DoEraseBackground(*args
, **kwargs
):
3829 """DoEraseBackground(self, DC dc) -> bool"""
3830 return _windows_
.PyPanel_DoEraseBackground(*args
, **kwargs
)
3832 def DoMoveWindow(*args
, **kwargs
):
3833 """DoMoveWindow(self, int x, int y, int width, int height)"""
3834 return _windows_
.PyPanel_DoMoveWindow(*args
, **kwargs
)
3836 def DoSetSize(*args
, **kwargs
):
3837 """DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3838 return _windows_
.PyPanel_DoSetSize(*args
, **kwargs
)
3840 def DoSetClientSize(*args
, **kwargs
):
3841 """DoSetClientSize(self, int width, int height)"""
3842 return _windows_
.PyPanel_DoSetClientSize(*args
, **kwargs
)
3844 def DoSetVirtualSize(*args
, **kwargs
):
3845 """DoSetVirtualSize(self, int x, int y)"""
3846 return _windows_
.PyPanel_DoSetVirtualSize(*args
, **kwargs
)
3848 def DoGetSize(*args
, **kwargs
):
3849 """DoGetSize() -> (width, height)"""
3850 return _windows_
.PyPanel_DoGetSize(*args
, **kwargs
)
3852 def DoGetClientSize(*args
, **kwargs
):
3853 """DoGetClientSize() -> (width, height)"""
3854 return _windows_
.PyPanel_DoGetClientSize(*args
, **kwargs
)
3856 def DoGetPosition(*args
, **kwargs
):
3857 """DoGetPosition() -> (x,y)"""
3858 return _windows_
.PyPanel_DoGetPosition(*args
, **kwargs
)
3860 def DoGetVirtualSize(*args
, **kwargs
):
3861 """DoGetVirtualSize(self) -> Size"""
3862 return _windows_
.PyPanel_DoGetVirtualSize(*args
, **kwargs
)
3864 def DoGetBestSize(*args
, **kwargs
):
3865 """DoGetBestSize(self) -> Size"""
3866 return _windows_
.PyPanel_DoGetBestSize(*args
, **kwargs
)
3868 def InitDialog(*args
, **kwargs
):
3872 Sends an EVT_INIT_DIALOG event, whose handler usually transfers data
3873 to the dialog via validators.
3875 return _windows_
.PyPanel_InitDialog(*args
, **kwargs
)
3877 def TransferDataToWindow(*args
, **kwargs
):
3879 TransferDataToWindow(self) -> bool
3881 Transfers values to child controls from data areas specified by their
3882 validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
3883 style flag set, the method will also call TransferDataToWindow() of
3886 return _windows_
.PyPanel_TransferDataToWindow(*args
, **kwargs
)
3888 def TransferDataFromWindow(*args
, **kwargs
):
3890 TransferDataFromWindow(self) -> bool
3892 Transfers values from child controls to data areas specified by their
3893 validators. Returns false if a transfer failed. If the window has
3894 wx.WS_EX_VALIDATE_RECURSIVELY extra style flag set, the method will
3895 also call TransferDataFromWindow() of all child windows.
3897 return _windows_
.PyPanel_TransferDataFromWindow(*args
, **kwargs
)
3899 def Validate(*args
, **kwargs
):
3901 Validate(self) -> bool
3903 Validates the current values of the child controls using their
3904 validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
3905 style flag set, the method will also call Validate() of all child
3906 windows. Returns false if any of the validations failed.
3908 return _windows_
.PyPanel_Validate(*args
, **kwargs
)
3910 def AcceptsFocus(*args
, **kwargs
):
3912 AcceptsFocus(self) -> bool
3914 Can this window have focus?
3916 return _windows_
.PyPanel_AcceptsFocus(*args
, **kwargs
)
3918 def AcceptsFocusFromKeyboard(*args
, **kwargs
):
3920 AcceptsFocusFromKeyboard(self) -> bool
3922 Can this window be given focus by keyboard navigation? if not, the
3923 only way to give it focus (provided it accepts it at all) is to click
3926 return _windows_
.PyPanel_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3928 def GetMaxSize(*args
, **kwargs
):
3929 """GetMaxSize(self) -> Size"""
3930 return _windows_
.PyPanel_GetMaxSize(*args
, **kwargs
)
3932 def AddChild(*args
, **kwargs
):
3934 AddChild(self, Window child)
3936 Adds a child window. This is called automatically by window creation
3937 functions so should not be required by the application programmer.
3939 return _windows_
.PyPanel_AddChild(*args
, **kwargs
)
3941 def RemoveChild(*args
, **kwargs
):
3943 RemoveChild(self, Window child)
3945 Removes a child window. This is called automatically by window
3946 deletion functions so should not be required by the application
3949 return _windows_
.PyPanel_RemoveChild(*args
, **kwargs
)
3951 def ShouldInheritColours(*args
, **kwargs
):
3953 ShouldInheritColours(self) -> bool
3955 Return true from here to allow the colours of this window to be
3956 changed by InheritAttributes, returning false forbids inheriting them
3957 from the parent window.
3959 The base class version returns false, but this method is overridden in
3960 wxControl where it returns true.
3962 return _windows_
.PyPanel_ShouldInheritColours(*args
, **kwargs
)
3964 def GetDefaultAttributes(*args
, **kwargs
):
3965 """GetDefaultAttributes(self) -> VisualAttributes"""
3966 return _windows_
.PyPanel_GetDefaultAttributes(*args
, **kwargs
)
3968 def OnInternalIdle(*args
, **kwargs
):
3969 """OnInternalIdle(self)"""
3970 return _windows_
.PyPanel_OnInternalIdle(*args
, **kwargs
)
3972 def base_DoMoveWindow(*args
, **kw
):
3973 return PyPanel
.DoMoveWindow(*args
, **kw
)
3974 base_DoMoveWindow
= wx
._deprecated
(base_DoMoveWindow
,
3975 "Please use PyPanel.DoMoveWindow instead.")
3977 def base_DoSetSize(*args
, **kw
):
3978 return PyPanel
.DoSetSize(*args
, **kw
)
3979 base_DoSetSize
= wx
._deprecated
(base_DoSetSize
,
3980 "Please use PyPanel.DoSetSize instead.")
3982 def base_DoSetClientSize(*args
, **kw
):
3983 return PyPanel
.DoSetClientSize(*args
, **kw
)
3984 base_DoSetClientSize
= wx
._deprecated
(base_DoSetClientSize
,
3985 "Please use PyPanel.DoSetClientSize instead.")
3987 def base_DoSetVirtualSize(*args
, **kw
):
3988 return PyPanel
.DoSetVirtualSize(*args
, **kw
)
3989 base_DoSetVirtualSize
= wx
._deprecated
(base_DoSetVirtualSize
,
3990 "Please use PyPanel.DoSetVirtualSize instead.")
3992 def base_DoGetSize(*args
, **kw
):
3993 return PyPanel
.DoGetSize(*args
, **kw
)
3994 base_DoGetSize
= wx
._deprecated
(base_DoGetSize
,
3995 "Please use PyPanel.DoGetSize instead.")
3997 def base_DoGetClientSize(*args
, **kw
):
3998 return PyPanel
.DoGetClientSize(*args
, **kw
)
3999 base_DoGetClientSize
= wx
._deprecated
(base_DoGetClientSize
,
4000 "Please use PyPanel.DoGetClientSize instead.")
4002 def base_DoGetPosition(*args
, **kw
):
4003 return PyPanel
.DoGetPosition(*args
, **kw
)
4004 base_DoGetPosition
= wx
._deprecated
(base_DoGetPosition
,
4005 "Please use PyPanel.DoGetPosition instead.")
4007 def base_DoGetVirtualSize(*args
, **kw
):
4008 return PyPanel
.DoGetVirtualSize(*args
, **kw
)
4009 base_DoGetVirtualSize
= wx
._deprecated
(base_DoGetVirtualSize
,
4010 "Please use PyPanel.DoGetVirtualSize instead.")
4012 def base_DoGetBestSize(*args
, **kw
):
4013 return PyPanel
.DoGetBestSize(*args
, **kw
)
4014 base_DoGetBestSize
= wx
._deprecated
(base_DoGetBestSize
,
4015 "Please use PyPanel.DoGetBestSize instead.")
4017 def base_InitDialog(*args
, **kw
):
4018 return PyPanel
.InitDialog(*args
, **kw
)
4019 base_InitDialog
= wx
._deprecated
(base_InitDialog
,
4020 "Please use PyPanel.InitDialog instead.")
4022 def base_TransferDataToWindow(*args
, **kw
):
4023 return PyPanel
.TransferDataToWindow(*args
, **kw
)
4024 base_TransferDataToWindow
= wx
._deprecated
(base_TransferDataToWindow
,
4025 "Please use PyPanel.TransferDataToWindow instead.")
4027 def base_TransferDataFromWindow(*args
, **kw
):
4028 return PyPanel
.TransferDataFromWindow(*args
, **kw
)
4029 base_TransferDataFromWindow
= wx
._deprecated
(base_TransferDataFromWindow
,
4030 "Please use PyPanel.TransferDataFromWindow instead.")
4032 def base_Validate(*args
, **kw
):
4033 return PyPanel
.Validate(*args
, **kw
)
4034 base_Validate
= wx
._deprecated
(base_Validate
,
4035 "Please use PyPanel.Validate instead.")
4037 def base_AcceptsFocus(*args
, **kw
):
4038 return PyPanel
.AcceptsFocus(*args
, **kw
)
4039 base_AcceptsFocus
= wx
._deprecated
(base_AcceptsFocus
,
4040 "Please use PyPanel.AcceptsFocus instead.")
4042 def base_AcceptsFocusFromKeyboard(*args
, **kw
):
4043 return PyPanel
.AcceptsFocusFromKeyboard(*args
, **kw
)
4044 base_AcceptsFocusFromKeyboard
= wx
._deprecated
(base_AcceptsFocusFromKeyboard
,
4045 "Please use PyPanel.AcceptsFocusFromKeyboard instead.")
4047 def base_GetMaxSize(*args
, **kw
):
4048 return PyPanel
.GetMaxSize(*args
, **kw
)
4049 base_GetMaxSize
= wx
._deprecated
(base_GetMaxSize
,
4050 "Please use PyPanel.GetMaxSize instead.")
4052 def base_AddChild(*args
, **kw
):
4053 return PyPanel
.AddChild(*args
, **kw
)
4054 base_AddChild
= wx
._deprecated
(base_AddChild
,
4055 "Please use PyPanel.AddChild instead.")
4057 def base_RemoveChild(*args
, **kw
):
4058 return PyPanel
.RemoveChild(*args
, **kw
)
4059 base_RemoveChild
= wx
._deprecated
(base_RemoveChild
,
4060 "Please use PyPanel.RemoveChild instead.")
4062 def base_ShouldInheritColours(*args
, **kw
):
4063 return PyPanel
.ShouldInheritColours(*args
, **kw
)
4064 base_ShouldInheritColours
= wx
._deprecated
(base_ShouldInheritColours
,
4065 "Please use PyPanel.ShouldInheritColours instead.")
4067 def base_GetDefaultAttributes(*args
, **kw
):
4068 return PyPanel
.GetDefaultAttributes(*args
, **kw
)
4069 base_GetDefaultAttributes
= wx
._deprecated
(base_GetDefaultAttributes
,
4070 "Please use PyPanel.GetDefaultAttributes instead.")
4072 def base_OnInternalIdle(*args
, **kw
):
4073 return PyPanel
.OnInternalIdle(*args
, **kw
)
4074 base_OnInternalIdle
= wx
._deprecated
(base_OnInternalIdle
,
4075 "Please use PyPanel.OnInternalIdle instead.")
4078 class PyPanelPtr(PyPanel
):
4079 def __init__(self
, this
):
4081 if not hasattr(self
,"thisown"): self
.thisown
= 0
4082 self
.__class
__ = PyPanel
4083 _windows_
.PyPanel_swigregister(PyPanelPtr
)
4085 def PrePyPanel(*args
, **kwargs
):
4086 """PrePyPanel() -> PyPanel"""
4087 val
= _windows_
.new_PrePyPanel(*args
, **kwargs
)
4091 class PyScrolledWindow(ScrolledWindow
):
4092 """Proxy of C++ PyScrolledWindow class"""
4094 return "<%s.%s; proxy of C++ wxPyScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4095 def __init__(self
, *args
, **kwargs
):
4097 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
4098 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyScrolledWindow
4100 newobj
= _windows_
.new_PyScrolledWindow(*args
, **kwargs
)
4101 self
.this
= newobj
.this
4104 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyScrolledWindow
)
4106 def _setCallbackInfo(*args
, **kwargs
):
4107 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4108 return _windows_
.PyScrolledWindow__setCallbackInfo(*args
, **kwargs
)
4110 def SetBestSize(*args
, **kwargs
):
4111 """SetBestSize(self, Size size)"""
4112 return _windows_
.PyScrolledWindow_SetBestSize(*args
, **kwargs
)
4114 def DoEraseBackground(*args
, **kwargs
):
4115 """DoEraseBackground(self, DC dc) -> bool"""
4116 return _windows_
.PyScrolledWindow_DoEraseBackground(*args
, **kwargs
)
4118 def DoMoveWindow(*args
, **kwargs
):
4119 """DoMoveWindow(self, int x, int y, int width, int height)"""
4120 return _windows_
.PyScrolledWindow_DoMoveWindow(*args
, **kwargs
)
4122 def DoSetSize(*args
, **kwargs
):
4123 """DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
4124 return _windows_
.PyScrolledWindow_DoSetSize(*args
, **kwargs
)
4126 def DoSetClientSize(*args
, **kwargs
):
4127 """DoSetClientSize(self, int width, int height)"""
4128 return _windows_
.PyScrolledWindow_DoSetClientSize(*args
, **kwargs
)
4130 def DoSetVirtualSize(*args
, **kwargs
):
4131 """DoSetVirtualSize(self, int x, int y)"""
4132 return _windows_
.PyScrolledWindow_DoSetVirtualSize(*args
, **kwargs
)
4134 def DoGetSize(*args
, **kwargs
):
4135 """DoGetSize() -> (width, height)"""
4136 return _windows_
.PyScrolledWindow_DoGetSize(*args
, **kwargs
)
4138 def DoGetClientSize(*args
, **kwargs
):
4139 """DoGetClientSize() -> (width, height)"""
4140 return _windows_
.PyScrolledWindow_DoGetClientSize(*args
, **kwargs
)
4142 def DoGetPosition(*args
, **kwargs
):
4143 """DoGetPosition() -> (x,y)"""
4144 return _windows_
.PyScrolledWindow_DoGetPosition(*args
, **kwargs
)
4146 def DoGetVirtualSize(*args
, **kwargs
):
4147 """DoGetVirtualSize(self) -> Size"""
4148 return _windows_
.PyScrolledWindow_DoGetVirtualSize(*args
, **kwargs
)
4150 def DoGetBestSize(*args
, **kwargs
):
4151 """DoGetBestSize(self) -> Size"""
4152 return _windows_
.PyScrolledWindow_DoGetBestSize(*args
, **kwargs
)
4154 def InitDialog(*args
, **kwargs
):
4158 Sends an EVT_INIT_DIALOG event, whose handler usually transfers data
4159 to the dialog via validators.
4161 return _windows_
.PyScrolledWindow_InitDialog(*args
, **kwargs
)
4163 def TransferDataToWindow(*args
, **kwargs
):
4165 TransferDataToWindow(self) -> bool
4167 Transfers values to child controls from data areas specified by their
4168 validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
4169 style flag set, the method will also call TransferDataToWindow() of
4172 return _windows_
.PyScrolledWindow_TransferDataToWindow(*args
, **kwargs
)
4174 def TransferDataFromWindow(*args
, **kwargs
):
4176 TransferDataFromWindow(self) -> bool
4178 Transfers values from child controls to data areas specified by their
4179 validators. Returns false if a transfer failed. If the window has
4180 wx.WS_EX_VALIDATE_RECURSIVELY extra style flag set, the method will
4181 also call TransferDataFromWindow() of all child windows.
4183 return _windows_
.PyScrolledWindow_TransferDataFromWindow(*args
, **kwargs
)
4185 def Validate(*args
, **kwargs
):
4187 Validate(self) -> bool
4189 Validates the current values of the child controls using their
4190 validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
4191 style flag set, the method will also call Validate() of all child
4192 windows. Returns false if any of the validations failed.
4194 return _windows_
.PyScrolledWindow_Validate(*args
, **kwargs
)
4196 def AcceptsFocus(*args
, **kwargs
):
4198 AcceptsFocus(self) -> bool
4200 Can this window have focus?
4202 return _windows_
.PyScrolledWindow_AcceptsFocus(*args
, **kwargs
)
4204 def AcceptsFocusFromKeyboard(*args
, **kwargs
):
4206 AcceptsFocusFromKeyboard(self) -> bool
4208 Can this window be given focus by keyboard navigation? if not, the
4209 only way to give it focus (provided it accepts it at all) is to click
4212 return _windows_
.PyScrolledWindow_AcceptsFocusFromKeyboard(*args
, **kwargs
)
4214 def GetMaxSize(*args
, **kwargs
):
4215 """GetMaxSize(self) -> Size"""
4216 return _windows_
.PyScrolledWindow_GetMaxSize(*args
, **kwargs
)
4218 def AddChild(*args
, **kwargs
):
4220 AddChild(self, Window child)
4222 Adds a child window. This is called automatically by window creation
4223 functions so should not be required by the application programmer.
4225 return _windows_
.PyScrolledWindow_AddChild(*args
, **kwargs
)
4227 def RemoveChild(*args
, **kwargs
):
4229 RemoveChild(self, Window child)
4231 Removes a child window. This is called automatically by window
4232 deletion functions so should not be required by the application
4235 return _windows_
.PyScrolledWindow_RemoveChild(*args
, **kwargs
)
4237 def ShouldInheritColours(*args
, **kwargs
):
4239 ShouldInheritColours(self) -> bool
4241 Return true from here to allow the colours of this window to be
4242 changed by InheritAttributes, returning false forbids inheriting them
4243 from the parent window.
4245 The base class version returns false, but this method is overridden in
4246 wxControl where it returns true.
4248 return _windows_
.PyScrolledWindow_ShouldInheritColours(*args
, **kwargs
)
4250 def GetDefaultAttributes(*args
, **kwargs
):
4251 """GetDefaultAttributes(self) -> VisualAttributes"""
4252 return _windows_
.PyScrolledWindow_GetDefaultAttributes(*args
, **kwargs
)
4254 def OnInternalIdle(*args
, **kwargs
):
4255 """OnInternalIdle(self)"""
4256 return _windows_
.PyScrolledWindow_OnInternalIdle(*args
, **kwargs
)
4258 def base_DoMoveWindow(*args
, **kw
):
4259 return PyScrolledWindow
.DoMoveWindow(*args
, **kw
)
4260 base_DoMoveWindow
= wx
._deprecated
(base_DoMoveWindow
,
4261 "Please use PyScrolledWindow.DoMoveWindow instead.")
4263 def base_DoSetSize(*args
, **kw
):
4264 return PyScrolledWindow
.DoSetSize(*args
, **kw
)
4265 base_DoSetSize
= wx
._deprecated
(base_DoSetSize
,
4266 "Please use PyScrolledWindow.DoSetSize instead.")
4268 def base_DoSetClientSize(*args
, **kw
):
4269 return PyScrolledWindow
.DoSetClientSize(*args
, **kw
)
4270 base_DoSetClientSize
= wx
._deprecated
(base_DoSetClientSize
,
4271 "Please use PyScrolledWindow.DoSetClientSize instead.")
4273 def base_DoSetVirtualSize(*args
, **kw
):
4274 return PyScrolledWindow
.DoSetVirtualSize(*args
, **kw
)
4275 base_DoSetVirtualSize
= wx
._deprecated
(base_DoSetVirtualSize
,
4276 "Please use PyScrolledWindow.DoSetVirtualSize instead.")
4278 def base_DoGetSize(*args
, **kw
):
4279 return PyScrolledWindow
.DoGetSize(*args
, **kw
)
4280 base_DoGetSize
= wx
._deprecated
(base_DoGetSize
,
4281 "Please use PyScrolledWindow.DoGetSize instead.")
4283 def base_DoGetClientSize(*args
, **kw
):
4284 return PyScrolledWindow
.DoGetClientSize(*args
, **kw
)
4285 base_DoGetClientSize
= wx
._deprecated
(base_DoGetClientSize
,
4286 "Please use PyScrolledWindow.DoGetClientSize instead.")
4288 def base_DoGetPosition(*args
, **kw
):
4289 return PyScrolledWindow
.DoGetPosition(*args
, **kw
)
4290 base_DoGetPosition
= wx
._deprecated
(base_DoGetPosition
,
4291 "Please use PyScrolledWindow.DoGetPosition instead.")
4293 def base_DoGetVirtualSize(*args
, **kw
):
4294 return PyScrolledWindow
.DoGetVirtualSize(*args
, **kw
)
4295 base_DoGetVirtualSize
= wx
._deprecated
(base_DoGetVirtualSize
,
4296 "Please use PyScrolledWindow.DoGetVirtualSize instead.")
4298 def base_DoGetBestSize(*args
, **kw
):
4299 return PyScrolledWindow
.DoGetBestSize(*args
, **kw
)
4300 base_DoGetBestSize
= wx
._deprecated
(base_DoGetBestSize
,
4301 "Please use PyScrolledWindow.DoGetBestSize instead.")
4303 def base_InitDialog(*args
, **kw
):
4304 return PyScrolledWindow
.InitDialog(*args
, **kw
)
4305 base_InitDialog
= wx
._deprecated
(base_InitDialog
,
4306 "Please use PyScrolledWindow.InitDialog instead.")
4308 def base_TransferDataToWindow(*args
, **kw
):
4309 return PyScrolledWindow
.TransferDataToWindow(*args
, **kw
)
4310 base_TransferDataToWindow
= wx
._deprecated
(base_TransferDataToWindow
,
4311 "Please use PyScrolledWindow.TransferDataToWindow instead.")
4313 def base_TransferDataFromWindow(*args
, **kw
):
4314 return PyScrolledWindow
.TransferDataFromWindow(*args
, **kw
)
4315 base_TransferDataFromWindow
= wx
._deprecated
(base_TransferDataFromWindow
,
4316 "Please use PyScrolledWindow.TransferDataFromWindow instead.")
4318 def base_Validate(*args
, **kw
):
4319 return PyScrolledWindow
.Validate(*args
, **kw
)
4320 base_Validate
= wx
._deprecated
(base_Validate
,
4321 "Please use PyScrolledWindow.Validate instead.")
4323 def base_AcceptsFocus(*args
, **kw
):
4324 return PyScrolledWindow
.AcceptsFocus(*args
, **kw
)
4325 base_AcceptsFocus
= wx
._deprecated
(base_AcceptsFocus
,
4326 "Please use PyScrolledWindow.AcceptsFocus instead.")
4328 def base_AcceptsFocusFromKeyboard(*args
, **kw
):
4329 return PyScrolledWindow
.AcceptsFocusFromKeyboard(*args
, **kw
)
4330 base_AcceptsFocusFromKeyboard
= wx
._deprecated
(base_AcceptsFocusFromKeyboard
,
4331 "Please use PyScrolledWindow.AcceptsFocusFromKeyboard instead.")
4333 def base_GetMaxSize(*args
, **kw
):
4334 return PyScrolledWindow
.GetMaxSize(*args
, **kw
)
4335 base_GetMaxSize
= wx
._deprecated
(base_GetMaxSize
,
4336 "Please use PyScrolledWindow.GetMaxSize instead.")
4338 def base_AddChild(*args
, **kw
):
4339 return PyScrolledWindow
.AddChild(*args
, **kw
)
4340 base_AddChild
= wx
._deprecated
(base_AddChild
,
4341 "Please use PyScrolledWindow.AddChild instead.")
4343 def base_RemoveChild(*args
, **kw
):
4344 return PyScrolledWindow
.RemoveChild(*args
, **kw
)
4345 base_RemoveChild
= wx
._deprecated
(base_RemoveChild
,
4346 "Please use PyScrolledWindow.RemoveChild instead.")
4348 def base_ShouldInheritColours(*args
, **kw
):
4349 return PyScrolledWindow
.ShouldInheritColours(*args
, **kw
)
4350 base_ShouldInheritColours
= wx
._deprecated
(base_ShouldInheritColours
,
4351 "Please use PyScrolledWindow.ShouldInheritColours instead.")
4353 def base_GetDefaultAttributes(*args
, **kw
):
4354 return PyScrolledWindow
.GetDefaultAttributes(*args
, **kw
)
4355 base_GetDefaultAttributes
= wx
._deprecated
(base_GetDefaultAttributes
,
4356 "Please use PyScrolledWindow.GetDefaultAttributes instead.")
4358 def base_OnInternalIdle(*args
, **kw
):
4359 return PyScrolledWindow
.OnInternalIdle(*args
, **kw
)
4360 base_OnInternalIdle
= wx
._deprecated
(base_OnInternalIdle
,
4361 "Please use PyScrolledWindow.OnInternalIdle instead.")
4364 class PyScrolledWindowPtr(PyScrolledWindow
):
4365 def __init__(self
, this
):
4367 if not hasattr(self
,"thisown"): self
.thisown
= 0
4368 self
.__class
__ = PyScrolledWindow
4369 _windows_
.PyScrolledWindow_swigregister(PyScrolledWindowPtr
)
4371 def PrePyScrolledWindow(*args
, **kwargs
):
4372 """PrePyScrolledWindow() -> PyScrolledWindow"""
4373 val
= _windows_
.new_PrePyScrolledWindow(*args
, **kwargs
)
4377 #---------------------------------------------------------------------------
4379 PRINT_MODE_NONE
= _windows_
.PRINT_MODE_NONE
4380 PRINT_MODE_PREVIEW
= _windows_
.PRINT_MODE_PREVIEW
4381 PRINT_MODE_FILE
= _windows_
.PRINT_MODE_FILE
4382 PRINT_MODE_PRINTER
= _windows_
.PRINT_MODE_PRINTER
4383 PRINT_MODE_STREAM
= _windows_
.PRINT_MODE_STREAM
4384 PRINTBIN_DEFAULT
= _windows_
.PRINTBIN_DEFAULT
4385 PRINTBIN_ONLYONE
= _windows_
.PRINTBIN_ONLYONE
4386 PRINTBIN_LOWER
= _windows_
.PRINTBIN_LOWER
4387 PRINTBIN_MIDDLE
= _windows_
.PRINTBIN_MIDDLE
4388 PRINTBIN_MANUAL
= _windows_
.PRINTBIN_MANUAL
4389 PRINTBIN_ENVELOPE
= _windows_
.PRINTBIN_ENVELOPE
4390 PRINTBIN_ENVMANUAL
= _windows_
.PRINTBIN_ENVMANUAL
4391 PRINTBIN_AUTO
= _windows_
.PRINTBIN_AUTO
4392 PRINTBIN_TRACTOR
= _windows_
.PRINTBIN_TRACTOR
4393 PRINTBIN_SMALLFMT
= _windows_
.PRINTBIN_SMALLFMT
4394 PRINTBIN_LARGEFMT
= _windows_
.PRINTBIN_LARGEFMT
4395 PRINTBIN_LARGECAPACITY
= _windows_
.PRINTBIN_LARGECAPACITY
4396 PRINTBIN_CASSETTE
= _windows_
.PRINTBIN_CASSETTE
4397 PRINTBIN_FORMSOURCE
= _windows_
.PRINTBIN_FORMSOURCE
4398 PRINTBIN_USER
= _windows_
.PRINTBIN_USER
4399 class PrintData(_core
.Object
):
4400 """Proxy of C++ PrintData class"""
4402 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4403 def __init__(self
, *args
):
4405 __init__(self) -> PrintData
4406 __init__(self, PrintData data) -> PrintData
4408 newobj
= _windows_
.new_PrintData(*args
)
4409 self
.this
= newobj
.this
4412 def __del__(self
, destroy
=_windows_
.delete_PrintData
):
4415 if self
.thisown
: destroy(self
)
4418 def GetNoCopies(*args
, **kwargs
):
4419 """GetNoCopies(self) -> int"""
4420 return _windows_
.PrintData_GetNoCopies(*args
, **kwargs
)
4422 def GetCollate(*args
, **kwargs
):
4423 """GetCollate(self) -> bool"""
4424 return _windows_
.PrintData_GetCollate(*args
, **kwargs
)
4426 def GetOrientation(*args
, **kwargs
):
4427 """GetOrientation(self) -> int"""
4428 return _windows_
.PrintData_GetOrientation(*args
, **kwargs
)
4430 def Ok(*args
, **kwargs
):
4431 """Ok(self) -> bool"""
4432 return _windows_
.PrintData_Ok(*args
, **kwargs
)
4434 def GetPrinterName(*args
, **kwargs
):
4435 """GetPrinterName(self) -> String"""
4436 return _windows_
.PrintData_GetPrinterName(*args
, **kwargs
)
4438 def GetColour(*args
, **kwargs
):
4439 """GetColour(self) -> bool"""
4440 return _windows_
.PrintData_GetColour(*args
, **kwargs
)
4442 def GetDuplex(*args
, **kwargs
):
4443 """GetDuplex(self) -> int"""
4444 return _windows_
.PrintData_GetDuplex(*args
, **kwargs
)
4446 def GetPaperId(*args
, **kwargs
):
4447 """GetPaperId(self) -> int"""
4448 return _windows_
.PrintData_GetPaperId(*args
, **kwargs
)
4450 def GetPaperSize(*args
, **kwargs
):
4451 """GetPaperSize(self) -> Size"""
4452 return _windows_
.PrintData_GetPaperSize(*args
, **kwargs
)
4454 def GetQuality(*args
, **kwargs
):
4455 """GetQuality(self) -> int"""
4456 return _windows_
.PrintData_GetQuality(*args
, **kwargs
)
4458 def GetBin(*args
, **kwargs
):
4459 """GetBin(self) -> int"""
4460 return _windows_
.PrintData_GetBin(*args
, **kwargs
)
4462 def GetPrintMode(*args
, **kwargs
):
4463 """GetPrintMode(self) -> int"""
4464 return _windows_
.PrintData_GetPrintMode(*args
, **kwargs
)
4466 def SetNoCopies(*args
, **kwargs
):
4467 """SetNoCopies(self, int v)"""
4468 return _windows_
.PrintData_SetNoCopies(*args
, **kwargs
)
4470 def SetCollate(*args
, **kwargs
):
4471 """SetCollate(self, bool flag)"""
4472 return _windows_
.PrintData_SetCollate(*args
, **kwargs
)
4474 def SetOrientation(*args
, **kwargs
):
4475 """SetOrientation(self, int orient)"""
4476 return _windows_
.PrintData_SetOrientation(*args
, **kwargs
)
4478 def SetPrinterName(*args
, **kwargs
):
4479 """SetPrinterName(self, String name)"""
4480 return _windows_
.PrintData_SetPrinterName(*args
, **kwargs
)
4482 def SetColour(*args
, **kwargs
):
4483 """SetColour(self, bool colour)"""
4484 return _windows_
.PrintData_SetColour(*args
, **kwargs
)
4486 def SetDuplex(*args
, **kwargs
):
4487 """SetDuplex(self, int duplex)"""
4488 return _windows_
.PrintData_SetDuplex(*args
, **kwargs
)
4490 def SetPaperId(*args
, **kwargs
):
4491 """SetPaperId(self, int sizeId)"""
4492 return _windows_
.PrintData_SetPaperId(*args
, **kwargs
)
4494 def SetPaperSize(*args
, **kwargs
):
4495 """SetPaperSize(self, Size sz)"""
4496 return _windows_
.PrintData_SetPaperSize(*args
, **kwargs
)
4498 def SetQuality(*args
, **kwargs
):
4499 """SetQuality(self, int quality)"""
4500 return _windows_
.PrintData_SetQuality(*args
, **kwargs
)
4502 def SetBin(*args
, **kwargs
):
4503 """SetBin(self, int bin)"""
4504 return _windows_
.PrintData_SetBin(*args
, **kwargs
)
4506 def SetPrintMode(*args
, **kwargs
):
4507 """SetPrintMode(self, int printMode)"""
4508 return _windows_
.PrintData_SetPrintMode(*args
, **kwargs
)
4510 def GetFilename(*args
, **kwargs
):
4511 """GetFilename(self) -> String"""
4512 return _windows_
.PrintData_GetFilename(*args
, **kwargs
)
4514 def SetFilename(*args
, **kwargs
):
4515 """SetFilename(self, String filename)"""
4516 return _windows_
.PrintData_SetFilename(*args
, **kwargs
)
4518 def __nonzero__(self
): return self
.Ok()
4519 def GetPrivData(*args
, **kwargs
):
4520 """GetPrivData(self) -> PyObject"""
4521 return _windows_
.PrintData_GetPrivData(*args
, **kwargs
)
4523 def SetPrivData(*args
, **kwargs
):
4524 """SetPrivData(self, PyObject data)"""
4525 return _windows_
.PrintData_SetPrivData(*args
, **kwargs
)
4528 class PrintDataPtr(PrintData
):
4529 def __init__(self
, this
):
4531 if not hasattr(self
,"thisown"): self
.thisown
= 0
4532 self
.__class
__ = PrintData
4533 _windows_
.PrintData_swigregister(PrintDataPtr
)
4534 PrintoutTitleStr
= cvar
.PrintoutTitleStr
4535 PreviewCanvasNameStr
= cvar
.PreviewCanvasNameStr
4537 class PageSetupDialogData(_core
.Object
):
4538 """Proxy of C++ PageSetupDialogData class"""
4540 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4541 def __init__(self
, *args
):
4543 __init__(self) -> PageSetupDialogData
4544 __init__(self, PageSetupDialogData data) -> PageSetupDialogData
4545 __init__(self, PrintData data) -> PageSetupDialogData
4547 newobj
= _windows_
.new_PageSetupDialogData(*args
)
4548 self
.this
= newobj
.this
4551 def __del__(self
, destroy
=_windows_
.delete_PageSetupDialogData
):
4554 if self
.thisown
: destroy(self
)
4557 def EnableHelp(*args
, **kwargs
):
4558 """EnableHelp(self, bool flag)"""
4559 return _windows_
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
4561 def EnableMargins(*args
, **kwargs
):
4562 """EnableMargins(self, bool flag)"""
4563 return _windows_
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
4565 def EnableOrientation(*args
, **kwargs
):
4566 """EnableOrientation(self, bool flag)"""
4567 return _windows_
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
4569 def EnablePaper(*args
, **kwargs
):
4570 """EnablePaper(self, bool flag)"""
4571 return _windows_
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
4573 def EnablePrinter(*args
, **kwargs
):
4574 """EnablePrinter(self, bool flag)"""
4575 return _windows_
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
4577 def GetDefaultMinMargins(*args
, **kwargs
):
4578 """GetDefaultMinMargins(self) -> bool"""
4579 return _windows_
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
4581 def GetEnableMargins(*args
, **kwargs
):
4582 """GetEnableMargins(self) -> bool"""
4583 return _windows_
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
4585 def GetEnableOrientation(*args
, **kwargs
):
4586 """GetEnableOrientation(self) -> bool"""
4587 return _windows_
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
4589 def GetEnablePaper(*args
, **kwargs
):
4590 """GetEnablePaper(self) -> bool"""
4591 return _windows_
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
4593 def GetEnablePrinter(*args
, **kwargs
):
4594 """GetEnablePrinter(self) -> bool"""
4595 return _windows_
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
4597 def GetEnableHelp(*args
, **kwargs
):
4598 """GetEnableHelp(self) -> bool"""
4599 return _windows_
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
4601 def GetDefaultInfo(*args
, **kwargs
):
4602 """GetDefaultInfo(self) -> bool"""
4603 return _windows_
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
4605 def GetMarginTopLeft(*args
, **kwargs
):
4606 """GetMarginTopLeft(self) -> Point"""
4607 return _windows_
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
4609 def GetMarginBottomRight(*args
, **kwargs
):
4610 """GetMarginBottomRight(self) -> Point"""
4611 return _windows_
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
4613 def GetMinMarginTopLeft(*args
, **kwargs
):
4614 """GetMinMarginTopLeft(self) -> Point"""
4615 return _windows_
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
4617 def GetMinMarginBottomRight(*args
, **kwargs
):
4618 """GetMinMarginBottomRight(self) -> Point"""
4619 return _windows_
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
4621 def GetPaperId(*args
, **kwargs
):
4622 """GetPaperId(self) -> int"""
4623 return _windows_
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
4625 def GetPaperSize(*args
, **kwargs
):
4626 """GetPaperSize(self) -> Size"""
4627 return _windows_
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
4629 def GetPrintData(*args
, **kwargs
):
4630 """GetPrintData(self) -> PrintData"""
4631 return _windows_
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
4633 def Ok(*args
, **kwargs
):
4634 """Ok(self) -> bool"""
4635 return _windows_
.PageSetupDialogData_Ok(*args
, **kwargs
)
4637 def SetDefaultInfo(*args
, **kwargs
):
4638 """SetDefaultInfo(self, bool flag)"""
4639 return _windows_
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
4641 def SetDefaultMinMargins(*args
, **kwargs
):
4642 """SetDefaultMinMargins(self, bool flag)"""
4643 return _windows_
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
4645 def SetMarginTopLeft(*args
, **kwargs
):
4646 """SetMarginTopLeft(self, Point pt)"""
4647 return _windows_
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
4649 def SetMarginBottomRight(*args
, **kwargs
):
4650 """SetMarginBottomRight(self, Point pt)"""
4651 return _windows_
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
4653 def SetMinMarginTopLeft(*args
, **kwargs
):
4654 """SetMinMarginTopLeft(self, Point pt)"""
4655 return _windows_
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
4657 def SetMinMarginBottomRight(*args
, **kwargs
):
4658 """SetMinMarginBottomRight(self, Point pt)"""
4659 return _windows_
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
4661 def SetPaperId(*args
, **kwargs
):
4662 """SetPaperId(self, int id)"""
4663 return _windows_
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
4665 def SetPaperSize(*args
, **kwargs
):
4666 """SetPaperSize(self, Size size)"""
4667 return _windows_
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
4669 def SetPrintData(*args
, **kwargs
):
4670 """SetPrintData(self, PrintData printData)"""
4671 return _windows_
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
4673 def CalculateIdFromPaperSize(*args
, **kwargs
):
4674 """CalculateIdFromPaperSize(self)"""
4675 return _windows_
.PageSetupDialogData_CalculateIdFromPaperSize(*args
, **kwargs
)
4677 def CalculatePaperSizeFromId(*args
, **kwargs
):
4678 """CalculatePaperSizeFromId(self)"""
4679 return _windows_
.PageSetupDialogData_CalculatePaperSizeFromId(*args
, **kwargs
)
4681 def __nonzero__(self
): return self
.Ok()
4683 class PageSetupDialogDataPtr(PageSetupDialogData
):
4684 def __init__(self
, this
):
4686 if not hasattr(self
,"thisown"): self
.thisown
= 0
4687 self
.__class
__ = PageSetupDialogData
4688 _windows_
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
4690 class PageSetupDialog(_core
.Object
):
4691 """Proxy of C++ PageSetupDialog class"""
4693 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4694 def __init__(self
, *args
, **kwargs
):
4695 """__init__(self, Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
4696 newobj
= _windows_
.new_PageSetupDialog(*args
, **kwargs
)
4697 self
.this
= newobj
.this
4700 def GetPageSetupData(*args
, **kwargs
):
4701 """GetPageSetupData(self) -> PageSetupDialogData"""
4702 return _windows_
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
4704 def GetPageSetupDialogData(*args
, **kwargs
):
4705 """GetPageSetupDialogData(self) -> PageSetupDialogData"""
4706 return _windows_
.PageSetupDialog_GetPageSetupDialogData(*args
, **kwargs
)
4708 def ShowModal(*args
, **kwargs
):
4709 """ShowModal(self) -> int"""
4710 return _windows_
.PageSetupDialog_ShowModal(*args
, **kwargs
)
4713 class PageSetupDialogPtr(PageSetupDialog
):
4714 def __init__(self
, this
):
4716 if not hasattr(self
,"thisown"): self
.thisown
= 0
4717 self
.__class
__ = PageSetupDialog
4718 _windows_
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
4720 class PrintDialogData(_core
.Object
):
4721 """Proxy of C++ PrintDialogData class"""
4723 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4724 def __init__(self
, *args
):
4726 __init__(self) -> PrintDialogData
4727 __init__(self, PrintData printData) -> PrintDialogData
4728 __init__(self, PrintDialogData printData) -> PrintDialogData
4730 newobj
= _windows_
.new_PrintDialogData(*args
)
4731 self
.this
= newobj
.this
4734 def __del__(self
, destroy
=_windows_
.delete_PrintDialogData
):
4737 if self
.thisown
: destroy(self
)
4740 def GetFromPage(*args
, **kwargs
):
4741 """GetFromPage(self) -> int"""
4742 return _windows_
.PrintDialogData_GetFromPage(*args
, **kwargs
)
4744 def GetToPage(*args
, **kwargs
):
4745 """GetToPage(self) -> int"""
4746 return _windows_
.PrintDialogData_GetToPage(*args
, **kwargs
)
4748 def GetMinPage(*args
, **kwargs
):
4749 """GetMinPage(self) -> int"""
4750 return _windows_
.PrintDialogData_GetMinPage(*args
, **kwargs
)
4752 def GetMaxPage(*args
, **kwargs
):
4753 """GetMaxPage(self) -> int"""
4754 return _windows_
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
4756 def GetNoCopies(*args
, **kwargs
):
4757 """GetNoCopies(self) -> int"""
4758 return _windows_
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
4760 def GetAllPages(*args
, **kwargs
):
4761 """GetAllPages(self) -> bool"""
4762 return _windows_
.PrintDialogData_GetAllPages(*args
, **kwargs
)
4764 def GetSelection(*args
, **kwargs
):
4765 """GetSelection(self) -> bool"""
4766 return _windows_
.PrintDialogData_GetSelection(*args
, **kwargs
)
4768 def GetCollate(*args
, **kwargs
):
4769 """GetCollate(self) -> bool"""
4770 return _windows_
.PrintDialogData_GetCollate(*args
, **kwargs
)
4772 def GetPrintToFile(*args
, **kwargs
):
4773 """GetPrintToFile(self) -> bool"""
4774 return _windows_
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
4776 def SetFromPage(*args
, **kwargs
):
4777 """SetFromPage(self, int v)"""
4778 return _windows_
.PrintDialogData_SetFromPage(*args
, **kwargs
)
4780 def SetToPage(*args
, **kwargs
):
4781 """SetToPage(self, int v)"""
4782 return _windows_
.PrintDialogData_SetToPage(*args
, **kwargs
)
4784 def SetMinPage(*args
, **kwargs
):
4785 """SetMinPage(self, int v)"""
4786 return _windows_
.PrintDialogData_SetMinPage(*args
, **kwargs
)
4788 def SetMaxPage(*args
, **kwargs
):
4789 """SetMaxPage(self, int v)"""
4790 return _windows_
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
4792 def SetNoCopies(*args
, **kwargs
):
4793 """SetNoCopies(self, int v)"""
4794 return _windows_
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
4796 def SetAllPages(*args
, **kwargs
):
4797 """SetAllPages(self, bool flag)"""
4798 return _windows_
.PrintDialogData_SetAllPages(*args
, **kwargs
)
4800 def SetSelection(*args
, **kwargs
):
4801 """SetSelection(self, bool flag)"""
4802 return _windows_
.PrintDialogData_SetSelection(*args
, **kwargs
)
4804 def SetCollate(*args
, **kwargs
):
4805 """SetCollate(self, bool flag)"""
4806 return _windows_
.PrintDialogData_SetCollate(*args
, **kwargs
)
4808 def SetPrintToFile(*args
, **kwargs
):
4809 """SetPrintToFile(self, bool flag)"""
4810 return _windows_
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
4812 def EnablePrintToFile(*args
, **kwargs
):
4813 """EnablePrintToFile(self, bool flag)"""
4814 return _windows_
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
4816 def EnableSelection(*args
, **kwargs
):
4817 """EnableSelection(self, bool flag)"""
4818 return _windows_
.PrintDialogData_EnableSelection(*args
, **kwargs
)
4820 def EnablePageNumbers(*args
, **kwargs
):
4821 """EnablePageNumbers(self, bool flag)"""
4822 return _windows_
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
4824 def EnableHelp(*args
, **kwargs
):
4825 """EnableHelp(self, bool flag)"""
4826 return _windows_
.PrintDialogData_EnableHelp(*args
, **kwargs
)
4828 def GetEnablePrintToFile(*args
, **kwargs
):
4829 """GetEnablePrintToFile(self) -> bool"""
4830 return _windows_
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
4832 def GetEnableSelection(*args
, **kwargs
):
4833 """GetEnableSelection(self) -> bool"""
4834 return _windows_
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
4836 def GetEnablePageNumbers(*args
, **kwargs
):
4837 """GetEnablePageNumbers(self) -> bool"""
4838 return _windows_
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
4840 def GetEnableHelp(*args
, **kwargs
):
4841 """GetEnableHelp(self) -> bool"""
4842 return _windows_
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
4844 def Ok(*args
, **kwargs
):
4845 """Ok(self) -> bool"""
4846 return _windows_
.PrintDialogData_Ok(*args
, **kwargs
)
4848 def GetPrintData(*args
, **kwargs
):
4849 """GetPrintData(self) -> PrintData"""
4850 return _windows_
.PrintDialogData_GetPrintData(*args
, **kwargs
)
4852 def SetPrintData(*args
, **kwargs
):
4853 """SetPrintData(self, PrintData printData)"""
4854 return _windows_
.PrintDialogData_SetPrintData(*args
, **kwargs
)
4856 def __nonzero__(self
): return self
.Ok()
4858 class PrintDialogDataPtr(PrintDialogData
):
4859 def __init__(self
, this
):
4861 if not hasattr(self
,"thisown"): self
.thisown
= 0
4862 self
.__class
__ = PrintDialogData
4863 _windows_
.PrintDialogData_swigregister(PrintDialogDataPtr
)
4865 class PrintDialog(_core
.Object
):
4866 """Proxy of C++ PrintDialog class"""
4868 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4869 def __init__(self
, *args
, **kwargs
):
4870 """__init__(self, Window parent, PrintDialogData data=None) -> PrintDialog"""
4871 newobj
= _windows_
.new_PrintDialog(*args
, **kwargs
)
4872 self
.this
= newobj
.this
4875 def ShowModal(*args
, **kwargs
):
4876 """ShowModal(self) -> int"""
4877 return _windows_
.PrintDialog_ShowModal(*args
, **kwargs
)
4879 def GetPrintDialogData(*args
, **kwargs
):
4880 """GetPrintDialogData(self) -> PrintDialogData"""
4881 return _windows_
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
4883 def GetPrintData(*args
, **kwargs
):
4884 """GetPrintData(self) -> PrintData"""
4885 return _windows_
.PrintDialog_GetPrintData(*args
, **kwargs
)
4887 def GetPrintDC(*args
, **kwargs
):
4888 """GetPrintDC(self) -> DC"""
4889 return _windows_
.PrintDialog_GetPrintDC(*args
, **kwargs
)
4892 class PrintDialogPtr(PrintDialog
):
4893 def __init__(self
, this
):
4895 if not hasattr(self
,"thisown"): self
.thisown
= 0
4896 self
.__class
__ = PrintDialog
4897 _windows_
.PrintDialog_swigregister(PrintDialogPtr
)
4899 PRINTER_NO_ERROR
= _windows_
.PRINTER_NO_ERROR
4900 PRINTER_CANCELLED
= _windows_
.PRINTER_CANCELLED
4901 PRINTER_ERROR
= _windows_
.PRINTER_ERROR
4902 class Printer(_core
.Object
):
4903 """Proxy of C++ Printer class"""
4905 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4906 def __init__(self
, *args
, **kwargs
):
4907 """__init__(self, PrintDialogData data=None) -> Printer"""
4908 newobj
= _windows_
.new_Printer(*args
, **kwargs
)
4909 self
.this
= newobj
.this
4912 def __del__(self
, destroy
=_windows_
.delete_Printer
):
4915 if self
.thisown
: destroy(self
)
4918 def CreateAbortWindow(*args
, **kwargs
):
4919 """CreateAbortWindow(self, Window parent, Printout printout) -> Window"""
4920 return _windows_
.Printer_CreateAbortWindow(*args
, **kwargs
)
4922 def ReportError(*args
, **kwargs
):
4923 """ReportError(self, Window parent, Printout printout, String message)"""
4924 return _windows_
.Printer_ReportError(*args
, **kwargs
)
4926 def Setup(*args
, **kwargs
):
4927 """Setup(self, Window parent) -> bool"""
4928 return _windows_
.Printer_Setup(*args
, **kwargs
)
4930 def Print(*args
, **kwargs
):
4931 """Print(self, Window parent, Printout printout, bool prompt=True) -> bool"""
4932 return _windows_
.Printer_Print(*args
, **kwargs
)
4934 def PrintDialog(*args
, **kwargs
):
4935 """PrintDialog(self, Window parent) -> DC"""
4936 return _windows_
.Printer_PrintDialog(*args
, **kwargs
)
4938 def GetPrintDialogData(*args
, **kwargs
):
4939 """GetPrintDialogData(self) -> PrintDialogData"""
4940 return _windows_
.Printer_GetPrintDialogData(*args
, **kwargs
)
4942 def GetAbort(*args
, **kwargs
):
4943 """GetAbort(self) -> bool"""
4944 return _windows_
.Printer_GetAbort(*args
, **kwargs
)
4946 def GetLastError(*args
, **kwargs
):
4947 """GetLastError() -> int"""
4948 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4950 GetLastError
= staticmethod(GetLastError
)
4952 class PrinterPtr(Printer
):
4953 def __init__(self
, this
):
4955 if not hasattr(self
,"thisown"): self
.thisown
= 0
4956 self
.__class
__ = Printer
4957 _windows_
.Printer_swigregister(PrinterPtr
)
4959 def Printer_GetLastError(*args
, **kwargs
):
4960 """Printer_GetLastError() -> int"""
4961 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4963 class Printout(_core
.Object
):
4964 """Proxy of C++ Printout class"""
4966 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4967 def __init__(self
, *args
, **kwargs
):
4968 """__init__(self, String title=PrintoutTitleStr) -> Printout"""
4969 newobj
= _windows_
.new_Printout(*args
, **kwargs
)
4970 self
.this
= newobj
.this
4973 self
._setCallbackInfo
(self
, Printout
)
4975 def _setCallbackInfo(*args
, **kwargs
):
4976 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4977 return _windows_
.Printout__setCallbackInfo(*args
, **kwargs
)
4979 def GetTitle(*args
, **kwargs
):
4980 """GetTitle(self) -> String"""
4981 return _windows_
.Printout_GetTitle(*args
, **kwargs
)
4983 def GetDC(*args
, **kwargs
):
4984 """GetDC(self) -> DC"""
4985 return _windows_
.Printout_GetDC(*args
, **kwargs
)
4987 def SetDC(*args
, **kwargs
):
4988 """SetDC(self, DC dc)"""
4989 return _windows_
.Printout_SetDC(*args
, **kwargs
)
4991 def SetPageSizePixels(*args
, **kwargs
):
4992 """SetPageSizePixels(self, int w, int h)"""
4993 return _windows_
.Printout_SetPageSizePixels(*args
, **kwargs
)
4995 def GetPageSizePixels(*args
, **kwargs
):
4996 """GetPageSizePixels() -> (w, h)"""
4997 return _windows_
.Printout_GetPageSizePixels(*args
, **kwargs
)
4999 def SetPageSizeMM(*args
, **kwargs
):
5000 """SetPageSizeMM(self, int w, int h)"""
5001 return _windows_
.Printout_SetPageSizeMM(*args
, **kwargs
)
5003 def GetPageSizeMM(*args
, **kwargs
):
5004 """GetPageSizeMM() -> (w, h)"""
5005 return _windows_
.Printout_GetPageSizeMM(*args
, **kwargs
)
5007 def SetPPIScreen(*args
, **kwargs
):
5008 """SetPPIScreen(self, int x, int y)"""
5009 return _windows_
.Printout_SetPPIScreen(*args
, **kwargs
)
5011 def GetPPIScreen(*args
, **kwargs
):
5012 """GetPPIScreen() -> (x,y)"""
5013 return _windows_
.Printout_GetPPIScreen(*args
, **kwargs
)
5015 def SetPPIPrinter(*args
, **kwargs
):
5016 """SetPPIPrinter(self, int x, int y)"""
5017 return _windows_
.Printout_SetPPIPrinter(*args
, **kwargs
)
5019 def GetPPIPrinter(*args
, **kwargs
):
5020 """GetPPIPrinter() -> (x,y)"""
5021 return _windows_
.Printout_GetPPIPrinter(*args
, **kwargs
)
5023 def IsPreview(*args
, **kwargs
):
5024 """IsPreview(self) -> bool"""
5025 return _windows_
.Printout_IsPreview(*args
, **kwargs
)
5027 def SetIsPreview(*args
, **kwargs
):
5028 """SetIsPreview(self, bool p)"""
5029 return _windows_
.Printout_SetIsPreview(*args
, **kwargs
)
5031 def OnBeginDocument(*args
, **kwargs
):
5032 """OnBeginDocument(self, int startPage, int endPage) -> bool"""
5033 return _windows_
.Printout_OnBeginDocument(*args
, **kwargs
)
5035 def OnEndDocument(*args
, **kwargs
):
5036 """OnEndDocument(self)"""
5037 return _windows_
.Printout_OnEndDocument(*args
, **kwargs
)
5039 def OnBeginPrinting(*args
, **kwargs
):
5040 """OnBeginPrinting(self)"""
5041 return _windows_
.Printout_OnBeginPrinting(*args
, **kwargs
)
5043 def OnEndPrinting(*args
, **kwargs
):
5044 """OnEndPrinting(self)"""
5045 return _windows_
.Printout_OnEndPrinting(*args
, **kwargs
)
5047 def OnPreparePrinting(*args
, **kwargs
):
5048 """OnPreparePrinting(self)"""
5049 return _windows_
.Printout_OnPreparePrinting(*args
, **kwargs
)
5051 def HasPage(*args
, **kwargs
):
5052 """HasPage(self, int page) -> bool"""
5053 return _windows_
.Printout_HasPage(*args
, **kwargs
)
5055 def GetPageInfo(*args
, **kwargs
):
5056 """GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
5057 return _windows_
.Printout_GetPageInfo(*args
, **kwargs
)
5059 def base_OnBeginDocument(*args
, **kw
):
5060 return Printout
.OnBeginDocument(*args
, **kw
)
5061 base_OnBeginDocument
= wx
._deprecated
(base_OnBeginDocument
,
5062 "Please use Printout.OnBeginDocument instead.")
5064 def base_OnEndDocument(*args
, **kw
):
5065 return Printout
.OnEndDocument(*args
, **kw
)
5066 base_OnEndDocument
= wx
._deprecated
(base_OnEndDocument
,
5067 "Please use Printout.OnEndDocument instead.")
5069 def base_OnBeginPrinting(*args
, **kw
):
5070 return Printout
.OnBeginPrinting(*args
, **kw
)
5071 base_OnBeginPrinting
= wx
._deprecated
(base_OnBeginPrinting
,
5072 "Please use Printout.OnBeginPrinting instead.")
5074 def base_OnEndPrinting(*args
, **kw
):
5075 return Printout
.OnEndPrinting(*args
, **kw
)
5076 base_OnEndPrinting
= wx
._deprecated
(base_OnEndPrinting
,
5077 "Please use Printout.OnEndPrinting instead.")
5079 def base_OnPreparePrinting(*args
, **kw
):
5080 return Printout
.OnPreparePrinting(*args
, **kw
)
5081 base_OnPreparePrinting
= wx
._deprecated
(base_OnPreparePrinting
,
5082 "Please use Printout.OnPreparePrinting instead.")
5084 def base_GetPageInfo(*args
, **kw
):
5085 return Printout
.GetPageInfo(*args
, **kw
)
5086 base_GetPageInfo
= wx
._deprecated
(base_GetPageInfo
,
5087 "Please use Printout.GetPageInfo instead.")
5090 class PrintoutPtr(Printout
):
5091 def __init__(self
, this
):
5093 if not hasattr(self
,"thisown"): self
.thisown
= 0
5094 self
.__class
__ = Printout
5095 _windows_
.Printout_swigregister(PrintoutPtr
)
5097 class PreviewCanvas(ScrolledWindow
):
5098 """Proxy of C++ PreviewCanvas class"""
5100 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
5101 def __init__(self
, *args
, **kwargs
):
5103 __init__(self, PrintPreview preview, Window parent, Point pos=DefaultPosition,
5104 Size size=DefaultSize, long style=0,
5105 String name=PreviewCanvasNameStr) -> PreviewCanvas
5107 newobj
= _windows_
.new_PreviewCanvas(*args
, **kwargs
)
5108 self
.this
= newobj
.this
5111 self
._setOORInfo
(self
)
5114 class PreviewCanvasPtr(PreviewCanvas
):
5115 def __init__(self
, this
):
5117 if not hasattr(self
,"thisown"): self
.thisown
= 0
5118 self
.__class
__ = PreviewCanvas
5119 _windows_
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
5121 class PreviewFrame(Frame
):
5122 """Proxy of C++ PreviewFrame class"""
5124 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
5125 def __init__(self
, *args
, **kwargs
):
5127 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
5128 Size size=DefaultSize,
5129 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
5131 newobj
= _windows_
.new_PreviewFrame(*args
, **kwargs
)
5132 self
.this
= newobj
.this
5135 self
._setOORInfo
(self
)
5137 def Initialize(*args
, **kwargs
):
5138 """Initialize(self)"""
5139 return _windows_
.PreviewFrame_Initialize(*args
, **kwargs
)
5141 def CreateControlBar(*args
, **kwargs
):
5142 """CreateControlBar(self)"""
5143 return _windows_
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
5145 def CreateCanvas(*args
, **kwargs
):
5146 """CreateCanvas(self)"""
5147 return _windows_
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
5149 def GetControlBar(*args
, **kwargs
):
5150 """GetControlBar(self) -> PreviewControlBar"""
5151 return _windows_
.PreviewFrame_GetControlBar(*args
, **kwargs
)
5154 class PreviewFramePtr(PreviewFrame
):
5155 def __init__(self
, this
):
5157 if not hasattr(self
,"thisown"): self
.thisown
= 0
5158 self
.__class
__ = PreviewFrame
5159 _windows_
.PreviewFrame_swigregister(PreviewFramePtr
)
5161 PREVIEW_PRINT
= _windows_
.PREVIEW_PRINT
5162 PREVIEW_PREVIOUS
= _windows_
.PREVIEW_PREVIOUS
5163 PREVIEW_NEXT
= _windows_
.PREVIEW_NEXT
5164 PREVIEW_ZOOM
= _windows_
.PREVIEW_ZOOM
5165 PREVIEW_FIRST
= _windows_
.PREVIEW_FIRST
5166 PREVIEW_LAST
= _windows_
.PREVIEW_LAST
5167 PREVIEW_GOTO
= _windows_
.PREVIEW_GOTO
5168 PREVIEW_DEFAULT
= _windows_
.PREVIEW_DEFAULT
5169 ID_PREVIEW_CLOSE
= _windows_
.ID_PREVIEW_CLOSE
5170 ID_PREVIEW_NEXT
= _windows_
.ID_PREVIEW_NEXT
5171 ID_PREVIEW_PREVIOUS
= _windows_
.ID_PREVIEW_PREVIOUS
5172 ID_PREVIEW_PRINT
= _windows_
.ID_PREVIEW_PRINT
5173 ID_PREVIEW_ZOOM
= _windows_
.ID_PREVIEW_ZOOM
5174 ID_PREVIEW_FIRST
= _windows_
.ID_PREVIEW_FIRST
5175 ID_PREVIEW_LAST
= _windows_
.ID_PREVIEW_LAST
5176 ID_PREVIEW_GOTO
= _windows_
.ID_PREVIEW_GOTO
5177 class PreviewControlBar(Panel
):
5178 """Proxy of C++ PreviewControlBar class"""
5180 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
5181 def __init__(self
, *args
, **kwargs
):
5183 __init__(self, PrintPreview preview, long buttons, Window parent,
5184 Point pos=DefaultPosition, Size size=DefaultSize,
5185 long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
5187 newobj
= _windows_
.new_PreviewControlBar(*args
, **kwargs
)
5188 self
.this
= newobj
.this
5191 self
._setOORInfo
(self
)
5193 def GetZoomControl(*args
, **kwargs
):
5194 """GetZoomControl(self) -> int"""
5195 return _windows_
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
5197 def SetZoomControl(*args
, **kwargs
):
5198 """SetZoomControl(self, int zoom)"""
5199 return _windows_
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
5201 def GetPrintPreview(*args
, **kwargs
):
5202 """GetPrintPreview(self) -> PrintPreview"""
5203 return _windows_
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
5205 def OnNext(*args
, **kwargs
):
5207 return _windows_
.PreviewControlBar_OnNext(*args
, **kwargs
)
5209 def OnPrevious(*args
, **kwargs
):
5210 """OnPrevious(self)"""
5211 return _windows_
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
5213 def OnFirst(*args
, **kwargs
):
5215 return _windows_
.PreviewControlBar_OnFirst(*args
, **kwargs
)
5217 def OnLast(*args
, **kwargs
):
5219 return _windows_
.PreviewControlBar_OnLast(*args
, **kwargs
)
5221 def OnGoto(*args
, **kwargs
):
5223 return _windows_
.PreviewControlBar_OnGoto(*args
, **kwargs
)
5226 class PreviewControlBarPtr(PreviewControlBar
):
5227 def __init__(self
, this
):
5229 if not hasattr(self
,"thisown"): self
.thisown
= 0
5230 self
.__class
__ = PreviewControlBar
5231 _windows_
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
5233 class PrintPreview(_core
.Object
):
5234 """Proxy of C++ PrintPreview class"""
5236 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
5237 def __init__(self
, *args
):
5239 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview
5240 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview
5242 newobj
= _windows_
.new_PrintPreview(*args
)
5243 self
.this
= newobj
.this
5246 def SetCurrentPage(*args
, **kwargs
):
5247 """SetCurrentPage(self, int pageNum) -> bool"""
5248 return _windows_
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
5250 def GetCurrentPage(*args
, **kwargs
):
5251 """GetCurrentPage(self) -> int"""
5252 return _windows_
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
5254 def SetPrintout(*args
, **kwargs
):
5255 """SetPrintout(self, Printout printout)"""
5256 return _windows_
.PrintPreview_SetPrintout(*args
, **kwargs
)
5258 def GetPrintout(*args
, **kwargs
):
5259 """GetPrintout(self) -> Printout"""
5260 return _windows_
.PrintPreview_GetPrintout(*args
, **kwargs
)
5262 def GetPrintoutForPrinting(*args
, **kwargs
):
5263 """GetPrintoutForPrinting(self) -> Printout"""
5264 return _windows_
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
5266 def SetFrame(*args
, **kwargs
):
5267 """SetFrame(self, Frame frame)"""
5268 return _windows_
.PrintPreview_SetFrame(*args
, **kwargs
)
5270 def SetCanvas(*args
, **kwargs
):
5271 """SetCanvas(self, PreviewCanvas canvas)"""
5272 return _windows_
.PrintPreview_SetCanvas(*args
, **kwargs
)
5274 def GetFrame(*args
, **kwargs
):
5275 """GetFrame(self) -> Frame"""
5276 return _windows_
.PrintPreview_GetFrame(*args
, **kwargs
)
5278 def GetCanvas(*args
, **kwargs
):
5279 """GetCanvas(self) -> PreviewCanvas"""
5280 return _windows_
.PrintPreview_GetCanvas(*args
, **kwargs
)
5282 def PaintPage(*args
, **kwargs
):
5283 """PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
5284 return _windows_
.PrintPreview_PaintPage(*args
, **kwargs
)
5286 def DrawBlankPage(*args
, **kwargs
):
5287 """DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
5288 return _windows_
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
5290 def RenderPage(*args
, **kwargs
):
5291 """RenderPage(self, int pageNum) -> bool"""
5292 return _windows_
.PrintPreview_RenderPage(*args
, **kwargs
)
5294 def AdjustScrollbars(*args
, **kwargs
):
5295 """AdjustScrollbars(self, PreviewCanvas canvas)"""
5296 return _windows_
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
5298 def GetPrintDialogData(*args
, **kwargs
):
5299 """GetPrintDialogData(self) -> PrintDialogData"""
5300 return _windows_
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
5302 def SetZoom(*args
, **kwargs
):
5303 """SetZoom(self, int percent)"""
5304 return _windows_
.PrintPreview_SetZoom(*args
, **kwargs
)
5306 def GetZoom(*args
, **kwargs
):
5307 """GetZoom(self) -> int"""
5308 return _windows_
.PrintPreview_GetZoom(*args
, **kwargs
)
5310 def GetMaxPage(*args
, **kwargs
):
5311 """GetMaxPage(self) -> int"""
5312 return _windows_
.PrintPreview_GetMaxPage(*args
, **kwargs
)
5314 def GetMinPage(*args
, **kwargs
):
5315 """GetMinPage(self) -> int"""
5316 return _windows_
.PrintPreview_GetMinPage(*args
, **kwargs
)
5318 def Ok(*args
, **kwargs
):
5319 """Ok(self) -> bool"""
5320 return _windows_
.PrintPreview_Ok(*args
, **kwargs
)
5322 def SetOk(*args
, **kwargs
):
5323 """SetOk(self, bool ok)"""
5324 return _windows_
.PrintPreview_SetOk(*args
, **kwargs
)
5326 def Print(*args
, **kwargs
):
5327 """Print(self, bool interactive) -> bool"""
5328 return _windows_
.PrintPreview_Print(*args
, **kwargs
)
5330 def DetermineScaling(*args
, **kwargs
):
5331 """DetermineScaling(self)"""
5332 return _windows_
.PrintPreview_DetermineScaling(*args
, **kwargs
)
5334 def __nonzero__(self
): return self
.Ok()
5336 class PrintPreviewPtr(PrintPreview
):
5337 def __init__(self
, this
):
5339 if not hasattr(self
,"thisown"): self
.thisown
= 0
5340 self
.__class
__ = PrintPreview
5341 _windows_
.PrintPreview_swigregister(PrintPreviewPtr
)
5343 class PyPrintPreview(PrintPreview
):
5344 """Proxy of C++ PyPrintPreview class"""
5346 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
5347 def __init__(self
, *args
):
5349 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview
5350 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview
5352 newobj
= _windows_
.new_PyPrintPreview(*args
)
5353 self
.this
= newobj
.this
5356 self
._setCallbackInfo
(self
, PyPrintPreview
)
5358 def _setCallbackInfo(*args
, **kwargs
):
5359 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
5360 return _windows_
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
5362 def SetCurrentPage(*args
, **kwargs
):
5363 """SetCurrentPage(self, int pageNum) -> bool"""
5364 return _windows_
.PyPrintPreview_SetCurrentPage(*args
, **kwargs
)
5366 def PaintPage(*args
, **kwargs
):
5367 """PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
5368 return _windows_
.PyPrintPreview_PaintPage(*args
, **kwargs
)
5370 def DrawBlankPage(*args
, **kwargs
):
5371 """DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
5372 return _windows_
.PyPrintPreview_DrawBlankPage(*args
, **kwargs
)
5374 def RenderPage(*args
, **kwargs
):
5375 """RenderPage(self, int pageNum) -> bool"""
5376 return _windows_
.PyPrintPreview_RenderPage(*args
, **kwargs
)
5378 def SetZoom(*args
, **kwargs
):
5379 """SetZoom(self, int percent)"""
5380 return _windows_
.PyPrintPreview_SetZoom(*args
, **kwargs
)
5382 def Print(*args
, **kwargs
):
5383 """Print(self, bool interactive) -> bool"""
5384 return _windows_
.PyPrintPreview_Print(*args
, **kwargs
)
5386 def DetermineScaling(*args
, **kwargs
):
5387 """DetermineScaling(self)"""
5388 return _windows_
.PyPrintPreview_DetermineScaling(*args
, **kwargs
)
5390 def base_SetCurrentPage(*args
, **kw
):
5391 return PyPrintPreview
.SetCurrentPage(*args
, **kw
)
5392 base_SetCurrentPage
= wx
._deprecated
(base_SetCurrentPage
,
5393 "Please use PyPrintPreview.SetCurrentPage instead.")
5395 def base_PaintPage(*args
, **kw
):
5396 return PyPrintPreview
.PaintPage(*args
, **kw
)
5397 base_PaintPage
= wx
._deprecated
(base_PaintPage
,
5398 "Please use PyPrintPreview.PaintPage instead.")
5400 def base_DrawBlankPage(*args
, **kw
):
5401 return PyPrintPreview
.DrawBlankPage(*args
, **kw
)
5402 base_DrawBlankPage
= wx
._deprecated
(base_DrawBlankPage
,
5403 "Please use PyPrintPreview.DrawBlankPage instead.")
5405 def base_RenderPage(*args
, **kw
):
5406 return PyPrintPreview
.RenderPage(*args
, **kw
)
5407 base_RenderPage
= wx
._deprecated
(base_RenderPage
,
5408 "Please use PyPrintPreview.RenderPage instead.")
5410 def base_SetZoom(*args
, **kw
):
5411 return PyPrintPreview
.SetZoom(*args
, **kw
)
5412 base_SetZoom
= wx
._deprecated
(base_SetZoom
,
5413 "Please use PyPrintPreview.SetZoom instead.")
5415 def base_Print(*args
, **kw
):
5416 return PyPrintPreview
.Print(*args
, **kw
)
5417 base_Print
= wx
._deprecated
(base_Print
,
5418 "Please use PyPrintPreview.Print instead.")
5420 def base_DetermineScaling(*args
, **kw
):
5421 return PyPrintPreview
.DetermineScaling(*args
, **kw
)
5422 base_DetermineScaling
= wx
._deprecated
(base_DetermineScaling
,
5423 "Please use PyPrintPreview.DetermineScaling instead.")
5426 class PyPrintPreviewPtr(PyPrintPreview
):
5427 def __init__(self
, this
):
5429 if not hasattr(self
,"thisown"): self
.thisown
= 0
5430 self
.__class
__ = PyPrintPreview
5431 _windows_
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
5433 class PyPreviewFrame(PreviewFrame
):
5434 """Proxy of C++ PyPreviewFrame class"""
5436 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
5437 def __init__(self
, *args
, **kwargs
):
5439 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
5440 Size size=DefaultSize,
5441 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
5443 newobj
= _windows_
.new_PyPreviewFrame(*args
, **kwargs
)
5444 self
.this
= newobj
.this
5447 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
5449 def _setCallbackInfo(*args
, **kwargs
):
5450 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
5451 return _windows_
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
5453 def SetPreviewCanvas(*args
, **kwargs
):
5454 """SetPreviewCanvas(self, PreviewCanvas canvas)"""
5455 return _windows_
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
5457 def SetControlBar(*args
, **kwargs
):
5458 """SetControlBar(self, PreviewControlBar bar)"""
5459 return _windows_
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
5461 def Initialize(*args
, **kwargs
):
5462 """Initialize(self)"""
5463 return _windows_
.PyPreviewFrame_Initialize(*args
, **kwargs
)
5465 def CreateCanvas(*args
, **kwargs
):
5466 """CreateCanvas(self)"""
5467 return _windows_
.PyPreviewFrame_CreateCanvas(*args
, **kwargs
)
5469 def CreateControlBar(*args
, **kwargs
):
5470 """CreateControlBar(self)"""
5471 return _windows_
.PyPreviewFrame_CreateControlBar(*args
, **kwargs
)
5473 def base_Initialize(*args
, **kw
):
5474 return PyPreviewFrame
.Initialize(*args
, **kw
)
5475 base_Initialize
= wx
._deprecated
(base_Initialize
,
5476 "Please use PyPreviewFrame.Initialize instead.")
5478 def base_CreateCanvas(*args
, **kw
):
5479 return PyPreviewFrame
.CreateCanvas(*args
, **kw
)
5480 base_CreateCanvas
= wx
._deprecated
(base_CreateCanvas
,
5481 "Please use PyPreviewFrame.CreateCanvas instead.")
5483 def base_CreateControlBar(*args
, **kw
):
5484 return PyPreviewFrame
.CreateControlBar(*args
, **kw
)
5485 base_CreateControlBar
= wx
._deprecated
(base_CreateControlBar
,
5486 "Please use PyPreviewFrame.CreateControlBar instead.")
5489 class PyPreviewFramePtr(PyPreviewFrame
):
5490 def __init__(self
, this
):
5492 if not hasattr(self
,"thisown"): self
.thisown
= 0
5493 self
.__class
__ = PyPreviewFrame
5494 _windows_
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
5496 class PyPreviewControlBar(PreviewControlBar
):
5497 """Proxy of C++ PyPreviewControlBar class"""
5499 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
5500 def __init__(self
, *args
, **kwargs
):
5502 __init__(self, PrintPreview preview, long buttons, Window parent,
5503 Point pos=DefaultPosition, Size size=DefaultSize,
5504 long style=0, String name=PanelNameStr) -> PyPreviewControlBar
5506 newobj
= _windows_
.new_PyPreviewControlBar(*args
, **kwargs
)
5507 self
.this
= newobj
.this
5510 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
5512 def _setCallbackInfo(*args
, **kwargs
):
5513 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
5514 return _windows_
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
5516 def SetPrintPreview(*args
, **kwargs
):
5517 """SetPrintPreview(self, PrintPreview preview)"""
5518 return _windows_
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
5520 def CreateButtons(*args
, **kwargs
):
5521 """CreateButtons(self)"""
5522 return _windows_
.PyPreviewControlBar_CreateButtons(*args
, **kwargs
)
5524 def SetZoomControl(*args
, **kwargs
):
5525 """SetZoomControl(self, int zoom)"""
5526 return _windows_
.PyPreviewControlBar_SetZoomControl(*args
, **kwargs
)
5528 def base_CreateButtons(*args
, **kw
):
5529 return PreviewControlBar
.CreateButtons(*args
, **kw
)
5530 base_CreateButtons
= wx
._deprecated
(base_CreateButtons
,
5531 "Please use PreviewControlBar.CreateButtons instead.")
5533 def base_SetZoomControl(*args
, **kw
):
5534 return PreviewControlBar
.SetZoomControl(*args
, **kw
)
5535 base_SetZoomControl
= wx
._deprecated
(base_SetZoomControl
,
5536 "Please use PreviewControlBar.SetZoomControl instead.")
5539 class PyPreviewControlBarPtr(PyPreviewControlBar
):
5540 def __init__(self
, this
):
5542 if not hasattr(self
,"thisown"): self
.thisown
= 0
5543 self
.__class
__ = PyPreviewControlBar
5544 _windows_
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)