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=DEFAULT_STATUSBAR_STYLE, 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
):
868 __init__(self, Window parent, int id=-1, long style=DEFAULT_STATUSBAR_STYLE,
869 String name=StatusLineNameStr) -> StatusBar
871 newobj
= _windows_
.new_StatusBar(*args
, **kwargs
)
872 self
.this
= newobj
.this
875 self
._setOORInfo
(self
)
877 def Create(*args
, **kwargs
):
878 """Create(self, Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
879 return _windows_
.StatusBar_Create(*args
, **kwargs
)
881 def SetFieldsCount(*args
, **kwargs
):
882 """SetFieldsCount(self, int number=1)"""
883 return _windows_
.StatusBar_SetFieldsCount(*args
, **kwargs
)
885 def GetFieldsCount(*args
, **kwargs
):
886 """GetFieldsCount(self) -> int"""
887 return _windows_
.StatusBar_GetFieldsCount(*args
, **kwargs
)
889 def SetStatusText(*args
, **kwargs
):
890 """SetStatusText(self, String text, int number=0)"""
891 return _windows_
.StatusBar_SetStatusText(*args
, **kwargs
)
893 def GetStatusText(*args
, **kwargs
):
894 """GetStatusText(self, int number=0) -> String"""
895 return _windows_
.StatusBar_GetStatusText(*args
, **kwargs
)
897 def PushStatusText(*args
, **kwargs
):
898 """PushStatusText(self, String text, int number=0)"""
899 return _windows_
.StatusBar_PushStatusText(*args
, **kwargs
)
901 def PopStatusText(*args
, **kwargs
):
902 """PopStatusText(self, int number=0)"""
903 return _windows_
.StatusBar_PopStatusText(*args
, **kwargs
)
905 def SetStatusWidths(*args
, **kwargs
):
906 """SetStatusWidths(self, int widths)"""
907 return _windows_
.StatusBar_SetStatusWidths(*args
, **kwargs
)
909 def SetStatusStyles(*args
, **kwargs
):
910 """SetStatusStyles(self, int styles)"""
911 return _windows_
.StatusBar_SetStatusStyles(*args
, **kwargs
)
913 def GetFieldRect(*args
, **kwargs
):
914 """GetFieldRect(self, int i) -> Rect"""
915 return _windows_
.StatusBar_GetFieldRect(*args
, **kwargs
)
917 def SetMinHeight(*args
, **kwargs
):
918 """SetMinHeight(self, int height)"""
919 return _windows_
.StatusBar_SetMinHeight(*args
, **kwargs
)
921 def GetBorderX(*args
, **kwargs
):
922 """GetBorderX(self) -> int"""
923 return _windows_
.StatusBar_GetBorderX(*args
, **kwargs
)
925 def GetBorderY(*args
, **kwargs
):
926 """GetBorderY(self) -> int"""
927 return _windows_
.StatusBar_GetBorderY(*args
, **kwargs
)
929 def GetClassDefaultAttributes(*args
, **kwargs
):
931 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
933 Get the default attributes for this class. This is useful if you want
934 to use the same font or colour in your own control as in a standard
935 control -- which is a much better idea than hard coding specific
936 colours or fonts which might look completely out of place on the
937 user's system, especially if it uses themes.
939 The variant parameter is only relevant under Mac currently and is
940 ignore under other platforms. Under Mac, it will change the size of
941 the returned font. See `wx.Window.SetWindowVariant` for more about
944 return _windows_
.StatusBar_GetClassDefaultAttributes(*args
, **kwargs
)
946 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
948 class StatusBarPtr(StatusBar
):
949 def __init__(self
, this
):
951 if not hasattr(self
,"thisown"): self
.thisown
= 0
952 self
.__class
__ = StatusBar
953 _windows_
.StatusBar_swigregister(StatusBarPtr
)
955 def PreStatusBar(*args
, **kwargs
):
956 """PreStatusBar() -> StatusBar"""
957 val
= _windows_
.new_PreStatusBar(*args
, **kwargs
)
961 def StatusBar_GetClassDefaultAttributes(*args
, **kwargs
):
963 StatusBar_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
965 Get the default attributes for this class. This is useful if you want
966 to use the same font or colour in your own control as in a standard
967 control -- which is a much better idea than hard coding specific
968 colours or fonts which might look completely out of place on the
969 user's system, especially if it uses themes.
971 The variant parameter is only relevant under Mac currently and is
972 ignore under other platforms. Under Mac, it will change the size of
973 the returned font. See `wx.Window.SetWindowVariant` for more about
976 return _windows_
.StatusBar_GetClassDefaultAttributes(*args
, **kwargs
)
978 #---------------------------------------------------------------------------
980 SP_NOBORDER
= _windows_
.SP_NOBORDER
981 SP_NOSASH
= _windows_
.SP_NOSASH
982 SP_PERMIT_UNSPLIT
= _windows_
.SP_PERMIT_UNSPLIT
983 SP_LIVE_UPDATE
= _windows_
.SP_LIVE_UPDATE
984 SP_3DSASH
= _windows_
.SP_3DSASH
985 SP_3DBORDER
= _windows_
.SP_3DBORDER
986 SP_NO_XP_THEME
= _windows_
.SP_NO_XP_THEME
987 SP_BORDER
= _windows_
.SP_BORDER
988 SP_3D
= _windows_
.SP_3D
989 SPLIT_HORIZONTAL
= _windows_
.SPLIT_HORIZONTAL
990 SPLIT_VERTICAL
= _windows_
.SPLIT_VERTICAL
991 SPLIT_DRAG_NONE
= _windows_
.SPLIT_DRAG_NONE
992 SPLIT_DRAG_DRAGGING
= _windows_
.SPLIT_DRAG_DRAGGING
993 SPLIT_DRAG_LEFT_DOWN
= _windows_
.SPLIT_DRAG_LEFT_DOWN
994 class SplitterWindow(_core
.Window
):
996 wx.SplitterWindow manages up to two subwindows or panes, with an
997 optional vertical or horizontal split which can be used with the mouse
1001 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1002 def __init__(self
, *args
, **kwargs
):
1004 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1005 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
1007 Constructor. Creates and shows a SplitterWindow.
1009 if kwargs
.has_key('point'): kwargs
['pos'] = kwargs
['point'];del kwargs
['point']
1010 newobj
= _windows_
.new_SplitterWindow(*args
, **kwargs
)
1011 self
.this
= newobj
.this
1014 self
._setOORInfo
(self
)
1016 def Create(*args
, **kwargs
):
1018 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1019 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool
1021 Create the GUI part of the SplitterWindow for the 2-phase create.
1023 return _windows_
.SplitterWindow_Create(*args
, **kwargs
)
1025 def GetWindow1(*args
, **kwargs
):
1027 GetWindow1(self) -> Window
1029 Gets the only or left/top pane.
1031 return _windows_
.SplitterWindow_GetWindow1(*args
, **kwargs
)
1033 def GetWindow2(*args
, **kwargs
):
1035 GetWindow2(self) -> Window
1037 Gets the right/bottom pane.
1039 return _windows_
.SplitterWindow_GetWindow2(*args
, **kwargs
)
1041 def SetSplitMode(*args
, **kwargs
):
1043 SetSplitMode(self, int mode)
1045 Sets the split mode. The mode can be wx.SPLIT_VERTICAL or
1046 wx.SPLIT_HORIZONTAL. This only sets the internal variable; does not
1049 return _windows_
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
1051 def GetSplitMode(*args
, **kwargs
):
1053 GetSplitMode(self) -> int
1057 return _windows_
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
1059 def Initialize(*args
, **kwargs
):
1061 Initialize(self, Window window)
1063 Initializes the splitter window to have one pane. This should be
1064 called if you wish to initially view only a single pane in the
1065 splitter window. The child window is shown if it is currently hidden.
1067 return _windows_
.SplitterWindow_Initialize(*args
, **kwargs
)
1069 def SplitVertically(*args
, **kwargs
):
1071 SplitVertically(self, Window window1, Window window2, int sashPosition=0) -> bool
1073 Initializes the left and right panes of the splitter window. The
1074 child windows are shown if they are currently hidden.
1076 return _windows_
.SplitterWindow_SplitVertically(*args
, **kwargs
)
1078 def SplitHorizontally(*args
, **kwargs
):
1080 SplitHorizontally(self, Window window1, Window window2, int sashPosition=0) -> bool
1082 Initializes the top and bottom panes of the splitter window. The
1083 child windows are shown if they are currently hidden.
1085 return _windows_
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
1087 def Unsplit(*args
, **kwargs
):
1089 Unsplit(self, Window toRemove=None) -> bool
1091 Unsplits the window. Pass the pane to remove, or None to remove the
1092 right or bottom pane. Returns True if successful, False otherwise (the
1093 window was not split).
1095 This function will not actually delete the pane being
1096 removed; it sends EVT_SPLITTER_UNSPLIT which can be handled
1097 for the desired behaviour. By default, the pane being
1098 removed is only hidden.
1100 return _windows_
.SplitterWindow_Unsplit(*args
, **kwargs
)
1102 def ReplaceWindow(*args
, **kwargs
):
1104 ReplaceWindow(self, Window winOld, Window winNew) -> bool
1106 This function replaces one of the windows managed by the
1107 SplitterWindow with another one. It is in general better to use it
1108 instead of calling Unsplit() and then resplitting the window back
1109 because it will provoke much less flicker. It is valid to call this
1110 function whether the splitter has two windows or only one.
1112 Both parameters should be non-None and winOld must specify one of the
1113 windows managed by the splitter. If the parameters are incorrect or
1114 the window couldn't be replaced, False is returned. Otherwise the
1115 function will return True, but please notice that it will not Destroy
1116 the replaced window and you may wish to do it yourself.
1118 return _windows_
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
1120 def UpdateSize(*args
, **kwargs
):
1124 Causes any pending sizing of the sash and child panes to take place
1127 Such resizing normally takes place in idle time, in order to wait for
1128 layout to be completed. However, this can cause unacceptable flicker
1129 as the panes are resized after the window has been shown. To work
1130 around this, you can perform window layout (for example by sending a
1131 size event to the parent window), and then call this function, before
1132 showing the top-level window.
1134 return _windows_
.SplitterWindow_UpdateSize(*args
, **kwargs
)
1136 def IsSplit(*args
, **kwargs
):
1138 IsSplit(self) -> bool
1140 Is the window split?
1142 return _windows_
.SplitterWindow_IsSplit(*args
, **kwargs
)
1144 def SetSashSize(*args
, **kwargs
):
1146 SetSashSize(self, int width)
1150 return _windows_
.SplitterWindow_SetSashSize(*args
, **kwargs
)
1152 def SetBorderSize(*args
, **kwargs
):
1154 SetBorderSize(self, int width)
1156 Sets the border size. Currently a NOP.
1158 return _windows_
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
1160 def GetSashSize(*args
, **kwargs
):
1162 GetSashSize(self) -> int
1166 return _windows_
.SplitterWindow_GetSashSize(*args
, **kwargs
)
1168 def GetBorderSize(*args
, **kwargs
):
1170 GetBorderSize(self) -> int
1172 Gets the border size
1174 return _windows_
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
1176 def SetSashPosition(*args
, **kwargs
):
1178 SetSashPosition(self, int position, bool redraw=True)
1180 Sets the sash position, in pixels. If redraw is Ttrue then the panes
1181 are resized and the sash and border are redrawn.
1183 return _windows_
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
1185 def GetSashPosition(*args
, **kwargs
):
1187 GetSashPosition(self) -> int
1189 Returns the surrent sash position.
1191 return _windows_
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
1193 def SetSashGravity(*args
, **kwargs
):
1195 SetSashGravity(self, double gravity)
1197 Set the sash gravity. Gravity is a floating-point factor between 0.0
1198 and 1.0 which controls position of sash while resizing the
1199 `wx.SplitterWindow`. The gravity specifies how much the left/top
1200 window will grow while resizing.
1202 return _windows_
.SplitterWindow_SetSashGravity(*args
, **kwargs
)
1204 def GetSashGravity(*args
, **kwargs
):
1206 GetSashGravity(self) -> double
1208 Gets the sash gravity.
1210 :see: `SetSashGravity`
1213 return _windows_
.SplitterWindow_GetSashGravity(*args
, **kwargs
)
1215 def SetMinimumPaneSize(*args
, **kwargs
):
1217 SetMinimumPaneSize(self, int min)
1219 Sets the minimum pane size in pixels.
1221 The default minimum pane size is zero, which means that either pane
1222 can be reduced to zero by dragging the sash, thus removing one of the
1223 panes. To prevent this behaviour (and veto out-of-range sash
1224 dragging), set a minimum size, for example 20 pixels. If the
1225 wx.SP_PERMIT_UNSPLIT style is used when a splitter window is created,
1226 the window may be unsplit even if minimum size is non-zero.
1228 return _windows_
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
1230 def GetMinimumPaneSize(*args
, **kwargs
):
1232 GetMinimumPaneSize(self) -> int
1234 Gets the minimum pane size in pixels.
1236 return _windows_
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
1238 def SashHitTest(*args
, **kwargs
):
1240 SashHitTest(self, int x, int y, int tolerance=5) -> bool
1242 Tests for x, y over the sash
1244 return _windows_
.SplitterWindow_SashHitTest(*args
, **kwargs
)
1246 def SizeWindows(*args
, **kwargs
):
1252 return _windows_
.SplitterWindow_SizeWindows(*args
, **kwargs
)
1254 def SetNeedUpdating(*args
, **kwargs
):
1255 """SetNeedUpdating(self, bool needUpdating)"""
1256 return _windows_
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
1258 def GetNeedUpdating(*args
, **kwargs
):
1259 """GetNeedUpdating(self) -> bool"""
1260 return _windows_
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
1262 def GetClassDefaultAttributes(*args
, **kwargs
):
1264 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1266 Get the default attributes for this class. This is useful if you want
1267 to use the same font or colour in your own control as in a standard
1268 control -- which is a much better idea than hard coding specific
1269 colours or fonts which might look completely out of place on the
1270 user's system, especially if it uses themes.
1272 The variant parameter is only relevant under Mac currently and is
1273 ignore under other platforms. Under Mac, it will change the size of
1274 the returned font. See `wx.Window.SetWindowVariant` for more about
1277 return _windows_
.SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1279 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
1281 class SplitterWindowPtr(SplitterWindow
):
1282 def __init__(self
, this
):
1284 if not hasattr(self
,"thisown"): self
.thisown
= 0
1285 self
.__class
__ = SplitterWindow
1286 _windows_
.SplitterWindow_swigregister(SplitterWindowPtr
)
1287 SplitterNameStr
= cvar
.SplitterNameStr
1289 def PreSplitterWindow(*args
, **kwargs
):
1291 PreSplitterWindow() -> SplitterWindow
1293 Precreate a SplitterWindow for 2-phase creation.
1295 val
= _windows_
.new_PreSplitterWindow(*args
, **kwargs
)
1299 def SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
):
1301 SplitterWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1303 Get the default attributes for this class. This is useful if you want
1304 to use the same font or colour in your own control as in a standard
1305 control -- which is a much better idea than hard coding specific
1306 colours or fonts which might look completely out of place on the
1307 user's system, especially if it uses themes.
1309 The variant parameter is only relevant under Mac currently and is
1310 ignore under other platforms. Under Mac, it will change the size of
1311 the returned font. See `wx.Window.SetWindowVariant` for more about
1314 return _windows_
.SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1316 class SplitterEvent(_core
.NotifyEvent
):
1317 """This class represents the events generated by a splitter control."""
1319 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1320 def __init__(self
, *args
, **kwargs
):
1322 __init__(self, wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent
1324 This class represents the events generated by a splitter control.
1326 newobj
= _windows_
.new_SplitterEvent(*args
, **kwargs
)
1327 self
.this
= newobj
.this
1330 def SetSashPosition(*args
, **kwargs
):
1332 SetSashPosition(self, int pos)
1334 This function is only meaningful during EVT_SPLITTER_SASH_POS_CHANGING
1335 and EVT_SPLITTER_SASH_POS_CHANGED events. In the case of _CHANGED
1336 events, sets the the new sash position. In the case of _CHANGING
1337 events, sets the new tracking bar position so visual feedback during
1338 dragging will represent that change that will actually take place. Set
1339 to -1 from the event handler code to prevent repositioning.
1341 return _windows_
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
1343 def GetSashPosition(*args
, **kwargs
):
1345 GetSashPosition(self) -> int
1347 Returns the new sash position while in EVT_SPLITTER_SASH_POS_CHANGING
1348 and EVT_SPLITTER_SASH_POS_CHANGED events.
1350 return _windows_
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
1352 def GetWindowBeingRemoved(*args
, **kwargs
):
1354 GetWindowBeingRemoved(self) -> Window
1356 Returns a pointer to the window being removed when a splitter window
1359 return _windows_
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
1361 def GetX(*args
, **kwargs
):
1365 Returns the x coordinate of the double-click point in a
1366 EVT_SPLITTER_DCLICK event.
1368 return _windows_
.SplitterEvent_GetX(*args
, **kwargs
)
1370 def GetY(*args
, **kwargs
):
1374 Returns the y coordinate of the double-click point in a
1375 EVT_SPLITTER_DCLICK event.
1377 return _windows_
.SplitterEvent_GetY(*args
, **kwargs
)
1380 class SplitterEventPtr(SplitterEvent
):
1381 def __init__(self
, this
):
1383 if not hasattr(self
,"thisown"): self
.thisown
= 0
1384 self
.__class
__ = SplitterEvent
1385 _windows_
.SplitterEvent_swigregister(SplitterEventPtr
)
1387 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
1388 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
1389 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows_
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
1390 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows_
.wxEVT_COMMAND_SPLITTER_UNSPLIT
1391 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
1392 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
1393 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
1394 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
1395 EVT_SPLITTER_DCLICK
= EVT_SPLITTER_DOUBLECLICKED
1397 #---------------------------------------------------------------------------
1399 SASH_DRAG_NONE
= _windows_
.SASH_DRAG_NONE
1400 SASH_DRAG_DRAGGING
= _windows_
.SASH_DRAG_DRAGGING
1401 SASH_DRAG_LEFT_DOWN
= _windows_
.SASH_DRAG_LEFT_DOWN
1402 SW_NOBORDER
= _windows_
.SW_NOBORDER
1403 SW_BORDER
= _windows_
.SW_BORDER
1404 SW_3DSASH
= _windows_
.SW_3DSASH
1405 SW_3DBORDER
= _windows_
.SW_3DBORDER
1406 SW_3D
= _windows_
.SW_3D
1407 SASH_TOP
= _windows_
.SASH_TOP
1408 SASH_RIGHT
= _windows_
.SASH_RIGHT
1409 SASH_BOTTOM
= _windows_
.SASH_BOTTOM
1410 SASH_LEFT
= _windows_
.SASH_LEFT
1411 SASH_NONE
= _windows_
.SASH_NONE
1412 class SashWindow(_core
.Window
):
1413 """Proxy of C++ SashWindow class"""
1415 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1416 def __init__(self
, *args
, **kwargs
):
1418 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1419 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1420 String name=SashNameStr) -> SashWindow
1422 newobj
= _windows_
.new_SashWindow(*args
, **kwargs
)
1423 self
.this
= newobj
.this
1426 self
._setOORInfo
(self
)
1428 def Create(*args
, **kwargs
):
1430 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1431 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1432 String name=SashNameStr) -> bool
1434 return _windows_
.SashWindow_Create(*args
, **kwargs
)
1436 def SetSashVisible(*args
, **kwargs
):
1437 """SetSashVisible(self, int edge, bool sash)"""
1438 return _windows_
.SashWindow_SetSashVisible(*args
, **kwargs
)
1440 def GetSashVisible(*args
, **kwargs
):
1441 """GetSashVisible(self, int edge) -> bool"""
1442 return _windows_
.SashWindow_GetSashVisible(*args
, **kwargs
)
1444 def SetSashBorder(*args
, **kwargs
):
1445 """SetSashBorder(self, int edge, bool border)"""
1446 return _windows_
.SashWindow_SetSashBorder(*args
, **kwargs
)
1448 def HasBorder(*args
, **kwargs
):
1449 """HasBorder(self, int edge) -> bool"""
1450 return _windows_
.SashWindow_HasBorder(*args
, **kwargs
)
1452 def GetEdgeMargin(*args
, **kwargs
):
1453 """GetEdgeMargin(self, int edge) -> int"""
1454 return _windows_
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
1456 def SetDefaultBorderSize(*args
, **kwargs
):
1457 """SetDefaultBorderSize(self, int width)"""
1458 return _windows_
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
1460 def GetDefaultBorderSize(*args
, **kwargs
):
1461 """GetDefaultBorderSize(self) -> int"""
1462 return _windows_
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
1464 def SetExtraBorderSize(*args
, **kwargs
):
1465 """SetExtraBorderSize(self, int width)"""
1466 return _windows_
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
1468 def GetExtraBorderSize(*args
, **kwargs
):
1469 """GetExtraBorderSize(self) -> int"""
1470 return _windows_
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
1472 def SetMinimumSizeX(*args
, **kwargs
):
1473 """SetMinimumSizeX(self, int min)"""
1474 return _windows_
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
1476 def SetMinimumSizeY(*args
, **kwargs
):
1477 """SetMinimumSizeY(self, int min)"""
1478 return _windows_
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
1480 def GetMinimumSizeX(*args
, **kwargs
):
1481 """GetMinimumSizeX(self) -> int"""
1482 return _windows_
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
1484 def GetMinimumSizeY(*args
, **kwargs
):
1485 """GetMinimumSizeY(self) -> int"""
1486 return _windows_
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
1488 def SetMaximumSizeX(*args
, **kwargs
):
1489 """SetMaximumSizeX(self, int max)"""
1490 return _windows_
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
1492 def SetMaximumSizeY(*args
, **kwargs
):
1493 """SetMaximumSizeY(self, int max)"""
1494 return _windows_
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
1496 def GetMaximumSizeX(*args
, **kwargs
):
1497 """GetMaximumSizeX(self) -> int"""
1498 return _windows_
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
1500 def GetMaximumSizeY(*args
, **kwargs
):
1501 """GetMaximumSizeY(self) -> int"""
1502 return _windows_
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
1504 def SashHitTest(*args
, **kwargs
):
1505 """SashHitTest(self, int x, int y, int tolerance=2) -> int"""
1506 return _windows_
.SashWindow_SashHitTest(*args
, **kwargs
)
1508 def SizeWindows(*args
, **kwargs
):
1509 """SizeWindows(self)"""
1510 return _windows_
.SashWindow_SizeWindows(*args
, **kwargs
)
1513 class SashWindowPtr(SashWindow
):
1514 def __init__(self
, this
):
1516 if not hasattr(self
,"thisown"): self
.thisown
= 0
1517 self
.__class
__ = SashWindow
1518 _windows_
.SashWindow_swigregister(SashWindowPtr
)
1519 SashNameStr
= cvar
.SashNameStr
1520 SashLayoutNameStr
= cvar
.SashLayoutNameStr
1522 def PreSashWindow(*args
, **kwargs
):
1523 """PreSashWindow() -> SashWindow"""
1524 val
= _windows_
.new_PreSashWindow(*args
, **kwargs
)
1528 SASH_STATUS_OK
= _windows_
.SASH_STATUS_OK
1529 SASH_STATUS_OUT_OF_RANGE
= _windows_
.SASH_STATUS_OUT_OF_RANGE
1530 class SashEvent(_core
.CommandEvent
):
1531 """Proxy of C++ SashEvent class"""
1533 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1534 def __init__(self
, *args
, **kwargs
):
1535 """__init__(self, int id=0, int edge=SASH_NONE) -> SashEvent"""
1536 newobj
= _windows_
.new_SashEvent(*args
, **kwargs
)
1537 self
.this
= newobj
.this
1540 def SetEdge(*args
, **kwargs
):
1541 """SetEdge(self, int edge)"""
1542 return _windows_
.SashEvent_SetEdge(*args
, **kwargs
)
1544 def GetEdge(*args
, **kwargs
):
1545 """GetEdge(self) -> int"""
1546 return _windows_
.SashEvent_GetEdge(*args
, **kwargs
)
1548 def SetDragRect(*args
, **kwargs
):
1549 """SetDragRect(self, Rect rect)"""
1550 return _windows_
.SashEvent_SetDragRect(*args
, **kwargs
)
1552 def GetDragRect(*args
, **kwargs
):
1553 """GetDragRect(self) -> Rect"""
1554 return _windows_
.SashEvent_GetDragRect(*args
, **kwargs
)
1556 def SetDragStatus(*args
, **kwargs
):
1557 """SetDragStatus(self, int status)"""
1558 return _windows_
.SashEvent_SetDragStatus(*args
, **kwargs
)
1560 def GetDragStatus(*args
, **kwargs
):
1561 """GetDragStatus(self) -> int"""
1562 return _windows_
.SashEvent_GetDragStatus(*args
, **kwargs
)
1565 class SashEventPtr(SashEvent
):
1566 def __init__(self
, this
):
1568 if not hasattr(self
,"thisown"): self
.thisown
= 0
1569 self
.__class
__ = SashEvent
1570 _windows_
.SashEvent_swigregister(SashEventPtr
)
1572 wxEVT_SASH_DRAGGED
= _windows_
.wxEVT_SASH_DRAGGED
1573 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
1574 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
1576 #---------------------------------------------------------------------------
1578 LAYOUT_HORIZONTAL
= _windows_
.LAYOUT_HORIZONTAL
1579 LAYOUT_VERTICAL
= _windows_
.LAYOUT_VERTICAL
1580 LAYOUT_NONE
= _windows_
.LAYOUT_NONE
1581 LAYOUT_TOP
= _windows_
.LAYOUT_TOP
1582 LAYOUT_LEFT
= _windows_
.LAYOUT_LEFT
1583 LAYOUT_RIGHT
= _windows_
.LAYOUT_RIGHT
1584 LAYOUT_BOTTOM
= _windows_
.LAYOUT_BOTTOM
1585 LAYOUT_LENGTH_Y
= _windows_
.LAYOUT_LENGTH_Y
1586 LAYOUT_LENGTH_X
= _windows_
.LAYOUT_LENGTH_X
1587 LAYOUT_MRU_LENGTH
= _windows_
.LAYOUT_MRU_LENGTH
1588 LAYOUT_QUERY
= _windows_
.LAYOUT_QUERY
1589 wxEVT_QUERY_LAYOUT_INFO
= _windows_
.wxEVT_QUERY_LAYOUT_INFO
1590 wxEVT_CALCULATE_LAYOUT
= _windows_
.wxEVT_CALCULATE_LAYOUT
1591 class QueryLayoutInfoEvent(_core
.Event
):
1592 """Proxy of C++ QueryLayoutInfoEvent class"""
1594 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1595 def __init__(self
, *args
, **kwargs
):
1596 """__init__(self, int id=0) -> QueryLayoutInfoEvent"""
1597 newobj
= _windows_
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1598 self
.this
= newobj
.this
1601 def SetRequestedLength(*args
, **kwargs
):
1602 """SetRequestedLength(self, int length)"""
1603 return _windows_
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1605 def GetRequestedLength(*args
, **kwargs
):
1606 """GetRequestedLength(self) -> int"""
1607 return _windows_
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1609 def SetFlags(*args
, **kwargs
):
1610 """SetFlags(self, int flags)"""
1611 return _windows_
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1613 def GetFlags(*args
, **kwargs
):
1614 """GetFlags(self) -> int"""
1615 return _windows_
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1617 def SetSize(*args
, **kwargs
):
1618 """SetSize(self, Size size)"""
1619 return _windows_
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1621 def GetSize(*args
, **kwargs
):
1622 """GetSize(self) -> Size"""
1623 return _windows_
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1625 def SetOrientation(*args
, **kwargs
):
1626 """SetOrientation(self, int orient)"""
1627 return _windows_
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1629 def GetOrientation(*args
, **kwargs
):
1630 """GetOrientation(self) -> int"""
1631 return _windows_
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1633 def SetAlignment(*args
, **kwargs
):
1634 """SetAlignment(self, int align)"""
1635 return _windows_
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1637 def GetAlignment(*args
, **kwargs
):
1638 """GetAlignment(self) -> int"""
1639 return _windows_
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1642 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1643 def __init__(self
, this
):
1645 if not hasattr(self
,"thisown"): self
.thisown
= 0
1646 self
.__class
__ = QueryLayoutInfoEvent
1647 _windows_
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1649 class CalculateLayoutEvent(_core
.Event
):
1650 """Proxy of C++ CalculateLayoutEvent class"""
1652 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1653 def __init__(self
, *args
, **kwargs
):
1654 """__init__(self, int id=0) -> CalculateLayoutEvent"""
1655 newobj
= _windows_
.new_CalculateLayoutEvent(*args
, **kwargs
)
1656 self
.this
= newobj
.this
1659 def SetFlags(*args
, **kwargs
):
1660 """SetFlags(self, int flags)"""
1661 return _windows_
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1663 def GetFlags(*args
, **kwargs
):
1664 """GetFlags(self) -> int"""
1665 return _windows_
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1667 def SetRect(*args
, **kwargs
):
1668 """SetRect(self, Rect rect)"""
1669 return _windows_
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1671 def GetRect(*args
, **kwargs
):
1672 """GetRect(self) -> Rect"""
1673 return _windows_
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1676 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1677 def __init__(self
, this
):
1679 if not hasattr(self
,"thisown"): self
.thisown
= 0
1680 self
.__class
__ = CalculateLayoutEvent
1681 _windows_
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1683 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1684 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1686 class SashLayoutWindow(SashWindow
):
1687 """Proxy of C++ SashLayoutWindow class"""
1689 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1690 def __init__(self
, *args
, **kwargs
):
1692 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1693 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1694 String name=SashLayoutNameStr) -> SashLayoutWindow
1696 newobj
= _windows_
.new_SashLayoutWindow(*args
, **kwargs
)
1697 self
.this
= newobj
.this
1700 self
._setOORInfo
(self
)
1702 def Create(*args
, **kwargs
):
1704 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1705 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1706 String name=SashLayoutNameStr) -> bool
1708 return _windows_
.SashLayoutWindow_Create(*args
, **kwargs
)
1710 def GetAlignment(*args
, **kwargs
):
1711 """GetAlignment(self) -> int"""
1712 return _windows_
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1714 def GetOrientation(*args
, **kwargs
):
1715 """GetOrientation(self) -> int"""
1716 return _windows_
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1718 def SetAlignment(*args
, **kwargs
):
1719 """SetAlignment(self, int alignment)"""
1720 return _windows_
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1722 def SetDefaultSize(*args
, **kwargs
):
1723 """SetDefaultSize(self, Size size)"""
1724 return _windows_
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1726 def SetOrientation(*args
, **kwargs
):
1727 """SetOrientation(self, int orientation)"""
1728 return _windows_
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1731 class SashLayoutWindowPtr(SashLayoutWindow
):
1732 def __init__(self
, this
):
1734 if not hasattr(self
,"thisown"): self
.thisown
= 0
1735 self
.__class
__ = SashLayoutWindow
1736 _windows_
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1738 def PreSashLayoutWindow(*args
, **kwargs
):
1739 """PreSashLayoutWindow() -> SashLayoutWindow"""
1740 val
= _windows_
.new_PreSashLayoutWindow(*args
, **kwargs
)
1744 class LayoutAlgorithm(_core
.Object
):
1745 """Proxy of C++ LayoutAlgorithm class"""
1747 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1748 def __init__(self
, *args
, **kwargs
):
1749 """__init__(self) -> LayoutAlgorithm"""
1750 newobj
= _windows_
.new_LayoutAlgorithm(*args
, **kwargs
)
1751 self
.this
= newobj
.this
1754 def __del__(self
, destroy
=_windows_
.delete_LayoutAlgorithm
):
1757 if self
.thisown
: destroy(self
)
1760 def LayoutMDIFrame(*args
, **kwargs
):
1761 """LayoutMDIFrame(self, MDIParentFrame frame, Rect rect=None) -> bool"""
1762 return _windows_
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1764 def LayoutFrame(*args
, **kwargs
):
1765 """LayoutFrame(self, Frame frame, Window mainWindow=None) -> bool"""
1766 return _windows_
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1768 def LayoutWindow(*args
, **kwargs
):
1769 """LayoutWindow(self, Window parent, Window mainWindow=None) -> bool"""
1770 return _windows_
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1773 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1774 def __init__(self
, this
):
1776 if not hasattr(self
,"thisown"): self
.thisown
= 0
1777 self
.__class
__ = LayoutAlgorithm
1778 _windows_
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1780 class PopupWindow(_core
.Window
):
1781 """Proxy of C++ PopupWindow class"""
1783 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1784 def __init__(self
, *args
, **kwargs
):
1785 """__init__(self, Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1786 newobj
= _windows_
.new_PopupWindow(*args
, **kwargs
)
1787 self
.this
= newobj
.this
1791 class PopupWindowPtr(PopupWindow
):
1792 def __init__(self
, this
):
1794 if not hasattr(self
,"thisown"): self
.thisown
= 0
1795 self
.__class
__ = PopupWindow
1796 _windows_
.PopupWindow_swigregister(PopupWindowPtr
)
1798 def PrePopupWindow(*args
, **kwargs
):
1799 """PrePopupWindow() -> PopupWindow"""
1800 val
= _windows_
.new_PrePopupWindow(*args
, **kwargs
)
1804 class PopupTransientWindow(PopupWindow
):
1805 """Proxy of C++ PopupTransientWindow class"""
1807 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1808 def __init__(self
, *args
, **kwargs
):
1809 """__init__(self, Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1810 newobj
= _windows_
.new_PopupTransientWindow(*args
, **kwargs
)
1811 self
.this
= newobj
.this
1815 class PopupTransientWindowPtr(PopupTransientWindow
):
1816 def __init__(self
, this
):
1818 if not hasattr(self
,"thisown"): self
.thisown
= 0
1819 self
.__class
__ = PopupTransientWindow
1820 _windows_
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1822 def PrePopupTransientWindow(*args
, **kwargs
):
1823 """PrePopupTransientWindow() -> PopupTransientWindow"""
1824 val
= _windows_
.new_PrePopupTransientWindow(*args
, **kwargs
)
1828 #---------------------------------------------------------------------------
1830 class TipWindow(Frame
):
1831 """Proxy of C++ TipWindow class"""
1833 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1834 def __init__(self
, *args
, **kwargs
):
1835 """__init__(self, Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1836 newobj
= _windows_
.new_TipWindow(*args
, **kwargs
)
1837 self
.this
= newobj
.this
1840 self
._setOORInfo
(self
)
1842 def SetBoundingRect(*args
, **kwargs
):
1843 """SetBoundingRect(self, Rect rectBound)"""
1844 return _windows_
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1846 def Close(*args
, **kwargs
):
1850 This function simply generates a EVT_CLOSE event whose handler usually
1851 tries to close the window. It doesn't close the window itself,
1852 however. If force is False (the default) then the window's close
1853 handler will be allowed to veto the destruction of the window.
1855 return _windows_
.TipWindow_Close(*args
, **kwargs
)
1858 class TipWindowPtr(TipWindow
):
1859 def __init__(self
, this
):
1861 if not hasattr(self
,"thisown"): self
.thisown
= 0
1862 self
.__class
__ = TipWindow
1863 _windows_
.TipWindow_swigregister(TipWindowPtr
)
1865 #---------------------------------------------------------------------------
1867 class VScrolledWindow(Panel
):
1868 """Proxy of C++ VScrolledWindow class"""
1870 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1871 def __init__(self
, *args
, **kwargs
):
1873 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1874 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
1876 newobj
= _windows_
.new_VScrolledWindow(*args
, **kwargs
)
1877 self
.this
= newobj
.this
1880 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1882 def _setCallbackInfo(*args
, **kwargs
):
1883 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1884 return _windows_
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1886 def Create(*args
, **kwargs
):
1888 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1889 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
1891 return _windows_
.VScrolledWindow_Create(*args
, **kwargs
)
1893 def SetLineCount(*args
, **kwargs
):
1894 """SetLineCount(self, size_t count)"""
1895 return _windows_
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1897 def ScrollToLine(*args
, **kwargs
):
1898 """ScrollToLine(self, size_t line) -> bool"""
1899 return _windows_
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1901 def ScrollLines(*args
, **kwargs
):
1903 ScrollLines(self, int lines) -> bool
1905 If the platform and window class supports it, scrolls the window by
1906 the given number of lines down, if lines is positive, or up if lines
1907 is negative. Returns True if the window was scrolled, False if it was
1908 already on top/bottom and nothing was done.
1910 return _windows_
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1912 def ScrollPages(*args
, **kwargs
):
1914 ScrollPages(self, int pages) -> bool
1916 If the platform and window class supports it, scrolls the window by
1917 the given number of pages down, if pages is positive, or up if pages
1918 is negative. Returns True if the window was scrolled, False if it was
1919 already on top/bottom and nothing was done.
1921 return _windows_
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1923 def RefreshLine(*args
, **kwargs
):
1924 """RefreshLine(self, size_t line)"""
1925 return _windows_
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1927 def RefreshLines(*args
, **kwargs
):
1928 """RefreshLines(self, size_t from, size_t to)"""
1929 return _windows_
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1931 def HitTestXY(*args
, **kwargs
):
1933 HitTestXY(self, int x, int y) -> int
1935 Test where the given (in client coords) point lies
1937 return _windows_
.VScrolledWindow_HitTestXY(*args
, **kwargs
)
1939 def HitTest(*args
, **kwargs
):
1941 HitTest(self, Point pt) -> int
1943 Test where the given (in client coords) point lies
1945 return _windows_
.VScrolledWindow_HitTest(*args
, **kwargs
)
1947 def RefreshAll(*args
, **kwargs
):
1948 """RefreshAll(self)"""
1949 return _windows_
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1951 def GetLineCount(*args
, **kwargs
):
1952 """GetLineCount(self) -> size_t"""
1953 return _windows_
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1955 def GetVisibleBegin(*args
, **kwargs
):
1956 """GetVisibleBegin(self) -> size_t"""
1957 return _windows_
.VScrolledWindow_GetVisibleBegin(*args
, **kwargs
)
1959 def GetVisibleEnd(*args
, **kwargs
):
1960 """GetVisibleEnd(self) -> size_t"""
1961 return _windows_
.VScrolledWindow_GetVisibleEnd(*args
, **kwargs
)
1963 def IsVisible(*args
, **kwargs
):
1964 """IsVisible(self, size_t line) -> bool"""
1965 return _windows_
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1967 def GetFirstVisibleLine(*args
, **kwargs
):
1968 """GetFirstVisibleLine(self) -> size_t"""
1969 return _windows_
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1971 def GetLastVisibleLine(*args
, **kwargs
):
1972 """GetLastVisibleLine(self) -> size_t"""
1973 return _windows_
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1976 class VScrolledWindowPtr(VScrolledWindow
):
1977 def __init__(self
, this
):
1979 if not hasattr(self
,"thisown"): self
.thisown
= 0
1980 self
.__class
__ = VScrolledWindow
1981 _windows_
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
1983 def PreVScrolledWindow(*args
, **kwargs
):
1984 """PreVScrolledWindow() -> VScrolledWindow"""
1985 val
= _windows_
.new_PreVScrolledWindow(*args
, **kwargs
)
1989 class VListBox(VScrolledWindow
):
1990 """Proxy of C++ VListBox class"""
1992 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1993 def __init__(self
, *args
, **kwargs
):
1995 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1996 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
1998 newobj
= _windows_
.new_VListBox(*args
, **kwargs
)
1999 self
.this
= newobj
.this
2002 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
2004 def _setCallbackInfo(*args
, **kwargs
):
2005 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2006 return _windows_
.VListBox__setCallbackInfo(*args
, **kwargs
)
2008 def Create(*args
, **kwargs
):
2010 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2011 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
2013 return _windows_
.VListBox_Create(*args
, **kwargs
)
2015 def GetItemCount(*args
, **kwargs
):
2016 """GetItemCount(self) -> size_t"""
2017 return _windows_
.VListBox_GetItemCount(*args
, **kwargs
)
2019 def HasMultipleSelection(*args
, **kwargs
):
2020 """HasMultipleSelection(self) -> bool"""
2021 return _windows_
.VListBox_HasMultipleSelection(*args
, **kwargs
)
2023 def GetSelection(*args
, **kwargs
):
2024 """GetSelection(self) -> int"""
2025 return _windows_
.VListBox_GetSelection(*args
, **kwargs
)
2027 def IsCurrent(*args
, **kwargs
):
2028 """IsCurrent(self, size_t item) -> bool"""
2029 return _windows_
.VListBox_IsCurrent(*args
, **kwargs
)
2031 def IsSelected(*args
, **kwargs
):
2032 """IsSelected(self, size_t item) -> bool"""
2033 return _windows_
.VListBox_IsSelected(*args
, **kwargs
)
2035 def GetSelectedCount(*args
, **kwargs
):
2036 """GetSelectedCount(self) -> size_t"""
2037 return _windows_
.VListBox_GetSelectedCount(*args
, **kwargs
)
2039 def GetFirstSelected(*args
, **kwargs
):
2040 """GetFirstSelected(self) -> PyObject"""
2041 return _windows_
.VListBox_GetFirstSelected(*args
, **kwargs
)
2043 def GetNextSelected(*args
, **kwargs
):
2044 """GetNextSelected(self, unsigned long cookie) -> PyObject"""
2045 return _windows_
.VListBox_GetNextSelected(*args
, **kwargs
)
2047 def GetMargins(*args
, **kwargs
):
2048 """GetMargins(self) -> Point"""
2049 return _windows_
.VListBox_GetMargins(*args
, **kwargs
)
2051 def GetSelectionBackground(*args
, **kwargs
):
2052 """GetSelectionBackground(self) -> Colour"""
2053 return _windows_
.VListBox_GetSelectionBackground(*args
, **kwargs
)
2055 def SetItemCount(*args
, **kwargs
):
2056 """SetItemCount(self, size_t count)"""
2057 return _windows_
.VListBox_SetItemCount(*args
, **kwargs
)
2059 def Clear(*args
, **kwargs
):
2061 return _windows_
.VListBox_Clear(*args
, **kwargs
)
2063 def SetSelection(*args
, **kwargs
):
2064 """SetSelection(self, int selection)"""
2065 return _windows_
.VListBox_SetSelection(*args
, **kwargs
)
2067 def Select(*args
, **kwargs
):
2068 """Select(self, size_t item, bool select=True) -> bool"""
2069 return _windows_
.VListBox_Select(*args
, **kwargs
)
2071 def SelectRange(*args
, **kwargs
):
2072 """SelectRange(self, size_t from, size_t to) -> bool"""
2073 return _windows_
.VListBox_SelectRange(*args
, **kwargs
)
2075 def Toggle(*args
, **kwargs
):
2076 """Toggle(self, size_t item)"""
2077 return _windows_
.VListBox_Toggle(*args
, **kwargs
)
2079 def SelectAll(*args
, **kwargs
):
2080 """SelectAll(self) -> bool"""
2081 return _windows_
.VListBox_SelectAll(*args
, **kwargs
)
2083 def DeselectAll(*args
, **kwargs
):
2084 """DeselectAll(self) -> bool"""
2085 return _windows_
.VListBox_DeselectAll(*args
, **kwargs
)
2087 def SetMargins(*args
, **kwargs
):
2088 """SetMargins(self, Point pt)"""
2089 return _windows_
.VListBox_SetMargins(*args
, **kwargs
)
2091 def SetMarginsXY(*args
, **kwargs
):
2092 """SetMarginsXY(self, int x, int y)"""
2093 return _windows_
.VListBox_SetMarginsXY(*args
, **kwargs
)
2095 def SetSelectionBackground(*args
, **kwargs
):
2096 """SetSelectionBackground(self, Colour col)"""
2097 return _windows_
.VListBox_SetSelectionBackground(*args
, **kwargs
)
2100 class VListBoxPtr(VListBox
):
2101 def __init__(self
, this
):
2103 if not hasattr(self
,"thisown"): self
.thisown
= 0
2104 self
.__class
__ = VListBox
2105 _windows_
.VListBox_swigregister(VListBoxPtr
)
2106 VListBoxNameStr
= cvar
.VListBoxNameStr
2108 def PreVListBox(*args
, **kwargs
):
2109 """PreVListBox() -> VListBox"""
2110 val
= _windows_
.new_PreVListBox(*args
, **kwargs
)
2114 class HtmlListBox(VListBox
):
2115 """Proxy of C++ HtmlListBox class"""
2117 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2118 def __init__(self
, *args
, **kwargs
):
2120 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2121 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
2123 newobj
= _windows_
.new_HtmlListBox(*args
, **kwargs
)
2124 self
.this
= newobj
.this
2127 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
2129 def _setCallbackInfo(*args
, **kwargs
):
2130 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2131 return _windows_
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
2133 def Create(*args
, **kwargs
):
2135 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2136 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
2138 return _windows_
.HtmlListBox_Create(*args
, **kwargs
)
2140 def RefreshAll(*args
, **kwargs
):
2141 """RefreshAll(self)"""
2142 return _windows_
.HtmlListBox_RefreshAll(*args
, **kwargs
)
2144 def SetItemCount(*args
, **kwargs
):
2145 """SetItemCount(self, size_t count)"""
2146 return _windows_
.HtmlListBox_SetItemCount(*args
, **kwargs
)
2148 def GetFileSystem(*args
, **kwargs
):
2149 """GetFileSystem(self) -> FileSystem"""
2150 return _windows_
.HtmlListBox_GetFileSystem(*args
, **kwargs
)
2153 class HtmlListBoxPtr(HtmlListBox
):
2154 def __init__(self
, this
):
2156 if not hasattr(self
,"thisown"): self
.thisown
= 0
2157 self
.__class
__ = HtmlListBox
2158 _windows_
.HtmlListBox_swigregister(HtmlListBoxPtr
)
2160 def PreHtmlListBox(*args
, **kwargs
):
2161 """PreHtmlListBox() -> HtmlListBox"""
2162 val
= _windows_
.new_PreHtmlListBox(*args
, **kwargs
)
2166 #---------------------------------------------------------------------------
2168 class TaskBarIcon(_core
.EvtHandler
):
2169 """Proxy of C++ TaskBarIcon class"""
2171 return "<%s.%s; proxy of C++ wxPyTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2172 def __init__(self
, *args
, **kwargs
):
2173 """__init__(self) -> TaskBarIcon"""
2174 newobj
= _windows_
.new_TaskBarIcon(*args
, **kwargs
)
2175 self
.this
= newobj
.this
2178 self
._setCallbackInfo
(self
, TaskBarIcon
, 0)
2180 def _setCallbackInfo(*args
, **kwargs
):
2181 """_setCallbackInfo(self, PyObject self, PyObject _class, int incref)"""
2182 return _windows_
.TaskBarIcon__setCallbackInfo(*args
, **kwargs
)
2184 def Destroy(*args
, **kwargs
):
2188 Deletes the C++ object this Python object is a proxy for.
2190 return _windows_
.TaskBarIcon_Destroy(*args
, **kwargs
)
2192 def IsOk(*args
, **kwargs
):
2193 """IsOk(self) -> bool"""
2194 return _windows_
.TaskBarIcon_IsOk(*args
, **kwargs
)
2196 def __nonzero__(self
): return self
.IsOk()
2197 def IsIconInstalled(*args
, **kwargs
):
2198 """IsIconInstalled(self) -> bool"""
2199 return _windows_
.TaskBarIcon_IsIconInstalled(*args
, **kwargs
)
2201 def SetIcon(*args
, **kwargs
):
2202 """SetIcon(self, Icon icon, String tooltip=EmptyString) -> bool"""
2203 return _windows_
.TaskBarIcon_SetIcon(*args
, **kwargs
)
2205 def RemoveIcon(*args
, **kwargs
):
2206 """RemoveIcon(self) -> bool"""
2207 return _windows_
.TaskBarIcon_RemoveIcon(*args
, **kwargs
)
2209 def PopupMenu(*args
, **kwargs
):
2210 """PopupMenu(self, Menu menu) -> bool"""
2211 return _windows_
.TaskBarIcon_PopupMenu(*args
, **kwargs
)
2214 class TaskBarIconPtr(TaskBarIcon
):
2215 def __init__(self
, this
):
2217 if not hasattr(self
,"thisown"): self
.thisown
= 0
2218 self
.__class
__ = TaskBarIcon
2219 _windows_
.TaskBarIcon_swigregister(TaskBarIconPtr
)
2221 class TaskBarIconEvent(_core
.Event
):
2222 """Proxy of C++ TaskBarIconEvent class"""
2224 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2225 def __init__(self
, *args
, **kwargs
):
2226 """__init__(self, wxEventType evtType, wxTaskBarIcon tbIcon) -> TaskBarIconEvent"""
2227 newobj
= _windows_
.new_TaskBarIconEvent(*args
, **kwargs
)
2228 self
.this
= newobj
.this
2232 class TaskBarIconEventPtr(TaskBarIconEvent
):
2233 def __init__(self
, this
):
2235 if not hasattr(self
,"thisown"): self
.thisown
= 0
2236 self
.__class
__ = TaskBarIconEvent
2237 _windows_
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
2239 wxEVT_TASKBAR_MOVE
= _windows_
.wxEVT_TASKBAR_MOVE
2240 wxEVT_TASKBAR_LEFT_DOWN
= _windows_
.wxEVT_TASKBAR_LEFT_DOWN
2241 wxEVT_TASKBAR_LEFT_UP
= _windows_
.wxEVT_TASKBAR_LEFT_UP
2242 wxEVT_TASKBAR_RIGHT_DOWN
= _windows_
.wxEVT_TASKBAR_RIGHT_DOWN
2243 wxEVT_TASKBAR_RIGHT_UP
= _windows_
.wxEVT_TASKBAR_RIGHT_UP
2244 wxEVT_TASKBAR_LEFT_DCLICK
= _windows_
.wxEVT_TASKBAR_LEFT_DCLICK
2245 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows_
.wxEVT_TASKBAR_RIGHT_DCLICK
2246 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
2247 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
2248 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
2249 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
2250 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
2251 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
2252 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
2254 #---------------------------------------------------------------------------
2256 class ColourData(_core
.Object
):
2258 This class holds a variety of information related to the colour
2259 chooser dialog, used to transfer settings and results to and from the
2263 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2264 def __init__(self
, *args
, **kwargs
):
2266 __init__(self) -> ColourData
2268 Constructor, sets default values.
2270 newobj
= _windows_
.new_ColourData(*args
, **kwargs
)
2271 self
.this
= newobj
.this
2274 def __del__(self
, destroy
=_windows_
.delete_ColourData
):
2277 if self
.thisown
: destroy(self
)
2280 def GetChooseFull(*args
, **kwargs
):
2282 GetChooseFull(self) -> bool
2284 Under Windows, determines whether the Windows colour dialog will
2285 display the full dialog with custom colour selection controls. Has no
2286 meaning under other platforms. The default value is true.
2288 return _windows_
.ColourData_GetChooseFull(*args
, **kwargs
)
2290 def GetColour(*args
, **kwargs
):
2292 GetColour(self) -> Colour
2294 Gets the colour (pre)selected by the dialog.
2296 return _windows_
.ColourData_GetColour(*args
, **kwargs
)
2298 def GetCustomColour(*args
, **kwargs
):
2300 GetCustomColour(self, int i) -> Colour
2302 Gets the i'th custom colour associated with the colour dialog. i
2303 should be an integer between 0 and 15. The default custom colours are
2304 all invalid colours.
2306 return _windows_
.ColourData_GetCustomColour(*args
, **kwargs
)
2308 def SetChooseFull(*args
, **kwargs
):
2310 SetChooseFull(self, int flag)
2312 Under Windows, tells the Windows colour dialog to display the full
2313 dialog with custom colour selection controls. Under other platforms,
2314 has no effect. The default value is true.
2316 return _windows_
.ColourData_SetChooseFull(*args
, **kwargs
)
2318 def SetColour(*args
, **kwargs
):
2320 SetColour(self, Colour colour)
2322 Sets the default colour for the colour dialog. The default colour is
2325 return _windows_
.ColourData_SetColour(*args
, **kwargs
)
2327 def SetCustomColour(*args
, **kwargs
):
2329 SetCustomColour(self, int i, Colour colour)
2331 Sets the i'th custom colour for the colour dialog. i should be an
2332 integer between 0 and 15. The default custom colours are all invalid colours.
2334 return _windows_
.ColourData_SetCustomColour(*args
, **kwargs
)
2337 class ColourDataPtr(ColourData
):
2338 def __init__(self
, this
):
2340 if not hasattr(self
,"thisown"): self
.thisown
= 0
2341 self
.__class
__ = ColourData
2342 _windows_
.ColourData_swigregister(ColourDataPtr
)
2343 FileSelectorPromptStr
= cvar
.FileSelectorPromptStr
2344 DirSelectorPromptStr
= cvar
.DirSelectorPromptStr
2345 DirDialogNameStr
= cvar
.DirDialogNameStr
2346 FileSelectorDefaultWildcardStr
= cvar
.FileSelectorDefaultWildcardStr
2347 GetTextFromUserPromptStr
= cvar
.GetTextFromUserPromptStr
2348 MessageBoxCaptionStr
= cvar
.MessageBoxCaptionStr
2350 class ColourDialog(Dialog
):
2351 """This class represents the colour chooser dialog."""
2353 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2354 def __init__(self
, *args
, **kwargs
):
2356 __init__(self, Window parent, ColourData data=None) -> ColourDialog
2358 Constructor. Pass a parent window, and optionally a `wx.ColourData`,
2359 which will be copied to the colour dialog's internal ColourData
2362 newobj
= _windows_
.new_ColourDialog(*args
, **kwargs
)
2363 self
.this
= newobj
.this
2366 self
._setOORInfo
(self
)
2368 def GetColourData(*args
, **kwargs
):
2370 GetColourData(self) -> ColourData
2372 Returns a reference to the `wx.ColourData` used by the dialog.
2374 return _windows_
.ColourDialog_GetColourData(*args
, **kwargs
)
2377 class ColourDialogPtr(ColourDialog
):
2378 def __init__(self
, this
):
2380 if not hasattr(self
,"thisown"): self
.thisown
= 0
2381 self
.__class
__ = ColourDialog
2382 _windows_
.ColourDialog_swigregister(ColourDialogPtr
)
2384 class DirDialog(Dialog
):
2386 wx.DirDialog allows the user to select a directory by browising the
2390 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2391 def __init__(self
, *args
, **kwargs
):
2393 __init__(self, Window parent, String message=DirSelectorPromptStr,
2394 String defaultPath=EmptyString, long style=0,
2395 Point pos=DefaultPosition, Size size=DefaultSize,
2396 String name=DirDialogNameStr) -> DirDialog
2398 Constructor. Use ShowModal method to show the dialog.
2400 newobj
= _windows_
.new_DirDialog(*args
, **kwargs
)
2401 self
.this
= newobj
.this
2404 self
._setOORInfo
(self
)
2406 def GetPath(*args
, **kwargs
):
2408 GetPath(self) -> String
2410 Returns the default or user-selected path.
2412 return _windows_
.DirDialog_GetPath(*args
, **kwargs
)
2414 def GetMessage(*args
, **kwargs
):
2416 GetMessage(self) -> String
2418 Returns the message that will be displayed on the dialog.
2420 return _windows_
.DirDialog_GetMessage(*args
, **kwargs
)
2422 def GetStyle(*args
, **kwargs
):
2424 GetStyle(self) -> long
2426 Returns the dialog style.
2428 return _windows_
.DirDialog_GetStyle(*args
, **kwargs
)
2430 def SetMessage(*args
, **kwargs
):
2432 SetMessage(self, String message)
2434 Sets the message that will be displayed on the dialog.
2436 return _windows_
.DirDialog_SetMessage(*args
, **kwargs
)
2438 def SetPath(*args
, **kwargs
):
2440 SetPath(self, String path)
2442 Sets the default path.
2444 return _windows_
.DirDialog_SetPath(*args
, **kwargs
)
2447 class DirDialogPtr(DirDialog
):
2448 def __init__(self
, this
):
2450 if not hasattr(self
,"thisown"): self
.thisown
= 0
2451 self
.__class
__ = DirDialog
2452 _windows_
.DirDialog_swigregister(DirDialogPtr
)
2454 class FileDialog(Dialog
):
2456 wx.FileDialog allows the user to select one or more files from the
2460 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2461 def __init__(self
, *args
, **kwargs
):
2463 __init__(self, Window parent, String message=FileSelectorPromptStr,
2464 String defaultDir=EmptyString, String defaultFile=EmptyString,
2465 String wildcard=FileSelectorDefaultWildcardStr,
2466 long style=0, Point pos=DefaultPosition) -> FileDialog
2468 Constructor. Use ShowModal method to show the dialog.
2470 newobj
= _windows_
.new_FileDialog(*args
, **kwargs
)
2471 self
.this
= newobj
.this
2474 self
._setOORInfo
(self
)
2476 def SetMessage(*args
, **kwargs
):
2478 SetMessage(self, String message)
2480 Sets the message that will be displayed on the dialog.
2482 return _windows_
.FileDialog_SetMessage(*args
, **kwargs
)
2484 def SetPath(*args
, **kwargs
):
2486 SetPath(self, String path)
2488 Sets the path (the combined directory and filename that will be
2489 returned when the dialog is dismissed).
2491 return _windows_
.FileDialog_SetPath(*args
, **kwargs
)
2493 def SetDirectory(*args
, **kwargs
):
2495 SetDirectory(self, String dir)
2497 Sets the default directory.
2499 return _windows_
.FileDialog_SetDirectory(*args
, **kwargs
)
2501 def SetFilename(*args
, **kwargs
):
2503 SetFilename(self, String name)
2505 Sets the default filename.
2507 return _windows_
.FileDialog_SetFilename(*args
, **kwargs
)
2509 def SetWildcard(*args
, **kwargs
):
2511 SetWildcard(self, String wildCard)
2513 Sets the wildcard, which can contain multiple file types, for
2516 "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
2519 return _windows_
.FileDialog_SetWildcard(*args
, **kwargs
)
2521 def SetStyle(*args
, **kwargs
):
2523 SetStyle(self, long style)
2525 Sets the dialog style.
2527 return _windows_
.FileDialog_SetStyle(*args
, **kwargs
)
2529 def SetFilterIndex(*args
, **kwargs
):
2531 SetFilterIndex(self, int filterIndex)
2533 Sets the default filter index, starting from zero.
2535 return _windows_
.FileDialog_SetFilterIndex(*args
, **kwargs
)
2537 def GetMessage(*args
, **kwargs
):
2539 GetMessage(self) -> String
2541 Returns the message that will be displayed on the dialog.
2543 return _windows_
.FileDialog_GetMessage(*args
, **kwargs
)
2545 def GetPath(*args
, **kwargs
):
2547 GetPath(self) -> String
2549 Returns the full path (directory and filename) of the selected file.
2551 return _windows_
.FileDialog_GetPath(*args
, **kwargs
)
2553 def GetDirectory(*args
, **kwargs
):
2555 GetDirectory(self) -> String
2557 Returns the default directory.
2559 return _windows_
.FileDialog_GetDirectory(*args
, **kwargs
)
2561 def GetFilename(*args
, **kwargs
):
2563 GetFilename(self) -> String
2565 Returns the default filename.
2567 return _windows_
.FileDialog_GetFilename(*args
, **kwargs
)
2569 def GetWildcard(*args
, **kwargs
):
2571 GetWildcard(self) -> String
2573 Returns the file dialog wildcard.
2575 return _windows_
.FileDialog_GetWildcard(*args
, **kwargs
)
2577 def GetStyle(*args
, **kwargs
):
2579 GetStyle(self) -> long
2581 Returns the dialog style.
2583 return _windows_
.FileDialog_GetStyle(*args
, **kwargs
)
2585 def GetFilterIndex(*args
, **kwargs
):
2587 GetFilterIndex(self) -> int
2589 Returns the index into the list of filters supplied, optionally, in
2590 the wildcard parameter. Before the dialog is shown, this is the index
2591 which will be used when the dialog is first displayed. After the
2592 dialog is shown, this is the index selected by the user.
2594 return _windows_
.FileDialog_GetFilterIndex(*args
, **kwargs
)
2596 def GetFilenames(*args
, **kwargs
):
2598 GetFilenames(self) -> PyObject
2600 Returns a list of filenames chosen in the dialog. This function
2601 should only be used with the dialogs which have wx.MULTIPLE style, use
2602 GetFilename for the others.
2604 return _windows_
.FileDialog_GetFilenames(*args
, **kwargs
)
2606 def GetPaths(*args
, **kwargs
):
2608 GetPaths(self) -> PyObject
2610 Fills the array paths with the full paths of the files chosen. This
2611 function should only be used with the dialogs which have wx.MULTIPLE
2612 style, use GetPath for the others.
2614 return _windows_
.FileDialog_GetPaths(*args
, **kwargs
)
2617 class FileDialogPtr(FileDialog
):
2618 def __init__(self
, this
):
2620 if not hasattr(self
,"thisown"): self
.thisown
= 0
2621 self
.__class
__ = FileDialog
2622 _windows_
.FileDialog_swigregister(FileDialogPtr
)
2624 CHOICEDLG_STYLE
= _windows_
.CHOICEDLG_STYLE
2625 class MultiChoiceDialog(Dialog
):
2626 """A simple dialog with a multi selection listbox."""
2628 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2629 def __init__(self
, *args
, **kwargs
):
2631 __init__(Window parent, String message, String caption,
2632 List choices=[], long style=CHOICEDLG_STYLE,
2633 Point pos=DefaultPosition) -> MultiChoiceDialog
2635 Constructor. Use ShowModal method to show the dialog.
2637 newobj
= _windows_
.new_MultiChoiceDialog(*args
, **kwargs
)
2638 self
.this
= newobj
.this
2641 self
._setOORInfo
(self
)
2643 def SetSelections(*args
, **kwargs
):
2645 SetSelections(List selections)
2647 Specify the items in the list that should be selected, using a list of
2650 return _windows_
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
2652 def GetSelections(*args
, **kwargs
):
2654 GetSelections() -> [selections]
2656 Returns a list of integers representing the items that are selected.
2658 return _windows_
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
2661 class MultiChoiceDialogPtr(MultiChoiceDialog
):
2662 def __init__(self
, this
):
2664 if not hasattr(self
,"thisown"): self
.thisown
= 0
2665 self
.__class
__ = MultiChoiceDialog
2666 _windows_
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
2668 class SingleChoiceDialog(Dialog
):
2669 """A simple dialog with a single selection listbox."""
2671 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2672 def __init__(self
, *args
, **kwargs
):
2674 __init__(Window parent, String message, String caption,
2675 List choices=[], long style=CHOICEDLG_STYLE,
2676 Point pos=DefaultPosition) -> SingleChoiceDialog
2678 Constructor. Use ShowModal method to show the dialog.
2680 newobj
= _windows_
.new_SingleChoiceDialog(*args
, **kwargs
)
2681 self
.this
= newobj
.this
2684 self
._setOORInfo
(self
)
2686 def GetSelection(*args
, **kwargs
):
2688 GetSelection(self) -> int
2690 Get the index of teh currently selected item.
2692 return _windows_
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
2694 def GetStringSelection(*args
, **kwargs
):
2696 GetStringSelection(self) -> String
2698 Returns the string value of the currently selected item
2700 return _windows_
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
2702 def SetSelection(*args
, **kwargs
):
2704 SetSelection(self, int sel)
2706 Set the current selected item to sel
2708 return _windows_
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
2711 class SingleChoiceDialogPtr(SingleChoiceDialog
):
2712 def __init__(self
, this
):
2714 if not hasattr(self
,"thisown"): self
.thisown
= 0
2715 self
.__class
__ = SingleChoiceDialog
2716 _windows_
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
2718 TextEntryDialogStyle
= _windows_
.TextEntryDialogStyle
2719 class TextEntryDialog(Dialog
):
2720 """A dialog with text control, [ok] and [cancel] buttons"""
2722 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2723 def __init__(self
, *args
, **kwargs
):
2725 __init__(self, Window parent, String message, String caption=GetTextFromUserPromptStr,
2726 String defaultValue=EmptyString,
2727 long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> TextEntryDialog
2729 Constructor. Use ShowModal method to show the dialog.
2731 newobj
= _windows_
.new_TextEntryDialog(*args
, **kwargs
)
2732 self
.this
= newobj
.this
2735 self
._setOORInfo
(self
)
2737 def GetValue(*args
, **kwargs
):
2739 GetValue(self) -> String
2741 Returns the text that the user has entered if the user has pressed OK,
2742 or the original value if the user has pressed Cancel.
2744 return _windows_
.TextEntryDialog_GetValue(*args
, **kwargs
)
2746 def SetValue(*args
, **kwargs
):
2748 SetValue(self, String value)
2750 Sets the default text value.
2752 return _windows_
.TextEntryDialog_SetValue(*args
, **kwargs
)
2755 class TextEntryDialogPtr(TextEntryDialog
):
2756 def __init__(self
, this
):
2758 if not hasattr(self
,"thisown"): self
.thisown
= 0
2759 self
.__class
__ = TextEntryDialog
2760 _windows_
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
2762 class PasswordEntryDialog(TextEntryDialog
):
2763 """Proxy of C++ PasswordEntryDialog class"""
2765 return "<%s.%s; proxy of C++ wxPasswordEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2766 def __init__(self
, *args
, **kwargs
):
2768 __init__(self, Window parent, String message, String caption=GetPasswordFromUserPromptStr,
2769 String value=EmptyString,
2770 long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> PasswordEntryDialog
2772 newobj
= _windows_
.new_PasswordEntryDialog(*args
, **kwargs
)
2773 self
.this
= newobj
.this
2777 class PasswordEntryDialogPtr(PasswordEntryDialog
):
2778 def __init__(self
, this
):
2780 if not hasattr(self
,"thisown"): self
.thisown
= 0
2781 self
.__class
__ = PasswordEntryDialog
2782 _windows_
.PasswordEntryDialog_swigregister(PasswordEntryDialogPtr
)
2783 GetPasswordFromUserPromptStr
= cvar
.GetPasswordFromUserPromptStr
2785 class FontData(_core
.Object
):
2787 This class holds a variety of information related to font dialogs and
2788 is used to transfer settings to and results from a `wx.FontDialog`.
2791 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2792 def __init__(self
, *args
, **kwargs
):
2794 __init__(self) -> FontData
2796 This class holds a variety of information related to font dialogs and
2797 is used to transfer settings to and results from a `wx.FontDialog`.
2799 newobj
= _windows_
.new_FontData(*args
, **kwargs
)
2800 self
.this
= newobj
.this
2803 def __del__(self
, destroy
=_windows_
.delete_FontData
):
2806 if self
.thisown
: destroy(self
)
2809 def EnableEffects(*args
, **kwargs
):
2811 EnableEffects(self, bool enable)
2813 Enables or disables 'effects' under MS Windows only. This refers to
2814 the controls for manipulating colour, strikeout and underline
2815 properties. The default value is true.
2817 return _windows_
.FontData_EnableEffects(*args
, **kwargs
)
2819 def GetAllowSymbols(*args
, **kwargs
):
2821 GetAllowSymbols(self) -> bool
2823 Under MS Windows, returns a flag determining whether symbol fonts can
2824 be selected. Has no effect on other platforms. The default value is
2827 return _windows_
.FontData_GetAllowSymbols(*args
, **kwargs
)
2829 def GetColour(*args
, **kwargs
):
2831 GetColour(self) -> Colour
2833 Gets the colour associated with the font dialog. The default value is
2836 return _windows_
.FontData_GetColour(*args
, **kwargs
)
2838 def GetChosenFont(*args
, **kwargs
):
2840 GetChosenFont(self) -> Font
2842 Gets the font chosen by the user.
2844 return _windows_
.FontData_GetChosenFont(*args
, **kwargs
)
2846 def GetEnableEffects(*args
, **kwargs
):
2848 GetEnableEffects(self) -> bool
2850 Determines whether 'effects' are enabled under Windows.
2852 return _windows_
.FontData_GetEnableEffects(*args
, **kwargs
)
2854 def GetInitialFont(*args
, **kwargs
):
2856 GetInitialFont(self) -> Font
2858 Gets the font that will be initially used by the font dialog. This
2859 should have previously been set by the application.
2861 return _windows_
.FontData_GetInitialFont(*args
, **kwargs
)
2863 def GetShowHelp(*args
, **kwargs
):
2865 GetShowHelp(self) -> bool
2867 Returns true if the Help button will be shown (Windows only). The
2868 default value is false.
2870 return _windows_
.FontData_GetShowHelp(*args
, **kwargs
)
2872 def SetAllowSymbols(*args
, **kwargs
):
2874 SetAllowSymbols(self, bool allowSymbols)
2876 Under MS Windows, determines whether symbol fonts can be selected. Has
2877 no effect on other platforms. The default value is true.
2879 return _windows_
.FontData_SetAllowSymbols(*args
, **kwargs
)
2881 def SetChosenFont(*args
, **kwargs
):
2883 SetChosenFont(self, Font font)
2885 Sets the font that will be returned to the user (normally for internal
2888 return _windows_
.FontData_SetChosenFont(*args
, **kwargs
)
2890 def SetColour(*args
, **kwargs
):
2892 SetColour(self, Colour colour)
2894 Sets the colour that will be used for the font foreground colour. The
2895 default colour is black.
2897 return _windows_
.FontData_SetColour(*args
, **kwargs
)
2899 def SetInitialFont(*args
, **kwargs
):
2901 SetInitialFont(self, Font font)
2903 Sets the font that will be initially used by the font dialog.
2905 return _windows_
.FontData_SetInitialFont(*args
, **kwargs
)
2907 def SetRange(*args
, **kwargs
):
2909 SetRange(self, int min, int max)
2911 Sets the valid range for the font point size (Windows only). The
2912 default is 0, 0 (unrestricted range).
2914 return _windows_
.FontData_SetRange(*args
, **kwargs
)
2916 def SetShowHelp(*args
, **kwargs
):
2918 SetShowHelp(self, bool showHelp)
2920 Determines whether the Help button will be displayed in the font
2921 dialog (Windows only). The default value is false.
2923 return _windows_
.FontData_SetShowHelp(*args
, **kwargs
)
2926 class FontDataPtr(FontData
):
2927 def __init__(self
, this
):
2929 if not hasattr(self
,"thisown"): self
.thisown
= 0
2930 self
.__class
__ = FontData
2931 _windows_
.FontData_swigregister(FontDataPtr
)
2933 class FontDialog(Dialog
):
2935 wx.FontDialog allows the user to select a system font and its attributes.
2941 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2942 def __init__(self
, *args
, **kwargs
):
2944 __init__(self, Window parent, FontData data) -> FontDialog
2946 Constructor. Pass a parent window and the `wx.FontData` object to be
2947 used to initialize the dialog controls. Call `ShowModal` to display
2948 the dialog. If ShowModal returns ``wx.ID_OK`` then you can fetch the
2949 results with via the `wx.FontData` returned by `GetFontData`.
2951 newobj
= _windows_
.new_FontDialog(*args
, **kwargs
)
2952 self
.this
= newobj
.this
2955 self
._setOORInfo
(self
)
2957 def GetFontData(*args
, **kwargs
):
2959 GetFontData(self) -> FontData
2961 Returns a reference to the internal `wx.FontData` used by the
2964 return _windows_
.FontDialog_GetFontData(*args
, **kwargs
)
2967 class FontDialogPtr(FontDialog
):
2968 def __init__(self
, this
):
2970 if not hasattr(self
,"thisown"): self
.thisown
= 0
2971 self
.__class
__ = FontDialog
2972 _windows_
.FontDialog_swigregister(FontDialogPtr
)
2974 class MessageDialog(Dialog
):
2976 This class provides a simple dialog that shows a single or multi-line
2977 message, with a choice of OK, Yes, No and/or Cancel buttons.
2980 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2981 def __init__(self
, *args
, **kwargs
):
2983 __init__(self, Window parent, String message, String caption=MessageBoxCaptionStr,
2984 long style=wxOK|wxCANCEL|wxCENTRE,
2985 Point pos=DefaultPosition) -> MessageDialog
2987 Constructor, use `ShowModal` to display the dialog.
2989 newobj
= _windows_
.new_MessageDialog(*args
, **kwargs
)
2990 self
.this
= newobj
.this
2993 self
._setOORInfo
(self
)
2996 class MessageDialogPtr(MessageDialog
):
2997 def __init__(self
, this
):
2999 if not hasattr(self
,"thisown"): self
.thisown
= 0
3000 self
.__class
__ = MessageDialog
3001 _windows_
.MessageDialog_swigregister(MessageDialogPtr
)
3003 class ProgressDialog(Frame
):
3005 A dialog that shows a short message and a progress bar. Optionally, it
3006 can display an ABORT button.
3009 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3010 def __init__(self
, *args
, **kwargs
):
3012 __init__(self, String title, String message, int maximum=100, Window parent=None,
3013 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
3015 Constructor. Creates the dialog, displays it and disables user input
3016 for other windows, or, if wx.PD_APP_MODAL flag is not given, for its
3019 newobj
= _windows_
.new_ProgressDialog(*args
, **kwargs
)
3020 self
.this
= newobj
.this
3023 self
._setOORInfo
(self
)
3025 def Update(*args
, **kwargs
):
3027 Update(self, int value, String newmsg=EmptyString) -> bool
3029 Updates the dialog, setting the progress bar to the new value and, if
3030 given changes the message above it. The value given should be less
3031 than or equal to the maximum value given to the constructor and the
3032 dialog is closed if it is equal to the maximum. Returns True unless
3033 the Cancel button has been pressed.
3035 If false is returned, the application can either immediately destroy
3036 the dialog or ask the user for the confirmation and if the abort is
3037 not confirmed the dialog may be resumed with Resume function.
3039 return _windows_
.ProgressDialog_Update(*args
, **kwargs
)
3041 def Resume(*args
, **kwargs
):
3045 Can be used to continue with the dialog, after the user had chosen to
3048 return _windows_
.ProgressDialog_Resume(*args
, **kwargs
)
3051 class ProgressDialogPtr(ProgressDialog
):
3052 def __init__(self
, this
):
3054 if not hasattr(self
,"thisown"): self
.thisown
= 0
3055 self
.__class
__ = ProgressDialog
3056 _windows_
.ProgressDialog_swigregister(ProgressDialogPtr
)
3058 FR_DOWN
= _windows_
.FR_DOWN
3059 FR_WHOLEWORD
= _windows_
.FR_WHOLEWORD
3060 FR_MATCHCASE
= _windows_
.FR_MATCHCASE
3061 FR_REPLACEDIALOG
= _windows_
.FR_REPLACEDIALOG
3062 FR_NOUPDOWN
= _windows_
.FR_NOUPDOWN
3063 FR_NOMATCHCASE
= _windows_
.FR_NOMATCHCASE
3064 FR_NOWHOLEWORD
= _windows_
.FR_NOWHOLEWORD
3065 wxEVT_COMMAND_FIND
= _windows_
.wxEVT_COMMAND_FIND
3066 wxEVT_COMMAND_FIND_NEXT
= _windows_
.wxEVT_COMMAND_FIND_NEXT
3067 wxEVT_COMMAND_FIND_REPLACE
= _windows_
.wxEVT_COMMAND_FIND_REPLACE
3068 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows_
.wxEVT_COMMAND_FIND_REPLACE_ALL
3069 wxEVT_COMMAND_FIND_CLOSE
= _windows_
.wxEVT_COMMAND_FIND_CLOSE
3070 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
3071 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
3072 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
3073 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
3074 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
3076 # For backwards compatibility. Should they be removed?
3077 EVT_COMMAND_FIND
= EVT_FIND
3078 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
3079 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
3080 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
3081 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
3083 class FindDialogEvent(_core
.CommandEvent
):
3084 """Events for the FindReplaceDialog"""
3086 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3087 def __init__(self
, *args
, **kwargs
):
3089 __init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent
3091 Events for the FindReplaceDialog
3093 newobj
= _windows_
.new_FindDialogEvent(*args
, **kwargs
)
3094 self
.this
= newobj
.this
3097 def GetFlags(*args
, **kwargs
):
3099 GetFlags(self) -> int
3101 Get the currently selected flags: this is the combination of
3102 wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.
3104 return _windows_
.FindDialogEvent_GetFlags(*args
, **kwargs
)
3106 def GetFindString(*args
, **kwargs
):
3108 GetFindString(self) -> String
3110 Return the string to find (never empty).
3112 return _windows_
.FindDialogEvent_GetFindString(*args
, **kwargs
)
3114 def GetReplaceString(*args
, **kwargs
):
3116 GetReplaceString(self) -> String
3118 Return the string to replace the search string with (only for replace
3119 and replace all events).
3121 return _windows_
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
3123 def GetDialog(*args
, **kwargs
):
3125 GetDialog(self) -> FindReplaceDialog
3127 Return the pointer to the dialog which generated this event.
3129 return _windows_
.FindDialogEvent_GetDialog(*args
, **kwargs
)
3131 def SetFlags(*args
, **kwargs
):
3132 """SetFlags(self, int flags)"""
3133 return _windows_
.FindDialogEvent_SetFlags(*args
, **kwargs
)
3135 def SetFindString(*args
, **kwargs
):
3136 """SetFindString(self, String str)"""
3137 return _windows_
.FindDialogEvent_SetFindString(*args
, **kwargs
)
3139 def SetReplaceString(*args
, **kwargs
):
3140 """SetReplaceString(self, String str)"""
3141 return _windows_
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
3144 class FindDialogEventPtr(FindDialogEvent
):
3145 def __init__(self
, this
):
3147 if not hasattr(self
,"thisown"): self
.thisown
= 0
3148 self
.__class
__ = FindDialogEvent
3149 _windows_
.FindDialogEvent_swigregister(FindDialogEventPtr
)
3151 class FindReplaceData(_core
.Object
):
3153 wx.FindReplaceData holds the data for wx.FindReplaceDialog. It is used
3154 to initialize the dialog with the default values and will keep the
3155 last values from the dialog when it is closed. It is also updated each
3156 time a `wx.FindDialogEvent` is generated so instead of using the
3157 `wx.FindDialogEvent` methods you can also directly query this object.
3159 Note that all SetXXX() methods may only be called before showing the
3160 dialog and calling them has no effect later.
3163 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3164 def __init__(self
, *args
, **kwargs
):
3166 __init__(self, int flags=0) -> FindReplaceData
3168 Constuctor initializes the flags to default value (0).
3170 newobj
= _windows_
.new_FindReplaceData(*args
, **kwargs
)
3171 self
.this
= newobj
.this
3174 def __del__(self
, destroy
=_windows_
.delete_FindReplaceData
):
3177 if self
.thisown
: destroy(self
)
3180 def GetFindString(*args
, **kwargs
):
3182 GetFindString(self) -> String
3184 Get the string to find.
3186 return _windows_
.FindReplaceData_GetFindString(*args
, **kwargs
)
3188 def GetReplaceString(*args
, **kwargs
):
3190 GetReplaceString(self) -> String
3192 Get the replacement string.
3194 return _windows_
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
3196 def GetFlags(*args
, **kwargs
):
3198 GetFlags(self) -> int
3200 Get the combination of flag values.
3202 return _windows_
.FindReplaceData_GetFlags(*args
, **kwargs
)
3204 def SetFlags(*args
, **kwargs
):
3206 SetFlags(self, int flags)
3208 Set the flags to use to initialize the controls of the dialog.
3210 return _windows_
.FindReplaceData_SetFlags(*args
, **kwargs
)
3212 def SetFindString(*args
, **kwargs
):
3214 SetFindString(self, String str)
3216 Set the string to find (used as initial value by the dialog).
3218 return _windows_
.FindReplaceData_SetFindString(*args
, **kwargs
)
3220 def SetReplaceString(*args
, **kwargs
):
3222 SetReplaceString(self, String str)
3224 Set the replacement string (used as initial value by the dialog).
3226 return _windows_
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
3229 class FindReplaceDataPtr(FindReplaceData
):
3230 def __init__(self
, this
):
3232 if not hasattr(self
,"thisown"): self
.thisown
= 0
3233 self
.__class
__ = FindReplaceData
3234 _windows_
.FindReplaceData_swigregister(FindReplaceDataPtr
)
3236 class FindReplaceDialog(Dialog
):
3238 wx.FindReplaceDialog is a standard modeless dialog which is used to
3239 allow the user to search for some text (and possibly replace it with
3240 something else). The actual searching is supposed to be done in the
3241 owner window which is the parent of this dialog. Note that it means
3242 that unlike for the other standard dialogs this one must have a parent
3243 window. Also note that there is no way to use this dialog in a modal
3244 way; it is always, by design and implementation, modeless.
3247 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3248 def __init__(self
, *args
, **kwargs
):
3250 __init__(self, Window parent, FindReplaceData data, String title,
3251 int style=0) -> FindReplaceDialog
3253 Create a FindReplaceDialog. The parent and data parameters must be
3254 non-None. Use Show to display the dialog.
3256 newobj
= _windows_
.new_FindReplaceDialog(*args
, **kwargs
)
3257 self
.this
= newobj
.this
3260 self
._setOORInfo
(self
)
3262 def Create(*args
, **kwargs
):
3264 Create(self, Window parent, FindReplaceData data, String title,
3265 int style=0) -> bool
3267 Create the dialog, for 2-phase create.
3269 return _windows_
.FindReplaceDialog_Create(*args
, **kwargs
)
3271 def GetData(*args
, **kwargs
):
3273 GetData(self) -> FindReplaceData
3275 Get the FindReplaceData object used by this dialog.
3277 return _windows_
.FindReplaceDialog_GetData(*args
, **kwargs
)
3279 def SetData(*args
, **kwargs
):
3281 SetData(self, FindReplaceData data)
3283 Set the FindReplaceData object used by this dialog.
3285 return _windows_
.FindReplaceDialog_SetData(*args
, **kwargs
)
3288 class FindReplaceDialogPtr(FindReplaceDialog
):
3289 def __init__(self
, this
):
3291 if not hasattr(self
,"thisown"): self
.thisown
= 0
3292 self
.__class
__ = FindReplaceDialog
3293 _windows_
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
3295 def PreFindReplaceDialog(*args
, **kwargs
):
3297 PreFindReplaceDialog() -> FindReplaceDialog
3299 Precreate a FindReplaceDialog for 2-phase creation
3301 val
= _windows_
.new_PreFindReplaceDialog(*args
, **kwargs
)
3305 #---------------------------------------------------------------------------
3307 IDM_WINDOWTILE
= _windows_
.IDM_WINDOWTILE
3308 IDM_WINDOWTILEHOR
= _windows_
.IDM_WINDOWTILEHOR
3309 IDM_WINDOWCASCADE
= _windows_
.IDM_WINDOWCASCADE
3310 IDM_WINDOWICONS
= _windows_
.IDM_WINDOWICONS
3311 IDM_WINDOWNEXT
= _windows_
.IDM_WINDOWNEXT
3312 IDM_WINDOWTILEVERT
= _windows_
.IDM_WINDOWTILEVERT
3313 IDM_WINDOWPREV
= _windows_
.IDM_WINDOWPREV
3314 FIRST_MDI_CHILD
= _windows_
.FIRST_MDI_CHILD
3315 LAST_MDI_CHILD
= _windows_
.LAST_MDI_CHILD
3316 class MDIParentFrame(Frame
):
3317 """Proxy of C++ MDIParentFrame class"""
3319 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3320 def __init__(self
, *args
, **kwargs
):
3322 __init__(self, Window parent, int id=-1, String title=EmptyString,
3323 Point pos=DefaultPosition, Size size=DefaultSize,
3324 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3325 String name=FrameNameStr) -> MDIParentFrame
3327 newobj
= _windows_
.new_MDIParentFrame(*args
, **kwargs
)
3328 self
.this
= newobj
.this
3331 self
._setOORInfo
(self
)
3333 def Create(*args
, **kwargs
):
3335 Create(self, Window parent, int id=-1, String title=EmptyString,
3336 Point pos=DefaultPosition, Size size=DefaultSize,
3337 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3338 String name=FrameNameStr) -> bool
3340 return _windows_
.MDIParentFrame_Create(*args
, **kwargs
)
3342 def ActivateNext(*args
, **kwargs
):
3343 """ActivateNext(self)"""
3344 return _windows_
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
3346 def ActivatePrevious(*args
, **kwargs
):
3347 """ActivatePrevious(self)"""
3348 return _windows_
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
3350 def ArrangeIcons(*args
, **kwargs
):
3351 """ArrangeIcons(self)"""
3352 return _windows_
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
3354 def Cascade(*args
, **kwargs
):
3356 return _windows_
.MDIParentFrame_Cascade(*args
, **kwargs
)
3358 def GetActiveChild(*args
, **kwargs
):
3359 """GetActiveChild(self) -> MDIChildFrame"""
3360 return _windows_
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
3362 def GetClientWindow(*args
, **kwargs
):
3363 """GetClientWindow(self) -> MDIClientWindow"""
3364 return _windows_
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
3366 def GetToolBar(*args
, **kwargs
):
3367 """GetToolBar(self) -> Window"""
3368 return _windows_
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
3370 def Tile(*args
, **kwargs
):
3371 """Tile(self, int orient=HORIZONTAL)"""
3372 return _windows_
.MDIParentFrame_Tile(*args
, **kwargs
)
3375 class MDIParentFramePtr(MDIParentFrame
):
3376 def __init__(self
, this
):
3378 if not hasattr(self
,"thisown"): self
.thisown
= 0
3379 self
.__class
__ = MDIParentFrame
3380 _windows_
.MDIParentFrame_swigregister(MDIParentFramePtr
)
3382 def PreMDIParentFrame(*args
, **kwargs
):
3383 """PreMDIParentFrame() -> MDIParentFrame"""
3384 val
= _windows_
.new_PreMDIParentFrame(*args
, **kwargs
)
3388 class MDIChildFrame(Frame
):
3389 """Proxy of C++ MDIChildFrame class"""
3391 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3392 def __init__(self
, *args
, **kwargs
):
3394 __init__(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3395 Point pos=DefaultPosition, Size size=DefaultSize,
3396 long style=DEFAULT_FRAME_STYLE,
3397 String name=FrameNameStr) -> MDIChildFrame
3399 newobj
= _windows_
.new_MDIChildFrame(*args
, **kwargs
)
3400 self
.this
= newobj
.this
3403 self
._setOORInfo
(self
)
3405 def Create(*args
, **kwargs
):
3407 Create(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3408 Point pos=DefaultPosition, Size size=DefaultSize,
3409 long style=DEFAULT_FRAME_STYLE,
3410 String name=FrameNameStr) -> bool
3412 return _windows_
.MDIChildFrame_Create(*args
, **kwargs
)
3414 def Activate(*args
, **kwargs
):
3415 """Activate(self)"""
3416 return _windows_
.MDIChildFrame_Activate(*args
, **kwargs
)
3418 def Maximize(*args
, **kwargs
):
3419 """Maximize(self, bool maximize=True)"""
3420 return _windows_
.MDIChildFrame_Maximize(*args
, **kwargs
)
3422 def Restore(*args
, **kwargs
):
3424 return _windows_
.MDIChildFrame_Restore(*args
, **kwargs
)
3427 class MDIChildFramePtr(MDIChildFrame
):
3428 def __init__(self
, this
):
3430 if not hasattr(self
,"thisown"): self
.thisown
= 0
3431 self
.__class
__ = MDIChildFrame
3432 _windows_
.MDIChildFrame_swigregister(MDIChildFramePtr
)
3434 def PreMDIChildFrame(*args
, **kwargs
):
3435 """PreMDIChildFrame() -> MDIChildFrame"""
3436 val
= _windows_
.new_PreMDIChildFrame(*args
, **kwargs
)
3440 class MDIClientWindow(_core
.Window
):
3441 """Proxy of C++ MDIClientWindow class"""
3443 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3444 def __init__(self
, *args
, **kwargs
):
3445 """__init__(self, MDIParentFrame parent, long style=0) -> MDIClientWindow"""
3446 newobj
= _windows_
.new_MDIClientWindow(*args
, **kwargs
)
3447 self
.this
= newobj
.this
3450 self
._setOORInfo
(self
)
3452 def Create(*args
, **kwargs
):
3453 """Create(self, MDIParentFrame parent, long style=0) -> bool"""
3454 return _windows_
.MDIClientWindow_Create(*args
, **kwargs
)
3457 class MDIClientWindowPtr(MDIClientWindow
):
3458 def __init__(self
, this
):
3460 if not hasattr(self
,"thisown"): self
.thisown
= 0
3461 self
.__class
__ = MDIClientWindow
3462 _windows_
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
3464 def PreMDIClientWindow(*args
, **kwargs
):
3465 """PreMDIClientWindow() -> MDIClientWindow"""
3466 val
= _windows_
.new_PreMDIClientWindow(*args
, **kwargs
)
3470 #---------------------------------------------------------------------------
3472 class PyWindow(_core
.Window
):
3473 """Proxy of C++ PyWindow class"""
3475 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3476 def __init__(self
, *args
, **kwargs
):
3478 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3479 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyWindow
3481 newobj
= _windows_
.new_PyWindow(*args
, **kwargs
)
3482 self
.this
= newobj
.this
3485 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
3487 def _setCallbackInfo(*args
, **kwargs
):
3488 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3489 return _windows_
.PyWindow__setCallbackInfo(*args
, **kwargs
)
3491 def SetBestSize(*args
, **kwargs
):
3492 """SetBestSize(self, Size size)"""
3493 return _windows_
.PyWindow_SetBestSize(*args
, **kwargs
)
3495 def DoEraseBackground(*args
, **kwargs
):
3496 """DoEraseBackground(self, DC dc) -> bool"""
3497 return _windows_
.PyWindow_DoEraseBackground(*args
, **kwargs
)
3499 def base_DoMoveWindow(*args
, **kwargs
):
3500 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3501 return _windows_
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
3503 def base_DoSetSize(*args
, **kwargs
):
3504 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3505 return _windows_
.PyWindow_base_DoSetSize(*args
, **kwargs
)
3507 def base_DoSetClientSize(*args
, **kwargs
):
3508 """base_DoSetClientSize(self, int width, int height)"""
3509 return _windows_
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
3511 def base_DoSetVirtualSize(*args
, **kwargs
):
3512 """base_DoSetVirtualSize(self, int x, int y)"""
3513 return _windows_
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
3515 def base_DoGetSize(*args
, **kwargs
):
3516 """base_DoGetSize() -> (width, height)"""
3517 return _windows_
.PyWindow_base_DoGetSize(*args
, **kwargs
)
3519 def base_DoGetClientSize(*args
, **kwargs
):
3520 """base_DoGetClientSize() -> (width, height)"""
3521 return _windows_
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
3523 def base_DoGetPosition(*args
, **kwargs
):
3524 """base_DoGetPosition() -> (x,y)"""
3525 return _windows_
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
3527 def base_DoGetVirtualSize(*args
, **kwargs
):
3528 """base_DoGetVirtualSize(self) -> Size"""
3529 return _windows_
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
3531 def base_DoGetBestSize(*args
, **kwargs
):
3532 """base_DoGetBestSize(self) -> Size"""
3533 return _windows_
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
3535 def base_InitDialog(*args
, **kwargs
):
3536 """base_InitDialog(self)"""
3537 return _windows_
.PyWindow_base_InitDialog(*args
, **kwargs
)
3539 def base_TransferDataToWindow(*args
, **kwargs
):
3540 """base_TransferDataToWindow(self) -> bool"""
3541 return _windows_
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
3543 def base_TransferDataFromWindow(*args
, **kwargs
):
3544 """base_TransferDataFromWindow(self) -> bool"""
3545 return _windows_
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
3547 def base_Validate(*args
, **kwargs
):
3548 """base_Validate(self) -> bool"""
3549 return _windows_
.PyWindow_base_Validate(*args
, **kwargs
)
3551 def base_AcceptsFocus(*args
, **kwargs
):
3552 """base_AcceptsFocus(self) -> bool"""
3553 return _windows_
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
3555 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3556 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3557 return _windows_
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3559 def base_GetMaxSize(*args
, **kwargs
):
3560 """base_GetMaxSize(self) -> Size"""
3561 return _windows_
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
3563 def base_AddChild(*args
, **kwargs
):
3564 """base_AddChild(self, Window child)"""
3565 return _windows_
.PyWindow_base_AddChild(*args
, **kwargs
)
3567 def base_RemoveChild(*args
, **kwargs
):
3568 """base_RemoveChild(self, Window child)"""
3569 return _windows_
.PyWindow_base_RemoveChild(*args
, **kwargs
)
3571 def base_ShouldInheritColours(*args
, **kwargs
):
3572 """base_ShouldInheritColours(self) -> bool"""
3573 return _windows_
.PyWindow_base_ShouldInheritColours(*args
, **kwargs
)
3575 def base_GetDefaultAttributes(*args
, **kwargs
):
3576 """base_GetDefaultAttributes(self) -> VisualAttributes"""
3577 return _windows_
.PyWindow_base_GetDefaultAttributes(*args
, **kwargs
)
3580 class PyWindowPtr(PyWindow
):
3581 def __init__(self
, this
):
3583 if not hasattr(self
,"thisown"): self
.thisown
= 0
3584 self
.__class
__ = PyWindow
3585 _windows_
.PyWindow_swigregister(PyWindowPtr
)
3587 def PrePyWindow(*args
, **kwargs
):
3588 """PrePyWindow() -> PyWindow"""
3589 val
= _windows_
.new_PrePyWindow(*args
, **kwargs
)
3593 class PyPanel(Panel
):
3594 """Proxy of C++ PyPanel class"""
3596 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3597 def __init__(self
, *args
, **kwargs
):
3599 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3600 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyPanel
3602 newobj
= _windows_
.new_PyPanel(*args
, **kwargs
)
3603 self
.this
= newobj
.this
3606 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3608 def _setCallbackInfo(*args
, **kwargs
):
3609 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3610 return _windows_
.PyPanel__setCallbackInfo(*args
, **kwargs
)
3612 def SetBestSize(*args
, **kwargs
):
3613 """SetBestSize(self, Size size)"""
3614 return _windows_
.PyPanel_SetBestSize(*args
, **kwargs
)
3616 def DoEraseBackground(*args
, **kwargs
):
3617 """DoEraseBackground(self, DC dc) -> bool"""
3618 return _windows_
.PyPanel_DoEraseBackground(*args
, **kwargs
)
3620 def base_DoMoveWindow(*args
, **kwargs
):
3621 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3622 return _windows_
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
3624 def base_DoSetSize(*args
, **kwargs
):
3625 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3626 return _windows_
.PyPanel_base_DoSetSize(*args
, **kwargs
)
3628 def base_DoSetClientSize(*args
, **kwargs
):
3629 """base_DoSetClientSize(self, int width, int height)"""
3630 return _windows_
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
3632 def base_DoSetVirtualSize(*args
, **kwargs
):
3633 """base_DoSetVirtualSize(self, int x, int y)"""
3634 return _windows_
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
3636 def base_DoGetSize(*args
, **kwargs
):
3637 """base_DoGetSize() -> (width, height)"""
3638 return _windows_
.PyPanel_base_DoGetSize(*args
, **kwargs
)
3640 def base_DoGetClientSize(*args
, **kwargs
):
3641 """base_DoGetClientSize() -> (width, height)"""
3642 return _windows_
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
3644 def base_DoGetPosition(*args
, **kwargs
):
3645 """base_DoGetPosition() -> (x,y)"""
3646 return _windows_
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
3648 def base_DoGetVirtualSize(*args
, **kwargs
):
3649 """base_DoGetVirtualSize(self) -> Size"""
3650 return _windows_
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
3652 def base_DoGetBestSize(*args
, **kwargs
):
3653 """base_DoGetBestSize(self) -> Size"""
3654 return _windows_
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
3656 def base_InitDialog(*args
, **kwargs
):
3657 """base_InitDialog(self)"""
3658 return _windows_
.PyPanel_base_InitDialog(*args
, **kwargs
)
3660 def base_TransferDataToWindow(*args
, **kwargs
):
3661 """base_TransferDataToWindow(self) -> bool"""
3662 return _windows_
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
3664 def base_TransferDataFromWindow(*args
, **kwargs
):
3665 """base_TransferDataFromWindow(self) -> bool"""
3666 return _windows_
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
3668 def base_Validate(*args
, **kwargs
):
3669 """base_Validate(self) -> bool"""
3670 return _windows_
.PyPanel_base_Validate(*args
, **kwargs
)
3672 def base_AcceptsFocus(*args
, **kwargs
):
3673 """base_AcceptsFocus(self) -> bool"""
3674 return _windows_
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
3676 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3677 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3678 return _windows_
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3680 def base_GetMaxSize(*args
, **kwargs
):
3681 """base_GetMaxSize(self) -> Size"""
3682 return _windows_
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
3684 def base_AddChild(*args
, **kwargs
):
3685 """base_AddChild(self, Window child)"""
3686 return _windows_
.PyPanel_base_AddChild(*args
, **kwargs
)
3688 def base_RemoveChild(*args
, **kwargs
):
3689 """base_RemoveChild(self, Window child)"""
3690 return _windows_
.PyPanel_base_RemoveChild(*args
, **kwargs
)
3692 def base_ShouldInheritColours(*args
, **kwargs
):
3693 """base_ShouldInheritColours(self) -> bool"""
3694 return _windows_
.PyPanel_base_ShouldInheritColours(*args
, **kwargs
)
3696 def base_GetDefaultAttributes(*args
, **kwargs
):
3697 """base_GetDefaultAttributes(self) -> VisualAttributes"""
3698 return _windows_
.PyPanel_base_GetDefaultAttributes(*args
, **kwargs
)
3701 class PyPanelPtr(PyPanel
):
3702 def __init__(self
, this
):
3704 if not hasattr(self
,"thisown"): self
.thisown
= 0
3705 self
.__class
__ = PyPanel
3706 _windows_
.PyPanel_swigregister(PyPanelPtr
)
3708 def PrePyPanel(*args
, **kwargs
):
3709 """PrePyPanel() -> PyPanel"""
3710 val
= _windows_
.new_PrePyPanel(*args
, **kwargs
)
3714 class PyScrolledWindow(ScrolledWindow
):
3715 """Proxy of C++ PyScrolledWindow class"""
3717 return "<%s.%s; proxy of C++ wxPyScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3718 def __init__(self
, *args
, **kwargs
):
3720 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3721 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyScrolledWindow
3723 newobj
= _windows_
.new_PyScrolledWindow(*args
, **kwargs
)
3724 self
.this
= newobj
.this
3727 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3729 def _setCallbackInfo(*args
, **kwargs
):
3730 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3731 return _windows_
.PyScrolledWindow__setCallbackInfo(*args
, **kwargs
)
3733 def SetBestSize(*args
, **kwargs
):
3734 """SetBestSize(self, Size size)"""
3735 return _windows_
.PyScrolledWindow_SetBestSize(*args
, **kwargs
)
3737 def DoEraseBackground(*args
, **kwargs
):
3738 """DoEraseBackground(self, DC dc) -> bool"""
3739 return _windows_
.PyScrolledWindow_DoEraseBackground(*args
, **kwargs
)
3741 def base_DoMoveWindow(*args
, **kwargs
):
3742 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3743 return _windows_
.PyScrolledWindow_base_DoMoveWindow(*args
, **kwargs
)
3745 def base_DoSetSize(*args
, **kwargs
):
3746 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3747 return _windows_
.PyScrolledWindow_base_DoSetSize(*args
, **kwargs
)
3749 def base_DoSetClientSize(*args
, **kwargs
):
3750 """base_DoSetClientSize(self, int width, int height)"""
3751 return _windows_
.PyScrolledWindow_base_DoSetClientSize(*args
, **kwargs
)
3753 def base_DoSetVirtualSize(*args
, **kwargs
):
3754 """base_DoSetVirtualSize(self, int x, int y)"""
3755 return _windows_
.PyScrolledWindow_base_DoSetVirtualSize(*args
, **kwargs
)
3757 def base_DoGetSize(*args
, **kwargs
):
3758 """base_DoGetSize() -> (width, height)"""
3759 return _windows_
.PyScrolledWindow_base_DoGetSize(*args
, **kwargs
)
3761 def base_DoGetClientSize(*args
, **kwargs
):
3762 """base_DoGetClientSize() -> (width, height)"""
3763 return _windows_
.PyScrolledWindow_base_DoGetClientSize(*args
, **kwargs
)
3765 def base_DoGetPosition(*args
, **kwargs
):
3766 """base_DoGetPosition() -> (x,y)"""
3767 return _windows_
.PyScrolledWindow_base_DoGetPosition(*args
, **kwargs
)
3769 def base_DoGetVirtualSize(*args
, **kwargs
):
3770 """base_DoGetVirtualSize(self) -> Size"""
3771 return _windows_
.PyScrolledWindow_base_DoGetVirtualSize(*args
, **kwargs
)
3773 def base_DoGetBestSize(*args
, **kwargs
):
3774 """base_DoGetBestSize(self) -> Size"""
3775 return _windows_
.PyScrolledWindow_base_DoGetBestSize(*args
, **kwargs
)
3777 def base_InitDialog(*args
, **kwargs
):
3778 """base_InitDialog(self)"""
3779 return _windows_
.PyScrolledWindow_base_InitDialog(*args
, **kwargs
)
3781 def base_TransferDataToWindow(*args
, **kwargs
):
3782 """base_TransferDataToWindow(self) -> bool"""
3783 return _windows_
.PyScrolledWindow_base_TransferDataToWindow(*args
, **kwargs
)
3785 def base_TransferDataFromWindow(*args
, **kwargs
):
3786 """base_TransferDataFromWindow(self) -> bool"""
3787 return _windows_
.PyScrolledWindow_base_TransferDataFromWindow(*args
, **kwargs
)
3789 def base_Validate(*args
, **kwargs
):
3790 """base_Validate(self) -> bool"""
3791 return _windows_
.PyScrolledWindow_base_Validate(*args
, **kwargs
)
3793 def base_AcceptsFocus(*args
, **kwargs
):
3794 """base_AcceptsFocus(self) -> bool"""
3795 return _windows_
.PyScrolledWindow_base_AcceptsFocus(*args
, **kwargs
)
3797 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3798 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3799 return _windows_
.PyScrolledWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3801 def base_GetMaxSize(*args
, **kwargs
):
3802 """base_GetMaxSize(self) -> Size"""
3803 return _windows_
.PyScrolledWindow_base_GetMaxSize(*args
, **kwargs
)
3805 def base_AddChild(*args
, **kwargs
):
3806 """base_AddChild(self, Window child)"""
3807 return _windows_
.PyScrolledWindow_base_AddChild(*args
, **kwargs
)
3809 def base_RemoveChild(*args
, **kwargs
):
3810 """base_RemoveChild(self, Window child)"""
3811 return _windows_
.PyScrolledWindow_base_RemoveChild(*args
, **kwargs
)
3813 def base_ShouldInheritColours(*args
, **kwargs
):
3814 """base_ShouldInheritColours(self) -> bool"""
3815 return _windows_
.PyScrolledWindow_base_ShouldInheritColours(*args
, **kwargs
)
3817 def base_GetDefaultAttributes(*args
, **kwargs
):
3818 """base_GetDefaultAttributes(self) -> VisualAttributes"""
3819 return _windows_
.PyScrolledWindow_base_GetDefaultAttributes(*args
, **kwargs
)
3822 class PyScrolledWindowPtr(PyScrolledWindow
):
3823 def __init__(self
, this
):
3825 if not hasattr(self
,"thisown"): self
.thisown
= 0
3826 self
.__class
__ = PyScrolledWindow
3827 _windows_
.PyScrolledWindow_swigregister(PyScrolledWindowPtr
)
3829 def PrePyScrolledWindow(*args
, **kwargs
):
3830 """PrePyScrolledWindow() -> PyScrolledWindow"""
3831 val
= _windows_
.new_PrePyScrolledWindow(*args
, **kwargs
)
3835 #---------------------------------------------------------------------------
3837 PRINT_MODE_NONE
= _windows_
.PRINT_MODE_NONE
3838 PRINT_MODE_PREVIEW
= _windows_
.PRINT_MODE_PREVIEW
3839 PRINT_MODE_FILE
= _windows_
.PRINT_MODE_FILE
3840 PRINT_MODE_PRINTER
= _windows_
.PRINT_MODE_PRINTER
3841 PRINT_MODE_STREAM
= _windows_
.PRINT_MODE_STREAM
3842 PRINTBIN_DEFAULT
= _windows_
.PRINTBIN_DEFAULT
3843 PRINTBIN_ONLYONE
= _windows_
.PRINTBIN_ONLYONE
3844 PRINTBIN_LOWER
= _windows_
.PRINTBIN_LOWER
3845 PRINTBIN_MIDDLE
= _windows_
.PRINTBIN_MIDDLE
3846 PRINTBIN_MANUAL
= _windows_
.PRINTBIN_MANUAL
3847 PRINTBIN_ENVELOPE
= _windows_
.PRINTBIN_ENVELOPE
3848 PRINTBIN_ENVMANUAL
= _windows_
.PRINTBIN_ENVMANUAL
3849 PRINTBIN_AUTO
= _windows_
.PRINTBIN_AUTO
3850 PRINTBIN_TRACTOR
= _windows_
.PRINTBIN_TRACTOR
3851 PRINTBIN_SMALLFMT
= _windows_
.PRINTBIN_SMALLFMT
3852 PRINTBIN_LARGEFMT
= _windows_
.PRINTBIN_LARGEFMT
3853 PRINTBIN_LARGECAPACITY
= _windows_
.PRINTBIN_LARGECAPACITY
3854 PRINTBIN_CASSETTE
= _windows_
.PRINTBIN_CASSETTE
3855 PRINTBIN_FORMSOURCE
= _windows_
.PRINTBIN_FORMSOURCE
3856 PRINTBIN_USER
= _windows_
.PRINTBIN_USER
3857 class PrintData(_core
.Object
):
3858 """Proxy of C++ PrintData class"""
3860 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3861 def __init__(self
, *args
):
3863 __init__(self) -> PrintData
3864 __init__(self, PrintData data) -> PrintData
3866 newobj
= _windows_
.new_PrintData(*args
)
3867 self
.this
= newobj
.this
3870 def __del__(self
, destroy
=_windows_
.delete_PrintData
):
3873 if self
.thisown
: destroy(self
)
3876 def GetNoCopies(*args
, **kwargs
):
3877 """GetNoCopies(self) -> int"""
3878 return _windows_
.PrintData_GetNoCopies(*args
, **kwargs
)
3880 def GetCollate(*args
, **kwargs
):
3881 """GetCollate(self) -> bool"""
3882 return _windows_
.PrintData_GetCollate(*args
, **kwargs
)
3884 def GetOrientation(*args
, **kwargs
):
3885 """GetOrientation(self) -> int"""
3886 return _windows_
.PrintData_GetOrientation(*args
, **kwargs
)
3888 def Ok(*args
, **kwargs
):
3889 """Ok(self) -> bool"""
3890 return _windows_
.PrintData_Ok(*args
, **kwargs
)
3892 def GetPrinterName(*args
, **kwargs
):
3893 """GetPrinterName(self) -> String"""
3894 return _windows_
.PrintData_GetPrinterName(*args
, **kwargs
)
3896 def GetColour(*args
, **kwargs
):
3897 """GetColour(self) -> bool"""
3898 return _windows_
.PrintData_GetColour(*args
, **kwargs
)
3900 def GetDuplex(*args
, **kwargs
):
3901 """GetDuplex(self) -> int"""
3902 return _windows_
.PrintData_GetDuplex(*args
, **kwargs
)
3904 def GetPaperId(*args
, **kwargs
):
3905 """GetPaperId(self) -> int"""
3906 return _windows_
.PrintData_GetPaperId(*args
, **kwargs
)
3908 def GetPaperSize(*args
, **kwargs
):
3909 """GetPaperSize(self) -> Size"""
3910 return _windows_
.PrintData_GetPaperSize(*args
, **kwargs
)
3912 def GetQuality(*args
, **kwargs
):
3913 """GetQuality(self) -> int"""
3914 return _windows_
.PrintData_GetQuality(*args
, **kwargs
)
3916 def GetBin(*args
, **kwargs
):
3917 """GetBin(self) -> int"""
3918 return _windows_
.PrintData_GetBin(*args
, **kwargs
)
3920 def GetPrintMode(*args
, **kwargs
):
3921 """GetPrintMode(self) -> int"""
3922 return _windows_
.PrintData_GetPrintMode(*args
, **kwargs
)
3924 def SetNoCopies(*args
, **kwargs
):
3925 """SetNoCopies(self, int v)"""
3926 return _windows_
.PrintData_SetNoCopies(*args
, **kwargs
)
3928 def SetCollate(*args
, **kwargs
):
3929 """SetCollate(self, bool flag)"""
3930 return _windows_
.PrintData_SetCollate(*args
, **kwargs
)
3932 def SetOrientation(*args
, **kwargs
):
3933 """SetOrientation(self, int orient)"""
3934 return _windows_
.PrintData_SetOrientation(*args
, **kwargs
)
3936 def SetPrinterName(*args
, **kwargs
):
3937 """SetPrinterName(self, String name)"""
3938 return _windows_
.PrintData_SetPrinterName(*args
, **kwargs
)
3940 def SetColour(*args
, **kwargs
):
3941 """SetColour(self, bool colour)"""
3942 return _windows_
.PrintData_SetColour(*args
, **kwargs
)
3944 def SetDuplex(*args
, **kwargs
):
3945 """SetDuplex(self, int duplex)"""
3946 return _windows_
.PrintData_SetDuplex(*args
, **kwargs
)
3948 def SetPaperId(*args
, **kwargs
):
3949 """SetPaperId(self, int sizeId)"""
3950 return _windows_
.PrintData_SetPaperId(*args
, **kwargs
)
3952 def SetPaperSize(*args
, **kwargs
):
3953 """SetPaperSize(self, Size sz)"""
3954 return _windows_
.PrintData_SetPaperSize(*args
, **kwargs
)
3956 def SetQuality(*args
, **kwargs
):
3957 """SetQuality(self, int quality)"""
3958 return _windows_
.PrintData_SetQuality(*args
, **kwargs
)
3960 def SetBin(*args
, **kwargs
):
3961 """SetBin(self, int bin)"""
3962 return _windows_
.PrintData_SetBin(*args
, **kwargs
)
3964 def SetPrintMode(*args
, **kwargs
):
3965 """SetPrintMode(self, int printMode)"""
3966 return _windows_
.PrintData_SetPrintMode(*args
, **kwargs
)
3968 def GetFilename(*args
, **kwargs
):
3969 """GetFilename(self) -> String"""
3970 return _windows_
.PrintData_GetFilename(*args
, **kwargs
)
3972 def SetFilename(*args
, **kwargs
):
3973 """SetFilename(self, String filename)"""
3974 return _windows_
.PrintData_SetFilename(*args
, **kwargs
)
3976 def __nonzero__(self
): return self
.Ok()
3977 def GetPrivData(*args
, **kwargs
):
3978 """GetPrivData(self) -> PyObject"""
3979 return _windows_
.PrintData_GetPrivData(*args
, **kwargs
)
3981 def SetPrivData(*args
, **kwargs
):
3982 """SetPrivData(self, PyObject data)"""
3983 return _windows_
.PrintData_SetPrivData(*args
, **kwargs
)
3985 def GetPrinterCommand(*args
, **kwargs
):
3986 """GetPrinterCommand(self) -> String"""
3987 return _windows_
.PrintData_GetPrinterCommand(*args
, **kwargs
)
3989 def GetPrinterOptions(*args
, **kwargs
):
3990 """GetPrinterOptions(self) -> String"""
3991 return _windows_
.PrintData_GetPrinterOptions(*args
, **kwargs
)
3993 def GetPreviewCommand(*args
, **kwargs
):
3994 """GetPreviewCommand(self) -> String"""
3995 return _windows_
.PrintData_GetPreviewCommand(*args
, **kwargs
)
3997 def GetFontMetricPath(*args
, **kwargs
):
3998 """GetFontMetricPath(self) -> String"""
3999 return _windows_
.PrintData_GetFontMetricPath(*args
, **kwargs
)
4001 def GetPrinterScaleX(*args
, **kwargs
):
4002 """GetPrinterScaleX(self) -> double"""
4003 return _windows_
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
4005 def GetPrinterScaleY(*args
, **kwargs
):
4006 """GetPrinterScaleY(self) -> double"""
4007 return _windows_
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
4009 def GetPrinterTranslateX(*args
, **kwargs
):
4010 """GetPrinterTranslateX(self) -> long"""
4011 return _windows_
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
4013 def GetPrinterTranslateY(*args
, **kwargs
):
4014 """GetPrinterTranslateY(self) -> long"""
4015 return _windows_
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
4017 def SetPrinterCommand(*args
, **kwargs
):
4018 """SetPrinterCommand(self, String command)"""
4019 return _windows_
.PrintData_SetPrinterCommand(*args
, **kwargs
)
4021 def SetPrinterOptions(*args
, **kwargs
):
4022 """SetPrinterOptions(self, String options)"""
4023 return _windows_
.PrintData_SetPrinterOptions(*args
, **kwargs
)
4025 def SetPreviewCommand(*args
, **kwargs
):
4026 """SetPreviewCommand(self, String command)"""
4027 return _windows_
.PrintData_SetPreviewCommand(*args
, **kwargs
)
4029 def SetFontMetricPath(*args
, **kwargs
):
4030 """SetFontMetricPath(self, String path)"""
4031 return _windows_
.PrintData_SetFontMetricPath(*args
, **kwargs
)
4033 def SetPrinterScaleX(*args
, **kwargs
):
4034 """SetPrinterScaleX(self, double x)"""
4035 return _windows_
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
4037 def SetPrinterScaleY(*args
, **kwargs
):
4038 """SetPrinterScaleY(self, double y)"""
4039 return _windows_
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
4041 def SetPrinterScaling(*args
, **kwargs
):
4042 """SetPrinterScaling(self, double x, double y)"""
4043 return _windows_
.PrintData_SetPrinterScaling(*args
, **kwargs
)
4045 def SetPrinterTranslateX(*args
, **kwargs
):
4046 """SetPrinterTranslateX(self, long x)"""
4047 return _windows_
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
4049 def SetPrinterTranslateY(*args
, **kwargs
):
4050 """SetPrinterTranslateY(self, long y)"""
4051 return _windows_
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
4053 def SetPrinterTranslation(*args
, **kwargs
):
4054 """SetPrinterTranslation(self, long x, long y)"""
4055 return _windows_
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
4058 class PrintDataPtr(PrintData
):
4059 def __init__(self
, this
):
4061 if not hasattr(self
,"thisown"): self
.thisown
= 0
4062 self
.__class
__ = PrintData
4063 _windows_
.PrintData_swigregister(PrintDataPtr
)
4064 PrintoutTitleStr
= cvar
.PrintoutTitleStr
4065 PreviewCanvasNameStr
= cvar
.PreviewCanvasNameStr
4067 class PageSetupDialogData(_core
.Object
):
4068 """Proxy of C++ PageSetupDialogData class"""
4070 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4071 def __init__(self
, *args
):
4073 __init__(self) -> PageSetupDialogData
4074 __init__(self, PageSetupDialogData data) -> PageSetupDialogData
4075 __init__(self, PrintData data) -> PageSetupDialogData
4077 newobj
= _windows_
.new_PageSetupDialogData(*args
)
4078 self
.this
= newobj
.this
4081 def __del__(self
, destroy
=_windows_
.delete_PageSetupDialogData
):
4084 if self
.thisown
: destroy(self
)
4087 def EnableHelp(*args
, **kwargs
):
4088 """EnableHelp(self, bool flag)"""
4089 return _windows_
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
4091 def EnableMargins(*args
, **kwargs
):
4092 """EnableMargins(self, bool flag)"""
4093 return _windows_
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
4095 def EnableOrientation(*args
, **kwargs
):
4096 """EnableOrientation(self, bool flag)"""
4097 return _windows_
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
4099 def EnablePaper(*args
, **kwargs
):
4100 """EnablePaper(self, bool flag)"""
4101 return _windows_
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
4103 def EnablePrinter(*args
, **kwargs
):
4104 """EnablePrinter(self, bool flag)"""
4105 return _windows_
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
4107 def GetDefaultMinMargins(*args
, **kwargs
):
4108 """GetDefaultMinMargins(self) -> bool"""
4109 return _windows_
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
4111 def GetEnableMargins(*args
, **kwargs
):
4112 """GetEnableMargins(self) -> bool"""
4113 return _windows_
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
4115 def GetEnableOrientation(*args
, **kwargs
):
4116 """GetEnableOrientation(self) -> bool"""
4117 return _windows_
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
4119 def GetEnablePaper(*args
, **kwargs
):
4120 """GetEnablePaper(self) -> bool"""
4121 return _windows_
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
4123 def GetEnablePrinter(*args
, **kwargs
):
4124 """GetEnablePrinter(self) -> bool"""
4125 return _windows_
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
4127 def GetEnableHelp(*args
, **kwargs
):
4128 """GetEnableHelp(self) -> bool"""
4129 return _windows_
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
4131 def GetDefaultInfo(*args
, **kwargs
):
4132 """GetDefaultInfo(self) -> bool"""
4133 return _windows_
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
4135 def GetMarginTopLeft(*args
, **kwargs
):
4136 """GetMarginTopLeft(self) -> Point"""
4137 return _windows_
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
4139 def GetMarginBottomRight(*args
, **kwargs
):
4140 """GetMarginBottomRight(self) -> Point"""
4141 return _windows_
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
4143 def GetMinMarginTopLeft(*args
, **kwargs
):
4144 """GetMinMarginTopLeft(self) -> Point"""
4145 return _windows_
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
4147 def GetMinMarginBottomRight(*args
, **kwargs
):
4148 """GetMinMarginBottomRight(self) -> Point"""
4149 return _windows_
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
4151 def GetPaperId(*args
, **kwargs
):
4152 """GetPaperId(self) -> int"""
4153 return _windows_
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
4155 def GetPaperSize(*args
, **kwargs
):
4156 """GetPaperSize(self) -> Size"""
4157 return _windows_
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
4159 def GetPrintData(*args
, **kwargs
):
4160 """GetPrintData(self) -> PrintData"""
4161 return _windows_
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
4163 def Ok(*args
, **kwargs
):
4164 """Ok(self) -> bool"""
4165 return _windows_
.PageSetupDialogData_Ok(*args
, **kwargs
)
4167 def SetDefaultInfo(*args
, **kwargs
):
4168 """SetDefaultInfo(self, bool flag)"""
4169 return _windows_
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
4171 def SetDefaultMinMargins(*args
, **kwargs
):
4172 """SetDefaultMinMargins(self, bool flag)"""
4173 return _windows_
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
4175 def SetMarginTopLeft(*args
, **kwargs
):
4176 """SetMarginTopLeft(self, Point pt)"""
4177 return _windows_
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
4179 def SetMarginBottomRight(*args
, **kwargs
):
4180 """SetMarginBottomRight(self, Point pt)"""
4181 return _windows_
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
4183 def SetMinMarginTopLeft(*args
, **kwargs
):
4184 """SetMinMarginTopLeft(self, Point pt)"""
4185 return _windows_
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
4187 def SetMinMarginBottomRight(*args
, **kwargs
):
4188 """SetMinMarginBottomRight(self, Point pt)"""
4189 return _windows_
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
4191 def SetPaperId(*args
, **kwargs
):
4192 """SetPaperId(self, int id)"""
4193 return _windows_
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
4195 def SetPaperSize(*args
, **kwargs
):
4196 """SetPaperSize(self, Size size)"""
4197 return _windows_
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
4199 def SetPrintData(*args
, **kwargs
):
4200 """SetPrintData(self, PrintData printData)"""
4201 return _windows_
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
4203 def CalculateIdFromPaperSize(*args
, **kwargs
):
4204 """CalculateIdFromPaperSize(self)"""
4205 return _windows_
.PageSetupDialogData_CalculateIdFromPaperSize(*args
, **kwargs
)
4207 def CalculatePaperSizeFromId(*args
, **kwargs
):
4208 """CalculatePaperSizeFromId(self)"""
4209 return _windows_
.PageSetupDialogData_CalculatePaperSizeFromId(*args
, **kwargs
)
4211 def __nonzero__(self
): return self
.Ok()
4213 class PageSetupDialogDataPtr(PageSetupDialogData
):
4214 def __init__(self
, this
):
4216 if not hasattr(self
,"thisown"): self
.thisown
= 0
4217 self
.__class
__ = PageSetupDialogData
4218 _windows_
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
4220 class PageSetupDialog(_core
.Object
):
4221 """Proxy of C++ PageSetupDialog class"""
4223 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4224 def __init__(self
, *args
, **kwargs
):
4225 """__init__(self, Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
4226 newobj
= _windows_
.new_PageSetupDialog(*args
, **kwargs
)
4227 self
.this
= newobj
.this
4230 def GetPageSetupData(*args
, **kwargs
):
4231 """GetPageSetupData(self) -> PageSetupDialogData"""
4232 return _windows_
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
4234 def GetPageSetupDialogData(*args
, **kwargs
):
4235 """GetPageSetupDialogData(self) -> PageSetupDialogData"""
4236 return _windows_
.PageSetupDialog_GetPageSetupDialogData(*args
, **kwargs
)
4238 def ShowModal(*args
, **kwargs
):
4239 """ShowModal(self) -> int"""
4240 return _windows_
.PageSetupDialog_ShowModal(*args
, **kwargs
)
4243 class PageSetupDialogPtr(PageSetupDialog
):
4244 def __init__(self
, this
):
4246 if not hasattr(self
,"thisown"): self
.thisown
= 0
4247 self
.__class
__ = PageSetupDialog
4248 _windows_
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
4250 class PrintDialogData(_core
.Object
):
4251 """Proxy of C++ PrintDialogData class"""
4253 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4254 def __init__(self
, *args
):
4256 __init__(self) -> PrintDialogData
4257 __init__(self, PrintData printData) -> PrintDialogData
4258 __init__(self, PrintDialogData printData) -> PrintDialogData
4260 newobj
= _windows_
.new_PrintDialogData(*args
)
4261 self
.this
= newobj
.this
4264 def __del__(self
, destroy
=_windows_
.delete_PrintDialogData
):
4267 if self
.thisown
: destroy(self
)
4270 def GetFromPage(*args
, **kwargs
):
4271 """GetFromPage(self) -> int"""
4272 return _windows_
.PrintDialogData_GetFromPage(*args
, **kwargs
)
4274 def GetToPage(*args
, **kwargs
):
4275 """GetToPage(self) -> int"""
4276 return _windows_
.PrintDialogData_GetToPage(*args
, **kwargs
)
4278 def GetMinPage(*args
, **kwargs
):
4279 """GetMinPage(self) -> int"""
4280 return _windows_
.PrintDialogData_GetMinPage(*args
, **kwargs
)
4282 def GetMaxPage(*args
, **kwargs
):
4283 """GetMaxPage(self) -> int"""
4284 return _windows_
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
4286 def GetNoCopies(*args
, **kwargs
):
4287 """GetNoCopies(self) -> int"""
4288 return _windows_
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
4290 def GetAllPages(*args
, **kwargs
):
4291 """GetAllPages(self) -> bool"""
4292 return _windows_
.PrintDialogData_GetAllPages(*args
, **kwargs
)
4294 def GetSelection(*args
, **kwargs
):
4295 """GetSelection(self) -> bool"""
4296 return _windows_
.PrintDialogData_GetSelection(*args
, **kwargs
)
4298 def GetCollate(*args
, **kwargs
):
4299 """GetCollate(self) -> bool"""
4300 return _windows_
.PrintDialogData_GetCollate(*args
, **kwargs
)
4302 def GetPrintToFile(*args
, **kwargs
):
4303 """GetPrintToFile(self) -> bool"""
4304 return _windows_
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
4306 def GetSetupDialog(*args
, **kwargs
):
4307 """GetSetupDialog(self) -> bool"""
4308 return _windows_
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
4310 def SetSetupDialog(*args
, **kwargs
):
4311 """SetSetupDialog(self, bool flag)"""
4312 return _windows_
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
4314 def SetFromPage(*args
, **kwargs
):
4315 """SetFromPage(self, int v)"""
4316 return _windows_
.PrintDialogData_SetFromPage(*args
, **kwargs
)
4318 def SetToPage(*args
, **kwargs
):
4319 """SetToPage(self, int v)"""
4320 return _windows_
.PrintDialogData_SetToPage(*args
, **kwargs
)
4322 def SetMinPage(*args
, **kwargs
):
4323 """SetMinPage(self, int v)"""
4324 return _windows_
.PrintDialogData_SetMinPage(*args
, **kwargs
)
4326 def SetMaxPage(*args
, **kwargs
):
4327 """SetMaxPage(self, int v)"""
4328 return _windows_
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
4330 def SetNoCopies(*args
, **kwargs
):
4331 """SetNoCopies(self, int v)"""
4332 return _windows_
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
4334 def SetAllPages(*args
, **kwargs
):
4335 """SetAllPages(self, bool flag)"""
4336 return _windows_
.PrintDialogData_SetAllPages(*args
, **kwargs
)
4338 def SetSelection(*args
, **kwargs
):
4339 """SetSelection(self, bool flag)"""
4340 return _windows_
.PrintDialogData_SetSelection(*args
, **kwargs
)
4342 def SetCollate(*args
, **kwargs
):
4343 """SetCollate(self, bool flag)"""
4344 return _windows_
.PrintDialogData_SetCollate(*args
, **kwargs
)
4346 def SetPrintToFile(*args
, **kwargs
):
4347 """SetPrintToFile(self, bool flag)"""
4348 return _windows_
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
4350 def EnablePrintToFile(*args
, **kwargs
):
4351 """EnablePrintToFile(self, bool flag)"""
4352 return _windows_
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
4354 def EnableSelection(*args
, **kwargs
):
4355 """EnableSelection(self, bool flag)"""
4356 return _windows_
.PrintDialogData_EnableSelection(*args
, **kwargs
)
4358 def EnablePageNumbers(*args
, **kwargs
):
4359 """EnablePageNumbers(self, bool flag)"""
4360 return _windows_
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
4362 def EnableHelp(*args
, **kwargs
):
4363 """EnableHelp(self, bool flag)"""
4364 return _windows_
.PrintDialogData_EnableHelp(*args
, **kwargs
)
4366 def GetEnablePrintToFile(*args
, **kwargs
):
4367 """GetEnablePrintToFile(self) -> bool"""
4368 return _windows_
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
4370 def GetEnableSelection(*args
, **kwargs
):
4371 """GetEnableSelection(self) -> bool"""
4372 return _windows_
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
4374 def GetEnablePageNumbers(*args
, **kwargs
):
4375 """GetEnablePageNumbers(self) -> bool"""
4376 return _windows_
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
4378 def GetEnableHelp(*args
, **kwargs
):
4379 """GetEnableHelp(self) -> bool"""
4380 return _windows_
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
4382 def Ok(*args
, **kwargs
):
4383 """Ok(self) -> bool"""
4384 return _windows_
.PrintDialogData_Ok(*args
, **kwargs
)
4386 def GetPrintData(*args
, **kwargs
):
4387 """GetPrintData(self) -> PrintData"""
4388 return _windows_
.PrintDialogData_GetPrintData(*args
, **kwargs
)
4390 def SetPrintData(*args
, **kwargs
):
4391 """SetPrintData(self, PrintData printData)"""
4392 return _windows_
.PrintDialogData_SetPrintData(*args
, **kwargs
)
4394 def __nonzero__(self
): return self
.Ok()
4396 class PrintDialogDataPtr(PrintDialogData
):
4397 def __init__(self
, this
):
4399 if not hasattr(self
,"thisown"): self
.thisown
= 0
4400 self
.__class
__ = PrintDialogData
4401 _windows_
.PrintDialogData_swigregister(PrintDialogDataPtr
)
4403 class PrintDialog(_core
.Object
):
4404 """Proxy of C++ PrintDialog class"""
4406 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4407 def __init__(self
, *args
, **kwargs
):
4408 """__init__(self, Window parent, PrintDialogData data=None) -> PrintDialog"""
4409 newobj
= _windows_
.new_PrintDialog(*args
, **kwargs
)
4410 self
.this
= newobj
.this
4413 def ShowModal(*args
, **kwargs
):
4414 """ShowModal(self) -> int"""
4415 return _windows_
.PrintDialog_ShowModal(*args
, **kwargs
)
4417 def GetPrintDialogData(*args
, **kwargs
):
4418 """GetPrintDialogData(self) -> PrintDialogData"""
4419 return _windows_
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
4421 def GetPrintData(*args
, **kwargs
):
4422 """GetPrintData(self) -> PrintData"""
4423 return _windows_
.PrintDialog_GetPrintData(*args
, **kwargs
)
4425 def GetPrintDC(*args
, **kwargs
):
4426 """GetPrintDC(self) -> DC"""
4427 return _windows_
.PrintDialog_GetPrintDC(*args
, **kwargs
)
4430 class PrintDialogPtr(PrintDialog
):
4431 def __init__(self
, this
):
4433 if not hasattr(self
,"thisown"): self
.thisown
= 0
4434 self
.__class
__ = PrintDialog
4435 _windows_
.PrintDialog_swigregister(PrintDialogPtr
)
4437 PRINTER_NO_ERROR
= _windows_
.PRINTER_NO_ERROR
4438 PRINTER_CANCELLED
= _windows_
.PRINTER_CANCELLED
4439 PRINTER_ERROR
= _windows_
.PRINTER_ERROR
4440 class Printer(_core
.Object
):
4441 """Proxy of C++ Printer class"""
4443 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4444 def __init__(self
, *args
, **kwargs
):
4445 """__init__(self, PrintDialogData data=None) -> Printer"""
4446 newobj
= _windows_
.new_Printer(*args
, **kwargs
)
4447 self
.this
= newobj
.this
4450 def __del__(self
, destroy
=_windows_
.delete_Printer
):
4453 if self
.thisown
: destroy(self
)
4456 def CreateAbortWindow(*args
, **kwargs
):
4457 """CreateAbortWindow(self, Window parent, Printout printout) -> Window"""
4458 return _windows_
.Printer_CreateAbortWindow(*args
, **kwargs
)
4460 def ReportError(*args
, **kwargs
):
4461 """ReportError(self, Window parent, Printout printout, String message)"""
4462 return _windows_
.Printer_ReportError(*args
, **kwargs
)
4464 def Setup(*args
, **kwargs
):
4465 """Setup(self, Window parent) -> bool"""
4466 return _windows_
.Printer_Setup(*args
, **kwargs
)
4468 def Print(*args
, **kwargs
):
4469 """Print(self, Window parent, Printout printout, bool prompt=True) -> bool"""
4470 return _windows_
.Printer_Print(*args
, **kwargs
)
4472 def PrintDialog(*args
, **kwargs
):
4473 """PrintDialog(self, Window parent) -> DC"""
4474 return _windows_
.Printer_PrintDialog(*args
, **kwargs
)
4476 def GetPrintDialogData(*args
, **kwargs
):
4477 """GetPrintDialogData(self) -> PrintDialogData"""
4478 return _windows_
.Printer_GetPrintDialogData(*args
, **kwargs
)
4480 def GetAbort(*args
, **kwargs
):
4481 """GetAbort(self) -> bool"""
4482 return _windows_
.Printer_GetAbort(*args
, **kwargs
)
4484 def GetLastError(*args
, **kwargs
):
4485 """GetLastError() -> int"""
4486 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4488 GetLastError
= staticmethod(GetLastError
)
4490 class PrinterPtr(Printer
):
4491 def __init__(self
, this
):
4493 if not hasattr(self
,"thisown"): self
.thisown
= 0
4494 self
.__class
__ = Printer
4495 _windows_
.Printer_swigregister(PrinterPtr
)
4497 def Printer_GetLastError(*args
, **kwargs
):
4498 """Printer_GetLastError() -> int"""
4499 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4501 class Printout(_core
.Object
):
4502 """Proxy of C++ Printout class"""
4504 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4505 def __init__(self
, *args
, **kwargs
):
4506 """__init__(self, String title=PrintoutTitleStr) -> Printout"""
4507 newobj
= _windows_
.new_Printout(*args
, **kwargs
)
4508 self
.this
= newobj
.this
4511 self
._setCallbackInfo
(self
, Printout
)
4513 def _setCallbackInfo(*args
, **kwargs
):
4514 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4515 return _windows_
.Printout__setCallbackInfo(*args
, **kwargs
)
4517 def GetTitle(*args
, **kwargs
):
4518 """GetTitle(self) -> String"""
4519 return _windows_
.Printout_GetTitle(*args
, **kwargs
)
4521 def GetDC(*args
, **kwargs
):
4522 """GetDC(self) -> DC"""
4523 return _windows_
.Printout_GetDC(*args
, **kwargs
)
4525 def SetDC(*args
, **kwargs
):
4526 """SetDC(self, DC dc)"""
4527 return _windows_
.Printout_SetDC(*args
, **kwargs
)
4529 def SetPageSizePixels(*args
, **kwargs
):
4530 """SetPageSizePixels(self, int w, int h)"""
4531 return _windows_
.Printout_SetPageSizePixels(*args
, **kwargs
)
4533 def GetPageSizePixels(*args
, **kwargs
):
4534 """GetPageSizePixels() -> (w, h)"""
4535 return _windows_
.Printout_GetPageSizePixels(*args
, **kwargs
)
4537 def SetPageSizeMM(*args
, **kwargs
):
4538 """SetPageSizeMM(self, int w, int h)"""
4539 return _windows_
.Printout_SetPageSizeMM(*args
, **kwargs
)
4541 def GetPageSizeMM(*args
, **kwargs
):
4542 """GetPageSizeMM() -> (w, h)"""
4543 return _windows_
.Printout_GetPageSizeMM(*args
, **kwargs
)
4545 def SetPPIScreen(*args
, **kwargs
):
4546 """SetPPIScreen(self, int x, int y)"""
4547 return _windows_
.Printout_SetPPIScreen(*args
, **kwargs
)
4549 def GetPPIScreen(*args
, **kwargs
):
4550 """GetPPIScreen() -> (x,y)"""
4551 return _windows_
.Printout_GetPPIScreen(*args
, **kwargs
)
4553 def SetPPIPrinter(*args
, **kwargs
):
4554 """SetPPIPrinter(self, int x, int y)"""
4555 return _windows_
.Printout_SetPPIPrinter(*args
, **kwargs
)
4557 def GetPPIPrinter(*args
, **kwargs
):
4558 """GetPPIPrinter() -> (x,y)"""
4559 return _windows_
.Printout_GetPPIPrinter(*args
, **kwargs
)
4561 def IsPreview(*args
, **kwargs
):
4562 """IsPreview(self) -> bool"""
4563 return _windows_
.Printout_IsPreview(*args
, **kwargs
)
4565 def SetIsPreview(*args
, **kwargs
):
4566 """SetIsPreview(self, bool p)"""
4567 return _windows_
.Printout_SetIsPreview(*args
, **kwargs
)
4569 def base_OnBeginDocument(*args
, **kwargs
):
4570 """base_OnBeginDocument(self, int startPage, int endPage) -> bool"""
4571 return _windows_
.Printout_base_OnBeginDocument(*args
, **kwargs
)
4573 def base_OnEndDocument(*args
, **kwargs
):
4574 """base_OnEndDocument(self)"""
4575 return _windows_
.Printout_base_OnEndDocument(*args
, **kwargs
)
4577 def base_OnBeginPrinting(*args
, **kwargs
):
4578 """base_OnBeginPrinting(self)"""
4579 return _windows_
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
4581 def base_OnEndPrinting(*args
, **kwargs
):
4582 """base_OnEndPrinting(self)"""
4583 return _windows_
.Printout_base_OnEndPrinting(*args
, **kwargs
)
4585 def base_OnPreparePrinting(*args
, **kwargs
):
4586 """base_OnPreparePrinting(self)"""
4587 return _windows_
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
4589 def base_HasPage(*args
, **kwargs
):
4590 """base_HasPage(self, int page) -> bool"""
4591 return _windows_
.Printout_base_HasPage(*args
, **kwargs
)
4593 def base_GetPageInfo(*args
, **kwargs
):
4594 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
4595 return _windows_
.Printout_base_GetPageInfo(*args
, **kwargs
)
4598 class PrintoutPtr(Printout
):
4599 def __init__(self
, this
):
4601 if not hasattr(self
,"thisown"): self
.thisown
= 0
4602 self
.__class
__ = Printout
4603 _windows_
.Printout_swigregister(PrintoutPtr
)
4605 class PreviewCanvas(ScrolledWindow
):
4606 """Proxy of C++ PreviewCanvas class"""
4608 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4609 def __init__(self
, *args
, **kwargs
):
4611 __init__(self, PrintPreview preview, Window parent, Point pos=DefaultPosition,
4612 Size size=DefaultSize, long style=0,
4613 String name=PreviewCanvasNameStr) -> PreviewCanvas
4615 newobj
= _windows_
.new_PreviewCanvas(*args
, **kwargs
)
4616 self
.this
= newobj
.this
4619 self
._setOORInfo
(self
)
4622 class PreviewCanvasPtr(PreviewCanvas
):
4623 def __init__(self
, this
):
4625 if not hasattr(self
,"thisown"): self
.thisown
= 0
4626 self
.__class
__ = PreviewCanvas
4627 _windows_
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
4629 class PreviewFrame(Frame
):
4630 """Proxy of C++ PreviewFrame class"""
4632 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4633 def __init__(self
, *args
, **kwargs
):
4635 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4636 Size size=DefaultSize,
4637 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
4639 newobj
= _windows_
.new_PreviewFrame(*args
, **kwargs
)
4640 self
.this
= newobj
.this
4643 self
._setOORInfo
(self
)
4645 def Initialize(*args
, **kwargs
):
4646 """Initialize(self)"""
4647 return _windows_
.PreviewFrame_Initialize(*args
, **kwargs
)
4649 def CreateControlBar(*args
, **kwargs
):
4650 """CreateControlBar(self)"""
4651 return _windows_
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
4653 def CreateCanvas(*args
, **kwargs
):
4654 """CreateCanvas(self)"""
4655 return _windows_
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
4657 def GetControlBar(*args
, **kwargs
):
4658 """GetControlBar(self) -> PreviewControlBar"""
4659 return _windows_
.PreviewFrame_GetControlBar(*args
, **kwargs
)
4662 class PreviewFramePtr(PreviewFrame
):
4663 def __init__(self
, this
):
4665 if not hasattr(self
,"thisown"): self
.thisown
= 0
4666 self
.__class
__ = PreviewFrame
4667 _windows_
.PreviewFrame_swigregister(PreviewFramePtr
)
4669 PREVIEW_PRINT
= _windows_
.PREVIEW_PRINT
4670 PREVIEW_PREVIOUS
= _windows_
.PREVIEW_PREVIOUS
4671 PREVIEW_NEXT
= _windows_
.PREVIEW_NEXT
4672 PREVIEW_ZOOM
= _windows_
.PREVIEW_ZOOM
4673 PREVIEW_FIRST
= _windows_
.PREVIEW_FIRST
4674 PREVIEW_LAST
= _windows_
.PREVIEW_LAST
4675 PREVIEW_GOTO
= _windows_
.PREVIEW_GOTO
4676 PREVIEW_DEFAULT
= _windows_
.PREVIEW_DEFAULT
4677 ID_PREVIEW_CLOSE
= _windows_
.ID_PREVIEW_CLOSE
4678 ID_PREVIEW_NEXT
= _windows_
.ID_PREVIEW_NEXT
4679 ID_PREVIEW_PREVIOUS
= _windows_
.ID_PREVIEW_PREVIOUS
4680 ID_PREVIEW_PRINT
= _windows_
.ID_PREVIEW_PRINT
4681 ID_PREVIEW_ZOOM
= _windows_
.ID_PREVIEW_ZOOM
4682 ID_PREVIEW_FIRST
= _windows_
.ID_PREVIEW_FIRST
4683 ID_PREVIEW_LAST
= _windows_
.ID_PREVIEW_LAST
4684 ID_PREVIEW_GOTO
= _windows_
.ID_PREVIEW_GOTO
4685 class PreviewControlBar(Panel
):
4686 """Proxy of C++ PreviewControlBar class"""
4688 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4689 def __init__(self
, *args
, **kwargs
):
4691 __init__(self, PrintPreview preview, long buttons, Window parent,
4692 Point pos=DefaultPosition, Size size=DefaultSize,
4693 long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
4695 newobj
= _windows_
.new_PreviewControlBar(*args
, **kwargs
)
4696 self
.this
= newobj
.this
4699 self
._setOORInfo
(self
)
4701 def GetZoomControl(*args
, **kwargs
):
4702 """GetZoomControl(self) -> int"""
4703 return _windows_
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
4705 def SetZoomControl(*args
, **kwargs
):
4706 """SetZoomControl(self, int zoom)"""
4707 return _windows_
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
4709 def GetPrintPreview(*args
, **kwargs
):
4710 """GetPrintPreview(self) -> PrintPreview"""
4711 return _windows_
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
4713 def OnNext(*args
, **kwargs
):
4715 return _windows_
.PreviewControlBar_OnNext(*args
, **kwargs
)
4717 def OnPrevious(*args
, **kwargs
):
4718 """OnPrevious(self)"""
4719 return _windows_
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
4721 def OnFirst(*args
, **kwargs
):
4723 return _windows_
.PreviewControlBar_OnFirst(*args
, **kwargs
)
4725 def OnLast(*args
, **kwargs
):
4727 return _windows_
.PreviewControlBar_OnLast(*args
, **kwargs
)
4729 def OnGoto(*args
, **kwargs
):
4731 return _windows_
.PreviewControlBar_OnGoto(*args
, **kwargs
)
4734 class PreviewControlBarPtr(PreviewControlBar
):
4735 def __init__(self
, this
):
4737 if not hasattr(self
,"thisown"): self
.thisown
= 0
4738 self
.__class
__ = PreviewControlBar
4739 _windows_
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
4741 class PrintPreview(_core
.Object
):
4742 """Proxy of C++ PrintPreview class"""
4744 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4745 def __init__(self
, *args
):
4747 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview
4748 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview
4750 newobj
= _windows_
.new_PrintPreview(*args
)
4751 self
.this
= newobj
.this
4754 def SetCurrentPage(*args
, **kwargs
):
4755 """SetCurrentPage(self, int pageNum) -> bool"""
4756 return _windows_
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
4758 def GetCurrentPage(*args
, **kwargs
):
4759 """GetCurrentPage(self) -> int"""
4760 return _windows_
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
4762 def SetPrintout(*args
, **kwargs
):
4763 """SetPrintout(self, Printout printout)"""
4764 return _windows_
.PrintPreview_SetPrintout(*args
, **kwargs
)
4766 def GetPrintout(*args
, **kwargs
):
4767 """GetPrintout(self) -> Printout"""
4768 return _windows_
.PrintPreview_GetPrintout(*args
, **kwargs
)
4770 def GetPrintoutForPrinting(*args
, **kwargs
):
4771 """GetPrintoutForPrinting(self) -> Printout"""
4772 return _windows_
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
4774 def SetFrame(*args
, **kwargs
):
4775 """SetFrame(self, Frame frame)"""
4776 return _windows_
.PrintPreview_SetFrame(*args
, **kwargs
)
4778 def SetCanvas(*args
, **kwargs
):
4779 """SetCanvas(self, PreviewCanvas canvas)"""
4780 return _windows_
.PrintPreview_SetCanvas(*args
, **kwargs
)
4782 def GetFrame(*args
, **kwargs
):
4783 """GetFrame(self) -> Frame"""
4784 return _windows_
.PrintPreview_GetFrame(*args
, **kwargs
)
4786 def GetCanvas(*args
, **kwargs
):
4787 """GetCanvas(self) -> PreviewCanvas"""
4788 return _windows_
.PrintPreview_GetCanvas(*args
, **kwargs
)
4790 def PaintPage(*args
, **kwargs
):
4791 """PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4792 return _windows_
.PrintPreview_PaintPage(*args
, **kwargs
)
4794 def DrawBlankPage(*args
, **kwargs
):
4795 """DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4796 return _windows_
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
4798 def RenderPage(*args
, **kwargs
):
4799 """RenderPage(self, int pageNum) -> bool"""
4800 return _windows_
.PrintPreview_RenderPage(*args
, **kwargs
)
4802 def AdjustScrollbars(*args
, **kwargs
):
4803 """AdjustScrollbars(self, PreviewCanvas canvas)"""
4804 return _windows_
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
4806 def GetPrintDialogData(*args
, **kwargs
):
4807 """GetPrintDialogData(self) -> PrintDialogData"""
4808 return _windows_
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
4810 def SetZoom(*args
, **kwargs
):
4811 """SetZoom(self, int percent)"""
4812 return _windows_
.PrintPreview_SetZoom(*args
, **kwargs
)
4814 def GetZoom(*args
, **kwargs
):
4815 """GetZoom(self) -> int"""
4816 return _windows_
.PrintPreview_GetZoom(*args
, **kwargs
)
4818 def GetMaxPage(*args
, **kwargs
):
4819 """GetMaxPage(self) -> int"""
4820 return _windows_
.PrintPreview_GetMaxPage(*args
, **kwargs
)
4822 def GetMinPage(*args
, **kwargs
):
4823 """GetMinPage(self) -> int"""
4824 return _windows_
.PrintPreview_GetMinPage(*args
, **kwargs
)
4826 def Ok(*args
, **kwargs
):
4827 """Ok(self) -> bool"""
4828 return _windows_
.PrintPreview_Ok(*args
, **kwargs
)
4830 def SetOk(*args
, **kwargs
):
4831 """SetOk(self, bool ok)"""
4832 return _windows_
.PrintPreview_SetOk(*args
, **kwargs
)
4834 def Print(*args
, **kwargs
):
4835 """Print(self, bool interactive) -> bool"""
4836 return _windows_
.PrintPreview_Print(*args
, **kwargs
)
4838 def DetermineScaling(*args
, **kwargs
):
4839 """DetermineScaling(self)"""
4840 return _windows_
.PrintPreview_DetermineScaling(*args
, **kwargs
)
4842 def __nonzero__(self
): return self
.Ok()
4844 class PrintPreviewPtr(PrintPreview
):
4845 def __init__(self
, this
):
4847 if not hasattr(self
,"thisown"): self
.thisown
= 0
4848 self
.__class
__ = PrintPreview
4849 _windows_
.PrintPreview_swigregister(PrintPreviewPtr
)
4851 class PyPrintPreview(PrintPreview
):
4852 """Proxy of C++ PyPrintPreview class"""
4854 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4855 def __init__(self
, *args
):
4857 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview
4858 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview
4860 newobj
= _windows_
.new_PyPrintPreview(*args
)
4861 self
.this
= newobj
.this
4864 self
._setCallbackInfo
(self
, PyPrintPreview
)
4866 def _setCallbackInfo(*args
, **kwargs
):
4867 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4868 return _windows_
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
4870 def base_SetCurrentPage(*args
, **kwargs
):
4871 """base_SetCurrentPage(self, int pageNum) -> bool"""
4872 return _windows_
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
4874 def base_PaintPage(*args
, **kwargs
):
4875 """base_PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4876 return _windows_
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
4878 def base_DrawBlankPage(*args
, **kwargs
):
4879 """base_DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4880 return _windows_
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
4882 def base_RenderPage(*args
, **kwargs
):
4883 """base_RenderPage(self, int pageNum) -> bool"""
4884 return _windows_
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
4886 def base_SetZoom(*args
, **kwargs
):
4887 """base_SetZoom(self, int percent)"""
4888 return _windows_
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
4890 def base_Print(*args
, **kwargs
):
4891 """base_Print(self, bool interactive) -> bool"""
4892 return _windows_
.PyPrintPreview_base_Print(*args
, **kwargs
)
4894 def base_DetermineScaling(*args
, **kwargs
):
4895 """base_DetermineScaling(self)"""
4896 return _windows_
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
4899 class PyPrintPreviewPtr(PyPrintPreview
):
4900 def __init__(self
, this
):
4902 if not hasattr(self
,"thisown"): self
.thisown
= 0
4903 self
.__class
__ = PyPrintPreview
4904 _windows_
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
4906 class PyPreviewFrame(PreviewFrame
):
4907 """Proxy of C++ PyPreviewFrame class"""
4909 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4910 def __init__(self
, *args
, **kwargs
):
4912 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4913 Size size=DefaultSize,
4914 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
4916 newobj
= _windows_
.new_PyPreviewFrame(*args
, **kwargs
)
4917 self
.this
= newobj
.this
4920 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
4922 def _setCallbackInfo(*args
, **kwargs
):
4923 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4924 return _windows_
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
4926 def SetPreviewCanvas(*args
, **kwargs
):
4927 """SetPreviewCanvas(self, PreviewCanvas canvas)"""
4928 return _windows_
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
4930 def SetControlBar(*args
, **kwargs
):
4931 """SetControlBar(self, PreviewControlBar bar)"""
4932 return _windows_
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
4934 def base_Initialize(*args
, **kwargs
):
4935 """base_Initialize(self)"""
4936 return _windows_
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
4938 def base_CreateCanvas(*args
, **kwargs
):
4939 """base_CreateCanvas(self)"""
4940 return _windows_
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
4942 def base_CreateControlBar(*args
, **kwargs
):
4943 """base_CreateControlBar(self)"""
4944 return _windows_
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
4947 class PyPreviewFramePtr(PyPreviewFrame
):
4948 def __init__(self
, this
):
4950 if not hasattr(self
,"thisown"): self
.thisown
= 0
4951 self
.__class
__ = PyPreviewFrame
4952 _windows_
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
4954 class PyPreviewControlBar(PreviewControlBar
):
4955 """Proxy of C++ PyPreviewControlBar class"""
4957 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4958 def __init__(self
, *args
, **kwargs
):
4960 __init__(self, PrintPreview preview, long buttons, Window parent,
4961 Point pos=DefaultPosition, Size size=DefaultSize,
4962 long style=0, String name=PanelNameStr) -> PyPreviewControlBar
4964 newobj
= _windows_
.new_PyPreviewControlBar(*args
, **kwargs
)
4965 self
.this
= newobj
.this
4968 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
4970 def _setCallbackInfo(*args
, **kwargs
):
4971 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4972 return _windows_
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
4974 def SetPrintPreview(*args
, **kwargs
):
4975 """SetPrintPreview(self, PrintPreview preview)"""
4976 return _windows_
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
4978 def base_CreateButtons(*args
, **kwargs
):
4979 """base_CreateButtons(self)"""
4980 return _windows_
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
4982 def base_SetZoomControl(*args
, **kwargs
):
4983 """base_SetZoomControl(self, int zoom)"""
4984 return _windows_
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
4987 class PyPreviewControlBarPtr(PyPreviewControlBar
):
4988 def __init__(self
, this
):
4990 if not hasattr(self
,"thisown"): self
.thisown
= 0
4991 self
.__class
__ = PyPreviewControlBar
4992 _windows_
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)