1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
6 def _swig_setattr_nondynamic(self
,class_type
,name
,value
,static
=1):
8 if isinstance(value
, class_type
):
9 self
.__dict
__[name
] = value
.this
10 if hasattr(value
,"thisown"): self
.__dict
__["thisown"] = value
.thisown
13 method
= class_type
.__swig
_setmethods
__.get(name
,None)
14 if method
: return method(self
,value
)
15 if (not static
) or hasattr(self
,name
) or (name
== "thisown"):
16 self
.__dict
__[name
] = value
18 raise AttributeError("You cannot add attributes to %s" % self
)
20 def _swig_setattr(self
,class_type
,name
,value
):
21 return _swig_setattr_nondynamic(self
,class_type
,name
,value
,0)
23 def _swig_getattr(self
,class_type
,name
):
24 method
= class_type
.__swig
_getmethods
__.get(name
,None)
25 if method
: return method(self
)
26 raise AttributeError,name
30 _object
= types
.ObjectType
32 except AttributeError:
38 def _swig_setattr_nondynamic_method(set):
39 def set_attr(self
,name
,value
):
40 if hasattr(self
,name
) or (name
in ("this", "thisown")):
43 raise AttributeError("You cannot add attributes to %s" % self
)
49 #---------------------------------------------------------------------------
51 class Panel(_core
.Window
):
52 """Proxy of C++ Panel class"""
54 return "<%s.%s; proxy of C++ wxPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
55 def __init__(self
, *args
, **kwargs
):
57 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
58 Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
59 String name=PanelNameStr) -> Panel
61 newobj
= _windows_
.new_Panel(*args
, **kwargs
)
62 self
.this
= newobj
.this
65 self
._setOORInfo
(self
)
67 def Create(*args
, **kwargs
):
69 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
70 Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
71 String name=PanelNameStr) -> bool
73 Create the GUI part of the Window for 2-phase creation mode.
75 return _windows_
.Panel_Create(*args
, **kwargs
)
77 def InitDialog(*args
, **kwargs
):
81 Sends an EVT_INIT_DIALOG event, whose handler usually transfers data
82 to the dialog via validators.
84 return _windows_
.Panel_InitDialog(*args
, **kwargs
)
86 def SetFocus(*args
, **kwargs
):
90 Overrides `wx.Window.SetFocus`. This method uses the (undocumented)
91 mix-in class wxControlContainer which manages the focus and TAB logic
92 for controls which usually have child controls. In practice, if you
93 call this method and the panel has at least one child window, then the
94 focus will be given to the child window.
96 return _windows_
.Panel_SetFocus(*args
, **kwargs
)
98 def SetFocusIgnoringChildren(*args
, **kwargs
):
100 SetFocusIgnoringChildren(self)
102 In contrast to `SetFocus` (see above) this will set the focus to the
103 panel even of there are child windows in the panel. This is only
106 return _windows_
.Panel_SetFocusIgnoringChildren(*args
, **kwargs
)
108 def GetClassDefaultAttributes(*args
, **kwargs
):
110 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
112 Get the default attributes for this class. This is useful if you want
113 to use the same font or colour in your own control as in a standard
114 control -- which is a much better idea than hard coding specific
115 colours or fonts which might look completely out of place on the
116 user's system, especially if it uses themes.
118 The variant parameter is only relevant under Mac currently and is
119 ignore under other platforms. Under Mac, it will change the size of
120 the returned font. See `wx.Window.SetWindowVariant` for more about
123 return _windows_
.Panel_GetClassDefaultAttributes(*args
, **kwargs
)
125 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
127 class PanelPtr(Panel
):
128 def __init__(self
, this
):
130 if not hasattr(self
,"thisown"): self
.thisown
= 0
131 self
.__class
__ = Panel
132 _windows_
.Panel_swigregister(PanelPtr
)
134 def PrePanel(*args
, **kwargs
):
135 """PrePanel() -> Panel"""
136 val
= _windows_
.new_PrePanel(*args
, **kwargs
)
140 def Panel_GetClassDefaultAttributes(*args
, **kwargs
):
142 Panel_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
144 Get the default attributes for this class. This is useful if you want
145 to use the same font or colour in your own control as in a standard
146 control -- which is a much better idea than hard coding specific
147 colours or fonts which might look completely out of place on the
148 user's system, especially if it uses themes.
150 The variant parameter is only relevant under Mac currently and is
151 ignore under other platforms. Under Mac, it will change the size of
152 the returned font. See `wx.Window.SetWindowVariant` for more about
155 return _windows_
.Panel_GetClassDefaultAttributes(*args
, **kwargs
)
157 #---------------------------------------------------------------------------
159 class ScrolledWindow(Panel
):
160 """Proxy of C++ ScrolledWindow class"""
162 return "<%s.%s; proxy of C++ wxScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
163 def __init__(self
, *args
, **kwargs
):
165 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
166 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
167 String name=PanelNameStr) -> ScrolledWindow
169 newobj
= _windows_
.new_ScrolledWindow(*args
, **kwargs
)
170 self
.this
= newobj
.this
173 self
._setOORInfo
(self
)
175 def Create(*args
, **kwargs
):
177 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
178 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
179 String name=PanelNameStr) -> bool
181 Create the GUI part of the Window for 2-phase creation mode.
183 return _windows_
.ScrolledWindow_Create(*args
, **kwargs
)
185 def SetScrollbars(*args
, **kwargs
):
187 SetScrollbars(self, int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX,
188 int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)
190 return _windows_
.ScrolledWindow_SetScrollbars(*args
, **kwargs
)
192 def Scroll(*args
, **kwargs
):
193 """Scroll(self, int x, int y)"""
194 return _windows_
.ScrolledWindow_Scroll(*args
, **kwargs
)
196 def GetScrollPageSize(*args
, **kwargs
):
197 """GetScrollPageSize(self, int orient) -> int"""
198 return _windows_
.ScrolledWindow_GetScrollPageSize(*args
, **kwargs
)
200 def SetScrollPageSize(*args
, **kwargs
):
201 """SetScrollPageSize(self, int orient, int pageSize)"""
202 return _windows_
.ScrolledWindow_SetScrollPageSize(*args
, **kwargs
)
204 def SetScrollRate(*args
, **kwargs
):
205 """SetScrollRate(self, int xstep, int ystep)"""
206 return _windows_
.ScrolledWindow_SetScrollRate(*args
, **kwargs
)
208 def GetScrollPixelsPerUnit(*args
, **kwargs
):
210 GetScrollPixelsPerUnit() -> (xUnit, yUnit)
212 Get the size of one logical unit in physical units.
214 return _windows_
.ScrolledWindow_GetScrollPixelsPerUnit(*args
, **kwargs
)
216 def EnableScrolling(*args
, **kwargs
):
217 """EnableScrolling(self, bool x_scrolling, bool y_scrolling)"""
218 return _windows_
.ScrolledWindow_EnableScrolling(*args
, **kwargs
)
220 def GetViewStart(*args
, **kwargs
):
222 GetViewStart() -> (x,y)
226 return _windows_
.ScrolledWindow_GetViewStart(*args
, **kwargs
)
228 def SetScale(*args
, **kwargs
):
229 """SetScale(self, double xs, double ys)"""
230 return _windows_
.ScrolledWindow_SetScale(*args
, **kwargs
)
232 def GetScaleX(*args
, **kwargs
):
233 """GetScaleX(self) -> double"""
234 return _windows_
.ScrolledWindow_GetScaleX(*args
, **kwargs
)
236 def GetScaleY(*args
, **kwargs
):
237 """GetScaleY(self) -> double"""
238 return _windows_
.ScrolledWindow_GetScaleY(*args
, **kwargs
)
240 def CalcScrolledPosition(*args
):
242 CalcScrolledPosition(self, Point pt) -> Point
243 CalcScrolledPosition(int x, int y) -> (sx, sy)
245 Translate between scrolled and unscrolled coordinates.
247 return _windows_
.ScrolledWindow_CalcScrolledPosition(*args
)
249 def CalcUnscrolledPosition(*args
):
251 CalcUnscrolledPosition(self, Point pt) -> Point
252 CalcUnscrolledPosition(int x, int y) -> (ux, uy)
254 Translate between scrolled and unscrolled coordinates.
256 return _windows_
.ScrolledWindow_CalcUnscrolledPosition(*args
)
258 def AdjustScrollbars(*args
, **kwargs
):
259 """AdjustScrollbars(self)"""
260 return _windows_
.ScrolledWindow_AdjustScrollbars(*args
, **kwargs
)
262 def CalcScrollInc(*args
, **kwargs
):
263 """CalcScrollInc(self, ScrollWinEvent event) -> int"""
264 return _windows_
.ScrolledWindow_CalcScrollInc(*args
, **kwargs
)
266 def SetTargetWindow(*args
, **kwargs
):
267 """SetTargetWindow(self, Window target)"""
268 return _windows_
.ScrolledWindow_SetTargetWindow(*args
, **kwargs
)
270 def GetTargetWindow(*args
, **kwargs
):
271 """GetTargetWindow(self) -> Window"""
272 return _windows_
.ScrolledWindow_GetTargetWindow(*args
, **kwargs
)
274 def DoPrepareDC(*args
, **kwargs
):
276 DoPrepareDC(self, DC dc)
278 Normally what is called by `PrepareDC`.
280 return _windows_
.ScrolledWindow_DoPrepareDC(*args
, **kwargs
)
282 def GetClassDefaultAttributes(*args
, **kwargs
):
284 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
286 Get the default attributes for this class. This is useful if you want
287 to use the same font or colour in your own control as in a standard
288 control -- which is a much better idea than hard coding specific
289 colours or fonts which might look completely out of place on the
290 user's system, especially if it uses themes.
292 The variant parameter is only relevant under Mac currently and is
293 ignore under other platforms. Under Mac, it will change the size of
294 the returned font. See `wx.Window.SetWindowVariant` for more about
297 return _windows_
.ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
)
299 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
301 class ScrolledWindowPtr(ScrolledWindow
):
302 def __init__(self
, this
):
304 if not hasattr(self
,"thisown"): self
.thisown
= 0
305 self
.__class
__ = ScrolledWindow
306 _windows_
.ScrolledWindow_swigregister(ScrolledWindowPtr
)
308 def PreScrolledWindow(*args
, **kwargs
):
309 """PreScrolledWindow() -> ScrolledWindow"""
310 val
= _windows_
.new_PreScrolledWindow(*args
, **kwargs
)
314 def ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
):
316 ScrolledWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
318 Get the default attributes for this class. This is useful if you want
319 to use the same font or colour in your own control as in a standard
320 control -- which is a much better idea than hard coding specific
321 colours or fonts which might look completely out of place on the
322 user's system, especially if it uses themes.
324 The variant parameter is only relevant under Mac currently and is
325 ignore under other platforms. Under Mac, it will change the size of
326 the returned font. See `wx.Window.SetWindowVariant` for more about
329 return _windows_
.ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
)
331 #---------------------------------------------------------------------------
333 STAY_ON_TOP
= _windows_
.STAY_ON_TOP
334 ICONIZE
= _windows_
.ICONIZE
335 MINIMIZE
= _windows_
.MINIMIZE
336 MAXIMIZE
= _windows_
.MAXIMIZE
337 CLOSE_BOX
= _windows_
.CLOSE_BOX
338 THICK_FRAME
= _windows_
.THICK_FRAME
339 SYSTEM_MENU
= _windows_
.SYSTEM_MENU
340 MINIMIZE_BOX
= _windows_
.MINIMIZE_BOX
341 MAXIMIZE_BOX
= _windows_
.MAXIMIZE_BOX
342 TINY_CAPTION_HORIZ
= _windows_
.TINY_CAPTION_HORIZ
343 TINY_CAPTION_VERT
= _windows_
.TINY_CAPTION_VERT
344 RESIZE_BOX
= _windows_
.RESIZE_BOX
345 RESIZE_BORDER
= _windows_
.RESIZE_BORDER
346 DIALOG_NO_PARENT
= _windows_
.DIALOG_NO_PARENT
347 DEFAULT_FRAME_STYLE
= _windows_
.DEFAULT_FRAME_STYLE
348 DEFAULT_DIALOG_STYLE
= _windows_
.DEFAULT_DIALOG_STYLE
349 FRAME_TOOL_WINDOW
= _windows_
.FRAME_TOOL_WINDOW
350 FRAME_FLOAT_ON_PARENT
= _windows_
.FRAME_FLOAT_ON_PARENT
351 FRAME_NO_WINDOW_MENU
= _windows_
.FRAME_NO_WINDOW_MENU
352 FRAME_NO_TASKBAR
= _windows_
.FRAME_NO_TASKBAR
353 FRAME_SHAPED
= _windows_
.FRAME_SHAPED
354 FRAME_DRAWER
= _windows_
.FRAME_DRAWER
355 FRAME_EX_METAL
= _windows_
.FRAME_EX_METAL
356 DIALOG_EX_METAL
= _windows_
.DIALOG_EX_METAL
357 DIALOG_MODAL
= _windows_
.DIALOG_MODAL
358 DIALOG_MODELESS
= _windows_
.DIALOG_MODELESS
359 USER_COLOURS
= _windows_
.USER_COLOURS
360 NO_3D
= _windows_
.NO_3D
361 FULLSCREEN_NOMENUBAR
= _windows_
.FULLSCREEN_NOMENUBAR
362 FULLSCREEN_NOTOOLBAR
= _windows_
.FULLSCREEN_NOTOOLBAR
363 FULLSCREEN_NOSTATUSBAR
= _windows_
.FULLSCREEN_NOSTATUSBAR
364 FULLSCREEN_NOBORDER
= _windows_
.FULLSCREEN_NOBORDER
365 FULLSCREEN_NOCAPTION
= _windows_
.FULLSCREEN_NOCAPTION
366 FULLSCREEN_ALL
= _windows_
.FULLSCREEN_ALL
367 TOPLEVEL_EX_DIALOG
= _windows_
.TOPLEVEL_EX_DIALOG
368 USER_ATTENTION_INFO
= _windows_
.USER_ATTENTION_INFO
369 USER_ATTENTION_ERROR
= _windows_
.USER_ATTENTION_ERROR
370 class TopLevelWindow(_core
.Window
):
371 """Proxy of C++ TopLevelWindow class"""
372 def __init__(self
): raise RuntimeError, "No constructor defined"
374 return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
375 def Maximize(*args
, **kwargs
):
376 """Maximize(self, bool maximize=True)"""
377 return _windows_
.TopLevelWindow_Maximize(*args
, **kwargs
)
379 def Restore(*args
, **kwargs
):
381 return _windows_
.TopLevelWindow_Restore(*args
, **kwargs
)
383 def Iconize(*args
, **kwargs
):
384 """Iconize(self, bool iconize=True)"""
385 return _windows_
.TopLevelWindow_Iconize(*args
, **kwargs
)
387 def IsMaximized(*args
, **kwargs
):
388 """IsMaximized(self) -> bool"""
389 return _windows_
.TopLevelWindow_IsMaximized(*args
, **kwargs
)
391 def IsIconized(*args
, **kwargs
):
392 """IsIconized(self) -> bool"""
393 return _windows_
.TopLevelWindow_IsIconized(*args
, **kwargs
)
395 def GetIcon(*args
, **kwargs
):
396 """GetIcon(self) -> Icon"""
397 return _windows_
.TopLevelWindow_GetIcon(*args
, **kwargs
)
399 def SetIcon(*args
, **kwargs
):
400 """SetIcon(self, Icon icon)"""
401 return _windows_
.TopLevelWindow_SetIcon(*args
, **kwargs
)
403 def SetIcons(*args
, **kwargs
):
404 """SetIcons(self, wxIconBundle icons)"""
405 return _windows_
.TopLevelWindow_SetIcons(*args
, **kwargs
)
407 def ShowFullScreen(*args
, **kwargs
):
408 """ShowFullScreen(self, bool show, long style=FULLSCREEN_ALL) -> bool"""
409 return _windows_
.TopLevelWindow_ShowFullScreen(*args
, **kwargs
)
411 def IsFullScreen(*args
, **kwargs
):
412 """IsFullScreen(self) -> bool"""
413 return _windows_
.TopLevelWindow_IsFullScreen(*args
, **kwargs
)
415 def SetTitle(*args
, **kwargs
):
417 SetTitle(self, String title)
419 Sets the window's title. Applicable only to frames and dialogs.
421 return _windows_
.TopLevelWindow_SetTitle(*args
, **kwargs
)
423 def GetTitle(*args
, **kwargs
):
425 GetTitle(self) -> String
427 Gets the window's title. Applicable only to frames and dialogs.
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 def __init__(self
, *args
, **kwargs
):
633 __init__(self, Window parent, int id=-1, String title=EmptyString,
634 Point pos=DefaultPosition, Size size=DefaultSize,
635 long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> Dialog
637 newobj
= _windows_
.new_Dialog(*args
, **kwargs
)
638 self
.this
= newobj
.this
641 self
._setOORInfo
(self
)
643 def Create(*args
, **kwargs
):
645 Create(self, Window parent, int id=-1, String title=EmptyString,
646 Point pos=DefaultPosition, Size size=DefaultSize,
647 long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> bool
649 return _windows_
.Dialog_Create(*args
, **kwargs
)
651 def SetReturnCode(*args
, **kwargs
):
652 """SetReturnCode(self, int returnCode)"""
653 return _windows_
.Dialog_SetReturnCode(*args
, **kwargs
)
655 def GetReturnCode(*args
, **kwargs
):
656 """GetReturnCode(self) -> int"""
657 return _windows_
.Dialog_GetReturnCode(*args
, **kwargs
)
659 def CreateTextSizer(*args
, **kwargs
):
660 """CreateTextSizer(self, String message) -> Sizer"""
661 return _windows_
.Dialog_CreateTextSizer(*args
, **kwargs
)
663 def CreateButtonSizer(*args
, **kwargs
):
664 """CreateButtonSizer(self, long flags) -> Sizer"""
665 return _windows_
.Dialog_CreateButtonSizer(*args
, **kwargs
)
667 def CreateStdDialogButtonSizer(*args
, **kwargs
):
668 """CreateStdDialogButtonSizer(self, long flags) -> StdDialogButtonSizer"""
669 return _windows_
.Dialog_CreateStdDialogButtonSizer(*args
, **kwargs
)
671 def IsModal(*args
, **kwargs
):
672 """IsModal(self) -> bool"""
673 return _windows_
.Dialog_IsModal(*args
, **kwargs
)
675 def ShowModal(*args
, **kwargs
):
676 """ShowModal(self) -> int"""
677 return _windows_
.Dialog_ShowModal(*args
, **kwargs
)
679 def EndModal(*args
, **kwargs
):
680 """EndModal(self, int retCode)"""
681 return _windows_
.Dialog_EndModal(*args
, **kwargs
)
683 def GetClassDefaultAttributes(*args
, **kwargs
):
685 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
687 Get the default attributes for this class. This is useful if you want
688 to use the same font or colour in your own control as in a standard
689 control -- which is a much better idea than hard coding specific
690 colours or fonts which might look completely out of place on the
691 user's system, especially if it uses themes.
693 The variant parameter is only relevant under Mac currently and is
694 ignore under other platforms. Under Mac, it will change the size of
695 the returned font. See `wx.Window.SetWindowVariant` for more about
698 return _windows_
.Dialog_GetClassDefaultAttributes(*args
, **kwargs
)
700 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
701 def SendSizeEvent(self
):
702 self
.ProcessEvent(wx
.SizeEvent((-1,-1)))
705 class DialogPtr(Dialog
):
706 def __init__(self
, this
):
708 if not hasattr(self
,"thisown"): self
.thisown
= 0
709 self
.__class
__ = Dialog
710 _windows_
.Dialog_swigregister(DialogPtr
)
712 def PreDialog(*args
, **kwargs
):
713 """PreDialog() -> Dialog"""
714 val
= _windows_
.new_PreDialog(*args
, **kwargs
)
718 def Dialog_GetClassDefaultAttributes(*args
, **kwargs
):
720 Dialog_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
722 Get the default attributes for this class. This is useful if you want
723 to use the same font or colour in your own control as in a standard
724 control -- which is a much better idea than hard coding specific
725 colours or fonts which might look completely out of place on the
726 user's system, especially if it uses themes.
728 The variant parameter is only relevant under Mac currently and is
729 ignore under other platforms. Under Mac, it will change the size of
730 the returned font. See `wx.Window.SetWindowVariant` for more about
733 return _windows_
.Dialog_GetClassDefaultAttributes(*args
, **kwargs
)
735 #---------------------------------------------------------------------------
737 class MiniFrame(Frame
):
738 """Proxy of C++ MiniFrame class"""
740 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
741 def __init__(self
, *args
, **kwargs
):
743 __init__(self, Window parent, int id=-1, String title=EmptyString,
744 Point pos=DefaultPosition, Size size=DefaultSize,
745 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> MiniFrame
747 newobj
= _windows_
.new_MiniFrame(*args
, **kwargs
)
748 self
.this
= newobj
.this
751 self
._setOORInfo
(self
)
753 def Create(*args
, **kwargs
):
755 Create(self, Window parent, int id=-1, String title=EmptyString,
756 Point pos=DefaultPosition, Size size=DefaultSize,
757 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
759 return _windows_
.MiniFrame_Create(*args
, **kwargs
)
762 class MiniFramePtr(MiniFrame
):
763 def __init__(self
, this
):
765 if not hasattr(self
,"thisown"): self
.thisown
= 0
766 self
.__class
__ = MiniFrame
767 _windows_
.MiniFrame_swigregister(MiniFramePtr
)
769 def PreMiniFrame(*args
, **kwargs
):
770 """PreMiniFrame() -> MiniFrame"""
771 val
= _windows_
.new_PreMiniFrame(*args
, **kwargs
)
775 #---------------------------------------------------------------------------
777 SPLASH_CENTRE_ON_PARENT
= _windows_
.SPLASH_CENTRE_ON_PARENT
778 SPLASH_CENTRE_ON_SCREEN
= _windows_
.SPLASH_CENTRE_ON_SCREEN
779 SPLASH_NO_CENTRE
= _windows_
.SPLASH_NO_CENTRE
780 SPLASH_TIMEOUT
= _windows_
.SPLASH_TIMEOUT
781 SPLASH_NO_TIMEOUT
= _windows_
.SPLASH_NO_TIMEOUT
782 class SplashScreenWindow(_core
.Window
):
783 """Proxy of C++ SplashScreenWindow class"""
785 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
786 def __init__(self
, *args
, **kwargs
):
788 __init__(self, Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
789 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
791 newobj
= _windows_
.new_SplashScreenWindow(*args
, **kwargs
)
792 self
.this
= newobj
.this
795 self
._setOORInfo
(self
)
797 def SetBitmap(*args
, **kwargs
):
798 """SetBitmap(self, Bitmap bitmap)"""
799 return _windows_
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
801 def GetBitmap(*args
, **kwargs
):
802 """GetBitmap(self) -> Bitmap"""
803 return _windows_
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
806 class SplashScreenWindowPtr(SplashScreenWindow
):
807 def __init__(self
, this
):
809 if not hasattr(self
,"thisown"): self
.thisown
= 0
810 self
.__class
__ = SplashScreenWindow
811 _windows_
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
813 class SplashScreen(Frame
):
814 """Proxy of C++ SplashScreen class"""
816 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
817 def __init__(self
, *args
, **kwargs
):
819 __init__(self, Bitmap bitmap, long splashStyle, int milliseconds,
820 Window parent, int id=-1, Point pos=DefaultPosition,
821 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
823 newobj
= _windows_
.new_SplashScreen(*args
, **kwargs
)
824 self
.this
= newobj
.this
827 self
._setOORInfo
(self
)
829 def GetSplashStyle(*args
, **kwargs
):
830 """GetSplashStyle(self) -> long"""
831 return _windows_
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
833 def GetSplashWindow(*args
, **kwargs
):
834 """GetSplashWindow(self) -> SplashScreenWindow"""
835 return _windows_
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
837 def GetTimeout(*args
, **kwargs
):
838 """GetTimeout(self) -> int"""
839 return _windows_
.SplashScreen_GetTimeout(*args
, **kwargs
)
842 class SplashScreenPtr(SplashScreen
):
843 def __init__(self
, this
):
845 if not hasattr(self
,"thisown"): self
.thisown
= 0
846 self
.__class
__ = SplashScreen
847 _windows_
.SplashScreen_swigregister(SplashScreenPtr
)
849 #---------------------------------------------------------------------------
851 SB_NORMAL
= _windows_
.SB_NORMAL
852 SB_FLAT
= _windows_
.SB_FLAT
853 SB_RAISED
= _windows_
.SB_RAISED
854 class StatusBar(_core
.Window
):
855 """Proxy of C++ StatusBar class"""
857 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
858 def __init__(self
, *args
, **kwargs
):
860 __init__(self, Window parent, int id=-1, long style=DEFAULT_STATUSBAR_STYLE,
861 String name=StatusLineNameStr) -> StatusBar
863 newobj
= _windows_
.new_StatusBar(*args
, **kwargs
)
864 self
.this
= newobj
.this
867 self
._setOORInfo
(self
)
869 def Create(*args
, **kwargs
):
870 """Create(self, Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
871 return _windows_
.StatusBar_Create(*args
, **kwargs
)
873 def SetFieldsCount(*args
, **kwargs
):
874 """SetFieldsCount(self, int number=1)"""
875 return _windows_
.StatusBar_SetFieldsCount(*args
, **kwargs
)
877 def GetFieldsCount(*args
, **kwargs
):
878 """GetFieldsCount(self) -> int"""
879 return _windows_
.StatusBar_GetFieldsCount(*args
, **kwargs
)
881 def SetStatusText(*args
, **kwargs
):
882 """SetStatusText(self, String text, int number=0)"""
883 return _windows_
.StatusBar_SetStatusText(*args
, **kwargs
)
885 def GetStatusText(*args
, **kwargs
):
886 """GetStatusText(self, int number=0) -> String"""
887 return _windows_
.StatusBar_GetStatusText(*args
, **kwargs
)
889 def PushStatusText(*args
, **kwargs
):
890 """PushStatusText(self, String text, int number=0)"""
891 return _windows_
.StatusBar_PushStatusText(*args
, **kwargs
)
893 def PopStatusText(*args
, **kwargs
):
894 """PopStatusText(self, int number=0)"""
895 return _windows_
.StatusBar_PopStatusText(*args
, **kwargs
)
897 def SetStatusWidths(*args
, **kwargs
):
898 """SetStatusWidths(self, int widths)"""
899 return _windows_
.StatusBar_SetStatusWidths(*args
, **kwargs
)
901 def SetStatusStyles(*args
, **kwargs
):
902 """SetStatusStyles(self, int styles)"""
903 return _windows_
.StatusBar_SetStatusStyles(*args
, **kwargs
)
905 def GetFieldRect(*args
, **kwargs
):
906 """GetFieldRect(self, int i) -> Rect"""
907 return _windows_
.StatusBar_GetFieldRect(*args
, **kwargs
)
909 def SetMinHeight(*args
, **kwargs
):
910 """SetMinHeight(self, int height)"""
911 return _windows_
.StatusBar_SetMinHeight(*args
, **kwargs
)
913 def GetBorderX(*args
, **kwargs
):
914 """GetBorderX(self) -> int"""
915 return _windows_
.StatusBar_GetBorderX(*args
, **kwargs
)
917 def GetBorderY(*args
, **kwargs
):
918 """GetBorderY(self) -> int"""
919 return _windows_
.StatusBar_GetBorderY(*args
, **kwargs
)
921 def GetClassDefaultAttributes(*args
, **kwargs
):
923 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
925 Get the default attributes for this class. This is useful if you want
926 to use the same font or colour in your own control as in a standard
927 control -- which is a much better idea than hard coding specific
928 colours or fonts which might look completely out of place on the
929 user's system, especially if it uses themes.
931 The variant parameter is only relevant under Mac currently and is
932 ignore under other platforms. Under Mac, it will change the size of
933 the returned font. See `wx.Window.SetWindowVariant` for more about
936 return _windows_
.StatusBar_GetClassDefaultAttributes(*args
, **kwargs
)
938 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
940 class StatusBarPtr(StatusBar
):
941 def __init__(self
, this
):
943 if not hasattr(self
,"thisown"): self
.thisown
= 0
944 self
.__class
__ = StatusBar
945 _windows_
.StatusBar_swigregister(StatusBarPtr
)
947 def PreStatusBar(*args
, **kwargs
):
948 """PreStatusBar() -> StatusBar"""
949 val
= _windows_
.new_PreStatusBar(*args
, **kwargs
)
953 def StatusBar_GetClassDefaultAttributes(*args
, **kwargs
):
955 StatusBar_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
957 Get the default attributes for this class. This is useful if you want
958 to use the same font or colour in your own control as in a standard
959 control -- which is a much better idea than hard coding specific
960 colours or fonts which might look completely out of place on the
961 user's system, especially if it uses themes.
963 The variant parameter is only relevant under Mac currently and is
964 ignore under other platforms. Under Mac, it will change the size of
965 the returned font. See `wx.Window.SetWindowVariant` for more about
968 return _windows_
.StatusBar_GetClassDefaultAttributes(*args
, **kwargs
)
970 #---------------------------------------------------------------------------
972 SP_NOBORDER
= _windows_
.SP_NOBORDER
973 SP_NOSASH
= _windows_
.SP_NOSASH
974 SP_PERMIT_UNSPLIT
= _windows_
.SP_PERMIT_UNSPLIT
975 SP_LIVE_UPDATE
= _windows_
.SP_LIVE_UPDATE
976 SP_3DSASH
= _windows_
.SP_3DSASH
977 SP_3DBORDER
= _windows_
.SP_3DBORDER
978 SP_NO_XP_THEME
= _windows_
.SP_NO_XP_THEME
979 SP_BORDER
= _windows_
.SP_BORDER
980 SP_3D
= _windows_
.SP_3D
981 SPLIT_HORIZONTAL
= _windows_
.SPLIT_HORIZONTAL
982 SPLIT_VERTICAL
= _windows_
.SPLIT_VERTICAL
983 SPLIT_DRAG_NONE
= _windows_
.SPLIT_DRAG_NONE
984 SPLIT_DRAG_DRAGGING
= _windows_
.SPLIT_DRAG_DRAGGING
985 SPLIT_DRAG_LEFT_DOWN
= _windows_
.SPLIT_DRAG_LEFT_DOWN
986 class SplitterWindow(_core
.Window
):
988 wx.SplitterWindow manages up to two subwindows or panes, with an
989 optional vertical or horizontal split which can be used with the mouse
993 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
994 def __init__(self
, *args
, **kwargs
):
996 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
997 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
999 Constructor. Creates and shows a SplitterWindow.
1001 if kwargs
.has_key('point'): kwargs
['pos'] = kwargs
['point'];del kwargs
['point']
1002 newobj
= _windows_
.new_SplitterWindow(*args
, **kwargs
)
1003 self
.this
= newobj
.this
1006 self
._setOORInfo
(self
)
1008 def Create(*args
, **kwargs
):
1010 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1011 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool
1013 Create the GUI part of the SplitterWindow for the 2-phase create.
1015 return _windows_
.SplitterWindow_Create(*args
, **kwargs
)
1017 def GetWindow1(*args
, **kwargs
):
1019 GetWindow1(self) -> Window
1021 Gets the only or left/top pane.
1023 return _windows_
.SplitterWindow_GetWindow1(*args
, **kwargs
)
1025 def GetWindow2(*args
, **kwargs
):
1027 GetWindow2(self) -> Window
1029 Gets the right/bottom pane.
1031 return _windows_
.SplitterWindow_GetWindow2(*args
, **kwargs
)
1033 def SetSplitMode(*args
, **kwargs
):
1035 SetSplitMode(self, int mode)
1037 Sets the split mode. The mode can be wx.SPLIT_VERTICAL or
1038 wx.SPLIT_HORIZONTAL. This only sets the internal variable; does not
1041 return _windows_
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
1043 def GetSplitMode(*args
, **kwargs
):
1045 GetSplitMode(self) -> int
1049 return _windows_
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
1051 def Initialize(*args
, **kwargs
):
1053 Initialize(self, Window window)
1055 Initializes the splitter window to have one pane. This should be
1056 called if you wish to initially view only a single pane in the
1057 splitter window. The child window is shown if it is currently hidden.
1059 return _windows_
.SplitterWindow_Initialize(*args
, **kwargs
)
1061 def SplitVertically(*args
, **kwargs
):
1063 SplitVertically(self, Window window1, Window window2, int sashPosition=0) -> bool
1065 Initializes the left and right panes of the splitter window. The
1066 child windows are shown if they are currently hidden.
1068 return _windows_
.SplitterWindow_SplitVertically(*args
, **kwargs
)
1070 def SplitHorizontally(*args
, **kwargs
):
1072 SplitHorizontally(self, Window window1, Window window2, int sashPosition=0) -> bool
1074 Initializes the top and bottom panes of the splitter window. The
1075 child windows are shown if they are currently hidden.
1077 return _windows_
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
1079 def Unsplit(*args
, **kwargs
):
1081 Unsplit(self, Window toRemove=None) -> bool
1083 Unsplits the window. Pass the pane to remove, or None to remove the
1084 right or bottom pane. Returns True if successful, False otherwise (the
1085 window was not split).
1087 This function will not actually delete the pane being
1088 removed; it sends EVT_SPLITTER_UNSPLIT which can be handled
1089 for the desired behaviour. By default, the pane being
1090 removed is only hidden.
1092 return _windows_
.SplitterWindow_Unsplit(*args
, **kwargs
)
1094 def ReplaceWindow(*args
, **kwargs
):
1096 ReplaceWindow(self, Window winOld, Window winNew) -> bool
1098 This function replaces one of the windows managed by the
1099 SplitterWindow with another one. It is in general better to use it
1100 instead of calling Unsplit() and then resplitting the window back
1101 because it will provoke much less flicker. It is valid to call this
1102 function whether the splitter has two windows or only one.
1104 Both parameters should be non-None and winOld must specify one of the
1105 windows managed by the splitter. If the parameters are incorrect or
1106 the window couldn't be replaced, False is returned. Otherwise the
1107 function will return True, but please notice that it will not Destroy
1108 the replaced window and you may wish to do it yourself.
1110 return _windows_
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
1112 def UpdateSize(*args
, **kwargs
):
1116 Causes any pending sizing of the sash and child panes to take place
1119 Such resizing normally takes place in idle time, in order to wait for
1120 layout to be completed. However, this can cause unacceptable flicker
1121 as the panes are resized after the window has been shown. To work
1122 around this, you can perform window layout (for example by sending a
1123 size event to the parent window), and then call this function, before
1124 showing the top-level window.
1126 return _windows_
.SplitterWindow_UpdateSize(*args
, **kwargs
)
1128 def IsSplit(*args
, **kwargs
):
1130 IsSplit(self) -> bool
1132 Is the window split?
1134 return _windows_
.SplitterWindow_IsSplit(*args
, **kwargs
)
1136 def SetSashSize(*args
, **kwargs
):
1138 SetSashSize(self, int width)
1142 return _windows_
.SplitterWindow_SetSashSize(*args
, **kwargs
)
1144 def SetBorderSize(*args
, **kwargs
):
1146 SetBorderSize(self, int width)
1148 Sets the border size. Currently a NOP.
1150 return _windows_
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
1152 def GetSashSize(*args
, **kwargs
):
1154 GetSashSize(self) -> int
1158 return _windows_
.SplitterWindow_GetSashSize(*args
, **kwargs
)
1160 def GetBorderSize(*args
, **kwargs
):
1162 GetBorderSize(self) -> int
1164 Gets the border size
1166 return _windows_
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
1168 def SetSashPosition(*args
, **kwargs
):
1170 SetSashPosition(self, int position, bool redraw=True)
1172 Sets the sash position, in pixels. If redraw is Ttrue then the panes
1173 are resized and the sash and border are redrawn.
1175 return _windows_
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
1177 def GetSashPosition(*args
, **kwargs
):
1179 GetSashPosition(self) -> int
1181 Returns the surrent sash position.
1183 return _windows_
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
1185 def SetSashGravity(*args
, **kwargs
):
1187 SetSashGravity(self, double gravity)
1189 Set the sash gravity. Gravity is a floating-point factor between 0.0
1190 and 1.0 which controls position of sash while resizing the
1191 `wx.SplitterWindow`. The gravity specifies how much the left/top
1192 window will grow while resizing.
1194 return _windows_
.SplitterWindow_SetSashGravity(*args
, **kwargs
)
1196 def GetSashGravity(*args
, **kwargs
):
1198 GetSashGravity(self) -> double
1200 Gets the sash gravity.
1202 :see: `SetSashGravity`
1205 return _windows_
.SplitterWindow_GetSashGravity(*args
, **kwargs
)
1207 def SetMinimumPaneSize(*args
, **kwargs
):
1209 SetMinimumPaneSize(self, int min)
1211 Sets the minimum pane size in pixels.
1213 The default minimum pane size is zero, which means that either pane
1214 can be reduced to zero by dragging the sash, thus removing one of the
1215 panes. To prevent this behaviour (and veto out-of-range sash
1216 dragging), set a minimum size, for example 20 pixels. If the
1217 wx.SP_PERMIT_UNSPLIT style is used when a splitter window is created,
1218 the window may be unsplit even if minimum size is non-zero.
1220 return _windows_
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
1222 def GetMinimumPaneSize(*args
, **kwargs
):
1224 GetMinimumPaneSize(self) -> int
1226 Gets the minimum pane size in pixels.
1228 return _windows_
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
1230 def SashHitTest(*args
, **kwargs
):
1232 SashHitTest(self, int x, int y, int tolerance=5) -> bool
1234 Tests for x, y over the sash
1236 return _windows_
.SplitterWindow_SashHitTest(*args
, **kwargs
)
1238 def SizeWindows(*args
, **kwargs
):
1244 return _windows_
.SplitterWindow_SizeWindows(*args
, **kwargs
)
1246 def SetNeedUpdating(*args
, **kwargs
):
1247 """SetNeedUpdating(self, bool needUpdating)"""
1248 return _windows_
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
1250 def GetNeedUpdating(*args
, **kwargs
):
1251 """GetNeedUpdating(self) -> bool"""
1252 return _windows_
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
1254 def GetClassDefaultAttributes(*args
, **kwargs
):
1256 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1258 Get the default attributes for this class. This is useful if you want
1259 to use the same font or colour in your own control as in a standard
1260 control -- which is a much better idea than hard coding specific
1261 colours or fonts which might look completely out of place on the
1262 user's system, especially if it uses themes.
1264 The variant parameter is only relevant under Mac currently and is
1265 ignore under other platforms. Under Mac, it will change the size of
1266 the returned font. See `wx.Window.SetWindowVariant` for more about
1269 return _windows_
.SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1271 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
1273 class SplitterWindowPtr(SplitterWindow
):
1274 def __init__(self
, this
):
1276 if not hasattr(self
,"thisown"): self
.thisown
= 0
1277 self
.__class
__ = SplitterWindow
1278 _windows_
.SplitterWindow_swigregister(SplitterWindowPtr
)
1279 SplitterNameStr
= cvar
.SplitterNameStr
1281 def PreSplitterWindow(*args
, **kwargs
):
1283 PreSplitterWindow() -> SplitterWindow
1285 Precreate a SplitterWindow for 2-phase creation.
1287 val
= _windows_
.new_PreSplitterWindow(*args
, **kwargs
)
1291 def SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
):
1293 SplitterWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1295 Get the default attributes for this class. This is useful if you want
1296 to use the same font or colour in your own control as in a standard
1297 control -- which is a much better idea than hard coding specific
1298 colours or fonts which might look completely out of place on the
1299 user's system, especially if it uses themes.
1301 The variant parameter is only relevant under Mac currently and is
1302 ignore under other platforms. Under Mac, it will change the size of
1303 the returned font. See `wx.Window.SetWindowVariant` for more about
1306 return _windows_
.SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1308 class SplitterEvent(_core
.NotifyEvent
):
1309 """This class represents the events generated by a splitter control."""
1311 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1312 def __init__(self
, *args
, **kwargs
):
1314 __init__(self, wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent
1316 This class represents the events generated by a splitter control.
1318 newobj
= _windows_
.new_SplitterEvent(*args
, **kwargs
)
1319 self
.this
= newobj
.this
1322 def SetSashPosition(*args
, **kwargs
):
1324 SetSashPosition(self, int pos)
1326 This function is only meaningful during EVT_SPLITTER_SASH_POS_CHANGING
1327 and EVT_SPLITTER_SASH_POS_CHANGED events. In the case of _CHANGED
1328 events, sets the the new sash position. In the case of _CHANGING
1329 events, sets the new tracking bar position so visual feedback during
1330 dragging will represent that change that will actually take place. Set
1331 to -1 from the event handler code to prevent repositioning.
1333 return _windows_
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
1335 def GetSashPosition(*args
, **kwargs
):
1337 GetSashPosition(self) -> int
1339 Returns the new sash position while in EVT_SPLITTER_SASH_POS_CHANGING
1340 and EVT_SPLITTER_SASH_POS_CHANGED events.
1342 return _windows_
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
1344 def GetWindowBeingRemoved(*args
, **kwargs
):
1346 GetWindowBeingRemoved(self) -> Window
1348 Returns a pointer to the window being removed when a splitter window
1351 return _windows_
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
1353 def GetX(*args
, **kwargs
):
1357 Returns the x coordinate of the double-click point in a
1358 EVT_SPLITTER_DCLICK event.
1360 return _windows_
.SplitterEvent_GetX(*args
, **kwargs
)
1362 def GetY(*args
, **kwargs
):
1366 Returns the y coordinate of the double-click point in a
1367 EVT_SPLITTER_DCLICK event.
1369 return _windows_
.SplitterEvent_GetY(*args
, **kwargs
)
1372 class SplitterEventPtr(SplitterEvent
):
1373 def __init__(self
, this
):
1375 if not hasattr(self
,"thisown"): self
.thisown
= 0
1376 self
.__class
__ = SplitterEvent
1377 _windows_
.SplitterEvent_swigregister(SplitterEventPtr
)
1379 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
1380 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
1381 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows_
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
1382 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows_
.wxEVT_COMMAND_SPLITTER_UNSPLIT
1383 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
1384 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
1385 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
1386 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
1387 EVT_SPLITTER_DCLICK
= EVT_SPLITTER_DOUBLECLICKED
1389 #---------------------------------------------------------------------------
1391 SASH_DRAG_NONE
= _windows_
.SASH_DRAG_NONE
1392 SASH_DRAG_DRAGGING
= _windows_
.SASH_DRAG_DRAGGING
1393 SASH_DRAG_LEFT_DOWN
= _windows_
.SASH_DRAG_LEFT_DOWN
1394 SW_NOBORDER
= _windows_
.SW_NOBORDER
1395 SW_BORDER
= _windows_
.SW_BORDER
1396 SW_3DSASH
= _windows_
.SW_3DSASH
1397 SW_3DBORDER
= _windows_
.SW_3DBORDER
1398 SW_3D
= _windows_
.SW_3D
1399 SASH_TOP
= _windows_
.SASH_TOP
1400 SASH_RIGHT
= _windows_
.SASH_RIGHT
1401 SASH_BOTTOM
= _windows_
.SASH_BOTTOM
1402 SASH_LEFT
= _windows_
.SASH_LEFT
1403 SASH_NONE
= _windows_
.SASH_NONE
1404 class SashWindow(_core
.Window
):
1405 """Proxy of C++ SashWindow class"""
1407 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1408 def __init__(self
, *args
, **kwargs
):
1410 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1411 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1412 String name=SashNameStr) -> SashWindow
1414 newobj
= _windows_
.new_SashWindow(*args
, **kwargs
)
1415 self
.this
= newobj
.this
1418 self
._setOORInfo
(self
)
1420 def Create(*args
, **kwargs
):
1422 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1423 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1424 String name=SashNameStr) -> bool
1426 return _windows_
.SashWindow_Create(*args
, **kwargs
)
1428 def SetSashVisible(*args
, **kwargs
):
1429 """SetSashVisible(self, int edge, bool sash)"""
1430 return _windows_
.SashWindow_SetSashVisible(*args
, **kwargs
)
1432 def GetSashVisible(*args
, **kwargs
):
1433 """GetSashVisible(self, int edge) -> bool"""
1434 return _windows_
.SashWindow_GetSashVisible(*args
, **kwargs
)
1436 def SetSashBorder(*args
, **kwargs
):
1437 """SetSashBorder(self, int edge, bool border)"""
1438 return _windows_
.SashWindow_SetSashBorder(*args
, **kwargs
)
1440 def HasBorder(*args
, **kwargs
):
1441 """HasBorder(self, int edge) -> bool"""
1442 return _windows_
.SashWindow_HasBorder(*args
, **kwargs
)
1444 def GetEdgeMargin(*args
, **kwargs
):
1445 """GetEdgeMargin(self, int edge) -> int"""
1446 return _windows_
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
1448 def SetDefaultBorderSize(*args
, **kwargs
):
1449 """SetDefaultBorderSize(self, int width)"""
1450 return _windows_
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
1452 def GetDefaultBorderSize(*args
, **kwargs
):
1453 """GetDefaultBorderSize(self) -> int"""
1454 return _windows_
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
1456 def SetExtraBorderSize(*args
, **kwargs
):
1457 """SetExtraBorderSize(self, int width)"""
1458 return _windows_
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
1460 def GetExtraBorderSize(*args
, **kwargs
):
1461 """GetExtraBorderSize(self) -> int"""
1462 return _windows_
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
1464 def SetMinimumSizeX(*args
, **kwargs
):
1465 """SetMinimumSizeX(self, int min)"""
1466 return _windows_
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
1468 def SetMinimumSizeY(*args
, **kwargs
):
1469 """SetMinimumSizeY(self, int min)"""
1470 return _windows_
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
1472 def GetMinimumSizeX(*args
, **kwargs
):
1473 """GetMinimumSizeX(self) -> int"""
1474 return _windows_
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
1476 def GetMinimumSizeY(*args
, **kwargs
):
1477 """GetMinimumSizeY(self) -> int"""
1478 return _windows_
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
1480 def SetMaximumSizeX(*args
, **kwargs
):
1481 """SetMaximumSizeX(self, int max)"""
1482 return _windows_
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
1484 def SetMaximumSizeY(*args
, **kwargs
):
1485 """SetMaximumSizeY(self, int max)"""
1486 return _windows_
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
1488 def GetMaximumSizeX(*args
, **kwargs
):
1489 """GetMaximumSizeX(self) -> int"""
1490 return _windows_
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
1492 def GetMaximumSizeY(*args
, **kwargs
):
1493 """GetMaximumSizeY(self) -> int"""
1494 return _windows_
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
1496 def SashHitTest(*args
, **kwargs
):
1497 """SashHitTest(self, int x, int y, int tolerance=2) -> int"""
1498 return _windows_
.SashWindow_SashHitTest(*args
, **kwargs
)
1500 def SizeWindows(*args
, **kwargs
):
1501 """SizeWindows(self)"""
1502 return _windows_
.SashWindow_SizeWindows(*args
, **kwargs
)
1505 class SashWindowPtr(SashWindow
):
1506 def __init__(self
, this
):
1508 if not hasattr(self
,"thisown"): self
.thisown
= 0
1509 self
.__class
__ = SashWindow
1510 _windows_
.SashWindow_swigregister(SashWindowPtr
)
1511 SashNameStr
= cvar
.SashNameStr
1512 SashLayoutNameStr
= cvar
.SashLayoutNameStr
1514 def PreSashWindow(*args
, **kwargs
):
1515 """PreSashWindow() -> SashWindow"""
1516 val
= _windows_
.new_PreSashWindow(*args
, **kwargs
)
1520 SASH_STATUS_OK
= _windows_
.SASH_STATUS_OK
1521 SASH_STATUS_OUT_OF_RANGE
= _windows_
.SASH_STATUS_OUT_OF_RANGE
1522 class SashEvent(_core
.CommandEvent
):
1523 """Proxy of C++ SashEvent class"""
1525 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1526 def __init__(self
, *args
, **kwargs
):
1527 """__init__(self, int id=0, int edge=SASH_NONE) -> SashEvent"""
1528 newobj
= _windows_
.new_SashEvent(*args
, **kwargs
)
1529 self
.this
= newobj
.this
1532 def SetEdge(*args
, **kwargs
):
1533 """SetEdge(self, int edge)"""
1534 return _windows_
.SashEvent_SetEdge(*args
, **kwargs
)
1536 def GetEdge(*args
, **kwargs
):
1537 """GetEdge(self) -> int"""
1538 return _windows_
.SashEvent_GetEdge(*args
, **kwargs
)
1540 def SetDragRect(*args
, **kwargs
):
1541 """SetDragRect(self, Rect rect)"""
1542 return _windows_
.SashEvent_SetDragRect(*args
, **kwargs
)
1544 def GetDragRect(*args
, **kwargs
):
1545 """GetDragRect(self) -> Rect"""
1546 return _windows_
.SashEvent_GetDragRect(*args
, **kwargs
)
1548 def SetDragStatus(*args
, **kwargs
):
1549 """SetDragStatus(self, int status)"""
1550 return _windows_
.SashEvent_SetDragStatus(*args
, **kwargs
)
1552 def GetDragStatus(*args
, **kwargs
):
1553 """GetDragStatus(self) -> int"""
1554 return _windows_
.SashEvent_GetDragStatus(*args
, **kwargs
)
1557 class SashEventPtr(SashEvent
):
1558 def __init__(self
, this
):
1560 if not hasattr(self
,"thisown"): self
.thisown
= 0
1561 self
.__class
__ = SashEvent
1562 _windows_
.SashEvent_swigregister(SashEventPtr
)
1564 wxEVT_SASH_DRAGGED
= _windows_
.wxEVT_SASH_DRAGGED
1565 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
1566 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
1568 #---------------------------------------------------------------------------
1570 LAYOUT_HORIZONTAL
= _windows_
.LAYOUT_HORIZONTAL
1571 LAYOUT_VERTICAL
= _windows_
.LAYOUT_VERTICAL
1572 LAYOUT_NONE
= _windows_
.LAYOUT_NONE
1573 LAYOUT_TOP
= _windows_
.LAYOUT_TOP
1574 LAYOUT_LEFT
= _windows_
.LAYOUT_LEFT
1575 LAYOUT_RIGHT
= _windows_
.LAYOUT_RIGHT
1576 LAYOUT_BOTTOM
= _windows_
.LAYOUT_BOTTOM
1577 LAYOUT_LENGTH_Y
= _windows_
.LAYOUT_LENGTH_Y
1578 LAYOUT_LENGTH_X
= _windows_
.LAYOUT_LENGTH_X
1579 LAYOUT_MRU_LENGTH
= _windows_
.LAYOUT_MRU_LENGTH
1580 LAYOUT_QUERY
= _windows_
.LAYOUT_QUERY
1581 wxEVT_QUERY_LAYOUT_INFO
= _windows_
.wxEVT_QUERY_LAYOUT_INFO
1582 wxEVT_CALCULATE_LAYOUT
= _windows_
.wxEVT_CALCULATE_LAYOUT
1583 class QueryLayoutInfoEvent(_core
.Event
):
1584 """Proxy of C++ QueryLayoutInfoEvent class"""
1586 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1587 def __init__(self
, *args
, **kwargs
):
1588 """__init__(self, int id=0) -> QueryLayoutInfoEvent"""
1589 newobj
= _windows_
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1590 self
.this
= newobj
.this
1593 def SetRequestedLength(*args
, **kwargs
):
1594 """SetRequestedLength(self, int length)"""
1595 return _windows_
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1597 def GetRequestedLength(*args
, **kwargs
):
1598 """GetRequestedLength(self) -> int"""
1599 return _windows_
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1601 def SetFlags(*args
, **kwargs
):
1602 """SetFlags(self, int flags)"""
1603 return _windows_
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1605 def GetFlags(*args
, **kwargs
):
1606 """GetFlags(self) -> int"""
1607 return _windows_
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1609 def SetSize(*args
, **kwargs
):
1610 """SetSize(self, Size size)"""
1611 return _windows_
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1613 def GetSize(*args
, **kwargs
):
1614 """GetSize(self) -> Size"""
1615 return _windows_
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1617 def SetOrientation(*args
, **kwargs
):
1618 """SetOrientation(self, int orient)"""
1619 return _windows_
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1621 def GetOrientation(*args
, **kwargs
):
1622 """GetOrientation(self) -> int"""
1623 return _windows_
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1625 def SetAlignment(*args
, **kwargs
):
1626 """SetAlignment(self, int align)"""
1627 return _windows_
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1629 def GetAlignment(*args
, **kwargs
):
1630 """GetAlignment(self) -> int"""
1631 return _windows_
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1634 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1635 def __init__(self
, this
):
1637 if not hasattr(self
,"thisown"): self
.thisown
= 0
1638 self
.__class
__ = QueryLayoutInfoEvent
1639 _windows_
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1641 class CalculateLayoutEvent(_core
.Event
):
1642 """Proxy of C++ CalculateLayoutEvent class"""
1644 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1645 def __init__(self
, *args
, **kwargs
):
1646 """__init__(self, int id=0) -> CalculateLayoutEvent"""
1647 newobj
= _windows_
.new_CalculateLayoutEvent(*args
, **kwargs
)
1648 self
.this
= newobj
.this
1651 def SetFlags(*args
, **kwargs
):
1652 """SetFlags(self, int flags)"""
1653 return _windows_
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1655 def GetFlags(*args
, **kwargs
):
1656 """GetFlags(self) -> int"""
1657 return _windows_
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1659 def SetRect(*args
, **kwargs
):
1660 """SetRect(self, Rect rect)"""
1661 return _windows_
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1663 def GetRect(*args
, **kwargs
):
1664 """GetRect(self) -> Rect"""
1665 return _windows_
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1668 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1669 def __init__(self
, this
):
1671 if not hasattr(self
,"thisown"): self
.thisown
= 0
1672 self
.__class
__ = CalculateLayoutEvent
1673 _windows_
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1675 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1676 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1678 class SashLayoutWindow(SashWindow
):
1679 """Proxy of C++ SashLayoutWindow class"""
1681 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1682 def __init__(self
, *args
, **kwargs
):
1684 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1685 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1686 String name=SashLayoutNameStr) -> SashLayoutWindow
1688 newobj
= _windows_
.new_SashLayoutWindow(*args
, **kwargs
)
1689 self
.this
= newobj
.this
1692 self
._setOORInfo
(self
)
1694 def Create(*args
, **kwargs
):
1696 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1697 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1698 String name=SashLayoutNameStr) -> bool
1700 return _windows_
.SashLayoutWindow_Create(*args
, **kwargs
)
1702 def GetAlignment(*args
, **kwargs
):
1703 """GetAlignment(self) -> int"""
1704 return _windows_
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1706 def GetOrientation(*args
, **kwargs
):
1707 """GetOrientation(self) -> int"""
1708 return _windows_
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1710 def SetAlignment(*args
, **kwargs
):
1711 """SetAlignment(self, int alignment)"""
1712 return _windows_
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1714 def SetDefaultSize(*args
, **kwargs
):
1715 """SetDefaultSize(self, Size size)"""
1716 return _windows_
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1718 def SetOrientation(*args
, **kwargs
):
1719 """SetOrientation(self, int orientation)"""
1720 return _windows_
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1723 class SashLayoutWindowPtr(SashLayoutWindow
):
1724 def __init__(self
, this
):
1726 if not hasattr(self
,"thisown"): self
.thisown
= 0
1727 self
.__class
__ = SashLayoutWindow
1728 _windows_
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1730 def PreSashLayoutWindow(*args
, **kwargs
):
1731 """PreSashLayoutWindow() -> SashLayoutWindow"""
1732 val
= _windows_
.new_PreSashLayoutWindow(*args
, **kwargs
)
1736 class LayoutAlgorithm(_core
.Object
):
1737 """Proxy of C++ LayoutAlgorithm class"""
1739 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1740 def __init__(self
, *args
, **kwargs
):
1741 """__init__(self) -> LayoutAlgorithm"""
1742 newobj
= _windows_
.new_LayoutAlgorithm(*args
, **kwargs
)
1743 self
.this
= newobj
.this
1746 def __del__(self
, destroy
=_windows_
.delete_LayoutAlgorithm
):
1749 if self
.thisown
: destroy(self
)
1752 def LayoutMDIFrame(*args
, **kwargs
):
1753 """LayoutMDIFrame(self, MDIParentFrame frame, Rect rect=None) -> bool"""
1754 return _windows_
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1756 def LayoutFrame(*args
, **kwargs
):
1757 """LayoutFrame(self, Frame frame, Window mainWindow=None) -> bool"""
1758 return _windows_
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1760 def LayoutWindow(*args
, **kwargs
):
1761 """LayoutWindow(self, Window parent, Window mainWindow=None) -> bool"""
1762 return _windows_
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1765 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1766 def __init__(self
, this
):
1768 if not hasattr(self
,"thisown"): self
.thisown
= 0
1769 self
.__class
__ = LayoutAlgorithm
1770 _windows_
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1772 #---------------------------------------------------------------------------
1774 class PopupWindow(_core
.Window
):
1775 """Proxy of C++ PopupWindow class"""
1777 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1778 def __init__(self
, *args
, **kwargs
):
1779 """__init__(self, Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1780 newobj
= _windows_
.new_PopupWindow(*args
, **kwargs
)
1781 self
.this
= newobj
.this
1784 self
._setOORInfo
(self
)
1786 def Create(*args
, **kwargs
):
1787 """Create(self, Window parent, int flags=BORDER_NONE) -> bool"""
1788 return _windows_
.PopupWindow_Create(*args
, **kwargs
)
1790 def Position(*args
, **kwargs
):
1791 """Position(self, Point ptOrigin, Size size)"""
1792 return _windows_
.PopupWindow_Position(*args
, **kwargs
)
1795 class PopupWindowPtr(PopupWindow
):
1796 def __init__(self
, this
):
1798 if not hasattr(self
,"thisown"): self
.thisown
= 0
1799 self
.__class
__ = PopupWindow
1800 _windows_
.PopupWindow_swigregister(PopupWindowPtr
)
1802 def PrePopupWindow(*args
, **kwargs
):
1803 """PrePopupWindow() -> PopupWindow"""
1804 val
= _windows_
.new_PrePopupWindow(*args
, **kwargs
)
1808 #---------------------------------------------------------------------------
1810 class PopupTransientWindow(PopupWindow
):
1811 """Proxy of C++ PopupTransientWindow class"""
1813 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1814 def __init__(self
, *args
, **kwargs
):
1815 """__init__(self, Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1816 newobj
= _windows_
.new_PopupTransientWindow(*args
, **kwargs
)
1817 self
.this
= newobj
.this
1820 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, PopupTransientWindow
)
1822 def _setCallbackInfo(*args
, **kwargs
):
1823 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1824 return _windows_
.PopupTransientWindow__setCallbackInfo(*args
, **kwargs
)
1826 def Popup(*args
, **kwargs
):
1827 """Popup(self, Window focus=None)"""
1828 return _windows_
.PopupTransientWindow_Popup(*args
, **kwargs
)
1830 def Dismiss(*args
, **kwargs
):
1832 return _windows_
.PopupTransientWindow_Dismiss(*args
, **kwargs
)
1835 class PopupTransientWindowPtr(PopupTransientWindow
):
1836 def __init__(self
, this
):
1838 if not hasattr(self
,"thisown"): self
.thisown
= 0
1839 self
.__class
__ = PopupTransientWindow
1840 _windows_
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1842 def PrePopupTransientWindow(*args
, **kwargs
):
1843 """PrePopupTransientWindow() -> PopupTransientWindow"""
1844 val
= _windows_
.new_PrePopupTransientWindow(*args
, **kwargs
)
1848 #---------------------------------------------------------------------------
1850 class TipWindow(PopupTransientWindow
):
1851 """Proxy of C++ TipWindow class"""
1853 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1854 def __init__(self
, *args
, **kwargs
):
1855 """__init__(self, Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1856 newobj
= _windows_
.new_TipWindow(*args
, **kwargs
)
1857 self
.this
= newobj
.this
1860 self
._setOORInfo
(self
)
1862 def SetBoundingRect(*args
, **kwargs
):
1863 """SetBoundingRect(self, Rect rectBound)"""
1864 return _windows_
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1866 def Close(*args
, **kwargs
):
1870 This function simply generates a EVT_CLOSE event whose handler usually
1871 tries to close the window. It doesn't close the window itself,
1872 however. If force is False (the default) then the window's close
1873 handler will be allowed to veto the destruction of the window.
1875 return _windows_
.TipWindow_Close(*args
, **kwargs
)
1878 class TipWindowPtr(TipWindow
):
1879 def __init__(self
, this
):
1881 if not hasattr(self
,"thisown"): self
.thisown
= 0
1882 self
.__class
__ = TipWindow
1883 _windows_
.TipWindow_swigregister(TipWindowPtr
)
1885 #---------------------------------------------------------------------------
1887 class VScrolledWindow(Panel
):
1888 """Proxy of C++ VScrolledWindow class"""
1890 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1891 def __init__(self
, *args
, **kwargs
):
1893 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1894 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
1896 newobj
= _windows_
.new_VScrolledWindow(*args
, **kwargs
)
1897 self
.this
= newobj
.this
1900 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1902 def _setCallbackInfo(*args
, **kwargs
):
1903 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1904 return _windows_
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1906 def Create(*args
, **kwargs
):
1908 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1909 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
1911 return _windows_
.VScrolledWindow_Create(*args
, **kwargs
)
1913 def SetLineCount(*args
, **kwargs
):
1914 """SetLineCount(self, size_t count)"""
1915 return _windows_
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1917 def ScrollToLine(*args
, **kwargs
):
1918 """ScrollToLine(self, size_t line) -> bool"""
1919 return _windows_
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1921 def ScrollLines(*args
, **kwargs
):
1923 ScrollLines(self, int lines) -> bool
1925 If the platform and window class supports it, scrolls the window by
1926 the given number of lines down, if lines is positive, or up if lines
1927 is negative. Returns True if the window was scrolled, False if it was
1928 already on top/bottom and nothing was done.
1930 return _windows_
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1932 def ScrollPages(*args
, **kwargs
):
1934 ScrollPages(self, int pages) -> bool
1936 If the platform and window class supports it, scrolls the window by
1937 the given number of pages down, if pages is positive, or up if pages
1938 is negative. Returns True if the window was scrolled, False if it was
1939 already on top/bottom and nothing was done.
1941 return _windows_
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1943 def RefreshLine(*args
, **kwargs
):
1944 """RefreshLine(self, size_t line)"""
1945 return _windows_
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1947 def RefreshLines(*args
, **kwargs
):
1948 """RefreshLines(self, size_t from, size_t to)"""
1949 return _windows_
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1951 def HitTestXY(*args
, **kwargs
):
1953 HitTestXY(self, int x, int y) -> int
1955 Test where the given (in client coords) point lies
1957 return _windows_
.VScrolledWindow_HitTestXY(*args
, **kwargs
)
1959 def HitTest(*args
, **kwargs
):
1961 HitTest(self, Point pt) -> int
1963 Test where the given (in client coords) point lies
1965 return _windows_
.VScrolledWindow_HitTest(*args
, **kwargs
)
1967 def RefreshAll(*args
, **kwargs
):
1968 """RefreshAll(self)"""
1969 return _windows_
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1971 def GetLineCount(*args
, **kwargs
):
1972 """GetLineCount(self) -> size_t"""
1973 return _windows_
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1975 def GetVisibleBegin(*args
, **kwargs
):
1976 """GetVisibleBegin(self) -> size_t"""
1977 return _windows_
.VScrolledWindow_GetVisibleBegin(*args
, **kwargs
)
1979 def GetVisibleEnd(*args
, **kwargs
):
1980 """GetVisibleEnd(self) -> size_t"""
1981 return _windows_
.VScrolledWindow_GetVisibleEnd(*args
, **kwargs
)
1983 def IsVisible(*args
, **kwargs
):
1984 """IsVisible(self, size_t line) -> bool"""
1985 return _windows_
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1987 def GetFirstVisibleLine(*args
, **kwargs
):
1988 """GetFirstVisibleLine(self) -> size_t"""
1989 return _windows_
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1991 def GetLastVisibleLine(*args
, **kwargs
):
1992 """GetLastVisibleLine(self) -> size_t"""
1993 return _windows_
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1996 class VScrolledWindowPtr(VScrolledWindow
):
1997 def __init__(self
, this
):
1999 if not hasattr(self
,"thisown"): self
.thisown
= 0
2000 self
.__class
__ = VScrolledWindow
2001 _windows_
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
2003 def PreVScrolledWindow(*args
, **kwargs
):
2004 """PreVScrolledWindow() -> VScrolledWindow"""
2005 val
= _windows_
.new_PreVScrolledWindow(*args
, **kwargs
)
2009 class VListBox(VScrolledWindow
):
2010 """Proxy of C++ VListBox class"""
2012 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2013 def __init__(self
, *args
, **kwargs
):
2015 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2016 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
2018 newobj
= _windows_
.new_VListBox(*args
, **kwargs
)
2019 self
.this
= newobj
.this
2022 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
2024 def _setCallbackInfo(*args
, **kwargs
):
2025 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2026 return _windows_
.VListBox__setCallbackInfo(*args
, **kwargs
)
2028 def Create(*args
, **kwargs
):
2030 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2031 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
2033 return _windows_
.VListBox_Create(*args
, **kwargs
)
2035 def GetItemCount(*args
, **kwargs
):
2036 """GetItemCount(self) -> size_t"""
2037 return _windows_
.VListBox_GetItemCount(*args
, **kwargs
)
2039 def HasMultipleSelection(*args
, **kwargs
):
2040 """HasMultipleSelection(self) -> bool"""
2041 return _windows_
.VListBox_HasMultipleSelection(*args
, **kwargs
)
2043 def GetSelection(*args
, **kwargs
):
2044 """GetSelection(self) -> int"""
2045 return _windows_
.VListBox_GetSelection(*args
, **kwargs
)
2047 def IsCurrent(*args
, **kwargs
):
2048 """IsCurrent(self, size_t item) -> bool"""
2049 return _windows_
.VListBox_IsCurrent(*args
, **kwargs
)
2051 def IsSelected(*args
, **kwargs
):
2052 """IsSelected(self, size_t item) -> bool"""
2053 return _windows_
.VListBox_IsSelected(*args
, **kwargs
)
2055 def GetSelectedCount(*args
, **kwargs
):
2056 """GetSelectedCount(self) -> size_t"""
2057 return _windows_
.VListBox_GetSelectedCount(*args
, **kwargs
)
2059 def GetFirstSelected(*args
, **kwargs
):
2060 """GetFirstSelected(self) -> PyObject"""
2061 return _windows_
.VListBox_GetFirstSelected(*args
, **kwargs
)
2063 def GetNextSelected(*args
, **kwargs
):
2064 """GetNextSelected(self, unsigned long cookie) -> PyObject"""
2065 return _windows_
.VListBox_GetNextSelected(*args
, **kwargs
)
2067 def GetMargins(*args
, **kwargs
):
2068 """GetMargins(self) -> Point"""
2069 return _windows_
.VListBox_GetMargins(*args
, **kwargs
)
2071 def GetSelectionBackground(*args
, **kwargs
):
2072 """GetSelectionBackground(self) -> Colour"""
2073 return _windows_
.VListBox_GetSelectionBackground(*args
, **kwargs
)
2075 def SetItemCount(*args
, **kwargs
):
2076 """SetItemCount(self, size_t count)"""
2077 return _windows_
.VListBox_SetItemCount(*args
, **kwargs
)
2079 def Clear(*args
, **kwargs
):
2081 return _windows_
.VListBox_Clear(*args
, **kwargs
)
2083 def SetSelection(*args
, **kwargs
):
2084 """SetSelection(self, int selection)"""
2085 return _windows_
.VListBox_SetSelection(*args
, **kwargs
)
2087 def Select(*args
, **kwargs
):
2088 """Select(self, size_t item, bool select=True) -> bool"""
2089 return _windows_
.VListBox_Select(*args
, **kwargs
)
2091 def SelectRange(*args
, **kwargs
):
2092 """SelectRange(self, size_t from, size_t to) -> bool"""
2093 return _windows_
.VListBox_SelectRange(*args
, **kwargs
)
2095 def Toggle(*args
, **kwargs
):
2096 """Toggle(self, size_t item)"""
2097 return _windows_
.VListBox_Toggle(*args
, **kwargs
)
2099 def SelectAll(*args
, **kwargs
):
2100 """SelectAll(self) -> bool"""
2101 return _windows_
.VListBox_SelectAll(*args
, **kwargs
)
2103 def DeselectAll(*args
, **kwargs
):
2104 """DeselectAll(self) -> bool"""
2105 return _windows_
.VListBox_DeselectAll(*args
, **kwargs
)
2107 def SetMargins(*args
, **kwargs
):
2108 """SetMargins(self, Point pt)"""
2109 return _windows_
.VListBox_SetMargins(*args
, **kwargs
)
2111 def SetMarginsXY(*args
, **kwargs
):
2112 """SetMarginsXY(self, int x, int y)"""
2113 return _windows_
.VListBox_SetMarginsXY(*args
, **kwargs
)
2115 def SetSelectionBackground(*args
, **kwargs
):
2116 """SetSelectionBackground(self, Colour col)"""
2117 return _windows_
.VListBox_SetSelectionBackground(*args
, **kwargs
)
2120 class VListBoxPtr(VListBox
):
2121 def __init__(self
, this
):
2123 if not hasattr(self
,"thisown"): self
.thisown
= 0
2124 self
.__class
__ = VListBox
2125 _windows_
.VListBox_swigregister(VListBoxPtr
)
2126 VListBoxNameStr
= cvar
.VListBoxNameStr
2128 def PreVListBox(*args
, **kwargs
):
2129 """PreVListBox() -> VListBox"""
2130 val
= _windows_
.new_PreVListBox(*args
, **kwargs
)
2134 class HtmlListBox(VListBox
):
2135 """Proxy of C++ HtmlListBox class"""
2137 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2138 def __init__(self
, *args
, **kwargs
):
2140 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2141 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
2143 newobj
= _windows_
.new_HtmlListBox(*args
, **kwargs
)
2144 self
.this
= newobj
.this
2147 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
2149 def _setCallbackInfo(*args
, **kwargs
):
2150 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2151 return _windows_
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
2153 def Create(*args
, **kwargs
):
2155 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2156 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
2158 return _windows_
.HtmlListBox_Create(*args
, **kwargs
)
2160 def RefreshAll(*args
, **kwargs
):
2161 """RefreshAll(self)"""
2162 return _windows_
.HtmlListBox_RefreshAll(*args
, **kwargs
)
2164 def SetItemCount(*args
, **kwargs
):
2165 """SetItemCount(self, size_t count)"""
2166 return _windows_
.HtmlListBox_SetItemCount(*args
, **kwargs
)
2168 def GetFileSystem(*args
, **kwargs
):
2169 """GetFileSystem(self) -> FileSystem"""
2170 return _windows_
.HtmlListBox_GetFileSystem(*args
, **kwargs
)
2173 class HtmlListBoxPtr(HtmlListBox
):
2174 def __init__(self
, this
):
2176 if not hasattr(self
,"thisown"): self
.thisown
= 0
2177 self
.__class
__ = HtmlListBox
2178 _windows_
.HtmlListBox_swigregister(HtmlListBoxPtr
)
2180 def PreHtmlListBox(*args
, **kwargs
):
2181 """PreHtmlListBox() -> HtmlListBox"""
2182 val
= _windows_
.new_PreHtmlListBox(*args
, **kwargs
)
2186 #---------------------------------------------------------------------------
2188 class TaskBarIcon(_core
.EvtHandler
):
2189 """Proxy of C++ TaskBarIcon class"""
2191 return "<%s.%s; proxy of C++ wxPyTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2192 def __init__(self
, *args
, **kwargs
):
2193 """__init__(self) -> TaskBarIcon"""
2194 newobj
= _windows_
.new_TaskBarIcon(*args
, **kwargs
)
2195 self
.this
= newobj
.this
2198 self
._setCallbackInfo
(self
, TaskBarIcon
, 0)
2200 def _setCallbackInfo(*args
, **kwargs
):
2201 """_setCallbackInfo(self, PyObject self, PyObject _class, int incref)"""
2202 return _windows_
.TaskBarIcon__setCallbackInfo(*args
, **kwargs
)
2204 def Destroy(*args
, **kwargs
):
2208 Deletes the C++ object this Python object is a proxy for.
2210 return _windows_
.TaskBarIcon_Destroy(*args
, **kwargs
)
2212 def IsOk(*args
, **kwargs
):
2213 """IsOk(self) -> bool"""
2214 return _windows_
.TaskBarIcon_IsOk(*args
, **kwargs
)
2216 def __nonzero__(self
): return self
.IsOk()
2217 def IsIconInstalled(*args
, **kwargs
):
2218 """IsIconInstalled(self) -> bool"""
2219 return _windows_
.TaskBarIcon_IsIconInstalled(*args
, **kwargs
)
2221 def SetIcon(*args
, **kwargs
):
2222 """SetIcon(self, Icon icon, String tooltip=EmptyString) -> bool"""
2223 return _windows_
.TaskBarIcon_SetIcon(*args
, **kwargs
)
2225 def RemoveIcon(*args
, **kwargs
):
2226 """RemoveIcon(self) -> bool"""
2227 return _windows_
.TaskBarIcon_RemoveIcon(*args
, **kwargs
)
2229 def PopupMenu(*args
, **kwargs
):
2230 """PopupMenu(self, Menu menu) -> bool"""
2231 return _windows_
.TaskBarIcon_PopupMenu(*args
, **kwargs
)
2234 class TaskBarIconPtr(TaskBarIcon
):
2235 def __init__(self
, this
):
2237 if not hasattr(self
,"thisown"): self
.thisown
= 0
2238 self
.__class
__ = TaskBarIcon
2239 _windows_
.TaskBarIcon_swigregister(TaskBarIconPtr
)
2241 class TaskBarIconEvent(_core
.Event
):
2242 """Proxy of C++ TaskBarIconEvent class"""
2244 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2245 def __init__(self
, *args
, **kwargs
):
2246 """__init__(self, wxEventType evtType, wxTaskBarIcon tbIcon) -> TaskBarIconEvent"""
2247 newobj
= _windows_
.new_TaskBarIconEvent(*args
, **kwargs
)
2248 self
.this
= newobj
.this
2252 class TaskBarIconEventPtr(TaskBarIconEvent
):
2253 def __init__(self
, this
):
2255 if not hasattr(self
,"thisown"): self
.thisown
= 0
2256 self
.__class
__ = TaskBarIconEvent
2257 _windows_
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
2259 wxEVT_TASKBAR_MOVE
= _windows_
.wxEVT_TASKBAR_MOVE
2260 wxEVT_TASKBAR_LEFT_DOWN
= _windows_
.wxEVT_TASKBAR_LEFT_DOWN
2261 wxEVT_TASKBAR_LEFT_UP
= _windows_
.wxEVT_TASKBAR_LEFT_UP
2262 wxEVT_TASKBAR_RIGHT_DOWN
= _windows_
.wxEVT_TASKBAR_RIGHT_DOWN
2263 wxEVT_TASKBAR_RIGHT_UP
= _windows_
.wxEVT_TASKBAR_RIGHT_UP
2264 wxEVT_TASKBAR_LEFT_DCLICK
= _windows_
.wxEVT_TASKBAR_LEFT_DCLICK
2265 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows_
.wxEVT_TASKBAR_RIGHT_DCLICK
2266 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
2267 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
2268 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
2269 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
2270 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
2271 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
2272 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
2274 #---------------------------------------------------------------------------
2276 class ColourData(_core
.Object
):
2278 This class holds a variety of information related to the colour
2279 chooser dialog, used to transfer settings and results to and from the
2283 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2284 def __init__(self
, *args
, **kwargs
):
2286 __init__(self) -> ColourData
2288 Constructor, sets default values.
2290 newobj
= _windows_
.new_ColourData(*args
, **kwargs
)
2291 self
.this
= newobj
.this
2294 def __del__(self
, destroy
=_windows_
.delete_ColourData
):
2297 if self
.thisown
: destroy(self
)
2300 def GetChooseFull(*args
, **kwargs
):
2302 GetChooseFull(self) -> bool
2304 Under Windows, determines whether the Windows colour dialog will
2305 display the full dialog with custom colour selection controls. Has no
2306 meaning under other platforms. The default value is true.
2308 return _windows_
.ColourData_GetChooseFull(*args
, **kwargs
)
2310 def GetColour(*args
, **kwargs
):
2312 GetColour(self) -> Colour
2314 Gets the colour (pre)selected by the dialog.
2316 return _windows_
.ColourData_GetColour(*args
, **kwargs
)
2318 def GetCustomColour(*args
, **kwargs
):
2320 GetCustomColour(self, int i) -> Colour
2322 Gets the i'th custom colour associated with the colour dialog. i
2323 should be an integer between 0 and 15. The default custom colours are
2324 all invalid colours.
2326 return _windows_
.ColourData_GetCustomColour(*args
, **kwargs
)
2328 def SetChooseFull(*args
, **kwargs
):
2330 SetChooseFull(self, int flag)
2332 Under Windows, tells the Windows colour dialog to display the full
2333 dialog with custom colour selection controls. Under other platforms,
2334 has no effect. The default value is true.
2336 return _windows_
.ColourData_SetChooseFull(*args
, **kwargs
)
2338 def SetColour(*args
, **kwargs
):
2340 SetColour(self, Colour colour)
2342 Sets the default colour for the colour dialog. The default colour is
2345 return _windows_
.ColourData_SetColour(*args
, **kwargs
)
2347 def SetCustomColour(*args
, **kwargs
):
2349 SetCustomColour(self, int i, Colour colour)
2351 Sets the i'th custom colour for the colour dialog. i should be an
2352 integer between 0 and 15. The default custom colours are all invalid colours.
2354 return _windows_
.ColourData_SetCustomColour(*args
, **kwargs
)
2357 class ColourDataPtr(ColourData
):
2358 def __init__(self
, this
):
2360 if not hasattr(self
,"thisown"): self
.thisown
= 0
2361 self
.__class
__ = ColourData
2362 _windows_
.ColourData_swigregister(ColourDataPtr
)
2363 FileSelectorPromptStr
= cvar
.FileSelectorPromptStr
2364 DirSelectorPromptStr
= cvar
.DirSelectorPromptStr
2365 DirDialogNameStr
= cvar
.DirDialogNameStr
2366 FileSelectorDefaultWildcardStr
= cvar
.FileSelectorDefaultWildcardStr
2367 GetTextFromUserPromptStr
= cvar
.GetTextFromUserPromptStr
2368 MessageBoxCaptionStr
= cvar
.MessageBoxCaptionStr
2370 class ColourDialog(Dialog
):
2371 """This class represents the colour chooser dialog."""
2373 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2374 def __init__(self
, *args
, **kwargs
):
2376 __init__(self, Window parent, ColourData data=None) -> ColourDialog
2378 Constructor. Pass a parent window, and optionally a `wx.ColourData`,
2379 which will be copied to the colour dialog's internal ColourData
2382 newobj
= _windows_
.new_ColourDialog(*args
, **kwargs
)
2383 self
.this
= newobj
.this
2386 self
._setOORInfo
(self
)
2388 def GetColourData(*args
, **kwargs
):
2390 GetColourData(self) -> ColourData
2392 Returns a reference to the `wx.ColourData` used by the dialog.
2394 return _windows_
.ColourDialog_GetColourData(*args
, **kwargs
)
2397 class ColourDialogPtr(ColourDialog
):
2398 def __init__(self
, this
):
2400 if not hasattr(self
,"thisown"): self
.thisown
= 0
2401 self
.__class
__ = ColourDialog
2402 _windows_
.ColourDialog_swigregister(ColourDialogPtr
)
2404 class DirDialog(Dialog
):
2406 wx.DirDialog allows the user to select a directory by browising the
2410 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2411 def __init__(self
, *args
, **kwargs
):
2413 __init__(self, Window parent, String message=DirSelectorPromptStr,
2414 String defaultPath=EmptyString, long style=0,
2415 Point pos=DefaultPosition, Size size=DefaultSize,
2416 String name=DirDialogNameStr) -> DirDialog
2418 Constructor. Use ShowModal method to show the dialog.
2420 newobj
= _windows_
.new_DirDialog(*args
, **kwargs
)
2421 self
.this
= newobj
.this
2424 self
._setOORInfo
(self
)
2426 def GetPath(*args
, **kwargs
):
2428 GetPath(self) -> String
2430 Returns the default or user-selected path.
2432 return _windows_
.DirDialog_GetPath(*args
, **kwargs
)
2434 def GetMessage(*args
, **kwargs
):
2436 GetMessage(self) -> String
2438 Returns the message that will be displayed on the dialog.
2440 return _windows_
.DirDialog_GetMessage(*args
, **kwargs
)
2442 def GetStyle(*args
, **kwargs
):
2444 GetStyle(self) -> long
2446 Returns the dialog style.
2448 return _windows_
.DirDialog_GetStyle(*args
, **kwargs
)
2450 def SetMessage(*args
, **kwargs
):
2452 SetMessage(self, String message)
2454 Sets the message that will be displayed on the dialog.
2456 return _windows_
.DirDialog_SetMessage(*args
, **kwargs
)
2458 def SetPath(*args
, **kwargs
):
2460 SetPath(self, String path)
2462 Sets the default path.
2464 return _windows_
.DirDialog_SetPath(*args
, **kwargs
)
2467 class DirDialogPtr(DirDialog
):
2468 def __init__(self
, this
):
2470 if not hasattr(self
,"thisown"): self
.thisown
= 0
2471 self
.__class
__ = DirDialog
2472 _windows_
.DirDialog_swigregister(DirDialogPtr
)
2474 class FileDialog(Dialog
):
2476 wx.FileDialog allows the user to select one or more files from the
2480 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2481 def __init__(self
, *args
, **kwargs
):
2483 __init__(self, Window parent, String message=FileSelectorPromptStr,
2484 String defaultDir=EmptyString, String defaultFile=EmptyString,
2485 String wildcard=FileSelectorDefaultWildcardStr,
2486 long style=0, Point pos=DefaultPosition) -> FileDialog
2488 Constructor. Use ShowModal method to show the dialog.
2490 newobj
= _windows_
.new_FileDialog(*args
, **kwargs
)
2491 self
.this
= newobj
.this
2494 self
._setOORInfo
(self
)
2496 def SetMessage(*args
, **kwargs
):
2498 SetMessage(self, String message)
2500 Sets the message that will be displayed on the dialog.
2502 return _windows_
.FileDialog_SetMessage(*args
, **kwargs
)
2504 def SetPath(*args
, **kwargs
):
2506 SetPath(self, String path)
2508 Sets the path (the combined directory and filename that will be
2509 returned when the dialog is dismissed).
2511 return _windows_
.FileDialog_SetPath(*args
, **kwargs
)
2513 def SetDirectory(*args
, **kwargs
):
2515 SetDirectory(self, String dir)
2517 Sets the default directory.
2519 return _windows_
.FileDialog_SetDirectory(*args
, **kwargs
)
2521 def SetFilename(*args
, **kwargs
):
2523 SetFilename(self, String name)
2525 Sets the default filename.
2527 return _windows_
.FileDialog_SetFilename(*args
, **kwargs
)
2529 def SetWildcard(*args
, **kwargs
):
2531 SetWildcard(self, String wildCard)
2533 Sets the wildcard, which can contain multiple file types, for
2536 "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
2539 return _windows_
.FileDialog_SetWildcard(*args
, **kwargs
)
2541 def SetStyle(*args
, **kwargs
):
2543 SetStyle(self, long style)
2545 Sets the dialog style.
2547 return _windows_
.FileDialog_SetStyle(*args
, **kwargs
)
2549 def SetFilterIndex(*args
, **kwargs
):
2551 SetFilterIndex(self, int filterIndex)
2553 Sets the default filter index, starting from zero.
2555 return _windows_
.FileDialog_SetFilterIndex(*args
, **kwargs
)
2557 def GetMessage(*args
, **kwargs
):
2559 GetMessage(self) -> String
2561 Returns the message that will be displayed on the dialog.
2563 return _windows_
.FileDialog_GetMessage(*args
, **kwargs
)
2565 def GetPath(*args
, **kwargs
):
2567 GetPath(self) -> String
2569 Returns the full path (directory and filename) of the selected file.
2571 return _windows_
.FileDialog_GetPath(*args
, **kwargs
)
2573 def GetDirectory(*args
, **kwargs
):
2575 GetDirectory(self) -> String
2577 Returns the default directory.
2579 return _windows_
.FileDialog_GetDirectory(*args
, **kwargs
)
2581 def GetFilename(*args
, **kwargs
):
2583 GetFilename(self) -> String
2585 Returns the default filename.
2587 return _windows_
.FileDialog_GetFilename(*args
, **kwargs
)
2589 def GetWildcard(*args
, **kwargs
):
2591 GetWildcard(self) -> String
2593 Returns the file dialog wildcard.
2595 return _windows_
.FileDialog_GetWildcard(*args
, **kwargs
)
2597 def GetStyle(*args
, **kwargs
):
2599 GetStyle(self) -> long
2601 Returns the dialog style.
2603 return _windows_
.FileDialog_GetStyle(*args
, **kwargs
)
2605 def GetFilterIndex(*args
, **kwargs
):
2607 GetFilterIndex(self) -> int
2609 Returns the index into the list of filters supplied, optionally, in
2610 the wildcard parameter. Before the dialog is shown, this is the index
2611 which will be used when the dialog is first displayed. After the
2612 dialog is shown, this is the index selected by the user.
2614 return _windows_
.FileDialog_GetFilterIndex(*args
, **kwargs
)
2616 def GetFilenames(*args
, **kwargs
):
2618 GetFilenames(self) -> PyObject
2620 Returns a list of filenames chosen in the dialog. This function
2621 should only be used with the dialogs which have wx.MULTIPLE style, use
2622 GetFilename for the others.
2624 return _windows_
.FileDialog_GetFilenames(*args
, **kwargs
)
2626 def GetPaths(*args
, **kwargs
):
2628 GetPaths(self) -> PyObject
2630 Fills the array paths with the full paths of the files chosen. This
2631 function should only be used with the dialogs which have wx.MULTIPLE
2632 style, use GetPath for the others.
2634 return _windows_
.FileDialog_GetPaths(*args
, **kwargs
)
2637 class FileDialogPtr(FileDialog
):
2638 def __init__(self
, this
):
2640 if not hasattr(self
,"thisown"): self
.thisown
= 0
2641 self
.__class
__ = FileDialog
2642 _windows_
.FileDialog_swigregister(FileDialogPtr
)
2644 CHOICEDLG_STYLE
= _windows_
.CHOICEDLG_STYLE
2645 class MultiChoiceDialog(Dialog
):
2646 """A simple dialog with a multi selection listbox."""
2648 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2649 def __init__(self
, *args
, **kwargs
):
2651 __init__(Window parent, String message, String caption,
2652 List choices=[], long style=CHOICEDLG_STYLE,
2653 Point pos=DefaultPosition) -> MultiChoiceDialog
2655 Constructor. Use ShowModal method to show the dialog.
2657 newobj
= _windows_
.new_MultiChoiceDialog(*args
, **kwargs
)
2658 self
.this
= newobj
.this
2661 self
._setOORInfo
(self
)
2663 def SetSelections(*args
, **kwargs
):
2665 SetSelections(List selections)
2667 Specify the items in the list that should be selected, using a list of
2670 return _windows_
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
2672 def GetSelections(*args
, **kwargs
):
2674 GetSelections() -> [selections]
2676 Returns a list of integers representing the items that are selected.
2678 return _windows_
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
2681 class MultiChoiceDialogPtr(MultiChoiceDialog
):
2682 def __init__(self
, this
):
2684 if not hasattr(self
,"thisown"): self
.thisown
= 0
2685 self
.__class
__ = MultiChoiceDialog
2686 _windows_
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
2688 class SingleChoiceDialog(Dialog
):
2689 """A simple dialog with a single selection listbox."""
2691 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2692 def __init__(self
, *args
, **kwargs
):
2694 __init__(Window parent, String message, String caption,
2695 List choices=[], long style=CHOICEDLG_STYLE,
2696 Point pos=DefaultPosition) -> SingleChoiceDialog
2698 Constructor. Use ShowModal method to show the dialog.
2700 newobj
= _windows_
.new_SingleChoiceDialog(*args
, **kwargs
)
2701 self
.this
= newobj
.this
2704 self
._setOORInfo
(self
)
2706 def GetSelection(*args
, **kwargs
):
2708 GetSelection(self) -> int
2710 Get the index of teh currently selected item.
2712 return _windows_
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
2714 def GetStringSelection(*args
, **kwargs
):
2716 GetStringSelection(self) -> String
2718 Returns the string value of the currently selected item
2720 return _windows_
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
2722 def SetSelection(*args
, **kwargs
):
2724 SetSelection(self, int sel)
2726 Set the current selected item to sel
2728 return _windows_
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
2731 class SingleChoiceDialogPtr(SingleChoiceDialog
):
2732 def __init__(self
, this
):
2734 if not hasattr(self
,"thisown"): self
.thisown
= 0
2735 self
.__class
__ = SingleChoiceDialog
2736 _windows_
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
2738 TextEntryDialogStyle
= _windows_
.TextEntryDialogStyle
2739 class TextEntryDialog(Dialog
):
2740 """A dialog with text control, [ok] and [cancel] buttons"""
2742 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2743 def __init__(self
, *args
, **kwargs
):
2745 __init__(self, Window parent, String message, String caption=GetTextFromUserPromptStr,
2746 String defaultValue=EmptyString,
2747 long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> TextEntryDialog
2749 Constructor. Use ShowModal method to show the dialog.
2751 newobj
= _windows_
.new_TextEntryDialog(*args
, **kwargs
)
2752 self
.this
= newobj
.this
2755 self
._setOORInfo
(self
)
2757 def GetValue(*args
, **kwargs
):
2759 GetValue(self) -> String
2761 Returns the text that the user has entered if the user has pressed OK,
2762 or the original value if the user has pressed Cancel.
2764 return _windows_
.TextEntryDialog_GetValue(*args
, **kwargs
)
2766 def SetValue(*args
, **kwargs
):
2768 SetValue(self, String value)
2770 Sets the default text value.
2772 return _windows_
.TextEntryDialog_SetValue(*args
, **kwargs
)
2775 class TextEntryDialogPtr(TextEntryDialog
):
2776 def __init__(self
, this
):
2778 if not hasattr(self
,"thisown"): self
.thisown
= 0
2779 self
.__class
__ = TextEntryDialog
2780 _windows_
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
2782 class PasswordEntryDialog(TextEntryDialog
):
2783 """Proxy of C++ PasswordEntryDialog class"""
2785 return "<%s.%s; proxy of C++ wxPasswordEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2786 def __init__(self
, *args
, **kwargs
):
2788 __init__(self, Window parent, String message, String caption=GetPasswordFromUserPromptStr,
2789 String value=EmptyString,
2790 long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> PasswordEntryDialog
2792 newobj
= _windows_
.new_PasswordEntryDialog(*args
, **kwargs
)
2793 self
.this
= newobj
.this
2797 class PasswordEntryDialogPtr(PasswordEntryDialog
):
2798 def __init__(self
, this
):
2800 if not hasattr(self
,"thisown"): self
.thisown
= 0
2801 self
.__class
__ = PasswordEntryDialog
2802 _windows_
.PasswordEntryDialog_swigregister(PasswordEntryDialogPtr
)
2803 GetPasswordFromUserPromptStr
= cvar
.GetPasswordFromUserPromptStr
2805 class FontData(_core
.Object
):
2807 This class holds a variety of information related to font dialogs and
2808 is used to transfer settings to and results from a `wx.FontDialog`.
2811 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2812 def __init__(self
, *args
, **kwargs
):
2814 __init__(self) -> FontData
2816 This class holds a variety of information related to font dialogs and
2817 is used to transfer settings to and results from a `wx.FontDialog`.
2819 newobj
= _windows_
.new_FontData(*args
, **kwargs
)
2820 self
.this
= newobj
.this
2823 def __del__(self
, destroy
=_windows_
.delete_FontData
):
2826 if self
.thisown
: destroy(self
)
2829 def EnableEffects(*args
, **kwargs
):
2831 EnableEffects(self, bool enable)
2833 Enables or disables 'effects' under MS Windows only. This refers to
2834 the controls for manipulating colour, strikeout and underline
2835 properties. The default value is true.
2837 return _windows_
.FontData_EnableEffects(*args
, **kwargs
)
2839 def GetAllowSymbols(*args
, **kwargs
):
2841 GetAllowSymbols(self) -> bool
2843 Under MS Windows, returns a flag determining whether symbol fonts can
2844 be selected. Has no effect on other platforms. The default value is
2847 return _windows_
.FontData_GetAllowSymbols(*args
, **kwargs
)
2849 def GetColour(*args
, **kwargs
):
2851 GetColour(self) -> Colour
2853 Gets the colour associated with the font dialog. The default value is
2856 return _windows_
.FontData_GetColour(*args
, **kwargs
)
2858 def GetChosenFont(*args
, **kwargs
):
2860 GetChosenFont(self) -> Font
2862 Gets the font chosen by the user.
2864 return _windows_
.FontData_GetChosenFont(*args
, **kwargs
)
2866 def GetEnableEffects(*args
, **kwargs
):
2868 GetEnableEffects(self) -> bool
2870 Determines whether 'effects' are enabled under Windows.
2872 return _windows_
.FontData_GetEnableEffects(*args
, **kwargs
)
2874 def GetInitialFont(*args
, **kwargs
):
2876 GetInitialFont(self) -> Font
2878 Gets the font that will be initially used by the font dialog. This
2879 should have previously been set by the application.
2881 return _windows_
.FontData_GetInitialFont(*args
, **kwargs
)
2883 def GetShowHelp(*args
, **kwargs
):
2885 GetShowHelp(self) -> bool
2887 Returns true if the Help button will be shown (Windows only). The
2888 default value is false.
2890 return _windows_
.FontData_GetShowHelp(*args
, **kwargs
)
2892 def SetAllowSymbols(*args
, **kwargs
):
2894 SetAllowSymbols(self, bool allowSymbols)
2896 Under MS Windows, determines whether symbol fonts can be selected. Has
2897 no effect on other platforms. The default value is true.
2899 return _windows_
.FontData_SetAllowSymbols(*args
, **kwargs
)
2901 def SetChosenFont(*args
, **kwargs
):
2903 SetChosenFont(self, Font font)
2905 Sets the font that will be returned to the user (normally for internal
2908 return _windows_
.FontData_SetChosenFont(*args
, **kwargs
)
2910 def SetColour(*args
, **kwargs
):
2912 SetColour(self, Colour colour)
2914 Sets the colour that will be used for the font foreground colour. The
2915 default colour is black.
2917 return _windows_
.FontData_SetColour(*args
, **kwargs
)
2919 def SetInitialFont(*args
, **kwargs
):
2921 SetInitialFont(self, Font font)
2923 Sets the font that will be initially used by the font dialog.
2925 return _windows_
.FontData_SetInitialFont(*args
, **kwargs
)
2927 def SetRange(*args
, **kwargs
):
2929 SetRange(self, int min, int max)
2931 Sets the valid range for the font point size (Windows only). The
2932 default is 0, 0 (unrestricted range).
2934 return _windows_
.FontData_SetRange(*args
, **kwargs
)
2936 def SetShowHelp(*args
, **kwargs
):
2938 SetShowHelp(self, bool showHelp)
2940 Determines whether the Help button will be displayed in the font
2941 dialog (Windows only). The default value is false.
2943 return _windows_
.FontData_SetShowHelp(*args
, **kwargs
)
2946 class FontDataPtr(FontData
):
2947 def __init__(self
, this
):
2949 if not hasattr(self
,"thisown"): self
.thisown
= 0
2950 self
.__class
__ = FontData
2951 _windows_
.FontData_swigregister(FontDataPtr
)
2953 class FontDialog(Dialog
):
2955 wx.FontDialog allows the user to select a system font and its attributes.
2961 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2962 def __init__(self
, *args
, **kwargs
):
2964 __init__(self, Window parent, FontData data) -> FontDialog
2966 Constructor. Pass a parent window and the `wx.FontData` object to be
2967 used to initialize the dialog controls. Call `ShowModal` to display
2968 the dialog. If ShowModal returns ``wx.ID_OK`` then you can fetch the
2969 results with via the `wx.FontData` returned by `GetFontData`.
2971 newobj
= _windows_
.new_FontDialog(*args
, **kwargs
)
2972 self
.this
= newobj
.this
2975 self
._setOORInfo
(self
)
2977 def GetFontData(*args
, **kwargs
):
2979 GetFontData(self) -> FontData
2981 Returns a reference to the internal `wx.FontData` used by the
2984 return _windows_
.FontDialog_GetFontData(*args
, **kwargs
)
2987 class FontDialogPtr(FontDialog
):
2988 def __init__(self
, this
):
2990 if not hasattr(self
,"thisown"): self
.thisown
= 0
2991 self
.__class
__ = FontDialog
2992 _windows_
.FontDialog_swigregister(FontDialogPtr
)
2994 class MessageDialog(Dialog
):
2996 This class provides a simple dialog that shows a single or multi-line
2997 message, with a choice of OK, Yes, No and/or Cancel buttons.
3000 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3001 def __init__(self
, *args
, **kwargs
):
3003 __init__(self, Window parent, String message, String caption=MessageBoxCaptionStr,
3004 long style=wxOK|wxCANCEL|wxCENTRE,
3005 Point pos=DefaultPosition) -> MessageDialog
3007 Constructor, use `ShowModal` to display the dialog.
3009 newobj
= _windows_
.new_MessageDialog(*args
, **kwargs
)
3010 self
.this
= newobj
.this
3013 self
._setOORInfo
(self
)
3016 class MessageDialogPtr(MessageDialog
):
3017 def __init__(self
, this
):
3019 if not hasattr(self
,"thisown"): self
.thisown
= 0
3020 self
.__class
__ = MessageDialog
3021 _windows_
.MessageDialog_swigregister(MessageDialogPtr
)
3023 class ProgressDialog(Frame
):
3025 A dialog that shows a short message and a progress bar. Optionally, it
3026 can display an ABORT button.
3029 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3030 def __init__(self
, *args
, **kwargs
):
3032 __init__(self, String title, String message, int maximum=100, Window parent=None,
3033 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
3035 Constructor. Creates the dialog, displays it and disables user input
3036 for other windows, or, if wx.PD_APP_MODAL flag is not given, for its
3039 newobj
= _windows_
.new_ProgressDialog(*args
, **kwargs
)
3040 self
.this
= newobj
.this
3043 self
._setOORInfo
(self
)
3045 def Update(*args
, **kwargs
):
3047 Update(self, int value, String newmsg=EmptyString) -> bool
3049 Updates the dialog, setting the progress bar to the new value and, if
3050 given changes the message above it. The value given should be less
3051 than or equal to the maximum value given to the constructor and the
3052 dialog is closed if it is equal to the maximum. Returns True unless
3053 the Cancel button has been pressed.
3055 If false is returned, the application can either immediately destroy
3056 the dialog or ask the user for the confirmation and if the abort is
3057 not confirmed the dialog may be resumed with Resume function.
3059 return _windows_
.ProgressDialog_Update(*args
, **kwargs
)
3061 def Resume(*args
, **kwargs
):
3065 Can be used to continue with the dialog, after the user had chosen to
3068 return _windows_
.ProgressDialog_Resume(*args
, **kwargs
)
3071 class ProgressDialogPtr(ProgressDialog
):
3072 def __init__(self
, this
):
3074 if not hasattr(self
,"thisown"): self
.thisown
= 0
3075 self
.__class
__ = ProgressDialog
3076 _windows_
.ProgressDialog_swigregister(ProgressDialogPtr
)
3078 FR_DOWN
= _windows_
.FR_DOWN
3079 FR_WHOLEWORD
= _windows_
.FR_WHOLEWORD
3080 FR_MATCHCASE
= _windows_
.FR_MATCHCASE
3081 FR_REPLACEDIALOG
= _windows_
.FR_REPLACEDIALOG
3082 FR_NOUPDOWN
= _windows_
.FR_NOUPDOWN
3083 FR_NOMATCHCASE
= _windows_
.FR_NOMATCHCASE
3084 FR_NOWHOLEWORD
= _windows_
.FR_NOWHOLEWORD
3085 wxEVT_COMMAND_FIND
= _windows_
.wxEVT_COMMAND_FIND
3086 wxEVT_COMMAND_FIND_NEXT
= _windows_
.wxEVT_COMMAND_FIND_NEXT
3087 wxEVT_COMMAND_FIND_REPLACE
= _windows_
.wxEVT_COMMAND_FIND_REPLACE
3088 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows_
.wxEVT_COMMAND_FIND_REPLACE_ALL
3089 wxEVT_COMMAND_FIND_CLOSE
= _windows_
.wxEVT_COMMAND_FIND_CLOSE
3090 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
3091 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
3092 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
3093 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
3094 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
3096 # For backwards compatibility. Should they be removed?
3097 EVT_COMMAND_FIND
= EVT_FIND
3098 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
3099 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
3100 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
3101 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
3103 class FindDialogEvent(_core
.CommandEvent
):
3104 """Events for the FindReplaceDialog"""
3106 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3107 def __init__(self
, *args
, **kwargs
):
3109 __init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent
3111 Events for the FindReplaceDialog
3113 newobj
= _windows_
.new_FindDialogEvent(*args
, **kwargs
)
3114 self
.this
= newobj
.this
3117 def GetFlags(*args
, **kwargs
):
3119 GetFlags(self) -> int
3121 Get the currently selected flags: this is the combination of
3122 wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.
3124 return _windows_
.FindDialogEvent_GetFlags(*args
, **kwargs
)
3126 def GetFindString(*args
, **kwargs
):
3128 GetFindString(self) -> String
3130 Return the string to find (never empty).
3132 return _windows_
.FindDialogEvent_GetFindString(*args
, **kwargs
)
3134 def GetReplaceString(*args
, **kwargs
):
3136 GetReplaceString(self) -> String
3138 Return the string to replace the search string with (only for replace
3139 and replace all events).
3141 return _windows_
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
3143 def GetDialog(*args
, **kwargs
):
3145 GetDialog(self) -> FindReplaceDialog
3147 Return the pointer to the dialog which generated this event.
3149 return _windows_
.FindDialogEvent_GetDialog(*args
, **kwargs
)
3151 def SetFlags(*args
, **kwargs
):
3152 """SetFlags(self, int flags)"""
3153 return _windows_
.FindDialogEvent_SetFlags(*args
, **kwargs
)
3155 def SetFindString(*args
, **kwargs
):
3156 """SetFindString(self, String str)"""
3157 return _windows_
.FindDialogEvent_SetFindString(*args
, **kwargs
)
3159 def SetReplaceString(*args
, **kwargs
):
3160 """SetReplaceString(self, String str)"""
3161 return _windows_
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
3164 class FindDialogEventPtr(FindDialogEvent
):
3165 def __init__(self
, this
):
3167 if not hasattr(self
,"thisown"): self
.thisown
= 0
3168 self
.__class
__ = FindDialogEvent
3169 _windows_
.FindDialogEvent_swigregister(FindDialogEventPtr
)
3171 class FindReplaceData(_core
.Object
):
3173 wx.FindReplaceData holds the data for wx.FindReplaceDialog. It is used
3174 to initialize the dialog with the default values and will keep the
3175 last values from the dialog when it is closed. It is also updated each
3176 time a `wx.FindDialogEvent` is generated so instead of using the
3177 `wx.FindDialogEvent` methods you can also directly query this object.
3179 Note that all SetXXX() methods may only be called before showing the
3180 dialog and calling them has no effect later.
3183 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3184 def __init__(self
, *args
, **kwargs
):
3186 __init__(self, int flags=0) -> FindReplaceData
3188 Constuctor initializes the flags to default value (0).
3190 newobj
= _windows_
.new_FindReplaceData(*args
, **kwargs
)
3191 self
.this
= newobj
.this
3194 def __del__(self
, destroy
=_windows_
.delete_FindReplaceData
):
3197 if self
.thisown
: destroy(self
)
3200 def GetFindString(*args
, **kwargs
):
3202 GetFindString(self) -> String
3204 Get the string to find.
3206 return _windows_
.FindReplaceData_GetFindString(*args
, **kwargs
)
3208 def GetReplaceString(*args
, **kwargs
):
3210 GetReplaceString(self) -> String
3212 Get the replacement string.
3214 return _windows_
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
3216 def GetFlags(*args
, **kwargs
):
3218 GetFlags(self) -> int
3220 Get the combination of flag values.
3222 return _windows_
.FindReplaceData_GetFlags(*args
, **kwargs
)
3224 def SetFlags(*args
, **kwargs
):
3226 SetFlags(self, int flags)
3228 Set the flags to use to initialize the controls of the dialog.
3230 return _windows_
.FindReplaceData_SetFlags(*args
, **kwargs
)
3232 def SetFindString(*args
, **kwargs
):
3234 SetFindString(self, String str)
3236 Set the string to find (used as initial value by the dialog).
3238 return _windows_
.FindReplaceData_SetFindString(*args
, **kwargs
)
3240 def SetReplaceString(*args
, **kwargs
):
3242 SetReplaceString(self, String str)
3244 Set the replacement string (used as initial value by the dialog).
3246 return _windows_
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
3249 class FindReplaceDataPtr(FindReplaceData
):
3250 def __init__(self
, this
):
3252 if not hasattr(self
,"thisown"): self
.thisown
= 0
3253 self
.__class
__ = FindReplaceData
3254 _windows_
.FindReplaceData_swigregister(FindReplaceDataPtr
)
3256 class FindReplaceDialog(Dialog
):
3258 wx.FindReplaceDialog is a standard modeless dialog which is used to
3259 allow the user to search for some text (and possibly replace it with
3260 something else). The actual searching is supposed to be done in the
3261 owner window which is the parent of this dialog. Note that it means
3262 that unlike for the other standard dialogs this one must have a parent
3263 window. Also note that there is no way to use this dialog in a modal
3264 way; it is always, by design and implementation, modeless.
3267 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3268 def __init__(self
, *args
, **kwargs
):
3270 __init__(self, Window parent, FindReplaceData data, String title,
3271 int style=0) -> FindReplaceDialog
3273 Create a FindReplaceDialog. The parent and data parameters must be
3274 non-None. Use Show to display the dialog.
3276 newobj
= _windows_
.new_FindReplaceDialog(*args
, **kwargs
)
3277 self
.this
= newobj
.this
3280 self
._setOORInfo
(self
)
3282 def Create(*args
, **kwargs
):
3284 Create(self, Window parent, FindReplaceData data, String title,
3285 int style=0) -> bool
3287 Create the dialog, for 2-phase create.
3289 return _windows_
.FindReplaceDialog_Create(*args
, **kwargs
)
3291 def GetData(*args
, **kwargs
):
3293 GetData(self) -> FindReplaceData
3295 Get the FindReplaceData object used by this dialog.
3297 return _windows_
.FindReplaceDialog_GetData(*args
, **kwargs
)
3299 def SetData(*args
, **kwargs
):
3301 SetData(self, FindReplaceData data)
3303 Set the FindReplaceData object used by this dialog.
3305 return _windows_
.FindReplaceDialog_SetData(*args
, **kwargs
)
3308 class FindReplaceDialogPtr(FindReplaceDialog
):
3309 def __init__(self
, this
):
3311 if not hasattr(self
,"thisown"): self
.thisown
= 0
3312 self
.__class
__ = FindReplaceDialog
3313 _windows_
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
3315 def PreFindReplaceDialog(*args
, **kwargs
):
3317 PreFindReplaceDialog() -> FindReplaceDialog
3319 Precreate a FindReplaceDialog for 2-phase creation
3321 val
= _windows_
.new_PreFindReplaceDialog(*args
, **kwargs
)
3325 #---------------------------------------------------------------------------
3327 IDM_WINDOWTILE
= _windows_
.IDM_WINDOWTILE
3328 IDM_WINDOWTILEHOR
= _windows_
.IDM_WINDOWTILEHOR
3329 IDM_WINDOWCASCADE
= _windows_
.IDM_WINDOWCASCADE
3330 IDM_WINDOWICONS
= _windows_
.IDM_WINDOWICONS
3331 IDM_WINDOWNEXT
= _windows_
.IDM_WINDOWNEXT
3332 IDM_WINDOWTILEVERT
= _windows_
.IDM_WINDOWTILEVERT
3333 IDM_WINDOWPREV
= _windows_
.IDM_WINDOWPREV
3334 FIRST_MDI_CHILD
= _windows_
.FIRST_MDI_CHILD
3335 LAST_MDI_CHILD
= _windows_
.LAST_MDI_CHILD
3336 class MDIParentFrame(Frame
):
3337 """Proxy of C++ MDIParentFrame class"""
3339 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3340 def __init__(self
, *args
, **kwargs
):
3342 __init__(self, Window parent, int id=-1, String title=EmptyString,
3343 Point pos=DefaultPosition, Size size=DefaultSize,
3344 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3345 String name=FrameNameStr) -> MDIParentFrame
3347 newobj
= _windows_
.new_MDIParentFrame(*args
, **kwargs
)
3348 self
.this
= newobj
.this
3351 self
._setOORInfo
(self
)
3353 def Create(*args
, **kwargs
):
3355 Create(self, Window parent, int id=-1, String title=EmptyString,
3356 Point pos=DefaultPosition, Size size=DefaultSize,
3357 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3358 String name=FrameNameStr) -> bool
3360 return _windows_
.MDIParentFrame_Create(*args
, **kwargs
)
3362 def ActivateNext(*args
, **kwargs
):
3363 """ActivateNext(self)"""
3364 return _windows_
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
3366 def ActivatePrevious(*args
, **kwargs
):
3367 """ActivatePrevious(self)"""
3368 return _windows_
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
3370 def ArrangeIcons(*args
, **kwargs
):
3371 """ArrangeIcons(self)"""
3372 return _windows_
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
3374 def Cascade(*args
, **kwargs
):
3376 return _windows_
.MDIParentFrame_Cascade(*args
, **kwargs
)
3378 def GetActiveChild(*args
, **kwargs
):
3379 """GetActiveChild(self) -> MDIChildFrame"""
3380 return _windows_
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
3382 def GetClientWindow(*args
, **kwargs
):
3383 """GetClientWindow(self) -> MDIClientWindow"""
3384 return _windows_
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
3386 def GetToolBar(*args
, **kwargs
):
3387 """GetToolBar(self) -> Window"""
3388 return _windows_
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
3390 def Tile(*args
, **kwargs
):
3391 """Tile(self, int orient=HORIZONTAL)"""
3392 return _windows_
.MDIParentFrame_Tile(*args
, **kwargs
)
3395 class MDIParentFramePtr(MDIParentFrame
):
3396 def __init__(self
, this
):
3398 if not hasattr(self
,"thisown"): self
.thisown
= 0
3399 self
.__class
__ = MDIParentFrame
3400 _windows_
.MDIParentFrame_swigregister(MDIParentFramePtr
)
3402 def PreMDIParentFrame(*args
, **kwargs
):
3403 """PreMDIParentFrame() -> MDIParentFrame"""
3404 val
= _windows_
.new_PreMDIParentFrame(*args
, **kwargs
)
3408 class MDIChildFrame(Frame
):
3409 """Proxy of C++ MDIChildFrame class"""
3411 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3412 def __init__(self
, *args
, **kwargs
):
3414 __init__(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3415 Point pos=DefaultPosition, Size size=DefaultSize,
3416 long style=DEFAULT_FRAME_STYLE,
3417 String name=FrameNameStr) -> MDIChildFrame
3419 newobj
= _windows_
.new_MDIChildFrame(*args
, **kwargs
)
3420 self
.this
= newobj
.this
3423 self
._setOORInfo
(self
)
3425 def Create(*args
, **kwargs
):
3427 Create(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3428 Point pos=DefaultPosition, Size size=DefaultSize,
3429 long style=DEFAULT_FRAME_STYLE,
3430 String name=FrameNameStr) -> bool
3432 return _windows_
.MDIChildFrame_Create(*args
, **kwargs
)
3434 def Activate(*args
, **kwargs
):
3435 """Activate(self)"""
3436 return _windows_
.MDIChildFrame_Activate(*args
, **kwargs
)
3438 def Maximize(*args
, **kwargs
):
3439 """Maximize(self, bool maximize=True)"""
3440 return _windows_
.MDIChildFrame_Maximize(*args
, **kwargs
)
3442 def Restore(*args
, **kwargs
):
3444 return _windows_
.MDIChildFrame_Restore(*args
, **kwargs
)
3447 class MDIChildFramePtr(MDIChildFrame
):
3448 def __init__(self
, this
):
3450 if not hasattr(self
,"thisown"): self
.thisown
= 0
3451 self
.__class
__ = MDIChildFrame
3452 _windows_
.MDIChildFrame_swigregister(MDIChildFramePtr
)
3454 def PreMDIChildFrame(*args
, **kwargs
):
3455 """PreMDIChildFrame() -> MDIChildFrame"""
3456 val
= _windows_
.new_PreMDIChildFrame(*args
, **kwargs
)
3460 class MDIClientWindow(_core
.Window
):
3461 """Proxy of C++ MDIClientWindow class"""
3463 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3464 def __init__(self
, *args
, **kwargs
):
3465 """__init__(self, MDIParentFrame parent, long style=0) -> MDIClientWindow"""
3466 newobj
= _windows_
.new_MDIClientWindow(*args
, **kwargs
)
3467 self
.this
= newobj
.this
3470 self
._setOORInfo
(self
)
3472 def Create(*args
, **kwargs
):
3473 """Create(self, MDIParentFrame parent, long style=0) -> bool"""
3474 return _windows_
.MDIClientWindow_Create(*args
, **kwargs
)
3477 class MDIClientWindowPtr(MDIClientWindow
):
3478 def __init__(self
, this
):
3480 if not hasattr(self
,"thisown"): self
.thisown
= 0
3481 self
.__class
__ = MDIClientWindow
3482 _windows_
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
3484 def PreMDIClientWindow(*args
, **kwargs
):
3485 """PreMDIClientWindow() -> MDIClientWindow"""
3486 val
= _windows_
.new_PreMDIClientWindow(*args
, **kwargs
)
3490 #---------------------------------------------------------------------------
3492 class PyWindow(_core
.Window
):
3493 """Proxy of C++ PyWindow class"""
3495 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3496 def __init__(self
, *args
, **kwargs
):
3498 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3499 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyWindow
3501 newobj
= _windows_
.new_PyWindow(*args
, **kwargs
)
3502 self
.this
= newobj
.this
3505 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
3507 def _setCallbackInfo(*args
, **kwargs
):
3508 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3509 return _windows_
.PyWindow__setCallbackInfo(*args
, **kwargs
)
3511 def SetBestSize(*args
, **kwargs
):
3512 """SetBestSize(self, Size size)"""
3513 return _windows_
.PyWindow_SetBestSize(*args
, **kwargs
)
3515 def base_DoMoveWindow(*args
, **kwargs
):
3516 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3517 return _windows_
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
3519 def base_DoSetSize(*args
, **kwargs
):
3520 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3521 return _windows_
.PyWindow_base_DoSetSize(*args
, **kwargs
)
3523 def base_DoSetClientSize(*args
, **kwargs
):
3524 """base_DoSetClientSize(self, int width, int height)"""
3525 return _windows_
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
3527 def base_DoSetVirtualSize(*args
, **kwargs
):
3528 """base_DoSetVirtualSize(self, int x, int y)"""
3529 return _windows_
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
3531 def base_DoGetSize(*args
, **kwargs
):
3532 """base_DoGetSize() -> (width, height)"""
3533 return _windows_
.PyWindow_base_DoGetSize(*args
, **kwargs
)
3535 def base_DoGetClientSize(*args
, **kwargs
):
3536 """base_DoGetClientSize() -> (width, height)"""
3537 return _windows_
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
3539 def base_DoGetPosition(*args
, **kwargs
):
3540 """base_DoGetPosition() -> (x,y)"""
3541 return _windows_
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
3543 def base_DoGetVirtualSize(*args
, **kwargs
):
3544 """base_DoGetVirtualSize(self) -> Size"""
3545 return _windows_
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
3547 def base_DoGetBestSize(*args
, **kwargs
):
3548 """base_DoGetBestSize(self) -> Size"""
3549 return _windows_
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
3551 def base_InitDialog(*args
, **kwargs
):
3552 """base_InitDialog(self)"""
3553 return _windows_
.PyWindow_base_InitDialog(*args
, **kwargs
)
3555 def base_TransferDataToWindow(*args
, **kwargs
):
3556 """base_TransferDataToWindow(self) -> bool"""
3557 return _windows_
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
3559 def base_TransferDataFromWindow(*args
, **kwargs
):
3560 """base_TransferDataFromWindow(self) -> bool"""
3561 return _windows_
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
3563 def base_Validate(*args
, **kwargs
):
3564 """base_Validate(self) -> bool"""
3565 return _windows_
.PyWindow_base_Validate(*args
, **kwargs
)
3567 def base_AcceptsFocus(*args
, **kwargs
):
3568 """base_AcceptsFocus(self) -> bool"""
3569 return _windows_
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
3571 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3572 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3573 return _windows_
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3575 def base_GetMaxSize(*args
, **kwargs
):
3576 """base_GetMaxSize(self) -> Size"""
3577 return _windows_
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
3579 def base_AddChild(*args
, **kwargs
):
3580 """base_AddChild(self, Window child)"""
3581 return _windows_
.PyWindow_base_AddChild(*args
, **kwargs
)
3583 def base_RemoveChild(*args
, **kwargs
):
3584 """base_RemoveChild(self, Window child)"""
3585 return _windows_
.PyWindow_base_RemoveChild(*args
, **kwargs
)
3587 def base_ShouldInheritColours(*args
, **kwargs
):
3588 """base_ShouldInheritColours(self) -> bool"""
3589 return _windows_
.PyWindow_base_ShouldInheritColours(*args
, **kwargs
)
3591 def base_GetDefaultAttributes(*args
, **kwargs
):
3592 """base_GetDefaultAttributes(self) -> VisualAttributes"""
3593 return _windows_
.PyWindow_base_GetDefaultAttributes(*args
, **kwargs
)
3596 class PyWindowPtr(PyWindow
):
3597 def __init__(self
, this
):
3599 if not hasattr(self
,"thisown"): self
.thisown
= 0
3600 self
.__class
__ = PyWindow
3601 _windows_
.PyWindow_swigregister(PyWindowPtr
)
3603 def PrePyWindow(*args
, **kwargs
):
3604 """PrePyWindow() -> PyWindow"""
3605 val
= _windows_
.new_PrePyWindow(*args
, **kwargs
)
3609 class PyPanel(Panel
):
3610 """Proxy of C++ PyPanel class"""
3612 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3613 def __init__(self
, *args
, **kwargs
):
3615 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3616 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyPanel
3618 newobj
= _windows_
.new_PyPanel(*args
, **kwargs
)
3619 self
.this
= newobj
.this
3622 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3624 def _setCallbackInfo(*args
, **kwargs
):
3625 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3626 return _windows_
.PyPanel__setCallbackInfo(*args
, **kwargs
)
3628 def SetBestSize(*args
, **kwargs
):
3629 """SetBestSize(self, Size size)"""
3630 return _windows_
.PyPanel_SetBestSize(*args
, **kwargs
)
3632 def base_DoMoveWindow(*args
, **kwargs
):
3633 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3634 return _windows_
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
3636 def base_DoSetSize(*args
, **kwargs
):
3637 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3638 return _windows_
.PyPanel_base_DoSetSize(*args
, **kwargs
)
3640 def base_DoSetClientSize(*args
, **kwargs
):
3641 """base_DoSetClientSize(self, int width, int height)"""
3642 return _windows_
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
3644 def base_DoSetVirtualSize(*args
, **kwargs
):
3645 """base_DoSetVirtualSize(self, int x, int y)"""
3646 return _windows_
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
3648 def base_DoGetSize(*args
, **kwargs
):
3649 """base_DoGetSize() -> (width, height)"""
3650 return _windows_
.PyPanel_base_DoGetSize(*args
, **kwargs
)
3652 def base_DoGetClientSize(*args
, **kwargs
):
3653 """base_DoGetClientSize() -> (width, height)"""
3654 return _windows_
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
3656 def base_DoGetPosition(*args
, **kwargs
):
3657 """base_DoGetPosition() -> (x,y)"""
3658 return _windows_
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
3660 def base_DoGetVirtualSize(*args
, **kwargs
):
3661 """base_DoGetVirtualSize(self) -> Size"""
3662 return _windows_
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
3664 def base_DoGetBestSize(*args
, **kwargs
):
3665 """base_DoGetBestSize(self) -> Size"""
3666 return _windows_
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
3668 def base_InitDialog(*args
, **kwargs
):
3669 """base_InitDialog(self)"""
3670 return _windows_
.PyPanel_base_InitDialog(*args
, **kwargs
)
3672 def base_TransferDataToWindow(*args
, **kwargs
):
3673 """base_TransferDataToWindow(self) -> bool"""
3674 return _windows_
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
3676 def base_TransferDataFromWindow(*args
, **kwargs
):
3677 """base_TransferDataFromWindow(self) -> bool"""
3678 return _windows_
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
3680 def base_Validate(*args
, **kwargs
):
3681 """base_Validate(self) -> bool"""
3682 return _windows_
.PyPanel_base_Validate(*args
, **kwargs
)
3684 def base_AcceptsFocus(*args
, **kwargs
):
3685 """base_AcceptsFocus(self) -> bool"""
3686 return _windows_
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
3688 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3689 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3690 return _windows_
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3692 def base_GetMaxSize(*args
, **kwargs
):
3693 """base_GetMaxSize(self) -> Size"""
3694 return _windows_
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
3696 def base_AddChild(*args
, **kwargs
):
3697 """base_AddChild(self, Window child)"""
3698 return _windows_
.PyPanel_base_AddChild(*args
, **kwargs
)
3700 def base_RemoveChild(*args
, **kwargs
):
3701 """base_RemoveChild(self, Window child)"""
3702 return _windows_
.PyPanel_base_RemoveChild(*args
, **kwargs
)
3704 def base_ShouldInheritColours(*args
, **kwargs
):
3705 """base_ShouldInheritColours(self) -> bool"""
3706 return _windows_
.PyPanel_base_ShouldInheritColours(*args
, **kwargs
)
3708 def base_GetDefaultAttributes(*args
, **kwargs
):
3709 """base_GetDefaultAttributes(self) -> VisualAttributes"""
3710 return _windows_
.PyPanel_base_GetDefaultAttributes(*args
, **kwargs
)
3713 class PyPanelPtr(PyPanel
):
3714 def __init__(self
, this
):
3716 if not hasattr(self
,"thisown"): self
.thisown
= 0
3717 self
.__class
__ = PyPanel
3718 _windows_
.PyPanel_swigregister(PyPanelPtr
)
3720 def PrePyPanel(*args
, **kwargs
):
3721 """PrePyPanel() -> PyPanel"""
3722 val
= _windows_
.new_PrePyPanel(*args
, **kwargs
)
3726 class PyScrolledWindow(ScrolledWindow
):
3727 """Proxy of C++ PyScrolledWindow class"""
3729 return "<%s.%s; proxy of C++ wxPyScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3730 def __init__(self
, *args
, **kwargs
):
3732 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3733 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyScrolledWindow
3735 newobj
= _windows_
.new_PyScrolledWindow(*args
, **kwargs
)
3736 self
.this
= newobj
.this
3739 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3741 def _setCallbackInfo(*args
, **kwargs
):
3742 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3743 return _windows_
.PyScrolledWindow__setCallbackInfo(*args
, **kwargs
)
3745 def SetBestSize(*args
, **kwargs
):
3746 """SetBestSize(self, Size size)"""
3747 return _windows_
.PyScrolledWindow_SetBestSize(*args
, **kwargs
)
3749 def base_DoMoveWindow(*args
, **kwargs
):
3750 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3751 return _windows_
.PyScrolledWindow_base_DoMoveWindow(*args
, **kwargs
)
3753 def base_DoSetSize(*args
, **kwargs
):
3754 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3755 return _windows_
.PyScrolledWindow_base_DoSetSize(*args
, **kwargs
)
3757 def base_DoSetClientSize(*args
, **kwargs
):
3758 """base_DoSetClientSize(self, int width, int height)"""
3759 return _windows_
.PyScrolledWindow_base_DoSetClientSize(*args
, **kwargs
)
3761 def base_DoSetVirtualSize(*args
, **kwargs
):
3762 """base_DoSetVirtualSize(self, int x, int y)"""
3763 return _windows_
.PyScrolledWindow_base_DoSetVirtualSize(*args
, **kwargs
)
3765 def base_DoGetSize(*args
, **kwargs
):
3766 """base_DoGetSize() -> (width, height)"""
3767 return _windows_
.PyScrolledWindow_base_DoGetSize(*args
, **kwargs
)
3769 def base_DoGetClientSize(*args
, **kwargs
):
3770 """base_DoGetClientSize() -> (width, height)"""
3771 return _windows_
.PyScrolledWindow_base_DoGetClientSize(*args
, **kwargs
)
3773 def base_DoGetPosition(*args
, **kwargs
):
3774 """base_DoGetPosition() -> (x,y)"""
3775 return _windows_
.PyScrolledWindow_base_DoGetPosition(*args
, **kwargs
)
3777 def base_DoGetVirtualSize(*args
, **kwargs
):
3778 """base_DoGetVirtualSize(self) -> Size"""
3779 return _windows_
.PyScrolledWindow_base_DoGetVirtualSize(*args
, **kwargs
)
3781 def base_DoGetBestSize(*args
, **kwargs
):
3782 """base_DoGetBestSize(self) -> Size"""
3783 return _windows_
.PyScrolledWindow_base_DoGetBestSize(*args
, **kwargs
)
3785 def base_InitDialog(*args
, **kwargs
):
3786 """base_InitDialog(self)"""
3787 return _windows_
.PyScrolledWindow_base_InitDialog(*args
, **kwargs
)
3789 def base_TransferDataToWindow(*args
, **kwargs
):
3790 """base_TransferDataToWindow(self) -> bool"""
3791 return _windows_
.PyScrolledWindow_base_TransferDataToWindow(*args
, **kwargs
)
3793 def base_TransferDataFromWindow(*args
, **kwargs
):
3794 """base_TransferDataFromWindow(self) -> bool"""
3795 return _windows_
.PyScrolledWindow_base_TransferDataFromWindow(*args
, **kwargs
)
3797 def base_Validate(*args
, **kwargs
):
3798 """base_Validate(self) -> bool"""
3799 return _windows_
.PyScrolledWindow_base_Validate(*args
, **kwargs
)
3801 def base_AcceptsFocus(*args
, **kwargs
):
3802 """base_AcceptsFocus(self) -> bool"""
3803 return _windows_
.PyScrolledWindow_base_AcceptsFocus(*args
, **kwargs
)
3805 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3806 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3807 return _windows_
.PyScrolledWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3809 def base_GetMaxSize(*args
, **kwargs
):
3810 """base_GetMaxSize(self) -> Size"""
3811 return _windows_
.PyScrolledWindow_base_GetMaxSize(*args
, **kwargs
)
3813 def base_AddChild(*args
, **kwargs
):
3814 """base_AddChild(self, Window child)"""
3815 return _windows_
.PyScrolledWindow_base_AddChild(*args
, **kwargs
)
3817 def base_RemoveChild(*args
, **kwargs
):
3818 """base_RemoveChild(self, Window child)"""
3819 return _windows_
.PyScrolledWindow_base_RemoveChild(*args
, **kwargs
)
3821 def base_ShouldInheritColours(*args
, **kwargs
):
3822 """base_ShouldInheritColours(self) -> bool"""
3823 return _windows_
.PyScrolledWindow_base_ShouldInheritColours(*args
, **kwargs
)
3825 def base_GetDefaultAttributes(*args
, **kwargs
):
3826 """base_GetDefaultAttributes(self) -> VisualAttributes"""
3827 return _windows_
.PyScrolledWindow_base_GetDefaultAttributes(*args
, **kwargs
)
3830 class PyScrolledWindowPtr(PyScrolledWindow
):
3831 def __init__(self
, this
):
3833 if not hasattr(self
,"thisown"): self
.thisown
= 0
3834 self
.__class
__ = PyScrolledWindow
3835 _windows_
.PyScrolledWindow_swigregister(PyScrolledWindowPtr
)
3837 def PrePyScrolledWindow(*args
, **kwargs
):
3838 """PrePyScrolledWindow() -> PyScrolledWindow"""
3839 val
= _windows_
.new_PrePyScrolledWindow(*args
, **kwargs
)
3843 #---------------------------------------------------------------------------
3845 PRINT_MODE_NONE
= _windows_
.PRINT_MODE_NONE
3846 PRINT_MODE_PREVIEW
= _windows_
.PRINT_MODE_PREVIEW
3847 PRINT_MODE_FILE
= _windows_
.PRINT_MODE_FILE
3848 PRINT_MODE_PRINTER
= _windows_
.PRINT_MODE_PRINTER
3849 PRINT_MODE_STREAM
= _windows_
.PRINT_MODE_STREAM
3850 PRINTBIN_DEFAULT
= _windows_
.PRINTBIN_DEFAULT
3851 PRINTBIN_ONLYONE
= _windows_
.PRINTBIN_ONLYONE
3852 PRINTBIN_LOWER
= _windows_
.PRINTBIN_LOWER
3853 PRINTBIN_MIDDLE
= _windows_
.PRINTBIN_MIDDLE
3854 PRINTBIN_MANUAL
= _windows_
.PRINTBIN_MANUAL
3855 PRINTBIN_ENVELOPE
= _windows_
.PRINTBIN_ENVELOPE
3856 PRINTBIN_ENVMANUAL
= _windows_
.PRINTBIN_ENVMANUAL
3857 PRINTBIN_AUTO
= _windows_
.PRINTBIN_AUTO
3858 PRINTBIN_TRACTOR
= _windows_
.PRINTBIN_TRACTOR
3859 PRINTBIN_SMALLFMT
= _windows_
.PRINTBIN_SMALLFMT
3860 PRINTBIN_LARGEFMT
= _windows_
.PRINTBIN_LARGEFMT
3861 PRINTBIN_LARGECAPACITY
= _windows_
.PRINTBIN_LARGECAPACITY
3862 PRINTBIN_CASSETTE
= _windows_
.PRINTBIN_CASSETTE
3863 PRINTBIN_FORMSOURCE
= _windows_
.PRINTBIN_FORMSOURCE
3864 PRINTBIN_USER
= _windows_
.PRINTBIN_USER
3865 class PrintData(_core
.Object
):
3866 """Proxy of C++ PrintData class"""
3868 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3869 def __init__(self
, *args
):
3871 __init__(self) -> PrintData
3872 __init__(self, PrintData data) -> PrintData
3874 newobj
= _windows_
.new_PrintData(*args
)
3875 self
.this
= newobj
.this
3878 def __del__(self
, destroy
=_windows_
.delete_PrintData
):
3881 if self
.thisown
: destroy(self
)
3884 def GetNoCopies(*args
, **kwargs
):
3885 """GetNoCopies(self) -> int"""
3886 return _windows_
.PrintData_GetNoCopies(*args
, **kwargs
)
3888 def GetCollate(*args
, **kwargs
):
3889 """GetCollate(self) -> bool"""
3890 return _windows_
.PrintData_GetCollate(*args
, **kwargs
)
3892 def GetOrientation(*args
, **kwargs
):
3893 """GetOrientation(self) -> int"""
3894 return _windows_
.PrintData_GetOrientation(*args
, **kwargs
)
3896 def Ok(*args
, **kwargs
):
3897 """Ok(self) -> bool"""
3898 return _windows_
.PrintData_Ok(*args
, **kwargs
)
3900 def GetPrinterName(*args
, **kwargs
):
3901 """GetPrinterName(self) -> String"""
3902 return _windows_
.PrintData_GetPrinterName(*args
, **kwargs
)
3904 def GetColour(*args
, **kwargs
):
3905 """GetColour(self) -> bool"""
3906 return _windows_
.PrintData_GetColour(*args
, **kwargs
)
3908 def GetDuplex(*args
, **kwargs
):
3909 """GetDuplex(self) -> int"""
3910 return _windows_
.PrintData_GetDuplex(*args
, **kwargs
)
3912 def GetPaperId(*args
, **kwargs
):
3913 """GetPaperId(self) -> int"""
3914 return _windows_
.PrintData_GetPaperId(*args
, **kwargs
)
3916 def GetPaperSize(*args
, **kwargs
):
3917 """GetPaperSize(self) -> Size"""
3918 return _windows_
.PrintData_GetPaperSize(*args
, **kwargs
)
3920 def GetQuality(*args
, **kwargs
):
3921 """GetQuality(self) -> int"""
3922 return _windows_
.PrintData_GetQuality(*args
, **kwargs
)
3924 def GetBin(*args
, **kwargs
):
3925 """GetBin(self) -> int"""
3926 return _windows_
.PrintData_GetBin(*args
, **kwargs
)
3928 def GetPrintMode(*args
, **kwargs
):
3929 """GetPrintMode(self) -> int"""
3930 return _windows_
.PrintData_GetPrintMode(*args
, **kwargs
)
3932 def SetNoCopies(*args
, **kwargs
):
3933 """SetNoCopies(self, int v)"""
3934 return _windows_
.PrintData_SetNoCopies(*args
, **kwargs
)
3936 def SetCollate(*args
, **kwargs
):
3937 """SetCollate(self, bool flag)"""
3938 return _windows_
.PrintData_SetCollate(*args
, **kwargs
)
3940 def SetOrientation(*args
, **kwargs
):
3941 """SetOrientation(self, int orient)"""
3942 return _windows_
.PrintData_SetOrientation(*args
, **kwargs
)
3944 def SetPrinterName(*args
, **kwargs
):
3945 """SetPrinterName(self, String name)"""
3946 return _windows_
.PrintData_SetPrinterName(*args
, **kwargs
)
3948 def SetColour(*args
, **kwargs
):
3949 """SetColour(self, bool colour)"""
3950 return _windows_
.PrintData_SetColour(*args
, **kwargs
)
3952 def SetDuplex(*args
, **kwargs
):
3953 """SetDuplex(self, int duplex)"""
3954 return _windows_
.PrintData_SetDuplex(*args
, **kwargs
)
3956 def SetPaperId(*args
, **kwargs
):
3957 """SetPaperId(self, int sizeId)"""
3958 return _windows_
.PrintData_SetPaperId(*args
, **kwargs
)
3960 def SetPaperSize(*args
, **kwargs
):
3961 """SetPaperSize(self, Size sz)"""
3962 return _windows_
.PrintData_SetPaperSize(*args
, **kwargs
)
3964 def SetQuality(*args
, **kwargs
):
3965 """SetQuality(self, int quality)"""
3966 return _windows_
.PrintData_SetQuality(*args
, **kwargs
)
3968 def SetBin(*args
, **kwargs
):
3969 """SetBin(self, int bin)"""
3970 return _windows_
.PrintData_SetBin(*args
, **kwargs
)
3972 def SetPrintMode(*args
, **kwargs
):
3973 """SetPrintMode(self, int printMode)"""
3974 return _windows_
.PrintData_SetPrintMode(*args
, **kwargs
)
3976 def GetFilename(*args
, **kwargs
):
3977 """GetFilename(self) -> String"""
3978 return _windows_
.PrintData_GetFilename(*args
, **kwargs
)
3980 def SetFilename(*args
, **kwargs
):
3981 """SetFilename(self, String filename)"""
3982 return _windows_
.PrintData_SetFilename(*args
, **kwargs
)
3984 def __nonzero__(self
): return self
.Ok()
3985 def GetPrivData(*args
, **kwargs
):
3986 """GetPrivData(self) -> PyObject"""
3987 return _windows_
.PrintData_GetPrivData(*args
, **kwargs
)
3989 def SetPrivData(*args
, **kwargs
):
3990 """SetPrivData(self, PyObject data)"""
3991 return _windows_
.PrintData_SetPrivData(*args
, **kwargs
)
3993 def GetPrinterCommand(*args
, **kwargs
):
3994 """GetPrinterCommand(self) -> String"""
3995 return _windows_
.PrintData_GetPrinterCommand(*args
, **kwargs
)
3997 def GetPrinterOptions(*args
, **kwargs
):
3998 """GetPrinterOptions(self) -> String"""
3999 return _windows_
.PrintData_GetPrinterOptions(*args
, **kwargs
)
4001 def GetPreviewCommand(*args
, **kwargs
):
4002 """GetPreviewCommand(self) -> String"""
4003 return _windows_
.PrintData_GetPreviewCommand(*args
, **kwargs
)
4005 def GetFontMetricPath(*args
, **kwargs
):
4006 """GetFontMetricPath(self) -> String"""
4007 return _windows_
.PrintData_GetFontMetricPath(*args
, **kwargs
)
4009 def GetPrinterScaleX(*args
, **kwargs
):
4010 """GetPrinterScaleX(self) -> double"""
4011 return _windows_
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
4013 def GetPrinterScaleY(*args
, **kwargs
):
4014 """GetPrinterScaleY(self) -> double"""
4015 return _windows_
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
4017 def GetPrinterTranslateX(*args
, **kwargs
):
4018 """GetPrinterTranslateX(self) -> long"""
4019 return _windows_
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
4021 def GetPrinterTranslateY(*args
, **kwargs
):
4022 """GetPrinterTranslateY(self) -> long"""
4023 return _windows_
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
4025 def SetPrinterCommand(*args
, **kwargs
):
4026 """SetPrinterCommand(self, String command)"""
4027 return _windows_
.PrintData_SetPrinterCommand(*args
, **kwargs
)
4029 def SetPrinterOptions(*args
, **kwargs
):
4030 """SetPrinterOptions(self, String options)"""
4031 return _windows_
.PrintData_SetPrinterOptions(*args
, **kwargs
)
4033 def SetPreviewCommand(*args
, **kwargs
):
4034 """SetPreviewCommand(self, String command)"""
4035 return _windows_
.PrintData_SetPreviewCommand(*args
, **kwargs
)
4037 def SetFontMetricPath(*args
, **kwargs
):
4038 """SetFontMetricPath(self, String path)"""
4039 return _windows_
.PrintData_SetFontMetricPath(*args
, **kwargs
)
4041 def SetPrinterScaleX(*args
, **kwargs
):
4042 """SetPrinterScaleX(self, double x)"""
4043 return _windows_
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
4045 def SetPrinterScaleY(*args
, **kwargs
):
4046 """SetPrinterScaleY(self, double y)"""
4047 return _windows_
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
4049 def SetPrinterScaling(*args
, **kwargs
):
4050 """SetPrinterScaling(self, double x, double y)"""
4051 return _windows_
.PrintData_SetPrinterScaling(*args
, **kwargs
)
4053 def SetPrinterTranslateX(*args
, **kwargs
):
4054 """SetPrinterTranslateX(self, long x)"""
4055 return _windows_
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
4057 def SetPrinterTranslateY(*args
, **kwargs
):
4058 """SetPrinterTranslateY(self, long y)"""
4059 return _windows_
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
4061 def SetPrinterTranslation(*args
, **kwargs
):
4062 """SetPrinterTranslation(self, long x, long y)"""
4063 return _windows_
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
4066 class PrintDataPtr(PrintData
):
4067 def __init__(self
, this
):
4069 if not hasattr(self
,"thisown"): self
.thisown
= 0
4070 self
.__class
__ = PrintData
4071 _windows_
.PrintData_swigregister(PrintDataPtr
)
4072 PrintoutTitleStr
= cvar
.PrintoutTitleStr
4073 PreviewCanvasNameStr
= cvar
.PreviewCanvasNameStr
4075 class PageSetupDialogData(_core
.Object
):
4076 """Proxy of C++ PageSetupDialogData class"""
4078 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4079 def __init__(self
, *args
):
4081 __init__(self) -> PageSetupDialogData
4082 __init__(self, PageSetupDialogData data) -> PageSetupDialogData
4083 __init__(self, PrintData data) -> PageSetupDialogData
4085 newobj
= _windows_
.new_PageSetupDialogData(*args
)
4086 self
.this
= newobj
.this
4089 def __del__(self
, destroy
=_windows_
.delete_PageSetupDialogData
):
4092 if self
.thisown
: destroy(self
)
4095 def EnableHelp(*args
, **kwargs
):
4096 """EnableHelp(self, bool flag)"""
4097 return _windows_
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
4099 def EnableMargins(*args
, **kwargs
):
4100 """EnableMargins(self, bool flag)"""
4101 return _windows_
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
4103 def EnableOrientation(*args
, **kwargs
):
4104 """EnableOrientation(self, bool flag)"""
4105 return _windows_
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
4107 def EnablePaper(*args
, **kwargs
):
4108 """EnablePaper(self, bool flag)"""
4109 return _windows_
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
4111 def EnablePrinter(*args
, **kwargs
):
4112 """EnablePrinter(self, bool flag)"""
4113 return _windows_
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
4115 def GetDefaultMinMargins(*args
, **kwargs
):
4116 """GetDefaultMinMargins(self) -> bool"""
4117 return _windows_
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
4119 def GetEnableMargins(*args
, **kwargs
):
4120 """GetEnableMargins(self) -> bool"""
4121 return _windows_
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
4123 def GetEnableOrientation(*args
, **kwargs
):
4124 """GetEnableOrientation(self) -> bool"""
4125 return _windows_
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
4127 def GetEnablePaper(*args
, **kwargs
):
4128 """GetEnablePaper(self) -> bool"""
4129 return _windows_
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
4131 def GetEnablePrinter(*args
, **kwargs
):
4132 """GetEnablePrinter(self) -> bool"""
4133 return _windows_
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
4135 def GetEnableHelp(*args
, **kwargs
):
4136 """GetEnableHelp(self) -> bool"""
4137 return _windows_
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
4139 def GetDefaultInfo(*args
, **kwargs
):
4140 """GetDefaultInfo(self) -> bool"""
4141 return _windows_
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
4143 def GetMarginTopLeft(*args
, **kwargs
):
4144 """GetMarginTopLeft(self) -> Point"""
4145 return _windows_
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
4147 def GetMarginBottomRight(*args
, **kwargs
):
4148 """GetMarginBottomRight(self) -> Point"""
4149 return _windows_
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
4151 def GetMinMarginTopLeft(*args
, **kwargs
):
4152 """GetMinMarginTopLeft(self) -> Point"""
4153 return _windows_
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
4155 def GetMinMarginBottomRight(*args
, **kwargs
):
4156 """GetMinMarginBottomRight(self) -> Point"""
4157 return _windows_
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
4159 def GetPaperId(*args
, **kwargs
):
4160 """GetPaperId(self) -> int"""
4161 return _windows_
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
4163 def GetPaperSize(*args
, **kwargs
):
4164 """GetPaperSize(self) -> Size"""
4165 return _windows_
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
4167 def GetPrintData(*args
, **kwargs
):
4168 """GetPrintData(self) -> PrintData"""
4169 return _windows_
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
4171 def Ok(*args
, **kwargs
):
4172 """Ok(self) -> bool"""
4173 return _windows_
.PageSetupDialogData_Ok(*args
, **kwargs
)
4175 def SetDefaultInfo(*args
, **kwargs
):
4176 """SetDefaultInfo(self, bool flag)"""
4177 return _windows_
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
4179 def SetDefaultMinMargins(*args
, **kwargs
):
4180 """SetDefaultMinMargins(self, bool flag)"""
4181 return _windows_
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
4183 def SetMarginTopLeft(*args
, **kwargs
):
4184 """SetMarginTopLeft(self, Point pt)"""
4185 return _windows_
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
4187 def SetMarginBottomRight(*args
, **kwargs
):
4188 """SetMarginBottomRight(self, Point pt)"""
4189 return _windows_
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
4191 def SetMinMarginTopLeft(*args
, **kwargs
):
4192 """SetMinMarginTopLeft(self, Point pt)"""
4193 return _windows_
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
4195 def SetMinMarginBottomRight(*args
, **kwargs
):
4196 """SetMinMarginBottomRight(self, Point pt)"""
4197 return _windows_
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
4199 def SetPaperId(*args
, **kwargs
):
4200 """SetPaperId(self, int id)"""
4201 return _windows_
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
4203 def SetPaperSize(*args
, **kwargs
):
4204 """SetPaperSize(self, Size size)"""
4205 return _windows_
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
4207 def SetPrintData(*args
, **kwargs
):
4208 """SetPrintData(self, PrintData printData)"""
4209 return _windows_
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
4211 def CalculateIdFromPaperSize(*args
, **kwargs
):
4212 """CalculateIdFromPaperSize(self)"""
4213 return _windows_
.PageSetupDialogData_CalculateIdFromPaperSize(*args
, **kwargs
)
4215 def CalculatePaperSizeFromId(*args
, **kwargs
):
4216 """CalculatePaperSizeFromId(self)"""
4217 return _windows_
.PageSetupDialogData_CalculatePaperSizeFromId(*args
, **kwargs
)
4219 def __nonzero__(self
): return self
.Ok()
4221 class PageSetupDialogDataPtr(PageSetupDialogData
):
4222 def __init__(self
, this
):
4224 if not hasattr(self
,"thisown"): self
.thisown
= 0
4225 self
.__class
__ = PageSetupDialogData
4226 _windows_
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
4228 class PageSetupDialog(_core
.Object
):
4229 """Proxy of C++ PageSetupDialog class"""
4231 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4232 def __init__(self
, *args
, **kwargs
):
4233 """__init__(self, Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
4234 newobj
= _windows_
.new_PageSetupDialog(*args
, **kwargs
)
4235 self
.this
= newobj
.this
4238 def GetPageSetupData(*args
, **kwargs
):
4239 """GetPageSetupData(self) -> PageSetupDialogData"""
4240 return _windows_
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
4242 def GetPageSetupDialogData(*args
, **kwargs
):
4243 """GetPageSetupDialogData(self) -> PageSetupDialogData"""
4244 return _windows_
.PageSetupDialog_GetPageSetupDialogData(*args
, **kwargs
)
4246 def ShowModal(*args
, **kwargs
):
4247 """ShowModal(self) -> int"""
4248 return _windows_
.PageSetupDialog_ShowModal(*args
, **kwargs
)
4251 class PageSetupDialogPtr(PageSetupDialog
):
4252 def __init__(self
, this
):
4254 if not hasattr(self
,"thisown"): self
.thisown
= 0
4255 self
.__class
__ = PageSetupDialog
4256 _windows_
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
4258 class PrintDialogData(_core
.Object
):
4259 """Proxy of C++ PrintDialogData class"""
4261 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4262 def __init__(self
, *args
):
4264 __init__(self) -> PrintDialogData
4265 __init__(self, PrintData printData) -> PrintDialogData
4266 __init__(self, PrintDialogData printData) -> PrintDialogData
4268 newobj
= _windows_
.new_PrintDialogData(*args
)
4269 self
.this
= newobj
.this
4272 def __del__(self
, destroy
=_windows_
.delete_PrintDialogData
):
4275 if self
.thisown
: destroy(self
)
4278 def GetFromPage(*args
, **kwargs
):
4279 """GetFromPage(self) -> int"""
4280 return _windows_
.PrintDialogData_GetFromPage(*args
, **kwargs
)
4282 def GetToPage(*args
, **kwargs
):
4283 """GetToPage(self) -> int"""
4284 return _windows_
.PrintDialogData_GetToPage(*args
, **kwargs
)
4286 def GetMinPage(*args
, **kwargs
):
4287 """GetMinPage(self) -> int"""
4288 return _windows_
.PrintDialogData_GetMinPage(*args
, **kwargs
)
4290 def GetMaxPage(*args
, **kwargs
):
4291 """GetMaxPage(self) -> int"""
4292 return _windows_
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
4294 def GetNoCopies(*args
, **kwargs
):
4295 """GetNoCopies(self) -> int"""
4296 return _windows_
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
4298 def GetAllPages(*args
, **kwargs
):
4299 """GetAllPages(self) -> bool"""
4300 return _windows_
.PrintDialogData_GetAllPages(*args
, **kwargs
)
4302 def GetSelection(*args
, **kwargs
):
4303 """GetSelection(self) -> bool"""
4304 return _windows_
.PrintDialogData_GetSelection(*args
, **kwargs
)
4306 def GetCollate(*args
, **kwargs
):
4307 """GetCollate(self) -> bool"""
4308 return _windows_
.PrintDialogData_GetCollate(*args
, **kwargs
)
4310 def GetPrintToFile(*args
, **kwargs
):
4311 """GetPrintToFile(self) -> bool"""
4312 return _windows_
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
4314 def GetSetupDialog(*args
, **kwargs
):
4315 """GetSetupDialog(self) -> bool"""
4316 return _windows_
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
4318 def SetSetupDialog(*args
, **kwargs
):
4319 """SetSetupDialog(self, bool flag)"""
4320 return _windows_
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
4322 def SetFromPage(*args
, **kwargs
):
4323 """SetFromPage(self, int v)"""
4324 return _windows_
.PrintDialogData_SetFromPage(*args
, **kwargs
)
4326 def SetToPage(*args
, **kwargs
):
4327 """SetToPage(self, int v)"""
4328 return _windows_
.PrintDialogData_SetToPage(*args
, **kwargs
)
4330 def SetMinPage(*args
, **kwargs
):
4331 """SetMinPage(self, int v)"""
4332 return _windows_
.PrintDialogData_SetMinPage(*args
, **kwargs
)
4334 def SetMaxPage(*args
, **kwargs
):
4335 """SetMaxPage(self, int v)"""
4336 return _windows_
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
4338 def SetNoCopies(*args
, **kwargs
):
4339 """SetNoCopies(self, int v)"""
4340 return _windows_
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
4342 def SetAllPages(*args
, **kwargs
):
4343 """SetAllPages(self, bool flag)"""
4344 return _windows_
.PrintDialogData_SetAllPages(*args
, **kwargs
)
4346 def SetSelection(*args
, **kwargs
):
4347 """SetSelection(self, bool flag)"""
4348 return _windows_
.PrintDialogData_SetSelection(*args
, **kwargs
)
4350 def SetCollate(*args
, **kwargs
):
4351 """SetCollate(self, bool flag)"""
4352 return _windows_
.PrintDialogData_SetCollate(*args
, **kwargs
)
4354 def SetPrintToFile(*args
, **kwargs
):
4355 """SetPrintToFile(self, bool flag)"""
4356 return _windows_
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
4358 def EnablePrintToFile(*args
, **kwargs
):
4359 """EnablePrintToFile(self, bool flag)"""
4360 return _windows_
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
4362 def EnableSelection(*args
, **kwargs
):
4363 """EnableSelection(self, bool flag)"""
4364 return _windows_
.PrintDialogData_EnableSelection(*args
, **kwargs
)
4366 def EnablePageNumbers(*args
, **kwargs
):
4367 """EnablePageNumbers(self, bool flag)"""
4368 return _windows_
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
4370 def EnableHelp(*args
, **kwargs
):
4371 """EnableHelp(self, bool flag)"""
4372 return _windows_
.PrintDialogData_EnableHelp(*args
, **kwargs
)
4374 def GetEnablePrintToFile(*args
, **kwargs
):
4375 """GetEnablePrintToFile(self) -> bool"""
4376 return _windows_
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
4378 def GetEnableSelection(*args
, **kwargs
):
4379 """GetEnableSelection(self) -> bool"""
4380 return _windows_
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
4382 def GetEnablePageNumbers(*args
, **kwargs
):
4383 """GetEnablePageNumbers(self) -> bool"""
4384 return _windows_
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
4386 def GetEnableHelp(*args
, **kwargs
):
4387 """GetEnableHelp(self) -> bool"""
4388 return _windows_
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
4390 def Ok(*args
, **kwargs
):
4391 """Ok(self) -> bool"""
4392 return _windows_
.PrintDialogData_Ok(*args
, **kwargs
)
4394 def GetPrintData(*args
, **kwargs
):
4395 """GetPrintData(self) -> PrintData"""
4396 return _windows_
.PrintDialogData_GetPrintData(*args
, **kwargs
)
4398 def SetPrintData(*args
, **kwargs
):
4399 """SetPrintData(self, PrintData printData)"""
4400 return _windows_
.PrintDialogData_SetPrintData(*args
, **kwargs
)
4402 def __nonzero__(self
): return self
.Ok()
4404 class PrintDialogDataPtr(PrintDialogData
):
4405 def __init__(self
, this
):
4407 if not hasattr(self
,"thisown"): self
.thisown
= 0
4408 self
.__class
__ = PrintDialogData
4409 _windows_
.PrintDialogData_swigregister(PrintDialogDataPtr
)
4411 class PrintDialog(_core
.Object
):
4412 """Proxy of C++ PrintDialog class"""
4414 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4415 def __init__(self
, *args
, **kwargs
):
4416 """__init__(self, Window parent, PrintDialogData data=None) -> PrintDialog"""
4417 newobj
= _windows_
.new_PrintDialog(*args
, **kwargs
)
4418 self
.this
= newobj
.this
4421 def ShowModal(*args
, **kwargs
):
4422 """ShowModal(self) -> int"""
4423 return _windows_
.PrintDialog_ShowModal(*args
, **kwargs
)
4425 def GetPrintDialogData(*args
, **kwargs
):
4426 """GetPrintDialogData(self) -> PrintDialogData"""
4427 return _windows_
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
4429 def GetPrintData(*args
, **kwargs
):
4430 """GetPrintData(self) -> PrintData"""
4431 return _windows_
.PrintDialog_GetPrintData(*args
, **kwargs
)
4433 def GetPrintDC(*args
, **kwargs
):
4434 """GetPrintDC(self) -> DC"""
4435 return _windows_
.PrintDialog_GetPrintDC(*args
, **kwargs
)
4438 class PrintDialogPtr(PrintDialog
):
4439 def __init__(self
, this
):
4441 if not hasattr(self
,"thisown"): self
.thisown
= 0
4442 self
.__class
__ = PrintDialog
4443 _windows_
.PrintDialog_swigregister(PrintDialogPtr
)
4445 PRINTER_NO_ERROR
= _windows_
.PRINTER_NO_ERROR
4446 PRINTER_CANCELLED
= _windows_
.PRINTER_CANCELLED
4447 PRINTER_ERROR
= _windows_
.PRINTER_ERROR
4448 class Printer(_core
.Object
):
4449 """Proxy of C++ Printer class"""
4451 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4452 def __init__(self
, *args
, **kwargs
):
4453 """__init__(self, PrintDialogData data=None) -> Printer"""
4454 newobj
= _windows_
.new_Printer(*args
, **kwargs
)
4455 self
.this
= newobj
.this
4458 def __del__(self
, destroy
=_windows_
.delete_Printer
):
4461 if self
.thisown
: destroy(self
)
4464 def CreateAbortWindow(*args
, **kwargs
):
4465 """CreateAbortWindow(self, Window parent, Printout printout) -> Window"""
4466 return _windows_
.Printer_CreateAbortWindow(*args
, **kwargs
)
4468 def ReportError(*args
, **kwargs
):
4469 """ReportError(self, Window parent, Printout printout, String message)"""
4470 return _windows_
.Printer_ReportError(*args
, **kwargs
)
4472 def Setup(*args
, **kwargs
):
4473 """Setup(self, Window parent) -> bool"""
4474 return _windows_
.Printer_Setup(*args
, **kwargs
)
4476 def Print(*args
, **kwargs
):
4477 """Print(self, Window parent, Printout printout, bool prompt=True) -> bool"""
4478 return _windows_
.Printer_Print(*args
, **kwargs
)
4480 def PrintDialog(*args
, **kwargs
):
4481 """PrintDialog(self, Window parent) -> DC"""
4482 return _windows_
.Printer_PrintDialog(*args
, **kwargs
)
4484 def GetPrintDialogData(*args
, **kwargs
):
4485 """GetPrintDialogData(self) -> PrintDialogData"""
4486 return _windows_
.Printer_GetPrintDialogData(*args
, **kwargs
)
4488 def GetAbort(*args
, **kwargs
):
4489 """GetAbort(self) -> bool"""
4490 return _windows_
.Printer_GetAbort(*args
, **kwargs
)
4492 def GetLastError(*args
, **kwargs
):
4493 """GetLastError() -> int"""
4494 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4496 GetLastError
= staticmethod(GetLastError
)
4498 class PrinterPtr(Printer
):
4499 def __init__(self
, this
):
4501 if not hasattr(self
,"thisown"): self
.thisown
= 0
4502 self
.__class
__ = Printer
4503 _windows_
.Printer_swigregister(PrinterPtr
)
4505 def Printer_GetLastError(*args
, **kwargs
):
4506 """Printer_GetLastError() -> int"""
4507 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4509 class Printout(_core
.Object
):
4510 """Proxy of C++ Printout class"""
4512 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4513 def __init__(self
, *args
, **kwargs
):
4514 """__init__(self, String title=PrintoutTitleStr) -> Printout"""
4515 newobj
= _windows_
.new_Printout(*args
, **kwargs
)
4516 self
.this
= newobj
.this
4519 self
._setCallbackInfo
(self
, Printout
)
4521 def _setCallbackInfo(*args
, **kwargs
):
4522 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4523 return _windows_
.Printout__setCallbackInfo(*args
, **kwargs
)
4525 def GetTitle(*args
, **kwargs
):
4526 """GetTitle(self) -> String"""
4527 return _windows_
.Printout_GetTitle(*args
, **kwargs
)
4529 def GetDC(*args
, **kwargs
):
4530 """GetDC(self) -> DC"""
4531 return _windows_
.Printout_GetDC(*args
, **kwargs
)
4533 def SetDC(*args
, **kwargs
):
4534 """SetDC(self, DC dc)"""
4535 return _windows_
.Printout_SetDC(*args
, **kwargs
)
4537 def SetPageSizePixels(*args
, **kwargs
):
4538 """SetPageSizePixels(self, int w, int h)"""
4539 return _windows_
.Printout_SetPageSizePixels(*args
, **kwargs
)
4541 def GetPageSizePixels(*args
, **kwargs
):
4542 """GetPageSizePixels() -> (w, h)"""
4543 return _windows_
.Printout_GetPageSizePixels(*args
, **kwargs
)
4545 def SetPageSizeMM(*args
, **kwargs
):
4546 """SetPageSizeMM(self, int w, int h)"""
4547 return _windows_
.Printout_SetPageSizeMM(*args
, **kwargs
)
4549 def GetPageSizeMM(*args
, **kwargs
):
4550 """GetPageSizeMM() -> (w, h)"""
4551 return _windows_
.Printout_GetPageSizeMM(*args
, **kwargs
)
4553 def SetPPIScreen(*args
, **kwargs
):
4554 """SetPPIScreen(self, int x, int y)"""
4555 return _windows_
.Printout_SetPPIScreen(*args
, **kwargs
)
4557 def GetPPIScreen(*args
, **kwargs
):
4558 """GetPPIScreen() -> (x,y)"""
4559 return _windows_
.Printout_GetPPIScreen(*args
, **kwargs
)
4561 def SetPPIPrinter(*args
, **kwargs
):
4562 """SetPPIPrinter(self, int x, int y)"""
4563 return _windows_
.Printout_SetPPIPrinter(*args
, **kwargs
)
4565 def GetPPIPrinter(*args
, **kwargs
):
4566 """GetPPIPrinter() -> (x,y)"""
4567 return _windows_
.Printout_GetPPIPrinter(*args
, **kwargs
)
4569 def IsPreview(*args
, **kwargs
):
4570 """IsPreview(self) -> bool"""
4571 return _windows_
.Printout_IsPreview(*args
, **kwargs
)
4573 def SetIsPreview(*args
, **kwargs
):
4574 """SetIsPreview(self, bool p)"""
4575 return _windows_
.Printout_SetIsPreview(*args
, **kwargs
)
4577 def base_OnBeginDocument(*args
, **kwargs
):
4578 """base_OnBeginDocument(self, int startPage, int endPage) -> bool"""
4579 return _windows_
.Printout_base_OnBeginDocument(*args
, **kwargs
)
4581 def base_OnEndDocument(*args
, **kwargs
):
4582 """base_OnEndDocument(self)"""
4583 return _windows_
.Printout_base_OnEndDocument(*args
, **kwargs
)
4585 def base_OnBeginPrinting(*args
, **kwargs
):
4586 """base_OnBeginPrinting(self)"""
4587 return _windows_
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
4589 def base_OnEndPrinting(*args
, **kwargs
):
4590 """base_OnEndPrinting(self)"""
4591 return _windows_
.Printout_base_OnEndPrinting(*args
, **kwargs
)
4593 def base_OnPreparePrinting(*args
, **kwargs
):
4594 """base_OnPreparePrinting(self)"""
4595 return _windows_
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
4597 def base_HasPage(*args
, **kwargs
):
4598 """base_HasPage(self, int page) -> bool"""
4599 return _windows_
.Printout_base_HasPage(*args
, **kwargs
)
4601 def base_GetPageInfo(*args
, **kwargs
):
4602 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
4603 return _windows_
.Printout_base_GetPageInfo(*args
, **kwargs
)
4606 class PrintoutPtr(Printout
):
4607 def __init__(self
, this
):
4609 if not hasattr(self
,"thisown"): self
.thisown
= 0
4610 self
.__class
__ = Printout
4611 _windows_
.Printout_swigregister(PrintoutPtr
)
4613 class PreviewCanvas(ScrolledWindow
):
4614 """Proxy of C++ PreviewCanvas class"""
4616 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4617 def __init__(self
, *args
, **kwargs
):
4619 __init__(self, PrintPreview preview, Window parent, Point pos=DefaultPosition,
4620 Size size=DefaultSize, long style=0,
4621 String name=PreviewCanvasNameStr) -> PreviewCanvas
4623 newobj
= _windows_
.new_PreviewCanvas(*args
, **kwargs
)
4624 self
.this
= newobj
.this
4627 self
._setOORInfo
(self
)
4630 class PreviewCanvasPtr(PreviewCanvas
):
4631 def __init__(self
, this
):
4633 if not hasattr(self
,"thisown"): self
.thisown
= 0
4634 self
.__class
__ = PreviewCanvas
4635 _windows_
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
4637 class PreviewFrame(Frame
):
4638 """Proxy of C++ PreviewFrame class"""
4640 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4641 def __init__(self
, *args
, **kwargs
):
4643 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4644 Size size=DefaultSize,
4645 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
4647 newobj
= _windows_
.new_PreviewFrame(*args
, **kwargs
)
4648 self
.this
= newobj
.this
4651 self
._setOORInfo
(self
)
4653 def Initialize(*args
, **kwargs
):
4654 """Initialize(self)"""
4655 return _windows_
.PreviewFrame_Initialize(*args
, **kwargs
)
4657 def CreateControlBar(*args
, **kwargs
):
4658 """CreateControlBar(self)"""
4659 return _windows_
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
4661 def CreateCanvas(*args
, **kwargs
):
4662 """CreateCanvas(self)"""
4663 return _windows_
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
4665 def GetControlBar(*args
, **kwargs
):
4666 """GetControlBar(self) -> PreviewControlBar"""
4667 return _windows_
.PreviewFrame_GetControlBar(*args
, **kwargs
)
4670 class PreviewFramePtr(PreviewFrame
):
4671 def __init__(self
, this
):
4673 if not hasattr(self
,"thisown"): self
.thisown
= 0
4674 self
.__class
__ = PreviewFrame
4675 _windows_
.PreviewFrame_swigregister(PreviewFramePtr
)
4677 PREVIEW_PRINT
= _windows_
.PREVIEW_PRINT
4678 PREVIEW_PREVIOUS
= _windows_
.PREVIEW_PREVIOUS
4679 PREVIEW_NEXT
= _windows_
.PREVIEW_NEXT
4680 PREVIEW_ZOOM
= _windows_
.PREVIEW_ZOOM
4681 PREVIEW_FIRST
= _windows_
.PREVIEW_FIRST
4682 PREVIEW_LAST
= _windows_
.PREVIEW_LAST
4683 PREVIEW_GOTO
= _windows_
.PREVIEW_GOTO
4684 PREVIEW_DEFAULT
= _windows_
.PREVIEW_DEFAULT
4685 ID_PREVIEW_CLOSE
= _windows_
.ID_PREVIEW_CLOSE
4686 ID_PREVIEW_NEXT
= _windows_
.ID_PREVIEW_NEXT
4687 ID_PREVIEW_PREVIOUS
= _windows_
.ID_PREVIEW_PREVIOUS
4688 ID_PREVIEW_PRINT
= _windows_
.ID_PREVIEW_PRINT
4689 ID_PREVIEW_ZOOM
= _windows_
.ID_PREVIEW_ZOOM
4690 ID_PREVIEW_FIRST
= _windows_
.ID_PREVIEW_FIRST
4691 ID_PREVIEW_LAST
= _windows_
.ID_PREVIEW_LAST
4692 ID_PREVIEW_GOTO
= _windows_
.ID_PREVIEW_GOTO
4693 class PreviewControlBar(Panel
):
4694 """Proxy of C++ PreviewControlBar class"""
4696 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4697 def __init__(self
, *args
, **kwargs
):
4699 __init__(self, PrintPreview preview, long buttons, Window parent,
4700 Point pos=DefaultPosition, Size size=DefaultSize,
4701 long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
4703 newobj
= _windows_
.new_PreviewControlBar(*args
, **kwargs
)
4704 self
.this
= newobj
.this
4707 self
._setOORInfo
(self
)
4709 def GetZoomControl(*args
, **kwargs
):
4710 """GetZoomControl(self) -> int"""
4711 return _windows_
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
4713 def SetZoomControl(*args
, **kwargs
):
4714 """SetZoomControl(self, int zoom)"""
4715 return _windows_
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
4717 def GetPrintPreview(*args
, **kwargs
):
4718 """GetPrintPreview(self) -> PrintPreview"""
4719 return _windows_
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
4721 def OnNext(*args
, **kwargs
):
4723 return _windows_
.PreviewControlBar_OnNext(*args
, **kwargs
)
4725 def OnPrevious(*args
, **kwargs
):
4726 """OnPrevious(self)"""
4727 return _windows_
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
4729 def OnFirst(*args
, **kwargs
):
4731 return _windows_
.PreviewControlBar_OnFirst(*args
, **kwargs
)
4733 def OnLast(*args
, **kwargs
):
4735 return _windows_
.PreviewControlBar_OnLast(*args
, **kwargs
)
4737 def OnGoto(*args
, **kwargs
):
4739 return _windows_
.PreviewControlBar_OnGoto(*args
, **kwargs
)
4742 class PreviewControlBarPtr(PreviewControlBar
):
4743 def __init__(self
, this
):
4745 if not hasattr(self
,"thisown"): self
.thisown
= 0
4746 self
.__class
__ = PreviewControlBar
4747 _windows_
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
4749 class PrintPreview(_core
.Object
):
4750 """Proxy of C++ PrintPreview class"""
4752 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4753 def __init__(self
, *args
):
4755 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview
4756 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview
4758 newobj
= _windows_
.new_PrintPreview(*args
)
4759 self
.this
= newobj
.this
4762 def SetCurrentPage(*args
, **kwargs
):
4763 """SetCurrentPage(self, int pageNum) -> bool"""
4764 return _windows_
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
4766 def GetCurrentPage(*args
, **kwargs
):
4767 """GetCurrentPage(self) -> int"""
4768 return _windows_
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
4770 def SetPrintout(*args
, **kwargs
):
4771 """SetPrintout(self, Printout printout)"""
4772 return _windows_
.PrintPreview_SetPrintout(*args
, **kwargs
)
4774 def GetPrintout(*args
, **kwargs
):
4775 """GetPrintout(self) -> Printout"""
4776 return _windows_
.PrintPreview_GetPrintout(*args
, **kwargs
)
4778 def GetPrintoutForPrinting(*args
, **kwargs
):
4779 """GetPrintoutForPrinting(self) -> Printout"""
4780 return _windows_
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
4782 def SetFrame(*args
, **kwargs
):
4783 """SetFrame(self, Frame frame)"""
4784 return _windows_
.PrintPreview_SetFrame(*args
, **kwargs
)
4786 def SetCanvas(*args
, **kwargs
):
4787 """SetCanvas(self, PreviewCanvas canvas)"""
4788 return _windows_
.PrintPreview_SetCanvas(*args
, **kwargs
)
4790 def GetFrame(*args
, **kwargs
):
4791 """GetFrame(self) -> Frame"""
4792 return _windows_
.PrintPreview_GetFrame(*args
, **kwargs
)
4794 def GetCanvas(*args
, **kwargs
):
4795 """GetCanvas(self) -> PreviewCanvas"""
4796 return _windows_
.PrintPreview_GetCanvas(*args
, **kwargs
)
4798 def PaintPage(*args
, **kwargs
):
4799 """PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4800 return _windows_
.PrintPreview_PaintPage(*args
, **kwargs
)
4802 def DrawBlankPage(*args
, **kwargs
):
4803 """DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4804 return _windows_
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
4806 def RenderPage(*args
, **kwargs
):
4807 """RenderPage(self, int pageNum) -> bool"""
4808 return _windows_
.PrintPreview_RenderPage(*args
, **kwargs
)
4810 def AdjustScrollbars(*args
, **kwargs
):
4811 """AdjustScrollbars(self, PreviewCanvas canvas)"""
4812 return _windows_
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
4814 def GetPrintDialogData(*args
, **kwargs
):
4815 """GetPrintDialogData(self) -> PrintDialogData"""
4816 return _windows_
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
4818 def SetZoom(*args
, **kwargs
):
4819 """SetZoom(self, int percent)"""
4820 return _windows_
.PrintPreview_SetZoom(*args
, **kwargs
)
4822 def GetZoom(*args
, **kwargs
):
4823 """GetZoom(self) -> int"""
4824 return _windows_
.PrintPreview_GetZoom(*args
, **kwargs
)
4826 def GetMaxPage(*args
, **kwargs
):
4827 """GetMaxPage(self) -> int"""
4828 return _windows_
.PrintPreview_GetMaxPage(*args
, **kwargs
)
4830 def GetMinPage(*args
, **kwargs
):
4831 """GetMinPage(self) -> int"""
4832 return _windows_
.PrintPreview_GetMinPage(*args
, **kwargs
)
4834 def Ok(*args
, **kwargs
):
4835 """Ok(self) -> bool"""
4836 return _windows_
.PrintPreview_Ok(*args
, **kwargs
)
4838 def SetOk(*args
, **kwargs
):
4839 """SetOk(self, bool ok)"""
4840 return _windows_
.PrintPreview_SetOk(*args
, **kwargs
)
4842 def Print(*args
, **kwargs
):
4843 """Print(self, bool interactive) -> bool"""
4844 return _windows_
.PrintPreview_Print(*args
, **kwargs
)
4846 def DetermineScaling(*args
, **kwargs
):
4847 """DetermineScaling(self)"""
4848 return _windows_
.PrintPreview_DetermineScaling(*args
, **kwargs
)
4850 def __nonzero__(self
): return self
.Ok()
4852 class PrintPreviewPtr(PrintPreview
):
4853 def __init__(self
, this
):
4855 if not hasattr(self
,"thisown"): self
.thisown
= 0
4856 self
.__class
__ = PrintPreview
4857 _windows_
.PrintPreview_swigregister(PrintPreviewPtr
)
4859 class PyPrintPreview(PrintPreview
):
4860 """Proxy of C++ PyPrintPreview class"""
4862 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4863 def __init__(self
, *args
):
4865 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview
4866 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview
4868 newobj
= _windows_
.new_PyPrintPreview(*args
)
4869 self
.this
= newobj
.this
4872 self
._setCallbackInfo
(self
, PyPrintPreview
)
4874 def _setCallbackInfo(*args
, **kwargs
):
4875 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4876 return _windows_
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
4878 def base_SetCurrentPage(*args
, **kwargs
):
4879 """base_SetCurrentPage(self, int pageNum) -> bool"""
4880 return _windows_
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
4882 def base_PaintPage(*args
, **kwargs
):
4883 """base_PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4884 return _windows_
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
4886 def base_DrawBlankPage(*args
, **kwargs
):
4887 """base_DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4888 return _windows_
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
4890 def base_RenderPage(*args
, **kwargs
):
4891 """base_RenderPage(self, int pageNum) -> bool"""
4892 return _windows_
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
4894 def base_SetZoom(*args
, **kwargs
):
4895 """base_SetZoom(self, int percent)"""
4896 return _windows_
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
4898 def base_Print(*args
, **kwargs
):
4899 """base_Print(self, bool interactive) -> bool"""
4900 return _windows_
.PyPrintPreview_base_Print(*args
, **kwargs
)
4902 def base_DetermineScaling(*args
, **kwargs
):
4903 """base_DetermineScaling(self)"""
4904 return _windows_
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
4907 class PyPrintPreviewPtr(PyPrintPreview
):
4908 def __init__(self
, this
):
4910 if not hasattr(self
,"thisown"): self
.thisown
= 0
4911 self
.__class
__ = PyPrintPreview
4912 _windows_
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
4914 class PyPreviewFrame(PreviewFrame
):
4915 """Proxy of C++ PyPreviewFrame class"""
4917 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4918 def __init__(self
, *args
, **kwargs
):
4920 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4921 Size size=DefaultSize,
4922 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
4924 newobj
= _windows_
.new_PyPreviewFrame(*args
, **kwargs
)
4925 self
.this
= newobj
.this
4928 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
4930 def _setCallbackInfo(*args
, **kwargs
):
4931 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4932 return _windows_
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
4934 def SetPreviewCanvas(*args
, **kwargs
):
4935 """SetPreviewCanvas(self, PreviewCanvas canvas)"""
4936 return _windows_
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
4938 def SetControlBar(*args
, **kwargs
):
4939 """SetControlBar(self, PreviewControlBar bar)"""
4940 return _windows_
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
4942 def base_Initialize(*args
, **kwargs
):
4943 """base_Initialize(self)"""
4944 return _windows_
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
4946 def base_CreateCanvas(*args
, **kwargs
):
4947 """base_CreateCanvas(self)"""
4948 return _windows_
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
4950 def base_CreateControlBar(*args
, **kwargs
):
4951 """base_CreateControlBar(self)"""
4952 return _windows_
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
4955 class PyPreviewFramePtr(PyPreviewFrame
):
4956 def __init__(self
, this
):
4958 if not hasattr(self
,"thisown"): self
.thisown
= 0
4959 self
.__class
__ = PyPreviewFrame
4960 _windows_
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
4962 class PyPreviewControlBar(PreviewControlBar
):
4963 """Proxy of C++ PyPreviewControlBar class"""
4965 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4966 def __init__(self
, *args
, **kwargs
):
4968 __init__(self, PrintPreview preview, long buttons, Window parent,
4969 Point pos=DefaultPosition, Size size=DefaultSize,
4970 long style=0, String name=PanelNameStr) -> PyPreviewControlBar
4972 newobj
= _windows_
.new_PyPreviewControlBar(*args
, **kwargs
)
4973 self
.this
= newobj
.this
4976 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
4978 def _setCallbackInfo(*args
, **kwargs
):
4979 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4980 return _windows_
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
4982 def SetPrintPreview(*args
, **kwargs
):
4983 """SetPrintPreview(self, PrintPreview preview)"""
4984 return _windows_
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
4986 def base_CreateButtons(*args
, **kwargs
):
4987 """base_CreateButtons(self)"""
4988 return _windows_
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
4990 def base_SetZoomControl(*args
, **kwargs
):
4991 """base_SetZoomControl(self, int zoom)"""
4992 return _windows_
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
4995 class PyPreviewControlBarPtr(PyPreviewControlBar
):
4996 def __init__(self
, this
):
4998 if not hasattr(self
,"thisown"): self
.thisown
= 0
4999 self
.__class
__ = PyPreviewControlBar
5000 _windows_
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)