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 _windows_
.Panel_swigregister(Panel
)
111 def PrePanel(*args
, **kwargs
):
112 """PrePanel() -> Panel"""
113 val
= _windows_
.new_PrePanel(*args
, **kwargs
)
116 def Panel_GetClassDefaultAttributes(*args
, **kwargs
):
118 Panel_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
120 Get the default attributes for this class. This is useful if you want
121 to use the same font or colour in your own control as in a standard
122 control -- which is a much better idea than hard coding specific
123 colours or fonts which might look completely out of place on the
124 user's system, especially if it uses themes.
126 The variant parameter is only relevant under Mac currently and is
127 ignore under other platforms. Under Mac, it will change the size of
128 the returned font. See `wx.Window.SetWindowVariant` for more about
131 return _windows_
.Panel_GetClassDefaultAttributes(*args
, **kwargs
)
133 #---------------------------------------------------------------------------
135 class ScrolledWindow(Panel
):
136 """Proxy of C++ ScrolledWindow class"""
137 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
138 __repr__
= _swig_repr
139 def __init__(self
, *args
, **kwargs
):
141 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
142 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
143 String name=PanelNameStr) -> ScrolledWindow
145 _windows_
.ScrolledWindow_swiginit(self
,_windows_
.new_ScrolledWindow(*args
, **kwargs
))
146 self
._setOORInfo
(self
)
148 def Create(*args
, **kwargs
):
150 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
151 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
152 String name=PanelNameStr) -> bool
154 Create the GUI part of the Window for 2-phase creation mode.
156 return _windows_
.ScrolledWindow_Create(*args
, **kwargs
)
158 def SetScrollbars(*args
, **kwargs
):
160 SetScrollbars(self, int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX,
161 int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)
163 return _windows_
.ScrolledWindow_SetScrollbars(*args
, **kwargs
)
165 def Scroll(*args
, **kwargs
):
166 """Scroll(self, int x, int y)"""
167 return _windows_
.ScrolledWindow_Scroll(*args
, **kwargs
)
169 def GetScrollPageSize(*args
, **kwargs
):
170 """GetScrollPageSize(self, int orient) -> int"""
171 return _windows_
.ScrolledWindow_GetScrollPageSize(*args
, **kwargs
)
173 def SetScrollPageSize(*args
, **kwargs
):
174 """SetScrollPageSize(self, int orient, int pageSize)"""
175 return _windows_
.ScrolledWindow_SetScrollPageSize(*args
, **kwargs
)
177 def SetScrollRate(*args
, **kwargs
):
178 """SetScrollRate(self, int xstep, int ystep)"""
179 return _windows_
.ScrolledWindow_SetScrollRate(*args
, **kwargs
)
181 def GetScrollPixelsPerUnit(*args
, **kwargs
):
183 GetScrollPixelsPerUnit() -> (xUnit, yUnit)
185 Get the size of one logical unit in physical units.
187 return _windows_
.ScrolledWindow_GetScrollPixelsPerUnit(*args
, **kwargs
)
189 def EnableScrolling(*args
, **kwargs
):
190 """EnableScrolling(self, bool x_scrolling, bool y_scrolling)"""
191 return _windows_
.ScrolledWindow_EnableScrolling(*args
, **kwargs
)
193 def GetViewStart(*args
, **kwargs
):
195 GetViewStart() -> (x,y)
199 return _windows_
.ScrolledWindow_GetViewStart(*args
, **kwargs
)
201 def SetScale(*args
, **kwargs
):
202 """SetScale(self, double xs, double ys)"""
203 return _windows_
.ScrolledWindow_SetScale(*args
, **kwargs
)
205 def GetScaleX(*args
, **kwargs
):
206 """GetScaleX(self) -> double"""
207 return _windows_
.ScrolledWindow_GetScaleX(*args
, **kwargs
)
209 def GetScaleY(*args
, **kwargs
):
210 """GetScaleY(self) -> double"""
211 return _windows_
.ScrolledWindow_GetScaleY(*args
, **kwargs
)
213 def CalcScrolledPosition(*args
):
215 CalcScrolledPosition(self, Point pt) -> Point
216 CalcScrolledPosition(int x, int y) -> (sx, sy)
218 Translate between scrolled and unscrolled coordinates.
220 return _windows_
.ScrolledWindow_CalcScrolledPosition(*args
)
222 def CalcUnscrolledPosition(*args
):
224 CalcUnscrolledPosition(self, Point pt) -> Point
225 CalcUnscrolledPosition(int x, int y) -> (ux, uy)
227 Translate between scrolled and unscrolled coordinates.
229 return _windows_
.ScrolledWindow_CalcUnscrolledPosition(*args
)
231 def AdjustScrollbars(*args
, **kwargs
):
232 """AdjustScrollbars(self)"""
233 return _windows_
.ScrolledWindow_AdjustScrollbars(*args
, **kwargs
)
235 def CalcScrollInc(*args
, **kwargs
):
236 """CalcScrollInc(self, ScrollWinEvent event) -> int"""
237 return _windows_
.ScrolledWindow_CalcScrollInc(*args
, **kwargs
)
239 def SetTargetWindow(*args
, **kwargs
):
240 """SetTargetWindow(self, Window target)"""
241 return _windows_
.ScrolledWindow_SetTargetWindow(*args
, **kwargs
)
243 def GetTargetWindow(*args
, **kwargs
):
244 """GetTargetWindow(self) -> Window"""
245 return _windows_
.ScrolledWindow_GetTargetWindow(*args
, **kwargs
)
247 def SetTargetRect(*args
, **kwargs
):
248 """SetTargetRect(self, Rect rect)"""
249 return _windows_
.ScrolledWindow_SetTargetRect(*args
, **kwargs
)
251 def GetTargetRect(*args
, **kwargs
):
252 """GetTargetRect(self) -> Rect"""
253 return _windows_
.ScrolledWindow_GetTargetRect(*args
, **kwargs
)
255 def DoPrepareDC(*args
, **kwargs
):
257 DoPrepareDC(self, DC dc)
259 Normally what is called by `PrepareDC`.
261 return _windows_
.ScrolledWindow_DoPrepareDC(*args
, **kwargs
)
263 def GetClassDefaultAttributes(*args
, **kwargs
):
265 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
267 Get the default attributes for this class. This is useful if you want
268 to use the same font or colour in your own control as in a standard
269 control -- which is a much better idea than hard coding specific
270 colours or fonts which might look completely out of place on the
271 user's system, especially if it uses themes.
273 The variant parameter is only relevant under Mac currently and is
274 ignore under other platforms. Under Mac, it will change the size of
275 the returned font. See `wx.Window.SetWindowVariant` for more about
278 return _windows_
.ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
)
280 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
281 _windows_
.ScrolledWindow_swigregister(ScrolledWindow
)
283 def PreScrolledWindow(*args
, **kwargs
):
284 """PreScrolledWindow() -> ScrolledWindow"""
285 val
= _windows_
.new_PreScrolledWindow(*args
, **kwargs
)
288 def ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
):
290 ScrolledWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
292 Get the default attributes for this class. This is useful if you want
293 to use the same font or colour in your own control as in a standard
294 control -- which is a much better idea than hard coding specific
295 colours or fonts which might look completely out of place on the
296 user's system, especially if it uses themes.
298 The variant parameter is only relevant under Mac currently and is
299 ignore under other platforms. Under Mac, it will change the size of
300 the returned font. See `wx.Window.SetWindowVariant` for more about
303 return _windows_
.ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
)
305 #---------------------------------------------------------------------------
307 STAY_ON_TOP
= _windows_
.STAY_ON_TOP
308 ICONIZE
= _windows_
.ICONIZE
309 MINIMIZE
= _windows_
.MINIMIZE
310 MAXIMIZE
= _windows_
.MAXIMIZE
311 CLOSE_BOX
= _windows_
.CLOSE_BOX
312 THICK_FRAME
= _windows_
.THICK_FRAME
313 SYSTEM_MENU
= _windows_
.SYSTEM_MENU
314 MINIMIZE_BOX
= _windows_
.MINIMIZE_BOX
315 MAXIMIZE_BOX
= _windows_
.MAXIMIZE_BOX
316 TINY_CAPTION_HORIZ
= _windows_
.TINY_CAPTION_HORIZ
317 TINY_CAPTION_VERT
= _windows_
.TINY_CAPTION_VERT
318 RESIZE_BOX
= _windows_
.RESIZE_BOX
319 RESIZE_BORDER
= _windows_
.RESIZE_BORDER
320 DIALOG_NO_PARENT
= _windows_
.DIALOG_NO_PARENT
321 DEFAULT_FRAME_STYLE
= _windows_
.DEFAULT_FRAME_STYLE
322 DEFAULT_DIALOG_STYLE
= _windows_
.DEFAULT_DIALOG_STYLE
323 FRAME_TOOL_WINDOW
= _windows_
.FRAME_TOOL_WINDOW
324 FRAME_FLOAT_ON_PARENT
= _windows_
.FRAME_FLOAT_ON_PARENT
325 FRAME_NO_WINDOW_MENU
= _windows_
.FRAME_NO_WINDOW_MENU
326 FRAME_NO_TASKBAR
= _windows_
.FRAME_NO_TASKBAR
327 FRAME_SHAPED
= _windows_
.FRAME_SHAPED
328 FRAME_DRAWER
= _windows_
.FRAME_DRAWER
329 FRAME_EX_METAL
= _windows_
.FRAME_EX_METAL
330 DIALOG_EX_METAL
= _windows_
.DIALOG_EX_METAL
331 DIALOG_MODAL
= _windows_
.DIALOG_MODAL
332 DIALOG_MODELESS
= _windows_
.DIALOG_MODELESS
333 USER_COLOURS
= _windows_
.USER_COLOURS
334 NO_3D
= _windows_
.NO_3D
335 FULLSCREEN_NOMENUBAR
= _windows_
.FULLSCREEN_NOMENUBAR
336 FULLSCREEN_NOTOOLBAR
= _windows_
.FULLSCREEN_NOTOOLBAR
337 FULLSCREEN_NOSTATUSBAR
= _windows_
.FULLSCREEN_NOSTATUSBAR
338 FULLSCREEN_NOBORDER
= _windows_
.FULLSCREEN_NOBORDER
339 FULLSCREEN_NOCAPTION
= _windows_
.FULLSCREEN_NOCAPTION
340 FULLSCREEN_ALL
= _windows_
.FULLSCREEN_ALL
341 TOPLEVEL_EX_DIALOG
= _windows_
.TOPLEVEL_EX_DIALOG
342 USER_ATTENTION_INFO
= _windows_
.USER_ATTENTION_INFO
343 USER_ATTENTION_ERROR
= _windows_
.USER_ATTENTION_ERROR
344 class TopLevelWindow(_core
.Window
):
345 """Proxy of C++ TopLevelWindow class"""
346 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
347 def __init__(self
): raise AttributeError, "No constructor defined"
348 __repr__
= _swig_repr
349 def Maximize(*args
, **kwargs
):
350 """Maximize(self, bool maximize=True)"""
351 return _windows_
.TopLevelWindow_Maximize(*args
, **kwargs
)
353 def Restore(*args
, **kwargs
):
355 return _windows_
.TopLevelWindow_Restore(*args
, **kwargs
)
357 def Iconize(*args
, **kwargs
):
358 """Iconize(self, bool iconize=True)"""
359 return _windows_
.TopLevelWindow_Iconize(*args
, **kwargs
)
361 def IsMaximized(*args
, **kwargs
):
362 """IsMaximized(self) -> bool"""
363 return _windows_
.TopLevelWindow_IsMaximized(*args
, **kwargs
)
365 def IsAlwaysMaximized(*args
, **kwargs
):
366 """IsAlwaysMaximized(self) -> bool"""
367 return _windows_
.TopLevelWindow_IsAlwaysMaximized(*args
, **kwargs
)
369 def IsIconized(*args
, **kwargs
):
370 """IsIconized(self) -> bool"""
371 return _windows_
.TopLevelWindow_IsIconized(*args
, **kwargs
)
373 def GetIcon(*args
, **kwargs
):
374 """GetIcon(self) -> Icon"""
375 return _windows_
.TopLevelWindow_GetIcon(*args
, **kwargs
)
377 def SetIcon(*args
, **kwargs
):
378 """SetIcon(self, Icon icon)"""
379 return _windows_
.TopLevelWindow_SetIcon(*args
, **kwargs
)
381 def SetIcons(*args
, **kwargs
):
382 """SetIcons(self, wxIconBundle icons)"""
383 return _windows_
.TopLevelWindow_SetIcons(*args
, **kwargs
)
385 def ShowFullScreen(*args
, **kwargs
):
386 """ShowFullScreen(self, bool show, long style=FULLSCREEN_ALL) -> bool"""
387 return _windows_
.TopLevelWindow_ShowFullScreen(*args
, **kwargs
)
389 def IsFullScreen(*args
, **kwargs
):
390 """IsFullScreen(self) -> bool"""
391 return _windows_
.TopLevelWindow_IsFullScreen(*args
, **kwargs
)
393 def SetTitle(*args
, **kwargs
):
394 """SetTitle(self, String title)"""
395 return _windows_
.TopLevelWindow_SetTitle(*args
, **kwargs
)
397 def GetTitle(*args
, **kwargs
):
398 """GetTitle(self) -> String"""
399 return _windows_
.TopLevelWindow_GetTitle(*args
, **kwargs
)
401 def SetShape(*args
, **kwargs
):
402 """SetShape(self, Region region) -> bool"""
403 return _windows_
.TopLevelWindow_SetShape(*args
, **kwargs
)
405 def RequestUserAttention(*args
, **kwargs
):
406 """RequestUserAttention(self, int flags=USER_ATTENTION_INFO)"""
407 return _windows_
.TopLevelWindow_RequestUserAttention(*args
, **kwargs
)
409 def IsActive(*args
, **kwargs
):
410 """IsActive(self) -> bool"""
411 return _windows_
.TopLevelWindow_IsActive(*args
, **kwargs
)
413 def MacSetMetalAppearance(*args
, **kwargs
):
414 """MacSetMetalAppearance(self, bool on)"""
415 return _windows_
.TopLevelWindow_MacSetMetalAppearance(*args
, **kwargs
)
417 def MacGetMetalAppearance(*args
, **kwargs
):
418 """MacGetMetalAppearance(self) -> bool"""
419 return _windows_
.TopLevelWindow_MacGetMetalAppearance(*args
, **kwargs
)
421 def CenterOnScreen(*args
, **kwargs
):
423 CenterOnScreen(self, int dir=BOTH)
425 Center the window on screen
427 return _windows_
.TopLevelWindow_CenterOnScreen(*args
, **kwargs
)
429 CentreOnScreen
= CenterOnScreen
430 def EnableCloseButton(*args
, **kwargs
):
431 """EnableCloseButton(self, bool enable=True) -> bool"""
432 return _windows_
.TopLevelWindow_EnableCloseButton(*args
, **kwargs
)
434 def SetTransparent(*args
, **kwargs
):
435 """SetTransparent(self, byte alpha) -> bool"""
436 return _windows_
.TopLevelWindow_SetTransparent(*args
, **kwargs
)
438 def CanSetTransparent(*args
, **kwargs
):
439 """CanSetTransparent(self) -> bool"""
440 return _windows_
.TopLevelWindow_CanSetTransparent(*args
, **kwargs
)
442 def GetDefaultItem(*args
, **kwargs
):
444 GetDefaultItem(self) -> Window
446 Get the default child of this parent, i.e. the one which is activated
447 by pressing <Enter> such as the OK button on a wx.Dialog.
449 return _windows_
.TopLevelWindow_GetDefaultItem(*args
, **kwargs
)
451 def SetDefaultItem(*args
, **kwargs
):
453 SetDefaultItem(self, Window child) -> Window
455 Set this child as default, return the old default.
457 return _windows_
.TopLevelWindow_SetDefaultItem(*args
, **kwargs
)
459 def SetTmpDefaultItem(*args
, **kwargs
):
461 SetTmpDefaultItem(self, Window win)
463 Set this child as temporary default
465 return _windows_
.TopLevelWindow_SetTmpDefaultItem(*args
, **kwargs
)
467 def GetTmpDefaultItem(*args
, **kwargs
):
469 GetTmpDefaultItem(self) -> Window
471 Return the temporary default item, which can be None.
473 return _windows_
.TopLevelWindow_GetTmpDefaultItem(*args
, **kwargs
)
475 _windows_
.TopLevelWindow_swigregister(TopLevelWindow
)
476 cvar
= _windows_
.cvar
477 FrameNameStr
= cvar
.FrameNameStr
478 DialogNameStr
= cvar
.DialogNameStr
479 StatusLineNameStr
= cvar
.StatusLineNameStr
480 ToolBarNameStr
= cvar
.ToolBarNameStr
482 #---------------------------------------------------------------------------
484 class Frame(TopLevelWindow
):
485 """Proxy of C++ Frame class"""
486 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
487 __repr__
= _swig_repr
488 def __init__(self
, *args
, **kwargs
):
490 __init__(self, Window parent, int id=-1, String title=EmptyString,
491 Point pos=DefaultPosition, Size size=DefaultSize,
492 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> Frame
494 _windows_
.Frame_swiginit(self
,_windows_
.new_Frame(*args
, **kwargs
))
495 self
._setOORInfo
(self
)
497 def Create(*args
, **kwargs
):
499 Create(self, Window parent, int id=-1, String title=EmptyString,
500 Point pos=DefaultPosition, Size size=DefaultSize,
501 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
503 return _windows_
.Frame_Create(*args
, **kwargs
)
505 def SendSizeEvent(*args
, **kwargs
):
506 """SendSizeEvent(self)"""
507 return _windows_
.Frame_SendSizeEvent(*args
, **kwargs
)
509 def SetMenuBar(*args
, **kwargs
):
510 """SetMenuBar(self, MenuBar menubar)"""
511 return _windows_
.Frame_SetMenuBar(*args
, **kwargs
)
513 def GetMenuBar(*args
, **kwargs
):
514 """GetMenuBar(self) -> MenuBar"""
515 return _windows_
.Frame_GetMenuBar(*args
, **kwargs
)
517 def ProcessCommand(*args
, **kwargs
):
518 """ProcessCommand(self, int winid) -> bool"""
519 return _windows_
.Frame_ProcessCommand(*args
, **kwargs
)
521 Command
= ProcessCommand
522 def CreateStatusBar(*args
, **kwargs
):
524 CreateStatusBar(self, int number=1, long style=DEFAULT_STATUSBAR_STYLE, int winid=0,
525 String name=StatusLineNameStr) -> StatusBar
527 return _windows_
.Frame_CreateStatusBar(*args
, **kwargs
)
529 def GetStatusBar(*args
, **kwargs
):
530 """GetStatusBar(self) -> StatusBar"""
531 return _windows_
.Frame_GetStatusBar(*args
, **kwargs
)
533 def SetStatusBar(*args
, **kwargs
):
534 """SetStatusBar(self, StatusBar statBar)"""
535 return _windows_
.Frame_SetStatusBar(*args
, **kwargs
)
537 def SetStatusText(*args
, **kwargs
):
538 """SetStatusText(self, String text, int number=0)"""
539 return _windows_
.Frame_SetStatusText(*args
, **kwargs
)
541 def SetStatusWidths(*args
, **kwargs
):
542 """SetStatusWidths(self, int widths)"""
543 return _windows_
.Frame_SetStatusWidths(*args
, **kwargs
)
545 def PushStatusText(*args
, **kwargs
):
546 """PushStatusText(self, String text, int number=0)"""
547 return _windows_
.Frame_PushStatusText(*args
, **kwargs
)
549 def PopStatusText(*args
, **kwargs
):
550 """PopStatusText(self, int number=0)"""
551 return _windows_
.Frame_PopStatusText(*args
, **kwargs
)
553 def SetStatusBarPane(*args
, **kwargs
):
554 """SetStatusBarPane(self, int n)"""
555 return _windows_
.Frame_SetStatusBarPane(*args
, **kwargs
)
557 def GetStatusBarPane(*args
, **kwargs
):
558 """GetStatusBarPane(self) -> int"""
559 return _windows_
.Frame_GetStatusBarPane(*args
, **kwargs
)
561 def CreateToolBar(*args
, **kwargs
):
562 """CreateToolBar(self, long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar"""
563 return _windows_
.Frame_CreateToolBar(*args
, **kwargs
)
565 def GetToolBar(*args
, **kwargs
):
566 """GetToolBar(self) -> wxToolBar"""
567 return _windows_
.Frame_GetToolBar(*args
, **kwargs
)
569 def SetToolBar(*args
, **kwargs
):
570 """SetToolBar(self, wxToolBar toolbar)"""
571 return _windows_
.Frame_SetToolBar(*args
, **kwargs
)
573 def DoGiveHelp(*args
, **kwargs
):
574 """DoGiveHelp(self, String text, bool show)"""
575 return _windows_
.Frame_DoGiveHelp(*args
, **kwargs
)
577 def DoMenuUpdates(*args
, **kwargs
):
578 """DoMenuUpdates(self, Menu menu=None)"""
579 return _windows_
.Frame_DoMenuUpdates(*args
, **kwargs
)
581 def GetClassDefaultAttributes(*args
, **kwargs
):
583 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
585 Get the default attributes for this class. This is useful if you want
586 to use the same font or colour in your own control as in a standard
587 control -- which is a much better idea than hard coding specific
588 colours or fonts which might look completely out of place on the
589 user's system, especially if it uses themes.
591 The variant parameter is only relevant under Mac currently and is
592 ignore under other platforms. Under Mac, it will change the size of
593 the returned font. See `wx.Window.SetWindowVariant` for more about
596 return _windows_
.Frame_GetClassDefaultAttributes(*args
, **kwargs
)
598 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
599 _windows_
.Frame_swigregister(Frame
)
601 def PreFrame(*args
, **kwargs
):
602 """PreFrame() -> Frame"""
603 val
= _windows_
.new_PreFrame(*args
, **kwargs
)
606 def Frame_GetClassDefaultAttributes(*args
, **kwargs
):
608 Frame_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
610 Get the default attributes for this class. This is useful if you want
611 to use the same font or colour in your own control as in a standard
612 control -- which is a much better idea than hard coding specific
613 colours or fonts which might look completely out of place on the
614 user's system, especially if it uses themes.
616 The variant parameter is only relevant under Mac currently and is
617 ignore under other platforms. Under Mac, it will change the size of
618 the returned font. See `wx.Window.SetWindowVariant` for more about
621 return _windows_
.Frame_GetClassDefaultAttributes(*args
, **kwargs
)
623 #---------------------------------------------------------------------------
625 class Dialog(TopLevelWindow
):
626 """Proxy of C++ Dialog class"""
627 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
628 __repr__
= _swig_repr
629 ButtonSizerFlags
= _windows_
.Dialog_ButtonSizerFlags
630 def __init__(self
, *args
, **kwargs
):
632 __init__(self, Window parent, int id=-1, String title=EmptyString,
633 Point pos=DefaultPosition, Size size=DefaultSize,
634 long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> Dialog
636 _windows_
.Dialog_swiginit(self
,_windows_
.new_Dialog(*args
, **kwargs
))
637 self
._setOORInfo
(self
)
639 def Create(*args
, **kwargs
):
641 Create(self, Window parent, int id=-1, String title=EmptyString,
642 Point pos=DefaultPosition, Size size=DefaultSize,
643 long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> bool
645 return _windows_
.Dialog_Create(*args
, **kwargs
)
647 def SetReturnCode(*args
, **kwargs
):
648 """SetReturnCode(self, int returnCode)"""
649 return _windows_
.Dialog_SetReturnCode(*args
, **kwargs
)
651 def GetReturnCode(*args
, **kwargs
):
652 """GetReturnCode(self) -> int"""
653 return _windows_
.Dialog_GetReturnCode(*args
, **kwargs
)
655 def SetAffirmativeId(*args
, **kwargs
):
656 """SetAffirmativeId(self, int affirmativeId)"""
657 return _windows_
.Dialog_SetAffirmativeId(*args
, **kwargs
)
659 def GetAffirmativeId(*args
, **kwargs
):
660 """GetAffirmativeId(self) -> int"""
661 return _windows_
.Dialog_GetAffirmativeId(*args
, **kwargs
)
663 def SetEscapeId(*args
, **kwargs
):
664 """SetEscapeId(self, int escapeId)"""
665 return _windows_
.Dialog_SetEscapeId(*args
, **kwargs
)
667 def GetEscapeId(*args
, **kwargs
):
668 """GetEscapeId(self) -> int"""
669 return _windows_
.Dialog_GetEscapeId(*args
, **kwargs
)
671 def CreateTextSizer(*args
, **kwargs
):
672 """CreateTextSizer(self, String message) -> Sizer"""
673 return _windows_
.Dialog_CreateTextSizer(*args
, **kwargs
)
675 def CreateButtonSizer(*args
, **kwargs
):
676 """CreateButtonSizer(self, long flags, bool separated=False, int distance=0) -> Sizer"""
677 return _windows_
.Dialog_CreateButtonSizer(*args
, **kwargs
)
679 def CreateStdDialogButtonSizer(*args
, **kwargs
):
680 """CreateStdDialogButtonSizer(self, long flags) -> StdDialogButtonSizer"""
681 return _windows_
.Dialog_CreateStdDialogButtonSizer(*args
, **kwargs
)
683 def IsModal(*args
, **kwargs
):
684 """IsModal(self) -> bool"""
685 return _windows_
.Dialog_IsModal(*args
, **kwargs
)
687 def ShowModal(*args
, **kwargs
):
688 """ShowModal(self) -> int"""
689 return _windows_
.Dialog_ShowModal(*args
, **kwargs
)
691 def EndModal(*args
, **kwargs
):
692 """EndModal(self, int retCode)"""
693 return _windows_
.Dialog_EndModal(*args
, **kwargs
)
695 def GetClassDefaultAttributes(*args
, **kwargs
):
697 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
699 Get the default attributes for this class. This is useful if you want
700 to use the same font or colour in your own control as in a standard
701 control -- which is a much better idea than hard coding specific
702 colours or fonts which might look completely out of place on the
703 user's system, especially if it uses themes.
705 The variant parameter is only relevant under Mac currently and is
706 ignore under other platforms. Under Mac, it will change the size of
707 the returned font. See `wx.Window.SetWindowVariant` for more about
710 return _windows_
.Dialog_GetClassDefaultAttributes(*args
, **kwargs
)
712 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
713 _windows_
.Dialog_swigregister(Dialog
)
715 def PreDialog(*args
, **kwargs
):
716 """PreDialog() -> Dialog"""
717 val
= _windows_
.new_PreDialog(*args
, **kwargs
)
720 def Dialog_GetClassDefaultAttributes(*args
, **kwargs
):
722 Dialog_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
724 Get the default attributes for this class. This is useful if you want
725 to use the same font or colour in your own control as in a standard
726 control -- which is a much better idea than hard coding specific
727 colours or fonts which might look completely out of place on the
728 user's system, especially if it uses themes.
730 The variant parameter is only relevant under Mac currently and is
731 ignore under other platforms. Under Mac, it will change the size of
732 the returned font. See `wx.Window.SetWindowVariant` for more about
735 return _windows_
.Dialog_GetClassDefaultAttributes(*args
, **kwargs
)
737 #---------------------------------------------------------------------------
739 class MiniFrame(Frame
):
740 """Proxy of C++ MiniFrame class"""
741 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
742 __repr__
= _swig_repr
743 def __init__(self
, *args
, **kwargs
):
745 __init__(self, Window parent, int id=-1, String title=EmptyString,
746 Point pos=DefaultPosition, Size size=DefaultSize,
747 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> MiniFrame
749 _windows_
.MiniFrame_swiginit(self
,_windows_
.new_MiniFrame(*args
, **kwargs
))
750 self
._setOORInfo
(self
)
752 def Create(*args
, **kwargs
):
754 Create(self, Window parent, int id=-1, String title=EmptyString,
755 Point pos=DefaultPosition, Size size=DefaultSize,
756 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
758 return _windows_
.MiniFrame_Create(*args
, **kwargs
)
760 _windows_
.MiniFrame_swigregister(MiniFrame
)
762 def PreMiniFrame(*args
, **kwargs
):
763 """PreMiniFrame() -> MiniFrame"""
764 val
= _windows_
.new_PreMiniFrame(*args
, **kwargs
)
767 #---------------------------------------------------------------------------
769 SPLASH_CENTRE_ON_PARENT
= _windows_
.SPLASH_CENTRE_ON_PARENT
770 SPLASH_CENTRE_ON_SCREEN
= _windows_
.SPLASH_CENTRE_ON_SCREEN
771 SPLASH_NO_CENTRE
= _windows_
.SPLASH_NO_CENTRE
772 SPLASH_TIMEOUT
= _windows_
.SPLASH_TIMEOUT
773 SPLASH_NO_TIMEOUT
= _windows_
.SPLASH_NO_TIMEOUT
774 class SplashScreenWindow(_core
.Window
):
775 """Proxy of C++ SplashScreenWindow class"""
776 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
777 __repr__
= _swig_repr
778 def __init__(self
, *args
, **kwargs
):
780 __init__(self, Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
781 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
783 _windows_
.SplashScreenWindow_swiginit(self
,_windows_
.new_SplashScreenWindow(*args
, **kwargs
))
784 self
._setOORInfo
(self
)
786 def SetBitmap(*args
, **kwargs
):
787 """SetBitmap(self, Bitmap bitmap)"""
788 return _windows_
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
790 def GetBitmap(*args
, **kwargs
):
791 """GetBitmap(self) -> Bitmap"""
792 return _windows_
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
794 _windows_
.SplashScreenWindow_swigregister(SplashScreenWindow
)
796 class SplashScreen(Frame
):
797 """Proxy of C++ SplashScreen class"""
798 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
799 __repr__
= _swig_repr
800 def __init__(self
, *args
, **kwargs
):
802 __init__(self, Bitmap bitmap, long splashStyle, int milliseconds,
803 Window parent, int id=-1, Point pos=DefaultPosition,
804 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
806 _windows_
.SplashScreen_swiginit(self
,_windows_
.new_SplashScreen(*args
, **kwargs
))
807 self
._setOORInfo
(self
)
809 def GetSplashStyle(*args
, **kwargs
):
810 """GetSplashStyle(self) -> long"""
811 return _windows_
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
813 def GetSplashWindow(*args
, **kwargs
):
814 """GetSplashWindow(self) -> SplashScreenWindow"""
815 return _windows_
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
817 def GetTimeout(*args
, **kwargs
):
818 """GetTimeout(self) -> int"""
819 return _windows_
.SplashScreen_GetTimeout(*args
, **kwargs
)
821 _windows_
.SplashScreen_swigregister(SplashScreen
)
823 #---------------------------------------------------------------------------
825 SB_NORMAL
= _windows_
.SB_NORMAL
826 SB_FLAT
= _windows_
.SB_FLAT
827 SB_RAISED
= _windows_
.SB_RAISED
828 class StatusBar(_core
.Window
):
829 """Proxy of C++ StatusBar class"""
830 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
831 __repr__
= _swig_repr
832 def __init__(self
, *args
, **kwargs
):
834 __init__(self, Window parent, int id=-1, long style=DEFAULT_STATUSBAR_STYLE,
835 String name=StatusLineNameStr) -> StatusBar
837 _windows_
.StatusBar_swiginit(self
,_windows_
.new_StatusBar(*args
, **kwargs
))
838 self
._setOORInfo
(self
)
840 def Create(*args
, **kwargs
):
841 """Create(self, Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
842 return _windows_
.StatusBar_Create(*args
, **kwargs
)
844 def SetFieldsCount(*args
, **kwargs
):
845 """SetFieldsCount(self, int number=1)"""
846 return _windows_
.StatusBar_SetFieldsCount(*args
, **kwargs
)
848 def GetFieldsCount(*args
, **kwargs
):
849 """GetFieldsCount(self) -> int"""
850 return _windows_
.StatusBar_GetFieldsCount(*args
, **kwargs
)
852 def SetStatusText(*args
, **kwargs
):
853 """SetStatusText(self, String text, int number=0)"""
854 return _windows_
.StatusBar_SetStatusText(*args
, **kwargs
)
856 def GetStatusText(*args
, **kwargs
):
857 """GetStatusText(self, int number=0) -> String"""
858 return _windows_
.StatusBar_GetStatusText(*args
, **kwargs
)
860 def PushStatusText(*args
, **kwargs
):
861 """PushStatusText(self, String text, int number=0)"""
862 return _windows_
.StatusBar_PushStatusText(*args
, **kwargs
)
864 def PopStatusText(*args
, **kwargs
):
865 """PopStatusText(self, int number=0)"""
866 return _windows_
.StatusBar_PopStatusText(*args
, **kwargs
)
868 def SetStatusWidths(*args
, **kwargs
):
869 """SetStatusWidths(self, int widths)"""
870 return _windows_
.StatusBar_SetStatusWidths(*args
, **kwargs
)
872 def SetStatusStyles(*args
, **kwargs
):
873 """SetStatusStyles(self, int styles)"""
874 return _windows_
.StatusBar_SetStatusStyles(*args
, **kwargs
)
876 def GetFieldRect(*args
, **kwargs
):
877 """GetFieldRect(self, int i) -> Rect"""
878 return _windows_
.StatusBar_GetFieldRect(*args
, **kwargs
)
880 def SetMinHeight(*args
, **kwargs
):
881 """SetMinHeight(self, int height)"""
882 return _windows_
.StatusBar_SetMinHeight(*args
, **kwargs
)
884 def GetBorderX(*args
, **kwargs
):
885 """GetBorderX(self) -> int"""
886 return _windows_
.StatusBar_GetBorderX(*args
, **kwargs
)
888 def GetBorderY(*args
, **kwargs
):
889 """GetBorderY(self) -> int"""
890 return _windows_
.StatusBar_GetBorderY(*args
, **kwargs
)
892 def GetClassDefaultAttributes(*args
, **kwargs
):
894 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
896 Get the default attributes for this class. This is useful if you want
897 to use the same font or colour in your own control as in a standard
898 control -- which is a much better idea than hard coding specific
899 colours or fonts which might look completely out of place on the
900 user's system, especially if it uses themes.
902 The variant parameter is only relevant under Mac currently and is
903 ignore under other platforms. Under Mac, it will change the size of
904 the returned font. See `wx.Window.SetWindowVariant` for more about
907 return _windows_
.StatusBar_GetClassDefaultAttributes(*args
, **kwargs
)
909 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
910 _windows_
.StatusBar_swigregister(StatusBar
)
912 def PreStatusBar(*args
, **kwargs
):
913 """PreStatusBar() -> StatusBar"""
914 val
= _windows_
.new_PreStatusBar(*args
, **kwargs
)
917 def StatusBar_GetClassDefaultAttributes(*args
, **kwargs
):
919 StatusBar_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
921 Get the default attributes for this class. This is useful if you want
922 to use the same font or colour in your own control as in a standard
923 control -- which is a much better idea than hard coding specific
924 colours or fonts which might look completely out of place on the
925 user's system, especially if it uses themes.
927 The variant parameter is only relevant under Mac currently and is
928 ignore under other platforms. Under Mac, it will change the size of
929 the returned font. See `wx.Window.SetWindowVariant` for more about
932 return _windows_
.StatusBar_GetClassDefaultAttributes(*args
, **kwargs
)
934 #---------------------------------------------------------------------------
936 SP_NOBORDER
= _windows_
.SP_NOBORDER
937 SP_NOSASH
= _windows_
.SP_NOSASH
938 SP_PERMIT_UNSPLIT
= _windows_
.SP_PERMIT_UNSPLIT
939 SP_LIVE_UPDATE
= _windows_
.SP_LIVE_UPDATE
940 SP_3DSASH
= _windows_
.SP_3DSASH
941 SP_3DBORDER
= _windows_
.SP_3DBORDER
942 SP_NO_XP_THEME
= _windows_
.SP_NO_XP_THEME
943 SP_BORDER
= _windows_
.SP_BORDER
944 SP_3D
= _windows_
.SP_3D
945 SPLIT_HORIZONTAL
= _windows_
.SPLIT_HORIZONTAL
946 SPLIT_VERTICAL
= _windows_
.SPLIT_VERTICAL
947 SPLIT_DRAG_NONE
= _windows_
.SPLIT_DRAG_NONE
948 SPLIT_DRAG_DRAGGING
= _windows_
.SPLIT_DRAG_DRAGGING
949 SPLIT_DRAG_LEFT_DOWN
= _windows_
.SPLIT_DRAG_LEFT_DOWN
950 class SplitterWindow(_core
.Window
):
952 wx.SplitterWindow manages up to two subwindows or panes, with an
953 optional vertical or horizontal split which can be used with the mouse
956 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
957 __repr__
= _swig_repr
958 def __init__(self
, *args
, **kwargs
):
960 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
961 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
963 Constructor. Creates and shows a SplitterWindow.
965 if kwargs
.has_key('point'): kwargs
['pos'] = kwargs
['point'];del kwargs
['point']
966 _windows_
.SplitterWindow_swiginit(self
,_windows_
.new_SplitterWindow(*args
, **kwargs
))
967 self
._setOORInfo
(self
)
969 def Create(*args
, **kwargs
):
971 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
972 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool
974 Create the GUI part of the SplitterWindow for the 2-phase create.
976 return _windows_
.SplitterWindow_Create(*args
, **kwargs
)
978 def GetWindow1(*args
, **kwargs
):
980 GetWindow1(self) -> Window
982 Gets the only or left/top pane.
984 return _windows_
.SplitterWindow_GetWindow1(*args
, **kwargs
)
986 def GetWindow2(*args
, **kwargs
):
988 GetWindow2(self) -> Window
990 Gets the right/bottom pane.
992 return _windows_
.SplitterWindow_GetWindow2(*args
, **kwargs
)
994 def SetSplitMode(*args
, **kwargs
):
996 SetSplitMode(self, int mode)
998 Sets the split mode. The mode can be wx.SPLIT_VERTICAL or
999 wx.SPLIT_HORIZONTAL. This only sets the internal variable; does not
1002 return _windows_
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
1004 def GetSplitMode(*args
, **kwargs
):
1006 GetSplitMode(self) -> int
1010 return _windows_
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
1012 def Initialize(*args
, **kwargs
):
1014 Initialize(self, Window window)
1016 Initializes the splitter window to have one pane. This should be
1017 called if you wish to initially view only a single pane in the
1018 splitter window. The child window is shown if it is currently hidden.
1020 return _windows_
.SplitterWindow_Initialize(*args
, **kwargs
)
1022 def SplitVertically(*args
, **kwargs
):
1024 SplitVertically(self, Window window1, Window window2, int sashPosition=0) -> bool
1026 Initializes the left and right panes of the splitter window. The
1027 child windows are shown if they are currently hidden.
1029 return _windows_
.SplitterWindow_SplitVertically(*args
, **kwargs
)
1031 def SplitHorizontally(*args
, **kwargs
):
1033 SplitHorizontally(self, Window window1, Window window2, int sashPosition=0) -> bool
1035 Initializes the top and bottom panes of the splitter window. The
1036 child windows are shown if they are currently hidden.
1038 return _windows_
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
1040 def Unsplit(*args
, **kwargs
):
1042 Unsplit(self, Window toRemove=None) -> bool
1044 Unsplits the window. Pass the pane to remove, or None to remove the
1045 right or bottom pane. Returns True if successful, False otherwise (the
1046 window was not split).
1048 This function will not actually delete the pane being
1049 removed; it sends EVT_SPLITTER_UNSPLIT which can be handled
1050 for the desired behaviour. By default, the pane being
1051 removed is only hidden.
1053 return _windows_
.SplitterWindow_Unsplit(*args
, **kwargs
)
1055 def ReplaceWindow(*args
, **kwargs
):
1057 ReplaceWindow(self, Window winOld, Window winNew) -> bool
1059 This function replaces one of the windows managed by the
1060 SplitterWindow with another one. It is in general better to use it
1061 instead of calling Unsplit() and then resplitting the window back
1062 because it will provoke much less flicker. It is valid to call this
1063 function whether the splitter has two windows or only one.
1065 Both parameters should be non-None and winOld must specify one of the
1066 windows managed by the splitter. If the parameters are incorrect or
1067 the window couldn't be replaced, False is returned. Otherwise the
1068 function will return True, but please notice that it will not Destroy
1069 the replaced window and you may wish to do it yourself.
1071 return _windows_
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
1073 def UpdateSize(*args
, **kwargs
):
1077 Causes any pending sizing of the sash and child panes to take place
1080 Such resizing normally takes place in idle time, in order to wait for
1081 layout to be completed. However, this can cause unacceptable flicker
1082 as the panes are resized after the window has been shown. To work
1083 around this, you can perform window layout (for example by sending a
1084 size event to the parent window), and then call this function, before
1085 showing the top-level window.
1087 return _windows_
.SplitterWindow_UpdateSize(*args
, **kwargs
)
1089 def IsSplit(*args
, **kwargs
):
1091 IsSplit(self) -> bool
1093 Is the window split?
1095 return _windows_
.SplitterWindow_IsSplit(*args
, **kwargs
)
1097 def SetSashSize(*args
, **kwargs
):
1099 SetSashSize(self, int width)
1103 return _windows_
.SplitterWindow_SetSashSize(*args
, **kwargs
)
1105 def SetBorderSize(*args
, **kwargs
):
1107 SetBorderSize(self, int width)
1109 Sets the border size. Currently a NOP.
1111 return _windows_
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
1113 def GetSashSize(*args
, **kwargs
):
1115 GetSashSize(self) -> int
1119 return _windows_
.SplitterWindow_GetSashSize(*args
, **kwargs
)
1121 def GetBorderSize(*args
, **kwargs
):
1123 GetBorderSize(self) -> int
1125 Gets the border size
1127 return _windows_
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
1129 def SetSashPosition(*args
, **kwargs
):
1131 SetSashPosition(self, int position, bool redraw=True)
1133 Sets the sash position, in pixels. If redraw is Ttrue then the panes
1134 are resized and the sash and border are redrawn.
1136 return _windows_
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
1138 def GetSashPosition(*args
, **kwargs
):
1140 GetSashPosition(self) -> int
1142 Returns the surrent sash position.
1144 return _windows_
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
1146 def SetSashGravity(*args
, **kwargs
):
1148 SetSashGravity(self, double gravity)
1150 Set the sash gravity. Gravity is a floating-point factor between 0.0
1151 and 1.0 which controls position of sash while resizing the
1152 `wx.SplitterWindow`. The gravity specifies how much the left/top
1153 window will grow while resizing.
1155 return _windows_
.SplitterWindow_SetSashGravity(*args
, **kwargs
)
1157 def GetSashGravity(*args
, **kwargs
):
1159 GetSashGravity(self) -> double
1161 Gets the sash gravity.
1163 :see: `SetSashGravity`
1166 return _windows_
.SplitterWindow_GetSashGravity(*args
, **kwargs
)
1168 def SetMinimumPaneSize(*args
, **kwargs
):
1170 SetMinimumPaneSize(self, int min)
1172 Sets the minimum pane size in pixels.
1174 The default minimum pane size is zero, which means that either pane
1175 can be reduced to zero by dragging the sash, thus removing one of the
1176 panes. To prevent this behaviour (and veto out-of-range sash
1177 dragging), set a minimum size, for example 20 pixels. If the
1178 wx.SP_PERMIT_UNSPLIT style is used when a splitter window is created,
1179 the window may be unsplit even if minimum size is non-zero.
1181 return _windows_
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
1183 def GetMinimumPaneSize(*args
, **kwargs
):
1185 GetMinimumPaneSize(self) -> int
1187 Gets the minimum pane size in pixels.
1189 return _windows_
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
1191 def SashHitTest(*args
, **kwargs
):
1193 SashHitTest(self, int x, int y, int tolerance=5) -> bool
1195 Tests for x, y over the sash
1197 return _windows_
.SplitterWindow_SashHitTest(*args
, **kwargs
)
1199 def SizeWindows(*args
, **kwargs
):
1205 return _windows_
.SplitterWindow_SizeWindows(*args
, **kwargs
)
1207 def SetNeedUpdating(*args
, **kwargs
):
1208 """SetNeedUpdating(self, bool needUpdating)"""
1209 return _windows_
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
1211 def GetNeedUpdating(*args
, **kwargs
):
1212 """GetNeedUpdating(self) -> bool"""
1213 return _windows_
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
1215 def GetClassDefaultAttributes(*args
, **kwargs
):
1217 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1219 Get the default attributes for this class. This is useful if you want
1220 to use the same font or colour in your own control as in a standard
1221 control -- which is a much better idea than hard coding specific
1222 colours or fonts which might look completely out of place on the
1223 user's system, especially if it uses themes.
1225 The variant parameter is only relevant under Mac currently and is
1226 ignore under other platforms. Under Mac, it will change the size of
1227 the returned font. See `wx.Window.SetWindowVariant` for more about
1230 return _windows_
.SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1232 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
1233 _windows_
.SplitterWindow_swigregister(SplitterWindow
)
1234 SplitterNameStr
= cvar
.SplitterNameStr
1236 def PreSplitterWindow(*args
, **kwargs
):
1238 PreSplitterWindow() -> SplitterWindow
1240 Precreate a SplitterWindow for 2-phase creation.
1242 val
= _windows_
.new_PreSplitterWindow(*args
, **kwargs
)
1245 def SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
):
1247 SplitterWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1249 Get the default attributes for this class. This is useful if you want
1250 to use the same font or colour in your own control as in a standard
1251 control -- which is a much better idea than hard coding specific
1252 colours or fonts which might look completely out of place on the
1253 user's system, especially if it uses themes.
1255 The variant parameter is only relevant under Mac currently and is
1256 ignore under other platforms. Under Mac, it will change the size of
1257 the returned font. See `wx.Window.SetWindowVariant` for more about
1260 return _windows_
.SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1262 class SplitterEvent(_core
.NotifyEvent
):
1263 """This class represents the events generated by a splitter control."""
1264 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1265 __repr__
= _swig_repr
1266 def __init__(self
, *args
, **kwargs
):
1268 __init__(self, EventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent
1270 This class represents the events generated by a splitter control.
1272 _windows_
.SplitterEvent_swiginit(self
,_windows_
.new_SplitterEvent(*args
, **kwargs
))
1273 def SetSashPosition(*args
, **kwargs
):
1275 SetSashPosition(self, int pos)
1277 This function is only meaningful during EVT_SPLITTER_SASH_POS_CHANGING
1278 and EVT_SPLITTER_SASH_POS_CHANGED events. In the case of _CHANGED
1279 events, sets the the new sash position. In the case of _CHANGING
1280 events, sets the new tracking bar position so visual feedback during
1281 dragging will represent that change that will actually take place. Set
1282 to -1 from the event handler code to prevent repositioning.
1284 return _windows_
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
1286 def GetSashPosition(*args
, **kwargs
):
1288 GetSashPosition(self) -> int
1290 Returns the new sash position while in EVT_SPLITTER_SASH_POS_CHANGING
1291 and EVT_SPLITTER_SASH_POS_CHANGED events.
1293 return _windows_
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
1295 def GetWindowBeingRemoved(*args
, **kwargs
):
1297 GetWindowBeingRemoved(self) -> Window
1299 Returns a pointer to the window being removed when a splitter window
1302 return _windows_
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
1304 def GetX(*args
, **kwargs
):
1308 Returns the x coordinate of the double-click point in a
1309 EVT_SPLITTER_DCLICK event.
1311 return _windows_
.SplitterEvent_GetX(*args
, **kwargs
)
1313 def GetY(*args
, **kwargs
):
1317 Returns the y coordinate of the double-click point in a
1318 EVT_SPLITTER_DCLICK event.
1320 return _windows_
.SplitterEvent_GetY(*args
, **kwargs
)
1322 _windows_
.SplitterEvent_swigregister(SplitterEvent
)
1324 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
1325 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
1326 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows_
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
1327 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows_
.wxEVT_COMMAND_SPLITTER_UNSPLIT
1328 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
1329 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
1330 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
1331 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
1332 EVT_SPLITTER_DCLICK
= EVT_SPLITTER_DOUBLECLICKED
1334 #---------------------------------------------------------------------------
1336 SASH_DRAG_NONE
= _windows_
.SASH_DRAG_NONE
1337 SASH_DRAG_DRAGGING
= _windows_
.SASH_DRAG_DRAGGING
1338 SASH_DRAG_LEFT_DOWN
= _windows_
.SASH_DRAG_LEFT_DOWN
1339 SW_NOBORDER
= _windows_
.SW_NOBORDER
1340 SW_BORDER
= _windows_
.SW_BORDER
1341 SW_3DSASH
= _windows_
.SW_3DSASH
1342 SW_3DBORDER
= _windows_
.SW_3DBORDER
1343 SW_3D
= _windows_
.SW_3D
1344 SASH_TOP
= _windows_
.SASH_TOP
1345 SASH_RIGHT
= _windows_
.SASH_RIGHT
1346 SASH_BOTTOM
= _windows_
.SASH_BOTTOM
1347 SASH_LEFT
= _windows_
.SASH_LEFT
1348 SASH_NONE
= _windows_
.SASH_NONE
1349 class SashWindow(_core
.Window
):
1350 """Proxy of C++ SashWindow class"""
1351 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1352 __repr__
= _swig_repr
1353 def __init__(self
, *args
, **kwargs
):
1355 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1356 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1357 String name=SashNameStr) -> SashWindow
1359 _windows_
.SashWindow_swiginit(self
,_windows_
.new_SashWindow(*args
, **kwargs
))
1360 self
._setOORInfo
(self
)
1362 def Create(*args
, **kwargs
):
1364 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1365 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1366 String name=SashNameStr) -> bool
1368 return _windows_
.SashWindow_Create(*args
, **kwargs
)
1370 def SetSashVisible(*args
, **kwargs
):
1371 """SetSashVisible(self, int edge, bool sash)"""
1372 return _windows_
.SashWindow_SetSashVisible(*args
, **kwargs
)
1374 def GetSashVisible(*args
, **kwargs
):
1375 """GetSashVisible(self, int edge) -> bool"""
1376 return _windows_
.SashWindow_GetSashVisible(*args
, **kwargs
)
1378 def SetSashBorder(*args
, **kwargs
):
1379 """SetSashBorder(self, int edge, bool border)"""
1380 return _windows_
.SashWindow_SetSashBorder(*args
, **kwargs
)
1382 def HasBorder(*args
, **kwargs
):
1383 """HasBorder(self, int edge) -> bool"""
1384 return _windows_
.SashWindow_HasBorder(*args
, **kwargs
)
1386 def GetEdgeMargin(*args
, **kwargs
):
1387 """GetEdgeMargin(self, int edge) -> int"""
1388 return _windows_
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
1390 def SetDefaultBorderSize(*args
, **kwargs
):
1391 """SetDefaultBorderSize(self, int width)"""
1392 return _windows_
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
1394 def GetDefaultBorderSize(*args
, **kwargs
):
1395 """GetDefaultBorderSize(self) -> int"""
1396 return _windows_
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
1398 def SetExtraBorderSize(*args
, **kwargs
):
1399 """SetExtraBorderSize(self, int width)"""
1400 return _windows_
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
1402 def GetExtraBorderSize(*args
, **kwargs
):
1403 """GetExtraBorderSize(self) -> int"""
1404 return _windows_
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
1406 def SetMinimumSizeX(*args
, **kwargs
):
1407 """SetMinimumSizeX(self, int min)"""
1408 return _windows_
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
1410 def SetMinimumSizeY(*args
, **kwargs
):
1411 """SetMinimumSizeY(self, int min)"""
1412 return _windows_
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
1414 def GetMinimumSizeX(*args
, **kwargs
):
1415 """GetMinimumSizeX(self) -> int"""
1416 return _windows_
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
1418 def GetMinimumSizeY(*args
, **kwargs
):
1419 """GetMinimumSizeY(self) -> int"""
1420 return _windows_
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
1422 def SetMaximumSizeX(*args
, **kwargs
):
1423 """SetMaximumSizeX(self, int max)"""
1424 return _windows_
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
1426 def SetMaximumSizeY(*args
, **kwargs
):
1427 """SetMaximumSizeY(self, int max)"""
1428 return _windows_
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
1430 def GetMaximumSizeX(*args
, **kwargs
):
1431 """GetMaximumSizeX(self) -> int"""
1432 return _windows_
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
1434 def GetMaximumSizeY(*args
, **kwargs
):
1435 """GetMaximumSizeY(self) -> int"""
1436 return _windows_
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
1438 def SashHitTest(*args
, **kwargs
):
1439 """SashHitTest(self, int x, int y, int tolerance=2) -> int"""
1440 return _windows_
.SashWindow_SashHitTest(*args
, **kwargs
)
1442 def SizeWindows(*args
, **kwargs
):
1443 """SizeWindows(self)"""
1444 return _windows_
.SashWindow_SizeWindows(*args
, **kwargs
)
1446 _windows_
.SashWindow_swigregister(SashWindow
)
1447 SashNameStr
= cvar
.SashNameStr
1448 SashLayoutNameStr
= cvar
.SashLayoutNameStr
1450 def PreSashWindow(*args
, **kwargs
):
1451 """PreSashWindow() -> SashWindow"""
1452 val
= _windows_
.new_PreSashWindow(*args
, **kwargs
)
1455 SASH_STATUS_OK
= _windows_
.SASH_STATUS_OK
1456 SASH_STATUS_OUT_OF_RANGE
= _windows_
.SASH_STATUS_OUT_OF_RANGE
1457 class SashEvent(_core
.CommandEvent
):
1458 """Proxy of C++ SashEvent class"""
1459 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1460 __repr__
= _swig_repr
1461 def __init__(self
, *args
, **kwargs
):
1462 """__init__(self, int id=0, int edge=SASH_NONE) -> SashEvent"""
1463 _windows_
.SashEvent_swiginit(self
,_windows_
.new_SashEvent(*args
, **kwargs
))
1464 def SetEdge(*args
, **kwargs
):
1465 """SetEdge(self, int edge)"""
1466 return _windows_
.SashEvent_SetEdge(*args
, **kwargs
)
1468 def GetEdge(*args
, **kwargs
):
1469 """GetEdge(self) -> int"""
1470 return _windows_
.SashEvent_GetEdge(*args
, **kwargs
)
1472 def SetDragRect(*args
, **kwargs
):
1473 """SetDragRect(self, Rect rect)"""
1474 return _windows_
.SashEvent_SetDragRect(*args
, **kwargs
)
1476 def GetDragRect(*args
, **kwargs
):
1477 """GetDragRect(self) -> Rect"""
1478 return _windows_
.SashEvent_GetDragRect(*args
, **kwargs
)
1480 def SetDragStatus(*args
, **kwargs
):
1481 """SetDragStatus(self, int status)"""
1482 return _windows_
.SashEvent_SetDragStatus(*args
, **kwargs
)
1484 def GetDragStatus(*args
, **kwargs
):
1485 """GetDragStatus(self) -> int"""
1486 return _windows_
.SashEvent_GetDragStatus(*args
, **kwargs
)
1488 _windows_
.SashEvent_swigregister(SashEvent
)
1490 wxEVT_SASH_DRAGGED
= _windows_
.wxEVT_SASH_DRAGGED
1491 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
1492 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
1494 #---------------------------------------------------------------------------
1496 LAYOUT_HORIZONTAL
= _windows_
.LAYOUT_HORIZONTAL
1497 LAYOUT_VERTICAL
= _windows_
.LAYOUT_VERTICAL
1498 LAYOUT_NONE
= _windows_
.LAYOUT_NONE
1499 LAYOUT_TOP
= _windows_
.LAYOUT_TOP
1500 LAYOUT_LEFT
= _windows_
.LAYOUT_LEFT
1501 LAYOUT_RIGHT
= _windows_
.LAYOUT_RIGHT
1502 LAYOUT_BOTTOM
= _windows_
.LAYOUT_BOTTOM
1503 LAYOUT_LENGTH_Y
= _windows_
.LAYOUT_LENGTH_Y
1504 LAYOUT_LENGTH_X
= _windows_
.LAYOUT_LENGTH_X
1505 LAYOUT_MRU_LENGTH
= _windows_
.LAYOUT_MRU_LENGTH
1506 LAYOUT_QUERY
= _windows_
.LAYOUT_QUERY
1507 wxEVT_QUERY_LAYOUT_INFO
= _windows_
.wxEVT_QUERY_LAYOUT_INFO
1508 wxEVT_CALCULATE_LAYOUT
= _windows_
.wxEVT_CALCULATE_LAYOUT
1509 class QueryLayoutInfoEvent(_core
.Event
):
1510 """Proxy of C++ QueryLayoutInfoEvent class"""
1511 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1512 __repr__
= _swig_repr
1513 def __init__(self
, *args
, **kwargs
):
1514 """__init__(self, int id=0) -> QueryLayoutInfoEvent"""
1515 _windows_
.QueryLayoutInfoEvent_swiginit(self
,_windows_
.new_QueryLayoutInfoEvent(*args
, **kwargs
))
1516 def SetRequestedLength(*args
, **kwargs
):
1517 """SetRequestedLength(self, int length)"""
1518 return _windows_
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1520 def GetRequestedLength(*args
, **kwargs
):
1521 """GetRequestedLength(self) -> int"""
1522 return _windows_
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1524 def SetFlags(*args
, **kwargs
):
1525 """SetFlags(self, int flags)"""
1526 return _windows_
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1528 def GetFlags(*args
, **kwargs
):
1529 """GetFlags(self) -> int"""
1530 return _windows_
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1532 def SetSize(*args
, **kwargs
):
1533 """SetSize(self, Size size)"""
1534 return _windows_
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1536 def GetSize(*args
, **kwargs
):
1537 """GetSize(self) -> Size"""
1538 return _windows_
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1540 def SetOrientation(*args
, **kwargs
):
1541 """SetOrientation(self, int orient)"""
1542 return _windows_
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1544 def GetOrientation(*args
, **kwargs
):
1545 """GetOrientation(self) -> int"""
1546 return _windows_
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1548 def SetAlignment(*args
, **kwargs
):
1549 """SetAlignment(self, int align)"""
1550 return _windows_
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1552 def GetAlignment(*args
, **kwargs
):
1553 """GetAlignment(self) -> int"""
1554 return _windows_
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1556 _windows_
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEvent
)
1558 class CalculateLayoutEvent(_core
.Event
):
1559 """Proxy of C++ CalculateLayoutEvent class"""
1560 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1561 __repr__
= _swig_repr
1562 def __init__(self
, *args
, **kwargs
):
1563 """__init__(self, int id=0) -> CalculateLayoutEvent"""
1564 _windows_
.CalculateLayoutEvent_swiginit(self
,_windows_
.new_CalculateLayoutEvent(*args
, **kwargs
))
1565 def SetFlags(*args
, **kwargs
):
1566 """SetFlags(self, int flags)"""
1567 return _windows_
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1569 def GetFlags(*args
, **kwargs
):
1570 """GetFlags(self) -> int"""
1571 return _windows_
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1573 def SetRect(*args
, **kwargs
):
1574 """SetRect(self, Rect rect)"""
1575 return _windows_
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1577 def GetRect(*args
, **kwargs
):
1578 """GetRect(self) -> Rect"""
1579 return _windows_
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1581 _windows_
.CalculateLayoutEvent_swigregister(CalculateLayoutEvent
)
1583 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1584 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1586 class SashLayoutWindow(SashWindow
):
1587 """Proxy of C++ SashLayoutWindow class"""
1588 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1589 __repr__
= _swig_repr
1590 def __init__(self
, *args
, **kwargs
):
1592 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1593 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1594 String name=SashLayoutNameStr) -> SashLayoutWindow
1596 _windows_
.SashLayoutWindow_swiginit(self
,_windows_
.new_SashLayoutWindow(*args
, **kwargs
))
1597 self
._setOORInfo
(self
)
1599 def Create(*args
, **kwargs
):
1601 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1602 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1603 String name=SashLayoutNameStr) -> bool
1605 return _windows_
.SashLayoutWindow_Create(*args
, **kwargs
)
1607 def GetAlignment(*args
, **kwargs
):
1608 """GetAlignment(self) -> int"""
1609 return _windows_
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1611 def GetOrientation(*args
, **kwargs
):
1612 """GetOrientation(self) -> int"""
1613 return _windows_
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1615 def SetAlignment(*args
, **kwargs
):
1616 """SetAlignment(self, int alignment)"""
1617 return _windows_
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1619 def SetDefaultSize(*args
, **kwargs
):
1620 """SetDefaultSize(self, Size size)"""
1621 return _windows_
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1623 def SetOrientation(*args
, **kwargs
):
1624 """SetOrientation(self, int orientation)"""
1625 return _windows_
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1627 _windows_
.SashLayoutWindow_swigregister(SashLayoutWindow
)
1629 def PreSashLayoutWindow(*args
, **kwargs
):
1630 """PreSashLayoutWindow() -> SashLayoutWindow"""
1631 val
= _windows_
.new_PreSashLayoutWindow(*args
, **kwargs
)
1634 class LayoutAlgorithm(_core
.Object
):
1635 """Proxy of C++ LayoutAlgorithm class"""
1636 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1637 __repr__
= _swig_repr
1638 def __init__(self
, *args
, **kwargs
):
1639 """__init__(self) -> LayoutAlgorithm"""
1640 _windows_
.LayoutAlgorithm_swiginit(self
,_windows_
.new_LayoutAlgorithm(*args
, **kwargs
))
1641 __swig_destroy__
= _windows_
.delete_LayoutAlgorithm
1642 __del__
= lambda self
: None;
1643 def LayoutMDIFrame(*args
, **kwargs
):
1644 """LayoutMDIFrame(self, MDIParentFrame frame, Rect rect=None) -> bool"""
1645 return _windows_
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1647 def LayoutFrame(*args
, **kwargs
):
1648 """LayoutFrame(self, Frame frame, Window mainWindow=None) -> bool"""
1649 return _windows_
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1651 def LayoutWindow(*args
, **kwargs
):
1652 """LayoutWindow(self, Window parent, Window mainWindow=None) -> bool"""
1653 return _windows_
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1655 _windows_
.LayoutAlgorithm_swigregister(LayoutAlgorithm
)
1657 class PopupWindow(_core
.Window
):
1658 """Proxy of C++ PopupWindow class"""
1659 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1660 __repr__
= _swig_repr
1661 def __init__(self
, *args
, **kwargs
):
1662 """__init__(self, Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1663 _windows_
.PopupWindow_swiginit(self
,_windows_
.new_PopupWindow(*args
, **kwargs
))
1664 _windows_
.PopupWindow_swigregister(PopupWindow
)
1666 def PrePopupWindow(*args
, **kwargs
):
1667 """PrePopupWindow() -> PopupWindow"""
1668 val
= _windows_
.new_PrePopupWindow(*args
, **kwargs
)
1671 class PopupTransientWindow(PopupWindow
):
1672 """Proxy of C++ PopupTransientWindow class"""
1673 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1674 __repr__
= _swig_repr
1675 def __init__(self
, *args
, **kwargs
):
1676 """__init__(self, Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1677 _windows_
.PopupTransientWindow_swiginit(self
,_windows_
.new_PopupTransientWindow(*args
, **kwargs
))
1678 _windows_
.PopupTransientWindow_swigregister(PopupTransientWindow
)
1680 def PrePopupTransientWindow(*args
, **kwargs
):
1681 """PrePopupTransientWindow() -> PopupTransientWindow"""
1682 val
= _windows_
.new_PrePopupTransientWindow(*args
, **kwargs
)
1685 #---------------------------------------------------------------------------
1687 class TipWindow(Frame
):
1688 """Proxy of C++ TipWindow class"""
1689 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1690 __repr__
= _swig_repr
1691 def __init__(self
, *args
, **kwargs
):
1692 """__init__(self, Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1693 _windows_
.TipWindow_swiginit(self
,_windows_
.new_TipWindow(*args
, **kwargs
))
1694 self
._setOORInfo
(self
)
1696 def SetBoundingRect(*args
, **kwargs
):
1697 """SetBoundingRect(self, Rect rectBound)"""
1698 return _windows_
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1700 def Close(*args
, **kwargs
):
1704 This function simply generates a EVT_CLOSE event whose handler usually
1705 tries to close the window. It doesn't close the window itself,
1706 however. If force is False (the default) then the window's close
1707 handler will be allowed to veto the destruction of the window.
1709 return _windows_
.TipWindow_Close(*args
, **kwargs
)
1711 _windows_
.TipWindow_swigregister(TipWindow
)
1713 #---------------------------------------------------------------------------
1715 class VScrolledWindow(Panel
):
1716 """Proxy of C++ VScrolledWindow class"""
1717 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1718 __repr__
= _swig_repr
1719 def __init__(self
, *args
, **kwargs
):
1721 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1722 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
1724 _windows_
.VScrolledWindow_swiginit(self
,_windows_
.new_VScrolledWindow(*args
, **kwargs
))
1725 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1727 def _setCallbackInfo(*args
, **kwargs
):
1728 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1729 return _windows_
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1731 def Create(*args
, **kwargs
):
1733 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1734 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
1736 return _windows_
.VScrolledWindow_Create(*args
, **kwargs
)
1738 def SetLineCount(*args
, **kwargs
):
1739 """SetLineCount(self, size_t count)"""
1740 return _windows_
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1742 def ScrollToLine(*args
, **kwargs
):
1743 """ScrollToLine(self, size_t line) -> bool"""
1744 return _windows_
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1746 def RefreshLine(*args
, **kwargs
):
1747 """RefreshLine(self, size_t line)"""
1748 return _windows_
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1750 def RefreshLines(*args
, **kwargs
):
1751 """RefreshLines(self, size_t from, size_t to)"""
1752 return _windows_
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1754 def HitTestXY(*args
, **kwargs
):
1756 HitTestXY(self, int x, int y) -> int
1758 Test where the given (in client coords) point lies
1760 return _windows_
.VScrolledWindow_HitTestXY(*args
, **kwargs
)
1762 def HitTest(*args
, **kwargs
):
1764 HitTest(self, Point pt) -> int
1766 Test where the given (in client coords) point lies
1768 return _windows_
.VScrolledWindow_HitTest(*args
, **kwargs
)
1770 def RefreshAll(*args
, **kwargs
):
1771 """RefreshAll(self)"""
1772 return _windows_
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1774 def GetLineCount(*args
, **kwargs
):
1775 """GetLineCount(self) -> size_t"""
1776 return _windows_
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1778 def GetVisibleBegin(*args
, **kwargs
):
1779 """GetVisibleBegin(self) -> size_t"""
1780 return _windows_
.VScrolledWindow_GetVisibleBegin(*args
, **kwargs
)
1782 def GetVisibleEnd(*args
, **kwargs
):
1783 """GetVisibleEnd(self) -> size_t"""
1784 return _windows_
.VScrolledWindow_GetVisibleEnd(*args
, **kwargs
)
1786 def IsVisible(*args
, **kwargs
):
1787 """IsVisible(self, size_t line) -> bool"""
1788 return _windows_
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1790 def GetFirstVisibleLine(*args
, **kwargs
):
1791 """GetFirstVisibleLine(self) -> size_t"""
1792 return _windows_
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1794 def GetLastVisibleLine(*args
, **kwargs
):
1795 """GetLastVisibleLine(self) -> size_t"""
1796 return _windows_
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1798 def FindFirstFromBottom(*args
, **kwargs
):
1799 """FindFirstFromBottom(self, size_t lineLast, bool fullyVisible=False) -> size_t"""
1800 return _windows_
.VScrolledWindow_FindFirstFromBottom(*args
, **kwargs
)
1802 def GetLinesHeight(*args
, **kwargs
):
1803 """GetLinesHeight(self, size_t lineMin, size_t lineMax) -> int"""
1804 return _windows_
.VScrolledWindow_GetLinesHeight(*args
, **kwargs
)
1806 _windows_
.VScrolledWindow_swigregister(VScrolledWindow
)
1808 def PreVScrolledWindow(*args
, **kwargs
):
1809 """PreVScrolledWindow() -> VScrolledWindow"""
1810 val
= _windows_
.new_PreVScrolledWindow(*args
, **kwargs
)
1813 class VListBox(VScrolledWindow
):
1814 """Proxy of C++ VListBox class"""
1815 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1816 __repr__
= _swig_repr
1817 def __init__(self
, *args
, **kwargs
):
1819 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1820 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
1822 _windows_
.VListBox_swiginit(self
,_windows_
.new_VListBox(*args
, **kwargs
))
1823 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
1825 def _setCallbackInfo(*args
, **kwargs
):
1826 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1827 return _windows_
.VListBox__setCallbackInfo(*args
, **kwargs
)
1829 def Create(*args
, **kwargs
):
1831 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1832 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1834 return _windows_
.VListBox_Create(*args
, **kwargs
)
1836 def GetItemCount(*args
, **kwargs
):
1837 """GetItemCount(self) -> size_t"""
1838 return _windows_
.VListBox_GetItemCount(*args
, **kwargs
)
1840 def HasMultipleSelection(*args
, **kwargs
):
1841 """HasMultipleSelection(self) -> bool"""
1842 return _windows_
.VListBox_HasMultipleSelection(*args
, **kwargs
)
1844 def GetSelection(*args
, **kwargs
):
1845 """GetSelection(self) -> int"""
1846 return _windows_
.VListBox_GetSelection(*args
, **kwargs
)
1848 def IsCurrent(*args
, **kwargs
):
1849 """IsCurrent(self, size_t item) -> bool"""
1850 return _windows_
.VListBox_IsCurrent(*args
, **kwargs
)
1852 def IsSelected(*args
, **kwargs
):
1853 """IsSelected(self, size_t item) -> bool"""
1854 return _windows_
.VListBox_IsSelected(*args
, **kwargs
)
1856 def GetSelectedCount(*args
, **kwargs
):
1857 """GetSelectedCount(self) -> size_t"""
1858 return _windows_
.VListBox_GetSelectedCount(*args
, **kwargs
)
1860 def GetFirstSelected(*args
, **kwargs
):
1861 """GetFirstSelected(self) -> PyObject"""
1862 return _windows_
.VListBox_GetFirstSelected(*args
, **kwargs
)
1864 def GetNextSelected(*args
, **kwargs
):
1865 """GetNextSelected(self, unsigned long cookie) -> PyObject"""
1866 return _windows_
.VListBox_GetNextSelected(*args
, **kwargs
)
1868 def GetMargins(*args
, **kwargs
):
1869 """GetMargins(self) -> Point"""
1870 return _windows_
.VListBox_GetMargins(*args
, **kwargs
)
1872 def GetSelectionBackground(*args
, **kwargs
):
1873 """GetSelectionBackground(self) -> Colour"""
1874 return _windows_
.VListBox_GetSelectionBackground(*args
, **kwargs
)
1876 def SetItemCount(*args
, **kwargs
):
1877 """SetItemCount(self, size_t count)"""
1878 return _windows_
.VListBox_SetItemCount(*args
, **kwargs
)
1880 def Clear(*args
, **kwargs
):
1882 return _windows_
.VListBox_Clear(*args
, **kwargs
)
1884 def SetSelection(*args
, **kwargs
):
1885 """SetSelection(self, int selection)"""
1886 return _windows_
.VListBox_SetSelection(*args
, **kwargs
)
1888 def Select(*args
, **kwargs
):
1889 """Select(self, size_t item, bool select=True) -> bool"""
1890 return _windows_
.VListBox_Select(*args
, **kwargs
)
1892 def SelectRange(*args
, **kwargs
):
1893 """SelectRange(self, size_t from, size_t to) -> bool"""
1894 return _windows_
.VListBox_SelectRange(*args
, **kwargs
)
1896 def Toggle(*args
, **kwargs
):
1897 """Toggle(self, size_t item)"""
1898 return _windows_
.VListBox_Toggle(*args
, **kwargs
)
1900 def SelectAll(*args
, **kwargs
):
1901 """SelectAll(self) -> bool"""
1902 return _windows_
.VListBox_SelectAll(*args
, **kwargs
)
1904 def DeselectAll(*args
, **kwargs
):
1905 """DeselectAll(self) -> bool"""
1906 return _windows_
.VListBox_DeselectAll(*args
, **kwargs
)
1908 def SetMargins(*args
, **kwargs
):
1909 """SetMargins(self, Point pt)"""
1910 return _windows_
.VListBox_SetMargins(*args
, **kwargs
)
1912 def SetMarginsXY(*args
, **kwargs
):
1913 """SetMarginsXY(self, int x, int y)"""
1914 return _windows_
.VListBox_SetMarginsXY(*args
, **kwargs
)
1916 def SetSelectionBackground(*args
, **kwargs
):
1917 """SetSelectionBackground(self, Colour col)"""
1918 return _windows_
.VListBox_SetSelectionBackground(*args
, **kwargs
)
1920 def OnDrawSeparator(*args
, **kwargs
):
1921 """OnDrawSeparator(self, DC dc, Rect rect, size_t n)"""
1922 return _windows_
.VListBox_OnDrawSeparator(*args
, **kwargs
)
1924 def OnDrawBackground(*args
, **kwargs
):
1925 """OnDrawBackground(self, DC dc, Rect rect, size_t n)"""
1926 return _windows_
.VListBox_OnDrawBackground(*args
, **kwargs
)
1928 _windows_
.VListBox_swigregister(VListBox
)
1929 VListBoxNameStr
= cvar
.VListBoxNameStr
1931 def PreVListBox(*args
, **kwargs
):
1932 """PreVListBox() -> VListBox"""
1933 val
= _windows_
.new_PreVListBox(*args
, **kwargs
)
1936 class HtmlListBox(VListBox
):
1937 """Proxy of C++ HtmlListBox class"""
1938 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1939 __repr__
= _swig_repr
1940 def __init__(self
, *args
, **kwargs
):
1942 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1943 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
1945 _windows_
.HtmlListBox_swiginit(self
,_windows_
.new_HtmlListBox(*args
, **kwargs
))
1946 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
1948 def _setCallbackInfo(*args
, **kwargs
):
1949 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1950 return _windows_
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
1952 def Create(*args
, **kwargs
):
1954 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1955 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1957 return _windows_
.HtmlListBox_Create(*args
, **kwargs
)
1959 def SetItemCount(*args
, **kwargs
):
1960 """SetItemCount(self, size_t count)"""
1961 return _windows_
.HtmlListBox_SetItemCount(*args
, **kwargs
)
1963 def GetFileSystem(*args
, **kwargs
):
1964 """GetFileSystem(self) -> FileSystem"""
1965 return _windows_
.HtmlListBox_GetFileSystem(*args
, **kwargs
)
1967 def OnLinkClicked(*args
, **kwargs
):
1968 """OnLinkClicked(self, size_t n, wxHtmlLinkInfo link)"""
1969 return _windows_
.HtmlListBox_OnLinkClicked(*args
, **kwargs
)
1971 _windows_
.HtmlListBox_swigregister(HtmlListBox
)
1973 def PreHtmlListBox(*args
, **kwargs
):
1974 """PreHtmlListBox() -> HtmlListBox"""
1975 val
= _windows_
.new_PreHtmlListBox(*args
, **kwargs
)
1978 #---------------------------------------------------------------------------
1980 class TaskBarIcon(_core
.EvtHandler
):
1981 """Proxy of C++ TaskBarIcon class"""
1982 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1983 __repr__
= _swig_repr
1984 def __init__(self
, *args
, **kwargs
):
1985 """__init__(self) -> TaskBarIcon"""
1986 _windows_
.TaskBarIcon_swiginit(self
,_windows_
.new_TaskBarIcon(*args
, **kwargs
))
1987 self
._setCallbackInfo
(self
, TaskBarIcon
, 0)
1989 __swig_destroy__
= _windows_
.delete_TaskBarIcon
1990 __del__
= lambda self
: None;
1991 def _setCallbackInfo(*args
, **kwargs
):
1992 """_setCallbackInfo(self, PyObject self, PyObject _class, int incref)"""
1993 return _windows_
.TaskBarIcon__setCallbackInfo(*args
, **kwargs
)
1995 def Destroy(*args
, **kwargs
):
1999 Deletes the C++ object this Python object is a proxy for.
2001 val
= _windows_
.TaskBarIcon_Destroy(*args
, **kwargs
)
2005 def IsOk(*args
, **kwargs
):
2006 """IsOk(self) -> bool"""
2007 return _windows_
.TaskBarIcon_IsOk(*args
, **kwargs
)
2009 def __nonzero__(self
): return self
.IsOk()
2010 def IsIconInstalled(*args
, **kwargs
):
2011 """IsIconInstalled(self) -> bool"""
2012 return _windows_
.TaskBarIcon_IsIconInstalled(*args
, **kwargs
)
2014 def SetIcon(*args
, **kwargs
):
2015 """SetIcon(self, Icon icon, String tooltip=EmptyString) -> bool"""
2016 return _windows_
.TaskBarIcon_SetIcon(*args
, **kwargs
)
2018 def RemoveIcon(*args
, **kwargs
):
2019 """RemoveIcon(self) -> bool"""
2020 return _windows_
.TaskBarIcon_RemoveIcon(*args
, **kwargs
)
2022 def PopupMenu(*args
, **kwargs
):
2023 """PopupMenu(self, Menu menu) -> bool"""
2024 return _windows_
.TaskBarIcon_PopupMenu(*args
, **kwargs
)
2026 _windows_
.TaskBarIcon_swigregister(TaskBarIcon
)
2028 class TaskBarIconEvent(_core
.Event
):
2029 """Proxy of C++ TaskBarIconEvent class"""
2030 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2031 __repr__
= _swig_repr
2032 def __init__(self
, *args
, **kwargs
):
2033 """__init__(self, EventType evtType, wxTaskBarIcon tbIcon) -> TaskBarIconEvent"""
2034 _windows_
.TaskBarIconEvent_swiginit(self
,_windows_
.new_TaskBarIconEvent(*args
, **kwargs
))
2035 _windows_
.TaskBarIconEvent_swigregister(TaskBarIconEvent
)
2037 wxEVT_TASKBAR_MOVE
= _windows_
.wxEVT_TASKBAR_MOVE
2038 wxEVT_TASKBAR_LEFT_DOWN
= _windows_
.wxEVT_TASKBAR_LEFT_DOWN
2039 wxEVT_TASKBAR_LEFT_UP
= _windows_
.wxEVT_TASKBAR_LEFT_UP
2040 wxEVT_TASKBAR_RIGHT_DOWN
= _windows_
.wxEVT_TASKBAR_RIGHT_DOWN
2041 wxEVT_TASKBAR_RIGHT_UP
= _windows_
.wxEVT_TASKBAR_RIGHT_UP
2042 wxEVT_TASKBAR_LEFT_DCLICK
= _windows_
.wxEVT_TASKBAR_LEFT_DCLICK
2043 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows_
.wxEVT_TASKBAR_RIGHT_DCLICK
2044 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
2045 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
2046 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
2047 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
2048 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
2049 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
2050 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
2052 #---------------------------------------------------------------------------
2054 class ColourData(_core
.Object
):
2056 This class holds a variety of information related to the colour
2057 chooser dialog, used to transfer settings and results to and from the
2060 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2061 __repr__
= _swig_repr
2062 def __init__(self
, *args
, **kwargs
):
2064 __init__(self) -> ColourData
2066 Constructor, sets default values.
2068 _windows_
.ColourData_swiginit(self
,_windows_
.new_ColourData(*args
, **kwargs
))
2069 __swig_destroy__
= _windows_
.delete_ColourData
2070 __del__
= lambda self
: None;
2071 def GetChooseFull(*args
, **kwargs
):
2073 GetChooseFull(self) -> bool
2075 Under Windows, determines whether the Windows colour dialog will
2076 display the full dialog with custom colour selection controls. Has no
2077 meaning under other platforms. The default value is true.
2079 return _windows_
.ColourData_GetChooseFull(*args
, **kwargs
)
2081 def GetColour(*args
, **kwargs
):
2083 GetColour(self) -> Colour
2085 Gets the colour (pre)selected by the dialog.
2087 return _windows_
.ColourData_GetColour(*args
, **kwargs
)
2089 def GetCustomColour(*args
, **kwargs
):
2091 GetCustomColour(self, int i) -> Colour
2093 Gets the i'th custom colour associated with the colour dialog. i
2094 should be an integer between 0 and 15. The default custom colours are
2095 all invalid colours.
2097 return _windows_
.ColourData_GetCustomColour(*args
, **kwargs
)
2099 def SetChooseFull(*args
, **kwargs
):
2101 SetChooseFull(self, int flag)
2103 Under Windows, tells the Windows colour dialog to display the full
2104 dialog with custom colour selection controls. Under other platforms,
2105 has no effect. The default value is true.
2107 return _windows_
.ColourData_SetChooseFull(*args
, **kwargs
)
2109 def SetColour(*args
, **kwargs
):
2111 SetColour(self, Colour colour)
2113 Sets the default colour for the colour dialog. The default colour is
2116 return _windows_
.ColourData_SetColour(*args
, **kwargs
)
2118 def SetCustomColour(*args
, **kwargs
):
2120 SetCustomColour(self, int i, Colour colour)
2122 Sets the i'th custom colour for the colour dialog. i should be an
2123 integer between 0 and 15. The default custom colours are all invalid colours.
2125 return _windows_
.ColourData_SetCustomColour(*args
, **kwargs
)
2127 _windows_
.ColourData_swigregister(ColourData
)
2128 FileSelectorPromptStr
= cvar
.FileSelectorPromptStr
2129 DirSelectorPromptStr
= cvar
.DirSelectorPromptStr
2130 DirDialogNameStr
= cvar
.DirDialogNameStr
2131 FileSelectorDefaultWildcardStr
= cvar
.FileSelectorDefaultWildcardStr
2132 GetTextFromUserPromptStr
= cvar
.GetTextFromUserPromptStr
2133 MessageBoxCaptionStr
= cvar
.MessageBoxCaptionStr
2135 class ColourDialog(Dialog
):
2136 """This class represents the colour chooser dialog."""
2137 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2138 __repr__
= _swig_repr
2139 def __init__(self
, *args
, **kwargs
):
2141 __init__(self, Window parent, ColourData data=None) -> ColourDialog
2143 Constructor. Pass a parent window, and optionally a `wx.ColourData`,
2144 which will be copied to the colour dialog's internal ColourData
2147 _windows_
.ColourDialog_swiginit(self
,_windows_
.new_ColourDialog(*args
, **kwargs
))
2148 self
._setOORInfo
(self
)
2150 def GetColourData(*args
, **kwargs
):
2152 GetColourData(self) -> ColourData
2154 Returns a reference to the `wx.ColourData` used by the dialog.
2156 return _windows_
.ColourDialog_GetColourData(*args
, **kwargs
)
2158 _windows_
.ColourDialog_swigregister(ColourDialog
)
2161 def GetColourFromUser(*args
, **kwargs
):
2163 GetColourFromUser(Window parent=(wxWindow *) NULL, Colour colInit=wxNullColour,
2164 String caption=EmptyString) -> Colour
2166 return _windows_
.GetColourFromUser(*args
, **kwargs
)
2167 DD_NEW_DIR_BUTTON
= _windows_
.DD_NEW_DIR_BUTTON
2168 DD_DEFAULT_STYLE
= _windows_
.DD_DEFAULT_STYLE
2169 DD_CHANGE_DIR
= _windows_
.DD_CHANGE_DIR
2170 class DirDialog(Dialog
):
2172 wx.DirDialog allows the user to select a directory by browising the
2175 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2176 __repr__
= _swig_repr
2177 def __init__(self
, *args
, **kwargs
):
2179 __init__(self, Window parent, String message=DirSelectorPromptStr,
2180 String defaultPath=EmptyString, long style=DD_DEFAULT_STYLE,
2181 Point pos=DefaultPosition, Size size=DefaultSize,
2182 String name=DirDialogNameStr) -> DirDialog
2184 Constructor. Use ShowModal method to show the dialog.
2186 _windows_
.DirDialog_swiginit(self
,_windows_
.new_DirDialog(*args
, **kwargs
))
2187 self
._setOORInfo
(self
)
2189 def GetPath(*args
, **kwargs
):
2191 GetPath(self) -> String
2193 Returns the default or user-selected path.
2195 return _windows_
.DirDialog_GetPath(*args
, **kwargs
)
2197 def GetMessage(*args
, **kwargs
):
2199 GetMessage(self) -> String
2201 Returns the message that will be displayed on the dialog.
2203 return _windows_
.DirDialog_GetMessage(*args
, **kwargs
)
2205 def SetMessage(*args
, **kwargs
):
2207 SetMessage(self, String message)
2209 Sets the message that will be displayed on the dialog.
2211 return _windows_
.DirDialog_SetMessage(*args
, **kwargs
)
2213 def SetPath(*args
, **kwargs
):
2215 SetPath(self, String path)
2217 Sets the default path.
2219 return _windows_
.DirDialog_SetPath(*args
, **kwargs
)
2221 _windows_
.DirDialog_swigregister(DirDialog
)
2223 OPEN
= _windows_
.OPEN
2224 SAVE
= _windows_
.SAVE
2225 OVERWRITE_PROMPT
= _windows_
.OVERWRITE_PROMPT
2226 FILE_MUST_EXIST
= _windows_
.FILE_MUST_EXIST
2227 MULTIPLE
= _windows_
.MULTIPLE
2228 CHANGE_DIR
= _windows_
.CHANGE_DIR
2229 HIDE_READONLY
= _windows_
.HIDE_READONLY
2230 FD_OPEN
= _windows_
.FD_OPEN
2231 FD_SAVE
= _windows_
.FD_SAVE
2232 FD_OVERWRITE_PROMPT
= _windows_
.FD_OVERWRITE_PROMPT
2233 FD_FILE_MUST_EXIST
= _windows_
.FD_FILE_MUST_EXIST
2234 FD_MULTIPLE
= _windows_
.FD_MULTIPLE
2235 FD_CHANGE_DIR
= _windows_
.FD_CHANGE_DIR
2236 FD_PREVIEW
= _windows_
.FD_PREVIEW
2237 FD_DEFAULT_STYLE
= _windows_
.FD_DEFAULT_STYLE
2238 class FileDialog(Dialog
):
2240 wx.FileDialog allows the user to select one or more files from the
2243 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2244 __repr__
= _swig_repr
2245 def __init__(self
, *args
, **kwargs
):
2247 __init__(self, Window parent, String message=FileSelectorPromptStr,
2248 String defaultDir=EmptyString, String defaultFile=EmptyString,
2249 String wildcard=FileSelectorDefaultWildcardStr,
2250 long style=FD_DEFAULT_STYLE,
2251 Point pos=DefaultPosition) -> FileDialog
2253 Constructor. Use ShowModal method to show the dialog.
2255 _windows_
.FileDialog_swiginit(self
,_windows_
.new_FileDialog(*args
, **kwargs
))
2256 self
._setOORInfo
(self
)
2258 def SetMessage(*args
, **kwargs
):
2260 SetMessage(self, String message)
2262 Sets the message that will be displayed on the dialog.
2264 return _windows_
.FileDialog_SetMessage(*args
, **kwargs
)
2266 def SetPath(*args
, **kwargs
):
2268 SetPath(self, String path)
2270 Sets the path (the combined directory and filename that will be
2271 returned when the dialog is dismissed).
2273 return _windows_
.FileDialog_SetPath(*args
, **kwargs
)
2275 def SetDirectory(*args
, **kwargs
):
2277 SetDirectory(self, String dir)
2279 Sets the default directory.
2281 return _windows_
.FileDialog_SetDirectory(*args
, **kwargs
)
2283 def SetFilename(*args
, **kwargs
):
2285 SetFilename(self, String name)
2287 Sets the default filename.
2289 return _windows_
.FileDialog_SetFilename(*args
, **kwargs
)
2291 def SetWildcard(*args
, **kwargs
):
2293 SetWildcard(self, String wildCard)
2295 Sets the wildcard, which can contain multiple file types, for
2298 "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
2301 return _windows_
.FileDialog_SetWildcard(*args
, **kwargs
)
2303 def SetFilterIndex(*args
, **kwargs
):
2305 SetFilterIndex(self, int filterIndex)
2307 Sets the default filter index, starting from zero.
2309 return _windows_
.FileDialog_SetFilterIndex(*args
, **kwargs
)
2311 def GetMessage(*args
, **kwargs
):
2313 GetMessage(self) -> String
2315 Returns the message that will be displayed on the dialog.
2317 return _windows_
.FileDialog_GetMessage(*args
, **kwargs
)
2319 def GetPath(*args
, **kwargs
):
2321 GetPath(self) -> String
2323 Returns the full path (directory and filename) of the selected file.
2325 return _windows_
.FileDialog_GetPath(*args
, **kwargs
)
2327 def GetDirectory(*args
, **kwargs
):
2329 GetDirectory(self) -> String
2331 Returns the default directory.
2333 return _windows_
.FileDialog_GetDirectory(*args
, **kwargs
)
2335 def GetFilename(*args
, **kwargs
):
2337 GetFilename(self) -> String
2339 Returns the default filename.
2341 return _windows_
.FileDialog_GetFilename(*args
, **kwargs
)
2343 def GetWildcard(*args
, **kwargs
):
2345 GetWildcard(self) -> String
2347 Returns the file dialog wildcard.
2349 return _windows_
.FileDialog_GetWildcard(*args
, **kwargs
)
2351 def GetFilterIndex(*args
, **kwargs
):
2353 GetFilterIndex(self) -> int
2355 Returns the index into the list of filters supplied, optionally, in
2356 the wildcard parameter. Before the dialog is shown, this is the index
2357 which will be used when the dialog is first displayed. After the
2358 dialog is shown, this is the index selected by the user.
2360 return _windows_
.FileDialog_GetFilterIndex(*args
, **kwargs
)
2362 def GetFilenames(*args
, **kwargs
):
2364 GetFilenames(self) -> PyObject
2366 Returns a list of filenames chosen in the dialog. This function
2367 should only be used with the dialogs which have wx.MULTIPLE style, use
2368 GetFilename for the others.
2370 return _windows_
.FileDialog_GetFilenames(*args
, **kwargs
)
2372 def GetPaths(*args
, **kwargs
):
2374 GetPaths(self) -> PyObject
2376 Fills the array paths with the full paths of the files chosen. This
2377 function should only be used with the dialogs which have wx.MULTIPLE
2378 style, use GetPath for the others.
2380 return _windows_
.FileDialog_GetPaths(*args
, **kwargs
)
2382 _windows_
.FileDialog_swigregister(FileDialog
)
2384 CHOICEDLG_STYLE
= _windows_
.CHOICEDLG_STYLE
2385 class MultiChoiceDialog(Dialog
):
2386 """A simple dialog with a multi selection listbox."""
2387 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2388 __repr__
= _swig_repr
2389 def __init__(self
, *args
, **kwargs
):
2391 __init__(self, Window parent, String message, String caption,
2392 List choices=EmptyList, long style=CHOICEDLG_STYLE,
2393 Point pos=DefaultPosition) -> MultiChoiceDialog
2395 Constructor. Use the `ShowModal` method to show the dialog.
2397 :param parent: The parent window.
2398 :param message: Text to display above the list of selections.
2399 :param caption: Text to use in the title bar of the dialog.
2400 :param choices: A list of strings or unicode objects that the
2401 user is allowed to choose from.
2402 :param style: Styles to apply to the dialog. The default value is
2403 equivallent to wx.DEFAULT_DIALOG_STYLE|wx.RESIZE_BORDER|wx.OK|wx.CANCEL|wx.CENTER.
2404 :param pos: Where to position the dialog (not used on Windows)
2408 _windows_
.MultiChoiceDialog_swiginit(self
,_windows_
.new_MultiChoiceDialog(*args
, **kwargs
))
2409 self
._setOORInfo
(self
)
2411 def SetSelections(*args
, **kwargs
):
2413 SetSelections(List selections)
2415 Specify the items in the list that should be selected, using a list of
2416 integers. The list should specify the indexes of the items that
2419 return _windows_
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
2421 def GetSelections(*args
, **kwargs
):
2423 GetSelections() -> [selections]
2425 Returns a list of integers representing the items that are selected.
2426 If an item is selected then its index will appear in the list.
2428 return _windows_
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
2430 _windows_
.MultiChoiceDialog_swigregister(MultiChoiceDialog
)
2432 class SingleChoiceDialog(Dialog
):
2433 """A simple dialog with a single selection listbox."""
2434 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2435 __repr__
= _swig_repr
2436 def __init__(self
, *args
, **kwargs
):
2438 __init__(Window parent, String message, String caption,
2439 List choices=EmptyList, long style=CHOICEDLG_STYLE,
2440 Point pos=DefaultPosition) -> SingleChoiceDialog
2442 Constructor. Use ShowModal method to show the dialog.
2444 _windows_
.SingleChoiceDialog_swiginit(self
,_windows_
.new_SingleChoiceDialog(*args
, **kwargs
))
2445 self
._setOORInfo
(self
)
2447 def GetSelection(*args
, **kwargs
):
2449 GetSelection(self) -> int
2451 Get the index of the currently selected item.
2453 return _windows_
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
2455 def GetStringSelection(*args
, **kwargs
):
2457 GetStringSelection(self) -> String
2459 Returns the string value of the currently selected item
2461 return _windows_
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
2463 def SetSelection(*args
, **kwargs
):
2465 SetSelection(self, int sel)
2467 Set the current selected item to sel
2469 return _windows_
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
2471 _windows_
.SingleChoiceDialog_swigregister(SingleChoiceDialog
)
2473 TextEntryDialogStyle
= _windows_
.TextEntryDialogStyle
2474 class TextEntryDialog(Dialog
):
2475 """A dialog with text control, [ok] and [cancel] buttons"""
2476 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2477 __repr__
= _swig_repr
2478 def __init__(self
, *args
, **kwargs
):
2480 __init__(self, Window parent, String message, String caption=GetTextFromUserPromptStr,
2481 String defaultValue=EmptyString,
2482 long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> TextEntryDialog
2484 Constructor. Use ShowModal method to show the dialog.
2486 _windows_
.TextEntryDialog_swiginit(self
,_windows_
.new_TextEntryDialog(*args
, **kwargs
))
2487 self
._setOORInfo
(self
)
2489 def GetValue(*args
, **kwargs
):
2491 GetValue(self) -> String
2493 Returns the text that the user has entered if the user has pressed OK,
2494 or the original value if the user has pressed Cancel.
2496 return _windows_
.TextEntryDialog_GetValue(*args
, **kwargs
)
2498 def SetValue(*args
, **kwargs
):
2500 SetValue(self, String value)
2502 Sets the default text value.
2504 return _windows_
.TextEntryDialog_SetValue(*args
, **kwargs
)
2506 _windows_
.TextEntryDialog_swigregister(TextEntryDialog
)
2508 class PasswordEntryDialog(TextEntryDialog
):
2509 """Proxy of C++ PasswordEntryDialog class"""
2510 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2511 __repr__
= _swig_repr
2512 def __init__(self
, *args
, **kwargs
):
2514 __init__(self, Window parent, String message, String caption=GetPasswordFromUserPromptStr,
2515 String value=EmptyString,
2516 long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> PasswordEntryDialog
2518 _windows_
.PasswordEntryDialog_swiginit(self
,_windows_
.new_PasswordEntryDialog(*args
, **kwargs
))
2519 _windows_
.PasswordEntryDialog_swigregister(PasswordEntryDialog
)
2520 GetPasswordFromUserPromptStr
= cvar
.GetPasswordFromUserPromptStr
2522 class NumberEntryDialog(Dialog
):
2523 """A dialog with spin control, ok and cancel buttons."""
2524 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2525 __repr__
= _swig_repr
2526 def __init__(self
, *args
, **kwargs
):
2528 __init__(self, Window parent, String message, String prompt, String caption,
2529 long value, long min, long max, Point pos=DefaultPosition) -> NumberEntryDialog
2531 Constructor. Use ShowModal method to show the dialog.
2533 _windows_
.NumberEntryDialog_swiginit(self
,_windows_
.new_NumberEntryDialog(*args
, **kwargs
))
2534 self
._setOORInfo
(self
)
2536 def GetValue(*args
, **kwargs
):
2537 """GetValue(self) -> long"""
2538 return _windows_
.NumberEntryDialog_GetValue(*args
, **kwargs
)
2540 _windows_
.NumberEntryDialog_swigregister(NumberEntryDialog
)
2542 class FontData(_core
.Object
):
2544 This class holds a variety of information related to font dialogs and
2545 is used to transfer settings to and results from a `wx.FontDialog`.
2547 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2548 __repr__
= _swig_repr
2549 def __init__(self
, *args
, **kwargs
):
2551 __init__(self) -> FontData
2553 This class holds a variety of information related to font dialogs and
2554 is used to transfer settings to and results from a `wx.FontDialog`.
2556 _windows_
.FontData_swiginit(self
,_windows_
.new_FontData(*args
, **kwargs
))
2557 __swig_destroy__
= _windows_
.delete_FontData
2558 __del__
= lambda self
: None;
2559 def EnableEffects(*args
, **kwargs
):
2561 EnableEffects(self, bool enable)
2563 Enables or disables 'effects' under MS Windows only. This refers to
2564 the controls for manipulating colour, strikeout and underline
2565 properties. The default value is true.
2567 return _windows_
.FontData_EnableEffects(*args
, **kwargs
)
2569 def GetAllowSymbols(*args
, **kwargs
):
2571 GetAllowSymbols(self) -> bool
2573 Under MS Windows, returns a flag determining whether symbol fonts can
2574 be selected. Has no effect on other platforms. The default value is
2577 return _windows_
.FontData_GetAllowSymbols(*args
, **kwargs
)
2579 def GetColour(*args
, **kwargs
):
2581 GetColour(self) -> Colour
2583 Gets the colour associated with the font dialog. The default value is
2586 return _windows_
.FontData_GetColour(*args
, **kwargs
)
2588 def GetChosenFont(*args
, **kwargs
):
2590 GetChosenFont(self) -> Font
2592 Gets the font chosen by the user.
2594 return _windows_
.FontData_GetChosenFont(*args
, **kwargs
)
2596 def GetEnableEffects(*args
, **kwargs
):
2598 GetEnableEffects(self) -> bool
2600 Determines whether 'effects' are enabled under Windows.
2602 return _windows_
.FontData_GetEnableEffects(*args
, **kwargs
)
2604 def GetInitialFont(*args
, **kwargs
):
2606 GetInitialFont(self) -> Font
2608 Gets the font that will be initially used by the font dialog. This
2609 should have previously been set by the application.
2611 return _windows_
.FontData_GetInitialFont(*args
, **kwargs
)
2613 def GetShowHelp(*args
, **kwargs
):
2615 GetShowHelp(self) -> bool
2617 Returns true if the Help button will be shown (Windows only). The
2618 default value is false.
2620 return _windows_
.FontData_GetShowHelp(*args
, **kwargs
)
2622 def SetAllowSymbols(*args
, **kwargs
):
2624 SetAllowSymbols(self, bool allowSymbols)
2626 Under MS Windows, determines whether symbol fonts can be selected. Has
2627 no effect on other platforms. The default value is true.
2629 return _windows_
.FontData_SetAllowSymbols(*args
, **kwargs
)
2631 def SetChosenFont(*args
, **kwargs
):
2633 SetChosenFont(self, Font font)
2635 Sets the font that will be returned to the user (normally for internal
2638 return _windows_
.FontData_SetChosenFont(*args
, **kwargs
)
2640 def SetColour(*args
, **kwargs
):
2642 SetColour(self, Colour colour)
2644 Sets the colour that will be used for the font foreground colour. The
2645 default colour is black.
2647 return _windows_
.FontData_SetColour(*args
, **kwargs
)
2649 def SetInitialFont(*args
, **kwargs
):
2651 SetInitialFont(self, Font font)
2653 Sets the font that will be initially used by the font dialog.
2655 return _windows_
.FontData_SetInitialFont(*args
, **kwargs
)
2657 def SetRange(*args
, **kwargs
):
2659 SetRange(self, int min, int max)
2661 Sets the valid range for the font point size (Windows only). The
2662 default is 0, 0 (unrestricted range).
2664 return _windows_
.FontData_SetRange(*args
, **kwargs
)
2666 def SetShowHelp(*args
, **kwargs
):
2668 SetShowHelp(self, bool showHelp)
2670 Determines whether the Help button will be displayed in the font
2671 dialog (Windows only). The default value is false.
2673 return _windows_
.FontData_SetShowHelp(*args
, **kwargs
)
2675 _windows_
.FontData_swigregister(FontData
)
2677 class FontDialog(Dialog
):
2679 wx.FontDialog allows the user to select a system font and its attributes.
2684 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2685 __repr__
= _swig_repr
2686 def __init__(self
, *args
, **kwargs
):
2688 __init__(self, Window parent, FontData data) -> FontDialog
2690 Constructor. Pass a parent window and the `wx.FontData` object to be
2691 used to initialize the dialog controls. Call `ShowModal` to display
2692 the dialog. If ShowModal returns ``wx.ID_OK`` then you can fetch the
2693 results with via the `wx.FontData` returned by `GetFontData`.
2695 _windows_
.FontDialog_swiginit(self
,_windows_
.new_FontDialog(*args
, **kwargs
))
2696 self
._setOORInfo
(self
)
2698 def GetFontData(*args
, **kwargs
):
2700 GetFontData(self) -> FontData
2702 Returns a reference to the internal `wx.FontData` used by the
2705 return _windows_
.FontDialog_GetFontData(*args
, **kwargs
)
2707 _windows_
.FontDialog_swigregister(FontDialog
)
2710 def GetFontFromUser(*args
, **kwargs
):
2711 """GetFontFromUser(Window parent=None, Font fontInit=wxNullFont, String caption=EmptyString) -> Font"""
2712 return _windows_
.GetFontFromUser(*args
, **kwargs
)
2713 class MessageDialog(Dialog
):
2715 This class provides a simple dialog that shows a single or multi-line
2716 message, with a choice of OK, Yes, No and/or Cancel buttons.
2718 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2719 __repr__
= _swig_repr
2720 def __init__(self
, *args
, **kwargs
):
2722 __init__(self, Window parent, String message, String caption=MessageBoxCaptionStr,
2723 long style=wxOK|wxCANCEL|wxCENTRE,
2724 Point pos=DefaultPosition) -> MessageDialog
2726 Constructor, use `ShowModal` to display the dialog.
2728 _windows_
.MessageDialog_swiginit(self
,_windows_
.new_MessageDialog(*args
, **kwargs
))
2729 self
._setOORInfo
(self
)
2731 _windows_
.MessageDialog_swigregister(MessageDialog
)
2733 class ProgressDialog(Frame
):
2735 A dialog that shows a short message and a progress bar. Optionally, it
2736 can display an ABORT button.
2738 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2739 __repr__
= _swig_repr
2740 def __init__(self
, *args
, **kwargs
):
2742 __init__(self, String title, String message, int maximum=100, Window parent=None,
2743 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
2745 Constructor. Creates the dialog, displays it and disables user input
2746 for other windows, or, if wx.PD_APP_MODAL flag is not given, for its
2749 _windows_
.ProgressDialog_swiginit(self
,_windows_
.new_ProgressDialog(*args
, **kwargs
))
2750 self
._setOORInfo
(self
)
2752 def Update(*args
, **kwargs
):
2754 Update(self, int value, String newmsg) --> (continue, skip)
2756 Updates the dialog, setting the progress bar to the new value and, if
2757 given changes the message above it. The value given should be less
2758 than or equal to the maximum value given to the constructor and the
2759 dialog is closed if it is equal to the maximum. Returns a tuple of
2760 boolean values, ``(continue, skip)`` where ``continue`` is ``True``
2761 unless the Cancel button has been pressed, and ``skip`` is ``False``
2762 unless the Skip button (if any) has been pressed.
2764 If the ``continue`` return value is ``false``, the application can either
2765 immediately destroy the dialog or ask the user for confirmation, and if the
2766 abort is not confirmed the dialog may be resumed with `Resume` function.
2769 return _windows_
.ProgressDialog_Update(*args
, **kwargs
)
2771 def Resume(*args
, **kwargs
):
2775 Can be used to continue with the dialog, after the user had chosen to
2778 return _windows_
.ProgressDialog_Resume(*args
, **kwargs
)
2780 _windows_
.ProgressDialog_swigregister(ProgressDialog
)
2782 FR_DOWN
= _windows_
.FR_DOWN
2783 FR_WHOLEWORD
= _windows_
.FR_WHOLEWORD
2784 FR_MATCHCASE
= _windows_
.FR_MATCHCASE
2785 FR_REPLACEDIALOG
= _windows_
.FR_REPLACEDIALOG
2786 FR_NOUPDOWN
= _windows_
.FR_NOUPDOWN
2787 FR_NOMATCHCASE
= _windows_
.FR_NOMATCHCASE
2788 FR_NOWHOLEWORD
= _windows_
.FR_NOWHOLEWORD
2789 wxEVT_COMMAND_FIND
= _windows_
.wxEVT_COMMAND_FIND
2790 wxEVT_COMMAND_FIND_NEXT
= _windows_
.wxEVT_COMMAND_FIND_NEXT
2791 wxEVT_COMMAND_FIND_REPLACE
= _windows_
.wxEVT_COMMAND_FIND_REPLACE
2792 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows_
.wxEVT_COMMAND_FIND_REPLACE_ALL
2793 wxEVT_COMMAND_FIND_CLOSE
= _windows_
.wxEVT_COMMAND_FIND_CLOSE
2794 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
2795 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
2796 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
2797 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
2798 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
2800 # For backwards compatibility. Should they be removed?
2801 EVT_COMMAND_FIND
= EVT_FIND
2802 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
2803 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
2804 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
2805 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
2807 class FindDialogEvent(_core
.CommandEvent
):
2808 """Events for the FindReplaceDialog"""
2809 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2810 __repr__
= _swig_repr
2811 def __init__(self
, *args
, **kwargs
):
2813 __init__(self, EventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent
2815 Events for the FindReplaceDialog
2817 _windows_
.FindDialogEvent_swiginit(self
,_windows_
.new_FindDialogEvent(*args
, **kwargs
))
2818 def GetFlags(*args
, **kwargs
):
2820 GetFlags(self) -> int
2822 Get the currently selected flags: this is the combination of
2823 wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.
2825 return _windows_
.FindDialogEvent_GetFlags(*args
, **kwargs
)
2827 def GetFindString(*args
, **kwargs
):
2829 GetFindString(self) -> String
2831 Return the string to find (never empty).
2833 return _windows_
.FindDialogEvent_GetFindString(*args
, **kwargs
)
2835 def GetReplaceString(*args
, **kwargs
):
2837 GetReplaceString(self) -> String
2839 Return the string to replace the search string with (only for replace
2840 and replace all events).
2842 return _windows_
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
2844 def GetDialog(*args
, **kwargs
):
2846 GetDialog(self) -> FindReplaceDialog
2848 Return the pointer to the dialog which generated this event.
2850 return _windows_
.FindDialogEvent_GetDialog(*args
, **kwargs
)
2852 def SetFlags(*args
, **kwargs
):
2853 """SetFlags(self, int flags)"""
2854 return _windows_
.FindDialogEvent_SetFlags(*args
, **kwargs
)
2856 def SetFindString(*args
, **kwargs
):
2857 """SetFindString(self, String str)"""
2858 return _windows_
.FindDialogEvent_SetFindString(*args
, **kwargs
)
2860 def SetReplaceString(*args
, **kwargs
):
2861 """SetReplaceString(self, String str)"""
2862 return _windows_
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
2864 _windows_
.FindDialogEvent_swigregister(FindDialogEvent
)
2866 class FindReplaceData(_core
.Object
):
2868 wx.FindReplaceData holds the data for wx.FindReplaceDialog. It is used
2869 to initialize the dialog with the default values and will keep the
2870 last values from the dialog when it is closed. It is also updated each
2871 time a `wx.FindDialogEvent` is generated so instead of using the
2872 `wx.FindDialogEvent` methods you can also directly query this object.
2874 Note that all SetXXX() methods may only be called before showing the
2875 dialog and calling them has no effect later.
2877 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2878 __repr__
= _swig_repr
2879 def __init__(self
, *args
, **kwargs
):
2881 __init__(self, int flags=0) -> FindReplaceData
2883 Constuctor initializes the flags to default value (0).
2885 _windows_
.FindReplaceData_swiginit(self
,_windows_
.new_FindReplaceData(*args
, **kwargs
))
2886 __swig_destroy__
= _windows_
.delete_FindReplaceData
2887 __del__
= lambda self
: None;
2888 def GetFindString(*args
, **kwargs
):
2890 GetFindString(self) -> String
2892 Get the string to find.
2894 return _windows_
.FindReplaceData_GetFindString(*args
, **kwargs
)
2896 def GetReplaceString(*args
, **kwargs
):
2898 GetReplaceString(self) -> String
2900 Get the replacement string.
2902 return _windows_
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
2904 def GetFlags(*args
, **kwargs
):
2906 GetFlags(self) -> int
2908 Get the combination of flag values.
2910 return _windows_
.FindReplaceData_GetFlags(*args
, **kwargs
)
2912 def SetFlags(*args
, **kwargs
):
2914 SetFlags(self, int flags)
2916 Set the flags to use to initialize the controls of the dialog.
2918 return _windows_
.FindReplaceData_SetFlags(*args
, **kwargs
)
2920 def SetFindString(*args
, **kwargs
):
2922 SetFindString(self, String str)
2924 Set the string to find (used as initial value by the dialog).
2926 return _windows_
.FindReplaceData_SetFindString(*args
, **kwargs
)
2928 def SetReplaceString(*args
, **kwargs
):
2930 SetReplaceString(self, String str)
2932 Set the replacement string (used as initial value by the dialog).
2934 return _windows_
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
2936 _windows_
.FindReplaceData_swigregister(FindReplaceData
)
2938 class FindReplaceDialog(Dialog
):
2940 wx.FindReplaceDialog is a standard modeless dialog which is used to
2941 allow the user to search for some text (and possibly replace it with
2942 something else). The actual searching is supposed to be done in the
2943 owner window which is the parent of this dialog. Note that it means
2944 that unlike for the other standard dialogs this one must have a parent
2945 window. Also note that there is no way to use this dialog in a modal
2946 way; it is always, by design and implementation, modeless.
2948 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2949 __repr__
= _swig_repr
2950 def __init__(self
, *args
, **kwargs
):
2952 __init__(self, Window parent, FindReplaceData data, String title,
2953 int style=0) -> FindReplaceDialog
2955 Create a FindReplaceDialog. The parent and data parameters must be
2956 non-None. Use Show to display the dialog.
2958 _windows_
.FindReplaceDialog_swiginit(self
,_windows_
.new_FindReplaceDialog(*args
, **kwargs
))
2959 self
._setOORInfo
(self
)
2961 def Create(*args
, **kwargs
):
2963 Create(self, Window parent, FindReplaceData data, String title,
2964 int style=0) -> bool
2966 Create the dialog, for 2-phase create.
2968 return _windows_
.FindReplaceDialog_Create(*args
, **kwargs
)
2970 def GetData(*args
, **kwargs
):
2972 GetData(self) -> FindReplaceData
2974 Get the FindReplaceData object used by this dialog.
2976 return _windows_
.FindReplaceDialog_GetData(*args
, **kwargs
)
2978 def SetData(*args
, **kwargs
):
2980 SetData(self, FindReplaceData data)
2982 Set the FindReplaceData object used by this dialog.
2984 return _windows_
.FindReplaceDialog_SetData(*args
, **kwargs
)
2986 _windows_
.FindReplaceDialog_swigregister(FindReplaceDialog
)
2988 def PreFindReplaceDialog(*args
, **kwargs
):
2990 PreFindReplaceDialog() -> FindReplaceDialog
2992 Precreate a FindReplaceDialog for 2-phase creation
2994 val
= _windows_
.new_PreFindReplaceDialog(*args
, **kwargs
)
2997 #---------------------------------------------------------------------------
2999 IDM_WINDOWTILE
= _windows_
.IDM_WINDOWTILE
3000 IDM_WINDOWTILEHOR
= _windows_
.IDM_WINDOWTILEHOR
3001 IDM_WINDOWCASCADE
= _windows_
.IDM_WINDOWCASCADE
3002 IDM_WINDOWICONS
= _windows_
.IDM_WINDOWICONS
3003 IDM_WINDOWNEXT
= _windows_
.IDM_WINDOWNEXT
3004 IDM_WINDOWTILEVERT
= _windows_
.IDM_WINDOWTILEVERT
3005 IDM_WINDOWPREV
= _windows_
.IDM_WINDOWPREV
3006 FIRST_MDI_CHILD
= _windows_
.FIRST_MDI_CHILD
3007 LAST_MDI_CHILD
= _windows_
.LAST_MDI_CHILD
3008 class MDIParentFrame(Frame
):
3009 """Proxy of C++ MDIParentFrame class"""
3010 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3011 __repr__
= _swig_repr
3012 def __init__(self
, *args
, **kwargs
):
3014 __init__(self, Window parent, int id=-1, String title=EmptyString,
3015 Point pos=DefaultPosition, Size size=DefaultSize,
3016 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3017 String name=FrameNameStr) -> MDIParentFrame
3019 _windows_
.MDIParentFrame_swiginit(self
,_windows_
.new_MDIParentFrame(*args
, **kwargs
))
3020 self
._setOORInfo
(self
)
3022 def Create(*args
, **kwargs
):
3024 Create(self, Window parent, int id=-1, String title=EmptyString,
3025 Point pos=DefaultPosition, Size size=DefaultSize,
3026 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3027 String name=FrameNameStr) -> bool
3029 return _windows_
.MDIParentFrame_Create(*args
, **kwargs
)
3031 def ActivateNext(*args
, **kwargs
):
3032 """ActivateNext(self)"""
3033 return _windows_
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
3035 def ActivatePrevious(*args
, **kwargs
):
3036 """ActivatePrevious(self)"""
3037 return _windows_
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
3039 def ArrangeIcons(*args
, **kwargs
):
3040 """ArrangeIcons(self)"""
3041 return _windows_
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
3043 def Cascade(*args
, **kwargs
):
3045 return _windows_
.MDIParentFrame_Cascade(*args
, **kwargs
)
3047 def GetActiveChild(*args
, **kwargs
):
3048 """GetActiveChild(self) -> MDIChildFrame"""
3049 return _windows_
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
3051 def GetClientWindow(*args
, **kwargs
):
3052 """GetClientWindow(self) -> MDIClientWindow"""
3053 return _windows_
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
3055 def GetToolBar(*args
, **kwargs
):
3056 """GetToolBar(self) -> Window"""
3057 return _windows_
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
3059 def Tile(*args
, **kwargs
):
3060 """Tile(self, int orient=HORIZONTAL)"""
3061 return _windows_
.MDIParentFrame_Tile(*args
, **kwargs
)
3063 _windows_
.MDIParentFrame_swigregister(MDIParentFrame
)
3065 def PreMDIParentFrame(*args
, **kwargs
):
3066 """PreMDIParentFrame() -> MDIParentFrame"""
3067 val
= _windows_
.new_PreMDIParentFrame(*args
, **kwargs
)
3070 class MDIChildFrame(Frame
):
3071 """Proxy of C++ MDIChildFrame class"""
3072 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3073 __repr__
= _swig_repr
3074 def __init__(self
, *args
, **kwargs
):
3076 __init__(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3077 Point pos=DefaultPosition, Size size=DefaultSize,
3078 long style=DEFAULT_FRAME_STYLE,
3079 String name=FrameNameStr) -> MDIChildFrame
3081 _windows_
.MDIChildFrame_swiginit(self
,_windows_
.new_MDIChildFrame(*args
, **kwargs
))
3082 self
._setOORInfo
(self
)
3084 def Create(*args
, **kwargs
):
3086 Create(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3087 Point pos=DefaultPosition, Size size=DefaultSize,
3088 long style=DEFAULT_FRAME_STYLE,
3089 String name=FrameNameStr) -> bool
3091 return _windows_
.MDIChildFrame_Create(*args
, **kwargs
)
3093 def Activate(*args
, **kwargs
):
3094 """Activate(self)"""
3095 return _windows_
.MDIChildFrame_Activate(*args
, **kwargs
)
3097 _windows_
.MDIChildFrame_swigregister(MDIChildFrame
)
3099 def PreMDIChildFrame(*args
, **kwargs
):
3100 """PreMDIChildFrame() -> MDIChildFrame"""
3101 val
= _windows_
.new_PreMDIChildFrame(*args
, **kwargs
)
3104 class MDIClientWindow(_core
.Window
):
3105 """Proxy of C++ MDIClientWindow class"""
3106 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3107 __repr__
= _swig_repr
3108 def __init__(self
, *args
, **kwargs
):
3109 """__init__(self, MDIParentFrame parent, long style=0) -> MDIClientWindow"""
3110 _windows_
.MDIClientWindow_swiginit(self
,_windows_
.new_MDIClientWindow(*args
, **kwargs
))
3111 self
._setOORInfo
(self
)
3113 def Create(*args
, **kwargs
):
3114 """Create(self, MDIParentFrame parent, long style=0) -> bool"""
3115 return _windows_
.MDIClientWindow_Create(*args
, **kwargs
)
3117 _windows_
.MDIClientWindow_swigregister(MDIClientWindow
)
3119 def PreMDIClientWindow(*args
, **kwargs
):
3120 """PreMDIClientWindow() -> MDIClientWindow"""
3121 val
= _windows_
.new_PreMDIClientWindow(*args
, **kwargs
)
3124 #---------------------------------------------------------------------------
3126 class PyWindow(_core
.Window
):
3127 """Proxy of C++ PyWindow class"""
3128 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3129 __repr__
= _swig_repr
3130 def __init__(self
, *args
, **kwargs
):
3132 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3133 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyWindow
3135 _windows_
.PyWindow_swiginit(self
,_windows_
.new_PyWindow(*args
, **kwargs
))
3136 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
3138 def _setCallbackInfo(*args
, **kwargs
):
3139 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3140 return _windows_
.PyWindow__setCallbackInfo(*args
, **kwargs
)
3142 def SetBestSize(*args
, **kwargs
):
3143 """SetBestSize(self, Size size)"""
3144 return _windows_
.PyWindow_SetBestSize(*args
, **kwargs
)
3146 def DoEraseBackground(*args
, **kwargs
):
3147 """DoEraseBackground(self, DC dc) -> bool"""
3148 return _windows_
.PyWindow_DoEraseBackground(*args
, **kwargs
)
3150 def DoMoveWindow(*args
, **kwargs
):
3151 """DoMoveWindow(self, int x, int y, int width, int height)"""
3152 return _windows_
.PyWindow_DoMoveWindow(*args
, **kwargs
)
3154 def DoSetSize(*args
, **kwargs
):
3155 """DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3156 return _windows_
.PyWindow_DoSetSize(*args
, **kwargs
)
3158 def DoSetClientSize(*args
, **kwargs
):
3159 """DoSetClientSize(self, int width, int height)"""
3160 return _windows_
.PyWindow_DoSetClientSize(*args
, **kwargs
)
3162 def DoSetVirtualSize(*args
, **kwargs
):
3163 """DoSetVirtualSize(self, int x, int y)"""
3164 return _windows_
.PyWindow_DoSetVirtualSize(*args
, **kwargs
)
3166 def DoGetSize(*args
, **kwargs
):
3167 """DoGetSize() -> (width, height)"""
3168 return _windows_
.PyWindow_DoGetSize(*args
, **kwargs
)
3170 def DoGetClientSize(*args
, **kwargs
):
3171 """DoGetClientSize() -> (width, height)"""
3172 return _windows_
.PyWindow_DoGetClientSize(*args
, **kwargs
)
3174 def DoGetPosition(*args
, **kwargs
):
3175 """DoGetPosition() -> (x,y)"""
3176 return _windows_
.PyWindow_DoGetPosition(*args
, **kwargs
)
3178 def DoGetVirtualSize(*args
, **kwargs
):
3179 """DoGetVirtualSize(self) -> Size"""
3180 return _windows_
.PyWindow_DoGetVirtualSize(*args
, **kwargs
)
3182 def DoGetBestSize(*args
, **kwargs
):
3183 """DoGetBestSize(self) -> Size"""
3184 return _windows_
.PyWindow_DoGetBestSize(*args
, **kwargs
)
3186 def GetDefaultAttributes(*args
, **kwargs
):
3187 """GetDefaultAttributes(self) -> VisualAttributes"""
3188 return _windows_
.PyWindow_GetDefaultAttributes(*args
, **kwargs
)
3190 def OnInternalIdle(*args
, **kwargs
):
3191 """OnInternalIdle(self)"""
3192 return _windows_
.PyWindow_OnInternalIdle(*args
, **kwargs
)
3194 def base_DoMoveWindow(*args
, **kw
):
3195 return PyWindow
.DoMoveWindow(*args
, **kw
)
3196 base_DoMoveWindow
= wx
._deprecated
(base_DoMoveWindow
,
3197 "Please use PyWindow.DoMoveWindow instead.")
3199 def base_DoSetSize(*args
, **kw
):
3200 return PyWindow
.DoSetSize(*args
, **kw
)
3201 base_DoSetSize
= wx
._deprecated
(base_DoSetSize
,
3202 "Please use PyWindow.DoSetSize instead.")
3204 def base_DoSetClientSize(*args
, **kw
):
3205 return PyWindow
.DoSetClientSize(*args
, **kw
)
3206 base_DoSetClientSize
= wx
._deprecated
(base_DoSetClientSize
,
3207 "Please use PyWindow.DoSetClientSize instead.")
3209 def base_DoSetVirtualSize(*args
, **kw
):
3210 return PyWindow
.DoSetVirtualSize(*args
, **kw
)
3211 base_DoSetVirtualSize
= wx
._deprecated
(base_DoSetVirtualSize
,
3212 "Please use PyWindow.DoSetVirtualSize instead.")
3214 def base_DoGetSize(*args
, **kw
):
3215 return PyWindow
.DoGetSize(*args
, **kw
)
3216 base_DoGetSize
= wx
._deprecated
(base_DoGetSize
,
3217 "Please use PyWindow.DoGetSize instead.")
3219 def base_DoGetClientSize(*args
, **kw
):
3220 return PyWindow
.DoGetClientSize(*args
, **kw
)
3221 base_DoGetClientSize
= wx
._deprecated
(base_DoGetClientSize
,
3222 "Please use PyWindow.DoGetClientSize instead.")
3224 def base_DoGetPosition(*args
, **kw
):
3225 return PyWindow
.DoGetPosition(*args
, **kw
)
3226 base_DoGetPosition
= wx
._deprecated
(base_DoGetPosition
,
3227 "Please use PyWindow.DoGetPosition instead.")
3229 def base_DoGetVirtualSize(*args
, **kw
):
3230 return PyWindow
.DoGetVirtualSize(*args
, **kw
)
3231 base_DoGetVirtualSize
= wx
._deprecated
(base_DoGetVirtualSize
,
3232 "Please use PyWindow.DoGetVirtualSize instead.")
3234 def base_DoGetBestSize(*args
, **kw
):
3235 return PyWindow
.DoGetBestSize(*args
, **kw
)
3236 base_DoGetBestSize
= wx
._deprecated
(base_DoGetBestSize
,
3237 "Please use PyWindow.DoGetBestSize instead.")
3239 def base_InitDialog(*args
, **kw
):
3240 return PyWindow
.InitDialog(*args
, **kw
)
3241 base_InitDialog
= wx
._deprecated
(base_InitDialog
,
3242 "Please use PyWindow.InitDialog instead.")
3244 def base_TransferDataToWindow(*args
, **kw
):
3245 return PyWindow
.TransferDataToWindow(*args
, **kw
)
3246 base_TransferDataToWindow
= wx
._deprecated
(base_TransferDataToWindow
,
3247 "Please use PyWindow.TransferDataToWindow instead.")
3249 def base_TransferDataFromWindow(*args
, **kw
):
3250 return PyWindow
.TransferDataFromWindow(*args
, **kw
)
3251 base_TransferDataFromWindow
= wx
._deprecated
(base_TransferDataFromWindow
,
3252 "Please use PyWindow.TransferDataFromWindow instead.")
3254 def base_Validate(*args
, **kw
):
3255 return PyWindow
.Validate(*args
, **kw
)
3256 base_Validate
= wx
._deprecated
(base_Validate
,
3257 "Please use PyWindow.Validate instead.")
3259 def base_AcceptsFocus(*args
, **kw
):
3260 return PyWindow
.AcceptsFocus(*args
, **kw
)
3261 base_AcceptsFocus
= wx
._deprecated
(base_AcceptsFocus
,
3262 "Please use PyWindow.AcceptsFocus instead.")
3264 def base_AcceptsFocusFromKeyboard(*args
, **kw
):
3265 return PyWindow
.AcceptsFocusFromKeyboard(*args
, **kw
)
3266 base_AcceptsFocusFromKeyboard
= wx
._deprecated
(base_AcceptsFocusFromKeyboard
,
3267 "Please use PyWindow.AcceptsFocusFromKeyboard instead.")
3269 def base_GetMaxSize(*args
, **kw
):
3270 return PyWindow
.GetMaxSize(*args
, **kw
)
3271 base_GetMaxSize
= wx
._deprecated
(base_GetMaxSize
,
3272 "Please use PyWindow.GetMaxSize instead.")
3274 def base_AddChild(*args
, **kw
):
3275 return PyWindow
.AddChild(*args
, **kw
)
3276 base_AddChild
= wx
._deprecated
(base_AddChild
,
3277 "Please use PyWindow.AddChild instead.")
3279 def base_RemoveChild(*args
, **kw
):
3280 return PyWindow
.RemoveChild(*args
, **kw
)
3281 base_RemoveChild
= wx
._deprecated
(base_RemoveChild
,
3282 "Please use PyWindow.RemoveChild instead.")
3284 def base_ShouldInheritColours(*args
, **kw
):
3285 return PyWindow
.ShouldInheritColours(*args
, **kw
)
3286 base_ShouldInheritColours
= wx
._deprecated
(base_ShouldInheritColours
,
3287 "Please use PyWindow.ShouldInheritColours instead.")
3289 def base_GetDefaultAttributes(*args
, **kw
):
3290 return PyWindow
.GetDefaultAttributes(*args
, **kw
)
3291 base_GetDefaultAttributes
= wx
._deprecated
(base_GetDefaultAttributes
,
3292 "Please use PyWindow.GetDefaultAttributes instead.")
3294 def base_OnInternalIdle(*args
, **kw
):
3295 return PyWindow
.OnInternalIdle(*args
, **kw
)
3296 base_OnInternalIdle
= wx
._deprecated
(base_OnInternalIdle
,
3297 "Please use PyWindow.OnInternalIdle instead.")
3299 _windows_
.PyWindow_swigregister(PyWindow
)
3301 def PrePyWindow(*args
, **kwargs
):
3302 """PrePyWindow() -> PyWindow"""
3303 val
= _windows_
.new_PrePyWindow(*args
, **kwargs
)
3306 class PyPanel(Panel
):
3307 """Proxy of C++ PyPanel class"""
3308 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3309 __repr__
= _swig_repr
3310 def __init__(self
, *args
, **kwargs
):
3312 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3313 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyPanel
3315 _windows_
.PyPanel_swiginit(self
,_windows_
.new_PyPanel(*args
, **kwargs
))
3316 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3318 def _setCallbackInfo(*args
, **kwargs
):
3319 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3320 return _windows_
.PyPanel__setCallbackInfo(*args
, **kwargs
)
3322 def SetBestSize(*args
, **kwargs
):
3323 """SetBestSize(self, Size size)"""
3324 return _windows_
.PyPanel_SetBestSize(*args
, **kwargs
)
3326 def DoEraseBackground(*args
, **kwargs
):
3327 """DoEraseBackground(self, DC dc) -> bool"""
3328 return _windows_
.PyPanel_DoEraseBackground(*args
, **kwargs
)
3330 def DoMoveWindow(*args
, **kwargs
):
3331 """DoMoveWindow(self, int x, int y, int width, int height)"""
3332 return _windows_
.PyPanel_DoMoveWindow(*args
, **kwargs
)
3334 def DoSetSize(*args
, **kwargs
):
3335 """DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3336 return _windows_
.PyPanel_DoSetSize(*args
, **kwargs
)
3338 def DoSetClientSize(*args
, **kwargs
):
3339 """DoSetClientSize(self, int width, int height)"""
3340 return _windows_
.PyPanel_DoSetClientSize(*args
, **kwargs
)
3342 def DoSetVirtualSize(*args
, **kwargs
):
3343 """DoSetVirtualSize(self, int x, int y)"""
3344 return _windows_
.PyPanel_DoSetVirtualSize(*args
, **kwargs
)
3346 def DoGetSize(*args
, **kwargs
):
3347 """DoGetSize() -> (width, height)"""
3348 return _windows_
.PyPanel_DoGetSize(*args
, **kwargs
)
3350 def DoGetClientSize(*args
, **kwargs
):
3351 """DoGetClientSize() -> (width, height)"""
3352 return _windows_
.PyPanel_DoGetClientSize(*args
, **kwargs
)
3354 def DoGetPosition(*args
, **kwargs
):
3355 """DoGetPosition() -> (x,y)"""
3356 return _windows_
.PyPanel_DoGetPosition(*args
, **kwargs
)
3358 def DoGetVirtualSize(*args
, **kwargs
):
3359 """DoGetVirtualSize(self) -> Size"""
3360 return _windows_
.PyPanel_DoGetVirtualSize(*args
, **kwargs
)
3362 def DoGetBestSize(*args
, **kwargs
):
3363 """DoGetBestSize(self) -> Size"""
3364 return _windows_
.PyPanel_DoGetBestSize(*args
, **kwargs
)
3366 def GetDefaultAttributes(*args
, **kwargs
):
3367 """GetDefaultAttributes(self) -> VisualAttributes"""
3368 return _windows_
.PyPanel_GetDefaultAttributes(*args
, **kwargs
)
3370 def OnInternalIdle(*args
, **kwargs
):
3371 """OnInternalIdle(self)"""
3372 return _windows_
.PyPanel_OnInternalIdle(*args
, **kwargs
)
3374 def base_DoMoveWindow(*args
, **kw
):
3375 return PyPanel
.DoMoveWindow(*args
, **kw
)
3376 base_DoMoveWindow
= wx
._deprecated
(base_DoMoveWindow
,
3377 "Please use PyPanel.DoMoveWindow instead.")
3379 def base_DoSetSize(*args
, **kw
):
3380 return PyPanel
.DoSetSize(*args
, **kw
)
3381 base_DoSetSize
= wx
._deprecated
(base_DoSetSize
,
3382 "Please use PyPanel.DoSetSize instead.")
3384 def base_DoSetClientSize(*args
, **kw
):
3385 return PyPanel
.DoSetClientSize(*args
, **kw
)
3386 base_DoSetClientSize
= wx
._deprecated
(base_DoSetClientSize
,
3387 "Please use PyPanel.DoSetClientSize instead.")
3389 def base_DoSetVirtualSize(*args
, **kw
):
3390 return PyPanel
.DoSetVirtualSize(*args
, **kw
)
3391 base_DoSetVirtualSize
= wx
._deprecated
(base_DoSetVirtualSize
,
3392 "Please use PyPanel.DoSetVirtualSize instead.")
3394 def base_DoGetSize(*args
, **kw
):
3395 return PyPanel
.DoGetSize(*args
, **kw
)
3396 base_DoGetSize
= wx
._deprecated
(base_DoGetSize
,
3397 "Please use PyPanel.DoGetSize instead.")
3399 def base_DoGetClientSize(*args
, **kw
):
3400 return PyPanel
.DoGetClientSize(*args
, **kw
)
3401 base_DoGetClientSize
= wx
._deprecated
(base_DoGetClientSize
,
3402 "Please use PyPanel.DoGetClientSize instead.")
3404 def base_DoGetPosition(*args
, **kw
):
3405 return PyPanel
.DoGetPosition(*args
, **kw
)
3406 base_DoGetPosition
= wx
._deprecated
(base_DoGetPosition
,
3407 "Please use PyPanel.DoGetPosition instead.")
3409 def base_DoGetVirtualSize(*args
, **kw
):
3410 return PyPanel
.DoGetVirtualSize(*args
, **kw
)
3411 base_DoGetVirtualSize
= wx
._deprecated
(base_DoGetVirtualSize
,
3412 "Please use PyPanel.DoGetVirtualSize instead.")
3414 def base_DoGetBestSize(*args
, **kw
):
3415 return PyPanel
.DoGetBestSize(*args
, **kw
)
3416 base_DoGetBestSize
= wx
._deprecated
(base_DoGetBestSize
,
3417 "Please use PyPanel.DoGetBestSize instead.")
3419 def base_InitDialog(*args
, **kw
):
3420 return PyPanel
.InitDialog(*args
, **kw
)
3421 base_InitDialog
= wx
._deprecated
(base_InitDialog
,
3422 "Please use PyPanel.InitDialog instead.")
3424 def base_TransferDataToWindow(*args
, **kw
):
3425 return PyPanel
.TransferDataToWindow(*args
, **kw
)
3426 base_TransferDataToWindow
= wx
._deprecated
(base_TransferDataToWindow
,
3427 "Please use PyPanel.TransferDataToWindow instead.")
3429 def base_TransferDataFromWindow(*args
, **kw
):
3430 return PyPanel
.TransferDataFromWindow(*args
, **kw
)
3431 base_TransferDataFromWindow
= wx
._deprecated
(base_TransferDataFromWindow
,
3432 "Please use PyPanel.TransferDataFromWindow instead.")
3434 def base_Validate(*args
, **kw
):
3435 return PyPanel
.Validate(*args
, **kw
)
3436 base_Validate
= wx
._deprecated
(base_Validate
,
3437 "Please use PyPanel.Validate instead.")
3439 def base_AcceptsFocus(*args
, **kw
):
3440 return PyPanel
.AcceptsFocus(*args
, **kw
)
3441 base_AcceptsFocus
= wx
._deprecated
(base_AcceptsFocus
,
3442 "Please use PyPanel.AcceptsFocus instead.")
3444 def base_AcceptsFocusFromKeyboard(*args
, **kw
):
3445 return PyPanel
.AcceptsFocusFromKeyboard(*args
, **kw
)
3446 base_AcceptsFocusFromKeyboard
= wx
._deprecated
(base_AcceptsFocusFromKeyboard
,
3447 "Please use PyPanel.AcceptsFocusFromKeyboard instead.")
3449 def base_GetMaxSize(*args
, **kw
):
3450 return PyPanel
.GetMaxSize(*args
, **kw
)
3451 base_GetMaxSize
= wx
._deprecated
(base_GetMaxSize
,
3452 "Please use PyPanel.GetMaxSize instead.")
3454 def base_AddChild(*args
, **kw
):
3455 return PyPanel
.AddChild(*args
, **kw
)
3456 base_AddChild
= wx
._deprecated
(base_AddChild
,
3457 "Please use PyPanel.AddChild instead.")
3459 def base_RemoveChild(*args
, **kw
):
3460 return PyPanel
.RemoveChild(*args
, **kw
)
3461 base_RemoveChild
= wx
._deprecated
(base_RemoveChild
,
3462 "Please use PyPanel.RemoveChild instead.")
3464 def base_ShouldInheritColours(*args
, **kw
):
3465 return PyPanel
.ShouldInheritColours(*args
, **kw
)
3466 base_ShouldInheritColours
= wx
._deprecated
(base_ShouldInheritColours
,
3467 "Please use PyPanel.ShouldInheritColours instead.")
3469 def base_GetDefaultAttributes(*args
, **kw
):
3470 return PyPanel
.GetDefaultAttributes(*args
, **kw
)
3471 base_GetDefaultAttributes
= wx
._deprecated
(base_GetDefaultAttributes
,
3472 "Please use PyPanel.GetDefaultAttributes instead.")
3474 def base_OnInternalIdle(*args
, **kw
):
3475 return PyPanel
.OnInternalIdle(*args
, **kw
)
3476 base_OnInternalIdle
= wx
._deprecated
(base_OnInternalIdle
,
3477 "Please use PyPanel.OnInternalIdle instead.")
3479 _windows_
.PyPanel_swigregister(PyPanel
)
3481 def PrePyPanel(*args
, **kwargs
):
3482 """PrePyPanel() -> PyPanel"""
3483 val
= _windows_
.new_PrePyPanel(*args
, **kwargs
)
3486 class PyScrolledWindow(ScrolledWindow
):
3487 """Proxy of C++ PyScrolledWindow class"""
3488 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3489 __repr__
= _swig_repr
3490 def __init__(self
, *args
, **kwargs
):
3492 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3493 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyScrolledWindow
3495 _windows_
.PyScrolledWindow_swiginit(self
,_windows_
.new_PyScrolledWindow(*args
, **kwargs
))
3496 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyScrolledWindow
)
3498 def _setCallbackInfo(*args
, **kwargs
):
3499 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3500 return _windows_
.PyScrolledWindow__setCallbackInfo(*args
, **kwargs
)
3502 def SetBestSize(*args
, **kwargs
):
3503 """SetBestSize(self, Size size)"""
3504 return _windows_
.PyScrolledWindow_SetBestSize(*args
, **kwargs
)
3506 def DoEraseBackground(*args
, **kwargs
):
3507 """DoEraseBackground(self, DC dc) -> bool"""
3508 return _windows_
.PyScrolledWindow_DoEraseBackground(*args
, **kwargs
)
3510 def DoMoveWindow(*args
, **kwargs
):
3511 """DoMoveWindow(self, int x, int y, int width, int height)"""
3512 return _windows_
.PyScrolledWindow_DoMoveWindow(*args
, **kwargs
)
3514 def DoSetSize(*args
, **kwargs
):
3515 """DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3516 return _windows_
.PyScrolledWindow_DoSetSize(*args
, **kwargs
)
3518 def DoSetClientSize(*args
, **kwargs
):
3519 """DoSetClientSize(self, int width, int height)"""
3520 return _windows_
.PyScrolledWindow_DoSetClientSize(*args
, **kwargs
)
3522 def DoSetVirtualSize(*args
, **kwargs
):
3523 """DoSetVirtualSize(self, int x, int y)"""
3524 return _windows_
.PyScrolledWindow_DoSetVirtualSize(*args
, **kwargs
)
3526 def DoGetSize(*args
, **kwargs
):
3527 """DoGetSize() -> (width, height)"""
3528 return _windows_
.PyScrolledWindow_DoGetSize(*args
, **kwargs
)
3530 def DoGetClientSize(*args
, **kwargs
):
3531 """DoGetClientSize() -> (width, height)"""
3532 return _windows_
.PyScrolledWindow_DoGetClientSize(*args
, **kwargs
)
3534 def DoGetPosition(*args
, **kwargs
):
3535 """DoGetPosition() -> (x,y)"""
3536 return _windows_
.PyScrolledWindow_DoGetPosition(*args
, **kwargs
)
3538 def DoGetVirtualSize(*args
, **kwargs
):
3539 """DoGetVirtualSize(self) -> Size"""
3540 return _windows_
.PyScrolledWindow_DoGetVirtualSize(*args
, **kwargs
)
3542 def DoGetBestSize(*args
, **kwargs
):
3543 """DoGetBestSize(self) -> Size"""
3544 return _windows_
.PyScrolledWindow_DoGetBestSize(*args
, **kwargs
)
3546 def GetDefaultAttributes(*args
, **kwargs
):
3547 """GetDefaultAttributes(self) -> VisualAttributes"""
3548 return _windows_
.PyScrolledWindow_GetDefaultAttributes(*args
, **kwargs
)
3550 def OnInternalIdle(*args
, **kwargs
):
3551 """OnInternalIdle(self)"""
3552 return _windows_
.PyScrolledWindow_OnInternalIdle(*args
, **kwargs
)
3554 def base_DoMoveWindow(*args
, **kw
):
3555 return PyScrolledWindow
.DoMoveWindow(*args
, **kw
)
3556 base_DoMoveWindow
= wx
._deprecated
(base_DoMoveWindow
,
3557 "Please use PyScrolledWindow.DoMoveWindow instead.")
3559 def base_DoSetSize(*args
, **kw
):
3560 return PyScrolledWindow
.DoSetSize(*args
, **kw
)
3561 base_DoSetSize
= wx
._deprecated
(base_DoSetSize
,
3562 "Please use PyScrolledWindow.DoSetSize instead.")
3564 def base_DoSetClientSize(*args
, **kw
):
3565 return PyScrolledWindow
.DoSetClientSize(*args
, **kw
)
3566 base_DoSetClientSize
= wx
._deprecated
(base_DoSetClientSize
,
3567 "Please use PyScrolledWindow.DoSetClientSize instead.")
3569 def base_DoSetVirtualSize(*args
, **kw
):
3570 return PyScrolledWindow
.DoSetVirtualSize(*args
, **kw
)
3571 base_DoSetVirtualSize
= wx
._deprecated
(base_DoSetVirtualSize
,
3572 "Please use PyScrolledWindow.DoSetVirtualSize instead.")
3574 def base_DoGetSize(*args
, **kw
):
3575 return PyScrolledWindow
.DoGetSize(*args
, **kw
)
3576 base_DoGetSize
= wx
._deprecated
(base_DoGetSize
,
3577 "Please use PyScrolledWindow.DoGetSize instead.")
3579 def base_DoGetClientSize(*args
, **kw
):
3580 return PyScrolledWindow
.DoGetClientSize(*args
, **kw
)
3581 base_DoGetClientSize
= wx
._deprecated
(base_DoGetClientSize
,
3582 "Please use PyScrolledWindow.DoGetClientSize instead.")
3584 def base_DoGetPosition(*args
, **kw
):
3585 return PyScrolledWindow
.DoGetPosition(*args
, **kw
)
3586 base_DoGetPosition
= wx
._deprecated
(base_DoGetPosition
,
3587 "Please use PyScrolledWindow.DoGetPosition instead.")
3589 def base_DoGetVirtualSize(*args
, **kw
):
3590 return PyScrolledWindow
.DoGetVirtualSize(*args
, **kw
)
3591 base_DoGetVirtualSize
= wx
._deprecated
(base_DoGetVirtualSize
,
3592 "Please use PyScrolledWindow.DoGetVirtualSize instead.")
3594 def base_DoGetBestSize(*args
, **kw
):
3595 return PyScrolledWindow
.DoGetBestSize(*args
, **kw
)
3596 base_DoGetBestSize
= wx
._deprecated
(base_DoGetBestSize
,
3597 "Please use PyScrolledWindow.DoGetBestSize instead.")
3599 def base_InitDialog(*args
, **kw
):
3600 return PyScrolledWindow
.InitDialog(*args
, **kw
)
3601 base_InitDialog
= wx
._deprecated
(base_InitDialog
,
3602 "Please use PyScrolledWindow.InitDialog instead.")
3604 def base_TransferDataToWindow(*args
, **kw
):
3605 return PyScrolledWindow
.TransferDataToWindow(*args
, **kw
)
3606 base_TransferDataToWindow
= wx
._deprecated
(base_TransferDataToWindow
,
3607 "Please use PyScrolledWindow.TransferDataToWindow instead.")
3609 def base_TransferDataFromWindow(*args
, **kw
):
3610 return PyScrolledWindow
.TransferDataFromWindow(*args
, **kw
)
3611 base_TransferDataFromWindow
= wx
._deprecated
(base_TransferDataFromWindow
,
3612 "Please use PyScrolledWindow.TransferDataFromWindow instead.")
3614 def base_Validate(*args
, **kw
):
3615 return PyScrolledWindow
.Validate(*args
, **kw
)
3616 base_Validate
= wx
._deprecated
(base_Validate
,
3617 "Please use PyScrolledWindow.Validate instead.")
3619 def base_AcceptsFocus(*args
, **kw
):
3620 return PyScrolledWindow
.AcceptsFocus(*args
, **kw
)
3621 base_AcceptsFocus
= wx
._deprecated
(base_AcceptsFocus
,
3622 "Please use PyScrolledWindow.AcceptsFocus instead.")
3624 def base_AcceptsFocusFromKeyboard(*args
, **kw
):
3625 return PyScrolledWindow
.AcceptsFocusFromKeyboard(*args
, **kw
)
3626 base_AcceptsFocusFromKeyboard
= wx
._deprecated
(base_AcceptsFocusFromKeyboard
,
3627 "Please use PyScrolledWindow.AcceptsFocusFromKeyboard instead.")
3629 def base_GetMaxSize(*args
, **kw
):
3630 return PyScrolledWindow
.GetMaxSize(*args
, **kw
)
3631 base_GetMaxSize
= wx
._deprecated
(base_GetMaxSize
,
3632 "Please use PyScrolledWindow.GetMaxSize instead.")
3634 def base_AddChild(*args
, **kw
):
3635 return PyScrolledWindow
.AddChild(*args
, **kw
)
3636 base_AddChild
= wx
._deprecated
(base_AddChild
,
3637 "Please use PyScrolledWindow.AddChild instead.")
3639 def base_RemoveChild(*args
, **kw
):
3640 return PyScrolledWindow
.RemoveChild(*args
, **kw
)
3641 base_RemoveChild
= wx
._deprecated
(base_RemoveChild
,
3642 "Please use PyScrolledWindow.RemoveChild instead.")
3644 def base_ShouldInheritColours(*args
, **kw
):
3645 return PyScrolledWindow
.ShouldInheritColours(*args
, **kw
)
3646 base_ShouldInheritColours
= wx
._deprecated
(base_ShouldInheritColours
,
3647 "Please use PyScrolledWindow.ShouldInheritColours instead.")
3649 def base_GetDefaultAttributes(*args
, **kw
):
3650 return PyScrolledWindow
.GetDefaultAttributes(*args
, **kw
)
3651 base_GetDefaultAttributes
= wx
._deprecated
(base_GetDefaultAttributes
,
3652 "Please use PyScrolledWindow.GetDefaultAttributes instead.")
3654 def base_OnInternalIdle(*args
, **kw
):
3655 return PyScrolledWindow
.OnInternalIdle(*args
, **kw
)
3656 base_OnInternalIdle
= wx
._deprecated
(base_OnInternalIdle
,
3657 "Please use PyScrolledWindow.OnInternalIdle instead.")
3659 _windows_
.PyScrolledWindow_swigregister(PyScrolledWindow
)
3661 def PrePyScrolledWindow(*args
, **kwargs
):
3662 """PrePyScrolledWindow() -> PyScrolledWindow"""
3663 val
= _windows_
.new_PrePyScrolledWindow(*args
, **kwargs
)
3666 #---------------------------------------------------------------------------
3668 PRINT_MODE_NONE
= _windows_
.PRINT_MODE_NONE
3669 PRINT_MODE_PREVIEW
= _windows_
.PRINT_MODE_PREVIEW
3670 PRINT_MODE_FILE
= _windows_
.PRINT_MODE_FILE
3671 PRINT_MODE_PRINTER
= _windows_
.PRINT_MODE_PRINTER
3672 PRINT_MODE_STREAM
= _windows_
.PRINT_MODE_STREAM
3673 PRINTBIN_DEFAULT
= _windows_
.PRINTBIN_DEFAULT
3674 PRINTBIN_ONLYONE
= _windows_
.PRINTBIN_ONLYONE
3675 PRINTBIN_LOWER
= _windows_
.PRINTBIN_LOWER
3676 PRINTBIN_MIDDLE
= _windows_
.PRINTBIN_MIDDLE
3677 PRINTBIN_MANUAL
= _windows_
.PRINTBIN_MANUAL
3678 PRINTBIN_ENVELOPE
= _windows_
.PRINTBIN_ENVELOPE
3679 PRINTBIN_ENVMANUAL
= _windows_
.PRINTBIN_ENVMANUAL
3680 PRINTBIN_AUTO
= _windows_
.PRINTBIN_AUTO
3681 PRINTBIN_TRACTOR
= _windows_
.PRINTBIN_TRACTOR
3682 PRINTBIN_SMALLFMT
= _windows_
.PRINTBIN_SMALLFMT
3683 PRINTBIN_LARGEFMT
= _windows_
.PRINTBIN_LARGEFMT
3684 PRINTBIN_LARGECAPACITY
= _windows_
.PRINTBIN_LARGECAPACITY
3685 PRINTBIN_CASSETTE
= _windows_
.PRINTBIN_CASSETTE
3686 PRINTBIN_FORMSOURCE
= _windows_
.PRINTBIN_FORMSOURCE
3687 PRINTBIN_USER
= _windows_
.PRINTBIN_USER
3688 class PrintData(_core
.Object
):
3689 """Proxy of C++ PrintData class"""
3690 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3691 __repr__
= _swig_repr
3692 def __init__(self
, *args
):
3694 __init__(self) -> PrintData
3695 __init__(self, PrintData data) -> PrintData
3697 _windows_
.PrintData_swiginit(self
,_windows_
.new_PrintData(*args
))
3698 __swig_destroy__
= _windows_
.delete_PrintData
3699 __del__
= lambda self
: None;
3700 def GetNoCopies(*args
, **kwargs
):
3701 """GetNoCopies(self) -> int"""
3702 return _windows_
.PrintData_GetNoCopies(*args
, **kwargs
)
3704 def GetCollate(*args
, **kwargs
):
3705 """GetCollate(self) -> bool"""
3706 return _windows_
.PrintData_GetCollate(*args
, **kwargs
)
3708 def GetOrientation(*args
, **kwargs
):
3709 """GetOrientation(self) -> int"""
3710 return _windows_
.PrintData_GetOrientation(*args
, **kwargs
)
3712 def Ok(*args
, **kwargs
):
3713 """Ok(self) -> bool"""
3714 return _windows_
.PrintData_Ok(*args
, **kwargs
)
3716 def GetPrinterName(*args
, **kwargs
):
3717 """GetPrinterName(self) -> String"""
3718 return _windows_
.PrintData_GetPrinterName(*args
, **kwargs
)
3720 def GetColour(*args
, **kwargs
):
3721 """GetColour(self) -> bool"""
3722 return _windows_
.PrintData_GetColour(*args
, **kwargs
)
3724 def GetDuplex(*args
, **kwargs
):
3725 """GetDuplex(self) -> int"""
3726 return _windows_
.PrintData_GetDuplex(*args
, **kwargs
)
3728 def GetPaperId(*args
, **kwargs
):
3729 """GetPaperId(self) -> int"""
3730 return _windows_
.PrintData_GetPaperId(*args
, **kwargs
)
3732 def GetPaperSize(*args
, **kwargs
):
3733 """GetPaperSize(self) -> Size"""
3734 return _windows_
.PrintData_GetPaperSize(*args
, **kwargs
)
3736 def GetQuality(*args
, **kwargs
):
3737 """GetQuality(self) -> int"""
3738 return _windows_
.PrintData_GetQuality(*args
, **kwargs
)
3740 def GetBin(*args
, **kwargs
):
3741 """GetBin(self) -> int"""
3742 return _windows_
.PrintData_GetBin(*args
, **kwargs
)
3744 def GetPrintMode(*args
, **kwargs
):
3745 """GetPrintMode(self) -> int"""
3746 return _windows_
.PrintData_GetPrintMode(*args
, **kwargs
)
3748 def SetNoCopies(*args
, **kwargs
):
3749 """SetNoCopies(self, int v)"""
3750 return _windows_
.PrintData_SetNoCopies(*args
, **kwargs
)
3752 def SetCollate(*args
, **kwargs
):
3753 """SetCollate(self, bool flag)"""
3754 return _windows_
.PrintData_SetCollate(*args
, **kwargs
)
3756 def SetOrientation(*args
, **kwargs
):
3757 """SetOrientation(self, int orient)"""
3758 return _windows_
.PrintData_SetOrientation(*args
, **kwargs
)
3760 def SetPrinterName(*args
, **kwargs
):
3761 """SetPrinterName(self, String name)"""
3762 return _windows_
.PrintData_SetPrinterName(*args
, **kwargs
)
3764 def SetColour(*args
, **kwargs
):
3765 """SetColour(self, bool colour)"""
3766 return _windows_
.PrintData_SetColour(*args
, **kwargs
)
3768 def SetDuplex(*args
, **kwargs
):
3769 """SetDuplex(self, int duplex)"""
3770 return _windows_
.PrintData_SetDuplex(*args
, **kwargs
)
3772 def SetPaperId(*args
, **kwargs
):
3773 """SetPaperId(self, int sizeId)"""
3774 return _windows_
.PrintData_SetPaperId(*args
, **kwargs
)
3776 def SetPaperSize(*args
, **kwargs
):
3777 """SetPaperSize(self, Size sz)"""
3778 return _windows_
.PrintData_SetPaperSize(*args
, **kwargs
)
3780 def SetQuality(*args
, **kwargs
):
3781 """SetQuality(self, int quality)"""
3782 return _windows_
.PrintData_SetQuality(*args
, **kwargs
)
3784 def SetBin(*args
, **kwargs
):
3785 """SetBin(self, int bin)"""
3786 return _windows_
.PrintData_SetBin(*args
, **kwargs
)
3788 def SetPrintMode(*args
, **kwargs
):
3789 """SetPrintMode(self, int printMode)"""
3790 return _windows_
.PrintData_SetPrintMode(*args
, **kwargs
)
3792 def GetFilename(*args
, **kwargs
):
3793 """GetFilename(self) -> String"""
3794 return _windows_
.PrintData_GetFilename(*args
, **kwargs
)
3796 def SetFilename(*args
, **kwargs
):
3797 """SetFilename(self, String filename)"""
3798 return _windows_
.PrintData_SetFilename(*args
, **kwargs
)
3800 def __nonzero__(self
): return self
.Ok()
3801 def GetPrivData(*args
, **kwargs
):
3802 """GetPrivData(self) -> PyObject"""
3803 return _windows_
.PrintData_GetPrivData(*args
, **kwargs
)
3805 def SetPrivData(*args
, **kwargs
):
3806 """SetPrivData(self, PyObject data)"""
3807 return _windows_
.PrintData_SetPrivData(*args
, **kwargs
)
3809 _windows_
.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 _windows_
.PageSetupDialogData_swigregister(PageSetupDialogData
)
3953 class PageSetupDialog(_core
.Object
):
3954 """Proxy of C++ PageSetupDialog class"""
3955 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3956 __repr__
= _swig_repr
3957 def __init__(self
, *args
, **kwargs
):
3958 """__init__(self, Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
3959 _windows_
.PageSetupDialog_swiginit(self
,_windows_
.new_PageSetupDialog(*args
, **kwargs
))
3960 __swig_destroy__
= _windows_
.delete_PageSetupDialog
3961 __del__
= lambda self
: None;
3962 def GetPageSetupData(*args
, **kwargs
):
3963 """GetPageSetupData(self) -> PageSetupDialogData"""
3964 return _windows_
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
3966 def GetPageSetupDialogData(*args
, **kwargs
):
3967 """GetPageSetupDialogData(self) -> PageSetupDialogData"""
3968 return _windows_
.PageSetupDialog_GetPageSetupDialogData(*args
, **kwargs
)
3970 def ShowModal(*args
, **kwargs
):
3971 """ShowModal(self) -> int"""
3972 return _windows_
.PageSetupDialog_ShowModal(*args
, **kwargs
)
3974 def Destroy(self
): pass
3975 _windows_
.PageSetupDialog_swigregister(PageSetupDialog
)
3977 class PrintDialogData(_core
.Object
):
3978 """Proxy of C++ PrintDialogData class"""
3979 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3980 __repr__
= _swig_repr
3981 def __init__(self
, *args
):
3983 __init__(self) -> PrintDialogData
3984 __init__(self, PrintData printData) -> PrintDialogData
3985 __init__(self, PrintDialogData printData) -> PrintDialogData
3987 _windows_
.PrintDialogData_swiginit(self
,_windows_
.new_PrintDialogData(*args
))
3988 __swig_destroy__
= _windows_
.delete_PrintDialogData
3989 __del__
= lambda self
: None;
3990 def GetFromPage(*args
, **kwargs
):
3991 """GetFromPage(self) -> int"""
3992 return _windows_
.PrintDialogData_GetFromPage(*args
, **kwargs
)
3994 def GetToPage(*args
, **kwargs
):
3995 """GetToPage(self) -> int"""
3996 return _windows_
.PrintDialogData_GetToPage(*args
, **kwargs
)
3998 def GetMinPage(*args
, **kwargs
):
3999 """GetMinPage(self) -> int"""
4000 return _windows_
.PrintDialogData_GetMinPage(*args
, **kwargs
)
4002 def GetMaxPage(*args
, **kwargs
):
4003 """GetMaxPage(self) -> int"""
4004 return _windows_
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
4006 def GetNoCopies(*args
, **kwargs
):
4007 """GetNoCopies(self) -> int"""
4008 return _windows_
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
4010 def GetAllPages(*args
, **kwargs
):
4011 """GetAllPages(self) -> bool"""
4012 return _windows_
.PrintDialogData_GetAllPages(*args
, **kwargs
)
4014 def GetSelection(*args
, **kwargs
):
4015 """GetSelection(self) -> bool"""
4016 return _windows_
.PrintDialogData_GetSelection(*args
, **kwargs
)
4018 def GetCollate(*args
, **kwargs
):
4019 """GetCollate(self) -> bool"""
4020 return _windows_
.PrintDialogData_GetCollate(*args
, **kwargs
)
4022 def GetPrintToFile(*args
, **kwargs
):
4023 """GetPrintToFile(self) -> bool"""
4024 return _windows_
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
4026 def SetFromPage(*args
, **kwargs
):
4027 """SetFromPage(self, int v)"""
4028 return _windows_
.PrintDialogData_SetFromPage(*args
, **kwargs
)
4030 def SetToPage(*args
, **kwargs
):
4031 """SetToPage(self, int v)"""
4032 return _windows_
.PrintDialogData_SetToPage(*args
, **kwargs
)
4034 def SetMinPage(*args
, **kwargs
):
4035 """SetMinPage(self, int v)"""
4036 return _windows_
.PrintDialogData_SetMinPage(*args
, **kwargs
)
4038 def SetMaxPage(*args
, **kwargs
):
4039 """SetMaxPage(self, int v)"""
4040 return _windows_
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
4042 def SetNoCopies(*args
, **kwargs
):
4043 """SetNoCopies(self, int v)"""
4044 return _windows_
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
4046 def SetAllPages(*args
, **kwargs
):
4047 """SetAllPages(self, bool flag)"""
4048 return _windows_
.PrintDialogData_SetAllPages(*args
, **kwargs
)
4050 def SetSelection(*args
, **kwargs
):
4051 """SetSelection(self, bool flag)"""
4052 return _windows_
.PrintDialogData_SetSelection(*args
, **kwargs
)
4054 def SetCollate(*args
, **kwargs
):
4055 """SetCollate(self, bool flag)"""
4056 return _windows_
.PrintDialogData_SetCollate(*args
, **kwargs
)
4058 def SetPrintToFile(*args
, **kwargs
):
4059 """SetPrintToFile(self, bool flag)"""
4060 return _windows_
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
4062 def EnablePrintToFile(*args
, **kwargs
):
4063 """EnablePrintToFile(self, bool flag)"""
4064 return _windows_
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
4066 def EnableSelection(*args
, **kwargs
):
4067 """EnableSelection(self, bool flag)"""
4068 return _windows_
.PrintDialogData_EnableSelection(*args
, **kwargs
)
4070 def EnablePageNumbers(*args
, **kwargs
):
4071 """EnablePageNumbers(self, bool flag)"""
4072 return _windows_
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
4074 def EnableHelp(*args
, **kwargs
):
4075 """EnableHelp(self, bool flag)"""
4076 return _windows_
.PrintDialogData_EnableHelp(*args
, **kwargs
)
4078 def GetEnablePrintToFile(*args
, **kwargs
):
4079 """GetEnablePrintToFile(self) -> bool"""
4080 return _windows_
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
4082 def GetEnableSelection(*args
, **kwargs
):
4083 """GetEnableSelection(self) -> bool"""
4084 return _windows_
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
4086 def GetEnablePageNumbers(*args
, **kwargs
):
4087 """GetEnablePageNumbers(self) -> bool"""
4088 return _windows_
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
4090 def GetEnableHelp(*args
, **kwargs
):
4091 """GetEnableHelp(self) -> bool"""
4092 return _windows_
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
4094 def Ok(*args
, **kwargs
):
4095 """Ok(self) -> bool"""
4096 return _windows_
.PrintDialogData_Ok(*args
, **kwargs
)
4098 def GetPrintData(*args
, **kwargs
):
4099 """GetPrintData(self) -> PrintData"""
4100 return _windows_
.PrintDialogData_GetPrintData(*args
, **kwargs
)
4102 def SetPrintData(*args
, **kwargs
):
4103 """SetPrintData(self, PrintData printData)"""
4104 return _windows_
.PrintDialogData_SetPrintData(*args
, **kwargs
)
4106 def __nonzero__(self
): return self
.Ok()
4107 _windows_
.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 __swig_destroy__
= _windows_
.delete_PrintDialog
4117 __del__
= lambda self
: None;
4118 def ShowModal(*args
, **kwargs
):
4119 """ShowModal(self) -> int"""
4120 return _windows_
.PrintDialog_ShowModal(*args
, **kwargs
)
4122 def GetPrintDialogData(*args
, **kwargs
):
4123 """GetPrintDialogData(self) -> PrintDialogData"""
4124 return _windows_
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
4126 def GetPrintData(*args
, **kwargs
):
4127 """GetPrintData(self) -> PrintData"""
4128 return _windows_
.PrintDialog_GetPrintData(*args
, **kwargs
)
4130 def GetPrintDC(*args
, **kwargs
):
4131 """GetPrintDC(self) -> DC"""
4132 return _windows_
.PrintDialog_GetPrintDC(*args
, **kwargs
)
4134 def Destroy(self
): pass
4135 _windows_
.PrintDialog_swigregister(PrintDialog
)
4137 PRINTER_NO_ERROR
= _windows_
.PRINTER_NO_ERROR
4138 PRINTER_CANCELLED
= _windows_
.PRINTER_CANCELLED
4139 PRINTER_ERROR
= _windows_
.PRINTER_ERROR
4140 class Printer(_core
.Object
):
4141 """Proxy of C++ Printer class"""
4142 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4143 __repr__
= _swig_repr
4144 def __init__(self
, *args
, **kwargs
):
4145 """__init__(self, PrintDialogData data=None) -> Printer"""
4146 _windows_
.Printer_swiginit(self
,_windows_
.new_Printer(*args
, **kwargs
))
4147 __swig_destroy__
= _windows_
.delete_Printer
4148 __del__
= lambda self
: None;
4149 def CreateAbortWindow(*args
, **kwargs
):
4150 """CreateAbortWindow(self, Window parent, Printout printout) -> Window"""
4151 return _windows_
.Printer_CreateAbortWindow(*args
, **kwargs
)
4153 def ReportError(*args
, **kwargs
):
4154 """ReportError(self, Window parent, Printout printout, String message)"""
4155 return _windows_
.Printer_ReportError(*args
, **kwargs
)
4157 def Setup(*args
, **kwargs
):
4158 """Setup(self, Window parent) -> bool"""
4159 return _windows_
.Printer_Setup(*args
, **kwargs
)
4161 def Print(*args
, **kwargs
):
4162 """Print(self, Window parent, Printout printout, bool prompt=True) -> bool"""
4163 return _windows_
.Printer_Print(*args
, **kwargs
)
4165 def PrintDialog(*args
, **kwargs
):
4166 """PrintDialog(self, Window parent) -> DC"""
4167 return _windows_
.Printer_PrintDialog(*args
, **kwargs
)
4169 def GetPrintDialogData(*args
, **kwargs
):
4170 """GetPrintDialogData(self) -> PrintDialogData"""
4171 return _windows_
.Printer_GetPrintDialogData(*args
, **kwargs
)
4173 def GetAbort(*args
, **kwargs
):
4174 """GetAbort(self) -> bool"""
4175 return _windows_
.Printer_GetAbort(*args
, **kwargs
)
4177 def GetLastError(*args
, **kwargs
):
4178 """GetLastError() -> int"""
4179 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4181 GetLastError
= staticmethod(GetLastError
)
4182 _windows_
.Printer_swigregister(Printer
)
4184 def Printer_GetLastError(*args
):
4185 """Printer_GetLastError() -> int"""
4186 return _windows_
.Printer_GetLastError(*args
)
4188 class Printout(_core
.Object
):
4189 """Proxy of C++ Printout class"""
4190 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4191 __repr__
= _swig_repr
4192 def __init__(self
, *args
, **kwargs
):
4193 """__init__(self, String title=PrintoutTitleStr) -> Printout"""
4194 _windows_
.Printout_swiginit(self
,_windows_
.new_Printout(*args
, **kwargs
))
4195 self
._setCallbackInfo
(self
, Printout
)
4197 __swig_destroy__
= _windows_
.delete_Printout
4198 __del__
= lambda self
: None;
4199 def _setCallbackInfo(*args
, **kwargs
):
4200 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4201 return _windows_
.Printout__setCallbackInfo(*args
, **kwargs
)
4203 def GetTitle(*args
, **kwargs
):
4204 """GetTitle(self) -> String"""
4205 return _windows_
.Printout_GetTitle(*args
, **kwargs
)
4207 def GetDC(*args
, **kwargs
):
4208 """GetDC(self) -> DC"""
4209 return _windows_
.Printout_GetDC(*args
, **kwargs
)
4211 def SetDC(*args
, **kwargs
):
4212 """SetDC(self, DC dc)"""
4213 return _windows_
.Printout_SetDC(*args
, **kwargs
)
4215 def SetPageSizePixels(*args
, **kwargs
):
4216 """SetPageSizePixels(self, int w, int h)"""
4217 return _windows_
.Printout_SetPageSizePixels(*args
, **kwargs
)
4219 def GetPageSizePixels(*args
, **kwargs
):
4220 """GetPageSizePixels() -> (w, h)"""
4221 return _windows_
.Printout_GetPageSizePixels(*args
, **kwargs
)
4223 def SetPageSizeMM(*args
, **kwargs
):
4224 """SetPageSizeMM(self, int w, int h)"""
4225 return _windows_
.Printout_SetPageSizeMM(*args
, **kwargs
)
4227 def GetPageSizeMM(*args
, **kwargs
):
4228 """GetPageSizeMM() -> (w, h)"""
4229 return _windows_
.Printout_GetPageSizeMM(*args
, **kwargs
)
4231 def SetPPIScreen(*args
, **kwargs
):
4232 """SetPPIScreen(self, int x, int y)"""
4233 return _windows_
.Printout_SetPPIScreen(*args
, **kwargs
)
4235 def GetPPIScreen(*args
, **kwargs
):
4236 """GetPPIScreen() -> (x,y)"""
4237 return _windows_
.Printout_GetPPIScreen(*args
, **kwargs
)
4239 def SetPPIPrinter(*args
, **kwargs
):
4240 """SetPPIPrinter(self, int x, int y)"""
4241 return _windows_
.Printout_SetPPIPrinter(*args
, **kwargs
)
4243 def GetPPIPrinter(*args
, **kwargs
):
4244 """GetPPIPrinter() -> (x,y)"""
4245 return _windows_
.Printout_GetPPIPrinter(*args
, **kwargs
)
4247 def IsPreview(*args
, **kwargs
):
4248 """IsPreview(self) -> bool"""
4249 return _windows_
.Printout_IsPreview(*args
, **kwargs
)
4251 def SetIsPreview(*args
, **kwargs
):
4252 """SetIsPreview(self, bool p)"""
4253 return _windows_
.Printout_SetIsPreview(*args
, **kwargs
)
4255 def OnBeginDocument(*args
, **kwargs
):
4256 """OnBeginDocument(self, int startPage, int endPage) -> bool"""
4257 return _windows_
.Printout_OnBeginDocument(*args
, **kwargs
)
4259 def OnEndDocument(*args
, **kwargs
):
4260 """OnEndDocument(self)"""
4261 return _windows_
.Printout_OnEndDocument(*args
, **kwargs
)
4263 def OnBeginPrinting(*args
, **kwargs
):
4264 """OnBeginPrinting(self)"""
4265 return _windows_
.Printout_OnBeginPrinting(*args
, **kwargs
)
4267 def OnEndPrinting(*args
, **kwargs
):
4268 """OnEndPrinting(self)"""
4269 return _windows_
.Printout_OnEndPrinting(*args
, **kwargs
)
4271 def OnPreparePrinting(*args
, **kwargs
):
4272 """OnPreparePrinting(self)"""
4273 return _windows_
.Printout_OnPreparePrinting(*args
, **kwargs
)
4275 def HasPage(*args
, **kwargs
):
4276 """HasPage(self, int page) -> bool"""
4277 return _windows_
.Printout_HasPage(*args
, **kwargs
)
4279 def GetPageInfo(*args
, **kwargs
):
4280 """GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
4281 return _windows_
.Printout_GetPageInfo(*args
, **kwargs
)
4283 def base_OnBeginDocument(*args
, **kw
):
4284 return Printout
.OnBeginDocument(*args
, **kw
)
4285 base_OnBeginDocument
= wx
._deprecated
(base_OnBeginDocument
,
4286 "Please use Printout.OnBeginDocument instead.")
4288 def base_OnEndDocument(*args
, **kw
):
4289 return Printout
.OnEndDocument(*args
, **kw
)
4290 base_OnEndDocument
= wx
._deprecated
(base_OnEndDocument
,
4291 "Please use Printout.OnEndDocument instead.")
4293 def base_OnBeginPrinting(*args
, **kw
):
4294 return Printout
.OnBeginPrinting(*args
, **kw
)
4295 base_OnBeginPrinting
= wx
._deprecated
(base_OnBeginPrinting
,
4296 "Please use Printout.OnBeginPrinting instead.")
4298 def base_OnEndPrinting(*args
, **kw
):
4299 return Printout
.OnEndPrinting(*args
, **kw
)
4300 base_OnEndPrinting
= wx
._deprecated
(base_OnEndPrinting
,
4301 "Please use Printout.OnEndPrinting instead.")
4303 def base_OnPreparePrinting(*args
, **kw
):
4304 return Printout
.OnPreparePrinting(*args
, **kw
)
4305 base_OnPreparePrinting
= wx
._deprecated
(base_OnPreparePrinting
,
4306 "Please use Printout.OnPreparePrinting instead.")
4308 def base_GetPageInfo(*args
, **kw
):
4309 return Printout
.GetPageInfo(*args
, **kw
)
4310 base_GetPageInfo
= wx
._deprecated
(base_GetPageInfo
,
4311 "Please use Printout.GetPageInfo instead.")
4313 _windows_
.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 _windows_
.PreviewCanvas_swigregister(PreviewCanvas
)
4330 class PreviewFrame(Frame
):
4331 """Proxy of C++ PreviewFrame class"""
4332 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4333 __repr__
= _swig_repr
4334 def __init__(self
, *args
, **kwargs
):
4336 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4337 Size size=DefaultSize,
4338 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
4340 _windows_
.PreviewFrame_swiginit(self
,_windows_
.new_PreviewFrame(*args
, **kwargs
))
4341 self
._setOORInfo
(self
)
4343 def Initialize(*args
, **kwargs
):
4344 """Initialize(self)"""
4345 return _windows_
.PreviewFrame_Initialize(*args
, **kwargs
)
4347 def CreateControlBar(*args
, **kwargs
):
4348 """CreateControlBar(self)"""
4349 return _windows_
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
4351 def CreateCanvas(*args
, **kwargs
):
4352 """CreateCanvas(self)"""
4353 return _windows_
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
4355 def GetControlBar(*args
, **kwargs
):
4356 """GetControlBar(self) -> PreviewControlBar"""
4357 return _windows_
.PreviewFrame_GetControlBar(*args
, **kwargs
)
4359 _windows_
.PreviewFrame_swigregister(PreviewFrame
)
4361 PREVIEW_PRINT
= _windows_
.PREVIEW_PRINT
4362 PREVIEW_PREVIOUS
= _windows_
.PREVIEW_PREVIOUS
4363 PREVIEW_NEXT
= _windows_
.PREVIEW_NEXT
4364 PREVIEW_ZOOM
= _windows_
.PREVIEW_ZOOM
4365 PREVIEW_FIRST
= _windows_
.PREVIEW_FIRST
4366 PREVIEW_LAST
= _windows_
.PREVIEW_LAST
4367 PREVIEW_GOTO
= _windows_
.PREVIEW_GOTO
4368 PREVIEW_DEFAULT
= _windows_
.PREVIEW_DEFAULT
4369 ID_PREVIEW_CLOSE
= _windows_
.ID_PREVIEW_CLOSE
4370 ID_PREVIEW_NEXT
= _windows_
.ID_PREVIEW_NEXT
4371 ID_PREVIEW_PREVIOUS
= _windows_
.ID_PREVIEW_PREVIOUS
4372 ID_PREVIEW_PRINT
= _windows_
.ID_PREVIEW_PRINT
4373 ID_PREVIEW_ZOOM
= _windows_
.ID_PREVIEW_ZOOM
4374 ID_PREVIEW_FIRST
= _windows_
.ID_PREVIEW_FIRST
4375 ID_PREVIEW_LAST
= _windows_
.ID_PREVIEW_LAST
4376 ID_PREVIEW_GOTO
= _windows_
.ID_PREVIEW_GOTO
4377 class PreviewControlBar(Panel
):
4378 """Proxy of C++ PreviewControlBar class"""
4379 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4380 __repr__
= _swig_repr
4381 def __init__(self
, *args
, **kwargs
):
4383 __init__(self, PrintPreview preview, long buttons, Window parent,
4384 Point pos=DefaultPosition, Size size=DefaultSize,
4385 long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
4387 _windows_
.PreviewControlBar_swiginit(self
,_windows_
.new_PreviewControlBar(*args
, **kwargs
))
4388 self
._setOORInfo
(self
)
4390 def GetZoomControl(*args
, **kwargs
):
4391 """GetZoomControl(self) -> int"""
4392 return _windows_
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
4394 def SetZoomControl(*args
, **kwargs
):
4395 """SetZoomControl(self, int zoom)"""
4396 return _windows_
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
4398 def GetPrintPreview(*args
, **kwargs
):
4399 """GetPrintPreview(self) -> PrintPreview"""
4400 return _windows_
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
4402 def OnNext(*args
, **kwargs
):
4404 return _windows_
.PreviewControlBar_OnNext(*args
, **kwargs
)
4406 def OnPrevious(*args
, **kwargs
):
4407 """OnPrevious(self)"""
4408 return _windows_
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
4410 def OnFirst(*args
, **kwargs
):
4412 return _windows_
.PreviewControlBar_OnFirst(*args
, **kwargs
)
4414 def OnLast(*args
, **kwargs
):
4416 return _windows_
.PreviewControlBar_OnLast(*args
, **kwargs
)
4418 def OnGoto(*args
, **kwargs
):
4420 return _windows_
.PreviewControlBar_OnGoto(*args
, **kwargs
)
4422 _windows_
.PreviewControlBar_swigregister(PreviewControlBar
)
4424 class PrintPreview(_core
.Object
):
4425 """Proxy of C++ PrintPreview class"""
4426 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4427 __repr__
= _swig_repr
4428 def __init__(self
, *args
):
4430 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview
4431 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview
4433 _windows_
.PrintPreview_swiginit(self
,_windows_
.new_PrintPreview(*args
))
4434 __swig_destroy__
= _windows_
.delete_PrintPreview
4435 __del__
= lambda self
: None;
4436 def SetCurrentPage(*args
, **kwargs
):
4437 """SetCurrentPage(self, int pageNum) -> bool"""
4438 return _windows_
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
4440 def GetCurrentPage(*args
, **kwargs
):
4441 """GetCurrentPage(self) -> int"""
4442 return _windows_
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
4444 def SetPrintout(*args
, **kwargs
):
4445 """SetPrintout(self, Printout printout)"""
4446 return _windows_
.PrintPreview_SetPrintout(*args
, **kwargs
)
4448 def GetPrintout(*args
, **kwargs
):
4449 """GetPrintout(self) -> Printout"""
4450 return _windows_
.PrintPreview_GetPrintout(*args
, **kwargs
)
4452 def GetPrintoutForPrinting(*args
, **kwargs
):
4453 """GetPrintoutForPrinting(self) -> Printout"""
4454 return _windows_
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
4456 def SetFrame(*args
, **kwargs
):
4457 """SetFrame(self, Frame frame)"""
4458 return _windows_
.PrintPreview_SetFrame(*args
, **kwargs
)
4460 def SetCanvas(*args
, **kwargs
):
4461 """SetCanvas(self, PreviewCanvas canvas)"""
4462 return _windows_
.PrintPreview_SetCanvas(*args
, **kwargs
)
4464 def GetFrame(*args
, **kwargs
):
4465 """GetFrame(self) -> Frame"""
4466 return _windows_
.PrintPreview_GetFrame(*args
, **kwargs
)
4468 def GetCanvas(*args
, **kwargs
):
4469 """GetCanvas(self) -> PreviewCanvas"""
4470 return _windows_
.PrintPreview_GetCanvas(*args
, **kwargs
)
4472 def PaintPage(*args
, **kwargs
):
4473 """PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4474 return _windows_
.PrintPreview_PaintPage(*args
, **kwargs
)
4476 def DrawBlankPage(*args
, **kwargs
):
4477 """DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4478 return _windows_
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
4480 def RenderPage(*args
, **kwargs
):
4481 """RenderPage(self, int pageNum) -> bool"""
4482 return _windows_
.PrintPreview_RenderPage(*args
, **kwargs
)
4484 def AdjustScrollbars(*args
, **kwargs
):
4485 """AdjustScrollbars(self, PreviewCanvas canvas)"""
4486 return _windows_
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
4488 def GetPrintDialogData(*args
, **kwargs
):
4489 """GetPrintDialogData(self) -> PrintDialogData"""
4490 return _windows_
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
4492 def SetZoom(*args
, **kwargs
):
4493 """SetZoom(self, int percent)"""
4494 return _windows_
.PrintPreview_SetZoom(*args
, **kwargs
)
4496 def GetZoom(*args
, **kwargs
):
4497 """GetZoom(self) -> int"""
4498 return _windows_
.PrintPreview_GetZoom(*args
, **kwargs
)
4500 def GetMaxPage(*args
, **kwargs
):
4501 """GetMaxPage(self) -> int"""
4502 return _windows_
.PrintPreview_GetMaxPage(*args
, **kwargs
)
4504 def GetMinPage(*args
, **kwargs
):
4505 """GetMinPage(self) -> int"""
4506 return _windows_
.PrintPreview_GetMinPage(*args
, **kwargs
)
4508 def Ok(*args
, **kwargs
):
4509 """Ok(self) -> bool"""
4510 return _windows_
.PrintPreview_Ok(*args
, **kwargs
)
4512 def SetOk(*args
, **kwargs
):
4513 """SetOk(self, bool ok)"""
4514 return _windows_
.PrintPreview_SetOk(*args
, **kwargs
)
4516 def Print(*args
, **kwargs
):
4517 """Print(self, bool interactive) -> bool"""
4518 return _windows_
.PrintPreview_Print(*args
, **kwargs
)
4520 def DetermineScaling(*args
, **kwargs
):
4521 """DetermineScaling(self)"""
4522 return _windows_
.PrintPreview_DetermineScaling(*args
, **kwargs
)
4524 def __nonzero__(self
): return self
.Ok()
4525 _windows_
.PrintPreview_swigregister(PrintPreview
)
4527 class PyPrintPreview(PrintPreview
):
4528 """Proxy of C++ PyPrintPreview class"""
4529 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4530 __repr__
= _swig_repr
4531 def __init__(self
, *args
):
4533 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview
4534 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview
4536 _windows_
.PyPrintPreview_swiginit(self
,_windows_
.new_PyPrintPreview(*args
))
4537 self
._setCallbackInfo
(self
, PyPrintPreview
)
4539 def _setCallbackInfo(*args
, **kwargs
):
4540 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4541 return _windows_
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
4543 def base_SetCurrentPage(*args
, **kw
):
4544 return PyPrintPreview
.SetCurrentPage(*args
, **kw
)
4545 base_SetCurrentPage
= wx
._deprecated
(base_SetCurrentPage
,
4546 "Please use PyPrintPreview.SetCurrentPage instead.")
4548 def base_PaintPage(*args
, **kw
):
4549 return PyPrintPreview
.PaintPage(*args
, **kw
)
4550 base_PaintPage
= wx
._deprecated
(base_PaintPage
,
4551 "Please use PyPrintPreview.PaintPage instead.")
4553 def base_DrawBlankPage(*args
, **kw
):
4554 return PyPrintPreview
.DrawBlankPage(*args
, **kw
)
4555 base_DrawBlankPage
= wx
._deprecated
(base_DrawBlankPage
,
4556 "Please use PyPrintPreview.DrawBlankPage instead.")
4558 def base_RenderPage(*args
, **kw
):
4559 return PyPrintPreview
.RenderPage(*args
, **kw
)
4560 base_RenderPage
= wx
._deprecated
(base_RenderPage
,
4561 "Please use PyPrintPreview.RenderPage instead.")
4563 def base_SetZoom(*args
, **kw
):
4564 return PyPrintPreview
.SetZoom(*args
, **kw
)
4565 base_SetZoom
= wx
._deprecated
(base_SetZoom
,
4566 "Please use PyPrintPreview.SetZoom instead.")
4568 def base_Print(*args
, **kw
):
4569 return PyPrintPreview
.Print(*args
, **kw
)
4570 base_Print
= wx
._deprecated
(base_Print
,
4571 "Please use PyPrintPreview.Print instead.")
4573 def base_DetermineScaling(*args
, **kw
):
4574 return PyPrintPreview
.DetermineScaling(*args
, **kw
)
4575 base_DetermineScaling
= wx
._deprecated
(base_DetermineScaling
,
4576 "Please use PyPrintPreview.DetermineScaling instead.")
4578 _windows_
.PyPrintPreview_swigregister(PyPrintPreview
)
4580 class PyPreviewFrame(PreviewFrame
):
4581 """Proxy of C++ PyPreviewFrame class"""
4582 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4583 __repr__
= _swig_repr
4584 def __init__(self
, *args
, **kwargs
):
4586 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4587 Size size=DefaultSize,
4588 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
4590 _windows_
.PyPreviewFrame_swiginit(self
,_windows_
.new_PyPreviewFrame(*args
, **kwargs
))
4591 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
4593 def _setCallbackInfo(*args
, **kwargs
):
4594 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4595 return _windows_
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
4597 def SetPreviewCanvas(*args
, **kwargs
):
4598 """SetPreviewCanvas(self, PreviewCanvas canvas)"""
4599 return _windows_
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
4601 def SetControlBar(*args
, **kwargs
):
4602 """SetControlBar(self, PreviewControlBar bar)"""
4603 return _windows_
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
4605 def Initialize(*args
, **kwargs
):
4606 """Initialize(self)"""
4607 return _windows_
.PyPreviewFrame_Initialize(*args
, **kwargs
)
4609 def CreateCanvas(*args
, **kwargs
):
4610 """CreateCanvas(self)"""
4611 return _windows_
.PyPreviewFrame_CreateCanvas(*args
, **kwargs
)
4613 def CreateControlBar(*args
, **kwargs
):
4614 """CreateControlBar(self)"""
4615 return _windows_
.PyPreviewFrame_CreateControlBar(*args
, **kwargs
)
4617 def base_Initialize(*args
, **kw
):
4618 return PyPreviewFrame
.Initialize(*args
, **kw
)
4619 base_Initialize
= wx
._deprecated
(base_Initialize
,
4620 "Please use PyPreviewFrame.Initialize instead.")
4622 def base_CreateCanvas(*args
, **kw
):
4623 return PyPreviewFrame
.CreateCanvas(*args
, **kw
)
4624 base_CreateCanvas
= wx
._deprecated
(base_CreateCanvas
,
4625 "Please use PyPreviewFrame.CreateCanvas instead.")
4627 def base_CreateControlBar(*args
, **kw
):
4628 return PyPreviewFrame
.CreateControlBar(*args
, **kw
)
4629 base_CreateControlBar
= wx
._deprecated
(base_CreateControlBar
,
4630 "Please use PyPreviewFrame.CreateControlBar instead.")
4632 _windows_
.PyPreviewFrame_swigregister(PyPreviewFrame
)
4634 class PyPreviewControlBar(PreviewControlBar
):
4635 """Proxy of C++ PyPreviewControlBar class"""
4636 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4637 __repr__
= _swig_repr
4638 def __init__(self
, *args
, **kwargs
):
4640 __init__(self, PrintPreview preview, long buttons, Window parent,
4641 Point pos=DefaultPosition, Size size=DefaultSize,
4642 long style=0, String name=PanelNameStr) -> PyPreviewControlBar
4644 _windows_
.PyPreviewControlBar_swiginit(self
,_windows_
.new_PyPreviewControlBar(*args
, **kwargs
))
4645 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
4647 def _setCallbackInfo(*args
, **kwargs
):
4648 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4649 return _windows_
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
4651 def SetPrintPreview(*args
, **kwargs
):
4652 """SetPrintPreview(self, PrintPreview preview)"""
4653 return _windows_
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
4655 def CreateButtons(*args
, **kwargs
):
4656 """CreateButtons(self)"""
4657 return _windows_
.PyPreviewControlBar_CreateButtons(*args
, **kwargs
)
4659 def SetZoomControl(*args
, **kwargs
):
4660 """SetZoomControl(self, int zoom)"""
4661 return _windows_
.PyPreviewControlBar_SetZoomControl(*args
, **kwargs
)
4663 def base_CreateButtons(*args
, **kw
):
4664 return PreviewControlBar
.CreateButtons(*args
, **kw
)
4665 base_CreateButtons
= wx
._deprecated
(base_CreateButtons
,
4666 "Please use PreviewControlBar.CreateButtons instead.")
4668 def base_SetZoomControl(*args
, **kw
):
4669 return PreviewControlBar
.SetZoomControl(*args
, **kw
)
4670 base_SetZoomControl
= wx
._deprecated
(base_SetZoomControl
,
4671 "Please use PreviewControlBar.SetZoomControl instead.")
4673 _windows_
.PyPreviewControlBar_swigregister(PyPreviewControlBar
)