1 # This file was created automatically by SWIG 1.3.29.
2 # Don't modify this file, modify the SWIG interface instead.
6 new_instancemethod
= new
.instancemethod
7 def _swig_setattr_nondynamic(self
,class_type
,name
,value
,static
=1):
8 if (name
== "thisown"): return self
.this
.own(value
)
10 if type(value
).__name
__ == 'PySwigObject':
11 self
.__dict
__[name
] = value
13 method
= class_type
.__swig
_setmethods
__.get(name
,None)
14 if method
: return method(self
,value
)
15 if (not static
) or hasattr(self
,name
):
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 if (name
== "thisown"): return self
.this
.own()
25 method
= class_type
.__swig
_getmethods
__.get(name
,None)
26 if method
: return method(self
)
27 raise AttributeError,name
30 try: strthis
= "proxy of " + self
.this
.__repr
__()
32 return "<%s.%s; %s >" % (self
.__class
__.__module
__, self
.__class
__.__name
__, strthis
,)
36 _object
= types
.ObjectType
38 except AttributeError:
44 def _swig_setattr_nondynamic_method(set):
45 def set_attr(self
,name
,value
):
46 if (name
== "thisown"): return self
.this
.own(value
)
47 if hasattr(self
,name
) or (name
== "this"):
50 raise AttributeError("You cannot add attributes to %s" % self
)
56 #---------------------------------------------------------------------------
58 class Panel(_core
.Window
):
59 """Proxy of C++ Panel class"""
60 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
62 def __init__(self
, *args
, **kwargs
):
64 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
65 Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
66 String name=PanelNameStr) -> Panel
68 _windows_
.Panel_swiginit(self
,_windows_
.new_Panel(*args
, **kwargs
))
69 self
._setOORInfo
(self
)
71 def Create(*args
, **kwargs
):
73 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
74 Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
75 String name=PanelNameStr) -> bool
77 Create the GUI part of the Window for 2-phase creation mode.
79 return _windows_
.Panel_Create(*args
, **kwargs
)
81 def SetFocusIgnoringChildren(*args
, **kwargs
):
83 SetFocusIgnoringChildren(self)
85 In contrast to `SetFocus` (see above) this will set the focus to the
86 panel even of there are child windows in the panel. This is only
89 return _windows_
.Panel_SetFocusIgnoringChildren(*args
, **kwargs
)
91 def GetClassDefaultAttributes(*args
, **kwargs
):
93 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
95 Get the default attributes for this class. This is useful if you want
96 to use the same font or colour in your own control as in a standard
97 control -- which is a much better idea than hard coding specific
98 colours or fonts which might look completely out of place on the
99 user's system, especially if it uses themes.
101 The variant parameter is only relevant under Mac currently and is
102 ignore under other platforms. Under Mac, it will change the size of
103 the returned font. See `wx.Window.SetWindowVariant` for more about
106 return _windows_
.Panel_GetClassDefaultAttributes(*args
, **kwargs
)
108 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
109 Panel_swigregister
= _windows_
.Panel_swigregister
110 Panel_swigregister(Panel
)
112 def PrePanel(*args
, **kwargs
):
113 """PrePanel() -> Panel"""
114 val
= _windows_
.new_PrePanel(*args
, **kwargs
)
117 def Panel_GetClassDefaultAttributes(*args
, **kwargs
):
119 Panel_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
121 Get the default attributes for this class. This is useful if you want
122 to use the same font or colour in your own control as in a standard
123 control -- which is a much better idea than hard coding specific
124 colours or fonts which might look completely out of place on the
125 user's system, especially if it uses themes.
127 The variant parameter is only relevant under Mac currently and is
128 ignore under other platforms. Under Mac, it will change the size of
129 the returned font. See `wx.Window.SetWindowVariant` for more about
132 return _windows_
.Panel_GetClassDefaultAttributes(*args
, **kwargs
)
134 #---------------------------------------------------------------------------
136 class ScrolledWindow(Panel
):
137 """Proxy of C++ ScrolledWindow class"""
138 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
139 __repr__
= _swig_repr
140 def __init__(self
, *args
, **kwargs
):
142 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
143 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
144 String name=PanelNameStr) -> ScrolledWindow
146 _windows_
.ScrolledWindow_swiginit(self
,_windows_
.new_ScrolledWindow(*args
, **kwargs
))
147 self
._setOORInfo
(self
)
149 def Create(*args
, **kwargs
):
151 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
152 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
153 String name=PanelNameStr) -> bool
155 Create the GUI part of the Window for 2-phase creation mode.
157 return _windows_
.ScrolledWindow_Create(*args
, **kwargs
)
159 def SetScrollbars(*args
, **kwargs
):
161 SetScrollbars(self, int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX,
162 int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)
164 return _windows_
.ScrolledWindow_SetScrollbars(*args
, **kwargs
)
166 def Scroll(*args
, **kwargs
):
167 """Scroll(self, int x, int y)"""
168 return _windows_
.ScrolledWindow_Scroll(*args
, **kwargs
)
170 def GetScrollPageSize(*args
, **kwargs
):
171 """GetScrollPageSize(self, int orient) -> int"""
172 return _windows_
.ScrolledWindow_GetScrollPageSize(*args
, **kwargs
)
174 def SetScrollPageSize(*args
, **kwargs
):
175 """SetScrollPageSize(self, int orient, int pageSize)"""
176 return _windows_
.ScrolledWindow_SetScrollPageSize(*args
, **kwargs
)
178 def SetScrollRate(*args
, **kwargs
):
179 """SetScrollRate(self, int xstep, int ystep)"""
180 return _windows_
.ScrolledWindow_SetScrollRate(*args
, **kwargs
)
182 def GetScrollPixelsPerUnit(*args
, **kwargs
):
184 GetScrollPixelsPerUnit() -> (xUnit, yUnit)
186 Get the size of one logical unit in physical units.
188 return _windows_
.ScrolledWindow_GetScrollPixelsPerUnit(*args
, **kwargs
)
190 def EnableScrolling(*args
, **kwargs
):
191 """EnableScrolling(self, bool x_scrolling, bool y_scrolling)"""
192 return _windows_
.ScrolledWindow_EnableScrolling(*args
, **kwargs
)
194 def GetViewStart(*args
, **kwargs
):
196 GetViewStart() -> (x,y)
200 return _windows_
.ScrolledWindow_GetViewStart(*args
, **kwargs
)
202 def SetScale(*args
, **kwargs
):
203 """SetScale(self, double xs, double ys)"""
204 return _windows_
.ScrolledWindow_SetScale(*args
, **kwargs
)
206 def GetScaleX(*args
, **kwargs
):
207 """GetScaleX(self) -> double"""
208 return _windows_
.ScrolledWindow_GetScaleX(*args
, **kwargs
)
210 def GetScaleY(*args
, **kwargs
):
211 """GetScaleY(self) -> double"""
212 return _windows_
.ScrolledWindow_GetScaleY(*args
, **kwargs
)
214 def CalcScrolledPosition(*args
):
216 CalcScrolledPosition(self, Point pt) -> Point
217 CalcScrolledPosition(int x, int y) -> (sx, sy)
219 Translate between scrolled and unscrolled coordinates.
221 return _windows_
.ScrolledWindow_CalcScrolledPosition(*args
)
223 def CalcUnscrolledPosition(*args
):
225 CalcUnscrolledPosition(self, Point pt) -> Point
226 CalcUnscrolledPosition(int x, int y) -> (ux, uy)
228 Translate between scrolled and unscrolled coordinates.
230 return _windows_
.ScrolledWindow_CalcUnscrolledPosition(*args
)
232 def AdjustScrollbars(*args
, **kwargs
):
233 """AdjustScrollbars(self)"""
234 return _windows_
.ScrolledWindow_AdjustScrollbars(*args
, **kwargs
)
236 def CalcScrollInc(*args
, **kwargs
):
237 """CalcScrollInc(self, ScrollWinEvent event) -> int"""
238 return _windows_
.ScrolledWindow_CalcScrollInc(*args
, **kwargs
)
240 def SetTargetWindow(*args
, **kwargs
):
241 """SetTargetWindow(self, Window target)"""
242 return _windows_
.ScrolledWindow_SetTargetWindow(*args
, **kwargs
)
244 def GetTargetWindow(*args
, **kwargs
):
245 """GetTargetWindow(self) -> Window"""
246 return _windows_
.ScrolledWindow_GetTargetWindow(*args
, **kwargs
)
248 def DoPrepareDC(*args
, **kwargs
):
250 DoPrepareDC(self, DC dc)
252 Normally what is called by `PrepareDC`.
254 return _windows_
.ScrolledWindow_DoPrepareDC(*args
, **kwargs
)
256 def GetClassDefaultAttributes(*args
, **kwargs
):
258 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
260 Get the default attributes for this class. This is useful if you want
261 to use the same font or colour in your own control as in a standard
262 control -- which is a much better idea than hard coding specific
263 colours or fonts which might look completely out of place on the
264 user's system, especially if it uses themes.
266 The variant parameter is only relevant under Mac currently and is
267 ignore under other platforms. Under Mac, it will change the size of
268 the returned font. See `wx.Window.SetWindowVariant` for more about
271 return _windows_
.ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
)
273 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
274 ScrolledWindow_swigregister
= _windows_
.ScrolledWindow_swigregister
275 ScrolledWindow_swigregister(ScrolledWindow
)
277 def PreScrolledWindow(*args
, **kwargs
):
278 """PreScrolledWindow() -> ScrolledWindow"""
279 val
= _windows_
.new_PreScrolledWindow(*args
, **kwargs
)
282 def ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
):
284 ScrolledWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
286 Get the default attributes for this class. This is useful if you want
287 to use the same font or colour in your own control as in a standard
288 control -- which is a much better idea than hard coding specific
289 colours or fonts which might look completely out of place on the
290 user's system, especially if it uses themes.
292 The variant parameter is only relevant under Mac currently and is
293 ignore under other platforms. Under Mac, it will change the size of
294 the returned font. See `wx.Window.SetWindowVariant` for more about
297 return _windows_
.ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
)
299 #---------------------------------------------------------------------------
301 STAY_ON_TOP
= _windows_
.STAY_ON_TOP
302 ICONIZE
= _windows_
.ICONIZE
303 MINIMIZE
= _windows_
.MINIMIZE
304 MAXIMIZE
= _windows_
.MAXIMIZE
305 CLOSE_BOX
= _windows_
.CLOSE_BOX
306 THICK_FRAME
= _windows_
.THICK_FRAME
307 SYSTEM_MENU
= _windows_
.SYSTEM_MENU
308 MINIMIZE_BOX
= _windows_
.MINIMIZE_BOX
309 MAXIMIZE_BOX
= _windows_
.MAXIMIZE_BOX
310 TINY_CAPTION_HORIZ
= _windows_
.TINY_CAPTION_HORIZ
311 TINY_CAPTION_VERT
= _windows_
.TINY_CAPTION_VERT
312 RESIZE_BOX
= _windows_
.RESIZE_BOX
313 RESIZE_BORDER
= _windows_
.RESIZE_BORDER
314 DIALOG_NO_PARENT
= _windows_
.DIALOG_NO_PARENT
315 DEFAULT_FRAME_STYLE
= _windows_
.DEFAULT_FRAME_STYLE
316 DEFAULT_DIALOG_STYLE
= _windows_
.DEFAULT_DIALOG_STYLE
317 FRAME_TOOL_WINDOW
= _windows_
.FRAME_TOOL_WINDOW
318 FRAME_FLOAT_ON_PARENT
= _windows_
.FRAME_FLOAT_ON_PARENT
319 FRAME_NO_WINDOW_MENU
= _windows_
.FRAME_NO_WINDOW_MENU
320 FRAME_NO_TASKBAR
= _windows_
.FRAME_NO_TASKBAR
321 FRAME_SHAPED
= _windows_
.FRAME_SHAPED
322 FRAME_DRAWER
= _windows_
.FRAME_DRAWER
323 FRAME_EX_METAL
= _windows_
.FRAME_EX_METAL
324 DIALOG_EX_METAL
= _windows_
.DIALOG_EX_METAL
325 DIALOG_MODAL
= _windows_
.DIALOG_MODAL
326 DIALOG_MODELESS
= _windows_
.DIALOG_MODELESS
327 USER_COLOURS
= _windows_
.USER_COLOURS
328 NO_3D
= _windows_
.NO_3D
329 FULLSCREEN_NOMENUBAR
= _windows_
.FULLSCREEN_NOMENUBAR
330 FULLSCREEN_NOTOOLBAR
= _windows_
.FULLSCREEN_NOTOOLBAR
331 FULLSCREEN_NOSTATUSBAR
= _windows_
.FULLSCREEN_NOSTATUSBAR
332 FULLSCREEN_NOBORDER
= _windows_
.FULLSCREEN_NOBORDER
333 FULLSCREEN_NOCAPTION
= _windows_
.FULLSCREEN_NOCAPTION
334 FULLSCREEN_ALL
= _windows_
.FULLSCREEN_ALL
335 TOPLEVEL_EX_DIALOG
= _windows_
.TOPLEVEL_EX_DIALOG
336 USER_ATTENTION_INFO
= _windows_
.USER_ATTENTION_INFO
337 USER_ATTENTION_ERROR
= _windows_
.USER_ATTENTION_ERROR
338 class TopLevelWindow(_core
.Window
):
339 """Proxy of C++ TopLevelWindow class"""
340 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
341 def __init__(self
): raise AttributeError, "No constructor defined"
342 __repr__
= _swig_repr
343 def Maximize(*args
, **kwargs
):
344 """Maximize(self, bool maximize=True)"""
345 return _windows_
.TopLevelWindow_Maximize(*args
, **kwargs
)
347 def Restore(*args
, **kwargs
):
349 return _windows_
.TopLevelWindow_Restore(*args
, **kwargs
)
351 def Iconize(*args
, **kwargs
):
352 """Iconize(self, bool iconize=True)"""
353 return _windows_
.TopLevelWindow_Iconize(*args
, **kwargs
)
355 def IsMaximized(*args
, **kwargs
):
356 """IsMaximized(self) -> bool"""
357 return _windows_
.TopLevelWindow_IsMaximized(*args
, **kwargs
)
359 def IsIconized(*args
, **kwargs
):
360 """IsIconized(self) -> bool"""
361 return _windows_
.TopLevelWindow_IsIconized(*args
, **kwargs
)
363 def GetIcon(*args
, **kwargs
):
364 """GetIcon(self) -> Icon"""
365 return _windows_
.TopLevelWindow_GetIcon(*args
, **kwargs
)
367 def SetIcon(*args
, **kwargs
):
368 """SetIcon(self, Icon icon)"""
369 return _windows_
.TopLevelWindow_SetIcon(*args
, **kwargs
)
371 def SetIcons(*args
, **kwargs
):
372 """SetIcons(self, wxIconBundle icons)"""
373 return _windows_
.TopLevelWindow_SetIcons(*args
, **kwargs
)
375 def ShowFullScreen(*args
, **kwargs
):
376 """ShowFullScreen(self, bool show, long style=FULLSCREEN_ALL) -> bool"""
377 return _windows_
.TopLevelWindow_ShowFullScreen(*args
, **kwargs
)
379 def IsFullScreen(*args
, **kwargs
):
380 """IsFullScreen(self) -> bool"""
381 return _windows_
.TopLevelWindow_IsFullScreen(*args
, **kwargs
)
383 def SetTitle(*args
, **kwargs
):
384 """SetTitle(self, String title)"""
385 return _windows_
.TopLevelWindow_SetTitle(*args
, **kwargs
)
387 def GetTitle(*args
, **kwargs
):
388 """GetTitle(self) -> String"""
389 return _windows_
.TopLevelWindow_GetTitle(*args
, **kwargs
)
391 def SetShape(*args
, **kwargs
):
392 """SetShape(self, Region region) -> bool"""
393 return _windows_
.TopLevelWindow_SetShape(*args
, **kwargs
)
395 def RequestUserAttention(*args
, **kwargs
):
396 """RequestUserAttention(self, int flags=USER_ATTENTION_INFO)"""
397 return _windows_
.TopLevelWindow_RequestUserAttention(*args
, **kwargs
)
399 def IsActive(*args
, **kwargs
):
400 """IsActive(self) -> bool"""
401 return _windows_
.TopLevelWindow_IsActive(*args
, **kwargs
)
403 def MacSetMetalAppearance(*args
, **kwargs
):
404 """MacSetMetalAppearance(self, bool on)"""
405 return _windows_
.TopLevelWindow_MacSetMetalAppearance(*args
, **kwargs
)
407 def MacGetMetalAppearance(*args
, **kwargs
):
408 """MacGetMetalAppearance(self) -> bool"""
409 return _windows_
.TopLevelWindow_MacGetMetalAppearance(*args
, **kwargs
)
411 def CenterOnScreen(*args
, **kwargs
):
413 CenterOnScreen(self, int dir=BOTH)
415 Center the window on screen
417 return _windows_
.TopLevelWindow_CenterOnScreen(*args
, **kwargs
)
419 CentreOnScreen
= CenterOnScreen
420 TopLevelWindow_swigregister
= _windows_
.TopLevelWindow_swigregister
421 TopLevelWindow_swigregister(TopLevelWindow
)
422 cvar
= _windows_
.cvar
423 FrameNameStr
= cvar
.FrameNameStr
424 DialogNameStr
= cvar
.DialogNameStr
425 StatusLineNameStr
= cvar
.StatusLineNameStr
426 ToolBarNameStr
= cvar
.ToolBarNameStr
428 #---------------------------------------------------------------------------
430 class Frame(TopLevelWindow
):
431 """Proxy of C++ Frame class"""
432 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
433 __repr__
= _swig_repr
434 def __init__(self
, *args
, **kwargs
):
436 __init__(self, Window parent, int id=-1, String title=EmptyString,
437 Point pos=DefaultPosition, Size size=DefaultSize,
438 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> Frame
440 _windows_
.Frame_swiginit(self
,_windows_
.new_Frame(*args
, **kwargs
))
441 self
._setOORInfo
(self
)
443 def Create(*args
, **kwargs
):
445 Create(self, Window parent, int id=-1, String title=EmptyString,
446 Point pos=DefaultPosition, Size size=DefaultSize,
447 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
449 return _windows_
.Frame_Create(*args
, **kwargs
)
451 def SendSizeEvent(*args
, **kwargs
):
452 """SendSizeEvent(self)"""
453 return _windows_
.Frame_SendSizeEvent(*args
, **kwargs
)
455 def SetMenuBar(*args
, **kwargs
):
456 """SetMenuBar(self, MenuBar menubar)"""
457 return _windows_
.Frame_SetMenuBar(*args
, **kwargs
)
459 def GetMenuBar(*args
, **kwargs
):
460 """GetMenuBar(self) -> MenuBar"""
461 return _windows_
.Frame_GetMenuBar(*args
, **kwargs
)
463 def ProcessCommand(*args
, **kwargs
):
464 """ProcessCommand(self, int winid) -> bool"""
465 return _windows_
.Frame_ProcessCommand(*args
, **kwargs
)
467 Command
= ProcessCommand
468 def CreateStatusBar(*args
, **kwargs
):
470 CreateStatusBar(self, int number=1, long style=DEFAULT_STATUSBAR_STYLE, int winid=0,
471 String name=StatusLineNameStr) -> StatusBar
473 return _windows_
.Frame_CreateStatusBar(*args
, **kwargs
)
475 def GetStatusBar(*args
, **kwargs
):
476 """GetStatusBar(self) -> StatusBar"""
477 return _windows_
.Frame_GetStatusBar(*args
, **kwargs
)
479 def SetStatusBar(*args
, **kwargs
):
480 """SetStatusBar(self, StatusBar statBar)"""
481 return _windows_
.Frame_SetStatusBar(*args
, **kwargs
)
483 def SetStatusText(*args
, **kwargs
):
484 """SetStatusText(self, String text, int number=0)"""
485 return _windows_
.Frame_SetStatusText(*args
, **kwargs
)
487 def SetStatusWidths(*args
, **kwargs
):
488 """SetStatusWidths(self, int widths)"""
489 return _windows_
.Frame_SetStatusWidths(*args
, **kwargs
)
491 def PushStatusText(*args
, **kwargs
):
492 """PushStatusText(self, String text, int number=0)"""
493 return _windows_
.Frame_PushStatusText(*args
, **kwargs
)
495 def PopStatusText(*args
, **kwargs
):
496 """PopStatusText(self, int number=0)"""
497 return _windows_
.Frame_PopStatusText(*args
, **kwargs
)
499 def SetStatusBarPane(*args
, **kwargs
):
500 """SetStatusBarPane(self, int n)"""
501 return _windows_
.Frame_SetStatusBarPane(*args
, **kwargs
)
503 def GetStatusBarPane(*args
, **kwargs
):
504 """GetStatusBarPane(self) -> int"""
505 return _windows_
.Frame_GetStatusBarPane(*args
, **kwargs
)
507 def CreateToolBar(*args
, **kwargs
):
508 """CreateToolBar(self, long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar"""
509 return _windows_
.Frame_CreateToolBar(*args
, **kwargs
)
511 def GetToolBar(*args
, **kwargs
):
512 """GetToolBar(self) -> wxToolBar"""
513 return _windows_
.Frame_GetToolBar(*args
, **kwargs
)
515 def SetToolBar(*args
, **kwargs
):
516 """SetToolBar(self, wxToolBar toolbar)"""
517 return _windows_
.Frame_SetToolBar(*args
, **kwargs
)
519 def DoGiveHelp(*args
, **kwargs
):
520 """DoGiveHelp(self, String text, bool show)"""
521 return _windows_
.Frame_DoGiveHelp(*args
, **kwargs
)
523 def DoMenuUpdates(*args
, **kwargs
):
524 """DoMenuUpdates(self, Menu menu=None)"""
525 return _windows_
.Frame_DoMenuUpdates(*args
, **kwargs
)
527 def GetClassDefaultAttributes(*args
, **kwargs
):
529 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
531 Get the default attributes for this class. This is useful if you want
532 to use the same font or colour in your own control as in a standard
533 control -- which is a much better idea than hard coding specific
534 colours or fonts which might look completely out of place on the
535 user's system, especially if it uses themes.
537 The variant parameter is only relevant under Mac currently and is
538 ignore under other platforms. Under Mac, it will change the size of
539 the returned font. See `wx.Window.SetWindowVariant` for more about
542 return _windows_
.Frame_GetClassDefaultAttributes(*args
, **kwargs
)
544 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
545 Frame_swigregister
= _windows_
.Frame_swigregister
546 Frame_swigregister(Frame
)
548 def PreFrame(*args
, **kwargs
):
549 """PreFrame() -> Frame"""
550 val
= _windows_
.new_PreFrame(*args
, **kwargs
)
553 def Frame_GetClassDefaultAttributes(*args
, **kwargs
):
555 Frame_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
557 Get the default attributes for this class. This is useful if you want
558 to use the same font or colour in your own control as in a standard
559 control -- which is a much better idea than hard coding specific
560 colours or fonts which might look completely out of place on the
561 user's system, especially if it uses themes.
563 The variant parameter is only relevant under Mac currently and is
564 ignore under other platforms. Under Mac, it will change the size of
565 the returned font. See `wx.Window.SetWindowVariant` for more about
568 return _windows_
.Frame_GetClassDefaultAttributes(*args
, **kwargs
)
570 #---------------------------------------------------------------------------
572 class Dialog(TopLevelWindow
):
573 """Proxy of C++ Dialog class"""
574 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
575 __repr__
= _swig_repr
576 ButtonSizerFlags
= _windows_
.Dialog_ButtonSizerFlags
577 def __init__(self
, *args
, **kwargs
):
579 __init__(self, Window parent, int id=-1, String title=EmptyString,
580 Point pos=DefaultPosition, Size size=DefaultSize,
581 long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> Dialog
583 _windows_
.Dialog_swiginit(self
,_windows_
.new_Dialog(*args
, **kwargs
))
584 self
._setOORInfo
(self
)
586 def Create(*args
, **kwargs
):
588 Create(self, Window parent, int id=-1, String title=EmptyString,
589 Point pos=DefaultPosition, Size size=DefaultSize,
590 long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> bool
592 return _windows_
.Dialog_Create(*args
, **kwargs
)
594 def SetReturnCode(*args
, **kwargs
):
595 """SetReturnCode(self, int returnCode)"""
596 return _windows_
.Dialog_SetReturnCode(*args
, **kwargs
)
598 def GetReturnCode(*args
, **kwargs
):
599 """GetReturnCode(self) -> int"""
600 return _windows_
.Dialog_GetReturnCode(*args
, **kwargs
)
602 def SetAffirmativeId(*args
, **kwargs
):
603 """SetAffirmativeId(self, int affirmativeId)"""
604 return _windows_
.Dialog_SetAffirmativeId(*args
, **kwargs
)
606 def GetAffirmativeId(*args
, **kwargs
):
607 """GetAffirmativeId(self) -> int"""
608 return _windows_
.Dialog_GetAffirmativeId(*args
, **kwargs
)
610 def SetEscapeId(*args
, **kwargs
):
611 """SetEscapeId(self, int escapeId)"""
612 return _windows_
.Dialog_SetEscapeId(*args
, **kwargs
)
614 def GetEscapeId(*args
, **kwargs
):
615 """GetEscapeId(self) -> int"""
616 return _windows_
.Dialog_GetEscapeId(*args
, **kwargs
)
618 def CreateTextSizer(*args
, **kwargs
):
619 """CreateTextSizer(self, String message) -> Sizer"""
620 return _windows_
.Dialog_CreateTextSizer(*args
, **kwargs
)
622 def CreateButtonSizer(*args
, **kwargs
):
623 """CreateButtonSizer(self, long flags, bool separated=False, int distance=0) -> Sizer"""
624 return _windows_
.Dialog_CreateButtonSizer(*args
, **kwargs
)
626 def CreateStdDialogButtonSizer(*args
, **kwargs
):
627 """CreateStdDialogButtonSizer(self, long flags) -> StdDialogButtonSizer"""
628 return _windows_
.Dialog_CreateStdDialogButtonSizer(*args
, **kwargs
)
630 def IsModal(*args
, **kwargs
):
631 """IsModal(self) -> bool"""
632 return _windows_
.Dialog_IsModal(*args
, **kwargs
)
634 def ShowModal(*args
, **kwargs
):
635 """ShowModal(self) -> int"""
636 return _windows_
.Dialog_ShowModal(*args
, **kwargs
)
638 def EndModal(*args
, **kwargs
):
639 """EndModal(self, int retCode)"""
640 return _windows_
.Dialog_EndModal(*args
, **kwargs
)
642 def GetClassDefaultAttributes(*args
, **kwargs
):
644 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
646 Get the default attributes for this class. This is useful if you want
647 to use the same font or colour in your own control as in a standard
648 control -- which is a much better idea than hard coding specific
649 colours or fonts which might look completely out of place on the
650 user's system, especially if it uses themes.
652 The variant parameter is only relevant under Mac currently and is
653 ignore under other platforms. Under Mac, it will change the size of
654 the returned font. See `wx.Window.SetWindowVariant` for more about
657 return _windows_
.Dialog_GetClassDefaultAttributes(*args
, **kwargs
)
659 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
660 Dialog_swigregister
= _windows_
.Dialog_swigregister
661 Dialog_swigregister(Dialog
)
663 def PreDialog(*args
, **kwargs
):
664 """PreDialog() -> Dialog"""
665 val
= _windows_
.new_PreDialog(*args
, **kwargs
)
668 def Dialog_GetClassDefaultAttributes(*args
, **kwargs
):
670 Dialog_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
672 Get the default attributes for this class. This is useful if you want
673 to use the same font or colour in your own control as in a standard
674 control -- which is a much better idea than hard coding specific
675 colours or fonts which might look completely out of place on the
676 user's system, especially if it uses themes.
678 The variant parameter is only relevant under Mac currently and is
679 ignore under other platforms. Under Mac, it will change the size of
680 the returned font. See `wx.Window.SetWindowVariant` for more about
683 return _windows_
.Dialog_GetClassDefaultAttributes(*args
, **kwargs
)
685 #---------------------------------------------------------------------------
687 class MiniFrame(Frame
):
688 """Proxy of C++ MiniFrame class"""
689 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
690 __repr__
= _swig_repr
691 def __init__(self
, *args
, **kwargs
):
693 __init__(self, Window parent, int id=-1, String title=EmptyString,
694 Point pos=DefaultPosition, Size size=DefaultSize,
695 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> MiniFrame
697 _windows_
.MiniFrame_swiginit(self
,_windows_
.new_MiniFrame(*args
, **kwargs
))
698 self
._setOORInfo
(self
)
700 def Create(*args
, **kwargs
):
702 Create(self, Window parent, int id=-1, String title=EmptyString,
703 Point pos=DefaultPosition, Size size=DefaultSize,
704 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
706 return _windows_
.MiniFrame_Create(*args
, **kwargs
)
708 MiniFrame_swigregister
= _windows_
.MiniFrame_swigregister
709 MiniFrame_swigregister(MiniFrame
)
711 def PreMiniFrame(*args
, **kwargs
):
712 """PreMiniFrame() -> MiniFrame"""
713 val
= _windows_
.new_PreMiniFrame(*args
, **kwargs
)
716 #---------------------------------------------------------------------------
718 SPLASH_CENTRE_ON_PARENT
= _windows_
.SPLASH_CENTRE_ON_PARENT
719 SPLASH_CENTRE_ON_SCREEN
= _windows_
.SPLASH_CENTRE_ON_SCREEN
720 SPLASH_NO_CENTRE
= _windows_
.SPLASH_NO_CENTRE
721 SPLASH_TIMEOUT
= _windows_
.SPLASH_TIMEOUT
722 SPLASH_NO_TIMEOUT
= _windows_
.SPLASH_NO_TIMEOUT
723 class SplashScreenWindow(_core
.Window
):
724 """Proxy of C++ SplashScreenWindow class"""
725 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
726 __repr__
= _swig_repr
727 def __init__(self
, *args
, **kwargs
):
729 __init__(self, Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
730 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
732 _windows_
.SplashScreenWindow_swiginit(self
,_windows_
.new_SplashScreenWindow(*args
, **kwargs
))
733 self
._setOORInfo
(self
)
735 def SetBitmap(*args
, **kwargs
):
736 """SetBitmap(self, Bitmap bitmap)"""
737 return _windows_
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
739 def GetBitmap(*args
, **kwargs
):
740 """GetBitmap(self) -> Bitmap"""
741 return _windows_
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
743 SplashScreenWindow_swigregister
= _windows_
.SplashScreenWindow_swigregister
744 SplashScreenWindow_swigregister(SplashScreenWindow
)
746 class SplashScreen(Frame
):
747 """Proxy of C++ SplashScreen class"""
748 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
749 __repr__
= _swig_repr
750 def __init__(self
, *args
, **kwargs
):
752 __init__(self, Bitmap bitmap, long splashStyle, int milliseconds,
753 Window parent, int id=-1, Point pos=DefaultPosition,
754 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
756 _windows_
.SplashScreen_swiginit(self
,_windows_
.new_SplashScreen(*args
, **kwargs
))
757 self
._setOORInfo
(self
)
759 def GetSplashStyle(*args
, **kwargs
):
760 """GetSplashStyle(self) -> long"""
761 return _windows_
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
763 def GetSplashWindow(*args
, **kwargs
):
764 """GetSplashWindow(self) -> SplashScreenWindow"""
765 return _windows_
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
767 def GetTimeout(*args
, **kwargs
):
768 """GetTimeout(self) -> int"""
769 return _windows_
.SplashScreen_GetTimeout(*args
, **kwargs
)
771 SplashScreen_swigregister
= _windows_
.SplashScreen_swigregister
772 SplashScreen_swigregister(SplashScreen
)
774 #---------------------------------------------------------------------------
776 SB_NORMAL
= _windows_
.SB_NORMAL
777 SB_FLAT
= _windows_
.SB_FLAT
778 SB_RAISED
= _windows_
.SB_RAISED
779 class StatusBar(_core
.Window
):
780 """Proxy of C++ StatusBar class"""
781 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
782 __repr__
= _swig_repr
783 def __init__(self
, *args
, **kwargs
):
785 __init__(self, Window parent, int id=-1, long style=DEFAULT_STATUSBAR_STYLE,
786 String name=StatusLineNameStr) -> StatusBar
788 _windows_
.StatusBar_swiginit(self
,_windows_
.new_StatusBar(*args
, **kwargs
))
789 self
._setOORInfo
(self
)
791 def Create(*args
, **kwargs
):
792 """Create(self, Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
793 return _windows_
.StatusBar_Create(*args
, **kwargs
)
795 def SetFieldsCount(*args
, **kwargs
):
796 """SetFieldsCount(self, int number=1)"""
797 return _windows_
.StatusBar_SetFieldsCount(*args
, **kwargs
)
799 def GetFieldsCount(*args
, **kwargs
):
800 """GetFieldsCount(self) -> int"""
801 return _windows_
.StatusBar_GetFieldsCount(*args
, **kwargs
)
803 def SetStatusText(*args
, **kwargs
):
804 """SetStatusText(self, String text, int number=0)"""
805 return _windows_
.StatusBar_SetStatusText(*args
, **kwargs
)
807 def GetStatusText(*args
, **kwargs
):
808 """GetStatusText(self, int number=0) -> String"""
809 return _windows_
.StatusBar_GetStatusText(*args
, **kwargs
)
811 def PushStatusText(*args
, **kwargs
):
812 """PushStatusText(self, String text, int number=0)"""
813 return _windows_
.StatusBar_PushStatusText(*args
, **kwargs
)
815 def PopStatusText(*args
, **kwargs
):
816 """PopStatusText(self, int number=0)"""
817 return _windows_
.StatusBar_PopStatusText(*args
, **kwargs
)
819 def SetStatusWidths(*args
, **kwargs
):
820 """SetStatusWidths(self, int widths)"""
821 return _windows_
.StatusBar_SetStatusWidths(*args
, **kwargs
)
823 def SetStatusStyles(*args
, **kwargs
):
824 """SetStatusStyles(self, int styles)"""
825 return _windows_
.StatusBar_SetStatusStyles(*args
, **kwargs
)
827 def GetFieldRect(*args
, **kwargs
):
828 """GetFieldRect(self, int i) -> Rect"""
829 return _windows_
.StatusBar_GetFieldRect(*args
, **kwargs
)
831 def SetMinHeight(*args
, **kwargs
):
832 """SetMinHeight(self, int height)"""
833 return _windows_
.StatusBar_SetMinHeight(*args
, **kwargs
)
835 def GetBorderX(*args
, **kwargs
):
836 """GetBorderX(self) -> int"""
837 return _windows_
.StatusBar_GetBorderX(*args
, **kwargs
)
839 def GetBorderY(*args
, **kwargs
):
840 """GetBorderY(self) -> int"""
841 return _windows_
.StatusBar_GetBorderY(*args
, **kwargs
)
843 def GetClassDefaultAttributes(*args
, **kwargs
):
845 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
847 Get the default attributes for this class. This is useful if you want
848 to use the same font or colour in your own control as in a standard
849 control -- which is a much better idea than hard coding specific
850 colours or fonts which might look completely out of place on the
851 user's system, especially if it uses themes.
853 The variant parameter is only relevant under Mac currently and is
854 ignore under other platforms. Under Mac, it will change the size of
855 the returned font. See `wx.Window.SetWindowVariant` for more about
858 return _windows_
.StatusBar_GetClassDefaultAttributes(*args
, **kwargs
)
860 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
861 StatusBar_swigregister
= _windows_
.StatusBar_swigregister
862 StatusBar_swigregister(StatusBar
)
864 def PreStatusBar(*args
, **kwargs
):
865 """PreStatusBar() -> StatusBar"""
866 val
= _windows_
.new_PreStatusBar(*args
, **kwargs
)
869 def StatusBar_GetClassDefaultAttributes(*args
, **kwargs
):
871 StatusBar_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
873 Get the default attributes for this class. This is useful if you want
874 to use the same font or colour in your own control as in a standard
875 control -- which is a much better idea than hard coding specific
876 colours or fonts which might look completely out of place on the
877 user's system, especially if it uses themes.
879 The variant parameter is only relevant under Mac currently and is
880 ignore under other platforms. Under Mac, it will change the size of
881 the returned font. See `wx.Window.SetWindowVariant` for more about
884 return _windows_
.StatusBar_GetClassDefaultAttributes(*args
, **kwargs
)
886 #---------------------------------------------------------------------------
888 SP_NOBORDER
= _windows_
.SP_NOBORDER
889 SP_NOSASH
= _windows_
.SP_NOSASH
890 SP_PERMIT_UNSPLIT
= _windows_
.SP_PERMIT_UNSPLIT
891 SP_LIVE_UPDATE
= _windows_
.SP_LIVE_UPDATE
892 SP_3DSASH
= _windows_
.SP_3DSASH
893 SP_3DBORDER
= _windows_
.SP_3DBORDER
894 SP_NO_XP_THEME
= _windows_
.SP_NO_XP_THEME
895 SP_BORDER
= _windows_
.SP_BORDER
896 SP_3D
= _windows_
.SP_3D
897 SPLIT_HORIZONTAL
= _windows_
.SPLIT_HORIZONTAL
898 SPLIT_VERTICAL
= _windows_
.SPLIT_VERTICAL
899 SPLIT_DRAG_NONE
= _windows_
.SPLIT_DRAG_NONE
900 SPLIT_DRAG_DRAGGING
= _windows_
.SPLIT_DRAG_DRAGGING
901 SPLIT_DRAG_LEFT_DOWN
= _windows_
.SPLIT_DRAG_LEFT_DOWN
902 class SplitterWindow(_core
.Window
):
904 wx.SplitterWindow manages up to two subwindows or panes, with an
905 optional vertical or horizontal split which can be used with the mouse
908 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
909 __repr__
= _swig_repr
910 def __init__(self
, *args
, **kwargs
):
912 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
913 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
915 Constructor. Creates and shows a SplitterWindow.
917 if kwargs
.has_key('point'): kwargs
['pos'] = kwargs
['point'];del kwargs
['point']
918 _windows_
.SplitterWindow_swiginit(self
,_windows_
.new_SplitterWindow(*args
, **kwargs
))
919 self
._setOORInfo
(self
)
921 def Create(*args
, **kwargs
):
923 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
924 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool
926 Create the GUI part of the SplitterWindow for the 2-phase create.
928 return _windows_
.SplitterWindow_Create(*args
, **kwargs
)
930 def GetWindow1(*args
, **kwargs
):
932 GetWindow1(self) -> Window
934 Gets the only or left/top pane.
936 return _windows_
.SplitterWindow_GetWindow1(*args
, **kwargs
)
938 def GetWindow2(*args
, **kwargs
):
940 GetWindow2(self) -> Window
942 Gets the right/bottom pane.
944 return _windows_
.SplitterWindow_GetWindow2(*args
, **kwargs
)
946 def SetSplitMode(*args
, **kwargs
):
948 SetSplitMode(self, int mode)
950 Sets the split mode. The mode can be wx.SPLIT_VERTICAL or
951 wx.SPLIT_HORIZONTAL. This only sets the internal variable; does not
954 return _windows_
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
956 def GetSplitMode(*args
, **kwargs
):
958 GetSplitMode(self) -> int
962 return _windows_
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
964 def Initialize(*args
, **kwargs
):
966 Initialize(self, Window window)
968 Initializes the splitter window to have one pane. This should be
969 called if you wish to initially view only a single pane in the
970 splitter window. The child window is shown if it is currently hidden.
972 return _windows_
.SplitterWindow_Initialize(*args
, **kwargs
)
974 def SplitVertically(*args
, **kwargs
):
976 SplitVertically(self, Window window1, Window window2, int sashPosition=0) -> bool
978 Initializes the left and right panes of the splitter window. The
979 child windows are shown if they are currently hidden.
981 return _windows_
.SplitterWindow_SplitVertically(*args
, **kwargs
)
983 def SplitHorizontally(*args
, **kwargs
):
985 SplitHorizontally(self, Window window1, Window window2, int sashPosition=0) -> bool
987 Initializes the top and bottom panes of the splitter window. The
988 child windows are shown if they are currently hidden.
990 return _windows_
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
992 def Unsplit(*args
, **kwargs
):
994 Unsplit(self, Window toRemove=None) -> bool
996 Unsplits the window. Pass the pane to remove, or None to remove the
997 right or bottom pane. Returns True if successful, False otherwise (the
998 window was not split).
1000 This function will not actually delete the pane being
1001 removed; it sends EVT_SPLITTER_UNSPLIT which can be handled
1002 for the desired behaviour. By default, the pane being
1003 removed is only hidden.
1005 return _windows_
.SplitterWindow_Unsplit(*args
, **kwargs
)
1007 def ReplaceWindow(*args
, **kwargs
):
1009 ReplaceWindow(self, Window winOld, Window winNew) -> bool
1011 This function replaces one of the windows managed by the
1012 SplitterWindow with another one. It is in general better to use it
1013 instead of calling Unsplit() and then resplitting the window back
1014 because it will provoke much less flicker. It is valid to call this
1015 function whether the splitter has two windows or only one.
1017 Both parameters should be non-None and winOld must specify one of the
1018 windows managed by the splitter. If the parameters are incorrect or
1019 the window couldn't be replaced, False is returned. Otherwise the
1020 function will return True, but please notice that it will not Destroy
1021 the replaced window and you may wish to do it yourself.
1023 return _windows_
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
1025 def UpdateSize(*args
, **kwargs
):
1029 Causes any pending sizing of the sash and child panes to take place
1032 Such resizing normally takes place in idle time, in order to wait for
1033 layout to be completed. However, this can cause unacceptable flicker
1034 as the panes are resized after the window has been shown. To work
1035 around this, you can perform window layout (for example by sending a
1036 size event to the parent window), and then call this function, before
1037 showing the top-level window.
1039 return _windows_
.SplitterWindow_UpdateSize(*args
, **kwargs
)
1041 def IsSplit(*args
, **kwargs
):
1043 IsSplit(self) -> bool
1045 Is the window split?
1047 return _windows_
.SplitterWindow_IsSplit(*args
, **kwargs
)
1049 def SetSashSize(*args
, **kwargs
):
1051 SetSashSize(self, int width)
1055 return _windows_
.SplitterWindow_SetSashSize(*args
, **kwargs
)
1057 def SetBorderSize(*args
, **kwargs
):
1059 SetBorderSize(self, int width)
1061 Sets the border size. Currently a NOP.
1063 return _windows_
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
1065 def GetSashSize(*args
, **kwargs
):
1067 GetSashSize(self) -> int
1071 return _windows_
.SplitterWindow_GetSashSize(*args
, **kwargs
)
1073 def GetBorderSize(*args
, **kwargs
):
1075 GetBorderSize(self) -> int
1077 Gets the border size
1079 return _windows_
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
1081 def SetSashPosition(*args
, **kwargs
):
1083 SetSashPosition(self, int position, bool redraw=True)
1085 Sets the sash position, in pixels. If redraw is Ttrue then the panes
1086 are resized and the sash and border are redrawn.
1088 return _windows_
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
1090 def GetSashPosition(*args
, **kwargs
):
1092 GetSashPosition(self) -> int
1094 Returns the surrent sash position.
1096 return _windows_
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
1098 def SetSashGravity(*args
, **kwargs
):
1100 SetSashGravity(self, double gravity)
1102 Set the sash gravity. Gravity is a floating-point factor between 0.0
1103 and 1.0 which controls position of sash while resizing the
1104 `wx.SplitterWindow`. The gravity specifies how much the left/top
1105 window will grow while resizing.
1107 return _windows_
.SplitterWindow_SetSashGravity(*args
, **kwargs
)
1109 def GetSashGravity(*args
, **kwargs
):
1111 GetSashGravity(self) -> double
1113 Gets the sash gravity.
1115 :see: `SetSashGravity`
1118 return _windows_
.SplitterWindow_GetSashGravity(*args
, **kwargs
)
1120 def SetMinimumPaneSize(*args
, **kwargs
):
1122 SetMinimumPaneSize(self, int min)
1124 Sets the minimum pane size in pixels.
1126 The default minimum pane size is zero, which means that either pane
1127 can be reduced to zero by dragging the sash, thus removing one of the
1128 panes. To prevent this behaviour (and veto out-of-range sash
1129 dragging), set a minimum size, for example 20 pixels. If the
1130 wx.SP_PERMIT_UNSPLIT style is used when a splitter window is created,
1131 the window may be unsplit even if minimum size is non-zero.
1133 return _windows_
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
1135 def GetMinimumPaneSize(*args
, **kwargs
):
1137 GetMinimumPaneSize(self) -> int
1139 Gets the minimum pane size in pixels.
1141 return _windows_
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
1143 def SashHitTest(*args
, **kwargs
):
1145 SashHitTest(self, int x, int y, int tolerance=5) -> bool
1147 Tests for x, y over the sash
1149 return _windows_
.SplitterWindow_SashHitTest(*args
, **kwargs
)
1151 def SizeWindows(*args
, **kwargs
):
1157 return _windows_
.SplitterWindow_SizeWindows(*args
, **kwargs
)
1159 def SetNeedUpdating(*args
, **kwargs
):
1160 """SetNeedUpdating(self, bool needUpdating)"""
1161 return _windows_
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
1163 def GetNeedUpdating(*args
, **kwargs
):
1164 """GetNeedUpdating(self) -> bool"""
1165 return _windows_
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
1167 def GetClassDefaultAttributes(*args
, **kwargs
):
1169 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1171 Get the default attributes for this class. This is useful if you want
1172 to use the same font or colour in your own control as in a standard
1173 control -- which is a much better idea than hard coding specific
1174 colours or fonts which might look completely out of place on the
1175 user's system, especially if it uses themes.
1177 The variant parameter is only relevant under Mac currently and is
1178 ignore under other platforms. Under Mac, it will change the size of
1179 the returned font. See `wx.Window.SetWindowVariant` for more about
1182 return _windows_
.SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1184 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
1185 SplitterWindow_swigregister
= _windows_
.SplitterWindow_swigregister
1186 SplitterWindow_swigregister(SplitterWindow
)
1187 SplitterNameStr
= cvar
.SplitterNameStr
1189 def PreSplitterWindow(*args
, **kwargs
):
1191 PreSplitterWindow() -> SplitterWindow
1193 Precreate a SplitterWindow for 2-phase creation.
1195 val
= _windows_
.new_PreSplitterWindow(*args
, **kwargs
)
1198 def SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
):
1200 SplitterWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1202 Get the default attributes for this class. This is useful if you want
1203 to use the same font or colour in your own control as in a standard
1204 control -- which is a much better idea than hard coding specific
1205 colours or fonts which might look completely out of place on the
1206 user's system, especially if it uses themes.
1208 The variant parameter is only relevant under Mac currently and is
1209 ignore under other platforms. Under Mac, it will change the size of
1210 the returned font. See `wx.Window.SetWindowVariant` for more about
1213 return _windows_
.SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1215 class SplitterEvent(_core
.NotifyEvent
):
1216 """This class represents the events generated by a splitter control."""
1217 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1218 __repr__
= _swig_repr
1219 def __init__(self
, *args
, **kwargs
):
1221 __init__(self, wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent
1223 This class represents the events generated by a splitter control.
1225 _windows_
.SplitterEvent_swiginit(self
,_windows_
.new_SplitterEvent(*args
, **kwargs
))
1226 def SetSashPosition(*args
, **kwargs
):
1228 SetSashPosition(self, int pos)
1230 This function is only meaningful during EVT_SPLITTER_SASH_POS_CHANGING
1231 and EVT_SPLITTER_SASH_POS_CHANGED events. In the case of _CHANGED
1232 events, sets the the new sash position. In the case of _CHANGING
1233 events, sets the new tracking bar position so visual feedback during
1234 dragging will represent that change that will actually take place. Set
1235 to -1 from the event handler code to prevent repositioning.
1237 return _windows_
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
1239 def GetSashPosition(*args
, **kwargs
):
1241 GetSashPosition(self) -> int
1243 Returns the new sash position while in EVT_SPLITTER_SASH_POS_CHANGING
1244 and EVT_SPLITTER_SASH_POS_CHANGED events.
1246 return _windows_
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
1248 def GetWindowBeingRemoved(*args
, **kwargs
):
1250 GetWindowBeingRemoved(self) -> Window
1252 Returns a pointer to the window being removed when a splitter window
1255 return _windows_
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
1257 def GetX(*args
, **kwargs
):
1261 Returns the x coordinate of the double-click point in a
1262 EVT_SPLITTER_DCLICK event.
1264 return _windows_
.SplitterEvent_GetX(*args
, **kwargs
)
1266 def GetY(*args
, **kwargs
):
1270 Returns the y coordinate of the double-click point in a
1271 EVT_SPLITTER_DCLICK event.
1273 return _windows_
.SplitterEvent_GetY(*args
, **kwargs
)
1275 SplitterEvent_swigregister
= _windows_
.SplitterEvent_swigregister
1276 SplitterEvent_swigregister(SplitterEvent
)
1278 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
1279 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
1280 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows_
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
1281 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows_
.wxEVT_COMMAND_SPLITTER_UNSPLIT
1282 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
1283 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
1284 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
1285 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
1286 EVT_SPLITTER_DCLICK
= EVT_SPLITTER_DOUBLECLICKED
1288 #---------------------------------------------------------------------------
1290 SASH_DRAG_NONE
= _windows_
.SASH_DRAG_NONE
1291 SASH_DRAG_DRAGGING
= _windows_
.SASH_DRAG_DRAGGING
1292 SASH_DRAG_LEFT_DOWN
= _windows_
.SASH_DRAG_LEFT_DOWN
1293 SW_NOBORDER
= _windows_
.SW_NOBORDER
1294 SW_BORDER
= _windows_
.SW_BORDER
1295 SW_3DSASH
= _windows_
.SW_3DSASH
1296 SW_3DBORDER
= _windows_
.SW_3DBORDER
1297 SW_3D
= _windows_
.SW_3D
1298 SASH_TOP
= _windows_
.SASH_TOP
1299 SASH_RIGHT
= _windows_
.SASH_RIGHT
1300 SASH_BOTTOM
= _windows_
.SASH_BOTTOM
1301 SASH_LEFT
= _windows_
.SASH_LEFT
1302 SASH_NONE
= _windows_
.SASH_NONE
1303 class SashWindow(_core
.Window
):
1304 """Proxy of C++ SashWindow class"""
1305 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1306 __repr__
= _swig_repr
1307 def __init__(self
, *args
, **kwargs
):
1309 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1310 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1311 String name=SashNameStr) -> SashWindow
1313 _windows_
.SashWindow_swiginit(self
,_windows_
.new_SashWindow(*args
, **kwargs
))
1314 self
._setOORInfo
(self
)
1316 def Create(*args
, **kwargs
):
1318 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1319 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1320 String name=SashNameStr) -> bool
1322 return _windows_
.SashWindow_Create(*args
, **kwargs
)
1324 def SetSashVisible(*args
, **kwargs
):
1325 """SetSashVisible(self, int edge, bool sash)"""
1326 return _windows_
.SashWindow_SetSashVisible(*args
, **kwargs
)
1328 def GetSashVisible(*args
, **kwargs
):
1329 """GetSashVisible(self, int edge) -> bool"""
1330 return _windows_
.SashWindow_GetSashVisible(*args
, **kwargs
)
1332 def SetSashBorder(*args
, **kwargs
):
1333 """SetSashBorder(self, int edge, bool border)"""
1334 return _windows_
.SashWindow_SetSashBorder(*args
, **kwargs
)
1336 def HasBorder(*args
, **kwargs
):
1337 """HasBorder(self, int edge) -> bool"""
1338 return _windows_
.SashWindow_HasBorder(*args
, **kwargs
)
1340 def GetEdgeMargin(*args
, **kwargs
):
1341 """GetEdgeMargin(self, int edge) -> int"""
1342 return _windows_
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
1344 def SetDefaultBorderSize(*args
, **kwargs
):
1345 """SetDefaultBorderSize(self, int width)"""
1346 return _windows_
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
1348 def GetDefaultBorderSize(*args
, **kwargs
):
1349 """GetDefaultBorderSize(self) -> int"""
1350 return _windows_
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
1352 def SetExtraBorderSize(*args
, **kwargs
):
1353 """SetExtraBorderSize(self, int width)"""
1354 return _windows_
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
1356 def GetExtraBorderSize(*args
, **kwargs
):
1357 """GetExtraBorderSize(self) -> int"""
1358 return _windows_
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
1360 def SetMinimumSizeX(*args
, **kwargs
):
1361 """SetMinimumSizeX(self, int min)"""
1362 return _windows_
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
1364 def SetMinimumSizeY(*args
, **kwargs
):
1365 """SetMinimumSizeY(self, int min)"""
1366 return _windows_
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
1368 def GetMinimumSizeX(*args
, **kwargs
):
1369 """GetMinimumSizeX(self) -> int"""
1370 return _windows_
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
1372 def GetMinimumSizeY(*args
, **kwargs
):
1373 """GetMinimumSizeY(self) -> int"""
1374 return _windows_
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
1376 def SetMaximumSizeX(*args
, **kwargs
):
1377 """SetMaximumSizeX(self, int max)"""
1378 return _windows_
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
1380 def SetMaximumSizeY(*args
, **kwargs
):
1381 """SetMaximumSizeY(self, int max)"""
1382 return _windows_
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
1384 def GetMaximumSizeX(*args
, **kwargs
):
1385 """GetMaximumSizeX(self) -> int"""
1386 return _windows_
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
1388 def GetMaximumSizeY(*args
, **kwargs
):
1389 """GetMaximumSizeY(self) -> int"""
1390 return _windows_
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
1392 def SashHitTest(*args
, **kwargs
):
1393 """SashHitTest(self, int x, int y, int tolerance=2) -> int"""
1394 return _windows_
.SashWindow_SashHitTest(*args
, **kwargs
)
1396 def SizeWindows(*args
, **kwargs
):
1397 """SizeWindows(self)"""
1398 return _windows_
.SashWindow_SizeWindows(*args
, **kwargs
)
1400 SashWindow_swigregister
= _windows_
.SashWindow_swigregister
1401 SashWindow_swigregister(SashWindow
)
1402 SashNameStr
= cvar
.SashNameStr
1403 SashLayoutNameStr
= cvar
.SashLayoutNameStr
1405 def PreSashWindow(*args
, **kwargs
):
1406 """PreSashWindow() -> SashWindow"""
1407 val
= _windows_
.new_PreSashWindow(*args
, **kwargs
)
1410 SASH_STATUS_OK
= _windows_
.SASH_STATUS_OK
1411 SASH_STATUS_OUT_OF_RANGE
= _windows_
.SASH_STATUS_OUT_OF_RANGE
1412 class SashEvent(_core
.CommandEvent
):
1413 """Proxy of C++ SashEvent class"""
1414 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1415 __repr__
= _swig_repr
1416 def __init__(self
, *args
, **kwargs
):
1417 """__init__(self, int id=0, int edge=SASH_NONE) -> SashEvent"""
1418 _windows_
.SashEvent_swiginit(self
,_windows_
.new_SashEvent(*args
, **kwargs
))
1419 def SetEdge(*args
, **kwargs
):
1420 """SetEdge(self, int edge)"""
1421 return _windows_
.SashEvent_SetEdge(*args
, **kwargs
)
1423 def GetEdge(*args
, **kwargs
):
1424 """GetEdge(self) -> int"""
1425 return _windows_
.SashEvent_GetEdge(*args
, **kwargs
)
1427 def SetDragRect(*args
, **kwargs
):
1428 """SetDragRect(self, Rect rect)"""
1429 return _windows_
.SashEvent_SetDragRect(*args
, **kwargs
)
1431 def GetDragRect(*args
, **kwargs
):
1432 """GetDragRect(self) -> Rect"""
1433 return _windows_
.SashEvent_GetDragRect(*args
, **kwargs
)
1435 def SetDragStatus(*args
, **kwargs
):
1436 """SetDragStatus(self, int status)"""
1437 return _windows_
.SashEvent_SetDragStatus(*args
, **kwargs
)
1439 def GetDragStatus(*args
, **kwargs
):
1440 """GetDragStatus(self) -> int"""
1441 return _windows_
.SashEvent_GetDragStatus(*args
, **kwargs
)
1443 SashEvent_swigregister
= _windows_
.SashEvent_swigregister
1444 SashEvent_swigregister(SashEvent
)
1446 wxEVT_SASH_DRAGGED
= _windows_
.wxEVT_SASH_DRAGGED
1447 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
1448 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
1450 #---------------------------------------------------------------------------
1452 LAYOUT_HORIZONTAL
= _windows_
.LAYOUT_HORIZONTAL
1453 LAYOUT_VERTICAL
= _windows_
.LAYOUT_VERTICAL
1454 LAYOUT_NONE
= _windows_
.LAYOUT_NONE
1455 LAYOUT_TOP
= _windows_
.LAYOUT_TOP
1456 LAYOUT_LEFT
= _windows_
.LAYOUT_LEFT
1457 LAYOUT_RIGHT
= _windows_
.LAYOUT_RIGHT
1458 LAYOUT_BOTTOM
= _windows_
.LAYOUT_BOTTOM
1459 LAYOUT_LENGTH_Y
= _windows_
.LAYOUT_LENGTH_Y
1460 LAYOUT_LENGTH_X
= _windows_
.LAYOUT_LENGTH_X
1461 LAYOUT_MRU_LENGTH
= _windows_
.LAYOUT_MRU_LENGTH
1462 LAYOUT_QUERY
= _windows_
.LAYOUT_QUERY
1463 wxEVT_QUERY_LAYOUT_INFO
= _windows_
.wxEVT_QUERY_LAYOUT_INFO
1464 wxEVT_CALCULATE_LAYOUT
= _windows_
.wxEVT_CALCULATE_LAYOUT
1465 class QueryLayoutInfoEvent(_core
.Event
):
1466 """Proxy of C++ QueryLayoutInfoEvent class"""
1467 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1468 __repr__
= _swig_repr
1469 def __init__(self
, *args
, **kwargs
):
1470 """__init__(self, int id=0) -> QueryLayoutInfoEvent"""
1471 _windows_
.QueryLayoutInfoEvent_swiginit(self
,_windows_
.new_QueryLayoutInfoEvent(*args
, **kwargs
))
1472 def SetRequestedLength(*args
, **kwargs
):
1473 """SetRequestedLength(self, int length)"""
1474 return _windows_
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1476 def GetRequestedLength(*args
, **kwargs
):
1477 """GetRequestedLength(self) -> int"""
1478 return _windows_
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1480 def SetFlags(*args
, **kwargs
):
1481 """SetFlags(self, int flags)"""
1482 return _windows_
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1484 def GetFlags(*args
, **kwargs
):
1485 """GetFlags(self) -> int"""
1486 return _windows_
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1488 def SetSize(*args
, **kwargs
):
1489 """SetSize(self, Size size)"""
1490 return _windows_
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1492 def GetSize(*args
, **kwargs
):
1493 """GetSize(self) -> Size"""
1494 return _windows_
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1496 def SetOrientation(*args
, **kwargs
):
1497 """SetOrientation(self, int orient)"""
1498 return _windows_
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1500 def GetOrientation(*args
, **kwargs
):
1501 """GetOrientation(self) -> int"""
1502 return _windows_
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1504 def SetAlignment(*args
, **kwargs
):
1505 """SetAlignment(self, int align)"""
1506 return _windows_
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1508 def GetAlignment(*args
, **kwargs
):
1509 """GetAlignment(self) -> int"""
1510 return _windows_
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1512 QueryLayoutInfoEvent_swigregister
= _windows_
.QueryLayoutInfoEvent_swigregister
1513 QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEvent
)
1515 class CalculateLayoutEvent(_core
.Event
):
1516 """Proxy of C++ CalculateLayoutEvent class"""
1517 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1518 __repr__
= _swig_repr
1519 def __init__(self
, *args
, **kwargs
):
1520 """__init__(self, int id=0) -> CalculateLayoutEvent"""
1521 _windows_
.CalculateLayoutEvent_swiginit(self
,_windows_
.new_CalculateLayoutEvent(*args
, **kwargs
))
1522 def SetFlags(*args
, **kwargs
):
1523 """SetFlags(self, int flags)"""
1524 return _windows_
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1526 def GetFlags(*args
, **kwargs
):
1527 """GetFlags(self) -> int"""
1528 return _windows_
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1530 def SetRect(*args
, **kwargs
):
1531 """SetRect(self, Rect rect)"""
1532 return _windows_
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1534 def GetRect(*args
, **kwargs
):
1535 """GetRect(self) -> Rect"""
1536 return _windows_
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1538 CalculateLayoutEvent_swigregister
= _windows_
.CalculateLayoutEvent_swigregister
1539 CalculateLayoutEvent_swigregister(CalculateLayoutEvent
)
1541 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1542 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1544 class SashLayoutWindow(SashWindow
):
1545 """Proxy of C++ SashLayoutWindow class"""
1546 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1547 __repr__
= _swig_repr
1548 def __init__(self
, *args
, **kwargs
):
1550 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1551 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1552 String name=SashLayoutNameStr) -> SashLayoutWindow
1554 _windows_
.SashLayoutWindow_swiginit(self
,_windows_
.new_SashLayoutWindow(*args
, **kwargs
))
1555 self
._setOORInfo
(self
)
1557 def Create(*args
, **kwargs
):
1559 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1560 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1561 String name=SashLayoutNameStr) -> bool
1563 return _windows_
.SashLayoutWindow_Create(*args
, **kwargs
)
1565 def GetAlignment(*args
, **kwargs
):
1566 """GetAlignment(self) -> int"""
1567 return _windows_
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1569 def GetOrientation(*args
, **kwargs
):
1570 """GetOrientation(self) -> int"""
1571 return _windows_
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1573 def SetAlignment(*args
, **kwargs
):
1574 """SetAlignment(self, int alignment)"""
1575 return _windows_
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1577 def SetDefaultSize(*args
, **kwargs
):
1578 """SetDefaultSize(self, Size size)"""
1579 return _windows_
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1581 def SetOrientation(*args
, **kwargs
):
1582 """SetOrientation(self, int orientation)"""
1583 return _windows_
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1585 SashLayoutWindow_swigregister
= _windows_
.SashLayoutWindow_swigregister
1586 SashLayoutWindow_swigregister(SashLayoutWindow
)
1588 def PreSashLayoutWindow(*args
, **kwargs
):
1589 """PreSashLayoutWindow() -> SashLayoutWindow"""
1590 val
= _windows_
.new_PreSashLayoutWindow(*args
, **kwargs
)
1593 class LayoutAlgorithm(_core
.Object
):
1594 """Proxy of C++ LayoutAlgorithm class"""
1595 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1596 __repr__
= _swig_repr
1597 def __init__(self
, *args
, **kwargs
):
1598 """__init__(self) -> LayoutAlgorithm"""
1599 _windows_
.LayoutAlgorithm_swiginit(self
,_windows_
.new_LayoutAlgorithm(*args
, **kwargs
))
1600 __swig_destroy__
= _windows_
.delete_LayoutAlgorithm
1601 __del__
= lambda self
: None;
1602 def LayoutMDIFrame(*args
, **kwargs
):
1603 """LayoutMDIFrame(self, MDIParentFrame frame, Rect rect=None) -> bool"""
1604 return _windows_
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1606 def LayoutFrame(*args
, **kwargs
):
1607 """LayoutFrame(self, Frame frame, Window mainWindow=None) -> bool"""
1608 return _windows_
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1610 def LayoutWindow(*args
, **kwargs
):
1611 """LayoutWindow(self, Window parent, Window mainWindow=None) -> bool"""
1612 return _windows_
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1614 LayoutAlgorithm_swigregister
= _windows_
.LayoutAlgorithm_swigregister
1615 LayoutAlgorithm_swigregister(LayoutAlgorithm
)
1617 #---------------------------------------------------------------------------
1619 class PopupWindow(_core
.Window
):
1620 """Proxy of C++ PopupWindow class"""
1621 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1622 __repr__
= _swig_repr
1623 def __init__(self
, *args
, **kwargs
):
1624 """__init__(self, Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1625 _windows_
.PopupWindow_swiginit(self
,_windows_
.new_PopupWindow(*args
, **kwargs
))
1626 self
._setOORInfo
(self
)
1628 def Create(*args
, **kwargs
):
1629 """Create(self, Window parent, int flags=BORDER_NONE) -> bool"""
1630 return _windows_
.PopupWindow_Create(*args
, **kwargs
)
1632 def Position(*args
, **kwargs
):
1633 """Position(self, Point ptOrigin, Size size)"""
1634 return _windows_
.PopupWindow_Position(*args
, **kwargs
)
1636 PopupWindow_swigregister
= _windows_
.PopupWindow_swigregister
1637 PopupWindow_swigregister(PopupWindow
)
1639 def PrePopupWindow(*args
, **kwargs
):
1640 """PrePopupWindow() -> PopupWindow"""
1641 val
= _windows_
.new_PrePopupWindow(*args
, **kwargs
)
1644 #---------------------------------------------------------------------------
1646 class PopupTransientWindow(PopupWindow
):
1647 """Proxy of C++ PopupTransientWindow class"""
1648 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1649 __repr__
= _swig_repr
1650 def __init__(self
, *args
, **kwargs
):
1651 """__init__(self, Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1652 _windows_
.PopupTransientWindow_swiginit(self
,_windows_
.new_PopupTransientWindow(*args
, **kwargs
))
1653 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, PopupTransientWindow
)
1655 def _setCallbackInfo(*args
, **kwargs
):
1656 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1657 return _windows_
.PopupTransientWindow__setCallbackInfo(*args
, **kwargs
)
1659 def Popup(*args
, **kwargs
):
1660 """Popup(self, Window focus=None)"""
1661 return _windows_
.PopupTransientWindow_Popup(*args
, **kwargs
)
1663 def Dismiss(*args
, **kwargs
):
1665 return _windows_
.PopupTransientWindow_Dismiss(*args
, **kwargs
)
1667 PopupTransientWindow_swigregister
= _windows_
.PopupTransientWindow_swigregister
1668 PopupTransientWindow_swigregister(PopupTransientWindow
)
1670 def PrePopupTransientWindow(*args
, **kwargs
):
1671 """PrePopupTransientWindow() -> PopupTransientWindow"""
1672 val
= _windows_
.new_PrePopupTransientWindow(*args
, **kwargs
)
1675 #---------------------------------------------------------------------------
1677 class TipWindow(PopupTransientWindow
):
1678 """Proxy of C++ TipWindow class"""
1679 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1680 __repr__
= _swig_repr
1681 def __init__(self
, *args
, **kwargs
):
1682 """__init__(self, Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1683 _windows_
.TipWindow_swiginit(self
,_windows_
.new_TipWindow(*args
, **kwargs
))
1684 self
._setOORInfo
(self
)
1686 def SetBoundingRect(*args
, **kwargs
):
1687 """SetBoundingRect(self, Rect rectBound)"""
1688 return _windows_
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1690 def Close(*args
, **kwargs
):
1694 This function simply generates a EVT_CLOSE event whose handler usually
1695 tries to close the window. It doesn't close the window itself,
1696 however. If force is False (the default) then the window's close
1697 handler will be allowed to veto the destruction of the window.
1699 return _windows_
.TipWindow_Close(*args
, **kwargs
)
1701 TipWindow_swigregister
= _windows_
.TipWindow_swigregister
1702 TipWindow_swigregister(TipWindow
)
1704 #---------------------------------------------------------------------------
1706 class VScrolledWindow(Panel
):
1707 """Proxy of C++ VScrolledWindow class"""
1708 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1709 __repr__
= _swig_repr
1710 def __init__(self
, *args
, **kwargs
):
1712 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1713 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
1715 _windows_
.VScrolledWindow_swiginit(self
,_windows_
.new_VScrolledWindow(*args
, **kwargs
))
1716 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1718 def _setCallbackInfo(*args
, **kwargs
):
1719 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1720 return _windows_
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1722 def Create(*args
, **kwargs
):
1724 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1725 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
1727 return _windows_
.VScrolledWindow_Create(*args
, **kwargs
)
1729 def SetLineCount(*args
, **kwargs
):
1730 """SetLineCount(self, size_t count)"""
1731 return _windows_
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1733 def ScrollToLine(*args
, **kwargs
):
1734 """ScrollToLine(self, size_t line) -> bool"""
1735 return _windows_
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1737 def RefreshLine(*args
, **kwargs
):
1738 """RefreshLine(self, size_t line)"""
1739 return _windows_
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1741 def RefreshLines(*args
, **kwargs
):
1742 """RefreshLines(self, size_t from, size_t to)"""
1743 return _windows_
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1745 def HitTestXY(*args
, **kwargs
):
1747 HitTestXY(self, int x, int y) -> int
1749 Test where the given (in client coords) point lies
1751 return _windows_
.VScrolledWindow_HitTestXY(*args
, **kwargs
)
1753 def HitTest(*args
, **kwargs
):
1755 HitTest(self, Point pt) -> int
1757 Test where the given (in client coords) point lies
1759 return _windows_
.VScrolledWindow_HitTest(*args
, **kwargs
)
1761 def RefreshAll(*args
, **kwargs
):
1762 """RefreshAll(self)"""
1763 return _windows_
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1765 def GetLineCount(*args
, **kwargs
):
1766 """GetLineCount(self) -> size_t"""
1767 return _windows_
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1769 def GetVisibleBegin(*args
, **kwargs
):
1770 """GetVisibleBegin(self) -> size_t"""
1771 return _windows_
.VScrolledWindow_GetVisibleBegin(*args
, **kwargs
)
1773 def GetVisibleEnd(*args
, **kwargs
):
1774 """GetVisibleEnd(self) -> size_t"""
1775 return _windows_
.VScrolledWindow_GetVisibleEnd(*args
, **kwargs
)
1777 def IsVisible(*args
, **kwargs
):
1778 """IsVisible(self, size_t line) -> bool"""
1779 return _windows_
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1781 def GetFirstVisibleLine(*args
, **kwargs
):
1782 """GetFirstVisibleLine(self) -> size_t"""
1783 return _windows_
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1785 def GetLastVisibleLine(*args
, **kwargs
):
1786 """GetLastVisibleLine(self) -> size_t"""
1787 return _windows_
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1789 def FindFirstFromBottom(*args
, **kwargs
):
1790 """FindFirstFromBottom(self, size_t lineLast, bool fullyVisible=False) -> size_t"""
1791 return _windows_
.VScrolledWindow_FindFirstFromBottom(*args
, **kwargs
)
1793 def GetLinesHeight(*args
, **kwargs
):
1794 """GetLinesHeight(self, size_t lineMin, size_t lineMax) -> int"""
1795 return _windows_
.VScrolledWindow_GetLinesHeight(*args
, **kwargs
)
1797 VScrolledWindow_swigregister
= _windows_
.VScrolledWindow_swigregister
1798 VScrolledWindow_swigregister(VScrolledWindow
)
1800 def PreVScrolledWindow(*args
, **kwargs
):
1801 """PreVScrolledWindow() -> VScrolledWindow"""
1802 val
= _windows_
.new_PreVScrolledWindow(*args
, **kwargs
)
1805 class VListBox(VScrolledWindow
):
1806 """Proxy of C++ VListBox class"""
1807 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1808 __repr__
= _swig_repr
1809 def __init__(self
, *args
, **kwargs
):
1811 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1812 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
1814 _windows_
.VListBox_swiginit(self
,_windows_
.new_VListBox(*args
, **kwargs
))
1815 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
1817 def _setCallbackInfo(*args
, **kwargs
):
1818 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1819 return _windows_
.VListBox__setCallbackInfo(*args
, **kwargs
)
1821 def Create(*args
, **kwargs
):
1823 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1824 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1826 return _windows_
.VListBox_Create(*args
, **kwargs
)
1828 def GetItemCount(*args
, **kwargs
):
1829 """GetItemCount(self) -> size_t"""
1830 return _windows_
.VListBox_GetItemCount(*args
, **kwargs
)
1832 def HasMultipleSelection(*args
, **kwargs
):
1833 """HasMultipleSelection(self) -> bool"""
1834 return _windows_
.VListBox_HasMultipleSelection(*args
, **kwargs
)
1836 def GetSelection(*args
, **kwargs
):
1837 """GetSelection(self) -> int"""
1838 return _windows_
.VListBox_GetSelection(*args
, **kwargs
)
1840 def IsCurrent(*args
, **kwargs
):
1841 """IsCurrent(self, size_t item) -> bool"""
1842 return _windows_
.VListBox_IsCurrent(*args
, **kwargs
)
1844 def IsSelected(*args
, **kwargs
):
1845 """IsSelected(self, size_t item) -> bool"""
1846 return _windows_
.VListBox_IsSelected(*args
, **kwargs
)
1848 def GetSelectedCount(*args
, **kwargs
):
1849 """GetSelectedCount(self) -> size_t"""
1850 return _windows_
.VListBox_GetSelectedCount(*args
, **kwargs
)
1852 def GetFirstSelected(*args
, **kwargs
):
1853 """GetFirstSelected(self) -> PyObject"""
1854 return _windows_
.VListBox_GetFirstSelected(*args
, **kwargs
)
1856 def GetNextSelected(*args
, **kwargs
):
1857 """GetNextSelected(self, unsigned long cookie) -> PyObject"""
1858 return _windows_
.VListBox_GetNextSelected(*args
, **kwargs
)
1860 def GetMargins(*args
, **kwargs
):
1861 """GetMargins(self) -> Point"""
1862 return _windows_
.VListBox_GetMargins(*args
, **kwargs
)
1864 def GetSelectionBackground(*args
, **kwargs
):
1865 """GetSelectionBackground(self) -> Colour"""
1866 return _windows_
.VListBox_GetSelectionBackground(*args
, **kwargs
)
1868 def SetItemCount(*args
, **kwargs
):
1869 """SetItemCount(self, size_t count)"""
1870 return _windows_
.VListBox_SetItemCount(*args
, **kwargs
)
1872 def Clear(*args
, **kwargs
):
1874 return _windows_
.VListBox_Clear(*args
, **kwargs
)
1876 def SetSelection(*args
, **kwargs
):
1877 """SetSelection(self, int selection)"""
1878 return _windows_
.VListBox_SetSelection(*args
, **kwargs
)
1880 def Select(*args
, **kwargs
):
1881 """Select(self, size_t item, bool select=True) -> bool"""
1882 return _windows_
.VListBox_Select(*args
, **kwargs
)
1884 def SelectRange(*args
, **kwargs
):
1885 """SelectRange(self, size_t from, size_t to) -> bool"""
1886 return _windows_
.VListBox_SelectRange(*args
, **kwargs
)
1888 def Toggle(*args
, **kwargs
):
1889 """Toggle(self, size_t item)"""
1890 return _windows_
.VListBox_Toggle(*args
, **kwargs
)
1892 def SelectAll(*args
, **kwargs
):
1893 """SelectAll(self) -> bool"""
1894 return _windows_
.VListBox_SelectAll(*args
, **kwargs
)
1896 def DeselectAll(*args
, **kwargs
):
1897 """DeselectAll(self) -> bool"""
1898 return _windows_
.VListBox_DeselectAll(*args
, **kwargs
)
1900 def SetMargins(*args
, **kwargs
):
1901 """SetMargins(self, Point pt)"""
1902 return _windows_
.VListBox_SetMargins(*args
, **kwargs
)
1904 def SetMarginsXY(*args
, **kwargs
):
1905 """SetMarginsXY(self, int x, int y)"""
1906 return _windows_
.VListBox_SetMarginsXY(*args
, **kwargs
)
1908 def SetSelectionBackground(*args
, **kwargs
):
1909 """SetSelectionBackground(self, Colour col)"""
1910 return _windows_
.VListBox_SetSelectionBackground(*args
, **kwargs
)
1912 def OnDrawSeparator(*args
, **kwargs
):
1913 """OnDrawSeparator(self, DC dc, Rect rect, size_t n)"""
1914 return _windows_
.VListBox_OnDrawSeparator(*args
, **kwargs
)
1916 def OnDrawBackground(*args
, **kwargs
):
1917 """OnDrawBackground(self, DC dc, Rect rect, size_t n)"""
1918 return _windows_
.VListBox_OnDrawBackground(*args
, **kwargs
)
1920 VListBox_swigregister
= _windows_
.VListBox_swigregister
1921 VListBox_swigregister(VListBox
)
1922 VListBoxNameStr
= cvar
.VListBoxNameStr
1924 def PreVListBox(*args
, **kwargs
):
1925 """PreVListBox() -> VListBox"""
1926 val
= _windows_
.new_PreVListBox(*args
, **kwargs
)
1929 class HtmlListBox(VListBox
):
1930 """Proxy of C++ HtmlListBox class"""
1931 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1932 __repr__
= _swig_repr
1933 def __init__(self
, *args
, **kwargs
):
1935 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1936 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
1938 _windows_
.HtmlListBox_swiginit(self
,_windows_
.new_HtmlListBox(*args
, **kwargs
))
1939 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
1941 def _setCallbackInfo(*args
, **kwargs
):
1942 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1943 return _windows_
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
1945 def Create(*args
, **kwargs
):
1947 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1948 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1950 return _windows_
.HtmlListBox_Create(*args
, **kwargs
)
1952 def SetItemCount(*args
, **kwargs
):
1953 """SetItemCount(self, size_t count)"""
1954 return _windows_
.HtmlListBox_SetItemCount(*args
, **kwargs
)
1956 def GetFileSystem(*args
, **kwargs
):
1957 """GetFileSystem(self) -> FileSystem"""
1958 return _windows_
.HtmlListBox_GetFileSystem(*args
, **kwargs
)
1960 def OnLinkClicked(*args
, **kwargs
):
1961 """OnLinkClicked(self, size_t n, wxHtmlLinkInfo link)"""
1962 return _windows_
.HtmlListBox_OnLinkClicked(*args
, **kwargs
)
1964 HtmlListBox_swigregister
= _windows_
.HtmlListBox_swigregister
1965 HtmlListBox_swigregister(HtmlListBox
)
1967 def PreHtmlListBox(*args
, **kwargs
):
1968 """PreHtmlListBox() -> HtmlListBox"""
1969 val
= _windows_
.new_PreHtmlListBox(*args
, **kwargs
)
1972 #---------------------------------------------------------------------------
1974 class TaskBarIcon(_core
.EvtHandler
):
1975 """Proxy of C++ TaskBarIcon class"""
1976 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1977 __repr__
= _swig_repr
1978 def __init__(self
, *args
, **kwargs
):
1979 """__init__(self) -> TaskBarIcon"""
1980 _windows_
.TaskBarIcon_swiginit(self
,_windows_
.new_TaskBarIcon(*args
, **kwargs
))
1981 self
._setCallbackInfo
(self
, TaskBarIcon
, 0)
1983 __swig_destroy__
= _windows_
.delete_TaskBarIcon
1984 __del__
= lambda self
: None;
1985 def _setCallbackInfo(*args
, **kwargs
):
1986 """_setCallbackInfo(self, PyObject self, PyObject _class, int incref)"""
1987 return _windows_
.TaskBarIcon__setCallbackInfo(*args
, **kwargs
)
1989 def Destroy(*args
, **kwargs
):
1993 Deletes the C++ object this Python object is a proxy for.
1995 val
= _windows_
.TaskBarIcon_Destroy(*args
, **kwargs
)
1999 def IsOk(*args
, **kwargs
):
2000 """IsOk(self) -> bool"""
2001 return _windows_
.TaskBarIcon_IsOk(*args
, **kwargs
)
2003 def __nonzero__(self
): return self
.IsOk()
2004 def IsIconInstalled(*args
, **kwargs
):
2005 """IsIconInstalled(self) -> bool"""
2006 return _windows_
.TaskBarIcon_IsIconInstalled(*args
, **kwargs
)
2008 def SetIcon(*args
, **kwargs
):
2009 """SetIcon(self, Icon icon, String tooltip=EmptyString) -> bool"""
2010 return _windows_
.TaskBarIcon_SetIcon(*args
, **kwargs
)
2012 def RemoveIcon(*args
, **kwargs
):
2013 """RemoveIcon(self) -> bool"""
2014 return _windows_
.TaskBarIcon_RemoveIcon(*args
, **kwargs
)
2016 def PopupMenu(*args
, **kwargs
):
2017 """PopupMenu(self, Menu menu) -> bool"""
2018 return _windows_
.TaskBarIcon_PopupMenu(*args
, **kwargs
)
2020 TaskBarIcon_swigregister
= _windows_
.TaskBarIcon_swigregister
2021 TaskBarIcon_swigregister(TaskBarIcon
)
2023 class TaskBarIconEvent(_core
.Event
):
2024 """Proxy of C++ TaskBarIconEvent class"""
2025 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2026 __repr__
= _swig_repr
2027 def __init__(self
, *args
, **kwargs
):
2028 """__init__(self, wxEventType evtType, wxTaskBarIcon tbIcon) -> TaskBarIconEvent"""
2029 _windows_
.TaskBarIconEvent_swiginit(self
,_windows_
.new_TaskBarIconEvent(*args
, **kwargs
))
2030 TaskBarIconEvent_swigregister
= _windows_
.TaskBarIconEvent_swigregister
2031 TaskBarIconEvent_swigregister(TaskBarIconEvent
)
2033 wxEVT_TASKBAR_MOVE
= _windows_
.wxEVT_TASKBAR_MOVE
2034 wxEVT_TASKBAR_LEFT_DOWN
= _windows_
.wxEVT_TASKBAR_LEFT_DOWN
2035 wxEVT_TASKBAR_LEFT_UP
= _windows_
.wxEVT_TASKBAR_LEFT_UP
2036 wxEVT_TASKBAR_RIGHT_DOWN
= _windows_
.wxEVT_TASKBAR_RIGHT_DOWN
2037 wxEVT_TASKBAR_RIGHT_UP
= _windows_
.wxEVT_TASKBAR_RIGHT_UP
2038 wxEVT_TASKBAR_LEFT_DCLICK
= _windows_
.wxEVT_TASKBAR_LEFT_DCLICK
2039 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows_
.wxEVT_TASKBAR_RIGHT_DCLICK
2040 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
2041 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
2042 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
2043 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
2044 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
2045 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
2046 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
2048 #---------------------------------------------------------------------------
2050 class ColourData(_core
.Object
):
2052 This class holds a variety of information related to the colour
2053 chooser dialog, used to transfer settings and results to and from the
2056 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2057 __repr__
= _swig_repr
2058 def __init__(self
, *args
, **kwargs
):
2060 __init__(self) -> ColourData
2062 Constructor, sets default values.
2064 _windows_
.ColourData_swiginit(self
,_windows_
.new_ColourData(*args
, **kwargs
))
2065 __swig_destroy__
= _windows_
.delete_ColourData
2066 __del__
= lambda self
: None;
2067 def GetChooseFull(*args
, **kwargs
):
2069 GetChooseFull(self) -> bool
2071 Under Windows, determines whether the Windows colour dialog will
2072 display the full dialog with custom colour selection controls. Has no
2073 meaning under other platforms. The default value is true.
2075 return _windows_
.ColourData_GetChooseFull(*args
, **kwargs
)
2077 def GetColour(*args
, **kwargs
):
2079 GetColour(self) -> Colour
2081 Gets the colour (pre)selected by the dialog.
2083 return _windows_
.ColourData_GetColour(*args
, **kwargs
)
2085 def GetCustomColour(*args
, **kwargs
):
2087 GetCustomColour(self, int i) -> Colour
2089 Gets the i'th custom colour associated with the colour dialog. i
2090 should be an integer between 0 and 15. The default custom colours are
2091 all invalid colours.
2093 return _windows_
.ColourData_GetCustomColour(*args
, **kwargs
)
2095 def SetChooseFull(*args
, **kwargs
):
2097 SetChooseFull(self, int flag)
2099 Under Windows, tells the Windows colour dialog to display the full
2100 dialog with custom colour selection controls. Under other platforms,
2101 has no effect. The default value is true.
2103 return _windows_
.ColourData_SetChooseFull(*args
, **kwargs
)
2105 def SetColour(*args
, **kwargs
):
2107 SetColour(self, Colour colour)
2109 Sets the default colour for the colour dialog. The default colour is
2112 return _windows_
.ColourData_SetColour(*args
, **kwargs
)
2114 def SetCustomColour(*args
, **kwargs
):
2116 SetCustomColour(self, int i, Colour colour)
2118 Sets the i'th custom colour for the colour dialog. i should be an
2119 integer between 0 and 15. The default custom colours are all invalid colours.
2121 return _windows_
.ColourData_SetCustomColour(*args
, **kwargs
)
2123 ColourData_swigregister
= _windows_
.ColourData_swigregister
2124 ColourData_swigregister(ColourData
)
2125 FileSelectorPromptStr
= cvar
.FileSelectorPromptStr
2126 DirSelectorPromptStr
= cvar
.DirSelectorPromptStr
2127 DirDialogNameStr
= cvar
.DirDialogNameStr
2128 FileSelectorDefaultWildcardStr
= cvar
.FileSelectorDefaultWildcardStr
2129 GetTextFromUserPromptStr
= cvar
.GetTextFromUserPromptStr
2130 MessageBoxCaptionStr
= cvar
.MessageBoxCaptionStr
2132 class ColourDialog(Dialog
):
2133 """This class represents the colour chooser dialog."""
2134 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2135 __repr__
= _swig_repr
2136 def __init__(self
, *args
, **kwargs
):
2138 __init__(self, Window parent, ColourData data=None) -> ColourDialog
2140 Constructor. Pass a parent window, and optionally a `wx.ColourData`,
2141 which will be copied to the colour dialog's internal ColourData
2144 _windows_
.ColourDialog_swiginit(self
,_windows_
.new_ColourDialog(*args
, **kwargs
))
2145 self
._setOORInfo
(self
)
2147 def GetColourData(*args
, **kwargs
):
2149 GetColourData(self) -> ColourData
2151 Returns a reference to the `wx.ColourData` used by the dialog.
2153 return _windows_
.ColourDialog_GetColourData(*args
, **kwargs
)
2155 ColourDialog_swigregister
= _windows_
.ColourDialog_swigregister
2156 ColourDialog_swigregister(ColourDialog
)
2159 def GetColourFromUser(*args
, **kwargs
):
2161 GetColourFromUser(Window parent=(wxWindow *) NULL, Colour colInit=wxNullColour,
2162 String caption=EmptyString) -> Colour
2164 return _windows_
.GetColourFromUser(*args
, **kwargs
)
2165 class DirDialog(Dialog
):
2167 wx.DirDialog allows the user to select a directory by browising the
2170 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2171 __repr__
= _swig_repr
2172 def __init__(self
, *args
, **kwargs
):
2174 __init__(self, Window parent, String message=DirSelectorPromptStr,
2175 String defaultPath=EmptyString, long style=0,
2176 Point pos=DefaultPosition, Size size=DefaultSize,
2177 String name=DirDialogNameStr) -> DirDialog
2179 Constructor. Use ShowModal method to show the dialog.
2181 _windows_
.DirDialog_swiginit(self
,_windows_
.new_DirDialog(*args
, **kwargs
))
2182 self
._setOORInfo
(self
)
2184 def GetPath(*args
, **kwargs
):
2186 GetPath(self) -> String
2188 Returns the default or user-selected path.
2190 return _windows_
.DirDialog_GetPath(*args
, **kwargs
)
2192 def GetMessage(*args
, **kwargs
):
2194 GetMessage(self) -> String
2196 Returns the message that will be displayed on the dialog.
2198 return _windows_
.DirDialog_GetMessage(*args
, **kwargs
)
2200 def GetStyle(*args
, **kwargs
):
2202 GetStyle(self) -> long
2204 Returns the dialog style.
2206 return _windows_
.DirDialog_GetStyle(*args
, **kwargs
)
2208 def SetMessage(*args
, **kwargs
):
2210 SetMessage(self, String message)
2212 Sets the message that will be displayed on the dialog.
2214 return _windows_
.DirDialog_SetMessage(*args
, **kwargs
)
2216 def SetPath(*args
, **kwargs
):
2218 SetPath(self, String path)
2220 Sets the default path.
2222 return _windows_
.DirDialog_SetPath(*args
, **kwargs
)
2224 DirDialog_swigregister
= _windows_
.DirDialog_swigregister
2225 DirDialog_swigregister(DirDialog
)
2227 class FileDialog(Dialog
):
2229 wx.FileDialog allows the user to select one or more files from the
2232 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2233 __repr__
= _swig_repr
2234 def __init__(self
, *args
, **kwargs
):
2236 __init__(self, Window parent, String message=FileSelectorPromptStr,
2237 String defaultDir=EmptyString, String defaultFile=EmptyString,
2238 String wildcard=FileSelectorDefaultWildcardStr,
2239 long style=0, Point pos=DefaultPosition) -> FileDialog
2241 Constructor. Use ShowModal method to show the dialog.
2243 _windows_
.FileDialog_swiginit(self
,_windows_
.new_FileDialog(*args
, **kwargs
))
2244 self
._setOORInfo
(self
)
2246 def SetMessage(*args
, **kwargs
):
2248 SetMessage(self, String message)
2250 Sets the message that will be displayed on the dialog.
2252 return _windows_
.FileDialog_SetMessage(*args
, **kwargs
)
2254 def SetPath(*args
, **kwargs
):
2256 SetPath(self, String path)
2258 Sets the path (the combined directory and filename that will be
2259 returned when the dialog is dismissed).
2261 return _windows_
.FileDialog_SetPath(*args
, **kwargs
)
2263 def SetDirectory(*args
, **kwargs
):
2265 SetDirectory(self, String dir)
2267 Sets the default directory.
2269 return _windows_
.FileDialog_SetDirectory(*args
, **kwargs
)
2271 def SetFilename(*args
, **kwargs
):
2273 SetFilename(self, String name)
2275 Sets the default filename.
2277 return _windows_
.FileDialog_SetFilename(*args
, **kwargs
)
2279 def SetWildcard(*args
, **kwargs
):
2281 SetWildcard(self, String wildCard)
2283 Sets the wildcard, which can contain multiple file types, for
2286 "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
2289 return _windows_
.FileDialog_SetWildcard(*args
, **kwargs
)
2291 def SetStyle(*args
, **kwargs
):
2293 SetStyle(self, long style)
2295 Sets the dialog style.
2297 return _windows_
.FileDialog_SetStyle(*args
, **kwargs
)
2299 def SetFilterIndex(*args
, **kwargs
):
2301 SetFilterIndex(self, int filterIndex)
2303 Sets the default filter index, starting from zero.
2305 return _windows_
.FileDialog_SetFilterIndex(*args
, **kwargs
)
2307 def GetMessage(*args
, **kwargs
):
2309 GetMessage(self) -> String
2311 Returns the message that will be displayed on the dialog.
2313 return _windows_
.FileDialog_GetMessage(*args
, **kwargs
)
2315 def GetPath(*args
, **kwargs
):
2317 GetPath(self) -> String
2319 Returns the full path (directory and filename) of the selected file.
2321 return _windows_
.FileDialog_GetPath(*args
, **kwargs
)
2323 def GetDirectory(*args
, **kwargs
):
2325 GetDirectory(self) -> String
2327 Returns the default directory.
2329 return _windows_
.FileDialog_GetDirectory(*args
, **kwargs
)
2331 def GetFilename(*args
, **kwargs
):
2333 GetFilename(self) -> String
2335 Returns the default filename.
2337 return _windows_
.FileDialog_GetFilename(*args
, **kwargs
)
2339 def GetWildcard(*args
, **kwargs
):
2341 GetWildcard(self) -> String
2343 Returns the file dialog wildcard.
2345 return _windows_
.FileDialog_GetWildcard(*args
, **kwargs
)
2347 def GetStyle(*args
, **kwargs
):
2349 GetStyle(self) -> long
2351 Returns the dialog style.
2353 return _windows_
.FileDialog_GetStyle(*args
, **kwargs
)
2355 def GetFilterIndex(*args
, **kwargs
):
2357 GetFilterIndex(self) -> int
2359 Returns the index into the list of filters supplied, optionally, in
2360 the wildcard parameter. Before the dialog is shown, this is the index
2361 which will be used when the dialog is first displayed. After the
2362 dialog is shown, this is the index selected by the user.
2364 return _windows_
.FileDialog_GetFilterIndex(*args
, **kwargs
)
2366 def GetFilenames(*args
, **kwargs
):
2368 GetFilenames(self) -> PyObject
2370 Returns a list of filenames chosen in the dialog. This function
2371 should only be used with the dialogs which have wx.MULTIPLE style, use
2372 GetFilename for the others.
2374 return _windows_
.FileDialog_GetFilenames(*args
, **kwargs
)
2376 def GetPaths(*args
, **kwargs
):
2378 GetPaths(self) -> PyObject
2380 Fills the array paths with the full paths of the files chosen. This
2381 function should only be used with the dialogs which have wx.MULTIPLE
2382 style, use GetPath for the others.
2384 return _windows_
.FileDialog_GetPaths(*args
, **kwargs
)
2386 FileDialog_swigregister
= _windows_
.FileDialog_swigregister
2387 FileDialog_swigregister(FileDialog
)
2389 CHOICEDLG_STYLE
= _windows_
.CHOICEDLG_STYLE
2390 class MultiChoiceDialog(Dialog
):
2391 """A simple dialog with a multi selection listbox."""
2392 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2393 __repr__
= _swig_repr
2394 def __init__(self
, *args
, **kwargs
):
2396 __init__(self, Window parent, String message, String caption,
2397 List choices=EmptyList, long style=CHOICEDLG_STYLE,
2398 Point pos=DefaultPosition) -> MultiChoiceDialog
2400 Constructor. Use the `ShowModal` method to show the dialog.
2402 :param parent: The parent window.
2403 :param message: Text to display above the list of selections.
2404 :param caption: Text to use in the title bar of the dialog.
2405 :param choices: A list of strings or unicode objects that the
2406 user is allowed to choose from.
2407 :param style: Styles to apply to the dialog. The default value is
2408 equivallent to wx.DEFAULT_DIALOG_STYLE|wx.RESIZE_BORDER|wx.OK|wx.CANCEL|wx.CENTER.
2409 :param pos: Where to position the dialog (not used on Windows)
2413 _windows_
.MultiChoiceDialog_swiginit(self
,_windows_
.new_MultiChoiceDialog(*args
, **kwargs
))
2414 self
._setOORInfo
(self
)
2416 def SetSelections(*args
, **kwargs
):
2418 SetSelections(List selections)
2420 Specify the items in the list that should be selected, using a list of
2421 integers. The list should specify the indexes of the items that
2424 return _windows_
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
2426 def GetSelections(*args
, **kwargs
):
2428 GetSelections() -> [selections]
2430 Returns a list of integers representing the items that are selected.
2431 If an item is selected then its index will appear in the list.
2433 return _windows_
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
2435 MultiChoiceDialog_swigregister
= _windows_
.MultiChoiceDialog_swigregister
2436 MultiChoiceDialog_swigregister(MultiChoiceDialog
)
2438 class SingleChoiceDialog(Dialog
):
2439 """A simple dialog with a single selection listbox."""
2440 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2441 __repr__
= _swig_repr
2442 def __init__(self
, *args
, **kwargs
):
2444 __init__(Window parent, String message, String caption,
2445 List choices=EmptyList, long style=CHOICEDLG_STYLE,
2446 Point pos=DefaultPosition) -> SingleChoiceDialog
2448 Constructor. Use ShowModal method to show the dialog.
2450 _windows_
.SingleChoiceDialog_swiginit(self
,_windows_
.new_SingleChoiceDialog(*args
, **kwargs
))
2451 self
._setOORInfo
(self
)
2453 def GetSelection(*args
, **kwargs
):
2455 GetSelection(self) -> int
2457 Get the index of teh currently selected item.
2459 return _windows_
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
2461 def GetStringSelection(*args
, **kwargs
):
2463 GetStringSelection(self) -> String
2465 Returns the string value of the currently selected item
2467 return _windows_
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
2469 def SetSelection(*args
, **kwargs
):
2471 SetSelection(self, int sel)
2473 Set the current selected item to sel
2475 return _windows_
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
2477 SingleChoiceDialog_swigregister
= _windows_
.SingleChoiceDialog_swigregister
2478 SingleChoiceDialog_swigregister(SingleChoiceDialog
)
2480 TextEntryDialogStyle
= _windows_
.TextEntryDialogStyle
2481 class TextEntryDialog(Dialog
):
2482 """A dialog with text control, [ok] and [cancel] buttons"""
2483 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2484 __repr__
= _swig_repr
2485 def __init__(self
, *args
, **kwargs
):
2487 __init__(self, Window parent, String message, String caption=GetTextFromUserPromptStr,
2488 String defaultValue=EmptyString,
2489 long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> TextEntryDialog
2491 Constructor. Use ShowModal method to show the dialog.
2493 _windows_
.TextEntryDialog_swiginit(self
,_windows_
.new_TextEntryDialog(*args
, **kwargs
))
2494 self
._setOORInfo
(self
)
2496 def GetValue(*args
, **kwargs
):
2498 GetValue(self) -> String
2500 Returns the text that the user has entered if the user has pressed OK,
2501 or the original value if the user has pressed Cancel.
2503 return _windows_
.TextEntryDialog_GetValue(*args
, **kwargs
)
2505 def SetValue(*args
, **kwargs
):
2507 SetValue(self, String value)
2509 Sets the default text value.
2511 return _windows_
.TextEntryDialog_SetValue(*args
, **kwargs
)
2513 TextEntryDialog_swigregister
= _windows_
.TextEntryDialog_swigregister
2514 TextEntryDialog_swigregister(TextEntryDialog
)
2516 class PasswordEntryDialog(TextEntryDialog
):
2517 """Proxy of C++ PasswordEntryDialog class"""
2518 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2519 __repr__
= _swig_repr
2520 def __init__(self
, *args
, **kwargs
):
2522 __init__(self, Window parent, String message, String caption=GetPasswordFromUserPromptStr,
2523 String value=EmptyString,
2524 long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> PasswordEntryDialog
2526 _windows_
.PasswordEntryDialog_swiginit(self
,_windows_
.new_PasswordEntryDialog(*args
, **kwargs
))
2527 PasswordEntryDialog_swigregister
= _windows_
.PasswordEntryDialog_swigregister
2528 PasswordEntryDialog_swigregister(PasswordEntryDialog
)
2529 GetPasswordFromUserPromptStr
= cvar
.GetPasswordFromUserPromptStr
2531 class FontData(_core
.Object
):
2533 This class holds a variety of information related to font dialogs and
2534 is used to transfer settings to and results from a `wx.FontDialog`.
2536 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2537 __repr__
= _swig_repr
2538 def __init__(self
, *args
, **kwargs
):
2540 __init__(self) -> FontData
2542 This class holds a variety of information related to font dialogs and
2543 is used to transfer settings to and results from a `wx.FontDialog`.
2545 _windows_
.FontData_swiginit(self
,_windows_
.new_FontData(*args
, **kwargs
))
2546 __swig_destroy__
= _windows_
.delete_FontData
2547 __del__
= lambda self
: None;
2548 def EnableEffects(*args
, **kwargs
):
2550 EnableEffects(self, bool enable)
2552 Enables or disables 'effects' under MS Windows only. This refers to
2553 the controls for manipulating colour, strikeout and underline
2554 properties. The default value is true.
2556 return _windows_
.FontData_EnableEffects(*args
, **kwargs
)
2558 def GetAllowSymbols(*args
, **kwargs
):
2560 GetAllowSymbols(self) -> bool
2562 Under MS Windows, returns a flag determining whether symbol fonts can
2563 be selected. Has no effect on other platforms. The default value is
2566 return _windows_
.FontData_GetAllowSymbols(*args
, **kwargs
)
2568 def GetColour(*args
, **kwargs
):
2570 GetColour(self) -> Colour
2572 Gets the colour associated with the font dialog. The default value is
2575 return _windows_
.FontData_GetColour(*args
, **kwargs
)
2577 def GetChosenFont(*args
, **kwargs
):
2579 GetChosenFont(self) -> Font
2581 Gets the font chosen by the user.
2583 return _windows_
.FontData_GetChosenFont(*args
, **kwargs
)
2585 def GetEnableEffects(*args
, **kwargs
):
2587 GetEnableEffects(self) -> bool
2589 Determines whether 'effects' are enabled under Windows.
2591 return _windows_
.FontData_GetEnableEffects(*args
, **kwargs
)
2593 def GetInitialFont(*args
, **kwargs
):
2595 GetInitialFont(self) -> Font
2597 Gets the font that will be initially used by the font dialog. This
2598 should have previously been set by the application.
2600 return _windows_
.FontData_GetInitialFont(*args
, **kwargs
)
2602 def GetShowHelp(*args
, **kwargs
):
2604 GetShowHelp(self) -> bool
2606 Returns true if the Help button will be shown (Windows only). The
2607 default value is false.
2609 return _windows_
.FontData_GetShowHelp(*args
, **kwargs
)
2611 def SetAllowSymbols(*args
, **kwargs
):
2613 SetAllowSymbols(self, bool allowSymbols)
2615 Under MS Windows, determines whether symbol fonts can be selected. Has
2616 no effect on other platforms. The default value is true.
2618 return _windows_
.FontData_SetAllowSymbols(*args
, **kwargs
)
2620 def SetChosenFont(*args
, **kwargs
):
2622 SetChosenFont(self, Font font)
2624 Sets the font that will be returned to the user (normally for internal
2627 return _windows_
.FontData_SetChosenFont(*args
, **kwargs
)
2629 def SetColour(*args
, **kwargs
):
2631 SetColour(self, Colour colour)
2633 Sets the colour that will be used for the font foreground colour. The
2634 default colour is black.
2636 return _windows_
.FontData_SetColour(*args
, **kwargs
)
2638 def SetInitialFont(*args
, **kwargs
):
2640 SetInitialFont(self, Font font)
2642 Sets the font that will be initially used by the font dialog.
2644 return _windows_
.FontData_SetInitialFont(*args
, **kwargs
)
2646 def SetRange(*args
, **kwargs
):
2648 SetRange(self, int min, int max)
2650 Sets the valid range for the font point size (Windows only). The
2651 default is 0, 0 (unrestricted range).
2653 return _windows_
.FontData_SetRange(*args
, **kwargs
)
2655 def SetShowHelp(*args
, **kwargs
):
2657 SetShowHelp(self, bool showHelp)
2659 Determines whether the Help button will be displayed in the font
2660 dialog (Windows only). The default value is false.
2662 return _windows_
.FontData_SetShowHelp(*args
, **kwargs
)
2664 FontData_swigregister
= _windows_
.FontData_swigregister
2665 FontData_swigregister(FontData
)
2667 class FontDialog(Dialog
):
2669 wx.FontDialog allows the user to select a system font and its attributes.
2674 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2675 __repr__
= _swig_repr
2676 def __init__(self
, *args
, **kwargs
):
2678 __init__(self, Window parent, FontData data) -> FontDialog
2680 Constructor. Pass a parent window and the `wx.FontData` object to be
2681 used to initialize the dialog controls. Call `ShowModal` to display
2682 the dialog. If ShowModal returns ``wx.ID_OK`` then you can fetch the
2683 results with via the `wx.FontData` returned by `GetFontData`.
2685 _windows_
.FontDialog_swiginit(self
,_windows_
.new_FontDialog(*args
, **kwargs
))
2686 self
._setOORInfo
(self
)
2688 def GetFontData(*args
, **kwargs
):
2690 GetFontData(self) -> FontData
2692 Returns a reference to the internal `wx.FontData` used by the
2695 return _windows_
.FontDialog_GetFontData(*args
, **kwargs
)
2697 FontDialog_swigregister
= _windows_
.FontDialog_swigregister
2698 FontDialog_swigregister(FontDialog
)
2701 def GetFontFromUser(*args
, **kwargs
):
2702 """GetFontFromUser(Window parent=None, Font fontInit=wxNullFont, String caption=EmptyString) -> Font"""
2703 return _windows_
.GetFontFromUser(*args
, **kwargs
)
2704 class MessageDialog(Dialog
):
2706 This class provides a simple dialog that shows a single or multi-line
2707 message, with a choice of OK, Yes, No and/or Cancel buttons.
2709 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2710 __repr__
= _swig_repr
2711 def __init__(self
, *args
, **kwargs
):
2713 __init__(self, Window parent, String message, String caption=MessageBoxCaptionStr,
2714 long style=wxOK|wxCANCEL|wxCENTRE,
2715 Point pos=DefaultPosition) -> MessageDialog
2717 Constructor, use `ShowModal` to display the dialog.
2719 _windows_
.MessageDialog_swiginit(self
,_windows_
.new_MessageDialog(*args
, **kwargs
))
2720 self
._setOORInfo
(self
)
2722 MessageDialog_swigregister
= _windows_
.MessageDialog_swigregister
2723 MessageDialog_swigregister(MessageDialog
)
2725 class ProgressDialog(Frame
):
2727 A dialog that shows a short message and a progress bar. Optionally, it
2728 can display an ABORT button.
2730 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2731 __repr__
= _swig_repr
2732 def __init__(self
, *args
, **kwargs
):
2734 __init__(self, String title, String message, int maximum=100, Window parent=None,
2735 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
2737 Constructor. Creates the dialog, displays it and disables user input
2738 for other windows, or, if wx.PD_APP_MODAL flag is not given, for its
2741 _windows_
.ProgressDialog_swiginit(self
,_windows_
.new_ProgressDialog(*args
, **kwargs
))
2742 self
._setOORInfo
(self
)
2744 def Update(*args
, **kwargs
):
2746 Update(self, int value, String newmsg=EmptyString) -> bool
2748 Updates the dialog, setting the progress bar to the new value and, if
2749 given changes the message above it. The value given should be less
2750 than or equal to the maximum value given to the constructor and the
2751 dialog is closed if it is equal to the maximum. Returns True unless
2752 the Cancel button has been pressed.
2754 If false is returned, the application can either immediately destroy
2755 the dialog or ask the user for the confirmation and if the abort is
2756 not confirmed the dialog may be resumed with Resume function.
2758 return _windows_
.ProgressDialog_Update(*args
, **kwargs
)
2760 def Resume(*args
, **kwargs
):
2764 Can be used to continue with the dialog, after the user had chosen to
2767 return _windows_
.ProgressDialog_Resume(*args
, **kwargs
)
2769 ProgressDialog_swigregister
= _windows_
.ProgressDialog_swigregister
2770 ProgressDialog_swigregister(ProgressDialog
)
2772 FR_DOWN
= _windows_
.FR_DOWN
2773 FR_WHOLEWORD
= _windows_
.FR_WHOLEWORD
2774 FR_MATCHCASE
= _windows_
.FR_MATCHCASE
2775 FR_REPLACEDIALOG
= _windows_
.FR_REPLACEDIALOG
2776 FR_NOUPDOWN
= _windows_
.FR_NOUPDOWN
2777 FR_NOMATCHCASE
= _windows_
.FR_NOMATCHCASE
2778 FR_NOWHOLEWORD
= _windows_
.FR_NOWHOLEWORD
2779 wxEVT_COMMAND_FIND
= _windows_
.wxEVT_COMMAND_FIND
2780 wxEVT_COMMAND_FIND_NEXT
= _windows_
.wxEVT_COMMAND_FIND_NEXT
2781 wxEVT_COMMAND_FIND_REPLACE
= _windows_
.wxEVT_COMMAND_FIND_REPLACE
2782 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows_
.wxEVT_COMMAND_FIND_REPLACE_ALL
2783 wxEVT_COMMAND_FIND_CLOSE
= _windows_
.wxEVT_COMMAND_FIND_CLOSE
2784 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
2785 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
2786 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
2787 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
2788 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
2790 # For backwards compatibility. Should they be removed?
2791 EVT_COMMAND_FIND
= EVT_FIND
2792 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
2793 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
2794 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
2795 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
2797 class FindDialogEvent(_core
.CommandEvent
):
2798 """Events for the FindReplaceDialog"""
2799 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2800 __repr__
= _swig_repr
2801 def __init__(self
, *args
, **kwargs
):
2803 __init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent
2805 Events for the FindReplaceDialog
2807 _windows_
.FindDialogEvent_swiginit(self
,_windows_
.new_FindDialogEvent(*args
, **kwargs
))
2808 def GetFlags(*args
, **kwargs
):
2810 GetFlags(self) -> int
2812 Get the currently selected flags: this is the combination of
2813 wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.
2815 return _windows_
.FindDialogEvent_GetFlags(*args
, **kwargs
)
2817 def GetFindString(*args
, **kwargs
):
2819 GetFindString(self) -> String
2821 Return the string to find (never empty).
2823 return _windows_
.FindDialogEvent_GetFindString(*args
, **kwargs
)
2825 def GetReplaceString(*args
, **kwargs
):
2827 GetReplaceString(self) -> String
2829 Return the string to replace the search string with (only for replace
2830 and replace all events).
2832 return _windows_
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
2834 def GetDialog(*args
, **kwargs
):
2836 GetDialog(self) -> FindReplaceDialog
2838 Return the pointer to the dialog which generated this event.
2840 return _windows_
.FindDialogEvent_GetDialog(*args
, **kwargs
)
2842 def SetFlags(*args
, **kwargs
):
2843 """SetFlags(self, int flags)"""
2844 return _windows_
.FindDialogEvent_SetFlags(*args
, **kwargs
)
2846 def SetFindString(*args
, **kwargs
):
2847 """SetFindString(self, String str)"""
2848 return _windows_
.FindDialogEvent_SetFindString(*args
, **kwargs
)
2850 def SetReplaceString(*args
, **kwargs
):
2851 """SetReplaceString(self, String str)"""
2852 return _windows_
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
2854 FindDialogEvent_swigregister
= _windows_
.FindDialogEvent_swigregister
2855 FindDialogEvent_swigregister(FindDialogEvent
)
2857 class FindReplaceData(_core
.Object
):
2859 wx.FindReplaceData holds the data for wx.FindReplaceDialog. It is used
2860 to initialize the dialog with the default values and will keep the
2861 last values from the dialog when it is closed. It is also updated each
2862 time a `wx.FindDialogEvent` is generated so instead of using the
2863 `wx.FindDialogEvent` methods you can also directly query this object.
2865 Note that all SetXXX() methods may only be called before showing the
2866 dialog and calling them has no effect later.
2868 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2869 __repr__
= _swig_repr
2870 def __init__(self
, *args
, **kwargs
):
2872 __init__(self, int flags=0) -> FindReplaceData
2874 Constuctor initializes the flags to default value (0).
2876 _windows_
.FindReplaceData_swiginit(self
,_windows_
.new_FindReplaceData(*args
, **kwargs
))
2877 __swig_destroy__
= _windows_
.delete_FindReplaceData
2878 __del__
= lambda self
: None;
2879 def GetFindString(*args
, **kwargs
):
2881 GetFindString(self) -> String
2883 Get the string to find.
2885 return _windows_
.FindReplaceData_GetFindString(*args
, **kwargs
)
2887 def GetReplaceString(*args
, **kwargs
):
2889 GetReplaceString(self) -> String
2891 Get the replacement string.
2893 return _windows_
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
2895 def GetFlags(*args
, **kwargs
):
2897 GetFlags(self) -> int
2899 Get the combination of flag values.
2901 return _windows_
.FindReplaceData_GetFlags(*args
, **kwargs
)
2903 def SetFlags(*args
, **kwargs
):
2905 SetFlags(self, int flags)
2907 Set the flags to use to initialize the controls of the dialog.
2909 return _windows_
.FindReplaceData_SetFlags(*args
, **kwargs
)
2911 def SetFindString(*args
, **kwargs
):
2913 SetFindString(self, String str)
2915 Set the string to find (used as initial value by the dialog).
2917 return _windows_
.FindReplaceData_SetFindString(*args
, **kwargs
)
2919 def SetReplaceString(*args
, **kwargs
):
2921 SetReplaceString(self, String str)
2923 Set the replacement string (used as initial value by the dialog).
2925 return _windows_
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
2927 FindReplaceData_swigregister
= _windows_
.FindReplaceData_swigregister
2928 FindReplaceData_swigregister(FindReplaceData
)
2930 class FindReplaceDialog(Dialog
):
2932 wx.FindReplaceDialog is a standard modeless dialog which is used to
2933 allow the user to search for some text (and possibly replace it with
2934 something else). The actual searching is supposed to be done in the
2935 owner window which is the parent of this dialog. Note that it means
2936 that unlike for the other standard dialogs this one must have a parent
2937 window. Also note that there is no way to use this dialog in a modal
2938 way; it is always, by design and implementation, modeless.
2940 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2941 __repr__
= _swig_repr
2942 def __init__(self
, *args
, **kwargs
):
2944 __init__(self, Window parent, FindReplaceData data, String title,
2945 int style=0) -> FindReplaceDialog
2947 Create a FindReplaceDialog. The parent and data parameters must be
2948 non-None. Use Show to display the dialog.
2950 _windows_
.FindReplaceDialog_swiginit(self
,_windows_
.new_FindReplaceDialog(*args
, **kwargs
))
2951 self
._setOORInfo
(self
)
2953 def Create(*args
, **kwargs
):
2955 Create(self, Window parent, FindReplaceData data, String title,
2956 int style=0) -> bool
2958 Create the dialog, for 2-phase create.
2960 return _windows_
.FindReplaceDialog_Create(*args
, **kwargs
)
2962 def GetData(*args
, **kwargs
):
2964 GetData(self) -> FindReplaceData
2966 Get the FindReplaceData object used by this dialog.
2968 return _windows_
.FindReplaceDialog_GetData(*args
, **kwargs
)
2970 def SetData(*args
, **kwargs
):
2972 SetData(self, FindReplaceData data)
2974 Set the FindReplaceData object used by this dialog.
2976 return _windows_
.FindReplaceDialog_SetData(*args
, **kwargs
)
2978 FindReplaceDialog_swigregister
= _windows_
.FindReplaceDialog_swigregister
2979 FindReplaceDialog_swigregister(FindReplaceDialog
)
2981 def PreFindReplaceDialog(*args
, **kwargs
):
2983 PreFindReplaceDialog() -> FindReplaceDialog
2985 Precreate a FindReplaceDialog for 2-phase creation
2987 val
= _windows_
.new_PreFindReplaceDialog(*args
, **kwargs
)
2990 #---------------------------------------------------------------------------
2992 IDM_WINDOWTILE
= _windows_
.IDM_WINDOWTILE
2993 IDM_WINDOWTILEHOR
= _windows_
.IDM_WINDOWTILEHOR
2994 IDM_WINDOWCASCADE
= _windows_
.IDM_WINDOWCASCADE
2995 IDM_WINDOWICONS
= _windows_
.IDM_WINDOWICONS
2996 IDM_WINDOWNEXT
= _windows_
.IDM_WINDOWNEXT
2997 IDM_WINDOWTILEVERT
= _windows_
.IDM_WINDOWTILEVERT
2998 IDM_WINDOWPREV
= _windows_
.IDM_WINDOWPREV
2999 FIRST_MDI_CHILD
= _windows_
.FIRST_MDI_CHILD
3000 LAST_MDI_CHILD
= _windows_
.LAST_MDI_CHILD
3001 class MDIParentFrame(Frame
):
3002 """Proxy of C++ MDIParentFrame class"""
3003 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3004 __repr__
= _swig_repr
3005 def __init__(self
, *args
, **kwargs
):
3007 __init__(self, Window parent, int id=-1, String title=EmptyString,
3008 Point pos=DefaultPosition, Size size=DefaultSize,
3009 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3010 String name=FrameNameStr) -> MDIParentFrame
3012 _windows_
.MDIParentFrame_swiginit(self
,_windows_
.new_MDIParentFrame(*args
, **kwargs
))
3013 self
._setOORInfo
(self
)
3015 def Create(*args
, **kwargs
):
3017 Create(self, Window parent, int id=-1, String title=EmptyString,
3018 Point pos=DefaultPosition, Size size=DefaultSize,
3019 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3020 String name=FrameNameStr) -> bool
3022 return _windows_
.MDIParentFrame_Create(*args
, **kwargs
)
3024 def ActivateNext(*args
, **kwargs
):
3025 """ActivateNext(self)"""
3026 return _windows_
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
3028 def ActivatePrevious(*args
, **kwargs
):
3029 """ActivatePrevious(self)"""
3030 return _windows_
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
3032 def ArrangeIcons(*args
, **kwargs
):
3033 """ArrangeIcons(self)"""
3034 return _windows_
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
3036 def Cascade(*args
, **kwargs
):
3038 return _windows_
.MDIParentFrame_Cascade(*args
, **kwargs
)
3040 def GetActiveChild(*args
, **kwargs
):
3041 """GetActiveChild(self) -> MDIChildFrame"""
3042 return _windows_
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
3044 def GetClientWindow(*args
, **kwargs
):
3045 """GetClientWindow(self) -> MDIClientWindow"""
3046 return _windows_
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
3048 def GetToolBar(*args
, **kwargs
):
3049 """GetToolBar(self) -> Window"""
3050 return _windows_
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
3052 def Tile(*args
, **kwargs
):
3053 """Tile(self, int orient=HORIZONTAL)"""
3054 return _windows_
.MDIParentFrame_Tile(*args
, **kwargs
)
3056 MDIParentFrame_swigregister
= _windows_
.MDIParentFrame_swigregister
3057 MDIParentFrame_swigregister(MDIParentFrame
)
3059 def PreMDIParentFrame(*args
, **kwargs
):
3060 """PreMDIParentFrame() -> MDIParentFrame"""
3061 val
= _windows_
.new_PreMDIParentFrame(*args
, **kwargs
)
3064 class MDIChildFrame(Frame
):
3065 """Proxy of C++ MDIChildFrame class"""
3066 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3067 __repr__
= _swig_repr
3068 def __init__(self
, *args
, **kwargs
):
3070 __init__(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3071 Point pos=DefaultPosition, Size size=DefaultSize,
3072 long style=DEFAULT_FRAME_STYLE,
3073 String name=FrameNameStr) -> MDIChildFrame
3075 _windows_
.MDIChildFrame_swiginit(self
,_windows_
.new_MDIChildFrame(*args
, **kwargs
))
3076 self
._setOORInfo
(self
)
3078 def Create(*args
, **kwargs
):
3080 Create(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3081 Point pos=DefaultPosition, Size size=DefaultSize,
3082 long style=DEFAULT_FRAME_STYLE,
3083 String name=FrameNameStr) -> bool
3085 return _windows_
.MDIChildFrame_Create(*args
, **kwargs
)
3087 def Activate(*args
, **kwargs
):
3088 """Activate(self)"""
3089 return _windows_
.MDIChildFrame_Activate(*args
, **kwargs
)
3091 MDIChildFrame_swigregister
= _windows_
.MDIChildFrame_swigregister
3092 MDIChildFrame_swigregister(MDIChildFrame
)
3094 def PreMDIChildFrame(*args
, **kwargs
):
3095 """PreMDIChildFrame() -> MDIChildFrame"""
3096 val
= _windows_
.new_PreMDIChildFrame(*args
, **kwargs
)
3099 class MDIClientWindow(_core
.Window
):
3100 """Proxy of C++ MDIClientWindow class"""
3101 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3102 __repr__
= _swig_repr
3103 def __init__(self
, *args
, **kwargs
):
3104 """__init__(self, MDIParentFrame parent, long style=0) -> MDIClientWindow"""
3105 _windows_
.MDIClientWindow_swiginit(self
,_windows_
.new_MDIClientWindow(*args
, **kwargs
))
3106 self
._setOORInfo
(self
)
3108 def Create(*args
, **kwargs
):
3109 """Create(self, MDIParentFrame parent, long style=0) -> bool"""
3110 return _windows_
.MDIClientWindow_Create(*args
, **kwargs
)
3112 MDIClientWindow_swigregister
= _windows_
.MDIClientWindow_swigregister
3113 MDIClientWindow_swigregister(MDIClientWindow
)
3115 def PreMDIClientWindow(*args
, **kwargs
):
3116 """PreMDIClientWindow() -> MDIClientWindow"""
3117 val
= _windows_
.new_PreMDIClientWindow(*args
, **kwargs
)
3120 #---------------------------------------------------------------------------
3122 class PyWindow(_core
.Window
):
3123 """Proxy of C++ PyWindow class"""
3124 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3125 __repr__
= _swig_repr
3126 def __init__(self
, *args
, **kwargs
):
3128 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3129 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyWindow
3131 _windows_
.PyWindow_swiginit(self
,_windows_
.new_PyWindow(*args
, **kwargs
))
3132 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
3134 def _setCallbackInfo(*args
, **kwargs
):
3135 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3136 return _windows_
.PyWindow__setCallbackInfo(*args
, **kwargs
)
3138 def SetBestSize(*args
, **kwargs
):
3139 """SetBestSize(self, Size size)"""
3140 return _windows_
.PyWindow_SetBestSize(*args
, **kwargs
)
3142 def DoEraseBackground(*args
, **kwargs
):
3143 """DoEraseBackground(self, DC dc) -> bool"""
3144 return _windows_
.PyWindow_DoEraseBackground(*args
, **kwargs
)
3146 def DoMoveWindow(*args
, **kwargs
):
3147 """DoMoveWindow(self, int x, int y, int width, int height)"""
3148 return _windows_
.PyWindow_DoMoveWindow(*args
, **kwargs
)
3150 def DoSetSize(*args
, **kwargs
):
3151 """DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3152 return _windows_
.PyWindow_DoSetSize(*args
, **kwargs
)
3154 def DoSetClientSize(*args
, **kwargs
):
3155 """DoSetClientSize(self, int width, int height)"""
3156 return _windows_
.PyWindow_DoSetClientSize(*args
, **kwargs
)
3158 def DoSetVirtualSize(*args
, **kwargs
):
3159 """DoSetVirtualSize(self, int x, int y)"""
3160 return _windows_
.PyWindow_DoSetVirtualSize(*args
, **kwargs
)
3162 def DoGetSize(*args
, **kwargs
):
3163 """DoGetSize() -> (width, height)"""
3164 return _windows_
.PyWindow_DoGetSize(*args
, **kwargs
)
3166 def DoGetClientSize(*args
, **kwargs
):
3167 """DoGetClientSize() -> (width, height)"""
3168 return _windows_
.PyWindow_DoGetClientSize(*args
, **kwargs
)
3170 def DoGetPosition(*args
, **kwargs
):
3171 """DoGetPosition() -> (x,y)"""
3172 return _windows_
.PyWindow_DoGetPosition(*args
, **kwargs
)
3174 def DoGetVirtualSize(*args
, **kwargs
):
3175 """DoGetVirtualSize(self) -> Size"""
3176 return _windows_
.PyWindow_DoGetVirtualSize(*args
, **kwargs
)
3178 def DoGetBestSize(*args
, **kwargs
):
3179 """DoGetBestSize(self) -> Size"""
3180 return _windows_
.PyWindow_DoGetBestSize(*args
, **kwargs
)
3182 def GetDefaultAttributes(*args
, **kwargs
):
3183 """GetDefaultAttributes(self) -> VisualAttributes"""
3184 return _windows_
.PyWindow_GetDefaultAttributes(*args
, **kwargs
)
3186 def OnInternalIdle(*args
, **kwargs
):
3187 """OnInternalIdle(self)"""
3188 return _windows_
.PyWindow_OnInternalIdle(*args
, **kwargs
)
3190 def base_DoMoveWindow(*args
, **kw
):
3191 return PyWindow
.DoMoveWindow(*args
, **kw
)
3192 base_DoMoveWindow
= wx
._deprecated
(base_DoMoveWindow
,
3193 "Please use PyWindow.DoMoveWindow instead.")
3195 def base_DoSetSize(*args
, **kw
):
3196 return PyWindow
.DoSetSize(*args
, **kw
)
3197 base_DoSetSize
= wx
._deprecated
(base_DoSetSize
,
3198 "Please use PyWindow.DoSetSize instead.")
3200 def base_DoSetClientSize(*args
, **kw
):
3201 return PyWindow
.DoSetClientSize(*args
, **kw
)
3202 base_DoSetClientSize
= wx
._deprecated
(base_DoSetClientSize
,
3203 "Please use PyWindow.DoSetClientSize instead.")
3205 def base_DoSetVirtualSize(*args
, **kw
):
3206 return PyWindow
.DoSetVirtualSize(*args
, **kw
)
3207 base_DoSetVirtualSize
= wx
._deprecated
(base_DoSetVirtualSize
,
3208 "Please use PyWindow.DoSetVirtualSize instead.")
3210 def base_DoGetSize(*args
, **kw
):
3211 return PyWindow
.DoGetSize(*args
, **kw
)
3212 base_DoGetSize
= wx
._deprecated
(base_DoGetSize
,
3213 "Please use PyWindow.DoGetSize instead.")
3215 def base_DoGetClientSize(*args
, **kw
):
3216 return PyWindow
.DoGetClientSize(*args
, **kw
)
3217 base_DoGetClientSize
= wx
._deprecated
(base_DoGetClientSize
,
3218 "Please use PyWindow.DoGetClientSize instead.")
3220 def base_DoGetPosition(*args
, **kw
):
3221 return PyWindow
.DoGetPosition(*args
, **kw
)
3222 base_DoGetPosition
= wx
._deprecated
(base_DoGetPosition
,
3223 "Please use PyWindow.DoGetPosition instead.")
3225 def base_DoGetVirtualSize(*args
, **kw
):
3226 return PyWindow
.DoGetVirtualSize(*args
, **kw
)
3227 base_DoGetVirtualSize
= wx
._deprecated
(base_DoGetVirtualSize
,
3228 "Please use PyWindow.DoGetVirtualSize instead.")
3230 def base_DoGetBestSize(*args
, **kw
):
3231 return PyWindow
.DoGetBestSize(*args
, **kw
)
3232 base_DoGetBestSize
= wx
._deprecated
(base_DoGetBestSize
,
3233 "Please use PyWindow.DoGetBestSize instead.")
3235 def base_InitDialog(*args
, **kw
):
3236 return PyWindow
.InitDialog(*args
, **kw
)
3237 base_InitDialog
= wx
._deprecated
(base_InitDialog
,
3238 "Please use PyWindow.InitDialog instead.")
3240 def base_TransferDataToWindow(*args
, **kw
):
3241 return PyWindow
.TransferDataToWindow(*args
, **kw
)
3242 base_TransferDataToWindow
= wx
._deprecated
(base_TransferDataToWindow
,
3243 "Please use PyWindow.TransferDataToWindow instead.")
3245 def base_TransferDataFromWindow(*args
, **kw
):
3246 return PyWindow
.TransferDataFromWindow(*args
, **kw
)
3247 base_TransferDataFromWindow
= wx
._deprecated
(base_TransferDataFromWindow
,
3248 "Please use PyWindow.TransferDataFromWindow instead.")
3250 def base_Validate(*args
, **kw
):
3251 return PyWindow
.Validate(*args
, **kw
)
3252 base_Validate
= wx
._deprecated
(base_Validate
,
3253 "Please use PyWindow.Validate instead.")
3255 def base_AcceptsFocus(*args
, **kw
):
3256 return PyWindow
.AcceptsFocus(*args
, **kw
)
3257 base_AcceptsFocus
= wx
._deprecated
(base_AcceptsFocus
,
3258 "Please use PyWindow.AcceptsFocus instead.")
3260 def base_AcceptsFocusFromKeyboard(*args
, **kw
):
3261 return PyWindow
.AcceptsFocusFromKeyboard(*args
, **kw
)
3262 base_AcceptsFocusFromKeyboard
= wx
._deprecated
(base_AcceptsFocusFromKeyboard
,
3263 "Please use PyWindow.AcceptsFocusFromKeyboard instead.")
3265 def base_GetMaxSize(*args
, **kw
):
3266 return PyWindow
.GetMaxSize(*args
, **kw
)
3267 base_GetMaxSize
= wx
._deprecated
(base_GetMaxSize
,
3268 "Please use PyWindow.GetMaxSize instead.")
3270 def base_AddChild(*args
, **kw
):
3271 return PyWindow
.AddChild(*args
, **kw
)
3272 base_AddChild
= wx
._deprecated
(base_AddChild
,
3273 "Please use PyWindow.AddChild instead.")
3275 def base_RemoveChild(*args
, **kw
):
3276 return PyWindow
.RemoveChild(*args
, **kw
)
3277 base_RemoveChild
= wx
._deprecated
(base_RemoveChild
,
3278 "Please use PyWindow.RemoveChild instead.")
3280 def base_ShouldInheritColours(*args
, **kw
):
3281 return PyWindow
.ShouldInheritColours(*args
, **kw
)
3282 base_ShouldInheritColours
= wx
._deprecated
(base_ShouldInheritColours
,
3283 "Please use PyWindow.ShouldInheritColours instead.")
3285 def base_GetDefaultAttributes(*args
, **kw
):
3286 return PyWindow
.GetDefaultAttributes(*args
, **kw
)
3287 base_GetDefaultAttributes
= wx
._deprecated
(base_GetDefaultAttributes
,
3288 "Please use PyWindow.GetDefaultAttributes instead.")
3290 def base_OnInternalIdle(*args
, **kw
):
3291 return PyWindow
.OnInternalIdle(*args
, **kw
)
3292 base_OnInternalIdle
= wx
._deprecated
(base_OnInternalIdle
,
3293 "Please use PyWindow.OnInternalIdle instead.")
3295 PyWindow_swigregister
= _windows_
.PyWindow_swigregister
3296 PyWindow_swigregister(PyWindow
)
3298 def PrePyWindow(*args
, **kwargs
):
3299 """PrePyWindow() -> PyWindow"""
3300 val
= _windows_
.new_PrePyWindow(*args
, **kwargs
)
3303 class PyPanel(Panel
):
3304 """Proxy of C++ PyPanel class"""
3305 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3306 __repr__
= _swig_repr
3307 def __init__(self
, *args
, **kwargs
):
3309 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3310 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyPanel
3312 _windows_
.PyPanel_swiginit(self
,_windows_
.new_PyPanel(*args
, **kwargs
))
3313 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3315 def _setCallbackInfo(*args
, **kwargs
):
3316 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3317 return _windows_
.PyPanel__setCallbackInfo(*args
, **kwargs
)
3319 def SetBestSize(*args
, **kwargs
):
3320 """SetBestSize(self, Size size)"""
3321 return _windows_
.PyPanel_SetBestSize(*args
, **kwargs
)
3323 def DoEraseBackground(*args
, **kwargs
):
3324 """DoEraseBackground(self, DC dc) -> bool"""
3325 return _windows_
.PyPanel_DoEraseBackground(*args
, **kwargs
)
3327 def DoMoveWindow(*args
, **kwargs
):
3328 """DoMoveWindow(self, int x, int y, int width, int height)"""
3329 return _windows_
.PyPanel_DoMoveWindow(*args
, **kwargs
)
3331 def DoSetSize(*args
, **kwargs
):
3332 """DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3333 return _windows_
.PyPanel_DoSetSize(*args
, **kwargs
)
3335 def DoSetClientSize(*args
, **kwargs
):
3336 """DoSetClientSize(self, int width, int height)"""
3337 return _windows_
.PyPanel_DoSetClientSize(*args
, **kwargs
)
3339 def DoSetVirtualSize(*args
, **kwargs
):
3340 """DoSetVirtualSize(self, int x, int y)"""
3341 return _windows_
.PyPanel_DoSetVirtualSize(*args
, **kwargs
)
3343 def DoGetSize(*args
, **kwargs
):
3344 """DoGetSize() -> (width, height)"""
3345 return _windows_
.PyPanel_DoGetSize(*args
, **kwargs
)
3347 def DoGetClientSize(*args
, **kwargs
):
3348 """DoGetClientSize() -> (width, height)"""
3349 return _windows_
.PyPanel_DoGetClientSize(*args
, **kwargs
)
3351 def DoGetPosition(*args
, **kwargs
):
3352 """DoGetPosition() -> (x,y)"""
3353 return _windows_
.PyPanel_DoGetPosition(*args
, **kwargs
)
3355 def DoGetVirtualSize(*args
, **kwargs
):
3356 """DoGetVirtualSize(self) -> Size"""
3357 return _windows_
.PyPanel_DoGetVirtualSize(*args
, **kwargs
)
3359 def DoGetBestSize(*args
, **kwargs
):
3360 """DoGetBestSize(self) -> Size"""
3361 return _windows_
.PyPanel_DoGetBestSize(*args
, **kwargs
)
3363 def GetDefaultAttributes(*args
, **kwargs
):
3364 """GetDefaultAttributes(self) -> VisualAttributes"""
3365 return _windows_
.PyPanel_GetDefaultAttributes(*args
, **kwargs
)
3367 def OnInternalIdle(*args
, **kwargs
):
3368 """OnInternalIdle(self)"""
3369 return _windows_
.PyPanel_OnInternalIdle(*args
, **kwargs
)
3371 def base_DoMoveWindow(*args
, **kw
):
3372 return PyPanel
.DoMoveWindow(*args
, **kw
)
3373 base_DoMoveWindow
= wx
._deprecated
(base_DoMoveWindow
,
3374 "Please use PyPanel.DoMoveWindow instead.")
3376 def base_DoSetSize(*args
, **kw
):
3377 return PyPanel
.DoSetSize(*args
, **kw
)
3378 base_DoSetSize
= wx
._deprecated
(base_DoSetSize
,
3379 "Please use PyPanel.DoSetSize instead.")
3381 def base_DoSetClientSize(*args
, **kw
):
3382 return PyPanel
.DoSetClientSize(*args
, **kw
)
3383 base_DoSetClientSize
= wx
._deprecated
(base_DoSetClientSize
,
3384 "Please use PyPanel.DoSetClientSize instead.")
3386 def base_DoSetVirtualSize(*args
, **kw
):
3387 return PyPanel
.DoSetVirtualSize(*args
, **kw
)
3388 base_DoSetVirtualSize
= wx
._deprecated
(base_DoSetVirtualSize
,
3389 "Please use PyPanel.DoSetVirtualSize instead.")
3391 def base_DoGetSize(*args
, **kw
):
3392 return PyPanel
.DoGetSize(*args
, **kw
)
3393 base_DoGetSize
= wx
._deprecated
(base_DoGetSize
,
3394 "Please use PyPanel.DoGetSize instead.")
3396 def base_DoGetClientSize(*args
, **kw
):
3397 return PyPanel
.DoGetClientSize(*args
, **kw
)
3398 base_DoGetClientSize
= wx
._deprecated
(base_DoGetClientSize
,
3399 "Please use PyPanel.DoGetClientSize instead.")
3401 def base_DoGetPosition(*args
, **kw
):
3402 return PyPanel
.DoGetPosition(*args
, **kw
)
3403 base_DoGetPosition
= wx
._deprecated
(base_DoGetPosition
,
3404 "Please use PyPanel.DoGetPosition instead.")
3406 def base_DoGetVirtualSize(*args
, **kw
):
3407 return PyPanel
.DoGetVirtualSize(*args
, **kw
)
3408 base_DoGetVirtualSize
= wx
._deprecated
(base_DoGetVirtualSize
,
3409 "Please use PyPanel.DoGetVirtualSize instead.")
3411 def base_DoGetBestSize(*args
, **kw
):
3412 return PyPanel
.DoGetBestSize(*args
, **kw
)
3413 base_DoGetBestSize
= wx
._deprecated
(base_DoGetBestSize
,
3414 "Please use PyPanel.DoGetBestSize instead.")
3416 def base_InitDialog(*args
, **kw
):
3417 return PyPanel
.InitDialog(*args
, **kw
)
3418 base_InitDialog
= wx
._deprecated
(base_InitDialog
,
3419 "Please use PyPanel.InitDialog instead.")
3421 def base_TransferDataToWindow(*args
, **kw
):
3422 return PyPanel
.TransferDataToWindow(*args
, **kw
)
3423 base_TransferDataToWindow
= wx
._deprecated
(base_TransferDataToWindow
,
3424 "Please use PyPanel.TransferDataToWindow instead.")
3426 def base_TransferDataFromWindow(*args
, **kw
):
3427 return PyPanel
.TransferDataFromWindow(*args
, **kw
)
3428 base_TransferDataFromWindow
= wx
._deprecated
(base_TransferDataFromWindow
,
3429 "Please use PyPanel.TransferDataFromWindow instead.")
3431 def base_Validate(*args
, **kw
):
3432 return PyPanel
.Validate(*args
, **kw
)
3433 base_Validate
= wx
._deprecated
(base_Validate
,
3434 "Please use PyPanel.Validate instead.")
3436 def base_AcceptsFocus(*args
, **kw
):
3437 return PyPanel
.AcceptsFocus(*args
, **kw
)
3438 base_AcceptsFocus
= wx
._deprecated
(base_AcceptsFocus
,
3439 "Please use PyPanel.AcceptsFocus instead.")
3441 def base_AcceptsFocusFromKeyboard(*args
, **kw
):
3442 return PyPanel
.AcceptsFocusFromKeyboard(*args
, **kw
)
3443 base_AcceptsFocusFromKeyboard
= wx
._deprecated
(base_AcceptsFocusFromKeyboard
,
3444 "Please use PyPanel.AcceptsFocusFromKeyboard instead.")
3446 def base_GetMaxSize(*args
, **kw
):
3447 return PyPanel
.GetMaxSize(*args
, **kw
)
3448 base_GetMaxSize
= wx
._deprecated
(base_GetMaxSize
,
3449 "Please use PyPanel.GetMaxSize instead.")
3451 def base_AddChild(*args
, **kw
):
3452 return PyPanel
.AddChild(*args
, **kw
)
3453 base_AddChild
= wx
._deprecated
(base_AddChild
,
3454 "Please use PyPanel.AddChild instead.")
3456 def base_RemoveChild(*args
, **kw
):
3457 return PyPanel
.RemoveChild(*args
, **kw
)
3458 base_RemoveChild
= wx
._deprecated
(base_RemoveChild
,
3459 "Please use PyPanel.RemoveChild instead.")
3461 def base_ShouldInheritColours(*args
, **kw
):
3462 return PyPanel
.ShouldInheritColours(*args
, **kw
)
3463 base_ShouldInheritColours
= wx
._deprecated
(base_ShouldInheritColours
,
3464 "Please use PyPanel.ShouldInheritColours instead.")
3466 def base_GetDefaultAttributes(*args
, **kw
):
3467 return PyPanel
.GetDefaultAttributes(*args
, **kw
)
3468 base_GetDefaultAttributes
= wx
._deprecated
(base_GetDefaultAttributes
,
3469 "Please use PyPanel.GetDefaultAttributes instead.")
3471 def base_OnInternalIdle(*args
, **kw
):
3472 return PyPanel
.OnInternalIdle(*args
, **kw
)
3473 base_OnInternalIdle
= wx
._deprecated
(base_OnInternalIdle
,
3474 "Please use PyPanel.OnInternalIdle instead.")
3476 PyPanel_swigregister
= _windows_
.PyPanel_swigregister
3477 PyPanel_swigregister(PyPanel
)
3479 def PrePyPanel(*args
, **kwargs
):
3480 """PrePyPanel() -> PyPanel"""
3481 val
= _windows_
.new_PrePyPanel(*args
, **kwargs
)
3484 class PyScrolledWindow(ScrolledWindow
):
3485 """Proxy of C++ PyScrolledWindow class"""
3486 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3487 __repr__
= _swig_repr
3488 def __init__(self
, *args
, **kwargs
):
3490 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3491 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyScrolledWindow
3493 _windows_
.PyScrolledWindow_swiginit(self
,_windows_
.new_PyScrolledWindow(*args
, **kwargs
))
3494 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyScrolledWindow
)
3496 def _setCallbackInfo(*args
, **kwargs
):
3497 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3498 return _windows_
.PyScrolledWindow__setCallbackInfo(*args
, **kwargs
)
3500 def SetBestSize(*args
, **kwargs
):
3501 """SetBestSize(self, Size size)"""
3502 return _windows_
.PyScrolledWindow_SetBestSize(*args
, **kwargs
)
3504 def DoEraseBackground(*args
, **kwargs
):
3505 """DoEraseBackground(self, DC dc) -> bool"""
3506 return _windows_
.PyScrolledWindow_DoEraseBackground(*args
, **kwargs
)
3508 def DoMoveWindow(*args
, **kwargs
):
3509 """DoMoveWindow(self, int x, int y, int width, int height)"""
3510 return _windows_
.PyScrolledWindow_DoMoveWindow(*args
, **kwargs
)
3512 def DoSetSize(*args
, **kwargs
):
3513 """DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3514 return _windows_
.PyScrolledWindow_DoSetSize(*args
, **kwargs
)
3516 def DoSetClientSize(*args
, **kwargs
):
3517 """DoSetClientSize(self, int width, int height)"""
3518 return _windows_
.PyScrolledWindow_DoSetClientSize(*args
, **kwargs
)
3520 def DoSetVirtualSize(*args
, **kwargs
):
3521 """DoSetVirtualSize(self, int x, int y)"""
3522 return _windows_
.PyScrolledWindow_DoSetVirtualSize(*args
, **kwargs
)
3524 def DoGetSize(*args
, **kwargs
):
3525 """DoGetSize() -> (width, height)"""
3526 return _windows_
.PyScrolledWindow_DoGetSize(*args
, **kwargs
)
3528 def DoGetClientSize(*args
, **kwargs
):
3529 """DoGetClientSize() -> (width, height)"""
3530 return _windows_
.PyScrolledWindow_DoGetClientSize(*args
, **kwargs
)
3532 def DoGetPosition(*args
, **kwargs
):
3533 """DoGetPosition() -> (x,y)"""
3534 return _windows_
.PyScrolledWindow_DoGetPosition(*args
, **kwargs
)
3536 def DoGetVirtualSize(*args
, **kwargs
):
3537 """DoGetVirtualSize(self) -> Size"""
3538 return _windows_
.PyScrolledWindow_DoGetVirtualSize(*args
, **kwargs
)
3540 def DoGetBestSize(*args
, **kwargs
):
3541 """DoGetBestSize(self) -> Size"""
3542 return _windows_
.PyScrolledWindow_DoGetBestSize(*args
, **kwargs
)
3544 def GetDefaultAttributes(*args
, **kwargs
):
3545 """GetDefaultAttributes(self) -> VisualAttributes"""
3546 return _windows_
.PyScrolledWindow_GetDefaultAttributes(*args
, **kwargs
)
3548 def OnInternalIdle(*args
, **kwargs
):
3549 """OnInternalIdle(self)"""
3550 return _windows_
.PyScrolledWindow_OnInternalIdle(*args
, **kwargs
)
3552 def base_DoMoveWindow(*args
, **kw
):
3553 return PyScrolledWindow
.DoMoveWindow(*args
, **kw
)
3554 base_DoMoveWindow
= wx
._deprecated
(base_DoMoveWindow
,
3555 "Please use PyScrolledWindow.DoMoveWindow instead.")
3557 def base_DoSetSize(*args
, **kw
):
3558 return PyScrolledWindow
.DoSetSize(*args
, **kw
)
3559 base_DoSetSize
= wx
._deprecated
(base_DoSetSize
,
3560 "Please use PyScrolledWindow.DoSetSize instead.")
3562 def base_DoSetClientSize(*args
, **kw
):
3563 return PyScrolledWindow
.DoSetClientSize(*args
, **kw
)
3564 base_DoSetClientSize
= wx
._deprecated
(base_DoSetClientSize
,
3565 "Please use PyScrolledWindow.DoSetClientSize instead.")
3567 def base_DoSetVirtualSize(*args
, **kw
):
3568 return PyScrolledWindow
.DoSetVirtualSize(*args
, **kw
)
3569 base_DoSetVirtualSize
= wx
._deprecated
(base_DoSetVirtualSize
,
3570 "Please use PyScrolledWindow.DoSetVirtualSize instead.")
3572 def base_DoGetSize(*args
, **kw
):
3573 return PyScrolledWindow
.DoGetSize(*args
, **kw
)
3574 base_DoGetSize
= wx
._deprecated
(base_DoGetSize
,
3575 "Please use PyScrolledWindow.DoGetSize instead.")
3577 def base_DoGetClientSize(*args
, **kw
):
3578 return PyScrolledWindow
.DoGetClientSize(*args
, **kw
)
3579 base_DoGetClientSize
= wx
._deprecated
(base_DoGetClientSize
,
3580 "Please use PyScrolledWindow.DoGetClientSize instead.")
3582 def base_DoGetPosition(*args
, **kw
):
3583 return PyScrolledWindow
.DoGetPosition(*args
, **kw
)
3584 base_DoGetPosition
= wx
._deprecated
(base_DoGetPosition
,
3585 "Please use PyScrolledWindow.DoGetPosition instead.")
3587 def base_DoGetVirtualSize(*args
, **kw
):
3588 return PyScrolledWindow
.DoGetVirtualSize(*args
, **kw
)
3589 base_DoGetVirtualSize
= wx
._deprecated
(base_DoGetVirtualSize
,
3590 "Please use PyScrolledWindow.DoGetVirtualSize instead.")
3592 def base_DoGetBestSize(*args
, **kw
):
3593 return PyScrolledWindow
.DoGetBestSize(*args
, **kw
)
3594 base_DoGetBestSize
= wx
._deprecated
(base_DoGetBestSize
,
3595 "Please use PyScrolledWindow.DoGetBestSize instead.")
3597 def base_InitDialog(*args
, **kw
):
3598 return PyScrolledWindow
.InitDialog(*args
, **kw
)
3599 base_InitDialog
= wx
._deprecated
(base_InitDialog
,
3600 "Please use PyScrolledWindow.InitDialog instead.")
3602 def base_TransferDataToWindow(*args
, **kw
):
3603 return PyScrolledWindow
.TransferDataToWindow(*args
, **kw
)
3604 base_TransferDataToWindow
= wx
._deprecated
(base_TransferDataToWindow
,
3605 "Please use PyScrolledWindow.TransferDataToWindow instead.")
3607 def base_TransferDataFromWindow(*args
, **kw
):
3608 return PyScrolledWindow
.TransferDataFromWindow(*args
, **kw
)
3609 base_TransferDataFromWindow
= wx
._deprecated
(base_TransferDataFromWindow
,
3610 "Please use PyScrolledWindow.TransferDataFromWindow instead.")
3612 def base_Validate(*args
, **kw
):
3613 return PyScrolledWindow
.Validate(*args
, **kw
)
3614 base_Validate
= wx
._deprecated
(base_Validate
,
3615 "Please use PyScrolledWindow.Validate instead.")
3617 def base_AcceptsFocus(*args
, **kw
):
3618 return PyScrolledWindow
.AcceptsFocus(*args
, **kw
)
3619 base_AcceptsFocus
= wx
._deprecated
(base_AcceptsFocus
,
3620 "Please use PyScrolledWindow.AcceptsFocus instead.")
3622 def base_AcceptsFocusFromKeyboard(*args
, **kw
):
3623 return PyScrolledWindow
.AcceptsFocusFromKeyboard(*args
, **kw
)
3624 base_AcceptsFocusFromKeyboard
= wx
._deprecated
(base_AcceptsFocusFromKeyboard
,
3625 "Please use PyScrolledWindow.AcceptsFocusFromKeyboard instead.")
3627 def base_GetMaxSize(*args
, **kw
):
3628 return PyScrolledWindow
.GetMaxSize(*args
, **kw
)
3629 base_GetMaxSize
= wx
._deprecated
(base_GetMaxSize
,
3630 "Please use PyScrolledWindow.GetMaxSize instead.")
3632 def base_AddChild(*args
, **kw
):
3633 return PyScrolledWindow
.AddChild(*args
, **kw
)
3634 base_AddChild
= wx
._deprecated
(base_AddChild
,
3635 "Please use PyScrolledWindow.AddChild instead.")
3637 def base_RemoveChild(*args
, **kw
):
3638 return PyScrolledWindow
.RemoveChild(*args
, **kw
)
3639 base_RemoveChild
= wx
._deprecated
(base_RemoveChild
,
3640 "Please use PyScrolledWindow.RemoveChild instead.")
3642 def base_ShouldInheritColours(*args
, **kw
):
3643 return PyScrolledWindow
.ShouldInheritColours(*args
, **kw
)
3644 base_ShouldInheritColours
= wx
._deprecated
(base_ShouldInheritColours
,
3645 "Please use PyScrolledWindow.ShouldInheritColours instead.")
3647 def base_GetDefaultAttributes(*args
, **kw
):
3648 return PyScrolledWindow
.GetDefaultAttributes(*args
, **kw
)
3649 base_GetDefaultAttributes
= wx
._deprecated
(base_GetDefaultAttributes
,
3650 "Please use PyScrolledWindow.GetDefaultAttributes instead.")
3652 def base_OnInternalIdle(*args
, **kw
):
3653 return PyScrolledWindow
.OnInternalIdle(*args
, **kw
)
3654 base_OnInternalIdle
= wx
._deprecated
(base_OnInternalIdle
,
3655 "Please use PyScrolledWindow.OnInternalIdle instead.")
3657 PyScrolledWindow_swigregister
= _windows_
.PyScrolledWindow_swigregister
3658 PyScrolledWindow_swigregister(PyScrolledWindow
)
3660 def PrePyScrolledWindow(*args
, **kwargs
):
3661 """PrePyScrolledWindow() -> PyScrolledWindow"""
3662 val
= _windows_
.new_PrePyScrolledWindow(*args
, **kwargs
)
3665 #---------------------------------------------------------------------------
3667 PRINT_MODE_NONE
= _windows_
.PRINT_MODE_NONE
3668 PRINT_MODE_PREVIEW
= _windows_
.PRINT_MODE_PREVIEW
3669 PRINT_MODE_FILE
= _windows_
.PRINT_MODE_FILE
3670 PRINT_MODE_PRINTER
= _windows_
.PRINT_MODE_PRINTER
3671 PRINT_MODE_STREAM
= _windows_
.PRINT_MODE_STREAM
3672 PRINTBIN_DEFAULT
= _windows_
.PRINTBIN_DEFAULT
3673 PRINTBIN_ONLYONE
= _windows_
.PRINTBIN_ONLYONE
3674 PRINTBIN_LOWER
= _windows_
.PRINTBIN_LOWER
3675 PRINTBIN_MIDDLE
= _windows_
.PRINTBIN_MIDDLE
3676 PRINTBIN_MANUAL
= _windows_
.PRINTBIN_MANUAL
3677 PRINTBIN_ENVELOPE
= _windows_
.PRINTBIN_ENVELOPE
3678 PRINTBIN_ENVMANUAL
= _windows_
.PRINTBIN_ENVMANUAL
3679 PRINTBIN_AUTO
= _windows_
.PRINTBIN_AUTO
3680 PRINTBIN_TRACTOR
= _windows_
.PRINTBIN_TRACTOR
3681 PRINTBIN_SMALLFMT
= _windows_
.PRINTBIN_SMALLFMT
3682 PRINTBIN_LARGEFMT
= _windows_
.PRINTBIN_LARGEFMT
3683 PRINTBIN_LARGECAPACITY
= _windows_
.PRINTBIN_LARGECAPACITY
3684 PRINTBIN_CASSETTE
= _windows_
.PRINTBIN_CASSETTE
3685 PRINTBIN_FORMSOURCE
= _windows_
.PRINTBIN_FORMSOURCE
3686 PRINTBIN_USER
= _windows_
.PRINTBIN_USER
3687 class PrintData(_core
.Object
):
3688 """Proxy of C++ PrintData class"""
3689 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3690 __repr__
= _swig_repr
3691 def __init__(self
, *args
):
3693 __init__(self) -> PrintData
3694 __init__(self, PrintData data) -> PrintData
3696 _windows_
.PrintData_swiginit(self
,_windows_
.new_PrintData(*args
))
3697 __swig_destroy__
= _windows_
.delete_PrintData
3698 __del__
= lambda self
: None;
3699 def GetNoCopies(*args
, **kwargs
):
3700 """GetNoCopies(self) -> int"""
3701 return _windows_
.PrintData_GetNoCopies(*args
, **kwargs
)
3703 def GetCollate(*args
, **kwargs
):
3704 """GetCollate(self) -> bool"""
3705 return _windows_
.PrintData_GetCollate(*args
, **kwargs
)
3707 def GetOrientation(*args
, **kwargs
):
3708 """GetOrientation(self) -> int"""
3709 return _windows_
.PrintData_GetOrientation(*args
, **kwargs
)
3711 def Ok(*args
, **kwargs
):
3712 """Ok(self) -> bool"""
3713 return _windows_
.PrintData_Ok(*args
, **kwargs
)
3715 def GetPrinterName(*args
, **kwargs
):
3716 """GetPrinterName(self) -> String"""
3717 return _windows_
.PrintData_GetPrinterName(*args
, **kwargs
)
3719 def GetColour(*args
, **kwargs
):
3720 """GetColour(self) -> bool"""
3721 return _windows_
.PrintData_GetColour(*args
, **kwargs
)
3723 def GetDuplex(*args
, **kwargs
):
3724 """GetDuplex(self) -> int"""
3725 return _windows_
.PrintData_GetDuplex(*args
, **kwargs
)
3727 def GetPaperId(*args
, **kwargs
):
3728 """GetPaperId(self) -> int"""
3729 return _windows_
.PrintData_GetPaperId(*args
, **kwargs
)
3731 def GetPaperSize(*args
, **kwargs
):
3732 """GetPaperSize(self) -> Size"""
3733 return _windows_
.PrintData_GetPaperSize(*args
, **kwargs
)
3735 def GetQuality(*args
, **kwargs
):
3736 """GetQuality(self) -> int"""
3737 return _windows_
.PrintData_GetQuality(*args
, **kwargs
)
3739 def GetBin(*args
, **kwargs
):
3740 """GetBin(self) -> int"""
3741 return _windows_
.PrintData_GetBin(*args
, **kwargs
)
3743 def GetPrintMode(*args
, **kwargs
):
3744 """GetPrintMode(self) -> int"""
3745 return _windows_
.PrintData_GetPrintMode(*args
, **kwargs
)
3747 def SetNoCopies(*args
, **kwargs
):
3748 """SetNoCopies(self, int v)"""
3749 return _windows_
.PrintData_SetNoCopies(*args
, **kwargs
)
3751 def SetCollate(*args
, **kwargs
):
3752 """SetCollate(self, bool flag)"""
3753 return _windows_
.PrintData_SetCollate(*args
, **kwargs
)
3755 def SetOrientation(*args
, **kwargs
):
3756 """SetOrientation(self, int orient)"""
3757 return _windows_
.PrintData_SetOrientation(*args
, **kwargs
)
3759 def SetPrinterName(*args
, **kwargs
):
3760 """SetPrinterName(self, String name)"""
3761 return _windows_
.PrintData_SetPrinterName(*args
, **kwargs
)
3763 def SetColour(*args
, **kwargs
):
3764 """SetColour(self, bool colour)"""
3765 return _windows_
.PrintData_SetColour(*args
, **kwargs
)
3767 def SetDuplex(*args
, **kwargs
):
3768 """SetDuplex(self, int duplex)"""
3769 return _windows_
.PrintData_SetDuplex(*args
, **kwargs
)
3771 def SetPaperId(*args
, **kwargs
):
3772 """SetPaperId(self, int sizeId)"""
3773 return _windows_
.PrintData_SetPaperId(*args
, **kwargs
)
3775 def SetPaperSize(*args
, **kwargs
):
3776 """SetPaperSize(self, Size sz)"""
3777 return _windows_
.PrintData_SetPaperSize(*args
, **kwargs
)
3779 def SetQuality(*args
, **kwargs
):
3780 """SetQuality(self, int quality)"""
3781 return _windows_
.PrintData_SetQuality(*args
, **kwargs
)
3783 def SetBin(*args
, **kwargs
):
3784 """SetBin(self, int bin)"""
3785 return _windows_
.PrintData_SetBin(*args
, **kwargs
)
3787 def SetPrintMode(*args
, **kwargs
):
3788 """SetPrintMode(self, int printMode)"""
3789 return _windows_
.PrintData_SetPrintMode(*args
, **kwargs
)
3791 def GetFilename(*args
, **kwargs
):
3792 """GetFilename(self) -> String"""
3793 return _windows_
.PrintData_GetFilename(*args
, **kwargs
)
3795 def SetFilename(*args
, **kwargs
):
3796 """SetFilename(self, String filename)"""
3797 return _windows_
.PrintData_SetFilename(*args
, **kwargs
)
3799 def __nonzero__(self
): return self
.Ok()
3800 def GetPrivData(*args
, **kwargs
):
3801 """GetPrivData(self) -> PyObject"""
3802 return _windows_
.PrintData_GetPrivData(*args
, **kwargs
)
3804 def SetPrivData(*args
, **kwargs
):
3805 """SetPrivData(self, PyObject data)"""
3806 return _windows_
.PrintData_SetPrivData(*args
, **kwargs
)
3808 PrintData_swigregister
= _windows_
.PrintData_swigregister
3809 PrintData_swigregister(PrintData
)
3810 PrintoutTitleStr
= cvar
.PrintoutTitleStr
3811 PreviewCanvasNameStr
= cvar
.PreviewCanvasNameStr
3813 class PageSetupDialogData(_core
.Object
):
3814 """Proxy of C++ PageSetupDialogData class"""
3815 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3816 __repr__
= _swig_repr
3817 def __init__(self
, *args
):
3819 __init__(self) -> PageSetupDialogData
3820 __init__(self, PageSetupDialogData data) -> PageSetupDialogData
3821 __init__(self, PrintData data) -> PageSetupDialogData
3823 _windows_
.PageSetupDialogData_swiginit(self
,_windows_
.new_PageSetupDialogData(*args
))
3824 __swig_destroy__
= _windows_
.delete_PageSetupDialogData
3825 __del__
= lambda self
: None;
3826 def EnableHelp(*args
, **kwargs
):
3827 """EnableHelp(self, bool flag)"""
3828 return _windows_
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
3830 def EnableMargins(*args
, **kwargs
):
3831 """EnableMargins(self, bool flag)"""
3832 return _windows_
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
3834 def EnableOrientation(*args
, **kwargs
):
3835 """EnableOrientation(self, bool flag)"""
3836 return _windows_
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
3838 def EnablePaper(*args
, **kwargs
):
3839 """EnablePaper(self, bool flag)"""
3840 return _windows_
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
3842 def EnablePrinter(*args
, **kwargs
):
3843 """EnablePrinter(self, bool flag)"""
3844 return _windows_
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
3846 def GetDefaultMinMargins(*args
, **kwargs
):
3847 """GetDefaultMinMargins(self) -> bool"""
3848 return _windows_
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
3850 def GetEnableMargins(*args
, **kwargs
):
3851 """GetEnableMargins(self) -> bool"""
3852 return _windows_
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
3854 def GetEnableOrientation(*args
, **kwargs
):
3855 """GetEnableOrientation(self) -> bool"""
3856 return _windows_
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
3858 def GetEnablePaper(*args
, **kwargs
):
3859 """GetEnablePaper(self) -> bool"""
3860 return _windows_
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
3862 def GetEnablePrinter(*args
, **kwargs
):
3863 """GetEnablePrinter(self) -> bool"""
3864 return _windows_
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
3866 def GetEnableHelp(*args
, **kwargs
):
3867 """GetEnableHelp(self) -> bool"""
3868 return _windows_
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
3870 def GetDefaultInfo(*args
, **kwargs
):
3871 """GetDefaultInfo(self) -> bool"""
3872 return _windows_
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
3874 def GetMarginTopLeft(*args
, **kwargs
):
3875 """GetMarginTopLeft(self) -> Point"""
3876 return _windows_
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
3878 def GetMarginBottomRight(*args
, **kwargs
):
3879 """GetMarginBottomRight(self) -> Point"""
3880 return _windows_
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
3882 def GetMinMarginTopLeft(*args
, **kwargs
):
3883 """GetMinMarginTopLeft(self) -> Point"""
3884 return _windows_
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
3886 def GetMinMarginBottomRight(*args
, **kwargs
):
3887 """GetMinMarginBottomRight(self) -> Point"""
3888 return _windows_
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
3890 def GetPaperId(*args
, **kwargs
):
3891 """GetPaperId(self) -> int"""
3892 return _windows_
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
3894 def GetPaperSize(*args
, **kwargs
):
3895 """GetPaperSize(self) -> Size"""
3896 return _windows_
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
3898 def GetPrintData(*args
, **kwargs
):
3899 """GetPrintData(self) -> PrintData"""
3900 return _windows_
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
3902 def Ok(*args
, **kwargs
):
3903 """Ok(self) -> bool"""
3904 return _windows_
.PageSetupDialogData_Ok(*args
, **kwargs
)
3906 def SetDefaultInfo(*args
, **kwargs
):
3907 """SetDefaultInfo(self, bool flag)"""
3908 return _windows_
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
3910 def SetDefaultMinMargins(*args
, **kwargs
):
3911 """SetDefaultMinMargins(self, bool flag)"""
3912 return _windows_
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
3914 def SetMarginTopLeft(*args
, **kwargs
):
3915 """SetMarginTopLeft(self, Point pt)"""
3916 return _windows_
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
3918 def SetMarginBottomRight(*args
, **kwargs
):
3919 """SetMarginBottomRight(self, Point pt)"""
3920 return _windows_
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
3922 def SetMinMarginTopLeft(*args
, **kwargs
):
3923 """SetMinMarginTopLeft(self, Point pt)"""
3924 return _windows_
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
3926 def SetMinMarginBottomRight(*args
, **kwargs
):
3927 """SetMinMarginBottomRight(self, Point pt)"""
3928 return _windows_
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
3930 def SetPaperId(*args
, **kwargs
):
3931 """SetPaperId(self, int id)"""
3932 return _windows_
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
3934 def SetPaperSize(*args
, **kwargs
):
3935 """SetPaperSize(self, Size size)"""
3936 return _windows_
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
3938 def SetPrintData(*args
, **kwargs
):
3939 """SetPrintData(self, PrintData printData)"""
3940 return _windows_
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
3942 def CalculateIdFromPaperSize(*args
, **kwargs
):
3943 """CalculateIdFromPaperSize(self)"""
3944 return _windows_
.PageSetupDialogData_CalculateIdFromPaperSize(*args
, **kwargs
)
3946 def CalculatePaperSizeFromId(*args
, **kwargs
):
3947 """CalculatePaperSizeFromId(self)"""
3948 return _windows_
.PageSetupDialogData_CalculatePaperSizeFromId(*args
, **kwargs
)
3950 def __nonzero__(self
): return self
.Ok()
3951 PageSetupDialogData_swigregister
= _windows_
.PageSetupDialogData_swigregister
3952 PageSetupDialogData_swigregister(PageSetupDialogData
)
3954 class PageSetupDialog(_core
.Object
):
3955 """Proxy of C++ PageSetupDialog class"""
3956 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3957 __repr__
= _swig_repr
3958 def __init__(self
, *args
, **kwargs
):
3959 """__init__(self, Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
3960 _windows_
.PageSetupDialog_swiginit(self
,_windows_
.new_PageSetupDialog(*args
, **kwargs
))
3961 def GetPageSetupData(*args
, **kwargs
):
3962 """GetPageSetupData(self) -> PageSetupDialogData"""
3963 return _windows_
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
3965 def GetPageSetupDialogData(*args
, **kwargs
):
3966 """GetPageSetupDialogData(self) -> PageSetupDialogData"""
3967 return _windows_
.PageSetupDialog_GetPageSetupDialogData(*args
, **kwargs
)
3969 def ShowModal(*args
, **kwargs
):
3970 """ShowModal(self) -> int"""
3971 return _windows_
.PageSetupDialog_ShowModal(*args
, **kwargs
)
3973 PageSetupDialog_swigregister
= _windows_
.PageSetupDialog_swigregister
3974 PageSetupDialog_swigregister(PageSetupDialog
)
3976 class PrintDialogData(_core
.Object
):
3977 """Proxy of C++ PrintDialogData class"""
3978 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3979 __repr__
= _swig_repr
3980 def __init__(self
, *args
):
3982 __init__(self) -> PrintDialogData
3983 __init__(self, PrintData printData) -> PrintDialogData
3984 __init__(self, PrintDialogData printData) -> PrintDialogData
3986 _windows_
.PrintDialogData_swiginit(self
,_windows_
.new_PrintDialogData(*args
))
3987 __swig_destroy__
= _windows_
.delete_PrintDialogData
3988 __del__
= lambda self
: None;
3989 def GetFromPage(*args
, **kwargs
):
3990 """GetFromPage(self) -> int"""
3991 return _windows_
.PrintDialogData_GetFromPage(*args
, **kwargs
)
3993 def GetToPage(*args
, **kwargs
):
3994 """GetToPage(self) -> int"""
3995 return _windows_
.PrintDialogData_GetToPage(*args
, **kwargs
)
3997 def GetMinPage(*args
, **kwargs
):
3998 """GetMinPage(self) -> int"""
3999 return _windows_
.PrintDialogData_GetMinPage(*args
, **kwargs
)
4001 def GetMaxPage(*args
, **kwargs
):
4002 """GetMaxPage(self) -> int"""
4003 return _windows_
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
4005 def GetNoCopies(*args
, **kwargs
):
4006 """GetNoCopies(self) -> int"""
4007 return _windows_
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
4009 def GetAllPages(*args
, **kwargs
):
4010 """GetAllPages(self) -> bool"""
4011 return _windows_
.PrintDialogData_GetAllPages(*args
, **kwargs
)
4013 def GetSelection(*args
, **kwargs
):
4014 """GetSelection(self) -> bool"""
4015 return _windows_
.PrintDialogData_GetSelection(*args
, **kwargs
)
4017 def GetCollate(*args
, **kwargs
):
4018 """GetCollate(self) -> bool"""
4019 return _windows_
.PrintDialogData_GetCollate(*args
, **kwargs
)
4021 def GetPrintToFile(*args
, **kwargs
):
4022 """GetPrintToFile(self) -> bool"""
4023 return _windows_
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
4025 def SetFromPage(*args
, **kwargs
):
4026 """SetFromPage(self, int v)"""
4027 return _windows_
.PrintDialogData_SetFromPage(*args
, **kwargs
)
4029 def SetToPage(*args
, **kwargs
):
4030 """SetToPage(self, int v)"""
4031 return _windows_
.PrintDialogData_SetToPage(*args
, **kwargs
)
4033 def SetMinPage(*args
, **kwargs
):
4034 """SetMinPage(self, int v)"""
4035 return _windows_
.PrintDialogData_SetMinPage(*args
, **kwargs
)
4037 def SetMaxPage(*args
, **kwargs
):
4038 """SetMaxPage(self, int v)"""
4039 return _windows_
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
4041 def SetNoCopies(*args
, **kwargs
):
4042 """SetNoCopies(self, int v)"""
4043 return _windows_
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
4045 def SetAllPages(*args
, **kwargs
):
4046 """SetAllPages(self, bool flag)"""
4047 return _windows_
.PrintDialogData_SetAllPages(*args
, **kwargs
)
4049 def SetSelection(*args
, **kwargs
):
4050 """SetSelection(self, bool flag)"""
4051 return _windows_
.PrintDialogData_SetSelection(*args
, **kwargs
)
4053 def SetCollate(*args
, **kwargs
):
4054 """SetCollate(self, bool flag)"""
4055 return _windows_
.PrintDialogData_SetCollate(*args
, **kwargs
)
4057 def SetPrintToFile(*args
, **kwargs
):
4058 """SetPrintToFile(self, bool flag)"""
4059 return _windows_
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
4061 def EnablePrintToFile(*args
, **kwargs
):
4062 """EnablePrintToFile(self, bool flag)"""
4063 return _windows_
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
4065 def EnableSelection(*args
, **kwargs
):
4066 """EnableSelection(self, bool flag)"""
4067 return _windows_
.PrintDialogData_EnableSelection(*args
, **kwargs
)
4069 def EnablePageNumbers(*args
, **kwargs
):
4070 """EnablePageNumbers(self, bool flag)"""
4071 return _windows_
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
4073 def EnableHelp(*args
, **kwargs
):
4074 """EnableHelp(self, bool flag)"""
4075 return _windows_
.PrintDialogData_EnableHelp(*args
, **kwargs
)
4077 def GetEnablePrintToFile(*args
, **kwargs
):
4078 """GetEnablePrintToFile(self) -> bool"""
4079 return _windows_
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
4081 def GetEnableSelection(*args
, **kwargs
):
4082 """GetEnableSelection(self) -> bool"""
4083 return _windows_
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
4085 def GetEnablePageNumbers(*args
, **kwargs
):
4086 """GetEnablePageNumbers(self) -> bool"""
4087 return _windows_
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
4089 def GetEnableHelp(*args
, **kwargs
):
4090 """GetEnableHelp(self) -> bool"""
4091 return _windows_
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
4093 def Ok(*args
, **kwargs
):
4094 """Ok(self) -> bool"""
4095 return _windows_
.PrintDialogData_Ok(*args
, **kwargs
)
4097 def GetPrintData(*args
, **kwargs
):
4098 """GetPrintData(self) -> PrintData"""
4099 return _windows_
.PrintDialogData_GetPrintData(*args
, **kwargs
)
4101 def SetPrintData(*args
, **kwargs
):
4102 """SetPrintData(self, PrintData printData)"""
4103 return _windows_
.PrintDialogData_SetPrintData(*args
, **kwargs
)
4105 def __nonzero__(self
): return self
.Ok()
4106 PrintDialogData_swigregister
= _windows_
.PrintDialogData_swigregister
4107 PrintDialogData_swigregister(PrintDialogData
)
4109 class PrintDialog(_core
.Object
):
4110 """Proxy of C++ PrintDialog class"""
4111 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4112 __repr__
= _swig_repr
4113 def __init__(self
, *args
, **kwargs
):
4114 """__init__(self, Window parent, PrintDialogData data=None) -> PrintDialog"""
4115 _windows_
.PrintDialog_swiginit(self
,_windows_
.new_PrintDialog(*args
, **kwargs
))
4116 def ShowModal(*args
, **kwargs
):
4117 """ShowModal(self) -> int"""
4118 return _windows_
.PrintDialog_ShowModal(*args
, **kwargs
)
4120 def GetPrintDialogData(*args
, **kwargs
):
4121 """GetPrintDialogData(self) -> PrintDialogData"""
4122 return _windows_
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
4124 def GetPrintData(*args
, **kwargs
):
4125 """GetPrintData(self) -> PrintData"""
4126 return _windows_
.PrintDialog_GetPrintData(*args
, **kwargs
)
4128 def GetPrintDC(*args
, **kwargs
):
4129 """GetPrintDC(self) -> DC"""
4130 return _windows_
.PrintDialog_GetPrintDC(*args
, **kwargs
)
4132 PrintDialog_swigregister
= _windows_
.PrintDialog_swigregister
4133 PrintDialog_swigregister(PrintDialog
)
4135 PRINTER_NO_ERROR
= _windows_
.PRINTER_NO_ERROR
4136 PRINTER_CANCELLED
= _windows_
.PRINTER_CANCELLED
4137 PRINTER_ERROR
= _windows_
.PRINTER_ERROR
4138 class Printer(_core
.Object
):
4139 """Proxy of C++ Printer class"""
4140 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4141 __repr__
= _swig_repr
4142 def __init__(self
, *args
, **kwargs
):
4143 """__init__(self, PrintDialogData data=None) -> Printer"""
4144 _windows_
.Printer_swiginit(self
,_windows_
.new_Printer(*args
, **kwargs
))
4145 __swig_destroy__
= _windows_
.delete_Printer
4146 __del__
= lambda self
: None;
4147 def CreateAbortWindow(*args
, **kwargs
):
4148 """CreateAbortWindow(self, Window parent, Printout printout) -> Window"""
4149 return _windows_
.Printer_CreateAbortWindow(*args
, **kwargs
)
4151 def ReportError(*args
, **kwargs
):
4152 """ReportError(self, Window parent, Printout printout, String message)"""
4153 return _windows_
.Printer_ReportError(*args
, **kwargs
)
4155 def Setup(*args
, **kwargs
):
4156 """Setup(self, Window parent) -> bool"""
4157 return _windows_
.Printer_Setup(*args
, **kwargs
)
4159 def Print(*args
, **kwargs
):
4160 """Print(self, Window parent, Printout printout, bool prompt=True) -> bool"""
4161 return _windows_
.Printer_Print(*args
, **kwargs
)
4163 def PrintDialog(*args
, **kwargs
):
4164 """PrintDialog(self, Window parent) -> DC"""
4165 return _windows_
.Printer_PrintDialog(*args
, **kwargs
)
4167 def GetPrintDialogData(*args
, **kwargs
):
4168 """GetPrintDialogData(self) -> PrintDialogData"""
4169 return _windows_
.Printer_GetPrintDialogData(*args
, **kwargs
)
4171 def GetAbort(*args
, **kwargs
):
4172 """GetAbort(self) -> bool"""
4173 return _windows_
.Printer_GetAbort(*args
, **kwargs
)
4175 def GetLastError(*args
, **kwargs
):
4176 """GetLastError() -> int"""
4177 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4179 GetLastError
= staticmethod(GetLastError
)
4180 Printer_swigregister
= _windows_
.Printer_swigregister
4181 Printer_swigregister(Printer
)
4183 def Printer_GetLastError(*args
):
4184 """Printer_GetLastError() -> int"""
4185 return _windows_
.Printer_GetLastError(*args
)
4187 class Printout(_core
.Object
):
4188 """Proxy of C++ Printout class"""
4189 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4190 __repr__
= _swig_repr
4191 def __init__(self
, *args
, **kwargs
):
4192 """__init__(self, String title=PrintoutTitleStr) -> Printout"""
4193 _windows_
.Printout_swiginit(self
,_windows_
.new_Printout(*args
, **kwargs
))
4194 self
._setCallbackInfo
(self
, Printout
)
4196 __swig_destroy__
= _windows_
.delete_Printout
4197 __del__
= lambda self
: None;
4198 def _setCallbackInfo(*args
, **kwargs
):
4199 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4200 return _windows_
.Printout__setCallbackInfo(*args
, **kwargs
)
4202 def GetTitle(*args
, **kwargs
):
4203 """GetTitle(self) -> String"""
4204 return _windows_
.Printout_GetTitle(*args
, **kwargs
)
4206 def GetDC(*args
, **kwargs
):
4207 """GetDC(self) -> DC"""
4208 return _windows_
.Printout_GetDC(*args
, **kwargs
)
4210 def SetDC(*args
, **kwargs
):
4211 """SetDC(self, DC dc)"""
4212 return _windows_
.Printout_SetDC(*args
, **kwargs
)
4214 def SetPageSizePixels(*args
, **kwargs
):
4215 """SetPageSizePixels(self, int w, int h)"""
4216 return _windows_
.Printout_SetPageSizePixels(*args
, **kwargs
)
4218 def GetPageSizePixels(*args
, **kwargs
):
4219 """GetPageSizePixels() -> (w, h)"""
4220 return _windows_
.Printout_GetPageSizePixels(*args
, **kwargs
)
4222 def SetPageSizeMM(*args
, **kwargs
):
4223 """SetPageSizeMM(self, int w, int h)"""
4224 return _windows_
.Printout_SetPageSizeMM(*args
, **kwargs
)
4226 def GetPageSizeMM(*args
, **kwargs
):
4227 """GetPageSizeMM() -> (w, h)"""
4228 return _windows_
.Printout_GetPageSizeMM(*args
, **kwargs
)
4230 def SetPPIScreen(*args
, **kwargs
):
4231 """SetPPIScreen(self, int x, int y)"""
4232 return _windows_
.Printout_SetPPIScreen(*args
, **kwargs
)
4234 def GetPPIScreen(*args
, **kwargs
):
4235 """GetPPIScreen() -> (x,y)"""
4236 return _windows_
.Printout_GetPPIScreen(*args
, **kwargs
)
4238 def SetPPIPrinter(*args
, **kwargs
):
4239 """SetPPIPrinter(self, int x, int y)"""
4240 return _windows_
.Printout_SetPPIPrinter(*args
, **kwargs
)
4242 def GetPPIPrinter(*args
, **kwargs
):
4243 """GetPPIPrinter() -> (x,y)"""
4244 return _windows_
.Printout_GetPPIPrinter(*args
, **kwargs
)
4246 def IsPreview(*args
, **kwargs
):
4247 """IsPreview(self) -> bool"""
4248 return _windows_
.Printout_IsPreview(*args
, **kwargs
)
4250 def SetIsPreview(*args
, **kwargs
):
4251 """SetIsPreview(self, bool p)"""
4252 return _windows_
.Printout_SetIsPreview(*args
, **kwargs
)
4254 def OnBeginDocument(*args
, **kwargs
):
4255 """OnBeginDocument(self, int startPage, int endPage) -> bool"""
4256 return _windows_
.Printout_OnBeginDocument(*args
, **kwargs
)
4258 def OnEndDocument(*args
, **kwargs
):
4259 """OnEndDocument(self)"""
4260 return _windows_
.Printout_OnEndDocument(*args
, **kwargs
)
4262 def OnBeginPrinting(*args
, **kwargs
):
4263 """OnBeginPrinting(self)"""
4264 return _windows_
.Printout_OnBeginPrinting(*args
, **kwargs
)
4266 def OnEndPrinting(*args
, **kwargs
):
4267 """OnEndPrinting(self)"""
4268 return _windows_
.Printout_OnEndPrinting(*args
, **kwargs
)
4270 def OnPreparePrinting(*args
, **kwargs
):
4271 """OnPreparePrinting(self)"""
4272 return _windows_
.Printout_OnPreparePrinting(*args
, **kwargs
)
4274 def HasPage(*args
, **kwargs
):
4275 """HasPage(self, int page) -> bool"""
4276 return _windows_
.Printout_HasPage(*args
, **kwargs
)
4278 def GetPageInfo(*args
, **kwargs
):
4279 """GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
4280 return _windows_
.Printout_GetPageInfo(*args
, **kwargs
)
4282 def base_OnBeginDocument(*args
, **kw
):
4283 return Printout
.OnBeginDocument(*args
, **kw
)
4284 base_OnBeginDocument
= wx
._deprecated
(base_OnBeginDocument
,
4285 "Please use Printout.OnBeginDocument instead.")
4287 def base_OnEndDocument(*args
, **kw
):
4288 return Printout
.OnEndDocument(*args
, **kw
)
4289 base_OnEndDocument
= wx
._deprecated
(base_OnEndDocument
,
4290 "Please use Printout.OnEndDocument instead.")
4292 def base_OnBeginPrinting(*args
, **kw
):
4293 return Printout
.OnBeginPrinting(*args
, **kw
)
4294 base_OnBeginPrinting
= wx
._deprecated
(base_OnBeginPrinting
,
4295 "Please use Printout.OnBeginPrinting instead.")
4297 def base_OnEndPrinting(*args
, **kw
):
4298 return Printout
.OnEndPrinting(*args
, **kw
)
4299 base_OnEndPrinting
= wx
._deprecated
(base_OnEndPrinting
,
4300 "Please use Printout.OnEndPrinting instead.")
4302 def base_OnPreparePrinting(*args
, **kw
):
4303 return Printout
.OnPreparePrinting(*args
, **kw
)
4304 base_OnPreparePrinting
= wx
._deprecated
(base_OnPreparePrinting
,
4305 "Please use Printout.OnPreparePrinting instead.")
4307 def base_GetPageInfo(*args
, **kw
):
4308 return Printout
.GetPageInfo(*args
, **kw
)
4309 base_GetPageInfo
= wx
._deprecated
(base_GetPageInfo
,
4310 "Please use Printout.GetPageInfo instead.")
4312 Printout_swigregister
= _windows_
.Printout_swigregister
4313 Printout_swigregister(Printout
)
4315 class PreviewCanvas(ScrolledWindow
):
4316 """Proxy of C++ PreviewCanvas class"""
4317 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4318 __repr__
= _swig_repr
4319 def __init__(self
, *args
, **kwargs
):
4321 __init__(self, PrintPreview preview, Window parent, Point pos=DefaultPosition,
4322 Size size=DefaultSize, long style=0,
4323 String name=PreviewCanvasNameStr) -> PreviewCanvas
4325 _windows_
.PreviewCanvas_swiginit(self
,_windows_
.new_PreviewCanvas(*args
, **kwargs
))
4326 self
._setOORInfo
(self
)
4328 PreviewCanvas_swigregister
= _windows_
.PreviewCanvas_swigregister
4329 PreviewCanvas_swigregister(PreviewCanvas
)
4331 class PreviewFrame(Frame
):
4332 """Proxy of C++ PreviewFrame class"""
4333 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4334 __repr__
= _swig_repr
4335 def __init__(self
, *args
, **kwargs
):
4337 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4338 Size size=DefaultSize,
4339 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
4341 _windows_
.PreviewFrame_swiginit(self
,_windows_
.new_PreviewFrame(*args
, **kwargs
))
4342 self
._setOORInfo
(self
)
4344 def Initialize(*args
, **kwargs
):
4345 """Initialize(self)"""
4346 return _windows_
.PreviewFrame_Initialize(*args
, **kwargs
)
4348 def CreateControlBar(*args
, **kwargs
):
4349 """CreateControlBar(self)"""
4350 return _windows_
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
4352 def CreateCanvas(*args
, **kwargs
):
4353 """CreateCanvas(self)"""
4354 return _windows_
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
4356 def GetControlBar(*args
, **kwargs
):
4357 """GetControlBar(self) -> PreviewControlBar"""
4358 return _windows_
.PreviewFrame_GetControlBar(*args
, **kwargs
)
4360 PreviewFrame_swigregister
= _windows_
.PreviewFrame_swigregister
4361 PreviewFrame_swigregister(PreviewFrame
)
4363 PREVIEW_PRINT
= _windows_
.PREVIEW_PRINT
4364 PREVIEW_PREVIOUS
= _windows_
.PREVIEW_PREVIOUS
4365 PREVIEW_NEXT
= _windows_
.PREVIEW_NEXT
4366 PREVIEW_ZOOM
= _windows_
.PREVIEW_ZOOM
4367 PREVIEW_FIRST
= _windows_
.PREVIEW_FIRST
4368 PREVIEW_LAST
= _windows_
.PREVIEW_LAST
4369 PREVIEW_GOTO
= _windows_
.PREVIEW_GOTO
4370 PREVIEW_DEFAULT
= _windows_
.PREVIEW_DEFAULT
4371 ID_PREVIEW_CLOSE
= _windows_
.ID_PREVIEW_CLOSE
4372 ID_PREVIEW_NEXT
= _windows_
.ID_PREVIEW_NEXT
4373 ID_PREVIEW_PREVIOUS
= _windows_
.ID_PREVIEW_PREVIOUS
4374 ID_PREVIEW_PRINT
= _windows_
.ID_PREVIEW_PRINT
4375 ID_PREVIEW_ZOOM
= _windows_
.ID_PREVIEW_ZOOM
4376 ID_PREVIEW_FIRST
= _windows_
.ID_PREVIEW_FIRST
4377 ID_PREVIEW_LAST
= _windows_
.ID_PREVIEW_LAST
4378 ID_PREVIEW_GOTO
= _windows_
.ID_PREVIEW_GOTO
4379 class PreviewControlBar(Panel
):
4380 """Proxy of C++ PreviewControlBar class"""
4381 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4382 __repr__
= _swig_repr
4383 def __init__(self
, *args
, **kwargs
):
4385 __init__(self, PrintPreview preview, long buttons, Window parent,
4386 Point pos=DefaultPosition, Size size=DefaultSize,
4387 long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
4389 _windows_
.PreviewControlBar_swiginit(self
,_windows_
.new_PreviewControlBar(*args
, **kwargs
))
4390 self
._setOORInfo
(self
)
4392 def GetZoomControl(*args
, **kwargs
):
4393 """GetZoomControl(self) -> int"""
4394 return _windows_
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
4396 def SetZoomControl(*args
, **kwargs
):
4397 """SetZoomControl(self, int zoom)"""
4398 return _windows_
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
4400 def GetPrintPreview(*args
, **kwargs
):
4401 """GetPrintPreview(self) -> PrintPreview"""
4402 return _windows_
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
4404 def OnNext(*args
, **kwargs
):
4406 return _windows_
.PreviewControlBar_OnNext(*args
, **kwargs
)
4408 def OnPrevious(*args
, **kwargs
):
4409 """OnPrevious(self)"""
4410 return _windows_
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
4412 def OnFirst(*args
, **kwargs
):
4414 return _windows_
.PreviewControlBar_OnFirst(*args
, **kwargs
)
4416 def OnLast(*args
, **kwargs
):
4418 return _windows_
.PreviewControlBar_OnLast(*args
, **kwargs
)
4420 def OnGoto(*args
, **kwargs
):
4422 return _windows_
.PreviewControlBar_OnGoto(*args
, **kwargs
)
4424 PreviewControlBar_swigregister
= _windows_
.PreviewControlBar_swigregister
4425 PreviewControlBar_swigregister(PreviewControlBar
)
4427 class PrintPreview(_core
.Object
):
4428 """Proxy of C++ PrintPreview class"""
4429 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4430 __repr__
= _swig_repr
4431 def __init__(self
, *args
):
4433 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview
4434 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview
4436 _windows_
.PrintPreview_swiginit(self
,_windows_
.new_PrintPreview(*args
))
4437 __swig_destroy__
= _windows_
.delete_PrintPreview
4438 __del__
= lambda self
: None;
4439 def SetCurrentPage(*args
, **kwargs
):
4440 """SetCurrentPage(self, int pageNum) -> bool"""
4441 return _windows_
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
4443 def GetCurrentPage(*args
, **kwargs
):
4444 """GetCurrentPage(self) -> int"""
4445 return _windows_
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
4447 def SetPrintout(*args
, **kwargs
):
4448 """SetPrintout(self, Printout printout)"""
4449 return _windows_
.PrintPreview_SetPrintout(*args
, **kwargs
)
4451 def GetPrintout(*args
, **kwargs
):
4452 """GetPrintout(self) -> Printout"""
4453 return _windows_
.PrintPreview_GetPrintout(*args
, **kwargs
)
4455 def GetPrintoutForPrinting(*args
, **kwargs
):
4456 """GetPrintoutForPrinting(self) -> Printout"""
4457 return _windows_
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
4459 def SetFrame(*args
, **kwargs
):
4460 """SetFrame(self, Frame frame)"""
4461 return _windows_
.PrintPreview_SetFrame(*args
, **kwargs
)
4463 def SetCanvas(*args
, **kwargs
):
4464 """SetCanvas(self, PreviewCanvas canvas)"""
4465 return _windows_
.PrintPreview_SetCanvas(*args
, **kwargs
)
4467 def GetFrame(*args
, **kwargs
):
4468 """GetFrame(self) -> Frame"""
4469 return _windows_
.PrintPreview_GetFrame(*args
, **kwargs
)
4471 def GetCanvas(*args
, **kwargs
):
4472 """GetCanvas(self) -> PreviewCanvas"""
4473 return _windows_
.PrintPreview_GetCanvas(*args
, **kwargs
)
4475 def PaintPage(*args
, **kwargs
):
4476 """PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4477 return _windows_
.PrintPreview_PaintPage(*args
, **kwargs
)
4479 def DrawBlankPage(*args
, **kwargs
):
4480 """DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4481 return _windows_
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
4483 def RenderPage(*args
, **kwargs
):
4484 """RenderPage(self, int pageNum) -> bool"""
4485 return _windows_
.PrintPreview_RenderPage(*args
, **kwargs
)
4487 def AdjustScrollbars(*args
, **kwargs
):
4488 """AdjustScrollbars(self, PreviewCanvas canvas)"""
4489 return _windows_
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
4491 def GetPrintDialogData(*args
, **kwargs
):
4492 """GetPrintDialogData(self) -> PrintDialogData"""
4493 return _windows_
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
4495 def SetZoom(*args
, **kwargs
):
4496 """SetZoom(self, int percent)"""
4497 return _windows_
.PrintPreview_SetZoom(*args
, **kwargs
)
4499 def GetZoom(*args
, **kwargs
):
4500 """GetZoom(self) -> int"""
4501 return _windows_
.PrintPreview_GetZoom(*args
, **kwargs
)
4503 def GetMaxPage(*args
, **kwargs
):
4504 """GetMaxPage(self) -> int"""
4505 return _windows_
.PrintPreview_GetMaxPage(*args
, **kwargs
)
4507 def GetMinPage(*args
, **kwargs
):
4508 """GetMinPage(self) -> int"""
4509 return _windows_
.PrintPreview_GetMinPage(*args
, **kwargs
)
4511 def Ok(*args
, **kwargs
):
4512 """Ok(self) -> bool"""
4513 return _windows_
.PrintPreview_Ok(*args
, **kwargs
)
4515 def SetOk(*args
, **kwargs
):
4516 """SetOk(self, bool ok)"""
4517 return _windows_
.PrintPreview_SetOk(*args
, **kwargs
)
4519 def Print(*args
, **kwargs
):
4520 """Print(self, bool interactive) -> bool"""
4521 return _windows_
.PrintPreview_Print(*args
, **kwargs
)
4523 def DetermineScaling(*args
, **kwargs
):
4524 """DetermineScaling(self)"""
4525 return _windows_
.PrintPreview_DetermineScaling(*args
, **kwargs
)
4527 def __nonzero__(self
): return self
.Ok()
4528 PrintPreview_swigregister
= _windows_
.PrintPreview_swigregister
4529 PrintPreview_swigregister(PrintPreview
)
4531 class PyPrintPreview(PrintPreview
):
4532 """Proxy of C++ PyPrintPreview class"""
4533 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4534 __repr__
= _swig_repr
4535 def __init__(self
, *args
):
4537 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview
4538 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview
4540 _windows_
.PyPrintPreview_swiginit(self
,_windows_
.new_PyPrintPreview(*args
))
4541 self
._setCallbackInfo
(self
, PyPrintPreview
)
4543 def _setCallbackInfo(*args
, **kwargs
):
4544 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4545 return _windows_
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
4547 def base_SetCurrentPage(*args
, **kw
):
4548 return PyPrintPreview
.SetCurrentPage(*args
, **kw
)
4549 base_SetCurrentPage
= wx
._deprecated
(base_SetCurrentPage
,
4550 "Please use PyPrintPreview.SetCurrentPage instead.")
4552 def base_PaintPage(*args
, **kw
):
4553 return PyPrintPreview
.PaintPage(*args
, **kw
)
4554 base_PaintPage
= wx
._deprecated
(base_PaintPage
,
4555 "Please use PyPrintPreview.PaintPage instead.")
4557 def base_DrawBlankPage(*args
, **kw
):
4558 return PyPrintPreview
.DrawBlankPage(*args
, **kw
)
4559 base_DrawBlankPage
= wx
._deprecated
(base_DrawBlankPage
,
4560 "Please use PyPrintPreview.DrawBlankPage instead.")
4562 def base_RenderPage(*args
, **kw
):
4563 return PyPrintPreview
.RenderPage(*args
, **kw
)
4564 base_RenderPage
= wx
._deprecated
(base_RenderPage
,
4565 "Please use PyPrintPreview.RenderPage instead.")
4567 def base_SetZoom(*args
, **kw
):
4568 return PyPrintPreview
.SetZoom(*args
, **kw
)
4569 base_SetZoom
= wx
._deprecated
(base_SetZoom
,
4570 "Please use PyPrintPreview.SetZoom instead.")
4572 def base_Print(*args
, **kw
):
4573 return PyPrintPreview
.Print(*args
, **kw
)
4574 base_Print
= wx
._deprecated
(base_Print
,
4575 "Please use PyPrintPreview.Print instead.")
4577 def base_DetermineScaling(*args
, **kw
):
4578 return PyPrintPreview
.DetermineScaling(*args
, **kw
)
4579 base_DetermineScaling
= wx
._deprecated
(base_DetermineScaling
,
4580 "Please use PyPrintPreview.DetermineScaling instead.")
4582 PyPrintPreview_swigregister
= _windows_
.PyPrintPreview_swigregister
4583 PyPrintPreview_swigregister(PyPrintPreview
)
4585 class PyPreviewFrame(PreviewFrame
):
4586 """Proxy of C++ PyPreviewFrame class"""
4587 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4588 __repr__
= _swig_repr
4589 def __init__(self
, *args
, **kwargs
):
4591 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4592 Size size=DefaultSize,
4593 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
4595 _windows_
.PyPreviewFrame_swiginit(self
,_windows_
.new_PyPreviewFrame(*args
, **kwargs
))
4596 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
4598 def _setCallbackInfo(*args
, **kwargs
):
4599 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4600 return _windows_
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
4602 def SetPreviewCanvas(*args
, **kwargs
):
4603 """SetPreviewCanvas(self, PreviewCanvas canvas)"""
4604 return _windows_
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
4606 def SetControlBar(*args
, **kwargs
):
4607 """SetControlBar(self, PreviewControlBar bar)"""
4608 return _windows_
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
4610 def Initialize(*args
, **kwargs
):
4611 """Initialize(self)"""
4612 return _windows_
.PyPreviewFrame_Initialize(*args
, **kwargs
)
4614 def CreateCanvas(*args
, **kwargs
):
4615 """CreateCanvas(self)"""
4616 return _windows_
.PyPreviewFrame_CreateCanvas(*args
, **kwargs
)
4618 def CreateControlBar(*args
, **kwargs
):
4619 """CreateControlBar(self)"""
4620 return _windows_
.PyPreviewFrame_CreateControlBar(*args
, **kwargs
)
4622 def base_Initialize(*args
, **kw
):
4623 return PyPreviewFrame
.Initialize(*args
, **kw
)
4624 base_Initialize
= wx
._deprecated
(base_Initialize
,
4625 "Please use PyPreviewFrame.Initialize instead.")
4627 def base_CreateCanvas(*args
, **kw
):
4628 return PyPreviewFrame
.CreateCanvas(*args
, **kw
)
4629 base_CreateCanvas
= wx
._deprecated
(base_CreateCanvas
,
4630 "Please use PyPreviewFrame.CreateCanvas instead.")
4632 def base_CreateControlBar(*args
, **kw
):
4633 return PyPreviewFrame
.CreateControlBar(*args
, **kw
)
4634 base_CreateControlBar
= wx
._deprecated
(base_CreateControlBar
,
4635 "Please use PyPreviewFrame.CreateControlBar instead.")
4637 PyPreviewFrame_swigregister
= _windows_
.PyPreviewFrame_swigregister
4638 PyPreviewFrame_swigregister(PyPreviewFrame
)
4640 class PyPreviewControlBar(PreviewControlBar
):
4641 """Proxy of C++ PyPreviewControlBar class"""
4642 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4643 __repr__
= _swig_repr
4644 def __init__(self
, *args
, **kwargs
):
4646 __init__(self, PrintPreview preview, long buttons, Window parent,
4647 Point pos=DefaultPosition, Size size=DefaultSize,
4648 long style=0, String name=PanelNameStr) -> PyPreviewControlBar
4650 _windows_
.PyPreviewControlBar_swiginit(self
,_windows_
.new_PyPreviewControlBar(*args
, **kwargs
))
4651 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
4653 def _setCallbackInfo(*args
, **kwargs
):
4654 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4655 return _windows_
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
4657 def SetPrintPreview(*args
, **kwargs
):
4658 """SetPrintPreview(self, PrintPreview preview)"""
4659 return _windows_
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
4661 def CreateButtons(*args
, **kwargs
):
4662 """CreateButtons(self)"""
4663 return _windows_
.PyPreviewControlBar_CreateButtons(*args
, **kwargs
)
4665 def SetZoomControl(*args
, **kwargs
):
4666 """SetZoomControl(self, int zoom)"""
4667 return _windows_
.PyPreviewControlBar_SetZoomControl(*args
, **kwargs
)
4669 def base_CreateButtons(*args
, **kw
):
4670 return PreviewControlBar
.CreateButtons(*args
, **kw
)
4671 base_CreateButtons
= wx
._deprecated
(base_CreateButtons
,
4672 "Please use PreviewControlBar.CreateButtons instead.")
4674 def base_SetZoomControl(*args
, **kw
):
4675 return PreviewControlBar
.SetZoomControl(*args
, **kw
)
4676 base_SetZoomControl
= wx
._deprecated
(base_SetZoomControl
,
4677 "Please use PreviewControlBar.SetZoomControl instead.")
4679 PyPreviewControlBar_swigregister
= _windows_
.PyPreviewControlBar_swigregister
4680 PyPreviewControlBar_swigregister(PyPreviewControlBar
)