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 WS_EX_CONTEXTHELP
= _windows_
.WS_EX_CONTEXTHELP
332 DIALOG_MODAL
= _windows_
.DIALOG_MODAL
333 DIALOG_MODELESS
= _windows_
.DIALOG_MODELESS
334 USER_COLOURS
= _windows_
.USER_COLOURS
335 NO_3D
= _windows_
.NO_3D
336 FRAME_EX_CONTEXTHELP
= _windows_
.FRAME_EX_CONTEXTHELP
337 DIALOG_EX_CONTEXTHELP
= _windows_
.DIALOG_EX_CONTEXTHELP
338 FULLSCREEN_NOMENUBAR
= _windows_
.FULLSCREEN_NOMENUBAR
339 FULLSCREEN_NOTOOLBAR
= _windows_
.FULLSCREEN_NOTOOLBAR
340 FULLSCREEN_NOSTATUSBAR
= _windows_
.FULLSCREEN_NOSTATUSBAR
341 FULLSCREEN_NOBORDER
= _windows_
.FULLSCREEN_NOBORDER
342 FULLSCREEN_NOCAPTION
= _windows_
.FULLSCREEN_NOCAPTION
343 FULLSCREEN_ALL
= _windows_
.FULLSCREEN_ALL
344 TOPLEVEL_EX_DIALOG
= _windows_
.TOPLEVEL_EX_DIALOG
345 USER_ATTENTION_INFO
= _windows_
.USER_ATTENTION_INFO
346 USER_ATTENTION_ERROR
= _windows_
.USER_ATTENTION_ERROR
347 class TopLevelWindow(_core
.Window
):
348 """Proxy of C++ TopLevelWindow class"""
349 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
350 def __init__(self
): raise AttributeError, "No constructor defined"
351 __repr__
= _swig_repr
352 def Maximize(*args
, **kwargs
):
353 """Maximize(self, bool maximize=True)"""
354 return _windows_
.TopLevelWindow_Maximize(*args
, **kwargs
)
356 def Restore(*args
, **kwargs
):
358 return _windows_
.TopLevelWindow_Restore(*args
, **kwargs
)
360 def Iconize(*args
, **kwargs
):
361 """Iconize(self, bool iconize=True)"""
362 return _windows_
.TopLevelWindow_Iconize(*args
, **kwargs
)
364 def IsMaximized(*args
, **kwargs
):
365 """IsMaximized(self) -> bool"""
366 return _windows_
.TopLevelWindow_IsMaximized(*args
, **kwargs
)
368 def IsAlwaysMaximized(*args
, **kwargs
):
369 """IsAlwaysMaximized(self) -> bool"""
370 return _windows_
.TopLevelWindow_IsAlwaysMaximized(*args
, **kwargs
)
372 def IsIconized(*args
, **kwargs
):
373 """IsIconized(self) -> bool"""
374 return _windows_
.TopLevelWindow_IsIconized(*args
, **kwargs
)
376 def GetIcon(*args
, **kwargs
):
377 """GetIcon(self) -> Icon"""
378 return _windows_
.TopLevelWindow_GetIcon(*args
, **kwargs
)
380 def SetIcon(*args
, **kwargs
):
381 """SetIcon(self, Icon icon)"""
382 return _windows_
.TopLevelWindow_SetIcon(*args
, **kwargs
)
384 def SetIcons(*args
, **kwargs
):
385 """SetIcons(self, wxIconBundle icons)"""
386 return _windows_
.TopLevelWindow_SetIcons(*args
, **kwargs
)
388 def ShowFullScreen(*args
, **kwargs
):
389 """ShowFullScreen(self, bool show, long style=FULLSCREEN_ALL) -> bool"""
390 return _windows_
.TopLevelWindow_ShowFullScreen(*args
, **kwargs
)
392 def IsFullScreen(*args
, **kwargs
):
393 """IsFullScreen(self) -> bool"""
394 return _windows_
.TopLevelWindow_IsFullScreen(*args
, **kwargs
)
396 def SetTitle(*args
, **kwargs
):
397 """SetTitle(self, String title)"""
398 return _windows_
.TopLevelWindow_SetTitle(*args
, **kwargs
)
400 def GetTitle(*args
, **kwargs
):
401 """GetTitle(self) -> String"""
402 return _windows_
.TopLevelWindow_GetTitle(*args
, **kwargs
)
404 def SetShape(*args
, **kwargs
):
405 """SetShape(self, Region region) -> bool"""
406 return _windows_
.TopLevelWindow_SetShape(*args
, **kwargs
)
408 def RequestUserAttention(*args
, **kwargs
):
409 """RequestUserAttention(self, int flags=USER_ATTENTION_INFO)"""
410 return _windows_
.TopLevelWindow_RequestUserAttention(*args
, **kwargs
)
412 def IsActive(*args
, **kwargs
):
413 """IsActive(self) -> bool"""
414 return _windows_
.TopLevelWindow_IsActive(*args
, **kwargs
)
416 def MacSetMetalAppearance(*args
, **kwargs
):
417 """MacSetMetalAppearance(self, bool on)"""
418 return _windows_
.TopLevelWindow_MacSetMetalAppearance(*args
, **kwargs
)
420 def MacGetMetalAppearance(*args
, **kwargs
):
421 """MacGetMetalAppearance(self) -> bool"""
422 return _windows_
.TopLevelWindow_MacGetMetalAppearance(*args
, **kwargs
)
424 def CenterOnScreen(*args
, **kwargs
):
426 CenterOnScreen(self, int dir=BOTH)
428 Center the window on screen
430 return _windows_
.TopLevelWindow_CenterOnScreen(*args
, **kwargs
)
432 CentreOnScreen
= CenterOnScreen
433 def EnableCloseButton(*args
, **kwargs
):
434 """EnableCloseButton(self, bool enable=True) -> bool"""
435 return _windows_
.TopLevelWindow_EnableCloseButton(*args
, **kwargs
)
437 def GetDefaultItem(*args
, **kwargs
):
439 GetDefaultItem(self) -> Window
441 Get the default child of this parent, i.e. the one which is activated
442 by pressing <Enter> such as the OK button on a wx.Dialog.
444 return _windows_
.TopLevelWindow_GetDefaultItem(*args
, **kwargs
)
446 def SetDefaultItem(*args
, **kwargs
):
448 SetDefaultItem(self, Window child) -> Window
450 Set this child as default, return the old default.
452 return _windows_
.TopLevelWindow_SetDefaultItem(*args
, **kwargs
)
454 def SetTmpDefaultItem(*args
, **kwargs
):
456 SetTmpDefaultItem(self, Window win)
458 Set this child as temporary default
460 return _windows_
.TopLevelWindow_SetTmpDefaultItem(*args
, **kwargs
)
462 def GetTmpDefaultItem(*args
, **kwargs
):
464 GetTmpDefaultItem(self) -> Window
466 Return the temporary default item, which can be None.
468 return _windows_
.TopLevelWindow_GetTmpDefaultItem(*args
, **kwargs
)
470 _windows_
.TopLevelWindow_swigregister(TopLevelWindow
)
471 cvar
= _windows_
.cvar
472 FrameNameStr
= cvar
.FrameNameStr
473 DialogNameStr
= cvar
.DialogNameStr
474 StatusLineNameStr
= cvar
.StatusLineNameStr
475 ToolBarNameStr
= cvar
.ToolBarNameStr
477 #---------------------------------------------------------------------------
479 class Frame(TopLevelWindow
):
480 """Proxy of C++ Frame class"""
481 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
482 __repr__
= _swig_repr
483 def __init__(self
, *args
, **kwargs
):
485 __init__(self, Window parent, int id=-1, String title=EmptyString,
486 Point pos=DefaultPosition, Size size=DefaultSize,
487 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> Frame
489 _windows_
.Frame_swiginit(self
,_windows_
.new_Frame(*args
, **kwargs
))
490 self
._setOORInfo
(self
)
492 def Create(*args
, **kwargs
):
494 Create(self, Window parent, int id=-1, String title=EmptyString,
495 Point pos=DefaultPosition, Size size=DefaultSize,
496 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
498 return _windows_
.Frame_Create(*args
, **kwargs
)
500 def SendSizeEvent(*args
, **kwargs
):
501 """SendSizeEvent(self)"""
502 return _windows_
.Frame_SendSizeEvent(*args
, **kwargs
)
504 def SetMenuBar(*args
, **kwargs
):
505 """SetMenuBar(self, MenuBar menubar)"""
506 return _windows_
.Frame_SetMenuBar(*args
, **kwargs
)
508 def GetMenuBar(*args
, **kwargs
):
509 """GetMenuBar(self) -> MenuBar"""
510 return _windows_
.Frame_GetMenuBar(*args
, **kwargs
)
512 def ProcessCommand(*args
, **kwargs
):
513 """ProcessCommand(self, int winid) -> bool"""
514 return _windows_
.Frame_ProcessCommand(*args
, **kwargs
)
516 Command
= ProcessCommand
517 def CreateStatusBar(*args
, **kwargs
):
519 CreateStatusBar(self, int number=1, long style=DEFAULT_STATUSBAR_STYLE, int winid=0,
520 String name=StatusLineNameStr) -> StatusBar
522 return _windows_
.Frame_CreateStatusBar(*args
, **kwargs
)
524 def GetStatusBar(*args
, **kwargs
):
525 """GetStatusBar(self) -> StatusBar"""
526 return _windows_
.Frame_GetStatusBar(*args
, **kwargs
)
528 def SetStatusBar(*args
, **kwargs
):
529 """SetStatusBar(self, StatusBar statBar)"""
530 return _windows_
.Frame_SetStatusBar(*args
, **kwargs
)
532 def SetStatusText(*args
, **kwargs
):
533 """SetStatusText(self, String text, int number=0)"""
534 return _windows_
.Frame_SetStatusText(*args
, **kwargs
)
536 def SetStatusWidths(*args
, **kwargs
):
537 """SetStatusWidths(self, int widths)"""
538 return _windows_
.Frame_SetStatusWidths(*args
, **kwargs
)
540 def PushStatusText(*args
, **kwargs
):
541 """PushStatusText(self, String text, int number=0)"""
542 return _windows_
.Frame_PushStatusText(*args
, **kwargs
)
544 def PopStatusText(*args
, **kwargs
):
545 """PopStatusText(self, int number=0)"""
546 return _windows_
.Frame_PopStatusText(*args
, **kwargs
)
548 def SetStatusBarPane(*args
, **kwargs
):
549 """SetStatusBarPane(self, int n)"""
550 return _windows_
.Frame_SetStatusBarPane(*args
, **kwargs
)
552 def GetStatusBarPane(*args
, **kwargs
):
553 """GetStatusBarPane(self) -> int"""
554 return _windows_
.Frame_GetStatusBarPane(*args
, **kwargs
)
556 def CreateToolBar(*args
, **kwargs
):
557 """CreateToolBar(self, long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar"""
558 return _windows_
.Frame_CreateToolBar(*args
, **kwargs
)
560 def GetToolBar(*args
, **kwargs
):
561 """GetToolBar(self) -> wxToolBar"""
562 return _windows_
.Frame_GetToolBar(*args
, **kwargs
)
564 def SetToolBar(*args
, **kwargs
):
565 """SetToolBar(self, wxToolBar toolbar)"""
566 return _windows_
.Frame_SetToolBar(*args
, **kwargs
)
568 def DoGiveHelp(*args
, **kwargs
):
569 """DoGiveHelp(self, String text, bool show)"""
570 return _windows_
.Frame_DoGiveHelp(*args
, **kwargs
)
572 def DoMenuUpdates(*args
, **kwargs
):
573 """DoMenuUpdates(self, Menu menu=None)"""
574 return _windows_
.Frame_DoMenuUpdates(*args
, **kwargs
)
576 def GetClassDefaultAttributes(*args
, **kwargs
):
578 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
580 Get the default attributes for this class. This is useful if you want
581 to use the same font or colour in your own control as in a standard
582 control -- which is a much better idea than hard coding specific
583 colours or fonts which might look completely out of place on the
584 user's system, especially if it uses themes.
586 The variant parameter is only relevant under Mac currently and is
587 ignore under other platforms. Under Mac, it will change the size of
588 the returned font. See `wx.Window.SetWindowVariant` for more about
591 return _windows_
.Frame_GetClassDefaultAttributes(*args
, **kwargs
)
593 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
594 _windows_
.Frame_swigregister(Frame
)
596 def PreFrame(*args
, **kwargs
):
597 """PreFrame() -> Frame"""
598 val
= _windows_
.new_PreFrame(*args
, **kwargs
)
601 def Frame_GetClassDefaultAttributes(*args
, **kwargs
):
603 Frame_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
605 Get the default attributes for this class. This is useful if you want
606 to use the same font or colour in your own control as in a standard
607 control -- which is a much better idea than hard coding specific
608 colours or fonts which might look completely out of place on the
609 user's system, especially if it uses themes.
611 The variant parameter is only relevant under Mac currently and is
612 ignore under other platforms. Under Mac, it will change the size of
613 the returned font. See `wx.Window.SetWindowVariant` for more about
616 return _windows_
.Frame_GetClassDefaultAttributes(*args
, **kwargs
)
618 #---------------------------------------------------------------------------
620 class Dialog(TopLevelWindow
):
621 """Proxy of C++ Dialog class"""
622 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
623 __repr__
= _swig_repr
624 ButtonSizerFlags
= _windows_
.Dialog_ButtonSizerFlags
625 def __init__(self
, *args
, **kwargs
):
627 __init__(self, Window parent, int id=-1, String title=EmptyString,
628 Point pos=DefaultPosition, Size size=DefaultSize,
629 long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> Dialog
631 _windows_
.Dialog_swiginit(self
,_windows_
.new_Dialog(*args
, **kwargs
))
632 self
._setOORInfo
(self
)
634 def Create(*args
, **kwargs
):
636 Create(self, Window parent, int id=-1, String title=EmptyString,
637 Point pos=DefaultPosition, Size size=DefaultSize,
638 long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> bool
640 return _windows_
.Dialog_Create(*args
, **kwargs
)
642 def SetReturnCode(*args
, **kwargs
):
643 """SetReturnCode(self, int returnCode)"""
644 return _windows_
.Dialog_SetReturnCode(*args
, **kwargs
)
646 def GetReturnCode(*args
, **kwargs
):
647 """GetReturnCode(self) -> int"""
648 return _windows_
.Dialog_GetReturnCode(*args
, **kwargs
)
650 def SetAffirmativeId(*args
, **kwargs
):
651 """SetAffirmativeId(self, int affirmativeId)"""
652 return _windows_
.Dialog_SetAffirmativeId(*args
, **kwargs
)
654 def GetAffirmativeId(*args
, **kwargs
):
655 """GetAffirmativeId(self) -> int"""
656 return _windows_
.Dialog_GetAffirmativeId(*args
, **kwargs
)
658 def SetEscapeId(*args
, **kwargs
):
659 """SetEscapeId(self, int escapeId)"""
660 return _windows_
.Dialog_SetEscapeId(*args
, **kwargs
)
662 def GetEscapeId(*args
, **kwargs
):
663 """GetEscapeId(self) -> int"""
664 return _windows_
.Dialog_GetEscapeId(*args
, **kwargs
)
666 def CreateTextSizer(*args
, **kwargs
):
667 """CreateTextSizer(self, String message) -> Sizer"""
668 return _windows_
.Dialog_CreateTextSizer(*args
, **kwargs
)
670 def CreateButtonSizer(*args
, **kwargs
):
671 """CreateButtonSizer(self, long flags, bool separated=False, int distance=0) -> Sizer"""
672 return _windows_
.Dialog_CreateButtonSizer(*args
, **kwargs
)
674 def CreateStdDialogButtonSizer(*args
, **kwargs
):
675 """CreateStdDialogButtonSizer(self, long flags) -> StdDialogButtonSizer"""
676 return _windows_
.Dialog_CreateStdDialogButtonSizer(*args
, **kwargs
)
678 def IsModal(*args
, **kwargs
):
679 """IsModal(self) -> bool"""
680 return _windows_
.Dialog_IsModal(*args
, **kwargs
)
682 def ShowModal(*args
, **kwargs
):
683 """ShowModal(self) -> int"""
684 return _windows_
.Dialog_ShowModal(*args
, **kwargs
)
686 def EndModal(*args
, **kwargs
):
687 """EndModal(self, int retCode)"""
688 return _windows_
.Dialog_EndModal(*args
, **kwargs
)
690 def GetClassDefaultAttributes(*args
, **kwargs
):
692 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
694 Get the default attributes for this class. This is useful if you want
695 to use the same font or colour in your own control as in a standard
696 control -- which is a much better idea than hard coding specific
697 colours or fonts which might look completely out of place on the
698 user's system, especially if it uses themes.
700 The variant parameter is only relevant under Mac currently and is
701 ignore under other platforms. Under Mac, it will change the size of
702 the returned font. See `wx.Window.SetWindowVariant` for more about
705 return _windows_
.Dialog_GetClassDefaultAttributes(*args
, **kwargs
)
707 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
708 _windows_
.Dialog_swigregister(Dialog
)
710 def PreDialog(*args
, **kwargs
):
711 """PreDialog() -> Dialog"""
712 val
= _windows_
.new_PreDialog(*args
, **kwargs
)
715 def Dialog_GetClassDefaultAttributes(*args
, **kwargs
):
717 Dialog_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
719 Get the default attributes for this class. This is useful if you want
720 to use the same font or colour in your own control as in a standard
721 control -- which is a much better idea than hard coding specific
722 colours or fonts which might look completely out of place on the
723 user's system, especially if it uses themes.
725 The variant parameter is only relevant under Mac currently and is
726 ignore under other platforms. Under Mac, it will change the size of
727 the returned font. See `wx.Window.SetWindowVariant` for more about
730 return _windows_
.Dialog_GetClassDefaultAttributes(*args
, **kwargs
)
732 #---------------------------------------------------------------------------
734 class MiniFrame(Frame
):
735 """Proxy of C++ MiniFrame class"""
736 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
737 __repr__
= _swig_repr
738 def __init__(self
, *args
, **kwargs
):
740 __init__(self, Window parent, int id=-1, String title=EmptyString,
741 Point pos=DefaultPosition, Size size=DefaultSize,
742 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> MiniFrame
744 _windows_
.MiniFrame_swiginit(self
,_windows_
.new_MiniFrame(*args
, **kwargs
))
745 self
._setOORInfo
(self
)
747 def Create(*args
, **kwargs
):
749 Create(self, Window parent, int id=-1, String title=EmptyString,
750 Point pos=DefaultPosition, Size size=DefaultSize,
751 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
753 return _windows_
.MiniFrame_Create(*args
, **kwargs
)
755 _windows_
.MiniFrame_swigregister(MiniFrame
)
757 def PreMiniFrame(*args
, **kwargs
):
758 """PreMiniFrame() -> MiniFrame"""
759 val
= _windows_
.new_PreMiniFrame(*args
, **kwargs
)
762 #---------------------------------------------------------------------------
764 SPLASH_CENTRE_ON_PARENT
= _windows_
.SPLASH_CENTRE_ON_PARENT
765 SPLASH_CENTRE_ON_SCREEN
= _windows_
.SPLASH_CENTRE_ON_SCREEN
766 SPLASH_NO_CENTRE
= _windows_
.SPLASH_NO_CENTRE
767 SPLASH_TIMEOUT
= _windows_
.SPLASH_TIMEOUT
768 SPLASH_NO_TIMEOUT
= _windows_
.SPLASH_NO_TIMEOUT
769 class SplashScreenWindow(_core
.Window
):
770 """Proxy of C++ SplashScreenWindow class"""
771 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
772 __repr__
= _swig_repr
773 def __init__(self
, *args
, **kwargs
):
775 __init__(self, Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
776 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
778 _windows_
.SplashScreenWindow_swiginit(self
,_windows_
.new_SplashScreenWindow(*args
, **kwargs
))
779 self
._setOORInfo
(self
)
781 def SetBitmap(*args
, **kwargs
):
782 """SetBitmap(self, Bitmap bitmap)"""
783 return _windows_
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
785 def GetBitmap(*args
, **kwargs
):
786 """GetBitmap(self) -> Bitmap"""
787 return _windows_
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
789 _windows_
.SplashScreenWindow_swigregister(SplashScreenWindow
)
791 class SplashScreen(Frame
):
792 """Proxy of C++ SplashScreen class"""
793 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
794 __repr__
= _swig_repr
795 def __init__(self
, *args
, **kwargs
):
797 __init__(self, Bitmap bitmap, long splashStyle, int milliseconds,
798 Window parent, int id=-1, Point pos=DefaultPosition,
799 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
801 _windows_
.SplashScreen_swiginit(self
,_windows_
.new_SplashScreen(*args
, **kwargs
))
802 self
._setOORInfo
(self
)
804 def GetSplashStyle(*args
, **kwargs
):
805 """GetSplashStyle(self) -> long"""
806 return _windows_
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
808 def GetSplashWindow(*args
, **kwargs
):
809 """GetSplashWindow(self) -> SplashScreenWindow"""
810 return _windows_
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
812 def GetTimeout(*args
, **kwargs
):
813 """GetTimeout(self) -> int"""
814 return _windows_
.SplashScreen_GetTimeout(*args
, **kwargs
)
816 _windows_
.SplashScreen_swigregister(SplashScreen
)
818 #---------------------------------------------------------------------------
820 SB_NORMAL
= _windows_
.SB_NORMAL
821 SB_FLAT
= _windows_
.SB_FLAT
822 SB_RAISED
= _windows_
.SB_RAISED
823 class StatusBar(_core
.Window
):
824 """Proxy of C++ StatusBar class"""
825 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
826 __repr__
= _swig_repr
827 def __init__(self
, *args
, **kwargs
):
829 __init__(self, Window parent, int id=-1, long style=DEFAULT_STATUSBAR_STYLE,
830 String name=StatusLineNameStr) -> StatusBar
832 _windows_
.StatusBar_swiginit(self
,_windows_
.new_StatusBar(*args
, **kwargs
))
833 self
._setOORInfo
(self
)
835 def Create(*args
, **kwargs
):
836 """Create(self, Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
837 return _windows_
.StatusBar_Create(*args
, **kwargs
)
839 def SetFieldsCount(*args
, **kwargs
):
840 """SetFieldsCount(self, int number=1)"""
841 return _windows_
.StatusBar_SetFieldsCount(*args
, **kwargs
)
843 def GetFieldsCount(*args
, **kwargs
):
844 """GetFieldsCount(self) -> int"""
845 return _windows_
.StatusBar_GetFieldsCount(*args
, **kwargs
)
847 def SetStatusText(*args
, **kwargs
):
848 """SetStatusText(self, String text, int number=0)"""
849 return _windows_
.StatusBar_SetStatusText(*args
, **kwargs
)
851 def GetStatusText(*args
, **kwargs
):
852 """GetStatusText(self, int number=0) -> String"""
853 return _windows_
.StatusBar_GetStatusText(*args
, **kwargs
)
855 def PushStatusText(*args
, **kwargs
):
856 """PushStatusText(self, String text, int number=0)"""
857 return _windows_
.StatusBar_PushStatusText(*args
, **kwargs
)
859 def PopStatusText(*args
, **kwargs
):
860 """PopStatusText(self, int number=0)"""
861 return _windows_
.StatusBar_PopStatusText(*args
, **kwargs
)
863 def SetStatusWidths(*args
, **kwargs
):
864 """SetStatusWidths(self, int widths)"""
865 return _windows_
.StatusBar_SetStatusWidths(*args
, **kwargs
)
867 def SetStatusStyles(*args
, **kwargs
):
868 """SetStatusStyles(self, int styles)"""
869 return _windows_
.StatusBar_SetStatusStyles(*args
, **kwargs
)
871 def GetFieldRect(*args
, **kwargs
):
872 """GetFieldRect(self, int i) -> Rect"""
873 return _windows_
.StatusBar_GetFieldRect(*args
, **kwargs
)
875 def SetMinHeight(*args
, **kwargs
):
876 """SetMinHeight(self, int height)"""
877 return _windows_
.StatusBar_SetMinHeight(*args
, **kwargs
)
879 def GetBorderX(*args
, **kwargs
):
880 """GetBorderX(self) -> int"""
881 return _windows_
.StatusBar_GetBorderX(*args
, **kwargs
)
883 def GetBorderY(*args
, **kwargs
):
884 """GetBorderY(self) -> int"""
885 return _windows_
.StatusBar_GetBorderY(*args
, **kwargs
)
887 def GetClassDefaultAttributes(*args
, **kwargs
):
889 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
891 Get the default attributes for this class. This is useful if you want
892 to use the same font or colour in your own control as in a standard
893 control -- which is a much better idea than hard coding specific
894 colours or fonts which might look completely out of place on the
895 user's system, especially if it uses themes.
897 The variant parameter is only relevant under Mac currently and is
898 ignore under other platforms. Under Mac, it will change the size of
899 the returned font. See `wx.Window.SetWindowVariant` for more about
902 return _windows_
.StatusBar_GetClassDefaultAttributes(*args
, **kwargs
)
904 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
905 _windows_
.StatusBar_swigregister(StatusBar
)
907 def PreStatusBar(*args
, **kwargs
):
908 """PreStatusBar() -> StatusBar"""
909 val
= _windows_
.new_PreStatusBar(*args
, **kwargs
)
912 def StatusBar_GetClassDefaultAttributes(*args
, **kwargs
):
914 StatusBar_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
916 Get the default attributes for this class. This is useful if you want
917 to use the same font or colour in your own control as in a standard
918 control -- which is a much better idea than hard coding specific
919 colours or fonts which might look completely out of place on the
920 user's system, especially if it uses themes.
922 The variant parameter is only relevant under Mac currently and is
923 ignore under other platforms. Under Mac, it will change the size of
924 the returned font. See `wx.Window.SetWindowVariant` for more about
927 return _windows_
.StatusBar_GetClassDefaultAttributes(*args
, **kwargs
)
929 #---------------------------------------------------------------------------
931 SP_NOBORDER
= _windows_
.SP_NOBORDER
932 SP_NOSASH
= _windows_
.SP_NOSASH
933 SP_PERMIT_UNSPLIT
= _windows_
.SP_PERMIT_UNSPLIT
934 SP_LIVE_UPDATE
= _windows_
.SP_LIVE_UPDATE
935 SP_3DSASH
= _windows_
.SP_3DSASH
936 SP_3DBORDER
= _windows_
.SP_3DBORDER
937 SP_NO_XP_THEME
= _windows_
.SP_NO_XP_THEME
938 SP_BORDER
= _windows_
.SP_BORDER
939 SP_3D
= _windows_
.SP_3D
940 SPLIT_HORIZONTAL
= _windows_
.SPLIT_HORIZONTAL
941 SPLIT_VERTICAL
= _windows_
.SPLIT_VERTICAL
942 SPLIT_DRAG_NONE
= _windows_
.SPLIT_DRAG_NONE
943 SPLIT_DRAG_DRAGGING
= _windows_
.SPLIT_DRAG_DRAGGING
944 SPLIT_DRAG_LEFT_DOWN
= _windows_
.SPLIT_DRAG_LEFT_DOWN
945 class SplitterWindow(_core
.Window
):
947 wx.SplitterWindow manages up to two subwindows or panes, with an
948 optional vertical or horizontal split which can be used with the mouse
951 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
952 __repr__
= _swig_repr
953 def __init__(self
, *args
, **kwargs
):
955 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
956 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
958 Constructor. Creates and shows a SplitterWindow.
960 if kwargs
.has_key('point'): kwargs
['pos'] = kwargs
['point'];del kwargs
['point']
961 _windows_
.SplitterWindow_swiginit(self
,_windows_
.new_SplitterWindow(*args
, **kwargs
))
962 self
._setOORInfo
(self
)
964 def Create(*args
, **kwargs
):
966 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
967 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool
969 Create the GUI part of the SplitterWindow for the 2-phase create.
971 return _windows_
.SplitterWindow_Create(*args
, **kwargs
)
973 def GetWindow1(*args
, **kwargs
):
975 GetWindow1(self) -> Window
977 Gets the only or left/top pane.
979 return _windows_
.SplitterWindow_GetWindow1(*args
, **kwargs
)
981 def GetWindow2(*args
, **kwargs
):
983 GetWindow2(self) -> Window
985 Gets the right/bottom pane.
987 return _windows_
.SplitterWindow_GetWindow2(*args
, **kwargs
)
989 def SetSplitMode(*args
, **kwargs
):
991 SetSplitMode(self, int mode)
993 Sets the split mode. The mode can be wx.SPLIT_VERTICAL or
994 wx.SPLIT_HORIZONTAL. This only sets the internal variable; does not
997 return _windows_
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
999 def GetSplitMode(*args
, **kwargs
):
1001 GetSplitMode(self) -> int
1005 return _windows_
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
1007 def Initialize(*args
, **kwargs
):
1009 Initialize(self, Window window)
1011 Initializes the splitter window to have one pane. This should be
1012 called if you wish to initially view only a single pane in the
1013 splitter window. The child window is shown if it is currently hidden.
1015 return _windows_
.SplitterWindow_Initialize(*args
, **kwargs
)
1017 def SplitVertically(*args
, **kwargs
):
1019 SplitVertically(self, Window window1, Window window2, int sashPosition=0) -> bool
1021 Initializes the left and right panes of the splitter window. The
1022 child windows are shown if they are currently hidden.
1024 return _windows_
.SplitterWindow_SplitVertically(*args
, **kwargs
)
1026 def SplitHorizontally(*args
, **kwargs
):
1028 SplitHorizontally(self, Window window1, Window window2, int sashPosition=0) -> bool
1030 Initializes the top and bottom panes of the splitter window. The
1031 child windows are shown if they are currently hidden.
1033 return _windows_
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
1035 def Unsplit(*args
, **kwargs
):
1037 Unsplit(self, Window toRemove=None) -> bool
1039 Unsplits the window. Pass the pane to remove, or None to remove the
1040 right or bottom pane. Returns True if successful, False otherwise (the
1041 window was not split).
1043 This function will not actually delete the pane being
1044 removed; it sends EVT_SPLITTER_UNSPLIT which can be handled
1045 for the desired behaviour. By default, the pane being
1046 removed is only hidden.
1048 return _windows_
.SplitterWindow_Unsplit(*args
, **kwargs
)
1050 def ReplaceWindow(*args
, **kwargs
):
1052 ReplaceWindow(self, Window winOld, Window winNew) -> bool
1054 This function replaces one of the windows managed by the
1055 SplitterWindow with another one. It is in general better to use it
1056 instead of calling Unsplit() and then resplitting the window back
1057 because it will provoke much less flicker. It is valid to call this
1058 function whether the splitter has two windows or only one.
1060 Both parameters should be non-None and winOld must specify one of the
1061 windows managed by the splitter. If the parameters are incorrect or
1062 the window couldn't be replaced, False is returned. Otherwise the
1063 function will return True, but please notice that it will not Destroy
1064 the replaced window and you may wish to do it yourself.
1066 return _windows_
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
1068 def UpdateSize(*args
, **kwargs
):
1072 Causes any pending sizing of the sash and child panes to take place
1075 Such resizing normally takes place in idle time, in order to wait for
1076 layout to be completed. However, this can cause unacceptable flicker
1077 as the panes are resized after the window has been shown. To work
1078 around this, you can perform window layout (for example by sending a
1079 size event to the parent window), and then call this function, before
1080 showing the top-level window.
1082 return _windows_
.SplitterWindow_UpdateSize(*args
, **kwargs
)
1084 def IsSplit(*args
, **kwargs
):
1086 IsSplit(self) -> bool
1088 Is the window split?
1090 return _windows_
.SplitterWindow_IsSplit(*args
, **kwargs
)
1092 def SetSashSize(*args
, **kwargs
):
1094 SetSashSize(self, int width)
1098 return _windows_
.SplitterWindow_SetSashSize(*args
, **kwargs
)
1100 def SetBorderSize(*args
, **kwargs
):
1102 SetBorderSize(self, int width)
1104 Sets the border size. Currently a NOP.
1106 return _windows_
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
1108 def GetSashSize(*args
, **kwargs
):
1110 GetSashSize(self) -> int
1114 return _windows_
.SplitterWindow_GetSashSize(*args
, **kwargs
)
1116 def GetBorderSize(*args
, **kwargs
):
1118 GetBorderSize(self) -> int
1120 Gets the border size
1122 return _windows_
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
1124 def SetSashPosition(*args
, **kwargs
):
1126 SetSashPosition(self, int position, bool redraw=True)
1128 Sets the sash position, in pixels. If redraw is Ttrue then the panes
1129 are resized and the sash and border are redrawn.
1131 return _windows_
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
1133 def GetSashPosition(*args
, **kwargs
):
1135 GetSashPosition(self) -> int
1137 Returns the surrent sash position.
1139 return _windows_
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
1141 def SetSashGravity(*args
, **kwargs
):
1143 SetSashGravity(self, double gravity)
1145 Set the sash gravity. Gravity is a floating-point factor between 0.0
1146 and 1.0 which controls position of sash while resizing the
1147 `wx.SplitterWindow`. The gravity specifies how much the left/top
1148 window will grow while resizing.
1150 return _windows_
.SplitterWindow_SetSashGravity(*args
, **kwargs
)
1152 def GetSashGravity(*args
, **kwargs
):
1154 GetSashGravity(self) -> double
1156 Gets the sash gravity.
1158 :see: `SetSashGravity`
1161 return _windows_
.SplitterWindow_GetSashGravity(*args
, **kwargs
)
1163 def SetMinimumPaneSize(*args
, **kwargs
):
1165 SetMinimumPaneSize(self, int min)
1167 Sets the minimum pane size in pixels.
1169 The default minimum pane size is zero, which means that either pane
1170 can be reduced to zero by dragging the sash, thus removing one of the
1171 panes. To prevent this behaviour (and veto out-of-range sash
1172 dragging), set a minimum size, for example 20 pixels. If the
1173 wx.SP_PERMIT_UNSPLIT style is used when a splitter window is created,
1174 the window may be unsplit even if minimum size is non-zero.
1176 return _windows_
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
1178 def GetMinimumPaneSize(*args
, **kwargs
):
1180 GetMinimumPaneSize(self) -> int
1182 Gets the minimum pane size in pixels.
1184 return _windows_
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
1186 def SashHitTest(*args
, **kwargs
):
1188 SashHitTest(self, int x, int y, int tolerance=5) -> bool
1190 Tests for x, y over the sash
1192 return _windows_
.SplitterWindow_SashHitTest(*args
, **kwargs
)
1194 def SizeWindows(*args
, **kwargs
):
1200 return _windows_
.SplitterWindow_SizeWindows(*args
, **kwargs
)
1202 def SetNeedUpdating(*args
, **kwargs
):
1203 """SetNeedUpdating(self, bool needUpdating)"""
1204 return _windows_
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
1206 def GetNeedUpdating(*args
, **kwargs
):
1207 """GetNeedUpdating(self) -> bool"""
1208 return _windows_
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
1210 def GetClassDefaultAttributes(*args
, **kwargs
):
1212 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1214 Get the default attributes for this class. This is useful if you want
1215 to use the same font or colour in your own control as in a standard
1216 control -- which is a much better idea than hard coding specific
1217 colours or fonts which might look completely out of place on the
1218 user's system, especially if it uses themes.
1220 The variant parameter is only relevant under Mac currently and is
1221 ignore under other platforms. Under Mac, it will change the size of
1222 the returned font. See `wx.Window.SetWindowVariant` for more about
1225 return _windows_
.SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1227 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
1228 _windows_
.SplitterWindow_swigregister(SplitterWindow
)
1229 SplitterNameStr
= cvar
.SplitterNameStr
1231 def PreSplitterWindow(*args
, **kwargs
):
1233 PreSplitterWindow() -> SplitterWindow
1235 Precreate a SplitterWindow for 2-phase creation.
1237 val
= _windows_
.new_PreSplitterWindow(*args
, **kwargs
)
1240 def SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
):
1242 SplitterWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1244 Get the default attributes for this class. This is useful if you want
1245 to use the same font or colour in your own control as in a standard
1246 control -- which is a much better idea than hard coding specific
1247 colours or fonts which might look completely out of place on the
1248 user's system, especially if it uses themes.
1250 The variant parameter is only relevant under Mac currently and is
1251 ignore under other platforms. Under Mac, it will change the size of
1252 the returned font. See `wx.Window.SetWindowVariant` for more about
1255 return _windows_
.SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1257 class SplitterEvent(_core
.NotifyEvent
):
1258 """This class represents the events generated by a splitter control."""
1259 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1260 __repr__
= _swig_repr
1261 def __init__(self
, *args
, **kwargs
):
1263 __init__(self, EventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent
1265 This class represents the events generated by a splitter control.
1267 _windows_
.SplitterEvent_swiginit(self
,_windows_
.new_SplitterEvent(*args
, **kwargs
))
1268 def SetSashPosition(*args
, **kwargs
):
1270 SetSashPosition(self, int pos)
1272 This function is only meaningful during EVT_SPLITTER_SASH_POS_CHANGING
1273 and EVT_SPLITTER_SASH_POS_CHANGED events. In the case of _CHANGED
1274 events, sets the the new sash position. In the case of _CHANGING
1275 events, sets the new tracking bar position so visual feedback during
1276 dragging will represent that change that will actually take place. Set
1277 to -1 from the event handler code to prevent repositioning.
1279 return _windows_
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
1281 def GetSashPosition(*args
, **kwargs
):
1283 GetSashPosition(self) -> int
1285 Returns the new sash position while in EVT_SPLITTER_SASH_POS_CHANGING
1286 and EVT_SPLITTER_SASH_POS_CHANGED events.
1288 return _windows_
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
1290 def GetWindowBeingRemoved(*args
, **kwargs
):
1292 GetWindowBeingRemoved(self) -> Window
1294 Returns a pointer to the window being removed when a splitter window
1297 return _windows_
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
1299 def GetX(*args
, **kwargs
):
1303 Returns the x coordinate of the double-click point in a
1304 EVT_SPLITTER_DCLICK event.
1306 return _windows_
.SplitterEvent_GetX(*args
, **kwargs
)
1308 def GetY(*args
, **kwargs
):
1312 Returns the y coordinate of the double-click point in a
1313 EVT_SPLITTER_DCLICK event.
1315 return _windows_
.SplitterEvent_GetY(*args
, **kwargs
)
1317 _windows_
.SplitterEvent_swigregister(SplitterEvent
)
1319 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
1320 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
1321 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows_
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
1322 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows_
.wxEVT_COMMAND_SPLITTER_UNSPLIT
1323 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
1324 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
1325 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
1326 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
1327 EVT_SPLITTER_DCLICK
= EVT_SPLITTER_DOUBLECLICKED
1329 #---------------------------------------------------------------------------
1331 SASH_DRAG_NONE
= _windows_
.SASH_DRAG_NONE
1332 SASH_DRAG_DRAGGING
= _windows_
.SASH_DRAG_DRAGGING
1333 SASH_DRAG_LEFT_DOWN
= _windows_
.SASH_DRAG_LEFT_DOWN
1334 SW_NOBORDER
= _windows_
.SW_NOBORDER
1335 SW_BORDER
= _windows_
.SW_BORDER
1336 SW_3DSASH
= _windows_
.SW_3DSASH
1337 SW_3DBORDER
= _windows_
.SW_3DBORDER
1338 SW_3D
= _windows_
.SW_3D
1339 SASH_TOP
= _windows_
.SASH_TOP
1340 SASH_RIGHT
= _windows_
.SASH_RIGHT
1341 SASH_BOTTOM
= _windows_
.SASH_BOTTOM
1342 SASH_LEFT
= _windows_
.SASH_LEFT
1343 SASH_NONE
= _windows_
.SASH_NONE
1344 class SashWindow(_core
.Window
):
1345 """Proxy of C++ SashWindow class"""
1346 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1347 __repr__
= _swig_repr
1348 def __init__(self
, *args
, **kwargs
):
1350 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1351 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1352 String name=SashNameStr) -> SashWindow
1354 _windows_
.SashWindow_swiginit(self
,_windows_
.new_SashWindow(*args
, **kwargs
))
1355 self
._setOORInfo
(self
)
1357 def Create(*args
, **kwargs
):
1359 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1360 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1361 String name=SashNameStr) -> bool
1363 return _windows_
.SashWindow_Create(*args
, **kwargs
)
1365 def SetSashVisible(*args
, **kwargs
):
1366 """SetSashVisible(self, int edge, bool sash)"""
1367 return _windows_
.SashWindow_SetSashVisible(*args
, **kwargs
)
1369 def GetSashVisible(*args
, **kwargs
):
1370 """GetSashVisible(self, int edge) -> bool"""
1371 return _windows_
.SashWindow_GetSashVisible(*args
, **kwargs
)
1373 def SetSashBorder(*args
, **kwargs
):
1374 """SetSashBorder(self, int edge, bool border)"""
1375 return _windows_
.SashWindow_SetSashBorder(*args
, **kwargs
)
1377 def HasBorder(*args
, **kwargs
):
1378 """HasBorder(self, int edge) -> bool"""
1379 return _windows_
.SashWindow_HasBorder(*args
, **kwargs
)
1381 def GetEdgeMargin(*args
, **kwargs
):
1382 """GetEdgeMargin(self, int edge) -> int"""
1383 return _windows_
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
1385 def SetDefaultBorderSize(*args
, **kwargs
):
1386 """SetDefaultBorderSize(self, int width)"""
1387 return _windows_
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
1389 def GetDefaultBorderSize(*args
, **kwargs
):
1390 """GetDefaultBorderSize(self) -> int"""
1391 return _windows_
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
1393 def SetExtraBorderSize(*args
, **kwargs
):
1394 """SetExtraBorderSize(self, int width)"""
1395 return _windows_
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
1397 def GetExtraBorderSize(*args
, **kwargs
):
1398 """GetExtraBorderSize(self) -> int"""
1399 return _windows_
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
1401 def SetMinimumSizeX(*args
, **kwargs
):
1402 """SetMinimumSizeX(self, int min)"""
1403 return _windows_
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
1405 def SetMinimumSizeY(*args
, **kwargs
):
1406 """SetMinimumSizeY(self, int min)"""
1407 return _windows_
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
1409 def GetMinimumSizeX(*args
, **kwargs
):
1410 """GetMinimumSizeX(self) -> int"""
1411 return _windows_
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
1413 def GetMinimumSizeY(*args
, **kwargs
):
1414 """GetMinimumSizeY(self) -> int"""
1415 return _windows_
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
1417 def SetMaximumSizeX(*args
, **kwargs
):
1418 """SetMaximumSizeX(self, int max)"""
1419 return _windows_
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
1421 def SetMaximumSizeY(*args
, **kwargs
):
1422 """SetMaximumSizeY(self, int max)"""
1423 return _windows_
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
1425 def GetMaximumSizeX(*args
, **kwargs
):
1426 """GetMaximumSizeX(self) -> int"""
1427 return _windows_
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
1429 def GetMaximumSizeY(*args
, **kwargs
):
1430 """GetMaximumSizeY(self) -> int"""
1431 return _windows_
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
1433 def SashHitTest(*args
, **kwargs
):
1434 """SashHitTest(self, int x, int y, int tolerance=2) -> int"""
1435 return _windows_
.SashWindow_SashHitTest(*args
, **kwargs
)
1437 def SizeWindows(*args
, **kwargs
):
1438 """SizeWindows(self)"""
1439 return _windows_
.SashWindow_SizeWindows(*args
, **kwargs
)
1441 _windows_
.SashWindow_swigregister(SashWindow
)
1442 SashNameStr
= cvar
.SashNameStr
1443 SashLayoutNameStr
= cvar
.SashLayoutNameStr
1445 def PreSashWindow(*args
, **kwargs
):
1446 """PreSashWindow() -> SashWindow"""
1447 val
= _windows_
.new_PreSashWindow(*args
, **kwargs
)
1450 SASH_STATUS_OK
= _windows_
.SASH_STATUS_OK
1451 SASH_STATUS_OUT_OF_RANGE
= _windows_
.SASH_STATUS_OUT_OF_RANGE
1452 class SashEvent(_core
.CommandEvent
):
1453 """Proxy of C++ SashEvent class"""
1454 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1455 __repr__
= _swig_repr
1456 def __init__(self
, *args
, **kwargs
):
1457 """__init__(self, int id=0, int edge=SASH_NONE) -> SashEvent"""
1458 _windows_
.SashEvent_swiginit(self
,_windows_
.new_SashEvent(*args
, **kwargs
))
1459 def SetEdge(*args
, **kwargs
):
1460 """SetEdge(self, int edge)"""
1461 return _windows_
.SashEvent_SetEdge(*args
, **kwargs
)
1463 def GetEdge(*args
, **kwargs
):
1464 """GetEdge(self) -> int"""
1465 return _windows_
.SashEvent_GetEdge(*args
, **kwargs
)
1467 def SetDragRect(*args
, **kwargs
):
1468 """SetDragRect(self, Rect rect)"""
1469 return _windows_
.SashEvent_SetDragRect(*args
, **kwargs
)
1471 def GetDragRect(*args
, **kwargs
):
1472 """GetDragRect(self) -> Rect"""
1473 return _windows_
.SashEvent_GetDragRect(*args
, **kwargs
)
1475 def SetDragStatus(*args
, **kwargs
):
1476 """SetDragStatus(self, int status)"""
1477 return _windows_
.SashEvent_SetDragStatus(*args
, **kwargs
)
1479 def GetDragStatus(*args
, **kwargs
):
1480 """GetDragStatus(self) -> int"""
1481 return _windows_
.SashEvent_GetDragStatus(*args
, **kwargs
)
1483 _windows_
.SashEvent_swigregister(SashEvent
)
1485 wxEVT_SASH_DRAGGED
= _windows_
.wxEVT_SASH_DRAGGED
1486 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
1487 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
1489 #---------------------------------------------------------------------------
1491 LAYOUT_HORIZONTAL
= _windows_
.LAYOUT_HORIZONTAL
1492 LAYOUT_VERTICAL
= _windows_
.LAYOUT_VERTICAL
1493 LAYOUT_NONE
= _windows_
.LAYOUT_NONE
1494 LAYOUT_TOP
= _windows_
.LAYOUT_TOP
1495 LAYOUT_LEFT
= _windows_
.LAYOUT_LEFT
1496 LAYOUT_RIGHT
= _windows_
.LAYOUT_RIGHT
1497 LAYOUT_BOTTOM
= _windows_
.LAYOUT_BOTTOM
1498 LAYOUT_LENGTH_Y
= _windows_
.LAYOUT_LENGTH_Y
1499 LAYOUT_LENGTH_X
= _windows_
.LAYOUT_LENGTH_X
1500 LAYOUT_MRU_LENGTH
= _windows_
.LAYOUT_MRU_LENGTH
1501 LAYOUT_QUERY
= _windows_
.LAYOUT_QUERY
1502 wxEVT_QUERY_LAYOUT_INFO
= _windows_
.wxEVT_QUERY_LAYOUT_INFO
1503 wxEVT_CALCULATE_LAYOUT
= _windows_
.wxEVT_CALCULATE_LAYOUT
1504 class QueryLayoutInfoEvent(_core
.Event
):
1505 """Proxy of C++ QueryLayoutInfoEvent class"""
1506 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1507 __repr__
= _swig_repr
1508 def __init__(self
, *args
, **kwargs
):
1509 """__init__(self, int id=0) -> QueryLayoutInfoEvent"""
1510 _windows_
.QueryLayoutInfoEvent_swiginit(self
,_windows_
.new_QueryLayoutInfoEvent(*args
, **kwargs
))
1511 def SetRequestedLength(*args
, **kwargs
):
1512 """SetRequestedLength(self, int length)"""
1513 return _windows_
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1515 def GetRequestedLength(*args
, **kwargs
):
1516 """GetRequestedLength(self) -> int"""
1517 return _windows_
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1519 def SetFlags(*args
, **kwargs
):
1520 """SetFlags(self, int flags)"""
1521 return _windows_
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1523 def GetFlags(*args
, **kwargs
):
1524 """GetFlags(self) -> int"""
1525 return _windows_
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1527 def SetSize(*args
, **kwargs
):
1528 """SetSize(self, Size size)"""
1529 return _windows_
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1531 def GetSize(*args
, **kwargs
):
1532 """GetSize(self) -> Size"""
1533 return _windows_
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1535 def SetOrientation(*args
, **kwargs
):
1536 """SetOrientation(self, int orient)"""
1537 return _windows_
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1539 def GetOrientation(*args
, **kwargs
):
1540 """GetOrientation(self) -> int"""
1541 return _windows_
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1543 def SetAlignment(*args
, **kwargs
):
1544 """SetAlignment(self, int align)"""
1545 return _windows_
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1547 def GetAlignment(*args
, **kwargs
):
1548 """GetAlignment(self) -> int"""
1549 return _windows_
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1551 _windows_
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEvent
)
1553 class CalculateLayoutEvent(_core
.Event
):
1554 """Proxy of C++ CalculateLayoutEvent class"""
1555 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1556 __repr__
= _swig_repr
1557 def __init__(self
, *args
, **kwargs
):
1558 """__init__(self, int id=0) -> CalculateLayoutEvent"""
1559 _windows_
.CalculateLayoutEvent_swiginit(self
,_windows_
.new_CalculateLayoutEvent(*args
, **kwargs
))
1560 def SetFlags(*args
, **kwargs
):
1561 """SetFlags(self, int flags)"""
1562 return _windows_
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1564 def GetFlags(*args
, **kwargs
):
1565 """GetFlags(self) -> int"""
1566 return _windows_
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1568 def SetRect(*args
, **kwargs
):
1569 """SetRect(self, Rect rect)"""
1570 return _windows_
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1572 def GetRect(*args
, **kwargs
):
1573 """GetRect(self) -> Rect"""
1574 return _windows_
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1576 _windows_
.CalculateLayoutEvent_swigregister(CalculateLayoutEvent
)
1578 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1579 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1581 class SashLayoutWindow(SashWindow
):
1582 """Proxy of C++ SashLayoutWindow class"""
1583 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1584 __repr__
= _swig_repr
1585 def __init__(self
, *args
, **kwargs
):
1587 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1588 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1589 String name=SashLayoutNameStr) -> SashLayoutWindow
1591 _windows_
.SashLayoutWindow_swiginit(self
,_windows_
.new_SashLayoutWindow(*args
, **kwargs
))
1592 self
._setOORInfo
(self
)
1594 def Create(*args
, **kwargs
):
1596 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1597 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1598 String name=SashLayoutNameStr) -> bool
1600 return _windows_
.SashLayoutWindow_Create(*args
, **kwargs
)
1602 def GetAlignment(*args
, **kwargs
):
1603 """GetAlignment(self) -> int"""
1604 return _windows_
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1606 def GetOrientation(*args
, **kwargs
):
1607 """GetOrientation(self) -> int"""
1608 return _windows_
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1610 def SetAlignment(*args
, **kwargs
):
1611 """SetAlignment(self, int alignment)"""
1612 return _windows_
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1614 def SetDefaultSize(*args
, **kwargs
):
1615 """SetDefaultSize(self, Size size)"""
1616 return _windows_
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1618 def SetOrientation(*args
, **kwargs
):
1619 """SetOrientation(self, int orientation)"""
1620 return _windows_
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1622 _windows_
.SashLayoutWindow_swigregister(SashLayoutWindow
)
1624 def PreSashLayoutWindow(*args
, **kwargs
):
1625 """PreSashLayoutWindow() -> SashLayoutWindow"""
1626 val
= _windows_
.new_PreSashLayoutWindow(*args
, **kwargs
)
1629 class LayoutAlgorithm(_core
.Object
):
1630 """Proxy of C++ LayoutAlgorithm class"""
1631 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1632 __repr__
= _swig_repr
1633 def __init__(self
, *args
, **kwargs
):
1634 """__init__(self) -> LayoutAlgorithm"""
1635 _windows_
.LayoutAlgorithm_swiginit(self
,_windows_
.new_LayoutAlgorithm(*args
, **kwargs
))
1636 __swig_destroy__
= _windows_
.delete_LayoutAlgorithm
1637 __del__
= lambda self
: None;
1638 def LayoutMDIFrame(*args
, **kwargs
):
1639 """LayoutMDIFrame(self, MDIParentFrame frame, Rect rect=None) -> bool"""
1640 return _windows_
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1642 def LayoutFrame(*args
, **kwargs
):
1643 """LayoutFrame(self, Frame frame, Window mainWindow=None) -> bool"""
1644 return _windows_
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1646 def LayoutWindow(*args
, **kwargs
):
1647 """LayoutWindow(self, Window parent, Window mainWindow=None) -> bool"""
1648 return _windows_
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1650 _windows_
.LayoutAlgorithm_swigregister(LayoutAlgorithm
)
1652 class PopupWindow(_core
.Window
):
1653 """Proxy of C++ PopupWindow class"""
1654 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1655 __repr__
= _swig_repr
1656 def __init__(self
, *args
, **kwargs
):
1657 """__init__(self, Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1658 _windows_
.PopupWindow_swiginit(self
,_windows_
.new_PopupWindow(*args
, **kwargs
))
1659 _windows_
.PopupWindow_swigregister(PopupWindow
)
1661 def PrePopupWindow(*args
, **kwargs
):
1662 """PrePopupWindow() -> PopupWindow"""
1663 val
= _windows_
.new_PrePopupWindow(*args
, **kwargs
)
1666 class PopupTransientWindow(PopupWindow
):
1667 """Proxy of C++ PopupTransientWindow class"""
1668 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1669 __repr__
= _swig_repr
1670 def __init__(self
, *args
, **kwargs
):
1671 """__init__(self, Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1672 _windows_
.PopupTransientWindow_swiginit(self
,_windows_
.new_PopupTransientWindow(*args
, **kwargs
))
1673 _windows_
.PopupTransientWindow_swigregister(PopupTransientWindow
)
1675 def PrePopupTransientWindow(*args
, **kwargs
):
1676 """PrePopupTransientWindow() -> PopupTransientWindow"""
1677 val
= _windows_
.new_PrePopupTransientWindow(*args
, **kwargs
)
1680 #---------------------------------------------------------------------------
1682 class TipWindow(Frame
):
1683 """Proxy of C++ TipWindow class"""
1684 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1685 __repr__
= _swig_repr
1686 def __init__(self
, *args
, **kwargs
):
1687 """__init__(self, Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1688 _windows_
.TipWindow_swiginit(self
,_windows_
.new_TipWindow(*args
, **kwargs
))
1689 self
._setOORInfo
(self
)
1691 def SetBoundingRect(*args
, **kwargs
):
1692 """SetBoundingRect(self, Rect rectBound)"""
1693 return _windows_
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1695 def Close(*args
, **kwargs
):
1699 This function simply generates a EVT_CLOSE event whose handler usually
1700 tries to close the window. It doesn't close the window itself,
1701 however. If force is False (the default) then the window's close
1702 handler will be allowed to veto the destruction of the window.
1704 return _windows_
.TipWindow_Close(*args
, **kwargs
)
1706 _windows_
.TipWindow_swigregister(TipWindow
)
1708 #---------------------------------------------------------------------------
1710 class VScrolledWindow(Panel
):
1711 """Proxy of C++ VScrolledWindow class"""
1712 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1713 __repr__
= _swig_repr
1714 def __init__(self
, *args
, **kwargs
):
1716 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1717 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
1719 _windows_
.VScrolledWindow_swiginit(self
,_windows_
.new_VScrolledWindow(*args
, **kwargs
))
1720 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1722 def _setCallbackInfo(*args
, **kwargs
):
1723 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1724 return _windows_
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1726 def Create(*args
, **kwargs
):
1728 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1729 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
1731 return _windows_
.VScrolledWindow_Create(*args
, **kwargs
)
1733 def SetLineCount(*args
, **kwargs
):
1734 """SetLineCount(self, size_t count)"""
1735 return _windows_
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1737 def ScrollToLine(*args
, **kwargs
):
1738 """ScrollToLine(self, size_t line) -> bool"""
1739 return _windows_
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1741 def RefreshLine(*args
, **kwargs
):
1742 """RefreshLine(self, size_t line)"""
1743 return _windows_
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1745 def RefreshLines(*args
, **kwargs
):
1746 """RefreshLines(self, size_t from, size_t to)"""
1747 return _windows_
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1749 def HitTestXY(*args
, **kwargs
):
1750 """HitTestXY(self, int x, int y) -> int"""
1751 return _windows_
.VScrolledWindow_HitTestXY(*args
, **kwargs
)
1753 def HitTest(*args
, **kwargs
):
1754 """HitTest(self, Point pt) -> int"""
1755 return _windows_
.VScrolledWindow_HitTest(*args
, **kwargs
)
1757 def RefreshAll(*args
, **kwargs
):
1758 """RefreshAll(self)"""
1759 return _windows_
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1761 def GetLineCount(*args
, **kwargs
):
1762 """GetLineCount(self) -> size_t"""
1763 return _windows_
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1765 def GetVisibleBegin(*args
, **kwargs
):
1766 """GetVisibleBegin(self) -> size_t"""
1767 return _windows_
.VScrolledWindow_GetVisibleBegin(*args
, **kwargs
)
1769 def GetVisibleEnd(*args
, **kwargs
):
1770 """GetVisibleEnd(self) -> size_t"""
1771 return _windows_
.VScrolledWindow_GetVisibleEnd(*args
, **kwargs
)
1773 def IsVisible(*args
, **kwargs
):
1774 """IsVisible(self, size_t line) -> bool"""
1775 return _windows_
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1777 def GetFirstVisibleLine(*args
, **kwargs
):
1778 """GetFirstVisibleLine(self) -> size_t"""
1779 return _windows_
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1781 def GetLastVisibleLine(*args
, **kwargs
):
1782 """GetLastVisibleLine(self) -> size_t"""
1783 return _windows_
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1785 def FindFirstFromBottom(*args
, **kwargs
):
1786 """FindFirstFromBottom(self, size_t lineLast, bool fullyVisible=False) -> size_t"""
1787 return _windows_
.VScrolledWindow_FindFirstFromBottom(*args
, **kwargs
)
1789 def GetLinesHeight(*args
, **kwargs
):
1790 """GetLinesHeight(self, size_t lineMin, size_t lineMax) -> int"""
1791 return _windows_
.VScrolledWindow_GetLinesHeight(*args
, **kwargs
)
1793 _windows_
.VScrolledWindow_swigregister(VScrolledWindow
)
1795 def PreVScrolledWindow(*args
, **kwargs
):
1796 """PreVScrolledWindow() -> VScrolledWindow"""
1797 val
= _windows_
.new_PreVScrolledWindow(*args
, **kwargs
)
1800 class VListBox(VScrolledWindow
):
1801 """Proxy of C++ VListBox class"""
1802 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1803 __repr__
= _swig_repr
1804 def __init__(self
, *args
, **kwargs
):
1806 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1807 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
1809 _windows_
.VListBox_swiginit(self
,_windows_
.new_VListBox(*args
, **kwargs
))
1810 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
1812 def _setCallbackInfo(*args
, **kwargs
):
1813 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1814 return _windows_
.VListBox__setCallbackInfo(*args
, **kwargs
)
1816 def Create(*args
, **kwargs
):
1818 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1819 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1821 return _windows_
.VListBox_Create(*args
, **kwargs
)
1823 def GetItemCount(*args
, **kwargs
):
1824 """GetItemCount(self) -> size_t"""
1825 return _windows_
.VListBox_GetItemCount(*args
, **kwargs
)
1827 def HasMultipleSelection(*args
, **kwargs
):
1828 """HasMultipleSelection(self) -> bool"""
1829 return _windows_
.VListBox_HasMultipleSelection(*args
, **kwargs
)
1831 def GetSelection(*args
, **kwargs
):
1832 """GetSelection(self) -> int"""
1833 return _windows_
.VListBox_GetSelection(*args
, **kwargs
)
1835 def IsCurrent(*args
, **kwargs
):
1836 """IsCurrent(self, size_t item) -> bool"""
1837 return _windows_
.VListBox_IsCurrent(*args
, **kwargs
)
1839 def IsSelected(*args
, **kwargs
):
1840 """IsSelected(self, size_t item) -> bool"""
1841 return _windows_
.VListBox_IsSelected(*args
, **kwargs
)
1843 def GetSelectedCount(*args
, **kwargs
):
1844 """GetSelectedCount(self) -> size_t"""
1845 return _windows_
.VListBox_GetSelectedCount(*args
, **kwargs
)
1847 def GetFirstSelected(*args
, **kwargs
):
1848 """GetFirstSelected(self) -> PyObject"""
1849 return _windows_
.VListBox_GetFirstSelected(*args
, **kwargs
)
1851 def GetNextSelected(*args
, **kwargs
):
1852 """GetNextSelected(self, unsigned long cookie) -> PyObject"""
1853 return _windows_
.VListBox_GetNextSelected(*args
, **kwargs
)
1855 def GetMargins(*args
, **kwargs
):
1856 """GetMargins(self) -> Point"""
1857 return _windows_
.VListBox_GetMargins(*args
, **kwargs
)
1859 def GetSelectionBackground(*args
, **kwargs
):
1860 """GetSelectionBackground(self) -> Colour"""
1861 return _windows_
.VListBox_GetSelectionBackground(*args
, **kwargs
)
1863 def SetItemCount(*args
, **kwargs
):
1864 """SetItemCount(self, size_t count)"""
1865 return _windows_
.VListBox_SetItemCount(*args
, **kwargs
)
1867 def Clear(*args
, **kwargs
):
1869 return _windows_
.VListBox_Clear(*args
, **kwargs
)
1871 def SetSelection(*args
, **kwargs
):
1872 """SetSelection(self, int selection)"""
1873 return _windows_
.VListBox_SetSelection(*args
, **kwargs
)
1875 def Select(*args
, **kwargs
):
1876 """Select(self, size_t item, bool select=True) -> bool"""
1877 return _windows_
.VListBox_Select(*args
, **kwargs
)
1879 def SelectRange(*args
, **kwargs
):
1880 """SelectRange(self, size_t from, size_t to) -> bool"""
1881 return _windows_
.VListBox_SelectRange(*args
, **kwargs
)
1883 def Toggle(*args
, **kwargs
):
1884 """Toggle(self, size_t item)"""
1885 return _windows_
.VListBox_Toggle(*args
, **kwargs
)
1887 def SelectAll(*args
, **kwargs
):
1888 """SelectAll(self) -> bool"""
1889 return _windows_
.VListBox_SelectAll(*args
, **kwargs
)
1891 def DeselectAll(*args
, **kwargs
):
1892 """DeselectAll(self) -> bool"""
1893 return _windows_
.VListBox_DeselectAll(*args
, **kwargs
)
1895 def SetMargins(*args
, **kwargs
):
1896 """SetMargins(self, Point pt)"""
1897 return _windows_
.VListBox_SetMargins(*args
, **kwargs
)
1899 def SetMarginsXY(*args
, **kwargs
):
1900 """SetMarginsXY(self, int x, int y)"""
1901 return _windows_
.VListBox_SetMarginsXY(*args
, **kwargs
)
1903 def SetSelectionBackground(*args
, **kwargs
):
1904 """SetSelectionBackground(self, Colour col)"""
1905 return _windows_
.VListBox_SetSelectionBackground(*args
, **kwargs
)
1907 def OnDrawSeparator(*args
, **kwargs
):
1908 """OnDrawSeparator(self, DC dc, Rect rect, size_t n)"""
1909 return _windows_
.VListBox_OnDrawSeparator(*args
, **kwargs
)
1911 def OnDrawBackground(*args
, **kwargs
):
1912 """OnDrawBackground(self, DC dc, Rect rect, size_t n)"""
1913 return _windows_
.VListBox_OnDrawBackground(*args
, **kwargs
)
1915 _windows_
.VListBox_swigregister(VListBox
)
1916 VListBoxNameStr
= cvar
.VListBoxNameStr
1918 def PreVListBox(*args
, **kwargs
):
1919 """PreVListBox() -> VListBox"""
1920 val
= _windows_
.new_PreVListBox(*args
, **kwargs
)
1923 class HtmlListBox(VListBox
):
1924 """Proxy of C++ HtmlListBox class"""
1925 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1926 __repr__
= _swig_repr
1927 def __init__(self
, *args
, **kwargs
):
1929 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1930 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
1932 _windows_
.HtmlListBox_swiginit(self
,_windows_
.new_HtmlListBox(*args
, **kwargs
))
1933 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
1935 def _setCallbackInfo(*args
, **kwargs
):
1936 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1937 return _windows_
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
1939 def Create(*args
, **kwargs
):
1941 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1942 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1944 return _windows_
.HtmlListBox_Create(*args
, **kwargs
)
1946 def SetItemCount(*args
, **kwargs
):
1947 """SetItemCount(self, size_t count)"""
1948 return _windows_
.HtmlListBox_SetItemCount(*args
, **kwargs
)
1950 def GetFileSystem(*args
, **kwargs
):
1951 """GetFileSystem(self) -> FileSystem"""
1952 return _windows_
.HtmlListBox_GetFileSystem(*args
, **kwargs
)
1954 def OnLinkClicked(*args
, **kwargs
):
1955 """OnLinkClicked(self, size_t n, wxHtmlLinkInfo link)"""
1956 return _windows_
.HtmlListBox_OnLinkClicked(*args
, **kwargs
)
1958 _windows_
.HtmlListBox_swigregister(HtmlListBox
)
1960 def PreHtmlListBox(*args
, **kwargs
):
1961 """PreHtmlListBox() -> HtmlListBox"""
1962 val
= _windows_
.new_PreHtmlListBox(*args
, **kwargs
)
1965 #---------------------------------------------------------------------------
1967 class TaskBarIcon(_core
.EvtHandler
):
1968 """Proxy of C++ TaskBarIcon class"""
1969 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1970 __repr__
= _swig_repr
1971 def __init__(self
, *args
, **kwargs
):
1972 """__init__(self) -> TaskBarIcon"""
1973 _windows_
.TaskBarIcon_swiginit(self
,_windows_
.new_TaskBarIcon(*args
, **kwargs
))
1974 self
._setCallbackInfo
(self
, TaskBarIcon
, 0)
1976 __swig_destroy__
= _windows_
.delete_TaskBarIcon
1977 __del__
= lambda self
: None;
1978 def _setCallbackInfo(*args
, **kwargs
):
1979 """_setCallbackInfo(self, PyObject self, PyObject _class, int incref)"""
1980 return _windows_
.TaskBarIcon__setCallbackInfo(*args
, **kwargs
)
1982 def Destroy(*args
, **kwargs
):
1986 Deletes the C++ object this Python object is a proxy for.
1988 val
= _windows_
.TaskBarIcon_Destroy(*args
, **kwargs
)
1992 def IsOk(*args
, **kwargs
):
1993 """IsOk(self) -> bool"""
1994 return _windows_
.TaskBarIcon_IsOk(*args
, **kwargs
)
1996 def __nonzero__(self
): return self
.IsOk()
1997 def IsIconInstalled(*args
, **kwargs
):
1998 """IsIconInstalled(self) -> bool"""
1999 return _windows_
.TaskBarIcon_IsIconInstalled(*args
, **kwargs
)
2001 def SetIcon(*args
, **kwargs
):
2002 """SetIcon(self, Icon icon, String tooltip=EmptyString) -> bool"""
2003 return _windows_
.TaskBarIcon_SetIcon(*args
, **kwargs
)
2005 def RemoveIcon(*args
, **kwargs
):
2006 """RemoveIcon(self) -> bool"""
2007 return _windows_
.TaskBarIcon_RemoveIcon(*args
, **kwargs
)
2009 def PopupMenu(*args
, **kwargs
):
2010 """PopupMenu(self, Menu menu) -> bool"""
2011 return _windows_
.TaskBarIcon_PopupMenu(*args
, **kwargs
)
2013 _windows_
.TaskBarIcon_swigregister(TaskBarIcon
)
2015 class TaskBarIconEvent(_core
.Event
):
2016 """Proxy of C++ TaskBarIconEvent class"""
2017 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2018 __repr__
= _swig_repr
2019 def __init__(self
, *args
, **kwargs
):
2020 """__init__(self, EventType evtType, wxTaskBarIcon tbIcon) -> TaskBarIconEvent"""
2021 _windows_
.TaskBarIconEvent_swiginit(self
,_windows_
.new_TaskBarIconEvent(*args
, **kwargs
))
2022 _windows_
.TaskBarIconEvent_swigregister(TaskBarIconEvent
)
2024 wxEVT_TASKBAR_MOVE
= _windows_
.wxEVT_TASKBAR_MOVE
2025 wxEVT_TASKBAR_LEFT_DOWN
= _windows_
.wxEVT_TASKBAR_LEFT_DOWN
2026 wxEVT_TASKBAR_LEFT_UP
= _windows_
.wxEVT_TASKBAR_LEFT_UP
2027 wxEVT_TASKBAR_RIGHT_DOWN
= _windows_
.wxEVT_TASKBAR_RIGHT_DOWN
2028 wxEVT_TASKBAR_RIGHT_UP
= _windows_
.wxEVT_TASKBAR_RIGHT_UP
2029 wxEVT_TASKBAR_LEFT_DCLICK
= _windows_
.wxEVT_TASKBAR_LEFT_DCLICK
2030 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows_
.wxEVT_TASKBAR_RIGHT_DCLICK
2031 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
2032 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
2033 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
2034 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
2035 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
2036 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
2037 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
2039 #---------------------------------------------------------------------------
2041 class ColourData(_core
.Object
):
2043 This class holds a variety of information related to the colour
2044 chooser dialog, used to transfer settings and results to and from the
2047 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2048 __repr__
= _swig_repr
2049 def __init__(self
, *args
, **kwargs
):
2051 __init__(self) -> ColourData
2053 Constructor, sets default values.
2055 _windows_
.ColourData_swiginit(self
,_windows_
.new_ColourData(*args
, **kwargs
))
2056 __swig_destroy__
= _windows_
.delete_ColourData
2057 __del__
= lambda self
: None;
2058 def GetChooseFull(*args
, **kwargs
):
2060 GetChooseFull(self) -> bool
2062 Under Windows, determines whether the Windows colour dialog will
2063 display the full dialog with custom colour selection controls. Has no
2064 meaning under other platforms. The default value is true.
2066 return _windows_
.ColourData_GetChooseFull(*args
, **kwargs
)
2068 def GetColour(*args
, **kwargs
):
2070 GetColour(self) -> Colour
2072 Gets the colour (pre)selected by the dialog.
2074 return _windows_
.ColourData_GetColour(*args
, **kwargs
)
2076 def GetCustomColour(*args
, **kwargs
):
2078 GetCustomColour(self, int i) -> Colour
2080 Gets the i'th custom colour associated with the colour dialog. i
2081 should be an integer between 0 and 15. The default custom colours are
2082 all invalid colours.
2084 return _windows_
.ColourData_GetCustomColour(*args
, **kwargs
)
2086 def SetChooseFull(*args
, **kwargs
):
2088 SetChooseFull(self, int flag)
2090 Under Windows, tells the Windows colour dialog to display the full
2091 dialog with custom colour selection controls. Under other platforms,
2092 has no effect. The default value is true.
2094 return _windows_
.ColourData_SetChooseFull(*args
, **kwargs
)
2096 def SetColour(*args
, **kwargs
):
2098 SetColour(self, Colour colour)
2100 Sets the default colour for the colour dialog. The default colour is
2103 return _windows_
.ColourData_SetColour(*args
, **kwargs
)
2105 def SetCustomColour(*args
, **kwargs
):
2107 SetCustomColour(self, int i, Colour colour)
2109 Sets the i'th custom colour for the colour dialog. i should be an
2110 integer between 0 and 15. The default custom colours are all invalid colours.
2112 return _windows_
.ColourData_SetCustomColour(*args
, **kwargs
)
2114 _windows_
.ColourData_swigregister(ColourData
)
2115 FileSelectorPromptStr
= cvar
.FileSelectorPromptStr
2116 DirSelectorPromptStr
= cvar
.DirSelectorPromptStr
2117 DirDialogNameStr
= cvar
.DirDialogNameStr
2118 FileSelectorDefaultWildcardStr
= cvar
.FileSelectorDefaultWildcardStr
2119 GetTextFromUserPromptStr
= cvar
.GetTextFromUserPromptStr
2120 MessageBoxCaptionStr
= cvar
.MessageBoxCaptionStr
2122 class ColourDialog(Dialog
):
2123 """This class represents the colour chooser dialog."""
2124 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2125 __repr__
= _swig_repr
2126 def __init__(self
, *args
, **kwargs
):
2128 __init__(self, Window parent, ColourData data=None) -> ColourDialog
2130 Constructor. Pass a parent window, and optionally a `wx.ColourData`,
2131 which will be copied to the colour dialog's internal ColourData
2134 _windows_
.ColourDialog_swiginit(self
,_windows_
.new_ColourDialog(*args
, **kwargs
))
2135 self
._setOORInfo
(self
)
2137 def GetColourData(*args
, **kwargs
):
2139 GetColourData(self) -> ColourData
2141 Returns a reference to the `wx.ColourData` used by the dialog.
2143 return _windows_
.ColourDialog_GetColourData(*args
, **kwargs
)
2145 _windows_
.ColourDialog_swigregister(ColourDialog
)
2148 def GetColourFromUser(*args
, **kwargs
):
2150 GetColourFromUser(Window parent=(wxWindow *) NULL, Colour colInit=wxNullColour,
2151 String caption=EmptyString) -> Colour
2153 return _windows_
.GetColourFromUser(*args
, **kwargs
)
2154 DD_NEW_DIR_BUTTON
= _windows_
.DD_NEW_DIR_BUTTON
2155 DD_DEFAULT_STYLE
= _windows_
.DD_DEFAULT_STYLE
2156 DD_CHANGE_DIR
= _windows_
.DD_CHANGE_DIR
2157 class DirDialog(Dialog
):
2159 wx.DirDialog allows the user to select a directory by browising the
2162 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2163 __repr__
= _swig_repr
2164 def __init__(self
, *args
, **kwargs
):
2166 __init__(self, Window parent, String message=DirSelectorPromptStr,
2167 String defaultPath=EmptyString, long style=DD_DEFAULT_STYLE,
2168 Point pos=DefaultPosition, Size size=DefaultSize,
2169 String name=DirDialogNameStr) -> DirDialog
2171 Constructor. Use ShowModal method to show the dialog.
2173 _windows_
.DirDialog_swiginit(self
,_windows_
.new_DirDialog(*args
, **kwargs
))
2174 self
._setOORInfo
(self
)
2176 def GetPath(*args
, **kwargs
):
2178 GetPath(self) -> String
2180 Returns the default or user-selected path.
2182 return _windows_
.DirDialog_GetPath(*args
, **kwargs
)
2184 def GetMessage(*args
, **kwargs
):
2186 GetMessage(self) -> String
2188 Returns the message that will be displayed on the dialog.
2190 return _windows_
.DirDialog_GetMessage(*args
, **kwargs
)
2192 def SetMessage(*args
, **kwargs
):
2194 SetMessage(self, String message)
2196 Sets the message that will be displayed on the dialog.
2198 return _windows_
.DirDialog_SetMessage(*args
, **kwargs
)
2200 def SetPath(*args
, **kwargs
):
2202 SetPath(self, String path)
2204 Sets the default path.
2206 return _windows_
.DirDialog_SetPath(*args
, **kwargs
)
2208 _windows_
.DirDialog_swigregister(DirDialog
)
2210 OPEN
= _windows_
.OPEN
2211 SAVE
= _windows_
.SAVE
2212 OVERWRITE_PROMPT
= _windows_
.OVERWRITE_PROMPT
2213 FILE_MUST_EXIST
= _windows_
.FILE_MUST_EXIST
2214 MULTIPLE
= _windows_
.MULTIPLE
2215 CHANGE_DIR
= _windows_
.CHANGE_DIR
2216 HIDE_READONLY
= _windows_
.HIDE_READONLY
2217 FD_OPEN
= _windows_
.FD_OPEN
2218 FD_SAVE
= _windows_
.FD_SAVE
2219 FD_OVERWRITE_PROMPT
= _windows_
.FD_OVERWRITE_PROMPT
2220 FD_FILE_MUST_EXIST
= _windows_
.FD_FILE_MUST_EXIST
2221 FD_MULTIPLE
= _windows_
.FD_MULTIPLE
2222 FD_CHANGE_DIR
= _windows_
.FD_CHANGE_DIR
2223 FD_PREVIEW
= _windows_
.FD_PREVIEW
2224 FD_DEFAULT_STYLE
= _windows_
.FD_DEFAULT_STYLE
2225 class FileDialog(Dialog
):
2227 wx.FileDialog allows the user to select one or more files from the
2230 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2231 __repr__
= _swig_repr
2232 def __init__(self
, *args
, **kwargs
):
2234 __init__(self, Window parent, String message=FileSelectorPromptStr,
2235 String defaultDir=EmptyString, String defaultFile=EmptyString,
2236 String wildcard=FileSelectorDefaultWildcardStr,
2237 long style=FD_DEFAULT_STYLE,
2238 Point pos=DefaultPosition) -> FileDialog
2240 Constructor. Use ShowModal method to show the dialog.
2242 _windows_
.FileDialog_swiginit(self
,_windows_
.new_FileDialog(*args
, **kwargs
))
2243 self
._setOORInfo
(self
)
2245 def SetMessage(*args
, **kwargs
):
2247 SetMessage(self, String message)
2249 Sets the message that will be displayed on the dialog.
2251 return _windows_
.FileDialog_SetMessage(*args
, **kwargs
)
2253 def SetPath(*args
, **kwargs
):
2255 SetPath(self, String path)
2257 Sets the path (the combined directory and filename that will be
2258 returned when the dialog is dismissed).
2260 return _windows_
.FileDialog_SetPath(*args
, **kwargs
)
2262 def SetDirectory(*args
, **kwargs
):
2264 SetDirectory(self, String dir)
2266 Sets the default directory.
2268 return _windows_
.FileDialog_SetDirectory(*args
, **kwargs
)
2270 def SetFilename(*args
, **kwargs
):
2272 SetFilename(self, String name)
2274 Sets the default filename.
2276 return _windows_
.FileDialog_SetFilename(*args
, **kwargs
)
2278 def SetWildcard(*args
, **kwargs
):
2280 SetWildcard(self, String wildCard)
2282 Sets the wildcard, which can contain multiple file types, for
2285 "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
2288 return _windows_
.FileDialog_SetWildcard(*args
, **kwargs
)
2290 def SetFilterIndex(*args
, **kwargs
):
2292 SetFilterIndex(self, int filterIndex)
2294 Sets the default filter index, starting from zero.
2296 return _windows_
.FileDialog_SetFilterIndex(*args
, **kwargs
)
2298 def GetMessage(*args
, **kwargs
):
2300 GetMessage(self) -> String
2302 Returns the message that will be displayed on the dialog.
2304 return _windows_
.FileDialog_GetMessage(*args
, **kwargs
)
2306 def GetPath(*args
, **kwargs
):
2308 GetPath(self) -> String
2310 Returns the full path (directory and filename) of the selected file.
2312 return _windows_
.FileDialog_GetPath(*args
, **kwargs
)
2314 def GetDirectory(*args
, **kwargs
):
2316 GetDirectory(self) -> String
2318 Returns the default directory.
2320 return _windows_
.FileDialog_GetDirectory(*args
, **kwargs
)
2322 def GetFilename(*args
, **kwargs
):
2324 GetFilename(self) -> String
2326 Returns the default filename.
2328 return _windows_
.FileDialog_GetFilename(*args
, **kwargs
)
2330 def GetWildcard(*args
, **kwargs
):
2332 GetWildcard(self) -> String
2334 Returns the file dialog wildcard.
2336 return _windows_
.FileDialog_GetWildcard(*args
, **kwargs
)
2338 def GetFilterIndex(*args
, **kwargs
):
2340 GetFilterIndex(self) -> int
2342 Returns the index into the list of filters supplied, optionally, in
2343 the wildcard parameter. Before the dialog is shown, this is the index
2344 which will be used when the dialog is first displayed. After the
2345 dialog is shown, this is the index selected by the user.
2347 return _windows_
.FileDialog_GetFilterIndex(*args
, **kwargs
)
2349 def GetFilenames(*args
, **kwargs
):
2351 GetFilenames(self) -> PyObject
2353 Returns a list of filenames chosen in the dialog. This function
2354 should only be used with the dialogs which have wx.MULTIPLE style, use
2355 GetFilename for the others.
2357 return _windows_
.FileDialog_GetFilenames(*args
, **kwargs
)
2359 def GetPaths(*args
, **kwargs
):
2361 GetPaths(self) -> PyObject
2363 Fills the array paths with the full paths of the files chosen. This
2364 function should only be used with the dialogs which have wx.MULTIPLE
2365 style, use GetPath for the others.
2367 return _windows_
.FileDialog_GetPaths(*args
, **kwargs
)
2369 _windows_
.FileDialog_swigregister(FileDialog
)
2371 CHOICEDLG_STYLE
= _windows_
.CHOICEDLG_STYLE
2372 class MultiChoiceDialog(Dialog
):
2373 """A simple dialog with a multi selection listbox."""
2374 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2375 __repr__
= _swig_repr
2376 def __init__(self
, *args
, **kwargs
):
2378 __init__(self, Window parent, String message, String caption,
2379 List choices=EmptyList, long style=CHOICEDLG_STYLE,
2380 Point pos=DefaultPosition) -> MultiChoiceDialog
2382 Constructor. Use the `ShowModal` method to show the dialog.
2384 :param parent: The parent window.
2385 :param message: Text to display above the list of selections.
2386 :param caption: Text to use in the title bar of the dialog.
2387 :param choices: A list of strings or unicode objects that the
2388 user is allowed to choose from.
2389 :param style: Styles to apply to the dialog. The default value is
2390 equivallent to wx.DEFAULT_DIALOG_STYLE|wx.RESIZE_BORDER|wx.OK|wx.CANCEL|wx.CENTER.
2391 :param pos: Where to position the dialog (not used on Windows)
2395 _windows_
.MultiChoiceDialog_swiginit(self
,_windows_
.new_MultiChoiceDialog(*args
, **kwargs
))
2396 self
._setOORInfo
(self
)
2398 def SetSelections(*args
, **kwargs
):
2400 SetSelections(List selections)
2402 Specify the items in the list that should be selected, using a list of
2403 integers. The list should specify the indexes of the items that
2406 return _windows_
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
2408 def GetSelections(*args
, **kwargs
):
2410 GetSelections() -> [selections]
2412 Returns a list of integers representing the items that are selected.
2413 If an item is selected then its index will appear in the list.
2415 return _windows_
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
2417 _windows_
.MultiChoiceDialog_swigregister(MultiChoiceDialog
)
2419 class SingleChoiceDialog(Dialog
):
2420 """A simple dialog with a single selection listbox."""
2421 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2422 __repr__
= _swig_repr
2423 def __init__(self
, *args
, **kwargs
):
2425 __init__(Window parent, String message, String caption,
2426 List choices=EmptyList, long style=CHOICEDLG_STYLE,
2427 Point pos=DefaultPosition) -> SingleChoiceDialog
2429 Constructor. Use ShowModal method to show the dialog.
2431 _windows_
.SingleChoiceDialog_swiginit(self
,_windows_
.new_SingleChoiceDialog(*args
, **kwargs
))
2432 self
._setOORInfo
(self
)
2434 def GetSelection(*args
, **kwargs
):
2436 GetSelection(self) -> int
2438 Get the index of the currently selected item.
2440 return _windows_
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
2442 def GetStringSelection(*args
, **kwargs
):
2444 GetStringSelection(self) -> String
2446 Returns the string value of the currently selected item
2448 return _windows_
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
2450 def SetSelection(*args
, **kwargs
):
2452 SetSelection(self, int sel)
2454 Set the current selected item to sel
2456 return _windows_
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
2458 _windows_
.SingleChoiceDialog_swigregister(SingleChoiceDialog
)
2460 TextEntryDialogStyle
= _windows_
.TextEntryDialogStyle
2461 class TextEntryDialog(Dialog
):
2462 """A dialog with text control, [ok] and [cancel] buttons"""
2463 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2464 __repr__
= _swig_repr
2465 def __init__(self
, *args
, **kwargs
):
2467 __init__(self, Window parent, String message, String caption=GetTextFromUserPromptStr,
2468 String defaultValue=EmptyString,
2469 long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> TextEntryDialog
2471 Constructor. Use ShowModal method to show the dialog.
2473 _windows_
.TextEntryDialog_swiginit(self
,_windows_
.new_TextEntryDialog(*args
, **kwargs
))
2474 self
._setOORInfo
(self
)
2476 def GetValue(*args
, **kwargs
):
2478 GetValue(self) -> String
2480 Returns the text that the user has entered if the user has pressed OK,
2481 or the original value if the user has pressed Cancel.
2483 return _windows_
.TextEntryDialog_GetValue(*args
, **kwargs
)
2485 def SetValue(*args
, **kwargs
):
2487 SetValue(self, String value)
2489 Sets the default text value.
2491 return _windows_
.TextEntryDialog_SetValue(*args
, **kwargs
)
2493 _windows_
.TextEntryDialog_swigregister(TextEntryDialog
)
2495 class PasswordEntryDialog(TextEntryDialog
):
2496 """Proxy of C++ PasswordEntryDialog class"""
2497 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2498 __repr__
= _swig_repr
2499 def __init__(self
, *args
, **kwargs
):
2501 __init__(self, Window parent, String message, String caption=GetPasswordFromUserPromptStr,
2502 String value=EmptyString,
2503 long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> PasswordEntryDialog
2505 _windows_
.PasswordEntryDialog_swiginit(self
,_windows_
.new_PasswordEntryDialog(*args
, **kwargs
))
2506 _windows_
.PasswordEntryDialog_swigregister(PasswordEntryDialog
)
2507 GetPasswordFromUserPromptStr
= cvar
.GetPasswordFromUserPromptStr
2509 class NumberEntryDialog(Dialog
):
2510 """A dialog with spin control, ok and cancel buttons."""
2511 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2512 __repr__
= _swig_repr
2513 def __init__(self
, *args
, **kwargs
):
2515 __init__(self, Window parent, String message, String prompt, String caption,
2516 long value, long min, long max, Point pos=DefaultPosition) -> NumberEntryDialog
2518 Constructor. Use ShowModal method to show the dialog.
2520 _windows_
.NumberEntryDialog_swiginit(self
,_windows_
.new_NumberEntryDialog(*args
, **kwargs
))
2521 self
._setOORInfo
(self
)
2523 def GetValue(*args
, **kwargs
):
2524 """GetValue(self) -> long"""
2525 return _windows_
.NumberEntryDialog_GetValue(*args
, **kwargs
)
2527 _windows_
.NumberEntryDialog_swigregister(NumberEntryDialog
)
2529 class FontData(_core
.Object
):
2531 This class holds a variety of information related to font dialogs and
2532 is used to transfer settings to and results from a `wx.FontDialog`.
2534 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2535 __repr__
= _swig_repr
2536 def __init__(self
, *args
, **kwargs
):
2538 __init__(self) -> FontData
2540 This class holds a variety of information related to font dialogs and
2541 is used to transfer settings to and results from a `wx.FontDialog`.
2543 _windows_
.FontData_swiginit(self
,_windows_
.new_FontData(*args
, **kwargs
))
2544 __swig_destroy__
= _windows_
.delete_FontData
2545 __del__
= lambda self
: None;
2546 def EnableEffects(*args
, **kwargs
):
2548 EnableEffects(self, bool enable)
2550 Enables or disables 'effects' under MS Windows only. This refers to
2551 the controls for manipulating colour, strikeout and underline
2552 properties. The default value is true.
2554 return _windows_
.FontData_EnableEffects(*args
, **kwargs
)
2556 def GetAllowSymbols(*args
, **kwargs
):
2558 GetAllowSymbols(self) -> bool
2560 Under MS Windows, returns a flag determining whether symbol fonts can
2561 be selected. Has no effect on other platforms. The default value is
2564 return _windows_
.FontData_GetAllowSymbols(*args
, **kwargs
)
2566 def GetColour(*args
, **kwargs
):
2568 GetColour(self) -> Colour
2570 Gets the colour associated with the font dialog. The default value is
2573 return _windows_
.FontData_GetColour(*args
, **kwargs
)
2575 def GetChosenFont(*args
, **kwargs
):
2577 GetChosenFont(self) -> Font
2579 Gets the font chosen by the user.
2581 return _windows_
.FontData_GetChosenFont(*args
, **kwargs
)
2583 def GetEnableEffects(*args
, **kwargs
):
2585 GetEnableEffects(self) -> bool
2587 Determines whether 'effects' are enabled under Windows.
2589 return _windows_
.FontData_GetEnableEffects(*args
, **kwargs
)
2591 def GetInitialFont(*args
, **kwargs
):
2593 GetInitialFont(self) -> Font
2595 Gets the font that will be initially used by the font dialog. This
2596 should have previously been set by the application.
2598 return _windows_
.FontData_GetInitialFont(*args
, **kwargs
)
2600 def GetShowHelp(*args
, **kwargs
):
2602 GetShowHelp(self) -> bool
2604 Returns true if the Help button will be shown (Windows only). The
2605 default value is false.
2607 return _windows_
.FontData_GetShowHelp(*args
, **kwargs
)
2609 def SetAllowSymbols(*args
, **kwargs
):
2611 SetAllowSymbols(self, bool allowSymbols)
2613 Under MS Windows, determines whether symbol fonts can be selected. Has
2614 no effect on other platforms. The default value is true.
2616 return _windows_
.FontData_SetAllowSymbols(*args
, **kwargs
)
2618 def SetChosenFont(*args
, **kwargs
):
2620 SetChosenFont(self, Font font)
2622 Sets the font that will be returned to the user (normally for internal
2625 return _windows_
.FontData_SetChosenFont(*args
, **kwargs
)
2627 def SetColour(*args
, **kwargs
):
2629 SetColour(self, Colour colour)
2631 Sets the colour that will be used for the font foreground colour. The
2632 default colour is black.
2634 return _windows_
.FontData_SetColour(*args
, **kwargs
)
2636 def SetInitialFont(*args
, **kwargs
):
2638 SetInitialFont(self, Font font)
2640 Sets the font that will be initially used by the font dialog.
2642 return _windows_
.FontData_SetInitialFont(*args
, **kwargs
)
2644 def SetRange(*args
, **kwargs
):
2646 SetRange(self, int min, int max)
2648 Sets the valid range for the font point size (Windows only). The
2649 default is 0, 0 (unrestricted range).
2651 return _windows_
.FontData_SetRange(*args
, **kwargs
)
2653 def SetShowHelp(*args
, **kwargs
):
2655 SetShowHelp(self, bool showHelp)
2657 Determines whether the Help button will be displayed in the font
2658 dialog (Windows only). The default value is false.
2660 return _windows_
.FontData_SetShowHelp(*args
, **kwargs
)
2662 _windows_
.FontData_swigregister(FontData
)
2664 class FontDialog(Dialog
):
2666 wx.FontDialog allows the user to select a system font and its attributes.
2671 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2672 __repr__
= _swig_repr
2673 def __init__(self
, *args
, **kwargs
):
2675 __init__(self, Window parent, FontData data) -> FontDialog
2677 Constructor. Pass a parent window and the `wx.FontData` object to be
2678 used to initialize the dialog controls. Call `ShowModal` to display
2679 the dialog. If ShowModal returns ``wx.ID_OK`` then you can fetch the
2680 results with via the `wx.FontData` returned by `GetFontData`.
2682 _windows_
.FontDialog_swiginit(self
,_windows_
.new_FontDialog(*args
, **kwargs
))
2683 self
._setOORInfo
(self
)
2685 def GetFontData(*args
, **kwargs
):
2687 GetFontData(self) -> FontData
2689 Returns a reference to the internal `wx.FontData` used by the
2692 return _windows_
.FontDialog_GetFontData(*args
, **kwargs
)
2694 _windows_
.FontDialog_swigregister(FontDialog
)
2697 def GetFontFromUser(*args
, **kwargs
):
2698 """GetFontFromUser(Window parent=None, Font fontInit=wxNullFont, String caption=EmptyString) -> Font"""
2699 return _windows_
.GetFontFromUser(*args
, **kwargs
)
2700 class MessageDialog(Dialog
):
2702 This class provides a simple dialog that shows a single or multi-line
2703 message, with a choice of OK, Yes, No and/or Cancel buttons.
2705 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2706 __repr__
= _swig_repr
2707 def __init__(self
, *args
, **kwargs
):
2709 __init__(self, Window parent, String message, String caption=MessageBoxCaptionStr,
2710 long style=wxOK|wxCANCEL|wxCENTRE,
2711 Point pos=DefaultPosition) -> MessageDialog
2713 Constructor, use `ShowModal` to display the dialog.
2715 _windows_
.MessageDialog_swiginit(self
,_windows_
.new_MessageDialog(*args
, **kwargs
))
2716 self
._setOORInfo
(self
)
2718 _windows_
.MessageDialog_swigregister(MessageDialog
)
2720 class ProgressDialog(Frame
):
2722 A dialog that shows a short message and a progress bar. Optionally, it
2723 can display an ABORT button.
2725 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2726 __repr__
= _swig_repr
2727 def __init__(self
, *args
, **kwargs
):
2729 __init__(self, String title, String message, int maximum=100, Window parent=None,
2730 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
2732 Constructor. Creates the dialog, displays it and disables user input
2733 for other windows, or, if wx.PD_APP_MODAL flag is not given, for its
2736 _windows_
.ProgressDialog_swiginit(self
,_windows_
.new_ProgressDialog(*args
, **kwargs
))
2737 self
._setOORInfo
(self
)
2739 def Update(*args
, **kwargs
):
2741 Update(self, int value, String newmsg) --> (continue, skip)
2743 Updates the dialog, setting the progress bar to the new value and, if
2744 given changes the message above it. The value given should be less
2745 than or equal to the maximum value given to the constructor and the
2746 dialog is closed if it is equal to the maximum. Returns a tuple of
2747 boolean values, ``(continue, skip)`` where ``continue`` is ``True``
2748 unless the Cancel button has been pressed, and ``skip`` is ``False``
2749 unless the Skip button (if any) has been pressed.
2751 If the ``continue`` return value is ``false``, the application can either
2752 immediately destroy the dialog or ask the user for confirmation, and if the
2753 abort is not confirmed the dialog may be resumed with `Resume` function.
2756 return _windows_
.ProgressDialog_Update(*args
, **kwargs
)
2758 def Resume(*args
, **kwargs
):
2762 Can be used to continue with the dialog, after the user had chosen to
2765 return _windows_
.ProgressDialog_Resume(*args
, **kwargs
)
2767 _windows_
.ProgressDialog_swigregister(ProgressDialog
)
2769 FR_DOWN
= _windows_
.FR_DOWN
2770 FR_WHOLEWORD
= _windows_
.FR_WHOLEWORD
2771 FR_MATCHCASE
= _windows_
.FR_MATCHCASE
2772 FR_REPLACEDIALOG
= _windows_
.FR_REPLACEDIALOG
2773 FR_NOUPDOWN
= _windows_
.FR_NOUPDOWN
2774 FR_NOMATCHCASE
= _windows_
.FR_NOMATCHCASE
2775 FR_NOWHOLEWORD
= _windows_
.FR_NOWHOLEWORD
2776 wxEVT_COMMAND_FIND
= _windows_
.wxEVT_COMMAND_FIND
2777 wxEVT_COMMAND_FIND_NEXT
= _windows_
.wxEVT_COMMAND_FIND_NEXT
2778 wxEVT_COMMAND_FIND_REPLACE
= _windows_
.wxEVT_COMMAND_FIND_REPLACE
2779 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows_
.wxEVT_COMMAND_FIND_REPLACE_ALL
2780 wxEVT_COMMAND_FIND_CLOSE
= _windows_
.wxEVT_COMMAND_FIND_CLOSE
2781 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
2782 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
2783 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
2784 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
2785 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
2787 # For backwards compatibility. Should they be removed?
2788 EVT_COMMAND_FIND
= EVT_FIND
2789 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
2790 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
2791 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
2792 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
2794 class FindDialogEvent(_core
.CommandEvent
):
2795 """Events for the FindReplaceDialog"""
2796 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2797 __repr__
= _swig_repr
2798 def __init__(self
, *args
, **kwargs
):
2800 __init__(self, EventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent
2802 Events for the FindReplaceDialog
2804 _windows_
.FindDialogEvent_swiginit(self
,_windows_
.new_FindDialogEvent(*args
, **kwargs
))
2805 def GetFlags(*args
, **kwargs
):
2807 GetFlags(self) -> int
2809 Get the currently selected flags: this is the combination of
2810 wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.
2812 return _windows_
.FindDialogEvent_GetFlags(*args
, **kwargs
)
2814 def GetFindString(*args
, **kwargs
):
2816 GetFindString(self) -> String
2818 Return the string to find (never empty).
2820 return _windows_
.FindDialogEvent_GetFindString(*args
, **kwargs
)
2822 def GetReplaceString(*args
, **kwargs
):
2824 GetReplaceString(self) -> String
2826 Return the string to replace the search string with (only for replace
2827 and replace all events).
2829 return _windows_
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
2831 def GetDialog(*args
, **kwargs
):
2833 GetDialog(self) -> FindReplaceDialog
2835 Return the pointer to the dialog which generated this event.
2837 return _windows_
.FindDialogEvent_GetDialog(*args
, **kwargs
)
2839 def SetFlags(*args
, **kwargs
):
2840 """SetFlags(self, int flags)"""
2841 return _windows_
.FindDialogEvent_SetFlags(*args
, **kwargs
)
2843 def SetFindString(*args
, **kwargs
):
2844 """SetFindString(self, String str)"""
2845 return _windows_
.FindDialogEvent_SetFindString(*args
, **kwargs
)
2847 def SetReplaceString(*args
, **kwargs
):
2848 """SetReplaceString(self, String str)"""
2849 return _windows_
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
2851 _windows_
.FindDialogEvent_swigregister(FindDialogEvent
)
2853 class FindReplaceData(_core
.Object
):
2855 wx.FindReplaceData holds the data for wx.FindReplaceDialog. It is used
2856 to initialize the dialog with the default values and will keep the
2857 last values from the dialog when it is closed. It is also updated each
2858 time a `wx.FindDialogEvent` is generated so instead of using the
2859 `wx.FindDialogEvent` methods you can also directly query this object.
2861 Note that all SetXXX() methods may only be called before showing the
2862 dialog and calling them has no effect later.
2864 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2865 __repr__
= _swig_repr
2866 def __init__(self
, *args
, **kwargs
):
2868 __init__(self, int flags=0) -> FindReplaceData
2870 Constuctor initializes the flags to default value (0).
2872 _windows_
.FindReplaceData_swiginit(self
,_windows_
.new_FindReplaceData(*args
, **kwargs
))
2873 __swig_destroy__
= _windows_
.delete_FindReplaceData
2874 __del__
= lambda self
: None;
2875 def GetFindString(*args
, **kwargs
):
2877 GetFindString(self) -> String
2879 Get the string to find.
2881 return _windows_
.FindReplaceData_GetFindString(*args
, **kwargs
)
2883 def GetReplaceString(*args
, **kwargs
):
2885 GetReplaceString(self) -> String
2887 Get the replacement string.
2889 return _windows_
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
2891 def GetFlags(*args
, **kwargs
):
2893 GetFlags(self) -> int
2895 Get the combination of flag values.
2897 return _windows_
.FindReplaceData_GetFlags(*args
, **kwargs
)
2899 def SetFlags(*args
, **kwargs
):
2901 SetFlags(self, int flags)
2903 Set the flags to use to initialize the controls of the dialog.
2905 return _windows_
.FindReplaceData_SetFlags(*args
, **kwargs
)
2907 def SetFindString(*args
, **kwargs
):
2909 SetFindString(self, String str)
2911 Set the string to find (used as initial value by the dialog).
2913 return _windows_
.FindReplaceData_SetFindString(*args
, **kwargs
)
2915 def SetReplaceString(*args
, **kwargs
):
2917 SetReplaceString(self, String str)
2919 Set the replacement string (used as initial value by the dialog).
2921 return _windows_
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
2923 _windows_
.FindReplaceData_swigregister(FindReplaceData
)
2925 class FindReplaceDialog(Dialog
):
2927 wx.FindReplaceDialog is a standard modeless dialog which is used to
2928 allow the user to search for some text (and possibly replace it with
2929 something else). The actual searching is supposed to be done in the
2930 owner window which is the parent of this dialog. Note that it means
2931 that unlike for the other standard dialogs this one must have a parent
2932 window. Also note that there is no way to use this dialog in a modal
2933 way; it is always, by design and implementation, modeless.
2935 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2936 __repr__
= _swig_repr
2937 def __init__(self
, *args
, **kwargs
):
2939 __init__(self, Window parent, FindReplaceData data, String title,
2940 int style=0) -> FindReplaceDialog
2942 Create a FindReplaceDialog. The parent and data parameters must be
2943 non-None. Use Show to display the dialog.
2945 _windows_
.FindReplaceDialog_swiginit(self
,_windows_
.new_FindReplaceDialog(*args
, **kwargs
))
2946 self
._setOORInfo
(self
)
2948 def Create(*args
, **kwargs
):
2950 Create(self, Window parent, FindReplaceData data, String title,
2951 int style=0) -> bool
2953 Create the dialog, for 2-phase create.
2955 return _windows_
.FindReplaceDialog_Create(*args
, **kwargs
)
2957 def GetData(*args
, **kwargs
):
2959 GetData(self) -> FindReplaceData
2961 Get the FindReplaceData object used by this dialog.
2963 return _windows_
.FindReplaceDialog_GetData(*args
, **kwargs
)
2965 def SetData(*args
, **kwargs
):
2967 SetData(self, FindReplaceData data)
2969 Set the FindReplaceData object used by this dialog.
2971 return _windows_
.FindReplaceDialog_SetData(*args
, **kwargs
)
2973 _windows_
.FindReplaceDialog_swigregister(FindReplaceDialog
)
2975 def PreFindReplaceDialog(*args
, **kwargs
):
2977 PreFindReplaceDialog() -> FindReplaceDialog
2979 Precreate a FindReplaceDialog for 2-phase creation
2981 val
= _windows_
.new_PreFindReplaceDialog(*args
, **kwargs
)
2984 #---------------------------------------------------------------------------
2986 IDM_WINDOWTILE
= _windows_
.IDM_WINDOWTILE
2987 IDM_WINDOWTILEHOR
= _windows_
.IDM_WINDOWTILEHOR
2988 IDM_WINDOWCASCADE
= _windows_
.IDM_WINDOWCASCADE
2989 IDM_WINDOWICONS
= _windows_
.IDM_WINDOWICONS
2990 IDM_WINDOWNEXT
= _windows_
.IDM_WINDOWNEXT
2991 IDM_WINDOWTILEVERT
= _windows_
.IDM_WINDOWTILEVERT
2992 IDM_WINDOWPREV
= _windows_
.IDM_WINDOWPREV
2993 FIRST_MDI_CHILD
= _windows_
.FIRST_MDI_CHILD
2994 LAST_MDI_CHILD
= _windows_
.LAST_MDI_CHILD
2995 class MDIParentFrame(Frame
):
2996 """Proxy of C++ MDIParentFrame class"""
2997 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
2998 __repr__
= _swig_repr
2999 def __init__(self
, *args
, **kwargs
):
3001 __init__(self, Window parent, int id=-1, String title=EmptyString,
3002 Point pos=DefaultPosition, Size size=DefaultSize,
3003 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3004 String name=FrameNameStr) -> MDIParentFrame
3006 _windows_
.MDIParentFrame_swiginit(self
,_windows_
.new_MDIParentFrame(*args
, **kwargs
))
3007 self
._setOORInfo
(self
)
3009 def Create(*args
, **kwargs
):
3011 Create(self, Window parent, int id=-1, String title=EmptyString,
3012 Point pos=DefaultPosition, Size size=DefaultSize,
3013 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3014 String name=FrameNameStr) -> bool
3016 return _windows_
.MDIParentFrame_Create(*args
, **kwargs
)
3018 def ActivateNext(*args
, **kwargs
):
3019 """ActivateNext(self)"""
3020 return _windows_
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
3022 def ActivatePrevious(*args
, **kwargs
):
3023 """ActivatePrevious(self)"""
3024 return _windows_
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
3026 def ArrangeIcons(*args
, **kwargs
):
3027 """ArrangeIcons(self)"""
3028 return _windows_
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
3030 def Cascade(*args
, **kwargs
):
3032 return _windows_
.MDIParentFrame_Cascade(*args
, **kwargs
)
3034 def GetActiveChild(*args
, **kwargs
):
3035 """GetActiveChild(self) -> MDIChildFrame"""
3036 return _windows_
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
3038 def GetClientWindow(*args
, **kwargs
):
3039 """GetClientWindow(self) -> MDIClientWindow"""
3040 return _windows_
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
3042 def GetToolBar(*args
, **kwargs
):
3043 """GetToolBar(self) -> Window"""
3044 return _windows_
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
3046 def Tile(*args
, **kwargs
):
3047 """Tile(self, int orient=HORIZONTAL)"""
3048 return _windows_
.MDIParentFrame_Tile(*args
, **kwargs
)
3050 _windows_
.MDIParentFrame_swigregister(MDIParentFrame
)
3052 def PreMDIParentFrame(*args
, **kwargs
):
3053 """PreMDIParentFrame() -> MDIParentFrame"""
3054 val
= _windows_
.new_PreMDIParentFrame(*args
, **kwargs
)
3057 class MDIChildFrame(Frame
):
3058 """Proxy of C++ MDIChildFrame class"""
3059 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3060 __repr__
= _swig_repr
3061 def __init__(self
, *args
, **kwargs
):
3063 __init__(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3064 Point pos=DefaultPosition, Size size=DefaultSize,
3065 long style=DEFAULT_FRAME_STYLE,
3066 String name=FrameNameStr) -> MDIChildFrame
3068 _windows_
.MDIChildFrame_swiginit(self
,_windows_
.new_MDIChildFrame(*args
, **kwargs
))
3069 self
._setOORInfo
(self
)
3071 def Create(*args
, **kwargs
):
3073 Create(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3074 Point pos=DefaultPosition, Size size=DefaultSize,
3075 long style=DEFAULT_FRAME_STYLE,
3076 String name=FrameNameStr) -> bool
3078 return _windows_
.MDIChildFrame_Create(*args
, **kwargs
)
3080 def Activate(*args
, **kwargs
):
3081 """Activate(self)"""
3082 return _windows_
.MDIChildFrame_Activate(*args
, **kwargs
)
3084 _windows_
.MDIChildFrame_swigregister(MDIChildFrame
)
3086 def PreMDIChildFrame(*args
, **kwargs
):
3087 """PreMDIChildFrame() -> MDIChildFrame"""
3088 val
= _windows_
.new_PreMDIChildFrame(*args
, **kwargs
)
3091 class MDIClientWindow(_core
.Window
):
3092 """Proxy of C++ MDIClientWindow class"""
3093 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3094 __repr__
= _swig_repr
3095 def __init__(self
, *args
, **kwargs
):
3096 """__init__(self, MDIParentFrame parent, long style=0) -> MDIClientWindow"""
3097 _windows_
.MDIClientWindow_swiginit(self
,_windows_
.new_MDIClientWindow(*args
, **kwargs
))
3098 self
._setOORInfo
(self
)
3100 def Create(*args
, **kwargs
):
3101 """Create(self, MDIParentFrame parent, long style=0) -> bool"""
3102 return _windows_
.MDIClientWindow_Create(*args
, **kwargs
)
3104 _windows_
.MDIClientWindow_swigregister(MDIClientWindow
)
3106 def PreMDIClientWindow(*args
, **kwargs
):
3107 """PreMDIClientWindow() -> MDIClientWindow"""
3108 val
= _windows_
.new_PreMDIClientWindow(*args
, **kwargs
)
3111 #---------------------------------------------------------------------------
3113 class PyWindow(_core
.Window
):
3114 """Proxy of C++ PyWindow class"""
3115 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3116 __repr__
= _swig_repr
3117 def __init__(self
, *args
, **kwargs
):
3119 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3120 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyWindow
3122 _windows_
.PyWindow_swiginit(self
,_windows_
.new_PyWindow(*args
, **kwargs
))
3123 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
3125 def _setCallbackInfo(*args
, **kwargs
):
3126 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3127 return _windows_
.PyWindow__setCallbackInfo(*args
, **kwargs
)
3129 def SetBestSize(*args
, **kwargs
):
3130 """SetBestSize(self, Size size)"""
3131 return _windows_
.PyWindow_SetBestSize(*args
, **kwargs
)
3133 def DoEraseBackground(*args
, **kwargs
):
3134 """DoEraseBackground(self, DC dc) -> bool"""
3135 return _windows_
.PyWindow_DoEraseBackground(*args
, **kwargs
)
3137 def DoMoveWindow(*args
, **kwargs
):
3138 """DoMoveWindow(self, int x, int y, int width, int height)"""
3139 return _windows_
.PyWindow_DoMoveWindow(*args
, **kwargs
)
3141 def DoSetSize(*args
, **kwargs
):
3142 """DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3143 return _windows_
.PyWindow_DoSetSize(*args
, **kwargs
)
3145 def DoSetClientSize(*args
, **kwargs
):
3146 """DoSetClientSize(self, int width, int height)"""
3147 return _windows_
.PyWindow_DoSetClientSize(*args
, **kwargs
)
3149 def DoSetVirtualSize(*args
, **kwargs
):
3150 """DoSetVirtualSize(self, int x, int y)"""
3151 return _windows_
.PyWindow_DoSetVirtualSize(*args
, **kwargs
)
3153 def DoGetSize(*args
, **kwargs
):
3154 """DoGetSize() -> (width, height)"""
3155 return _windows_
.PyWindow_DoGetSize(*args
, **kwargs
)
3157 def DoGetClientSize(*args
, **kwargs
):
3158 """DoGetClientSize() -> (width, height)"""
3159 return _windows_
.PyWindow_DoGetClientSize(*args
, **kwargs
)
3161 def DoGetPosition(*args
, **kwargs
):
3162 """DoGetPosition() -> (x,y)"""
3163 return _windows_
.PyWindow_DoGetPosition(*args
, **kwargs
)
3165 def DoGetVirtualSize(*args
, **kwargs
):
3166 """DoGetVirtualSize(self) -> Size"""
3167 return _windows_
.PyWindow_DoGetVirtualSize(*args
, **kwargs
)
3169 def DoGetBestSize(*args
, **kwargs
):
3170 """DoGetBestSize(self) -> Size"""
3171 return _windows_
.PyWindow_DoGetBestSize(*args
, **kwargs
)
3173 def GetDefaultAttributes(*args
, **kwargs
):
3174 """GetDefaultAttributes(self) -> VisualAttributes"""
3175 return _windows_
.PyWindow_GetDefaultAttributes(*args
, **kwargs
)
3177 def OnInternalIdle(*args
, **kwargs
):
3178 """OnInternalIdle(self)"""
3179 return _windows_
.PyWindow_OnInternalIdle(*args
, **kwargs
)
3181 def base_DoMoveWindow(*args
, **kw
):
3182 return PyWindow
.DoMoveWindow(*args
, **kw
)
3183 base_DoMoveWindow
= wx
._deprecated
(base_DoMoveWindow
,
3184 "Please use PyWindow.DoMoveWindow instead.")
3186 def base_DoSetSize(*args
, **kw
):
3187 return PyWindow
.DoSetSize(*args
, **kw
)
3188 base_DoSetSize
= wx
._deprecated
(base_DoSetSize
,
3189 "Please use PyWindow.DoSetSize instead.")
3191 def base_DoSetClientSize(*args
, **kw
):
3192 return PyWindow
.DoSetClientSize(*args
, **kw
)
3193 base_DoSetClientSize
= wx
._deprecated
(base_DoSetClientSize
,
3194 "Please use PyWindow.DoSetClientSize instead.")
3196 def base_DoSetVirtualSize(*args
, **kw
):
3197 return PyWindow
.DoSetVirtualSize(*args
, **kw
)
3198 base_DoSetVirtualSize
= wx
._deprecated
(base_DoSetVirtualSize
,
3199 "Please use PyWindow.DoSetVirtualSize instead.")
3201 def base_DoGetSize(*args
, **kw
):
3202 return PyWindow
.DoGetSize(*args
, **kw
)
3203 base_DoGetSize
= wx
._deprecated
(base_DoGetSize
,
3204 "Please use PyWindow.DoGetSize instead.")
3206 def base_DoGetClientSize(*args
, **kw
):
3207 return PyWindow
.DoGetClientSize(*args
, **kw
)
3208 base_DoGetClientSize
= wx
._deprecated
(base_DoGetClientSize
,
3209 "Please use PyWindow.DoGetClientSize instead.")
3211 def base_DoGetPosition(*args
, **kw
):
3212 return PyWindow
.DoGetPosition(*args
, **kw
)
3213 base_DoGetPosition
= wx
._deprecated
(base_DoGetPosition
,
3214 "Please use PyWindow.DoGetPosition instead.")
3216 def base_DoGetVirtualSize(*args
, **kw
):
3217 return PyWindow
.DoGetVirtualSize(*args
, **kw
)
3218 base_DoGetVirtualSize
= wx
._deprecated
(base_DoGetVirtualSize
,
3219 "Please use PyWindow.DoGetVirtualSize instead.")
3221 def base_DoGetBestSize(*args
, **kw
):
3222 return PyWindow
.DoGetBestSize(*args
, **kw
)
3223 base_DoGetBestSize
= wx
._deprecated
(base_DoGetBestSize
,
3224 "Please use PyWindow.DoGetBestSize instead.")
3226 def base_InitDialog(*args
, **kw
):
3227 return PyWindow
.InitDialog(*args
, **kw
)
3228 base_InitDialog
= wx
._deprecated
(base_InitDialog
,
3229 "Please use PyWindow.InitDialog instead.")
3231 def base_TransferDataToWindow(*args
, **kw
):
3232 return PyWindow
.TransferDataToWindow(*args
, **kw
)
3233 base_TransferDataToWindow
= wx
._deprecated
(base_TransferDataToWindow
,
3234 "Please use PyWindow.TransferDataToWindow instead.")
3236 def base_TransferDataFromWindow(*args
, **kw
):
3237 return PyWindow
.TransferDataFromWindow(*args
, **kw
)
3238 base_TransferDataFromWindow
= wx
._deprecated
(base_TransferDataFromWindow
,
3239 "Please use PyWindow.TransferDataFromWindow instead.")
3241 def base_Validate(*args
, **kw
):
3242 return PyWindow
.Validate(*args
, **kw
)
3243 base_Validate
= wx
._deprecated
(base_Validate
,
3244 "Please use PyWindow.Validate instead.")
3246 def base_AcceptsFocus(*args
, **kw
):
3247 return PyWindow
.AcceptsFocus(*args
, **kw
)
3248 base_AcceptsFocus
= wx
._deprecated
(base_AcceptsFocus
,
3249 "Please use PyWindow.AcceptsFocus instead.")
3251 def base_AcceptsFocusFromKeyboard(*args
, **kw
):
3252 return PyWindow
.AcceptsFocusFromKeyboard(*args
, **kw
)
3253 base_AcceptsFocusFromKeyboard
= wx
._deprecated
(base_AcceptsFocusFromKeyboard
,
3254 "Please use PyWindow.AcceptsFocusFromKeyboard instead.")
3256 def base_GetMaxSize(*args
, **kw
):
3257 return PyWindow
.GetMaxSize(*args
, **kw
)
3258 base_GetMaxSize
= wx
._deprecated
(base_GetMaxSize
,
3259 "Please use PyWindow.GetMaxSize instead.")
3261 def base_AddChild(*args
, **kw
):
3262 return PyWindow
.AddChild(*args
, **kw
)
3263 base_AddChild
= wx
._deprecated
(base_AddChild
,
3264 "Please use PyWindow.AddChild instead.")
3266 def base_RemoveChild(*args
, **kw
):
3267 return PyWindow
.RemoveChild(*args
, **kw
)
3268 base_RemoveChild
= wx
._deprecated
(base_RemoveChild
,
3269 "Please use PyWindow.RemoveChild instead.")
3271 def base_ShouldInheritColours(*args
, **kw
):
3272 return PyWindow
.ShouldInheritColours(*args
, **kw
)
3273 base_ShouldInheritColours
= wx
._deprecated
(base_ShouldInheritColours
,
3274 "Please use PyWindow.ShouldInheritColours instead.")
3276 def base_GetDefaultAttributes(*args
, **kw
):
3277 return PyWindow
.GetDefaultAttributes(*args
, **kw
)
3278 base_GetDefaultAttributes
= wx
._deprecated
(base_GetDefaultAttributes
,
3279 "Please use PyWindow.GetDefaultAttributes instead.")
3281 def base_OnInternalIdle(*args
, **kw
):
3282 return PyWindow
.OnInternalIdle(*args
, **kw
)
3283 base_OnInternalIdle
= wx
._deprecated
(base_OnInternalIdle
,
3284 "Please use PyWindow.OnInternalIdle instead.")
3286 _windows_
.PyWindow_swigregister(PyWindow
)
3288 def PrePyWindow(*args
, **kwargs
):
3289 """PrePyWindow() -> PyWindow"""
3290 val
= _windows_
.new_PrePyWindow(*args
, **kwargs
)
3293 class PyPanel(Panel
):
3294 """Proxy of C++ PyPanel class"""
3295 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3296 __repr__
= _swig_repr
3297 def __init__(self
, *args
, **kwargs
):
3299 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3300 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyPanel
3302 _windows_
.PyPanel_swiginit(self
,_windows_
.new_PyPanel(*args
, **kwargs
))
3303 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3305 def _setCallbackInfo(*args
, **kwargs
):
3306 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3307 return _windows_
.PyPanel__setCallbackInfo(*args
, **kwargs
)
3309 def SetBestSize(*args
, **kwargs
):
3310 """SetBestSize(self, Size size)"""
3311 return _windows_
.PyPanel_SetBestSize(*args
, **kwargs
)
3313 def DoEraseBackground(*args
, **kwargs
):
3314 """DoEraseBackground(self, DC dc) -> bool"""
3315 return _windows_
.PyPanel_DoEraseBackground(*args
, **kwargs
)
3317 def DoMoveWindow(*args
, **kwargs
):
3318 """DoMoveWindow(self, int x, int y, int width, int height)"""
3319 return _windows_
.PyPanel_DoMoveWindow(*args
, **kwargs
)
3321 def DoSetSize(*args
, **kwargs
):
3322 """DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3323 return _windows_
.PyPanel_DoSetSize(*args
, **kwargs
)
3325 def DoSetClientSize(*args
, **kwargs
):
3326 """DoSetClientSize(self, int width, int height)"""
3327 return _windows_
.PyPanel_DoSetClientSize(*args
, **kwargs
)
3329 def DoSetVirtualSize(*args
, **kwargs
):
3330 """DoSetVirtualSize(self, int x, int y)"""
3331 return _windows_
.PyPanel_DoSetVirtualSize(*args
, **kwargs
)
3333 def DoGetSize(*args
, **kwargs
):
3334 """DoGetSize() -> (width, height)"""
3335 return _windows_
.PyPanel_DoGetSize(*args
, **kwargs
)
3337 def DoGetClientSize(*args
, **kwargs
):
3338 """DoGetClientSize() -> (width, height)"""
3339 return _windows_
.PyPanel_DoGetClientSize(*args
, **kwargs
)
3341 def DoGetPosition(*args
, **kwargs
):
3342 """DoGetPosition() -> (x,y)"""
3343 return _windows_
.PyPanel_DoGetPosition(*args
, **kwargs
)
3345 def DoGetVirtualSize(*args
, **kwargs
):
3346 """DoGetVirtualSize(self) -> Size"""
3347 return _windows_
.PyPanel_DoGetVirtualSize(*args
, **kwargs
)
3349 def DoGetBestSize(*args
, **kwargs
):
3350 """DoGetBestSize(self) -> Size"""
3351 return _windows_
.PyPanel_DoGetBestSize(*args
, **kwargs
)
3353 def GetDefaultAttributes(*args
, **kwargs
):
3354 """GetDefaultAttributes(self) -> VisualAttributes"""
3355 return _windows_
.PyPanel_GetDefaultAttributes(*args
, **kwargs
)
3357 def OnInternalIdle(*args
, **kwargs
):
3358 """OnInternalIdle(self)"""
3359 return _windows_
.PyPanel_OnInternalIdle(*args
, **kwargs
)
3361 def base_DoMoveWindow(*args
, **kw
):
3362 return PyPanel
.DoMoveWindow(*args
, **kw
)
3363 base_DoMoveWindow
= wx
._deprecated
(base_DoMoveWindow
,
3364 "Please use PyPanel.DoMoveWindow instead.")
3366 def base_DoSetSize(*args
, **kw
):
3367 return PyPanel
.DoSetSize(*args
, **kw
)
3368 base_DoSetSize
= wx
._deprecated
(base_DoSetSize
,
3369 "Please use PyPanel.DoSetSize instead.")
3371 def base_DoSetClientSize(*args
, **kw
):
3372 return PyPanel
.DoSetClientSize(*args
, **kw
)
3373 base_DoSetClientSize
= wx
._deprecated
(base_DoSetClientSize
,
3374 "Please use PyPanel.DoSetClientSize instead.")
3376 def base_DoSetVirtualSize(*args
, **kw
):
3377 return PyPanel
.DoSetVirtualSize(*args
, **kw
)
3378 base_DoSetVirtualSize
= wx
._deprecated
(base_DoSetVirtualSize
,
3379 "Please use PyPanel.DoSetVirtualSize instead.")
3381 def base_DoGetSize(*args
, **kw
):
3382 return PyPanel
.DoGetSize(*args
, **kw
)
3383 base_DoGetSize
= wx
._deprecated
(base_DoGetSize
,
3384 "Please use PyPanel.DoGetSize instead.")
3386 def base_DoGetClientSize(*args
, **kw
):
3387 return PyPanel
.DoGetClientSize(*args
, **kw
)
3388 base_DoGetClientSize
= wx
._deprecated
(base_DoGetClientSize
,
3389 "Please use PyPanel.DoGetClientSize instead.")
3391 def base_DoGetPosition(*args
, **kw
):
3392 return PyPanel
.DoGetPosition(*args
, **kw
)
3393 base_DoGetPosition
= wx
._deprecated
(base_DoGetPosition
,
3394 "Please use PyPanel.DoGetPosition instead.")
3396 def base_DoGetVirtualSize(*args
, **kw
):
3397 return PyPanel
.DoGetVirtualSize(*args
, **kw
)
3398 base_DoGetVirtualSize
= wx
._deprecated
(base_DoGetVirtualSize
,
3399 "Please use PyPanel.DoGetVirtualSize instead.")
3401 def base_DoGetBestSize(*args
, **kw
):
3402 return PyPanel
.DoGetBestSize(*args
, **kw
)
3403 base_DoGetBestSize
= wx
._deprecated
(base_DoGetBestSize
,
3404 "Please use PyPanel.DoGetBestSize instead.")
3406 def base_InitDialog(*args
, **kw
):
3407 return PyPanel
.InitDialog(*args
, **kw
)
3408 base_InitDialog
= wx
._deprecated
(base_InitDialog
,
3409 "Please use PyPanel.InitDialog instead.")
3411 def base_TransferDataToWindow(*args
, **kw
):
3412 return PyPanel
.TransferDataToWindow(*args
, **kw
)
3413 base_TransferDataToWindow
= wx
._deprecated
(base_TransferDataToWindow
,
3414 "Please use PyPanel.TransferDataToWindow instead.")
3416 def base_TransferDataFromWindow(*args
, **kw
):
3417 return PyPanel
.TransferDataFromWindow(*args
, **kw
)
3418 base_TransferDataFromWindow
= wx
._deprecated
(base_TransferDataFromWindow
,
3419 "Please use PyPanel.TransferDataFromWindow instead.")
3421 def base_Validate(*args
, **kw
):
3422 return PyPanel
.Validate(*args
, **kw
)
3423 base_Validate
= wx
._deprecated
(base_Validate
,
3424 "Please use PyPanel.Validate instead.")
3426 def base_AcceptsFocus(*args
, **kw
):
3427 return PyPanel
.AcceptsFocus(*args
, **kw
)
3428 base_AcceptsFocus
= wx
._deprecated
(base_AcceptsFocus
,
3429 "Please use PyPanel.AcceptsFocus instead.")
3431 def base_AcceptsFocusFromKeyboard(*args
, **kw
):
3432 return PyPanel
.AcceptsFocusFromKeyboard(*args
, **kw
)
3433 base_AcceptsFocusFromKeyboard
= wx
._deprecated
(base_AcceptsFocusFromKeyboard
,
3434 "Please use PyPanel.AcceptsFocusFromKeyboard instead.")
3436 def base_GetMaxSize(*args
, **kw
):
3437 return PyPanel
.GetMaxSize(*args
, **kw
)
3438 base_GetMaxSize
= wx
._deprecated
(base_GetMaxSize
,
3439 "Please use PyPanel.GetMaxSize instead.")
3441 def base_AddChild(*args
, **kw
):
3442 return PyPanel
.AddChild(*args
, **kw
)
3443 base_AddChild
= wx
._deprecated
(base_AddChild
,
3444 "Please use PyPanel.AddChild instead.")
3446 def base_RemoveChild(*args
, **kw
):
3447 return PyPanel
.RemoveChild(*args
, **kw
)
3448 base_RemoveChild
= wx
._deprecated
(base_RemoveChild
,
3449 "Please use PyPanel.RemoveChild instead.")
3451 def base_ShouldInheritColours(*args
, **kw
):
3452 return PyPanel
.ShouldInheritColours(*args
, **kw
)
3453 base_ShouldInheritColours
= wx
._deprecated
(base_ShouldInheritColours
,
3454 "Please use PyPanel.ShouldInheritColours instead.")
3456 def base_GetDefaultAttributes(*args
, **kw
):
3457 return PyPanel
.GetDefaultAttributes(*args
, **kw
)
3458 base_GetDefaultAttributes
= wx
._deprecated
(base_GetDefaultAttributes
,
3459 "Please use PyPanel.GetDefaultAttributes instead.")
3461 def base_OnInternalIdle(*args
, **kw
):
3462 return PyPanel
.OnInternalIdle(*args
, **kw
)
3463 base_OnInternalIdle
= wx
._deprecated
(base_OnInternalIdle
,
3464 "Please use PyPanel.OnInternalIdle instead.")
3466 _windows_
.PyPanel_swigregister(PyPanel
)
3468 def PrePyPanel(*args
, **kwargs
):
3469 """PrePyPanel() -> PyPanel"""
3470 val
= _windows_
.new_PrePyPanel(*args
, **kwargs
)
3473 class PyScrolledWindow(ScrolledWindow
):
3474 """Proxy of C++ PyScrolledWindow class"""
3475 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3476 __repr__
= _swig_repr
3477 def __init__(self
, *args
, **kwargs
):
3479 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3480 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyScrolledWindow
3482 _windows_
.PyScrolledWindow_swiginit(self
,_windows_
.new_PyScrolledWindow(*args
, **kwargs
))
3483 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyScrolledWindow
)
3485 def _setCallbackInfo(*args
, **kwargs
):
3486 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3487 return _windows_
.PyScrolledWindow__setCallbackInfo(*args
, **kwargs
)
3489 def SetBestSize(*args
, **kwargs
):
3490 """SetBestSize(self, Size size)"""
3491 return _windows_
.PyScrolledWindow_SetBestSize(*args
, **kwargs
)
3493 def DoEraseBackground(*args
, **kwargs
):
3494 """DoEraseBackground(self, DC dc) -> bool"""
3495 return _windows_
.PyScrolledWindow_DoEraseBackground(*args
, **kwargs
)
3497 def DoMoveWindow(*args
, **kwargs
):
3498 """DoMoveWindow(self, int x, int y, int width, int height)"""
3499 return _windows_
.PyScrolledWindow_DoMoveWindow(*args
, **kwargs
)
3501 def DoSetSize(*args
, **kwargs
):
3502 """DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3503 return _windows_
.PyScrolledWindow_DoSetSize(*args
, **kwargs
)
3505 def DoSetClientSize(*args
, **kwargs
):
3506 """DoSetClientSize(self, int width, int height)"""
3507 return _windows_
.PyScrolledWindow_DoSetClientSize(*args
, **kwargs
)
3509 def DoSetVirtualSize(*args
, **kwargs
):
3510 """DoSetVirtualSize(self, int x, int y)"""
3511 return _windows_
.PyScrolledWindow_DoSetVirtualSize(*args
, **kwargs
)
3513 def DoGetSize(*args
, **kwargs
):
3514 """DoGetSize() -> (width, height)"""
3515 return _windows_
.PyScrolledWindow_DoGetSize(*args
, **kwargs
)
3517 def DoGetClientSize(*args
, **kwargs
):
3518 """DoGetClientSize() -> (width, height)"""
3519 return _windows_
.PyScrolledWindow_DoGetClientSize(*args
, **kwargs
)
3521 def DoGetPosition(*args
, **kwargs
):
3522 """DoGetPosition() -> (x,y)"""
3523 return _windows_
.PyScrolledWindow_DoGetPosition(*args
, **kwargs
)
3525 def DoGetVirtualSize(*args
, **kwargs
):
3526 """DoGetVirtualSize(self) -> Size"""
3527 return _windows_
.PyScrolledWindow_DoGetVirtualSize(*args
, **kwargs
)
3529 def DoGetBestSize(*args
, **kwargs
):
3530 """DoGetBestSize(self) -> Size"""
3531 return _windows_
.PyScrolledWindow_DoGetBestSize(*args
, **kwargs
)
3533 def GetDefaultAttributes(*args
, **kwargs
):
3534 """GetDefaultAttributes(self) -> VisualAttributes"""
3535 return _windows_
.PyScrolledWindow_GetDefaultAttributes(*args
, **kwargs
)
3537 def OnInternalIdle(*args
, **kwargs
):
3538 """OnInternalIdle(self)"""
3539 return _windows_
.PyScrolledWindow_OnInternalIdle(*args
, **kwargs
)
3541 def base_DoMoveWindow(*args
, **kw
):
3542 return PyScrolledWindow
.DoMoveWindow(*args
, **kw
)
3543 base_DoMoveWindow
= wx
._deprecated
(base_DoMoveWindow
,
3544 "Please use PyScrolledWindow.DoMoveWindow instead.")
3546 def base_DoSetSize(*args
, **kw
):
3547 return PyScrolledWindow
.DoSetSize(*args
, **kw
)
3548 base_DoSetSize
= wx
._deprecated
(base_DoSetSize
,
3549 "Please use PyScrolledWindow.DoSetSize instead.")
3551 def base_DoSetClientSize(*args
, **kw
):
3552 return PyScrolledWindow
.DoSetClientSize(*args
, **kw
)
3553 base_DoSetClientSize
= wx
._deprecated
(base_DoSetClientSize
,
3554 "Please use PyScrolledWindow.DoSetClientSize instead.")
3556 def base_DoSetVirtualSize(*args
, **kw
):
3557 return PyScrolledWindow
.DoSetVirtualSize(*args
, **kw
)
3558 base_DoSetVirtualSize
= wx
._deprecated
(base_DoSetVirtualSize
,
3559 "Please use PyScrolledWindow.DoSetVirtualSize instead.")
3561 def base_DoGetSize(*args
, **kw
):
3562 return PyScrolledWindow
.DoGetSize(*args
, **kw
)
3563 base_DoGetSize
= wx
._deprecated
(base_DoGetSize
,
3564 "Please use PyScrolledWindow.DoGetSize instead.")
3566 def base_DoGetClientSize(*args
, **kw
):
3567 return PyScrolledWindow
.DoGetClientSize(*args
, **kw
)
3568 base_DoGetClientSize
= wx
._deprecated
(base_DoGetClientSize
,
3569 "Please use PyScrolledWindow.DoGetClientSize instead.")
3571 def base_DoGetPosition(*args
, **kw
):
3572 return PyScrolledWindow
.DoGetPosition(*args
, **kw
)
3573 base_DoGetPosition
= wx
._deprecated
(base_DoGetPosition
,
3574 "Please use PyScrolledWindow.DoGetPosition instead.")
3576 def base_DoGetVirtualSize(*args
, **kw
):
3577 return PyScrolledWindow
.DoGetVirtualSize(*args
, **kw
)
3578 base_DoGetVirtualSize
= wx
._deprecated
(base_DoGetVirtualSize
,
3579 "Please use PyScrolledWindow.DoGetVirtualSize instead.")
3581 def base_DoGetBestSize(*args
, **kw
):
3582 return PyScrolledWindow
.DoGetBestSize(*args
, **kw
)
3583 base_DoGetBestSize
= wx
._deprecated
(base_DoGetBestSize
,
3584 "Please use PyScrolledWindow.DoGetBestSize instead.")
3586 def base_InitDialog(*args
, **kw
):
3587 return PyScrolledWindow
.InitDialog(*args
, **kw
)
3588 base_InitDialog
= wx
._deprecated
(base_InitDialog
,
3589 "Please use PyScrolledWindow.InitDialog instead.")
3591 def base_TransferDataToWindow(*args
, **kw
):
3592 return PyScrolledWindow
.TransferDataToWindow(*args
, **kw
)
3593 base_TransferDataToWindow
= wx
._deprecated
(base_TransferDataToWindow
,
3594 "Please use PyScrolledWindow.TransferDataToWindow instead.")
3596 def base_TransferDataFromWindow(*args
, **kw
):
3597 return PyScrolledWindow
.TransferDataFromWindow(*args
, **kw
)
3598 base_TransferDataFromWindow
= wx
._deprecated
(base_TransferDataFromWindow
,
3599 "Please use PyScrolledWindow.TransferDataFromWindow instead.")
3601 def base_Validate(*args
, **kw
):
3602 return PyScrolledWindow
.Validate(*args
, **kw
)
3603 base_Validate
= wx
._deprecated
(base_Validate
,
3604 "Please use PyScrolledWindow.Validate instead.")
3606 def base_AcceptsFocus(*args
, **kw
):
3607 return PyScrolledWindow
.AcceptsFocus(*args
, **kw
)
3608 base_AcceptsFocus
= wx
._deprecated
(base_AcceptsFocus
,
3609 "Please use PyScrolledWindow.AcceptsFocus instead.")
3611 def base_AcceptsFocusFromKeyboard(*args
, **kw
):
3612 return PyScrolledWindow
.AcceptsFocusFromKeyboard(*args
, **kw
)
3613 base_AcceptsFocusFromKeyboard
= wx
._deprecated
(base_AcceptsFocusFromKeyboard
,
3614 "Please use PyScrolledWindow.AcceptsFocusFromKeyboard instead.")
3616 def base_GetMaxSize(*args
, **kw
):
3617 return PyScrolledWindow
.GetMaxSize(*args
, **kw
)
3618 base_GetMaxSize
= wx
._deprecated
(base_GetMaxSize
,
3619 "Please use PyScrolledWindow.GetMaxSize instead.")
3621 def base_AddChild(*args
, **kw
):
3622 return PyScrolledWindow
.AddChild(*args
, **kw
)
3623 base_AddChild
= wx
._deprecated
(base_AddChild
,
3624 "Please use PyScrolledWindow.AddChild instead.")
3626 def base_RemoveChild(*args
, **kw
):
3627 return PyScrolledWindow
.RemoveChild(*args
, **kw
)
3628 base_RemoveChild
= wx
._deprecated
(base_RemoveChild
,
3629 "Please use PyScrolledWindow.RemoveChild instead.")
3631 def base_ShouldInheritColours(*args
, **kw
):
3632 return PyScrolledWindow
.ShouldInheritColours(*args
, **kw
)
3633 base_ShouldInheritColours
= wx
._deprecated
(base_ShouldInheritColours
,
3634 "Please use PyScrolledWindow.ShouldInheritColours instead.")
3636 def base_GetDefaultAttributes(*args
, **kw
):
3637 return PyScrolledWindow
.GetDefaultAttributes(*args
, **kw
)
3638 base_GetDefaultAttributes
= wx
._deprecated
(base_GetDefaultAttributes
,
3639 "Please use PyScrolledWindow.GetDefaultAttributes instead.")
3641 def base_OnInternalIdle(*args
, **kw
):
3642 return PyScrolledWindow
.OnInternalIdle(*args
, **kw
)
3643 base_OnInternalIdle
= wx
._deprecated
(base_OnInternalIdle
,
3644 "Please use PyScrolledWindow.OnInternalIdle instead.")
3646 _windows_
.PyScrolledWindow_swigregister(PyScrolledWindow
)
3648 def PrePyScrolledWindow(*args
, **kwargs
):
3649 """PrePyScrolledWindow() -> PyScrolledWindow"""
3650 val
= _windows_
.new_PrePyScrolledWindow(*args
, **kwargs
)
3653 #---------------------------------------------------------------------------
3655 PRINT_MODE_NONE
= _windows_
.PRINT_MODE_NONE
3656 PRINT_MODE_PREVIEW
= _windows_
.PRINT_MODE_PREVIEW
3657 PRINT_MODE_FILE
= _windows_
.PRINT_MODE_FILE
3658 PRINT_MODE_PRINTER
= _windows_
.PRINT_MODE_PRINTER
3659 PRINT_MODE_STREAM
= _windows_
.PRINT_MODE_STREAM
3660 PRINTBIN_DEFAULT
= _windows_
.PRINTBIN_DEFAULT
3661 PRINTBIN_ONLYONE
= _windows_
.PRINTBIN_ONLYONE
3662 PRINTBIN_LOWER
= _windows_
.PRINTBIN_LOWER
3663 PRINTBIN_MIDDLE
= _windows_
.PRINTBIN_MIDDLE
3664 PRINTBIN_MANUAL
= _windows_
.PRINTBIN_MANUAL
3665 PRINTBIN_ENVELOPE
= _windows_
.PRINTBIN_ENVELOPE
3666 PRINTBIN_ENVMANUAL
= _windows_
.PRINTBIN_ENVMANUAL
3667 PRINTBIN_AUTO
= _windows_
.PRINTBIN_AUTO
3668 PRINTBIN_TRACTOR
= _windows_
.PRINTBIN_TRACTOR
3669 PRINTBIN_SMALLFMT
= _windows_
.PRINTBIN_SMALLFMT
3670 PRINTBIN_LARGEFMT
= _windows_
.PRINTBIN_LARGEFMT
3671 PRINTBIN_LARGECAPACITY
= _windows_
.PRINTBIN_LARGECAPACITY
3672 PRINTBIN_CASSETTE
= _windows_
.PRINTBIN_CASSETTE
3673 PRINTBIN_FORMSOURCE
= _windows_
.PRINTBIN_FORMSOURCE
3674 PRINTBIN_USER
= _windows_
.PRINTBIN_USER
3675 class PrintData(_core
.Object
):
3676 """Proxy of C++ PrintData class"""
3677 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3678 __repr__
= _swig_repr
3679 def __init__(self
, *args
):
3681 __init__(self) -> PrintData
3682 __init__(self, PrintData data) -> PrintData
3684 _windows_
.PrintData_swiginit(self
,_windows_
.new_PrintData(*args
))
3685 __swig_destroy__
= _windows_
.delete_PrintData
3686 __del__
= lambda self
: None;
3687 def GetNoCopies(*args
, **kwargs
):
3688 """GetNoCopies(self) -> int"""
3689 return _windows_
.PrintData_GetNoCopies(*args
, **kwargs
)
3691 def GetCollate(*args
, **kwargs
):
3692 """GetCollate(self) -> bool"""
3693 return _windows_
.PrintData_GetCollate(*args
, **kwargs
)
3695 def GetOrientation(*args
, **kwargs
):
3696 """GetOrientation(self) -> int"""
3697 return _windows_
.PrintData_GetOrientation(*args
, **kwargs
)
3699 def Ok(*args
, **kwargs
):
3700 """Ok(self) -> bool"""
3701 return _windows_
.PrintData_Ok(*args
, **kwargs
)
3703 def GetPrinterName(*args
, **kwargs
):
3704 """GetPrinterName(self) -> String"""
3705 return _windows_
.PrintData_GetPrinterName(*args
, **kwargs
)
3707 def GetColour(*args
, **kwargs
):
3708 """GetColour(self) -> bool"""
3709 return _windows_
.PrintData_GetColour(*args
, **kwargs
)
3711 def GetDuplex(*args
, **kwargs
):
3712 """GetDuplex(self) -> int"""
3713 return _windows_
.PrintData_GetDuplex(*args
, **kwargs
)
3715 def GetPaperId(*args
, **kwargs
):
3716 """GetPaperId(self) -> int"""
3717 return _windows_
.PrintData_GetPaperId(*args
, **kwargs
)
3719 def GetPaperSize(*args
, **kwargs
):
3720 """GetPaperSize(self) -> Size"""
3721 return _windows_
.PrintData_GetPaperSize(*args
, **kwargs
)
3723 def GetQuality(*args
, **kwargs
):
3724 """GetQuality(self) -> int"""
3725 return _windows_
.PrintData_GetQuality(*args
, **kwargs
)
3727 def GetBin(*args
, **kwargs
):
3728 """GetBin(self) -> int"""
3729 return _windows_
.PrintData_GetBin(*args
, **kwargs
)
3731 def GetPrintMode(*args
, **kwargs
):
3732 """GetPrintMode(self) -> int"""
3733 return _windows_
.PrintData_GetPrintMode(*args
, **kwargs
)
3735 def SetNoCopies(*args
, **kwargs
):
3736 """SetNoCopies(self, int v)"""
3737 return _windows_
.PrintData_SetNoCopies(*args
, **kwargs
)
3739 def SetCollate(*args
, **kwargs
):
3740 """SetCollate(self, bool flag)"""
3741 return _windows_
.PrintData_SetCollate(*args
, **kwargs
)
3743 def SetOrientation(*args
, **kwargs
):
3744 """SetOrientation(self, int orient)"""
3745 return _windows_
.PrintData_SetOrientation(*args
, **kwargs
)
3747 def SetPrinterName(*args
, **kwargs
):
3748 """SetPrinterName(self, String name)"""
3749 return _windows_
.PrintData_SetPrinterName(*args
, **kwargs
)
3751 def SetColour(*args
, **kwargs
):
3752 """SetColour(self, bool colour)"""
3753 return _windows_
.PrintData_SetColour(*args
, **kwargs
)
3755 def SetDuplex(*args
, **kwargs
):
3756 """SetDuplex(self, int duplex)"""
3757 return _windows_
.PrintData_SetDuplex(*args
, **kwargs
)
3759 def SetPaperId(*args
, **kwargs
):
3760 """SetPaperId(self, int sizeId)"""
3761 return _windows_
.PrintData_SetPaperId(*args
, **kwargs
)
3763 def SetPaperSize(*args
, **kwargs
):
3764 """SetPaperSize(self, Size sz)"""
3765 return _windows_
.PrintData_SetPaperSize(*args
, **kwargs
)
3767 def SetQuality(*args
, **kwargs
):
3768 """SetQuality(self, int quality)"""
3769 return _windows_
.PrintData_SetQuality(*args
, **kwargs
)
3771 def SetBin(*args
, **kwargs
):
3772 """SetBin(self, int bin)"""
3773 return _windows_
.PrintData_SetBin(*args
, **kwargs
)
3775 def SetPrintMode(*args
, **kwargs
):
3776 """SetPrintMode(self, int printMode)"""
3777 return _windows_
.PrintData_SetPrintMode(*args
, **kwargs
)
3779 def GetFilename(*args
, **kwargs
):
3780 """GetFilename(self) -> String"""
3781 return _windows_
.PrintData_GetFilename(*args
, **kwargs
)
3783 def SetFilename(*args
, **kwargs
):
3784 """SetFilename(self, String filename)"""
3785 return _windows_
.PrintData_SetFilename(*args
, **kwargs
)
3787 def __nonzero__(self
): return self
.Ok()
3788 def GetPrivData(*args
, **kwargs
):
3789 """GetPrivData(self) -> PyObject"""
3790 return _windows_
.PrintData_GetPrivData(*args
, **kwargs
)
3792 def SetPrivData(*args
, **kwargs
):
3793 """SetPrivData(self, PyObject data)"""
3794 return _windows_
.PrintData_SetPrivData(*args
, **kwargs
)
3796 _windows_
.PrintData_swigregister(PrintData
)
3797 PrintoutTitleStr
= cvar
.PrintoutTitleStr
3798 PreviewCanvasNameStr
= cvar
.PreviewCanvasNameStr
3800 class PageSetupDialogData(_core
.Object
):
3801 """Proxy of C++ PageSetupDialogData class"""
3802 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3803 __repr__
= _swig_repr
3804 def __init__(self
, *args
):
3806 __init__(self) -> PageSetupDialogData
3807 __init__(self, PageSetupDialogData data) -> PageSetupDialogData
3808 __init__(self, PrintData data) -> PageSetupDialogData
3810 _windows_
.PageSetupDialogData_swiginit(self
,_windows_
.new_PageSetupDialogData(*args
))
3811 __swig_destroy__
= _windows_
.delete_PageSetupDialogData
3812 __del__
= lambda self
: None;
3813 def EnableHelp(*args
, **kwargs
):
3814 """EnableHelp(self, bool flag)"""
3815 return _windows_
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
3817 def EnableMargins(*args
, **kwargs
):
3818 """EnableMargins(self, bool flag)"""
3819 return _windows_
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
3821 def EnableOrientation(*args
, **kwargs
):
3822 """EnableOrientation(self, bool flag)"""
3823 return _windows_
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
3825 def EnablePaper(*args
, **kwargs
):
3826 """EnablePaper(self, bool flag)"""
3827 return _windows_
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
3829 def EnablePrinter(*args
, **kwargs
):
3830 """EnablePrinter(self, bool flag)"""
3831 return _windows_
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
3833 def GetDefaultMinMargins(*args
, **kwargs
):
3834 """GetDefaultMinMargins(self) -> bool"""
3835 return _windows_
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
3837 def GetEnableMargins(*args
, **kwargs
):
3838 """GetEnableMargins(self) -> bool"""
3839 return _windows_
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
3841 def GetEnableOrientation(*args
, **kwargs
):
3842 """GetEnableOrientation(self) -> bool"""
3843 return _windows_
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
3845 def GetEnablePaper(*args
, **kwargs
):
3846 """GetEnablePaper(self) -> bool"""
3847 return _windows_
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
3849 def GetEnablePrinter(*args
, **kwargs
):
3850 """GetEnablePrinter(self) -> bool"""
3851 return _windows_
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
3853 def GetEnableHelp(*args
, **kwargs
):
3854 """GetEnableHelp(self) -> bool"""
3855 return _windows_
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
3857 def GetDefaultInfo(*args
, **kwargs
):
3858 """GetDefaultInfo(self) -> bool"""
3859 return _windows_
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
3861 def GetMarginTopLeft(*args
, **kwargs
):
3862 """GetMarginTopLeft(self) -> Point"""
3863 return _windows_
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
3865 def GetMarginBottomRight(*args
, **kwargs
):
3866 """GetMarginBottomRight(self) -> Point"""
3867 return _windows_
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
3869 def GetMinMarginTopLeft(*args
, **kwargs
):
3870 """GetMinMarginTopLeft(self) -> Point"""
3871 return _windows_
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
3873 def GetMinMarginBottomRight(*args
, **kwargs
):
3874 """GetMinMarginBottomRight(self) -> Point"""
3875 return _windows_
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
3877 def GetPaperId(*args
, **kwargs
):
3878 """GetPaperId(self) -> int"""
3879 return _windows_
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
3881 def GetPaperSize(*args
, **kwargs
):
3882 """GetPaperSize(self) -> Size"""
3883 return _windows_
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
3885 def GetPrintData(*args
, **kwargs
):
3886 """GetPrintData(self) -> PrintData"""
3887 return _windows_
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
3889 def Ok(*args
, **kwargs
):
3890 """Ok(self) -> bool"""
3891 return _windows_
.PageSetupDialogData_Ok(*args
, **kwargs
)
3893 def SetDefaultInfo(*args
, **kwargs
):
3894 """SetDefaultInfo(self, bool flag)"""
3895 return _windows_
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
3897 def SetDefaultMinMargins(*args
, **kwargs
):
3898 """SetDefaultMinMargins(self, bool flag)"""
3899 return _windows_
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
3901 def SetMarginTopLeft(*args
, **kwargs
):
3902 """SetMarginTopLeft(self, Point pt)"""
3903 return _windows_
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
3905 def SetMarginBottomRight(*args
, **kwargs
):
3906 """SetMarginBottomRight(self, Point pt)"""
3907 return _windows_
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
3909 def SetMinMarginTopLeft(*args
, **kwargs
):
3910 """SetMinMarginTopLeft(self, Point pt)"""
3911 return _windows_
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
3913 def SetMinMarginBottomRight(*args
, **kwargs
):
3914 """SetMinMarginBottomRight(self, Point pt)"""
3915 return _windows_
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
3917 def SetPaperId(*args
, **kwargs
):
3918 """SetPaperId(self, int id)"""
3919 return _windows_
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
3921 def SetPaperSize(*args
, **kwargs
):
3922 """SetPaperSize(self, Size size)"""
3923 return _windows_
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
3925 def SetPrintData(*args
, **kwargs
):
3926 """SetPrintData(self, PrintData printData)"""
3927 return _windows_
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
3929 def CalculateIdFromPaperSize(*args
, **kwargs
):
3930 """CalculateIdFromPaperSize(self)"""
3931 return _windows_
.PageSetupDialogData_CalculateIdFromPaperSize(*args
, **kwargs
)
3933 def CalculatePaperSizeFromId(*args
, **kwargs
):
3934 """CalculatePaperSizeFromId(self)"""
3935 return _windows_
.PageSetupDialogData_CalculatePaperSizeFromId(*args
, **kwargs
)
3937 def __nonzero__(self
): return self
.Ok()
3938 _windows_
.PageSetupDialogData_swigregister(PageSetupDialogData
)
3940 class PageSetupDialog(_core
.Object
):
3941 """Proxy of C++ PageSetupDialog class"""
3942 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3943 __repr__
= _swig_repr
3944 def __init__(self
, *args
, **kwargs
):
3945 """__init__(self, Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
3946 _windows_
.PageSetupDialog_swiginit(self
,_windows_
.new_PageSetupDialog(*args
, **kwargs
))
3947 __swig_destroy__
= _windows_
.delete_PageSetupDialog
3948 __del__
= lambda self
: None;
3949 def GetPageSetupData(*args
, **kwargs
):
3950 """GetPageSetupData(self) -> PageSetupDialogData"""
3951 return _windows_
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
3953 def GetPageSetupDialogData(*args
, **kwargs
):
3954 """GetPageSetupDialogData(self) -> PageSetupDialogData"""
3955 return _windows_
.PageSetupDialog_GetPageSetupDialogData(*args
, **kwargs
)
3957 def ShowModal(*args
, **kwargs
):
3958 """ShowModal(self) -> int"""
3959 return _windows_
.PageSetupDialog_ShowModal(*args
, **kwargs
)
3961 def Destroy(self
): pass
3962 _windows_
.PageSetupDialog_swigregister(PageSetupDialog
)
3964 class PrintDialogData(_core
.Object
):
3965 """Proxy of C++ PrintDialogData class"""
3966 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
3967 __repr__
= _swig_repr
3968 def __init__(self
, *args
):
3970 __init__(self) -> PrintDialogData
3971 __init__(self, PrintData printData) -> PrintDialogData
3972 __init__(self, PrintDialogData printData) -> PrintDialogData
3974 _windows_
.PrintDialogData_swiginit(self
,_windows_
.new_PrintDialogData(*args
))
3975 __swig_destroy__
= _windows_
.delete_PrintDialogData
3976 __del__
= lambda self
: None;
3977 def GetFromPage(*args
, **kwargs
):
3978 """GetFromPage(self) -> int"""
3979 return _windows_
.PrintDialogData_GetFromPage(*args
, **kwargs
)
3981 def GetToPage(*args
, **kwargs
):
3982 """GetToPage(self) -> int"""
3983 return _windows_
.PrintDialogData_GetToPage(*args
, **kwargs
)
3985 def GetMinPage(*args
, **kwargs
):
3986 """GetMinPage(self) -> int"""
3987 return _windows_
.PrintDialogData_GetMinPage(*args
, **kwargs
)
3989 def GetMaxPage(*args
, **kwargs
):
3990 """GetMaxPage(self) -> int"""
3991 return _windows_
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
3993 def GetNoCopies(*args
, **kwargs
):
3994 """GetNoCopies(self) -> int"""
3995 return _windows_
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
3997 def GetAllPages(*args
, **kwargs
):
3998 """GetAllPages(self) -> bool"""
3999 return _windows_
.PrintDialogData_GetAllPages(*args
, **kwargs
)
4001 def GetSelection(*args
, **kwargs
):
4002 """GetSelection(self) -> bool"""
4003 return _windows_
.PrintDialogData_GetSelection(*args
, **kwargs
)
4005 def GetCollate(*args
, **kwargs
):
4006 """GetCollate(self) -> bool"""
4007 return _windows_
.PrintDialogData_GetCollate(*args
, **kwargs
)
4009 def GetPrintToFile(*args
, **kwargs
):
4010 """GetPrintToFile(self) -> bool"""
4011 return _windows_
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
4013 def SetFromPage(*args
, **kwargs
):
4014 """SetFromPage(self, int v)"""
4015 return _windows_
.PrintDialogData_SetFromPage(*args
, **kwargs
)
4017 def SetToPage(*args
, **kwargs
):
4018 """SetToPage(self, int v)"""
4019 return _windows_
.PrintDialogData_SetToPage(*args
, **kwargs
)
4021 def SetMinPage(*args
, **kwargs
):
4022 """SetMinPage(self, int v)"""
4023 return _windows_
.PrintDialogData_SetMinPage(*args
, **kwargs
)
4025 def SetMaxPage(*args
, **kwargs
):
4026 """SetMaxPage(self, int v)"""
4027 return _windows_
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
4029 def SetNoCopies(*args
, **kwargs
):
4030 """SetNoCopies(self, int v)"""
4031 return _windows_
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
4033 def SetAllPages(*args
, **kwargs
):
4034 """SetAllPages(self, bool flag)"""
4035 return _windows_
.PrintDialogData_SetAllPages(*args
, **kwargs
)
4037 def SetSelection(*args
, **kwargs
):
4038 """SetSelection(self, bool flag)"""
4039 return _windows_
.PrintDialogData_SetSelection(*args
, **kwargs
)
4041 def SetCollate(*args
, **kwargs
):
4042 """SetCollate(self, bool flag)"""
4043 return _windows_
.PrintDialogData_SetCollate(*args
, **kwargs
)
4045 def SetPrintToFile(*args
, **kwargs
):
4046 """SetPrintToFile(self, bool flag)"""
4047 return _windows_
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
4049 def EnablePrintToFile(*args
, **kwargs
):
4050 """EnablePrintToFile(self, bool flag)"""
4051 return _windows_
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
4053 def EnableSelection(*args
, **kwargs
):
4054 """EnableSelection(self, bool flag)"""
4055 return _windows_
.PrintDialogData_EnableSelection(*args
, **kwargs
)
4057 def EnablePageNumbers(*args
, **kwargs
):
4058 """EnablePageNumbers(self, bool flag)"""
4059 return _windows_
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
4061 def EnableHelp(*args
, **kwargs
):
4062 """EnableHelp(self, bool flag)"""
4063 return _windows_
.PrintDialogData_EnableHelp(*args
, **kwargs
)
4065 def GetEnablePrintToFile(*args
, **kwargs
):
4066 """GetEnablePrintToFile(self) -> bool"""
4067 return _windows_
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
4069 def GetEnableSelection(*args
, **kwargs
):
4070 """GetEnableSelection(self) -> bool"""
4071 return _windows_
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
4073 def GetEnablePageNumbers(*args
, **kwargs
):
4074 """GetEnablePageNumbers(self) -> bool"""
4075 return _windows_
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
4077 def GetEnableHelp(*args
, **kwargs
):
4078 """GetEnableHelp(self) -> bool"""
4079 return _windows_
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
4081 def Ok(*args
, **kwargs
):
4082 """Ok(self) -> bool"""
4083 return _windows_
.PrintDialogData_Ok(*args
, **kwargs
)
4085 def GetPrintData(*args
, **kwargs
):
4086 """GetPrintData(self) -> PrintData"""
4087 return _windows_
.PrintDialogData_GetPrintData(*args
, **kwargs
)
4089 def SetPrintData(*args
, **kwargs
):
4090 """SetPrintData(self, PrintData printData)"""
4091 return _windows_
.PrintDialogData_SetPrintData(*args
, **kwargs
)
4093 def __nonzero__(self
): return self
.Ok()
4094 _windows_
.PrintDialogData_swigregister(PrintDialogData
)
4096 class PrintDialog(_core
.Object
):
4097 """Proxy of C++ PrintDialog class"""
4098 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4099 __repr__
= _swig_repr
4100 def __init__(self
, *args
, **kwargs
):
4101 """__init__(self, Window parent, PrintDialogData data=None) -> PrintDialog"""
4102 _windows_
.PrintDialog_swiginit(self
,_windows_
.new_PrintDialog(*args
, **kwargs
))
4103 __swig_destroy__
= _windows_
.delete_PrintDialog
4104 __del__
= lambda self
: None;
4105 def ShowModal(*args
, **kwargs
):
4106 """ShowModal(self) -> int"""
4107 return _windows_
.PrintDialog_ShowModal(*args
, **kwargs
)
4109 def GetPrintDialogData(*args
, **kwargs
):
4110 """GetPrintDialogData(self) -> PrintDialogData"""
4111 return _windows_
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
4113 def GetPrintData(*args
, **kwargs
):
4114 """GetPrintData(self) -> PrintData"""
4115 return _windows_
.PrintDialog_GetPrintData(*args
, **kwargs
)
4117 def GetPrintDC(*args
, **kwargs
):
4118 """GetPrintDC(self) -> DC"""
4119 return _windows_
.PrintDialog_GetPrintDC(*args
, **kwargs
)
4121 def Destroy(self
): pass
4122 _windows_
.PrintDialog_swigregister(PrintDialog
)
4124 PRINTER_NO_ERROR
= _windows_
.PRINTER_NO_ERROR
4125 PRINTER_CANCELLED
= _windows_
.PRINTER_CANCELLED
4126 PRINTER_ERROR
= _windows_
.PRINTER_ERROR
4127 class Printer(_core
.Object
):
4128 """Proxy of C++ Printer class"""
4129 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4130 __repr__
= _swig_repr
4131 def __init__(self
, *args
, **kwargs
):
4132 """__init__(self, PrintDialogData data=None) -> Printer"""
4133 _windows_
.Printer_swiginit(self
,_windows_
.new_Printer(*args
, **kwargs
))
4134 __swig_destroy__
= _windows_
.delete_Printer
4135 __del__
= lambda self
: None;
4136 def CreateAbortWindow(*args
, **kwargs
):
4137 """CreateAbortWindow(self, Window parent, Printout printout) -> Window"""
4138 return _windows_
.Printer_CreateAbortWindow(*args
, **kwargs
)
4140 def ReportError(*args
, **kwargs
):
4141 """ReportError(self, Window parent, Printout printout, String message)"""
4142 return _windows_
.Printer_ReportError(*args
, **kwargs
)
4144 def Setup(*args
, **kwargs
):
4145 """Setup(self, Window parent) -> bool"""
4146 return _windows_
.Printer_Setup(*args
, **kwargs
)
4148 def Print(*args
, **kwargs
):
4149 """Print(self, Window parent, Printout printout, bool prompt=True) -> bool"""
4150 return _windows_
.Printer_Print(*args
, **kwargs
)
4152 def PrintDialog(*args
, **kwargs
):
4153 """PrintDialog(self, Window parent) -> DC"""
4154 return _windows_
.Printer_PrintDialog(*args
, **kwargs
)
4156 def GetPrintDialogData(*args
, **kwargs
):
4157 """GetPrintDialogData(self) -> PrintDialogData"""
4158 return _windows_
.Printer_GetPrintDialogData(*args
, **kwargs
)
4160 def GetAbort(*args
, **kwargs
):
4161 """GetAbort(self) -> bool"""
4162 return _windows_
.Printer_GetAbort(*args
, **kwargs
)
4164 def GetLastError(*args
, **kwargs
):
4165 """GetLastError() -> int"""
4166 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4168 GetLastError
= staticmethod(GetLastError
)
4169 _windows_
.Printer_swigregister(Printer
)
4171 def Printer_GetLastError(*args
):
4172 """Printer_GetLastError() -> int"""
4173 return _windows_
.Printer_GetLastError(*args
)
4175 class Printout(_core
.Object
):
4176 """Proxy of C++ Printout class"""
4177 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4178 __repr__
= _swig_repr
4179 def __init__(self
, *args
, **kwargs
):
4180 """__init__(self, String title=PrintoutTitleStr) -> Printout"""
4181 _windows_
.Printout_swiginit(self
,_windows_
.new_Printout(*args
, **kwargs
))
4182 self
._setCallbackInfo
(self
, Printout
)
4184 __swig_destroy__
= _windows_
.delete_Printout
4185 __del__
= lambda self
: None;
4186 def _setCallbackInfo(*args
, **kwargs
):
4187 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4188 return _windows_
.Printout__setCallbackInfo(*args
, **kwargs
)
4190 def GetTitle(*args
, **kwargs
):
4191 """GetTitle(self) -> String"""
4192 return _windows_
.Printout_GetTitle(*args
, **kwargs
)
4194 def GetDC(*args
, **kwargs
):
4195 """GetDC(self) -> DC"""
4196 return _windows_
.Printout_GetDC(*args
, **kwargs
)
4198 def SetDC(*args
, **kwargs
):
4199 """SetDC(self, DC dc)"""
4200 return _windows_
.Printout_SetDC(*args
, **kwargs
)
4202 def SetPageSizePixels(*args
, **kwargs
):
4203 """SetPageSizePixels(self, int w, int h)"""
4204 return _windows_
.Printout_SetPageSizePixels(*args
, **kwargs
)
4206 def GetPageSizePixels(*args
, **kwargs
):
4207 """GetPageSizePixels() -> (w, h)"""
4208 return _windows_
.Printout_GetPageSizePixels(*args
, **kwargs
)
4210 def SetPageSizeMM(*args
, **kwargs
):
4211 """SetPageSizeMM(self, int w, int h)"""
4212 return _windows_
.Printout_SetPageSizeMM(*args
, **kwargs
)
4214 def GetPageSizeMM(*args
, **kwargs
):
4215 """GetPageSizeMM() -> (w, h)"""
4216 return _windows_
.Printout_GetPageSizeMM(*args
, **kwargs
)
4218 def SetPPIScreen(*args
, **kwargs
):
4219 """SetPPIScreen(self, int x, int y)"""
4220 return _windows_
.Printout_SetPPIScreen(*args
, **kwargs
)
4222 def GetPPIScreen(*args
, **kwargs
):
4223 """GetPPIScreen() -> (x,y)"""
4224 return _windows_
.Printout_GetPPIScreen(*args
, **kwargs
)
4226 def SetPPIPrinter(*args
, **kwargs
):
4227 """SetPPIPrinter(self, int x, int y)"""
4228 return _windows_
.Printout_SetPPIPrinter(*args
, **kwargs
)
4230 def GetPPIPrinter(*args
, **kwargs
):
4231 """GetPPIPrinter() -> (x,y)"""
4232 return _windows_
.Printout_GetPPIPrinter(*args
, **kwargs
)
4234 def IsPreview(*args
, **kwargs
):
4235 """IsPreview(self) -> bool"""
4236 return _windows_
.Printout_IsPreview(*args
, **kwargs
)
4238 def SetIsPreview(*args
, **kwargs
):
4239 """SetIsPreview(self, bool p)"""
4240 return _windows_
.Printout_SetIsPreview(*args
, **kwargs
)
4242 def OnBeginDocument(*args
, **kwargs
):
4243 """OnBeginDocument(self, int startPage, int endPage) -> bool"""
4244 return _windows_
.Printout_OnBeginDocument(*args
, **kwargs
)
4246 def OnEndDocument(*args
, **kwargs
):
4247 """OnEndDocument(self)"""
4248 return _windows_
.Printout_OnEndDocument(*args
, **kwargs
)
4250 def OnBeginPrinting(*args
, **kwargs
):
4251 """OnBeginPrinting(self)"""
4252 return _windows_
.Printout_OnBeginPrinting(*args
, **kwargs
)
4254 def OnEndPrinting(*args
, **kwargs
):
4255 """OnEndPrinting(self)"""
4256 return _windows_
.Printout_OnEndPrinting(*args
, **kwargs
)
4258 def OnPreparePrinting(*args
, **kwargs
):
4259 """OnPreparePrinting(self)"""
4260 return _windows_
.Printout_OnPreparePrinting(*args
, **kwargs
)
4262 def HasPage(*args
, **kwargs
):
4263 """HasPage(self, int page) -> bool"""
4264 return _windows_
.Printout_HasPage(*args
, **kwargs
)
4266 def GetPageInfo(*args
, **kwargs
):
4267 """GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
4268 return _windows_
.Printout_GetPageInfo(*args
, **kwargs
)
4270 def base_OnBeginDocument(*args
, **kw
):
4271 return Printout
.OnBeginDocument(*args
, **kw
)
4272 base_OnBeginDocument
= wx
._deprecated
(base_OnBeginDocument
,
4273 "Please use Printout.OnBeginDocument instead.")
4275 def base_OnEndDocument(*args
, **kw
):
4276 return Printout
.OnEndDocument(*args
, **kw
)
4277 base_OnEndDocument
= wx
._deprecated
(base_OnEndDocument
,
4278 "Please use Printout.OnEndDocument instead.")
4280 def base_OnBeginPrinting(*args
, **kw
):
4281 return Printout
.OnBeginPrinting(*args
, **kw
)
4282 base_OnBeginPrinting
= wx
._deprecated
(base_OnBeginPrinting
,
4283 "Please use Printout.OnBeginPrinting instead.")
4285 def base_OnEndPrinting(*args
, **kw
):
4286 return Printout
.OnEndPrinting(*args
, **kw
)
4287 base_OnEndPrinting
= wx
._deprecated
(base_OnEndPrinting
,
4288 "Please use Printout.OnEndPrinting instead.")
4290 def base_OnPreparePrinting(*args
, **kw
):
4291 return Printout
.OnPreparePrinting(*args
, **kw
)
4292 base_OnPreparePrinting
= wx
._deprecated
(base_OnPreparePrinting
,
4293 "Please use Printout.OnPreparePrinting instead.")
4295 def base_GetPageInfo(*args
, **kw
):
4296 return Printout
.GetPageInfo(*args
, **kw
)
4297 base_GetPageInfo
= wx
._deprecated
(base_GetPageInfo
,
4298 "Please use Printout.GetPageInfo instead.")
4300 _windows_
.Printout_swigregister(Printout
)
4302 class PreviewCanvas(ScrolledWindow
):
4303 """Proxy of C++ PreviewCanvas class"""
4304 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4305 __repr__
= _swig_repr
4306 def __init__(self
, *args
, **kwargs
):
4308 __init__(self, PrintPreview preview, Window parent, Point pos=DefaultPosition,
4309 Size size=DefaultSize, long style=0,
4310 String name=PreviewCanvasNameStr) -> PreviewCanvas
4312 _windows_
.PreviewCanvas_swiginit(self
,_windows_
.new_PreviewCanvas(*args
, **kwargs
))
4313 self
._setOORInfo
(self
)
4315 _windows_
.PreviewCanvas_swigregister(PreviewCanvas
)
4317 class PreviewFrame(Frame
):
4318 """Proxy of C++ PreviewFrame class"""
4319 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4320 __repr__
= _swig_repr
4321 def __init__(self
, *args
, **kwargs
):
4323 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4324 Size size=DefaultSize,
4325 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
4327 _windows_
.PreviewFrame_swiginit(self
,_windows_
.new_PreviewFrame(*args
, **kwargs
))
4328 self
._setOORInfo
(self
)
4330 def Initialize(*args
, **kwargs
):
4331 """Initialize(self)"""
4332 return _windows_
.PreviewFrame_Initialize(*args
, **kwargs
)
4334 def CreateControlBar(*args
, **kwargs
):
4335 """CreateControlBar(self)"""
4336 return _windows_
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
4338 def CreateCanvas(*args
, **kwargs
):
4339 """CreateCanvas(self)"""
4340 return _windows_
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
4342 def GetControlBar(*args
, **kwargs
):
4343 """GetControlBar(self) -> PreviewControlBar"""
4344 return _windows_
.PreviewFrame_GetControlBar(*args
, **kwargs
)
4346 _windows_
.PreviewFrame_swigregister(PreviewFrame
)
4348 PREVIEW_PRINT
= _windows_
.PREVIEW_PRINT
4349 PREVIEW_PREVIOUS
= _windows_
.PREVIEW_PREVIOUS
4350 PREVIEW_NEXT
= _windows_
.PREVIEW_NEXT
4351 PREVIEW_ZOOM
= _windows_
.PREVIEW_ZOOM
4352 PREVIEW_FIRST
= _windows_
.PREVIEW_FIRST
4353 PREVIEW_LAST
= _windows_
.PREVIEW_LAST
4354 PREVIEW_GOTO
= _windows_
.PREVIEW_GOTO
4355 PREVIEW_DEFAULT
= _windows_
.PREVIEW_DEFAULT
4356 ID_PREVIEW_CLOSE
= _windows_
.ID_PREVIEW_CLOSE
4357 ID_PREVIEW_NEXT
= _windows_
.ID_PREVIEW_NEXT
4358 ID_PREVIEW_PREVIOUS
= _windows_
.ID_PREVIEW_PREVIOUS
4359 ID_PREVIEW_PRINT
= _windows_
.ID_PREVIEW_PRINT
4360 ID_PREVIEW_ZOOM
= _windows_
.ID_PREVIEW_ZOOM
4361 ID_PREVIEW_FIRST
= _windows_
.ID_PREVIEW_FIRST
4362 ID_PREVIEW_LAST
= _windows_
.ID_PREVIEW_LAST
4363 ID_PREVIEW_GOTO
= _windows_
.ID_PREVIEW_GOTO
4364 class PreviewControlBar(Panel
):
4365 """Proxy of C++ PreviewControlBar class"""
4366 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4367 __repr__
= _swig_repr
4368 def __init__(self
, *args
, **kwargs
):
4370 __init__(self, PrintPreview preview, long buttons, Window parent,
4371 Point pos=DefaultPosition, Size size=DefaultSize,
4372 long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
4374 _windows_
.PreviewControlBar_swiginit(self
,_windows_
.new_PreviewControlBar(*args
, **kwargs
))
4375 self
._setOORInfo
(self
)
4377 def GetZoomControl(*args
, **kwargs
):
4378 """GetZoomControl(self) -> int"""
4379 return _windows_
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
4381 def SetZoomControl(*args
, **kwargs
):
4382 """SetZoomControl(self, int zoom)"""
4383 return _windows_
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
4385 def GetPrintPreview(*args
, **kwargs
):
4386 """GetPrintPreview(self) -> PrintPreview"""
4387 return _windows_
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
4389 def OnNext(*args
, **kwargs
):
4391 return _windows_
.PreviewControlBar_OnNext(*args
, **kwargs
)
4393 def OnPrevious(*args
, **kwargs
):
4394 """OnPrevious(self)"""
4395 return _windows_
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
4397 def OnFirst(*args
, **kwargs
):
4399 return _windows_
.PreviewControlBar_OnFirst(*args
, **kwargs
)
4401 def OnLast(*args
, **kwargs
):
4403 return _windows_
.PreviewControlBar_OnLast(*args
, **kwargs
)
4405 def OnGoto(*args
, **kwargs
):
4407 return _windows_
.PreviewControlBar_OnGoto(*args
, **kwargs
)
4409 _windows_
.PreviewControlBar_swigregister(PreviewControlBar
)
4411 class PrintPreview(_core
.Object
):
4412 """Proxy of C++ PrintPreview class"""
4413 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4414 __repr__
= _swig_repr
4415 def __init__(self
, *args
):
4417 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview
4418 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview
4420 _windows_
.PrintPreview_swiginit(self
,_windows_
.new_PrintPreview(*args
))
4421 __swig_destroy__
= _windows_
.delete_PrintPreview
4422 __del__
= lambda self
: None;
4423 def SetCurrentPage(*args
, **kwargs
):
4424 """SetCurrentPage(self, int pageNum) -> bool"""
4425 return _windows_
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
4427 def GetCurrentPage(*args
, **kwargs
):
4428 """GetCurrentPage(self) -> int"""
4429 return _windows_
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
4431 def SetPrintout(*args
, **kwargs
):
4432 """SetPrintout(self, Printout printout)"""
4433 return _windows_
.PrintPreview_SetPrintout(*args
, **kwargs
)
4435 def GetPrintout(*args
, **kwargs
):
4436 """GetPrintout(self) -> Printout"""
4437 return _windows_
.PrintPreview_GetPrintout(*args
, **kwargs
)
4439 def GetPrintoutForPrinting(*args
, **kwargs
):
4440 """GetPrintoutForPrinting(self) -> Printout"""
4441 return _windows_
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
4443 def SetFrame(*args
, **kwargs
):
4444 """SetFrame(self, Frame frame)"""
4445 return _windows_
.PrintPreview_SetFrame(*args
, **kwargs
)
4447 def SetCanvas(*args
, **kwargs
):
4448 """SetCanvas(self, PreviewCanvas canvas)"""
4449 return _windows_
.PrintPreview_SetCanvas(*args
, **kwargs
)
4451 def GetFrame(*args
, **kwargs
):
4452 """GetFrame(self) -> Frame"""
4453 return _windows_
.PrintPreview_GetFrame(*args
, **kwargs
)
4455 def GetCanvas(*args
, **kwargs
):
4456 """GetCanvas(self) -> PreviewCanvas"""
4457 return _windows_
.PrintPreview_GetCanvas(*args
, **kwargs
)
4459 def PaintPage(*args
, **kwargs
):
4460 """PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4461 return _windows_
.PrintPreview_PaintPage(*args
, **kwargs
)
4463 def DrawBlankPage(*args
, **kwargs
):
4464 """DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4465 return _windows_
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
4467 def RenderPage(*args
, **kwargs
):
4468 """RenderPage(self, int pageNum) -> bool"""
4469 return _windows_
.PrintPreview_RenderPage(*args
, **kwargs
)
4471 def AdjustScrollbars(*args
, **kwargs
):
4472 """AdjustScrollbars(self, PreviewCanvas canvas)"""
4473 return _windows_
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
4475 def GetPrintDialogData(*args
, **kwargs
):
4476 """GetPrintDialogData(self) -> PrintDialogData"""
4477 return _windows_
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
4479 def SetZoom(*args
, **kwargs
):
4480 """SetZoom(self, int percent)"""
4481 return _windows_
.PrintPreview_SetZoom(*args
, **kwargs
)
4483 def GetZoom(*args
, **kwargs
):
4484 """GetZoom(self) -> int"""
4485 return _windows_
.PrintPreview_GetZoom(*args
, **kwargs
)
4487 def GetMaxPage(*args
, **kwargs
):
4488 """GetMaxPage(self) -> int"""
4489 return _windows_
.PrintPreview_GetMaxPage(*args
, **kwargs
)
4491 def GetMinPage(*args
, **kwargs
):
4492 """GetMinPage(self) -> int"""
4493 return _windows_
.PrintPreview_GetMinPage(*args
, **kwargs
)
4495 def Ok(*args
, **kwargs
):
4496 """Ok(self) -> bool"""
4497 return _windows_
.PrintPreview_Ok(*args
, **kwargs
)
4499 def SetOk(*args
, **kwargs
):
4500 """SetOk(self, bool ok)"""
4501 return _windows_
.PrintPreview_SetOk(*args
, **kwargs
)
4503 def Print(*args
, **kwargs
):
4504 """Print(self, bool interactive) -> bool"""
4505 return _windows_
.PrintPreview_Print(*args
, **kwargs
)
4507 def DetermineScaling(*args
, **kwargs
):
4508 """DetermineScaling(self)"""
4509 return _windows_
.PrintPreview_DetermineScaling(*args
, **kwargs
)
4511 def __nonzero__(self
): return self
.Ok()
4512 _windows_
.PrintPreview_swigregister(PrintPreview
)
4514 class PyPrintPreview(PrintPreview
):
4515 """Proxy of C++ PyPrintPreview class"""
4516 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4517 __repr__
= _swig_repr
4518 def __init__(self
, *args
):
4520 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview
4521 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview
4523 _windows_
.PyPrintPreview_swiginit(self
,_windows_
.new_PyPrintPreview(*args
))
4524 self
._setCallbackInfo
(self
, PyPrintPreview
)
4526 def _setCallbackInfo(*args
, **kwargs
):
4527 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4528 return _windows_
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
4530 def base_SetCurrentPage(*args
, **kw
):
4531 return PyPrintPreview
.SetCurrentPage(*args
, **kw
)
4532 base_SetCurrentPage
= wx
._deprecated
(base_SetCurrentPage
,
4533 "Please use PyPrintPreview.SetCurrentPage instead.")
4535 def base_PaintPage(*args
, **kw
):
4536 return PyPrintPreview
.PaintPage(*args
, **kw
)
4537 base_PaintPage
= wx
._deprecated
(base_PaintPage
,
4538 "Please use PyPrintPreview.PaintPage instead.")
4540 def base_DrawBlankPage(*args
, **kw
):
4541 return PyPrintPreview
.DrawBlankPage(*args
, **kw
)
4542 base_DrawBlankPage
= wx
._deprecated
(base_DrawBlankPage
,
4543 "Please use PyPrintPreview.DrawBlankPage instead.")
4545 def base_RenderPage(*args
, **kw
):
4546 return PyPrintPreview
.RenderPage(*args
, **kw
)
4547 base_RenderPage
= wx
._deprecated
(base_RenderPage
,
4548 "Please use PyPrintPreview.RenderPage instead.")
4550 def base_SetZoom(*args
, **kw
):
4551 return PyPrintPreview
.SetZoom(*args
, **kw
)
4552 base_SetZoom
= wx
._deprecated
(base_SetZoom
,
4553 "Please use PyPrintPreview.SetZoom instead.")
4555 def base_Print(*args
, **kw
):
4556 return PyPrintPreview
.Print(*args
, **kw
)
4557 base_Print
= wx
._deprecated
(base_Print
,
4558 "Please use PyPrintPreview.Print instead.")
4560 def base_DetermineScaling(*args
, **kw
):
4561 return PyPrintPreview
.DetermineScaling(*args
, **kw
)
4562 base_DetermineScaling
= wx
._deprecated
(base_DetermineScaling
,
4563 "Please use PyPrintPreview.DetermineScaling instead.")
4565 _windows_
.PyPrintPreview_swigregister(PyPrintPreview
)
4567 class PyPreviewFrame(PreviewFrame
):
4568 """Proxy of C++ PyPreviewFrame class"""
4569 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4570 __repr__
= _swig_repr
4571 def __init__(self
, *args
, **kwargs
):
4573 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4574 Size size=DefaultSize,
4575 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
4577 _windows_
.PyPreviewFrame_swiginit(self
,_windows_
.new_PyPreviewFrame(*args
, **kwargs
))
4578 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
4580 def _setCallbackInfo(*args
, **kwargs
):
4581 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4582 return _windows_
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
4584 def SetPreviewCanvas(*args
, **kwargs
):
4585 """SetPreviewCanvas(self, PreviewCanvas canvas)"""
4586 return _windows_
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
4588 def SetControlBar(*args
, **kwargs
):
4589 """SetControlBar(self, PreviewControlBar bar)"""
4590 return _windows_
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
4592 def Initialize(*args
, **kwargs
):
4593 """Initialize(self)"""
4594 return _windows_
.PyPreviewFrame_Initialize(*args
, **kwargs
)
4596 def CreateCanvas(*args
, **kwargs
):
4597 """CreateCanvas(self)"""
4598 return _windows_
.PyPreviewFrame_CreateCanvas(*args
, **kwargs
)
4600 def CreateControlBar(*args
, **kwargs
):
4601 """CreateControlBar(self)"""
4602 return _windows_
.PyPreviewFrame_CreateControlBar(*args
, **kwargs
)
4604 def base_Initialize(*args
, **kw
):
4605 return PyPreviewFrame
.Initialize(*args
, **kw
)
4606 base_Initialize
= wx
._deprecated
(base_Initialize
,
4607 "Please use PyPreviewFrame.Initialize instead.")
4609 def base_CreateCanvas(*args
, **kw
):
4610 return PyPreviewFrame
.CreateCanvas(*args
, **kw
)
4611 base_CreateCanvas
= wx
._deprecated
(base_CreateCanvas
,
4612 "Please use PyPreviewFrame.CreateCanvas instead.")
4614 def base_CreateControlBar(*args
, **kw
):
4615 return PyPreviewFrame
.CreateControlBar(*args
, **kw
)
4616 base_CreateControlBar
= wx
._deprecated
(base_CreateControlBar
,
4617 "Please use PyPreviewFrame.CreateControlBar instead.")
4619 _windows_
.PyPreviewFrame_swigregister(PyPreviewFrame
)
4621 class PyPreviewControlBar(PreviewControlBar
):
4622 """Proxy of C++ PyPreviewControlBar class"""
4623 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
4624 __repr__
= _swig_repr
4625 def __init__(self
, *args
, **kwargs
):
4627 __init__(self, PrintPreview preview, long buttons, Window parent,
4628 Point pos=DefaultPosition, Size size=DefaultSize,
4629 long style=0, String name=PanelNameStr) -> PyPreviewControlBar
4631 _windows_
.PyPreviewControlBar_swiginit(self
,_windows_
.new_PyPreviewControlBar(*args
, **kwargs
))
4632 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
4634 def _setCallbackInfo(*args
, **kwargs
):
4635 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4636 return _windows_
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
4638 def SetPrintPreview(*args
, **kwargs
):
4639 """SetPrintPreview(self, PrintPreview preview)"""
4640 return _windows_
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
4642 def CreateButtons(*args
, **kwargs
):
4643 """CreateButtons(self)"""
4644 return _windows_
.PyPreviewControlBar_CreateButtons(*args
, **kwargs
)
4646 def SetZoomControl(*args
, **kwargs
):
4647 """SetZoomControl(self, int zoom)"""
4648 return _windows_
.PyPreviewControlBar_SetZoomControl(*args
, **kwargs
)
4650 def base_CreateButtons(*args
, **kw
):
4651 return PreviewControlBar
.CreateButtons(*args
, **kw
)
4652 base_CreateButtons
= wx
._deprecated
(base_CreateButtons
,
4653 "Please use PreviewControlBar.CreateButtons instead.")
4655 def base_SetZoomControl(*args
, **kw
):
4656 return PreviewControlBar
.SetZoomControl(*args
, **kw
)
4657 base_SetZoomControl
= wx
._deprecated
(base_SetZoomControl
,
4658 "Please use PreviewControlBar.SetZoomControl instead.")
4660 _windows_
.PyPreviewControlBar_swigregister(PyPreviewControlBar
)