1 # This file was created automatically by SWIG 1.3.27.
2 # Don't modify this file, modify the SWIG interface instead.
6 def _swig_setattr_nondynamic(self
,class_type
,name
,value
,static
=1):
8 if isinstance(value
, class_type
):
9 self
.__dict
__[name
] = value
.this
10 if hasattr(value
,"thisown"): self
.__dict
__["thisown"] = value
.thisown
13 method
= class_type
.__swig
_setmethods
__.get(name
,None)
14 if method
: return method(self
,value
)
15 if (not static
) or hasattr(self
,name
) or (name
== "thisown"):
16 self
.__dict
__[name
] = value
18 raise AttributeError("You cannot add attributes to %s" % self
)
20 def _swig_setattr(self
,class_type
,name
,value
):
21 return _swig_setattr_nondynamic(self
,class_type
,name
,value
,0)
23 def _swig_getattr(self
,class_type
,name
):
24 method
= class_type
.__swig
_getmethods
__.get(name
,None)
25 if method
: return method(self
)
26 raise AttributeError,name
30 _object
= types
.ObjectType
32 except AttributeError:
38 def _swig_setattr_nondynamic_method(set):
39 def set_attr(self
,name
,value
):
40 if hasattr(self
,name
) or (name
in ("this", "thisown")):
43 raise AttributeError("You cannot add attributes to %s" % self
)
49 #---------------------------------------------------------------------------
51 class Panel(_core
.Window
):
52 """Proxy of C++ Panel class"""
54 return "<%s.%s; proxy of C++ wxPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
55 def __init__(self
, *args
, **kwargs
):
57 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
58 Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
59 String name=PanelNameStr) -> Panel
61 newobj
= _windows_
.new_Panel(*args
, **kwargs
)
62 self
.this
= newobj
.this
65 self
._setOORInfo
(self
)
67 def Create(*args
, **kwargs
):
69 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
70 Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
71 String name=PanelNameStr) -> bool
73 Create the GUI part of the Window for 2-phase creation mode.
75 return _windows_
.Panel_Create(*args
, **kwargs
)
77 def InitDialog(*args
, **kwargs
):
81 Sends an EVT_INIT_DIALOG event, whose handler usually transfers data
82 to the dialog via validators.
84 return _windows_
.Panel_InitDialog(*args
, **kwargs
)
86 def SetFocus(*args
, **kwargs
):
90 Overrides `wx.Window.SetFocus`. This method uses the (undocumented)
91 mix-in class wxControlContainer which manages the focus and TAB logic
92 for controls which usually have child controls. In practice, if you
93 call this method and the panel has at least one child window, then the
94 focus will be given to the child window.
96 return _windows_
.Panel_SetFocus(*args
, **kwargs
)
98 def SetFocusIgnoringChildren(*args
, **kwargs
):
100 SetFocusIgnoringChildren(self)
102 In contrast to `SetFocus` (see above) this will set the focus to the
103 panel even of there are child windows in the panel. This is only
106 return _windows_
.Panel_SetFocusIgnoringChildren(*args
, **kwargs
)
108 def GetClassDefaultAttributes(*args
, **kwargs
):
110 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
112 Get the default attributes for this class. This is useful if you want
113 to use the same font or colour in your own control as in a standard
114 control -- which is a much better idea than hard coding specific
115 colours or fonts which might look completely out of place on the
116 user's system, especially if it uses themes.
118 The variant parameter is only relevant under Mac currently and is
119 ignore under other platforms. Under Mac, it will change the size of
120 the returned font. See `wx.Window.SetWindowVariant` for more about
123 return _windows_
.Panel_GetClassDefaultAttributes(*args
, **kwargs
)
125 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
127 class PanelPtr(Panel
):
128 def __init__(self
, this
):
130 if not hasattr(self
,"thisown"): self
.thisown
= 0
131 self
.__class
__ = Panel
132 _windows_
.Panel_swigregister(PanelPtr
)
134 def PrePanel(*args
, **kwargs
):
135 """PrePanel() -> Panel"""
136 val
= _windows_
.new_PrePanel(*args
, **kwargs
)
140 def Panel_GetClassDefaultAttributes(*args
, **kwargs
):
142 Panel_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
144 Get the default attributes for this class. This is useful if you want
145 to use the same font or colour in your own control as in a standard
146 control -- which is a much better idea than hard coding specific
147 colours or fonts which might look completely out of place on the
148 user's system, especially if it uses themes.
150 The variant parameter is only relevant under Mac currently and is
151 ignore under other platforms. Under Mac, it will change the size of
152 the returned font. See `wx.Window.SetWindowVariant` for more about
155 return _windows_
.Panel_GetClassDefaultAttributes(*args
, **kwargs
)
157 #---------------------------------------------------------------------------
159 class ScrolledWindow(Panel
):
160 """Proxy of C++ ScrolledWindow class"""
162 return "<%s.%s; proxy of C++ wxScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
163 def __init__(self
, *args
, **kwargs
):
165 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
166 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
167 String name=PanelNameStr) -> ScrolledWindow
169 newobj
= _windows_
.new_ScrolledWindow(*args
, **kwargs
)
170 self
.this
= newobj
.this
173 self
._setOORInfo
(self
)
175 def Create(*args
, **kwargs
):
177 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
178 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
179 String name=PanelNameStr) -> bool
181 Create the GUI part of the Window for 2-phase creation mode.
183 return _windows_
.ScrolledWindow_Create(*args
, **kwargs
)
185 def SetScrollbars(*args
, **kwargs
):
187 SetScrollbars(self, int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX,
188 int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)
190 return _windows_
.ScrolledWindow_SetScrollbars(*args
, **kwargs
)
192 def Scroll(*args
, **kwargs
):
193 """Scroll(self, int x, int y)"""
194 return _windows_
.ScrolledWindow_Scroll(*args
, **kwargs
)
196 def GetScrollPageSize(*args
, **kwargs
):
197 """GetScrollPageSize(self, int orient) -> int"""
198 return _windows_
.ScrolledWindow_GetScrollPageSize(*args
, **kwargs
)
200 def SetScrollPageSize(*args
, **kwargs
):
201 """SetScrollPageSize(self, int orient, int pageSize)"""
202 return _windows_
.ScrolledWindow_SetScrollPageSize(*args
, **kwargs
)
204 def SetScrollRate(*args
, **kwargs
):
205 """SetScrollRate(self, int xstep, int ystep)"""
206 return _windows_
.ScrolledWindow_SetScrollRate(*args
, **kwargs
)
208 def GetScrollPixelsPerUnit(*args
, **kwargs
):
210 GetScrollPixelsPerUnit() -> (xUnit, yUnit)
212 Get the size of one logical unit in physical units.
214 return _windows_
.ScrolledWindow_GetScrollPixelsPerUnit(*args
, **kwargs
)
216 def EnableScrolling(*args
, **kwargs
):
217 """EnableScrolling(self, bool x_scrolling, bool y_scrolling)"""
218 return _windows_
.ScrolledWindow_EnableScrolling(*args
, **kwargs
)
220 def GetViewStart(*args
, **kwargs
):
222 GetViewStart() -> (x,y)
226 return _windows_
.ScrolledWindow_GetViewStart(*args
, **kwargs
)
228 def SetScale(*args
, **kwargs
):
229 """SetScale(self, double xs, double ys)"""
230 return _windows_
.ScrolledWindow_SetScale(*args
, **kwargs
)
232 def GetScaleX(*args
, **kwargs
):
233 """GetScaleX(self) -> double"""
234 return _windows_
.ScrolledWindow_GetScaleX(*args
, **kwargs
)
236 def GetScaleY(*args
, **kwargs
):
237 """GetScaleY(self) -> double"""
238 return _windows_
.ScrolledWindow_GetScaleY(*args
, **kwargs
)
240 def CalcScrolledPosition(*args
):
242 CalcScrolledPosition(self, Point pt) -> Point
243 CalcScrolledPosition(int x, int y) -> (sx, sy)
245 Translate between scrolled and unscrolled coordinates.
247 return _windows_
.ScrolledWindow_CalcScrolledPosition(*args
)
249 def CalcUnscrolledPosition(*args
):
251 CalcUnscrolledPosition(self, Point pt) -> Point
252 CalcUnscrolledPosition(int x, int y) -> (ux, uy)
254 Translate between scrolled and unscrolled coordinates.
256 return _windows_
.ScrolledWindow_CalcUnscrolledPosition(*args
)
258 def AdjustScrollbars(*args
, **kwargs
):
259 """AdjustScrollbars(self)"""
260 return _windows_
.ScrolledWindow_AdjustScrollbars(*args
, **kwargs
)
262 def CalcScrollInc(*args
, **kwargs
):
263 """CalcScrollInc(self, ScrollWinEvent event) -> int"""
264 return _windows_
.ScrolledWindow_CalcScrollInc(*args
, **kwargs
)
266 def SetTargetWindow(*args
, **kwargs
):
267 """SetTargetWindow(self, Window target)"""
268 return _windows_
.ScrolledWindow_SetTargetWindow(*args
, **kwargs
)
270 def GetTargetWindow(*args
, **kwargs
):
271 """GetTargetWindow(self) -> Window"""
272 return _windows_
.ScrolledWindow_GetTargetWindow(*args
, **kwargs
)
274 def SetTargetRect(*args
, **kwargs
):
275 """SetTargetRect(self, Rect rect)"""
276 return _windows_
.ScrolledWindow_SetTargetRect(*args
, **kwargs
)
278 def GetTargetRect(*args
, **kwargs
):
279 """GetTargetRect(self) -> Rect"""
280 return _windows_
.ScrolledWindow_GetTargetRect(*args
, **kwargs
)
282 def DoPrepareDC(*args
, **kwargs
):
284 DoPrepareDC(self, DC dc)
286 Normally what is called by `PrepareDC`.
288 return _windows_
.ScrolledWindow_DoPrepareDC(*args
, **kwargs
)
290 def GetClassDefaultAttributes(*args
, **kwargs
):
292 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
294 Get the default attributes for this class. This is useful if you want
295 to use the same font or colour in your own control as in a standard
296 control -- which is a much better idea than hard coding specific
297 colours or fonts which might look completely out of place on the
298 user's system, especially if it uses themes.
300 The variant parameter is only relevant under Mac currently and is
301 ignore under other platforms. Under Mac, it will change the size of
302 the returned font. See `wx.Window.SetWindowVariant` for more about
305 return _windows_
.ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
)
307 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
309 class ScrolledWindowPtr(ScrolledWindow
):
310 def __init__(self
, this
):
312 if not hasattr(self
,"thisown"): self
.thisown
= 0
313 self
.__class
__ = ScrolledWindow
314 _windows_
.ScrolledWindow_swigregister(ScrolledWindowPtr
)
316 def PreScrolledWindow(*args
, **kwargs
):
317 """PreScrolledWindow() -> ScrolledWindow"""
318 val
= _windows_
.new_PreScrolledWindow(*args
, **kwargs
)
322 def ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
):
324 ScrolledWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
326 Get the default attributes for this class. This is useful if you want
327 to use the same font or colour in your own control as in a standard
328 control -- which is a much better idea than hard coding specific
329 colours or fonts which might look completely out of place on the
330 user's system, especially if it uses themes.
332 The variant parameter is only relevant under Mac currently and is
333 ignore under other platforms. Under Mac, it will change the size of
334 the returned font. See `wx.Window.SetWindowVariant` for more about
337 return _windows_
.ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
)
339 #---------------------------------------------------------------------------
341 STAY_ON_TOP
= _windows_
.STAY_ON_TOP
342 ICONIZE
= _windows_
.ICONIZE
343 MINIMIZE
= _windows_
.MINIMIZE
344 MAXIMIZE
= _windows_
.MAXIMIZE
345 CLOSE_BOX
= _windows_
.CLOSE_BOX
346 THICK_FRAME
= _windows_
.THICK_FRAME
347 SYSTEM_MENU
= _windows_
.SYSTEM_MENU
348 MINIMIZE_BOX
= _windows_
.MINIMIZE_BOX
349 MAXIMIZE_BOX
= _windows_
.MAXIMIZE_BOX
350 TINY_CAPTION_HORIZ
= _windows_
.TINY_CAPTION_HORIZ
351 TINY_CAPTION_VERT
= _windows_
.TINY_CAPTION_VERT
352 RESIZE_BOX
= _windows_
.RESIZE_BOX
353 RESIZE_BORDER
= _windows_
.RESIZE_BORDER
354 DIALOG_NO_PARENT
= _windows_
.DIALOG_NO_PARENT
355 DEFAULT_FRAME_STYLE
= _windows_
.DEFAULT_FRAME_STYLE
356 DEFAULT_DIALOG_STYLE
= _windows_
.DEFAULT_DIALOG_STYLE
357 FRAME_TOOL_WINDOW
= _windows_
.FRAME_TOOL_WINDOW
358 FRAME_FLOAT_ON_PARENT
= _windows_
.FRAME_FLOAT_ON_PARENT
359 FRAME_NO_WINDOW_MENU
= _windows_
.FRAME_NO_WINDOW_MENU
360 FRAME_NO_TASKBAR
= _windows_
.FRAME_NO_TASKBAR
361 FRAME_SHAPED
= _windows_
.FRAME_SHAPED
362 FRAME_DRAWER
= _windows_
.FRAME_DRAWER
363 FRAME_EX_METAL
= _windows_
.FRAME_EX_METAL
364 DIALOG_EX_METAL
= _windows_
.DIALOG_EX_METAL
365 DIALOG_MODAL
= _windows_
.DIALOG_MODAL
366 DIALOG_MODELESS
= _windows_
.DIALOG_MODELESS
367 USER_COLOURS
= _windows_
.USER_COLOURS
368 NO_3D
= _windows_
.NO_3D
369 FULLSCREEN_NOMENUBAR
= _windows_
.FULLSCREEN_NOMENUBAR
370 FULLSCREEN_NOTOOLBAR
= _windows_
.FULLSCREEN_NOTOOLBAR
371 FULLSCREEN_NOSTATUSBAR
= _windows_
.FULLSCREEN_NOSTATUSBAR
372 FULLSCREEN_NOBORDER
= _windows_
.FULLSCREEN_NOBORDER
373 FULLSCREEN_NOCAPTION
= _windows_
.FULLSCREEN_NOCAPTION
374 FULLSCREEN_ALL
= _windows_
.FULLSCREEN_ALL
375 TOPLEVEL_EX_DIALOG
= _windows_
.TOPLEVEL_EX_DIALOG
376 USER_ATTENTION_INFO
= _windows_
.USER_ATTENTION_INFO
377 USER_ATTENTION_ERROR
= _windows_
.USER_ATTENTION_ERROR
378 class TopLevelWindow(_core
.Window
):
379 """Proxy of C++ TopLevelWindow class"""
380 def __init__(self
): raise RuntimeError, "No constructor defined"
382 return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
383 def Maximize(*args
, **kwargs
):
384 """Maximize(self, bool maximize=True)"""
385 return _windows_
.TopLevelWindow_Maximize(*args
, **kwargs
)
387 def Restore(*args
, **kwargs
):
389 return _windows_
.TopLevelWindow_Restore(*args
, **kwargs
)
391 def Iconize(*args
, **kwargs
):
392 """Iconize(self, bool iconize=True)"""
393 return _windows_
.TopLevelWindow_Iconize(*args
, **kwargs
)
395 def IsMaximized(*args
, **kwargs
):
396 """IsMaximized(self) -> bool"""
397 return _windows_
.TopLevelWindow_IsMaximized(*args
, **kwargs
)
399 def IsIconized(*args
, **kwargs
):
400 """IsIconized(self) -> bool"""
401 return _windows_
.TopLevelWindow_IsIconized(*args
, **kwargs
)
403 def GetIcon(*args
, **kwargs
):
404 """GetIcon(self) -> Icon"""
405 return _windows_
.TopLevelWindow_GetIcon(*args
, **kwargs
)
407 def SetIcon(*args
, **kwargs
):
408 """SetIcon(self, Icon icon)"""
409 return _windows_
.TopLevelWindow_SetIcon(*args
, **kwargs
)
411 def SetIcons(*args
, **kwargs
):
412 """SetIcons(self, wxIconBundle icons)"""
413 return _windows_
.TopLevelWindow_SetIcons(*args
, **kwargs
)
415 def ShowFullScreen(*args
, **kwargs
):
416 """ShowFullScreen(self, bool show, long style=FULLSCREEN_ALL) -> bool"""
417 return _windows_
.TopLevelWindow_ShowFullScreen(*args
, **kwargs
)
419 def IsFullScreen(*args
, **kwargs
):
420 """IsFullScreen(self) -> bool"""
421 return _windows_
.TopLevelWindow_IsFullScreen(*args
, **kwargs
)
423 def SetTitle(*args
, **kwargs
):
424 """SetTitle(self, String title)"""
425 return _windows_
.TopLevelWindow_SetTitle(*args
, **kwargs
)
427 def GetTitle(*args
, **kwargs
):
428 """GetTitle(self) -> String"""
429 return _windows_
.TopLevelWindow_GetTitle(*args
, **kwargs
)
431 def SetShape(*args
, **kwargs
):
432 """SetShape(self, Region region) -> bool"""
433 return _windows_
.TopLevelWindow_SetShape(*args
, **kwargs
)
435 def RequestUserAttention(*args
, **kwargs
):
436 """RequestUserAttention(self, int flags=USER_ATTENTION_INFO)"""
437 return _windows_
.TopLevelWindow_RequestUserAttention(*args
, **kwargs
)
439 def IsActive(*args
, **kwargs
):
440 """IsActive(self) -> bool"""
441 return _windows_
.TopLevelWindow_IsActive(*args
, **kwargs
)
443 def MacSetMetalAppearance(*args
, **kwargs
):
444 """MacSetMetalAppearance(self, bool on)"""
445 return _windows_
.TopLevelWindow_MacSetMetalAppearance(*args
, **kwargs
)
447 def MacGetMetalAppearance(*args
, **kwargs
):
448 """MacGetMetalAppearance(self) -> bool"""
449 return _windows_
.TopLevelWindow_MacGetMetalAppearance(*args
, **kwargs
)
452 class TopLevelWindowPtr(TopLevelWindow
):
453 def __init__(self
, this
):
455 if not hasattr(self
,"thisown"): self
.thisown
= 0
456 self
.__class
__ = TopLevelWindow
457 _windows_
.TopLevelWindow_swigregister(TopLevelWindowPtr
)
458 cvar
= _windows_
.cvar
459 FrameNameStr
= cvar
.FrameNameStr
460 DialogNameStr
= cvar
.DialogNameStr
461 StatusLineNameStr
= cvar
.StatusLineNameStr
462 ToolBarNameStr
= cvar
.ToolBarNameStr
464 #---------------------------------------------------------------------------
466 class Frame(TopLevelWindow
):
467 """Proxy of C++ Frame class"""
469 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
470 def __init__(self
, *args
, **kwargs
):
472 __init__(self, Window parent, int id=-1, String title=EmptyString,
473 Point pos=DefaultPosition, Size size=DefaultSize,
474 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> Frame
476 newobj
= _windows_
.new_Frame(*args
, **kwargs
)
477 self
.this
= newobj
.this
480 self
._setOORInfo
(self
)
482 def Create(*args
, **kwargs
):
484 Create(self, Window parent, int id=-1, String title=EmptyString,
485 Point pos=DefaultPosition, Size size=DefaultSize,
486 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
488 return _windows_
.Frame_Create(*args
, **kwargs
)
490 def GetClientAreaOrigin(*args
, **kwargs
):
492 GetClientAreaOrigin(self) -> Point
494 Get the origin of the client area of the window relative to the
495 window's top left corner (the client area may be shifted because of
496 the borders, scrollbars, other decorations...)
498 return _windows_
.Frame_GetClientAreaOrigin(*args
, **kwargs
)
500 def SendSizeEvent(*args
, **kwargs
):
501 """SendSizeEvent(self)"""
502 return _windows_
.Frame_SendSizeEvent(*args
, **kwargs
)
504 def SetMenuBar(*args
, **kwargs
):
505 """SetMenuBar(self, MenuBar menubar)"""
506 return _windows_
.Frame_SetMenuBar(*args
, **kwargs
)
508 def GetMenuBar(*args
, **kwargs
):
509 """GetMenuBar(self) -> MenuBar"""
510 return _windows_
.Frame_GetMenuBar(*args
, **kwargs
)
512 def ProcessCommand(*args
, **kwargs
):
513 """ProcessCommand(self, int winid) -> bool"""
514 return _windows_
.Frame_ProcessCommand(*args
, **kwargs
)
516 Command
= ProcessCommand
517 def CreateStatusBar(*args
, **kwargs
):
519 CreateStatusBar(self, int number=1, long style=DEFAULT_STATUSBAR_STYLE, int winid=0,
520 String name=StatusLineNameStr) -> StatusBar
522 return _windows_
.Frame_CreateStatusBar(*args
, **kwargs
)
524 def GetStatusBar(*args
, **kwargs
):
525 """GetStatusBar(self) -> StatusBar"""
526 return _windows_
.Frame_GetStatusBar(*args
, **kwargs
)
528 def SetStatusBar(*args
, **kwargs
):
529 """SetStatusBar(self, StatusBar statBar)"""
530 return _windows_
.Frame_SetStatusBar(*args
, **kwargs
)
532 def SetStatusText(*args
, **kwargs
):
533 """SetStatusText(self, String text, int number=0)"""
534 return _windows_
.Frame_SetStatusText(*args
, **kwargs
)
536 def SetStatusWidths(*args
, **kwargs
):
537 """SetStatusWidths(self, int widths)"""
538 return _windows_
.Frame_SetStatusWidths(*args
, **kwargs
)
540 def PushStatusText(*args
, **kwargs
):
541 """PushStatusText(self, String text, int number=0)"""
542 return _windows_
.Frame_PushStatusText(*args
, **kwargs
)
544 def PopStatusText(*args
, **kwargs
):
545 """PopStatusText(self, int number=0)"""
546 return _windows_
.Frame_PopStatusText(*args
, **kwargs
)
548 def SetStatusBarPane(*args
, **kwargs
):
549 """SetStatusBarPane(self, int n)"""
550 return _windows_
.Frame_SetStatusBarPane(*args
, **kwargs
)
552 def GetStatusBarPane(*args
, **kwargs
):
553 """GetStatusBarPane(self) -> int"""
554 return _windows_
.Frame_GetStatusBarPane(*args
, **kwargs
)
556 def CreateToolBar(*args
, **kwargs
):
557 """CreateToolBar(self, long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar"""
558 return _windows_
.Frame_CreateToolBar(*args
, **kwargs
)
560 def GetToolBar(*args
, **kwargs
):
561 """GetToolBar(self) -> wxToolBar"""
562 return _windows_
.Frame_GetToolBar(*args
, **kwargs
)
564 def SetToolBar(*args
, **kwargs
):
565 """SetToolBar(self, wxToolBar toolbar)"""
566 return _windows_
.Frame_SetToolBar(*args
, **kwargs
)
568 def DoGiveHelp(*args
, **kwargs
):
569 """DoGiveHelp(self, String text, bool show)"""
570 return _windows_
.Frame_DoGiveHelp(*args
, **kwargs
)
572 def DoMenuUpdates(*args
, **kwargs
):
573 """DoMenuUpdates(self, Menu menu=None)"""
574 return _windows_
.Frame_DoMenuUpdates(*args
, **kwargs
)
576 def GetClassDefaultAttributes(*args
, **kwargs
):
578 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
580 Get the default attributes for this class. This is useful if you want
581 to use the same font or colour in your own control as in a standard
582 control -- which is a much better idea than hard coding specific
583 colours or fonts which might look completely out of place on the
584 user's system, especially if it uses themes.
586 The variant parameter is only relevant under Mac currently and is
587 ignore under other platforms. Under Mac, it will change the size of
588 the returned font. See `wx.Window.SetWindowVariant` for more about
591 return _windows_
.Frame_GetClassDefaultAttributes(*args
, **kwargs
)
593 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
595 class FramePtr(Frame
):
596 def __init__(self
, this
):
598 if not hasattr(self
,"thisown"): self
.thisown
= 0
599 self
.__class
__ = Frame
600 _windows_
.Frame_swigregister(FramePtr
)
602 def PreFrame(*args
, **kwargs
):
603 """PreFrame() -> Frame"""
604 val
= _windows_
.new_PreFrame(*args
, **kwargs
)
608 def Frame_GetClassDefaultAttributes(*args
, **kwargs
):
610 Frame_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
612 Get the default attributes for this class. This is useful if you want
613 to use the same font or colour in your own control as in a standard
614 control -- which is a much better idea than hard coding specific
615 colours or fonts which might look completely out of place on the
616 user's system, especially if it uses themes.
618 The variant parameter is only relevant under Mac currently and is
619 ignore under other platforms. Under Mac, it will change the size of
620 the returned font. See `wx.Window.SetWindowVariant` for more about
623 return _windows_
.Frame_GetClassDefaultAttributes(*args
, **kwargs
)
625 #---------------------------------------------------------------------------
627 class Dialog(TopLevelWindow
):
628 """Proxy of C++ Dialog class"""
630 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
631 ButtonSizerFlags
= _windows_
.Dialog_ButtonSizerFlags
632 def __init__(self
, *args
, **kwargs
):
634 __init__(self, Window parent, int id=-1, String title=EmptyString,
635 Point pos=DefaultPosition, Size size=DefaultSize,
636 long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> Dialog
638 newobj
= _windows_
.new_Dialog(*args
, **kwargs
)
639 self
.this
= newobj
.this
642 self
._setOORInfo
(self
)
644 def Create(*args
, **kwargs
):
646 Create(self, Window parent, int id=-1, String title=EmptyString,
647 Point pos=DefaultPosition, Size size=DefaultSize,
648 long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> bool
650 return _windows_
.Dialog_Create(*args
, **kwargs
)
652 def SetReturnCode(*args
, **kwargs
):
653 """SetReturnCode(self, int returnCode)"""
654 return _windows_
.Dialog_SetReturnCode(*args
, **kwargs
)
656 def GetReturnCode(*args
, **kwargs
):
657 """GetReturnCode(self) -> int"""
658 return _windows_
.Dialog_GetReturnCode(*args
, **kwargs
)
660 def CreateTextSizer(*args
, **kwargs
):
661 """CreateTextSizer(self, String message) -> Sizer"""
662 return _windows_
.Dialog_CreateTextSizer(*args
, **kwargs
)
664 def CreateButtonSizer(*args
, **kwargs
):
665 """CreateButtonSizer(self, long flags, bool separated=False, int distance=0) -> Sizer"""
666 return _windows_
.Dialog_CreateButtonSizer(*args
, **kwargs
)
668 def CreateStdDialogButtonSizer(*args
, **kwargs
):
669 """CreateStdDialogButtonSizer(self, long flags) -> StdDialogButtonSizer"""
670 return _windows_
.Dialog_CreateStdDialogButtonSizer(*args
, **kwargs
)
672 def IsModal(*args
, **kwargs
):
673 """IsModal(self) -> bool"""
674 return _windows_
.Dialog_IsModal(*args
, **kwargs
)
676 def ShowModal(*args
, **kwargs
):
677 """ShowModal(self) -> int"""
678 return _windows_
.Dialog_ShowModal(*args
, **kwargs
)
680 def EndModal(*args
, **kwargs
):
681 """EndModal(self, int retCode)"""
682 return _windows_
.Dialog_EndModal(*args
, **kwargs
)
684 def GetClassDefaultAttributes(*args
, **kwargs
):
686 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
688 Get the default attributes for this class. This is useful if you want
689 to use the same font or colour in your own control as in a standard
690 control -- which is a much better idea than hard coding specific
691 colours or fonts which might look completely out of place on the
692 user's system, especially if it uses themes.
694 The variant parameter is only relevant under Mac currently and is
695 ignore under other platforms. Under Mac, it will change the size of
696 the returned font. See `wx.Window.SetWindowVariant` for more about
699 return _windows_
.Dialog_GetClassDefaultAttributes(*args
, **kwargs
)
701 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
703 class DialogPtr(Dialog
):
704 def __init__(self
, this
):
706 if not hasattr(self
,"thisown"): self
.thisown
= 0
707 self
.__class
__ = Dialog
708 _windows_
.Dialog_swigregister(DialogPtr
)
710 def PreDialog(*args
, **kwargs
):
711 """PreDialog() -> Dialog"""
712 val
= _windows_
.new_PreDialog(*args
, **kwargs
)
716 def Dialog_GetClassDefaultAttributes(*args
, **kwargs
):
718 Dialog_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
720 Get the default attributes for this class. This is useful if you want
721 to use the same font or colour in your own control as in a standard
722 control -- which is a much better idea than hard coding specific
723 colours or fonts which might look completely out of place on the
724 user's system, especially if it uses themes.
726 The variant parameter is only relevant under Mac currently and is
727 ignore under other platforms. Under Mac, it will change the size of
728 the returned font. See `wx.Window.SetWindowVariant` for more about
731 return _windows_
.Dialog_GetClassDefaultAttributes(*args
, **kwargs
)
733 #---------------------------------------------------------------------------
735 class MiniFrame(Frame
):
736 """Proxy of C++ MiniFrame class"""
738 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
739 def __init__(self
, *args
, **kwargs
):
741 __init__(self, Window parent, int id=-1, String title=EmptyString,
742 Point pos=DefaultPosition, Size size=DefaultSize,
743 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> MiniFrame
745 newobj
= _windows_
.new_MiniFrame(*args
, **kwargs
)
746 self
.this
= newobj
.this
749 self
._setOORInfo
(self
)
751 def Create(*args
, **kwargs
):
753 Create(self, Window parent, int id=-1, String title=EmptyString,
754 Point pos=DefaultPosition, Size size=DefaultSize,
755 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
757 return _windows_
.MiniFrame_Create(*args
, **kwargs
)
760 class MiniFramePtr(MiniFrame
):
761 def __init__(self
, this
):
763 if not hasattr(self
,"thisown"): self
.thisown
= 0
764 self
.__class
__ = MiniFrame
765 _windows_
.MiniFrame_swigregister(MiniFramePtr
)
767 def PreMiniFrame(*args
, **kwargs
):
768 """PreMiniFrame() -> MiniFrame"""
769 val
= _windows_
.new_PreMiniFrame(*args
, **kwargs
)
773 #---------------------------------------------------------------------------
775 SPLASH_CENTRE_ON_PARENT
= _windows_
.SPLASH_CENTRE_ON_PARENT
776 SPLASH_CENTRE_ON_SCREEN
= _windows_
.SPLASH_CENTRE_ON_SCREEN
777 SPLASH_NO_CENTRE
= _windows_
.SPLASH_NO_CENTRE
778 SPLASH_TIMEOUT
= _windows_
.SPLASH_TIMEOUT
779 SPLASH_NO_TIMEOUT
= _windows_
.SPLASH_NO_TIMEOUT
780 class SplashScreenWindow(_core
.Window
):
781 """Proxy of C++ SplashScreenWindow class"""
783 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
784 def __init__(self
, *args
, **kwargs
):
786 __init__(self, Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
787 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
789 newobj
= _windows_
.new_SplashScreenWindow(*args
, **kwargs
)
790 self
.this
= newobj
.this
793 self
._setOORInfo
(self
)
795 def SetBitmap(*args
, **kwargs
):
796 """SetBitmap(self, Bitmap bitmap)"""
797 return _windows_
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
799 def GetBitmap(*args
, **kwargs
):
800 """GetBitmap(self) -> Bitmap"""
801 return _windows_
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
804 class SplashScreenWindowPtr(SplashScreenWindow
):
805 def __init__(self
, this
):
807 if not hasattr(self
,"thisown"): self
.thisown
= 0
808 self
.__class
__ = SplashScreenWindow
809 _windows_
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
811 class SplashScreen(Frame
):
812 """Proxy of C++ SplashScreen class"""
814 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
815 def __init__(self
, *args
, **kwargs
):
817 __init__(self, Bitmap bitmap, long splashStyle, int milliseconds,
818 Window parent, int id=-1, Point pos=DefaultPosition,
819 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
821 newobj
= _windows_
.new_SplashScreen(*args
, **kwargs
)
822 self
.this
= newobj
.this
825 self
._setOORInfo
(self
)
827 def GetSplashStyle(*args
, **kwargs
):
828 """GetSplashStyle(self) -> long"""
829 return _windows_
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
831 def GetSplashWindow(*args
, **kwargs
):
832 """GetSplashWindow(self) -> SplashScreenWindow"""
833 return _windows_
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
835 def GetTimeout(*args
, **kwargs
):
836 """GetTimeout(self) -> int"""
837 return _windows_
.SplashScreen_GetTimeout(*args
, **kwargs
)
840 class SplashScreenPtr(SplashScreen
):
841 def __init__(self
, this
):
843 if not hasattr(self
,"thisown"): self
.thisown
= 0
844 self
.__class
__ = SplashScreen
845 _windows_
.SplashScreen_swigregister(SplashScreenPtr
)
847 #---------------------------------------------------------------------------
849 SB_NORMAL
= _windows_
.SB_NORMAL
850 SB_FLAT
= _windows_
.SB_FLAT
851 SB_RAISED
= _windows_
.SB_RAISED
852 class StatusBar(_core
.Window
):
853 """Proxy of C++ StatusBar class"""
855 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
856 def __init__(self
, *args
, **kwargs
):
858 __init__(self, Window parent, int id=-1, long style=DEFAULT_STATUSBAR_STYLE,
859 String name=StatusLineNameStr) -> StatusBar
861 newobj
= _windows_
.new_StatusBar(*args
, **kwargs
)
862 self
.this
= newobj
.this
865 self
._setOORInfo
(self
)
867 def Create(*args
, **kwargs
):
868 """Create(self, Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
869 return _windows_
.StatusBar_Create(*args
, **kwargs
)
871 def SetFieldsCount(*args
, **kwargs
):
872 """SetFieldsCount(self, int number=1)"""
873 return _windows_
.StatusBar_SetFieldsCount(*args
, **kwargs
)
875 def GetFieldsCount(*args
, **kwargs
):
876 """GetFieldsCount(self) -> int"""
877 return _windows_
.StatusBar_GetFieldsCount(*args
, **kwargs
)
879 def SetStatusText(*args
, **kwargs
):
880 """SetStatusText(self, String text, int number=0)"""
881 return _windows_
.StatusBar_SetStatusText(*args
, **kwargs
)
883 def GetStatusText(*args
, **kwargs
):
884 """GetStatusText(self, int number=0) -> String"""
885 return _windows_
.StatusBar_GetStatusText(*args
, **kwargs
)
887 def PushStatusText(*args
, **kwargs
):
888 """PushStatusText(self, String text, int number=0)"""
889 return _windows_
.StatusBar_PushStatusText(*args
, **kwargs
)
891 def PopStatusText(*args
, **kwargs
):
892 """PopStatusText(self, int number=0)"""
893 return _windows_
.StatusBar_PopStatusText(*args
, **kwargs
)
895 def SetStatusWidths(*args
, **kwargs
):
896 """SetStatusWidths(self, int widths)"""
897 return _windows_
.StatusBar_SetStatusWidths(*args
, **kwargs
)
899 def SetStatusStyles(*args
, **kwargs
):
900 """SetStatusStyles(self, int styles)"""
901 return _windows_
.StatusBar_SetStatusStyles(*args
, **kwargs
)
903 def GetFieldRect(*args
, **kwargs
):
904 """GetFieldRect(self, int i) -> Rect"""
905 return _windows_
.StatusBar_GetFieldRect(*args
, **kwargs
)
907 def SetMinHeight(*args
, **kwargs
):
908 """SetMinHeight(self, int height)"""
909 return _windows_
.StatusBar_SetMinHeight(*args
, **kwargs
)
911 def GetBorderX(*args
, **kwargs
):
912 """GetBorderX(self) -> int"""
913 return _windows_
.StatusBar_GetBorderX(*args
, **kwargs
)
915 def GetBorderY(*args
, **kwargs
):
916 """GetBorderY(self) -> int"""
917 return _windows_
.StatusBar_GetBorderY(*args
, **kwargs
)
919 def GetClassDefaultAttributes(*args
, **kwargs
):
921 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
923 Get the default attributes for this class. This is useful if you want
924 to use the same font or colour in your own control as in a standard
925 control -- which is a much better idea than hard coding specific
926 colours or fonts which might look completely out of place on the
927 user's system, especially if it uses themes.
929 The variant parameter is only relevant under Mac currently and is
930 ignore under other platforms. Under Mac, it will change the size of
931 the returned font. See `wx.Window.SetWindowVariant` for more about
934 return _windows_
.StatusBar_GetClassDefaultAttributes(*args
, **kwargs
)
936 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
938 class StatusBarPtr(StatusBar
):
939 def __init__(self
, this
):
941 if not hasattr(self
,"thisown"): self
.thisown
= 0
942 self
.__class
__ = StatusBar
943 _windows_
.StatusBar_swigregister(StatusBarPtr
)
945 def PreStatusBar(*args
, **kwargs
):
946 """PreStatusBar() -> StatusBar"""
947 val
= _windows_
.new_PreStatusBar(*args
, **kwargs
)
951 def StatusBar_GetClassDefaultAttributes(*args
, **kwargs
):
953 StatusBar_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
955 Get the default attributes for this class. This is useful if you want
956 to use the same font or colour in your own control as in a standard
957 control -- which is a much better idea than hard coding specific
958 colours or fonts which might look completely out of place on the
959 user's system, especially if it uses themes.
961 The variant parameter is only relevant under Mac currently and is
962 ignore under other platforms. Under Mac, it will change the size of
963 the returned font. See `wx.Window.SetWindowVariant` for more about
966 return _windows_
.StatusBar_GetClassDefaultAttributes(*args
, **kwargs
)
968 #---------------------------------------------------------------------------
970 SP_NOBORDER
= _windows_
.SP_NOBORDER
971 SP_NOSASH
= _windows_
.SP_NOSASH
972 SP_PERMIT_UNSPLIT
= _windows_
.SP_PERMIT_UNSPLIT
973 SP_LIVE_UPDATE
= _windows_
.SP_LIVE_UPDATE
974 SP_3DSASH
= _windows_
.SP_3DSASH
975 SP_3DBORDER
= _windows_
.SP_3DBORDER
976 SP_NO_XP_THEME
= _windows_
.SP_NO_XP_THEME
977 SP_BORDER
= _windows_
.SP_BORDER
978 SP_3D
= _windows_
.SP_3D
979 SPLIT_HORIZONTAL
= _windows_
.SPLIT_HORIZONTAL
980 SPLIT_VERTICAL
= _windows_
.SPLIT_VERTICAL
981 SPLIT_DRAG_NONE
= _windows_
.SPLIT_DRAG_NONE
982 SPLIT_DRAG_DRAGGING
= _windows_
.SPLIT_DRAG_DRAGGING
983 SPLIT_DRAG_LEFT_DOWN
= _windows_
.SPLIT_DRAG_LEFT_DOWN
984 class SplitterWindow(_core
.Window
):
986 wx.SplitterWindow manages up to two subwindows or panes, with an
987 optional vertical or horizontal split which can be used with the mouse
991 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
992 def __init__(self
, *args
, **kwargs
):
994 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
995 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
997 Constructor. Creates and shows a SplitterWindow.
999 if kwargs
.has_key('point'): kwargs
['pos'] = kwargs
['point'];del kwargs
['point']
1000 newobj
= _windows_
.new_SplitterWindow(*args
, **kwargs
)
1001 self
.this
= newobj
.this
1004 self
._setOORInfo
(self
)
1006 def Create(*args
, **kwargs
):
1008 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1009 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool
1011 Create the GUI part of the SplitterWindow for the 2-phase create.
1013 return _windows_
.SplitterWindow_Create(*args
, **kwargs
)
1015 def GetWindow1(*args
, **kwargs
):
1017 GetWindow1(self) -> Window
1019 Gets the only or left/top pane.
1021 return _windows_
.SplitterWindow_GetWindow1(*args
, **kwargs
)
1023 def GetWindow2(*args
, **kwargs
):
1025 GetWindow2(self) -> Window
1027 Gets the right/bottom pane.
1029 return _windows_
.SplitterWindow_GetWindow2(*args
, **kwargs
)
1031 def SetSplitMode(*args
, **kwargs
):
1033 SetSplitMode(self, int mode)
1035 Sets the split mode. The mode can be wx.SPLIT_VERTICAL or
1036 wx.SPLIT_HORIZONTAL. This only sets the internal variable; does not
1039 return _windows_
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
1041 def GetSplitMode(*args
, **kwargs
):
1043 GetSplitMode(self) -> int
1047 return _windows_
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
1049 def Initialize(*args
, **kwargs
):
1051 Initialize(self, Window window)
1053 Initializes the splitter window to have one pane. This should be
1054 called if you wish to initially view only a single pane in the
1055 splitter window. The child window is shown if it is currently hidden.
1057 return _windows_
.SplitterWindow_Initialize(*args
, **kwargs
)
1059 def SplitVertically(*args
, **kwargs
):
1061 SplitVertically(self, Window window1, Window window2, int sashPosition=0) -> bool
1063 Initializes the left and right panes of the splitter window. The
1064 child windows are shown if they are currently hidden.
1066 return _windows_
.SplitterWindow_SplitVertically(*args
, **kwargs
)
1068 def SplitHorizontally(*args
, **kwargs
):
1070 SplitHorizontally(self, Window window1, Window window2, int sashPosition=0) -> bool
1072 Initializes the top and bottom panes of the splitter window. The
1073 child windows are shown if they are currently hidden.
1075 return _windows_
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
1077 def Unsplit(*args
, **kwargs
):
1079 Unsplit(self, Window toRemove=None) -> bool
1081 Unsplits the window. Pass the pane to remove, or None to remove the
1082 right or bottom pane. Returns True if successful, False otherwise (the
1083 window was not split).
1085 This function will not actually delete the pane being
1086 removed; it sends EVT_SPLITTER_UNSPLIT which can be handled
1087 for the desired behaviour. By default, the pane being
1088 removed is only hidden.
1090 return _windows_
.SplitterWindow_Unsplit(*args
, **kwargs
)
1092 def ReplaceWindow(*args
, **kwargs
):
1094 ReplaceWindow(self, Window winOld, Window winNew) -> bool
1096 This function replaces one of the windows managed by the
1097 SplitterWindow with another one. It is in general better to use it
1098 instead of calling Unsplit() and then resplitting the window back
1099 because it will provoke much less flicker. It is valid to call this
1100 function whether the splitter has two windows or only one.
1102 Both parameters should be non-None and winOld must specify one of the
1103 windows managed by the splitter. If the parameters are incorrect or
1104 the window couldn't be replaced, False is returned. Otherwise the
1105 function will return True, but please notice that it will not Destroy
1106 the replaced window and you may wish to do it yourself.
1108 return _windows_
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
1110 def UpdateSize(*args
, **kwargs
):
1114 Causes any pending sizing of the sash and child panes to take place
1117 Such resizing normally takes place in idle time, in order to wait for
1118 layout to be completed. However, this can cause unacceptable flicker
1119 as the panes are resized after the window has been shown. To work
1120 around this, you can perform window layout (for example by sending a
1121 size event to the parent window), and then call this function, before
1122 showing the top-level window.
1124 return _windows_
.SplitterWindow_UpdateSize(*args
, **kwargs
)
1126 def IsSplit(*args
, **kwargs
):
1128 IsSplit(self) -> bool
1130 Is the window split?
1132 return _windows_
.SplitterWindow_IsSplit(*args
, **kwargs
)
1134 def SetSashSize(*args
, **kwargs
):
1136 SetSashSize(self, int width)
1140 return _windows_
.SplitterWindow_SetSashSize(*args
, **kwargs
)
1142 def SetBorderSize(*args
, **kwargs
):
1144 SetBorderSize(self, int width)
1146 Sets the border size. Currently a NOP.
1148 return _windows_
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
1150 def GetSashSize(*args
, **kwargs
):
1152 GetSashSize(self) -> int
1156 return _windows_
.SplitterWindow_GetSashSize(*args
, **kwargs
)
1158 def GetBorderSize(*args
, **kwargs
):
1160 GetBorderSize(self) -> int
1162 Gets the border size
1164 return _windows_
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
1166 def SetSashPosition(*args
, **kwargs
):
1168 SetSashPosition(self, int position, bool redraw=True)
1170 Sets the sash position, in pixels. If redraw is Ttrue then the panes
1171 are resized and the sash and border are redrawn.
1173 return _windows_
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
1175 def GetSashPosition(*args
, **kwargs
):
1177 GetSashPosition(self) -> int
1179 Returns the surrent sash position.
1181 return _windows_
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
1183 def SetSashGravity(*args
, **kwargs
):
1185 SetSashGravity(self, double gravity)
1187 Set the sash gravity. Gravity is a floating-point factor between 0.0
1188 and 1.0 which controls position of sash while resizing the
1189 `wx.SplitterWindow`. The gravity specifies how much the left/top
1190 window will grow while resizing.
1192 return _windows_
.SplitterWindow_SetSashGravity(*args
, **kwargs
)
1194 def GetSashGravity(*args
, **kwargs
):
1196 GetSashGravity(self) -> double
1198 Gets the sash gravity.
1200 :see: `SetSashGravity`
1203 return _windows_
.SplitterWindow_GetSashGravity(*args
, **kwargs
)
1205 def SetMinimumPaneSize(*args
, **kwargs
):
1207 SetMinimumPaneSize(self, int min)
1209 Sets the minimum pane size in pixels.
1211 The default minimum pane size is zero, which means that either pane
1212 can be reduced to zero by dragging the sash, thus removing one of the
1213 panes. To prevent this behaviour (and veto out-of-range sash
1214 dragging), set a minimum size, for example 20 pixels. If the
1215 wx.SP_PERMIT_UNSPLIT style is used when a splitter window is created,
1216 the window may be unsplit even if minimum size is non-zero.
1218 return _windows_
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
1220 def GetMinimumPaneSize(*args
, **kwargs
):
1222 GetMinimumPaneSize(self) -> int
1224 Gets the minimum pane size in pixels.
1226 return _windows_
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
1228 def SashHitTest(*args
, **kwargs
):
1230 SashHitTest(self, int x, int y, int tolerance=5) -> bool
1232 Tests for x, y over the sash
1234 return _windows_
.SplitterWindow_SashHitTest(*args
, **kwargs
)
1236 def SizeWindows(*args
, **kwargs
):
1242 return _windows_
.SplitterWindow_SizeWindows(*args
, **kwargs
)
1244 def SetNeedUpdating(*args
, **kwargs
):
1245 """SetNeedUpdating(self, bool needUpdating)"""
1246 return _windows_
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
1248 def GetNeedUpdating(*args
, **kwargs
):
1249 """GetNeedUpdating(self) -> bool"""
1250 return _windows_
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
1252 def GetClassDefaultAttributes(*args
, **kwargs
):
1254 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1256 Get the default attributes for this class. This is useful if you want
1257 to use the same font or colour in your own control as in a standard
1258 control -- which is a much better idea than hard coding specific
1259 colours or fonts which might look completely out of place on the
1260 user's system, especially if it uses themes.
1262 The variant parameter is only relevant under Mac currently and is
1263 ignore under other platforms. Under Mac, it will change the size of
1264 the returned font. See `wx.Window.SetWindowVariant` for more about
1267 return _windows_
.SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1269 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
1271 class SplitterWindowPtr(SplitterWindow
):
1272 def __init__(self
, this
):
1274 if not hasattr(self
,"thisown"): self
.thisown
= 0
1275 self
.__class
__ = SplitterWindow
1276 _windows_
.SplitterWindow_swigregister(SplitterWindowPtr
)
1277 SplitterNameStr
= cvar
.SplitterNameStr
1279 def PreSplitterWindow(*args
, **kwargs
):
1281 PreSplitterWindow() -> SplitterWindow
1283 Precreate a SplitterWindow for 2-phase creation.
1285 val
= _windows_
.new_PreSplitterWindow(*args
, **kwargs
)
1289 def SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
):
1291 SplitterWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1293 Get the default attributes for this class. This is useful if you want
1294 to use the same font or colour in your own control as in a standard
1295 control -- which is a much better idea than hard coding specific
1296 colours or fonts which might look completely out of place on the
1297 user's system, especially if it uses themes.
1299 The variant parameter is only relevant under Mac currently and is
1300 ignore under other platforms. Under Mac, it will change the size of
1301 the returned font. See `wx.Window.SetWindowVariant` for more about
1304 return _windows_
.SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1306 class SplitterEvent(_core
.NotifyEvent
):
1307 """This class represents the events generated by a splitter control."""
1309 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1310 def __init__(self
, *args
, **kwargs
):
1312 __init__(self, wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent
1314 This class represents the events generated by a splitter control.
1316 newobj
= _windows_
.new_SplitterEvent(*args
, **kwargs
)
1317 self
.this
= newobj
.this
1320 def SetSashPosition(*args
, **kwargs
):
1322 SetSashPosition(self, int pos)
1324 This function is only meaningful during EVT_SPLITTER_SASH_POS_CHANGING
1325 and EVT_SPLITTER_SASH_POS_CHANGED events. In the case of _CHANGED
1326 events, sets the the new sash position. In the case of _CHANGING
1327 events, sets the new tracking bar position so visual feedback during
1328 dragging will represent that change that will actually take place. Set
1329 to -1 from the event handler code to prevent repositioning.
1331 return _windows_
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
1333 def GetSashPosition(*args
, **kwargs
):
1335 GetSashPosition(self) -> int
1337 Returns the new sash position while in EVT_SPLITTER_SASH_POS_CHANGING
1338 and EVT_SPLITTER_SASH_POS_CHANGED events.
1340 return _windows_
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
1342 def GetWindowBeingRemoved(*args
, **kwargs
):
1344 GetWindowBeingRemoved(self) -> Window
1346 Returns a pointer to the window being removed when a splitter window
1349 return _windows_
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
1351 def GetX(*args
, **kwargs
):
1355 Returns the x coordinate of the double-click point in a
1356 EVT_SPLITTER_DCLICK event.
1358 return _windows_
.SplitterEvent_GetX(*args
, **kwargs
)
1360 def GetY(*args
, **kwargs
):
1364 Returns the y coordinate of the double-click point in a
1365 EVT_SPLITTER_DCLICK event.
1367 return _windows_
.SplitterEvent_GetY(*args
, **kwargs
)
1370 class SplitterEventPtr(SplitterEvent
):
1371 def __init__(self
, this
):
1373 if not hasattr(self
,"thisown"): self
.thisown
= 0
1374 self
.__class
__ = SplitterEvent
1375 _windows_
.SplitterEvent_swigregister(SplitterEventPtr
)
1377 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
1378 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
1379 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows_
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
1380 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows_
.wxEVT_COMMAND_SPLITTER_UNSPLIT
1381 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
1382 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
1383 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
1384 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
1385 EVT_SPLITTER_DCLICK
= EVT_SPLITTER_DOUBLECLICKED
1387 #---------------------------------------------------------------------------
1389 SASH_DRAG_NONE
= _windows_
.SASH_DRAG_NONE
1390 SASH_DRAG_DRAGGING
= _windows_
.SASH_DRAG_DRAGGING
1391 SASH_DRAG_LEFT_DOWN
= _windows_
.SASH_DRAG_LEFT_DOWN
1392 SW_NOBORDER
= _windows_
.SW_NOBORDER
1393 SW_BORDER
= _windows_
.SW_BORDER
1394 SW_3DSASH
= _windows_
.SW_3DSASH
1395 SW_3DBORDER
= _windows_
.SW_3DBORDER
1396 SW_3D
= _windows_
.SW_3D
1397 SASH_TOP
= _windows_
.SASH_TOP
1398 SASH_RIGHT
= _windows_
.SASH_RIGHT
1399 SASH_BOTTOM
= _windows_
.SASH_BOTTOM
1400 SASH_LEFT
= _windows_
.SASH_LEFT
1401 SASH_NONE
= _windows_
.SASH_NONE
1402 class SashWindow(_core
.Window
):
1403 """Proxy of C++ SashWindow class"""
1405 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1406 def __init__(self
, *args
, **kwargs
):
1408 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1409 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1410 String name=SashNameStr) -> SashWindow
1412 newobj
= _windows_
.new_SashWindow(*args
, **kwargs
)
1413 self
.this
= newobj
.this
1416 self
._setOORInfo
(self
)
1418 def Create(*args
, **kwargs
):
1420 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1421 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1422 String name=SashNameStr) -> bool
1424 return _windows_
.SashWindow_Create(*args
, **kwargs
)
1426 def SetSashVisible(*args
, **kwargs
):
1427 """SetSashVisible(self, int edge, bool sash)"""
1428 return _windows_
.SashWindow_SetSashVisible(*args
, **kwargs
)
1430 def GetSashVisible(*args
, **kwargs
):
1431 """GetSashVisible(self, int edge) -> bool"""
1432 return _windows_
.SashWindow_GetSashVisible(*args
, **kwargs
)
1434 def SetSashBorder(*args
, **kwargs
):
1435 """SetSashBorder(self, int edge, bool border)"""
1436 return _windows_
.SashWindow_SetSashBorder(*args
, **kwargs
)
1438 def HasBorder(*args
, **kwargs
):
1439 """HasBorder(self, int edge) -> bool"""
1440 return _windows_
.SashWindow_HasBorder(*args
, **kwargs
)
1442 def GetEdgeMargin(*args
, **kwargs
):
1443 """GetEdgeMargin(self, int edge) -> int"""
1444 return _windows_
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
1446 def SetDefaultBorderSize(*args
, **kwargs
):
1447 """SetDefaultBorderSize(self, int width)"""
1448 return _windows_
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
1450 def GetDefaultBorderSize(*args
, **kwargs
):
1451 """GetDefaultBorderSize(self) -> int"""
1452 return _windows_
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
1454 def SetExtraBorderSize(*args
, **kwargs
):
1455 """SetExtraBorderSize(self, int width)"""
1456 return _windows_
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
1458 def GetExtraBorderSize(*args
, **kwargs
):
1459 """GetExtraBorderSize(self) -> int"""
1460 return _windows_
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
1462 def SetMinimumSizeX(*args
, **kwargs
):
1463 """SetMinimumSizeX(self, int min)"""
1464 return _windows_
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
1466 def SetMinimumSizeY(*args
, **kwargs
):
1467 """SetMinimumSizeY(self, int min)"""
1468 return _windows_
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
1470 def GetMinimumSizeX(*args
, **kwargs
):
1471 """GetMinimumSizeX(self) -> int"""
1472 return _windows_
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
1474 def GetMinimumSizeY(*args
, **kwargs
):
1475 """GetMinimumSizeY(self) -> int"""
1476 return _windows_
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
1478 def SetMaximumSizeX(*args
, **kwargs
):
1479 """SetMaximumSizeX(self, int max)"""
1480 return _windows_
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
1482 def SetMaximumSizeY(*args
, **kwargs
):
1483 """SetMaximumSizeY(self, int max)"""
1484 return _windows_
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
1486 def GetMaximumSizeX(*args
, **kwargs
):
1487 """GetMaximumSizeX(self) -> int"""
1488 return _windows_
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
1490 def GetMaximumSizeY(*args
, **kwargs
):
1491 """GetMaximumSizeY(self) -> int"""
1492 return _windows_
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
1494 def SashHitTest(*args
, **kwargs
):
1495 """SashHitTest(self, int x, int y, int tolerance=2) -> int"""
1496 return _windows_
.SashWindow_SashHitTest(*args
, **kwargs
)
1498 def SizeWindows(*args
, **kwargs
):
1499 """SizeWindows(self)"""
1500 return _windows_
.SashWindow_SizeWindows(*args
, **kwargs
)
1503 class SashWindowPtr(SashWindow
):
1504 def __init__(self
, this
):
1506 if not hasattr(self
,"thisown"): self
.thisown
= 0
1507 self
.__class
__ = SashWindow
1508 _windows_
.SashWindow_swigregister(SashWindowPtr
)
1509 SashNameStr
= cvar
.SashNameStr
1510 SashLayoutNameStr
= cvar
.SashLayoutNameStr
1512 def PreSashWindow(*args
, **kwargs
):
1513 """PreSashWindow() -> SashWindow"""
1514 val
= _windows_
.new_PreSashWindow(*args
, **kwargs
)
1518 SASH_STATUS_OK
= _windows_
.SASH_STATUS_OK
1519 SASH_STATUS_OUT_OF_RANGE
= _windows_
.SASH_STATUS_OUT_OF_RANGE
1520 class SashEvent(_core
.CommandEvent
):
1521 """Proxy of C++ SashEvent class"""
1523 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1524 def __init__(self
, *args
, **kwargs
):
1525 """__init__(self, int id=0, int edge=SASH_NONE) -> SashEvent"""
1526 newobj
= _windows_
.new_SashEvent(*args
, **kwargs
)
1527 self
.this
= newobj
.this
1530 def SetEdge(*args
, **kwargs
):
1531 """SetEdge(self, int edge)"""
1532 return _windows_
.SashEvent_SetEdge(*args
, **kwargs
)
1534 def GetEdge(*args
, **kwargs
):
1535 """GetEdge(self) -> int"""
1536 return _windows_
.SashEvent_GetEdge(*args
, **kwargs
)
1538 def SetDragRect(*args
, **kwargs
):
1539 """SetDragRect(self, Rect rect)"""
1540 return _windows_
.SashEvent_SetDragRect(*args
, **kwargs
)
1542 def GetDragRect(*args
, **kwargs
):
1543 """GetDragRect(self) -> Rect"""
1544 return _windows_
.SashEvent_GetDragRect(*args
, **kwargs
)
1546 def SetDragStatus(*args
, **kwargs
):
1547 """SetDragStatus(self, int status)"""
1548 return _windows_
.SashEvent_SetDragStatus(*args
, **kwargs
)
1550 def GetDragStatus(*args
, **kwargs
):
1551 """GetDragStatus(self) -> int"""
1552 return _windows_
.SashEvent_GetDragStatus(*args
, **kwargs
)
1555 class SashEventPtr(SashEvent
):
1556 def __init__(self
, this
):
1558 if not hasattr(self
,"thisown"): self
.thisown
= 0
1559 self
.__class
__ = SashEvent
1560 _windows_
.SashEvent_swigregister(SashEventPtr
)
1562 wxEVT_SASH_DRAGGED
= _windows_
.wxEVT_SASH_DRAGGED
1563 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
1564 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
1566 #---------------------------------------------------------------------------
1568 LAYOUT_HORIZONTAL
= _windows_
.LAYOUT_HORIZONTAL
1569 LAYOUT_VERTICAL
= _windows_
.LAYOUT_VERTICAL
1570 LAYOUT_NONE
= _windows_
.LAYOUT_NONE
1571 LAYOUT_TOP
= _windows_
.LAYOUT_TOP
1572 LAYOUT_LEFT
= _windows_
.LAYOUT_LEFT
1573 LAYOUT_RIGHT
= _windows_
.LAYOUT_RIGHT
1574 LAYOUT_BOTTOM
= _windows_
.LAYOUT_BOTTOM
1575 LAYOUT_LENGTH_Y
= _windows_
.LAYOUT_LENGTH_Y
1576 LAYOUT_LENGTH_X
= _windows_
.LAYOUT_LENGTH_X
1577 LAYOUT_MRU_LENGTH
= _windows_
.LAYOUT_MRU_LENGTH
1578 LAYOUT_QUERY
= _windows_
.LAYOUT_QUERY
1579 wxEVT_QUERY_LAYOUT_INFO
= _windows_
.wxEVT_QUERY_LAYOUT_INFO
1580 wxEVT_CALCULATE_LAYOUT
= _windows_
.wxEVT_CALCULATE_LAYOUT
1581 class QueryLayoutInfoEvent(_core
.Event
):
1582 """Proxy of C++ QueryLayoutInfoEvent class"""
1584 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1585 def __init__(self
, *args
, **kwargs
):
1586 """__init__(self, int id=0) -> QueryLayoutInfoEvent"""
1587 newobj
= _windows_
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1588 self
.this
= newobj
.this
1591 def SetRequestedLength(*args
, **kwargs
):
1592 """SetRequestedLength(self, int length)"""
1593 return _windows_
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1595 def GetRequestedLength(*args
, **kwargs
):
1596 """GetRequestedLength(self) -> int"""
1597 return _windows_
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1599 def SetFlags(*args
, **kwargs
):
1600 """SetFlags(self, int flags)"""
1601 return _windows_
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1603 def GetFlags(*args
, **kwargs
):
1604 """GetFlags(self) -> int"""
1605 return _windows_
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1607 def SetSize(*args
, **kwargs
):
1608 """SetSize(self, Size size)"""
1609 return _windows_
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1611 def GetSize(*args
, **kwargs
):
1612 """GetSize(self) -> Size"""
1613 return _windows_
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1615 def SetOrientation(*args
, **kwargs
):
1616 """SetOrientation(self, int orient)"""
1617 return _windows_
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1619 def GetOrientation(*args
, **kwargs
):
1620 """GetOrientation(self) -> int"""
1621 return _windows_
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1623 def SetAlignment(*args
, **kwargs
):
1624 """SetAlignment(self, int align)"""
1625 return _windows_
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1627 def GetAlignment(*args
, **kwargs
):
1628 """GetAlignment(self) -> int"""
1629 return _windows_
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1632 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1633 def __init__(self
, this
):
1635 if not hasattr(self
,"thisown"): self
.thisown
= 0
1636 self
.__class
__ = QueryLayoutInfoEvent
1637 _windows_
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1639 class CalculateLayoutEvent(_core
.Event
):
1640 """Proxy of C++ CalculateLayoutEvent class"""
1642 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1643 def __init__(self
, *args
, **kwargs
):
1644 """__init__(self, int id=0) -> CalculateLayoutEvent"""
1645 newobj
= _windows_
.new_CalculateLayoutEvent(*args
, **kwargs
)
1646 self
.this
= newobj
.this
1649 def SetFlags(*args
, **kwargs
):
1650 """SetFlags(self, int flags)"""
1651 return _windows_
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1653 def GetFlags(*args
, **kwargs
):
1654 """GetFlags(self) -> int"""
1655 return _windows_
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1657 def SetRect(*args
, **kwargs
):
1658 """SetRect(self, Rect rect)"""
1659 return _windows_
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1661 def GetRect(*args
, **kwargs
):
1662 """GetRect(self) -> Rect"""
1663 return _windows_
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1666 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1667 def __init__(self
, this
):
1669 if not hasattr(self
,"thisown"): self
.thisown
= 0
1670 self
.__class
__ = CalculateLayoutEvent
1671 _windows_
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1673 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1674 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1676 class SashLayoutWindow(SashWindow
):
1677 """Proxy of C++ SashLayoutWindow class"""
1679 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1680 def __init__(self
, *args
, **kwargs
):
1682 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1683 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1684 String name=SashLayoutNameStr) -> SashLayoutWindow
1686 newobj
= _windows_
.new_SashLayoutWindow(*args
, **kwargs
)
1687 self
.this
= newobj
.this
1690 self
._setOORInfo
(self
)
1692 def Create(*args
, **kwargs
):
1694 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1695 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1696 String name=SashLayoutNameStr) -> bool
1698 return _windows_
.SashLayoutWindow_Create(*args
, **kwargs
)
1700 def GetAlignment(*args
, **kwargs
):
1701 """GetAlignment(self) -> int"""
1702 return _windows_
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1704 def GetOrientation(*args
, **kwargs
):
1705 """GetOrientation(self) -> int"""
1706 return _windows_
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1708 def SetAlignment(*args
, **kwargs
):
1709 """SetAlignment(self, int alignment)"""
1710 return _windows_
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1712 def SetDefaultSize(*args
, **kwargs
):
1713 """SetDefaultSize(self, Size size)"""
1714 return _windows_
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1716 def SetOrientation(*args
, **kwargs
):
1717 """SetOrientation(self, int orientation)"""
1718 return _windows_
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1721 class SashLayoutWindowPtr(SashLayoutWindow
):
1722 def __init__(self
, this
):
1724 if not hasattr(self
,"thisown"): self
.thisown
= 0
1725 self
.__class
__ = SashLayoutWindow
1726 _windows_
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1728 def PreSashLayoutWindow(*args
, **kwargs
):
1729 """PreSashLayoutWindow() -> SashLayoutWindow"""
1730 val
= _windows_
.new_PreSashLayoutWindow(*args
, **kwargs
)
1734 class LayoutAlgorithm(_core
.Object
):
1735 """Proxy of C++ LayoutAlgorithm class"""
1737 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1738 def __init__(self
, *args
, **kwargs
):
1739 """__init__(self) -> LayoutAlgorithm"""
1740 newobj
= _windows_
.new_LayoutAlgorithm(*args
, **kwargs
)
1741 self
.this
= newobj
.this
1744 def __del__(self
, destroy
=_windows_
.delete_LayoutAlgorithm
):
1747 if self
.thisown
: destroy(self
)
1750 def LayoutMDIFrame(*args
, **kwargs
):
1751 """LayoutMDIFrame(self, MDIParentFrame frame, Rect rect=None) -> bool"""
1752 return _windows_
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1754 def LayoutFrame(*args
, **kwargs
):
1755 """LayoutFrame(self, Frame frame, Window mainWindow=None) -> bool"""
1756 return _windows_
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1758 def LayoutWindow(*args
, **kwargs
):
1759 """LayoutWindow(self, Window parent, Window mainWindow=None) -> bool"""
1760 return _windows_
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1763 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1764 def __init__(self
, this
):
1766 if not hasattr(self
,"thisown"): self
.thisown
= 0
1767 self
.__class
__ = LayoutAlgorithm
1768 _windows_
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1770 #---------------------------------------------------------------------------
1772 class PopupWindow(_core
.Window
):
1773 """Proxy of C++ PopupWindow class"""
1775 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1776 def __init__(self
, *args
, **kwargs
):
1777 """__init__(self, Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1778 newobj
= _windows_
.new_PopupWindow(*args
, **kwargs
)
1779 self
.this
= newobj
.this
1782 self
._setOORInfo
(self
)
1784 def Create(*args
, **kwargs
):
1785 """Create(self, Window parent, int flags=BORDER_NONE) -> bool"""
1786 return _windows_
.PopupWindow_Create(*args
, **kwargs
)
1788 def Position(*args
, **kwargs
):
1789 """Position(self, Point ptOrigin, Size size)"""
1790 return _windows_
.PopupWindow_Position(*args
, **kwargs
)
1793 class PopupWindowPtr(PopupWindow
):
1794 def __init__(self
, this
):
1796 if not hasattr(self
,"thisown"): self
.thisown
= 0
1797 self
.__class
__ = PopupWindow
1798 _windows_
.PopupWindow_swigregister(PopupWindowPtr
)
1800 def PrePopupWindow(*args
, **kwargs
):
1801 """PrePopupWindow() -> PopupWindow"""
1802 val
= _windows_
.new_PrePopupWindow(*args
, **kwargs
)
1806 #---------------------------------------------------------------------------
1808 class PopupTransientWindow(PopupWindow
):
1809 """Proxy of C++ PopupTransientWindow class"""
1811 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1812 def __init__(self
, *args
, **kwargs
):
1813 """__init__(self, Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1814 newobj
= _windows_
.new_PopupTransientWindow(*args
, **kwargs
)
1815 self
.this
= newobj
.this
1818 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, PopupTransientWindow
)
1820 def _setCallbackInfo(*args
, **kwargs
):
1821 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1822 return _windows_
.PopupTransientWindow__setCallbackInfo(*args
, **kwargs
)
1824 def Popup(*args
, **kwargs
):
1825 """Popup(self, Window focus=None)"""
1826 return _windows_
.PopupTransientWindow_Popup(*args
, **kwargs
)
1828 def Dismiss(*args
, **kwargs
):
1830 return _windows_
.PopupTransientWindow_Dismiss(*args
, **kwargs
)
1833 class PopupTransientWindowPtr(PopupTransientWindow
):
1834 def __init__(self
, this
):
1836 if not hasattr(self
,"thisown"): self
.thisown
= 0
1837 self
.__class
__ = PopupTransientWindow
1838 _windows_
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1840 def PrePopupTransientWindow(*args
, **kwargs
):
1841 """PrePopupTransientWindow() -> PopupTransientWindow"""
1842 val
= _windows_
.new_PrePopupTransientWindow(*args
, **kwargs
)
1846 #---------------------------------------------------------------------------
1848 class TipWindow(PopupTransientWindow
):
1849 """Proxy of C++ TipWindow class"""
1851 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1852 def __init__(self
, *args
, **kwargs
):
1853 """__init__(self, Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1854 newobj
= _windows_
.new_TipWindow(*args
, **kwargs
)
1855 self
.this
= newobj
.this
1858 self
._setOORInfo
(self
)
1860 def SetBoundingRect(*args
, **kwargs
):
1861 """SetBoundingRect(self, Rect rectBound)"""
1862 return _windows_
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1864 def Close(*args
, **kwargs
):
1868 This function simply generates a EVT_CLOSE event whose handler usually
1869 tries to close the window. It doesn't close the window itself,
1870 however. If force is False (the default) then the window's close
1871 handler will be allowed to veto the destruction of the window.
1873 return _windows_
.TipWindow_Close(*args
, **kwargs
)
1876 class TipWindowPtr(TipWindow
):
1877 def __init__(self
, this
):
1879 if not hasattr(self
,"thisown"): self
.thisown
= 0
1880 self
.__class
__ = TipWindow
1881 _windows_
.TipWindow_swigregister(TipWindowPtr
)
1883 #---------------------------------------------------------------------------
1885 class VScrolledWindow(Panel
):
1886 """Proxy of C++ VScrolledWindow class"""
1888 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1889 def __init__(self
, *args
, **kwargs
):
1891 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1892 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
1894 newobj
= _windows_
.new_VScrolledWindow(*args
, **kwargs
)
1895 self
.this
= newobj
.this
1898 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1900 def _setCallbackInfo(*args
, **kwargs
):
1901 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1902 return _windows_
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1904 def Create(*args
, **kwargs
):
1906 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1907 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
1909 return _windows_
.VScrolledWindow_Create(*args
, **kwargs
)
1911 def SetLineCount(*args
, **kwargs
):
1912 """SetLineCount(self, size_t count)"""
1913 return _windows_
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1915 def ScrollToLine(*args
, **kwargs
):
1916 """ScrollToLine(self, size_t line) -> bool"""
1917 return _windows_
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1919 def ScrollLines(*args
, **kwargs
):
1921 ScrollLines(self, int lines) -> bool
1923 If the platform and window class supports it, scrolls the window by
1924 the given number of lines down, if lines is positive, or up if lines
1925 is negative. Returns True if the window was scrolled, False if it was
1926 already on top/bottom and nothing was done.
1928 return _windows_
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1930 def ScrollPages(*args
, **kwargs
):
1932 ScrollPages(self, int pages) -> bool
1934 If the platform and window class supports it, scrolls the window by
1935 the given number of pages down, if pages is positive, or up if pages
1936 is negative. Returns True if the window was scrolled, False if it was
1937 already on top/bottom and nothing was done.
1939 return _windows_
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1941 def RefreshLine(*args
, **kwargs
):
1942 """RefreshLine(self, size_t line)"""
1943 return _windows_
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1945 def RefreshLines(*args
, **kwargs
):
1946 """RefreshLines(self, size_t from, size_t to)"""
1947 return _windows_
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1949 def HitTestXY(*args
, **kwargs
):
1951 HitTestXY(self, int x, int y) -> int
1953 Test where the given (in client coords) point lies
1955 return _windows_
.VScrolledWindow_HitTestXY(*args
, **kwargs
)
1957 def HitTest(*args
, **kwargs
):
1959 HitTest(self, Point pt) -> int
1961 Test where the given (in client coords) point lies
1963 return _windows_
.VScrolledWindow_HitTest(*args
, **kwargs
)
1965 def RefreshAll(*args
, **kwargs
):
1966 """RefreshAll(self)"""
1967 return _windows_
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1969 def GetLineCount(*args
, **kwargs
):
1970 """GetLineCount(self) -> size_t"""
1971 return _windows_
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1973 def GetVisibleBegin(*args
, **kwargs
):
1974 """GetVisibleBegin(self) -> size_t"""
1975 return _windows_
.VScrolledWindow_GetVisibleBegin(*args
, **kwargs
)
1977 def GetVisibleEnd(*args
, **kwargs
):
1978 """GetVisibleEnd(self) -> size_t"""
1979 return _windows_
.VScrolledWindow_GetVisibleEnd(*args
, **kwargs
)
1981 def IsVisible(*args
, **kwargs
):
1982 """IsVisible(self, size_t line) -> bool"""
1983 return _windows_
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1985 def GetFirstVisibleLine(*args
, **kwargs
):
1986 """GetFirstVisibleLine(self) -> size_t"""
1987 return _windows_
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1989 def GetLastVisibleLine(*args
, **kwargs
):
1990 """GetLastVisibleLine(self) -> size_t"""
1991 return _windows_
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1994 class VScrolledWindowPtr(VScrolledWindow
):
1995 def __init__(self
, this
):
1997 if not hasattr(self
,"thisown"): self
.thisown
= 0
1998 self
.__class
__ = VScrolledWindow
1999 _windows_
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
2001 def PreVScrolledWindow(*args
, **kwargs
):
2002 """PreVScrolledWindow() -> VScrolledWindow"""
2003 val
= _windows_
.new_PreVScrolledWindow(*args
, **kwargs
)
2007 class VListBox(VScrolledWindow
):
2008 """Proxy of C++ VListBox class"""
2010 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2011 def __init__(self
, *args
, **kwargs
):
2013 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2014 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
2016 newobj
= _windows_
.new_VListBox(*args
, **kwargs
)
2017 self
.this
= newobj
.this
2020 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
2022 def _setCallbackInfo(*args
, **kwargs
):
2023 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2024 return _windows_
.VListBox__setCallbackInfo(*args
, **kwargs
)
2026 def Create(*args
, **kwargs
):
2028 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2029 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
2031 return _windows_
.VListBox_Create(*args
, **kwargs
)
2033 def GetItemCount(*args
, **kwargs
):
2034 """GetItemCount(self) -> size_t"""
2035 return _windows_
.VListBox_GetItemCount(*args
, **kwargs
)
2037 def HasMultipleSelection(*args
, **kwargs
):
2038 """HasMultipleSelection(self) -> bool"""
2039 return _windows_
.VListBox_HasMultipleSelection(*args
, **kwargs
)
2041 def GetSelection(*args
, **kwargs
):
2042 """GetSelection(self) -> int"""
2043 return _windows_
.VListBox_GetSelection(*args
, **kwargs
)
2045 def IsCurrent(*args
, **kwargs
):
2046 """IsCurrent(self, size_t item) -> bool"""
2047 return _windows_
.VListBox_IsCurrent(*args
, **kwargs
)
2049 def IsSelected(*args
, **kwargs
):
2050 """IsSelected(self, size_t item) -> bool"""
2051 return _windows_
.VListBox_IsSelected(*args
, **kwargs
)
2053 def GetSelectedCount(*args
, **kwargs
):
2054 """GetSelectedCount(self) -> size_t"""
2055 return _windows_
.VListBox_GetSelectedCount(*args
, **kwargs
)
2057 def GetFirstSelected(*args
, **kwargs
):
2058 """GetFirstSelected(self) -> PyObject"""
2059 return _windows_
.VListBox_GetFirstSelected(*args
, **kwargs
)
2061 def GetNextSelected(*args
, **kwargs
):
2062 """GetNextSelected(self, unsigned long cookie) -> PyObject"""
2063 return _windows_
.VListBox_GetNextSelected(*args
, **kwargs
)
2065 def GetMargins(*args
, **kwargs
):
2066 """GetMargins(self) -> Point"""
2067 return _windows_
.VListBox_GetMargins(*args
, **kwargs
)
2069 def GetSelectionBackground(*args
, **kwargs
):
2070 """GetSelectionBackground(self) -> Colour"""
2071 return _windows_
.VListBox_GetSelectionBackground(*args
, **kwargs
)
2073 def SetItemCount(*args
, **kwargs
):
2074 """SetItemCount(self, size_t count)"""
2075 return _windows_
.VListBox_SetItemCount(*args
, **kwargs
)
2077 def Clear(*args
, **kwargs
):
2079 return _windows_
.VListBox_Clear(*args
, **kwargs
)
2081 def SetSelection(*args
, **kwargs
):
2082 """SetSelection(self, int selection)"""
2083 return _windows_
.VListBox_SetSelection(*args
, **kwargs
)
2085 def Select(*args
, **kwargs
):
2086 """Select(self, size_t item, bool select=True) -> bool"""
2087 return _windows_
.VListBox_Select(*args
, **kwargs
)
2089 def SelectRange(*args
, **kwargs
):
2090 """SelectRange(self, size_t from, size_t to) -> bool"""
2091 return _windows_
.VListBox_SelectRange(*args
, **kwargs
)
2093 def Toggle(*args
, **kwargs
):
2094 """Toggle(self, size_t item)"""
2095 return _windows_
.VListBox_Toggle(*args
, **kwargs
)
2097 def SelectAll(*args
, **kwargs
):
2098 """SelectAll(self) -> bool"""
2099 return _windows_
.VListBox_SelectAll(*args
, **kwargs
)
2101 def DeselectAll(*args
, **kwargs
):
2102 """DeselectAll(self) -> bool"""
2103 return _windows_
.VListBox_DeselectAll(*args
, **kwargs
)
2105 def SetMargins(*args
, **kwargs
):
2106 """SetMargins(self, Point pt)"""
2107 return _windows_
.VListBox_SetMargins(*args
, **kwargs
)
2109 def SetMarginsXY(*args
, **kwargs
):
2110 """SetMarginsXY(self, int x, int y)"""
2111 return _windows_
.VListBox_SetMarginsXY(*args
, **kwargs
)
2113 def SetSelectionBackground(*args
, **kwargs
):
2114 """SetSelectionBackground(self, Colour col)"""
2115 return _windows_
.VListBox_SetSelectionBackground(*args
, **kwargs
)
2118 class VListBoxPtr(VListBox
):
2119 def __init__(self
, this
):
2121 if not hasattr(self
,"thisown"): self
.thisown
= 0
2122 self
.__class
__ = VListBox
2123 _windows_
.VListBox_swigregister(VListBoxPtr
)
2124 VListBoxNameStr
= cvar
.VListBoxNameStr
2126 def PreVListBox(*args
, **kwargs
):
2127 """PreVListBox() -> VListBox"""
2128 val
= _windows_
.new_PreVListBox(*args
, **kwargs
)
2132 class HtmlListBox(VListBox
):
2133 """Proxy of C++ HtmlListBox class"""
2135 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2136 def __init__(self
, *args
, **kwargs
):
2138 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2139 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
2141 newobj
= _windows_
.new_HtmlListBox(*args
, **kwargs
)
2142 self
.this
= newobj
.this
2145 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
2147 def _setCallbackInfo(*args
, **kwargs
):
2148 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2149 return _windows_
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
2151 def Create(*args
, **kwargs
):
2153 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2154 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
2156 return _windows_
.HtmlListBox_Create(*args
, **kwargs
)
2158 def RefreshAll(*args
, **kwargs
):
2159 """RefreshAll(self)"""
2160 return _windows_
.HtmlListBox_RefreshAll(*args
, **kwargs
)
2162 def SetItemCount(*args
, **kwargs
):
2163 """SetItemCount(self, size_t count)"""
2164 return _windows_
.HtmlListBox_SetItemCount(*args
, **kwargs
)
2166 def GetFileSystem(*args
, **kwargs
):
2167 """GetFileSystem(self) -> FileSystem"""
2168 return _windows_
.HtmlListBox_GetFileSystem(*args
, **kwargs
)
2171 class HtmlListBoxPtr(HtmlListBox
):
2172 def __init__(self
, this
):
2174 if not hasattr(self
,"thisown"): self
.thisown
= 0
2175 self
.__class
__ = HtmlListBox
2176 _windows_
.HtmlListBox_swigregister(HtmlListBoxPtr
)
2178 def PreHtmlListBox(*args
, **kwargs
):
2179 """PreHtmlListBox() -> HtmlListBox"""
2180 val
= _windows_
.new_PreHtmlListBox(*args
, **kwargs
)
2184 #---------------------------------------------------------------------------
2186 class TaskBarIcon(_core
.EvtHandler
):
2187 """Proxy of C++ TaskBarIcon class"""
2189 return "<%s.%s; proxy of C++ wxPyTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2190 def __init__(self
, *args
, **kwargs
):
2191 """__init__(self) -> TaskBarIcon"""
2192 newobj
= _windows_
.new_TaskBarIcon(*args
, **kwargs
)
2193 self
.this
= newobj
.this
2196 self
._setCallbackInfo
(self
, TaskBarIcon
, 0)
2198 def __del__(self
, destroy
=_windows_
.delete_TaskBarIcon
):
2201 if self
.thisown
: destroy(self
)
2204 def _setCallbackInfo(*args
, **kwargs
):
2205 """_setCallbackInfo(self, PyObject self, PyObject _class, int incref)"""
2206 return _windows_
.TaskBarIcon__setCallbackInfo(*args
, **kwargs
)
2208 def Destroy(*args
, **kwargs
):
2212 Deletes the C++ object this Python object is a proxy for.
2214 val
= _windows_
.TaskBarIcon_Destroy(*args
, **kwargs
)
2218 def IsOk(*args
, **kwargs
):
2219 """IsOk(self) -> bool"""
2220 return _windows_
.TaskBarIcon_IsOk(*args
, **kwargs
)
2222 def __nonzero__(self
): return self
.IsOk()
2223 def IsIconInstalled(*args
, **kwargs
):
2224 """IsIconInstalled(self) -> bool"""
2225 return _windows_
.TaskBarIcon_IsIconInstalled(*args
, **kwargs
)
2227 def SetIcon(*args
, **kwargs
):
2228 """SetIcon(self, Icon icon, String tooltip=EmptyString) -> bool"""
2229 return _windows_
.TaskBarIcon_SetIcon(*args
, **kwargs
)
2231 def RemoveIcon(*args
, **kwargs
):
2232 """RemoveIcon(self) -> bool"""
2233 return _windows_
.TaskBarIcon_RemoveIcon(*args
, **kwargs
)
2235 def PopupMenu(*args
, **kwargs
):
2236 """PopupMenu(self, Menu menu) -> bool"""
2237 return _windows_
.TaskBarIcon_PopupMenu(*args
, **kwargs
)
2240 class TaskBarIconPtr(TaskBarIcon
):
2241 def __init__(self
, this
):
2243 if not hasattr(self
,"thisown"): self
.thisown
= 0
2244 self
.__class
__ = TaskBarIcon
2245 _windows_
.TaskBarIcon_swigregister(TaskBarIconPtr
)
2247 class TaskBarIconEvent(_core
.Event
):
2248 """Proxy of C++ TaskBarIconEvent class"""
2250 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2251 def __init__(self
, *args
, **kwargs
):
2252 """__init__(self, wxEventType evtType, wxTaskBarIcon tbIcon) -> TaskBarIconEvent"""
2253 newobj
= _windows_
.new_TaskBarIconEvent(*args
, **kwargs
)
2254 self
.this
= newobj
.this
2258 class TaskBarIconEventPtr(TaskBarIconEvent
):
2259 def __init__(self
, this
):
2261 if not hasattr(self
,"thisown"): self
.thisown
= 0
2262 self
.__class
__ = TaskBarIconEvent
2263 _windows_
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
2265 wxEVT_TASKBAR_MOVE
= _windows_
.wxEVT_TASKBAR_MOVE
2266 wxEVT_TASKBAR_LEFT_DOWN
= _windows_
.wxEVT_TASKBAR_LEFT_DOWN
2267 wxEVT_TASKBAR_LEFT_UP
= _windows_
.wxEVT_TASKBAR_LEFT_UP
2268 wxEVT_TASKBAR_RIGHT_DOWN
= _windows_
.wxEVT_TASKBAR_RIGHT_DOWN
2269 wxEVT_TASKBAR_RIGHT_UP
= _windows_
.wxEVT_TASKBAR_RIGHT_UP
2270 wxEVT_TASKBAR_LEFT_DCLICK
= _windows_
.wxEVT_TASKBAR_LEFT_DCLICK
2271 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows_
.wxEVT_TASKBAR_RIGHT_DCLICK
2272 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
2273 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
2274 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
2275 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
2276 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
2277 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
2278 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
2280 #---------------------------------------------------------------------------
2282 class ColourData(_core
.Object
):
2284 This class holds a variety of information related to the colour
2285 chooser dialog, used to transfer settings and results to and from the
2289 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2290 def __init__(self
, *args
, **kwargs
):
2292 __init__(self) -> ColourData
2294 Constructor, sets default values.
2296 newobj
= _windows_
.new_ColourData(*args
, **kwargs
)
2297 self
.this
= newobj
.this
2300 def __del__(self
, destroy
=_windows_
.delete_ColourData
):
2303 if self
.thisown
: destroy(self
)
2306 def GetChooseFull(*args
, **kwargs
):
2308 GetChooseFull(self) -> bool
2310 Under Windows, determines whether the Windows colour dialog will
2311 display the full dialog with custom colour selection controls. Has no
2312 meaning under other platforms. The default value is true.
2314 return _windows_
.ColourData_GetChooseFull(*args
, **kwargs
)
2316 def GetColour(*args
, **kwargs
):
2318 GetColour(self) -> Colour
2320 Gets the colour (pre)selected by the dialog.
2322 return _windows_
.ColourData_GetColour(*args
, **kwargs
)
2324 def GetCustomColour(*args
, **kwargs
):
2326 GetCustomColour(self, int i) -> Colour
2328 Gets the i'th custom colour associated with the colour dialog. i
2329 should be an integer between 0 and 15. The default custom colours are
2330 all invalid colours.
2332 return _windows_
.ColourData_GetCustomColour(*args
, **kwargs
)
2334 def SetChooseFull(*args
, **kwargs
):
2336 SetChooseFull(self, int flag)
2338 Under Windows, tells the Windows colour dialog to display the full
2339 dialog with custom colour selection controls. Under other platforms,
2340 has no effect. The default value is true.
2342 return _windows_
.ColourData_SetChooseFull(*args
, **kwargs
)
2344 def SetColour(*args
, **kwargs
):
2346 SetColour(self, Colour colour)
2348 Sets the default colour for the colour dialog. The default colour is
2351 return _windows_
.ColourData_SetColour(*args
, **kwargs
)
2353 def SetCustomColour(*args
, **kwargs
):
2355 SetCustomColour(self, int i, Colour colour)
2357 Sets the i'th custom colour for the colour dialog. i should be an
2358 integer between 0 and 15. The default custom colours are all invalid colours.
2360 return _windows_
.ColourData_SetCustomColour(*args
, **kwargs
)
2363 class ColourDataPtr(ColourData
):
2364 def __init__(self
, this
):
2366 if not hasattr(self
,"thisown"): self
.thisown
= 0
2367 self
.__class
__ = ColourData
2368 _windows_
.ColourData_swigregister(ColourDataPtr
)
2369 FileSelectorPromptStr
= cvar
.FileSelectorPromptStr
2370 DirSelectorPromptStr
= cvar
.DirSelectorPromptStr
2371 DirDialogNameStr
= cvar
.DirDialogNameStr
2372 FileSelectorDefaultWildcardStr
= cvar
.FileSelectorDefaultWildcardStr
2373 GetTextFromUserPromptStr
= cvar
.GetTextFromUserPromptStr
2374 MessageBoxCaptionStr
= cvar
.MessageBoxCaptionStr
2376 class ColourDialog(Dialog
):
2377 """This class represents the colour chooser dialog."""
2379 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2380 def __init__(self
, *args
, **kwargs
):
2382 __init__(self, Window parent, ColourData data=None) -> ColourDialog
2384 Constructor. Pass a parent window, and optionally a `wx.ColourData`,
2385 which will be copied to the colour dialog's internal ColourData
2388 newobj
= _windows_
.new_ColourDialog(*args
, **kwargs
)
2389 self
.this
= newobj
.this
2392 self
._setOORInfo
(self
)
2394 def GetColourData(*args
, **kwargs
):
2396 GetColourData(self) -> ColourData
2398 Returns a reference to the `wx.ColourData` used by the dialog.
2400 return _windows_
.ColourDialog_GetColourData(*args
, **kwargs
)
2403 class ColourDialogPtr(ColourDialog
):
2404 def __init__(self
, this
):
2406 if not hasattr(self
,"thisown"): self
.thisown
= 0
2407 self
.__class
__ = ColourDialog
2408 _windows_
.ColourDialog_swigregister(ColourDialogPtr
)
2411 def GetColourFromUser(*args
, **kwargs
):
2413 GetColourFromUser(Window parent=(wxWindow *) NULL, Colour colInit=wxNullColour,
2414 String caption=EmptyString) -> Colour
2416 return _windows_
.GetColourFromUser(*args
, **kwargs
)
2417 class DirDialog(Dialog
):
2419 wx.DirDialog allows the user to select a directory by browising the
2423 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2424 def __init__(self
, *args
, **kwargs
):
2426 __init__(self, Window parent, String message=DirSelectorPromptStr,
2427 String defaultPath=EmptyString, long style=0,
2428 Point pos=DefaultPosition, Size size=DefaultSize,
2429 String name=DirDialogNameStr) -> DirDialog
2431 Constructor. Use ShowModal method to show the dialog.
2433 newobj
= _windows_
.new_DirDialog(*args
, **kwargs
)
2434 self
.this
= newobj
.this
2437 self
._setOORInfo
(self
)
2439 def GetPath(*args
, **kwargs
):
2441 GetPath(self) -> String
2443 Returns the default or user-selected path.
2445 return _windows_
.DirDialog_GetPath(*args
, **kwargs
)
2447 def GetMessage(*args
, **kwargs
):
2449 GetMessage(self) -> String
2451 Returns the message that will be displayed on the dialog.
2453 return _windows_
.DirDialog_GetMessage(*args
, **kwargs
)
2455 def GetStyle(*args
, **kwargs
):
2457 GetStyle(self) -> long
2459 Returns the dialog style.
2461 return _windows_
.DirDialog_GetStyle(*args
, **kwargs
)
2463 def SetMessage(*args
, **kwargs
):
2465 SetMessage(self, String message)
2467 Sets the message that will be displayed on the dialog.
2469 return _windows_
.DirDialog_SetMessage(*args
, **kwargs
)
2471 def SetPath(*args
, **kwargs
):
2473 SetPath(self, String path)
2475 Sets the default path.
2477 return _windows_
.DirDialog_SetPath(*args
, **kwargs
)
2480 class DirDialogPtr(DirDialog
):
2481 def __init__(self
, this
):
2483 if not hasattr(self
,"thisown"): self
.thisown
= 0
2484 self
.__class
__ = DirDialog
2485 _windows_
.DirDialog_swigregister(DirDialogPtr
)
2487 class FileDialog(Dialog
):
2489 wx.FileDialog allows the user to select one or more files from the
2493 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2494 def __init__(self
, *args
, **kwargs
):
2496 __init__(self, Window parent, String message=FileSelectorPromptStr,
2497 String defaultDir=EmptyString, String defaultFile=EmptyString,
2498 String wildcard=FileSelectorDefaultWildcardStr,
2499 long style=0, Point pos=DefaultPosition) -> FileDialog
2501 Constructor. Use ShowModal method to show the dialog.
2503 newobj
= _windows_
.new_FileDialog(*args
, **kwargs
)
2504 self
.this
= newobj
.this
2507 self
._setOORInfo
(self
)
2509 def SetMessage(*args
, **kwargs
):
2511 SetMessage(self, String message)
2513 Sets the message that will be displayed on the dialog.
2515 return _windows_
.FileDialog_SetMessage(*args
, **kwargs
)
2517 def SetPath(*args
, **kwargs
):
2519 SetPath(self, String path)
2521 Sets the path (the combined directory and filename that will be
2522 returned when the dialog is dismissed).
2524 return _windows_
.FileDialog_SetPath(*args
, **kwargs
)
2526 def SetDirectory(*args
, **kwargs
):
2528 SetDirectory(self, String dir)
2530 Sets the default directory.
2532 return _windows_
.FileDialog_SetDirectory(*args
, **kwargs
)
2534 def SetFilename(*args
, **kwargs
):
2536 SetFilename(self, String name)
2538 Sets the default filename.
2540 return _windows_
.FileDialog_SetFilename(*args
, **kwargs
)
2542 def SetWildcard(*args
, **kwargs
):
2544 SetWildcard(self, String wildCard)
2546 Sets the wildcard, which can contain multiple file types, for
2549 "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
2552 return _windows_
.FileDialog_SetWildcard(*args
, **kwargs
)
2554 def SetStyle(*args
, **kwargs
):
2556 SetStyle(self, long style)
2558 Sets the dialog style.
2560 return _windows_
.FileDialog_SetStyle(*args
, **kwargs
)
2562 def SetFilterIndex(*args
, **kwargs
):
2564 SetFilterIndex(self, int filterIndex)
2566 Sets the default filter index, starting from zero.
2568 return _windows_
.FileDialog_SetFilterIndex(*args
, **kwargs
)
2570 def GetMessage(*args
, **kwargs
):
2572 GetMessage(self) -> String
2574 Returns the message that will be displayed on the dialog.
2576 return _windows_
.FileDialog_GetMessage(*args
, **kwargs
)
2578 def GetPath(*args
, **kwargs
):
2580 GetPath(self) -> String
2582 Returns the full path (directory and filename) of the selected file.
2584 return _windows_
.FileDialog_GetPath(*args
, **kwargs
)
2586 def GetDirectory(*args
, **kwargs
):
2588 GetDirectory(self) -> String
2590 Returns the default directory.
2592 return _windows_
.FileDialog_GetDirectory(*args
, **kwargs
)
2594 def GetFilename(*args
, **kwargs
):
2596 GetFilename(self) -> String
2598 Returns the default filename.
2600 return _windows_
.FileDialog_GetFilename(*args
, **kwargs
)
2602 def GetWildcard(*args
, **kwargs
):
2604 GetWildcard(self) -> String
2606 Returns the file dialog wildcard.
2608 return _windows_
.FileDialog_GetWildcard(*args
, **kwargs
)
2610 def GetStyle(*args
, **kwargs
):
2612 GetStyle(self) -> long
2614 Returns the dialog style.
2616 return _windows_
.FileDialog_GetStyle(*args
, **kwargs
)
2618 def GetFilterIndex(*args
, **kwargs
):
2620 GetFilterIndex(self) -> int
2622 Returns the index into the list of filters supplied, optionally, in
2623 the wildcard parameter. Before the dialog is shown, this is the index
2624 which will be used when the dialog is first displayed. After the
2625 dialog is shown, this is the index selected by the user.
2627 return _windows_
.FileDialog_GetFilterIndex(*args
, **kwargs
)
2629 def GetFilenames(*args
, **kwargs
):
2631 GetFilenames(self) -> PyObject
2633 Returns a list of filenames chosen in the dialog. This function
2634 should only be used with the dialogs which have wx.MULTIPLE style, use
2635 GetFilename for the others.
2637 return _windows_
.FileDialog_GetFilenames(*args
, **kwargs
)
2639 def GetPaths(*args
, **kwargs
):
2641 GetPaths(self) -> PyObject
2643 Fills the array paths with the full paths of the files chosen. This
2644 function should only be used with the dialogs which have wx.MULTIPLE
2645 style, use GetPath for the others.
2647 return _windows_
.FileDialog_GetPaths(*args
, **kwargs
)
2650 class FileDialogPtr(FileDialog
):
2651 def __init__(self
, this
):
2653 if not hasattr(self
,"thisown"): self
.thisown
= 0
2654 self
.__class
__ = FileDialog
2655 _windows_
.FileDialog_swigregister(FileDialogPtr
)
2657 CHOICEDLG_STYLE
= _windows_
.CHOICEDLG_STYLE
2658 class MultiChoiceDialog(Dialog
):
2659 """A simple dialog with a multi selection listbox."""
2661 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2662 def __init__(self
, *args
, **kwargs
):
2664 __init__(self, Window parent, String message, String caption,
2665 List choices=EmptyList, long style=CHOICEDLG_STYLE,
2666 Point pos=DefaultPosition) -> MultiChoiceDialog
2668 Constructor. Use the `ShowModal` method to show the dialog.
2670 :param parent: The parent window.
2671 :param message: Text to display above the list of selections.
2672 :param caption: Text to use in the title bar of the dialog.
2673 :param choices: A list of strings or unicode objects that the
2674 user is allowed to choose from.
2675 :param style: Styles to apply to the dialog. The default value is
2676 equivallent to wx.DEFAULT_DIALOG_STYLE|wx.RESIZE_BORDER|wx.OK|wx.CANCEL|wx.CENTER.
2677 :param pos: Where to position the dialog (not used on Windows)
2681 newobj
= _windows_
.new_MultiChoiceDialog(*args
, **kwargs
)
2682 self
.this
= newobj
.this
2685 self
._setOORInfo
(self
)
2687 def SetSelections(*args
, **kwargs
):
2689 SetSelections(List selections)
2691 Specify the items in the list that should be selected, using a list of
2692 integers. The list should specify the indexes of the items that
2695 return _windows_
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
2697 def GetSelections(*args
, **kwargs
):
2699 GetSelections() -> [selections]
2701 Returns a list of integers representing the items that are selected.
2702 If an item is selected then its index will appear in the list.
2704 return _windows_
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
2707 class MultiChoiceDialogPtr(MultiChoiceDialog
):
2708 def __init__(self
, this
):
2710 if not hasattr(self
,"thisown"): self
.thisown
= 0
2711 self
.__class
__ = MultiChoiceDialog
2712 _windows_
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
2714 class SingleChoiceDialog(Dialog
):
2715 """A simple dialog with a single selection listbox."""
2717 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2718 def __init__(self
, *args
, **kwargs
):
2720 __init__(Window parent, String message, String caption,
2721 List choices=EmptyList, long style=CHOICEDLG_STYLE,
2722 Point pos=DefaultPosition) -> SingleChoiceDialog
2724 Constructor. Use ShowModal method to show the dialog.
2726 newobj
= _windows_
.new_SingleChoiceDialog(*args
, **kwargs
)
2727 self
.this
= newobj
.this
2730 self
._setOORInfo
(self
)
2732 def GetSelection(*args
, **kwargs
):
2734 GetSelection(self) -> int
2736 Get the index of teh currently selected item.
2738 return _windows_
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
2740 def GetStringSelection(*args
, **kwargs
):
2742 GetStringSelection(self) -> String
2744 Returns the string value of the currently selected item
2746 return _windows_
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
2748 def SetSelection(*args
, **kwargs
):
2750 SetSelection(self, int sel)
2752 Set the current selected item to sel
2754 return _windows_
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
2757 class SingleChoiceDialogPtr(SingleChoiceDialog
):
2758 def __init__(self
, this
):
2760 if not hasattr(self
,"thisown"): self
.thisown
= 0
2761 self
.__class
__ = SingleChoiceDialog
2762 _windows_
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
2764 TextEntryDialogStyle
= _windows_
.TextEntryDialogStyle
2765 class TextEntryDialog(Dialog
):
2766 """A dialog with text control, [ok] and [cancel] buttons"""
2768 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2769 def __init__(self
, *args
, **kwargs
):
2771 __init__(self, Window parent, String message, String caption=GetTextFromUserPromptStr,
2772 String defaultValue=EmptyString,
2773 long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> TextEntryDialog
2775 Constructor. Use ShowModal method to show the dialog.
2777 newobj
= _windows_
.new_TextEntryDialog(*args
, **kwargs
)
2778 self
.this
= newobj
.this
2781 self
._setOORInfo
(self
)
2783 def GetValue(*args
, **kwargs
):
2785 GetValue(self) -> String
2787 Returns the text that the user has entered if the user has pressed OK,
2788 or the original value if the user has pressed Cancel.
2790 return _windows_
.TextEntryDialog_GetValue(*args
, **kwargs
)
2792 def SetValue(*args
, **kwargs
):
2794 SetValue(self, String value)
2796 Sets the default text value.
2798 return _windows_
.TextEntryDialog_SetValue(*args
, **kwargs
)
2801 class TextEntryDialogPtr(TextEntryDialog
):
2802 def __init__(self
, this
):
2804 if not hasattr(self
,"thisown"): self
.thisown
= 0
2805 self
.__class
__ = TextEntryDialog
2806 _windows_
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
2808 class PasswordEntryDialog(TextEntryDialog
):
2809 """Proxy of C++ PasswordEntryDialog class"""
2811 return "<%s.%s; proxy of C++ wxPasswordEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2812 def __init__(self
, *args
, **kwargs
):
2814 __init__(self, Window parent, String message, String caption=GetPasswordFromUserPromptStr,
2815 String value=EmptyString,
2816 long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> PasswordEntryDialog
2818 newobj
= _windows_
.new_PasswordEntryDialog(*args
, **kwargs
)
2819 self
.this
= newobj
.this
2823 class PasswordEntryDialogPtr(PasswordEntryDialog
):
2824 def __init__(self
, this
):
2826 if not hasattr(self
,"thisown"): self
.thisown
= 0
2827 self
.__class
__ = PasswordEntryDialog
2828 _windows_
.PasswordEntryDialog_swigregister(PasswordEntryDialogPtr
)
2829 GetPasswordFromUserPromptStr
= cvar
.GetPasswordFromUserPromptStr
2831 class FontData(_core
.Object
):
2833 This class holds a variety of information related to font dialogs and
2834 is used to transfer settings to and results from a `wx.FontDialog`.
2837 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2838 def __init__(self
, *args
, **kwargs
):
2840 __init__(self) -> FontData
2842 This class holds a variety of information related to font dialogs and
2843 is used to transfer settings to and results from a `wx.FontDialog`.
2845 newobj
= _windows_
.new_FontData(*args
, **kwargs
)
2846 self
.this
= newobj
.this
2849 def __del__(self
, destroy
=_windows_
.delete_FontData
):
2852 if self
.thisown
: destroy(self
)
2855 def EnableEffects(*args
, **kwargs
):
2857 EnableEffects(self, bool enable)
2859 Enables or disables 'effects' under MS Windows only. This refers to
2860 the controls for manipulating colour, strikeout and underline
2861 properties. The default value is true.
2863 return _windows_
.FontData_EnableEffects(*args
, **kwargs
)
2865 def GetAllowSymbols(*args
, **kwargs
):
2867 GetAllowSymbols(self) -> bool
2869 Under MS Windows, returns a flag determining whether symbol fonts can
2870 be selected. Has no effect on other platforms. The default value is
2873 return _windows_
.FontData_GetAllowSymbols(*args
, **kwargs
)
2875 def GetColour(*args
, **kwargs
):
2877 GetColour(self) -> Colour
2879 Gets the colour associated with the font dialog. The default value is
2882 return _windows_
.FontData_GetColour(*args
, **kwargs
)
2884 def GetChosenFont(*args
, **kwargs
):
2886 GetChosenFont(self) -> Font
2888 Gets the font chosen by the user.
2890 return _windows_
.FontData_GetChosenFont(*args
, **kwargs
)
2892 def GetEnableEffects(*args
, **kwargs
):
2894 GetEnableEffects(self) -> bool
2896 Determines whether 'effects' are enabled under Windows.
2898 return _windows_
.FontData_GetEnableEffects(*args
, **kwargs
)
2900 def GetInitialFont(*args
, **kwargs
):
2902 GetInitialFont(self) -> Font
2904 Gets the font that will be initially used by the font dialog. This
2905 should have previously been set by the application.
2907 return _windows_
.FontData_GetInitialFont(*args
, **kwargs
)
2909 def GetShowHelp(*args
, **kwargs
):
2911 GetShowHelp(self) -> bool
2913 Returns true if the Help button will be shown (Windows only). The
2914 default value is false.
2916 return _windows_
.FontData_GetShowHelp(*args
, **kwargs
)
2918 def SetAllowSymbols(*args
, **kwargs
):
2920 SetAllowSymbols(self, bool allowSymbols)
2922 Under MS Windows, determines whether symbol fonts can be selected. Has
2923 no effect on other platforms. The default value is true.
2925 return _windows_
.FontData_SetAllowSymbols(*args
, **kwargs
)
2927 def SetChosenFont(*args
, **kwargs
):
2929 SetChosenFont(self, Font font)
2931 Sets the font that will be returned to the user (normally for internal
2934 return _windows_
.FontData_SetChosenFont(*args
, **kwargs
)
2936 def SetColour(*args
, **kwargs
):
2938 SetColour(self, Colour colour)
2940 Sets the colour that will be used for the font foreground colour. The
2941 default colour is black.
2943 return _windows_
.FontData_SetColour(*args
, **kwargs
)
2945 def SetInitialFont(*args
, **kwargs
):
2947 SetInitialFont(self, Font font)
2949 Sets the font that will be initially used by the font dialog.
2951 return _windows_
.FontData_SetInitialFont(*args
, **kwargs
)
2953 def SetRange(*args
, **kwargs
):
2955 SetRange(self, int min, int max)
2957 Sets the valid range for the font point size (Windows only). The
2958 default is 0, 0 (unrestricted range).
2960 return _windows_
.FontData_SetRange(*args
, **kwargs
)
2962 def SetShowHelp(*args
, **kwargs
):
2964 SetShowHelp(self, bool showHelp)
2966 Determines whether the Help button will be displayed in the font
2967 dialog (Windows only). The default value is false.
2969 return _windows_
.FontData_SetShowHelp(*args
, **kwargs
)
2972 class FontDataPtr(FontData
):
2973 def __init__(self
, this
):
2975 if not hasattr(self
,"thisown"): self
.thisown
= 0
2976 self
.__class
__ = FontData
2977 _windows_
.FontData_swigregister(FontDataPtr
)
2979 class FontDialog(Dialog
):
2981 wx.FontDialog allows the user to select a system font and its attributes.
2987 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2988 def __init__(self
, *args
, **kwargs
):
2990 __init__(self, Window parent, FontData data) -> FontDialog
2992 Constructor. Pass a parent window and the `wx.FontData` object to be
2993 used to initialize the dialog controls. Call `ShowModal` to display
2994 the dialog. If ShowModal returns ``wx.ID_OK`` then you can fetch the
2995 results with via the `wx.FontData` returned by `GetFontData`.
2997 newobj
= _windows_
.new_FontDialog(*args
, **kwargs
)
2998 self
.this
= newobj
.this
3001 self
._setOORInfo
(self
)
3003 def GetFontData(*args
, **kwargs
):
3005 GetFontData(self) -> FontData
3007 Returns a reference to the internal `wx.FontData` used by the
3010 return _windows_
.FontDialog_GetFontData(*args
, **kwargs
)
3013 class FontDialogPtr(FontDialog
):
3014 def __init__(self
, this
):
3016 if not hasattr(self
,"thisown"): self
.thisown
= 0
3017 self
.__class
__ = FontDialog
3018 _windows_
.FontDialog_swigregister(FontDialogPtr
)
3021 def GetFontFromUser(*args
, **kwargs
):
3022 """GetFontFromUser(Window parent=None, Font fontInit=wxNullFont, String caption=EmptyString) -> Font"""
3023 return _windows_
.GetFontFromUser(*args
, **kwargs
)
3024 class MessageDialog(Dialog
):
3026 This class provides a simple dialog that shows a single or multi-line
3027 message, with a choice of OK, Yes, No and/or Cancel buttons.
3030 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3031 def __init__(self
, *args
, **kwargs
):
3033 __init__(self, Window parent, String message, String caption=MessageBoxCaptionStr,
3034 long style=wxOK|wxCANCEL|wxCENTRE,
3035 Point pos=DefaultPosition) -> MessageDialog
3037 Constructor, use `ShowModal` to display the dialog.
3039 newobj
= _windows_
.new_MessageDialog(*args
, **kwargs
)
3040 self
.this
= newobj
.this
3043 self
._setOORInfo
(self
)
3046 class MessageDialogPtr(MessageDialog
):
3047 def __init__(self
, this
):
3049 if not hasattr(self
,"thisown"): self
.thisown
= 0
3050 self
.__class
__ = MessageDialog
3051 _windows_
.MessageDialog_swigregister(MessageDialogPtr
)
3053 class ProgressDialog(Frame
):
3055 A dialog that shows a short message and a progress bar. Optionally, it
3056 can display an ABORT button.
3059 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3060 def __init__(self
, *args
, **kwargs
):
3062 __init__(self, String title, String message, int maximum=100, Window parent=None,
3063 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
3065 Constructor. Creates the dialog, displays it and disables user input
3066 for other windows, or, if wx.PD_APP_MODAL flag is not given, for its
3069 newobj
= _windows_
.new_ProgressDialog(*args
, **kwargs
)
3070 self
.this
= newobj
.this
3073 self
._setOORInfo
(self
)
3075 def Update(*args
, **kwargs
):
3077 Update(self, int value, String newmsg=EmptyString) -> bool
3079 Updates the dialog, setting the progress bar to the new value and, if
3080 given changes the message above it. The value given should be less
3081 than or equal to the maximum value given to the constructor and the
3082 dialog is closed if it is equal to the maximum. Returns True unless
3083 the Cancel button has been pressed.
3085 If false is returned, the application can either immediately destroy
3086 the dialog or ask the user for the confirmation and if the abort is
3087 not confirmed the dialog may be resumed with Resume function.
3089 return _windows_
.ProgressDialog_Update(*args
, **kwargs
)
3091 def Resume(*args
, **kwargs
):
3095 Can be used to continue with the dialog, after the user had chosen to
3098 return _windows_
.ProgressDialog_Resume(*args
, **kwargs
)
3101 class ProgressDialogPtr(ProgressDialog
):
3102 def __init__(self
, this
):
3104 if not hasattr(self
,"thisown"): self
.thisown
= 0
3105 self
.__class
__ = ProgressDialog
3106 _windows_
.ProgressDialog_swigregister(ProgressDialogPtr
)
3108 FR_DOWN
= _windows_
.FR_DOWN
3109 FR_WHOLEWORD
= _windows_
.FR_WHOLEWORD
3110 FR_MATCHCASE
= _windows_
.FR_MATCHCASE
3111 FR_REPLACEDIALOG
= _windows_
.FR_REPLACEDIALOG
3112 FR_NOUPDOWN
= _windows_
.FR_NOUPDOWN
3113 FR_NOMATCHCASE
= _windows_
.FR_NOMATCHCASE
3114 FR_NOWHOLEWORD
= _windows_
.FR_NOWHOLEWORD
3115 wxEVT_COMMAND_FIND
= _windows_
.wxEVT_COMMAND_FIND
3116 wxEVT_COMMAND_FIND_NEXT
= _windows_
.wxEVT_COMMAND_FIND_NEXT
3117 wxEVT_COMMAND_FIND_REPLACE
= _windows_
.wxEVT_COMMAND_FIND_REPLACE
3118 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows_
.wxEVT_COMMAND_FIND_REPLACE_ALL
3119 wxEVT_COMMAND_FIND_CLOSE
= _windows_
.wxEVT_COMMAND_FIND_CLOSE
3120 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
3121 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
3122 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
3123 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
3124 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
3126 # For backwards compatibility. Should they be removed?
3127 EVT_COMMAND_FIND
= EVT_FIND
3128 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
3129 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
3130 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
3131 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
3133 class FindDialogEvent(_core
.CommandEvent
):
3134 """Events for the FindReplaceDialog"""
3136 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3137 def __init__(self
, *args
, **kwargs
):
3139 __init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent
3141 Events for the FindReplaceDialog
3143 newobj
= _windows_
.new_FindDialogEvent(*args
, **kwargs
)
3144 self
.this
= newobj
.this
3147 def GetFlags(*args
, **kwargs
):
3149 GetFlags(self) -> int
3151 Get the currently selected flags: this is the combination of
3152 wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.
3154 return _windows_
.FindDialogEvent_GetFlags(*args
, **kwargs
)
3156 def GetFindString(*args
, **kwargs
):
3158 GetFindString(self) -> String
3160 Return the string to find (never empty).
3162 return _windows_
.FindDialogEvent_GetFindString(*args
, **kwargs
)
3164 def GetReplaceString(*args
, **kwargs
):
3166 GetReplaceString(self) -> String
3168 Return the string to replace the search string with (only for replace
3169 and replace all events).
3171 return _windows_
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
3173 def GetDialog(*args
, **kwargs
):
3175 GetDialog(self) -> FindReplaceDialog
3177 Return the pointer to the dialog which generated this event.
3179 return _windows_
.FindDialogEvent_GetDialog(*args
, **kwargs
)
3181 def SetFlags(*args
, **kwargs
):
3182 """SetFlags(self, int flags)"""
3183 return _windows_
.FindDialogEvent_SetFlags(*args
, **kwargs
)
3185 def SetFindString(*args
, **kwargs
):
3186 """SetFindString(self, String str)"""
3187 return _windows_
.FindDialogEvent_SetFindString(*args
, **kwargs
)
3189 def SetReplaceString(*args
, **kwargs
):
3190 """SetReplaceString(self, String str)"""
3191 return _windows_
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
3194 class FindDialogEventPtr(FindDialogEvent
):
3195 def __init__(self
, this
):
3197 if not hasattr(self
,"thisown"): self
.thisown
= 0
3198 self
.__class
__ = FindDialogEvent
3199 _windows_
.FindDialogEvent_swigregister(FindDialogEventPtr
)
3201 class FindReplaceData(_core
.Object
):
3203 wx.FindReplaceData holds the data for wx.FindReplaceDialog. It is used
3204 to initialize the dialog with the default values and will keep the
3205 last values from the dialog when it is closed. It is also updated each
3206 time a `wx.FindDialogEvent` is generated so instead of using the
3207 `wx.FindDialogEvent` methods you can also directly query this object.
3209 Note that all SetXXX() methods may only be called before showing the
3210 dialog and calling them has no effect later.
3213 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3214 def __init__(self
, *args
, **kwargs
):
3216 __init__(self, int flags=0) -> FindReplaceData
3218 Constuctor initializes the flags to default value (0).
3220 newobj
= _windows_
.new_FindReplaceData(*args
, **kwargs
)
3221 self
.this
= newobj
.this
3224 def __del__(self
, destroy
=_windows_
.delete_FindReplaceData
):
3227 if self
.thisown
: destroy(self
)
3230 def GetFindString(*args
, **kwargs
):
3232 GetFindString(self) -> String
3234 Get the string to find.
3236 return _windows_
.FindReplaceData_GetFindString(*args
, **kwargs
)
3238 def GetReplaceString(*args
, **kwargs
):
3240 GetReplaceString(self) -> String
3242 Get the replacement string.
3244 return _windows_
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
3246 def GetFlags(*args
, **kwargs
):
3248 GetFlags(self) -> int
3250 Get the combination of flag values.
3252 return _windows_
.FindReplaceData_GetFlags(*args
, **kwargs
)
3254 def SetFlags(*args
, **kwargs
):
3256 SetFlags(self, int flags)
3258 Set the flags to use to initialize the controls of the dialog.
3260 return _windows_
.FindReplaceData_SetFlags(*args
, **kwargs
)
3262 def SetFindString(*args
, **kwargs
):
3264 SetFindString(self, String str)
3266 Set the string to find (used as initial value by the dialog).
3268 return _windows_
.FindReplaceData_SetFindString(*args
, **kwargs
)
3270 def SetReplaceString(*args
, **kwargs
):
3272 SetReplaceString(self, String str)
3274 Set the replacement string (used as initial value by the dialog).
3276 return _windows_
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
3279 class FindReplaceDataPtr(FindReplaceData
):
3280 def __init__(self
, this
):
3282 if not hasattr(self
,"thisown"): self
.thisown
= 0
3283 self
.__class
__ = FindReplaceData
3284 _windows_
.FindReplaceData_swigregister(FindReplaceDataPtr
)
3286 class FindReplaceDialog(Dialog
):
3288 wx.FindReplaceDialog is a standard modeless dialog which is used to
3289 allow the user to search for some text (and possibly replace it with
3290 something else). The actual searching is supposed to be done in the
3291 owner window which is the parent of this dialog. Note that it means
3292 that unlike for the other standard dialogs this one must have a parent
3293 window. Also note that there is no way to use this dialog in a modal
3294 way; it is always, by design and implementation, modeless.
3297 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3298 def __init__(self
, *args
, **kwargs
):
3300 __init__(self, Window parent, FindReplaceData data, String title,
3301 int style=0) -> FindReplaceDialog
3303 Create a FindReplaceDialog. The parent and data parameters must be
3304 non-None. Use Show to display the dialog.
3306 newobj
= _windows_
.new_FindReplaceDialog(*args
, **kwargs
)
3307 self
.this
= newobj
.this
3310 self
._setOORInfo
(self
)
3312 def Create(*args
, **kwargs
):
3314 Create(self, Window parent, FindReplaceData data, String title,
3315 int style=0) -> bool
3317 Create the dialog, for 2-phase create.
3319 return _windows_
.FindReplaceDialog_Create(*args
, **kwargs
)
3321 def GetData(*args
, **kwargs
):
3323 GetData(self) -> FindReplaceData
3325 Get the FindReplaceData object used by this dialog.
3327 return _windows_
.FindReplaceDialog_GetData(*args
, **kwargs
)
3329 def SetData(*args
, **kwargs
):
3331 SetData(self, FindReplaceData data)
3333 Set the FindReplaceData object used by this dialog.
3335 return _windows_
.FindReplaceDialog_SetData(*args
, **kwargs
)
3338 class FindReplaceDialogPtr(FindReplaceDialog
):
3339 def __init__(self
, this
):
3341 if not hasattr(self
,"thisown"): self
.thisown
= 0
3342 self
.__class
__ = FindReplaceDialog
3343 _windows_
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
3345 def PreFindReplaceDialog(*args
, **kwargs
):
3347 PreFindReplaceDialog() -> FindReplaceDialog
3349 Precreate a FindReplaceDialog for 2-phase creation
3351 val
= _windows_
.new_PreFindReplaceDialog(*args
, **kwargs
)
3355 #---------------------------------------------------------------------------
3357 IDM_WINDOWTILE
= _windows_
.IDM_WINDOWTILE
3358 IDM_WINDOWTILEHOR
= _windows_
.IDM_WINDOWTILEHOR
3359 IDM_WINDOWCASCADE
= _windows_
.IDM_WINDOWCASCADE
3360 IDM_WINDOWICONS
= _windows_
.IDM_WINDOWICONS
3361 IDM_WINDOWNEXT
= _windows_
.IDM_WINDOWNEXT
3362 IDM_WINDOWTILEVERT
= _windows_
.IDM_WINDOWTILEVERT
3363 IDM_WINDOWPREV
= _windows_
.IDM_WINDOWPREV
3364 FIRST_MDI_CHILD
= _windows_
.FIRST_MDI_CHILD
3365 LAST_MDI_CHILD
= _windows_
.LAST_MDI_CHILD
3366 class MDIParentFrame(Frame
):
3367 """Proxy of C++ MDIParentFrame class"""
3369 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3370 def __init__(self
, *args
, **kwargs
):
3372 __init__(self, Window parent, int id=-1, String title=EmptyString,
3373 Point pos=DefaultPosition, Size size=DefaultSize,
3374 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3375 String name=FrameNameStr) -> MDIParentFrame
3377 newobj
= _windows_
.new_MDIParentFrame(*args
, **kwargs
)
3378 self
.this
= newobj
.this
3381 self
._setOORInfo
(self
)
3383 def Create(*args
, **kwargs
):
3385 Create(self, Window parent, int id=-1, String title=EmptyString,
3386 Point pos=DefaultPosition, Size size=DefaultSize,
3387 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3388 String name=FrameNameStr) -> bool
3390 return _windows_
.MDIParentFrame_Create(*args
, **kwargs
)
3392 def ActivateNext(*args
, **kwargs
):
3393 """ActivateNext(self)"""
3394 return _windows_
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
3396 def ActivatePrevious(*args
, **kwargs
):
3397 """ActivatePrevious(self)"""
3398 return _windows_
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
3400 def ArrangeIcons(*args
, **kwargs
):
3401 """ArrangeIcons(self)"""
3402 return _windows_
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
3404 def Cascade(*args
, **kwargs
):
3406 return _windows_
.MDIParentFrame_Cascade(*args
, **kwargs
)
3408 def GetActiveChild(*args
, **kwargs
):
3409 """GetActiveChild(self) -> MDIChildFrame"""
3410 return _windows_
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
3412 def GetClientWindow(*args
, **kwargs
):
3413 """GetClientWindow(self) -> MDIClientWindow"""
3414 return _windows_
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
3416 def GetToolBar(*args
, **kwargs
):
3417 """GetToolBar(self) -> Window"""
3418 return _windows_
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
3420 def GetWindowMenu(*args
, **kwargs
):
3421 """GetWindowMenu(self) -> Menu"""
3422 return _windows_
.MDIParentFrame_GetWindowMenu(*args
, **kwargs
)
3424 def SetWindowMenu(*args
, **kwargs
):
3425 """SetWindowMenu(self, Menu menu)"""
3426 return _windows_
.MDIParentFrame_SetWindowMenu(*args
, **kwargs
)
3428 def SetToolBar(*args
, **kwargs
):
3429 """SetToolBar(self, wxToolBar toolbar)"""
3430 return _windows_
.MDIParentFrame_SetToolBar(*args
, **kwargs
)
3432 def Tile(*args
, **kwargs
):
3433 """Tile(self, int orient=HORIZONTAL)"""
3434 return _windows_
.MDIParentFrame_Tile(*args
, **kwargs
)
3437 class MDIParentFramePtr(MDIParentFrame
):
3438 def __init__(self
, this
):
3440 if not hasattr(self
,"thisown"): self
.thisown
= 0
3441 self
.__class
__ = MDIParentFrame
3442 _windows_
.MDIParentFrame_swigregister(MDIParentFramePtr
)
3444 def PreMDIParentFrame(*args
, **kwargs
):
3445 """PreMDIParentFrame() -> MDIParentFrame"""
3446 val
= _windows_
.new_PreMDIParentFrame(*args
, **kwargs
)
3450 class MDIChildFrame(Frame
):
3451 """Proxy of C++ MDIChildFrame class"""
3453 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3454 def __init__(self
, *args
, **kwargs
):
3456 __init__(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3457 Point pos=DefaultPosition, Size size=DefaultSize,
3458 long style=DEFAULT_FRAME_STYLE,
3459 String name=FrameNameStr) -> MDIChildFrame
3461 newobj
= _windows_
.new_MDIChildFrame(*args
, **kwargs
)
3462 self
.this
= newobj
.this
3465 self
._setOORInfo
(self
)
3467 def Create(*args
, **kwargs
):
3469 Create(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3470 Point pos=DefaultPosition, Size size=DefaultSize,
3471 long style=DEFAULT_FRAME_STYLE,
3472 String name=FrameNameStr) -> bool
3474 return _windows_
.MDIChildFrame_Create(*args
, **kwargs
)
3476 def Activate(*args
, **kwargs
):
3477 """Activate(self)"""
3478 return _windows_
.MDIChildFrame_Activate(*args
, **kwargs
)
3480 def Maximize(*args
, **kwargs
):
3481 """Maximize(self, bool maximize=True)"""
3482 return _windows_
.MDIChildFrame_Maximize(*args
, **kwargs
)
3484 def Restore(*args
, **kwargs
):
3486 return _windows_
.MDIChildFrame_Restore(*args
, **kwargs
)
3489 class MDIChildFramePtr(MDIChildFrame
):
3490 def __init__(self
, this
):
3492 if not hasattr(self
,"thisown"): self
.thisown
= 0
3493 self
.__class
__ = MDIChildFrame
3494 _windows_
.MDIChildFrame_swigregister(MDIChildFramePtr
)
3496 def PreMDIChildFrame(*args
, **kwargs
):
3497 """PreMDIChildFrame() -> MDIChildFrame"""
3498 val
= _windows_
.new_PreMDIChildFrame(*args
, **kwargs
)
3502 class MDIClientWindow(_core
.Window
):
3503 """Proxy of C++ MDIClientWindow class"""
3505 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3506 def __init__(self
, *args
, **kwargs
):
3507 """__init__(self, MDIParentFrame parent, long style=0) -> MDIClientWindow"""
3508 newobj
= _windows_
.new_MDIClientWindow(*args
, **kwargs
)
3509 self
.this
= newobj
.this
3512 self
._setOORInfo
(self
)
3514 def Create(*args
, **kwargs
):
3515 """Create(self, MDIParentFrame parent, long style=0) -> bool"""
3516 return _windows_
.MDIClientWindow_Create(*args
, **kwargs
)
3519 class MDIClientWindowPtr(MDIClientWindow
):
3520 def __init__(self
, this
):
3522 if not hasattr(self
,"thisown"): self
.thisown
= 0
3523 self
.__class
__ = MDIClientWindow
3524 _windows_
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
3526 def PreMDIClientWindow(*args
, **kwargs
):
3527 """PreMDIClientWindow() -> MDIClientWindow"""
3528 val
= _windows_
.new_PreMDIClientWindow(*args
, **kwargs
)
3532 #---------------------------------------------------------------------------
3534 class PyWindow(_core
.Window
):
3535 """Proxy of C++ PyWindow class"""
3537 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3538 def __init__(self
, *args
, **kwargs
):
3540 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3541 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyWindow
3543 newobj
= _windows_
.new_PyWindow(*args
, **kwargs
)
3544 self
.this
= newobj
.this
3547 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
3549 def _setCallbackInfo(*args
, **kwargs
):
3550 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3551 return _windows_
.PyWindow__setCallbackInfo(*args
, **kwargs
)
3553 def SetBestSize(*args
, **kwargs
):
3554 """SetBestSize(self, Size size)"""
3555 return _windows_
.PyWindow_SetBestSize(*args
, **kwargs
)
3557 def DoEraseBackground(*args
, **kwargs
):
3558 """DoEraseBackground(self, DC dc) -> bool"""
3559 return _windows_
.PyWindow_DoEraseBackground(*args
, **kwargs
)
3561 def DoMoveWindow(*args
, **kwargs
):
3562 """DoMoveWindow(self, int x, int y, int width, int height)"""
3563 return _windows_
.PyWindow_DoMoveWindow(*args
, **kwargs
)
3565 def DoSetSize(*args
, **kwargs
):
3566 """DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3567 return _windows_
.PyWindow_DoSetSize(*args
, **kwargs
)
3569 def DoSetClientSize(*args
, **kwargs
):
3570 """DoSetClientSize(self, int width, int height)"""
3571 return _windows_
.PyWindow_DoSetClientSize(*args
, **kwargs
)
3573 def DoSetVirtualSize(*args
, **kwargs
):
3574 """DoSetVirtualSize(self, int x, int y)"""
3575 return _windows_
.PyWindow_DoSetVirtualSize(*args
, **kwargs
)
3577 def DoGetSize(*args
, **kwargs
):
3578 """DoGetSize() -> (width, height)"""
3579 return _windows_
.PyWindow_DoGetSize(*args
, **kwargs
)
3581 def DoGetClientSize(*args
, **kwargs
):
3582 """DoGetClientSize() -> (width, height)"""
3583 return _windows_
.PyWindow_DoGetClientSize(*args
, **kwargs
)
3585 def DoGetPosition(*args
, **kwargs
):
3586 """DoGetPosition() -> (x,y)"""
3587 return _windows_
.PyWindow_DoGetPosition(*args
, **kwargs
)
3589 def DoGetVirtualSize(*args
, **kwargs
):
3590 """DoGetVirtualSize(self) -> Size"""
3591 return _windows_
.PyWindow_DoGetVirtualSize(*args
, **kwargs
)
3593 def DoGetBestSize(*args
, **kwargs
):
3594 """DoGetBestSize(self) -> Size"""
3595 return _windows_
.PyWindow_DoGetBestSize(*args
, **kwargs
)
3597 def InitDialog(*args
, **kwargs
):
3601 Sends an EVT_INIT_DIALOG event, whose handler usually transfers data
3602 to the dialog via validators.
3604 return _windows_
.PyWindow_InitDialog(*args
, **kwargs
)
3606 def TransferDataToWindow(*args
, **kwargs
):
3608 TransferDataToWindow(self) -> bool
3610 Transfers values to child controls from data areas specified by their
3611 validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
3612 style flag set, the method will also call TransferDataToWindow() of
3615 return _windows_
.PyWindow_TransferDataToWindow(*args
, **kwargs
)
3617 def TransferDataFromWindow(*args
, **kwargs
):
3619 TransferDataFromWindow(self) -> bool
3621 Transfers values from child controls to data areas specified by their
3622 validators. Returns false if a transfer failed. If the window has
3623 wx.WS_EX_VALIDATE_RECURSIVELY extra style flag set, the method will
3624 also call TransferDataFromWindow() of all child windows.
3626 return _windows_
.PyWindow_TransferDataFromWindow(*args
, **kwargs
)
3628 def Validate(*args
, **kwargs
):
3630 Validate(self) -> bool
3632 Validates the current values of the child controls using their
3633 validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
3634 style flag set, the method will also call Validate() of all child
3635 windows. Returns false if any of the validations failed.
3637 return _windows_
.PyWindow_Validate(*args
, **kwargs
)
3639 def AcceptsFocus(*args
, **kwargs
):
3641 AcceptsFocus(self) -> bool
3643 Can this window have focus?
3645 return _windows_
.PyWindow_AcceptsFocus(*args
, **kwargs
)
3647 def AcceptsFocusFromKeyboard(*args
, **kwargs
):
3649 AcceptsFocusFromKeyboard(self) -> bool
3651 Can this window be given focus by keyboard navigation? if not, the
3652 only way to give it focus (provided it accepts it at all) is to click
3655 return _windows_
.PyWindow_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3657 def GetMaxSize(*args
, **kwargs
):
3658 """GetMaxSize(self) -> Size"""
3659 return _windows_
.PyWindow_GetMaxSize(*args
, **kwargs
)
3661 def AddChild(*args
, **kwargs
):
3663 AddChild(self, Window child)
3665 Adds a child window. This is called automatically by window creation
3666 functions so should not be required by the application programmer.
3668 return _windows_
.PyWindow_AddChild(*args
, **kwargs
)
3670 def RemoveChild(*args
, **kwargs
):
3672 RemoveChild(self, Window child)
3674 Removes a child window. This is called automatically by window
3675 deletion functions so should not be required by the application
3678 return _windows_
.PyWindow_RemoveChild(*args
, **kwargs
)
3680 def ShouldInheritColours(*args
, **kwargs
):
3682 ShouldInheritColours(self) -> bool
3684 Return true from here to allow the colours of this window to be
3685 changed by InheritAttributes, returning false forbids inheriting them
3686 from the parent window.
3688 The base class version returns false, but this method is overridden in
3689 wxControl where it returns true.
3691 return _windows_
.PyWindow_ShouldInheritColours(*args
, **kwargs
)
3693 def GetDefaultAttributes(*args
, **kwargs
):
3694 """GetDefaultAttributes(self) -> VisualAttributes"""
3695 return _windows_
.PyWindow_GetDefaultAttributes(*args
, **kwargs
)
3697 def OnInternalIdle(*args
, **kwargs
):
3698 """OnInternalIdle(self)"""
3699 return _windows_
.PyWindow_OnInternalIdle(*args
, **kwargs
)
3701 def base_DoMoveWindow(*args
, **kw
):
3702 return PyWindow
.DoMoveWindow(*args
, **kw
)
3703 base_DoMoveWindow
= wx
._deprecated
(base_DoMoveWindow
,
3704 "Please use PyWindow.DoMoveWindow instead.")
3706 def base_DoSetSize(*args
, **kw
):
3707 return PyWindow
.DoSetSize(*args
, **kw
)
3708 base_DoSetSize
= wx
._deprecated
(base_DoSetSize
,
3709 "Please use PyWindow.DoSetSize instead.")
3711 def base_DoSetClientSize(*args
, **kw
):
3712 return PyWindow
.DoSetClientSize(*args
, **kw
)
3713 base_DoSetClientSize
= wx
._deprecated
(base_DoSetClientSize
,
3714 "Please use PyWindow.DoSetClientSize instead.")
3716 def base_DoSetVirtualSize(*args
, **kw
):
3717 return PyWindow
.DoSetVirtualSize(*args
, **kw
)
3718 base_DoSetVirtualSize
= wx
._deprecated
(base_DoSetVirtualSize
,
3719 "Please use PyWindow.DoSetVirtualSize instead.")
3721 def base_DoGetSize(*args
, **kw
):
3722 return PyWindow
.DoGetSize(*args
, **kw
)
3723 base_DoGetSize
= wx
._deprecated
(base_DoGetSize
,
3724 "Please use PyWindow.DoGetSize instead.")
3726 def base_DoGetClientSize(*args
, **kw
):
3727 return PyWindow
.DoGetClientSize(*args
, **kw
)
3728 base_DoGetClientSize
= wx
._deprecated
(base_DoGetClientSize
,
3729 "Please use PyWindow.DoGetClientSize instead.")
3731 def base_DoGetPosition(*args
, **kw
):
3732 return PyWindow
.DoGetPosition(*args
, **kw
)
3733 base_DoGetPosition
= wx
._deprecated
(base_DoGetPosition
,
3734 "Please use PyWindow.DoGetPosition instead.")
3736 def base_DoGetVirtualSize(*args
, **kw
):
3737 return PyWindow
.DoGetVirtualSize(*args
, **kw
)
3738 base_DoGetVirtualSize
= wx
._deprecated
(base_DoGetVirtualSize
,
3739 "Please use PyWindow.DoGetVirtualSize instead.")
3741 def base_DoGetBestSize(*args
, **kw
):
3742 return PyWindow
.DoGetBestSize(*args
, **kw
)
3743 base_DoGetBestSize
= wx
._deprecated
(base_DoGetBestSize
,
3744 "Please use PyWindow.DoGetBestSize instead.")
3746 def base_InitDialog(*args
, **kw
):
3747 return PyWindow
.InitDialog(*args
, **kw
)
3748 base_InitDialog
= wx
._deprecated
(base_InitDialog
,
3749 "Please use PyWindow.InitDialog instead.")
3751 def base_TransferDataToWindow(*args
, **kw
):
3752 return PyWindow
.TransferDataToWindow(*args
, **kw
)
3753 base_TransferDataToWindow
= wx
._deprecated
(base_TransferDataToWindow
,
3754 "Please use PyWindow.TransferDataToWindow instead.")
3756 def base_TransferDataFromWindow(*args
, **kw
):
3757 return PyWindow
.TransferDataFromWindow(*args
, **kw
)
3758 base_TransferDataFromWindow
= wx
._deprecated
(base_TransferDataFromWindow
,
3759 "Please use PyWindow.TransferDataFromWindow instead.")
3761 def base_Validate(*args
, **kw
):
3762 return PyWindow
.Validate(*args
, **kw
)
3763 base_Validate
= wx
._deprecated
(base_Validate
,
3764 "Please use PyWindow.Validate instead.")
3766 def base_AcceptsFocus(*args
, **kw
):
3767 return PyWindow
.AcceptsFocus(*args
, **kw
)
3768 base_AcceptsFocus
= wx
._deprecated
(base_AcceptsFocus
,
3769 "Please use PyWindow.AcceptsFocus instead.")
3771 def base_AcceptsFocusFromKeyboard(*args
, **kw
):
3772 return PyWindow
.AcceptsFocusFromKeyboard(*args
, **kw
)
3773 base_AcceptsFocusFromKeyboard
= wx
._deprecated
(base_AcceptsFocusFromKeyboard
,
3774 "Please use PyWindow.AcceptsFocusFromKeyboard instead.")
3776 def base_GetMaxSize(*args
, **kw
):
3777 return PyWindow
.GetMaxSize(*args
, **kw
)
3778 base_GetMaxSize
= wx
._deprecated
(base_GetMaxSize
,
3779 "Please use PyWindow.GetMaxSize instead.")
3781 def base_AddChild(*args
, **kw
):
3782 return PyWindow
.AddChild(*args
, **kw
)
3783 base_AddChild
= wx
._deprecated
(base_AddChild
,
3784 "Please use PyWindow.AddChild instead.")
3786 def base_RemoveChild(*args
, **kw
):
3787 return PyWindow
.RemoveChild(*args
, **kw
)
3788 base_RemoveChild
= wx
._deprecated
(base_RemoveChild
,
3789 "Please use PyWindow.RemoveChild instead.")
3791 def base_ShouldInheritColours(*args
, **kw
):
3792 return PyWindow
.ShouldInheritColours(*args
, **kw
)
3793 base_ShouldInheritColours
= wx
._deprecated
(base_ShouldInheritColours
,
3794 "Please use PyWindow.ShouldInheritColours instead.")
3796 def base_GetDefaultAttributes(*args
, **kw
):
3797 return PyWindow
.GetDefaultAttributes(*args
, **kw
)
3798 base_GetDefaultAttributes
= wx
._deprecated
(base_GetDefaultAttributes
,
3799 "Please use PyWindow.GetDefaultAttributes instead.")
3801 def base_OnInternalIdle(*args
, **kw
):
3802 return PyWindow
.OnInternalIdle(*args
, **kw
)
3803 base_OnInternalIdle
= wx
._deprecated
(base_OnInternalIdle
,
3804 "Please use PyWindow.OnInternalIdle instead.")
3807 class PyWindowPtr(PyWindow
):
3808 def __init__(self
, this
):
3810 if not hasattr(self
,"thisown"): self
.thisown
= 0
3811 self
.__class
__ = PyWindow
3812 _windows_
.PyWindow_swigregister(PyWindowPtr
)
3814 def PrePyWindow(*args
, **kwargs
):
3815 """PrePyWindow() -> PyWindow"""
3816 val
= _windows_
.new_PrePyWindow(*args
, **kwargs
)
3820 class PyPanel(Panel
):
3821 """Proxy of C++ PyPanel class"""
3823 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3824 def __init__(self
, *args
, **kwargs
):
3826 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3827 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyPanel
3829 newobj
= _windows_
.new_PyPanel(*args
, **kwargs
)
3830 self
.this
= newobj
.this
3833 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3835 def _setCallbackInfo(*args
, **kwargs
):
3836 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3837 return _windows_
.PyPanel__setCallbackInfo(*args
, **kwargs
)
3839 def SetBestSize(*args
, **kwargs
):
3840 """SetBestSize(self, Size size)"""
3841 return _windows_
.PyPanel_SetBestSize(*args
, **kwargs
)
3843 def DoEraseBackground(*args
, **kwargs
):
3844 """DoEraseBackground(self, DC dc) -> bool"""
3845 return _windows_
.PyPanel_DoEraseBackground(*args
, **kwargs
)
3847 def DoMoveWindow(*args
, **kwargs
):
3848 """DoMoveWindow(self, int x, int y, int width, int height)"""
3849 return _windows_
.PyPanel_DoMoveWindow(*args
, **kwargs
)
3851 def DoSetSize(*args
, **kwargs
):
3852 """DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3853 return _windows_
.PyPanel_DoSetSize(*args
, **kwargs
)
3855 def DoSetClientSize(*args
, **kwargs
):
3856 """DoSetClientSize(self, int width, int height)"""
3857 return _windows_
.PyPanel_DoSetClientSize(*args
, **kwargs
)
3859 def DoSetVirtualSize(*args
, **kwargs
):
3860 """DoSetVirtualSize(self, int x, int y)"""
3861 return _windows_
.PyPanel_DoSetVirtualSize(*args
, **kwargs
)
3863 def DoGetSize(*args
, **kwargs
):
3864 """DoGetSize() -> (width, height)"""
3865 return _windows_
.PyPanel_DoGetSize(*args
, **kwargs
)
3867 def DoGetClientSize(*args
, **kwargs
):
3868 """DoGetClientSize() -> (width, height)"""
3869 return _windows_
.PyPanel_DoGetClientSize(*args
, **kwargs
)
3871 def DoGetPosition(*args
, **kwargs
):
3872 """DoGetPosition() -> (x,y)"""
3873 return _windows_
.PyPanel_DoGetPosition(*args
, **kwargs
)
3875 def DoGetVirtualSize(*args
, **kwargs
):
3876 """DoGetVirtualSize(self) -> Size"""
3877 return _windows_
.PyPanel_DoGetVirtualSize(*args
, **kwargs
)
3879 def DoGetBestSize(*args
, **kwargs
):
3880 """DoGetBestSize(self) -> Size"""
3881 return _windows_
.PyPanel_DoGetBestSize(*args
, **kwargs
)
3883 def InitDialog(*args
, **kwargs
):
3887 Sends an EVT_INIT_DIALOG event, whose handler usually transfers data
3888 to the dialog via validators.
3890 return _windows_
.PyPanel_InitDialog(*args
, **kwargs
)
3892 def TransferDataToWindow(*args
, **kwargs
):
3894 TransferDataToWindow(self) -> bool
3896 Transfers values to child controls from data areas specified by their
3897 validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
3898 style flag set, the method will also call TransferDataToWindow() of
3901 return _windows_
.PyPanel_TransferDataToWindow(*args
, **kwargs
)
3903 def TransferDataFromWindow(*args
, **kwargs
):
3905 TransferDataFromWindow(self) -> bool
3907 Transfers values from child controls to data areas specified by their
3908 validators. Returns false if a transfer failed. If the window has
3909 wx.WS_EX_VALIDATE_RECURSIVELY extra style flag set, the method will
3910 also call TransferDataFromWindow() of all child windows.
3912 return _windows_
.PyPanel_TransferDataFromWindow(*args
, **kwargs
)
3914 def Validate(*args
, **kwargs
):
3916 Validate(self) -> bool
3918 Validates the current values of the child controls using their
3919 validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
3920 style flag set, the method will also call Validate() of all child
3921 windows. Returns false if any of the validations failed.
3923 return _windows_
.PyPanel_Validate(*args
, **kwargs
)
3925 def AcceptsFocus(*args
, **kwargs
):
3927 AcceptsFocus(self) -> bool
3929 Can this window have focus?
3931 return _windows_
.PyPanel_AcceptsFocus(*args
, **kwargs
)
3933 def AcceptsFocusFromKeyboard(*args
, **kwargs
):
3935 AcceptsFocusFromKeyboard(self) -> bool
3937 Can this window be given focus by keyboard navigation? if not, the
3938 only way to give it focus (provided it accepts it at all) is to click
3941 return _windows_
.PyPanel_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3943 def GetMaxSize(*args
, **kwargs
):
3944 """GetMaxSize(self) -> Size"""
3945 return _windows_
.PyPanel_GetMaxSize(*args
, **kwargs
)
3947 def AddChild(*args
, **kwargs
):
3949 AddChild(self, Window child)
3951 Adds a child window. This is called automatically by window creation
3952 functions so should not be required by the application programmer.
3954 return _windows_
.PyPanel_AddChild(*args
, **kwargs
)
3956 def RemoveChild(*args
, **kwargs
):
3958 RemoveChild(self, Window child)
3960 Removes a child window. This is called automatically by window
3961 deletion functions so should not be required by the application
3964 return _windows_
.PyPanel_RemoveChild(*args
, **kwargs
)
3966 def ShouldInheritColours(*args
, **kwargs
):
3968 ShouldInheritColours(self) -> bool
3970 Return true from here to allow the colours of this window to be
3971 changed by InheritAttributes, returning false forbids inheriting them
3972 from the parent window.
3974 The base class version returns false, but this method is overridden in
3975 wxControl where it returns true.
3977 return _windows_
.PyPanel_ShouldInheritColours(*args
, **kwargs
)
3979 def GetDefaultAttributes(*args
, **kwargs
):
3980 """GetDefaultAttributes(self) -> VisualAttributes"""
3981 return _windows_
.PyPanel_GetDefaultAttributes(*args
, **kwargs
)
3983 def OnInternalIdle(*args
, **kwargs
):
3984 """OnInternalIdle(self)"""
3985 return _windows_
.PyPanel_OnInternalIdle(*args
, **kwargs
)
3987 def base_DoMoveWindow(*args
, **kw
):
3988 return PyPanel
.DoMoveWindow(*args
, **kw
)
3989 base_DoMoveWindow
= wx
._deprecated
(base_DoMoveWindow
,
3990 "Please use PyPanel.DoMoveWindow instead.")
3992 def base_DoSetSize(*args
, **kw
):
3993 return PyPanel
.DoSetSize(*args
, **kw
)
3994 base_DoSetSize
= wx
._deprecated
(base_DoSetSize
,
3995 "Please use PyPanel.DoSetSize instead.")
3997 def base_DoSetClientSize(*args
, **kw
):
3998 return PyPanel
.DoSetClientSize(*args
, **kw
)
3999 base_DoSetClientSize
= wx
._deprecated
(base_DoSetClientSize
,
4000 "Please use PyPanel.DoSetClientSize instead.")
4002 def base_DoSetVirtualSize(*args
, **kw
):
4003 return PyPanel
.DoSetVirtualSize(*args
, **kw
)
4004 base_DoSetVirtualSize
= wx
._deprecated
(base_DoSetVirtualSize
,
4005 "Please use PyPanel.DoSetVirtualSize instead.")
4007 def base_DoGetSize(*args
, **kw
):
4008 return PyPanel
.DoGetSize(*args
, **kw
)
4009 base_DoGetSize
= wx
._deprecated
(base_DoGetSize
,
4010 "Please use PyPanel.DoGetSize instead.")
4012 def base_DoGetClientSize(*args
, **kw
):
4013 return PyPanel
.DoGetClientSize(*args
, **kw
)
4014 base_DoGetClientSize
= wx
._deprecated
(base_DoGetClientSize
,
4015 "Please use PyPanel.DoGetClientSize instead.")
4017 def base_DoGetPosition(*args
, **kw
):
4018 return PyPanel
.DoGetPosition(*args
, **kw
)
4019 base_DoGetPosition
= wx
._deprecated
(base_DoGetPosition
,
4020 "Please use PyPanel.DoGetPosition instead.")
4022 def base_DoGetVirtualSize(*args
, **kw
):
4023 return PyPanel
.DoGetVirtualSize(*args
, **kw
)
4024 base_DoGetVirtualSize
= wx
._deprecated
(base_DoGetVirtualSize
,
4025 "Please use PyPanel.DoGetVirtualSize instead.")
4027 def base_DoGetBestSize(*args
, **kw
):
4028 return PyPanel
.DoGetBestSize(*args
, **kw
)
4029 base_DoGetBestSize
= wx
._deprecated
(base_DoGetBestSize
,
4030 "Please use PyPanel.DoGetBestSize instead.")
4032 def base_InitDialog(*args
, **kw
):
4033 return PyPanel
.InitDialog(*args
, **kw
)
4034 base_InitDialog
= wx
._deprecated
(base_InitDialog
,
4035 "Please use PyPanel.InitDialog instead.")
4037 def base_TransferDataToWindow(*args
, **kw
):
4038 return PyPanel
.TransferDataToWindow(*args
, **kw
)
4039 base_TransferDataToWindow
= wx
._deprecated
(base_TransferDataToWindow
,
4040 "Please use PyPanel.TransferDataToWindow instead.")
4042 def base_TransferDataFromWindow(*args
, **kw
):
4043 return PyPanel
.TransferDataFromWindow(*args
, **kw
)
4044 base_TransferDataFromWindow
= wx
._deprecated
(base_TransferDataFromWindow
,
4045 "Please use PyPanel.TransferDataFromWindow instead.")
4047 def base_Validate(*args
, **kw
):
4048 return PyPanel
.Validate(*args
, **kw
)
4049 base_Validate
= wx
._deprecated
(base_Validate
,
4050 "Please use PyPanel.Validate instead.")
4052 def base_AcceptsFocus(*args
, **kw
):
4053 return PyPanel
.AcceptsFocus(*args
, **kw
)
4054 base_AcceptsFocus
= wx
._deprecated
(base_AcceptsFocus
,
4055 "Please use PyPanel.AcceptsFocus instead.")
4057 def base_AcceptsFocusFromKeyboard(*args
, **kw
):
4058 return PyPanel
.AcceptsFocusFromKeyboard(*args
, **kw
)
4059 base_AcceptsFocusFromKeyboard
= wx
._deprecated
(base_AcceptsFocusFromKeyboard
,
4060 "Please use PyPanel.AcceptsFocusFromKeyboard instead.")
4062 def base_GetMaxSize(*args
, **kw
):
4063 return PyPanel
.GetMaxSize(*args
, **kw
)
4064 base_GetMaxSize
= wx
._deprecated
(base_GetMaxSize
,
4065 "Please use PyPanel.GetMaxSize instead.")
4067 def base_AddChild(*args
, **kw
):
4068 return PyPanel
.AddChild(*args
, **kw
)
4069 base_AddChild
= wx
._deprecated
(base_AddChild
,
4070 "Please use PyPanel.AddChild instead.")
4072 def base_RemoveChild(*args
, **kw
):
4073 return PyPanel
.RemoveChild(*args
, **kw
)
4074 base_RemoveChild
= wx
._deprecated
(base_RemoveChild
,
4075 "Please use PyPanel.RemoveChild instead.")
4077 def base_ShouldInheritColours(*args
, **kw
):
4078 return PyPanel
.ShouldInheritColours(*args
, **kw
)
4079 base_ShouldInheritColours
= wx
._deprecated
(base_ShouldInheritColours
,
4080 "Please use PyPanel.ShouldInheritColours instead.")
4082 def base_GetDefaultAttributes(*args
, **kw
):
4083 return PyPanel
.GetDefaultAttributes(*args
, **kw
)
4084 base_GetDefaultAttributes
= wx
._deprecated
(base_GetDefaultAttributes
,
4085 "Please use PyPanel.GetDefaultAttributes instead.")
4087 def base_OnInternalIdle(*args
, **kw
):
4088 return PyPanel
.OnInternalIdle(*args
, **kw
)
4089 base_OnInternalIdle
= wx
._deprecated
(base_OnInternalIdle
,
4090 "Please use PyPanel.OnInternalIdle instead.")
4093 class PyPanelPtr(PyPanel
):
4094 def __init__(self
, this
):
4096 if not hasattr(self
,"thisown"): self
.thisown
= 0
4097 self
.__class
__ = PyPanel
4098 _windows_
.PyPanel_swigregister(PyPanelPtr
)
4100 def PrePyPanel(*args
, **kwargs
):
4101 """PrePyPanel() -> PyPanel"""
4102 val
= _windows_
.new_PrePyPanel(*args
, **kwargs
)
4106 class PyScrolledWindow(ScrolledWindow
):
4107 """Proxy of C++ PyScrolledWindow class"""
4109 return "<%s.%s; proxy of C++ wxPyScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4110 def __init__(self
, *args
, **kwargs
):
4112 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
4113 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyScrolledWindow
4115 newobj
= _windows_
.new_PyScrolledWindow(*args
, **kwargs
)
4116 self
.this
= newobj
.this
4119 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyScrolledWindow
)
4121 def _setCallbackInfo(*args
, **kwargs
):
4122 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4123 return _windows_
.PyScrolledWindow__setCallbackInfo(*args
, **kwargs
)
4125 def SetBestSize(*args
, **kwargs
):
4126 """SetBestSize(self, Size size)"""
4127 return _windows_
.PyScrolledWindow_SetBestSize(*args
, **kwargs
)
4129 def DoEraseBackground(*args
, **kwargs
):
4130 """DoEraseBackground(self, DC dc) -> bool"""
4131 return _windows_
.PyScrolledWindow_DoEraseBackground(*args
, **kwargs
)
4133 def DoMoveWindow(*args
, **kwargs
):
4134 """DoMoveWindow(self, int x, int y, int width, int height)"""
4135 return _windows_
.PyScrolledWindow_DoMoveWindow(*args
, **kwargs
)
4137 def DoSetSize(*args
, **kwargs
):
4138 """DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
4139 return _windows_
.PyScrolledWindow_DoSetSize(*args
, **kwargs
)
4141 def DoSetClientSize(*args
, **kwargs
):
4142 """DoSetClientSize(self, int width, int height)"""
4143 return _windows_
.PyScrolledWindow_DoSetClientSize(*args
, **kwargs
)
4145 def DoSetVirtualSize(*args
, **kwargs
):
4146 """DoSetVirtualSize(self, int x, int y)"""
4147 return _windows_
.PyScrolledWindow_DoSetVirtualSize(*args
, **kwargs
)
4149 def DoGetSize(*args
, **kwargs
):
4150 """DoGetSize() -> (width, height)"""
4151 return _windows_
.PyScrolledWindow_DoGetSize(*args
, **kwargs
)
4153 def DoGetClientSize(*args
, **kwargs
):
4154 """DoGetClientSize() -> (width, height)"""
4155 return _windows_
.PyScrolledWindow_DoGetClientSize(*args
, **kwargs
)
4157 def DoGetPosition(*args
, **kwargs
):
4158 """DoGetPosition() -> (x,y)"""
4159 return _windows_
.PyScrolledWindow_DoGetPosition(*args
, **kwargs
)
4161 def DoGetVirtualSize(*args
, **kwargs
):
4162 """DoGetVirtualSize(self) -> Size"""
4163 return _windows_
.PyScrolledWindow_DoGetVirtualSize(*args
, **kwargs
)
4165 def DoGetBestSize(*args
, **kwargs
):
4166 """DoGetBestSize(self) -> Size"""
4167 return _windows_
.PyScrolledWindow_DoGetBestSize(*args
, **kwargs
)
4169 def InitDialog(*args
, **kwargs
):
4173 Sends an EVT_INIT_DIALOG event, whose handler usually transfers data
4174 to the dialog via validators.
4176 return _windows_
.PyScrolledWindow_InitDialog(*args
, **kwargs
)
4178 def TransferDataToWindow(*args
, **kwargs
):
4180 TransferDataToWindow(self) -> bool
4182 Transfers values to child controls from data areas specified by their
4183 validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
4184 style flag set, the method will also call TransferDataToWindow() of
4187 return _windows_
.PyScrolledWindow_TransferDataToWindow(*args
, **kwargs
)
4189 def TransferDataFromWindow(*args
, **kwargs
):
4191 TransferDataFromWindow(self) -> bool
4193 Transfers values from child controls to data areas specified by their
4194 validators. Returns false if a transfer failed. If the window has
4195 wx.WS_EX_VALIDATE_RECURSIVELY extra style flag set, the method will
4196 also call TransferDataFromWindow() of all child windows.
4198 return _windows_
.PyScrolledWindow_TransferDataFromWindow(*args
, **kwargs
)
4200 def Validate(*args
, **kwargs
):
4202 Validate(self) -> bool
4204 Validates the current values of the child controls using their
4205 validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
4206 style flag set, the method will also call Validate() of all child
4207 windows. Returns false if any of the validations failed.
4209 return _windows_
.PyScrolledWindow_Validate(*args
, **kwargs
)
4211 def AcceptsFocus(*args
, **kwargs
):
4213 AcceptsFocus(self) -> bool
4215 Can this window have focus?
4217 return _windows_
.PyScrolledWindow_AcceptsFocus(*args
, **kwargs
)
4219 def AcceptsFocusFromKeyboard(*args
, **kwargs
):
4221 AcceptsFocusFromKeyboard(self) -> bool
4223 Can this window be given focus by keyboard navigation? if not, the
4224 only way to give it focus (provided it accepts it at all) is to click
4227 return _windows_
.PyScrolledWindow_AcceptsFocusFromKeyboard(*args
, **kwargs
)
4229 def GetMaxSize(*args
, **kwargs
):
4230 """GetMaxSize(self) -> Size"""
4231 return _windows_
.PyScrolledWindow_GetMaxSize(*args
, **kwargs
)
4233 def AddChild(*args
, **kwargs
):
4235 AddChild(self, Window child)
4237 Adds a child window. This is called automatically by window creation
4238 functions so should not be required by the application programmer.
4240 return _windows_
.PyScrolledWindow_AddChild(*args
, **kwargs
)
4242 def RemoveChild(*args
, **kwargs
):
4244 RemoveChild(self, Window child)
4246 Removes a child window. This is called automatically by window
4247 deletion functions so should not be required by the application
4250 return _windows_
.PyScrolledWindow_RemoveChild(*args
, **kwargs
)
4252 def ShouldInheritColours(*args
, **kwargs
):
4254 ShouldInheritColours(self) -> bool
4256 Return true from here to allow the colours of this window to be
4257 changed by InheritAttributes, returning false forbids inheriting them
4258 from the parent window.
4260 The base class version returns false, but this method is overridden in
4261 wxControl where it returns true.
4263 return _windows_
.PyScrolledWindow_ShouldInheritColours(*args
, **kwargs
)
4265 def GetDefaultAttributes(*args
, **kwargs
):
4266 """GetDefaultAttributes(self) -> VisualAttributes"""
4267 return _windows_
.PyScrolledWindow_GetDefaultAttributes(*args
, **kwargs
)
4269 def OnInternalIdle(*args
, **kwargs
):
4270 """OnInternalIdle(self)"""
4271 return _windows_
.PyScrolledWindow_OnInternalIdle(*args
, **kwargs
)
4273 def base_DoMoveWindow(*args
, **kw
):
4274 return PyScrolledWindow
.DoMoveWindow(*args
, **kw
)
4275 base_DoMoveWindow
= wx
._deprecated
(base_DoMoveWindow
,
4276 "Please use PyScrolledWindow.DoMoveWindow instead.")
4278 def base_DoSetSize(*args
, **kw
):
4279 return PyScrolledWindow
.DoSetSize(*args
, **kw
)
4280 base_DoSetSize
= wx
._deprecated
(base_DoSetSize
,
4281 "Please use PyScrolledWindow.DoSetSize instead.")
4283 def base_DoSetClientSize(*args
, **kw
):
4284 return PyScrolledWindow
.DoSetClientSize(*args
, **kw
)
4285 base_DoSetClientSize
= wx
._deprecated
(base_DoSetClientSize
,
4286 "Please use PyScrolledWindow.DoSetClientSize instead.")
4288 def base_DoSetVirtualSize(*args
, **kw
):
4289 return PyScrolledWindow
.DoSetVirtualSize(*args
, **kw
)
4290 base_DoSetVirtualSize
= wx
._deprecated
(base_DoSetVirtualSize
,
4291 "Please use PyScrolledWindow.DoSetVirtualSize instead.")
4293 def base_DoGetSize(*args
, **kw
):
4294 return PyScrolledWindow
.DoGetSize(*args
, **kw
)
4295 base_DoGetSize
= wx
._deprecated
(base_DoGetSize
,
4296 "Please use PyScrolledWindow.DoGetSize instead.")
4298 def base_DoGetClientSize(*args
, **kw
):
4299 return PyScrolledWindow
.DoGetClientSize(*args
, **kw
)
4300 base_DoGetClientSize
= wx
._deprecated
(base_DoGetClientSize
,
4301 "Please use PyScrolledWindow.DoGetClientSize instead.")
4303 def base_DoGetPosition(*args
, **kw
):
4304 return PyScrolledWindow
.DoGetPosition(*args
, **kw
)
4305 base_DoGetPosition
= wx
._deprecated
(base_DoGetPosition
,
4306 "Please use PyScrolledWindow.DoGetPosition instead.")
4308 def base_DoGetVirtualSize(*args
, **kw
):
4309 return PyScrolledWindow
.DoGetVirtualSize(*args
, **kw
)
4310 base_DoGetVirtualSize
= wx
._deprecated
(base_DoGetVirtualSize
,
4311 "Please use PyScrolledWindow.DoGetVirtualSize instead.")
4313 def base_DoGetBestSize(*args
, **kw
):
4314 return PyScrolledWindow
.DoGetBestSize(*args
, **kw
)
4315 base_DoGetBestSize
= wx
._deprecated
(base_DoGetBestSize
,
4316 "Please use PyScrolledWindow.DoGetBestSize instead.")
4318 def base_InitDialog(*args
, **kw
):
4319 return PyScrolledWindow
.InitDialog(*args
, **kw
)
4320 base_InitDialog
= wx
._deprecated
(base_InitDialog
,
4321 "Please use PyScrolledWindow.InitDialog instead.")
4323 def base_TransferDataToWindow(*args
, **kw
):
4324 return PyScrolledWindow
.TransferDataToWindow(*args
, **kw
)
4325 base_TransferDataToWindow
= wx
._deprecated
(base_TransferDataToWindow
,
4326 "Please use PyScrolledWindow.TransferDataToWindow instead.")
4328 def base_TransferDataFromWindow(*args
, **kw
):
4329 return PyScrolledWindow
.TransferDataFromWindow(*args
, **kw
)
4330 base_TransferDataFromWindow
= wx
._deprecated
(base_TransferDataFromWindow
,
4331 "Please use PyScrolledWindow.TransferDataFromWindow instead.")
4333 def base_Validate(*args
, **kw
):
4334 return PyScrolledWindow
.Validate(*args
, **kw
)
4335 base_Validate
= wx
._deprecated
(base_Validate
,
4336 "Please use PyScrolledWindow.Validate instead.")
4338 def base_AcceptsFocus(*args
, **kw
):
4339 return PyScrolledWindow
.AcceptsFocus(*args
, **kw
)
4340 base_AcceptsFocus
= wx
._deprecated
(base_AcceptsFocus
,
4341 "Please use PyScrolledWindow.AcceptsFocus instead.")
4343 def base_AcceptsFocusFromKeyboard(*args
, **kw
):
4344 return PyScrolledWindow
.AcceptsFocusFromKeyboard(*args
, **kw
)
4345 base_AcceptsFocusFromKeyboard
= wx
._deprecated
(base_AcceptsFocusFromKeyboard
,
4346 "Please use PyScrolledWindow.AcceptsFocusFromKeyboard instead.")
4348 def base_GetMaxSize(*args
, **kw
):
4349 return PyScrolledWindow
.GetMaxSize(*args
, **kw
)
4350 base_GetMaxSize
= wx
._deprecated
(base_GetMaxSize
,
4351 "Please use PyScrolledWindow.GetMaxSize instead.")
4353 def base_AddChild(*args
, **kw
):
4354 return PyScrolledWindow
.AddChild(*args
, **kw
)
4355 base_AddChild
= wx
._deprecated
(base_AddChild
,
4356 "Please use PyScrolledWindow.AddChild instead.")
4358 def base_RemoveChild(*args
, **kw
):
4359 return PyScrolledWindow
.RemoveChild(*args
, **kw
)
4360 base_RemoveChild
= wx
._deprecated
(base_RemoveChild
,
4361 "Please use PyScrolledWindow.RemoveChild instead.")
4363 def base_ShouldInheritColours(*args
, **kw
):
4364 return PyScrolledWindow
.ShouldInheritColours(*args
, **kw
)
4365 base_ShouldInheritColours
= wx
._deprecated
(base_ShouldInheritColours
,
4366 "Please use PyScrolledWindow.ShouldInheritColours instead.")
4368 def base_GetDefaultAttributes(*args
, **kw
):
4369 return PyScrolledWindow
.GetDefaultAttributes(*args
, **kw
)
4370 base_GetDefaultAttributes
= wx
._deprecated
(base_GetDefaultAttributes
,
4371 "Please use PyScrolledWindow.GetDefaultAttributes instead.")
4373 def base_OnInternalIdle(*args
, **kw
):
4374 return PyScrolledWindow
.OnInternalIdle(*args
, **kw
)
4375 base_OnInternalIdle
= wx
._deprecated
(base_OnInternalIdle
,
4376 "Please use PyScrolledWindow.OnInternalIdle instead.")
4379 class PyScrolledWindowPtr(PyScrolledWindow
):
4380 def __init__(self
, this
):
4382 if not hasattr(self
,"thisown"): self
.thisown
= 0
4383 self
.__class
__ = PyScrolledWindow
4384 _windows_
.PyScrolledWindow_swigregister(PyScrolledWindowPtr
)
4386 def PrePyScrolledWindow(*args
, **kwargs
):
4387 """PrePyScrolledWindow() -> PyScrolledWindow"""
4388 val
= _windows_
.new_PrePyScrolledWindow(*args
, **kwargs
)
4392 #---------------------------------------------------------------------------
4394 PRINT_MODE_NONE
= _windows_
.PRINT_MODE_NONE
4395 PRINT_MODE_PREVIEW
= _windows_
.PRINT_MODE_PREVIEW
4396 PRINT_MODE_FILE
= _windows_
.PRINT_MODE_FILE
4397 PRINT_MODE_PRINTER
= _windows_
.PRINT_MODE_PRINTER
4398 PRINT_MODE_STREAM
= _windows_
.PRINT_MODE_STREAM
4399 PRINTBIN_DEFAULT
= _windows_
.PRINTBIN_DEFAULT
4400 PRINTBIN_ONLYONE
= _windows_
.PRINTBIN_ONLYONE
4401 PRINTBIN_LOWER
= _windows_
.PRINTBIN_LOWER
4402 PRINTBIN_MIDDLE
= _windows_
.PRINTBIN_MIDDLE
4403 PRINTBIN_MANUAL
= _windows_
.PRINTBIN_MANUAL
4404 PRINTBIN_ENVELOPE
= _windows_
.PRINTBIN_ENVELOPE
4405 PRINTBIN_ENVMANUAL
= _windows_
.PRINTBIN_ENVMANUAL
4406 PRINTBIN_AUTO
= _windows_
.PRINTBIN_AUTO
4407 PRINTBIN_TRACTOR
= _windows_
.PRINTBIN_TRACTOR
4408 PRINTBIN_SMALLFMT
= _windows_
.PRINTBIN_SMALLFMT
4409 PRINTBIN_LARGEFMT
= _windows_
.PRINTBIN_LARGEFMT
4410 PRINTBIN_LARGECAPACITY
= _windows_
.PRINTBIN_LARGECAPACITY
4411 PRINTBIN_CASSETTE
= _windows_
.PRINTBIN_CASSETTE
4412 PRINTBIN_FORMSOURCE
= _windows_
.PRINTBIN_FORMSOURCE
4413 PRINTBIN_USER
= _windows_
.PRINTBIN_USER
4414 class PrintData(_core
.Object
):
4415 """Proxy of C++ PrintData class"""
4417 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4418 def __init__(self
, *args
):
4420 __init__(self) -> PrintData
4421 __init__(self, PrintData data) -> PrintData
4423 newobj
= _windows_
.new_PrintData(*args
)
4424 self
.this
= newobj
.this
4427 def __del__(self
, destroy
=_windows_
.delete_PrintData
):
4430 if self
.thisown
: destroy(self
)
4433 def GetNoCopies(*args
, **kwargs
):
4434 """GetNoCopies(self) -> int"""
4435 return _windows_
.PrintData_GetNoCopies(*args
, **kwargs
)
4437 def GetCollate(*args
, **kwargs
):
4438 """GetCollate(self) -> bool"""
4439 return _windows_
.PrintData_GetCollate(*args
, **kwargs
)
4441 def GetOrientation(*args
, **kwargs
):
4442 """GetOrientation(self) -> int"""
4443 return _windows_
.PrintData_GetOrientation(*args
, **kwargs
)
4445 def Ok(*args
, **kwargs
):
4446 """Ok(self) -> bool"""
4447 return _windows_
.PrintData_Ok(*args
, **kwargs
)
4449 def GetPrinterName(*args
, **kwargs
):
4450 """GetPrinterName(self) -> String"""
4451 return _windows_
.PrintData_GetPrinterName(*args
, **kwargs
)
4453 def GetColour(*args
, **kwargs
):
4454 """GetColour(self) -> bool"""
4455 return _windows_
.PrintData_GetColour(*args
, **kwargs
)
4457 def GetDuplex(*args
, **kwargs
):
4458 """GetDuplex(self) -> int"""
4459 return _windows_
.PrintData_GetDuplex(*args
, **kwargs
)
4461 def GetPaperId(*args
, **kwargs
):
4462 """GetPaperId(self) -> int"""
4463 return _windows_
.PrintData_GetPaperId(*args
, **kwargs
)
4465 def GetPaperSize(*args
, **kwargs
):
4466 """GetPaperSize(self) -> Size"""
4467 return _windows_
.PrintData_GetPaperSize(*args
, **kwargs
)
4469 def GetQuality(*args
, **kwargs
):
4470 """GetQuality(self) -> int"""
4471 return _windows_
.PrintData_GetQuality(*args
, **kwargs
)
4473 def GetBin(*args
, **kwargs
):
4474 """GetBin(self) -> int"""
4475 return _windows_
.PrintData_GetBin(*args
, **kwargs
)
4477 def GetPrintMode(*args
, **kwargs
):
4478 """GetPrintMode(self) -> int"""
4479 return _windows_
.PrintData_GetPrintMode(*args
, **kwargs
)
4481 def SetNoCopies(*args
, **kwargs
):
4482 """SetNoCopies(self, int v)"""
4483 return _windows_
.PrintData_SetNoCopies(*args
, **kwargs
)
4485 def SetCollate(*args
, **kwargs
):
4486 """SetCollate(self, bool flag)"""
4487 return _windows_
.PrintData_SetCollate(*args
, **kwargs
)
4489 def SetOrientation(*args
, **kwargs
):
4490 """SetOrientation(self, int orient)"""
4491 return _windows_
.PrintData_SetOrientation(*args
, **kwargs
)
4493 def SetPrinterName(*args
, **kwargs
):
4494 """SetPrinterName(self, String name)"""
4495 return _windows_
.PrintData_SetPrinterName(*args
, **kwargs
)
4497 def SetColour(*args
, **kwargs
):
4498 """SetColour(self, bool colour)"""
4499 return _windows_
.PrintData_SetColour(*args
, **kwargs
)
4501 def SetDuplex(*args
, **kwargs
):
4502 """SetDuplex(self, int duplex)"""
4503 return _windows_
.PrintData_SetDuplex(*args
, **kwargs
)
4505 def SetPaperId(*args
, **kwargs
):
4506 """SetPaperId(self, int sizeId)"""
4507 return _windows_
.PrintData_SetPaperId(*args
, **kwargs
)
4509 def SetPaperSize(*args
, **kwargs
):
4510 """SetPaperSize(self, Size sz)"""
4511 return _windows_
.PrintData_SetPaperSize(*args
, **kwargs
)
4513 def SetQuality(*args
, **kwargs
):
4514 """SetQuality(self, int quality)"""
4515 return _windows_
.PrintData_SetQuality(*args
, **kwargs
)
4517 def SetBin(*args
, **kwargs
):
4518 """SetBin(self, int bin)"""
4519 return _windows_
.PrintData_SetBin(*args
, **kwargs
)
4521 def SetPrintMode(*args
, **kwargs
):
4522 """SetPrintMode(self, int printMode)"""
4523 return _windows_
.PrintData_SetPrintMode(*args
, **kwargs
)
4525 def GetFilename(*args
, **kwargs
):
4526 """GetFilename(self) -> String"""
4527 return _windows_
.PrintData_GetFilename(*args
, **kwargs
)
4529 def SetFilename(*args
, **kwargs
):
4530 """SetFilename(self, String filename)"""
4531 return _windows_
.PrintData_SetFilename(*args
, **kwargs
)
4533 def __nonzero__(self
): return self
.Ok()
4534 def GetPrivData(*args
, **kwargs
):
4535 """GetPrivData(self) -> PyObject"""
4536 return _windows_
.PrintData_GetPrivData(*args
, **kwargs
)
4538 def SetPrivData(*args
, **kwargs
):
4539 """SetPrivData(self, PyObject data)"""
4540 return _windows_
.PrintData_SetPrivData(*args
, **kwargs
)
4543 class PrintDataPtr(PrintData
):
4544 def __init__(self
, this
):
4546 if not hasattr(self
,"thisown"): self
.thisown
= 0
4547 self
.__class
__ = PrintData
4548 _windows_
.PrintData_swigregister(PrintDataPtr
)
4549 PrintoutTitleStr
= cvar
.PrintoutTitleStr
4550 PreviewCanvasNameStr
= cvar
.PreviewCanvasNameStr
4552 class PageSetupDialogData(_core
.Object
):
4553 """Proxy of C++ PageSetupDialogData class"""
4555 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4556 def __init__(self
, *args
):
4558 __init__(self) -> PageSetupDialogData
4559 __init__(self, PageSetupDialogData data) -> PageSetupDialogData
4560 __init__(self, PrintData data) -> PageSetupDialogData
4562 newobj
= _windows_
.new_PageSetupDialogData(*args
)
4563 self
.this
= newobj
.this
4566 def __del__(self
, destroy
=_windows_
.delete_PageSetupDialogData
):
4569 if self
.thisown
: destroy(self
)
4572 def EnableHelp(*args
, **kwargs
):
4573 """EnableHelp(self, bool flag)"""
4574 return _windows_
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
4576 def EnableMargins(*args
, **kwargs
):
4577 """EnableMargins(self, bool flag)"""
4578 return _windows_
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
4580 def EnableOrientation(*args
, **kwargs
):
4581 """EnableOrientation(self, bool flag)"""
4582 return _windows_
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
4584 def EnablePaper(*args
, **kwargs
):
4585 """EnablePaper(self, bool flag)"""
4586 return _windows_
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
4588 def EnablePrinter(*args
, **kwargs
):
4589 """EnablePrinter(self, bool flag)"""
4590 return _windows_
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
4592 def GetDefaultMinMargins(*args
, **kwargs
):
4593 """GetDefaultMinMargins(self) -> bool"""
4594 return _windows_
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
4596 def GetEnableMargins(*args
, **kwargs
):
4597 """GetEnableMargins(self) -> bool"""
4598 return _windows_
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
4600 def GetEnableOrientation(*args
, **kwargs
):
4601 """GetEnableOrientation(self) -> bool"""
4602 return _windows_
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
4604 def GetEnablePaper(*args
, **kwargs
):
4605 """GetEnablePaper(self) -> bool"""
4606 return _windows_
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
4608 def GetEnablePrinter(*args
, **kwargs
):
4609 """GetEnablePrinter(self) -> bool"""
4610 return _windows_
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
4612 def GetEnableHelp(*args
, **kwargs
):
4613 """GetEnableHelp(self) -> bool"""
4614 return _windows_
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
4616 def GetDefaultInfo(*args
, **kwargs
):
4617 """GetDefaultInfo(self) -> bool"""
4618 return _windows_
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
4620 def GetMarginTopLeft(*args
, **kwargs
):
4621 """GetMarginTopLeft(self) -> Point"""
4622 return _windows_
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
4624 def GetMarginBottomRight(*args
, **kwargs
):
4625 """GetMarginBottomRight(self) -> Point"""
4626 return _windows_
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
4628 def GetMinMarginTopLeft(*args
, **kwargs
):
4629 """GetMinMarginTopLeft(self) -> Point"""
4630 return _windows_
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
4632 def GetMinMarginBottomRight(*args
, **kwargs
):
4633 """GetMinMarginBottomRight(self) -> Point"""
4634 return _windows_
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
4636 def GetPaperId(*args
, **kwargs
):
4637 """GetPaperId(self) -> int"""
4638 return _windows_
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
4640 def GetPaperSize(*args
, **kwargs
):
4641 """GetPaperSize(self) -> Size"""
4642 return _windows_
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
4644 def GetPrintData(*args
, **kwargs
):
4645 """GetPrintData(self) -> PrintData"""
4646 return _windows_
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
4648 def Ok(*args
, **kwargs
):
4649 """Ok(self) -> bool"""
4650 return _windows_
.PageSetupDialogData_Ok(*args
, **kwargs
)
4652 def SetDefaultInfo(*args
, **kwargs
):
4653 """SetDefaultInfo(self, bool flag)"""
4654 return _windows_
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
4656 def SetDefaultMinMargins(*args
, **kwargs
):
4657 """SetDefaultMinMargins(self, bool flag)"""
4658 return _windows_
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
4660 def SetMarginTopLeft(*args
, **kwargs
):
4661 """SetMarginTopLeft(self, Point pt)"""
4662 return _windows_
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
4664 def SetMarginBottomRight(*args
, **kwargs
):
4665 """SetMarginBottomRight(self, Point pt)"""
4666 return _windows_
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
4668 def SetMinMarginTopLeft(*args
, **kwargs
):
4669 """SetMinMarginTopLeft(self, Point pt)"""
4670 return _windows_
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
4672 def SetMinMarginBottomRight(*args
, **kwargs
):
4673 """SetMinMarginBottomRight(self, Point pt)"""
4674 return _windows_
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
4676 def SetPaperId(*args
, **kwargs
):
4677 """SetPaperId(self, int id)"""
4678 return _windows_
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
4680 def SetPaperSize(*args
, **kwargs
):
4681 """SetPaperSize(self, Size size)"""
4682 return _windows_
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
4684 def SetPrintData(*args
, **kwargs
):
4685 """SetPrintData(self, PrintData printData)"""
4686 return _windows_
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
4688 def CalculateIdFromPaperSize(*args
, **kwargs
):
4689 """CalculateIdFromPaperSize(self)"""
4690 return _windows_
.PageSetupDialogData_CalculateIdFromPaperSize(*args
, **kwargs
)
4692 def CalculatePaperSizeFromId(*args
, **kwargs
):
4693 """CalculatePaperSizeFromId(self)"""
4694 return _windows_
.PageSetupDialogData_CalculatePaperSizeFromId(*args
, **kwargs
)
4696 def __nonzero__(self
): return self
.Ok()
4698 class PageSetupDialogDataPtr(PageSetupDialogData
):
4699 def __init__(self
, this
):
4701 if not hasattr(self
,"thisown"): self
.thisown
= 0
4702 self
.__class
__ = PageSetupDialogData
4703 _windows_
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
4705 class PageSetupDialog(_core
.Object
):
4706 """Proxy of C++ PageSetupDialog class"""
4708 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4709 def __init__(self
, *args
, **kwargs
):
4710 """__init__(self, Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
4711 newobj
= _windows_
.new_PageSetupDialog(*args
, **kwargs
)
4712 self
.this
= newobj
.this
4715 def GetPageSetupData(*args
, **kwargs
):
4716 """GetPageSetupData(self) -> PageSetupDialogData"""
4717 return _windows_
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
4719 def GetPageSetupDialogData(*args
, **kwargs
):
4720 """GetPageSetupDialogData(self) -> PageSetupDialogData"""
4721 return _windows_
.PageSetupDialog_GetPageSetupDialogData(*args
, **kwargs
)
4723 def ShowModal(*args
, **kwargs
):
4724 """ShowModal(self) -> int"""
4725 return _windows_
.PageSetupDialog_ShowModal(*args
, **kwargs
)
4728 class PageSetupDialogPtr(PageSetupDialog
):
4729 def __init__(self
, this
):
4731 if not hasattr(self
,"thisown"): self
.thisown
= 0
4732 self
.__class
__ = PageSetupDialog
4733 _windows_
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
4735 class PrintDialogData(_core
.Object
):
4736 """Proxy of C++ PrintDialogData class"""
4738 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4739 def __init__(self
, *args
):
4741 __init__(self) -> PrintDialogData
4742 __init__(self, PrintData printData) -> PrintDialogData
4743 __init__(self, PrintDialogData printData) -> PrintDialogData
4745 newobj
= _windows_
.new_PrintDialogData(*args
)
4746 self
.this
= newobj
.this
4749 def __del__(self
, destroy
=_windows_
.delete_PrintDialogData
):
4752 if self
.thisown
: destroy(self
)
4755 def GetFromPage(*args
, **kwargs
):
4756 """GetFromPage(self) -> int"""
4757 return _windows_
.PrintDialogData_GetFromPage(*args
, **kwargs
)
4759 def GetToPage(*args
, **kwargs
):
4760 """GetToPage(self) -> int"""
4761 return _windows_
.PrintDialogData_GetToPage(*args
, **kwargs
)
4763 def GetMinPage(*args
, **kwargs
):
4764 """GetMinPage(self) -> int"""
4765 return _windows_
.PrintDialogData_GetMinPage(*args
, **kwargs
)
4767 def GetMaxPage(*args
, **kwargs
):
4768 """GetMaxPage(self) -> int"""
4769 return _windows_
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
4771 def GetNoCopies(*args
, **kwargs
):
4772 """GetNoCopies(self) -> int"""
4773 return _windows_
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
4775 def GetAllPages(*args
, **kwargs
):
4776 """GetAllPages(self) -> bool"""
4777 return _windows_
.PrintDialogData_GetAllPages(*args
, **kwargs
)
4779 def GetSelection(*args
, **kwargs
):
4780 """GetSelection(self) -> bool"""
4781 return _windows_
.PrintDialogData_GetSelection(*args
, **kwargs
)
4783 def GetCollate(*args
, **kwargs
):
4784 """GetCollate(self) -> bool"""
4785 return _windows_
.PrintDialogData_GetCollate(*args
, **kwargs
)
4787 def GetPrintToFile(*args
, **kwargs
):
4788 """GetPrintToFile(self) -> bool"""
4789 return _windows_
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
4791 def SetFromPage(*args
, **kwargs
):
4792 """SetFromPage(self, int v)"""
4793 return _windows_
.PrintDialogData_SetFromPage(*args
, **kwargs
)
4795 def SetToPage(*args
, **kwargs
):
4796 """SetToPage(self, int v)"""
4797 return _windows_
.PrintDialogData_SetToPage(*args
, **kwargs
)
4799 def SetMinPage(*args
, **kwargs
):
4800 """SetMinPage(self, int v)"""
4801 return _windows_
.PrintDialogData_SetMinPage(*args
, **kwargs
)
4803 def SetMaxPage(*args
, **kwargs
):
4804 """SetMaxPage(self, int v)"""
4805 return _windows_
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
4807 def SetNoCopies(*args
, **kwargs
):
4808 """SetNoCopies(self, int v)"""
4809 return _windows_
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
4811 def SetAllPages(*args
, **kwargs
):
4812 """SetAllPages(self, bool flag)"""
4813 return _windows_
.PrintDialogData_SetAllPages(*args
, **kwargs
)
4815 def SetSelection(*args
, **kwargs
):
4816 """SetSelection(self, bool flag)"""
4817 return _windows_
.PrintDialogData_SetSelection(*args
, **kwargs
)
4819 def SetCollate(*args
, **kwargs
):
4820 """SetCollate(self, bool flag)"""
4821 return _windows_
.PrintDialogData_SetCollate(*args
, **kwargs
)
4823 def SetPrintToFile(*args
, **kwargs
):
4824 """SetPrintToFile(self, bool flag)"""
4825 return _windows_
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
4827 def EnablePrintToFile(*args
, **kwargs
):
4828 """EnablePrintToFile(self, bool flag)"""
4829 return _windows_
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
4831 def EnableSelection(*args
, **kwargs
):
4832 """EnableSelection(self, bool flag)"""
4833 return _windows_
.PrintDialogData_EnableSelection(*args
, **kwargs
)
4835 def EnablePageNumbers(*args
, **kwargs
):
4836 """EnablePageNumbers(self, bool flag)"""
4837 return _windows_
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
4839 def EnableHelp(*args
, **kwargs
):
4840 """EnableHelp(self, bool flag)"""
4841 return _windows_
.PrintDialogData_EnableHelp(*args
, **kwargs
)
4843 def GetEnablePrintToFile(*args
, **kwargs
):
4844 """GetEnablePrintToFile(self) -> bool"""
4845 return _windows_
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
4847 def GetEnableSelection(*args
, **kwargs
):
4848 """GetEnableSelection(self) -> bool"""
4849 return _windows_
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
4851 def GetEnablePageNumbers(*args
, **kwargs
):
4852 """GetEnablePageNumbers(self) -> bool"""
4853 return _windows_
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
4855 def GetEnableHelp(*args
, **kwargs
):
4856 """GetEnableHelp(self) -> bool"""
4857 return _windows_
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
4859 def Ok(*args
, **kwargs
):
4860 """Ok(self) -> bool"""
4861 return _windows_
.PrintDialogData_Ok(*args
, **kwargs
)
4863 def GetPrintData(*args
, **kwargs
):
4864 """GetPrintData(self) -> PrintData"""
4865 return _windows_
.PrintDialogData_GetPrintData(*args
, **kwargs
)
4867 def SetPrintData(*args
, **kwargs
):
4868 """SetPrintData(self, PrintData printData)"""
4869 return _windows_
.PrintDialogData_SetPrintData(*args
, **kwargs
)
4871 def __nonzero__(self
): return self
.Ok()
4873 class PrintDialogDataPtr(PrintDialogData
):
4874 def __init__(self
, this
):
4876 if not hasattr(self
,"thisown"): self
.thisown
= 0
4877 self
.__class
__ = PrintDialogData
4878 _windows_
.PrintDialogData_swigregister(PrintDialogDataPtr
)
4880 class PrintDialog(_core
.Object
):
4881 """Proxy of C++ PrintDialog class"""
4883 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4884 def __init__(self
, *args
, **kwargs
):
4885 """__init__(self, Window parent, PrintDialogData data=None) -> PrintDialog"""
4886 newobj
= _windows_
.new_PrintDialog(*args
, **kwargs
)
4887 self
.this
= newobj
.this
4890 def ShowModal(*args
, **kwargs
):
4891 """ShowModal(self) -> int"""
4892 return _windows_
.PrintDialog_ShowModal(*args
, **kwargs
)
4894 def GetPrintDialogData(*args
, **kwargs
):
4895 """GetPrintDialogData(self) -> PrintDialogData"""
4896 return _windows_
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
4898 def GetPrintData(*args
, **kwargs
):
4899 """GetPrintData(self) -> PrintData"""
4900 return _windows_
.PrintDialog_GetPrintData(*args
, **kwargs
)
4902 def GetPrintDC(*args
, **kwargs
):
4903 """GetPrintDC(self) -> DC"""
4904 return _windows_
.PrintDialog_GetPrintDC(*args
, **kwargs
)
4907 class PrintDialogPtr(PrintDialog
):
4908 def __init__(self
, this
):
4910 if not hasattr(self
,"thisown"): self
.thisown
= 0
4911 self
.__class
__ = PrintDialog
4912 _windows_
.PrintDialog_swigregister(PrintDialogPtr
)
4914 PRINTER_NO_ERROR
= _windows_
.PRINTER_NO_ERROR
4915 PRINTER_CANCELLED
= _windows_
.PRINTER_CANCELLED
4916 PRINTER_ERROR
= _windows_
.PRINTER_ERROR
4917 class Printer(_core
.Object
):
4918 """Proxy of C++ Printer class"""
4920 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4921 def __init__(self
, *args
, **kwargs
):
4922 """__init__(self, PrintDialogData data=None) -> Printer"""
4923 newobj
= _windows_
.new_Printer(*args
, **kwargs
)
4924 self
.this
= newobj
.this
4927 def __del__(self
, destroy
=_windows_
.delete_Printer
):
4930 if self
.thisown
: destroy(self
)
4933 def CreateAbortWindow(*args
, **kwargs
):
4934 """CreateAbortWindow(self, Window parent, Printout printout) -> Window"""
4935 return _windows_
.Printer_CreateAbortWindow(*args
, **kwargs
)
4937 def ReportError(*args
, **kwargs
):
4938 """ReportError(self, Window parent, Printout printout, String message)"""
4939 return _windows_
.Printer_ReportError(*args
, **kwargs
)
4941 def Setup(*args
, **kwargs
):
4942 """Setup(self, Window parent) -> bool"""
4943 return _windows_
.Printer_Setup(*args
, **kwargs
)
4945 def Print(*args
, **kwargs
):
4946 """Print(self, Window parent, Printout printout, bool prompt=True) -> bool"""
4947 return _windows_
.Printer_Print(*args
, **kwargs
)
4949 def PrintDialog(*args
, **kwargs
):
4950 """PrintDialog(self, Window parent) -> DC"""
4951 return _windows_
.Printer_PrintDialog(*args
, **kwargs
)
4953 def GetPrintDialogData(*args
, **kwargs
):
4954 """GetPrintDialogData(self) -> PrintDialogData"""
4955 return _windows_
.Printer_GetPrintDialogData(*args
, **kwargs
)
4957 def GetAbort(*args
, **kwargs
):
4958 """GetAbort(self) -> bool"""
4959 return _windows_
.Printer_GetAbort(*args
, **kwargs
)
4961 def GetLastError(*args
, **kwargs
):
4962 """GetLastError() -> int"""
4963 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4965 GetLastError
= staticmethod(GetLastError
)
4967 class PrinterPtr(Printer
):
4968 def __init__(self
, this
):
4970 if not hasattr(self
,"thisown"): self
.thisown
= 0
4971 self
.__class
__ = Printer
4972 _windows_
.Printer_swigregister(PrinterPtr
)
4974 def Printer_GetLastError(*args
, **kwargs
):
4975 """Printer_GetLastError() -> int"""
4976 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4978 class Printout(_core
.Object
):
4979 """Proxy of C++ Printout class"""
4981 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4982 def __init__(self
, *args
, **kwargs
):
4983 """__init__(self, String title=PrintoutTitleStr) -> Printout"""
4984 newobj
= _windows_
.new_Printout(*args
, **kwargs
)
4985 self
.this
= newobj
.this
4988 self
._setCallbackInfo
(self
, Printout
)
4990 def _setCallbackInfo(*args
, **kwargs
):
4991 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4992 return _windows_
.Printout__setCallbackInfo(*args
, **kwargs
)
4994 def GetTitle(*args
, **kwargs
):
4995 """GetTitle(self) -> String"""
4996 return _windows_
.Printout_GetTitle(*args
, **kwargs
)
4998 def GetDC(*args
, **kwargs
):
4999 """GetDC(self) -> DC"""
5000 return _windows_
.Printout_GetDC(*args
, **kwargs
)
5002 def SetDC(*args
, **kwargs
):
5003 """SetDC(self, DC dc)"""
5004 return _windows_
.Printout_SetDC(*args
, **kwargs
)
5006 def SetPageSizePixels(*args
, **kwargs
):
5007 """SetPageSizePixels(self, int w, int h)"""
5008 return _windows_
.Printout_SetPageSizePixels(*args
, **kwargs
)
5010 def GetPageSizePixels(*args
, **kwargs
):
5011 """GetPageSizePixels() -> (w, h)"""
5012 return _windows_
.Printout_GetPageSizePixels(*args
, **kwargs
)
5014 def SetPageSizeMM(*args
, **kwargs
):
5015 """SetPageSizeMM(self, int w, int h)"""
5016 return _windows_
.Printout_SetPageSizeMM(*args
, **kwargs
)
5018 def GetPageSizeMM(*args
, **kwargs
):
5019 """GetPageSizeMM() -> (w, h)"""
5020 return _windows_
.Printout_GetPageSizeMM(*args
, **kwargs
)
5022 def SetPPIScreen(*args
, **kwargs
):
5023 """SetPPIScreen(self, int x, int y)"""
5024 return _windows_
.Printout_SetPPIScreen(*args
, **kwargs
)
5026 def GetPPIScreen(*args
, **kwargs
):
5027 """GetPPIScreen() -> (x,y)"""
5028 return _windows_
.Printout_GetPPIScreen(*args
, **kwargs
)
5030 def SetPPIPrinter(*args
, **kwargs
):
5031 """SetPPIPrinter(self, int x, int y)"""
5032 return _windows_
.Printout_SetPPIPrinter(*args
, **kwargs
)
5034 def GetPPIPrinter(*args
, **kwargs
):
5035 """GetPPIPrinter() -> (x,y)"""
5036 return _windows_
.Printout_GetPPIPrinter(*args
, **kwargs
)
5038 def IsPreview(*args
, **kwargs
):
5039 """IsPreview(self) -> bool"""
5040 return _windows_
.Printout_IsPreview(*args
, **kwargs
)
5042 def SetIsPreview(*args
, **kwargs
):
5043 """SetIsPreview(self, bool p)"""
5044 return _windows_
.Printout_SetIsPreview(*args
, **kwargs
)
5046 def OnBeginDocument(*args
, **kwargs
):
5047 """OnBeginDocument(self, int startPage, int endPage) -> bool"""
5048 return _windows_
.Printout_OnBeginDocument(*args
, **kwargs
)
5050 def OnEndDocument(*args
, **kwargs
):
5051 """OnEndDocument(self)"""
5052 return _windows_
.Printout_OnEndDocument(*args
, **kwargs
)
5054 def OnBeginPrinting(*args
, **kwargs
):
5055 """OnBeginPrinting(self)"""
5056 return _windows_
.Printout_OnBeginPrinting(*args
, **kwargs
)
5058 def OnEndPrinting(*args
, **kwargs
):
5059 """OnEndPrinting(self)"""
5060 return _windows_
.Printout_OnEndPrinting(*args
, **kwargs
)
5062 def OnPreparePrinting(*args
, **kwargs
):
5063 """OnPreparePrinting(self)"""
5064 return _windows_
.Printout_OnPreparePrinting(*args
, **kwargs
)
5066 def HasPage(*args
, **kwargs
):
5067 """HasPage(self, int page) -> bool"""
5068 return _windows_
.Printout_HasPage(*args
, **kwargs
)
5070 def GetPageInfo(*args
, **kwargs
):
5071 """GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
5072 return _windows_
.Printout_GetPageInfo(*args
, **kwargs
)
5074 def base_OnBeginDocument(*args
, **kw
):
5075 return Printout
.OnBeginDocument(*args
, **kw
)
5076 base_OnBeginDocument
= wx
._deprecated
(base_OnBeginDocument
,
5077 "Please use Printout.OnBeginDocument instead.")
5079 def base_OnEndDocument(*args
, **kw
):
5080 return Printout
.OnEndDocument(*args
, **kw
)
5081 base_OnEndDocument
= wx
._deprecated
(base_OnEndDocument
,
5082 "Please use Printout.OnEndDocument instead.")
5084 def base_OnBeginPrinting(*args
, **kw
):
5085 return Printout
.OnBeginPrinting(*args
, **kw
)
5086 base_OnBeginPrinting
= wx
._deprecated
(base_OnBeginPrinting
,
5087 "Please use Printout.OnBeginPrinting instead.")
5089 def base_OnEndPrinting(*args
, **kw
):
5090 return Printout
.OnEndPrinting(*args
, **kw
)
5091 base_OnEndPrinting
= wx
._deprecated
(base_OnEndPrinting
,
5092 "Please use Printout.OnEndPrinting instead.")
5094 def base_OnPreparePrinting(*args
, **kw
):
5095 return Printout
.OnPreparePrinting(*args
, **kw
)
5096 base_OnPreparePrinting
= wx
._deprecated
(base_OnPreparePrinting
,
5097 "Please use Printout.OnPreparePrinting instead.")
5099 def base_GetPageInfo(*args
, **kw
):
5100 return Printout
.GetPageInfo(*args
, **kw
)
5101 base_GetPageInfo
= wx
._deprecated
(base_GetPageInfo
,
5102 "Please use Printout.GetPageInfo instead.")
5105 class PrintoutPtr(Printout
):
5106 def __init__(self
, this
):
5108 if not hasattr(self
,"thisown"): self
.thisown
= 0
5109 self
.__class
__ = Printout
5110 _windows_
.Printout_swigregister(PrintoutPtr
)
5112 class PreviewCanvas(ScrolledWindow
):
5113 """Proxy of C++ PreviewCanvas class"""
5115 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
5116 def __init__(self
, *args
, **kwargs
):
5118 __init__(self, PrintPreview preview, Window parent, Point pos=DefaultPosition,
5119 Size size=DefaultSize, long style=0,
5120 String name=PreviewCanvasNameStr) -> PreviewCanvas
5122 newobj
= _windows_
.new_PreviewCanvas(*args
, **kwargs
)
5123 self
.this
= newobj
.this
5126 self
._setOORInfo
(self
)
5129 class PreviewCanvasPtr(PreviewCanvas
):
5130 def __init__(self
, this
):
5132 if not hasattr(self
,"thisown"): self
.thisown
= 0
5133 self
.__class
__ = PreviewCanvas
5134 _windows_
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
5136 class PreviewFrame(Frame
):
5137 """Proxy of C++ PreviewFrame class"""
5139 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
5140 def __init__(self
, *args
, **kwargs
):
5142 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
5143 Size size=DefaultSize,
5144 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
5146 newobj
= _windows_
.new_PreviewFrame(*args
, **kwargs
)
5147 self
.this
= newobj
.this
5150 self
._setOORInfo
(self
)
5152 def Initialize(*args
, **kwargs
):
5153 """Initialize(self)"""
5154 return _windows_
.PreviewFrame_Initialize(*args
, **kwargs
)
5156 def CreateControlBar(*args
, **kwargs
):
5157 """CreateControlBar(self)"""
5158 return _windows_
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
5160 def CreateCanvas(*args
, **kwargs
):
5161 """CreateCanvas(self)"""
5162 return _windows_
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
5164 def GetControlBar(*args
, **kwargs
):
5165 """GetControlBar(self) -> PreviewControlBar"""
5166 return _windows_
.PreviewFrame_GetControlBar(*args
, **kwargs
)
5169 class PreviewFramePtr(PreviewFrame
):
5170 def __init__(self
, this
):
5172 if not hasattr(self
,"thisown"): self
.thisown
= 0
5173 self
.__class
__ = PreviewFrame
5174 _windows_
.PreviewFrame_swigregister(PreviewFramePtr
)
5176 PREVIEW_PRINT
= _windows_
.PREVIEW_PRINT
5177 PREVIEW_PREVIOUS
= _windows_
.PREVIEW_PREVIOUS
5178 PREVIEW_NEXT
= _windows_
.PREVIEW_NEXT
5179 PREVIEW_ZOOM
= _windows_
.PREVIEW_ZOOM
5180 PREVIEW_FIRST
= _windows_
.PREVIEW_FIRST
5181 PREVIEW_LAST
= _windows_
.PREVIEW_LAST
5182 PREVIEW_GOTO
= _windows_
.PREVIEW_GOTO
5183 PREVIEW_DEFAULT
= _windows_
.PREVIEW_DEFAULT
5184 ID_PREVIEW_CLOSE
= _windows_
.ID_PREVIEW_CLOSE
5185 ID_PREVIEW_NEXT
= _windows_
.ID_PREVIEW_NEXT
5186 ID_PREVIEW_PREVIOUS
= _windows_
.ID_PREVIEW_PREVIOUS
5187 ID_PREVIEW_PRINT
= _windows_
.ID_PREVIEW_PRINT
5188 ID_PREVIEW_ZOOM
= _windows_
.ID_PREVIEW_ZOOM
5189 ID_PREVIEW_FIRST
= _windows_
.ID_PREVIEW_FIRST
5190 ID_PREVIEW_LAST
= _windows_
.ID_PREVIEW_LAST
5191 ID_PREVIEW_GOTO
= _windows_
.ID_PREVIEW_GOTO
5192 class PreviewControlBar(Panel
):
5193 """Proxy of C++ PreviewControlBar class"""
5195 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
5196 def __init__(self
, *args
, **kwargs
):
5198 __init__(self, PrintPreview preview, long buttons, Window parent,
5199 Point pos=DefaultPosition, Size size=DefaultSize,
5200 long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
5202 newobj
= _windows_
.new_PreviewControlBar(*args
, **kwargs
)
5203 self
.this
= newobj
.this
5206 self
._setOORInfo
(self
)
5208 def GetZoomControl(*args
, **kwargs
):
5209 """GetZoomControl(self) -> int"""
5210 return _windows_
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
5212 def SetZoomControl(*args
, **kwargs
):
5213 """SetZoomControl(self, int zoom)"""
5214 return _windows_
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
5216 def GetPrintPreview(*args
, **kwargs
):
5217 """GetPrintPreview(self) -> PrintPreview"""
5218 return _windows_
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
5220 def OnNext(*args
, **kwargs
):
5222 return _windows_
.PreviewControlBar_OnNext(*args
, **kwargs
)
5224 def OnPrevious(*args
, **kwargs
):
5225 """OnPrevious(self)"""
5226 return _windows_
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
5228 def OnFirst(*args
, **kwargs
):
5230 return _windows_
.PreviewControlBar_OnFirst(*args
, **kwargs
)
5232 def OnLast(*args
, **kwargs
):
5234 return _windows_
.PreviewControlBar_OnLast(*args
, **kwargs
)
5236 def OnGoto(*args
, **kwargs
):
5238 return _windows_
.PreviewControlBar_OnGoto(*args
, **kwargs
)
5241 class PreviewControlBarPtr(PreviewControlBar
):
5242 def __init__(self
, this
):
5244 if not hasattr(self
,"thisown"): self
.thisown
= 0
5245 self
.__class
__ = PreviewControlBar
5246 _windows_
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
5248 class PrintPreview(_core
.Object
):
5249 """Proxy of C++ PrintPreview class"""
5251 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
5252 def __init__(self
, *args
):
5254 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview
5255 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview
5257 newobj
= _windows_
.new_PrintPreview(*args
)
5258 self
.this
= newobj
.this
5261 def SetCurrentPage(*args
, **kwargs
):
5262 """SetCurrentPage(self, int pageNum) -> bool"""
5263 return _windows_
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
5265 def GetCurrentPage(*args
, **kwargs
):
5266 """GetCurrentPage(self) -> int"""
5267 return _windows_
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
5269 def SetPrintout(*args
, **kwargs
):
5270 """SetPrintout(self, Printout printout)"""
5271 return _windows_
.PrintPreview_SetPrintout(*args
, **kwargs
)
5273 def GetPrintout(*args
, **kwargs
):
5274 """GetPrintout(self) -> Printout"""
5275 return _windows_
.PrintPreview_GetPrintout(*args
, **kwargs
)
5277 def GetPrintoutForPrinting(*args
, **kwargs
):
5278 """GetPrintoutForPrinting(self) -> Printout"""
5279 return _windows_
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
5281 def SetFrame(*args
, **kwargs
):
5282 """SetFrame(self, Frame frame)"""
5283 return _windows_
.PrintPreview_SetFrame(*args
, **kwargs
)
5285 def SetCanvas(*args
, **kwargs
):
5286 """SetCanvas(self, PreviewCanvas canvas)"""
5287 return _windows_
.PrintPreview_SetCanvas(*args
, **kwargs
)
5289 def GetFrame(*args
, **kwargs
):
5290 """GetFrame(self) -> Frame"""
5291 return _windows_
.PrintPreview_GetFrame(*args
, **kwargs
)
5293 def GetCanvas(*args
, **kwargs
):
5294 """GetCanvas(self) -> PreviewCanvas"""
5295 return _windows_
.PrintPreview_GetCanvas(*args
, **kwargs
)
5297 def PaintPage(*args
, **kwargs
):
5298 """PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
5299 return _windows_
.PrintPreview_PaintPage(*args
, **kwargs
)
5301 def DrawBlankPage(*args
, **kwargs
):
5302 """DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
5303 return _windows_
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
5305 def RenderPage(*args
, **kwargs
):
5306 """RenderPage(self, int pageNum) -> bool"""
5307 return _windows_
.PrintPreview_RenderPage(*args
, **kwargs
)
5309 def AdjustScrollbars(*args
, **kwargs
):
5310 """AdjustScrollbars(self, PreviewCanvas canvas)"""
5311 return _windows_
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
5313 def GetPrintDialogData(*args
, **kwargs
):
5314 """GetPrintDialogData(self) -> PrintDialogData"""
5315 return _windows_
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
5317 def SetZoom(*args
, **kwargs
):
5318 """SetZoom(self, int percent)"""
5319 return _windows_
.PrintPreview_SetZoom(*args
, **kwargs
)
5321 def GetZoom(*args
, **kwargs
):
5322 """GetZoom(self) -> int"""
5323 return _windows_
.PrintPreview_GetZoom(*args
, **kwargs
)
5325 def GetMaxPage(*args
, **kwargs
):
5326 """GetMaxPage(self) -> int"""
5327 return _windows_
.PrintPreview_GetMaxPage(*args
, **kwargs
)
5329 def GetMinPage(*args
, **kwargs
):
5330 """GetMinPage(self) -> int"""
5331 return _windows_
.PrintPreview_GetMinPage(*args
, **kwargs
)
5333 def Ok(*args
, **kwargs
):
5334 """Ok(self) -> bool"""
5335 return _windows_
.PrintPreview_Ok(*args
, **kwargs
)
5337 def SetOk(*args
, **kwargs
):
5338 """SetOk(self, bool ok)"""
5339 return _windows_
.PrintPreview_SetOk(*args
, **kwargs
)
5341 def Print(*args
, **kwargs
):
5342 """Print(self, bool interactive) -> bool"""
5343 return _windows_
.PrintPreview_Print(*args
, **kwargs
)
5345 def DetermineScaling(*args
, **kwargs
):
5346 """DetermineScaling(self)"""
5347 return _windows_
.PrintPreview_DetermineScaling(*args
, **kwargs
)
5349 def __nonzero__(self
): return self
.Ok()
5351 class PrintPreviewPtr(PrintPreview
):
5352 def __init__(self
, this
):
5354 if not hasattr(self
,"thisown"): self
.thisown
= 0
5355 self
.__class
__ = PrintPreview
5356 _windows_
.PrintPreview_swigregister(PrintPreviewPtr
)
5358 class PyPrintPreview(PrintPreview
):
5359 """Proxy of C++ PyPrintPreview class"""
5361 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
5362 def __init__(self
, *args
):
5364 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview
5365 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview
5367 newobj
= _windows_
.new_PyPrintPreview(*args
)
5368 self
.this
= newobj
.this
5371 self
._setCallbackInfo
(self
, PyPrintPreview
)
5373 def _setCallbackInfo(*args
, **kwargs
):
5374 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
5375 return _windows_
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
5377 def SetCurrentPage(*args
, **kwargs
):
5378 """SetCurrentPage(self, int pageNum) -> bool"""
5379 return _windows_
.PyPrintPreview_SetCurrentPage(*args
, **kwargs
)
5381 def PaintPage(*args
, **kwargs
):
5382 """PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
5383 return _windows_
.PyPrintPreview_PaintPage(*args
, **kwargs
)
5385 def DrawBlankPage(*args
, **kwargs
):
5386 """DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
5387 return _windows_
.PyPrintPreview_DrawBlankPage(*args
, **kwargs
)
5389 def RenderPage(*args
, **kwargs
):
5390 """RenderPage(self, int pageNum) -> bool"""
5391 return _windows_
.PyPrintPreview_RenderPage(*args
, **kwargs
)
5393 def SetZoom(*args
, **kwargs
):
5394 """SetZoom(self, int percent)"""
5395 return _windows_
.PyPrintPreview_SetZoom(*args
, **kwargs
)
5397 def Print(*args
, **kwargs
):
5398 """Print(self, bool interactive) -> bool"""
5399 return _windows_
.PyPrintPreview_Print(*args
, **kwargs
)
5401 def DetermineScaling(*args
, **kwargs
):
5402 """DetermineScaling(self)"""
5403 return _windows_
.PyPrintPreview_DetermineScaling(*args
, **kwargs
)
5405 def base_SetCurrentPage(*args
, **kw
):
5406 return PyPrintPreview
.SetCurrentPage(*args
, **kw
)
5407 base_SetCurrentPage
= wx
._deprecated
(base_SetCurrentPage
,
5408 "Please use PyPrintPreview.SetCurrentPage instead.")
5410 def base_PaintPage(*args
, **kw
):
5411 return PyPrintPreview
.PaintPage(*args
, **kw
)
5412 base_PaintPage
= wx
._deprecated
(base_PaintPage
,
5413 "Please use PyPrintPreview.PaintPage instead.")
5415 def base_DrawBlankPage(*args
, **kw
):
5416 return PyPrintPreview
.DrawBlankPage(*args
, **kw
)
5417 base_DrawBlankPage
= wx
._deprecated
(base_DrawBlankPage
,
5418 "Please use PyPrintPreview.DrawBlankPage instead.")
5420 def base_RenderPage(*args
, **kw
):
5421 return PyPrintPreview
.RenderPage(*args
, **kw
)
5422 base_RenderPage
= wx
._deprecated
(base_RenderPage
,
5423 "Please use PyPrintPreview.RenderPage instead.")
5425 def base_SetZoom(*args
, **kw
):
5426 return PyPrintPreview
.SetZoom(*args
, **kw
)
5427 base_SetZoom
= wx
._deprecated
(base_SetZoom
,
5428 "Please use PyPrintPreview.SetZoom instead.")
5430 def base_Print(*args
, **kw
):
5431 return PyPrintPreview
.Print(*args
, **kw
)
5432 base_Print
= wx
._deprecated
(base_Print
,
5433 "Please use PyPrintPreview.Print instead.")
5435 def base_DetermineScaling(*args
, **kw
):
5436 return PyPrintPreview
.DetermineScaling(*args
, **kw
)
5437 base_DetermineScaling
= wx
._deprecated
(base_DetermineScaling
,
5438 "Please use PyPrintPreview.DetermineScaling instead.")
5441 class PyPrintPreviewPtr(PyPrintPreview
):
5442 def __init__(self
, this
):
5444 if not hasattr(self
,"thisown"): self
.thisown
= 0
5445 self
.__class
__ = PyPrintPreview
5446 _windows_
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
5448 class PyPreviewFrame(PreviewFrame
):
5449 """Proxy of C++ PyPreviewFrame class"""
5451 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
5452 def __init__(self
, *args
, **kwargs
):
5454 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
5455 Size size=DefaultSize,
5456 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
5458 newobj
= _windows_
.new_PyPreviewFrame(*args
, **kwargs
)
5459 self
.this
= newobj
.this
5462 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
5464 def _setCallbackInfo(*args
, **kwargs
):
5465 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
5466 return _windows_
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
5468 def SetPreviewCanvas(*args
, **kwargs
):
5469 """SetPreviewCanvas(self, PreviewCanvas canvas)"""
5470 return _windows_
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
5472 def SetControlBar(*args
, **kwargs
):
5473 """SetControlBar(self, PreviewControlBar bar)"""
5474 return _windows_
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
5476 def Initialize(*args
, **kwargs
):
5477 """Initialize(self)"""
5478 return _windows_
.PyPreviewFrame_Initialize(*args
, **kwargs
)
5480 def CreateCanvas(*args
, **kwargs
):
5481 """CreateCanvas(self)"""
5482 return _windows_
.PyPreviewFrame_CreateCanvas(*args
, **kwargs
)
5484 def CreateControlBar(*args
, **kwargs
):
5485 """CreateControlBar(self)"""
5486 return _windows_
.PyPreviewFrame_CreateControlBar(*args
, **kwargs
)
5488 def base_Initialize(*args
, **kw
):
5489 return PyPreviewFrame
.Initialize(*args
, **kw
)
5490 base_Initialize
= wx
._deprecated
(base_Initialize
,
5491 "Please use PyPreviewFrame.Initialize instead.")
5493 def base_CreateCanvas(*args
, **kw
):
5494 return PyPreviewFrame
.CreateCanvas(*args
, **kw
)
5495 base_CreateCanvas
= wx
._deprecated
(base_CreateCanvas
,
5496 "Please use PyPreviewFrame.CreateCanvas instead.")
5498 def base_CreateControlBar(*args
, **kw
):
5499 return PyPreviewFrame
.CreateControlBar(*args
, **kw
)
5500 base_CreateControlBar
= wx
._deprecated
(base_CreateControlBar
,
5501 "Please use PyPreviewFrame.CreateControlBar instead.")
5504 class PyPreviewFramePtr(PyPreviewFrame
):
5505 def __init__(self
, this
):
5507 if not hasattr(self
,"thisown"): self
.thisown
= 0
5508 self
.__class
__ = PyPreviewFrame
5509 _windows_
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
5511 class PyPreviewControlBar(PreviewControlBar
):
5512 """Proxy of C++ PyPreviewControlBar class"""
5514 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
5515 def __init__(self
, *args
, **kwargs
):
5517 __init__(self, PrintPreview preview, long buttons, Window parent,
5518 Point pos=DefaultPosition, Size size=DefaultSize,
5519 long style=0, String name=PanelNameStr) -> PyPreviewControlBar
5521 newobj
= _windows_
.new_PyPreviewControlBar(*args
, **kwargs
)
5522 self
.this
= newobj
.this
5525 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
5527 def _setCallbackInfo(*args
, **kwargs
):
5528 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
5529 return _windows_
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
5531 def SetPrintPreview(*args
, **kwargs
):
5532 """SetPrintPreview(self, PrintPreview preview)"""
5533 return _windows_
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
5535 def CreateButtons(*args
, **kwargs
):
5536 """CreateButtons(self)"""
5537 return _windows_
.PyPreviewControlBar_CreateButtons(*args
, **kwargs
)
5539 def SetZoomControl(*args
, **kwargs
):
5540 """SetZoomControl(self, int zoom)"""
5541 return _windows_
.PyPreviewControlBar_SetZoomControl(*args
, **kwargs
)
5543 def base_CreateButtons(*args
, **kw
):
5544 return PreviewControlBar
.CreateButtons(*args
, **kw
)
5545 base_CreateButtons
= wx
._deprecated
(base_CreateButtons
,
5546 "Please use PreviewControlBar.CreateButtons instead.")
5548 def base_SetZoomControl(*args
, **kw
):
5549 return PreviewControlBar
.SetZoomControl(*args
, **kw
)
5550 base_SetZoomControl
= wx
._deprecated
(base_SetZoomControl
,
5551 "Please use PreviewControlBar.SetZoomControl instead.")
5554 class PyPreviewControlBarPtr(PyPreviewControlBar
):
5555 def __init__(self
, this
):
5557 if not hasattr(self
,"thisown"): self
.thisown
= 0
5558 self
.__class
__ = PyPreviewControlBar
5559 _windows_
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)