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 class PopupWindow(_core
.Window
):
1778 """Proxy of C++ PopupWindow class"""
1780 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1781 def __init__(self
, *args
, **kwargs
):
1782 """__init__(self, Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1783 newobj
= _windows_
.new_PopupWindow(*args
, **kwargs
)
1784 self
.this
= newobj
.this
1788 class PopupWindowPtr(PopupWindow
):
1789 def __init__(self
, this
):
1791 if not hasattr(self
,"thisown"): self
.thisown
= 0
1792 self
.__class
__ = PopupWindow
1793 _windows_
.PopupWindow_swigregister(PopupWindowPtr
)
1795 def PrePopupWindow(*args
, **kwargs
):
1796 """PrePopupWindow() -> PopupWindow"""
1797 val
= _windows_
.new_PrePopupWindow(*args
, **kwargs
)
1801 class PopupTransientWindow(PopupWindow
):
1802 """Proxy of C++ PopupTransientWindow class"""
1804 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1805 def __init__(self
, *args
, **kwargs
):
1806 """__init__(self, Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1807 newobj
= _windows_
.new_PopupTransientWindow(*args
, **kwargs
)
1808 self
.this
= newobj
.this
1812 class PopupTransientWindowPtr(PopupTransientWindow
):
1813 def __init__(self
, this
):
1815 if not hasattr(self
,"thisown"): self
.thisown
= 0
1816 self
.__class
__ = PopupTransientWindow
1817 _windows_
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1819 def PrePopupTransientWindow(*args
, **kwargs
):
1820 """PrePopupTransientWindow() -> PopupTransientWindow"""
1821 val
= _windows_
.new_PrePopupTransientWindow(*args
, **kwargs
)
1825 #---------------------------------------------------------------------------
1827 class TipWindow(Frame
):
1828 """Proxy of C++ TipWindow class"""
1830 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1831 def __init__(self
, *args
, **kwargs
):
1832 """__init__(self, Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1833 newobj
= _windows_
.new_TipWindow(*args
, **kwargs
)
1834 self
.this
= newobj
.this
1837 self
._setOORInfo
(self
)
1839 def SetBoundingRect(*args
, **kwargs
):
1840 """SetBoundingRect(self, Rect rectBound)"""
1841 return _windows_
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1843 def Close(*args
, **kwargs
):
1847 This function simply generates a EVT_CLOSE event whose handler usually
1848 tries to close the window. It doesn't close the window itself,
1849 however. If force is False (the default) then the window's close
1850 handler will be allowed to veto the destruction of the window.
1852 return _windows_
.TipWindow_Close(*args
, **kwargs
)
1855 class TipWindowPtr(TipWindow
):
1856 def __init__(self
, this
):
1858 if not hasattr(self
,"thisown"): self
.thisown
= 0
1859 self
.__class
__ = TipWindow
1860 _windows_
.TipWindow_swigregister(TipWindowPtr
)
1862 #---------------------------------------------------------------------------
1864 class VScrolledWindow(Panel
):
1865 """Proxy of C++ VScrolledWindow class"""
1867 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1868 def __init__(self
, *args
, **kwargs
):
1870 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1871 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
1873 newobj
= _windows_
.new_VScrolledWindow(*args
, **kwargs
)
1874 self
.this
= newobj
.this
1877 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1879 def _setCallbackInfo(*args
, **kwargs
):
1880 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1881 return _windows_
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1883 def Create(*args
, **kwargs
):
1885 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1886 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
1888 return _windows_
.VScrolledWindow_Create(*args
, **kwargs
)
1890 def SetLineCount(*args
, **kwargs
):
1891 """SetLineCount(self, size_t count)"""
1892 return _windows_
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1894 def ScrollToLine(*args
, **kwargs
):
1895 """ScrollToLine(self, size_t line) -> bool"""
1896 return _windows_
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1898 def ScrollLines(*args
, **kwargs
):
1900 ScrollLines(self, int lines) -> bool
1902 If the platform and window class supports it, scrolls the window by
1903 the given number of lines down, if lines is positive, or up if lines
1904 is negative. Returns True if the window was scrolled, False if it was
1905 already on top/bottom and nothing was done.
1907 return _windows_
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1909 def ScrollPages(*args
, **kwargs
):
1911 ScrollPages(self, int pages) -> bool
1913 If the platform and window class supports it, scrolls the window by
1914 the given number of pages down, if pages is positive, or up if pages
1915 is negative. Returns True if the window was scrolled, False if it was
1916 already on top/bottom and nothing was done.
1918 return _windows_
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1920 def RefreshLine(*args
, **kwargs
):
1921 """RefreshLine(self, size_t line)"""
1922 return _windows_
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1924 def RefreshLines(*args
, **kwargs
):
1925 """RefreshLines(self, size_t from, size_t to)"""
1926 return _windows_
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1928 def HitTestXY(*args
, **kwargs
):
1930 HitTestXY(self, int x, int y) -> int
1932 Test where the given (in client coords) point lies
1934 return _windows_
.VScrolledWindow_HitTestXY(*args
, **kwargs
)
1936 def HitTest(*args
, **kwargs
):
1938 HitTest(self, Point pt) -> int
1940 Test where the given (in client coords) point lies
1942 return _windows_
.VScrolledWindow_HitTest(*args
, **kwargs
)
1944 def RefreshAll(*args
, **kwargs
):
1945 """RefreshAll(self)"""
1946 return _windows_
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1948 def GetLineCount(*args
, **kwargs
):
1949 """GetLineCount(self) -> size_t"""
1950 return _windows_
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1952 def GetFirstVisibleLine(*args
, **kwargs
):
1953 """GetFirstVisibleLine(self) -> size_t"""
1954 return _windows_
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1956 def GetLastVisibleLine(*args
, **kwargs
):
1957 """GetLastVisibleLine(self) -> size_t"""
1958 return _windows_
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1960 def IsVisible(*args
, **kwargs
):
1961 """IsVisible(self, size_t line) -> bool"""
1962 return _windows_
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1965 class VScrolledWindowPtr(VScrolledWindow
):
1966 def __init__(self
, this
):
1968 if not hasattr(self
,"thisown"): self
.thisown
= 0
1969 self
.__class
__ = VScrolledWindow
1970 _windows_
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
1972 def PreVScrolledWindow(*args
, **kwargs
):
1973 """PreVScrolledWindow() -> VScrolledWindow"""
1974 val
= _windows_
.new_PreVScrolledWindow(*args
, **kwargs
)
1978 class VListBox(VScrolledWindow
):
1979 """Proxy of C++ VListBox class"""
1981 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1982 def __init__(self
, *args
, **kwargs
):
1984 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1985 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
1987 newobj
= _windows_
.new_VListBox(*args
, **kwargs
)
1988 self
.this
= newobj
.this
1991 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
1993 def _setCallbackInfo(*args
, **kwargs
):
1994 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1995 return _windows_
.VListBox__setCallbackInfo(*args
, **kwargs
)
1997 def Create(*args
, **kwargs
):
1999 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2000 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
2002 return _windows_
.VListBox_Create(*args
, **kwargs
)
2004 def GetItemCount(*args
, **kwargs
):
2005 """GetItemCount(self) -> size_t"""
2006 return _windows_
.VListBox_GetItemCount(*args
, **kwargs
)
2008 def HasMultipleSelection(*args
, **kwargs
):
2009 """HasMultipleSelection(self) -> bool"""
2010 return _windows_
.VListBox_HasMultipleSelection(*args
, **kwargs
)
2012 def GetSelection(*args
, **kwargs
):
2013 """GetSelection(self) -> int"""
2014 return _windows_
.VListBox_GetSelection(*args
, **kwargs
)
2016 def IsCurrent(*args
, **kwargs
):
2017 """IsCurrent(self, size_t item) -> bool"""
2018 return _windows_
.VListBox_IsCurrent(*args
, **kwargs
)
2020 def IsSelected(*args
, **kwargs
):
2021 """IsSelected(self, size_t item) -> bool"""
2022 return _windows_
.VListBox_IsSelected(*args
, **kwargs
)
2024 def GetSelectedCount(*args
, **kwargs
):
2025 """GetSelectedCount(self) -> size_t"""
2026 return _windows_
.VListBox_GetSelectedCount(*args
, **kwargs
)
2028 def GetFirstSelected(*args
, **kwargs
):
2029 """GetFirstSelected(self) -> PyObject"""
2030 return _windows_
.VListBox_GetFirstSelected(*args
, **kwargs
)
2032 def GetNextSelected(*args
, **kwargs
):
2033 """GetNextSelected(self, unsigned long cookie) -> PyObject"""
2034 return _windows_
.VListBox_GetNextSelected(*args
, **kwargs
)
2036 def GetMargins(*args
, **kwargs
):
2037 """GetMargins(self) -> Point"""
2038 return _windows_
.VListBox_GetMargins(*args
, **kwargs
)
2040 def GetSelectionBackground(*args
, **kwargs
):
2041 """GetSelectionBackground(self) -> Colour"""
2042 return _windows_
.VListBox_GetSelectionBackground(*args
, **kwargs
)
2044 def SetItemCount(*args
, **kwargs
):
2045 """SetItemCount(self, size_t count)"""
2046 return _windows_
.VListBox_SetItemCount(*args
, **kwargs
)
2048 def Clear(*args
, **kwargs
):
2050 return _windows_
.VListBox_Clear(*args
, **kwargs
)
2052 def SetSelection(*args
, **kwargs
):
2053 """SetSelection(self, int selection)"""
2054 return _windows_
.VListBox_SetSelection(*args
, **kwargs
)
2056 def Select(*args
, **kwargs
):
2057 """Select(self, size_t item, bool select=True) -> bool"""
2058 return _windows_
.VListBox_Select(*args
, **kwargs
)
2060 def SelectRange(*args
, **kwargs
):
2061 """SelectRange(self, size_t from, size_t to) -> bool"""
2062 return _windows_
.VListBox_SelectRange(*args
, **kwargs
)
2064 def Toggle(*args
, **kwargs
):
2065 """Toggle(self, size_t item)"""
2066 return _windows_
.VListBox_Toggle(*args
, **kwargs
)
2068 def SelectAll(*args
, **kwargs
):
2069 """SelectAll(self) -> bool"""
2070 return _windows_
.VListBox_SelectAll(*args
, **kwargs
)
2072 def DeselectAll(*args
, **kwargs
):
2073 """DeselectAll(self) -> bool"""
2074 return _windows_
.VListBox_DeselectAll(*args
, **kwargs
)
2076 def SetMargins(*args
, **kwargs
):
2077 """SetMargins(self, Point pt)"""
2078 return _windows_
.VListBox_SetMargins(*args
, **kwargs
)
2080 def SetMarginsXY(*args
, **kwargs
):
2081 """SetMarginsXY(self, int x, int y)"""
2082 return _windows_
.VListBox_SetMarginsXY(*args
, **kwargs
)
2084 def SetSelectionBackground(*args
, **kwargs
):
2085 """SetSelectionBackground(self, Colour col)"""
2086 return _windows_
.VListBox_SetSelectionBackground(*args
, **kwargs
)
2089 class VListBoxPtr(VListBox
):
2090 def __init__(self
, this
):
2092 if not hasattr(self
,"thisown"): self
.thisown
= 0
2093 self
.__class
__ = VListBox
2094 _windows_
.VListBox_swigregister(VListBoxPtr
)
2095 VListBoxNameStr
= cvar
.VListBoxNameStr
2097 def PreVListBox(*args
, **kwargs
):
2098 """PreVListBox() -> VListBox"""
2099 val
= _windows_
.new_PreVListBox(*args
, **kwargs
)
2103 class HtmlListBox(VListBox
):
2104 """Proxy of C++ HtmlListBox class"""
2106 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2107 def __init__(self
, *args
, **kwargs
):
2109 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2110 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
2112 newobj
= _windows_
.new_HtmlListBox(*args
, **kwargs
)
2113 self
.this
= newobj
.this
2116 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
2118 def _setCallbackInfo(*args
, **kwargs
):
2119 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2120 return _windows_
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
2122 def Create(*args
, **kwargs
):
2124 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2125 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
2127 return _windows_
.HtmlListBox_Create(*args
, **kwargs
)
2129 def RefreshAll(*args
, **kwargs
):
2130 """RefreshAll(self)"""
2131 return _windows_
.HtmlListBox_RefreshAll(*args
, **kwargs
)
2133 def SetItemCount(*args
, **kwargs
):
2134 """SetItemCount(self, size_t count)"""
2135 return _windows_
.HtmlListBox_SetItemCount(*args
, **kwargs
)
2137 def GetFileSystem(*args
, **kwargs
):
2138 """GetFileSystem(self) -> FileSystem"""
2139 return _windows_
.HtmlListBox_GetFileSystem(*args
, **kwargs
)
2142 class HtmlListBoxPtr(HtmlListBox
):
2143 def __init__(self
, this
):
2145 if not hasattr(self
,"thisown"): self
.thisown
= 0
2146 self
.__class
__ = HtmlListBox
2147 _windows_
.HtmlListBox_swigregister(HtmlListBoxPtr
)
2149 def PreHtmlListBox(*args
, **kwargs
):
2150 """PreHtmlListBox() -> HtmlListBox"""
2151 val
= _windows_
.new_PreHtmlListBox(*args
, **kwargs
)
2155 #---------------------------------------------------------------------------
2157 class TaskBarIcon(_core
.EvtHandler
):
2158 """Proxy of C++ TaskBarIcon class"""
2160 return "<%s.%s; proxy of C++ wxPyTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2161 def __init__(self
, *args
, **kwargs
):
2162 """__init__(self) -> TaskBarIcon"""
2163 newobj
= _windows_
.new_TaskBarIcon(*args
, **kwargs
)
2164 self
.this
= newobj
.this
2167 self
._setCallbackInfo
(self
, TaskBarIcon
, 0)
2169 def _setCallbackInfo(*args
, **kwargs
):
2170 """_setCallbackInfo(self, PyObject self, PyObject _class, int incref)"""
2171 return _windows_
.TaskBarIcon__setCallbackInfo(*args
, **kwargs
)
2173 def Destroy(*args
, **kwargs
):
2177 Deletes the C++ object this Python object is a proxy for.
2179 return _windows_
.TaskBarIcon_Destroy(*args
, **kwargs
)
2181 def IsOk(*args
, **kwargs
):
2182 """IsOk(self) -> bool"""
2183 return _windows_
.TaskBarIcon_IsOk(*args
, **kwargs
)
2185 def __nonzero__(self
): return self
.IsOk()
2186 def IsIconInstalled(*args
, **kwargs
):
2187 """IsIconInstalled(self) -> bool"""
2188 return _windows_
.TaskBarIcon_IsIconInstalled(*args
, **kwargs
)
2190 def SetIcon(*args
, **kwargs
):
2191 """SetIcon(self, Icon icon, String tooltip=EmptyString) -> bool"""
2192 return _windows_
.TaskBarIcon_SetIcon(*args
, **kwargs
)
2194 def RemoveIcon(*args
, **kwargs
):
2195 """RemoveIcon(self) -> bool"""
2196 return _windows_
.TaskBarIcon_RemoveIcon(*args
, **kwargs
)
2198 def PopupMenu(*args
, **kwargs
):
2199 """PopupMenu(self, Menu menu) -> bool"""
2200 return _windows_
.TaskBarIcon_PopupMenu(*args
, **kwargs
)
2203 class TaskBarIconPtr(TaskBarIcon
):
2204 def __init__(self
, this
):
2206 if not hasattr(self
,"thisown"): self
.thisown
= 0
2207 self
.__class
__ = TaskBarIcon
2208 _windows_
.TaskBarIcon_swigregister(TaskBarIconPtr
)
2210 class TaskBarIconEvent(_core
.Event
):
2211 """Proxy of C++ TaskBarIconEvent class"""
2213 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2214 def __init__(self
, *args
, **kwargs
):
2215 """__init__(self, wxEventType evtType, wxTaskBarIcon tbIcon) -> TaskBarIconEvent"""
2216 newobj
= _windows_
.new_TaskBarIconEvent(*args
, **kwargs
)
2217 self
.this
= newobj
.this
2221 class TaskBarIconEventPtr(TaskBarIconEvent
):
2222 def __init__(self
, this
):
2224 if not hasattr(self
,"thisown"): self
.thisown
= 0
2225 self
.__class
__ = TaskBarIconEvent
2226 _windows_
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
2228 wxEVT_TASKBAR_MOVE
= _windows_
.wxEVT_TASKBAR_MOVE
2229 wxEVT_TASKBAR_LEFT_DOWN
= _windows_
.wxEVT_TASKBAR_LEFT_DOWN
2230 wxEVT_TASKBAR_LEFT_UP
= _windows_
.wxEVT_TASKBAR_LEFT_UP
2231 wxEVT_TASKBAR_RIGHT_DOWN
= _windows_
.wxEVT_TASKBAR_RIGHT_DOWN
2232 wxEVT_TASKBAR_RIGHT_UP
= _windows_
.wxEVT_TASKBAR_RIGHT_UP
2233 wxEVT_TASKBAR_LEFT_DCLICK
= _windows_
.wxEVT_TASKBAR_LEFT_DCLICK
2234 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows_
.wxEVT_TASKBAR_RIGHT_DCLICK
2235 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
2236 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
2237 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
2238 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
2239 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
2240 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
2241 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
2243 #---------------------------------------------------------------------------
2245 class ColourData(_core
.Object
):
2247 This class holds a variety of information related to the colour
2248 chooser dialog, used to transfer settings and results to and from the
2252 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2253 def __init__(self
, *args
, **kwargs
):
2255 __init__(self) -> ColourData
2257 Constructor, sets default values.
2259 newobj
= _windows_
.new_ColourData(*args
, **kwargs
)
2260 self
.this
= newobj
.this
2263 def __del__(self
, destroy
=_windows_
.delete_ColourData
):
2266 if self
.thisown
: destroy(self
)
2269 def GetChooseFull(*args
, **kwargs
):
2271 GetChooseFull(self) -> bool
2273 Under Windows, determines whether the Windows colour dialog will
2274 display the full dialog with custom colour selection controls. Has no
2275 meaning under other platforms. The default value is true.
2277 return _windows_
.ColourData_GetChooseFull(*args
, **kwargs
)
2279 def GetColour(*args
, **kwargs
):
2281 GetColour(self) -> Colour
2283 Gets the colour (pre)selected by the dialog.
2285 return _windows_
.ColourData_GetColour(*args
, **kwargs
)
2287 def GetCustomColour(*args
, **kwargs
):
2289 GetCustomColour(self, int i) -> Colour
2291 Gets the i'th custom colour associated with the colour dialog. i
2292 should be an integer between 0 and 15. The default custom colours are
2293 all invalid colours.
2295 return _windows_
.ColourData_GetCustomColour(*args
, **kwargs
)
2297 def SetChooseFull(*args
, **kwargs
):
2299 SetChooseFull(self, int flag)
2301 Under Windows, tells the Windows colour dialog to display the full
2302 dialog with custom colour selection controls. Under other platforms,
2303 has no effect. The default value is true.
2305 return _windows_
.ColourData_SetChooseFull(*args
, **kwargs
)
2307 def SetColour(*args
, **kwargs
):
2309 SetColour(self, Colour colour)
2311 Sets the default colour for the colour dialog. The default colour is
2314 return _windows_
.ColourData_SetColour(*args
, **kwargs
)
2316 def SetCustomColour(*args
, **kwargs
):
2318 SetCustomColour(self, int i, Colour colour)
2320 Sets the i'th custom colour for the colour dialog. i should be an
2321 integer between 0 and 15. The default custom colours are all invalid colours.
2323 return _windows_
.ColourData_SetCustomColour(*args
, **kwargs
)
2326 class ColourDataPtr(ColourData
):
2327 def __init__(self
, this
):
2329 if not hasattr(self
,"thisown"): self
.thisown
= 0
2330 self
.__class
__ = ColourData
2331 _windows_
.ColourData_swigregister(ColourDataPtr
)
2332 FileSelectorPromptStr
= cvar
.FileSelectorPromptStr
2333 DirSelectorPromptStr
= cvar
.DirSelectorPromptStr
2334 DirDialogNameStr
= cvar
.DirDialogNameStr
2335 FileSelectorDefaultWildcardStr
= cvar
.FileSelectorDefaultWildcardStr
2336 GetTextFromUserPromptStr
= cvar
.GetTextFromUserPromptStr
2337 MessageBoxCaptionStr
= cvar
.MessageBoxCaptionStr
2339 class ColourDialog(Dialog
):
2340 """This class represents the colour chooser dialog."""
2342 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2343 def __init__(self
, *args
, **kwargs
):
2345 __init__(self, Window parent, ColourData data=None) -> ColourDialog
2347 Constructor. Pass a parent window, and optionally a `wx.ColourData`,
2348 which will be copied to the colour dialog's internal ColourData
2351 newobj
= _windows_
.new_ColourDialog(*args
, **kwargs
)
2352 self
.this
= newobj
.this
2355 self
._setOORInfo
(self
)
2357 def GetColourData(*args
, **kwargs
):
2359 GetColourData(self) -> ColourData
2361 Returns a reference to the `wx.ColourData` used by the dialog.
2363 return _windows_
.ColourDialog_GetColourData(*args
, **kwargs
)
2366 class ColourDialogPtr(ColourDialog
):
2367 def __init__(self
, this
):
2369 if not hasattr(self
,"thisown"): self
.thisown
= 0
2370 self
.__class
__ = ColourDialog
2371 _windows_
.ColourDialog_swigregister(ColourDialogPtr
)
2373 class DirDialog(Dialog
):
2375 wx.DirDialog allows the user to select a directory by browising the
2379 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2380 def __init__(self
, *args
, **kwargs
):
2382 __init__(self, Window parent, String message=DirSelectorPromptStr,
2383 String defaultPath=EmptyString, long style=0,
2384 Point pos=DefaultPosition, Size size=DefaultSize,
2385 String name=DirDialogNameStr) -> DirDialog
2387 Constructor. Use ShowModal method to show the dialog.
2389 newobj
= _windows_
.new_DirDialog(*args
, **kwargs
)
2390 self
.this
= newobj
.this
2393 self
._setOORInfo
(self
)
2395 def GetPath(*args
, **kwargs
):
2397 GetPath(self) -> String
2399 Returns the default or user-selected path.
2401 return _windows_
.DirDialog_GetPath(*args
, **kwargs
)
2403 def GetMessage(*args
, **kwargs
):
2405 GetMessage(self) -> String
2407 Returns the message that will be displayed on the dialog.
2409 return _windows_
.DirDialog_GetMessage(*args
, **kwargs
)
2411 def GetStyle(*args
, **kwargs
):
2413 GetStyle(self) -> long
2415 Returns the dialog style.
2417 return _windows_
.DirDialog_GetStyle(*args
, **kwargs
)
2419 def SetMessage(*args
, **kwargs
):
2421 SetMessage(self, String message)
2423 Sets the message that will be displayed on the dialog.
2425 return _windows_
.DirDialog_SetMessage(*args
, **kwargs
)
2427 def SetPath(*args
, **kwargs
):
2429 SetPath(self, String path)
2431 Sets the default path.
2433 return _windows_
.DirDialog_SetPath(*args
, **kwargs
)
2436 class DirDialogPtr(DirDialog
):
2437 def __init__(self
, this
):
2439 if not hasattr(self
,"thisown"): self
.thisown
= 0
2440 self
.__class
__ = DirDialog
2441 _windows_
.DirDialog_swigregister(DirDialogPtr
)
2443 class FileDialog(Dialog
):
2445 wx.FileDialog allows the user to select one or more files from the
2449 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2450 def __init__(self
, *args
, **kwargs
):
2452 __init__(self, Window parent, String message=FileSelectorPromptStr,
2453 String defaultDir=EmptyString, String defaultFile=EmptyString,
2454 String wildcard=FileSelectorDefaultWildcardStr,
2455 long style=0, Point pos=DefaultPosition) -> FileDialog
2457 Constructor. Use ShowModal method to show the dialog.
2459 newobj
= _windows_
.new_FileDialog(*args
, **kwargs
)
2460 self
.this
= newobj
.this
2463 self
._setOORInfo
(self
)
2465 def SetMessage(*args
, **kwargs
):
2467 SetMessage(self, String message)
2469 Sets the message that will be displayed on the dialog.
2471 return _windows_
.FileDialog_SetMessage(*args
, **kwargs
)
2473 def SetPath(*args
, **kwargs
):
2475 SetPath(self, String path)
2477 Sets the path (the combined directory and filename that will be
2478 returned when the dialog is dismissed).
2480 return _windows_
.FileDialog_SetPath(*args
, **kwargs
)
2482 def SetDirectory(*args
, **kwargs
):
2484 SetDirectory(self, String dir)
2486 Sets the default directory.
2488 return _windows_
.FileDialog_SetDirectory(*args
, **kwargs
)
2490 def SetFilename(*args
, **kwargs
):
2492 SetFilename(self, String name)
2494 Sets the default filename.
2496 return _windows_
.FileDialog_SetFilename(*args
, **kwargs
)
2498 def SetWildcard(*args
, **kwargs
):
2500 SetWildcard(self, String wildCard)
2502 Sets the wildcard, which can contain multiple file types, for
2505 "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
2508 return _windows_
.FileDialog_SetWildcard(*args
, **kwargs
)
2510 def SetStyle(*args
, **kwargs
):
2512 SetStyle(self, long style)
2514 Sets the dialog style.
2516 return _windows_
.FileDialog_SetStyle(*args
, **kwargs
)
2518 def SetFilterIndex(*args
, **kwargs
):
2520 SetFilterIndex(self, int filterIndex)
2522 Sets the default filter index, starting from zero.
2524 return _windows_
.FileDialog_SetFilterIndex(*args
, **kwargs
)
2526 def GetMessage(*args
, **kwargs
):
2528 GetMessage(self) -> String
2530 Returns the message that will be displayed on the dialog.
2532 return _windows_
.FileDialog_GetMessage(*args
, **kwargs
)
2534 def GetPath(*args
, **kwargs
):
2536 GetPath(self) -> String
2538 Returns the full path (directory and filename) of the selected file.
2540 return _windows_
.FileDialog_GetPath(*args
, **kwargs
)
2542 def GetDirectory(*args
, **kwargs
):
2544 GetDirectory(self) -> String
2546 Returns the default directory.
2548 return _windows_
.FileDialog_GetDirectory(*args
, **kwargs
)
2550 def GetFilename(*args
, **kwargs
):
2552 GetFilename(self) -> String
2554 Returns the default filename.
2556 return _windows_
.FileDialog_GetFilename(*args
, **kwargs
)
2558 def GetWildcard(*args
, **kwargs
):
2560 GetWildcard(self) -> String
2562 Returns the file dialog wildcard.
2564 return _windows_
.FileDialog_GetWildcard(*args
, **kwargs
)
2566 def GetStyle(*args
, **kwargs
):
2568 GetStyle(self) -> long
2570 Returns the dialog style.
2572 return _windows_
.FileDialog_GetStyle(*args
, **kwargs
)
2574 def GetFilterIndex(*args
, **kwargs
):
2576 GetFilterIndex(self) -> int
2578 Returns the index into the list of filters supplied, optionally, in
2579 the wildcard parameter. Before the dialog is shown, this is the index
2580 which will be used when the dialog is first displayed. After the
2581 dialog is shown, this is the index selected by the user.
2583 return _windows_
.FileDialog_GetFilterIndex(*args
, **kwargs
)
2585 def GetFilenames(*args
, **kwargs
):
2587 GetFilenames(self) -> PyObject
2589 Returns a list of filenames chosen in the dialog. This function
2590 should only be used with the dialogs which have wx.MULTIPLE style, use
2591 GetFilename for the others.
2593 return _windows_
.FileDialog_GetFilenames(*args
, **kwargs
)
2595 def GetPaths(*args
, **kwargs
):
2597 GetPaths(self) -> PyObject
2599 Fills the array paths with the full paths of the files chosen. This
2600 function should only be used with the dialogs which have wx.MULTIPLE
2601 style, use GetPath for the others.
2603 return _windows_
.FileDialog_GetPaths(*args
, **kwargs
)
2606 class FileDialogPtr(FileDialog
):
2607 def __init__(self
, this
):
2609 if not hasattr(self
,"thisown"): self
.thisown
= 0
2610 self
.__class
__ = FileDialog
2611 _windows_
.FileDialog_swigregister(FileDialogPtr
)
2613 CHOICEDLG_STYLE
= _windows_
.CHOICEDLG_STYLE
2614 class MultiChoiceDialog(Dialog
):
2615 """A simple dialog with a multi selection listbox."""
2617 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2618 def __init__(self
, *args
, **kwargs
):
2620 __init__(Window parent, String message, String caption,
2621 List choices=[], long style=CHOICEDLG_STYLE,
2622 Point pos=DefaultPosition) -> MultiChoiceDialog
2624 Constructor. Use ShowModal method to show the dialog.
2626 newobj
= _windows_
.new_MultiChoiceDialog(*args
, **kwargs
)
2627 self
.this
= newobj
.this
2630 self
._setOORInfo
(self
)
2632 def SetSelections(*args
, **kwargs
):
2634 SetSelections(List selections)
2636 Specify the items in the list that should be selected, using a list of
2639 return _windows_
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
2641 def GetSelections(*args
, **kwargs
):
2643 GetSelections() -> [selections]
2645 Returns a list of integers representing the items that are selected.
2647 return _windows_
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
2650 class MultiChoiceDialogPtr(MultiChoiceDialog
):
2651 def __init__(self
, this
):
2653 if not hasattr(self
,"thisown"): self
.thisown
= 0
2654 self
.__class
__ = MultiChoiceDialog
2655 _windows_
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
2657 class SingleChoiceDialog(Dialog
):
2658 """A simple dialog with a single selection listbox."""
2660 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2661 def __init__(self
, *args
, **kwargs
):
2663 __init__(Window parent, String message, String caption,
2664 List choices=[], long style=CHOICEDLG_STYLE,
2665 Point pos=DefaultPosition) -> SingleChoiceDialog
2667 Constructor. Use ShowModal method to show the dialog.
2669 newobj
= _windows_
.new_SingleChoiceDialog(*args
, **kwargs
)
2670 self
.this
= newobj
.this
2673 self
._setOORInfo
(self
)
2675 def GetSelection(*args
, **kwargs
):
2677 GetSelection(self) -> int
2679 Get the index of teh currently selected item.
2681 return _windows_
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
2683 def GetStringSelection(*args
, **kwargs
):
2685 GetStringSelection(self) -> String
2687 Returns the string value of the currently selected item
2689 return _windows_
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
2691 def SetSelection(*args
, **kwargs
):
2693 SetSelection(self, int sel)
2695 Set the current selected item to sel
2697 return _windows_
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
2700 class SingleChoiceDialogPtr(SingleChoiceDialog
):
2701 def __init__(self
, this
):
2703 if not hasattr(self
,"thisown"): self
.thisown
= 0
2704 self
.__class
__ = SingleChoiceDialog
2705 _windows_
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
2707 TextEntryDialogStyle
= _windows_
.TextEntryDialogStyle
2708 class TextEntryDialog(Dialog
):
2709 """A dialog with text control, [ok] and [cancel] buttons"""
2711 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2712 def __init__(self
, *args
, **kwargs
):
2714 __init__(self, Window parent, String message, String caption=GetTextFromUserPromptStr,
2715 String defaultValue=EmptyString,
2716 long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> TextEntryDialog
2718 Constructor. Use ShowModal method to show the dialog.
2720 newobj
= _windows_
.new_TextEntryDialog(*args
, **kwargs
)
2721 self
.this
= newobj
.this
2724 self
._setOORInfo
(self
)
2726 def GetValue(*args
, **kwargs
):
2728 GetValue(self) -> String
2730 Returns the text that the user has entered if the user has pressed OK,
2731 or the original value if the user has pressed Cancel.
2733 return _windows_
.TextEntryDialog_GetValue(*args
, **kwargs
)
2735 def SetValue(*args
, **kwargs
):
2737 SetValue(self, String value)
2739 Sets the default text value.
2741 return _windows_
.TextEntryDialog_SetValue(*args
, **kwargs
)
2744 class TextEntryDialogPtr(TextEntryDialog
):
2745 def __init__(self
, this
):
2747 if not hasattr(self
,"thisown"): self
.thisown
= 0
2748 self
.__class
__ = TextEntryDialog
2749 _windows_
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
2751 class PasswordEntryDialog(TextEntryDialog
):
2752 """Proxy of C++ PasswordEntryDialog class"""
2754 return "<%s.%s; proxy of C++ wxPasswordEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2755 def __init__(self
, *args
, **kwargs
):
2757 __init__(self, Window parent, String message, String caption=GetPasswordFromUserPromptStr,
2758 String value=EmptyString,
2759 long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> PasswordEntryDialog
2761 newobj
= _windows_
.new_PasswordEntryDialog(*args
, **kwargs
)
2762 self
.this
= newobj
.this
2766 class PasswordEntryDialogPtr(PasswordEntryDialog
):
2767 def __init__(self
, this
):
2769 if not hasattr(self
,"thisown"): self
.thisown
= 0
2770 self
.__class
__ = PasswordEntryDialog
2771 _windows_
.PasswordEntryDialog_swigregister(PasswordEntryDialogPtr
)
2772 GetPasswordFromUserPromptStr
= cvar
.GetPasswordFromUserPromptStr
2774 class FontData(_core
.Object
):
2776 This class holds a variety of information related to font dialogs and
2777 is used to transfer settings to and results from a `wx.FontDialog`.
2780 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2781 def __init__(self
, *args
, **kwargs
):
2783 __init__(self) -> FontData
2785 This class holds a variety of information related to font dialogs and
2786 is used to transfer settings to and results from a `wx.FontDialog`.
2788 newobj
= _windows_
.new_FontData(*args
, **kwargs
)
2789 self
.this
= newobj
.this
2792 def __del__(self
, destroy
=_windows_
.delete_FontData
):
2795 if self
.thisown
: destroy(self
)
2798 def EnableEffects(*args
, **kwargs
):
2800 EnableEffects(self, bool enable)
2802 Enables or disables 'effects' under MS Windows only. This refers to
2803 the controls for manipulating colour, strikeout and underline
2804 properties. The default value is true.
2806 return _windows_
.FontData_EnableEffects(*args
, **kwargs
)
2808 def GetAllowSymbols(*args
, **kwargs
):
2810 GetAllowSymbols(self) -> bool
2812 Under MS Windows, returns a flag determining whether symbol fonts can
2813 be selected. Has no effect on other platforms. The default value is
2816 return _windows_
.FontData_GetAllowSymbols(*args
, **kwargs
)
2818 def GetColour(*args
, **kwargs
):
2820 GetColour(self) -> Colour
2822 Gets the colour associated with the font dialog. The default value is
2825 return _windows_
.FontData_GetColour(*args
, **kwargs
)
2827 def GetChosenFont(*args
, **kwargs
):
2829 GetChosenFont(self) -> Font
2831 Gets the font chosen by the user.
2833 return _windows_
.FontData_GetChosenFont(*args
, **kwargs
)
2835 def GetEnableEffects(*args
, **kwargs
):
2837 GetEnableEffects(self) -> bool
2839 Determines whether 'effects' are enabled under Windows.
2841 return _windows_
.FontData_GetEnableEffects(*args
, **kwargs
)
2843 def GetInitialFont(*args
, **kwargs
):
2845 GetInitialFont(self) -> Font
2847 Gets the font that will be initially used by the font dialog. This
2848 should have previously been set by the application.
2850 return _windows_
.FontData_GetInitialFont(*args
, **kwargs
)
2852 def GetShowHelp(*args
, **kwargs
):
2854 GetShowHelp(self) -> bool
2856 Returns true if the Help button will be shown (Windows only). The
2857 default value is false.
2859 return _windows_
.FontData_GetShowHelp(*args
, **kwargs
)
2861 def SetAllowSymbols(*args
, **kwargs
):
2863 SetAllowSymbols(self, bool allowSymbols)
2865 Under MS Windows, determines whether symbol fonts can be selected. Has
2866 no effect on other platforms. The default value is true.
2868 return _windows_
.FontData_SetAllowSymbols(*args
, **kwargs
)
2870 def SetChosenFont(*args
, **kwargs
):
2872 SetChosenFont(self, Font font)
2874 Sets the font that will be returned to the user (normally for internal
2877 return _windows_
.FontData_SetChosenFont(*args
, **kwargs
)
2879 def SetColour(*args
, **kwargs
):
2881 SetColour(self, Colour colour)
2883 Sets the colour that will be used for the font foreground colour. The
2884 default colour is black.
2886 return _windows_
.FontData_SetColour(*args
, **kwargs
)
2888 def SetInitialFont(*args
, **kwargs
):
2890 SetInitialFont(self, Font font)
2892 Sets the font that will be initially used by the font dialog.
2894 return _windows_
.FontData_SetInitialFont(*args
, **kwargs
)
2896 def SetRange(*args
, **kwargs
):
2898 SetRange(self, int min, int max)
2900 Sets the valid range for the font point size (Windows only). The
2901 default is 0, 0 (unrestricted range).
2903 return _windows_
.FontData_SetRange(*args
, **kwargs
)
2905 def SetShowHelp(*args
, **kwargs
):
2907 SetShowHelp(self, bool showHelp)
2909 Determines whether the Help button will be displayed in the font
2910 dialog (Windows only). The default value is false.
2912 return _windows_
.FontData_SetShowHelp(*args
, **kwargs
)
2915 class FontDataPtr(FontData
):
2916 def __init__(self
, this
):
2918 if not hasattr(self
,"thisown"): self
.thisown
= 0
2919 self
.__class
__ = FontData
2920 _windows_
.FontData_swigregister(FontDataPtr
)
2922 class FontDialog(Dialog
):
2924 wx.FontDialog allows the user to select a system font and its attributes.
2930 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2931 def __init__(self
, *args
, **kwargs
):
2933 __init__(self, Window parent, FontData data) -> FontDialog
2935 Constructor. Pass a parent window and the `wx.FontData` object to be
2936 used to initialize the dialog controls. Call `ShowModal` to display
2937 the dialog. If ShowModal returns ``wx.ID_OK`` then you can fetch the
2938 results with via the `wx.FontData` returned by `GetFontData`.
2940 newobj
= _windows_
.new_FontDialog(*args
, **kwargs
)
2941 self
.this
= newobj
.this
2944 self
._setOORInfo
(self
)
2946 def GetFontData(*args
, **kwargs
):
2948 GetFontData(self) -> FontData
2950 Returns a reference to the internal `wx.FontData` used by the
2953 return _windows_
.FontDialog_GetFontData(*args
, **kwargs
)
2956 class FontDialogPtr(FontDialog
):
2957 def __init__(self
, this
):
2959 if not hasattr(self
,"thisown"): self
.thisown
= 0
2960 self
.__class
__ = FontDialog
2961 _windows_
.FontDialog_swigregister(FontDialogPtr
)
2963 class MessageDialog(Dialog
):
2965 This class provides a simple dialog that shows a single or multi-line
2966 message, with a choice of OK, Yes, No and/or Cancel buttons.
2969 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2970 def __init__(self
, *args
, **kwargs
):
2972 __init__(self, Window parent, String message, String caption=MessageBoxCaptionStr,
2973 long style=wxOK|wxCANCEL|wxCENTRE,
2974 Point pos=DefaultPosition) -> MessageDialog
2976 Constructor, use `ShowModal` to display the dialog.
2978 newobj
= _windows_
.new_MessageDialog(*args
, **kwargs
)
2979 self
.this
= newobj
.this
2982 self
._setOORInfo
(self
)
2985 class MessageDialogPtr(MessageDialog
):
2986 def __init__(self
, this
):
2988 if not hasattr(self
,"thisown"): self
.thisown
= 0
2989 self
.__class
__ = MessageDialog
2990 _windows_
.MessageDialog_swigregister(MessageDialogPtr
)
2992 class ProgressDialog(Frame
):
2994 A dialog that shows a short message and a progress bar. Optionally, it
2995 can display an ABORT button.
2998 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2999 def __init__(self
, *args
, **kwargs
):
3001 __init__(self, String title, String message, int maximum=100, Window parent=None,
3002 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
3004 Constructor. Creates the dialog, displays it and disables user input
3005 for other windows, or, if wx.PD_APP_MODAL flag is not given, for its
3008 newobj
= _windows_
.new_ProgressDialog(*args
, **kwargs
)
3009 self
.this
= newobj
.this
3012 self
._setOORInfo
(self
)
3014 def Update(*args
, **kwargs
):
3016 Update(self, int value, String newmsg=EmptyString) -> bool
3018 Updates the dialog, setting the progress bar to the new value and, if
3019 given changes the message above it. The value given should be less
3020 than or equal to the maximum value given to the constructor and the
3021 dialog is closed if it is equal to the maximum. Returns True unless
3022 the Cancel button has been pressed.
3024 If false is returned, the application can either immediately destroy
3025 the dialog or ask the user for the confirmation and if the abort is
3026 not confirmed the dialog may be resumed with Resume function.
3028 return _windows_
.ProgressDialog_Update(*args
, **kwargs
)
3030 def Resume(*args
, **kwargs
):
3034 Can be used to continue with the dialog, after the user had chosen to
3037 return _windows_
.ProgressDialog_Resume(*args
, **kwargs
)
3040 class ProgressDialogPtr(ProgressDialog
):
3041 def __init__(self
, this
):
3043 if not hasattr(self
,"thisown"): self
.thisown
= 0
3044 self
.__class
__ = ProgressDialog
3045 _windows_
.ProgressDialog_swigregister(ProgressDialogPtr
)
3047 FR_DOWN
= _windows_
.FR_DOWN
3048 FR_WHOLEWORD
= _windows_
.FR_WHOLEWORD
3049 FR_MATCHCASE
= _windows_
.FR_MATCHCASE
3050 FR_REPLACEDIALOG
= _windows_
.FR_REPLACEDIALOG
3051 FR_NOUPDOWN
= _windows_
.FR_NOUPDOWN
3052 FR_NOMATCHCASE
= _windows_
.FR_NOMATCHCASE
3053 FR_NOWHOLEWORD
= _windows_
.FR_NOWHOLEWORD
3054 wxEVT_COMMAND_FIND
= _windows_
.wxEVT_COMMAND_FIND
3055 wxEVT_COMMAND_FIND_NEXT
= _windows_
.wxEVT_COMMAND_FIND_NEXT
3056 wxEVT_COMMAND_FIND_REPLACE
= _windows_
.wxEVT_COMMAND_FIND_REPLACE
3057 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows_
.wxEVT_COMMAND_FIND_REPLACE_ALL
3058 wxEVT_COMMAND_FIND_CLOSE
= _windows_
.wxEVT_COMMAND_FIND_CLOSE
3059 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
3060 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
3061 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
3062 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
3063 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
3065 # For backwards compatibility. Should they be removed?
3066 EVT_COMMAND_FIND
= EVT_FIND
3067 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
3068 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
3069 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
3070 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
3072 class FindDialogEvent(_core
.CommandEvent
):
3073 """Events for the FindReplaceDialog"""
3075 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3076 def __init__(self
, *args
, **kwargs
):
3078 __init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent
3080 Events for the FindReplaceDialog
3082 newobj
= _windows_
.new_FindDialogEvent(*args
, **kwargs
)
3083 self
.this
= newobj
.this
3086 def GetFlags(*args
, **kwargs
):
3088 GetFlags(self) -> int
3090 Get the currently selected flags: this is the combination of
3091 wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.
3093 return _windows_
.FindDialogEvent_GetFlags(*args
, **kwargs
)
3095 def GetFindString(*args
, **kwargs
):
3097 GetFindString(self) -> String
3099 Return the string to find (never empty).
3101 return _windows_
.FindDialogEvent_GetFindString(*args
, **kwargs
)
3103 def GetReplaceString(*args
, **kwargs
):
3105 GetReplaceString(self) -> String
3107 Return the string to replace the search string with (only for replace
3108 and replace all events).
3110 return _windows_
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
3112 def GetDialog(*args
, **kwargs
):
3114 GetDialog(self) -> FindReplaceDialog
3116 Return the pointer to the dialog which generated this event.
3118 return _windows_
.FindDialogEvent_GetDialog(*args
, **kwargs
)
3120 def SetFlags(*args
, **kwargs
):
3121 """SetFlags(self, int flags)"""
3122 return _windows_
.FindDialogEvent_SetFlags(*args
, **kwargs
)
3124 def SetFindString(*args
, **kwargs
):
3125 """SetFindString(self, String str)"""
3126 return _windows_
.FindDialogEvent_SetFindString(*args
, **kwargs
)
3128 def SetReplaceString(*args
, **kwargs
):
3129 """SetReplaceString(self, String str)"""
3130 return _windows_
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
3133 class FindDialogEventPtr(FindDialogEvent
):
3134 def __init__(self
, this
):
3136 if not hasattr(self
,"thisown"): self
.thisown
= 0
3137 self
.__class
__ = FindDialogEvent
3138 _windows_
.FindDialogEvent_swigregister(FindDialogEventPtr
)
3140 class FindReplaceData(_core
.Object
):
3142 wx.FindReplaceData holds the data for wx.FindReplaceDialog. It is used
3143 to initialize the dialog with the default values and will keep the
3144 last values from the dialog when it is closed. It is also updated each
3145 time a `wx.FindDialogEvent` is generated so instead of using the
3146 `wx.FindDialogEvent` methods you can also directly query this object.
3148 Note that all SetXXX() methods may only be called before showing the
3149 dialog and calling them has no effect later.
3152 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3153 def __init__(self
, *args
, **kwargs
):
3155 __init__(self, int flags=0) -> FindReplaceData
3157 Constuctor initializes the flags to default value (0).
3159 newobj
= _windows_
.new_FindReplaceData(*args
, **kwargs
)
3160 self
.this
= newobj
.this
3163 def __del__(self
, destroy
=_windows_
.delete_FindReplaceData
):
3166 if self
.thisown
: destroy(self
)
3169 def GetFindString(*args
, **kwargs
):
3171 GetFindString(self) -> String
3173 Get the string to find.
3175 return _windows_
.FindReplaceData_GetFindString(*args
, **kwargs
)
3177 def GetReplaceString(*args
, **kwargs
):
3179 GetReplaceString(self) -> String
3181 Get the replacement string.
3183 return _windows_
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
3185 def GetFlags(*args
, **kwargs
):
3187 GetFlags(self) -> int
3189 Get the combination of flag values.
3191 return _windows_
.FindReplaceData_GetFlags(*args
, **kwargs
)
3193 def SetFlags(*args
, **kwargs
):
3195 SetFlags(self, int flags)
3197 Set the flags to use to initialize the controls of the dialog.
3199 return _windows_
.FindReplaceData_SetFlags(*args
, **kwargs
)
3201 def SetFindString(*args
, **kwargs
):
3203 SetFindString(self, String str)
3205 Set the string to find (used as initial value by the dialog).
3207 return _windows_
.FindReplaceData_SetFindString(*args
, **kwargs
)
3209 def SetReplaceString(*args
, **kwargs
):
3211 SetReplaceString(self, String str)
3213 Set the replacement string (used as initial value by the dialog).
3215 return _windows_
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
3218 class FindReplaceDataPtr(FindReplaceData
):
3219 def __init__(self
, this
):
3221 if not hasattr(self
,"thisown"): self
.thisown
= 0
3222 self
.__class
__ = FindReplaceData
3223 _windows_
.FindReplaceData_swigregister(FindReplaceDataPtr
)
3225 class FindReplaceDialog(Dialog
):
3227 wx.FindReplaceDialog is a standard modeless dialog which is used to
3228 allow the user to search for some text (and possibly replace it with
3229 something else). The actual searching is supposed to be done in the
3230 owner window which is the parent of this dialog. Note that it means
3231 that unlike for the other standard dialogs this one must have a parent
3232 window. Also note that there is no way to use this dialog in a modal
3233 way; it is always, by design and implementation, modeless.
3236 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3237 def __init__(self
, *args
, **kwargs
):
3239 __init__(self, Window parent, FindReplaceData data, String title,
3240 int style=0) -> FindReplaceDialog
3242 Create a FindReplaceDialog. The parent and data parameters must be
3243 non-None. Use Show to display the dialog.
3245 newobj
= _windows_
.new_FindReplaceDialog(*args
, **kwargs
)
3246 self
.this
= newobj
.this
3249 self
._setOORInfo
(self
)
3251 def Create(*args
, **kwargs
):
3253 Create(self, Window parent, FindReplaceData data, String title,
3254 int style=0) -> bool
3256 Create the dialog, for 2-phase create.
3258 return _windows_
.FindReplaceDialog_Create(*args
, **kwargs
)
3260 def GetData(*args
, **kwargs
):
3262 GetData(self) -> FindReplaceData
3264 Get the FindReplaceData object used by this dialog.
3266 return _windows_
.FindReplaceDialog_GetData(*args
, **kwargs
)
3268 def SetData(*args
, **kwargs
):
3270 SetData(self, FindReplaceData data)
3272 Set the FindReplaceData object used by this dialog.
3274 return _windows_
.FindReplaceDialog_SetData(*args
, **kwargs
)
3277 class FindReplaceDialogPtr(FindReplaceDialog
):
3278 def __init__(self
, this
):
3280 if not hasattr(self
,"thisown"): self
.thisown
= 0
3281 self
.__class
__ = FindReplaceDialog
3282 _windows_
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
3284 def PreFindReplaceDialog(*args
, **kwargs
):
3286 PreFindReplaceDialog() -> FindReplaceDialog
3288 Precreate a FindReplaceDialog for 2-phase creation
3290 val
= _windows_
.new_PreFindReplaceDialog(*args
, **kwargs
)
3294 #---------------------------------------------------------------------------
3296 IDM_WINDOWTILE
= _windows_
.IDM_WINDOWTILE
3297 IDM_WINDOWTILEHOR
= _windows_
.IDM_WINDOWTILEHOR
3298 IDM_WINDOWCASCADE
= _windows_
.IDM_WINDOWCASCADE
3299 IDM_WINDOWICONS
= _windows_
.IDM_WINDOWICONS
3300 IDM_WINDOWNEXT
= _windows_
.IDM_WINDOWNEXT
3301 IDM_WINDOWTILEVERT
= _windows_
.IDM_WINDOWTILEVERT
3302 IDM_WINDOWPREV
= _windows_
.IDM_WINDOWPREV
3303 FIRST_MDI_CHILD
= _windows_
.FIRST_MDI_CHILD
3304 LAST_MDI_CHILD
= _windows_
.LAST_MDI_CHILD
3305 class MDIParentFrame(Frame
):
3306 """Proxy of C++ MDIParentFrame class"""
3308 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3309 def __init__(self
, *args
, **kwargs
):
3311 __init__(self, Window parent, int id=-1, String title=EmptyString,
3312 Point pos=DefaultPosition, Size size=DefaultSize,
3313 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3314 String name=FrameNameStr) -> MDIParentFrame
3316 newobj
= _windows_
.new_MDIParentFrame(*args
, **kwargs
)
3317 self
.this
= newobj
.this
3320 self
._setOORInfo
(self
)
3322 def Create(*args
, **kwargs
):
3324 Create(self, Window parent, int id=-1, String title=EmptyString,
3325 Point pos=DefaultPosition, Size size=DefaultSize,
3326 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3327 String name=FrameNameStr) -> bool
3329 return _windows_
.MDIParentFrame_Create(*args
, **kwargs
)
3331 def ActivateNext(*args
, **kwargs
):
3332 """ActivateNext(self)"""
3333 return _windows_
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
3335 def ActivatePrevious(*args
, **kwargs
):
3336 """ActivatePrevious(self)"""
3337 return _windows_
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
3339 def ArrangeIcons(*args
, **kwargs
):
3340 """ArrangeIcons(self)"""
3341 return _windows_
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
3343 def Cascade(*args
, **kwargs
):
3345 return _windows_
.MDIParentFrame_Cascade(*args
, **kwargs
)
3347 def GetActiveChild(*args
, **kwargs
):
3348 """GetActiveChild(self) -> MDIChildFrame"""
3349 return _windows_
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
3351 def GetClientWindow(*args
, **kwargs
):
3352 """GetClientWindow(self) -> MDIClientWindow"""
3353 return _windows_
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
3355 def GetToolBar(*args
, **kwargs
):
3356 """GetToolBar(self) -> Window"""
3357 return _windows_
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
3359 def Tile(*args
, **kwargs
):
3361 return _windows_
.MDIParentFrame_Tile(*args
, **kwargs
)
3364 class MDIParentFramePtr(MDIParentFrame
):
3365 def __init__(self
, this
):
3367 if not hasattr(self
,"thisown"): self
.thisown
= 0
3368 self
.__class
__ = MDIParentFrame
3369 _windows_
.MDIParentFrame_swigregister(MDIParentFramePtr
)
3371 def PreMDIParentFrame(*args
, **kwargs
):
3372 """PreMDIParentFrame() -> MDIParentFrame"""
3373 val
= _windows_
.new_PreMDIParentFrame(*args
, **kwargs
)
3377 class MDIChildFrame(Frame
):
3378 """Proxy of C++ MDIChildFrame class"""
3380 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3381 def __init__(self
, *args
, **kwargs
):
3383 __init__(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3384 Point pos=DefaultPosition, Size size=DefaultSize,
3385 long style=DEFAULT_FRAME_STYLE,
3386 String name=FrameNameStr) -> MDIChildFrame
3388 newobj
= _windows_
.new_MDIChildFrame(*args
, **kwargs
)
3389 self
.this
= newobj
.this
3392 self
._setOORInfo
(self
)
3394 def Create(*args
, **kwargs
):
3396 Create(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3397 Point pos=DefaultPosition, Size size=DefaultSize,
3398 long style=DEFAULT_FRAME_STYLE,
3399 String name=FrameNameStr) -> bool
3401 return _windows_
.MDIChildFrame_Create(*args
, **kwargs
)
3403 def Activate(*args
, **kwargs
):
3404 """Activate(self)"""
3405 return _windows_
.MDIChildFrame_Activate(*args
, **kwargs
)
3407 def Maximize(*args
, **kwargs
):
3408 """Maximize(self, bool maximize=True)"""
3409 return _windows_
.MDIChildFrame_Maximize(*args
, **kwargs
)
3411 def Restore(*args
, **kwargs
):
3413 return _windows_
.MDIChildFrame_Restore(*args
, **kwargs
)
3416 class MDIChildFramePtr(MDIChildFrame
):
3417 def __init__(self
, this
):
3419 if not hasattr(self
,"thisown"): self
.thisown
= 0
3420 self
.__class
__ = MDIChildFrame
3421 _windows_
.MDIChildFrame_swigregister(MDIChildFramePtr
)
3423 def PreMDIChildFrame(*args
, **kwargs
):
3424 """PreMDIChildFrame() -> MDIChildFrame"""
3425 val
= _windows_
.new_PreMDIChildFrame(*args
, **kwargs
)
3429 class MDIClientWindow(_core
.Window
):
3430 """Proxy of C++ MDIClientWindow class"""
3432 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3433 def __init__(self
, *args
, **kwargs
):
3434 """__init__(self, MDIParentFrame parent, long style=0) -> MDIClientWindow"""
3435 newobj
= _windows_
.new_MDIClientWindow(*args
, **kwargs
)
3436 self
.this
= newobj
.this
3439 self
._setOORInfo
(self
)
3441 def Create(*args
, **kwargs
):
3442 """Create(self, MDIParentFrame parent, long style=0) -> bool"""
3443 return _windows_
.MDIClientWindow_Create(*args
, **kwargs
)
3446 class MDIClientWindowPtr(MDIClientWindow
):
3447 def __init__(self
, this
):
3449 if not hasattr(self
,"thisown"): self
.thisown
= 0
3450 self
.__class
__ = MDIClientWindow
3451 _windows_
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
3453 def PreMDIClientWindow(*args
, **kwargs
):
3454 """PreMDIClientWindow() -> MDIClientWindow"""
3455 val
= _windows_
.new_PreMDIClientWindow(*args
, **kwargs
)
3459 #---------------------------------------------------------------------------
3461 class PyWindow(_core
.Window
):
3462 """Proxy of C++ PyWindow class"""
3464 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3465 def __init__(self
, *args
, **kwargs
):
3467 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3468 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyWindow
3470 newobj
= _windows_
.new_PyWindow(*args
, **kwargs
)
3471 self
.this
= newobj
.this
3474 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
3476 def _setCallbackInfo(*args
, **kwargs
):
3477 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3478 return _windows_
.PyWindow__setCallbackInfo(*args
, **kwargs
)
3480 def SetBestSize(*args
, **kwargs
):
3481 """SetBestSize(self, Size size)"""
3482 return _windows_
.PyWindow_SetBestSize(*args
, **kwargs
)
3484 def base_DoMoveWindow(*args
, **kwargs
):
3485 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3486 return _windows_
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
3488 def base_DoSetSize(*args
, **kwargs
):
3489 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3490 return _windows_
.PyWindow_base_DoSetSize(*args
, **kwargs
)
3492 def base_DoSetClientSize(*args
, **kwargs
):
3493 """base_DoSetClientSize(self, int width, int height)"""
3494 return _windows_
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
3496 def base_DoSetVirtualSize(*args
, **kwargs
):
3497 """base_DoSetVirtualSize(self, int x, int y)"""
3498 return _windows_
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
3500 def base_DoGetSize(*args
, **kwargs
):
3501 """base_DoGetSize() -> (width, height)"""
3502 return _windows_
.PyWindow_base_DoGetSize(*args
, **kwargs
)
3504 def base_DoGetClientSize(*args
, **kwargs
):
3505 """base_DoGetClientSize() -> (width, height)"""
3506 return _windows_
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
3508 def base_DoGetPosition(*args
, **kwargs
):
3509 """base_DoGetPosition() -> (x,y)"""
3510 return _windows_
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
3512 def base_DoGetVirtualSize(*args
, **kwargs
):
3513 """base_DoGetVirtualSize(self) -> Size"""
3514 return _windows_
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
3516 def base_DoGetBestSize(*args
, **kwargs
):
3517 """base_DoGetBestSize(self) -> Size"""
3518 return _windows_
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
3520 def base_InitDialog(*args
, **kwargs
):
3521 """base_InitDialog(self)"""
3522 return _windows_
.PyWindow_base_InitDialog(*args
, **kwargs
)
3524 def base_TransferDataToWindow(*args
, **kwargs
):
3525 """base_TransferDataToWindow(self) -> bool"""
3526 return _windows_
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
3528 def base_TransferDataFromWindow(*args
, **kwargs
):
3529 """base_TransferDataFromWindow(self) -> bool"""
3530 return _windows_
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
3532 def base_Validate(*args
, **kwargs
):
3533 """base_Validate(self) -> bool"""
3534 return _windows_
.PyWindow_base_Validate(*args
, **kwargs
)
3536 def base_AcceptsFocus(*args
, **kwargs
):
3537 """base_AcceptsFocus(self) -> bool"""
3538 return _windows_
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
3540 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3541 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3542 return _windows_
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3544 def base_GetMaxSize(*args
, **kwargs
):
3545 """base_GetMaxSize(self) -> Size"""
3546 return _windows_
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
3548 def base_AddChild(*args
, **kwargs
):
3549 """base_AddChild(self, Window child)"""
3550 return _windows_
.PyWindow_base_AddChild(*args
, **kwargs
)
3552 def base_RemoveChild(*args
, **kwargs
):
3553 """base_RemoveChild(self, Window child)"""
3554 return _windows_
.PyWindow_base_RemoveChild(*args
, **kwargs
)
3556 def base_ShouldInheritColours(*args
, **kwargs
):
3557 """base_ShouldInheritColours(self) -> bool"""
3558 return _windows_
.PyWindow_base_ShouldInheritColours(*args
, **kwargs
)
3560 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3561 """base_ApplyParentThemeBackground(self, Colour c)"""
3562 return _windows_
.PyWindow_base_ApplyParentThemeBackground(*args
, **kwargs
)
3564 def base_GetDefaultAttributes(*args
, **kwargs
):
3565 """base_GetDefaultAttributes(self) -> VisualAttributes"""
3566 return _windows_
.PyWindow_base_GetDefaultAttributes(*args
, **kwargs
)
3569 class PyWindowPtr(PyWindow
):
3570 def __init__(self
, this
):
3572 if not hasattr(self
,"thisown"): self
.thisown
= 0
3573 self
.__class
__ = PyWindow
3574 _windows_
.PyWindow_swigregister(PyWindowPtr
)
3576 def PrePyWindow(*args
, **kwargs
):
3577 """PrePyWindow() -> PyWindow"""
3578 val
= _windows_
.new_PrePyWindow(*args
, **kwargs
)
3582 class PyPanel(Panel
):
3583 """Proxy of C++ PyPanel class"""
3585 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3586 def __init__(self
, *args
, **kwargs
):
3588 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3589 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyPanel
3591 newobj
= _windows_
.new_PyPanel(*args
, **kwargs
)
3592 self
.this
= newobj
.this
3595 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3597 def _setCallbackInfo(*args
, **kwargs
):
3598 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3599 return _windows_
.PyPanel__setCallbackInfo(*args
, **kwargs
)
3601 def SetBestSize(*args
, **kwargs
):
3602 """SetBestSize(self, Size size)"""
3603 return _windows_
.PyPanel_SetBestSize(*args
, **kwargs
)
3605 def base_DoMoveWindow(*args
, **kwargs
):
3606 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3607 return _windows_
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
3609 def base_DoSetSize(*args
, **kwargs
):
3610 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3611 return _windows_
.PyPanel_base_DoSetSize(*args
, **kwargs
)
3613 def base_DoSetClientSize(*args
, **kwargs
):
3614 """base_DoSetClientSize(self, int width, int height)"""
3615 return _windows_
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
3617 def base_DoSetVirtualSize(*args
, **kwargs
):
3618 """base_DoSetVirtualSize(self, int x, int y)"""
3619 return _windows_
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
3621 def base_DoGetSize(*args
, **kwargs
):
3622 """base_DoGetSize() -> (width, height)"""
3623 return _windows_
.PyPanel_base_DoGetSize(*args
, **kwargs
)
3625 def base_DoGetClientSize(*args
, **kwargs
):
3626 """base_DoGetClientSize() -> (width, height)"""
3627 return _windows_
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
3629 def base_DoGetPosition(*args
, **kwargs
):
3630 """base_DoGetPosition() -> (x,y)"""
3631 return _windows_
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
3633 def base_DoGetVirtualSize(*args
, **kwargs
):
3634 """base_DoGetVirtualSize(self) -> Size"""
3635 return _windows_
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
3637 def base_DoGetBestSize(*args
, **kwargs
):
3638 """base_DoGetBestSize(self) -> Size"""
3639 return _windows_
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
3641 def base_InitDialog(*args
, **kwargs
):
3642 """base_InitDialog(self)"""
3643 return _windows_
.PyPanel_base_InitDialog(*args
, **kwargs
)
3645 def base_TransferDataToWindow(*args
, **kwargs
):
3646 """base_TransferDataToWindow(self) -> bool"""
3647 return _windows_
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
3649 def base_TransferDataFromWindow(*args
, **kwargs
):
3650 """base_TransferDataFromWindow(self) -> bool"""
3651 return _windows_
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
3653 def base_Validate(*args
, **kwargs
):
3654 """base_Validate(self) -> bool"""
3655 return _windows_
.PyPanel_base_Validate(*args
, **kwargs
)
3657 def base_AcceptsFocus(*args
, **kwargs
):
3658 """base_AcceptsFocus(self) -> bool"""
3659 return _windows_
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
3661 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3662 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3663 return _windows_
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3665 def base_GetMaxSize(*args
, **kwargs
):
3666 """base_GetMaxSize(self) -> Size"""
3667 return _windows_
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
3669 def base_AddChild(*args
, **kwargs
):
3670 """base_AddChild(self, Window child)"""
3671 return _windows_
.PyPanel_base_AddChild(*args
, **kwargs
)
3673 def base_RemoveChild(*args
, **kwargs
):
3674 """base_RemoveChild(self, Window child)"""
3675 return _windows_
.PyPanel_base_RemoveChild(*args
, **kwargs
)
3677 def base_ShouldInheritColours(*args
, **kwargs
):
3678 """base_ShouldInheritColours(self) -> bool"""
3679 return _windows_
.PyPanel_base_ShouldInheritColours(*args
, **kwargs
)
3681 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3682 """base_ApplyParentThemeBackground(self, Colour c)"""
3683 return _windows_
.PyPanel_base_ApplyParentThemeBackground(*args
, **kwargs
)
3685 def base_GetDefaultAttributes(*args
, **kwargs
):
3686 """base_GetDefaultAttributes(self) -> VisualAttributes"""
3687 return _windows_
.PyPanel_base_GetDefaultAttributes(*args
, **kwargs
)
3690 class PyPanelPtr(PyPanel
):
3691 def __init__(self
, this
):
3693 if not hasattr(self
,"thisown"): self
.thisown
= 0
3694 self
.__class
__ = PyPanel
3695 _windows_
.PyPanel_swigregister(PyPanelPtr
)
3697 def PrePyPanel(*args
, **kwargs
):
3698 """PrePyPanel() -> PyPanel"""
3699 val
= _windows_
.new_PrePyPanel(*args
, **kwargs
)
3703 class PyScrolledWindow(ScrolledWindow
):
3704 """Proxy of C++ PyScrolledWindow class"""
3706 return "<%s.%s; proxy of C++ wxPyScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3707 def __init__(self
, *args
, **kwargs
):
3709 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3710 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyScrolledWindow
3712 newobj
= _windows_
.new_PyScrolledWindow(*args
, **kwargs
)
3713 self
.this
= newobj
.this
3716 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3718 def _setCallbackInfo(*args
, **kwargs
):
3719 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3720 return _windows_
.PyScrolledWindow__setCallbackInfo(*args
, **kwargs
)
3722 def SetBestSize(*args
, **kwargs
):
3723 """SetBestSize(self, Size size)"""
3724 return _windows_
.PyScrolledWindow_SetBestSize(*args
, **kwargs
)
3726 def base_DoMoveWindow(*args
, **kwargs
):
3727 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3728 return _windows_
.PyScrolledWindow_base_DoMoveWindow(*args
, **kwargs
)
3730 def base_DoSetSize(*args
, **kwargs
):
3731 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3732 return _windows_
.PyScrolledWindow_base_DoSetSize(*args
, **kwargs
)
3734 def base_DoSetClientSize(*args
, **kwargs
):
3735 """base_DoSetClientSize(self, int width, int height)"""
3736 return _windows_
.PyScrolledWindow_base_DoSetClientSize(*args
, **kwargs
)
3738 def base_DoSetVirtualSize(*args
, **kwargs
):
3739 """base_DoSetVirtualSize(self, int x, int y)"""
3740 return _windows_
.PyScrolledWindow_base_DoSetVirtualSize(*args
, **kwargs
)
3742 def base_DoGetSize(*args
, **kwargs
):
3743 """base_DoGetSize() -> (width, height)"""
3744 return _windows_
.PyScrolledWindow_base_DoGetSize(*args
, **kwargs
)
3746 def base_DoGetClientSize(*args
, **kwargs
):
3747 """base_DoGetClientSize() -> (width, height)"""
3748 return _windows_
.PyScrolledWindow_base_DoGetClientSize(*args
, **kwargs
)
3750 def base_DoGetPosition(*args
, **kwargs
):
3751 """base_DoGetPosition() -> (x,y)"""
3752 return _windows_
.PyScrolledWindow_base_DoGetPosition(*args
, **kwargs
)
3754 def base_DoGetVirtualSize(*args
, **kwargs
):
3755 """base_DoGetVirtualSize(self) -> Size"""
3756 return _windows_
.PyScrolledWindow_base_DoGetVirtualSize(*args
, **kwargs
)
3758 def base_DoGetBestSize(*args
, **kwargs
):
3759 """base_DoGetBestSize(self) -> Size"""
3760 return _windows_
.PyScrolledWindow_base_DoGetBestSize(*args
, **kwargs
)
3762 def base_InitDialog(*args
, **kwargs
):
3763 """base_InitDialog(self)"""
3764 return _windows_
.PyScrolledWindow_base_InitDialog(*args
, **kwargs
)
3766 def base_TransferDataToWindow(*args
, **kwargs
):
3767 """base_TransferDataToWindow(self) -> bool"""
3768 return _windows_
.PyScrolledWindow_base_TransferDataToWindow(*args
, **kwargs
)
3770 def base_TransferDataFromWindow(*args
, **kwargs
):
3771 """base_TransferDataFromWindow(self) -> bool"""
3772 return _windows_
.PyScrolledWindow_base_TransferDataFromWindow(*args
, **kwargs
)
3774 def base_Validate(*args
, **kwargs
):
3775 """base_Validate(self) -> bool"""
3776 return _windows_
.PyScrolledWindow_base_Validate(*args
, **kwargs
)
3778 def base_AcceptsFocus(*args
, **kwargs
):
3779 """base_AcceptsFocus(self) -> bool"""
3780 return _windows_
.PyScrolledWindow_base_AcceptsFocus(*args
, **kwargs
)
3782 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3783 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3784 return _windows_
.PyScrolledWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3786 def base_GetMaxSize(*args
, **kwargs
):
3787 """base_GetMaxSize(self) -> Size"""
3788 return _windows_
.PyScrolledWindow_base_GetMaxSize(*args
, **kwargs
)
3790 def base_AddChild(*args
, **kwargs
):
3791 """base_AddChild(self, Window child)"""
3792 return _windows_
.PyScrolledWindow_base_AddChild(*args
, **kwargs
)
3794 def base_RemoveChild(*args
, **kwargs
):
3795 """base_RemoveChild(self, Window child)"""
3796 return _windows_
.PyScrolledWindow_base_RemoveChild(*args
, **kwargs
)
3798 def base_ShouldInheritColours(*args
, **kwargs
):
3799 """base_ShouldInheritColours(self) -> bool"""
3800 return _windows_
.PyScrolledWindow_base_ShouldInheritColours(*args
, **kwargs
)
3802 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3803 """base_ApplyParentThemeBackground(self, Colour c)"""
3804 return _windows_
.PyScrolledWindow_base_ApplyParentThemeBackground(*args
, **kwargs
)
3806 def base_GetDefaultAttributes(*args
, **kwargs
):
3807 """base_GetDefaultAttributes(self) -> VisualAttributes"""
3808 return _windows_
.PyScrolledWindow_base_GetDefaultAttributes(*args
, **kwargs
)
3811 class PyScrolledWindowPtr(PyScrolledWindow
):
3812 def __init__(self
, this
):
3814 if not hasattr(self
,"thisown"): self
.thisown
= 0
3815 self
.__class
__ = PyScrolledWindow
3816 _windows_
.PyScrolledWindow_swigregister(PyScrolledWindowPtr
)
3818 def PrePyScrolledWindow(*args
, **kwargs
):
3819 """PrePyScrolledWindow() -> PyScrolledWindow"""
3820 val
= _windows_
.new_PrePyScrolledWindow(*args
, **kwargs
)
3824 #---------------------------------------------------------------------------
3826 PRINT_MODE_NONE
= _windows_
.PRINT_MODE_NONE
3827 PRINT_MODE_PREVIEW
= _windows_
.PRINT_MODE_PREVIEW
3828 PRINT_MODE_FILE
= _windows_
.PRINT_MODE_FILE
3829 PRINT_MODE_PRINTER
= _windows_
.PRINT_MODE_PRINTER
3830 PRINT_MODE_STREAM
= _windows_
.PRINT_MODE_STREAM
3831 PRINTBIN_DEFAULT
= _windows_
.PRINTBIN_DEFAULT
3832 PRINTBIN_ONLYONE
= _windows_
.PRINTBIN_ONLYONE
3833 PRINTBIN_LOWER
= _windows_
.PRINTBIN_LOWER
3834 PRINTBIN_MIDDLE
= _windows_
.PRINTBIN_MIDDLE
3835 PRINTBIN_MANUAL
= _windows_
.PRINTBIN_MANUAL
3836 PRINTBIN_ENVELOPE
= _windows_
.PRINTBIN_ENVELOPE
3837 PRINTBIN_ENVMANUAL
= _windows_
.PRINTBIN_ENVMANUAL
3838 PRINTBIN_AUTO
= _windows_
.PRINTBIN_AUTO
3839 PRINTBIN_TRACTOR
= _windows_
.PRINTBIN_TRACTOR
3840 PRINTBIN_SMALLFMT
= _windows_
.PRINTBIN_SMALLFMT
3841 PRINTBIN_LARGEFMT
= _windows_
.PRINTBIN_LARGEFMT
3842 PRINTBIN_LARGECAPACITY
= _windows_
.PRINTBIN_LARGECAPACITY
3843 PRINTBIN_CASSETTE
= _windows_
.PRINTBIN_CASSETTE
3844 PRINTBIN_FORMSOURCE
= _windows_
.PRINTBIN_FORMSOURCE
3845 PRINTBIN_USER
= _windows_
.PRINTBIN_USER
3846 class PrintData(_core
.Object
):
3847 """Proxy of C++ PrintData class"""
3849 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3850 def __init__(self
, *args
):
3852 __init__(self) -> PrintData
3853 __init__(self, PrintData data) -> PrintData
3855 newobj
= _windows_
.new_PrintData(*args
)
3856 self
.this
= newobj
.this
3859 def __del__(self
, destroy
=_windows_
.delete_PrintData
):
3862 if self
.thisown
: destroy(self
)
3865 def GetNoCopies(*args
, **kwargs
):
3866 """GetNoCopies(self) -> int"""
3867 return _windows_
.PrintData_GetNoCopies(*args
, **kwargs
)
3869 def GetCollate(*args
, **kwargs
):
3870 """GetCollate(self) -> bool"""
3871 return _windows_
.PrintData_GetCollate(*args
, **kwargs
)
3873 def GetOrientation(*args
, **kwargs
):
3874 """GetOrientation(self) -> int"""
3875 return _windows_
.PrintData_GetOrientation(*args
, **kwargs
)
3877 def Ok(*args
, **kwargs
):
3878 """Ok(self) -> bool"""
3879 return _windows_
.PrintData_Ok(*args
, **kwargs
)
3881 def GetPrinterName(*args
, **kwargs
):
3882 """GetPrinterName(self) -> String"""
3883 return _windows_
.PrintData_GetPrinterName(*args
, **kwargs
)
3885 def GetColour(*args
, **kwargs
):
3886 """GetColour(self) -> bool"""
3887 return _windows_
.PrintData_GetColour(*args
, **kwargs
)
3889 def GetDuplex(*args
, **kwargs
):
3890 """GetDuplex(self) -> int"""
3891 return _windows_
.PrintData_GetDuplex(*args
, **kwargs
)
3893 def GetPaperId(*args
, **kwargs
):
3894 """GetPaperId(self) -> int"""
3895 return _windows_
.PrintData_GetPaperId(*args
, **kwargs
)
3897 def GetPaperSize(*args
, **kwargs
):
3898 """GetPaperSize(self) -> Size"""
3899 return _windows_
.PrintData_GetPaperSize(*args
, **kwargs
)
3901 def GetQuality(*args
, **kwargs
):
3902 """GetQuality(self) -> int"""
3903 return _windows_
.PrintData_GetQuality(*args
, **kwargs
)
3905 def GetBin(*args
, **kwargs
):
3906 """GetBin(self) -> int"""
3907 return _windows_
.PrintData_GetBin(*args
, **kwargs
)
3909 def GetPrintMode(*args
, **kwargs
):
3910 """GetPrintMode(self) -> int"""
3911 return _windows_
.PrintData_GetPrintMode(*args
, **kwargs
)
3913 def SetNoCopies(*args
, **kwargs
):
3914 """SetNoCopies(self, int v)"""
3915 return _windows_
.PrintData_SetNoCopies(*args
, **kwargs
)
3917 def SetCollate(*args
, **kwargs
):
3918 """SetCollate(self, bool flag)"""
3919 return _windows_
.PrintData_SetCollate(*args
, **kwargs
)
3921 def SetOrientation(*args
, **kwargs
):
3922 """SetOrientation(self, int orient)"""
3923 return _windows_
.PrintData_SetOrientation(*args
, **kwargs
)
3925 def SetPrinterName(*args
, **kwargs
):
3926 """SetPrinterName(self, String name)"""
3927 return _windows_
.PrintData_SetPrinterName(*args
, **kwargs
)
3929 def SetColour(*args
, **kwargs
):
3930 """SetColour(self, bool colour)"""
3931 return _windows_
.PrintData_SetColour(*args
, **kwargs
)
3933 def SetDuplex(*args
, **kwargs
):
3934 """SetDuplex(self, int duplex)"""
3935 return _windows_
.PrintData_SetDuplex(*args
, **kwargs
)
3937 def SetPaperId(*args
, **kwargs
):
3938 """SetPaperId(self, int sizeId)"""
3939 return _windows_
.PrintData_SetPaperId(*args
, **kwargs
)
3941 def SetPaperSize(*args
, **kwargs
):
3942 """SetPaperSize(self, Size sz)"""
3943 return _windows_
.PrintData_SetPaperSize(*args
, **kwargs
)
3945 def SetQuality(*args
, **kwargs
):
3946 """SetQuality(self, int quality)"""
3947 return _windows_
.PrintData_SetQuality(*args
, **kwargs
)
3949 def SetBin(*args
, **kwargs
):
3950 """SetBin(self, int bin)"""
3951 return _windows_
.PrintData_SetBin(*args
, **kwargs
)
3953 def SetPrintMode(*args
, **kwargs
):
3954 """SetPrintMode(self, int printMode)"""
3955 return _windows_
.PrintData_SetPrintMode(*args
, **kwargs
)
3957 def GetFilename(*args
, **kwargs
):
3958 """GetFilename(self) -> String"""
3959 return _windows_
.PrintData_GetFilename(*args
, **kwargs
)
3961 def SetFilename(*args
, **kwargs
):
3962 """SetFilename(self, String filename)"""
3963 return _windows_
.PrintData_SetFilename(*args
, **kwargs
)
3965 def __nonzero__(self
): return self
.Ok()
3966 def GetPrivData(*args
, **kwargs
):
3967 """GetPrivData(self) -> PyObject"""
3968 return _windows_
.PrintData_GetPrivData(*args
, **kwargs
)
3970 def SetPrivData(*args
, **kwargs
):
3971 """SetPrivData(self, PyObject data)"""
3972 return _windows_
.PrintData_SetPrivData(*args
, **kwargs
)
3974 def GetPrinterCommand(*args
, **kwargs
):
3975 """GetPrinterCommand(self) -> String"""
3976 return _windows_
.PrintData_GetPrinterCommand(*args
, **kwargs
)
3978 def GetPrinterOptions(*args
, **kwargs
):
3979 """GetPrinterOptions(self) -> String"""
3980 return _windows_
.PrintData_GetPrinterOptions(*args
, **kwargs
)
3982 def GetPreviewCommand(*args
, **kwargs
):
3983 """GetPreviewCommand(self) -> String"""
3984 return _windows_
.PrintData_GetPreviewCommand(*args
, **kwargs
)
3986 def GetFontMetricPath(*args
, **kwargs
):
3987 """GetFontMetricPath(self) -> String"""
3988 return _windows_
.PrintData_GetFontMetricPath(*args
, **kwargs
)
3990 def GetPrinterScaleX(*args
, **kwargs
):
3991 """GetPrinterScaleX(self) -> double"""
3992 return _windows_
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
3994 def GetPrinterScaleY(*args
, **kwargs
):
3995 """GetPrinterScaleY(self) -> double"""
3996 return _windows_
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
3998 def GetPrinterTranslateX(*args
, **kwargs
):
3999 """GetPrinterTranslateX(self) -> long"""
4000 return _windows_
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
4002 def GetPrinterTranslateY(*args
, **kwargs
):
4003 """GetPrinterTranslateY(self) -> long"""
4004 return _windows_
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
4006 def SetPrinterCommand(*args
, **kwargs
):
4007 """SetPrinterCommand(self, String command)"""
4008 return _windows_
.PrintData_SetPrinterCommand(*args
, **kwargs
)
4010 def SetPrinterOptions(*args
, **kwargs
):
4011 """SetPrinterOptions(self, String options)"""
4012 return _windows_
.PrintData_SetPrinterOptions(*args
, **kwargs
)
4014 def SetPreviewCommand(*args
, **kwargs
):
4015 """SetPreviewCommand(self, String command)"""
4016 return _windows_
.PrintData_SetPreviewCommand(*args
, **kwargs
)
4018 def SetFontMetricPath(*args
, **kwargs
):
4019 """SetFontMetricPath(self, String path)"""
4020 return _windows_
.PrintData_SetFontMetricPath(*args
, **kwargs
)
4022 def SetPrinterScaleX(*args
, **kwargs
):
4023 """SetPrinterScaleX(self, double x)"""
4024 return _windows_
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
4026 def SetPrinterScaleY(*args
, **kwargs
):
4027 """SetPrinterScaleY(self, double y)"""
4028 return _windows_
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
4030 def SetPrinterScaling(*args
, **kwargs
):
4031 """SetPrinterScaling(self, double x, double y)"""
4032 return _windows_
.PrintData_SetPrinterScaling(*args
, **kwargs
)
4034 def SetPrinterTranslateX(*args
, **kwargs
):
4035 """SetPrinterTranslateX(self, long x)"""
4036 return _windows_
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
4038 def SetPrinterTranslateY(*args
, **kwargs
):
4039 """SetPrinterTranslateY(self, long y)"""
4040 return _windows_
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
4042 def SetPrinterTranslation(*args
, **kwargs
):
4043 """SetPrinterTranslation(self, long x, long y)"""
4044 return _windows_
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
4047 class PrintDataPtr(PrintData
):
4048 def __init__(self
, this
):
4050 if not hasattr(self
,"thisown"): self
.thisown
= 0
4051 self
.__class
__ = PrintData
4052 _windows_
.PrintData_swigregister(PrintDataPtr
)
4053 PrintoutTitleStr
= cvar
.PrintoutTitleStr
4054 PreviewCanvasNameStr
= cvar
.PreviewCanvasNameStr
4056 class PageSetupDialogData(_core
.Object
):
4057 """Proxy of C++ PageSetupDialogData class"""
4059 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4060 def __init__(self
, *args
):
4062 __init__(self) -> PageSetupDialogData
4063 __init__(self, PageSetupDialogData data) -> PageSetupDialogData
4064 __init__(self, PrintData data) -> PageSetupDialogData
4066 newobj
= _windows_
.new_PageSetupDialogData(*args
)
4067 self
.this
= newobj
.this
4070 def __del__(self
, destroy
=_windows_
.delete_PageSetupDialogData
):
4073 if self
.thisown
: destroy(self
)
4076 def EnableHelp(*args
, **kwargs
):
4077 """EnableHelp(self, bool flag)"""
4078 return _windows_
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
4080 def EnableMargins(*args
, **kwargs
):
4081 """EnableMargins(self, bool flag)"""
4082 return _windows_
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
4084 def EnableOrientation(*args
, **kwargs
):
4085 """EnableOrientation(self, bool flag)"""
4086 return _windows_
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
4088 def EnablePaper(*args
, **kwargs
):
4089 """EnablePaper(self, bool flag)"""
4090 return _windows_
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
4092 def EnablePrinter(*args
, **kwargs
):
4093 """EnablePrinter(self, bool flag)"""
4094 return _windows_
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
4096 def GetDefaultMinMargins(*args
, **kwargs
):
4097 """GetDefaultMinMargins(self) -> bool"""
4098 return _windows_
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
4100 def GetEnableMargins(*args
, **kwargs
):
4101 """GetEnableMargins(self) -> bool"""
4102 return _windows_
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
4104 def GetEnableOrientation(*args
, **kwargs
):
4105 """GetEnableOrientation(self) -> bool"""
4106 return _windows_
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
4108 def GetEnablePaper(*args
, **kwargs
):
4109 """GetEnablePaper(self) -> bool"""
4110 return _windows_
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
4112 def GetEnablePrinter(*args
, **kwargs
):
4113 """GetEnablePrinter(self) -> bool"""
4114 return _windows_
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
4116 def GetEnableHelp(*args
, **kwargs
):
4117 """GetEnableHelp(self) -> bool"""
4118 return _windows_
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
4120 def GetDefaultInfo(*args
, **kwargs
):
4121 """GetDefaultInfo(self) -> bool"""
4122 return _windows_
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
4124 def GetMarginTopLeft(*args
, **kwargs
):
4125 """GetMarginTopLeft(self) -> Point"""
4126 return _windows_
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
4128 def GetMarginBottomRight(*args
, **kwargs
):
4129 """GetMarginBottomRight(self) -> Point"""
4130 return _windows_
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
4132 def GetMinMarginTopLeft(*args
, **kwargs
):
4133 """GetMinMarginTopLeft(self) -> Point"""
4134 return _windows_
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
4136 def GetMinMarginBottomRight(*args
, **kwargs
):
4137 """GetMinMarginBottomRight(self) -> Point"""
4138 return _windows_
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
4140 def GetPaperId(*args
, **kwargs
):
4141 """GetPaperId(self) -> int"""
4142 return _windows_
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
4144 def GetPaperSize(*args
, **kwargs
):
4145 """GetPaperSize(self) -> Size"""
4146 return _windows_
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
4148 def GetPrintData(*args
, **kwargs
):
4149 """GetPrintData(self) -> PrintData"""
4150 return _windows_
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
4152 def Ok(*args
, **kwargs
):
4153 """Ok(self) -> bool"""
4154 return _windows_
.PageSetupDialogData_Ok(*args
, **kwargs
)
4156 def SetDefaultInfo(*args
, **kwargs
):
4157 """SetDefaultInfo(self, bool flag)"""
4158 return _windows_
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
4160 def SetDefaultMinMargins(*args
, **kwargs
):
4161 """SetDefaultMinMargins(self, bool flag)"""
4162 return _windows_
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
4164 def SetMarginTopLeft(*args
, **kwargs
):
4165 """SetMarginTopLeft(self, Point pt)"""
4166 return _windows_
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
4168 def SetMarginBottomRight(*args
, **kwargs
):
4169 """SetMarginBottomRight(self, Point pt)"""
4170 return _windows_
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
4172 def SetMinMarginTopLeft(*args
, **kwargs
):
4173 """SetMinMarginTopLeft(self, Point pt)"""
4174 return _windows_
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
4176 def SetMinMarginBottomRight(*args
, **kwargs
):
4177 """SetMinMarginBottomRight(self, Point pt)"""
4178 return _windows_
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
4180 def SetPaperId(*args
, **kwargs
):
4181 """SetPaperId(self, int id)"""
4182 return _windows_
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
4184 def SetPaperSize(*args
, **kwargs
):
4185 """SetPaperSize(self, Size size)"""
4186 return _windows_
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
4188 def SetPrintData(*args
, **kwargs
):
4189 """SetPrintData(self, PrintData printData)"""
4190 return _windows_
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
4192 def CalculateIdFromPaperSize(*args
, **kwargs
):
4193 """CalculateIdFromPaperSize(self)"""
4194 return _windows_
.PageSetupDialogData_CalculateIdFromPaperSize(*args
, **kwargs
)
4196 def CalculatePaperSizeFromId(*args
, **kwargs
):
4197 """CalculatePaperSizeFromId(self)"""
4198 return _windows_
.PageSetupDialogData_CalculatePaperSizeFromId(*args
, **kwargs
)
4200 def __nonzero__(self
): return self
.Ok()
4202 class PageSetupDialogDataPtr(PageSetupDialogData
):
4203 def __init__(self
, this
):
4205 if not hasattr(self
,"thisown"): self
.thisown
= 0
4206 self
.__class
__ = PageSetupDialogData
4207 _windows_
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
4209 class PageSetupDialog(_core
.Object
):
4210 """Proxy of C++ PageSetupDialog class"""
4212 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4213 def __init__(self
, *args
, **kwargs
):
4214 """__init__(self, Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
4215 newobj
= _windows_
.new_PageSetupDialog(*args
, **kwargs
)
4216 self
.this
= newobj
.this
4219 def GetPageSetupData(*args
, **kwargs
):
4220 """GetPageSetupData(self) -> PageSetupDialogData"""
4221 return _windows_
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
4223 def GetPageSetupDialogData(*args
, **kwargs
):
4224 """GetPageSetupDialogData(self) -> PageSetupDialogData"""
4225 return _windows_
.PageSetupDialog_GetPageSetupDialogData(*args
, **kwargs
)
4227 def ShowModal(*args
, **kwargs
):
4228 """ShowModal(self) -> int"""
4229 return _windows_
.PageSetupDialog_ShowModal(*args
, **kwargs
)
4232 class PageSetupDialogPtr(PageSetupDialog
):
4233 def __init__(self
, this
):
4235 if not hasattr(self
,"thisown"): self
.thisown
= 0
4236 self
.__class
__ = PageSetupDialog
4237 _windows_
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
4239 class PrintDialogData(_core
.Object
):
4240 """Proxy of C++ PrintDialogData class"""
4242 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4243 def __init__(self
, *args
):
4245 __init__(self) -> PrintDialogData
4246 __init__(self, PrintData printData) -> PrintDialogData
4247 __init__(self, PrintDialogData printData) -> PrintDialogData
4249 newobj
= _windows_
.new_PrintDialogData(*args
)
4250 self
.this
= newobj
.this
4253 def __del__(self
, destroy
=_windows_
.delete_PrintDialogData
):
4256 if self
.thisown
: destroy(self
)
4259 def GetFromPage(*args
, **kwargs
):
4260 """GetFromPage(self) -> int"""
4261 return _windows_
.PrintDialogData_GetFromPage(*args
, **kwargs
)
4263 def GetToPage(*args
, **kwargs
):
4264 """GetToPage(self) -> int"""
4265 return _windows_
.PrintDialogData_GetToPage(*args
, **kwargs
)
4267 def GetMinPage(*args
, **kwargs
):
4268 """GetMinPage(self) -> int"""
4269 return _windows_
.PrintDialogData_GetMinPage(*args
, **kwargs
)
4271 def GetMaxPage(*args
, **kwargs
):
4272 """GetMaxPage(self) -> int"""
4273 return _windows_
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
4275 def GetNoCopies(*args
, **kwargs
):
4276 """GetNoCopies(self) -> int"""
4277 return _windows_
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
4279 def GetAllPages(*args
, **kwargs
):
4280 """GetAllPages(self) -> bool"""
4281 return _windows_
.PrintDialogData_GetAllPages(*args
, **kwargs
)
4283 def GetSelection(*args
, **kwargs
):
4284 """GetSelection(self) -> bool"""
4285 return _windows_
.PrintDialogData_GetSelection(*args
, **kwargs
)
4287 def GetCollate(*args
, **kwargs
):
4288 """GetCollate(self) -> bool"""
4289 return _windows_
.PrintDialogData_GetCollate(*args
, **kwargs
)
4291 def GetPrintToFile(*args
, **kwargs
):
4292 """GetPrintToFile(self) -> bool"""
4293 return _windows_
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
4295 def GetSetupDialog(*args
, **kwargs
):
4296 """GetSetupDialog(self) -> bool"""
4297 return _windows_
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
4299 def SetSetupDialog(*args
, **kwargs
):
4300 """SetSetupDialog(self, bool flag)"""
4301 return _windows_
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
4303 def SetFromPage(*args
, **kwargs
):
4304 """SetFromPage(self, int v)"""
4305 return _windows_
.PrintDialogData_SetFromPage(*args
, **kwargs
)
4307 def SetToPage(*args
, **kwargs
):
4308 """SetToPage(self, int v)"""
4309 return _windows_
.PrintDialogData_SetToPage(*args
, **kwargs
)
4311 def SetMinPage(*args
, **kwargs
):
4312 """SetMinPage(self, int v)"""
4313 return _windows_
.PrintDialogData_SetMinPage(*args
, **kwargs
)
4315 def SetMaxPage(*args
, **kwargs
):
4316 """SetMaxPage(self, int v)"""
4317 return _windows_
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
4319 def SetNoCopies(*args
, **kwargs
):
4320 """SetNoCopies(self, int v)"""
4321 return _windows_
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
4323 def SetAllPages(*args
, **kwargs
):
4324 """SetAllPages(self, bool flag)"""
4325 return _windows_
.PrintDialogData_SetAllPages(*args
, **kwargs
)
4327 def SetSelection(*args
, **kwargs
):
4328 """SetSelection(self, bool flag)"""
4329 return _windows_
.PrintDialogData_SetSelection(*args
, **kwargs
)
4331 def SetCollate(*args
, **kwargs
):
4332 """SetCollate(self, bool flag)"""
4333 return _windows_
.PrintDialogData_SetCollate(*args
, **kwargs
)
4335 def SetPrintToFile(*args
, **kwargs
):
4336 """SetPrintToFile(self, bool flag)"""
4337 return _windows_
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
4339 def EnablePrintToFile(*args
, **kwargs
):
4340 """EnablePrintToFile(self, bool flag)"""
4341 return _windows_
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
4343 def EnableSelection(*args
, **kwargs
):
4344 """EnableSelection(self, bool flag)"""
4345 return _windows_
.PrintDialogData_EnableSelection(*args
, **kwargs
)
4347 def EnablePageNumbers(*args
, **kwargs
):
4348 """EnablePageNumbers(self, bool flag)"""
4349 return _windows_
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
4351 def EnableHelp(*args
, **kwargs
):
4352 """EnableHelp(self, bool flag)"""
4353 return _windows_
.PrintDialogData_EnableHelp(*args
, **kwargs
)
4355 def GetEnablePrintToFile(*args
, **kwargs
):
4356 """GetEnablePrintToFile(self) -> bool"""
4357 return _windows_
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
4359 def GetEnableSelection(*args
, **kwargs
):
4360 """GetEnableSelection(self) -> bool"""
4361 return _windows_
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
4363 def GetEnablePageNumbers(*args
, **kwargs
):
4364 """GetEnablePageNumbers(self) -> bool"""
4365 return _windows_
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
4367 def GetEnableHelp(*args
, **kwargs
):
4368 """GetEnableHelp(self) -> bool"""
4369 return _windows_
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
4371 def Ok(*args
, **kwargs
):
4372 """Ok(self) -> bool"""
4373 return _windows_
.PrintDialogData_Ok(*args
, **kwargs
)
4375 def GetPrintData(*args
, **kwargs
):
4376 """GetPrintData(self) -> PrintData"""
4377 return _windows_
.PrintDialogData_GetPrintData(*args
, **kwargs
)
4379 def SetPrintData(*args
, **kwargs
):
4380 """SetPrintData(self, PrintData printData)"""
4381 return _windows_
.PrintDialogData_SetPrintData(*args
, **kwargs
)
4383 def __nonzero__(self
): return self
.Ok()
4385 class PrintDialogDataPtr(PrintDialogData
):
4386 def __init__(self
, this
):
4388 if not hasattr(self
,"thisown"): self
.thisown
= 0
4389 self
.__class
__ = PrintDialogData
4390 _windows_
.PrintDialogData_swigregister(PrintDialogDataPtr
)
4392 class PrintDialog(_core
.Object
):
4393 """Proxy of C++ PrintDialog class"""
4395 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4396 def __init__(self
, *args
, **kwargs
):
4397 """__init__(self, Window parent, PrintDialogData data=None) -> PrintDialog"""
4398 newobj
= _windows_
.new_PrintDialog(*args
, **kwargs
)
4399 self
.this
= newobj
.this
4402 def ShowModal(*args
, **kwargs
):
4403 """ShowModal(self) -> int"""
4404 return _windows_
.PrintDialog_ShowModal(*args
, **kwargs
)
4406 def GetPrintDialogData(*args
, **kwargs
):
4407 """GetPrintDialogData(self) -> PrintDialogData"""
4408 return _windows_
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
4410 def GetPrintData(*args
, **kwargs
):
4411 """GetPrintData(self) -> PrintData"""
4412 return _windows_
.PrintDialog_GetPrintData(*args
, **kwargs
)
4414 def GetPrintDC(*args
, **kwargs
):
4415 """GetPrintDC(self) -> DC"""
4416 return _windows_
.PrintDialog_GetPrintDC(*args
, **kwargs
)
4419 class PrintDialogPtr(PrintDialog
):
4420 def __init__(self
, this
):
4422 if not hasattr(self
,"thisown"): self
.thisown
= 0
4423 self
.__class
__ = PrintDialog
4424 _windows_
.PrintDialog_swigregister(PrintDialogPtr
)
4426 PRINTER_NO_ERROR
= _windows_
.PRINTER_NO_ERROR
4427 PRINTER_CANCELLED
= _windows_
.PRINTER_CANCELLED
4428 PRINTER_ERROR
= _windows_
.PRINTER_ERROR
4429 class Printer(_core
.Object
):
4430 """Proxy of C++ Printer class"""
4432 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4433 def __init__(self
, *args
, **kwargs
):
4434 """__init__(self, PrintDialogData data=None) -> Printer"""
4435 newobj
= _windows_
.new_Printer(*args
, **kwargs
)
4436 self
.this
= newobj
.this
4439 def __del__(self
, destroy
=_windows_
.delete_Printer
):
4442 if self
.thisown
: destroy(self
)
4445 def CreateAbortWindow(*args
, **kwargs
):
4446 """CreateAbortWindow(self, Window parent, Printout printout) -> Window"""
4447 return _windows_
.Printer_CreateAbortWindow(*args
, **kwargs
)
4449 def ReportError(*args
, **kwargs
):
4450 """ReportError(self, Window parent, Printout printout, String message)"""
4451 return _windows_
.Printer_ReportError(*args
, **kwargs
)
4453 def Setup(*args
, **kwargs
):
4454 """Setup(self, Window parent) -> bool"""
4455 return _windows_
.Printer_Setup(*args
, **kwargs
)
4457 def Print(*args
, **kwargs
):
4458 """Print(self, Window parent, Printout printout, bool prompt=True) -> bool"""
4459 return _windows_
.Printer_Print(*args
, **kwargs
)
4461 def PrintDialog(*args
, **kwargs
):
4462 """PrintDialog(self, Window parent) -> DC"""
4463 return _windows_
.Printer_PrintDialog(*args
, **kwargs
)
4465 def GetPrintDialogData(*args
, **kwargs
):
4466 """GetPrintDialogData(self) -> PrintDialogData"""
4467 return _windows_
.Printer_GetPrintDialogData(*args
, **kwargs
)
4469 def GetAbort(*args
, **kwargs
):
4470 """GetAbort(self) -> bool"""
4471 return _windows_
.Printer_GetAbort(*args
, **kwargs
)
4473 def GetLastError(*args
, **kwargs
):
4474 """GetLastError() -> int"""
4475 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4477 GetLastError
= staticmethod(GetLastError
)
4479 class PrinterPtr(Printer
):
4480 def __init__(self
, this
):
4482 if not hasattr(self
,"thisown"): self
.thisown
= 0
4483 self
.__class
__ = Printer
4484 _windows_
.Printer_swigregister(PrinterPtr
)
4486 def Printer_GetLastError(*args
, **kwargs
):
4487 """Printer_GetLastError() -> int"""
4488 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4490 class Printout(_core
.Object
):
4491 """Proxy of C++ Printout class"""
4493 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4494 def __init__(self
, *args
, **kwargs
):
4495 """__init__(self, String title=PrintoutTitleStr) -> Printout"""
4496 newobj
= _windows_
.new_Printout(*args
, **kwargs
)
4497 self
.this
= newobj
.this
4500 self
._setCallbackInfo
(self
, Printout
)
4502 def _setCallbackInfo(*args
, **kwargs
):
4503 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4504 return _windows_
.Printout__setCallbackInfo(*args
, **kwargs
)
4506 def GetTitle(*args
, **kwargs
):
4507 """GetTitle(self) -> String"""
4508 return _windows_
.Printout_GetTitle(*args
, **kwargs
)
4510 def GetDC(*args
, **kwargs
):
4511 """GetDC(self) -> DC"""
4512 return _windows_
.Printout_GetDC(*args
, **kwargs
)
4514 def SetDC(*args
, **kwargs
):
4515 """SetDC(self, DC dc)"""
4516 return _windows_
.Printout_SetDC(*args
, **kwargs
)
4518 def SetPageSizePixels(*args
, **kwargs
):
4519 """SetPageSizePixels(self, int w, int h)"""
4520 return _windows_
.Printout_SetPageSizePixels(*args
, **kwargs
)
4522 def GetPageSizePixels(*args
, **kwargs
):
4523 """GetPageSizePixels() -> (w, h)"""
4524 return _windows_
.Printout_GetPageSizePixels(*args
, **kwargs
)
4526 def SetPageSizeMM(*args
, **kwargs
):
4527 """SetPageSizeMM(self, int w, int h)"""
4528 return _windows_
.Printout_SetPageSizeMM(*args
, **kwargs
)
4530 def GetPageSizeMM(*args
, **kwargs
):
4531 """GetPageSizeMM() -> (w, h)"""
4532 return _windows_
.Printout_GetPageSizeMM(*args
, **kwargs
)
4534 def SetPPIScreen(*args
, **kwargs
):
4535 """SetPPIScreen(self, int x, int y)"""
4536 return _windows_
.Printout_SetPPIScreen(*args
, **kwargs
)
4538 def GetPPIScreen(*args
, **kwargs
):
4539 """GetPPIScreen() -> (x,y)"""
4540 return _windows_
.Printout_GetPPIScreen(*args
, **kwargs
)
4542 def SetPPIPrinter(*args
, **kwargs
):
4543 """SetPPIPrinter(self, int x, int y)"""
4544 return _windows_
.Printout_SetPPIPrinter(*args
, **kwargs
)
4546 def GetPPIPrinter(*args
, **kwargs
):
4547 """GetPPIPrinter() -> (x,y)"""
4548 return _windows_
.Printout_GetPPIPrinter(*args
, **kwargs
)
4550 def IsPreview(*args
, **kwargs
):
4551 """IsPreview(self) -> bool"""
4552 return _windows_
.Printout_IsPreview(*args
, **kwargs
)
4554 def SetIsPreview(*args
, **kwargs
):
4555 """SetIsPreview(self, bool p)"""
4556 return _windows_
.Printout_SetIsPreview(*args
, **kwargs
)
4558 def base_OnBeginDocument(*args
, **kwargs
):
4559 """base_OnBeginDocument(self, int startPage, int endPage) -> bool"""
4560 return _windows_
.Printout_base_OnBeginDocument(*args
, **kwargs
)
4562 def base_OnEndDocument(*args
, **kwargs
):
4563 """base_OnEndDocument(self)"""
4564 return _windows_
.Printout_base_OnEndDocument(*args
, **kwargs
)
4566 def base_OnBeginPrinting(*args
, **kwargs
):
4567 """base_OnBeginPrinting(self)"""
4568 return _windows_
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
4570 def base_OnEndPrinting(*args
, **kwargs
):
4571 """base_OnEndPrinting(self)"""
4572 return _windows_
.Printout_base_OnEndPrinting(*args
, **kwargs
)
4574 def base_OnPreparePrinting(*args
, **kwargs
):
4575 """base_OnPreparePrinting(self)"""
4576 return _windows_
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
4578 def base_HasPage(*args
, **kwargs
):
4579 """base_HasPage(self, int page) -> bool"""
4580 return _windows_
.Printout_base_HasPage(*args
, **kwargs
)
4582 def base_GetPageInfo(*args
, **kwargs
):
4583 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
4584 return _windows_
.Printout_base_GetPageInfo(*args
, **kwargs
)
4587 class PrintoutPtr(Printout
):
4588 def __init__(self
, this
):
4590 if not hasattr(self
,"thisown"): self
.thisown
= 0
4591 self
.__class
__ = Printout
4592 _windows_
.Printout_swigregister(PrintoutPtr
)
4594 class PreviewCanvas(ScrolledWindow
):
4595 """Proxy of C++ PreviewCanvas class"""
4597 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4598 def __init__(self
, *args
, **kwargs
):
4600 __init__(self, PrintPreview preview, Window parent, Point pos=DefaultPosition,
4601 Size size=DefaultSize, long style=0,
4602 String name=PreviewCanvasNameStr) -> PreviewCanvas
4604 newobj
= _windows_
.new_PreviewCanvas(*args
, **kwargs
)
4605 self
.this
= newobj
.this
4608 self
._setOORInfo
(self
)
4611 class PreviewCanvasPtr(PreviewCanvas
):
4612 def __init__(self
, this
):
4614 if not hasattr(self
,"thisown"): self
.thisown
= 0
4615 self
.__class
__ = PreviewCanvas
4616 _windows_
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
4618 class PreviewFrame(Frame
):
4619 """Proxy of C++ PreviewFrame class"""
4621 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4622 def __init__(self
, *args
, **kwargs
):
4624 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4625 Size size=DefaultSize,
4626 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
4628 newobj
= _windows_
.new_PreviewFrame(*args
, **kwargs
)
4629 self
.this
= newobj
.this
4632 self
._setOORInfo
(self
)
4634 def Initialize(*args
, **kwargs
):
4635 """Initialize(self)"""
4636 return _windows_
.PreviewFrame_Initialize(*args
, **kwargs
)
4638 def CreateControlBar(*args
, **kwargs
):
4639 """CreateControlBar(self)"""
4640 return _windows_
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
4642 def CreateCanvas(*args
, **kwargs
):
4643 """CreateCanvas(self)"""
4644 return _windows_
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
4646 def GetControlBar(*args
, **kwargs
):
4647 """GetControlBar(self) -> PreviewControlBar"""
4648 return _windows_
.PreviewFrame_GetControlBar(*args
, **kwargs
)
4651 class PreviewFramePtr(PreviewFrame
):
4652 def __init__(self
, this
):
4654 if not hasattr(self
,"thisown"): self
.thisown
= 0
4655 self
.__class
__ = PreviewFrame
4656 _windows_
.PreviewFrame_swigregister(PreviewFramePtr
)
4658 PREVIEW_PRINT
= _windows_
.PREVIEW_PRINT
4659 PREVIEW_PREVIOUS
= _windows_
.PREVIEW_PREVIOUS
4660 PREVIEW_NEXT
= _windows_
.PREVIEW_NEXT
4661 PREVIEW_ZOOM
= _windows_
.PREVIEW_ZOOM
4662 PREVIEW_FIRST
= _windows_
.PREVIEW_FIRST
4663 PREVIEW_LAST
= _windows_
.PREVIEW_LAST
4664 PREVIEW_GOTO
= _windows_
.PREVIEW_GOTO
4665 PREVIEW_DEFAULT
= _windows_
.PREVIEW_DEFAULT
4666 ID_PREVIEW_CLOSE
= _windows_
.ID_PREVIEW_CLOSE
4667 ID_PREVIEW_NEXT
= _windows_
.ID_PREVIEW_NEXT
4668 ID_PREVIEW_PREVIOUS
= _windows_
.ID_PREVIEW_PREVIOUS
4669 ID_PREVIEW_PRINT
= _windows_
.ID_PREVIEW_PRINT
4670 ID_PREVIEW_ZOOM
= _windows_
.ID_PREVIEW_ZOOM
4671 ID_PREVIEW_FIRST
= _windows_
.ID_PREVIEW_FIRST
4672 ID_PREVIEW_LAST
= _windows_
.ID_PREVIEW_LAST
4673 ID_PREVIEW_GOTO
= _windows_
.ID_PREVIEW_GOTO
4674 class PreviewControlBar(Panel
):
4675 """Proxy of C++ PreviewControlBar class"""
4677 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4678 def __init__(self
, *args
, **kwargs
):
4680 __init__(self, PrintPreview preview, long buttons, Window parent,
4681 Point pos=DefaultPosition, Size size=DefaultSize,
4682 long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
4684 newobj
= _windows_
.new_PreviewControlBar(*args
, **kwargs
)
4685 self
.this
= newobj
.this
4688 self
._setOORInfo
(self
)
4690 def GetZoomControl(*args
, **kwargs
):
4691 """GetZoomControl(self) -> int"""
4692 return _windows_
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
4694 def SetZoomControl(*args
, **kwargs
):
4695 """SetZoomControl(self, int zoom)"""
4696 return _windows_
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
4698 def GetPrintPreview(*args
, **kwargs
):
4699 """GetPrintPreview(self) -> PrintPreview"""
4700 return _windows_
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
4702 def OnNext(*args
, **kwargs
):
4704 return _windows_
.PreviewControlBar_OnNext(*args
, **kwargs
)
4706 def OnPrevious(*args
, **kwargs
):
4707 """OnPrevious(self)"""
4708 return _windows_
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
4710 def OnFirst(*args
, **kwargs
):
4712 return _windows_
.PreviewControlBar_OnFirst(*args
, **kwargs
)
4714 def OnLast(*args
, **kwargs
):
4716 return _windows_
.PreviewControlBar_OnLast(*args
, **kwargs
)
4718 def OnGoto(*args
, **kwargs
):
4720 return _windows_
.PreviewControlBar_OnGoto(*args
, **kwargs
)
4723 class PreviewControlBarPtr(PreviewControlBar
):
4724 def __init__(self
, this
):
4726 if not hasattr(self
,"thisown"): self
.thisown
= 0
4727 self
.__class
__ = PreviewControlBar
4728 _windows_
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
4730 class PrintPreview(_core
.Object
):
4731 """Proxy of C++ PrintPreview class"""
4733 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4734 def __init__(self
, *args
):
4736 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview
4737 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview
4739 newobj
= _windows_
.new_PrintPreview(*args
)
4740 self
.this
= newobj
.this
4743 def SetCurrentPage(*args
, **kwargs
):
4744 """SetCurrentPage(self, int pageNum) -> bool"""
4745 return _windows_
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
4747 def GetCurrentPage(*args
, **kwargs
):
4748 """GetCurrentPage(self) -> int"""
4749 return _windows_
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
4751 def SetPrintout(*args
, **kwargs
):
4752 """SetPrintout(self, Printout printout)"""
4753 return _windows_
.PrintPreview_SetPrintout(*args
, **kwargs
)
4755 def GetPrintout(*args
, **kwargs
):
4756 """GetPrintout(self) -> Printout"""
4757 return _windows_
.PrintPreview_GetPrintout(*args
, **kwargs
)
4759 def GetPrintoutForPrinting(*args
, **kwargs
):
4760 """GetPrintoutForPrinting(self) -> Printout"""
4761 return _windows_
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
4763 def SetFrame(*args
, **kwargs
):
4764 """SetFrame(self, Frame frame)"""
4765 return _windows_
.PrintPreview_SetFrame(*args
, **kwargs
)
4767 def SetCanvas(*args
, **kwargs
):
4768 """SetCanvas(self, PreviewCanvas canvas)"""
4769 return _windows_
.PrintPreview_SetCanvas(*args
, **kwargs
)
4771 def GetFrame(*args
, **kwargs
):
4772 """GetFrame(self) -> Frame"""
4773 return _windows_
.PrintPreview_GetFrame(*args
, **kwargs
)
4775 def GetCanvas(*args
, **kwargs
):
4776 """GetCanvas(self) -> PreviewCanvas"""
4777 return _windows_
.PrintPreview_GetCanvas(*args
, **kwargs
)
4779 def PaintPage(*args
, **kwargs
):
4780 """PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4781 return _windows_
.PrintPreview_PaintPage(*args
, **kwargs
)
4783 def DrawBlankPage(*args
, **kwargs
):
4784 """DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4785 return _windows_
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
4787 def RenderPage(*args
, **kwargs
):
4788 """RenderPage(self, int pageNum) -> bool"""
4789 return _windows_
.PrintPreview_RenderPage(*args
, **kwargs
)
4791 def AdjustScrollbars(*args
, **kwargs
):
4792 """AdjustScrollbars(self, PreviewCanvas canvas)"""
4793 return _windows_
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
4795 def GetPrintDialogData(*args
, **kwargs
):
4796 """GetPrintDialogData(self) -> PrintDialogData"""
4797 return _windows_
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
4799 def SetZoom(*args
, **kwargs
):
4800 """SetZoom(self, int percent)"""
4801 return _windows_
.PrintPreview_SetZoom(*args
, **kwargs
)
4803 def GetZoom(*args
, **kwargs
):
4804 """GetZoom(self) -> int"""
4805 return _windows_
.PrintPreview_GetZoom(*args
, **kwargs
)
4807 def GetMaxPage(*args
, **kwargs
):
4808 """GetMaxPage(self) -> int"""
4809 return _windows_
.PrintPreview_GetMaxPage(*args
, **kwargs
)
4811 def GetMinPage(*args
, **kwargs
):
4812 """GetMinPage(self) -> int"""
4813 return _windows_
.PrintPreview_GetMinPage(*args
, **kwargs
)
4815 def Ok(*args
, **kwargs
):
4816 """Ok(self) -> bool"""
4817 return _windows_
.PrintPreview_Ok(*args
, **kwargs
)
4819 def SetOk(*args
, **kwargs
):
4820 """SetOk(self, bool ok)"""
4821 return _windows_
.PrintPreview_SetOk(*args
, **kwargs
)
4823 def Print(*args
, **kwargs
):
4824 """Print(self, bool interactive) -> bool"""
4825 return _windows_
.PrintPreview_Print(*args
, **kwargs
)
4827 def DetermineScaling(*args
, **kwargs
):
4828 """DetermineScaling(self)"""
4829 return _windows_
.PrintPreview_DetermineScaling(*args
, **kwargs
)
4831 def __nonzero__(self
): return self
.Ok()
4833 class PrintPreviewPtr(PrintPreview
):
4834 def __init__(self
, this
):
4836 if not hasattr(self
,"thisown"): self
.thisown
= 0
4837 self
.__class
__ = PrintPreview
4838 _windows_
.PrintPreview_swigregister(PrintPreviewPtr
)
4840 class PyPrintPreview(PrintPreview
):
4841 """Proxy of C++ PyPrintPreview class"""
4843 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4844 def __init__(self
, *args
):
4846 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview
4847 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview
4849 newobj
= _windows_
.new_PyPrintPreview(*args
)
4850 self
.this
= newobj
.this
4853 self
._setCallbackInfo
(self
, PyPrintPreview
)
4855 def _setCallbackInfo(*args
, **kwargs
):
4856 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4857 return _windows_
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
4859 def base_SetCurrentPage(*args
, **kwargs
):
4860 """base_SetCurrentPage(self, int pageNum) -> bool"""
4861 return _windows_
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
4863 def base_PaintPage(*args
, **kwargs
):
4864 """base_PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4865 return _windows_
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
4867 def base_DrawBlankPage(*args
, **kwargs
):
4868 """base_DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4869 return _windows_
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
4871 def base_RenderPage(*args
, **kwargs
):
4872 """base_RenderPage(self, int pageNum) -> bool"""
4873 return _windows_
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
4875 def base_SetZoom(*args
, **kwargs
):
4876 """base_SetZoom(self, int percent)"""
4877 return _windows_
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
4879 def base_Print(*args
, **kwargs
):
4880 """base_Print(self, bool interactive) -> bool"""
4881 return _windows_
.PyPrintPreview_base_Print(*args
, **kwargs
)
4883 def base_DetermineScaling(*args
, **kwargs
):
4884 """base_DetermineScaling(self)"""
4885 return _windows_
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
4888 class PyPrintPreviewPtr(PyPrintPreview
):
4889 def __init__(self
, this
):
4891 if not hasattr(self
,"thisown"): self
.thisown
= 0
4892 self
.__class
__ = PyPrintPreview
4893 _windows_
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
4895 class PyPreviewFrame(PreviewFrame
):
4896 """Proxy of C++ PyPreviewFrame class"""
4898 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4899 def __init__(self
, *args
, **kwargs
):
4901 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4902 Size size=DefaultSize,
4903 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
4905 newobj
= _windows_
.new_PyPreviewFrame(*args
, **kwargs
)
4906 self
.this
= newobj
.this
4909 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
4911 def _setCallbackInfo(*args
, **kwargs
):
4912 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4913 return _windows_
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
4915 def SetPreviewCanvas(*args
, **kwargs
):
4916 """SetPreviewCanvas(self, PreviewCanvas canvas)"""
4917 return _windows_
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
4919 def SetControlBar(*args
, **kwargs
):
4920 """SetControlBar(self, PreviewControlBar bar)"""
4921 return _windows_
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
4923 def base_Initialize(*args
, **kwargs
):
4924 """base_Initialize(self)"""
4925 return _windows_
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
4927 def base_CreateCanvas(*args
, **kwargs
):
4928 """base_CreateCanvas(self)"""
4929 return _windows_
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
4931 def base_CreateControlBar(*args
, **kwargs
):
4932 """base_CreateControlBar(self)"""
4933 return _windows_
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
4936 class PyPreviewFramePtr(PyPreviewFrame
):
4937 def __init__(self
, this
):
4939 if not hasattr(self
,"thisown"): self
.thisown
= 0
4940 self
.__class
__ = PyPreviewFrame
4941 _windows_
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
4943 class PyPreviewControlBar(PreviewControlBar
):
4944 """Proxy of C++ PyPreviewControlBar class"""
4946 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4947 def __init__(self
, *args
, **kwargs
):
4949 __init__(self, PrintPreview preview, long buttons, Window parent,
4950 Point pos=DefaultPosition, Size size=DefaultSize,
4951 long style=0, String name=PanelNameStr) -> PyPreviewControlBar
4953 newobj
= _windows_
.new_PyPreviewControlBar(*args
, **kwargs
)
4954 self
.this
= newobj
.this
4957 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
4959 def _setCallbackInfo(*args
, **kwargs
):
4960 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4961 return _windows_
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
4963 def SetPrintPreview(*args
, **kwargs
):
4964 """SetPrintPreview(self, PrintPreview preview)"""
4965 return _windows_
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
4967 def base_CreateButtons(*args
, **kwargs
):
4968 """base_CreateButtons(self)"""
4969 return _windows_
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
4971 def base_SetZoomControl(*args
, **kwargs
):
4972 """base_SetZoomControl(self, int zoom)"""
4973 return _windows_
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
4976 class PyPreviewControlBarPtr(PyPreviewControlBar
):
4977 def __init__(self
, this
):
4979 if not hasattr(self
,"thisown"): self
.thisown
= 0
4980 self
.__class
__ = PyPreviewControlBar
4981 _windows_
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)