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 SetTargetRect(*args
, **kwargs
):
275 """SetTargetRect(self, Rect rect)"""
276 return _windows_
.ScrolledWindow_SetTargetRect(*args
, **kwargs
)
278 def GetTargetRect(*args
, **kwargs
):
279 """GetTargetRect(self) -> Rect"""
280 return _windows_
.ScrolledWindow_GetTargetRect(*args
, **kwargs
)
282 def DoPrepareDC(*args
, **kwargs
):
284 DoPrepareDC(self, DC dc)
286 Normally what is called by `PrepareDC`.
288 return _windows_
.ScrolledWindow_DoPrepareDC(*args
, **kwargs
)
290 def GetClassDefaultAttributes(*args
, **kwargs
):
292 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
294 Get the default attributes for this class. This is useful if you want
295 to use the same font or colour in your own control as in a standard
296 control -- which is a much better idea than hard coding specific
297 colours or fonts which might look completely out of place on the
298 user's system, especially if it uses themes.
300 The variant parameter is only relevant under Mac currently and is
301 ignore under other platforms. Under Mac, it will change the size of
302 the returned font. See `wx.Window.SetWindowVariant` for more about
305 return _windows_
.ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
)
307 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
309 class ScrolledWindowPtr(ScrolledWindow
):
310 def __init__(self
, this
):
312 if not hasattr(self
,"thisown"): self
.thisown
= 0
313 self
.__class
__ = ScrolledWindow
314 _windows_
.ScrolledWindow_swigregister(ScrolledWindowPtr
)
316 def PreScrolledWindow(*args
, **kwargs
):
317 """PreScrolledWindow() -> ScrolledWindow"""
318 val
= _windows_
.new_PreScrolledWindow(*args
, **kwargs
)
322 def ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
):
324 ScrolledWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
326 Get the default attributes for this class. This is useful if you want
327 to use the same font or colour in your own control as in a standard
328 control -- which is a much better idea than hard coding specific
329 colours or fonts which might look completely out of place on the
330 user's system, especially if it uses themes.
332 The variant parameter is only relevant under Mac currently and is
333 ignore under other platforms. Under Mac, it will change the size of
334 the returned font. See `wx.Window.SetWindowVariant` for more about
337 return _windows_
.ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
)
339 #---------------------------------------------------------------------------
341 STAY_ON_TOP
= _windows_
.STAY_ON_TOP
342 ICONIZE
= _windows_
.ICONIZE
343 MINIMIZE
= _windows_
.MINIMIZE
344 MAXIMIZE
= _windows_
.MAXIMIZE
345 CLOSE_BOX
= _windows_
.CLOSE_BOX
346 THICK_FRAME
= _windows_
.THICK_FRAME
347 SYSTEM_MENU
= _windows_
.SYSTEM_MENU
348 MINIMIZE_BOX
= _windows_
.MINIMIZE_BOX
349 MAXIMIZE_BOX
= _windows_
.MAXIMIZE_BOX
350 TINY_CAPTION_HORIZ
= _windows_
.TINY_CAPTION_HORIZ
351 TINY_CAPTION_VERT
= _windows_
.TINY_CAPTION_VERT
352 RESIZE_BOX
= _windows_
.RESIZE_BOX
353 RESIZE_BORDER
= _windows_
.RESIZE_BORDER
354 DIALOG_NO_PARENT
= _windows_
.DIALOG_NO_PARENT
355 DEFAULT_FRAME_STYLE
= _windows_
.DEFAULT_FRAME_STYLE
356 DEFAULT_DIALOG_STYLE
= _windows_
.DEFAULT_DIALOG_STYLE
357 FRAME_TOOL_WINDOW
= _windows_
.FRAME_TOOL_WINDOW
358 FRAME_FLOAT_ON_PARENT
= _windows_
.FRAME_FLOAT_ON_PARENT
359 FRAME_NO_WINDOW_MENU
= _windows_
.FRAME_NO_WINDOW_MENU
360 FRAME_NO_TASKBAR
= _windows_
.FRAME_NO_TASKBAR
361 FRAME_SHAPED
= _windows_
.FRAME_SHAPED
362 FRAME_DRAWER
= _windows_
.FRAME_DRAWER
363 FRAME_EX_METAL
= _windows_
.FRAME_EX_METAL
364 DIALOG_EX_METAL
= _windows_
.DIALOG_EX_METAL
365 DIALOG_MODAL
= _windows_
.DIALOG_MODAL
366 DIALOG_MODELESS
= _windows_
.DIALOG_MODELESS
367 USER_COLOURS
= _windows_
.USER_COLOURS
368 NO_3D
= _windows_
.NO_3D
369 FULLSCREEN_NOMENUBAR
= _windows_
.FULLSCREEN_NOMENUBAR
370 FULLSCREEN_NOTOOLBAR
= _windows_
.FULLSCREEN_NOTOOLBAR
371 FULLSCREEN_NOSTATUSBAR
= _windows_
.FULLSCREEN_NOSTATUSBAR
372 FULLSCREEN_NOBORDER
= _windows_
.FULLSCREEN_NOBORDER
373 FULLSCREEN_NOCAPTION
= _windows_
.FULLSCREEN_NOCAPTION
374 FULLSCREEN_ALL
= _windows_
.FULLSCREEN_ALL
375 TOPLEVEL_EX_DIALOG
= _windows_
.TOPLEVEL_EX_DIALOG
376 USER_ATTENTION_INFO
= _windows_
.USER_ATTENTION_INFO
377 USER_ATTENTION_ERROR
= _windows_
.USER_ATTENTION_ERROR
378 class TopLevelWindow(_core
.Window
):
379 """Proxy of C++ TopLevelWindow class"""
380 def __init__(self
): raise RuntimeError, "No constructor defined"
382 return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
383 def Maximize(*args
, **kwargs
):
384 """Maximize(self, bool maximize=True)"""
385 return _windows_
.TopLevelWindow_Maximize(*args
, **kwargs
)
387 def Restore(*args
, **kwargs
):
389 return _windows_
.TopLevelWindow_Restore(*args
, **kwargs
)
391 def Iconize(*args
, **kwargs
):
392 """Iconize(self, bool iconize=True)"""
393 return _windows_
.TopLevelWindow_Iconize(*args
, **kwargs
)
395 def IsMaximized(*args
, **kwargs
):
396 """IsMaximized(self) -> bool"""
397 return _windows_
.TopLevelWindow_IsMaximized(*args
, **kwargs
)
399 def IsIconized(*args
, **kwargs
):
400 """IsIconized(self) -> bool"""
401 return _windows_
.TopLevelWindow_IsIconized(*args
, **kwargs
)
403 def GetIcon(*args
, **kwargs
):
404 """GetIcon(self) -> Icon"""
405 return _windows_
.TopLevelWindow_GetIcon(*args
, **kwargs
)
407 def SetIcon(*args
, **kwargs
):
408 """SetIcon(self, Icon icon)"""
409 return _windows_
.TopLevelWindow_SetIcon(*args
, **kwargs
)
411 def SetIcons(*args
, **kwargs
):
412 """SetIcons(self, wxIconBundle icons)"""
413 return _windows_
.TopLevelWindow_SetIcons(*args
, **kwargs
)
415 def ShowFullScreen(*args
, **kwargs
):
416 """ShowFullScreen(self, bool show, long style=FULLSCREEN_ALL) -> bool"""
417 return _windows_
.TopLevelWindow_ShowFullScreen(*args
, **kwargs
)
419 def IsFullScreen(*args
, **kwargs
):
420 """IsFullScreen(self) -> bool"""
421 return _windows_
.TopLevelWindow_IsFullScreen(*args
, **kwargs
)
423 def SetTitle(*args
, **kwargs
):
425 SetTitle(self, String title)
427 Sets the window's title. Applicable only to frames and dialogs.
429 return _windows_
.TopLevelWindow_SetTitle(*args
, **kwargs
)
431 def GetTitle(*args
, **kwargs
):
433 GetTitle(self) -> String
435 Gets the window's title. Applicable only to frames and dialogs.
437 return _windows_
.TopLevelWindow_GetTitle(*args
, **kwargs
)
439 def SetShape(*args
, **kwargs
):
440 """SetShape(self, Region region) -> bool"""
441 return _windows_
.TopLevelWindow_SetShape(*args
, **kwargs
)
443 def RequestUserAttention(*args
, **kwargs
):
444 """RequestUserAttention(self, int flags=USER_ATTENTION_INFO)"""
445 return _windows_
.TopLevelWindow_RequestUserAttention(*args
, **kwargs
)
447 def IsActive(*args
, **kwargs
):
448 """IsActive(self) -> bool"""
449 return _windows_
.TopLevelWindow_IsActive(*args
, **kwargs
)
451 def MacSetMetalAppearance(*args
, **kwargs
):
452 """MacSetMetalAppearance(self, bool on)"""
453 return _windows_
.TopLevelWindow_MacSetMetalAppearance(*args
, **kwargs
)
455 def MacGetMetalAppearance(*args
, **kwargs
):
456 """MacGetMetalAppearance(self) -> bool"""
457 return _windows_
.TopLevelWindow_MacGetMetalAppearance(*args
, **kwargs
)
460 class TopLevelWindowPtr(TopLevelWindow
):
461 def __init__(self
, this
):
463 if not hasattr(self
,"thisown"): self
.thisown
= 0
464 self
.__class
__ = TopLevelWindow
465 _windows_
.TopLevelWindow_swigregister(TopLevelWindowPtr
)
466 cvar
= _windows_
.cvar
467 FrameNameStr
= cvar
.FrameNameStr
468 DialogNameStr
= cvar
.DialogNameStr
469 StatusLineNameStr
= cvar
.StatusLineNameStr
470 ToolBarNameStr
= cvar
.ToolBarNameStr
472 #---------------------------------------------------------------------------
474 class Frame(TopLevelWindow
):
475 """Proxy of C++ Frame class"""
477 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
478 def __init__(self
, *args
, **kwargs
):
480 __init__(self, Window parent, int id=-1, String title=EmptyString,
481 Point pos=DefaultPosition, Size size=DefaultSize,
482 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> Frame
484 newobj
= _windows_
.new_Frame(*args
, **kwargs
)
485 self
.this
= newobj
.this
488 self
._setOORInfo
(self
)
490 def Create(*args
, **kwargs
):
492 Create(self, Window parent, int id=-1, String title=EmptyString,
493 Point pos=DefaultPosition, Size size=DefaultSize,
494 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
496 return _windows_
.Frame_Create(*args
, **kwargs
)
498 def GetClientAreaOrigin(*args
, **kwargs
):
500 GetClientAreaOrigin(self) -> Point
502 Get the origin of the client area of the window relative to the
503 window's top left corner (the client area may be shifted because of
504 the borders, scrollbars, other decorations...)
506 return _windows_
.Frame_GetClientAreaOrigin(*args
, **kwargs
)
508 def SendSizeEvent(*args
, **kwargs
):
509 """SendSizeEvent(self)"""
510 return _windows_
.Frame_SendSizeEvent(*args
, **kwargs
)
512 def SetMenuBar(*args
, **kwargs
):
513 """SetMenuBar(self, MenuBar menubar)"""
514 return _windows_
.Frame_SetMenuBar(*args
, **kwargs
)
516 def GetMenuBar(*args
, **kwargs
):
517 """GetMenuBar(self) -> MenuBar"""
518 return _windows_
.Frame_GetMenuBar(*args
, **kwargs
)
520 def ProcessCommand(*args
, **kwargs
):
521 """ProcessCommand(self, int winid) -> bool"""
522 return _windows_
.Frame_ProcessCommand(*args
, **kwargs
)
524 Command
= ProcessCommand
525 def CreateStatusBar(*args
, **kwargs
):
527 CreateStatusBar(self, int number=1, long style=ST_SIZEGRIP, int winid=0,
528 String name=StatusLineNameStr) -> StatusBar
530 return _windows_
.Frame_CreateStatusBar(*args
, **kwargs
)
532 def GetStatusBar(*args
, **kwargs
):
533 """GetStatusBar(self) -> StatusBar"""
534 return _windows_
.Frame_GetStatusBar(*args
, **kwargs
)
536 def SetStatusBar(*args
, **kwargs
):
537 """SetStatusBar(self, StatusBar statBar)"""
538 return _windows_
.Frame_SetStatusBar(*args
, **kwargs
)
540 def SetStatusText(*args
, **kwargs
):
541 """SetStatusText(self, String text, int number=0)"""
542 return _windows_
.Frame_SetStatusText(*args
, **kwargs
)
544 def SetStatusWidths(*args
, **kwargs
):
545 """SetStatusWidths(self, int widths)"""
546 return _windows_
.Frame_SetStatusWidths(*args
, **kwargs
)
548 def PushStatusText(*args
, **kwargs
):
549 """PushStatusText(self, String text, int number=0)"""
550 return _windows_
.Frame_PushStatusText(*args
, **kwargs
)
552 def PopStatusText(*args
, **kwargs
):
553 """PopStatusText(self, int number=0)"""
554 return _windows_
.Frame_PopStatusText(*args
, **kwargs
)
556 def SetStatusBarPane(*args
, **kwargs
):
557 """SetStatusBarPane(self, int n)"""
558 return _windows_
.Frame_SetStatusBarPane(*args
, **kwargs
)
560 def GetStatusBarPane(*args
, **kwargs
):
561 """GetStatusBarPane(self) -> int"""
562 return _windows_
.Frame_GetStatusBarPane(*args
, **kwargs
)
564 def CreateToolBar(*args
, **kwargs
):
565 """CreateToolBar(self, long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar"""
566 return _windows_
.Frame_CreateToolBar(*args
, **kwargs
)
568 def GetToolBar(*args
, **kwargs
):
569 """GetToolBar(self) -> wxToolBar"""
570 return _windows_
.Frame_GetToolBar(*args
, **kwargs
)
572 def SetToolBar(*args
, **kwargs
):
573 """SetToolBar(self, wxToolBar toolbar)"""
574 return _windows_
.Frame_SetToolBar(*args
, **kwargs
)
576 def DoGiveHelp(*args
, **kwargs
):
577 """DoGiveHelp(self, String text, bool show)"""
578 return _windows_
.Frame_DoGiveHelp(*args
, **kwargs
)
580 def DoMenuUpdates(*args
, **kwargs
):
581 """DoMenuUpdates(self, Menu menu=None)"""
582 return _windows_
.Frame_DoMenuUpdates(*args
, **kwargs
)
584 def GetClassDefaultAttributes(*args
, **kwargs
):
586 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
588 Get the default attributes for this class. This is useful if you want
589 to use the same font or colour in your own control as in a standard
590 control -- which is a much better idea than hard coding specific
591 colours or fonts which might look completely out of place on the
592 user's system, especially if it uses themes.
594 The variant parameter is only relevant under Mac currently and is
595 ignore under other platforms. Under Mac, it will change the size of
596 the returned font. See `wx.Window.SetWindowVariant` for more about
599 return _windows_
.Frame_GetClassDefaultAttributes(*args
, **kwargs
)
601 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
603 class FramePtr(Frame
):
604 def __init__(self
, this
):
606 if not hasattr(self
,"thisown"): self
.thisown
= 0
607 self
.__class
__ = Frame
608 _windows_
.Frame_swigregister(FramePtr
)
610 def PreFrame(*args
, **kwargs
):
611 """PreFrame() -> Frame"""
612 val
= _windows_
.new_PreFrame(*args
, **kwargs
)
616 def Frame_GetClassDefaultAttributes(*args
, **kwargs
):
618 Frame_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
620 Get the default attributes for this class. This is useful if you want
621 to use the same font or colour in your own control as in a standard
622 control -- which is a much better idea than hard coding specific
623 colours or fonts which might look completely out of place on the
624 user's system, especially if it uses themes.
626 The variant parameter is only relevant under Mac currently and is
627 ignore under other platforms. Under Mac, it will change the size of
628 the returned font. See `wx.Window.SetWindowVariant` for more about
631 return _windows_
.Frame_GetClassDefaultAttributes(*args
, **kwargs
)
633 #---------------------------------------------------------------------------
635 class Dialog(TopLevelWindow
):
636 """Proxy of C++ Dialog class"""
638 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
639 def __init__(self
, *args
, **kwargs
):
641 __init__(self, Window parent, int id=-1, String title=EmptyString,
642 Point pos=DefaultPosition, Size size=DefaultSize,
643 long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> Dialog
645 newobj
= _windows_
.new_Dialog(*args
, **kwargs
)
646 self
.this
= newobj
.this
649 self
._setOORInfo
(self
)
651 def Create(*args
, **kwargs
):
653 Create(self, Window parent, int id=-1, String title=EmptyString,
654 Point pos=DefaultPosition, Size size=DefaultSize,
655 long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> bool
657 return _windows_
.Dialog_Create(*args
, **kwargs
)
659 def SetReturnCode(*args
, **kwargs
):
660 """SetReturnCode(self, int returnCode)"""
661 return _windows_
.Dialog_SetReturnCode(*args
, **kwargs
)
663 def GetReturnCode(*args
, **kwargs
):
664 """GetReturnCode(self) -> int"""
665 return _windows_
.Dialog_GetReturnCode(*args
, **kwargs
)
667 def CreateTextSizer(*args
, **kwargs
):
668 """CreateTextSizer(self, String message) -> Sizer"""
669 return _windows_
.Dialog_CreateTextSizer(*args
, **kwargs
)
671 def CreateButtonSizer(*args
, **kwargs
):
672 """CreateButtonSizer(self, long flags) -> Sizer"""
673 return _windows_
.Dialog_CreateButtonSizer(*args
, **kwargs
)
675 def CreateStdDialogButtonSizer(*args
, **kwargs
):
676 """CreateStdDialogButtonSizer(self, long flags) -> StdDialogButtonSizer"""
677 return _windows_
.Dialog_CreateStdDialogButtonSizer(*args
, **kwargs
)
679 def IsModal(*args
, **kwargs
):
680 """IsModal(self) -> bool"""
681 return _windows_
.Dialog_IsModal(*args
, **kwargs
)
683 def ShowModal(*args
, **kwargs
):
684 """ShowModal(self) -> int"""
685 return _windows_
.Dialog_ShowModal(*args
, **kwargs
)
687 def EndModal(*args
, **kwargs
):
688 """EndModal(self, int retCode)"""
689 return _windows_
.Dialog_EndModal(*args
, **kwargs
)
691 def GetClassDefaultAttributes(*args
, **kwargs
):
693 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
695 Get the default attributes for this class. This is useful if you want
696 to use the same font or colour in your own control as in a standard
697 control -- which is a much better idea than hard coding specific
698 colours or fonts which might look completely out of place on the
699 user's system, especially if it uses themes.
701 The variant parameter is only relevant under Mac currently and is
702 ignore under other platforms. Under Mac, it will change the size of
703 the returned font. See `wx.Window.SetWindowVariant` for more about
706 return _windows_
.Dialog_GetClassDefaultAttributes(*args
, **kwargs
)
708 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
709 def SendSizeEvent(self
):
710 self
.ProcessEvent(wx
.SizeEvent((-1,-1)))
713 class DialogPtr(Dialog
):
714 def __init__(self
, this
):
716 if not hasattr(self
,"thisown"): self
.thisown
= 0
717 self
.__class
__ = Dialog
718 _windows_
.Dialog_swigregister(DialogPtr
)
720 def PreDialog(*args
, **kwargs
):
721 """PreDialog() -> Dialog"""
722 val
= _windows_
.new_PreDialog(*args
, **kwargs
)
726 def Dialog_GetClassDefaultAttributes(*args
, **kwargs
):
728 Dialog_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
730 Get the default attributes for this class. This is useful if you want
731 to use the same font or colour in your own control as in a standard
732 control -- which is a much better idea than hard coding specific
733 colours or fonts which might look completely out of place on the
734 user's system, especially if it uses themes.
736 The variant parameter is only relevant under Mac currently and is
737 ignore under other platforms. Under Mac, it will change the size of
738 the returned font. See `wx.Window.SetWindowVariant` for more about
741 return _windows_
.Dialog_GetClassDefaultAttributes(*args
, **kwargs
)
743 #---------------------------------------------------------------------------
745 class MiniFrame(Frame
):
746 """Proxy of C++ MiniFrame class"""
748 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
749 def __init__(self
, *args
, **kwargs
):
751 __init__(self, Window parent, int id=-1, String title=EmptyString,
752 Point pos=DefaultPosition, Size size=DefaultSize,
753 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> MiniFrame
755 newobj
= _windows_
.new_MiniFrame(*args
, **kwargs
)
756 self
.this
= newobj
.this
759 self
._setOORInfo
(self
)
761 def Create(*args
, **kwargs
):
763 Create(self, Window parent, int id=-1, String title=EmptyString,
764 Point pos=DefaultPosition, Size size=DefaultSize,
765 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
767 return _windows_
.MiniFrame_Create(*args
, **kwargs
)
770 class MiniFramePtr(MiniFrame
):
771 def __init__(self
, this
):
773 if not hasattr(self
,"thisown"): self
.thisown
= 0
774 self
.__class
__ = MiniFrame
775 _windows_
.MiniFrame_swigregister(MiniFramePtr
)
777 def PreMiniFrame(*args
, **kwargs
):
778 """PreMiniFrame() -> MiniFrame"""
779 val
= _windows_
.new_PreMiniFrame(*args
, **kwargs
)
783 #---------------------------------------------------------------------------
785 SPLASH_CENTRE_ON_PARENT
= _windows_
.SPLASH_CENTRE_ON_PARENT
786 SPLASH_CENTRE_ON_SCREEN
= _windows_
.SPLASH_CENTRE_ON_SCREEN
787 SPLASH_NO_CENTRE
= _windows_
.SPLASH_NO_CENTRE
788 SPLASH_TIMEOUT
= _windows_
.SPLASH_TIMEOUT
789 SPLASH_NO_TIMEOUT
= _windows_
.SPLASH_NO_TIMEOUT
790 class SplashScreenWindow(_core
.Window
):
791 """Proxy of C++ SplashScreenWindow class"""
793 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
794 def __init__(self
, *args
, **kwargs
):
796 __init__(self, Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
797 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
799 newobj
= _windows_
.new_SplashScreenWindow(*args
, **kwargs
)
800 self
.this
= newobj
.this
803 self
._setOORInfo
(self
)
805 def SetBitmap(*args
, **kwargs
):
806 """SetBitmap(self, Bitmap bitmap)"""
807 return _windows_
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
809 def GetBitmap(*args
, **kwargs
):
810 """GetBitmap(self) -> Bitmap"""
811 return _windows_
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
814 class SplashScreenWindowPtr(SplashScreenWindow
):
815 def __init__(self
, this
):
817 if not hasattr(self
,"thisown"): self
.thisown
= 0
818 self
.__class
__ = SplashScreenWindow
819 _windows_
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
821 class SplashScreen(Frame
):
822 """Proxy of C++ SplashScreen class"""
824 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
825 def __init__(self
, *args
, **kwargs
):
827 __init__(self, Bitmap bitmap, long splashStyle, int milliseconds,
828 Window parent, int id=-1, Point pos=DefaultPosition,
829 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
831 newobj
= _windows_
.new_SplashScreen(*args
, **kwargs
)
832 self
.this
= newobj
.this
835 self
._setOORInfo
(self
)
837 def GetSplashStyle(*args
, **kwargs
):
838 """GetSplashStyle(self) -> long"""
839 return _windows_
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
841 def GetSplashWindow(*args
, **kwargs
):
842 """GetSplashWindow(self) -> SplashScreenWindow"""
843 return _windows_
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
845 def GetTimeout(*args
, **kwargs
):
846 """GetTimeout(self) -> int"""
847 return _windows_
.SplashScreen_GetTimeout(*args
, **kwargs
)
850 class SplashScreenPtr(SplashScreen
):
851 def __init__(self
, this
):
853 if not hasattr(self
,"thisown"): self
.thisown
= 0
854 self
.__class
__ = SplashScreen
855 _windows_
.SplashScreen_swigregister(SplashScreenPtr
)
857 #---------------------------------------------------------------------------
859 SB_NORMAL
= _windows_
.SB_NORMAL
860 SB_FLAT
= _windows_
.SB_FLAT
861 SB_RAISED
= _windows_
.SB_RAISED
862 class StatusBar(_core
.Window
):
863 """Proxy of C++ StatusBar class"""
865 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
866 def __init__(self
, *args
, **kwargs
):
867 """__init__(self, Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> StatusBar"""
868 newobj
= _windows_
.new_StatusBar(*args
, **kwargs
)
869 self
.this
= newobj
.this
872 self
._setOORInfo
(self
)
874 def Create(*args
, **kwargs
):
875 """Create(self, Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
876 return _windows_
.StatusBar_Create(*args
, **kwargs
)
878 def SetFieldsCount(*args
, **kwargs
):
879 """SetFieldsCount(self, int number=1)"""
880 return _windows_
.StatusBar_SetFieldsCount(*args
, **kwargs
)
882 def GetFieldsCount(*args
, **kwargs
):
883 """GetFieldsCount(self) -> int"""
884 return _windows_
.StatusBar_GetFieldsCount(*args
, **kwargs
)
886 def SetStatusText(*args
, **kwargs
):
887 """SetStatusText(self, String text, int number=0)"""
888 return _windows_
.StatusBar_SetStatusText(*args
, **kwargs
)
890 def GetStatusText(*args
, **kwargs
):
891 """GetStatusText(self, int number=0) -> String"""
892 return _windows_
.StatusBar_GetStatusText(*args
, **kwargs
)
894 def PushStatusText(*args
, **kwargs
):
895 """PushStatusText(self, String text, int number=0)"""
896 return _windows_
.StatusBar_PushStatusText(*args
, **kwargs
)
898 def PopStatusText(*args
, **kwargs
):
899 """PopStatusText(self, int number=0)"""
900 return _windows_
.StatusBar_PopStatusText(*args
, **kwargs
)
902 def SetStatusWidths(*args
, **kwargs
):
903 """SetStatusWidths(self, int widths)"""
904 return _windows_
.StatusBar_SetStatusWidths(*args
, **kwargs
)
906 def SetStatusStyles(*args
, **kwargs
):
907 """SetStatusStyles(self, int styles)"""
908 return _windows_
.StatusBar_SetStatusStyles(*args
, **kwargs
)
910 def GetFieldRect(*args
, **kwargs
):
911 """GetFieldRect(self, int i) -> Rect"""
912 return _windows_
.StatusBar_GetFieldRect(*args
, **kwargs
)
914 def SetMinHeight(*args
, **kwargs
):
915 """SetMinHeight(self, int height)"""
916 return _windows_
.StatusBar_SetMinHeight(*args
, **kwargs
)
918 def GetBorderX(*args
, **kwargs
):
919 """GetBorderX(self) -> int"""
920 return _windows_
.StatusBar_GetBorderX(*args
, **kwargs
)
922 def GetBorderY(*args
, **kwargs
):
923 """GetBorderY(self) -> int"""
924 return _windows_
.StatusBar_GetBorderY(*args
, **kwargs
)
926 def GetClassDefaultAttributes(*args
, **kwargs
):
928 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
930 Get the default attributes for this class. This is useful if you want
931 to use the same font or colour in your own control as in a standard
932 control -- which is a much better idea than hard coding specific
933 colours or fonts which might look completely out of place on the
934 user's system, especially if it uses themes.
936 The variant parameter is only relevant under Mac currently and is
937 ignore under other platforms. Under Mac, it will change the size of
938 the returned font. See `wx.Window.SetWindowVariant` for more about
941 return _windows_
.StatusBar_GetClassDefaultAttributes(*args
, **kwargs
)
943 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
945 class StatusBarPtr(StatusBar
):
946 def __init__(self
, this
):
948 if not hasattr(self
,"thisown"): self
.thisown
= 0
949 self
.__class
__ = StatusBar
950 _windows_
.StatusBar_swigregister(StatusBarPtr
)
952 def PreStatusBar(*args
, **kwargs
):
953 """PreStatusBar() -> StatusBar"""
954 val
= _windows_
.new_PreStatusBar(*args
, **kwargs
)
958 def StatusBar_GetClassDefaultAttributes(*args
, **kwargs
):
960 StatusBar_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
962 Get the default attributes for this class. This is useful if you want
963 to use the same font or colour in your own control as in a standard
964 control -- which is a much better idea than hard coding specific
965 colours or fonts which might look completely out of place on the
966 user's system, especially if it uses themes.
968 The variant parameter is only relevant under Mac currently and is
969 ignore under other platforms. Under Mac, it will change the size of
970 the returned font. See `wx.Window.SetWindowVariant` for more about
973 return _windows_
.StatusBar_GetClassDefaultAttributes(*args
, **kwargs
)
975 #---------------------------------------------------------------------------
977 SP_NOBORDER
= _windows_
.SP_NOBORDER
978 SP_NOSASH
= _windows_
.SP_NOSASH
979 SP_PERMIT_UNSPLIT
= _windows_
.SP_PERMIT_UNSPLIT
980 SP_LIVE_UPDATE
= _windows_
.SP_LIVE_UPDATE
981 SP_3DSASH
= _windows_
.SP_3DSASH
982 SP_3DBORDER
= _windows_
.SP_3DBORDER
983 SP_NO_XP_THEME
= _windows_
.SP_NO_XP_THEME
984 SP_BORDER
= _windows_
.SP_BORDER
985 SP_3D
= _windows_
.SP_3D
986 SPLIT_HORIZONTAL
= _windows_
.SPLIT_HORIZONTAL
987 SPLIT_VERTICAL
= _windows_
.SPLIT_VERTICAL
988 SPLIT_DRAG_NONE
= _windows_
.SPLIT_DRAG_NONE
989 SPLIT_DRAG_DRAGGING
= _windows_
.SPLIT_DRAG_DRAGGING
990 SPLIT_DRAG_LEFT_DOWN
= _windows_
.SPLIT_DRAG_LEFT_DOWN
991 class SplitterWindow(_core
.Window
):
993 wx.SplitterWindow manages up to two subwindows or panes, with an
994 optional vertical or horizontal split which can be used with the mouse
998 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
999 def __init__(self
, *args
, **kwargs
):
1001 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1002 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
1004 Constructor. Creates and shows a SplitterWindow.
1006 if kwargs
.has_key('point'): kwargs
['pos'] = kwargs
['point'];del kwargs
['point']
1007 newobj
= _windows_
.new_SplitterWindow(*args
, **kwargs
)
1008 self
.this
= newobj
.this
1011 self
._setOORInfo
(self
)
1013 def Create(*args
, **kwargs
):
1015 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1016 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool
1018 Create the GUI part of the SplitterWindow for the 2-phase create.
1020 return _windows_
.SplitterWindow_Create(*args
, **kwargs
)
1022 def GetWindow1(*args
, **kwargs
):
1024 GetWindow1(self) -> Window
1026 Gets the only or left/top pane.
1028 return _windows_
.SplitterWindow_GetWindow1(*args
, **kwargs
)
1030 def GetWindow2(*args
, **kwargs
):
1032 GetWindow2(self) -> Window
1034 Gets the right/bottom pane.
1036 return _windows_
.SplitterWindow_GetWindow2(*args
, **kwargs
)
1038 def SetSplitMode(*args
, **kwargs
):
1040 SetSplitMode(self, int mode)
1042 Sets the split mode. The mode can be wx.SPLIT_VERTICAL or
1043 wx.SPLIT_HORIZONTAL. This only sets the internal variable; does not
1046 return _windows_
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
1048 def GetSplitMode(*args
, **kwargs
):
1050 GetSplitMode(self) -> int
1054 return _windows_
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
1056 def Initialize(*args
, **kwargs
):
1058 Initialize(self, Window window)
1060 Initializes the splitter window to have one pane. This should be
1061 called if you wish to initially view only a single pane in the
1062 splitter window. The child window is shown if it is currently hidden.
1064 return _windows_
.SplitterWindow_Initialize(*args
, **kwargs
)
1066 def SplitVertically(*args
, **kwargs
):
1068 SplitVertically(self, Window window1, Window window2, int sashPosition=0) -> bool
1070 Initializes the left and right panes of the splitter window. The
1071 child windows are shown if they are currently hidden.
1073 return _windows_
.SplitterWindow_SplitVertically(*args
, **kwargs
)
1075 def SplitHorizontally(*args
, **kwargs
):
1077 SplitHorizontally(self, Window window1, Window window2, int sashPosition=0) -> bool
1079 Initializes the top and bottom panes of the splitter window. The
1080 child windows are shown if they are currently hidden.
1082 return _windows_
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
1084 def Unsplit(*args
, **kwargs
):
1086 Unsplit(self, Window toRemove=None) -> bool
1088 Unsplits the window. Pass the pane to remove, or None to remove the
1089 right or bottom pane. Returns True if successful, False otherwise (the
1090 window was not split).
1092 This function will not actually delete the pane being
1093 removed; it sends EVT_SPLITTER_UNSPLIT which can be handled
1094 for the desired behaviour. By default, the pane being
1095 removed is only hidden.
1097 return _windows_
.SplitterWindow_Unsplit(*args
, **kwargs
)
1099 def ReplaceWindow(*args
, **kwargs
):
1101 ReplaceWindow(self, Window winOld, Window winNew) -> bool
1103 This function replaces one of the windows managed by the
1104 SplitterWindow with another one. It is in general better to use it
1105 instead of calling Unsplit() and then resplitting the window back
1106 because it will provoke much less flicker. It is valid to call this
1107 function whether the splitter has two windows or only one.
1109 Both parameters should be non-None and winOld must specify one of the
1110 windows managed by the splitter. If the parameters are incorrect or
1111 the window couldn't be replaced, False is returned. Otherwise the
1112 function will return True, but please notice that it will not Destroy
1113 the replaced window and you may wish to do it yourself.
1115 return _windows_
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
1117 def UpdateSize(*args
, **kwargs
):
1121 Causes any pending sizing of the sash and child panes to take place
1124 Such resizing normally takes place in idle time, in order to wait for
1125 layout to be completed. However, this can cause unacceptable flicker
1126 as the panes are resized after the window has been shown. To work
1127 around this, you can perform window layout (for example by sending a
1128 size event to the parent window), and then call this function, before
1129 showing the top-level window.
1131 return _windows_
.SplitterWindow_UpdateSize(*args
, **kwargs
)
1133 def IsSplit(*args
, **kwargs
):
1135 IsSplit(self) -> bool
1137 Is the window split?
1139 return _windows_
.SplitterWindow_IsSplit(*args
, **kwargs
)
1141 def SetSashSize(*args
, **kwargs
):
1143 SetSashSize(self, int width)
1147 return _windows_
.SplitterWindow_SetSashSize(*args
, **kwargs
)
1149 def SetBorderSize(*args
, **kwargs
):
1151 SetBorderSize(self, int width)
1153 Sets the border size. Currently a NOP.
1155 return _windows_
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
1157 def GetSashSize(*args
, **kwargs
):
1159 GetSashSize(self) -> int
1163 return _windows_
.SplitterWindow_GetSashSize(*args
, **kwargs
)
1165 def GetBorderSize(*args
, **kwargs
):
1167 GetBorderSize(self) -> int
1169 Gets the border size
1171 return _windows_
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
1173 def SetSashPosition(*args
, **kwargs
):
1175 SetSashPosition(self, int position, bool redraw=True)
1177 Sets the sash position, in pixels. If redraw is Ttrue then the panes
1178 are resized and the sash and border are redrawn.
1180 return _windows_
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
1182 def GetSashPosition(*args
, **kwargs
):
1184 GetSashPosition(self) -> int
1186 Returns the surrent sash position.
1188 return _windows_
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
1190 def SetSashGravity(*args
, **kwargs
):
1192 SetSashGravity(self, double gravity)
1194 Set the sash gravity. Gravity is a floating-point factor between 0.0
1195 and 1.0 which controls position of sash while resizing the
1196 `wx.SplitterWindow`. The gravity specifies how much the left/top
1197 window will grow while resizing.
1199 return _windows_
.SplitterWindow_SetSashGravity(*args
, **kwargs
)
1201 def GetSashGravity(*args
, **kwargs
):
1203 GetSashGravity(self) -> double
1205 Gets the sash gravity.
1207 :see: `SetSashGravity`
1210 return _windows_
.SplitterWindow_GetSashGravity(*args
, **kwargs
)
1212 def SetMinimumPaneSize(*args
, **kwargs
):
1214 SetMinimumPaneSize(self, int min)
1216 Sets the minimum pane size in pixels.
1218 The default minimum pane size is zero, which means that either pane
1219 can be reduced to zero by dragging the sash, thus removing one of the
1220 panes. To prevent this behaviour (and veto out-of-range sash
1221 dragging), set a minimum size, for example 20 pixels. If the
1222 wx.SP_PERMIT_UNSPLIT style is used when a splitter window is created,
1223 the window may be unsplit even if minimum size is non-zero.
1225 return _windows_
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
1227 def GetMinimumPaneSize(*args
, **kwargs
):
1229 GetMinimumPaneSize(self) -> int
1231 Gets the minimum pane size in pixels.
1233 return _windows_
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
1235 def SashHitTest(*args
, **kwargs
):
1237 SashHitTest(self, int x, int y, int tolerance=5) -> bool
1239 Tests for x, y over the sash
1241 return _windows_
.SplitterWindow_SashHitTest(*args
, **kwargs
)
1243 def SizeWindows(*args
, **kwargs
):
1249 return _windows_
.SplitterWindow_SizeWindows(*args
, **kwargs
)
1251 def SetNeedUpdating(*args
, **kwargs
):
1252 """SetNeedUpdating(self, bool needUpdating)"""
1253 return _windows_
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
1255 def GetNeedUpdating(*args
, **kwargs
):
1256 """GetNeedUpdating(self) -> bool"""
1257 return _windows_
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
1259 def GetClassDefaultAttributes(*args
, **kwargs
):
1261 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1263 Get the default attributes for this class. This is useful if you want
1264 to use the same font or colour in your own control as in a standard
1265 control -- which is a much better idea than hard coding specific
1266 colours or fonts which might look completely out of place on the
1267 user's system, especially if it uses themes.
1269 The variant parameter is only relevant under Mac currently and is
1270 ignore under other platforms. Under Mac, it will change the size of
1271 the returned font. See `wx.Window.SetWindowVariant` for more about
1274 return _windows_
.SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1276 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
1278 class SplitterWindowPtr(SplitterWindow
):
1279 def __init__(self
, this
):
1281 if not hasattr(self
,"thisown"): self
.thisown
= 0
1282 self
.__class
__ = SplitterWindow
1283 _windows_
.SplitterWindow_swigregister(SplitterWindowPtr
)
1284 SplitterNameStr
= cvar
.SplitterNameStr
1286 def PreSplitterWindow(*args
, **kwargs
):
1288 PreSplitterWindow() -> SplitterWindow
1290 Precreate a SplitterWindow for 2-phase creation.
1292 val
= _windows_
.new_PreSplitterWindow(*args
, **kwargs
)
1296 def SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
):
1298 SplitterWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1300 Get the default attributes for this class. This is useful if you want
1301 to use the same font or colour in your own control as in a standard
1302 control -- which is a much better idea than hard coding specific
1303 colours or fonts which might look completely out of place on the
1304 user's system, especially if it uses themes.
1306 The variant parameter is only relevant under Mac currently and is
1307 ignore under other platforms. Under Mac, it will change the size of
1308 the returned font. See `wx.Window.SetWindowVariant` for more about
1311 return _windows_
.SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1313 class SplitterEvent(_core
.NotifyEvent
):
1314 """This class represents the events generated by a splitter control."""
1316 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1317 def __init__(self
, *args
, **kwargs
):
1319 __init__(self, wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent
1321 This class represents the events generated by a splitter control.
1323 newobj
= _windows_
.new_SplitterEvent(*args
, **kwargs
)
1324 self
.this
= newobj
.this
1327 def SetSashPosition(*args
, **kwargs
):
1329 SetSashPosition(self, int pos)
1331 This function is only meaningful during EVT_SPLITTER_SASH_POS_CHANGING
1332 and EVT_SPLITTER_SASH_POS_CHANGED events. In the case of _CHANGED
1333 events, sets the the new sash position. In the case of _CHANGING
1334 events, sets the new tracking bar position so visual feedback during
1335 dragging will represent that change that will actually take place. Set
1336 to -1 from the event handler code to prevent repositioning.
1338 return _windows_
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
1340 def GetSashPosition(*args
, **kwargs
):
1342 GetSashPosition(self) -> int
1344 Returns the new sash position while in EVT_SPLITTER_SASH_POS_CHANGING
1345 and EVT_SPLITTER_SASH_POS_CHANGED events.
1347 return _windows_
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
1349 def GetWindowBeingRemoved(*args
, **kwargs
):
1351 GetWindowBeingRemoved(self) -> Window
1353 Returns a pointer to the window being removed when a splitter window
1356 return _windows_
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
1358 def GetX(*args
, **kwargs
):
1362 Returns the x coordinate of the double-click point in a
1363 EVT_SPLITTER_DCLICK event.
1365 return _windows_
.SplitterEvent_GetX(*args
, **kwargs
)
1367 def GetY(*args
, **kwargs
):
1371 Returns the y coordinate of the double-click point in a
1372 EVT_SPLITTER_DCLICK event.
1374 return _windows_
.SplitterEvent_GetY(*args
, **kwargs
)
1377 class SplitterEventPtr(SplitterEvent
):
1378 def __init__(self
, this
):
1380 if not hasattr(self
,"thisown"): self
.thisown
= 0
1381 self
.__class
__ = SplitterEvent
1382 _windows_
.SplitterEvent_swigregister(SplitterEventPtr
)
1384 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
1385 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
1386 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows_
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
1387 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows_
.wxEVT_COMMAND_SPLITTER_UNSPLIT
1388 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
1389 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
1390 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
1391 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
1392 EVT_SPLITTER_DCLICK
= EVT_SPLITTER_DOUBLECLICKED
1394 #---------------------------------------------------------------------------
1396 SASH_DRAG_NONE
= _windows_
.SASH_DRAG_NONE
1397 SASH_DRAG_DRAGGING
= _windows_
.SASH_DRAG_DRAGGING
1398 SASH_DRAG_LEFT_DOWN
= _windows_
.SASH_DRAG_LEFT_DOWN
1399 SW_NOBORDER
= _windows_
.SW_NOBORDER
1400 SW_BORDER
= _windows_
.SW_BORDER
1401 SW_3DSASH
= _windows_
.SW_3DSASH
1402 SW_3DBORDER
= _windows_
.SW_3DBORDER
1403 SW_3D
= _windows_
.SW_3D
1404 SASH_TOP
= _windows_
.SASH_TOP
1405 SASH_RIGHT
= _windows_
.SASH_RIGHT
1406 SASH_BOTTOM
= _windows_
.SASH_BOTTOM
1407 SASH_LEFT
= _windows_
.SASH_LEFT
1408 SASH_NONE
= _windows_
.SASH_NONE
1409 class SashWindow(_core
.Window
):
1410 """Proxy of C++ SashWindow class"""
1412 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1413 def __init__(self
, *args
, **kwargs
):
1415 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1416 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1417 String name=SashNameStr) -> SashWindow
1419 newobj
= _windows_
.new_SashWindow(*args
, **kwargs
)
1420 self
.this
= newobj
.this
1423 self
._setOORInfo
(self
)
1425 def Create(*args
, **kwargs
):
1427 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1428 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1429 String name=SashNameStr) -> bool
1431 return _windows_
.SashWindow_Create(*args
, **kwargs
)
1433 def SetSashVisible(*args
, **kwargs
):
1434 """SetSashVisible(self, int edge, bool sash)"""
1435 return _windows_
.SashWindow_SetSashVisible(*args
, **kwargs
)
1437 def GetSashVisible(*args
, **kwargs
):
1438 """GetSashVisible(self, int edge) -> bool"""
1439 return _windows_
.SashWindow_GetSashVisible(*args
, **kwargs
)
1441 def SetSashBorder(*args
, **kwargs
):
1442 """SetSashBorder(self, int edge, bool border)"""
1443 return _windows_
.SashWindow_SetSashBorder(*args
, **kwargs
)
1445 def HasBorder(*args
, **kwargs
):
1446 """HasBorder(self, int edge) -> bool"""
1447 return _windows_
.SashWindow_HasBorder(*args
, **kwargs
)
1449 def GetEdgeMargin(*args
, **kwargs
):
1450 """GetEdgeMargin(self, int edge) -> int"""
1451 return _windows_
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
1453 def SetDefaultBorderSize(*args
, **kwargs
):
1454 """SetDefaultBorderSize(self, int width)"""
1455 return _windows_
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
1457 def GetDefaultBorderSize(*args
, **kwargs
):
1458 """GetDefaultBorderSize(self) -> int"""
1459 return _windows_
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
1461 def SetExtraBorderSize(*args
, **kwargs
):
1462 """SetExtraBorderSize(self, int width)"""
1463 return _windows_
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
1465 def GetExtraBorderSize(*args
, **kwargs
):
1466 """GetExtraBorderSize(self) -> int"""
1467 return _windows_
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
1469 def SetMinimumSizeX(*args
, **kwargs
):
1470 """SetMinimumSizeX(self, int min)"""
1471 return _windows_
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
1473 def SetMinimumSizeY(*args
, **kwargs
):
1474 """SetMinimumSizeY(self, int min)"""
1475 return _windows_
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
1477 def GetMinimumSizeX(*args
, **kwargs
):
1478 """GetMinimumSizeX(self) -> int"""
1479 return _windows_
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
1481 def GetMinimumSizeY(*args
, **kwargs
):
1482 """GetMinimumSizeY(self) -> int"""
1483 return _windows_
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
1485 def SetMaximumSizeX(*args
, **kwargs
):
1486 """SetMaximumSizeX(self, int max)"""
1487 return _windows_
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
1489 def SetMaximumSizeY(*args
, **kwargs
):
1490 """SetMaximumSizeY(self, int max)"""
1491 return _windows_
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
1493 def GetMaximumSizeX(*args
, **kwargs
):
1494 """GetMaximumSizeX(self) -> int"""
1495 return _windows_
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
1497 def GetMaximumSizeY(*args
, **kwargs
):
1498 """GetMaximumSizeY(self) -> int"""
1499 return _windows_
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
1501 def SashHitTest(*args
, **kwargs
):
1502 """SashHitTest(self, int x, int y, int tolerance=2) -> int"""
1503 return _windows_
.SashWindow_SashHitTest(*args
, **kwargs
)
1505 def SizeWindows(*args
, **kwargs
):
1506 """SizeWindows(self)"""
1507 return _windows_
.SashWindow_SizeWindows(*args
, **kwargs
)
1510 class SashWindowPtr(SashWindow
):
1511 def __init__(self
, this
):
1513 if not hasattr(self
,"thisown"): self
.thisown
= 0
1514 self
.__class
__ = SashWindow
1515 _windows_
.SashWindow_swigregister(SashWindowPtr
)
1516 SashNameStr
= cvar
.SashNameStr
1517 SashLayoutNameStr
= cvar
.SashLayoutNameStr
1519 def PreSashWindow(*args
, **kwargs
):
1520 """PreSashWindow() -> SashWindow"""
1521 val
= _windows_
.new_PreSashWindow(*args
, **kwargs
)
1525 SASH_STATUS_OK
= _windows_
.SASH_STATUS_OK
1526 SASH_STATUS_OUT_OF_RANGE
= _windows_
.SASH_STATUS_OUT_OF_RANGE
1527 class SashEvent(_core
.CommandEvent
):
1528 """Proxy of C++ SashEvent class"""
1530 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1531 def __init__(self
, *args
, **kwargs
):
1532 """__init__(self, int id=0, int edge=SASH_NONE) -> SashEvent"""
1533 newobj
= _windows_
.new_SashEvent(*args
, **kwargs
)
1534 self
.this
= newobj
.this
1537 def SetEdge(*args
, **kwargs
):
1538 """SetEdge(self, int edge)"""
1539 return _windows_
.SashEvent_SetEdge(*args
, **kwargs
)
1541 def GetEdge(*args
, **kwargs
):
1542 """GetEdge(self) -> int"""
1543 return _windows_
.SashEvent_GetEdge(*args
, **kwargs
)
1545 def SetDragRect(*args
, **kwargs
):
1546 """SetDragRect(self, Rect rect)"""
1547 return _windows_
.SashEvent_SetDragRect(*args
, **kwargs
)
1549 def GetDragRect(*args
, **kwargs
):
1550 """GetDragRect(self) -> Rect"""
1551 return _windows_
.SashEvent_GetDragRect(*args
, **kwargs
)
1553 def SetDragStatus(*args
, **kwargs
):
1554 """SetDragStatus(self, int status)"""
1555 return _windows_
.SashEvent_SetDragStatus(*args
, **kwargs
)
1557 def GetDragStatus(*args
, **kwargs
):
1558 """GetDragStatus(self) -> int"""
1559 return _windows_
.SashEvent_GetDragStatus(*args
, **kwargs
)
1562 class SashEventPtr(SashEvent
):
1563 def __init__(self
, this
):
1565 if not hasattr(self
,"thisown"): self
.thisown
= 0
1566 self
.__class
__ = SashEvent
1567 _windows_
.SashEvent_swigregister(SashEventPtr
)
1569 wxEVT_SASH_DRAGGED
= _windows_
.wxEVT_SASH_DRAGGED
1570 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
1571 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
1573 #---------------------------------------------------------------------------
1575 LAYOUT_HORIZONTAL
= _windows_
.LAYOUT_HORIZONTAL
1576 LAYOUT_VERTICAL
= _windows_
.LAYOUT_VERTICAL
1577 LAYOUT_NONE
= _windows_
.LAYOUT_NONE
1578 LAYOUT_TOP
= _windows_
.LAYOUT_TOP
1579 LAYOUT_LEFT
= _windows_
.LAYOUT_LEFT
1580 LAYOUT_RIGHT
= _windows_
.LAYOUT_RIGHT
1581 LAYOUT_BOTTOM
= _windows_
.LAYOUT_BOTTOM
1582 LAYOUT_LENGTH_Y
= _windows_
.LAYOUT_LENGTH_Y
1583 LAYOUT_LENGTH_X
= _windows_
.LAYOUT_LENGTH_X
1584 LAYOUT_MRU_LENGTH
= _windows_
.LAYOUT_MRU_LENGTH
1585 LAYOUT_QUERY
= _windows_
.LAYOUT_QUERY
1586 wxEVT_QUERY_LAYOUT_INFO
= _windows_
.wxEVT_QUERY_LAYOUT_INFO
1587 wxEVT_CALCULATE_LAYOUT
= _windows_
.wxEVT_CALCULATE_LAYOUT
1588 class QueryLayoutInfoEvent(_core
.Event
):
1589 """Proxy of C++ QueryLayoutInfoEvent class"""
1591 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1592 def __init__(self
, *args
, **kwargs
):
1593 """__init__(self, int id=0) -> QueryLayoutInfoEvent"""
1594 newobj
= _windows_
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1595 self
.this
= newobj
.this
1598 def SetRequestedLength(*args
, **kwargs
):
1599 """SetRequestedLength(self, int length)"""
1600 return _windows_
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1602 def GetRequestedLength(*args
, **kwargs
):
1603 """GetRequestedLength(self) -> int"""
1604 return _windows_
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1606 def SetFlags(*args
, **kwargs
):
1607 """SetFlags(self, int flags)"""
1608 return _windows_
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1610 def GetFlags(*args
, **kwargs
):
1611 """GetFlags(self) -> int"""
1612 return _windows_
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1614 def SetSize(*args
, **kwargs
):
1615 """SetSize(self, Size size)"""
1616 return _windows_
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1618 def GetSize(*args
, **kwargs
):
1619 """GetSize(self) -> Size"""
1620 return _windows_
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1622 def SetOrientation(*args
, **kwargs
):
1623 """SetOrientation(self, int orient)"""
1624 return _windows_
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1626 def GetOrientation(*args
, **kwargs
):
1627 """GetOrientation(self) -> int"""
1628 return _windows_
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1630 def SetAlignment(*args
, **kwargs
):
1631 """SetAlignment(self, int align)"""
1632 return _windows_
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1634 def GetAlignment(*args
, **kwargs
):
1635 """GetAlignment(self) -> int"""
1636 return _windows_
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1639 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1640 def __init__(self
, this
):
1642 if not hasattr(self
,"thisown"): self
.thisown
= 0
1643 self
.__class
__ = QueryLayoutInfoEvent
1644 _windows_
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1646 class CalculateLayoutEvent(_core
.Event
):
1647 """Proxy of C++ CalculateLayoutEvent class"""
1649 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1650 def __init__(self
, *args
, **kwargs
):
1651 """__init__(self, int id=0) -> CalculateLayoutEvent"""
1652 newobj
= _windows_
.new_CalculateLayoutEvent(*args
, **kwargs
)
1653 self
.this
= newobj
.this
1656 def SetFlags(*args
, **kwargs
):
1657 """SetFlags(self, int flags)"""
1658 return _windows_
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1660 def GetFlags(*args
, **kwargs
):
1661 """GetFlags(self) -> int"""
1662 return _windows_
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1664 def SetRect(*args
, **kwargs
):
1665 """SetRect(self, Rect rect)"""
1666 return _windows_
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1668 def GetRect(*args
, **kwargs
):
1669 """GetRect(self) -> Rect"""
1670 return _windows_
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1673 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1674 def __init__(self
, this
):
1676 if not hasattr(self
,"thisown"): self
.thisown
= 0
1677 self
.__class
__ = CalculateLayoutEvent
1678 _windows_
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1680 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1681 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1683 class SashLayoutWindow(SashWindow
):
1684 """Proxy of C++ SashLayoutWindow class"""
1686 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1687 def __init__(self
, *args
, **kwargs
):
1689 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1690 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1691 String name=SashLayoutNameStr) -> SashLayoutWindow
1693 newobj
= _windows_
.new_SashLayoutWindow(*args
, **kwargs
)
1694 self
.this
= newobj
.this
1697 self
._setOORInfo
(self
)
1699 def Create(*args
, **kwargs
):
1701 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1702 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1703 String name=SashLayoutNameStr) -> bool
1705 return _windows_
.SashLayoutWindow_Create(*args
, **kwargs
)
1707 def GetAlignment(*args
, **kwargs
):
1708 """GetAlignment(self) -> int"""
1709 return _windows_
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1711 def GetOrientation(*args
, **kwargs
):
1712 """GetOrientation(self) -> int"""
1713 return _windows_
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1715 def SetAlignment(*args
, **kwargs
):
1716 """SetAlignment(self, int alignment)"""
1717 return _windows_
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1719 def SetDefaultSize(*args
, **kwargs
):
1720 """SetDefaultSize(self, Size size)"""
1721 return _windows_
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1723 def SetOrientation(*args
, **kwargs
):
1724 """SetOrientation(self, int orientation)"""
1725 return _windows_
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1728 class SashLayoutWindowPtr(SashLayoutWindow
):
1729 def __init__(self
, this
):
1731 if not hasattr(self
,"thisown"): self
.thisown
= 0
1732 self
.__class
__ = SashLayoutWindow
1733 _windows_
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1735 def PreSashLayoutWindow(*args
, **kwargs
):
1736 """PreSashLayoutWindow() -> SashLayoutWindow"""
1737 val
= _windows_
.new_PreSashLayoutWindow(*args
, **kwargs
)
1741 class LayoutAlgorithm(_core
.Object
):
1742 """Proxy of C++ LayoutAlgorithm class"""
1744 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1745 def __init__(self
, *args
, **kwargs
):
1746 """__init__(self) -> LayoutAlgorithm"""
1747 newobj
= _windows_
.new_LayoutAlgorithm(*args
, **kwargs
)
1748 self
.this
= newobj
.this
1751 def __del__(self
, destroy
=_windows_
.delete_LayoutAlgorithm
):
1754 if self
.thisown
: destroy(self
)
1757 def LayoutMDIFrame(*args
, **kwargs
):
1758 """LayoutMDIFrame(self, MDIParentFrame frame, Rect rect=None) -> bool"""
1759 return _windows_
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1761 def LayoutFrame(*args
, **kwargs
):
1762 """LayoutFrame(self, Frame frame, Window mainWindow=None) -> bool"""
1763 return _windows_
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1765 def LayoutWindow(*args
, **kwargs
):
1766 """LayoutWindow(self, Window parent, Window mainWindow=None) -> bool"""
1767 return _windows_
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1770 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1771 def __init__(self
, this
):
1773 if not hasattr(self
,"thisown"): self
.thisown
= 0
1774 self
.__class
__ = LayoutAlgorithm
1775 _windows_
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1777 #---------------------------------------------------------------------------
1779 class PopupWindow(_core
.Window
):
1780 """Proxy of C++ PopupWindow class"""
1782 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1783 def __init__(self
, *args
, **kwargs
):
1784 """__init__(self, Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1785 newobj
= _windows_
.new_PopupWindow(*args
, **kwargs
)
1786 self
.this
= newobj
.this
1789 self
._setOORInfo
(self
)
1791 def Create(*args
, **kwargs
):
1792 """Create(self, Window parent, int flags=BORDER_NONE) -> bool"""
1793 return _windows_
.PopupWindow_Create(*args
, **kwargs
)
1795 def Position(*args
, **kwargs
):
1796 """Position(self, Point ptOrigin, Size size)"""
1797 return _windows_
.PopupWindow_Position(*args
, **kwargs
)
1800 class PopupWindowPtr(PopupWindow
):
1801 def __init__(self
, this
):
1803 if not hasattr(self
,"thisown"): self
.thisown
= 0
1804 self
.__class
__ = PopupWindow
1805 _windows_
.PopupWindow_swigregister(PopupWindowPtr
)
1807 def PrePopupWindow(*args
, **kwargs
):
1808 """PrePopupWindow() -> PopupWindow"""
1809 val
= _windows_
.new_PrePopupWindow(*args
, **kwargs
)
1813 #---------------------------------------------------------------------------
1815 class PopupTransientWindow(PopupWindow
):
1816 """Proxy of C++ PopupTransientWindow class"""
1818 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1819 def __init__(self
, *args
, **kwargs
):
1820 """__init__(self, Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1821 newobj
= _windows_
.new_PopupTransientWindow(*args
, **kwargs
)
1822 self
.this
= newobj
.this
1825 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, PopupTransientWindow
)
1827 def _setCallbackInfo(*args
, **kwargs
):
1828 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1829 return _windows_
.PopupTransientWindow__setCallbackInfo(*args
, **kwargs
)
1831 def Popup(*args
, **kwargs
):
1832 """Popup(self, Window focus=None)"""
1833 return _windows_
.PopupTransientWindow_Popup(*args
, **kwargs
)
1835 def Dismiss(*args
, **kwargs
):
1837 return _windows_
.PopupTransientWindow_Dismiss(*args
, **kwargs
)
1840 class PopupTransientWindowPtr(PopupTransientWindow
):
1841 def __init__(self
, this
):
1843 if not hasattr(self
,"thisown"): self
.thisown
= 0
1844 self
.__class
__ = PopupTransientWindow
1845 _windows_
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1847 def PrePopupTransientWindow(*args
, **kwargs
):
1848 """PrePopupTransientWindow() -> PopupTransientWindow"""
1849 val
= _windows_
.new_PrePopupTransientWindow(*args
, **kwargs
)
1853 #---------------------------------------------------------------------------
1855 class TipWindow(PopupTransientWindow
):
1856 """Proxy of C++ TipWindow class"""
1858 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1859 def __init__(self
, *args
, **kwargs
):
1860 """__init__(self, Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1861 newobj
= _windows_
.new_TipWindow(*args
, **kwargs
)
1862 self
.this
= newobj
.this
1865 self
._setOORInfo
(self
)
1867 def SetBoundingRect(*args
, **kwargs
):
1868 """SetBoundingRect(self, Rect rectBound)"""
1869 return _windows_
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1871 def Close(*args
, **kwargs
):
1875 This function simply generates a EVT_CLOSE event whose handler usually
1876 tries to close the window. It doesn't close the window itself,
1877 however. If force is False (the default) then the window's close
1878 handler will be allowed to veto the destruction of the window.
1880 return _windows_
.TipWindow_Close(*args
, **kwargs
)
1883 class TipWindowPtr(TipWindow
):
1884 def __init__(self
, this
):
1886 if not hasattr(self
,"thisown"): self
.thisown
= 0
1887 self
.__class
__ = TipWindow
1888 _windows_
.TipWindow_swigregister(TipWindowPtr
)
1890 #---------------------------------------------------------------------------
1892 class VScrolledWindow(Panel
):
1893 """Proxy of C++ VScrolledWindow class"""
1895 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1896 def __init__(self
, *args
, **kwargs
):
1898 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1899 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
1901 newobj
= _windows_
.new_VScrolledWindow(*args
, **kwargs
)
1902 self
.this
= newobj
.this
1905 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1907 def _setCallbackInfo(*args
, **kwargs
):
1908 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1909 return _windows_
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1911 def Create(*args
, **kwargs
):
1913 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1914 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
1916 return _windows_
.VScrolledWindow_Create(*args
, **kwargs
)
1918 def SetLineCount(*args
, **kwargs
):
1919 """SetLineCount(self, size_t count)"""
1920 return _windows_
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1922 def ScrollToLine(*args
, **kwargs
):
1923 """ScrollToLine(self, size_t line) -> bool"""
1924 return _windows_
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1926 def ScrollLines(*args
, **kwargs
):
1928 ScrollLines(self, int lines) -> bool
1930 If the platform and window class supports it, scrolls the window by
1931 the given number of lines down, if lines is positive, or up if lines
1932 is negative. Returns True if the window was scrolled, False if it was
1933 already on top/bottom and nothing was done.
1935 return _windows_
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1937 def ScrollPages(*args
, **kwargs
):
1939 ScrollPages(self, int pages) -> bool
1941 If the platform and window class supports it, scrolls the window by
1942 the given number of pages down, if pages is positive, or up if pages
1943 is negative. Returns True if the window was scrolled, False if it was
1944 already on top/bottom and nothing was done.
1946 return _windows_
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1948 def RefreshLine(*args
, **kwargs
):
1949 """RefreshLine(self, size_t line)"""
1950 return _windows_
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1952 def RefreshLines(*args
, **kwargs
):
1953 """RefreshLines(self, size_t from, size_t to)"""
1954 return _windows_
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1956 def HitTestXY(*args
, **kwargs
):
1958 HitTestXY(self, int x, int y) -> int
1960 Test where the given (in client coords) point lies
1962 return _windows_
.VScrolledWindow_HitTestXY(*args
, **kwargs
)
1964 def HitTest(*args
, **kwargs
):
1966 HitTest(self, Point pt) -> int
1968 Test where the given (in client coords) point lies
1970 return _windows_
.VScrolledWindow_HitTest(*args
, **kwargs
)
1972 def RefreshAll(*args
, **kwargs
):
1973 """RefreshAll(self)"""
1974 return _windows_
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1976 def GetLineCount(*args
, **kwargs
):
1977 """GetLineCount(self) -> size_t"""
1978 return _windows_
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1980 def GetFirstVisibleLine(*args
, **kwargs
):
1981 """GetFirstVisibleLine(self) -> size_t"""
1982 return _windows_
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1984 def GetLastVisibleLine(*args
, **kwargs
):
1985 """GetLastVisibleLine(self) -> size_t"""
1986 return _windows_
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1988 def IsVisible(*args
, **kwargs
):
1989 """IsVisible(self, size_t line) -> bool"""
1990 return _windows_
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1993 class VScrolledWindowPtr(VScrolledWindow
):
1994 def __init__(self
, this
):
1996 if not hasattr(self
,"thisown"): self
.thisown
= 0
1997 self
.__class
__ = VScrolledWindow
1998 _windows_
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
2000 def PreVScrolledWindow(*args
, **kwargs
):
2001 """PreVScrolledWindow() -> VScrolledWindow"""
2002 val
= _windows_
.new_PreVScrolledWindow(*args
, **kwargs
)
2006 class VListBox(VScrolledWindow
):
2007 """Proxy of C++ VListBox class"""
2009 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2010 def __init__(self
, *args
, **kwargs
):
2012 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2013 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
2015 newobj
= _windows_
.new_VListBox(*args
, **kwargs
)
2016 self
.this
= newobj
.this
2019 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
2021 def _setCallbackInfo(*args
, **kwargs
):
2022 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2023 return _windows_
.VListBox__setCallbackInfo(*args
, **kwargs
)
2025 def Create(*args
, **kwargs
):
2027 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2028 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
2030 return _windows_
.VListBox_Create(*args
, **kwargs
)
2032 def GetItemCount(*args
, **kwargs
):
2033 """GetItemCount(self) -> size_t"""
2034 return _windows_
.VListBox_GetItemCount(*args
, **kwargs
)
2036 def HasMultipleSelection(*args
, **kwargs
):
2037 """HasMultipleSelection(self) -> bool"""
2038 return _windows_
.VListBox_HasMultipleSelection(*args
, **kwargs
)
2040 def GetSelection(*args
, **kwargs
):
2041 """GetSelection(self) -> int"""
2042 return _windows_
.VListBox_GetSelection(*args
, **kwargs
)
2044 def IsCurrent(*args
, **kwargs
):
2045 """IsCurrent(self, size_t item) -> bool"""
2046 return _windows_
.VListBox_IsCurrent(*args
, **kwargs
)
2048 def IsSelected(*args
, **kwargs
):
2049 """IsSelected(self, size_t item) -> bool"""
2050 return _windows_
.VListBox_IsSelected(*args
, **kwargs
)
2052 def GetSelectedCount(*args
, **kwargs
):
2053 """GetSelectedCount(self) -> size_t"""
2054 return _windows_
.VListBox_GetSelectedCount(*args
, **kwargs
)
2056 def GetFirstSelected(*args
, **kwargs
):
2057 """GetFirstSelected(self) -> PyObject"""
2058 return _windows_
.VListBox_GetFirstSelected(*args
, **kwargs
)
2060 def GetNextSelected(*args
, **kwargs
):
2061 """GetNextSelected(self, unsigned long cookie) -> PyObject"""
2062 return _windows_
.VListBox_GetNextSelected(*args
, **kwargs
)
2064 def GetMargins(*args
, **kwargs
):
2065 """GetMargins(self) -> Point"""
2066 return _windows_
.VListBox_GetMargins(*args
, **kwargs
)
2068 def GetSelectionBackground(*args
, **kwargs
):
2069 """GetSelectionBackground(self) -> Colour"""
2070 return _windows_
.VListBox_GetSelectionBackground(*args
, **kwargs
)
2072 def SetItemCount(*args
, **kwargs
):
2073 """SetItemCount(self, size_t count)"""
2074 return _windows_
.VListBox_SetItemCount(*args
, **kwargs
)
2076 def Clear(*args
, **kwargs
):
2078 return _windows_
.VListBox_Clear(*args
, **kwargs
)
2080 def SetSelection(*args
, **kwargs
):
2081 """SetSelection(self, int selection)"""
2082 return _windows_
.VListBox_SetSelection(*args
, **kwargs
)
2084 def Select(*args
, **kwargs
):
2085 """Select(self, size_t item, bool select=True) -> bool"""
2086 return _windows_
.VListBox_Select(*args
, **kwargs
)
2088 def SelectRange(*args
, **kwargs
):
2089 """SelectRange(self, size_t from, size_t to) -> bool"""
2090 return _windows_
.VListBox_SelectRange(*args
, **kwargs
)
2092 def Toggle(*args
, **kwargs
):
2093 """Toggle(self, size_t item)"""
2094 return _windows_
.VListBox_Toggle(*args
, **kwargs
)
2096 def SelectAll(*args
, **kwargs
):
2097 """SelectAll(self) -> bool"""
2098 return _windows_
.VListBox_SelectAll(*args
, **kwargs
)
2100 def DeselectAll(*args
, **kwargs
):
2101 """DeselectAll(self) -> bool"""
2102 return _windows_
.VListBox_DeselectAll(*args
, **kwargs
)
2104 def SetMargins(*args
, **kwargs
):
2105 """SetMargins(self, Point pt)"""
2106 return _windows_
.VListBox_SetMargins(*args
, **kwargs
)
2108 def SetMarginsXY(*args
, **kwargs
):
2109 """SetMarginsXY(self, int x, int y)"""
2110 return _windows_
.VListBox_SetMarginsXY(*args
, **kwargs
)
2112 def SetSelectionBackground(*args
, **kwargs
):
2113 """SetSelectionBackground(self, Colour col)"""
2114 return _windows_
.VListBox_SetSelectionBackground(*args
, **kwargs
)
2117 class VListBoxPtr(VListBox
):
2118 def __init__(self
, this
):
2120 if not hasattr(self
,"thisown"): self
.thisown
= 0
2121 self
.__class
__ = VListBox
2122 _windows_
.VListBox_swigregister(VListBoxPtr
)
2123 VListBoxNameStr
= cvar
.VListBoxNameStr
2125 def PreVListBox(*args
, **kwargs
):
2126 """PreVListBox() -> VListBox"""
2127 val
= _windows_
.new_PreVListBox(*args
, **kwargs
)
2131 class HtmlListBox(VListBox
):
2132 """Proxy of C++ HtmlListBox class"""
2134 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2135 def __init__(self
, *args
, **kwargs
):
2137 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2138 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
2140 newobj
= _windows_
.new_HtmlListBox(*args
, **kwargs
)
2141 self
.this
= newobj
.this
2144 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
2146 def _setCallbackInfo(*args
, **kwargs
):
2147 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2148 return _windows_
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
2150 def Create(*args
, **kwargs
):
2152 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2153 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
2155 return _windows_
.HtmlListBox_Create(*args
, **kwargs
)
2157 def RefreshAll(*args
, **kwargs
):
2158 """RefreshAll(self)"""
2159 return _windows_
.HtmlListBox_RefreshAll(*args
, **kwargs
)
2161 def SetItemCount(*args
, **kwargs
):
2162 """SetItemCount(self, size_t count)"""
2163 return _windows_
.HtmlListBox_SetItemCount(*args
, **kwargs
)
2165 def GetFileSystem(*args
, **kwargs
):
2166 """GetFileSystem(self) -> FileSystem"""
2167 return _windows_
.HtmlListBox_GetFileSystem(*args
, **kwargs
)
2170 class HtmlListBoxPtr(HtmlListBox
):
2171 def __init__(self
, this
):
2173 if not hasattr(self
,"thisown"): self
.thisown
= 0
2174 self
.__class
__ = HtmlListBox
2175 _windows_
.HtmlListBox_swigregister(HtmlListBoxPtr
)
2177 def PreHtmlListBox(*args
, **kwargs
):
2178 """PreHtmlListBox() -> HtmlListBox"""
2179 val
= _windows_
.new_PreHtmlListBox(*args
, **kwargs
)
2183 #---------------------------------------------------------------------------
2185 class TaskBarIcon(_core
.EvtHandler
):
2186 """Proxy of C++ TaskBarIcon class"""
2188 return "<%s.%s; proxy of C++ wxPyTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2189 def __init__(self
, *args
, **kwargs
):
2190 """__init__(self) -> TaskBarIcon"""
2191 newobj
= _windows_
.new_TaskBarIcon(*args
, **kwargs
)
2192 self
.this
= newobj
.this
2195 self
._setCallbackInfo
(self
, TaskBarIcon
, 0)
2197 def _setCallbackInfo(*args
, **kwargs
):
2198 """_setCallbackInfo(self, PyObject self, PyObject _class, int incref)"""
2199 return _windows_
.TaskBarIcon__setCallbackInfo(*args
, **kwargs
)
2201 def Destroy(*args
, **kwargs
):
2205 Deletes the C++ object this Python object is a proxy for.
2207 return _windows_
.TaskBarIcon_Destroy(*args
, **kwargs
)
2209 def IsOk(*args
, **kwargs
):
2210 """IsOk(self) -> bool"""
2211 return _windows_
.TaskBarIcon_IsOk(*args
, **kwargs
)
2213 def __nonzero__(self
): return self
.IsOk()
2214 def IsIconInstalled(*args
, **kwargs
):
2215 """IsIconInstalled(self) -> bool"""
2216 return _windows_
.TaskBarIcon_IsIconInstalled(*args
, **kwargs
)
2218 def SetIcon(*args
, **kwargs
):
2219 """SetIcon(self, Icon icon, String tooltip=EmptyString) -> bool"""
2220 return _windows_
.TaskBarIcon_SetIcon(*args
, **kwargs
)
2222 def RemoveIcon(*args
, **kwargs
):
2223 """RemoveIcon(self) -> bool"""
2224 return _windows_
.TaskBarIcon_RemoveIcon(*args
, **kwargs
)
2226 def PopupMenu(*args
, **kwargs
):
2227 """PopupMenu(self, Menu menu) -> bool"""
2228 return _windows_
.TaskBarIcon_PopupMenu(*args
, **kwargs
)
2231 class TaskBarIconPtr(TaskBarIcon
):
2232 def __init__(self
, this
):
2234 if not hasattr(self
,"thisown"): self
.thisown
= 0
2235 self
.__class
__ = TaskBarIcon
2236 _windows_
.TaskBarIcon_swigregister(TaskBarIconPtr
)
2238 class TaskBarIconEvent(_core
.Event
):
2239 """Proxy of C++ TaskBarIconEvent class"""
2241 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2242 def __init__(self
, *args
, **kwargs
):
2243 """__init__(self, wxEventType evtType, wxTaskBarIcon tbIcon) -> TaskBarIconEvent"""
2244 newobj
= _windows_
.new_TaskBarIconEvent(*args
, **kwargs
)
2245 self
.this
= newobj
.this
2249 class TaskBarIconEventPtr(TaskBarIconEvent
):
2250 def __init__(self
, this
):
2252 if not hasattr(self
,"thisown"): self
.thisown
= 0
2253 self
.__class
__ = TaskBarIconEvent
2254 _windows_
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
2256 wxEVT_TASKBAR_MOVE
= _windows_
.wxEVT_TASKBAR_MOVE
2257 wxEVT_TASKBAR_LEFT_DOWN
= _windows_
.wxEVT_TASKBAR_LEFT_DOWN
2258 wxEVT_TASKBAR_LEFT_UP
= _windows_
.wxEVT_TASKBAR_LEFT_UP
2259 wxEVT_TASKBAR_RIGHT_DOWN
= _windows_
.wxEVT_TASKBAR_RIGHT_DOWN
2260 wxEVT_TASKBAR_RIGHT_UP
= _windows_
.wxEVT_TASKBAR_RIGHT_UP
2261 wxEVT_TASKBAR_LEFT_DCLICK
= _windows_
.wxEVT_TASKBAR_LEFT_DCLICK
2262 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows_
.wxEVT_TASKBAR_RIGHT_DCLICK
2263 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
2264 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
2265 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
2266 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
2267 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
2268 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
2269 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
2271 #---------------------------------------------------------------------------
2273 class ColourData(_core
.Object
):
2275 This class holds a variety of information related to the colour
2276 chooser dialog, used to transfer settings and results to and from the
2280 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2281 def __init__(self
, *args
, **kwargs
):
2283 __init__(self) -> ColourData
2285 Constructor, sets default values.
2287 newobj
= _windows_
.new_ColourData(*args
, **kwargs
)
2288 self
.this
= newobj
.this
2291 def __del__(self
, destroy
=_windows_
.delete_ColourData
):
2294 if self
.thisown
: destroy(self
)
2297 def GetChooseFull(*args
, **kwargs
):
2299 GetChooseFull(self) -> bool
2301 Under Windows, determines whether the Windows colour dialog will
2302 display the full dialog with custom colour selection controls. Has no
2303 meaning under other platforms. The default value is true.
2305 return _windows_
.ColourData_GetChooseFull(*args
, **kwargs
)
2307 def GetColour(*args
, **kwargs
):
2309 GetColour(self) -> Colour
2311 Gets the colour (pre)selected by the dialog.
2313 return _windows_
.ColourData_GetColour(*args
, **kwargs
)
2315 def GetCustomColour(*args
, **kwargs
):
2317 GetCustomColour(self, int i) -> Colour
2319 Gets the i'th custom colour associated with the colour dialog. i
2320 should be an integer between 0 and 15. The default custom colours are
2321 all invalid colours.
2323 return _windows_
.ColourData_GetCustomColour(*args
, **kwargs
)
2325 def SetChooseFull(*args
, **kwargs
):
2327 SetChooseFull(self, int flag)
2329 Under Windows, tells the Windows colour dialog to display the full
2330 dialog with custom colour selection controls. Under other platforms,
2331 has no effect. The default value is true.
2333 return _windows_
.ColourData_SetChooseFull(*args
, **kwargs
)
2335 def SetColour(*args
, **kwargs
):
2337 SetColour(self, Colour colour)
2339 Sets the default colour for the colour dialog. The default colour is
2342 return _windows_
.ColourData_SetColour(*args
, **kwargs
)
2344 def SetCustomColour(*args
, **kwargs
):
2346 SetCustomColour(self, int i, Colour colour)
2348 Sets the i'th custom colour for the colour dialog. i should be an
2349 integer between 0 and 15. The default custom colours are all invalid colours.
2351 return _windows_
.ColourData_SetCustomColour(*args
, **kwargs
)
2354 class ColourDataPtr(ColourData
):
2355 def __init__(self
, this
):
2357 if not hasattr(self
,"thisown"): self
.thisown
= 0
2358 self
.__class
__ = ColourData
2359 _windows_
.ColourData_swigregister(ColourDataPtr
)
2360 FileSelectorPromptStr
= cvar
.FileSelectorPromptStr
2361 DirSelectorPromptStr
= cvar
.DirSelectorPromptStr
2362 DirDialogNameStr
= cvar
.DirDialogNameStr
2363 FileSelectorDefaultWildcardStr
= cvar
.FileSelectorDefaultWildcardStr
2364 GetTextFromUserPromptStr
= cvar
.GetTextFromUserPromptStr
2365 MessageBoxCaptionStr
= cvar
.MessageBoxCaptionStr
2367 class ColourDialog(Dialog
):
2368 """This class represents the colour chooser dialog."""
2370 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2371 def __init__(self
, *args
, **kwargs
):
2373 __init__(self, Window parent, ColourData data=None) -> ColourDialog
2375 Constructor. Pass a parent window, and optionally a `wx.ColourData`,
2376 which will be copied to the colour dialog's internal ColourData
2379 newobj
= _windows_
.new_ColourDialog(*args
, **kwargs
)
2380 self
.this
= newobj
.this
2383 self
._setOORInfo
(self
)
2385 def GetColourData(*args
, **kwargs
):
2387 GetColourData(self) -> ColourData
2389 Returns a reference to the `wx.ColourData` used by the dialog.
2391 return _windows_
.ColourDialog_GetColourData(*args
, **kwargs
)
2394 class ColourDialogPtr(ColourDialog
):
2395 def __init__(self
, this
):
2397 if not hasattr(self
,"thisown"): self
.thisown
= 0
2398 self
.__class
__ = ColourDialog
2399 _windows_
.ColourDialog_swigregister(ColourDialogPtr
)
2401 class DirDialog(Dialog
):
2403 wx.DirDialog allows the user to select a directory by browising the
2407 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2408 def __init__(self
, *args
, **kwargs
):
2410 __init__(self, Window parent, String message=DirSelectorPromptStr,
2411 String defaultPath=EmptyString, long style=0,
2412 Point pos=DefaultPosition, Size size=DefaultSize,
2413 String name=DirDialogNameStr) -> DirDialog
2415 Constructor. Use ShowModal method to show the dialog.
2417 newobj
= _windows_
.new_DirDialog(*args
, **kwargs
)
2418 self
.this
= newobj
.this
2421 self
._setOORInfo
(self
)
2423 def GetPath(*args
, **kwargs
):
2425 GetPath(self) -> String
2427 Returns the default or user-selected path.
2429 return _windows_
.DirDialog_GetPath(*args
, **kwargs
)
2431 def GetMessage(*args
, **kwargs
):
2433 GetMessage(self) -> String
2435 Returns the message that will be displayed on the dialog.
2437 return _windows_
.DirDialog_GetMessage(*args
, **kwargs
)
2439 def GetStyle(*args
, **kwargs
):
2441 GetStyle(self) -> long
2443 Returns the dialog style.
2445 return _windows_
.DirDialog_GetStyle(*args
, **kwargs
)
2447 def SetMessage(*args
, **kwargs
):
2449 SetMessage(self, String message)
2451 Sets the message that will be displayed on the dialog.
2453 return _windows_
.DirDialog_SetMessage(*args
, **kwargs
)
2455 def SetPath(*args
, **kwargs
):
2457 SetPath(self, String path)
2459 Sets the default path.
2461 return _windows_
.DirDialog_SetPath(*args
, **kwargs
)
2464 class DirDialogPtr(DirDialog
):
2465 def __init__(self
, this
):
2467 if not hasattr(self
,"thisown"): self
.thisown
= 0
2468 self
.__class
__ = DirDialog
2469 _windows_
.DirDialog_swigregister(DirDialogPtr
)
2471 class FileDialog(Dialog
):
2473 wx.FileDialog allows the user to select one or more files from the
2477 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2478 def __init__(self
, *args
, **kwargs
):
2480 __init__(self, Window parent, String message=FileSelectorPromptStr,
2481 String defaultDir=EmptyString, String defaultFile=EmptyString,
2482 String wildcard=FileSelectorDefaultWildcardStr,
2483 long style=0, Point pos=DefaultPosition) -> FileDialog
2485 Constructor. Use ShowModal method to show the dialog.
2487 newobj
= _windows_
.new_FileDialog(*args
, **kwargs
)
2488 self
.this
= newobj
.this
2491 self
._setOORInfo
(self
)
2493 def SetMessage(*args
, **kwargs
):
2495 SetMessage(self, String message)
2497 Sets the message that will be displayed on the dialog.
2499 return _windows_
.FileDialog_SetMessage(*args
, **kwargs
)
2501 def SetPath(*args
, **kwargs
):
2503 SetPath(self, String path)
2505 Sets the path (the combined directory and filename that will be
2506 returned when the dialog is dismissed).
2508 return _windows_
.FileDialog_SetPath(*args
, **kwargs
)
2510 def SetDirectory(*args
, **kwargs
):
2512 SetDirectory(self, String dir)
2514 Sets the default directory.
2516 return _windows_
.FileDialog_SetDirectory(*args
, **kwargs
)
2518 def SetFilename(*args
, **kwargs
):
2520 SetFilename(self, String name)
2522 Sets the default filename.
2524 return _windows_
.FileDialog_SetFilename(*args
, **kwargs
)
2526 def SetWildcard(*args
, **kwargs
):
2528 SetWildcard(self, String wildCard)
2530 Sets the wildcard, which can contain multiple file types, for
2533 "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
2536 return _windows_
.FileDialog_SetWildcard(*args
, **kwargs
)
2538 def SetStyle(*args
, **kwargs
):
2540 SetStyle(self, long style)
2542 Sets the dialog style.
2544 return _windows_
.FileDialog_SetStyle(*args
, **kwargs
)
2546 def SetFilterIndex(*args
, **kwargs
):
2548 SetFilterIndex(self, int filterIndex)
2550 Sets the default filter index, starting from zero.
2552 return _windows_
.FileDialog_SetFilterIndex(*args
, **kwargs
)
2554 def GetMessage(*args
, **kwargs
):
2556 GetMessage(self) -> String
2558 Returns the message that will be displayed on the dialog.
2560 return _windows_
.FileDialog_GetMessage(*args
, **kwargs
)
2562 def GetPath(*args
, **kwargs
):
2564 GetPath(self) -> String
2566 Returns the full path (directory and filename) of the selected file.
2568 return _windows_
.FileDialog_GetPath(*args
, **kwargs
)
2570 def GetDirectory(*args
, **kwargs
):
2572 GetDirectory(self) -> String
2574 Returns the default directory.
2576 return _windows_
.FileDialog_GetDirectory(*args
, **kwargs
)
2578 def GetFilename(*args
, **kwargs
):
2580 GetFilename(self) -> String
2582 Returns the default filename.
2584 return _windows_
.FileDialog_GetFilename(*args
, **kwargs
)
2586 def GetWildcard(*args
, **kwargs
):
2588 GetWildcard(self) -> String
2590 Returns the file dialog wildcard.
2592 return _windows_
.FileDialog_GetWildcard(*args
, **kwargs
)
2594 def GetStyle(*args
, **kwargs
):
2596 GetStyle(self) -> long
2598 Returns the dialog style.
2600 return _windows_
.FileDialog_GetStyle(*args
, **kwargs
)
2602 def GetFilterIndex(*args
, **kwargs
):
2604 GetFilterIndex(self) -> int
2606 Returns the index into the list of filters supplied, optionally, in
2607 the wildcard parameter. Before the dialog is shown, this is the index
2608 which will be used when the dialog is first displayed. After the
2609 dialog is shown, this is the index selected by the user.
2611 return _windows_
.FileDialog_GetFilterIndex(*args
, **kwargs
)
2613 def GetFilenames(*args
, **kwargs
):
2615 GetFilenames(self) -> PyObject
2617 Returns a list of filenames chosen in the dialog. This function
2618 should only be used with the dialogs which have wx.MULTIPLE style, use
2619 GetFilename for the others.
2621 return _windows_
.FileDialog_GetFilenames(*args
, **kwargs
)
2623 def GetPaths(*args
, **kwargs
):
2625 GetPaths(self) -> PyObject
2627 Fills the array paths with the full paths of the files chosen. This
2628 function should only be used with the dialogs which have wx.MULTIPLE
2629 style, use GetPath for the others.
2631 return _windows_
.FileDialog_GetPaths(*args
, **kwargs
)
2634 class FileDialogPtr(FileDialog
):
2635 def __init__(self
, this
):
2637 if not hasattr(self
,"thisown"): self
.thisown
= 0
2638 self
.__class
__ = FileDialog
2639 _windows_
.FileDialog_swigregister(FileDialogPtr
)
2641 CHOICEDLG_STYLE
= _windows_
.CHOICEDLG_STYLE
2642 class MultiChoiceDialog(Dialog
):
2643 """A simple dialog with a multi selection listbox."""
2645 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2646 def __init__(self
, *args
, **kwargs
):
2648 __init__(Window parent, String message, String caption,
2649 List choices=[], long style=CHOICEDLG_STYLE,
2650 Point pos=DefaultPosition) -> MultiChoiceDialog
2652 Constructor. Use ShowModal method to show the dialog.
2654 newobj
= _windows_
.new_MultiChoiceDialog(*args
, **kwargs
)
2655 self
.this
= newobj
.this
2658 self
._setOORInfo
(self
)
2660 def SetSelections(*args
, **kwargs
):
2662 SetSelections(List selections)
2664 Specify the items in the list that should be selected, using a list of
2667 return _windows_
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
2669 def GetSelections(*args
, **kwargs
):
2671 GetSelections() -> [selections]
2673 Returns a list of integers representing the items that are selected.
2675 return _windows_
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
2678 class MultiChoiceDialogPtr(MultiChoiceDialog
):
2679 def __init__(self
, this
):
2681 if not hasattr(self
,"thisown"): self
.thisown
= 0
2682 self
.__class
__ = MultiChoiceDialog
2683 _windows_
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
2685 class SingleChoiceDialog(Dialog
):
2686 """A simple dialog with a single selection listbox."""
2688 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2689 def __init__(self
, *args
, **kwargs
):
2691 __init__(Window parent, String message, String caption,
2692 List choices=[], long style=CHOICEDLG_STYLE,
2693 Point pos=DefaultPosition) -> SingleChoiceDialog
2695 Constructor. Use ShowModal method to show the dialog.
2697 newobj
= _windows_
.new_SingleChoiceDialog(*args
, **kwargs
)
2698 self
.this
= newobj
.this
2701 self
._setOORInfo
(self
)
2703 def GetSelection(*args
, **kwargs
):
2705 GetSelection(self) -> int
2707 Get the index of teh currently selected item.
2709 return _windows_
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
2711 def GetStringSelection(*args
, **kwargs
):
2713 GetStringSelection(self) -> String
2715 Returns the string value of the currently selected item
2717 return _windows_
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
2719 def SetSelection(*args
, **kwargs
):
2721 SetSelection(self, int sel)
2723 Set the current selected item to sel
2725 return _windows_
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
2728 class SingleChoiceDialogPtr(SingleChoiceDialog
):
2729 def __init__(self
, this
):
2731 if not hasattr(self
,"thisown"): self
.thisown
= 0
2732 self
.__class
__ = SingleChoiceDialog
2733 _windows_
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
2735 TextEntryDialogStyle
= _windows_
.TextEntryDialogStyle
2736 class TextEntryDialog(Dialog
):
2737 """A dialog with text control, [ok] and [cancel] buttons"""
2739 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2740 def __init__(self
, *args
, **kwargs
):
2742 __init__(self, Window parent, String message, String caption=GetTextFromUserPromptStr,
2743 String defaultValue=EmptyString,
2744 long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> TextEntryDialog
2746 Constructor. Use ShowModal method to show the dialog.
2748 newobj
= _windows_
.new_TextEntryDialog(*args
, **kwargs
)
2749 self
.this
= newobj
.this
2752 self
._setOORInfo
(self
)
2754 def GetValue(*args
, **kwargs
):
2756 GetValue(self) -> String
2758 Returns the text that the user has entered if the user has pressed OK,
2759 or the original value if the user has pressed Cancel.
2761 return _windows_
.TextEntryDialog_GetValue(*args
, **kwargs
)
2763 def SetValue(*args
, **kwargs
):
2765 SetValue(self, String value)
2767 Sets the default text value.
2769 return _windows_
.TextEntryDialog_SetValue(*args
, **kwargs
)
2772 class TextEntryDialogPtr(TextEntryDialog
):
2773 def __init__(self
, this
):
2775 if not hasattr(self
,"thisown"): self
.thisown
= 0
2776 self
.__class
__ = TextEntryDialog
2777 _windows_
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
2779 class PasswordEntryDialog(TextEntryDialog
):
2780 """Proxy of C++ PasswordEntryDialog class"""
2782 return "<%s.%s; proxy of C++ wxPasswordEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2783 def __init__(self
, *args
, **kwargs
):
2785 __init__(self, Window parent, String message, String caption=GetPasswordFromUserPromptStr,
2786 String value=EmptyString,
2787 long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> PasswordEntryDialog
2789 newobj
= _windows_
.new_PasswordEntryDialog(*args
, **kwargs
)
2790 self
.this
= newobj
.this
2794 class PasswordEntryDialogPtr(PasswordEntryDialog
):
2795 def __init__(self
, this
):
2797 if not hasattr(self
,"thisown"): self
.thisown
= 0
2798 self
.__class
__ = PasswordEntryDialog
2799 _windows_
.PasswordEntryDialog_swigregister(PasswordEntryDialogPtr
)
2800 GetPasswordFromUserPromptStr
= cvar
.GetPasswordFromUserPromptStr
2802 class FontData(_core
.Object
):
2804 This class holds a variety of information related to font dialogs and
2805 is used to transfer settings to and results from a `wx.FontDialog`.
2808 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2809 def __init__(self
, *args
, **kwargs
):
2811 __init__(self) -> FontData
2813 This class holds a variety of information related to font dialogs and
2814 is used to transfer settings to and results from a `wx.FontDialog`.
2816 newobj
= _windows_
.new_FontData(*args
, **kwargs
)
2817 self
.this
= newobj
.this
2820 def __del__(self
, destroy
=_windows_
.delete_FontData
):
2823 if self
.thisown
: destroy(self
)
2826 def EnableEffects(*args
, **kwargs
):
2828 EnableEffects(self, bool enable)
2830 Enables or disables 'effects' under MS Windows only. This refers to
2831 the controls for manipulating colour, strikeout and underline
2832 properties. The default value is true.
2834 return _windows_
.FontData_EnableEffects(*args
, **kwargs
)
2836 def GetAllowSymbols(*args
, **kwargs
):
2838 GetAllowSymbols(self) -> bool
2840 Under MS Windows, returns a flag determining whether symbol fonts can
2841 be selected. Has no effect on other platforms. The default value is
2844 return _windows_
.FontData_GetAllowSymbols(*args
, **kwargs
)
2846 def GetColour(*args
, **kwargs
):
2848 GetColour(self) -> Colour
2850 Gets the colour associated with the font dialog. The default value is
2853 return _windows_
.FontData_GetColour(*args
, **kwargs
)
2855 def GetChosenFont(*args
, **kwargs
):
2857 GetChosenFont(self) -> Font
2859 Gets the font chosen by the user.
2861 return _windows_
.FontData_GetChosenFont(*args
, **kwargs
)
2863 def GetEnableEffects(*args
, **kwargs
):
2865 GetEnableEffects(self) -> bool
2867 Determines whether 'effects' are enabled under Windows.
2869 return _windows_
.FontData_GetEnableEffects(*args
, **kwargs
)
2871 def GetInitialFont(*args
, **kwargs
):
2873 GetInitialFont(self) -> Font
2875 Gets the font that will be initially used by the font dialog. This
2876 should have previously been set by the application.
2878 return _windows_
.FontData_GetInitialFont(*args
, **kwargs
)
2880 def GetShowHelp(*args
, **kwargs
):
2882 GetShowHelp(self) -> bool
2884 Returns true if the Help button will be shown (Windows only). The
2885 default value is false.
2887 return _windows_
.FontData_GetShowHelp(*args
, **kwargs
)
2889 def SetAllowSymbols(*args
, **kwargs
):
2891 SetAllowSymbols(self, bool allowSymbols)
2893 Under MS Windows, determines whether symbol fonts can be selected. Has
2894 no effect on other platforms. The default value is true.
2896 return _windows_
.FontData_SetAllowSymbols(*args
, **kwargs
)
2898 def SetChosenFont(*args
, **kwargs
):
2900 SetChosenFont(self, Font font)
2902 Sets the font that will be returned to the user (normally for internal
2905 return _windows_
.FontData_SetChosenFont(*args
, **kwargs
)
2907 def SetColour(*args
, **kwargs
):
2909 SetColour(self, Colour colour)
2911 Sets the colour that will be used for the font foreground colour. The
2912 default colour is black.
2914 return _windows_
.FontData_SetColour(*args
, **kwargs
)
2916 def SetInitialFont(*args
, **kwargs
):
2918 SetInitialFont(self, Font font)
2920 Sets the font that will be initially used by the font dialog.
2922 return _windows_
.FontData_SetInitialFont(*args
, **kwargs
)
2924 def SetRange(*args
, **kwargs
):
2926 SetRange(self, int min, int max)
2928 Sets the valid range for the font point size (Windows only). The
2929 default is 0, 0 (unrestricted range).
2931 return _windows_
.FontData_SetRange(*args
, **kwargs
)
2933 def SetShowHelp(*args
, **kwargs
):
2935 SetShowHelp(self, bool showHelp)
2937 Determines whether the Help button will be displayed in the font
2938 dialog (Windows only). The default value is false.
2940 return _windows_
.FontData_SetShowHelp(*args
, **kwargs
)
2943 class FontDataPtr(FontData
):
2944 def __init__(self
, this
):
2946 if not hasattr(self
,"thisown"): self
.thisown
= 0
2947 self
.__class
__ = FontData
2948 _windows_
.FontData_swigregister(FontDataPtr
)
2950 class FontDialog(Dialog
):
2952 wx.FontDialog allows the user to select a system font and its attributes.
2958 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2959 def __init__(self
, *args
, **kwargs
):
2961 __init__(self, Window parent, FontData data) -> FontDialog
2963 Constructor. Pass a parent window and the `wx.FontData` object to be
2964 used to initialize the dialog controls. Call `ShowModal` to display
2965 the dialog. If ShowModal returns ``wx.ID_OK`` then you can fetch the
2966 results with via the `wx.FontData` returned by `GetFontData`.
2968 newobj
= _windows_
.new_FontDialog(*args
, **kwargs
)
2969 self
.this
= newobj
.this
2972 self
._setOORInfo
(self
)
2974 def GetFontData(*args
, **kwargs
):
2976 GetFontData(self) -> FontData
2978 Returns a reference to the internal `wx.FontData` used by the
2981 return _windows_
.FontDialog_GetFontData(*args
, **kwargs
)
2984 class FontDialogPtr(FontDialog
):
2985 def __init__(self
, this
):
2987 if not hasattr(self
,"thisown"): self
.thisown
= 0
2988 self
.__class
__ = FontDialog
2989 _windows_
.FontDialog_swigregister(FontDialogPtr
)
2991 class MessageDialog(Dialog
):
2993 This class provides a simple dialog that shows a single or multi-line
2994 message, with a choice of OK, Yes, No and/or Cancel buttons.
2997 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2998 def __init__(self
, *args
, **kwargs
):
3000 __init__(self, Window parent, String message, String caption=MessageBoxCaptionStr,
3001 long style=wxOK|wxCANCEL|wxCENTRE,
3002 Point pos=DefaultPosition) -> MessageDialog
3004 Constructor, use `ShowModal` to display the dialog.
3006 newobj
= _windows_
.new_MessageDialog(*args
, **kwargs
)
3007 self
.this
= newobj
.this
3010 self
._setOORInfo
(self
)
3013 class MessageDialogPtr(MessageDialog
):
3014 def __init__(self
, this
):
3016 if not hasattr(self
,"thisown"): self
.thisown
= 0
3017 self
.__class
__ = MessageDialog
3018 _windows_
.MessageDialog_swigregister(MessageDialogPtr
)
3020 class ProgressDialog(Frame
):
3022 A dialog that shows a short message and a progress bar. Optionally, it
3023 can display an ABORT button.
3026 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3027 def __init__(self
, *args
, **kwargs
):
3029 __init__(self, String title, String message, int maximum=100, Window parent=None,
3030 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
3032 Constructor. Creates the dialog, displays it and disables user input
3033 for other windows, or, if wx.PD_APP_MODAL flag is not given, for its
3036 newobj
= _windows_
.new_ProgressDialog(*args
, **kwargs
)
3037 self
.this
= newobj
.this
3040 self
._setOORInfo
(self
)
3042 def Update(*args
, **kwargs
):
3044 Update(self, int value, String newmsg=EmptyString) -> bool
3046 Updates the dialog, setting the progress bar to the new value and, if
3047 given changes the message above it. The value given should be less
3048 than or equal to the maximum value given to the constructor and the
3049 dialog is closed if it is equal to the maximum. Returns True unless
3050 the Cancel button has been pressed.
3052 If false is returned, the application can either immediately destroy
3053 the dialog or ask the user for the confirmation and if the abort is
3054 not confirmed the dialog may be resumed with Resume function.
3056 return _windows_
.ProgressDialog_Update(*args
, **kwargs
)
3058 def Resume(*args
, **kwargs
):
3062 Can be used to continue with the dialog, after the user had chosen to
3065 return _windows_
.ProgressDialog_Resume(*args
, **kwargs
)
3068 class ProgressDialogPtr(ProgressDialog
):
3069 def __init__(self
, this
):
3071 if not hasattr(self
,"thisown"): self
.thisown
= 0
3072 self
.__class
__ = ProgressDialog
3073 _windows_
.ProgressDialog_swigregister(ProgressDialogPtr
)
3075 FR_DOWN
= _windows_
.FR_DOWN
3076 FR_WHOLEWORD
= _windows_
.FR_WHOLEWORD
3077 FR_MATCHCASE
= _windows_
.FR_MATCHCASE
3078 FR_REPLACEDIALOG
= _windows_
.FR_REPLACEDIALOG
3079 FR_NOUPDOWN
= _windows_
.FR_NOUPDOWN
3080 FR_NOMATCHCASE
= _windows_
.FR_NOMATCHCASE
3081 FR_NOWHOLEWORD
= _windows_
.FR_NOWHOLEWORD
3082 wxEVT_COMMAND_FIND
= _windows_
.wxEVT_COMMAND_FIND
3083 wxEVT_COMMAND_FIND_NEXT
= _windows_
.wxEVT_COMMAND_FIND_NEXT
3084 wxEVT_COMMAND_FIND_REPLACE
= _windows_
.wxEVT_COMMAND_FIND_REPLACE
3085 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows_
.wxEVT_COMMAND_FIND_REPLACE_ALL
3086 wxEVT_COMMAND_FIND_CLOSE
= _windows_
.wxEVT_COMMAND_FIND_CLOSE
3087 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
3088 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
3089 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
3090 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
3091 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
3093 # For backwards compatibility. Should they be removed?
3094 EVT_COMMAND_FIND
= EVT_FIND
3095 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
3096 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
3097 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
3098 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
3100 class FindDialogEvent(_core
.CommandEvent
):
3101 """Events for the FindReplaceDialog"""
3103 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3104 def __init__(self
, *args
, **kwargs
):
3106 __init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent
3108 Events for the FindReplaceDialog
3110 newobj
= _windows_
.new_FindDialogEvent(*args
, **kwargs
)
3111 self
.this
= newobj
.this
3114 def GetFlags(*args
, **kwargs
):
3116 GetFlags(self) -> int
3118 Get the currently selected flags: this is the combination of
3119 wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.
3121 return _windows_
.FindDialogEvent_GetFlags(*args
, **kwargs
)
3123 def GetFindString(*args
, **kwargs
):
3125 GetFindString(self) -> String
3127 Return the string to find (never empty).
3129 return _windows_
.FindDialogEvent_GetFindString(*args
, **kwargs
)
3131 def GetReplaceString(*args
, **kwargs
):
3133 GetReplaceString(self) -> String
3135 Return the string to replace the search string with (only for replace
3136 and replace all events).
3138 return _windows_
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
3140 def GetDialog(*args
, **kwargs
):
3142 GetDialog(self) -> FindReplaceDialog
3144 Return the pointer to the dialog which generated this event.
3146 return _windows_
.FindDialogEvent_GetDialog(*args
, **kwargs
)
3148 def SetFlags(*args
, **kwargs
):
3149 """SetFlags(self, int flags)"""
3150 return _windows_
.FindDialogEvent_SetFlags(*args
, **kwargs
)
3152 def SetFindString(*args
, **kwargs
):
3153 """SetFindString(self, String str)"""
3154 return _windows_
.FindDialogEvent_SetFindString(*args
, **kwargs
)
3156 def SetReplaceString(*args
, **kwargs
):
3157 """SetReplaceString(self, String str)"""
3158 return _windows_
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
3161 class FindDialogEventPtr(FindDialogEvent
):
3162 def __init__(self
, this
):
3164 if not hasattr(self
,"thisown"): self
.thisown
= 0
3165 self
.__class
__ = FindDialogEvent
3166 _windows_
.FindDialogEvent_swigregister(FindDialogEventPtr
)
3168 class FindReplaceData(_core
.Object
):
3170 wx.FindReplaceData holds the data for wx.FindReplaceDialog. It is used
3171 to initialize the dialog with the default values and will keep the
3172 last values from the dialog when it is closed. It is also updated each
3173 time a `wx.FindDialogEvent` is generated so instead of using the
3174 `wx.FindDialogEvent` methods you can also directly query this object.
3176 Note that all SetXXX() methods may only be called before showing the
3177 dialog and calling them has no effect later.
3180 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3181 def __init__(self
, *args
, **kwargs
):
3183 __init__(self, int flags=0) -> FindReplaceData
3185 Constuctor initializes the flags to default value (0).
3187 newobj
= _windows_
.new_FindReplaceData(*args
, **kwargs
)
3188 self
.this
= newobj
.this
3191 def __del__(self
, destroy
=_windows_
.delete_FindReplaceData
):
3194 if self
.thisown
: destroy(self
)
3197 def GetFindString(*args
, **kwargs
):
3199 GetFindString(self) -> String
3201 Get the string to find.
3203 return _windows_
.FindReplaceData_GetFindString(*args
, **kwargs
)
3205 def GetReplaceString(*args
, **kwargs
):
3207 GetReplaceString(self) -> String
3209 Get the replacement string.
3211 return _windows_
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
3213 def GetFlags(*args
, **kwargs
):
3215 GetFlags(self) -> int
3217 Get the combination of flag values.
3219 return _windows_
.FindReplaceData_GetFlags(*args
, **kwargs
)
3221 def SetFlags(*args
, **kwargs
):
3223 SetFlags(self, int flags)
3225 Set the flags to use to initialize the controls of the dialog.
3227 return _windows_
.FindReplaceData_SetFlags(*args
, **kwargs
)
3229 def SetFindString(*args
, **kwargs
):
3231 SetFindString(self, String str)
3233 Set the string to find (used as initial value by the dialog).
3235 return _windows_
.FindReplaceData_SetFindString(*args
, **kwargs
)
3237 def SetReplaceString(*args
, **kwargs
):
3239 SetReplaceString(self, String str)
3241 Set the replacement string (used as initial value by the dialog).
3243 return _windows_
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
3246 class FindReplaceDataPtr(FindReplaceData
):
3247 def __init__(self
, this
):
3249 if not hasattr(self
,"thisown"): self
.thisown
= 0
3250 self
.__class
__ = FindReplaceData
3251 _windows_
.FindReplaceData_swigregister(FindReplaceDataPtr
)
3253 class FindReplaceDialog(Dialog
):
3255 wx.FindReplaceDialog is a standard modeless dialog which is used to
3256 allow the user to search for some text (and possibly replace it with
3257 something else). The actual searching is supposed to be done in the
3258 owner window which is the parent of this dialog. Note that it means
3259 that unlike for the other standard dialogs this one must have a parent
3260 window. Also note that there is no way to use this dialog in a modal
3261 way; it is always, by design and implementation, modeless.
3264 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3265 def __init__(self
, *args
, **kwargs
):
3267 __init__(self, Window parent, FindReplaceData data, String title,
3268 int style=0) -> FindReplaceDialog
3270 Create a FindReplaceDialog. The parent and data parameters must be
3271 non-None. Use Show to display the dialog.
3273 newobj
= _windows_
.new_FindReplaceDialog(*args
, **kwargs
)
3274 self
.this
= newobj
.this
3277 self
._setOORInfo
(self
)
3279 def Create(*args
, **kwargs
):
3281 Create(self, Window parent, FindReplaceData data, String title,
3282 int style=0) -> bool
3284 Create the dialog, for 2-phase create.
3286 return _windows_
.FindReplaceDialog_Create(*args
, **kwargs
)
3288 def GetData(*args
, **kwargs
):
3290 GetData(self) -> FindReplaceData
3292 Get the FindReplaceData object used by this dialog.
3294 return _windows_
.FindReplaceDialog_GetData(*args
, **kwargs
)
3296 def SetData(*args
, **kwargs
):
3298 SetData(self, FindReplaceData data)
3300 Set the FindReplaceData object used by this dialog.
3302 return _windows_
.FindReplaceDialog_SetData(*args
, **kwargs
)
3305 class FindReplaceDialogPtr(FindReplaceDialog
):
3306 def __init__(self
, this
):
3308 if not hasattr(self
,"thisown"): self
.thisown
= 0
3309 self
.__class
__ = FindReplaceDialog
3310 _windows_
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
3312 def PreFindReplaceDialog(*args
, **kwargs
):
3314 PreFindReplaceDialog() -> FindReplaceDialog
3316 Precreate a FindReplaceDialog for 2-phase creation
3318 val
= _windows_
.new_PreFindReplaceDialog(*args
, **kwargs
)
3322 #---------------------------------------------------------------------------
3324 IDM_WINDOWTILE
= _windows_
.IDM_WINDOWTILE
3325 IDM_WINDOWTILEHOR
= _windows_
.IDM_WINDOWTILEHOR
3326 IDM_WINDOWCASCADE
= _windows_
.IDM_WINDOWCASCADE
3327 IDM_WINDOWICONS
= _windows_
.IDM_WINDOWICONS
3328 IDM_WINDOWNEXT
= _windows_
.IDM_WINDOWNEXT
3329 IDM_WINDOWTILEVERT
= _windows_
.IDM_WINDOWTILEVERT
3330 IDM_WINDOWPREV
= _windows_
.IDM_WINDOWPREV
3331 FIRST_MDI_CHILD
= _windows_
.FIRST_MDI_CHILD
3332 LAST_MDI_CHILD
= _windows_
.LAST_MDI_CHILD
3333 class MDIParentFrame(Frame
):
3334 """Proxy of C++ MDIParentFrame class"""
3336 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3337 def __init__(self
, *args
, **kwargs
):
3339 __init__(self, Window parent, int id=-1, String title=EmptyString,
3340 Point pos=DefaultPosition, Size size=DefaultSize,
3341 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3342 String name=FrameNameStr) -> MDIParentFrame
3344 newobj
= _windows_
.new_MDIParentFrame(*args
, **kwargs
)
3345 self
.this
= newobj
.this
3348 self
._setOORInfo
(self
)
3350 def Create(*args
, **kwargs
):
3352 Create(self, Window parent, int id=-1, String title=EmptyString,
3353 Point pos=DefaultPosition, Size size=DefaultSize,
3354 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3355 String name=FrameNameStr) -> bool
3357 return _windows_
.MDIParentFrame_Create(*args
, **kwargs
)
3359 def ActivateNext(*args
, **kwargs
):
3360 """ActivateNext(self)"""
3361 return _windows_
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
3363 def ActivatePrevious(*args
, **kwargs
):
3364 """ActivatePrevious(self)"""
3365 return _windows_
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
3367 def ArrangeIcons(*args
, **kwargs
):
3368 """ArrangeIcons(self)"""
3369 return _windows_
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
3371 def Cascade(*args
, **kwargs
):
3373 return _windows_
.MDIParentFrame_Cascade(*args
, **kwargs
)
3375 def GetActiveChild(*args
, **kwargs
):
3376 """GetActiveChild(self) -> MDIChildFrame"""
3377 return _windows_
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
3379 def GetClientWindow(*args
, **kwargs
):
3380 """GetClientWindow(self) -> MDIClientWindow"""
3381 return _windows_
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
3383 def GetToolBar(*args
, **kwargs
):
3384 """GetToolBar(self) -> Window"""
3385 return _windows_
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
3387 def GetWindowMenu(*args
, **kwargs
):
3388 """GetWindowMenu(self) -> Menu"""
3389 return _windows_
.MDIParentFrame_GetWindowMenu(*args
, **kwargs
)
3391 def SetWindowMenu(*args
, **kwargs
):
3392 """SetWindowMenu(self, Menu menu)"""
3393 return _windows_
.MDIParentFrame_SetWindowMenu(*args
, **kwargs
)
3395 def SetToolBar(*args
, **kwargs
):
3396 """SetToolBar(self, wxToolBar toolbar)"""
3397 return _windows_
.MDIParentFrame_SetToolBar(*args
, **kwargs
)
3399 def Tile(*args
, **kwargs
):
3401 return _windows_
.MDIParentFrame_Tile(*args
, **kwargs
)
3404 class MDIParentFramePtr(MDIParentFrame
):
3405 def __init__(self
, this
):
3407 if not hasattr(self
,"thisown"): self
.thisown
= 0
3408 self
.__class
__ = MDIParentFrame
3409 _windows_
.MDIParentFrame_swigregister(MDIParentFramePtr
)
3411 def PreMDIParentFrame(*args
, **kwargs
):
3412 """PreMDIParentFrame() -> MDIParentFrame"""
3413 val
= _windows_
.new_PreMDIParentFrame(*args
, **kwargs
)
3417 class MDIChildFrame(Frame
):
3418 """Proxy of C++ MDIChildFrame class"""
3420 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3421 def __init__(self
, *args
, **kwargs
):
3423 __init__(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3424 Point pos=DefaultPosition, Size size=DefaultSize,
3425 long style=DEFAULT_FRAME_STYLE,
3426 String name=FrameNameStr) -> MDIChildFrame
3428 newobj
= _windows_
.new_MDIChildFrame(*args
, **kwargs
)
3429 self
.this
= newobj
.this
3432 self
._setOORInfo
(self
)
3434 def Create(*args
, **kwargs
):
3436 Create(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3437 Point pos=DefaultPosition, Size size=DefaultSize,
3438 long style=DEFAULT_FRAME_STYLE,
3439 String name=FrameNameStr) -> bool
3441 return _windows_
.MDIChildFrame_Create(*args
, **kwargs
)
3443 def Activate(*args
, **kwargs
):
3444 """Activate(self)"""
3445 return _windows_
.MDIChildFrame_Activate(*args
, **kwargs
)
3447 def Maximize(*args
, **kwargs
):
3448 """Maximize(self, bool maximize=True)"""
3449 return _windows_
.MDIChildFrame_Maximize(*args
, **kwargs
)
3451 def Restore(*args
, **kwargs
):
3453 return _windows_
.MDIChildFrame_Restore(*args
, **kwargs
)
3456 class MDIChildFramePtr(MDIChildFrame
):
3457 def __init__(self
, this
):
3459 if not hasattr(self
,"thisown"): self
.thisown
= 0
3460 self
.__class
__ = MDIChildFrame
3461 _windows_
.MDIChildFrame_swigregister(MDIChildFramePtr
)
3463 def PreMDIChildFrame(*args
, **kwargs
):
3464 """PreMDIChildFrame() -> MDIChildFrame"""
3465 val
= _windows_
.new_PreMDIChildFrame(*args
, **kwargs
)
3469 class MDIClientWindow(_core
.Window
):
3470 """Proxy of C++ MDIClientWindow class"""
3472 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3473 def __init__(self
, *args
, **kwargs
):
3474 """__init__(self, MDIParentFrame parent, long style=0) -> MDIClientWindow"""
3475 newobj
= _windows_
.new_MDIClientWindow(*args
, **kwargs
)
3476 self
.this
= newobj
.this
3479 self
._setOORInfo
(self
)
3481 def Create(*args
, **kwargs
):
3482 """Create(self, MDIParentFrame parent, long style=0) -> bool"""
3483 return _windows_
.MDIClientWindow_Create(*args
, **kwargs
)
3486 class MDIClientWindowPtr(MDIClientWindow
):
3487 def __init__(self
, this
):
3489 if not hasattr(self
,"thisown"): self
.thisown
= 0
3490 self
.__class
__ = MDIClientWindow
3491 _windows_
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
3493 def PreMDIClientWindow(*args
, **kwargs
):
3494 """PreMDIClientWindow() -> MDIClientWindow"""
3495 val
= _windows_
.new_PreMDIClientWindow(*args
, **kwargs
)
3499 #---------------------------------------------------------------------------
3501 class PyWindow(_core
.Window
):
3502 """Proxy of C++ PyWindow class"""
3504 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3505 def __init__(self
, *args
, **kwargs
):
3507 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3508 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyWindow
3510 newobj
= _windows_
.new_PyWindow(*args
, **kwargs
)
3511 self
.this
= newobj
.this
3514 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
3516 def _setCallbackInfo(*args
, **kwargs
):
3517 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3518 return _windows_
.PyWindow__setCallbackInfo(*args
, **kwargs
)
3520 def SetBestSize(*args
, **kwargs
):
3521 """SetBestSize(self, Size size)"""
3522 return _windows_
.PyWindow_SetBestSize(*args
, **kwargs
)
3524 def base_DoMoveWindow(*args
, **kwargs
):
3525 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3526 return _windows_
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
3528 def base_DoSetSize(*args
, **kwargs
):
3529 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3530 return _windows_
.PyWindow_base_DoSetSize(*args
, **kwargs
)
3532 def base_DoSetClientSize(*args
, **kwargs
):
3533 """base_DoSetClientSize(self, int width, int height)"""
3534 return _windows_
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
3536 def base_DoSetVirtualSize(*args
, **kwargs
):
3537 """base_DoSetVirtualSize(self, int x, int y)"""
3538 return _windows_
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
3540 def base_DoGetSize(*args
, **kwargs
):
3541 """base_DoGetSize() -> (width, height)"""
3542 return _windows_
.PyWindow_base_DoGetSize(*args
, **kwargs
)
3544 def base_DoGetClientSize(*args
, **kwargs
):
3545 """base_DoGetClientSize() -> (width, height)"""
3546 return _windows_
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
3548 def base_DoGetPosition(*args
, **kwargs
):
3549 """base_DoGetPosition() -> (x,y)"""
3550 return _windows_
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
3552 def base_DoGetVirtualSize(*args
, **kwargs
):
3553 """base_DoGetVirtualSize(self) -> Size"""
3554 return _windows_
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
3556 def base_DoGetBestSize(*args
, **kwargs
):
3557 """base_DoGetBestSize(self) -> Size"""
3558 return _windows_
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
3560 def base_InitDialog(*args
, **kwargs
):
3561 """base_InitDialog(self)"""
3562 return _windows_
.PyWindow_base_InitDialog(*args
, **kwargs
)
3564 def base_TransferDataToWindow(*args
, **kwargs
):
3565 """base_TransferDataToWindow(self) -> bool"""
3566 return _windows_
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
3568 def base_TransferDataFromWindow(*args
, **kwargs
):
3569 """base_TransferDataFromWindow(self) -> bool"""
3570 return _windows_
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
3572 def base_Validate(*args
, **kwargs
):
3573 """base_Validate(self) -> bool"""
3574 return _windows_
.PyWindow_base_Validate(*args
, **kwargs
)
3576 def base_AcceptsFocus(*args
, **kwargs
):
3577 """base_AcceptsFocus(self) -> bool"""
3578 return _windows_
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
3580 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3581 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3582 return _windows_
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3584 def base_GetMaxSize(*args
, **kwargs
):
3585 """base_GetMaxSize(self) -> Size"""
3586 return _windows_
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
3588 def base_AddChild(*args
, **kwargs
):
3589 """base_AddChild(self, Window child)"""
3590 return _windows_
.PyWindow_base_AddChild(*args
, **kwargs
)
3592 def base_RemoveChild(*args
, **kwargs
):
3593 """base_RemoveChild(self, Window child)"""
3594 return _windows_
.PyWindow_base_RemoveChild(*args
, **kwargs
)
3596 def base_ShouldInheritColours(*args
, **kwargs
):
3597 """base_ShouldInheritColours(self) -> bool"""
3598 return _windows_
.PyWindow_base_ShouldInheritColours(*args
, **kwargs
)
3600 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3601 """base_ApplyParentThemeBackground(self, Colour c)"""
3602 return _windows_
.PyWindow_base_ApplyParentThemeBackground(*args
, **kwargs
)
3604 def base_GetDefaultAttributes(*args
, **kwargs
):
3605 """base_GetDefaultAttributes(self) -> VisualAttributes"""
3606 return _windows_
.PyWindow_base_GetDefaultAttributes(*args
, **kwargs
)
3609 class PyWindowPtr(PyWindow
):
3610 def __init__(self
, this
):
3612 if not hasattr(self
,"thisown"): self
.thisown
= 0
3613 self
.__class
__ = PyWindow
3614 _windows_
.PyWindow_swigregister(PyWindowPtr
)
3616 def PrePyWindow(*args
, **kwargs
):
3617 """PrePyWindow() -> PyWindow"""
3618 val
= _windows_
.new_PrePyWindow(*args
, **kwargs
)
3622 class PyPanel(Panel
):
3623 """Proxy of C++ PyPanel class"""
3625 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3626 def __init__(self
, *args
, **kwargs
):
3628 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3629 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyPanel
3631 newobj
= _windows_
.new_PyPanel(*args
, **kwargs
)
3632 self
.this
= newobj
.this
3635 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3637 def _setCallbackInfo(*args
, **kwargs
):
3638 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3639 return _windows_
.PyPanel__setCallbackInfo(*args
, **kwargs
)
3641 def SetBestSize(*args
, **kwargs
):
3642 """SetBestSize(self, Size size)"""
3643 return _windows_
.PyPanel_SetBestSize(*args
, **kwargs
)
3645 def base_DoMoveWindow(*args
, **kwargs
):
3646 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3647 return _windows_
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
3649 def base_DoSetSize(*args
, **kwargs
):
3650 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3651 return _windows_
.PyPanel_base_DoSetSize(*args
, **kwargs
)
3653 def base_DoSetClientSize(*args
, **kwargs
):
3654 """base_DoSetClientSize(self, int width, int height)"""
3655 return _windows_
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
3657 def base_DoSetVirtualSize(*args
, **kwargs
):
3658 """base_DoSetVirtualSize(self, int x, int y)"""
3659 return _windows_
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
3661 def base_DoGetSize(*args
, **kwargs
):
3662 """base_DoGetSize() -> (width, height)"""
3663 return _windows_
.PyPanel_base_DoGetSize(*args
, **kwargs
)
3665 def base_DoGetClientSize(*args
, **kwargs
):
3666 """base_DoGetClientSize() -> (width, height)"""
3667 return _windows_
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
3669 def base_DoGetPosition(*args
, **kwargs
):
3670 """base_DoGetPosition() -> (x,y)"""
3671 return _windows_
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
3673 def base_DoGetVirtualSize(*args
, **kwargs
):
3674 """base_DoGetVirtualSize(self) -> Size"""
3675 return _windows_
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
3677 def base_DoGetBestSize(*args
, **kwargs
):
3678 """base_DoGetBestSize(self) -> Size"""
3679 return _windows_
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
3681 def base_InitDialog(*args
, **kwargs
):
3682 """base_InitDialog(self)"""
3683 return _windows_
.PyPanel_base_InitDialog(*args
, **kwargs
)
3685 def base_TransferDataToWindow(*args
, **kwargs
):
3686 """base_TransferDataToWindow(self) -> bool"""
3687 return _windows_
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
3689 def base_TransferDataFromWindow(*args
, **kwargs
):
3690 """base_TransferDataFromWindow(self) -> bool"""
3691 return _windows_
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
3693 def base_Validate(*args
, **kwargs
):
3694 """base_Validate(self) -> bool"""
3695 return _windows_
.PyPanel_base_Validate(*args
, **kwargs
)
3697 def base_AcceptsFocus(*args
, **kwargs
):
3698 """base_AcceptsFocus(self) -> bool"""
3699 return _windows_
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
3701 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3702 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3703 return _windows_
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3705 def base_GetMaxSize(*args
, **kwargs
):
3706 """base_GetMaxSize(self) -> Size"""
3707 return _windows_
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
3709 def base_AddChild(*args
, **kwargs
):
3710 """base_AddChild(self, Window child)"""
3711 return _windows_
.PyPanel_base_AddChild(*args
, **kwargs
)
3713 def base_RemoveChild(*args
, **kwargs
):
3714 """base_RemoveChild(self, Window child)"""
3715 return _windows_
.PyPanel_base_RemoveChild(*args
, **kwargs
)
3717 def base_ShouldInheritColours(*args
, **kwargs
):
3718 """base_ShouldInheritColours(self) -> bool"""
3719 return _windows_
.PyPanel_base_ShouldInheritColours(*args
, **kwargs
)
3721 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3722 """base_ApplyParentThemeBackground(self, Colour c)"""
3723 return _windows_
.PyPanel_base_ApplyParentThemeBackground(*args
, **kwargs
)
3725 def base_GetDefaultAttributes(*args
, **kwargs
):
3726 """base_GetDefaultAttributes(self) -> VisualAttributes"""
3727 return _windows_
.PyPanel_base_GetDefaultAttributes(*args
, **kwargs
)
3730 class PyPanelPtr(PyPanel
):
3731 def __init__(self
, this
):
3733 if not hasattr(self
,"thisown"): self
.thisown
= 0
3734 self
.__class
__ = PyPanel
3735 _windows_
.PyPanel_swigregister(PyPanelPtr
)
3737 def PrePyPanel(*args
, **kwargs
):
3738 """PrePyPanel() -> PyPanel"""
3739 val
= _windows_
.new_PrePyPanel(*args
, **kwargs
)
3743 class PyScrolledWindow(ScrolledWindow
):
3744 """Proxy of C++ PyScrolledWindow class"""
3746 return "<%s.%s; proxy of C++ wxPyScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3747 def __init__(self
, *args
, **kwargs
):
3749 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3750 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyScrolledWindow
3752 newobj
= _windows_
.new_PyScrolledWindow(*args
, **kwargs
)
3753 self
.this
= newobj
.this
3756 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3758 def _setCallbackInfo(*args
, **kwargs
):
3759 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3760 return _windows_
.PyScrolledWindow__setCallbackInfo(*args
, **kwargs
)
3762 def SetBestSize(*args
, **kwargs
):
3763 """SetBestSize(self, Size size)"""
3764 return _windows_
.PyScrolledWindow_SetBestSize(*args
, **kwargs
)
3766 def base_DoMoveWindow(*args
, **kwargs
):
3767 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3768 return _windows_
.PyScrolledWindow_base_DoMoveWindow(*args
, **kwargs
)
3770 def base_DoSetSize(*args
, **kwargs
):
3771 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3772 return _windows_
.PyScrolledWindow_base_DoSetSize(*args
, **kwargs
)
3774 def base_DoSetClientSize(*args
, **kwargs
):
3775 """base_DoSetClientSize(self, int width, int height)"""
3776 return _windows_
.PyScrolledWindow_base_DoSetClientSize(*args
, **kwargs
)
3778 def base_DoSetVirtualSize(*args
, **kwargs
):
3779 """base_DoSetVirtualSize(self, int x, int y)"""
3780 return _windows_
.PyScrolledWindow_base_DoSetVirtualSize(*args
, **kwargs
)
3782 def base_DoGetSize(*args
, **kwargs
):
3783 """base_DoGetSize() -> (width, height)"""
3784 return _windows_
.PyScrolledWindow_base_DoGetSize(*args
, **kwargs
)
3786 def base_DoGetClientSize(*args
, **kwargs
):
3787 """base_DoGetClientSize() -> (width, height)"""
3788 return _windows_
.PyScrolledWindow_base_DoGetClientSize(*args
, **kwargs
)
3790 def base_DoGetPosition(*args
, **kwargs
):
3791 """base_DoGetPosition() -> (x,y)"""
3792 return _windows_
.PyScrolledWindow_base_DoGetPosition(*args
, **kwargs
)
3794 def base_DoGetVirtualSize(*args
, **kwargs
):
3795 """base_DoGetVirtualSize(self) -> Size"""
3796 return _windows_
.PyScrolledWindow_base_DoGetVirtualSize(*args
, **kwargs
)
3798 def base_DoGetBestSize(*args
, **kwargs
):
3799 """base_DoGetBestSize(self) -> Size"""
3800 return _windows_
.PyScrolledWindow_base_DoGetBestSize(*args
, **kwargs
)
3802 def base_InitDialog(*args
, **kwargs
):
3803 """base_InitDialog(self)"""
3804 return _windows_
.PyScrolledWindow_base_InitDialog(*args
, **kwargs
)
3806 def base_TransferDataToWindow(*args
, **kwargs
):
3807 """base_TransferDataToWindow(self) -> bool"""
3808 return _windows_
.PyScrolledWindow_base_TransferDataToWindow(*args
, **kwargs
)
3810 def base_TransferDataFromWindow(*args
, **kwargs
):
3811 """base_TransferDataFromWindow(self) -> bool"""
3812 return _windows_
.PyScrolledWindow_base_TransferDataFromWindow(*args
, **kwargs
)
3814 def base_Validate(*args
, **kwargs
):
3815 """base_Validate(self) -> bool"""
3816 return _windows_
.PyScrolledWindow_base_Validate(*args
, **kwargs
)
3818 def base_AcceptsFocus(*args
, **kwargs
):
3819 """base_AcceptsFocus(self) -> bool"""
3820 return _windows_
.PyScrolledWindow_base_AcceptsFocus(*args
, **kwargs
)
3822 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3823 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3824 return _windows_
.PyScrolledWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3826 def base_GetMaxSize(*args
, **kwargs
):
3827 """base_GetMaxSize(self) -> Size"""
3828 return _windows_
.PyScrolledWindow_base_GetMaxSize(*args
, **kwargs
)
3830 def base_AddChild(*args
, **kwargs
):
3831 """base_AddChild(self, Window child)"""
3832 return _windows_
.PyScrolledWindow_base_AddChild(*args
, **kwargs
)
3834 def base_RemoveChild(*args
, **kwargs
):
3835 """base_RemoveChild(self, Window child)"""
3836 return _windows_
.PyScrolledWindow_base_RemoveChild(*args
, **kwargs
)
3838 def base_ShouldInheritColours(*args
, **kwargs
):
3839 """base_ShouldInheritColours(self) -> bool"""
3840 return _windows_
.PyScrolledWindow_base_ShouldInheritColours(*args
, **kwargs
)
3842 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3843 """base_ApplyParentThemeBackground(self, Colour c)"""
3844 return _windows_
.PyScrolledWindow_base_ApplyParentThemeBackground(*args
, **kwargs
)
3846 def base_GetDefaultAttributes(*args
, **kwargs
):
3847 """base_GetDefaultAttributes(self) -> VisualAttributes"""
3848 return _windows_
.PyScrolledWindow_base_GetDefaultAttributes(*args
, **kwargs
)
3851 class PyScrolledWindowPtr(PyScrolledWindow
):
3852 def __init__(self
, this
):
3854 if not hasattr(self
,"thisown"): self
.thisown
= 0
3855 self
.__class
__ = PyScrolledWindow
3856 _windows_
.PyScrolledWindow_swigregister(PyScrolledWindowPtr
)
3858 def PrePyScrolledWindow(*args
, **kwargs
):
3859 """PrePyScrolledWindow() -> PyScrolledWindow"""
3860 val
= _windows_
.new_PrePyScrolledWindow(*args
, **kwargs
)
3864 #---------------------------------------------------------------------------
3866 PRINT_MODE_NONE
= _windows_
.PRINT_MODE_NONE
3867 PRINT_MODE_PREVIEW
= _windows_
.PRINT_MODE_PREVIEW
3868 PRINT_MODE_FILE
= _windows_
.PRINT_MODE_FILE
3869 PRINT_MODE_PRINTER
= _windows_
.PRINT_MODE_PRINTER
3870 PRINT_MODE_STREAM
= _windows_
.PRINT_MODE_STREAM
3871 PRINTBIN_DEFAULT
= _windows_
.PRINTBIN_DEFAULT
3872 PRINTBIN_ONLYONE
= _windows_
.PRINTBIN_ONLYONE
3873 PRINTBIN_LOWER
= _windows_
.PRINTBIN_LOWER
3874 PRINTBIN_MIDDLE
= _windows_
.PRINTBIN_MIDDLE
3875 PRINTBIN_MANUAL
= _windows_
.PRINTBIN_MANUAL
3876 PRINTBIN_ENVELOPE
= _windows_
.PRINTBIN_ENVELOPE
3877 PRINTBIN_ENVMANUAL
= _windows_
.PRINTBIN_ENVMANUAL
3878 PRINTBIN_AUTO
= _windows_
.PRINTBIN_AUTO
3879 PRINTBIN_TRACTOR
= _windows_
.PRINTBIN_TRACTOR
3880 PRINTBIN_SMALLFMT
= _windows_
.PRINTBIN_SMALLFMT
3881 PRINTBIN_LARGEFMT
= _windows_
.PRINTBIN_LARGEFMT
3882 PRINTBIN_LARGECAPACITY
= _windows_
.PRINTBIN_LARGECAPACITY
3883 PRINTBIN_CASSETTE
= _windows_
.PRINTBIN_CASSETTE
3884 PRINTBIN_FORMSOURCE
= _windows_
.PRINTBIN_FORMSOURCE
3885 PRINTBIN_USER
= _windows_
.PRINTBIN_USER
3886 class PrintData(_core
.Object
):
3887 """Proxy of C++ PrintData class"""
3889 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3890 def __init__(self
, *args
):
3892 __init__(self) -> PrintData
3893 __init__(self, PrintData data) -> PrintData
3895 newobj
= _windows_
.new_PrintData(*args
)
3896 self
.this
= newobj
.this
3899 def __del__(self
, destroy
=_windows_
.delete_PrintData
):
3902 if self
.thisown
: destroy(self
)
3905 def GetNoCopies(*args
, **kwargs
):
3906 """GetNoCopies(self) -> int"""
3907 return _windows_
.PrintData_GetNoCopies(*args
, **kwargs
)
3909 def GetCollate(*args
, **kwargs
):
3910 """GetCollate(self) -> bool"""
3911 return _windows_
.PrintData_GetCollate(*args
, **kwargs
)
3913 def GetOrientation(*args
, **kwargs
):
3914 """GetOrientation(self) -> int"""
3915 return _windows_
.PrintData_GetOrientation(*args
, **kwargs
)
3917 def Ok(*args
, **kwargs
):
3918 """Ok(self) -> bool"""
3919 return _windows_
.PrintData_Ok(*args
, **kwargs
)
3921 def GetPrinterName(*args
, **kwargs
):
3922 """GetPrinterName(self) -> String"""
3923 return _windows_
.PrintData_GetPrinterName(*args
, **kwargs
)
3925 def GetColour(*args
, **kwargs
):
3926 """GetColour(self) -> bool"""
3927 return _windows_
.PrintData_GetColour(*args
, **kwargs
)
3929 def GetDuplex(*args
, **kwargs
):
3930 """GetDuplex(self) -> int"""
3931 return _windows_
.PrintData_GetDuplex(*args
, **kwargs
)
3933 def GetPaperId(*args
, **kwargs
):
3934 """GetPaperId(self) -> int"""
3935 return _windows_
.PrintData_GetPaperId(*args
, **kwargs
)
3937 def GetPaperSize(*args
, **kwargs
):
3938 """GetPaperSize(self) -> Size"""
3939 return _windows_
.PrintData_GetPaperSize(*args
, **kwargs
)
3941 def GetQuality(*args
, **kwargs
):
3942 """GetQuality(self) -> int"""
3943 return _windows_
.PrintData_GetQuality(*args
, **kwargs
)
3945 def GetBin(*args
, **kwargs
):
3946 """GetBin(self) -> int"""
3947 return _windows_
.PrintData_GetBin(*args
, **kwargs
)
3949 def GetPrintMode(*args
, **kwargs
):
3950 """GetPrintMode(self) -> int"""
3951 return _windows_
.PrintData_GetPrintMode(*args
, **kwargs
)
3953 def SetNoCopies(*args
, **kwargs
):
3954 """SetNoCopies(self, int v)"""
3955 return _windows_
.PrintData_SetNoCopies(*args
, **kwargs
)
3957 def SetCollate(*args
, **kwargs
):
3958 """SetCollate(self, bool flag)"""
3959 return _windows_
.PrintData_SetCollate(*args
, **kwargs
)
3961 def SetOrientation(*args
, **kwargs
):
3962 """SetOrientation(self, int orient)"""
3963 return _windows_
.PrintData_SetOrientation(*args
, **kwargs
)
3965 def SetPrinterName(*args
, **kwargs
):
3966 """SetPrinterName(self, String name)"""
3967 return _windows_
.PrintData_SetPrinterName(*args
, **kwargs
)
3969 def SetColour(*args
, **kwargs
):
3970 """SetColour(self, bool colour)"""
3971 return _windows_
.PrintData_SetColour(*args
, **kwargs
)
3973 def SetDuplex(*args
, **kwargs
):
3974 """SetDuplex(self, int duplex)"""
3975 return _windows_
.PrintData_SetDuplex(*args
, **kwargs
)
3977 def SetPaperId(*args
, **kwargs
):
3978 """SetPaperId(self, int sizeId)"""
3979 return _windows_
.PrintData_SetPaperId(*args
, **kwargs
)
3981 def SetPaperSize(*args
, **kwargs
):
3982 """SetPaperSize(self, Size sz)"""
3983 return _windows_
.PrintData_SetPaperSize(*args
, **kwargs
)
3985 def SetQuality(*args
, **kwargs
):
3986 """SetQuality(self, int quality)"""
3987 return _windows_
.PrintData_SetQuality(*args
, **kwargs
)
3989 def SetBin(*args
, **kwargs
):
3990 """SetBin(self, int bin)"""
3991 return _windows_
.PrintData_SetBin(*args
, **kwargs
)
3993 def SetPrintMode(*args
, **kwargs
):
3994 """SetPrintMode(self, int printMode)"""
3995 return _windows_
.PrintData_SetPrintMode(*args
, **kwargs
)
3997 def GetFilename(*args
, **kwargs
):
3998 """GetFilename(self) -> String"""
3999 return _windows_
.PrintData_GetFilename(*args
, **kwargs
)
4001 def SetFilename(*args
, **kwargs
):
4002 """SetFilename(self, String filename)"""
4003 return _windows_
.PrintData_SetFilename(*args
, **kwargs
)
4005 def __nonzero__(self
): return self
.Ok()
4006 def GetPrivData(*args
, **kwargs
):
4007 """GetPrivData(self) -> PyObject"""
4008 return _windows_
.PrintData_GetPrivData(*args
, **kwargs
)
4010 def SetPrivData(*args
, **kwargs
):
4011 """SetPrivData(self, PyObject data)"""
4012 return _windows_
.PrintData_SetPrivData(*args
, **kwargs
)
4014 def GetPrinterCommand(*args
, **kwargs
):
4015 """GetPrinterCommand(self) -> String"""
4016 return _windows_
.PrintData_GetPrinterCommand(*args
, **kwargs
)
4018 def GetPrinterOptions(*args
, **kwargs
):
4019 """GetPrinterOptions(self) -> String"""
4020 return _windows_
.PrintData_GetPrinterOptions(*args
, **kwargs
)
4022 def GetPreviewCommand(*args
, **kwargs
):
4023 """GetPreviewCommand(self) -> String"""
4024 return _windows_
.PrintData_GetPreviewCommand(*args
, **kwargs
)
4026 def GetFontMetricPath(*args
, **kwargs
):
4027 """GetFontMetricPath(self) -> String"""
4028 return _windows_
.PrintData_GetFontMetricPath(*args
, **kwargs
)
4030 def GetPrinterScaleX(*args
, **kwargs
):
4031 """GetPrinterScaleX(self) -> double"""
4032 return _windows_
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
4034 def GetPrinterScaleY(*args
, **kwargs
):
4035 """GetPrinterScaleY(self) -> double"""
4036 return _windows_
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
4038 def GetPrinterTranslateX(*args
, **kwargs
):
4039 """GetPrinterTranslateX(self) -> long"""
4040 return _windows_
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
4042 def GetPrinterTranslateY(*args
, **kwargs
):
4043 """GetPrinterTranslateY(self) -> long"""
4044 return _windows_
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
4046 def SetPrinterCommand(*args
, **kwargs
):
4047 """SetPrinterCommand(self, String command)"""
4048 return _windows_
.PrintData_SetPrinterCommand(*args
, **kwargs
)
4050 def SetPrinterOptions(*args
, **kwargs
):
4051 """SetPrinterOptions(self, String options)"""
4052 return _windows_
.PrintData_SetPrinterOptions(*args
, **kwargs
)
4054 def SetPreviewCommand(*args
, **kwargs
):
4055 """SetPreviewCommand(self, String command)"""
4056 return _windows_
.PrintData_SetPreviewCommand(*args
, **kwargs
)
4058 def SetFontMetricPath(*args
, **kwargs
):
4059 """SetFontMetricPath(self, String path)"""
4060 return _windows_
.PrintData_SetFontMetricPath(*args
, **kwargs
)
4062 def SetPrinterScaleX(*args
, **kwargs
):
4063 """SetPrinterScaleX(self, double x)"""
4064 return _windows_
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
4066 def SetPrinterScaleY(*args
, **kwargs
):
4067 """SetPrinterScaleY(self, double y)"""
4068 return _windows_
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
4070 def SetPrinterScaling(*args
, **kwargs
):
4071 """SetPrinterScaling(self, double x, double y)"""
4072 return _windows_
.PrintData_SetPrinterScaling(*args
, **kwargs
)
4074 def SetPrinterTranslateX(*args
, **kwargs
):
4075 """SetPrinterTranslateX(self, long x)"""
4076 return _windows_
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
4078 def SetPrinterTranslateY(*args
, **kwargs
):
4079 """SetPrinterTranslateY(self, long y)"""
4080 return _windows_
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
4082 def SetPrinterTranslation(*args
, **kwargs
):
4083 """SetPrinterTranslation(self, long x, long y)"""
4084 return _windows_
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
4087 class PrintDataPtr(PrintData
):
4088 def __init__(self
, this
):
4090 if not hasattr(self
,"thisown"): self
.thisown
= 0
4091 self
.__class
__ = PrintData
4092 _windows_
.PrintData_swigregister(PrintDataPtr
)
4093 PrintoutTitleStr
= cvar
.PrintoutTitleStr
4094 PreviewCanvasNameStr
= cvar
.PreviewCanvasNameStr
4096 class PageSetupDialogData(_core
.Object
):
4097 """Proxy of C++ PageSetupDialogData class"""
4099 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4100 def __init__(self
, *args
):
4102 __init__(self) -> PageSetupDialogData
4103 __init__(self, PageSetupDialogData data) -> PageSetupDialogData
4104 __init__(self, PrintData data) -> PageSetupDialogData
4106 newobj
= _windows_
.new_PageSetupDialogData(*args
)
4107 self
.this
= newobj
.this
4110 def __del__(self
, destroy
=_windows_
.delete_PageSetupDialogData
):
4113 if self
.thisown
: destroy(self
)
4116 def EnableHelp(*args
, **kwargs
):
4117 """EnableHelp(self, bool flag)"""
4118 return _windows_
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
4120 def EnableMargins(*args
, **kwargs
):
4121 """EnableMargins(self, bool flag)"""
4122 return _windows_
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
4124 def EnableOrientation(*args
, **kwargs
):
4125 """EnableOrientation(self, bool flag)"""
4126 return _windows_
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
4128 def EnablePaper(*args
, **kwargs
):
4129 """EnablePaper(self, bool flag)"""
4130 return _windows_
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
4132 def EnablePrinter(*args
, **kwargs
):
4133 """EnablePrinter(self, bool flag)"""
4134 return _windows_
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
4136 def GetDefaultMinMargins(*args
, **kwargs
):
4137 """GetDefaultMinMargins(self) -> bool"""
4138 return _windows_
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
4140 def GetEnableMargins(*args
, **kwargs
):
4141 """GetEnableMargins(self) -> bool"""
4142 return _windows_
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
4144 def GetEnableOrientation(*args
, **kwargs
):
4145 """GetEnableOrientation(self) -> bool"""
4146 return _windows_
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
4148 def GetEnablePaper(*args
, **kwargs
):
4149 """GetEnablePaper(self) -> bool"""
4150 return _windows_
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
4152 def GetEnablePrinter(*args
, **kwargs
):
4153 """GetEnablePrinter(self) -> bool"""
4154 return _windows_
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
4156 def GetEnableHelp(*args
, **kwargs
):
4157 """GetEnableHelp(self) -> bool"""
4158 return _windows_
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
4160 def GetDefaultInfo(*args
, **kwargs
):
4161 """GetDefaultInfo(self) -> bool"""
4162 return _windows_
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
4164 def GetMarginTopLeft(*args
, **kwargs
):
4165 """GetMarginTopLeft(self) -> Point"""
4166 return _windows_
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
4168 def GetMarginBottomRight(*args
, **kwargs
):
4169 """GetMarginBottomRight(self) -> Point"""
4170 return _windows_
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
4172 def GetMinMarginTopLeft(*args
, **kwargs
):
4173 """GetMinMarginTopLeft(self) -> Point"""
4174 return _windows_
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
4176 def GetMinMarginBottomRight(*args
, **kwargs
):
4177 """GetMinMarginBottomRight(self) -> Point"""
4178 return _windows_
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
4180 def GetPaperId(*args
, **kwargs
):
4181 """GetPaperId(self) -> int"""
4182 return _windows_
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
4184 def GetPaperSize(*args
, **kwargs
):
4185 """GetPaperSize(self) -> Size"""
4186 return _windows_
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
4188 def GetPrintData(*args
, **kwargs
):
4189 """GetPrintData(self) -> PrintData"""
4190 return _windows_
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
4192 def Ok(*args
, **kwargs
):
4193 """Ok(self) -> bool"""
4194 return _windows_
.PageSetupDialogData_Ok(*args
, **kwargs
)
4196 def SetDefaultInfo(*args
, **kwargs
):
4197 """SetDefaultInfo(self, bool flag)"""
4198 return _windows_
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
4200 def SetDefaultMinMargins(*args
, **kwargs
):
4201 """SetDefaultMinMargins(self, bool flag)"""
4202 return _windows_
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
4204 def SetMarginTopLeft(*args
, **kwargs
):
4205 """SetMarginTopLeft(self, Point pt)"""
4206 return _windows_
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
4208 def SetMarginBottomRight(*args
, **kwargs
):
4209 """SetMarginBottomRight(self, Point pt)"""
4210 return _windows_
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
4212 def SetMinMarginTopLeft(*args
, **kwargs
):
4213 """SetMinMarginTopLeft(self, Point pt)"""
4214 return _windows_
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
4216 def SetMinMarginBottomRight(*args
, **kwargs
):
4217 """SetMinMarginBottomRight(self, Point pt)"""
4218 return _windows_
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
4220 def SetPaperId(*args
, **kwargs
):
4221 """SetPaperId(self, int id)"""
4222 return _windows_
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
4224 def SetPaperSize(*args
, **kwargs
):
4225 """SetPaperSize(self, Size size)"""
4226 return _windows_
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
4228 def SetPrintData(*args
, **kwargs
):
4229 """SetPrintData(self, PrintData printData)"""
4230 return _windows_
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
4232 def CalculateIdFromPaperSize(*args
, **kwargs
):
4233 """CalculateIdFromPaperSize(self)"""
4234 return _windows_
.PageSetupDialogData_CalculateIdFromPaperSize(*args
, **kwargs
)
4236 def CalculatePaperSizeFromId(*args
, **kwargs
):
4237 """CalculatePaperSizeFromId(self)"""
4238 return _windows_
.PageSetupDialogData_CalculatePaperSizeFromId(*args
, **kwargs
)
4240 def __nonzero__(self
): return self
.Ok()
4242 class PageSetupDialogDataPtr(PageSetupDialogData
):
4243 def __init__(self
, this
):
4245 if not hasattr(self
,"thisown"): self
.thisown
= 0
4246 self
.__class
__ = PageSetupDialogData
4247 _windows_
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
4249 class PageSetupDialog(_core
.Object
):
4250 """Proxy of C++ PageSetupDialog class"""
4252 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4253 def __init__(self
, *args
, **kwargs
):
4254 """__init__(self, Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
4255 newobj
= _windows_
.new_PageSetupDialog(*args
, **kwargs
)
4256 self
.this
= newobj
.this
4259 def GetPageSetupData(*args
, **kwargs
):
4260 """GetPageSetupData(self) -> PageSetupDialogData"""
4261 return _windows_
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
4263 def GetPageSetupDialogData(*args
, **kwargs
):
4264 """GetPageSetupDialogData(self) -> PageSetupDialogData"""
4265 return _windows_
.PageSetupDialog_GetPageSetupDialogData(*args
, **kwargs
)
4267 def ShowModal(*args
, **kwargs
):
4268 """ShowModal(self) -> int"""
4269 return _windows_
.PageSetupDialog_ShowModal(*args
, **kwargs
)
4272 class PageSetupDialogPtr(PageSetupDialog
):
4273 def __init__(self
, this
):
4275 if not hasattr(self
,"thisown"): self
.thisown
= 0
4276 self
.__class
__ = PageSetupDialog
4277 _windows_
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
4279 class PrintDialogData(_core
.Object
):
4280 """Proxy of C++ PrintDialogData class"""
4282 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4283 def __init__(self
, *args
):
4285 __init__(self) -> PrintDialogData
4286 __init__(self, PrintData printData) -> PrintDialogData
4287 __init__(self, PrintDialogData printData) -> PrintDialogData
4289 newobj
= _windows_
.new_PrintDialogData(*args
)
4290 self
.this
= newobj
.this
4293 def __del__(self
, destroy
=_windows_
.delete_PrintDialogData
):
4296 if self
.thisown
: destroy(self
)
4299 def GetFromPage(*args
, **kwargs
):
4300 """GetFromPage(self) -> int"""
4301 return _windows_
.PrintDialogData_GetFromPage(*args
, **kwargs
)
4303 def GetToPage(*args
, **kwargs
):
4304 """GetToPage(self) -> int"""
4305 return _windows_
.PrintDialogData_GetToPage(*args
, **kwargs
)
4307 def GetMinPage(*args
, **kwargs
):
4308 """GetMinPage(self) -> int"""
4309 return _windows_
.PrintDialogData_GetMinPage(*args
, **kwargs
)
4311 def GetMaxPage(*args
, **kwargs
):
4312 """GetMaxPage(self) -> int"""
4313 return _windows_
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
4315 def GetNoCopies(*args
, **kwargs
):
4316 """GetNoCopies(self) -> int"""
4317 return _windows_
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
4319 def GetAllPages(*args
, **kwargs
):
4320 """GetAllPages(self) -> bool"""
4321 return _windows_
.PrintDialogData_GetAllPages(*args
, **kwargs
)
4323 def GetSelection(*args
, **kwargs
):
4324 """GetSelection(self) -> bool"""
4325 return _windows_
.PrintDialogData_GetSelection(*args
, **kwargs
)
4327 def GetCollate(*args
, **kwargs
):
4328 """GetCollate(self) -> bool"""
4329 return _windows_
.PrintDialogData_GetCollate(*args
, **kwargs
)
4331 def GetPrintToFile(*args
, **kwargs
):
4332 """GetPrintToFile(self) -> bool"""
4333 return _windows_
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
4335 def GetSetupDialog(*args
, **kwargs
):
4336 """GetSetupDialog(self) -> bool"""
4337 return _windows_
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
4339 def SetSetupDialog(*args
, **kwargs
):
4340 """SetSetupDialog(self, bool flag)"""
4341 return _windows_
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
4343 def SetFromPage(*args
, **kwargs
):
4344 """SetFromPage(self, int v)"""
4345 return _windows_
.PrintDialogData_SetFromPage(*args
, **kwargs
)
4347 def SetToPage(*args
, **kwargs
):
4348 """SetToPage(self, int v)"""
4349 return _windows_
.PrintDialogData_SetToPage(*args
, **kwargs
)
4351 def SetMinPage(*args
, **kwargs
):
4352 """SetMinPage(self, int v)"""
4353 return _windows_
.PrintDialogData_SetMinPage(*args
, **kwargs
)
4355 def SetMaxPage(*args
, **kwargs
):
4356 """SetMaxPage(self, int v)"""
4357 return _windows_
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
4359 def SetNoCopies(*args
, **kwargs
):
4360 """SetNoCopies(self, int v)"""
4361 return _windows_
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
4363 def SetAllPages(*args
, **kwargs
):
4364 """SetAllPages(self, bool flag)"""
4365 return _windows_
.PrintDialogData_SetAllPages(*args
, **kwargs
)
4367 def SetSelection(*args
, **kwargs
):
4368 """SetSelection(self, bool flag)"""
4369 return _windows_
.PrintDialogData_SetSelection(*args
, **kwargs
)
4371 def SetCollate(*args
, **kwargs
):
4372 """SetCollate(self, bool flag)"""
4373 return _windows_
.PrintDialogData_SetCollate(*args
, **kwargs
)
4375 def SetPrintToFile(*args
, **kwargs
):
4376 """SetPrintToFile(self, bool flag)"""
4377 return _windows_
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
4379 def EnablePrintToFile(*args
, **kwargs
):
4380 """EnablePrintToFile(self, bool flag)"""
4381 return _windows_
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
4383 def EnableSelection(*args
, **kwargs
):
4384 """EnableSelection(self, bool flag)"""
4385 return _windows_
.PrintDialogData_EnableSelection(*args
, **kwargs
)
4387 def EnablePageNumbers(*args
, **kwargs
):
4388 """EnablePageNumbers(self, bool flag)"""
4389 return _windows_
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
4391 def EnableHelp(*args
, **kwargs
):
4392 """EnableHelp(self, bool flag)"""
4393 return _windows_
.PrintDialogData_EnableHelp(*args
, **kwargs
)
4395 def GetEnablePrintToFile(*args
, **kwargs
):
4396 """GetEnablePrintToFile(self) -> bool"""
4397 return _windows_
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
4399 def GetEnableSelection(*args
, **kwargs
):
4400 """GetEnableSelection(self) -> bool"""
4401 return _windows_
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
4403 def GetEnablePageNumbers(*args
, **kwargs
):
4404 """GetEnablePageNumbers(self) -> bool"""
4405 return _windows_
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
4407 def GetEnableHelp(*args
, **kwargs
):
4408 """GetEnableHelp(self) -> bool"""
4409 return _windows_
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
4411 def Ok(*args
, **kwargs
):
4412 """Ok(self) -> bool"""
4413 return _windows_
.PrintDialogData_Ok(*args
, **kwargs
)
4415 def GetPrintData(*args
, **kwargs
):
4416 """GetPrintData(self) -> PrintData"""
4417 return _windows_
.PrintDialogData_GetPrintData(*args
, **kwargs
)
4419 def SetPrintData(*args
, **kwargs
):
4420 """SetPrintData(self, PrintData printData)"""
4421 return _windows_
.PrintDialogData_SetPrintData(*args
, **kwargs
)
4423 def __nonzero__(self
): return self
.Ok()
4425 class PrintDialogDataPtr(PrintDialogData
):
4426 def __init__(self
, this
):
4428 if not hasattr(self
,"thisown"): self
.thisown
= 0
4429 self
.__class
__ = PrintDialogData
4430 _windows_
.PrintDialogData_swigregister(PrintDialogDataPtr
)
4432 class PrintDialog(_core
.Object
):
4433 """Proxy of C++ PrintDialog class"""
4435 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4436 def __init__(self
, *args
, **kwargs
):
4437 """__init__(self, Window parent, PrintDialogData data=None) -> PrintDialog"""
4438 newobj
= _windows_
.new_PrintDialog(*args
, **kwargs
)
4439 self
.this
= newobj
.this
4442 def ShowModal(*args
, **kwargs
):
4443 """ShowModal(self) -> int"""
4444 return _windows_
.PrintDialog_ShowModal(*args
, **kwargs
)
4446 def GetPrintDialogData(*args
, **kwargs
):
4447 """GetPrintDialogData(self) -> PrintDialogData"""
4448 return _windows_
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
4450 def GetPrintData(*args
, **kwargs
):
4451 """GetPrintData(self) -> PrintData"""
4452 return _windows_
.PrintDialog_GetPrintData(*args
, **kwargs
)
4454 def GetPrintDC(*args
, **kwargs
):
4455 """GetPrintDC(self) -> DC"""
4456 return _windows_
.PrintDialog_GetPrintDC(*args
, **kwargs
)
4459 class PrintDialogPtr(PrintDialog
):
4460 def __init__(self
, this
):
4462 if not hasattr(self
,"thisown"): self
.thisown
= 0
4463 self
.__class
__ = PrintDialog
4464 _windows_
.PrintDialog_swigregister(PrintDialogPtr
)
4466 PRINTER_NO_ERROR
= _windows_
.PRINTER_NO_ERROR
4467 PRINTER_CANCELLED
= _windows_
.PRINTER_CANCELLED
4468 PRINTER_ERROR
= _windows_
.PRINTER_ERROR
4469 class Printer(_core
.Object
):
4470 """Proxy of C++ Printer class"""
4472 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4473 def __init__(self
, *args
, **kwargs
):
4474 """__init__(self, PrintDialogData data=None) -> Printer"""
4475 newobj
= _windows_
.new_Printer(*args
, **kwargs
)
4476 self
.this
= newobj
.this
4479 def __del__(self
, destroy
=_windows_
.delete_Printer
):
4482 if self
.thisown
: destroy(self
)
4485 def CreateAbortWindow(*args
, **kwargs
):
4486 """CreateAbortWindow(self, Window parent, Printout printout) -> Window"""
4487 return _windows_
.Printer_CreateAbortWindow(*args
, **kwargs
)
4489 def ReportError(*args
, **kwargs
):
4490 """ReportError(self, Window parent, Printout printout, String message)"""
4491 return _windows_
.Printer_ReportError(*args
, **kwargs
)
4493 def Setup(*args
, **kwargs
):
4494 """Setup(self, Window parent) -> bool"""
4495 return _windows_
.Printer_Setup(*args
, **kwargs
)
4497 def Print(*args
, **kwargs
):
4498 """Print(self, Window parent, Printout printout, bool prompt=True) -> bool"""
4499 return _windows_
.Printer_Print(*args
, **kwargs
)
4501 def PrintDialog(*args
, **kwargs
):
4502 """PrintDialog(self, Window parent) -> DC"""
4503 return _windows_
.Printer_PrintDialog(*args
, **kwargs
)
4505 def GetPrintDialogData(*args
, **kwargs
):
4506 """GetPrintDialogData(self) -> PrintDialogData"""
4507 return _windows_
.Printer_GetPrintDialogData(*args
, **kwargs
)
4509 def GetAbort(*args
, **kwargs
):
4510 """GetAbort(self) -> bool"""
4511 return _windows_
.Printer_GetAbort(*args
, **kwargs
)
4513 def GetLastError(*args
, **kwargs
):
4514 """GetLastError() -> int"""
4515 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4517 GetLastError
= staticmethod(GetLastError
)
4519 class PrinterPtr(Printer
):
4520 def __init__(self
, this
):
4522 if not hasattr(self
,"thisown"): self
.thisown
= 0
4523 self
.__class
__ = Printer
4524 _windows_
.Printer_swigregister(PrinterPtr
)
4526 def Printer_GetLastError(*args
, **kwargs
):
4527 """Printer_GetLastError() -> int"""
4528 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4530 class Printout(_core
.Object
):
4531 """Proxy of C++ Printout class"""
4533 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4534 def __init__(self
, *args
, **kwargs
):
4535 """__init__(self, String title=PrintoutTitleStr) -> Printout"""
4536 newobj
= _windows_
.new_Printout(*args
, **kwargs
)
4537 self
.this
= newobj
.this
4540 self
._setCallbackInfo
(self
, Printout
)
4542 def _setCallbackInfo(*args
, **kwargs
):
4543 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4544 return _windows_
.Printout__setCallbackInfo(*args
, **kwargs
)
4546 def GetTitle(*args
, **kwargs
):
4547 """GetTitle(self) -> String"""
4548 return _windows_
.Printout_GetTitle(*args
, **kwargs
)
4550 def GetDC(*args
, **kwargs
):
4551 """GetDC(self) -> DC"""
4552 return _windows_
.Printout_GetDC(*args
, **kwargs
)
4554 def SetDC(*args
, **kwargs
):
4555 """SetDC(self, DC dc)"""
4556 return _windows_
.Printout_SetDC(*args
, **kwargs
)
4558 def SetPageSizePixels(*args
, **kwargs
):
4559 """SetPageSizePixels(self, int w, int h)"""
4560 return _windows_
.Printout_SetPageSizePixels(*args
, **kwargs
)
4562 def GetPageSizePixels(*args
, **kwargs
):
4563 """GetPageSizePixels() -> (w, h)"""
4564 return _windows_
.Printout_GetPageSizePixels(*args
, **kwargs
)
4566 def SetPageSizeMM(*args
, **kwargs
):
4567 """SetPageSizeMM(self, int w, int h)"""
4568 return _windows_
.Printout_SetPageSizeMM(*args
, **kwargs
)
4570 def GetPageSizeMM(*args
, **kwargs
):
4571 """GetPageSizeMM() -> (w, h)"""
4572 return _windows_
.Printout_GetPageSizeMM(*args
, **kwargs
)
4574 def SetPPIScreen(*args
, **kwargs
):
4575 """SetPPIScreen(self, int x, int y)"""
4576 return _windows_
.Printout_SetPPIScreen(*args
, **kwargs
)
4578 def GetPPIScreen(*args
, **kwargs
):
4579 """GetPPIScreen() -> (x,y)"""
4580 return _windows_
.Printout_GetPPIScreen(*args
, **kwargs
)
4582 def SetPPIPrinter(*args
, **kwargs
):
4583 """SetPPIPrinter(self, int x, int y)"""
4584 return _windows_
.Printout_SetPPIPrinter(*args
, **kwargs
)
4586 def GetPPIPrinter(*args
, **kwargs
):
4587 """GetPPIPrinter() -> (x,y)"""
4588 return _windows_
.Printout_GetPPIPrinter(*args
, **kwargs
)
4590 def IsPreview(*args
, **kwargs
):
4591 """IsPreview(self) -> bool"""
4592 return _windows_
.Printout_IsPreview(*args
, **kwargs
)
4594 def SetIsPreview(*args
, **kwargs
):
4595 """SetIsPreview(self, bool p)"""
4596 return _windows_
.Printout_SetIsPreview(*args
, **kwargs
)
4598 def base_OnBeginDocument(*args
, **kwargs
):
4599 """base_OnBeginDocument(self, int startPage, int endPage) -> bool"""
4600 return _windows_
.Printout_base_OnBeginDocument(*args
, **kwargs
)
4602 def base_OnEndDocument(*args
, **kwargs
):
4603 """base_OnEndDocument(self)"""
4604 return _windows_
.Printout_base_OnEndDocument(*args
, **kwargs
)
4606 def base_OnBeginPrinting(*args
, **kwargs
):
4607 """base_OnBeginPrinting(self)"""
4608 return _windows_
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
4610 def base_OnEndPrinting(*args
, **kwargs
):
4611 """base_OnEndPrinting(self)"""
4612 return _windows_
.Printout_base_OnEndPrinting(*args
, **kwargs
)
4614 def base_OnPreparePrinting(*args
, **kwargs
):
4615 """base_OnPreparePrinting(self)"""
4616 return _windows_
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
4618 def base_HasPage(*args
, **kwargs
):
4619 """base_HasPage(self, int page) -> bool"""
4620 return _windows_
.Printout_base_HasPage(*args
, **kwargs
)
4622 def base_GetPageInfo(*args
, **kwargs
):
4623 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
4624 return _windows_
.Printout_base_GetPageInfo(*args
, **kwargs
)
4627 class PrintoutPtr(Printout
):
4628 def __init__(self
, this
):
4630 if not hasattr(self
,"thisown"): self
.thisown
= 0
4631 self
.__class
__ = Printout
4632 _windows_
.Printout_swigregister(PrintoutPtr
)
4634 class PreviewCanvas(ScrolledWindow
):
4635 """Proxy of C++ PreviewCanvas class"""
4637 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4638 def __init__(self
, *args
, **kwargs
):
4640 __init__(self, PrintPreview preview, Window parent, Point pos=DefaultPosition,
4641 Size size=DefaultSize, long style=0,
4642 String name=PreviewCanvasNameStr) -> PreviewCanvas
4644 newobj
= _windows_
.new_PreviewCanvas(*args
, **kwargs
)
4645 self
.this
= newobj
.this
4648 self
._setOORInfo
(self
)
4651 class PreviewCanvasPtr(PreviewCanvas
):
4652 def __init__(self
, this
):
4654 if not hasattr(self
,"thisown"): self
.thisown
= 0
4655 self
.__class
__ = PreviewCanvas
4656 _windows_
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
4658 class PreviewFrame(Frame
):
4659 """Proxy of C++ PreviewFrame class"""
4661 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4662 def __init__(self
, *args
, **kwargs
):
4664 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4665 Size size=DefaultSize,
4666 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
4668 newobj
= _windows_
.new_PreviewFrame(*args
, **kwargs
)
4669 self
.this
= newobj
.this
4672 self
._setOORInfo
(self
)
4674 def Initialize(*args
, **kwargs
):
4675 """Initialize(self)"""
4676 return _windows_
.PreviewFrame_Initialize(*args
, **kwargs
)
4678 def CreateControlBar(*args
, **kwargs
):
4679 """CreateControlBar(self)"""
4680 return _windows_
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
4682 def CreateCanvas(*args
, **kwargs
):
4683 """CreateCanvas(self)"""
4684 return _windows_
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
4686 def GetControlBar(*args
, **kwargs
):
4687 """GetControlBar(self) -> PreviewControlBar"""
4688 return _windows_
.PreviewFrame_GetControlBar(*args
, **kwargs
)
4691 class PreviewFramePtr(PreviewFrame
):
4692 def __init__(self
, this
):
4694 if not hasattr(self
,"thisown"): self
.thisown
= 0
4695 self
.__class
__ = PreviewFrame
4696 _windows_
.PreviewFrame_swigregister(PreviewFramePtr
)
4698 PREVIEW_PRINT
= _windows_
.PREVIEW_PRINT
4699 PREVIEW_PREVIOUS
= _windows_
.PREVIEW_PREVIOUS
4700 PREVIEW_NEXT
= _windows_
.PREVIEW_NEXT
4701 PREVIEW_ZOOM
= _windows_
.PREVIEW_ZOOM
4702 PREVIEW_FIRST
= _windows_
.PREVIEW_FIRST
4703 PREVIEW_LAST
= _windows_
.PREVIEW_LAST
4704 PREVIEW_GOTO
= _windows_
.PREVIEW_GOTO
4705 PREVIEW_DEFAULT
= _windows_
.PREVIEW_DEFAULT
4706 ID_PREVIEW_CLOSE
= _windows_
.ID_PREVIEW_CLOSE
4707 ID_PREVIEW_NEXT
= _windows_
.ID_PREVIEW_NEXT
4708 ID_PREVIEW_PREVIOUS
= _windows_
.ID_PREVIEW_PREVIOUS
4709 ID_PREVIEW_PRINT
= _windows_
.ID_PREVIEW_PRINT
4710 ID_PREVIEW_ZOOM
= _windows_
.ID_PREVIEW_ZOOM
4711 ID_PREVIEW_FIRST
= _windows_
.ID_PREVIEW_FIRST
4712 ID_PREVIEW_LAST
= _windows_
.ID_PREVIEW_LAST
4713 ID_PREVIEW_GOTO
= _windows_
.ID_PREVIEW_GOTO
4714 class PreviewControlBar(Panel
):
4715 """Proxy of C++ PreviewControlBar class"""
4717 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4718 def __init__(self
, *args
, **kwargs
):
4720 __init__(self, PrintPreview preview, long buttons, Window parent,
4721 Point pos=DefaultPosition, Size size=DefaultSize,
4722 long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
4724 newobj
= _windows_
.new_PreviewControlBar(*args
, **kwargs
)
4725 self
.this
= newobj
.this
4728 self
._setOORInfo
(self
)
4730 def GetZoomControl(*args
, **kwargs
):
4731 """GetZoomControl(self) -> int"""
4732 return _windows_
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
4734 def SetZoomControl(*args
, **kwargs
):
4735 """SetZoomControl(self, int zoom)"""
4736 return _windows_
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
4738 def GetPrintPreview(*args
, **kwargs
):
4739 """GetPrintPreview(self) -> PrintPreview"""
4740 return _windows_
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
4742 def OnNext(*args
, **kwargs
):
4744 return _windows_
.PreviewControlBar_OnNext(*args
, **kwargs
)
4746 def OnPrevious(*args
, **kwargs
):
4747 """OnPrevious(self)"""
4748 return _windows_
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
4750 def OnFirst(*args
, **kwargs
):
4752 return _windows_
.PreviewControlBar_OnFirst(*args
, **kwargs
)
4754 def OnLast(*args
, **kwargs
):
4756 return _windows_
.PreviewControlBar_OnLast(*args
, **kwargs
)
4758 def OnGoto(*args
, **kwargs
):
4760 return _windows_
.PreviewControlBar_OnGoto(*args
, **kwargs
)
4763 class PreviewControlBarPtr(PreviewControlBar
):
4764 def __init__(self
, this
):
4766 if not hasattr(self
,"thisown"): self
.thisown
= 0
4767 self
.__class
__ = PreviewControlBar
4768 _windows_
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
4770 class PrintPreview(_core
.Object
):
4771 """Proxy of C++ PrintPreview class"""
4773 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4774 def __init__(self
, *args
):
4776 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview
4777 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview
4779 newobj
= _windows_
.new_PrintPreview(*args
)
4780 self
.this
= newobj
.this
4783 def SetCurrentPage(*args
, **kwargs
):
4784 """SetCurrentPage(self, int pageNum) -> bool"""
4785 return _windows_
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
4787 def GetCurrentPage(*args
, **kwargs
):
4788 """GetCurrentPage(self) -> int"""
4789 return _windows_
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
4791 def SetPrintout(*args
, **kwargs
):
4792 """SetPrintout(self, Printout printout)"""
4793 return _windows_
.PrintPreview_SetPrintout(*args
, **kwargs
)
4795 def GetPrintout(*args
, **kwargs
):
4796 """GetPrintout(self) -> Printout"""
4797 return _windows_
.PrintPreview_GetPrintout(*args
, **kwargs
)
4799 def GetPrintoutForPrinting(*args
, **kwargs
):
4800 """GetPrintoutForPrinting(self) -> Printout"""
4801 return _windows_
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
4803 def SetFrame(*args
, **kwargs
):
4804 """SetFrame(self, Frame frame)"""
4805 return _windows_
.PrintPreview_SetFrame(*args
, **kwargs
)
4807 def SetCanvas(*args
, **kwargs
):
4808 """SetCanvas(self, PreviewCanvas canvas)"""
4809 return _windows_
.PrintPreview_SetCanvas(*args
, **kwargs
)
4811 def GetFrame(*args
, **kwargs
):
4812 """GetFrame(self) -> Frame"""
4813 return _windows_
.PrintPreview_GetFrame(*args
, **kwargs
)
4815 def GetCanvas(*args
, **kwargs
):
4816 """GetCanvas(self) -> PreviewCanvas"""
4817 return _windows_
.PrintPreview_GetCanvas(*args
, **kwargs
)
4819 def PaintPage(*args
, **kwargs
):
4820 """PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4821 return _windows_
.PrintPreview_PaintPage(*args
, **kwargs
)
4823 def DrawBlankPage(*args
, **kwargs
):
4824 """DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4825 return _windows_
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
4827 def RenderPage(*args
, **kwargs
):
4828 """RenderPage(self, int pageNum) -> bool"""
4829 return _windows_
.PrintPreview_RenderPage(*args
, **kwargs
)
4831 def AdjustScrollbars(*args
, **kwargs
):
4832 """AdjustScrollbars(self, PreviewCanvas canvas)"""
4833 return _windows_
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
4835 def GetPrintDialogData(*args
, **kwargs
):
4836 """GetPrintDialogData(self) -> PrintDialogData"""
4837 return _windows_
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
4839 def SetZoom(*args
, **kwargs
):
4840 """SetZoom(self, int percent)"""
4841 return _windows_
.PrintPreview_SetZoom(*args
, **kwargs
)
4843 def GetZoom(*args
, **kwargs
):
4844 """GetZoom(self) -> int"""
4845 return _windows_
.PrintPreview_GetZoom(*args
, **kwargs
)
4847 def GetMaxPage(*args
, **kwargs
):
4848 """GetMaxPage(self) -> int"""
4849 return _windows_
.PrintPreview_GetMaxPage(*args
, **kwargs
)
4851 def GetMinPage(*args
, **kwargs
):
4852 """GetMinPage(self) -> int"""
4853 return _windows_
.PrintPreview_GetMinPage(*args
, **kwargs
)
4855 def Ok(*args
, **kwargs
):
4856 """Ok(self) -> bool"""
4857 return _windows_
.PrintPreview_Ok(*args
, **kwargs
)
4859 def SetOk(*args
, **kwargs
):
4860 """SetOk(self, bool ok)"""
4861 return _windows_
.PrintPreview_SetOk(*args
, **kwargs
)
4863 def Print(*args
, **kwargs
):
4864 """Print(self, bool interactive) -> bool"""
4865 return _windows_
.PrintPreview_Print(*args
, **kwargs
)
4867 def DetermineScaling(*args
, **kwargs
):
4868 """DetermineScaling(self)"""
4869 return _windows_
.PrintPreview_DetermineScaling(*args
, **kwargs
)
4871 def __nonzero__(self
): return self
.Ok()
4873 class PrintPreviewPtr(PrintPreview
):
4874 def __init__(self
, this
):
4876 if not hasattr(self
,"thisown"): self
.thisown
= 0
4877 self
.__class
__ = PrintPreview
4878 _windows_
.PrintPreview_swigregister(PrintPreviewPtr
)
4880 class PyPrintPreview(PrintPreview
):
4881 """Proxy of C++ PyPrintPreview class"""
4883 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4884 def __init__(self
, *args
):
4886 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview
4887 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview
4889 newobj
= _windows_
.new_PyPrintPreview(*args
)
4890 self
.this
= newobj
.this
4893 self
._setCallbackInfo
(self
, PyPrintPreview
)
4895 def _setCallbackInfo(*args
, **kwargs
):
4896 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4897 return _windows_
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
4899 def base_SetCurrentPage(*args
, **kwargs
):
4900 """base_SetCurrentPage(self, int pageNum) -> bool"""
4901 return _windows_
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
4903 def base_PaintPage(*args
, **kwargs
):
4904 """base_PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4905 return _windows_
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
4907 def base_DrawBlankPage(*args
, **kwargs
):
4908 """base_DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4909 return _windows_
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
4911 def base_RenderPage(*args
, **kwargs
):
4912 """base_RenderPage(self, int pageNum) -> bool"""
4913 return _windows_
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
4915 def base_SetZoom(*args
, **kwargs
):
4916 """base_SetZoom(self, int percent)"""
4917 return _windows_
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
4919 def base_Print(*args
, **kwargs
):
4920 """base_Print(self, bool interactive) -> bool"""
4921 return _windows_
.PyPrintPreview_base_Print(*args
, **kwargs
)
4923 def base_DetermineScaling(*args
, **kwargs
):
4924 """base_DetermineScaling(self)"""
4925 return _windows_
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
4928 class PyPrintPreviewPtr(PyPrintPreview
):
4929 def __init__(self
, this
):
4931 if not hasattr(self
,"thisown"): self
.thisown
= 0
4932 self
.__class
__ = PyPrintPreview
4933 _windows_
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
4935 class PyPreviewFrame(PreviewFrame
):
4936 """Proxy of C++ PyPreviewFrame class"""
4938 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4939 def __init__(self
, *args
, **kwargs
):
4941 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4942 Size size=DefaultSize,
4943 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
4945 newobj
= _windows_
.new_PyPreviewFrame(*args
, **kwargs
)
4946 self
.this
= newobj
.this
4949 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
4951 def _setCallbackInfo(*args
, **kwargs
):
4952 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4953 return _windows_
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
4955 def SetPreviewCanvas(*args
, **kwargs
):
4956 """SetPreviewCanvas(self, PreviewCanvas canvas)"""
4957 return _windows_
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
4959 def SetControlBar(*args
, **kwargs
):
4960 """SetControlBar(self, PreviewControlBar bar)"""
4961 return _windows_
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
4963 def base_Initialize(*args
, **kwargs
):
4964 """base_Initialize(self)"""
4965 return _windows_
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
4967 def base_CreateCanvas(*args
, **kwargs
):
4968 """base_CreateCanvas(self)"""
4969 return _windows_
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
4971 def base_CreateControlBar(*args
, **kwargs
):
4972 """base_CreateControlBar(self)"""
4973 return _windows_
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
4976 class PyPreviewFramePtr(PyPreviewFrame
):
4977 def __init__(self
, this
):
4979 if not hasattr(self
,"thisown"): self
.thisown
= 0
4980 self
.__class
__ = PyPreviewFrame
4981 _windows_
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
4983 class PyPreviewControlBar(PreviewControlBar
):
4984 """Proxy of C++ PyPreviewControlBar class"""
4986 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4987 def __init__(self
, *args
, **kwargs
):
4989 __init__(self, PrintPreview preview, long buttons, Window parent,
4990 Point pos=DefaultPosition, Size size=DefaultSize,
4991 long style=0, String name=PanelNameStr) -> PyPreviewControlBar
4993 newobj
= _windows_
.new_PyPreviewControlBar(*args
, **kwargs
)
4994 self
.this
= newobj
.this
4997 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
4999 def _setCallbackInfo(*args
, **kwargs
):
5000 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
5001 return _windows_
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
5003 def SetPrintPreview(*args
, **kwargs
):
5004 """SetPrintPreview(self, PrintPreview preview)"""
5005 return _windows_
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
5007 def base_CreateButtons(*args
, **kwargs
):
5008 """base_CreateButtons(self)"""
5009 return _windows_
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
5011 def base_SetZoomControl(*args
, **kwargs
):
5012 """base_SetZoomControl(self, int zoom)"""
5013 return _windows_
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
5016 class PyPreviewControlBarPtr(PyPreviewControlBar
):
5017 def __init__(self
, this
):
5019 if not hasattr(self
,"thisown"): self
.thisown
= 0
5020 self
.__class
__ = PyPreviewControlBar
5021 _windows_
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)