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 DoPrepareDC(*args
, **kwargs
):
276 DoPrepareDC(self, DC dc)
278 Normally what is called by `PrepareDC`.
280 return _windows_
.ScrolledWindow_DoPrepareDC(*args
, **kwargs
)
282 def GetClassDefaultAttributes(*args
, **kwargs
):
284 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
286 Get the default attributes for this class. This is useful if you want
287 to use the same font or colour in your own control as in a standard
288 control -- which is a much better idea than hard coding specific
289 colours or fonts which might look completely out of place on the
290 user's system, especially if it uses themes.
292 The variant parameter is only relevant under Mac currently and is
293 ignore under other platforms. Under Mac, it will change the size of
294 the returned font. See `wx.Window.SetWindowVariant` for more about
297 return _windows_
.ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
)
299 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
301 class ScrolledWindowPtr(ScrolledWindow
):
302 def __init__(self
, this
):
304 if not hasattr(self
,"thisown"): self
.thisown
= 0
305 self
.__class
__ = ScrolledWindow
306 _windows_
.ScrolledWindow_swigregister(ScrolledWindowPtr
)
308 def PreScrolledWindow(*args
, **kwargs
):
309 """PreScrolledWindow() -> ScrolledWindow"""
310 val
= _windows_
.new_PreScrolledWindow(*args
, **kwargs
)
314 def ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
):
316 ScrolledWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
318 Get the default attributes for this class. This is useful if you want
319 to use the same font or colour in your own control as in a standard
320 control -- which is a much better idea than hard coding specific
321 colours or fonts which might look completely out of place on the
322 user's system, especially if it uses themes.
324 The variant parameter is only relevant under Mac currently and is
325 ignore under other platforms. Under Mac, it will change the size of
326 the returned font. See `wx.Window.SetWindowVariant` for more about
329 return _windows_
.ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
)
331 #---------------------------------------------------------------------------
333 STAY_ON_TOP
= _windows_
.STAY_ON_TOP
334 ICONIZE
= _windows_
.ICONIZE
335 MINIMIZE
= _windows_
.MINIMIZE
336 MAXIMIZE
= _windows_
.MAXIMIZE
337 CLOSE_BOX
= _windows_
.CLOSE_BOX
338 THICK_FRAME
= _windows_
.THICK_FRAME
339 SYSTEM_MENU
= _windows_
.SYSTEM_MENU
340 MINIMIZE_BOX
= _windows_
.MINIMIZE_BOX
341 MAXIMIZE_BOX
= _windows_
.MAXIMIZE_BOX
342 TINY_CAPTION_HORIZ
= _windows_
.TINY_CAPTION_HORIZ
343 TINY_CAPTION_VERT
= _windows_
.TINY_CAPTION_VERT
344 RESIZE_BOX
= _windows_
.RESIZE_BOX
345 RESIZE_BORDER
= _windows_
.RESIZE_BORDER
346 DIALOG_NO_PARENT
= _windows_
.DIALOG_NO_PARENT
347 DEFAULT_FRAME_STYLE
= _windows_
.DEFAULT_FRAME_STYLE
348 DEFAULT_DIALOG_STYLE
= _windows_
.DEFAULT_DIALOG_STYLE
349 FRAME_TOOL_WINDOW
= _windows_
.FRAME_TOOL_WINDOW
350 FRAME_FLOAT_ON_PARENT
= _windows_
.FRAME_FLOAT_ON_PARENT
351 FRAME_NO_WINDOW_MENU
= _windows_
.FRAME_NO_WINDOW_MENU
352 FRAME_NO_TASKBAR
= _windows_
.FRAME_NO_TASKBAR
353 FRAME_SHAPED
= _windows_
.FRAME_SHAPED
354 FRAME_DRAWER
= _windows_
.FRAME_DRAWER
355 FRAME_EX_METAL
= _windows_
.FRAME_EX_METAL
356 DIALOG_EX_METAL
= _windows_
.DIALOG_EX_METAL
357 DIALOG_MODAL
= _windows_
.DIALOG_MODAL
358 DIALOG_MODELESS
= _windows_
.DIALOG_MODELESS
359 USER_COLOURS
= _windows_
.USER_COLOURS
360 NO_3D
= _windows_
.NO_3D
361 FULLSCREEN_NOMENUBAR
= _windows_
.FULLSCREEN_NOMENUBAR
362 FULLSCREEN_NOTOOLBAR
= _windows_
.FULLSCREEN_NOTOOLBAR
363 FULLSCREEN_NOSTATUSBAR
= _windows_
.FULLSCREEN_NOSTATUSBAR
364 FULLSCREEN_NOBORDER
= _windows_
.FULLSCREEN_NOBORDER
365 FULLSCREEN_NOCAPTION
= _windows_
.FULLSCREEN_NOCAPTION
366 FULLSCREEN_ALL
= _windows_
.FULLSCREEN_ALL
367 TOPLEVEL_EX_DIALOG
= _windows_
.TOPLEVEL_EX_DIALOG
368 USER_ATTENTION_INFO
= _windows_
.USER_ATTENTION_INFO
369 USER_ATTENTION_ERROR
= _windows_
.USER_ATTENTION_ERROR
370 class TopLevelWindow(_core
.Window
):
371 """Proxy of C++ TopLevelWindow class"""
372 def __init__(self
): raise RuntimeError, "No constructor defined"
374 return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
375 def Maximize(*args
, **kwargs
):
376 """Maximize(self, bool maximize=True)"""
377 return _windows_
.TopLevelWindow_Maximize(*args
, **kwargs
)
379 def Restore(*args
, **kwargs
):
381 return _windows_
.TopLevelWindow_Restore(*args
, **kwargs
)
383 def Iconize(*args
, **kwargs
):
384 """Iconize(self, bool iconize=True)"""
385 return _windows_
.TopLevelWindow_Iconize(*args
, **kwargs
)
387 def IsMaximized(*args
, **kwargs
):
388 """IsMaximized(self) -> bool"""
389 return _windows_
.TopLevelWindow_IsMaximized(*args
, **kwargs
)
391 def IsIconized(*args
, **kwargs
):
392 """IsIconized(self) -> bool"""
393 return _windows_
.TopLevelWindow_IsIconized(*args
, **kwargs
)
395 def GetIcon(*args
, **kwargs
):
396 """GetIcon(self) -> Icon"""
397 return _windows_
.TopLevelWindow_GetIcon(*args
, **kwargs
)
399 def SetIcon(*args
, **kwargs
):
400 """SetIcon(self, Icon icon)"""
401 return _windows_
.TopLevelWindow_SetIcon(*args
, **kwargs
)
403 def SetIcons(*args
, **kwargs
):
404 """SetIcons(self, wxIconBundle icons)"""
405 return _windows_
.TopLevelWindow_SetIcons(*args
, **kwargs
)
407 def ShowFullScreen(*args
, **kwargs
):
408 """ShowFullScreen(self, bool show, long style=FULLSCREEN_ALL) -> bool"""
409 return _windows_
.TopLevelWindow_ShowFullScreen(*args
, **kwargs
)
411 def IsFullScreen(*args
, **kwargs
):
412 """IsFullScreen(self) -> bool"""
413 return _windows_
.TopLevelWindow_IsFullScreen(*args
, **kwargs
)
415 def SetTitle(*args
, **kwargs
):
416 """SetTitle(self, String title)"""
417 return _windows_
.TopLevelWindow_SetTitle(*args
, **kwargs
)
419 def GetTitle(*args
, **kwargs
):
420 """GetTitle(self) -> String"""
421 return _windows_
.TopLevelWindow_GetTitle(*args
, **kwargs
)
423 def SetShape(*args
, **kwargs
):
424 """SetShape(self, Region region) -> bool"""
425 return _windows_
.TopLevelWindow_SetShape(*args
, **kwargs
)
427 def RequestUserAttention(*args
, **kwargs
):
428 """RequestUserAttention(self, int flags=USER_ATTENTION_INFO)"""
429 return _windows_
.TopLevelWindow_RequestUserAttention(*args
, **kwargs
)
431 def IsActive(*args
, **kwargs
):
432 """IsActive(self) -> bool"""
433 return _windows_
.TopLevelWindow_IsActive(*args
, **kwargs
)
435 def MacSetMetalAppearance(*args
, **kwargs
):
436 """MacSetMetalAppearance(self, bool on)"""
437 return _windows_
.TopLevelWindow_MacSetMetalAppearance(*args
, **kwargs
)
439 def MacGetMetalAppearance(*args
, **kwargs
):
440 """MacGetMetalAppearance(self) -> bool"""
441 return _windows_
.TopLevelWindow_MacGetMetalAppearance(*args
, **kwargs
)
443 def CenterOnScreen(*args
, **kwargs
):
445 CenterOnScreen(self, int dir=BOTH)
447 Center the window on screen
449 return _windows_
.TopLevelWindow_CenterOnScreen(*args
, **kwargs
)
451 CentreOnScreen
= CenterOnScreen
453 class TopLevelWindowPtr(TopLevelWindow
):
454 def __init__(self
, this
):
456 if not hasattr(self
,"thisown"): self
.thisown
= 0
457 self
.__class
__ = TopLevelWindow
458 _windows_
.TopLevelWindow_swigregister(TopLevelWindowPtr
)
459 cvar
= _windows_
.cvar
460 FrameNameStr
= cvar
.FrameNameStr
461 DialogNameStr
= cvar
.DialogNameStr
462 StatusLineNameStr
= cvar
.StatusLineNameStr
463 ToolBarNameStr
= cvar
.ToolBarNameStr
465 #---------------------------------------------------------------------------
467 class Frame(TopLevelWindow
):
468 """Proxy of C++ Frame class"""
470 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
471 def __init__(self
, *args
, **kwargs
):
473 __init__(self, Window parent, int id=-1, String title=EmptyString,
474 Point pos=DefaultPosition, Size size=DefaultSize,
475 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> Frame
477 newobj
= _windows_
.new_Frame(*args
, **kwargs
)
478 self
.this
= newobj
.this
481 self
._setOORInfo
(self
)
483 def Create(*args
, **kwargs
):
485 Create(self, Window parent, int id=-1, String title=EmptyString,
486 Point pos=DefaultPosition, Size size=DefaultSize,
487 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
489 return _windows_
.Frame_Create(*args
, **kwargs
)
491 def GetClientAreaOrigin(*args
, **kwargs
):
493 GetClientAreaOrigin(self) -> Point
495 Get the origin of the client area of the window relative to the
496 window's top left corner (the client area may be shifted because of
497 the borders, scrollbars, other decorations...)
499 return _windows_
.Frame_GetClientAreaOrigin(*args
, **kwargs
)
501 def SendSizeEvent(*args
, **kwargs
):
502 """SendSizeEvent(self)"""
503 return _windows_
.Frame_SendSizeEvent(*args
, **kwargs
)
505 def SetMenuBar(*args
, **kwargs
):
506 """SetMenuBar(self, MenuBar menubar)"""
507 return _windows_
.Frame_SetMenuBar(*args
, **kwargs
)
509 def GetMenuBar(*args
, **kwargs
):
510 """GetMenuBar(self) -> MenuBar"""
511 return _windows_
.Frame_GetMenuBar(*args
, **kwargs
)
513 def ProcessCommand(*args
, **kwargs
):
514 """ProcessCommand(self, int winid) -> bool"""
515 return _windows_
.Frame_ProcessCommand(*args
, **kwargs
)
517 Command
= ProcessCommand
518 def CreateStatusBar(*args
, **kwargs
):
520 CreateStatusBar(self, int number=1, long style=DEFAULT_STATUSBAR_STYLE, int winid=0,
521 String name=StatusLineNameStr) -> StatusBar
523 return _windows_
.Frame_CreateStatusBar(*args
, **kwargs
)
525 def GetStatusBar(*args
, **kwargs
):
526 """GetStatusBar(self) -> StatusBar"""
527 return _windows_
.Frame_GetStatusBar(*args
, **kwargs
)
529 def SetStatusBar(*args
, **kwargs
):
530 """SetStatusBar(self, StatusBar statBar)"""
531 return _windows_
.Frame_SetStatusBar(*args
, **kwargs
)
533 def SetStatusText(*args
, **kwargs
):
534 """SetStatusText(self, String text, int number=0)"""
535 return _windows_
.Frame_SetStatusText(*args
, **kwargs
)
537 def SetStatusWidths(*args
, **kwargs
):
538 """SetStatusWidths(self, int widths)"""
539 return _windows_
.Frame_SetStatusWidths(*args
, **kwargs
)
541 def PushStatusText(*args
, **kwargs
):
542 """PushStatusText(self, String text, int number=0)"""
543 return _windows_
.Frame_PushStatusText(*args
, **kwargs
)
545 def PopStatusText(*args
, **kwargs
):
546 """PopStatusText(self, int number=0)"""
547 return _windows_
.Frame_PopStatusText(*args
, **kwargs
)
549 def SetStatusBarPane(*args
, **kwargs
):
550 """SetStatusBarPane(self, int n)"""
551 return _windows_
.Frame_SetStatusBarPane(*args
, **kwargs
)
553 def GetStatusBarPane(*args
, **kwargs
):
554 """GetStatusBarPane(self) -> int"""
555 return _windows_
.Frame_GetStatusBarPane(*args
, **kwargs
)
557 def CreateToolBar(*args
, **kwargs
):
558 """CreateToolBar(self, long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar"""
559 return _windows_
.Frame_CreateToolBar(*args
, **kwargs
)
561 def GetToolBar(*args
, **kwargs
):
562 """GetToolBar(self) -> wxToolBar"""
563 return _windows_
.Frame_GetToolBar(*args
, **kwargs
)
565 def SetToolBar(*args
, **kwargs
):
566 """SetToolBar(self, wxToolBar toolbar)"""
567 return _windows_
.Frame_SetToolBar(*args
, **kwargs
)
569 def DoGiveHelp(*args
, **kwargs
):
570 """DoGiveHelp(self, String text, bool show)"""
571 return _windows_
.Frame_DoGiveHelp(*args
, **kwargs
)
573 def DoMenuUpdates(*args
, **kwargs
):
574 """DoMenuUpdates(self, Menu menu=None)"""
575 return _windows_
.Frame_DoMenuUpdates(*args
, **kwargs
)
577 def GetClassDefaultAttributes(*args
, **kwargs
):
579 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
581 Get the default attributes for this class. This is useful if you want
582 to use the same font or colour in your own control as in a standard
583 control -- which is a much better idea than hard coding specific
584 colours or fonts which might look completely out of place on the
585 user's system, especially if it uses themes.
587 The variant parameter is only relevant under Mac currently and is
588 ignore under other platforms. Under Mac, it will change the size of
589 the returned font. See `wx.Window.SetWindowVariant` for more about
592 return _windows_
.Frame_GetClassDefaultAttributes(*args
, **kwargs
)
594 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
596 class FramePtr(Frame
):
597 def __init__(self
, this
):
599 if not hasattr(self
,"thisown"): self
.thisown
= 0
600 self
.__class
__ = Frame
601 _windows_
.Frame_swigregister(FramePtr
)
603 def PreFrame(*args
, **kwargs
):
604 """PreFrame() -> Frame"""
605 val
= _windows_
.new_PreFrame(*args
, **kwargs
)
609 def Frame_GetClassDefaultAttributes(*args
, **kwargs
):
611 Frame_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
613 Get the default attributes for this class. This is useful if you want
614 to use the same font or colour in your own control as in a standard
615 control -- which is a much better idea than hard coding specific
616 colours or fonts which might look completely out of place on the
617 user's system, especially if it uses themes.
619 The variant parameter is only relevant under Mac currently and is
620 ignore under other platforms. Under Mac, it will change the size of
621 the returned font. See `wx.Window.SetWindowVariant` for more about
624 return _windows_
.Frame_GetClassDefaultAttributes(*args
, **kwargs
)
626 #---------------------------------------------------------------------------
628 class Dialog(TopLevelWindow
):
629 """Proxy of C++ Dialog class"""
631 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
632 ButtonSizerFlags
= _windows_
.Dialog_ButtonSizerFlags
633 def __init__(self
, *args
, **kwargs
):
635 __init__(self, Window parent, int id=-1, String title=EmptyString,
636 Point pos=DefaultPosition, Size size=DefaultSize,
637 long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> Dialog
639 newobj
= _windows_
.new_Dialog(*args
, **kwargs
)
640 self
.this
= newobj
.this
643 self
._setOORInfo
(self
)
645 def Create(*args
, **kwargs
):
647 Create(self, Window parent, int id=-1, String title=EmptyString,
648 Point pos=DefaultPosition, Size size=DefaultSize,
649 long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> bool
651 return _windows_
.Dialog_Create(*args
, **kwargs
)
653 def SetReturnCode(*args
, **kwargs
):
654 """SetReturnCode(self, int returnCode)"""
655 return _windows_
.Dialog_SetReturnCode(*args
, **kwargs
)
657 def GetReturnCode(*args
, **kwargs
):
658 """GetReturnCode(self) -> int"""
659 return _windows_
.Dialog_GetReturnCode(*args
, **kwargs
)
661 def SetAffirmativeId(*args
, **kwargs
):
662 """SetAffirmativeId(self, int affirmativeId)"""
663 return _windows_
.Dialog_SetAffirmativeId(*args
, **kwargs
)
665 def GetAffirmativeId(*args
, **kwargs
):
666 """GetAffirmativeId(self) -> int"""
667 return _windows_
.Dialog_GetAffirmativeId(*args
, **kwargs
)
669 def SetEscapeId(*args
, **kwargs
):
670 """SetEscapeId(self, int escapeId)"""
671 return _windows_
.Dialog_SetEscapeId(*args
, **kwargs
)
673 def GetEscapeId(*args
, **kwargs
):
674 """GetEscapeId(self) -> int"""
675 return _windows_
.Dialog_GetEscapeId(*args
, **kwargs
)
677 def CreateTextSizer(*args
, **kwargs
):
678 """CreateTextSizer(self, String message) -> Sizer"""
679 return _windows_
.Dialog_CreateTextSizer(*args
, **kwargs
)
681 def CreateButtonSizer(*args
, **kwargs
):
682 """CreateButtonSizer(self, long flags, bool separated=False, int distance=0) -> Sizer"""
683 return _windows_
.Dialog_CreateButtonSizer(*args
, **kwargs
)
685 def CreateStdDialogButtonSizer(*args
, **kwargs
):
686 """CreateStdDialogButtonSizer(self, long flags) -> StdDialogButtonSizer"""
687 return _windows_
.Dialog_CreateStdDialogButtonSizer(*args
, **kwargs
)
689 def IsModal(*args
, **kwargs
):
690 """IsModal(self) -> bool"""
691 return _windows_
.Dialog_IsModal(*args
, **kwargs
)
693 def ShowModal(*args
, **kwargs
):
694 """ShowModal(self) -> int"""
695 return _windows_
.Dialog_ShowModal(*args
, **kwargs
)
697 def EndModal(*args
, **kwargs
):
698 """EndModal(self, int retCode)"""
699 return _windows_
.Dialog_EndModal(*args
, **kwargs
)
701 def GetClassDefaultAttributes(*args
, **kwargs
):
703 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
705 Get the default attributes for this class. This is useful if you want
706 to use the same font or colour in your own control as in a standard
707 control -- which is a much better idea than hard coding specific
708 colours or fonts which might look completely out of place on the
709 user's system, especially if it uses themes.
711 The variant parameter is only relevant under Mac currently and is
712 ignore under other platforms. Under Mac, it will change the size of
713 the returned font. See `wx.Window.SetWindowVariant` for more about
716 return _windows_
.Dialog_GetClassDefaultAttributes(*args
, **kwargs
)
718 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
720 class DialogPtr(Dialog
):
721 def __init__(self
, this
):
723 if not hasattr(self
,"thisown"): self
.thisown
= 0
724 self
.__class
__ = Dialog
725 _windows_
.Dialog_swigregister(DialogPtr
)
727 def PreDialog(*args
, **kwargs
):
728 """PreDialog() -> Dialog"""
729 val
= _windows_
.new_PreDialog(*args
, **kwargs
)
733 def Dialog_GetClassDefaultAttributes(*args
, **kwargs
):
735 Dialog_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
737 Get the default attributes for this class. This is useful if you want
738 to use the same font or colour in your own control as in a standard
739 control -- which is a much better idea than hard coding specific
740 colours or fonts which might look completely out of place on the
741 user's system, especially if it uses themes.
743 The variant parameter is only relevant under Mac currently and is
744 ignore under other platforms. Under Mac, it will change the size of
745 the returned font. See `wx.Window.SetWindowVariant` for more about
748 return _windows_
.Dialog_GetClassDefaultAttributes(*args
, **kwargs
)
750 #---------------------------------------------------------------------------
752 class MiniFrame(Frame
):
753 """Proxy of C++ MiniFrame class"""
755 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
756 def __init__(self
, *args
, **kwargs
):
758 __init__(self, Window parent, int id=-1, String title=EmptyString,
759 Point pos=DefaultPosition, Size size=DefaultSize,
760 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> MiniFrame
762 newobj
= _windows_
.new_MiniFrame(*args
, **kwargs
)
763 self
.this
= newobj
.this
766 self
._setOORInfo
(self
)
768 def Create(*args
, **kwargs
):
770 Create(self, Window parent, int id=-1, String title=EmptyString,
771 Point pos=DefaultPosition, Size size=DefaultSize,
772 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
774 return _windows_
.MiniFrame_Create(*args
, **kwargs
)
777 class MiniFramePtr(MiniFrame
):
778 def __init__(self
, this
):
780 if not hasattr(self
,"thisown"): self
.thisown
= 0
781 self
.__class
__ = MiniFrame
782 _windows_
.MiniFrame_swigregister(MiniFramePtr
)
784 def PreMiniFrame(*args
, **kwargs
):
785 """PreMiniFrame() -> MiniFrame"""
786 val
= _windows_
.new_PreMiniFrame(*args
, **kwargs
)
790 #---------------------------------------------------------------------------
792 SPLASH_CENTRE_ON_PARENT
= _windows_
.SPLASH_CENTRE_ON_PARENT
793 SPLASH_CENTRE_ON_SCREEN
= _windows_
.SPLASH_CENTRE_ON_SCREEN
794 SPLASH_NO_CENTRE
= _windows_
.SPLASH_NO_CENTRE
795 SPLASH_TIMEOUT
= _windows_
.SPLASH_TIMEOUT
796 SPLASH_NO_TIMEOUT
= _windows_
.SPLASH_NO_TIMEOUT
797 class SplashScreenWindow(_core
.Window
):
798 """Proxy of C++ SplashScreenWindow class"""
800 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
801 def __init__(self
, *args
, **kwargs
):
803 __init__(self, Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
804 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
806 newobj
= _windows_
.new_SplashScreenWindow(*args
, **kwargs
)
807 self
.this
= newobj
.this
810 self
._setOORInfo
(self
)
812 def SetBitmap(*args
, **kwargs
):
813 """SetBitmap(self, Bitmap bitmap)"""
814 return _windows_
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
816 def GetBitmap(*args
, **kwargs
):
817 """GetBitmap(self) -> Bitmap"""
818 return _windows_
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
821 class SplashScreenWindowPtr(SplashScreenWindow
):
822 def __init__(self
, this
):
824 if not hasattr(self
,"thisown"): self
.thisown
= 0
825 self
.__class
__ = SplashScreenWindow
826 _windows_
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
828 class SplashScreen(Frame
):
829 """Proxy of C++ SplashScreen class"""
831 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
832 def __init__(self
, *args
, **kwargs
):
834 __init__(self, Bitmap bitmap, long splashStyle, int milliseconds,
835 Window parent, int id=-1, Point pos=DefaultPosition,
836 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
838 newobj
= _windows_
.new_SplashScreen(*args
, **kwargs
)
839 self
.this
= newobj
.this
842 self
._setOORInfo
(self
)
844 def GetSplashStyle(*args
, **kwargs
):
845 """GetSplashStyle(self) -> long"""
846 return _windows_
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
848 def GetSplashWindow(*args
, **kwargs
):
849 """GetSplashWindow(self) -> SplashScreenWindow"""
850 return _windows_
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
852 def GetTimeout(*args
, **kwargs
):
853 """GetTimeout(self) -> int"""
854 return _windows_
.SplashScreen_GetTimeout(*args
, **kwargs
)
857 class SplashScreenPtr(SplashScreen
):
858 def __init__(self
, this
):
860 if not hasattr(self
,"thisown"): self
.thisown
= 0
861 self
.__class
__ = SplashScreen
862 _windows_
.SplashScreen_swigregister(SplashScreenPtr
)
864 #---------------------------------------------------------------------------
866 SB_NORMAL
= _windows_
.SB_NORMAL
867 SB_FLAT
= _windows_
.SB_FLAT
868 SB_RAISED
= _windows_
.SB_RAISED
869 class StatusBar(_core
.Window
):
870 """Proxy of C++ StatusBar class"""
872 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
873 def __init__(self
, *args
, **kwargs
):
875 __init__(self, Window parent, int id=-1, long style=DEFAULT_STATUSBAR_STYLE,
876 String name=StatusLineNameStr) -> StatusBar
878 newobj
= _windows_
.new_StatusBar(*args
, **kwargs
)
879 self
.this
= newobj
.this
882 self
._setOORInfo
(self
)
884 def Create(*args
, **kwargs
):
885 """Create(self, Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
886 return _windows_
.StatusBar_Create(*args
, **kwargs
)
888 def SetFieldsCount(*args
, **kwargs
):
889 """SetFieldsCount(self, int number=1)"""
890 return _windows_
.StatusBar_SetFieldsCount(*args
, **kwargs
)
892 def GetFieldsCount(*args
, **kwargs
):
893 """GetFieldsCount(self) -> int"""
894 return _windows_
.StatusBar_GetFieldsCount(*args
, **kwargs
)
896 def SetStatusText(*args
, **kwargs
):
897 """SetStatusText(self, String text, int number=0)"""
898 return _windows_
.StatusBar_SetStatusText(*args
, **kwargs
)
900 def GetStatusText(*args
, **kwargs
):
901 """GetStatusText(self, int number=0) -> String"""
902 return _windows_
.StatusBar_GetStatusText(*args
, **kwargs
)
904 def PushStatusText(*args
, **kwargs
):
905 """PushStatusText(self, String text, int number=0)"""
906 return _windows_
.StatusBar_PushStatusText(*args
, **kwargs
)
908 def PopStatusText(*args
, **kwargs
):
909 """PopStatusText(self, int number=0)"""
910 return _windows_
.StatusBar_PopStatusText(*args
, **kwargs
)
912 def SetStatusWidths(*args
, **kwargs
):
913 """SetStatusWidths(self, int widths)"""
914 return _windows_
.StatusBar_SetStatusWidths(*args
, **kwargs
)
916 def SetStatusStyles(*args
, **kwargs
):
917 """SetStatusStyles(self, int styles)"""
918 return _windows_
.StatusBar_SetStatusStyles(*args
, **kwargs
)
920 def GetFieldRect(*args
, **kwargs
):
921 """GetFieldRect(self, int i) -> Rect"""
922 return _windows_
.StatusBar_GetFieldRect(*args
, **kwargs
)
924 def SetMinHeight(*args
, **kwargs
):
925 """SetMinHeight(self, int height)"""
926 return _windows_
.StatusBar_SetMinHeight(*args
, **kwargs
)
928 def GetBorderX(*args
, **kwargs
):
929 """GetBorderX(self) -> int"""
930 return _windows_
.StatusBar_GetBorderX(*args
, **kwargs
)
932 def GetBorderY(*args
, **kwargs
):
933 """GetBorderY(self) -> int"""
934 return _windows_
.StatusBar_GetBorderY(*args
, **kwargs
)
936 def GetClassDefaultAttributes(*args
, **kwargs
):
938 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
940 Get the default attributes for this class. This is useful if you want
941 to use the same font or colour in your own control as in a standard
942 control -- which is a much better idea than hard coding specific
943 colours or fonts which might look completely out of place on the
944 user's system, especially if it uses themes.
946 The variant parameter is only relevant under Mac currently and is
947 ignore under other platforms. Under Mac, it will change the size of
948 the returned font. See `wx.Window.SetWindowVariant` for more about
951 return _windows_
.StatusBar_GetClassDefaultAttributes(*args
, **kwargs
)
953 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
955 class StatusBarPtr(StatusBar
):
956 def __init__(self
, this
):
958 if not hasattr(self
,"thisown"): self
.thisown
= 0
959 self
.__class
__ = StatusBar
960 _windows_
.StatusBar_swigregister(StatusBarPtr
)
962 def PreStatusBar(*args
, **kwargs
):
963 """PreStatusBar() -> StatusBar"""
964 val
= _windows_
.new_PreStatusBar(*args
, **kwargs
)
968 def StatusBar_GetClassDefaultAttributes(*args
, **kwargs
):
970 StatusBar_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
972 Get the default attributes for this class. This is useful if you want
973 to use the same font or colour in your own control as in a standard
974 control -- which is a much better idea than hard coding specific
975 colours or fonts which might look completely out of place on the
976 user's system, especially if it uses themes.
978 The variant parameter is only relevant under Mac currently and is
979 ignore under other platforms. Under Mac, it will change the size of
980 the returned font. See `wx.Window.SetWindowVariant` for more about
983 return _windows_
.StatusBar_GetClassDefaultAttributes(*args
, **kwargs
)
985 #---------------------------------------------------------------------------
987 SP_NOBORDER
= _windows_
.SP_NOBORDER
988 SP_NOSASH
= _windows_
.SP_NOSASH
989 SP_PERMIT_UNSPLIT
= _windows_
.SP_PERMIT_UNSPLIT
990 SP_LIVE_UPDATE
= _windows_
.SP_LIVE_UPDATE
991 SP_3DSASH
= _windows_
.SP_3DSASH
992 SP_3DBORDER
= _windows_
.SP_3DBORDER
993 SP_NO_XP_THEME
= _windows_
.SP_NO_XP_THEME
994 SP_BORDER
= _windows_
.SP_BORDER
995 SP_3D
= _windows_
.SP_3D
996 SPLIT_HORIZONTAL
= _windows_
.SPLIT_HORIZONTAL
997 SPLIT_VERTICAL
= _windows_
.SPLIT_VERTICAL
998 SPLIT_DRAG_NONE
= _windows_
.SPLIT_DRAG_NONE
999 SPLIT_DRAG_DRAGGING
= _windows_
.SPLIT_DRAG_DRAGGING
1000 SPLIT_DRAG_LEFT_DOWN
= _windows_
.SPLIT_DRAG_LEFT_DOWN
1001 class SplitterWindow(_core
.Window
):
1003 wx.SplitterWindow manages up to two subwindows or panes, with an
1004 optional vertical or horizontal split which can be used with the mouse
1005 or programmatically.
1008 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1009 def __init__(self
, *args
, **kwargs
):
1011 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1012 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
1014 Constructor. Creates and shows a SplitterWindow.
1016 if kwargs
.has_key('point'): kwargs
['pos'] = kwargs
['point'];del kwargs
['point']
1017 newobj
= _windows_
.new_SplitterWindow(*args
, **kwargs
)
1018 self
.this
= newobj
.this
1021 self
._setOORInfo
(self
)
1023 def Create(*args
, **kwargs
):
1025 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1026 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool
1028 Create the GUI part of the SplitterWindow for the 2-phase create.
1030 return _windows_
.SplitterWindow_Create(*args
, **kwargs
)
1032 def GetWindow1(*args
, **kwargs
):
1034 GetWindow1(self) -> Window
1036 Gets the only or left/top pane.
1038 return _windows_
.SplitterWindow_GetWindow1(*args
, **kwargs
)
1040 def GetWindow2(*args
, **kwargs
):
1042 GetWindow2(self) -> Window
1044 Gets the right/bottom pane.
1046 return _windows_
.SplitterWindow_GetWindow2(*args
, **kwargs
)
1048 def SetSplitMode(*args
, **kwargs
):
1050 SetSplitMode(self, int mode)
1052 Sets the split mode. The mode can be wx.SPLIT_VERTICAL or
1053 wx.SPLIT_HORIZONTAL. This only sets the internal variable; does not
1056 return _windows_
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
1058 def GetSplitMode(*args
, **kwargs
):
1060 GetSplitMode(self) -> int
1064 return _windows_
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
1066 def Initialize(*args
, **kwargs
):
1068 Initialize(self, Window window)
1070 Initializes the splitter window to have one pane. This should be
1071 called if you wish to initially view only a single pane in the
1072 splitter window. The child window is shown if it is currently hidden.
1074 return _windows_
.SplitterWindow_Initialize(*args
, **kwargs
)
1076 def SplitVertically(*args
, **kwargs
):
1078 SplitVertically(self, Window window1, Window window2, int sashPosition=0) -> bool
1080 Initializes the left and right panes of the splitter window. The
1081 child windows are shown if they are currently hidden.
1083 return _windows_
.SplitterWindow_SplitVertically(*args
, **kwargs
)
1085 def SplitHorizontally(*args
, **kwargs
):
1087 SplitHorizontally(self, Window window1, Window window2, int sashPosition=0) -> bool
1089 Initializes the top and bottom panes of the splitter window. The
1090 child windows are shown if they are currently hidden.
1092 return _windows_
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
1094 def Unsplit(*args
, **kwargs
):
1096 Unsplit(self, Window toRemove=None) -> bool
1098 Unsplits the window. Pass the pane to remove, or None to remove the
1099 right or bottom pane. Returns True if successful, False otherwise (the
1100 window was not split).
1102 This function will not actually delete the pane being
1103 removed; it sends EVT_SPLITTER_UNSPLIT which can be handled
1104 for the desired behaviour. By default, the pane being
1105 removed is only hidden.
1107 return _windows_
.SplitterWindow_Unsplit(*args
, **kwargs
)
1109 def ReplaceWindow(*args
, **kwargs
):
1111 ReplaceWindow(self, Window winOld, Window winNew) -> bool
1113 This function replaces one of the windows managed by the
1114 SplitterWindow with another one. It is in general better to use it
1115 instead of calling Unsplit() and then resplitting the window back
1116 because it will provoke much less flicker. It is valid to call this
1117 function whether the splitter has two windows or only one.
1119 Both parameters should be non-None and winOld must specify one of the
1120 windows managed by the splitter. If the parameters are incorrect or
1121 the window couldn't be replaced, False is returned. Otherwise the
1122 function will return True, but please notice that it will not Destroy
1123 the replaced window and you may wish to do it yourself.
1125 return _windows_
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
1127 def UpdateSize(*args
, **kwargs
):
1131 Causes any pending sizing of the sash and child panes to take place
1134 Such resizing normally takes place in idle time, in order to wait for
1135 layout to be completed. However, this can cause unacceptable flicker
1136 as the panes are resized after the window has been shown. To work
1137 around this, you can perform window layout (for example by sending a
1138 size event to the parent window), and then call this function, before
1139 showing the top-level window.
1141 return _windows_
.SplitterWindow_UpdateSize(*args
, **kwargs
)
1143 def IsSplit(*args
, **kwargs
):
1145 IsSplit(self) -> bool
1147 Is the window split?
1149 return _windows_
.SplitterWindow_IsSplit(*args
, **kwargs
)
1151 def SetSashSize(*args
, **kwargs
):
1153 SetSashSize(self, int width)
1157 return _windows_
.SplitterWindow_SetSashSize(*args
, **kwargs
)
1159 def SetBorderSize(*args
, **kwargs
):
1161 SetBorderSize(self, int width)
1163 Sets the border size. Currently a NOP.
1165 return _windows_
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
1167 def GetSashSize(*args
, **kwargs
):
1169 GetSashSize(self) -> int
1173 return _windows_
.SplitterWindow_GetSashSize(*args
, **kwargs
)
1175 def GetBorderSize(*args
, **kwargs
):
1177 GetBorderSize(self) -> int
1179 Gets the border size
1181 return _windows_
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
1183 def SetSashPosition(*args
, **kwargs
):
1185 SetSashPosition(self, int position, bool redraw=True)
1187 Sets the sash position, in pixels. If redraw is Ttrue then the panes
1188 are resized and the sash and border are redrawn.
1190 return _windows_
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
1192 def GetSashPosition(*args
, **kwargs
):
1194 GetSashPosition(self) -> int
1196 Returns the surrent sash position.
1198 return _windows_
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
1200 def SetSashGravity(*args
, **kwargs
):
1202 SetSashGravity(self, double gravity)
1204 Set the sash gravity. Gravity is a floating-point factor between 0.0
1205 and 1.0 which controls position of sash while resizing the
1206 `wx.SplitterWindow`. The gravity specifies how much the left/top
1207 window will grow while resizing.
1209 return _windows_
.SplitterWindow_SetSashGravity(*args
, **kwargs
)
1211 def GetSashGravity(*args
, **kwargs
):
1213 GetSashGravity(self) -> double
1215 Gets the sash gravity.
1217 :see: `SetSashGravity`
1220 return _windows_
.SplitterWindow_GetSashGravity(*args
, **kwargs
)
1222 def SetMinimumPaneSize(*args
, **kwargs
):
1224 SetMinimumPaneSize(self, int min)
1226 Sets the minimum pane size in pixels.
1228 The default minimum pane size is zero, which means that either pane
1229 can be reduced to zero by dragging the sash, thus removing one of the
1230 panes. To prevent this behaviour (and veto out-of-range sash
1231 dragging), set a minimum size, for example 20 pixels. If the
1232 wx.SP_PERMIT_UNSPLIT style is used when a splitter window is created,
1233 the window may be unsplit even if minimum size is non-zero.
1235 return _windows_
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
1237 def GetMinimumPaneSize(*args
, **kwargs
):
1239 GetMinimumPaneSize(self) -> int
1241 Gets the minimum pane size in pixels.
1243 return _windows_
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
1245 def SashHitTest(*args
, **kwargs
):
1247 SashHitTest(self, int x, int y, int tolerance=5) -> bool
1249 Tests for x, y over the sash
1251 return _windows_
.SplitterWindow_SashHitTest(*args
, **kwargs
)
1253 def SizeWindows(*args
, **kwargs
):
1259 return _windows_
.SplitterWindow_SizeWindows(*args
, **kwargs
)
1261 def SetNeedUpdating(*args
, **kwargs
):
1262 """SetNeedUpdating(self, bool needUpdating)"""
1263 return _windows_
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
1265 def GetNeedUpdating(*args
, **kwargs
):
1266 """GetNeedUpdating(self) -> bool"""
1267 return _windows_
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
1269 def GetClassDefaultAttributes(*args
, **kwargs
):
1271 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1273 Get the default attributes for this class. This is useful if you want
1274 to use the same font or colour in your own control as in a standard
1275 control -- which is a much better idea than hard coding specific
1276 colours or fonts which might look completely out of place on the
1277 user's system, especially if it uses themes.
1279 The variant parameter is only relevant under Mac currently and is
1280 ignore under other platforms. Under Mac, it will change the size of
1281 the returned font. See `wx.Window.SetWindowVariant` for more about
1284 return _windows_
.SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1286 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
1288 class SplitterWindowPtr(SplitterWindow
):
1289 def __init__(self
, this
):
1291 if not hasattr(self
,"thisown"): self
.thisown
= 0
1292 self
.__class
__ = SplitterWindow
1293 _windows_
.SplitterWindow_swigregister(SplitterWindowPtr
)
1294 SplitterNameStr
= cvar
.SplitterNameStr
1296 def PreSplitterWindow(*args
, **kwargs
):
1298 PreSplitterWindow() -> SplitterWindow
1300 Precreate a SplitterWindow for 2-phase creation.
1302 val
= _windows_
.new_PreSplitterWindow(*args
, **kwargs
)
1306 def SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
):
1308 SplitterWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1310 Get the default attributes for this class. This is useful if you want
1311 to use the same font or colour in your own control as in a standard
1312 control -- which is a much better idea than hard coding specific
1313 colours or fonts which might look completely out of place on the
1314 user's system, especially if it uses themes.
1316 The variant parameter is only relevant under Mac currently and is
1317 ignore under other platforms. Under Mac, it will change the size of
1318 the returned font. See `wx.Window.SetWindowVariant` for more about
1321 return _windows_
.SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1323 class SplitterEvent(_core
.NotifyEvent
):
1324 """This class represents the events generated by a splitter control."""
1326 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1327 def __init__(self
, *args
, **kwargs
):
1329 __init__(self, wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent
1331 This class represents the events generated by a splitter control.
1333 newobj
= _windows_
.new_SplitterEvent(*args
, **kwargs
)
1334 self
.this
= newobj
.this
1337 def SetSashPosition(*args
, **kwargs
):
1339 SetSashPosition(self, int pos)
1341 This function is only meaningful during EVT_SPLITTER_SASH_POS_CHANGING
1342 and EVT_SPLITTER_SASH_POS_CHANGED events. In the case of _CHANGED
1343 events, sets the the new sash position. In the case of _CHANGING
1344 events, sets the new tracking bar position so visual feedback during
1345 dragging will represent that change that will actually take place. Set
1346 to -1 from the event handler code to prevent repositioning.
1348 return _windows_
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
1350 def GetSashPosition(*args
, **kwargs
):
1352 GetSashPosition(self) -> int
1354 Returns the new sash position while in EVT_SPLITTER_SASH_POS_CHANGING
1355 and EVT_SPLITTER_SASH_POS_CHANGED events.
1357 return _windows_
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
1359 def GetWindowBeingRemoved(*args
, **kwargs
):
1361 GetWindowBeingRemoved(self) -> Window
1363 Returns a pointer to the window being removed when a splitter window
1366 return _windows_
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
1368 def GetX(*args
, **kwargs
):
1372 Returns the x coordinate of the double-click point in a
1373 EVT_SPLITTER_DCLICK event.
1375 return _windows_
.SplitterEvent_GetX(*args
, **kwargs
)
1377 def GetY(*args
, **kwargs
):
1381 Returns the y coordinate of the double-click point in a
1382 EVT_SPLITTER_DCLICK event.
1384 return _windows_
.SplitterEvent_GetY(*args
, **kwargs
)
1387 class SplitterEventPtr(SplitterEvent
):
1388 def __init__(self
, this
):
1390 if not hasattr(self
,"thisown"): self
.thisown
= 0
1391 self
.__class
__ = SplitterEvent
1392 _windows_
.SplitterEvent_swigregister(SplitterEventPtr
)
1394 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
1395 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
1396 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows_
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
1397 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows_
.wxEVT_COMMAND_SPLITTER_UNSPLIT
1398 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
1399 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
1400 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
1401 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
1402 EVT_SPLITTER_DCLICK
= EVT_SPLITTER_DOUBLECLICKED
1404 #---------------------------------------------------------------------------
1406 SASH_DRAG_NONE
= _windows_
.SASH_DRAG_NONE
1407 SASH_DRAG_DRAGGING
= _windows_
.SASH_DRAG_DRAGGING
1408 SASH_DRAG_LEFT_DOWN
= _windows_
.SASH_DRAG_LEFT_DOWN
1409 SW_NOBORDER
= _windows_
.SW_NOBORDER
1410 SW_BORDER
= _windows_
.SW_BORDER
1411 SW_3DSASH
= _windows_
.SW_3DSASH
1412 SW_3DBORDER
= _windows_
.SW_3DBORDER
1413 SW_3D
= _windows_
.SW_3D
1414 SASH_TOP
= _windows_
.SASH_TOP
1415 SASH_RIGHT
= _windows_
.SASH_RIGHT
1416 SASH_BOTTOM
= _windows_
.SASH_BOTTOM
1417 SASH_LEFT
= _windows_
.SASH_LEFT
1418 SASH_NONE
= _windows_
.SASH_NONE
1419 class SashWindow(_core
.Window
):
1420 """Proxy of C++ SashWindow class"""
1422 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1423 def __init__(self
, *args
, **kwargs
):
1425 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1426 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1427 String name=SashNameStr) -> SashWindow
1429 newobj
= _windows_
.new_SashWindow(*args
, **kwargs
)
1430 self
.this
= newobj
.this
1433 self
._setOORInfo
(self
)
1435 def Create(*args
, **kwargs
):
1437 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1438 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1439 String name=SashNameStr) -> bool
1441 return _windows_
.SashWindow_Create(*args
, **kwargs
)
1443 def SetSashVisible(*args
, **kwargs
):
1444 """SetSashVisible(self, int edge, bool sash)"""
1445 return _windows_
.SashWindow_SetSashVisible(*args
, **kwargs
)
1447 def GetSashVisible(*args
, **kwargs
):
1448 """GetSashVisible(self, int edge) -> bool"""
1449 return _windows_
.SashWindow_GetSashVisible(*args
, **kwargs
)
1451 def SetSashBorder(*args
, **kwargs
):
1452 """SetSashBorder(self, int edge, bool border)"""
1453 return _windows_
.SashWindow_SetSashBorder(*args
, **kwargs
)
1455 def HasBorder(*args
, **kwargs
):
1456 """HasBorder(self, int edge) -> bool"""
1457 return _windows_
.SashWindow_HasBorder(*args
, **kwargs
)
1459 def GetEdgeMargin(*args
, **kwargs
):
1460 """GetEdgeMargin(self, int edge) -> int"""
1461 return _windows_
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
1463 def SetDefaultBorderSize(*args
, **kwargs
):
1464 """SetDefaultBorderSize(self, int width)"""
1465 return _windows_
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
1467 def GetDefaultBorderSize(*args
, **kwargs
):
1468 """GetDefaultBorderSize(self) -> int"""
1469 return _windows_
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
1471 def SetExtraBorderSize(*args
, **kwargs
):
1472 """SetExtraBorderSize(self, int width)"""
1473 return _windows_
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
1475 def GetExtraBorderSize(*args
, **kwargs
):
1476 """GetExtraBorderSize(self) -> int"""
1477 return _windows_
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
1479 def SetMinimumSizeX(*args
, **kwargs
):
1480 """SetMinimumSizeX(self, int min)"""
1481 return _windows_
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
1483 def SetMinimumSizeY(*args
, **kwargs
):
1484 """SetMinimumSizeY(self, int min)"""
1485 return _windows_
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
1487 def GetMinimumSizeX(*args
, **kwargs
):
1488 """GetMinimumSizeX(self) -> int"""
1489 return _windows_
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
1491 def GetMinimumSizeY(*args
, **kwargs
):
1492 """GetMinimumSizeY(self) -> int"""
1493 return _windows_
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
1495 def SetMaximumSizeX(*args
, **kwargs
):
1496 """SetMaximumSizeX(self, int max)"""
1497 return _windows_
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
1499 def SetMaximumSizeY(*args
, **kwargs
):
1500 """SetMaximumSizeY(self, int max)"""
1501 return _windows_
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
1503 def GetMaximumSizeX(*args
, **kwargs
):
1504 """GetMaximumSizeX(self) -> int"""
1505 return _windows_
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
1507 def GetMaximumSizeY(*args
, **kwargs
):
1508 """GetMaximumSizeY(self) -> int"""
1509 return _windows_
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
1511 def SashHitTest(*args
, **kwargs
):
1512 """SashHitTest(self, int x, int y, int tolerance=2) -> int"""
1513 return _windows_
.SashWindow_SashHitTest(*args
, **kwargs
)
1515 def SizeWindows(*args
, **kwargs
):
1516 """SizeWindows(self)"""
1517 return _windows_
.SashWindow_SizeWindows(*args
, **kwargs
)
1520 class SashWindowPtr(SashWindow
):
1521 def __init__(self
, this
):
1523 if not hasattr(self
,"thisown"): self
.thisown
= 0
1524 self
.__class
__ = SashWindow
1525 _windows_
.SashWindow_swigregister(SashWindowPtr
)
1526 SashNameStr
= cvar
.SashNameStr
1527 SashLayoutNameStr
= cvar
.SashLayoutNameStr
1529 def PreSashWindow(*args
, **kwargs
):
1530 """PreSashWindow() -> SashWindow"""
1531 val
= _windows_
.new_PreSashWindow(*args
, **kwargs
)
1535 SASH_STATUS_OK
= _windows_
.SASH_STATUS_OK
1536 SASH_STATUS_OUT_OF_RANGE
= _windows_
.SASH_STATUS_OUT_OF_RANGE
1537 class SashEvent(_core
.CommandEvent
):
1538 """Proxy of C++ SashEvent class"""
1540 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1541 def __init__(self
, *args
, **kwargs
):
1542 """__init__(self, int id=0, int edge=SASH_NONE) -> SashEvent"""
1543 newobj
= _windows_
.new_SashEvent(*args
, **kwargs
)
1544 self
.this
= newobj
.this
1547 def SetEdge(*args
, **kwargs
):
1548 """SetEdge(self, int edge)"""
1549 return _windows_
.SashEvent_SetEdge(*args
, **kwargs
)
1551 def GetEdge(*args
, **kwargs
):
1552 """GetEdge(self) -> int"""
1553 return _windows_
.SashEvent_GetEdge(*args
, **kwargs
)
1555 def SetDragRect(*args
, **kwargs
):
1556 """SetDragRect(self, Rect rect)"""
1557 return _windows_
.SashEvent_SetDragRect(*args
, **kwargs
)
1559 def GetDragRect(*args
, **kwargs
):
1560 """GetDragRect(self) -> Rect"""
1561 return _windows_
.SashEvent_GetDragRect(*args
, **kwargs
)
1563 def SetDragStatus(*args
, **kwargs
):
1564 """SetDragStatus(self, int status)"""
1565 return _windows_
.SashEvent_SetDragStatus(*args
, **kwargs
)
1567 def GetDragStatus(*args
, **kwargs
):
1568 """GetDragStatus(self) -> int"""
1569 return _windows_
.SashEvent_GetDragStatus(*args
, **kwargs
)
1572 class SashEventPtr(SashEvent
):
1573 def __init__(self
, this
):
1575 if not hasattr(self
,"thisown"): self
.thisown
= 0
1576 self
.__class
__ = SashEvent
1577 _windows_
.SashEvent_swigregister(SashEventPtr
)
1579 wxEVT_SASH_DRAGGED
= _windows_
.wxEVT_SASH_DRAGGED
1580 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
1581 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
1583 #---------------------------------------------------------------------------
1585 LAYOUT_HORIZONTAL
= _windows_
.LAYOUT_HORIZONTAL
1586 LAYOUT_VERTICAL
= _windows_
.LAYOUT_VERTICAL
1587 LAYOUT_NONE
= _windows_
.LAYOUT_NONE
1588 LAYOUT_TOP
= _windows_
.LAYOUT_TOP
1589 LAYOUT_LEFT
= _windows_
.LAYOUT_LEFT
1590 LAYOUT_RIGHT
= _windows_
.LAYOUT_RIGHT
1591 LAYOUT_BOTTOM
= _windows_
.LAYOUT_BOTTOM
1592 LAYOUT_LENGTH_Y
= _windows_
.LAYOUT_LENGTH_Y
1593 LAYOUT_LENGTH_X
= _windows_
.LAYOUT_LENGTH_X
1594 LAYOUT_MRU_LENGTH
= _windows_
.LAYOUT_MRU_LENGTH
1595 LAYOUT_QUERY
= _windows_
.LAYOUT_QUERY
1596 wxEVT_QUERY_LAYOUT_INFO
= _windows_
.wxEVT_QUERY_LAYOUT_INFO
1597 wxEVT_CALCULATE_LAYOUT
= _windows_
.wxEVT_CALCULATE_LAYOUT
1598 class QueryLayoutInfoEvent(_core
.Event
):
1599 """Proxy of C++ QueryLayoutInfoEvent class"""
1601 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1602 def __init__(self
, *args
, **kwargs
):
1603 """__init__(self, int id=0) -> QueryLayoutInfoEvent"""
1604 newobj
= _windows_
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1605 self
.this
= newobj
.this
1608 def SetRequestedLength(*args
, **kwargs
):
1609 """SetRequestedLength(self, int length)"""
1610 return _windows_
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1612 def GetRequestedLength(*args
, **kwargs
):
1613 """GetRequestedLength(self) -> int"""
1614 return _windows_
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1616 def SetFlags(*args
, **kwargs
):
1617 """SetFlags(self, int flags)"""
1618 return _windows_
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1620 def GetFlags(*args
, **kwargs
):
1621 """GetFlags(self) -> int"""
1622 return _windows_
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1624 def SetSize(*args
, **kwargs
):
1625 """SetSize(self, Size size)"""
1626 return _windows_
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1628 def GetSize(*args
, **kwargs
):
1629 """GetSize(self) -> Size"""
1630 return _windows_
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1632 def SetOrientation(*args
, **kwargs
):
1633 """SetOrientation(self, int orient)"""
1634 return _windows_
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1636 def GetOrientation(*args
, **kwargs
):
1637 """GetOrientation(self) -> int"""
1638 return _windows_
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1640 def SetAlignment(*args
, **kwargs
):
1641 """SetAlignment(self, int align)"""
1642 return _windows_
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1644 def GetAlignment(*args
, **kwargs
):
1645 """GetAlignment(self) -> int"""
1646 return _windows_
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1649 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1650 def __init__(self
, this
):
1652 if not hasattr(self
,"thisown"): self
.thisown
= 0
1653 self
.__class
__ = QueryLayoutInfoEvent
1654 _windows_
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1656 class CalculateLayoutEvent(_core
.Event
):
1657 """Proxy of C++ CalculateLayoutEvent class"""
1659 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1660 def __init__(self
, *args
, **kwargs
):
1661 """__init__(self, int id=0) -> CalculateLayoutEvent"""
1662 newobj
= _windows_
.new_CalculateLayoutEvent(*args
, **kwargs
)
1663 self
.this
= newobj
.this
1666 def SetFlags(*args
, **kwargs
):
1667 """SetFlags(self, int flags)"""
1668 return _windows_
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1670 def GetFlags(*args
, **kwargs
):
1671 """GetFlags(self) -> int"""
1672 return _windows_
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1674 def SetRect(*args
, **kwargs
):
1675 """SetRect(self, Rect rect)"""
1676 return _windows_
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1678 def GetRect(*args
, **kwargs
):
1679 """GetRect(self) -> Rect"""
1680 return _windows_
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1683 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1684 def __init__(self
, this
):
1686 if not hasattr(self
,"thisown"): self
.thisown
= 0
1687 self
.__class
__ = CalculateLayoutEvent
1688 _windows_
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1690 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1691 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1693 class SashLayoutWindow(SashWindow
):
1694 """Proxy of C++ SashLayoutWindow class"""
1696 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1697 def __init__(self
, *args
, **kwargs
):
1699 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1700 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1701 String name=SashLayoutNameStr) -> SashLayoutWindow
1703 newobj
= _windows_
.new_SashLayoutWindow(*args
, **kwargs
)
1704 self
.this
= newobj
.this
1707 self
._setOORInfo
(self
)
1709 def Create(*args
, **kwargs
):
1711 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1712 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1713 String name=SashLayoutNameStr) -> bool
1715 return _windows_
.SashLayoutWindow_Create(*args
, **kwargs
)
1717 def GetAlignment(*args
, **kwargs
):
1718 """GetAlignment(self) -> int"""
1719 return _windows_
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1721 def GetOrientation(*args
, **kwargs
):
1722 """GetOrientation(self) -> int"""
1723 return _windows_
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1725 def SetAlignment(*args
, **kwargs
):
1726 """SetAlignment(self, int alignment)"""
1727 return _windows_
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1729 def SetDefaultSize(*args
, **kwargs
):
1730 """SetDefaultSize(self, Size size)"""
1731 return _windows_
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1733 def SetOrientation(*args
, **kwargs
):
1734 """SetOrientation(self, int orientation)"""
1735 return _windows_
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1738 class SashLayoutWindowPtr(SashLayoutWindow
):
1739 def __init__(self
, this
):
1741 if not hasattr(self
,"thisown"): self
.thisown
= 0
1742 self
.__class
__ = SashLayoutWindow
1743 _windows_
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1745 def PreSashLayoutWindow(*args
, **kwargs
):
1746 """PreSashLayoutWindow() -> SashLayoutWindow"""
1747 val
= _windows_
.new_PreSashLayoutWindow(*args
, **kwargs
)
1751 class LayoutAlgorithm(_core
.Object
):
1752 """Proxy of C++ LayoutAlgorithm class"""
1754 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1755 def __init__(self
, *args
, **kwargs
):
1756 """__init__(self) -> LayoutAlgorithm"""
1757 newobj
= _windows_
.new_LayoutAlgorithm(*args
, **kwargs
)
1758 self
.this
= newobj
.this
1761 def __del__(self
, destroy
=_windows_
.delete_LayoutAlgorithm
):
1764 if self
.thisown
: destroy(self
)
1767 def LayoutMDIFrame(*args
, **kwargs
):
1768 """LayoutMDIFrame(self, MDIParentFrame frame, Rect rect=None) -> bool"""
1769 return _windows_
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1771 def LayoutFrame(*args
, **kwargs
):
1772 """LayoutFrame(self, Frame frame, Window mainWindow=None) -> bool"""
1773 return _windows_
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1775 def LayoutWindow(*args
, **kwargs
):
1776 """LayoutWindow(self, Window parent, Window mainWindow=None) -> bool"""
1777 return _windows_
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1780 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1781 def __init__(self
, this
):
1783 if not hasattr(self
,"thisown"): self
.thisown
= 0
1784 self
.__class
__ = LayoutAlgorithm
1785 _windows_
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1787 #---------------------------------------------------------------------------
1789 class PopupWindow(_core
.Window
):
1790 """Proxy of C++ PopupWindow class"""
1792 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1793 def __init__(self
, *args
, **kwargs
):
1794 """__init__(self, Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1795 newobj
= _windows_
.new_PopupWindow(*args
, **kwargs
)
1796 self
.this
= newobj
.this
1799 self
._setOORInfo
(self
)
1801 def Create(*args
, **kwargs
):
1802 """Create(self, Window parent, int flags=BORDER_NONE) -> bool"""
1803 return _windows_
.PopupWindow_Create(*args
, **kwargs
)
1805 def Position(*args
, **kwargs
):
1806 """Position(self, Point ptOrigin, Size size)"""
1807 return _windows_
.PopupWindow_Position(*args
, **kwargs
)
1810 class PopupWindowPtr(PopupWindow
):
1811 def __init__(self
, this
):
1813 if not hasattr(self
,"thisown"): self
.thisown
= 0
1814 self
.__class
__ = PopupWindow
1815 _windows_
.PopupWindow_swigregister(PopupWindowPtr
)
1817 def PrePopupWindow(*args
, **kwargs
):
1818 """PrePopupWindow() -> PopupWindow"""
1819 val
= _windows_
.new_PrePopupWindow(*args
, **kwargs
)
1823 #---------------------------------------------------------------------------
1825 class PopupTransientWindow(PopupWindow
):
1826 """Proxy of C++ PopupTransientWindow class"""
1828 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1829 def __init__(self
, *args
, **kwargs
):
1830 """__init__(self, Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1831 newobj
= _windows_
.new_PopupTransientWindow(*args
, **kwargs
)
1832 self
.this
= newobj
.this
1835 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, PopupTransientWindow
)
1837 def _setCallbackInfo(*args
, **kwargs
):
1838 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1839 return _windows_
.PopupTransientWindow__setCallbackInfo(*args
, **kwargs
)
1841 def Popup(*args
, **kwargs
):
1842 """Popup(self, Window focus=None)"""
1843 return _windows_
.PopupTransientWindow_Popup(*args
, **kwargs
)
1845 def Dismiss(*args
, **kwargs
):
1847 return _windows_
.PopupTransientWindow_Dismiss(*args
, **kwargs
)
1850 class PopupTransientWindowPtr(PopupTransientWindow
):
1851 def __init__(self
, this
):
1853 if not hasattr(self
,"thisown"): self
.thisown
= 0
1854 self
.__class
__ = PopupTransientWindow
1855 _windows_
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1857 def PrePopupTransientWindow(*args
, **kwargs
):
1858 """PrePopupTransientWindow() -> PopupTransientWindow"""
1859 val
= _windows_
.new_PrePopupTransientWindow(*args
, **kwargs
)
1863 #---------------------------------------------------------------------------
1865 class TipWindow(PopupTransientWindow
):
1866 """Proxy of C++ TipWindow class"""
1868 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1869 def __init__(self
, *args
, **kwargs
):
1870 """__init__(self, Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1871 newobj
= _windows_
.new_TipWindow(*args
, **kwargs
)
1872 self
.this
= newobj
.this
1875 self
._setOORInfo
(self
)
1877 def SetBoundingRect(*args
, **kwargs
):
1878 """SetBoundingRect(self, Rect rectBound)"""
1879 return _windows_
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1881 def Close(*args
, **kwargs
):
1885 This function simply generates a EVT_CLOSE event whose handler usually
1886 tries to close the window. It doesn't close the window itself,
1887 however. If force is False (the default) then the window's close
1888 handler will be allowed to veto the destruction of the window.
1890 return _windows_
.TipWindow_Close(*args
, **kwargs
)
1893 class TipWindowPtr(TipWindow
):
1894 def __init__(self
, this
):
1896 if not hasattr(self
,"thisown"): self
.thisown
= 0
1897 self
.__class
__ = TipWindow
1898 _windows_
.TipWindow_swigregister(TipWindowPtr
)
1900 #---------------------------------------------------------------------------
1902 class VScrolledWindow(Panel
):
1903 """Proxy of C++ VScrolledWindow class"""
1905 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1906 def __init__(self
, *args
, **kwargs
):
1908 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1909 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
1911 newobj
= _windows_
.new_VScrolledWindow(*args
, **kwargs
)
1912 self
.this
= newobj
.this
1915 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1917 def _setCallbackInfo(*args
, **kwargs
):
1918 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1919 return _windows_
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1921 def Create(*args
, **kwargs
):
1923 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1924 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
1926 return _windows_
.VScrolledWindow_Create(*args
, **kwargs
)
1928 def SetLineCount(*args
, **kwargs
):
1929 """SetLineCount(self, size_t count)"""
1930 return _windows_
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1932 def ScrollToLine(*args
, **kwargs
):
1933 """ScrollToLine(self, size_t line) -> bool"""
1934 return _windows_
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1936 def ScrollLines(*args
, **kwargs
):
1938 ScrollLines(self, int lines) -> bool
1940 If the platform and window class supports it, scrolls the window by
1941 the given number of lines down, if lines is positive, or up if lines
1942 is negative. Returns True if the window was scrolled, False if it was
1943 already on top/bottom and nothing was done.
1945 return _windows_
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1947 def ScrollPages(*args
, **kwargs
):
1949 ScrollPages(self, int pages) -> bool
1951 If the platform and window class supports it, scrolls the window by
1952 the given number of pages down, if pages is positive, or up if pages
1953 is negative. Returns True if the window was scrolled, False if it was
1954 already on top/bottom and nothing was done.
1956 return _windows_
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1958 def RefreshLine(*args
, **kwargs
):
1959 """RefreshLine(self, size_t line)"""
1960 return _windows_
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1962 def RefreshLines(*args
, **kwargs
):
1963 """RefreshLines(self, size_t from, size_t to)"""
1964 return _windows_
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1966 def HitTestXY(*args
, **kwargs
):
1968 HitTestXY(self, int x, int y) -> int
1970 Test where the given (in client coords) point lies
1972 return _windows_
.VScrolledWindow_HitTestXY(*args
, **kwargs
)
1974 def HitTest(*args
, **kwargs
):
1976 HitTest(self, Point pt) -> int
1978 Test where the given (in client coords) point lies
1980 return _windows_
.VScrolledWindow_HitTest(*args
, **kwargs
)
1982 def RefreshAll(*args
, **kwargs
):
1983 """RefreshAll(self)"""
1984 return _windows_
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1986 def GetLineCount(*args
, **kwargs
):
1987 """GetLineCount(self) -> size_t"""
1988 return _windows_
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1990 def GetVisibleBegin(*args
, **kwargs
):
1991 """GetVisibleBegin(self) -> size_t"""
1992 return _windows_
.VScrolledWindow_GetVisibleBegin(*args
, **kwargs
)
1994 def GetVisibleEnd(*args
, **kwargs
):
1995 """GetVisibleEnd(self) -> size_t"""
1996 return _windows_
.VScrolledWindow_GetVisibleEnd(*args
, **kwargs
)
1998 def IsVisible(*args
, **kwargs
):
1999 """IsVisible(self, size_t line) -> bool"""
2000 return _windows_
.VScrolledWindow_IsVisible(*args
, **kwargs
)
2002 def GetFirstVisibleLine(*args
, **kwargs
):
2003 """GetFirstVisibleLine(self) -> size_t"""
2004 return _windows_
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
2006 def GetLastVisibleLine(*args
, **kwargs
):
2007 """GetLastVisibleLine(self) -> size_t"""
2008 return _windows_
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
2011 class VScrolledWindowPtr(VScrolledWindow
):
2012 def __init__(self
, this
):
2014 if not hasattr(self
,"thisown"): self
.thisown
= 0
2015 self
.__class
__ = VScrolledWindow
2016 _windows_
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
2018 def PreVScrolledWindow(*args
, **kwargs
):
2019 """PreVScrolledWindow() -> VScrolledWindow"""
2020 val
= _windows_
.new_PreVScrolledWindow(*args
, **kwargs
)
2024 class VListBox(VScrolledWindow
):
2025 """Proxy of C++ VListBox class"""
2027 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2028 def __init__(self
, *args
, **kwargs
):
2030 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2031 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
2033 newobj
= _windows_
.new_VListBox(*args
, **kwargs
)
2034 self
.this
= newobj
.this
2037 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
2039 def _setCallbackInfo(*args
, **kwargs
):
2040 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2041 return _windows_
.VListBox__setCallbackInfo(*args
, **kwargs
)
2043 def Create(*args
, **kwargs
):
2045 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2046 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
2048 return _windows_
.VListBox_Create(*args
, **kwargs
)
2050 def GetItemCount(*args
, **kwargs
):
2051 """GetItemCount(self) -> size_t"""
2052 return _windows_
.VListBox_GetItemCount(*args
, **kwargs
)
2054 def HasMultipleSelection(*args
, **kwargs
):
2055 """HasMultipleSelection(self) -> bool"""
2056 return _windows_
.VListBox_HasMultipleSelection(*args
, **kwargs
)
2058 def GetSelection(*args
, **kwargs
):
2059 """GetSelection(self) -> int"""
2060 return _windows_
.VListBox_GetSelection(*args
, **kwargs
)
2062 def IsCurrent(*args
, **kwargs
):
2063 """IsCurrent(self, size_t item) -> bool"""
2064 return _windows_
.VListBox_IsCurrent(*args
, **kwargs
)
2066 def IsSelected(*args
, **kwargs
):
2067 """IsSelected(self, size_t item) -> bool"""
2068 return _windows_
.VListBox_IsSelected(*args
, **kwargs
)
2070 def GetSelectedCount(*args
, **kwargs
):
2071 """GetSelectedCount(self) -> size_t"""
2072 return _windows_
.VListBox_GetSelectedCount(*args
, **kwargs
)
2074 def GetFirstSelected(*args
, **kwargs
):
2075 """GetFirstSelected(self) -> PyObject"""
2076 return _windows_
.VListBox_GetFirstSelected(*args
, **kwargs
)
2078 def GetNextSelected(*args
, **kwargs
):
2079 """GetNextSelected(self, unsigned long cookie) -> PyObject"""
2080 return _windows_
.VListBox_GetNextSelected(*args
, **kwargs
)
2082 def GetMargins(*args
, **kwargs
):
2083 """GetMargins(self) -> Point"""
2084 return _windows_
.VListBox_GetMargins(*args
, **kwargs
)
2086 def GetSelectionBackground(*args
, **kwargs
):
2087 """GetSelectionBackground(self) -> Colour"""
2088 return _windows_
.VListBox_GetSelectionBackground(*args
, **kwargs
)
2090 def SetItemCount(*args
, **kwargs
):
2091 """SetItemCount(self, size_t count)"""
2092 return _windows_
.VListBox_SetItemCount(*args
, **kwargs
)
2094 def Clear(*args
, **kwargs
):
2096 return _windows_
.VListBox_Clear(*args
, **kwargs
)
2098 def SetSelection(*args
, **kwargs
):
2099 """SetSelection(self, int selection)"""
2100 return _windows_
.VListBox_SetSelection(*args
, **kwargs
)
2102 def Select(*args
, **kwargs
):
2103 """Select(self, size_t item, bool select=True) -> bool"""
2104 return _windows_
.VListBox_Select(*args
, **kwargs
)
2106 def SelectRange(*args
, **kwargs
):
2107 """SelectRange(self, size_t from, size_t to) -> bool"""
2108 return _windows_
.VListBox_SelectRange(*args
, **kwargs
)
2110 def Toggle(*args
, **kwargs
):
2111 """Toggle(self, size_t item)"""
2112 return _windows_
.VListBox_Toggle(*args
, **kwargs
)
2114 def SelectAll(*args
, **kwargs
):
2115 """SelectAll(self) -> bool"""
2116 return _windows_
.VListBox_SelectAll(*args
, **kwargs
)
2118 def DeselectAll(*args
, **kwargs
):
2119 """DeselectAll(self) -> bool"""
2120 return _windows_
.VListBox_DeselectAll(*args
, **kwargs
)
2122 def SetMargins(*args
, **kwargs
):
2123 """SetMargins(self, Point pt)"""
2124 return _windows_
.VListBox_SetMargins(*args
, **kwargs
)
2126 def SetMarginsXY(*args
, **kwargs
):
2127 """SetMarginsXY(self, int x, int y)"""
2128 return _windows_
.VListBox_SetMarginsXY(*args
, **kwargs
)
2130 def SetSelectionBackground(*args
, **kwargs
):
2131 """SetSelectionBackground(self, Colour col)"""
2132 return _windows_
.VListBox_SetSelectionBackground(*args
, **kwargs
)
2135 class VListBoxPtr(VListBox
):
2136 def __init__(self
, this
):
2138 if not hasattr(self
,"thisown"): self
.thisown
= 0
2139 self
.__class
__ = VListBox
2140 _windows_
.VListBox_swigregister(VListBoxPtr
)
2141 VListBoxNameStr
= cvar
.VListBoxNameStr
2143 def PreVListBox(*args
, **kwargs
):
2144 """PreVListBox() -> VListBox"""
2145 val
= _windows_
.new_PreVListBox(*args
, **kwargs
)
2149 class HtmlListBox(VListBox
):
2150 """Proxy of C++ HtmlListBox class"""
2152 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2153 def __init__(self
, *args
, **kwargs
):
2155 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2156 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
2158 newobj
= _windows_
.new_HtmlListBox(*args
, **kwargs
)
2159 self
.this
= newobj
.this
2162 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
2164 def _setCallbackInfo(*args
, **kwargs
):
2165 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2166 return _windows_
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
2168 def Create(*args
, **kwargs
):
2170 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2171 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
2173 return _windows_
.HtmlListBox_Create(*args
, **kwargs
)
2175 def RefreshAll(*args
, **kwargs
):
2176 """RefreshAll(self)"""
2177 return _windows_
.HtmlListBox_RefreshAll(*args
, **kwargs
)
2179 def SetItemCount(*args
, **kwargs
):
2180 """SetItemCount(self, size_t count)"""
2181 return _windows_
.HtmlListBox_SetItemCount(*args
, **kwargs
)
2183 def GetFileSystem(*args
, **kwargs
):
2184 """GetFileSystem(self) -> FileSystem"""
2185 return _windows_
.HtmlListBox_GetFileSystem(*args
, **kwargs
)
2188 class HtmlListBoxPtr(HtmlListBox
):
2189 def __init__(self
, this
):
2191 if not hasattr(self
,"thisown"): self
.thisown
= 0
2192 self
.__class
__ = HtmlListBox
2193 _windows_
.HtmlListBox_swigregister(HtmlListBoxPtr
)
2195 def PreHtmlListBox(*args
, **kwargs
):
2196 """PreHtmlListBox() -> HtmlListBox"""
2197 val
= _windows_
.new_PreHtmlListBox(*args
, **kwargs
)
2201 #---------------------------------------------------------------------------
2203 class TaskBarIcon(_core
.EvtHandler
):
2204 """Proxy of C++ TaskBarIcon class"""
2206 return "<%s.%s; proxy of C++ wxPyTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2207 def __init__(self
, *args
, **kwargs
):
2208 """__init__(self) -> TaskBarIcon"""
2209 newobj
= _windows_
.new_TaskBarIcon(*args
, **kwargs
)
2210 self
.this
= newobj
.this
2213 self
._setCallbackInfo
(self
, TaskBarIcon
, 0)
2215 def __del__(self
, destroy
=_windows_
.delete_TaskBarIcon
):
2218 if self
.thisown
: destroy(self
)
2221 def _setCallbackInfo(*args
, **kwargs
):
2222 """_setCallbackInfo(self, PyObject self, PyObject _class, int incref)"""
2223 return _windows_
.TaskBarIcon__setCallbackInfo(*args
, **kwargs
)
2225 def Destroy(*args
, **kwargs
):
2229 Deletes the C++ object this Python object is a proxy for.
2231 val
= _windows_
.TaskBarIcon_Destroy(*args
, **kwargs
)
2235 def IsOk(*args
, **kwargs
):
2236 """IsOk(self) -> bool"""
2237 return _windows_
.TaskBarIcon_IsOk(*args
, **kwargs
)
2239 def __nonzero__(self
): return self
.IsOk()
2240 def IsIconInstalled(*args
, **kwargs
):
2241 """IsIconInstalled(self) -> bool"""
2242 return _windows_
.TaskBarIcon_IsIconInstalled(*args
, **kwargs
)
2244 def SetIcon(*args
, **kwargs
):
2245 """SetIcon(self, Icon icon, String tooltip=EmptyString) -> bool"""
2246 return _windows_
.TaskBarIcon_SetIcon(*args
, **kwargs
)
2248 def RemoveIcon(*args
, **kwargs
):
2249 """RemoveIcon(self) -> bool"""
2250 return _windows_
.TaskBarIcon_RemoveIcon(*args
, **kwargs
)
2252 def PopupMenu(*args
, **kwargs
):
2253 """PopupMenu(self, Menu menu) -> bool"""
2254 return _windows_
.TaskBarIcon_PopupMenu(*args
, **kwargs
)
2257 class TaskBarIconPtr(TaskBarIcon
):
2258 def __init__(self
, this
):
2260 if not hasattr(self
,"thisown"): self
.thisown
= 0
2261 self
.__class
__ = TaskBarIcon
2262 _windows_
.TaskBarIcon_swigregister(TaskBarIconPtr
)
2264 class TaskBarIconEvent(_core
.Event
):
2265 """Proxy of C++ TaskBarIconEvent class"""
2267 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2268 def __init__(self
, *args
, **kwargs
):
2269 """__init__(self, wxEventType evtType, wxTaskBarIcon tbIcon) -> TaskBarIconEvent"""
2270 newobj
= _windows_
.new_TaskBarIconEvent(*args
, **kwargs
)
2271 self
.this
= newobj
.this
2275 class TaskBarIconEventPtr(TaskBarIconEvent
):
2276 def __init__(self
, this
):
2278 if not hasattr(self
,"thisown"): self
.thisown
= 0
2279 self
.__class
__ = TaskBarIconEvent
2280 _windows_
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
2282 wxEVT_TASKBAR_MOVE
= _windows_
.wxEVT_TASKBAR_MOVE
2283 wxEVT_TASKBAR_LEFT_DOWN
= _windows_
.wxEVT_TASKBAR_LEFT_DOWN
2284 wxEVT_TASKBAR_LEFT_UP
= _windows_
.wxEVT_TASKBAR_LEFT_UP
2285 wxEVT_TASKBAR_RIGHT_DOWN
= _windows_
.wxEVT_TASKBAR_RIGHT_DOWN
2286 wxEVT_TASKBAR_RIGHT_UP
= _windows_
.wxEVT_TASKBAR_RIGHT_UP
2287 wxEVT_TASKBAR_LEFT_DCLICK
= _windows_
.wxEVT_TASKBAR_LEFT_DCLICK
2288 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows_
.wxEVT_TASKBAR_RIGHT_DCLICK
2289 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
2290 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
2291 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
2292 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
2293 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
2294 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
2295 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
2297 #---------------------------------------------------------------------------
2299 class ColourData(_core
.Object
):
2301 This class holds a variety of information related to the colour
2302 chooser dialog, used to transfer settings and results to and from the
2306 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2307 def __init__(self
, *args
, **kwargs
):
2309 __init__(self) -> ColourData
2311 Constructor, sets default values.
2313 newobj
= _windows_
.new_ColourData(*args
, **kwargs
)
2314 self
.this
= newobj
.this
2317 def __del__(self
, destroy
=_windows_
.delete_ColourData
):
2320 if self
.thisown
: destroy(self
)
2323 def GetChooseFull(*args
, **kwargs
):
2325 GetChooseFull(self) -> bool
2327 Under Windows, determines whether the Windows colour dialog will
2328 display the full dialog with custom colour selection controls. Has no
2329 meaning under other platforms. The default value is true.
2331 return _windows_
.ColourData_GetChooseFull(*args
, **kwargs
)
2333 def GetColour(*args
, **kwargs
):
2335 GetColour(self) -> Colour
2337 Gets the colour (pre)selected by the dialog.
2339 return _windows_
.ColourData_GetColour(*args
, **kwargs
)
2341 def GetCustomColour(*args
, **kwargs
):
2343 GetCustomColour(self, int i) -> Colour
2345 Gets the i'th custom colour associated with the colour dialog. i
2346 should be an integer between 0 and 15. The default custom colours are
2347 all invalid colours.
2349 return _windows_
.ColourData_GetCustomColour(*args
, **kwargs
)
2351 def SetChooseFull(*args
, **kwargs
):
2353 SetChooseFull(self, int flag)
2355 Under Windows, tells the Windows colour dialog to display the full
2356 dialog with custom colour selection controls. Under other platforms,
2357 has no effect. The default value is true.
2359 return _windows_
.ColourData_SetChooseFull(*args
, **kwargs
)
2361 def SetColour(*args
, **kwargs
):
2363 SetColour(self, Colour colour)
2365 Sets the default colour for the colour dialog. The default colour is
2368 return _windows_
.ColourData_SetColour(*args
, **kwargs
)
2370 def SetCustomColour(*args
, **kwargs
):
2372 SetCustomColour(self, int i, Colour colour)
2374 Sets the i'th custom colour for the colour dialog. i should be an
2375 integer between 0 and 15. The default custom colours are all invalid colours.
2377 return _windows_
.ColourData_SetCustomColour(*args
, **kwargs
)
2380 class ColourDataPtr(ColourData
):
2381 def __init__(self
, this
):
2383 if not hasattr(self
,"thisown"): self
.thisown
= 0
2384 self
.__class
__ = ColourData
2385 _windows_
.ColourData_swigregister(ColourDataPtr
)
2386 FileSelectorPromptStr
= cvar
.FileSelectorPromptStr
2387 DirSelectorPromptStr
= cvar
.DirSelectorPromptStr
2388 DirDialogNameStr
= cvar
.DirDialogNameStr
2389 FileSelectorDefaultWildcardStr
= cvar
.FileSelectorDefaultWildcardStr
2390 GetTextFromUserPromptStr
= cvar
.GetTextFromUserPromptStr
2391 MessageBoxCaptionStr
= cvar
.MessageBoxCaptionStr
2393 class ColourDialog(Dialog
):
2394 """This class represents the colour chooser dialog."""
2396 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2397 def __init__(self
, *args
, **kwargs
):
2399 __init__(self, Window parent, ColourData data=None) -> ColourDialog
2401 Constructor. Pass a parent window, and optionally a `wx.ColourData`,
2402 which will be copied to the colour dialog's internal ColourData
2405 newobj
= _windows_
.new_ColourDialog(*args
, **kwargs
)
2406 self
.this
= newobj
.this
2409 self
._setOORInfo
(self
)
2411 def GetColourData(*args
, **kwargs
):
2413 GetColourData(self) -> ColourData
2415 Returns a reference to the `wx.ColourData` used by the dialog.
2417 return _windows_
.ColourDialog_GetColourData(*args
, **kwargs
)
2420 class ColourDialogPtr(ColourDialog
):
2421 def __init__(self
, this
):
2423 if not hasattr(self
,"thisown"): self
.thisown
= 0
2424 self
.__class
__ = ColourDialog
2425 _windows_
.ColourDialog_swigregister(ColourDialogPtr
)
2428 def GetColourFromUser(*args
, **kwargs
):
2430 GetColourFromUser(Window parent=(wxWindow *) NULL, Colour colInit=wxNullColour,
2431 String caption=EmptyString) -> Colour
2433 return _windows_
.GetColourFromUser(*args
, **kwargs
)
2434 class DirDialog(Dialog
):
2436 wx.DirDialog allows the user to select a directory by browising the
2440 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2441 def __init__(self
, *args
, **kwargs
):
2443 __init__(self, Window parent, String message=DirSelectorPromptStr,
2444 String defaultPath=EmptyString, long style=0,
2445 Point pos=DefaultPosition, Size size=DefaultSize,
2446 String name=DirDialogNameStr) -> DirDialog
2448 Constructor. Use ShowModal method to show the dialog.
2450 newobj
= _windows_
.new_DirDialog(*args
, **kwargs
)
2451 self
.this
= newobj
.this
2454 self
._setOORInfo
(self
)
2456 def GetPath(*args
, **kwargs
):
2458 GetPath(self) -> String
2460 Returns the default or user-selected path.
2462 return _windows_
.DirDialog_GetPath(*args
, **kwargs
)
2464 def GetMessage(*args
, **kwargs
):
2466 GetMessage(self) -> String
2468 Returns the message that will be displayed on the dialog.
2470 return _windows_
.DirDialog_GetMessage(*args
, **kwargs
)
2472 def GetStyle(*args
, **kwargs
):
2474 GetStyle(self) -> long
2476 Returns the dialog style.
2478 return _windows_
.DirDialog_GetStyle(*args
, **kwargs
)
2480 def SetMessage(*args
, **kwargs
):
2482 SetMessage(self, String message)
2484 Sets the message that will be displayed on the dialog.
2486 return _windows_
.DirDialog_SetMessage(*args
, **kwargs
)
2488 def SetPath(*args
, **kwargs
):
2490 SetPath(self, String path)
2492 Sets the default path.
2494 return _windows_
.DirDialog_SetPath(*args
, **kwargs
)
2497 class DirDialogPtr(DirDialog
):
2498 def __init__(self
, this
):
2500 if not hasattr(self
,"thisown"): self
.thisown
= 0
2501 self
.__class
__ = DirDialog
2502 _windows_
.DirDialog_swigregister(DirDialogPtr
)
2504 class FileDialog(Dialog
):
2506 wx.FileDialog allows the user to select one or more files from the
2510 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2511 def __init__(self
, *args
, **kwargs
):
2513 __init__(self, Window parent, String message=FileSelectorPromptStr,
2514 String defaultDir=EmptyString, String defaultFile=EmptyString,
2515 String wildcard=FileSelectorDefaultWildcardStr,
2516 long style=0, Point pos=DefaultPosition) -> FileDialog
2518 Constructor. Use ShowModal method to show the dialog.
2520 newobj
= _windows_
.new_FileDialog(*args
, **kwargs
)
2521 self
.this
= newobj
.this
2524 self
._setOORInfo
(self
)
2526 def SetMessage(*args
, **kwargs
):
2528 SetMessage(self, String message)
2530 Sets the message that will be displayed on the dialog.
2532 return _windows_
.FileDialog_SetMessage(*args
, **kwargs
)
2534 def SetPath(*args
, **kwargs
):
2536 SetPath(self, String path)
2538 Sets the path (the combined directory and filename that will be
2539 returned when the dialog is dismissed).
2541 return _windows_
.FileDialog_SetPath(*args
, **kwargs
)
2543 def SetDirectory(*args
, **kwargs
):
2545 SetDirectory(self, String dir)
2547 Sets the default directory.
2549 return _windows_
.FileDialog_SetDirectory(*args
, **kwargs
)
2551 def SetFilename(*args
, **kwargs
):
2553 SetFilename(self, String name)
2555 Sets the default filename.
2557 return _windows_
.FileDialog_SetFilename(*args
, **kwargs
)
2559 def SetWildcard(*args
, **kwargs
):
2561 SetWildcard(self, String wildCard)
2563 Sets the wildcard, which can contain multiple file types, for
2566 "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
2569 return _windows_
.FileDialog_SetWildcard(*args
, **kwargs
)
2571 def SetStyle(*args
, **kwargs
):
2573 SetStyle(self, long style)
2575 Sets the dialog style.
2577 return _windows_
.FileDialog_SetStyle(*args
, **kwargs
)
2579 def SetFilterIndex(*args
, **kwargs
):
2581 SetFilterIndex(self, int filterIndex)
2583 Sets the default filter index, starting from zero.
2585 return _windows_
.FileDialog_SetFilterIndex(*args
, **kwargs
)
2587 def GetMessage(*args
, **kwargs
):
2589 GetMessage(self) -> String
2591 Returns the message that will be displayed on the dialog.
2593 return _windows_
.FileDialog_GetMessage(*args
, **kwargs
)
2595 def GetPath(*args
, **kwargs
):
2597 GetPath(self) -> String
2599 Returns the full path (directory and filename) of the selected file.
2601 return _windows_
.FileDialog_GetPath(*args
, **kwargs
)
2603 def GetDirectory(*args
, **kwargs
):
2605 GetDirectory(self) -> String
2607 Returns the default directory.
2609 return _windows_
.FileDialog_GetDirectory(*args
, **kwargs
)
2611 def GetFilename(*args
, **kwargs
):
2613 GetFilename(self) -> String
2615 Returns the default filename.
2617 return _windows_
.FileDialog_GetFilename(*args
, **kwargs
)
2619 def GetWildcard(*args
, **kwargs
):
2621 GetWildcard(self) -> String
2623 Returns the file dialog wildcard.
2625 return _windows_
.FileDialog_GetWildcard(*args
, **kwargs
)
2627 def GetStyle(*args
, **kwargs
):
2629 GetStyle(self) -> long
2631 Returns the dialog style.
2633 return _windows_
.FileDialog_GetStyle(*args
, **kwargs
)
2635 def GetFilterIndex(*args
, **kwargs
):
2637 GetFilterIndex(self) -> int
2639 Returns the index into the list of filters supplied, optionally, in
2640 the wildcard parameter. Before the dialog is shown, this is the index
2641 which will be used when the dialog is first displayed. After the
2642 dialog is shown, this is the index selected by the user.
2644 return _windows_
.FileDialog_GetFilterIndex(*args
, **kwargs
)
2646 def GetFilenames(*args
, **kwargs
):
2648 GetFilenames(self) -> PyObject
2650 Returns a list of filenames chosen in the dialog. This function
2651 should only be used with the dialogs which have wx.MULTIPLE style, use
2652 GetFilename for the others.
2654 return _windows_
.FileDialog_GetFilenames(*args
, **kwargs
)
2656 def GetPaths(*args
, **kwargs
):
2658 GetPaths(self) -> PyObject
2660 Fills the array paths with the full paths of the files chosen. This
2661 function should only be used with the dialogs which have wx.MULTIPLE
2662 style, use GetPath for the others.
2664 return _windows_
.FileDialog_GetPaths(*args
, **kwargs
)
2667 class FileDialogPtr(FileDialog
):
2668 def __init__(self
, this
):
2670 if not hasattr(self
,"thisown"): self
.thisown
= 0
2671 self
.__class
__ = FileDialog
2672 _windows_
.FileDialog_swigregister(FileDialogPtr
)
2674 CHOICEDLG_STYLE
= _windows_
.CHOICEDLG_STYLE
2675 class MultiChoiceDialog(Dialog
):
2676 """A simple dialog with a multi selection listbox."""
2678 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2679 def __init__(self
, *args
, **kwargs
):
2681 __init__(self, Window parent, String message, String caption,
2682 List choices=EmptyList, long style=CHOICEDLG_STYLE,
2683 Point pos=DefaultPosition) -> MultiChoiceDialog
2685 Constructor. Use the `ShowModal` method to show the dialog.
2687 :param parent: The parent window.
2688 :param message: Text to display above the list of selections.
2689 :param caption: Text to use in the title bar of the dialog.
2690 :param choices: A list of strings or unicode objects that the
2691 user is allowed to choose from.
2692 :param style: Styles to apply to the dialog. The default value is
2693 equivallent to wx.DEFAULT_DIALOG_STYLE|wx.RESIZE_BORDER|wx.OK|wx.CANCEL|wx.CENTER.
2694 :param pos: Where to position the dialog (not used on Windows)
2698 newobj
= _windows_
.new_MultiChoiceDialog(*args
, **kwargs
)
2699 self
.this
= newobj
.this
2702 self
._setOORInfo
(self
)
2704 def SetSelections(*args
, **kwargs
):
2706 SetSelections(List selections)
2708 Specify the items in the list that should be selected, using a list of
2709 integers. The list should specify the indexes of the items that
2712 return _windows_
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
2714 def GetSelections(*args
, **kwargs
):
2716 GetSelections() -> [selections]
2718 Returns a list of integers representing the items that are selected.
2719 If an item is selected then its index will appear in the list.
2721 return _windows_
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
2724 class MultiChoiceDialogPtr(MultiChoiceDialog
):
2725 def __init__(self
, this
):
2727 if not hasattr(self
,"thisown"): self
.thisown
= 0
2728 self
.__class
__ = MultiChoiceDialog
2729 _windows_
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
2731 class SingleChoiceDialog(Dialog
):
2732 """A simple dialog with a single selection listbox."""
2734 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2735 def __init__(self
, *args
, **kwargs
):
2737 __init__(Window parent, String message, String caption,
2738 List choices=EmptyList, long style=CHOICEDLG_STYLE,
2739 Point pos=DefaultPosition) -> SingleChoiceDialog
2741 Constructor. Use ShowModal method to show the dialog.
2743 newobj
= _windows_
.new_SingleChoiceDialog(*args
, **kwargs
)
2744 self
.this
= newobj
.this
2747 self
._setOORInfo
(self
)
2749 def GetSelection(*args
, **kwargs
):
2751 GetSelection(self) -> int
2753 Get the index of teh currently selected item.
2755 return _windows_
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
2757 def GetStringSelection(*args
, **kwargs
):
2759 GetStringSelection(self) -> String
2761 Returns the string value of the currently selected item
2763 return _windows_
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
2765 def SetSelection(*args
, **kwargs
):
2767 SetSelection(self, int sel)
2769 Set the current selected item to sel
2771 return _windows_
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
2774 class SingleChoiceDialogPtr(SingleChoiceDialog
):
2775 def __init__(self
, this
):
2777 if not hasattr(self
,"thisown"): self
.thisown
= 0
2778 self
.__class
__ = SingleChoiceDialog
2779 _windows_
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
2781 TextEntryDialogStyle
= _windows_
.TextEntryDialogStyle
2782 class TextEntryDialog(Dialog
):
2783 """A dialog with text control, [ok] and [cancel] buttons"""
2785 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2786 def __init__(self
, *args
, **kwargs
):
2788 __init__(self, Window parent, String message, String caption=GetTextFromUserPromptStr,
2789 String defaultValue=EmptyString,
2790 long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> TextEntryDialog
2792 Constructor. Use ShowModal method to show the dialog.
2794 newobj
= _windows_
.new_TextEntryDialog(*args
, **kwargs
)
2795 self
.this
= newobj
.this
2798 self
._setOORInfo
(self
)
2800 def GetValue(*args
, **kwargs
):
2802 GetValue(self) -> String
2804 Returns the text that the user has entered if the user has pressed OK,
2805 or the original value if the user has pressed Cancel.
2807 return _windows_
.TextEntryDialog_GetValue(*args
, **kwargs
)
2809 def SetValue(*args
, **kwargs
):
2811 SetValue(self, String value)
2813 Sets the default text value.
2815 return _windows_
.TextEntryDialog_SetValue(*args
, **kwargs
)
2818 class TextEntryDialogPtr(TextEntryDialog
):
2819 def __init__(self
, this
):
2821 if not hasattr(self
,"thisown"): self
.thisown
= 0
2822 self
.__class
__ = TextEntryDialog
2823 _windows_
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
2825 class PasswordEntryDialog(TextEntryDialog
):
2826 """Proxy of C++ PasswordEntryDialog class"""
2828 return "<%s.%s; proxy of C++ wxPasswordEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2829 def __init__(self
, *args
, **kwargs
):
2831 __init__(self, Window parent, String message, String caption=GetPasswordFromUserPromptStr,
2832 String value=EmptyString,
2833 long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> PasswordEntryDialog
2835 newobj
= _windows_
.new_PasswordEntryDialog(*args
, **kwargs
)
2836 self
.this
= newobj
.this
2840 class PasswordEntryDialogPtr(PasswordEntryDialog
):
2841 def __init__(self
, this
):
2843 if not hasattr(self
,"thisown"): self
.thisown
= 0
2844 self
.__class
__ = PasswordEntryDialog
2845 _windows_
.PasswordEntryDialog_swigregister(PasswordEntryDialogPtr
)
2846 GetPasswordFromUserPromptStr
= cvar
.GetPasswordFromUserPromptStr
2848 class FontData(_core
.Object
):
2850 This class holds a variety of information related to font dialogs and
2851 is used to transfer settings to and results from a `wx.FontDialog`.
2854 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2855 def __init__(self
, *args
, **kwargs
):
2857 __init__(self) -> FontData
2859 This class holds a variety of information related to font dialogs and
2860 is used to transfer settings to and results from a `wx.FontDialog`.
2862 newobj
= _windows_
.new_FontData(*args
, **kwargs
)
2863 self
.this
= newobj
.this
2866 def __del__(self
, destroy
=_windows_
.delete_FontData
):
2869 if self
.thisown
: destroy(self
)
2872 def EnableEffects(*args
, **kwargs
):
2874 EnableEffects(self, bool enable)
2876 Enables or disables 'effects' under MS Windows only. This refers to
2877 the controls for manipulating colour, strikeout and underline
2878 properties. The default value is true.
2880 return _windows_
.FontData_EnableEffects(*args
, **kwargs
)
2882 def GetAllowSymbols(*args
, **kwargs
):
2884 GetAllowSymbols(self) -> bool
2886 Under MS Windows, returns a flag determining whether symbol fonts can
2887 be selected. Has no effect on other platforms. The default value is
2890 return _windows_
.FontData_GetAllowSymbols(*args
, **kwargs
)
2892 def GetColour(*args
, **kwargs
):
2894 GetColour(self) -> Colour
2896 Gets the colour associated with the font dialog. The default value is
2899 return _windows_
.FontData_GetColour(*args
, **kwargs
)
2901 def GetChosenFont(*args
, **kwargs
):
2903 GetChosenFont(self) -> Font
2905 Gets the font chosen by the user.
2907 return _windows_
.FontData_GetChosenFont(*args
, **kwargs
)
2909 def GetEnableEffects(*args
, **kwargs
):
2911 GetEnableEffects(self) -> bool
2913 Determines whether 'effects' are enabled under Windows.
2915 return _windows_
.FontData_GetEnableEffects(*args
, **kwargs
)
2917 def GetInitialFont(*args
, **kwargs
):
2919 GetInitialFont(self) -> Font
2921 Gets the font that will be initially used by the font dialog. This
2922 should have previously been set by the application.
2924 return _windows_
.FontData_GetInitialFont(*args
, **kwargs
)
2926 def GetShowHelp(*args
, **kwargs
):
2928 GetShowHelp(self) -> bool
2930 Returns true if the Help button will be shown (Windows only). The
2931 default value is false.
2933 return _windows_
.FontData_GetShowHelp(*args
, **kwargs
)
2935 def SetAllowSymbols(*args
, **kwargs
):
2937 SetAllowSymbols(self, bool allowSymbols)
2939 Under MS Windows, determines whether symbol fonts can be selected. Has
2940 no effect on other platforms. The default value is true.
2942 return _windows_
.FontData_SetAllowSymbols(*args
, **kwargs
)
2944 def SetChosenFont(*args
, **kwargs
):
2946 SetChosenFont(self, Font font)
2948 Sets the font that will be returned to the user (normally for internal
2951 return _windows_
.FontData_SetChosenFont(*args
, **kwargs
)
2953 def SetColour(*args
, **kwargs
):
2955 SetColour(self, Colour colour)
2957 Sets the colour that will be used for the font foreground colour. The
2958 default colour is black.
2960 return _windows_
.FontData_SetColour(*args
, **kwargs
)
2962 def SetInitialFont(*args
, **kwargs
):
2964 SetInitialFont(self, Font font)
2966 Sets the font that will be initially used by the font dialog.
2968 return _windows_
.FontData_SetInitialFont(*args
, **kwargs
)
2970 def SetRange(*args
, **kwargs
):
2972 SetRange(self, int min, int max)
2974 Sets the valid range for the font point size (Windows only). The
2975 default is 0, 0 (unrestricted range).
2977 return _windows_
.FontData_SetRange(*args
, **kwargs
)
2979 def SetShowHelp(*args
, **kwargs
):
2981 SetShowHelp(self, bool showHelp)
2983 Determines whether the Help button will be displayed in the font
2984 dialog (Windows only). The default value is false.
2986 return _windows_
.FontData_SetShowHelp(*args
, **kwargs
)
2989 class FontDataPtr(FontData
):
2990 def __init__(self
, this
):
2992 if not hasattr(self
,"thisown"): self
.thisown
= 0
2993 self
.__class
__ = FontData
2994 _windows_
.FontData_swigregister(FontDataPtr
)
2996 class FontDialog(Dialog
):
2998 wx.FontDialog allows the user to select a system font and its attributes.
3004 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3005 def __init__(self
, *args
, **kwargs
):
3007 __init__(self, Window parent, FontData data) -> FontDialog
3009 Constructor. Pass a parent window and the `wx.FontData` object to be
3010 used to initialize the dialog controls. Call `ShowModal` to display
3011 the dialog. If ShowModal returns ``wx.ID_OK`` then you can fetch the
3012 results with via the `wx.FontData` returned by `GetFontData`.
3014 newobj
= _windows_
.new_FontDialog(*args
, **kwargs
)
3015 self
.this
= newobj
.this
3018 self
._setOORInfo
(self
)
3020 def GetFontData(*args
, **kwargs
):
3022 GetFontData(self) -> FontData
3024 Returns a reference to the internal `wx.FontData` used by the
3027 return _windows_
.FontDialog_GetFontData(*args
, **kwargs
)
3030 class FontDialogPtr(FontDialog
):
3031 def __init__(self
, this
):
3033 if not hasattr(self
,"thisown"): self
.thisown
= 0
3034 self
.__class
__ = FontDialog
3035 _windows_
.FontDialog_swigregister(FontDialogPtr
)
3038 def GetFontFromUser(*args
, **kwargs
):
3039 """GetFontFromUser(Window parent=None, Font fontInit=wxNullFont, String caption=EmptyString) -> Font"""
3040 return _windows_
.GetFontFromUser(*args
, **kwargs
)
3041 class MessageDialog(Dialog
):
3043 This class provides a simple dialog that shows a single or multi-line
3044 message, with a choice of OK, Yes, No and/or Cancel buttons.
3047 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3048 def __init__(self
, *args
, **kwargs
):
3050 __init__(self, Window parent, String message, String caption=MessageBoxCaptionStr,
3051 long style=wxOK|wxCANCEL|wxCENTRE,
3052 Point pos=DefaultPosition) -> MessageDialog
3054 Constructor, use `ShowModal` to display the dialog.
3056 newobj
= _windows_
.new_MessageDialog(*args
, **kwargs
)
3057 self
.this
= newobj
.this
3060 self
._setOORInfo
(self
)
3063 class MessageDialogPtr(MessageDialog
):
3064 def __init__(self
, this
):
3066 if not hasattr(self
,"thisown"): self
.thisown
= 0
3067 self
.__class
__ = MessageDialog
3068 _windows_
.MessageDialog_swigregister(MessageDialogPtr
)
3070 class ProgressDialog(Frame
):
3072 A dialog that shows a short message and a progress bar. Optionally, it
3073 can display an ABORT button.
3076 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3077 def __init__(self
, *args
, **kwargs
):
3079 __init__(self, String title, String message, int maximum=100, Window parent=None,
3080 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
3082 Constructor. Creates the dialog, displays it and disables user input
3083 for other windows, or, if wx.PD_APP_MODAL flag is not given, for its
3086 newobj
= _windows_
.new_ProgressDialog(*args
, **kwargs
)
3087 self
.this
= newobj
.this
3090 self
._setOORInfo
(self
)
3092 def Update(*args
, **kwargs
):
3094 Update(self, int value, String newmsg=EmptyString) -> bool
3096 Updates the dialog, setting the progress bar to the new value and, if
3097 given changes the message above it. The value given should be less
3098 than or equal to the maximum value given to the constructor and the
3099 dialog is closed if it is equal to the maximum. Returns True unless
3100 the Cancel button has been pressed.
3102 If false is returned, the application can either immediately destroy
3103 the dialog or ask the user for the confirmation and if the abort is
3104 not confirmed the dialog may be resumed with Resume function.
3106 return _windows_
.ProgressDialog_Update(*args
, **kwargs
)
3108 def Resume(*args
, **kwargs
):
3112 Can be used to continue with the dialog, after the user had chosen to
3115 return _windows_
.ProgressDialog_Resume(*args
, **kwargs
)
3118 class ProgressDialogPtr(ProgressDialog
):
3119 def __init__(self
, this
):
3121 if not hasattr(self
,"thisown"): self
.thisown
= 0
3122 self
.__class
__ = ProgressDialog
3123 _windows_
.ProgressDialog_swigregister(ProgressDialogPtr
)
3125 FR_DOWN
= _windows_
.FR_DOWN
3126 FR_WHOLEWORD
= _windows_
.FR_WHOLEWORD
3127 FR_MATCHCASE
= _windows_
.FR_MATCHCASE
3128 FR_REPLACEDIALOG
= _windows_
.FR_REPLACEDIALOG
3129 FR_NOUPDOWN
= _windows_
.FR_NOUPDOWN
3130 FR_NOMATCHCASE
= _windows_
.FR_NOMATCHCASE
3131 FR_NOWHOLEWORD
= _windows_
.FR_NOWHOLEWORD
3132 wxEVT_COMMAND_FIND
= _windows_
.wxEVT_COMMAND_FIND
3133 wxEVT_COMMAND_FIND_NEXT
= _windows_
.wxEVT_COMMAND_FIND_NEXT
3134 wxEVT_COMMAND_FIND_REPLACE
= _windows_
.wxEVT_COMMAND_FIND_REPLACE
3135 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows_
.wxEVT_COMMAND_FIND_REPLACE_ALL
3136 wxEVT_COMMAND_FIND_CLOSE
= _windows_
.wxEVT_COMMAND_FIND_CLOSE
3137 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
3138 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
3139 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
3140 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
3141 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
3143 # For backwards compatibility. Should they be removed?
3144 EVT_COMMAND_FIND
= EVT_FIND
3145 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
3146 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
3147 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
3148 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
3150 class FindDialogEvent(_core
.CommandEvent
):
3151 """Events for the FindReplaceDialog"""
3153 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3154 def __init__(self
, *args
, **kwargs
):
3156 __init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent
3158 Events for the FindReplaceDialog
3160 newobj
= _windows_
.new_FindDialogEvent(*args
, **kwargs
)
3161 self
.this
= newobj
.this
3164 def GetFlags(*args
, **kwargs
):
3166 GetFlags(self) -> int
3168 Get the currently selected flags: this is the combination of
3169 wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.
3171 return _windows_
.FindDialogEvent_GetFlags(*args
, **kwargs
)
3173 def GetFindString(*args
, **kwargs
):
3175 GetFindString(self) -> String
3177 Return the string to find (never empty).
3179 return _windows_
.FindDialogEvent_GetFindString(*args
, **kwargs
)
3181 def GetReplaceString(*args
, **kwargs
):
3183 GetReplaceString(self) -> String
3185 Return the string to replace the search string with (only for replace
3186 and replace all events).
3188 return _windows_
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
3190 def GetDialog(*args
, **kwargs
):
3192 GetDialog(self) -> FindReplaceDialog
3194 Return the pointer to the dialog which generated this event.
3196 return _windows_
.FindDialogEvent_GetDialog(*args
, **kwargs
)
3198 def SetFlags(*args
, **kwargs
):
3199 """SetFlags(self, int flags)"""
3200 return _windows_
.FindDialogEvent_SetFlags(*args
, **kwargs
)
3202 def SetFindString(*args
, **kwargs
):
3203 """SetFindString(self, String str)"""
3204 return _windows_
.FindDialogEvent_SetFindString(*args
, **kwargs
)
3206 def SetReplaceString(*args
, **kwargs
):
3207 """SetReplaceString(self, String str)"""
3208 return _windows_
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
3211 class FindDialogEventPtr(FindDialogEvent
):
3212 def __init__(self
, this
):
3214 if not hasattr(self
,"thisown"): self
.thisown
= 0
3215 self
.__class
__ = FindDialogEvent
3216 _windows_
.FindDialogEvent_swigregister(FindDialogEventPtr
)
3218 class FindReplaceData(_core
.Object
):
3220 wx.FindReplaceData holds the data for wx.FindReplaceDialog. It is used
3221 to initialize the dialog with the default values and will keep the
3222 last values from the dialog when it is closed. It is also updated each
3223 time a `wx.FindDialogEvent` is generated so instead of using the
3224 `wx.FindDialogEvent` methods you can also directly query this object.
3226 Note that all SetXXX() methods may only be called before showing the
3227 dialog and calling them has no effect later.
3230 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3231 def __init__(self
, *args
, **kwargs
):
3233 __init__(self, int flags=0) -> FindReplaceData
3235 Constuctor initializes the flags to default value (0).
3237 newobj
= _windows_
.new_FindReplaceData(*args
, **kwargs
)
3238 self
.this
= newobj
.this
3241 def __del__(self
, destroy
=_windows_
.delete_FindReplaceData
):
3244 if self
.thisown
: destroy(self
)
3247 def GetFindString(*args
, **kwargs
):
3249 GetFindString(self) -> String
3251 Get the string to find.
3253 return _windows_
.FindReplaceData_GetFindString(*args
, **kwargs
)
3255 def GetReplaceString(*args
, **kwargs
):
3257 GetReplaceString(self) -> String
3259 Get the replacement string.
3261 return _windows_
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
3263 def GetFlags(*args
, **kwargs
):
3265 GetFlags(self) -> int
3267 Get the combination of flag values.
3269 return _windows_
.FindReplaceData_GetFlags(*args
, **kwargs
)
3271 def SetFlags(*args
, **kwargs
):
3273 SetFlags(self, int flags)
3275 Set the flags to use to initialize the controls of the dialog.
3277 return _windows_
.FindReplaceData_SetFlags(*args
, **kwargs
)
3279 def SetFindString(*args
, **kwargs
):
3281 SetFindString(self, String str)
3283 Set the string to find (used as initial value by the dialog).
3285 return _windows_
.FindReplaceData_SetFindString(*args
, **kwargs
)
3287 def SetReplaceString(*args
, **kwargs
):
3289 SetReplaceString(self, String str)
3291 Set the replacement string (used as initial value by the dialog).
3293 return _windows_
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
3296 class FindReplaceDataPtr(FindReplaceData
):
3297 def __init__(self
, this
):
3299 if not hasattr(self
,"thisown"): self
.thisown
= 0
3300 self
.__class
__ = FindReplaceData
3301 _windows_
.FindReplaceData_swigregister(FindReplaceDataPtr
)
3303 class FindReplaceDialog(Dialog
):
3305 wx.FindReplaceDialog is a standard modeless dialog which is used to
3306 allow the user to search for some text (and possibly replace it with
3307 something else). The actual searching is supposed to be done in the
3308 owner window which is the parent of this dialog. Note that it means
3309 that unlike for the other standard dialogs this one must have a parent
3310 window. Also note that there is no way to use this dialog in a modal
3311 way; it is always, by design and implementation, modeless.
3314 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3315 def __init__(self
, *args
, **kwargs
):
3317 __init__(self, Window parent, FindReplaceData data, String title,
3318 int style=0) -> FindReplaceDialog
3320 Create a FindReplaceDialog. The parent and data parameters must be
3321 non-None. Use Show to display the dialog.
3323 newobj
= _windows_
.new_FindReplaceDialog(*args
, **kwargs
)
3324 self
.this
= newobj
.this
3327 self
._setOORInfo
(self
)
3329 def Create(*args
, **kwargs
):
3331 Create(self, Window parent, FindReplaceData data, String title,
3332 int style=0) -> bool
3334 Create the dialog, for 2-phase create.
3336 return _windows_
.FindReplaceDialog_Create(*args
, **kwargs
)
3338 def GetData(*args
, **kwargs
):
3340 GetData(self) -> FindReplaceData
3342 Get the FindReplaceData object used by this dialog.
3344 return _windows_
.FindReplaceDialog_GetData(*args
, **kwargs
)
3346 def SetData(*args
, **kwargs
):
3348 SetData(self, FindReplaceData data)
3350 Set the FindReplaceData object used by this dialog.
3352 return _windows_
.FindReplaceDialog_SetData(*args
, **kwargs
)
3355 class FindReplaceDialogPtr(FindReplaceDialog
):
3356 def __init__(self
, this
):
3358 if not hasattr(self
,"thisown"): self
.thisown
= 0
3359 self
.__class
__ = FindReplaceDialog
3360 _windows_
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
3362 def PreFindReplaceDialog(*args
, **kwargs
):
3364 PreFindReplaceDialog() -> FindReplaceDialog
3366 Precreate a FindReplaceDialog for 2-phase creation
3368 val
= _windows_
.new_PreFindReplaceDialog(*args
, **kwargs
)
3372 #---------------------------------------------------------------------------
3374 IDM_WINDOWTILE
= _windows_
.IDM_WINDOWTILE
3375 IDM_WINDOWTILEHOR
= _windows_
.IDM_WINDOWTILEHOR
3376 IDM_WINDOWCASCADE
= _windows_
.IDM_WINDOWCASCADE
3377 IDM_WINDOWICONS
= _windows_
.IDM_WINDOWICONS
3378 IDM_WINDOWNEXT
= _windows_
.IDM_WINDOWNEXT
3379 IDM_WINDOWTILEVERT
= _windows_
.IDM_WINDOWTILEVERT
3380 IDM_WINDOWPREV
= _windows_
.IDM_WINDOWPREV
3381 FIRST_MDI_CHILD
= _windows_
.FIRST_MDI_CHILD
3382 LAST_MDI_CHILD
= _windows_
.LAST_MDI_CHILD
3383 class MDIParentFrame(Frame
):
3384 """Proxy of C++ MDIParentFrame class"""
3386 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3387 def __init__(self
, *args
, **kwargs
):
3389 __init__(self, Window parent, int id=-1, String title=EmptyString,
3390 Point pos=DefaultPosition, Size size=DefaultSize,
3391 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3392 String name=FrameNameStr) -> MDIParentFrame
3394 newobj
= _windows_
.new_MDIParentFrame(*args
, **kwargs
)
3395 self
.this
= newobj
.this
3398 self
._setOORInfo
(self
)
3400 def Create(*args
, **kwargs
):
3402 Create(self, Window parent, int id=-1, String title=EmptyString,
3403 Point pos=DefaultPosition, Size size=DefaultSize,
3404 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3405 String name=FrameNameStr) -> bool
3407 return _windows_
.MDIParentFrame_Create(*args
, **kwargs
)
3409 def ActivateNext(*args
, **kwargs
):
3410 """ActivateNext(self)"""
3411 return _windows_
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
3413 def ActivatePrevious(*args
, **kwargs
):
3414 """ActivatePrevious(self)"""
3415 return _windows_
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
3417 def ArrangeIcons(*args
, **kwargs
):
3418 """ArrangeIcons(self)"""
3419 return _windows_
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
3421 def Cascade(*args
, **kwargs
):
3423 return _windows_
.MDIParentFrame_Cascade(*args
, **kwargs
)
3425 def GetActiveChild(*args
, **kwargs
):
3426 """GetActiveChild(self) -> MDIChildFrame"""
3427 return _windows_
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
3429 def GetClientWindow(*args
, **kwargs
):
3430 """GetClientWindow(self) -> MDIClientWindow"""
3431 return _windows_
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
3433 def GetToolBar(*args
, **kwargs
):
3434 """GetToolBar(self) -> Window"""
3435 return _windows_
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
3437 def Tile(*args
, **kwargs
):
3438 """Tile(self, int orient=HORIZONTAL)"""
3439 return _windows_
.MDIParentFrame_Tile(*args
, **kwargs
)
3442 class MDIParentFramePtr(MDIParentFrame
):
3443 def __init__(self
, this
):
3445 if not hasattr(self
,"thisown"): self
.thisown
= 0
3446 self
.__class
__ = MDIParentFrame
3447 _windows_
.MDIParentFrame_swigregister(MDIParentFramePtr
)
3449 def PreMDIParentFrame(*args
, **kwargs
):
3450 """PreMDIParentFrame() -> MDIParentFrame"""
3451 val
= _windows_
.new_PreMDIParentFrame(*args
, **kwargs
)
3455 class MDIChildFrame(Frame
):
3456 """Proxy of C++ MDIChildFrame class"""
3458 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3459 def __init__(self
, *args
, **kwargs
):
3461 __init__(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3462 Point pos=DefaultPosition, Size size=DefaultSize,
3463 long style=DEFAULT_FRAME_STYLE,
3464 String name=FrameNameStr) -> MDIChildFrame
3466 newobj
= _windows_
.new_MDIChildFrame(*args
, **kwargs
)
3467 self
.this
= newobj
.this
3470 self
._setOORInfo
(self
)
3472 def Create(*args
, **kwargs
):
3474 Create(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3475 Point pos=DefaultPosition, Size size=DefaultSize,
3476 long style=DEFAULT_FRAME_STYLE,
3477 String name=FrameNameStr) -> bool
3479 return _windows_
.MDIChildFrame_Create(*args
, **kwargs
)
3481 def Activate(*args
, **kwargs
):
3482 """Activate(self)"""
3483 return _windows_
.MDIChildFrame_Activate(*args
, **kwargs
)
3485 def Maximize(*args
, **kwargs
):
3486 """Maximize(self, bool maximize=True)"""
3487 return _windows_
.MDIChildFrame_Maximize(*args
, **kwargs
)
3489 def Restore(*args
, **kwargs
):
3491 return _windows_
.MDIChildFrame_Restore(*args
, **kwargs
)
3494 class MDIChildFramePtr(MDIChildFrame
):
3495 def __init__(self
, this
):
3497 if not hasattr(self
,"thisown"): self
.thisown
= 0
3498 self
.__class
__ = MDIChildFrame
3499 _windows_
.MDIChildFrame_swigregister(MDIChildFramePtr
)
3501 def PreMDIChildFrame(*args
, **kwargs
):
3502 """PreMDIChildFrame() -> MDIChildFrame"""
3503 val
= _windows_
.new_PreMDIChildFrame(*args
, **kwargs
)
3507 class MDIClientWindow(_core
.Window
):
3508 """Proxy of C++ MDIClientWindow class"""
3510 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3511 def __init__(self
, *args
, **kwargs
):
3512 """__init__(self, MDIParentFrame parent, long style=0) -> MDIClientWindow"""
3513 newobj
= _windows_
.new_MDIClientWindow(*args
, **kwargs
)
3514 self
.this
= newobj
.this
3517 self
._setOORInfo
(self
)
3519 def Create(*args
, **kwargs
):
3520 """Create(self, MDIParentFrame parent, long style=0) -> bool"""
3521 return _windows_
.MDIClientWindow_Create(*args
, **kwargs
)
3524 class MDIClientWindowPtr(MDIClientWindow
):
3525 def __init__(self
, this
):
3527 if not hasattr(self
,"thisown"): self
.thisown
= 0
3528 self
.__class
__ = MDIClientWindow
3529 _windows_
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
3531 def PreMDIClientWindow(*args
, **kwargs
):
3532 """PreMDIClientWindow() -> MDIClientWindow"""
3533 val
= _windows_
.new_PreMDIClientWindow(*args
, **kwargs
)
3537 #---------------------------------------------------------------------------
3539 class PyWindow(_core
.Window
):
3540 """Proxy of C++ PyWindow class"""
3542 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3543 def __init__(self
, *args
, **kwargs
):
3545 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3546 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyWindow
3548 newobj
= _windows_
.new_PyWindow(*args
, **kwargs
)
3549 self
.this
= newobj
.this
3552 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
3554 def _setCallbackInfo(*args
, **kwargs
):
3555 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3556 return _windows_
.PyWindow__setCallbackInfo(*args
, **kwargs
)
3558 def SetBestSize(*args
, **kwargs
):
3559 """SetBestSize(self, Size size)"""
3560 return _windows_
.PyWindow_SetBestSize(*args
, **kwargs
)
3562 def DoEraseBackground(*args
, **kwargs
):
3563 """DoEraseBackground(self, DC dc) -> bool"""
3564 return _windows_
.PyWindow_DoEraseBackground(*args
, **kwargs
)
3566 def DoMoveWindow(*args
, **kwargs
):
3567 """DoMoveWindow(self, int x, int y, int width, int height)"""
3568 return _windows_
.PyWindow_DoMoveWindow(*args
, **kwargs
)
3570 def DoSetSize(*args
, **kwargs
):
3571 """DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3572 return _windows_
.PyWindow_DoSetSize(*args
, **kwargs
)
3574 def DoSetClientSize(*args
, **kwargs
):
3575 """DoSetClientSize(self, int width, int height)"""
3576 return _windows_
.PyWindow_DoSetClientSize(*args
, **kwargs
)
3578 def DoSetVirtualSize(*args
, **kwargs
):
3579 """DoSetVirtualSize(self, int x, int y)"""
3580 return _windows_
.PyWindow_DoSetVirtualSize(*args
, **kwargs
)
3582 def DoGetSize(*args
, **kwargs
):
3583 """DoGetSize() -> (width, height)"""
3584 return _windows_
.PyWindow_DoGetSize(*args
, **kwargs
)
3586 def DoGetClientSize(*args
, **kwargs
):
3587 """DoGetClientSize() -> (width, height)"""
3588 return _windows_
.PyWindow_DoGetClientSize(*args
, **kwargs
)
3590 def DoGetPosition(*args
, **kwargs
):
3591 """DoGetPosition() -> (x,y)"""
3592 return _windows_
.PyWindow_DoGetPosition(*args
, **kwargs
)
3594 def DoGetVirtualSize(*args
, **kwargs
):
3595 """DoGetVirtualSize(self) -> Size"""
3596 return _windows_
.PyWindow_DoGetVirtualSize(*args
, **kwargs
)
3598 def DoGetBestSize(*args
, **kwargs
):
3599 """DoGetBestSize(self) -> Size"""
3600 return _windows_
.PyWindow_DoGetBestSize(*args
, **kwargs
)
3602 def InitDialog(*args
, **kwargs
):
3606 Sends an EVT_INIT_DIALOG event, whose handler usually transfers data
3607 to the dialog via validators.
3609 return _windows_
.PyWindow_InitDialog(*args
, **kwargs
)
3611 def TransferDataToWindow(*args
, **kwargs
):
3613 TransferDataToWindow(self) -> bool
3615 Transfers values to child controls from data areas specified by their
3616 validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
3617 style flag set, the method will also call TransferDataToWindow() of
3620 return _windows_
.PyWindow_TransferDataToWindow(*args
, **kwargs
)
3622 def TransferDataFromWindow(*args
, **kwargs
):
3624 TransferDataFromWindow(self) -> bool
3626 Transfers values from child controls to data areas specified by their
3627 validators. Returns false if a transfer failed. If the window has
3628 wx.WS_EX_VALIDATE_RECURSIVELY extra style flag set, the method will
3629 also call TransferDataFromWindow() of all child windows.
3631 return _windows_
.PyWindow_TransferDataFromWindow(*args
, **kwargs
)
3633 def Validate(*args
, **kwargs
):
3635 Validate(self) -> bool
3637 Validates the current values of the child controls using their
3638 validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
3639 style flag set, the method will also call Validate() of all child
3640 windows. Returns false if any of the validations failed.
3642 return _windows_
.PyWindow_Validate(*args
, **kwargs
)
3644 def AcceptsFocus(*args
, **kwargs
):
3646 AcceptsFocus(self) -> bool
3648 Can this window have focus?
3650 return _windows_
.PyWindow_AcceptsFocus(*args
, **kwargs
)
3652 def AcceptsFocusFromKeyboard(*args
, **kwargs
):
3654 AcceptsFocusFromKeyboard(self) -> bool
3656 Can this window be given focus by keyboard navigation? if not, the
3657 only way to give it focus (provided it accepts it at all) is to click
3660 return _windows_
.PyWindow_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3662 def GetMaxSize(*args
, **kwargs
):
3663 """GetMaxSize(self) -> Size"""
3664 return _windows_
.PyWindow_GetMaxSize(*args
, **kwargs
)
3666 def AddChild(*args
, **kwargs
):
3668 AddChild(self, Window child)
3670 Adds a child window. This is called automatically by window creation
3671 functions so should not be required by the application programmer.
3673 return _windows_
.PyWindow_AddChild(*args
, **kwargs
)
3675 def RemoveChild(*args
, **kwargs
):
3677 RemoveChild(self, Window child)
3679 Removes a child window. This is called automatically by window
3680 deletion functions so should not be required by the application
3683 return _windows_
.PyWindow_RemoveChild(*args
, **kwargs
)
3685 def ShouldInheritColours(*args
, **kwargs
):
3687 ShouldInheritColours(self) -> bool
3689 Return true from here to allow the colours of this window to be
3690 changed by InheritAttributes, returning false forbids inheriting them
3691 from the parent window.
3693 The base class version returns false, but this method is overridden in
3694 wxControl where it returns true.
3696 return _windows_
.PyWindow_ShouldInheritColours(*args
, **kwargs
)
3698 def GetDefaultAttributes(*args
, **kwargs
):
3699 """GetDefaultAttributes(self) -> VisualAttributes"""
3700 return _windows_
.PyWindow_GetDefaultAttributes(*args
, **kwargs
)
3702 def OnInternalIdle(*args
, **kwargs
):
3703 """OnInternalIdle(self)"""
3704 return _windows_
.PyWindow_OnInternalIdle(*args
, **kwargs
)
3706 def base_DoMoveWindow(*args
, **kw
):
3707 return PyWindow
.DoMoveWindow(*args
, **kw
)
3708 base_DoMoveWindow
= wx
._deprecated
(base_DoMoveWindow
,
3709 "Please use PyWindow.DoMoveWindow instead.")
3711 def base_DoSetSize(*args
, **kw
):
3712 return PyWindow
.DoSetSize(*args
, **kw
)
3713 base_DoSetSize
= wx
._deprecated
(base_DoSetSize
,
3714 "Please use PyWindow.DoSetSize instead.")
3716 def base_DoSetClientSize(*args
, **kw
):
3717 return PyWindow
.DoSetClientSize(*args
, **kw
)
3718 base_DoSetClientSize
= wx
._deprecated
(base_DoSetClientSize
,
3719 "Please use PyWindow.DoSetClientSize instead.")
3721 def base_DoSetVirtualSize(*args
, **kw
):
3722 return PyWindow
.DoSetVirtualSize(*args
, **kw
)
3723 base_DoSetVirtualSize
= wx
._deprecated
(base_DoSetVirtualSize
,
3724 "Please use PyWindow.DoSetVirtualSize instead.")
3726 def base_DoGetSize(*args
, **kw
):
3727 return PyWindow
.DoGetSize(*args
, **kw
)
3728 base_DoGetSize
= wx
._deprecated
(base_DoGetSize
,
3729 "Please use PyWindow.DoGetSize instead.")
3731 def base_DoGetClientSize(*args
, **kw
):
3732 return PyWindow
.DoGetClientSize(*args
, **kw
)
3733 base_DoGetClientSize
= wx
._deprecated
(base_DoGetClientSize
,
3734 "Please use PyWindow.DoGetClientSize instead.")
3736 def base_DoGetPosition(*args
, **kw
):
3737 return PyWindow
.DoGetPosition(*args
, **kw
)
3738 base_DoGetPosition
= wx
._deprecated
(base_DoGetPosition
,
3739 "Please use PyWindow.DoGetPosition instead.")
3741 def base_DoGetVirtualSize(*args
, **kw
):
3742 return PyWindow
.DoGetVirtualSize(*args
, **kw
)
3743 base_DoGetVirtualSize
= wx
._deprecated
(base_DoGetVirtualSize
,
3744 "Please use PyWindow.DoGetVirtualSize instead.")
3746 def base_DoGetBestSize(*args
, **kw
):
3747 return PyWindow
.DoGetBestSize(*args
, **kw
)
3748 base_DoGetBestSize
= wx
._deprecated
(base_DoGetBestSize
,
3749 "Please use PyWindow.DoGetBestSize instead.")
3751 def base_InitDialog(*args
, **kw
):
3752 return PyWindow
.InitDialog(*args
, **kw
)
3753 base_InitDialog
= wx
._deprecated
(base_InitDialog
,
3754 "Please use PyWindow.InitDialog instead.")
3756 def base_TransferDataToWindow(*args
, **kw
):
3757 return PyWindow
.TransferDataToWindow(*args
, **kw
)
3758 base_TransferDataToWindow
= wx
._deprecated
(base_TransferDataToWindow
,
3759 "Please use PyWindow.TransferDataToWindow instead.")
3761 def base_TransferDataFromWindow(*args
, **kw
):
3762 return PyWindow
.TransferDataFromWindow(*args
, **kw
)
3763 base_TransferDataFromWindow
= wx
._deprecated
(base_TransferDataFromWindow
,
3764 "Please use PyWindow.TransferDataFromWindow instead.")
3766 def base_Validate(*args
, **kw
):
3767 return PyWindow
.Validate(*args
, **kw
)
3768 base_Validate
= wx
._deprecated
(base_Validate
,
3769 "Please use PyWindow.Validate instead.")
3771 def base_AcceptsFocus(*args
, **kw
):
3772 return PyWindow
.AcceptsFocus(*args
, **kw
)
3773 base_AcceptsFocus
= wx
._deprecated
(base_AcceptsFocus
,
3774 "Please use PyWindow.AcceptsFocus instead.")
3776 def base_AcceptsFocusFromKeyboard(*args
, **kw
):
3777 return PyWindow
.AcceptsFocusFromKeyboard(*args
, **kw
)
3778 base_AcceptsFocusFromKeyboard
= wx
._deprecated
(base_AcceptsFocusFromKeyboard
,
3779 "Please use PyWindow.AcceptsFocusFromKeyboard instead.")
3781 def base_GetMaxSize(*args
, **kw
):
3782 return PyWindow
.GetMaxSize(*args
, **kw
)
3783 base_GetMaxSize
= wx
._deprecated
(base_GetMaxSize
,
3784 "Please use PyWindow.GetMaxSize instead.")
3786 def base_AddChild(*args
, **kw
):
3787 return PyWindow
.AddChild(*args
, **kw
)
3788 base_AddChild
= wx
._deprecated
(base_AddChild
,
3789 "Please use PyWindow.AddChild instead.")
3791 def base_RemoveChild(*args
, **kw
):
3792 return PyWindow
.RemoveChild(*args
, **kw
)
3793 base_RemoveChild
= wx
._deprecated
(base_RemoveChild
,
3794 "Please use PyWindow.RemoveChild instead.")
3796 def base_ShouldInheritColours(*args
, **kw
):
3797 return PyWindow
.ShouldInheritColours(*args
, **kw
)
3798 base_ShouldInheritColours
= wx
._deprecated
(base_ShouldInheritColours
,
3799 "Please use PyWindow.ShouldInheritColours instead.")
3801 def base_GetDefaultAttributes(*args
, **kw
):
3802 return PyWindow
.GetDefaultAttributes(*args
, **kw
)
3803 base_GetDefaultAttributes
= wx
._deprecated
(base_GetDefaultAttributes
,
3804 "Please use PyWindow.GetDefaultAttributes instead.")
3806 def base_OnInternalIdle(*args
, **kw
):
3807 return PyWindow
.OnInternalIdle(*args
, **kw
)
3808 base_OnInternalIdle
= wx
._deprecated
(base_OnInternalIdle
,
3809 "Please use PyWindow.OnInternalIdle instead.")
3812 class PyWindowPtr(PyWindow
):
3813 def __init__(self
, this
):
3815 if not hasattr(self
,"thisown"): self
.thisown
= 0
3816 self
.__class
__ = PyWindow
3817 _windows_
.PyWindow_swigregister(PyWindowPtr
)
3819 def PrePyWindow(*args
, **kwargs
):
3820 """PrePyWindow() -> PyWindow"""
3821 val
= _windows_
.new_PrePyWindow(*args
, **kwargs
)
3825 class PyPanel(Panel
):
3826 """Proxy of C++ PyPanel class"""
3828 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3829 def __init__(self
, *args
, **kwargs
):
3831 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3832 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyPanel
3834 newobj
= _windows_
.new_PyPanel(*args
, **kwargs
)
3835 self
.this
= newobj
.this
3838 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3840 def _setCallbackInfo(*args
, **kwargs
):
3841 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3842 return _windows_
.PyPanel__setCallbackInfo(*args
, **kwargs
)
3844 def SetBestSize(*args
, **kwargs
):
3845 """SetBestSize(self, Size size)"""
3846 return _windows_
.PyPanel_SetBestSize(*args
, **kwargs
)
3848 def DoEraseBackground(*args
, **kwargs
):
3849 """DoEraseBackground(self, DC dc) -> bool"""
3850 return _windows_
.PyPanel_DoEraseBackground(*args
, **kwargs
)
3852 def DoMoveWindow(*args
, **kwargs
):
3853 """DoMoveWindow(self, int x, int y, int width, int height)"""
3854 return _windows_
.PyPanel_DoMoveWindow(*args
, **kwargs
)
3856 def DoSetSize(*args
, **kwargs
):
3857 """DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3858 return _windows_
.PyPanel_DoSetSize(*args
, **kwargs
)
3860 def DoSetClientSize(*args
, **kwargs
):
3861 """DoSetClientSize(self, int width, int height)"""
3862 return _windows_
.PyPanel_DoSetClientSize(*args
, **kwargs
)
3864 def DoSetVirtualSize(*args
, **kwargs
):
3865 """DoSetVirtualSize(self, int x, int y)"""
3866 return _windows_
.PyPanel_DoSetVirtualSize(*args
, **kwargs
)
3868 def DoGetSize(*args
, **kwargs
):
3869 """DoGetSize() -> (width, height)"""
3870 return _windows_
.PyPanel_DoGetSize(*args
, **kwargs
)
3872 def DoGetClientSize(*args
, **kwargs
):
3873 """DoGetClientSize() -> (width, height)"""
3874 return _windows_
.PyPanel_DoGetClientSize(*args
, **kwargs
)
3876 def DoGetPosition(*args
, **kwargs
):
3877 """DoGetPosition() -> (x,y)"""
3878 return _windows_
.PyPanel_DoGetPosition(*args
, **kwargs
)
3880 def DoGetVirtualSize(*args
, **kwargs
):
3881 """DoGetVirtualSize(self) -> Size"""
3882 return _windows_
.PyPanel_DoGetVirtualSize(*args
, **kwargs
)
3884 def DoGetBestSize(*args
, **kwargs
):
3885 """DoGetBestSize(self) -> Size"""
3886 return _windows_
.PyPanel_DoGetBestSize(*args
, **kwargs
)
3888 def InitDialog(*args
, **kwargs
):
3892 Sends an EVT_INIT_DIALOG event, whose handler usually transfers data
3893 to the dialog via validators.
3895 return _windows_
.PyPanel_InitDialog(*args
, **kwargs
)
3897 def TransferDataToWindow(*args
, **kwargs
):
3899 TransferDataToWindow(self) -> bool
3901 Transfers values to child controls from data areas specified by their
3902 validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
3903 style flag set, the method will also call TransferDataToWindow() of
3906 return _windows_
.PyPanel_TransferDataToWindow(*args
, **kwargs
)
3908 def TransferDataFromWindow(*args
, **kwargs
):
3910 TransferDataFromWindow(self) -> bool
3912 Transfers values from child controls to data areas specified by their
3913 validators. Returns false if a transfer failed. If the window has
3914 wx.WS_EX_VALIDATE_RECURSIVELY extra style flag set, the method will
3915 also call TransferDataFromWindow() of all child windows.
3917 return _windows_
.PyPanel_TransferDataFromWindow(*args
, **kwargs
)
3919 def Validate(*args
, **kwargs
):
3921 Validate(self) -> bool
3923 Validates the current values of the child controls using their
3924 validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
3925 style flag set, the method will also call Validate() of all child
3926 windows. Returns false if any of the validations failed.
3928 return _windows_
.PyPanel_Validate(*args
, **kwargs
)
3930 def AcceptsFocus(*args
, **kwargs
):
3932 AcceptsFocus(self) -> bool
3934 Can this window have focus?
3936 return _windows_
.PyPanel_AcceptsFocus(*args
, **kwargs
)
3938 def AcceptsFocusFromKeyboard(*args
, **kwargs
):
3940 AcceptsFocusFromKeyboard(self) -> bool
3942 Can this window be given focus by keyboard navigation? if not, the
3943 only way to give it focus (provided it accepts it at all) is to click
3946 return _windows_
.PyPanel_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3948 def GetMaxSize(*args
, **kwargs
):
3949 """GetMaxSize(self) -> Size"""
3950 return _windows_
.PyPanel_GetMaxSize(*args
, **kwargs
)
3952 def AddChild(*args
, **kwargs
):
3954 AddChild(self, Window child)
3956 Adds a child window. This is called automatically by window creation
3957 functions so should not be required by the application programmer.
3959 return _windows_
.PyPanel_AddChild(*args
, **kwargs
)
3961 def RemoveChild(*args
, **kwargs
):
3963 RemoveChild(self, Window child)
3965 Removes a child window. This is called automatically by window
3966 deletion functions so should not be required by the application
3969 return _windows_
.PyPanel_RemoveChild(*args
, **kwargs
)
3971 def ShouldInheritColours(*args
, **kwargs
):
3973 ShouldInheritColours(self) -> bool
3975 Return true from here to allow the colours of this window to be
3976 changed by InheritAttributes, returning false forbids inheriting them
3977 from the parent window.
3979 The base class version returns false, but this method is overridden in
3980 wxControl where it returns true.
3982 return _windows_
.PyPanel_ShouldInheritColours(*args
, **kwargs
)
3984 def GetDefaultAttributes(*args
, **kwargs
):
3985 """GetDefaultAttributes(self) -> VisualAttributes"""
3986 return _windows_
.PyPanel_GetDefaultAttributes(*args
, **kwargs
)
3988 def OnInternalIdle(*args
, **kwargs
):
3989 """OnInternalIdle(self)"""
3990 return _windows_
.PyPanel_OnInternalIdle(*args
, **kwargs
)
3992 def base_DoMoveWindow(*args
, **kw
):
3993 return PyPanel
.DoMoveWindow(*args
, **kw
)
3994 base_DoMoveWindow
= wx
._deprecated
(base_DoMoveWindow
,
3995 "Please use PyPanel.DoMoveWindow instead.")
3997 def base_DoSetSize(*args
, **kw
):
3998 return PyPanel
.DoSetSize(*args
, **kw
)
3999 base_DoSetSize
= wx
._deprecated
(base_DoSetSize
,
4000 "Please use PyPanel.DoSetSize instead.")
4002 def base_DoSetClientSize(*args
, **kw
):
4003 return PyPanel
.DoSetClientSize(*args
, **kw
)
4004 base_DoSetClientSize
= wx
._deprecated
(base_DoSetClientSize
,
4005 "Please use PyPanel.DoSetClientSize instead.")
4007 def base_DoSetVirtualSize(*args
, **kw
):
4008 return PyPanel
.DoSetVirtualSize(*args
, **kw
)
4009 base_DoSetVirtualSize
= wx
._deprecated
(base_DoSetVirtualSize
,
4010 "Please use PyPanel.DoSetVirtualSize instead.")
4012 def base_DoGetSize(*args
, **kw
):
4013 return PyPanel
.DoGetSize(*args
, **kw
)
4014 base_DoGetSize
= wx
._deprecated
(base_DoGetSize
,
4015 "Please use PyPanel.DoGetSize instead.")
4017 def base_DoGetClientSize(*args
, **kw
):
4018 return PyPanel
.DoGetClientSize(*args
, **kw
)
4019 base_DoGetClientSize
= wx
._deprecated
(base_DoGetClientSize
,
4020 "Please use PyPanel.DoGetClientSize instead.")
4022 def base_DoGetPosition(*args
, **kw
):
4023 return PyPanel
.DoGetPosition(*args
, **kw
)
4024 base_DoGetPosition
= wx
._deprecated
(base_DoGetPosition
,
4025 "Please use PyPanel.DoGetPosition instead.")
4027 def base_DoGetVirtualSize(*args
, **kw
):
4028 return PyPanel
.DoGetVirtualSize(*args
, **kw
)
4029 base_DoGetVirtualSize
= wx
._deprecated
(base_DoGetVirtualSize
,
4030 "Please use PyPanel.DoGetVirtualSize instead.")
4032 def base_DoGetBestSize(*args
, **kw
):
4033 return PyPanel
.DoGetBestSize(*args
, **kw
)
4034 base_DoGetBestSize
= wx
._deprecated
(base_DoGetBestSize
,
4035 "Please use PyPanel.DoGetBestSize instead.")
4037 def base_InitDialog(*args
, **kw
):
4038 return PyPanel
.InitDialog(*args
, **kw
)
4039 base_InitDialog
= wx
._deprecated
(base_InitDialog
,
4040 "Please use PyPanel.InitDialog instead.")
4042 def base_TransferDataToWindow(*args
, **kw
):
4043 return PyPanel
.TransferDataToWindow(*args
, **kw
)
4044 base_TransferDataToWindow
= wx
._deprecated
(base_TransferDataToWindow
,
4045 "Please use PyPanel.TransferDataToWindow instead.")
4047 def base_TransferDataFromWindow(*args
, **kw
):
4048 return PyPanel
.TransferDataFromWindow(*args
, **kw
)
4049 base_TransferDataFromWindow
= wx
._deprecated
(base_TransferDataFromWindow
,
4050 "Please use PyPanel.TransferDataFromWindow instead.")
4052 def base_Validate(*args
, **kw
):
4053 return PyPanel
.Validate(*args
, **kw
)
4054 base_Validate
= wx
._deprecated
(base_Validate
,
4055 "Please use PyPanel.Validate instead.")
4057 def base_AcceptsFocus(*args
, **kw
):
4058 return PyPanel
.AcceptsFocus(*args
, **kw
)
4059 base_AcceptsFocus
= wx
._deprecated
(base_AcceptsFocus
,
4060 "Please use PyPanel.AcceptsFocus instead.")
4062 def base_AcceptsFocusFromKeyboard(*args
, **kw
):
4063 return PyPanel
.AcceptsFocusFromKeyboard(*args
, **kw
)
4064 base_AcceptsFocusFromKeyboard
= wx
._deprecated
(base_AcceptsFocusFromKeyboard
,
4065 "Please use PyPanel.AcceptsFocusFromKeyboard instead.")
4067 def base_GetMaxSize(*args
, **kw
):
4068 return PyPanel
.GetMaxSize(*args
, **kw
)
4069 base_GetMaxSize
= wx
._deprecated
(base_GetMaxSize
,
4070 "Please use PyPanel.GetMaxSize instead.")
4072 def base_AddChild(*args
, **kw
):
4073 return PyPanel
.AddChild(*args
, **kw
)
4074 base_AddChild
= wx
._deprecated
(base_AddChild
,
4075 "Please use PyPanel.AddChild instead.")
4077 def base_RemoveChild(*args
, **kw
):
4078 return PyPanel
.RemoveChild(*args
, **kw
)
4079 base_RemoveChild
= wx
._deprecated
(base_RemoveChild
,
4080 "Please use PyPanel.RemoveChild instead.")
4082 def base_ShouldInheritColours(*args
, **kw
):
4083 return PyPanel
.ShouldInheritColours(*args
, **kw
)
4084 base_ShouldInheritColours
= wx
._deprecated
(base_ShouldInheritColours
,
4085 "Please use PyPanel.ShouldInheritColours instead.")
4087 def base_GetDefaultAttributes(*args
, **kw
):
4088 return PyPanel
.GetDefaultAttributes(*args
, **kw
)
4089 base_GetDefaultAttributes
= wx
._deprecated
(base_GetDefaultAttributes
,
4090 "Please use PyPanel.GetDefaultAttributes instead.")
4092 def base_OnInternalIdle(*args
, **kw
):
4093 return PyPanel
.OnInternalIdle(*args
, **kw
)
4094 base_OnInternalIdle
= wx
._deprecated
(base_OnInternalIdle
,
4095 "Please use PyPanel.OnInternalIdle instead.")
4098 class PyPanelPtr(PyPanel
):
4099 def __init__(self
, this
):
4101 if not hasattr(self
,"thisown"): self
.thisown
= 0
4102 self
.__class
__ = PyPanel
4103 _windows_
.PyPanel_swigregister(PyPanelPtr
)
4105 def PrePyPanel(*args
, **kwargs
):
4106 """PrePyPanel() -> PyPanel"""
4107 val
= _windows_
.new_PrePyPanel(*args
, **kwargs
)
4111 class PyScrolledWindow(ScrolledWindow
):
4112 """Proxy of C++ PyScrolledWindow class"""
4114 return "<%s.%s; proxy of C++ wxPyScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4115 def __init__(self
, *args
, **kwargs
):
4117 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
4118 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyScrolledWindow
4120 newobj
= _windows_
.new_PyScrolledWindow(*args
, **kwargs
)
4121 self
.this
= newobj
.this
4124 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyScrolledWindow
)
4126 def _setCallbackInfo(*args
, **kwargs
):
4127 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4128 return _windows_
.PyScrolledWindow__setCallbackInfo(*args
, **kwargs
)
4130 def SetBestSize(*args
, **kwargs
):
4131 """SetBestSize(self, Size size)"""
4132 return _windows_
.PyScrolledWindow_SetBestSize(*args
, **kwargs
)
4134 def DoEraseBackground(*args
, **kwargs
):
4135 """DoEraseBackground(self, DC dc) -> bool"""
4136 return _windows_
.PyScrolledWindow_DoEraseBackground(*args
, **kwargs
)
4138 def DoMoveWindow(*args
, **kwargs
):
4139 """DoMoveWindow(self, int x, int y, int width, int height)"""
4140 return _windows_
.PyScrolledWindow_DoMoveWindow(*args
, **kwargs
)
4142 def DoSetSize(*args
, **kwargs
):
4143 """DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
4144 return _windows_
.PyScrolledWindow_DoSetSize(*args
, **kwargs
)
4146 def DoSetClientSize(*args
, **kwargs
):
4147 """DoSetClientSize(self, int width, int height)"""
4148 return _windows_
.PyScrolledWindow_DoSetClientSize(*args
, **kwargs
)
4150 def DoSetVirtualSize(*args
, **kwargs
):
4151 """DoSetVirtualSize(self, int x, int y)"""
4152 return _windows_
.PyScrolledWindow_DoSetVirtualSize(*args
, **kwargs
)
4154 def DoGetSize(*args
, **kwargs
):
4155 """DoGetSize() -> (width, height)"""
4156 return _windows_
.PyScrolledWindow_DoGetSize(*args
, **kwargs
)
4158 def DoGetClientSize(*args
, **kwargs
):
4159 """DoGetClientSize() -> (width, height)"""
4160 return _windows_
.PyScrolledWindow_DoGetClientSize(*args
, **kwargs
)
4162 def DoGetPosition(*args
, **kwargs
):
4163 """DoGetPosition() -> (x,y)"""
4164 return _windows_
.PyScrolledWindow_DoGetPosition(*args
, **kwargs
)
4166 def DoGetVirtualSize(*args
, **kwargs
):
4167 """DoGetVirtualSize(self) -> Size"""
4168 return _windows_
.PyScrolledWindow_DoGetVirtualSize(*args
, **kwargs
)
4170 def DoGetBestSize(*args
, **kwargs
):
4171 """DoGetBestSize(self) -> Size"""
4172 return _windows_
.PyScrolledWindow_DoGetBestSize(*args
, **kwargs
)
4174 def InitDialog(*args
, **kwargs
):
4178 Sends an EVT_INIT_DIALOG event, whose handler usually transfers data
4179 to the dialog via validators.
4181 return _windows_
.PyScrolledWindow_InitDialog(*args
, **kwargs
)
4183 def TransferDataToWindow(*args
, **kwargs
):
4185 TransferDataToWindow(self) -> bool
4187 Transfers values to child controls from data areas specified by their
4188 validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
4189 style flag set, the method will also call TransferDataToWindow() of
4192 return _windows_
.PyScrolledWindow_TransferDataToWindow(*args
, **kwargs
)
4194 def TransferDataFromWindow(*args
, **kwargs
):
4196 TransferDataFromWindow(self) -> bool
4198 Transfers values from child controls to data areas specified by their
4199 validators. Returns false if a transfer failed. If the window has
4200 wx.WS_EX_VALIDATE_RECURSIVELY extra style flag set, the method will
4201 also call TransferDataFromWindow() of all child windows.
4203 return _windows_
.PyScrolledWindow_TransferDataFromWindow(*args
, **kwargs
)
4205 def Validate(*args
, **kwargs
):
4207 Validate(self) -> bool
4209 Validates the current values of the child controls using their
4210 validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
4211 style flag set, the method will also call Validate() of all child
4212 windows. Returns false if any of the validations failed.
4214 return _windows_
.PyScrolledWindow_Validate(*args
, **kwargs
)
4216 def AcceptsFocus(*args
, **kwargs
):
4218 AcceptsFocus(self) -> bool
4220 Can this window have focus?
4222 return _windows_
.PyScrolledWindow_AcceptsFocus(*args
, **kwargs
)
4224 def AcceptsFocusFromKeyboard(*args
, **kwargs
):
4226 AcceptsFocusFromKeyboard(self) -> bool
4228 Can this window be given focus by keyboard navigation? if not, the
4229 only way to give it focus (provided it accepts it at all) is to click
4232 return _windows_
.PyScrolledWindow_AcceptsFocusFromKeyboard(*args
, **kwargs
)
4234 def GetMaxSize(*args
, **kwargs
):
4235 """GetMaxSize(self) -> Size"""
4236 return _windows_
.PyScrolledWindow_GetMaxSize(*args
, **kwargs
)
4238 def AddChild(*args
, **kwargs
):
4240 AddChild(self, Window child)
4242 Adds a child window. This is called automatically by window creation
4243 functions so should not be required by the application programmer.
4245 return _windows_
.PyScrolledWindow_AddChild(*args
, **kwargs
)
4247 def RemoveChild(*args
, **kwargs
):
4249 RemoveChild(self, Window child)
4251 Removes a child window. This is called automatically by window
4252 deletion functions so should not be required by the application
4255 return _windows_
.PyScrolledWindow_RemoveChild(*args
, **kwargs
)
4257 def ShouldInheritColours(*args
, **kwargs
):
4259 ShouldInheritColours(self) -> bool
4261 Return true from here to allow the colours of this window to be
4262 changed by InheritAttributes, returning false forbids inheriting them
4263 from the parent window.
4265 The base class version returns false, but this method is overridden in
4266 wxControl where it returns true.
4268 return _windows_
.PyScrolledWindow_ShouldInheritColours(*args
, **kwargs
)
4270 def GetDefaultAttributes(*args
, **kwargs
):
4271 """GetDefaultAttributes(self) -> VisualAttributes"""
4272 return _windows_
.PyScrolledWindow_GetDefaultAttributes(*args
, **kwargs
)
4274 def OnInternalIdle(*args
, **kwargs
):
4275 """OnInternalIdle(self)"""
4276 return _windows_
.PyScrolledWindow_OnInternalIdle(*args
, **kwargs
)
4278 def base_DoMoveWindow(*args
, **kw
):
4279 return PyScrolledWindow
.DoMoveWindow(*args
, **kw
)
4280 base_DoMoveWindow
= wx
._deprecated
(base_DoMoveWindow
,
4281 "Please use PyScrolledWindow.DoMoveWindow instead.")
4283 def base_DoSetSize(*args
, **kw
):
4284 return PyScrolledWindow
.DoSetSize(*args
, **kw
)
4285 base_DoSetSize
= wx
._deprecated
(base_DoSetSize
,
4286 "Please use PyScrolledWindow.DoSetSize instead.")
4288 def base_DoSetClientSize(*args
, **kw
):
4289 return PyScrolledWindow
.DoSetClientSize(*args
, **kw
)
4290 base_DoSetClientSize
= wx
._deprecated
(base_DoSetClientSize
,
4291 "Please use PyScrolledWindow.DoSetClientSize instead.")
4293 def base_DoSetVirtualSize(*args
, **kw
):
4294 return PyScrolledWindow
.DoSetVirtualSize(*args
, **kw
)
4295 base_DoSetVirtualSize
= wx
._deprecated
(base_DoSetVirtualSize
,
4296 "Please use PyScrolledWindow.DoSetVirtualSize instead.")
4298 def base_DoGetSize(*args
, **kw
):
4299 return PyScrolledWindow
.DoGetSize(*args
, **kw
)
4300 base_DoGetSize
= wx
._deprecated
(base_DoGetSize
,
4301 "Please use PyScrolledWindow.DoGetSize instead.")
4303 def base_DoGetClientSize(*args
, **kw
):
4304 return PyScrolledWindow
.DoGetClientSize(*args
, **kw
)
4305 base_DoGetClientSize
= wx
._deprecated
(base_DoGetClientSize
,
4306 "Please use PyScrolledWindow.DoGetClientSize instead.")
4308 def base_DoGetPosition(*args
, **kw
):
4309 return PyScrolledWindow
.DoGetPosition(*args
, **kw
)
4310 base_DoGetPosition
= wx
._deprecated
(base_DoGetPosition
,
4311 "Please use PyScrolledWindow.DoGetPosition instead.")
4313 def base_DoGetVirtualSize(*args
, **kw
):
4314 return PyScrolledWindow
.DoGetVirtualSize(*args
, **kw
)
4315 base_DoGetVirtualSize
= wx
._deprecated
(base_DoGetVirtualSize
,
4316 "Please use PyScrolledWindow.DoGetVirtualSize instead.")
4318 def base_DoGetBestSize(*args
, **kw
):
4319 return PyScrolledWindow
.DoGetBestSize(*args
, **kw
)
4320 base_DoGetBestSize
= wx
._deprecated
(base_DoGetBestSize
,
4321 "Please use PyScrolledWindow.DoGetBestSize instead.")
4323 def base_InitDialog(*args
, **kw
):
4324 return PyScrolledWindow
.InitDialog(*args
, **kw
)
4325 base_InitDialog
= wx
._deprecated
(base_InitDialog
,
4326 "Please use PyScrolledWindow.InitDialog instead.")
4328 def base_TransferDataToWindow(*args
, **kw
):
4329 return PyScrolledWindow
.TransferDataToWindow(*args
, **kw
)
4330 base_TransferDataToWindow
= wx
._deprecated
(base_TransferDataToWindow
,
4331 "Please use PyScrolledWindow.TransferDataToWindow instead.")
4333 def base_TransferDataFromWindow(*args
, **kw
):
4334 return PyScrolledWindow
.TransferDataFromWindow(*args
, **kw
)
4335 base_TransferDataFromWindow
= wx
._deprecated
(base_TransferDataFromWindow
,
4336 "Please use PyScrolledWindow.TransferDataFromWindow instead.")
4338 def base_Validate(*args
, **kw
):
4339 return PyScrolledWindow
.Validate(*args
, **kw
)
4340 base_Validate
= wx
._deprecated
(base_Validate
,
4341 "Please use PyScrolledWindow.Validate instead.")
4343 def base_AcceptsFocus(*args
, **kw
):
4344 return PyScrolledWindow
.AcceptsFocus(*args
, **kw
)
4345 base_AcceptsFocus
= wx
._deprecated
(base_AcceptsFocus
,
4346 "Please use PyScrolledWindow.AcceptsFocus instead.")
4348 def base_AcceptsFocusFromKeyboard(*args
, **kw
):
4349 return PyScrolledWindow
.AcceptsFocusFromKeyboard(*args
, **kw
)
4350 base_AcceptsFocusFromKeyboard
= wx
._deprecated
(base_AcceptsFocusFromKeyboard
,
4351 "Please use PyScrolledWindow.AcceptsFocusFromKeyboard instead.")
4353 def base_GetMaxSize(*args
, **kw
):
4354 return PyScrolledWindow
.GetMaxSize(*args
, **kw
)
4355 base_GetMaxSize
= wx
._deprecated
(base_GetMaxSize
,
4356 "Please use PyScrolledWindow.GetMaxSize instead.")
4358 def base_AddChild(*args
, **kw
):
4359 return PyScrolledWindow
.AddChild(*args
, **kw
)
4360 base_AddChild
= wx
._deprecated
(base_AddChild
,
4361 "Please use PyScrolledWindow.AddChild instead.")
4363 def base_RemoveChild(*args
, **kw
):
4364 return PyScrolledWindow
.RemoveChild(*args
, **kw
)
4365 base_RemoveChild
= wx
._deprecated
(base_RemoveChild
,
4366 "Please use PyScrolledWindow.RemoveChild instead.")
4368 def base_ShouldInheritColours(*args
, **kw
):
4369 return PyScrolledWindow
.ShouldInheritColours(*args
, **kw
)
4370 base_ShouldInheritColours
= wx
._deprecated
(base_ShouldInheritColours
,
4371 "Please use PyScrolledWindow.ShouldInheritColours instead.")
4373 def base_GetDefaultAttributes(*args
, **kw
):
4374 return PyScrolledWindow
.GetDefaultAttributes(*args
, **kw
)
4375 base_GetDefaultAttributes
= wx
._deprecated
(base_GetDefaultAttributes
,
4376 "Please use PyScrolledWindow.GetDefaultAttributes instead.")
4378 def base_OnInternalIdle(*args
, **kw
):
4379 return PyScrolledWindow
.OnInternalIdle(*args
, **kw
)
4380 base_OnInternalIdle
= wx
._deprecated
(base_OnInternalIdle
,
4381 "Please use PyScrolledWindow.OnInternalIdle instead.")
4384 class PyScrolledWindowPtr(PyScrolledWindow
):
4385 def __init__(self
, this
):
4387 if not hasattr(self
,"thisown"): self
.thisown
= 0
4388 self
.__class
__ = PyScrolledWindow
4389 _windows_
.PyScrolledWindow_swigregister(PyScrolledWindowPtr
)
4391 def PrePyScrolledWindow(*args
, **kwargs
):
4392 """PrePyScrolledWindow() -> PyScrolledWindow"""
4393 val
= _windows_
.new_PrePyScrolledWindow(*args
, **kwargs
)
4397 #---------------------------------------------------------------------------
4399 PRINT_MODE_NONE
= _windows_
.PRINT_MODE_NONE
4400 PRINT_MODE_PREVIEW
= _windows_
.PRINT_MODE_PREVIEW
4401 PRINT_MODE_FILE
= _windows_
.PRINT_MODE_FILE
4402 PRINT_MODE_PRINTER
= _windows_
.PRINT_MODE_PRINTER
4403 PRINT_MODE_STREAM
= _windows_
.PRINT_MODE_STREAM
4404 PRINTBIN_DEFAULT
= _windows_
.PRINTBIN_DEFAULT
4405 PRINTBIN_ONLYONE
= _windows_
.PRINTBIN_ONLYONE
4406 PRINTBIN_LOWER
= _windows_
.PRINTBIN_LOWER
4407 PRINTBIN_MIDDLE
= _windows_
.PRINTBIN_MIDDLE
4408 PRINTBIN_MANUAL
= _windows_
.PRINTBIN_MANUAL
4409 PRINTBIN_ENVELOPE
= _windows_
.PRINTBIN_ENVELOPE
4410 PRINTBIN_ENVMANUAL
= _windows_
.PRINTBIN_ENVMANUAL
4411 PRINTBIN_AUTO
= _windows_
.PRINTBIN_AUTO
4412 PRINTBIN_TRACTOR
= _windows_
.PRINTBIN_TRACTOR
4413 PRINTBIN_SMALLFMT
= _windows_
.PRINTBIN_SMALLFMT
4414 PRINTBIN_LARGEFMT
= _windows_
.PRINTBIN_LARGEFMT
4415 PRINTBIN_LARGECAPACITY
= _windows_
.PRINTBIN_LARGECAPACITY
4416 PRINTBIN_CASSETTE
= _windows_
.PRINTBIN_CASSETTE
4417 PRINTBIN_FORMSOURCE
= _windows_
.PRINTBIN_FORMSOURCE
4418 PRINTBIN_USER
= _windows_
.PRINTBIN_USER
4419 class PrintData(_core
.Object
):
4420 """Proxy of C++ PrintData class"""
4422 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4423 def __init__(self
, *args
):
4425 __init__(self) -> PrintData
4426 __init__(self, PrintData data) -> PrintData
4428 newobj
= _windows_
.new_PrintData(*args
)
4429 self
.this
= newobj
.this
4432 def __del__(self
, destroy
=_windows_
.delete_PrintData
):
4435 if self
.thisown
: destroy(self
)
4438 def GetNoCopies(*args
, **kwargs
):
4439 """GetNoCopies(self) -> int"""
4440 return _windows_
.PrintData_GetNoCopies(*args
, **kwargs
)
4442 def GetCollate(*args
, **kwargs
):
4443 """GetCollate(self) -> bool"""
4444 return _windows_
.PrintData_GetCollate(*args
, **kwargs
)
4446 def GetOrientation(*args
, **kwargs
):
4447 """GetOrientation(self) -> int"""
4448 return _windows_
.PrintData_GetOrientation(*args
, **kwargs
)
4450 def Ok(*args
, **kwargs
):
4451 """Ok(self) -> bool"""
4452 return _windows_
.PrintData_Ok(*args
, **kwargs
)
4454 def GetPrinterName(*args
, **kwargs
):
4455 """GetPrinterName(self) -> String"""
4456 return _windows_
.PrintData_GetPrinterName(*args
, **kwargs
)
4458 def GetColour(*args
, **kwargs
):
4459 """GetColour(self) -> bool"""
4460 return _windows_
.PrintData_GetColour(*args
, **kwargs
)
4462 def GetDuplex(*args
, **kwargs
):
4463 """GetDuplex(self) -> int"""
4464 return _windows_
.PrintData_GetDuplex(*args
, **kwargs
)
4466 def GetPaperId(*args
, **kwargs
):
4467 """GetPaperId(self) -> int"""
4468 return _windows_
.PrintData_GetPaperId(*args
, **kwargs
)
4470 def GetPaperSize(*args
, **kwargs
):
4471 """GetPaperSize(self) -> Size"""
4472 return _windows_
.PrintData_GetPaperSize(*args
, **kwargs
)
4474 def GetQuality(*args
, **kwargs
):
4475 """GetQuality(self) -> int"""
4476 return _windows_
.PrintData_GetQuality(*args
, **kwargs
)
4478 def GetBin(*args
, **kwargs
):
4479 """GetBin(self) -> int"""
4480 return _windows_
.PrintData_GetBin(*args
, **kwargs
)
4482 def GetPrintMode(*args
, **kwargs
):
4483 """GetPrintMode(self) -> int"""
4484 return _windows_
.PrintData_GetPrintMode(*args
, **kwargs
)
4486 def SetNoCopies(*args
, **kwargs
):
4487 """SetNoCopies(self, int v)"""
4488 return _windows_
.PrintData_SetNoCopies(*args
, **kwargs
)
4490 def SetCollate(*args
, **kwargs
):
4491 """SetCollate(self, bool flag)"""
4492 return _windows_
.PrintData_SetCollate(*args
, **kwargs
)
4494 def SetOrientation(*args
, **kwargs
):
4495 """SetOrientation(self, int orient)"""
4496 return _windows_
.PrintData_SetOrientation(*args
, **kwargs
)
4498 def SetPrinterName(*args
, **kwargs
):
4499 """SetPrinterName(self, String name)"""
4500 return _windows_
.PrintData_SetPrinterName(*args
, **kwargs
)
4502 def SetColour(*args
, **kwargs
):
4503 """SetColour(self, bool colour)"""
4504 return _windows_
.PrintData_SetColour(*args
, **kwargs
)
4506 def SetDuplex(*args
, **kwargs
):
4507 """SetDuplex(self, int duplex)"""
4508 return _windows_
.PrintData_SetDuplex(*args
, **kwargs
)
4510 def SetPaperId(*args
, **kwargs
):
4511 """SetPaperId(self, int sizeId)"""
4512 return _windows_
.PrintData_SetPaperId(*args
, **kwargs
)
4514 def SetPaperSize(*args
, **kwargs
):
4515 """SetPaperSize(self, Size sz)"""
4516 return _windows_
.PrintData_SetPaperSize(*args
, **kwargs
)
4518 def SetQuality(*args
, **kwargs
):
4519 """SetQuality(self, int quality)"""
4520 return _windows_
.PrintData_SetQuality(*args
, **kwargs
)
4522 def SetBin(*args
, **kwargs
):
4523 """SetBin(self, int bin)"""
4524 return _windows_
.PrintData_SetBin(*args
, **kwargs
)
4526 def SetPrintMode(*args
, **kwargs
):
4527 """SetPrintMode(self, int printMode)"""
4528 return _windows_
.PrintData_SetPrintMode(*args
, **kwargs
)
4530 def GetFilename(*args
, **kwargs
):
4531 """GetFilename(self) -> String"""
4532 return _windows_
.PrintData_GetFilename(*args
, **kwargs
)
4534 def SetFilename(*args
, **kwargs
):
4535 """SetFilename(self, String filename)"""
4536 return _windows_
.PrintData_SetFilename(*args
, **kwargs
)
4538 def __nonzero__(self
): return self
.Ok()
4539 def GetPrivData(*args
, **kwargs
):
4540 """GetPrivData(self) -> PyObject"""
4541 return _windows_
.PrintData_GetPrivData(*args
, **kwargs
)
4543 def SetPrivData(*args
, **kwargs
):
4544 """SetPrivData(self, PyObject data)"""
4545 return _windows_
.PrintData_SetPrivData(*args
, **kwargs
)
4548 class PrintDataPtr(PrintData
):
4549 def __init__(self
, this
):
4551 if not hasattr(self
,"thisown"): self
.thisown
= 0
4552 self
.__class
__ = PrintData
4553 _windows_
.PrintData_swigregister(PrintDataPtr
)
4554 PrintoutTitleStr
= cvar
.PrintoutTitleStr
4555 PreviewCanvasNameStr
= cvar
.PreviewCanvasNameStr
4557 class PageSetupDialogData(_core
.Object
):
4558 """Proxy of C++ PageSetupDialogData class"""
4560 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4561 def __init__(self
, *args
):
4563 __init__(self) -> PageSetupDialogData
4564 __init__(self, PageSetupDialogData data) -> PageSetupDialogData
4565 __init__(self, PrintData data) -> PageSetupDialogData
4567 newobj
= _windows_
.new_PageSetupDialogData(*args
)
4568 self
.this
= newobj
.this
4571 def __del__(self
, destroy
=_windows_
.delete_PageSetupDialogData
):
4574 if self
.thisown
: destroy(self
)
4577 def EnableHelp(*args
, **kwargs
):
4578 """EnableHelp(self, bool flag)"""
4579 return _windows_
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
4581 def EnableMargins(*args
, **kwargs
):
4582 """EnableMargins(self, bool flag)"""
4583 return _windows_
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
4585 def EnableOrientation(*args
, **kwargs
):
4586 """EnableOrientation(self, bool flag)"""
4587 return _windows_
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
4589 def EnablePaper(*args
, **kwargs
):
4590 """EnablePaper(self, bool flag)"""
4591 return _windows_
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
4593 def EnablePrinter(*args
, **kwargs
):
4594 """EnablePrinter(self, bool flag)"""
4595 return _windows_
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
4597 def GetDefaultMinMargins(*args
, **kwargs
):
4598 """GetDefaultMinMargins(self) -> bool"""
4599 return _windows_
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
4601 def GetEnableMargins(*args
, **kwargs
):
4602 """GetEnableMargins(self) -> bool"""
4603 return _windows_
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
4605 def GetEnableOrientation(*args
, **kwargs
):
4606 """GetEnableOrientation(self) -> bool"""
4607 return _windows_
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
4609 def GetEnablePaper(*args
, **kwargs
):
4610 """GetEnablePaper(self) -> bool"""
4611 return _windows_
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
4613 def GetEnablePrinter(*args
, **kwargs
):
4614 """GetEnablePrinter(self) -> bool"""
4615 return _windows_
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
4617 def GetEnableHelp(*args
, **kwargs
):
4618 """GetEnableHelp(self) -> bool"""
4619 return _windows_
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
4621 def GetDefaultInfo(*args
, **kwargs
):
4622 """GetDefaultInfo(self) -> bool"""
4623 return _windows_
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
4625 def GetMarginTopLeft(*args
, **kwargs
):
4626 """GetMarginTopLeft(self) -> Point"""
4627 return _windows_
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
4629 def GetMarginBottomRight(*args
, **kwargs
):
4630 """GetMarginBottomRight(self) -> Point"""
4631 return _windows_
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
4633 def GetMinMarginTopLeft(*args
, **kwargs
):
4634 """GetMinMarginTopLeft(self) -> Point"""
4635 return _windows_
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
4637 def GetMinMarginBottomRight(*args
, **kwargs
):
4638 """GetMinMarginBottomRight(self) -> Point"""
4639 return _windows_
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
4641 def GetPaperId(*args
, **kwargs
):
4642 """GetPaperId(self) -> int"""
4643 return _windows_
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
4645 def GetPaperSize(*args
, **kwargs
):
4646 """GetPaperSize(self) -> Size"""
4647 return _windows_
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
4649 def GetPrintData(*args
, **kwargs
):
4650 """GetPrintData(self) -> PrintData"""
4651 return _windows_
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
4653 def Ok(*args
, **kwargs
):
4654 """Ok(self) -> bool"""
4655 return _windows_
.PageSetupDialogData_Ok(*args
, **kwargs
)
4657 def SetDefaultInfo(*args
, **kwargs
):
4658 """SetDefaultInfo(self, bool flag)"""
4659 return _windows_
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
4661 def SetDefaultMinMargins(*args
, **kwargs
):
4662 """SetDefaultMinMargins(self, bool flag)"""
4663 return _windows_
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
4665 def SetMarginTopLeft(*args
, **kwargs
):
4666 """SetMarginTopLeft(self, Point pt)"""
4667 return _windows_
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
4669 def SetMarginBottomRight(*args
, **kwargs
):
4670 """SetMarginBottomRight(self, Point pt)"""
4671 return _windows_
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
4673 def SetMinMarginTopLeft(*args
, **kwargs
):
4674 """SetMinMarginTopLeft(self, Point pt)"""
4675 return _windows_
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
4677 def SetMinMarginBottomRight(*args
, **kwargs
):
4678 """SetMinMarginBottomRight(self, Point pt)"""
4679 return _windows_
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
4681 def SetPaperId(*args
, **kwargs
):
4682 """SetPaperId(self, int id)"""
4683 return _windows_
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
4685 def SetPaperSize(*args
, **kwargs
):
4686 """SetPaperSize(self, Size size)"""
4687 return _windows_
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
4689 def SetPrintData(*args
, **kwargs
):
4690 """SetPrintData(self, PrintData printData)"""
4691 return _windows_
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
4693 def CalculateIdFromPaperSize(*args
, **kwargs
):
4694 """CalculateIdFromPaperSize(self)"""
4695 return _windows_
.PageSetupDialogData_CalculateIdFromPaperSize(*args
, **kwargs
)
4697 def CalculatePaperSizeFromId(*args
, **kwargs
):
4698 """CalculatePaperSizeFromId(self)"""
4699 return _windows_
.PageSetupDialogData_CalculatePaperSizeFromId(*args
, **kwargs
)
4701 def __nonzero__(self
): return self
.Ok()
4703 class PageSetupDialogDataPtr(PageSetupDialogData
):
4704 def __init__(self
, this
):
4706 if not hasattr(self
,"thisown"): self
.thisown
= 0
4707 self
.__class
__ = PageSetupDialogData
4708 _windows_
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
4710 class PageSetupDialog(_core
.Object
):
4711 """Proxy of C++ PageSetupDialog class"""
4713 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4714 def __init__(self
, *args
, **kwargs
):
4715 """__init__(self, Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
4716 newobj
= _windows_
.new_PageSetupDialog(*args
, **kwargs
)
4717 self
.this
= newobj
.this
4720 def GetPageSetupData(*args
, **kwargs
):
4721 """GetPageSetupData(self) -> PageSetupDialogData"""
4722 return _windows_
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
4724 def GetPageSetupDialogData(*args
, **kwargs
):
4725 """GetPageSetupDialogData(self) -> PageSetupDialogData"""
4726 return _windows_
.PageSetupDialog_GetPageSetupDialogData(*args
, **kwargs
)
4728 def ShowModal(*args
, **kwargs
):
4729 """ShowModal(self) -> int"""
4730 return _windows_
.PageSetupDialog_ShowModal(*args
, **kwargs
)
4733 class PageSetupDialogPtr(PageSetupDialog
):
4734 def __init__(self
, this
):
4736 if not hasattr(self
,"thisown"): self
.thisown
= 0
4737 self
.__class
__ = PageSetupDialog
4738 _windows_
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
4740 class PrintDialogData(_core
.Object
):
4741 """Proxy of C++ PrintDialogData class"""
4743 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4744 def __init__(self
, *args
):
4746 __init__(self) -> PrintDialogData
4747 __init__(self, PrintData printData) -> PrintDialogData
4748 __init__(self, PrintDialogData printData) -> PrintDialogData
4750 newobj
= _windows_
.new_PrintDialogData(*args
)
4751 self
.this
= newobj
.this
4754 def __del__(self
, destroy
=_windows_
.delete_PrintDialogData
):
4757 if self
.thisown
: destroy(self
)
4760 def GetFromPage(*args
, **kwargs
):
4761 """GetFromPage(self) -> int"""
4762 return _windows_
.PrintDialogData_GetFromPage(*args
, **kwargs
)
4764 def GetToPage(*args
, **kwargs
):
4765 """GetToPage(self) -> int"""
4766 return _windows_
.PrintDialogData_GetToPage(*args
, **kwargs
)
4768 def GetMinPage(*args
, **kwargs
):
4769 """GetMinPage(self) -> int"""
4770 return _windows_
.PrintDialogData_GetMinPage(*args
, **kwargs
)
4772 def GetMaxPage(*args
, **kwargs
):
4773 """GetMaxPage(self) -> int"""
4774 return _windows_
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
4776 def GetNoCopies(*args
, **kwargs
):
4777 """GetNoCopies(self) -> int"""
4778 return _windows_
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
4780 def GetAllPages(*args
, **kwargs
):
4781 """GetAllPages(self) -> bool"""
4782 return _windows_
.PrintDialogData_GetAllPages(*args
, **kwargs
)
4784 def GetSelection(*args
, **kwargs
):
4785 """GetSelection(self) -> bool"""
4786 return _windows_
.PrintDialogData_GetSelection(*args
, **kwargs
)
4788 def GetCollate(*args
, **kwargs
):
4789 """GetCollate(self) -> bool"""
4790 return _windows_
.PrintDialogData_GetCollate(*args
, **kwargs
)
4792 def GetPrintToFile(*args
, **kwargs
):
4793 """GetPrintToFile(self) -> bool"""
4794 return _windows_
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
4796 def SetFromPage(*args
, **kwargs
):
4797 """SetFromPage(self, int v)"""
4798 return _windows_
.PrintDialogData_SetFromPage(*args
, **kwargs
)
4800 def SetToPage(*args
, **kwargs
):
4801 """SetToPage(self, int v)"""
4802 return _windows_
.PrintDialogData_SetToPage(*args
, **kwargs
)
4804 def SetMinPage(*args
, **kwargs
):
4805 """SetMinPage(self, int v)"""
4806 return _windows_
.PrintDialogData_SetMinPage(*args
, **kwargs
)
4808 def SetMaxPage(*args
, **kwargs
):
4809 """SetMaxPage(self, int v)"""
4810 return _windows_
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
4812 def SetNoCopies(*args
, **kwargs
):
4813 """SetNoCopies(self, int v)"""
4814 return _windows_
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
4816 def SetAllPages(*args
, **kwargs
):
4817 """SetAllPages(self, bool flag)"""
4818 return _windows_
.PrintDialogData_SetAllPages(*args
, **kwargs
)
4820 def SetSelection(*args
, **kwargs
):
4821 """SetSelection(self, bool flag)"""
4822 return _windows_
.PrintDialogData_SetSelection(*args
, **kwargs
)
4824 def SetCollate(*args
, **kwargs
):
4825 """SetCollate(self, bool flag)"""
4826 return _windows_
.PrintDialogData_SetCollate(*args
, **kwargs
)
4828 def SetPrintToFile(*args
, **kwargs
):
4829 """SetPrintToFile(self, bool flag)"""
4830 return _windows_
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
4832 def EnablePrintToFile(*args
, **kwargs
):
4833 """EnablePrintToFile(self, bool flag)"""
4834 return _windows_
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
4836 def EnableSelection(*args
, **kwargs
):
4837 """EnableSelection(self, bool flag)"""
4838 return _windows_
.PrintDialogData_EnableSelection(*args
, **kwargs
)
4840 def EnablePageNumbers(*args
, **kwargs
):
4841 """EnablePageNumbers(self, bool flag)"""
4842 return _windows_
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
4844 def EnableHelp(*args
, **kwargs
):
4845 """EnableHelp(self, bool flag)"""
4846 return _windows_
.PrintDialogData_EnableHelp(*args
, **kwargs
)
4848 def GetEnablePrintToFile(*args
, **kwargs
):
4849 """GetEnablePrintToFile(self) -> bool"""
4850 return _windows_
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
4852 def GetEnableSelection(*args
, **kwargs
):
4853 """GetEnableSelection(self) -> bool"""
4854 return _windows_
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
4856 def GetEnablePageNumbers(*args
, **kwargs
):
4857 """GetEnablePageNumbers(self) -> bool"""
4858 return _windows_
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
4860 def GetEnableHelp(*args
, **kwargs
):
4861 """GetEnableHelp(self) -> bool"""
4862 return _windows_
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
4864 def Ok(*args
, **kwargs
):
4865 """Ok(self) -> bool"""
4866 return _windows_
.PrintDialogData_Ok(*args
, **kwargs
)
4868 def GetPrintData(*args
, **kwargs
):
4869 """GetPrintData(self) -> PrintData"""
4870 return _windows_
.PrintDialogData_GetPrintData(*args
, **kwargs
)
4872 def SetPrintData(*args
, **kwargs
):
4873 """SetPrintData(self, PrintData printData)"""
4874 return _windows_
.PrintDialogData_SetPrintData(*args
, **kwargs
)
4876 def __nonzero__(self
): return self
.Ok()
4878 class PrintDialogDataPtr(PrintDialogData
):
4879 def __init__(self
, this
):
4881 if not hasattr(self
,"thisown"): self
.thisown
= 0
4882 self
.__class
__ = PrintDialogData
4883 _windows_
.PrintDialogData_swigregister(PrintDialogDataPtr
)
4885 class PrintDialog(_core
.Object
):
4886 """Proxy of C++ PrintDialog class"""
4888 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4889 def __init__(self
, *args
, **kwargs
):
4890 """__init__(self, Window parent, PrintDialogData data=None) -> PrintDialog"""
4891 newobj
= _windows_
.new_PrintDialog(*args
, **kwargs
)
4892 self
.this
= newobj
.this
4895 def ShowModal(*args
, **kwargs
):
4896 """ShowModal(self) -> int"""
4897 return _windows_
.PrintDialog_ShowModal(*args
, **kwargs
)
4899 def GetPrintDialogData(*args
, **kwargs
):
4900 """GetPrintDialogData(self) -> PrintDialogData"""
4901 return _windows_
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
4903 def GetPrintData(*args
, **kwargs
):
4904 """GetPrintData(self) -> PrintData"""
4905 return _windows_
.PrintDialog_GetPrintData(*args
, **kwargs
)
4907 def GetPrintDC(*args
, **kwargs
):
4908 """GetPrintDC(self) -> DC"""
4909 return _windows_
.PrintDialog_GetPrintDC(*args
, **kwargs
)
4912 class PrintDialogPtr(PrintDialog
):
4913 def __init__(self
, this
):
4915 if not hasattr(self
,"thisown"): self
.thisown
= 0
4916 self
.__class
__ = PrintDialog
4917 _windows_
.PrintDialog_swigregister(PrintDialogPtr
)
4919 PRINTER_NO_ERROR
= _windows_
.PRINTER_NO_ERROR
4920 PRINTER_CANCELLED
= _windows_
.PRINTER_CANCELLED
4921 PRINTER_ERROR
= _windows_
.PRINTER_ERROR
4922 class Printer(_core
.Object
):
4923 """Proxy of C++ Printer class"""
4925 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4926 def __init__(self
, *args
, **kwargs
):
4927 """__init__(self, PrintDialogData data=None) -> Printer"""
4928 newobj
= _windows_
.new_Printer(*args
, **kwargs
)
4929 self
.this
= newobj
.this
4932 def __del__(self
, destroy
=_windows_
.delete_Printer
):
4935 if self
.thisown
: destroy(self
)
4938 def CreateAbortWindow(*args
, **kwargs
):
4939 """CreateAbortWindow(self, Window parent, Printout printout) -> Window"""
4940 return _windows_
.Printer_CreateAbortWindow(*args
, **kwargs
)
4942 def ReportError(*args
, **kwargs
):
4943 """ReportError(self, Window parent, Printout printout, String message)"""
4944 return _windows_
.Printer_ReportError(*args
, **kwargs
)
4946 def Setup(*args
, **kwargs
):
4947 """Setup(self, Window parent) -> bool"""
4948 return _windows_
.Printer_Setup(*args
, **kwargs
)
4950 def Print(*args
, **kwargs
):
4951 """Print(self, Window parent, Printout printout, bool prompt=True) -> bool"""
4952 return _windows_
.Printer_Print(*args
, **kwargs
)
4954 def PrintDialog(*args
, **kwargs
):
4955 """PrintDialog(self, Window parent) -> DC"""
4956 return _windows_
.Printer_PrintDialog(*args
, **kwargs
)
4958 def GetPrintDialogData(*args
, **kwargs
):
4959 """GetPrintDialogData(self) -> PrintDialogData"""
4960 return _windows_
.Printer_GetPrintDialogData(*args
, **kwargs
)
4962 def GetAbort(*args
, **kwargs
):
4963 """GetAbort(self) -> bool"""
4964 return _windows_
.Printer_GetAbort(*args
, **kwargs
)
4966 def GetLastError(*args
, **kwargs
):
4967 """GetLastError() -> int"""
4968 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4970 GetLastError
= staticmethod(GetLastError
)
4972 class PrinterPtr(Printer
):
4973 def __init__(self
, this
):
4975 if not hasattr(self
,"thisown"): self
.thisown
= 0
4976 self
.__class
__ = Printer
4977 _windows_
.Printer_swigregister(PrinterPtr
)
4979 def Printer_GetLastError(*args
, **kwargs
):
4980 """Printer_GetLastError() -> int"""
4981 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4983 class Printout(_core
.Object
):
4984 """Proxy of C++ Printout class"""
4986 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4987 def __init__(self
, *args
, **kwargs
):
4988 """__init__(self, String title=PrintoutTitleStr) -> Printout"""
4989 newobj
= _windows_
.new_Printout(*args
, **kwargs
)
4990 self
.this
= newobj
.this
4993 self
._setCallbackInfo
(self
, Printout
)
4995 def _setCallbackInfo(*args
, **kwargs
):
4996 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4997 return _windows_
.Printout__setCallbackInfo(*args
, **kwargs
)
4999 def GetTitle(*args
, **kwargs
):
5000 """GetTitle(self) -> String"""
5001 return _windows_
.Printout_GetTitle(*args
, **kwargs
)
5003 def GetDC(*args
, **kwargs
):
5004 """GetDC(self) -> DC"""
5005 return _windows_
.Printout_GetDC(*args
, **kwargs
)
5007 def SetDC(*args
, **kwargs
):
5008 """SetDC(self, DC dc)"""
5009 return _windows_
.Printout_SetDC(*args
, **kwargs
)
5011 def SetPageSizePixels(*args
, **kwargs
):
5012 """SetPageSizePixels(self, int w, int h)"""
5013 return _windows_
.Printout_SetPageSizePixels(*args
, **kwargs
)
5015 def GetPageSizePixels(*args
, **kwargs
):
5016 """GetPageSizePixels() -> (w, h)"""
5017 return _windows_
.Printout_GetPageSizePixels(*args
, **kwargs
)
5019 def SetPageSizeMM(*args
, **kwargs
):
5020 """SetPageSizeMM(self, int w, int h)"""
5021 return _windows_
.Printout_SetPageSizeMM(*args
, **kwargs
)
5023 def GetPageSizeMM(*args
, **kwargs
):
5024 """GetPageSizeMM() -> (w, h)"""
5025 return _windows_
.Printout_GetPageSizeMM(*args
, **kwargs
)
5027 def SetPPIScreen(*args
, **kwargs
):
5028 """SetPPIScreen(self, int x, int y)"""
5029 return _windows_
.Printout_SetPPIScreen(*args
, **kwargs
)
5031 def GetPPIScreen(*args
, **kwargs
):
5032 """GetPPIScreen() -> (x,y)"""
5033 return _windows_
.Printout_GetPPIScreen(*args
, **kwargs
)
5035 def SetPPIPrinter(*args
, **kwargs
):
5036 """SetPPIPrinter(self, int x, int y)"""
5037 return _windows_
.Printout_SetPPIPrinter(*args
, **kwargs
)
5039 def GetPPIPrinter(*args
, **kwargs
):
5040 """GetPPIPrinter() -> (x,y)"""
5041 return _windows_
.Printout_GetPPIPrinter(*args
, **kwargs
)
5043 def IsPreview(*args
, **kwargs
):
5044 """IsPreview(self) -> bool"""
5045 return _windows_
.Printout_IsPreview(*args
, **kwargs
)
5047 def SetIsPreview(*args
, **kwargs
):
5048 """SetIsPreview(self, bool p)"""
5049 return _windows_
.Printout_SetIsPreview(*args
, **kwargs
)
5051 def OnBeginDocument(*args
, **kwargs
):
5052 """OnBeginDocument(self, int startPage, int endPage) -> bool"""
5053 return _windows_
.Printout_OnBeginDocument(*args
, **kwargs
)
5055 def OnEndDocument(*args
, **kwargs
):
5056 """OnEndDocument(self)"""
5057 return _windows_
.Printout_OnEndDocument(*args
, **kwargs
)
5059 def OnBeginPrinting(*args
, **kwargs
):
5060 """OnBeginPrinting(self)"""
5061 return _windows_
.Printout_OnBeginPrinting(*args
, **kwargs
)
5063 def OnEndPrinting(*args
, **kwargs
):
5064 """OnEndPrinting(self)"""
5065 return _windows_
.Printout_OnEndPrinting(*args
, **kwargs
)
5067 def OnPreparePrinting(*args
, **kwargs
):
5068 """OnPreparePrinting(self)"""
5069 return _windows_
.Printout_OnPreparePrinting(*args
, **kwargs
)
5071 def HasPage(*args
, **kwargs
):
5072 """HasPage(self, int page) -> bool"""
5073 return _windows_
.Printout_HasPage(*args
, **kwargs
)
5075 def GetPageInfo(*args
, **kwargs
):
5076 """GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
5077 return _windows_
.Printout_GetPageInfo(*args
, **kwargs
)
5079 def base_OnBeginDocument(*args
, **kw
):
5080 return Printout
.OnBeginDocument(*args
, **kw
)
5081 base_OnBeginDocument
= wx
._deprecated
(base_OnBeginDocument
,
5082 "Please use Printout.OnBeginDocument instead.")
5084 def base_OnEndDocument(*args
, **kw
):
5085 return Printout
.OnEndDocument(*args
, **kw
)
5086 base_OnEndDocument
= wx
._deprecated
(base_OnEndDocument
,
5087 "Please use Printout.OnEndDocument instead.")
5089 def base_OnBeginPrinting(*args
, **kw
):
5090 return Printout
.OnBeginPrinting(*args
, **kw
)
5091 base_OnBeginPrinting
= wx
._deprecated
(base_OnBeginPrinting
,
5092 "Please use Printout.OnBeginPrinting instead.")
5094 def base_OnEndPrinting(*args
, **kw
):
5095 return Printout
.OnEndPrinting(*args
, **kw
)
5096 base_OnEndPrinting
= wx
._deprecated
(base_OnEndPrinting
,
5097 "Please use Printout.OnEndPrinting instead.")
5099 def base_OnPreparePrinting(*args
, **kw
):
5100 return Printout
.OnPreparePrinting(*args
, **kw
)
5101 base_OnPreparePrinting
= wx
._deprecated
(base_OnPreparePrinting
,
5102 "Please use Printout.OnPreparePrinting instead.")
5104 def base_GetPageInfo(*args
, **kw
):
5105 return Printout
.GetPageInfo(*args
, **kw
)
5106 base_GetPageInfo
= wx
._deprecated
(base_GetPageInfo
,
5107 "Please use Printout.GetPageInfo instead.")
5110 class PrintoutPtr(Printout
):
5111 def __init__(self
, this
):
5113 if not hasattr(self
,"thisown"): self
.thisown
= 0
5114 self
.__class
__ = Printout
5115 _windows_
.Printout_swigregister(PrintoutPtr
)
5117 class PreviewCanvas(ScrolledWindow
):
5118 """Proxy of C++ PreviewCanvas class"""
5120 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
5121 def __init__(self
, *args
, **kwargs
):
5123 __init__(self, PrintPreview preview, Window parent, Point pos=DefaultPosition,
5124 Size size=DefaultSize, long style=0,
5125 String name=PreviewCanvasNameStr) -> PreviewCanvas
5127 newobj
= _windows_
.new_PreviewCanvas(*args
, **kwargs
)
5128 self
.this
= newobj
.this
5131 self
._setOORInfo
(self
)
5134 class PreviewCanvasPtr(PreviewCanvas
):
5135 def __init__(self
, this
):
5137 if not hasattr(self
,"thisown"): self
.thisown
= 0
5138 self
.__class
__ = PreviewCanvas
5139 _windows_
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
5141 class PreviewFrame(Frame
):
5142 """Proxy of C++ PreviewFrame class"""
5144 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
5145 def __init__(self
, *args
, **kwargs
):
5147 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
5148 Size size=DefaultSize,
5149 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
5151 newobj
= _windows_
.new_PreviewFrame(*args
, **kwargs
)
5152 self
.this
= newobj
.this
5155 self
._setOORInfo
(self
)
5157 def Initialize(*args
, **kwargs
):
5158 """Initialize(self)"""
5159 return _windows_
.PreviewFrame_Initialize(*args
, **kwargs
)
5161 def CreateControlBar(*args
, **kwargs
):
5162 """CreateControlBar(self)"""
5163 return _windows_
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
5165 def CreateCanvas(*args
, **kwargs
):
5166 """CreateCanvas(self)"""
5167 return _windows_
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
5169 def GetControlBar(*args
, **kwargs
):
5170 """GetControlBar(self) -> PreviewControlBar"""
5171 return _windows_
.PreviewFrame_GetControlBar(*args
, **kwargs
)
5174 class PreviewFramePtr(PreviewFrame
):
5175 def __init__(self
, this
):
5177 if not hasattr(self
,"thisown"): self
.thisown
= 0
5178 self
.__class
__ = PreviewFrame
5179 _windows_
.PreviewFrame_swigregister(PreviewFramePtr
)
5181 PREVIEW_PRINT
= _windows_
.PREVIEW_PRINT
5182 PREVIEW_PREVIOUS
= _windows_
.PREVIEW_PREVIOUS
5183 PREVIEW_NEXT
= _windows_
.PREVIEW_NEXT
5184 PREVIEW_ZOOM
= _windows_
.PREVIEW_ZOOM
5185 PREVIEW_FIRST
= _windows_
.PREVIEW_FIRST
5186 PREVIEW_LAST
= _windows_
.PREVIEW_LAST
5187 PREVIEW_GOTO
= _windows_
.PREVIEW_GOTO
5188 PREVIEW_DEFAULT
= _windows_
.PREVIEW_DEFAULT
5189 ID_PREVIEW_CLOSE
= _windows_
.ID_PREVIEW_CLOSE
5190 ID_PREVIEW_NEXT
= _windows_
.ID_PREVIEW_NEXT
5191 ID_PREVIEW_PREVIOUS
= _windows_
.ID_PREVIEW_PREVIOUS
5192 ID_PREVIEW_PRINT
= _windows_
.ID_PREVIEW_PRINT
5193 ID_PREVIEW_ZOOM
= _windows_
.ID_PREVIEW_ZOOM
5194 ID_PREVIEW_FIRST
= _windows_
.ID_PREVIEW_FIRST
5195 ID_PREVIEW_LAST
= _windows_
.ID_PREVIEW_LAST
5196 ID_PREVIEW_GOTO
= _windows_
.ID_PREVIEW_GOTO
5197 class PreviewControlBar(Panel
):
5198 """Proxy of C++ PreviewControlBar class"""
5200 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
5201 def __init__(self
, *args
, **kwargs
):
5203 __init__(self, PrintPreview preview, long buttons, Window parent,
5204 Point pos=DefaultPosition, Size size=DefaultSize,
5205 long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
5207 newobj
= _windows_
.new_PreviewControlBar(*args
, **kwargs
)
5208 self
.this
= newobj
.this
5211 self
._setOORInfo
(self
)
5213 def GetZoomControl(*args
, **kwargs
):
5214 """GetZoomControl(self) -> int"""
5215 return _windows_
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
5217 def SetZoomControl(*args
, **kwargs
):
5218 """SetZoomControl(self, int zoom)"""
5219 return _windows_
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
5221 def GetPrintPreview(*args
, **kwargs
):
5222 """GetPrintPreview(self) -> PrintPreview"""
5223 return _windows_
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
5225 def OnNext(*args
, **kwargs
):
5227 return _windows_
.PreviewControlBar_OnNext(*args
, **kwargs
)
5229 def OnPrevious(*args
, **kwargs
):
5230 """OnPrevious(self)"""
5231 return _windows_
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
5233 def OnFirst(*args
, **kwargs
):
5235 return _windows_
.PreviewControlBar_OnFirst(*args
, **kwargs
)
5237 def OnLast(*args
, **kwargs
):
5239 return _windows_
.PreviewControlBar_OnLast(*args
, **kwargs
)
5241 def OnGoto(*args
, **kwargs
):
5243 return _windows_
.PreviewControlBar_OnGoto(*args
, **kwargs
)
5246 class PreviewControlBarPtr(PreviewControlBar
):
5247 def __init__(self
, this
):
5249 if not hasattr(self
,"thisown"): self
.thisown
= 0
5250 self
.__class
__ = PreviewControlBar
5251 _windows_
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
5253 class PrintPreview(_core
.Object
):
5254 """Proxy of C++ PrintPreview class"""
5256 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
5257 def __init__(self
, *args
):
5259 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview
5260 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview
5262 newobj
= _windows_
.new_PrintPreview(*args
)
5263 self
.this
= newobj
.this
5266 def SetCurrentPage(*args
, **kwargs
):
5267 """SetCurrentPage(self, int pageNum) -> bool"""
5268 return _windows_
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
5270 def GetCurrentPage(*args
, **kwargs
):
5271 """GetCurrentPage(self) -> int"""
5272 return _windows_
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
5274 def SetPrintout(*args
, **kwargs
):
5275 """SetPrintout(self, Printout printout)"""
5276 return _windows_
.PrintPreview_SetPrintout(*args
, **kwargs
)
5278 def GetPrintout(*args
, **kwargs
):
5279 """GetPrintout(self) -> Printout"""
5280 return _windows_
.PrintPreview_GetPrintout(*args
, **kwargs
)
5282 def GetPrintoutForPrinting(*args
, **kwargs
):
5283 """GetPrintoutForPrinting(self) -> Printout"""
5284 return _windows_
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
5286 def SetFrame(*args
, **kwargs
):
5287 """SetFrame(self, Frame frame)"""
5288 return _windows_
.PrintPreview_SetFrame(*args
, **kwargs
)
5290 def SetCanvas(*args
, **kwargs
):
5291 """SetCanvas(self, PreviewCanvas canvas)"""
5292 return _windows_
.PrintPreview_SetCanvas(*args
, **kwargs
)
5294 def GetFrame(*args
, **kwargs
):
5295 """GetFrame(self) -> Frame"""
5296 return _windows_
.PrintPreview_GetFrame(*args
, **kwargs
)
5298 def GetCanvas(*args
, **kwargs
):
5299 """GetCanvas(self) -> PreviewCanvas"""
5300 return _windows_
.PrintPreview_GetCanvas(*args
, **kwargs
)
5302 def PaintPage(*args
, **kwargs
):
5303 """PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
5304 return _windows_
.PrintPreview_PaintPage(*args
, **kwargs
)
5306 def DrawBlankPage(*args
, **kwargs
):
5307 """DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
5308 return _windows_
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
5310 def RenderPage(*args
, **kwargs
):
5311 """RenderPage(self, int pageNum) -> bool"""
5312 return _windows_
.PrintPreview_RenderPage(*args
, **kwargs
)
5314 def AdjustScrollbars(*args
, **kwargs
):
5315 """AdjustScrollbars(self, PreviewCanvas canvas)"""
5316 return _windows_
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
5318 def GetPrintDialogData(*args
, **kwargs
):
5319 """GetPrintDialogData(self) -> PrintDialogData"""
5320 return _windows_
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
5322 def SetZoom(*args
, **kwargs
):
5323 """SetZoom(self, int percent)"""
5324 return _windows_
.PrintPreview_SetZoom(*args
, **kwargs
)
5326 def GetZoom(*args
, **kwargs
):
5327 """GetZoom(self) -> int"""
5328 return _windows_
.PrintPreview_GetZoom(*args
, **kwargs
)
5330 def GetMaxPage(*args
, **kwargs
):
5331 """GetMaxPage(self) -> int"""
5332 return _windows_
.PrintPreview_GetMaxPage(*args
, **kwargs
)
5334 def GetMinPage(*args
, **kwargs
):
5335 """GetMinPage(self) -> int"""
5336 return _windows_
.PrintPreview_GetMinPage(*args
, **kwargs
)
5338 def Ok(*args
, **kwargs
):
5339 """Ok(self) -> bool"""
5340 return _windows_
.PrintPreview_Ok(*args
, **kwargs
)
5342 def SetOk(*args
, **kwargs
):
5343 """SetOk(self, bool ok)"""
5344 return _windows_
.PrintPreview_SetOk(*args
, **kwargs
)
5346 def Print(*args
, **kwargs
):
5347 """Print(self, bool interactive) -> bool"""
5348 return _windows_
.PrintPreview_Print(*args
, **kwargs
)
5350 def DetermineScaling(*args
, **kwargs
):
5351 """DetermineScaling(self)"""
5352 return _windows_
.PrintPreview_DetermineScaling(*args
, **kwargs
)
5354 def __nonzero__(self
): return self
.Ok()
5356 class PrintPreviewPtr(PrintPreview
):
5357 def __init__(self
, this
):
5359 if not hasattr(self
,"thisown"): self
.thisown
= 0
5360 self
.__class
__ = PrintPreview
5361 _windows_
.PrintPreview_swigregister(PrintPreviewPtr
)
5363 class PyPrintPreview(PrintPreview
):
5364 """Proxy of C++ PyPrintPreview class"""
5366 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
5367 def __init__(self
, *args
):
5369 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview
5370 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview
5372 newobj
= _windows_
.new_PyPrintPreview(*args
)
5373 self
.this
= newobj
.this
5376 self
._setCallbackInfo
(self
, PyPrintPreview
)
5378 def _setCallbackInfo(*args
, **kwargs
):
5379 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
5380 return _windows_
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
5382 def SetCurrentPage(*args
, **kwargs
):
5383 """SetCurrentPage(self, int pageNum) -> bool"""
5384 return _windows_
.PyPrintPreview_SetCurrentPage(*args
, **kwargs
)
5386 def PaintPage(*args
, **kwargs
):
5387 """PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
5388 return _windows_
.PyPrintPreview_PaintPage(*args
, **kwargs
)
5390 def DrawBlankPage(*args
, **kwargs
):
5391 """DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
5392 return _windows_
.PyPrintPreview_DrawBlankPage(*args
, **kwargs
)
5394 def RenderPage(*args
, **kwargs
):
5395 """RenderPage(self, int pageNum) -> bool"""
5396 return _windows_
.PyPrintPreview_RenderPage(*args
, **kwargs
)
5398 def SetZoom(*args
, **kwargs
):
5399 """SetZoom(self, int percent)"""
5400 return _windows_
.PyPrintPreview_SetZoom(*args
, **kwargs
)
5402 def Print(*args
, **kwargs
):
5403 """Print(self, bool interactive) -> bool"""
5404 return _windows_
.PyPrintPreview_Print(*args
, **kwargs
)
5406 def DetermineScaling(*args
, **kwargs
):
5407 """DetermineScaling(self)"""
5408 return _windows_
.PyPrintPreview_DetermineScaling(*args
, **kwargs
)
5410 def base_SetCurrentPage(*args
, **kw
):
5411 return PyPrintPreview
.SetCurrentPage(*args
, **kw
)
5412 base_SetCurrentPage
= wx
._deprecated
(base_SetCurrentPage
,
5413 "Please use PyPrintPreview.SetCurrentPage instead.")
5415 def base_PaintPage(*args
, **kw
):
5416 return PyPrintPreview
.PaintPage(*args
, **kw
)
5417 base_PaintPage
= wx
._deprecated
(base_PaintPage
,
5418 "Please use PyPrintPreview.PaintPage instead.")
5420 def base_DrawBlankPage(*args
, **kw
):
5421 return PyPrintPreview
.DrawBlankPage(*args
, **kw
)
5422 base_DrawBlankPage
= wx
._deprecated
(base_DrawBlankPage
,
5423 "Please use PyPrintPreview.DrawBlankPage instead.")
5425 def base_RenderPage(*args
, **kw
):
5426 return PyPrintPreview
.RenderPage(*args
, **kw
)
5427 base_RenderPage
= wx
._deprecated
(base_RenderPage
,
5428 "Please use PyPrintPreview.RenderPage instead.")
5430 def base_SetZoom(*args
, **kw
):
5431 return PyPrintPreview
.SetZoom(*args
, **kw
)
5432 base_SetZoom
= wx
._deprecated
(base_SetZoom
,
5433 "Please use PyPrintPreview.SetZoom instead.")
5435 def base_Print(*args
, **kw
):
5436 return PyPrintPreview
.Print(*args
, **kw
)
5437 base_Print
= wx
._deprecated
(base_Print
,
5438 "Please use PyPrintPreview.Print instead.")
5440 def base_DetermineScaling(*args
, **kw
):
5441 return PyPrintPreview
.DetermineScaling(*args
, **kw
)
5442 base_DetermineScaling
= wx
._deprecated
(base_DetermineScaling
,
5443 "Please use PyPrintPreview.DetermineScaling instead.")
5446 class PyPrintPreviewPtr(PyPrintPreview
):
5447 def __init__(self
, this
):
5449 if not hasattr(self
,"thisown"): self
.thisown
= 0
5450 self
.__class
__ = PyPrintPreview
5451 _windows_
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
5453 class PyPreviewFrame(PreviewFrame
):
5454 """Proxy of C++ PyPreviewFrame class"""
5456 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
5457 def __init__(self
, *args
, **kwargs
):
5459 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
5460 Size size=DefaultSize,
5461 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
5463 newobj
= _windows_
.new_PyPreviewFrame(*args
, **kwargs
)
5464 self
.this
= newobj
.this
5467 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
5469 def _setCallbackInfo(*args
, **kwargs
):
5470 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
5471 return _windows_
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
5473 def SetPreviewCanvas(*args
, **kwargs
):
5474 """SetPreviewCanvas(self, PreviewCanvas canvas)"""
5475 return _windows_
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
5477 def SetControlBar(*args
, **kwargs
):
5478 """SetControlBar(self, PreviewControlBar bar)"""
5479 return _windows_
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
5481 def Initialize(*args
, **kwargs
):
5482 """Initialize(self)"""
5483 return _windows_
.PyPreviewFrame_Initialize(*args
, **kwargs
)
5485 def CreateCanvas(*args
, **kwargs
):
5486 """CreateCanvas(self)"""
5487 return _windows_
.PyPreviewFrame_CreateCanvas(*args
, **kwargs
)
5489 def CreateControlBar(*args
, **kwargs
):
5490 """CreateControlBar(self)"""
5491 return _windows_
.PyPreviewFrame_CreateControlBar(*args
, **kwargs
)
5493 def base_Initialize(*args
, **kw
):
5494 return PyPreviewFrame
.Initialize(*args
, **kw
)
5495 base_Initialize
= wx
._deprecated
(base_Initialize
,
5496 "Please use PyPreviewFrame.Initialize instead.")
5498 def base_CreateCanvas(*args
, **kw
):
5499 return PyPreviewFrame
.CreateCanvas(*args
, **kw
)
5500 base_CreateCanvas
= wx
._deprecated
(base_CreateCanvas
,
5501 "Please use PyPreviewFrame.CreateCanvas instead.")
5503 def base_CreateControlBar(*args
, **kw
):
5504 return PyPreviewFrame
.CreateControlBar(*args
, **kw
)
5505 base_CreateControlBar
= wx
._deprecated
(base_CreateControlBar
,
5506 "Please use PyPreviewFrame.CreateControlBar instead.")
5509 class PyPreviewFramePtr(PyPreviewFrame
):
5510 def __init__(self
, this
):
5512 if not hasattr(self
,"thisown"): self
.thisown
= 0
5513 self
.__class
__ = PyPreviewFrame
5514 _windows_
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
5516 class PyPreviewControlBar(PreviewControlBar
):
5517 """Proxy of C++ PyPreviewControlBar class"""
5519 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
5520 def __init__(self
, *args
, **kwargs
):
5522 __init__(self, PrintPreview preview, long buttons, Window parent,
5523 Point pos=DefaultPosition, Size size=DefaultSize,
5524 long style=0, String name=PanelNameStr) -> PyPreviewControlBar
5526 newobj
= _windows_
.new_PyPreviewControlBar(*args
, **kwargs
)
5527 self
.this
= newobj
.this
5530 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
5532 def _setCallbackInfo(*args
, **kwargs
):
5533 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
5534 return _windows_
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
5536 def SetPrintPreview(*args
, **kwargs
):
5537 """SetPrintPreview(self, PrintPreview preview)"""
5538 return _windows_
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
5540 def CreateButtons(*args
, **kwargs
):
5541 """CreateButtons(self)"""
5542 return _windows_
.PyPreviewControlBar_CreateButtons(*args
, **kwargs
)
5544 def SetZoomControl(*args
, **kwargs
):
5545 """SetZoomControl(self, int zoom)"""
5546 return _windows_
.PyPreviewControlBar_SetZoomControl(*args
, **kwargs
)
5548 def base_CreateButtons(*args
, **kw
):
5549 return PreviewControlBar
.CreateButtons(*args
, **kw
)
5550 base_CreateButtons
= wx
._deprecated
(base_CreateButtons
,
5551 "Please use PreviewControlBar.CreateButtons instead.")
5553 def base_SetZoomControl(*args
, **kw
):
5554 return PreviewControlBar
.SetZoomControl(*args
, **kw
)
5555 base_SetZoomControl
= wx
._deprecated
(base_SetZoomControl
,
5556 "Please use PreviewControlBar.SetZoomControl instead.")
5559 class PyPreviewControlBarPtr(PyPreviewControlBar
):
5560 def __init__(self
, this
):
5562 if not hasattr(self
,"thisown"): self
.thisown
= 0
5563 self
.__class
__ = PyPreviewControlBar
5564 _windows_
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)