1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
8 __docfilter__
= wx
.__docfilter
__
9 #---------------------------------------------------------------------------
11 class Panel(_core
.Window
):
13 return "<%s.%s; proxy of C++ wxPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
14 def __init__(self
, *args
, **kwargs
):
16 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
17 Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
18 String name=PanelNameStr) -> Panel
20 newobj
= _windows_
.new_Panel(*args
, **kwargs
)
21 self
.this
= newobj
.this
24 self
._setOORInfo
(self
)
26 def Create(*args
, **kwargs
):
28 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
29 Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
30 String name=PanelNameStr) -> bool
32 Create the GUI part of the Window for 2-phase creation mode.
34 return _windows_
.Panel_Create(*args
, **kwargs
)
36 def InitDialog(*args
, **kwargs
):
40 Sends an EVT_INIT_DIALOG event, whose handler usually transfers
41 data to the dialog via validators.
43 return _windows_
.Panel_InitDialog(*args
, **kwargs
)
46 class PanelPtr(Panel
):
47 def __init__(self
, this
):
49 if not hasattr(self
,"thisown"): self
.thisown
= 0
50 self
.__class
__ = Panel
51 _windows_
.Panel_swigregister(PanelPtr
)
53 def PrePanel(*args
, **kwargs
):
54 """PrePanel() -> Panel"""
55 val
= _windows_
.new_PrePanel(*args
, **kwargs
)
59 #---------------------------------------------------------------------------
61 class ScrolledWindow(Panel
):
63 return "<%s.%s; proxy of C++ wxScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
64 def __init__(self
, *args
, **kwargs
):
66 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
67 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
68 String name=PanelNameStr) -> ScrolledWindow
70 newobj
= _windows_
.new_ScrolledWindow(*args
, **kwargs
)
71 self
.this
= newobj
.this
74 self
._setOORInfo
(self
)
76 def Create(*args
, **kwargs
):
78 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
79 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
80 String name=PanelNameStr) -> bool
82 Create the GUI part of the Window for 2-phase creation mode.
84 return _windows_
.ScrolledWindow_Create(*args
, **kwargs
)
86 def SetScrollbars(*args
, **kwargs
):
88 SetScrollbars(self, int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX,
89 int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)
91 return _windows_
.ScrolledWindow_SetScrollbars(*args
, **kwargs
)
93 def Scroll(*args
, **kwargs
):
94 """Scroll(self, int x, int y)"""
95 return _windows_
.ScrolledWindow_Scroll(*args
, **kwargs
)
97 def GetScrollPageSize(*args
, **kwargs
):
98 """GetScrollPageSize(self, int orient) -> int"""
99 return _windows_
.ScrolledWindow_GetScrollPageSize(*args
, **kwargs
)
101 def SetScrollPageSize(*args
, **kwargs
):
102 """SetScrollPageSize(self, int orient, int pageSize)"""
103 return _windows_
.ScrolledWindow_SetScrollPageSize(*args
, **kwargs
)
105 def SetScrollRate(*args
, **kwargs
):
106 """SetScrollRate(self, int xstep, int ystep)"""
107 return _windows_
.ScrolledWindow_SetScrollRate(*args
, **kwargs
)
109 def GetScrollPixelsPerUnit(*args
, **kwargs
):
111 GetScrollPixelsPerUnit() -> (xUnit, yUnit)
113 Get the size of one logical unit in physical units.
115 return _windows_
.ScrolledWindow_GetScrollPixelsPerUnit(*args
, **kwargs
)
117 def EnableScrolling(*args
, **kwargs
):
118 """EnableScrolling(self, bool x_scrolling, bool y_scrolling)"""
119 return _windows_
.ScrolledWindow_EnableScrolling(*args
, **kwargs
)
121 def GetViewStart(*args
, **kwargs
):
123 GetViewStart() -> (x,y)
127 return _windows_
.ScrolledWindow_GetViewStart(*args
, **kwargs
)
129 def SetScale(*args
, **kwargs
):
130 """SetScale(self, double xs, double ys)"""
131 return _windows_
.ScrolledWindow_SetScale(*args
, **kwargs
)
133 def GetScaleX(*args
, **kwargs
):
134 """GetScaleX(self) -> double"""
135 return _windows_
.ScrolledWindow_GetScaleX(*args
, **kwargs
)
137 def GetScaleY(*args
, **kwargs
):
138 """GetScaleY(self) -> double"""
139 return _windows_
.ScrolledWindow_GetScaleY(*args
, **kwargs
)
141 def CalcScrolledPosition(*args
):
143 CalcScrolledPosition(self, Point pt) -> Point
144 CalcScrolledPosition(int x, int y) -> (sx, sy)
146 Translate between scrolled and unscrolled coordinates.
148 return _windows_
.ScrolledWindow_CalcScrolledPosition(*args
)
150 def CalcUnscrolledPosition(*args
):
152 CalcUnscrolledPosition(self, Point pt) -> Point
153 CalcUnscrolledPosition(int x, int y) -> (ux, uy)
155 Translate between scrolled and unscrolled coordinates.
157 return _windows_
.ScrolledWindow_CalcUnscrolledPosition(*args
)
159 def AdjustScrollbars(*args
, **kwargs
):
160 """AdjustScrollbars(self)"""
161 return _windows_
.ScrolledWindow_AdjustScrollbars(*args
, **kwargs
)
163 def CalcScrollInc(*args
, **kwargs
):
164 """CalcScrollInc(self, ScrollWinEvent event) -> int"""
165 return _windows_
.ScrolledWindow_CalcScrollInc(*args
, **kwargs
)
167 def SetTargetWindow(*args
, **kwargs
):
168 """SetTargetWindow(self, Window target)"""
169 return _windows_
.ScrolledWindow_SetTargetWindow(*args
, **kwargs
)
171 def GetTargetWindow(*args
, **kwargs
):
172 """GetTargetWindow(self) -> Window"""
173 return _windows_
.ScrolledWindow_GetTargetWindow(*args
, **kwargs
)
176 class ScrolledWindowPtr(ScrolledWindow
):
177 def __init__(self
, this
):
179 if not hasattr(self
,"thisown"): self
.thisown
= 0
180 self
.__class
__ = ScrolledWindow
181 _windows_
.ScrolledWindow_swigregister(ScrolledWindowPtr
)
183 def PreScrolledWindow(*args
, **kwargs
):
184 """PreScrolledWindow() -> ScrolledWindow"""
185 val
= _windows_
.new_PreScrolledWindow(*args
, **kwargs
)
189 #---------------------------------------------------------------------------
191 STAY_ON_TOP
= _windows_
.STAY_ON_TOP
192 ICONIZE
= _windows_
.ICONIZE
193 MINIMIZE
= _windows_
.MINIMIZE
194 MAXIMIZE
= _windows_
.MAXIMIZE
195 CLOSE_BOX
= _windows_
.CLOSE_BOX
196 THICK_FRAME
= _windows_
.THICK_FRAME
197 SYSTEM_MENU
= _windows_
.SYSTEM_MENU
198 MINIMIZE_BOX
= _windows_
.MINIMIZE_BOX
199 MAXIMIZE_BOX
= _windows_
.MAXIMIZE_BOX
200 TINY_CAPTION_HORIZ
= _windows_
.TINY_CAPTION_HORIZ
201 TINY_CAPTION_VERT
= _windows_
.TINY_CAPTION_VERT
202 RESIZE_BOX
= _windows_
.RESIZE_BOX
203 RESIZE_BORDER
= _windows_
.RESIZE_BORDER
204 DIALOG_NO_PARENT
= _windows_
.DIALOG_NO_PARENT
205 DEFAULT_FRAME_STYLE
= _windows_
.DEFAULT_FRAME_STYLE
206 DEFAULT_DIALOG_STYLE
= _windows_
.DEFAULT_DIALOG_STYLE
207 FRAME_TOOL_WINDOW
= _windows_
.FRAME_TOOL_WINDOW
208 FRAME_FLOAT_ON_PARENT
= _windows_
.FRAME_FLOAT_ON_PARENT
209 FRAME_NO_WINDOW_MENU
= _windows_
.FRAME_NO_WINDOW_MENU
210 FRAME_NO_TASKBAR
= _windows_
.FRAME_NO_TASKBAR
211 FRAME_SHAPED
= _windows_
.FRAME_SHAPED
212 DIALOG_MODAL
= _windows_
.DIALOG_MODAL
213 DIALOG_MODELESS
= _windows_
.DIALOG_MODELESS
214 USER_COLOURS
= _windows_
.USER_COLOURS
215 NO_3D
= _windows_
.NO_3D
216 FULLSCREEN_NOMENUBAR
= _windows_
.FULLSCREEN_NOMENUBAR
217 FULLSCREEN_NOTOOLBAR
= _windows_
.FULLSCREEN_NOTOOLBAR
218 FULLSCREEN_NOSTATUSBAR
= _windows_
.FULLSCREEN_NOSTATUSBAR
219 FULLSCREEN_NOBORDER
= _windows_
.FULLSCREEN_NOBORDER
220 FULLSCREEN_NOCAPTION
= _windows_
.FULLSCREEN_NOCAPTION
221 FULLSCREEN_ALL
= _windows_
.FULLSCREEN_ALL
222 TOPLEVEL_EX_DIALOG
= _windows_
.TOPLEVEL_EX_DIALOG
223 class TopLevelWindow(_core
.Window
):
224 def __init__(self
): raise RuntimeError, "No constructor defined"
226 return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
227 def Maximize(*args
, **kwargs
):
228 """Maximize(self, bool maximize=True)"""
229 return _windows_
.TopLevelWindow_Maximize(*args
, **kwargs
)
231 def Restore(*args
, **kwargs
):
233 return _windows_
.TopLevelWindow_Restore(*args
, **kwargs
)
235 def Iconize(*args
, **kwargs
):
236 """Iconize(self, bool iconize=True)"""
237 return _windows_
.TopLevelWindow_Iconize(*args
, **kwargs
)
239 def IsMaximized(*args
, **kwargs
):
240 """IsMaximized(self) -> bool"""
241 return _windows_
.TopLevelWindow_IsMaximized(*args
, **kwargs
)
243 def IsIconized(*args
, **kwargs
):
244 """IsIconized(self) -> bool"""
245 return _windows_
.TopLevelWindow_IsIconized(*args
, **kwargs
)
247 def GetIcon(*args
, **kwargs
):
248 """GetIcon(self) -> Icon"""
249 return _windows_
.TopLevelWindow_GetIcon(*args
, **kwargs
)
251 def SetIcon(*args
, **kwargs
):
252 """SetIcon(self, Icon icon)"""
253 return _windows_
.TopLevelWindow_SetIcon(*args
, **kwargs
)
255 def SetIcons(*args
, **kwargs
):
256 """SetIcons(self, wxIconBundle icons)"""
257 return _windows_
.TopLevelWindow_SetIcons(*args
, **kwargs
)
259 def ShowFullScreen(*args
, **kwargs
):
260 """ShowFullScreen(self, bool show, long style=FULLSCREEN_ALL) -> bool"""
261 return _windows_
.TopLevelWindow_ShowFullScreen(*args
, **kwargs
)
263 def IsFullScreen(*args
, **kwargs
):
264 """IsFullScreen(self) -> bool"""
265 return _windows_
.TopLevelWindow_IsFullScreen(*args
, **kwargs
)
267 def SetTitle(*args
, **kwargs
):
269 SetTitle(self, String title)
271 Sets the window's title. Applicable only to frames and dialogs.
273 return _windows_
.TopLevelWindow_SetTitle(*args
, **kwargs
)
275 def GetTitle(*args
, **kwargs
):
277 GetTitle(self) -> String
279 Gets the window's title. Applicable only to frames and dialogs.
281 return _windows_
.TopLevelWindow_GetTitle(*args
, **kwargs
)
283 def SetShape(*args
, **kwargs
):
284 """SetShape(self, Region region) -> bool"""
285 return _windows_
.TopLevelWindow_SetShape(*args
, **kwargs
)
288 class TopLevelWindowPtr(TopLevelWindow
):
289 def __init__(self
, this
):
291 if not hasattr(self
,"thisown"): self
.thisown
= 0
292 self
.__class
__ = TopLevelWindow
293 _windows_
.TopLevelWindow_swigregister(TopLevelWindowPtr
)
294 cvar
= _windows_
.cvar
295 FrameNameStr
= cvar
.FrameNameStr
296 DialogNameStr
= cvar
.DialogNameStr
297 StatusLineNameStr
= cvar
.StatusLineNameStr
298 ToolBarNameStr
= cvar
.ToolBarNameStr
300 #---------------------------------------------------------------------------
302 class Frame(TopLevelWindow
):
304 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
305 def __init__(self
, *args
, **kwargs
):
307 __init__(self, Window parent, int id, String title, Point pos=DefaultPosition,
308 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
309 String name=FrameNameStr) -> Frame
311 newobj
= _windows_
.new_Frame(*args
, **kwargs
)
312 self
.this
= newobj
.this
315 self
._setOORInfo
(self
)
317 def Create(*args
, **kwargs
):
319 Create(self, Window parent, int id, String title, Point pos=DefaultPosition,
320 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
321 String name=FrameNameStr) -> bool
323 return _windows_
.Frame_Create(*args
, **kwargs
)
325 def GetClientAreaOrigin(*args
, **kwargs
):
327 GetClientAreaOrigin(self) -> Point
329 Get the origin of the client area of the window relative to the
330 window's top left corner (the client area may be shifted because of
331 the borders, scrollbars, other decorations...)
333 return _windows_
.Frame_GetClientAreaOrigin(*args
, **kwargs
)
335 def SendSizeEvent(*args
, **kwargs
):
336 """SendSizeEvent(self)"""
337 return _windows_
.Frame_SendSizeEvent(*args
, **kwargs
)
339 def SetMenuBar(*args
, **kwargs
):
340 """SetMenuBar(self, MenuBar menubar)"""
341 return _windows_
.Frame_SetMenuBar(*args
, **kwargs
)
343 def GetMenuBar(*args
, **kwargs
):
344 """GetMenuBar(self) -> MenuBar"""
345 return _windows_
.Frame_GetMenuBar(*args
, **kwargs
)
347 def ProcessCommand(*args
, **kwargs
):
348 """ProcessCommand(self, int winid) -> bool"""
349 return _windows_
.Frame_ProcessCommand(*args
, **kwargs
)
351 Command
= ProcessCommand
352 def CreateStatusBar(*args
, **kwargs
):
354 CreateStatusBar(self, int number=1, long style=wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE,
355 int winid=0, String name=StatusLineNameStr) -> StatusBar
357 return _windows_
.Frame_CreateStatusBar(*args
, **kwargs
)
359 def GetStatusBar(*args
, **kwargs
):
360 """GetStatusBar(self) -> StatusBar"""
361 return _windows_
.Frame_GetStatusBar(*args
, **kwargs
)
363 def SetStatusBar(*args
, **kwargs
):
364 """SetStatusBar(self, StatusBar statBar)"""
365 return _windows_
.Frame_SetStatusBar(*args
, **kwargs
)
367 def SetStatusText(*args
, **kwargs
):
368 """SetStatusText(self, String text, int number=0)"""
369 return _windows_
.Frame_SetStatusText(*args
, **kwargs
)
371 def SetStatusWidths(*args
, **kwargs
):
372 """SetStatusWidths(self, int widths, int widths_field)"""
373 return _windows_
.Frame_SetStatusWidths(*args
, **kwargs
)
375 def PushStatusText(*args
, **kwargs
):
376 """PushStatusText(self, String text, int number=0)"""
377 return _windows_
.Frame_PushStatusText(*args
, **kwargs
)
379 def PopStatusText(*args
, **kwargs
):
380 """PopStatusText(self, int number=0)"""
381 return _windows_
.Frame_PopStatusText(*args
, **kwargs
)
383 def SetStatusBarPane(*args
, **kwargs
):
384 """SetStatusBarPane(self, int n)"""
385 return _windows_
.Frame_SetStatusBarPane(*args
, **kwargs
)
387 def GetStatusBarPane(*args
, **kwargs
):
388 """GetStatusBarPane(self) -> int"""
389 return _windows_
.Frame_GetStatusBarPane(*args
, **kwargs
)
391 def CreateToolBar(*args
, **kwargs
):
392 """CreateToolBar(self, long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar"""
393 return _windows_
.Frame_CreateToolBar(*args
, **kwargs
)
395 def GetToolBar(*args
, **kwargs
):
396 """GetToolBar(self) -> wxToolBar"""
397 return _windows_
.Frame_GetToolBar(*args
, **kwargs
)
399 def SetToolBar(*args
, **kwargs
):
400 """SetToolBar(self, wxToolBar toolbar)"""
401 return _windows_
.Frame_SetToolBar(*args
, **kwargs
)
403 def DoGiveHelp(*args
, **kwargs
):
404 """DoGiveHelp(self, String text, bool show)"""
405 return _windows_
.Frame_DoGiveHelp(*args
, **kwargs
)
407 def DoMenuUpdates(*args
, **kwargs
):
408 """DoMenuUpdates(self, Menu menu=None)"""
409 return _windows_
.Frame_DoMenuUpdates(*args
, **kwargs
)
412 class FramePtr(Frame
):
413 def __init__(self
, this
):
415 if not hasattr(self
,"thisown"): self
.thisown
= 0
416 self
.__class
__ = Frame
417 _windows_
.Frame_swigregister(FramePtr
)
419 def PreFrame(*args
, **kwargs
):
420 """PreFrame() -> Frame"""
421 val
= _windows_
.new_PreFrame(*args
, **kwargs
)
425 #---------------------------------------------------------------------------
427 class Dialog(TopLevelWindow
):
429 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
430 def __init__(self
, *args
, **kwargs
):
432 __init__(self, Window parent, int id, String title, Point pos=DefaultPosition,
433 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
434 String name=DialogNameStr) -> Dialog
436 newobj
= _windows_
.new_Dialog(*args
, **kwargs
)
437 self
.this
= newobj
.this
440 self
._setOORInfo
(self
)
442 def Create(*args
, **kwargs
):
444 Create(self, Window parent, int id, String title, Point pos=DefaultPosition,
445 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
446 String name=DialogNameStr) -> bool
448 return _windows_
.Dialog_Create(*args
, **kwargs
)
450 def SetReturnCode(*args
, **kwargs
):
451 """SetReturnCode(self, int returnCode)"""
452 return _windows_
.Dialog_SetReturnCode(*args
, **kwargs
)
454 def GetReturnCode(*args
, **kwargs
):
455 """GetReturnCode(self) -> int"""
456 return _windows_
.Dialog_GetReturnCode(*args
, **kwargs
)
458 def CreateTextSizer(*args
, **kwargs
):
459 """CreateTextSizer(self, String message) -> Sizer"""
460 return _windows_
.Dialog_CreateTextSizer(*args
, **kwargs
)
462 def CreateButtonSizer(*args
, **kwargs
):
463 """CreateButtonSizer(self, long flags) -> Sizer"""
464 return _windows_
.Dialog_CreateButtonSizer(*args
, **kwargs
)
466 def IsModal(*args
, **kwargs
):
467 """IsModal(self) -> bool"""
468 return _windows_
.Dialog_IsModal(*args
, **kwargs
)
470 def ShowModal(*args
, **kwargs
):
471 """ShowModal(self) -> int"""
472 return _windows_
.Dialog_ShowModal(*args
, **kwargs
)
474 def EndModal(*args
, **kwargs
):
475 """EndModal(self, int retCode)"""
476 return _windows_
.Dialog_EndModal(*args
, **kwargs
)
479 class DialogPtr(Dialog
):
480 def __init__(self
, this
):
482 if not hasattr(self
,"thisown"): self
.thisown
= 0
483 self
.__class
__ = Dialog
484 _windows_
.Dialog_swigregister(DialogPtr
)
486 def PreDialog(*args
, **kwargs
):
487 """PreDialog() -> Dialog"""
488 val
= _windows_
.new_PreDialog(*args
, **kwargs
)
492 #---------------------------------------------------------------------------
494 class MiniFrame(Frame
):
496 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
497 def __init__(self
, *args
, **kwargs
):
499 __init__(self, Window parent, int id, String title, Point pos=DefaultPosition,
500 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
501 String name=FrameNameStr) -> MiniFrame
503 newobj
= _windows_
.new_MiniFrame(*args
, **kwargs
)
504 self
.this
= newobj
.this
507 self
._setOORInfo
(self
)
509 def Create(*args
, **kwargs
):
511 Create(self, Window parent, int id, String title, Point pos=DefaultPosition,
512 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
513 String name=FrameNameStr) -> bool
515 return _windows_
.MiniFrame_Create(*args
, **kwargs
)
518 class MiniFramePtr(MiniFrame
):
519 def __init__(self
, this
):
521 if not hasattr(self
,"thisown"): self
.thisown
= 0
522 self
.__class
__ = MiniFrame
523 _windows_
.MiniFrame_swigregister(MiniFramePtr
)
525 def PreMiniFrame(*args
, **kwargs
):
526 """PreMiniFrame() -> MiniFrame"""
527 val
= _windows_
.new_PreMiniFrame(*args
, **kwargs
)
531 #---------------------------------------------------------------------------
533 SPLASH_CENTRE_ON_PARENT
= _windows_
.SPLASH_CENTRE_ON_PARENT
534 SPLASH_CENTRE_ON_SCREEN
= _windows_
.SPLASH_CENTRE_ON_SCREEN
535 SPLASH_NO_CENTRE
= _windows_
.SPLASH_NO_CENTRE
536 SPLASH_TIMEOUT
= _windows_
.SPLASH_TIMEOUT
537 SPLASH_NO_TIMEOUT
= _windows_
.SPLASH_NO_TIMEOUT
538 class SplashScreenWindow(_core
.Window
):
540 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
541 def __init__(self
, *args
, **kwargs
):
543 __init__(self, Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
544 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
546 newobj
= _windows_
.new_SplashScreenWindow(*args
, **kwargs
)
547 self
.this
= newobj
.this
550 self
._setOORInfo
(self
)
552 def SetBitmap(*args
, **kwargs
):
553 """SetBitmap(self, Bitmap bitmap)"""
554 return _windows_
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
556 def GetBitmap(*args
, **kwargs
):
557 """GetBitmap(self) -> Bitmap"""
558 return _windows_
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
561 class SplashScreenWindowPtr(SplashScreenWindow
):
562 def __init__(self
, this
):
564 if not hasattr(self
,"thisown"): self
.thisown
= 0
565 self
.__class
__ = SplashScreenWindow
566 _windows_
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
568 class SplashScreen(Frame
):
570 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
571 def __init__(self
, *args
, **kwargs
):
573 __init__(self, Bitmap bitmap, long splashStyle, int milliseconds,
574 Window parent, int id, Point pos=DefaultPosition,
575 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
577 newobj
= _windows_
.new_SplashScreen(*args
, **kwargs
)
578 self
.this
= newobj
.this
581 self
._setOORInfo
(self
)
583 def GetSplashStyle(*args
, **kwargs
):
584 """GetSplashStyle(self) -> long"""
585 return _windows_
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
587 def GetSplashWindow(*args
, **kwargs
):
588 """GetSplashWindow(self) -> SplashScreenWindow"""
589 return _windows_
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
591 def GetTimeout(*args
, **kwargs
):
592 """GetTimeout(self) -> int"""
593 return _windows_
.SplashScreen_GetTimeout(*args
, **kwargs
)
596 class SplashScreenPtr(SplashScreen
):
597 def __init__(self
, this
):
599 if not hasattr(self
,"thisown"): self
.thisown
= 0
600 self
.__class
__ = SplashScreen
601 _windows_
.SplashScreen_swigregister(SplashScreenPtr
)
603 #---------------------------------------------------------------------------
605 class StatusBar(_core
.Window
):
607 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
608 def __init__(self
, *args
, **kwargs
):
610 __init__(self, Window parent, int id=-1, long style=wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE,
611 String name=StatusLineNameStr) -> StatusBar
613 newobj
= _windows_
.new_StatusBar(*args
, **kwargs
)
614 self
.this
= newobj
.this
617 self
._setOORInfo
(self
)
619 def Create(*args
, **kwargs
):
620 """Create(self, Window parent, int id, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
621 return _windows_
.StatusBar_Create(*args
, **kwargs
)
623 def SetFieldsCount(*args
, **kwargs
):
624 """SetFieldsCount(self, int number=1)"""
625 return _windows_
.StatusBar_SetFieldsCount(*args
, **kwargs
)
627 def GetFieldsCount(*args
, **kwargs
):
628 """GetFieldsCount(self) -> int"""
629 return _windows_
.StatusBar_GetFieldsCount(*args
, **kwargs
)
631 def SetStatusText(*args
, **kwargs
):
632 """SetStatusText(self, String text, int number=0)"""
633 return _windows_
.StatusBar_SetStatusText(*args
, **kwargs
)
635 def GetStatusText(*args
, **kwargs
):
636 """GetStatusText(self, int number=0) -> String"""
637 return _windows_
.StatusBar_GetStatusText(*args
, **kwargs
)
639 def PushStatusText(*args
, **kwargs
):
640 """PushStatusText(self, String text, int number=0)"""
641 return _windows_
.StatusBar_PushStatusText(*args
, **kwargs
)
643 def PopStatusText(*args
, **kwargs
):
644 """PopStatusText(self, int number=0)"""
645 return _windows_
.StatusBar_PopStatusText(*args
, **kwargs
)
647 def SetStatusWidths(*args
, **kwargs
):
648 """SetStatusWidths(self, int widths, int widths_field)"""
649 return _windows_
.StatusBar_SetStatusWidths(*args
, **kwargs
)
651 def GetFieldRect(*args
, **kwargs
):
652 """GetFieldRect(self, int i) -> Rect"""
653 return _windows_
.StatusBar_GetFieldRect(*args
, **kwargs
)
655 def SetMinHeight(*args
, **kwargs
):
656 """SetMinHeight(self, int height)"""
657 return _windows_
.StatusBar_SetMinHeight(*args
, **kwargs
)
659 def GetBorderX(*args
, **kwargs
):
660 """GetBorderX(self) -> int"""
661 return _windows_
.StatusBar_GetBorderX(*args
, **kwargs
)
663 def GetBorderY(*args
, **kwargs
):
664 """GetBorderY(self) -> int"""
665 return _windows_
.StatusBar_GetBorderY(*args
, **kwargs
)
668 class StatusBarPtr(StatusBar
):
669 def __init__(self
, this
):
671 if not hasattr(self
,"thisown"): self
.thisown
= 0
672 self
.__class
__ = StatusBar
673 _windows_
.StatusBar_swigregister(StatusBarPtr
)
675 def PreStatusBar(*args
, **kwargs
):
676 """PreStatusBar() -> StatusBar"""
677 val
= _windows_
.new_PreStatusBar(*args
, **kwargs
)
681 #---------------------------------------------------------------------------
683 SP_NOBORDER
= _windows_
.SP_NOBORDER
684 SP_NOSASH
= _windows_
.SP_NOSASH
685 SP_PERMIT_UNSPLIT
= _windows_
.SP_PERMIT_UNSPLIT
686 SP_LIVE_UPDATE
= _windows_
.SP_LIVE_UPDATE
687 SP_3DSASH
= _windows_
.SP_3DSASH
688 SP_3DBORDER
= _windows_
.SP_3DBORDER
689 SP_NO_XP_THEME
= _windows_
.SP_NO_XP_THEME
690 SP_BORDER
= _windows_
.SP_BORDER
691 SP_3D
= _windows_
.SP_3D
692 SPLIT_HORIZONTAL
= _windows_
.SPLIT_HORIZONTAL
693 SPLIT_VERTICAL
= _windows_
.SPLIT_VERTICAL
694 SPLIT_DRAG_NONE
= _windows_
.SPLIT_DRAG_NONE
695 SPLIT_DRAG_DRAGGING
= _windows_
.SPLIT_DRAG_DRAGGING
696 SPLIT_DRAG_LEFT_DOWN
= _windows_
.SPLIT_DRAG_LEFT_DOWN
697 class SplitterWindow(_core
.Window
):
699 wx.SplitterWindow manages up to two subwindows or panes,
700 with an optional vertical or horizontal split which can be
701 used with the mouse or programmatically.
705 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
706 def __init__(self
, *args
, **kwargs
):
708 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
709 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
711 Constructor. Creates and shows a SplitterWindow.
713 if kwargs
.has_key('point'): kwargs
['pos'] = kwargs
['point'];del kwargs
['point']
714 newobj
= _windows_
.new_SplitterWindow(*args
, **kwargs
)
715 self
.this
= newobj
.this
718 self
._setOORInfo
(self
)
720 def Create(*args
, **kwargs
):
722 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
723 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool
725 Create the GUI part of the SplitterWindow for the 2-phase create.
727 return _windows_
.SplitterWindow_Create(*args
, **kwargs
)
729 def GetWindow1(*args
, **kwargs
):
731 GetWindow1(self) -> Window
733 Gets the only or left/top pane.
735 return _windows_
.SplitterWindow_GetWindow1(*args
, **kwargs
)
737 def GetWindow2(*args
, **kwargs
):
739 GetWindow2(self) -> Window
741 Gets the right/bottom pane.
743 return _windows_
.SplitterWindow_GetWindow2(*args
, **kwargs
)
745 def SetSplitMode(*args
, **kwargs
):
747 SetSplitMode(self, int mode)
749 Sets the split mode. The mode can be wx.SPLIT_VERTICAL or
750 wx.SPLIT_HORIZONTAL. This only sets the internal variable;
751 does not update the display.
753 return _windows_
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
755 def GetSplitMode(*args
, **kwargs
):
757 GetSplitMode(self) -> int
761 return _windows_
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
763 def Initialize(*args
, **kwargs
):
765 Initialize(self, Window window)
767 Initializes the splitter window to have one pane. This
768 should be called if you wish to initially view only a single
769 pane in the splitter window.
771 return _windows_
.SplitterWindow_Initialize(*args
, **kwargs
)
773 def SplitVertically(*args
, **kwargs
):
775 SplitVertically(self, Window window1, Window window2, int sashPosition=0) -> bool
777 Initializes the left and right panes of the splitter window.
779 window1 The left pane.
780 window2 The right pane.
781 sashPosition The initial position of the sash. If this
782 value is positive, it specifies the size
783 of the left pane. If it is negative, it is
784 absolute value gives the size of the right
785 pane. Finally, specify 0 (default) to
786 choose the default position (half of the
789 Returns True if successful, False otherwise (the window was
792 SplitVertically should be called if you wish to initially
793 view two panes. It can also be called at any subsequent
794 time, but the application should check that the window is
795 not currently split using IsSplit.
797 return _windows_
.SplitterWindow_SplitVertically(*args
, **kwargs
)
799 def SplitHorizontally(*args
, **kwargs
):
801 SplitHorizontally(self, Window window1, Window window2, int sashPosition=0) -> bool
803 Initializes the top and bottom panes of the splitter window.
805 window1 The top pane.
806 window2 The bottom pane.
807 sashPosition The initial position of the sash. If this
808 value is positive, it specifies the size
809 of the upper pane. If it is negative, it
810 is absolute value gives the size of the
811 lower pane. Finally, specify 0 (default)
812 to choose the default position (half of
813 the total window height).
815 Returns True if successful, False otherwise (the window was
818 SplitHorizontally should be called if you wish to initially
819 view two panes. It can also be called at any subsequent
820 time, but the application should check that the window is
821 not currently split using IsSplit.
823 return _windows_
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
825 def Unsplit(*args
, **kwargs
):
827 Unsplit(self, Window toRemove=None) -> bool
829 Unsplits the window. Pass the pane to remove, or None to
830 remove the right or bottom pane. Returns True if
831 successful, False otherwise (the window was not split).
833 This function will not actually delete the pane being
834 removed; it sends EVT_SPLITTER_UNSPLIT which can be handled
835 for the desired behaviour. By default, the pane being
836 removed is only hidden.
838 return _windows_
.SplitterWindow_Unsplit(*args
, **kwargs
)
840 def ReplaceWindow(*args
, **kwargs
):
842 ReplaceWindow(self, Window winOld, Window winNew) -> bool
844 This function replaces one of the windows managed by the
845 SplitterWindow with another one. It is in general better to
846 use it instead of calling Unsplit() and then resplitting the
847 window back because it will provoke much less flicker. It is
848 valid to call this function whether the splitter has two
851 Both parameters should be non-None and winOld must specify
852 one of the windows managed by the splitter. If the
853 parameters are incorrect or the window couldn't be replaced,
854 False is returned. Otherwise the function will return True,
855 but please notice that it will not Destroy the replaced
856 window and you may wish to do it yourself.
858 return _windows_
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
860 def UpdateSize(*args
, **kwargs
):
864 Causes any pending sizing of the sash and child panes to
865 take place immediately.
867 Such resizing normally takes place in idle time, in order to
868 wait for layout to be completed. However, this can cause
869 unacceptable flicker as the panes are resized after the
870 window has been shown. To work around this, you can perform
871 window layout (for example by sending a size event to the
872 parent window), and then call this function, before showing
873 the top-level window.
875 return _windows_
.SplitterWindow_UpdateSize(*args
, **kwargs
)
877 def IsSplit(*args
, **kwargs
):
879 IsSplit(self) -> bool
883 return _windows_
.SplitterWindow_IsSplit(*args
, **kwargs
)
885 def SetSashSize(*args
, **kwargs
):
887 SetSashSize(self, int width)
891 return _windows_
.SplitterWindow_SetSashSize(*args
, **kwargs
)
893 def SetBorderSize(*args
, **kwargs
):
895 SetBorderSize(self, int width)
899 return _windows_
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
901 def GetSashSize(*args
, **kwargs
):
903 GetSashSize(self) -> int
907 return _windows_
.SplitterWindow_GetSashSize(*args
, **kwargs
)
909 def GetBorderSize(*args
, **kwargs
):
911 GetBorderSize(self) -> int
915 return _windows_
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
917 def SetSashPosition(*args
, **kwargs
):
919 SetSashPosition(self, int position, bool redraw=True)
921 Sets the sash position, in pixels. If redraw is Ttrue then
922 the panes are resized and the sash and border are redrawn.
924 return _windows_
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
926 def GetSashPosition(*args
, **kwargs
):
928 GetSashPosition(self) -> int
930 Returns the surrent sash position.
932 return _windows_
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
934 def SetMinimumPaneSize(*args
, **kwargs
):
936 SetMinimumPaneSize(self, int min)
938 Sets the minimum pane size in pixels.
940 The default minimum pane size is zero, which means that
941 either pane can be reduced to zero by dragging the sash,
942 thus removing one of the panes. To prevent this behaviour (and
943 veto out-of-range sash dragging), set a minimum size,
944 for example 20 pixels. If the wx.SP_PERMIT_UNSPLIT style is
945 used when a splitter window is created, the window may be
946 unsplit even if minimum size is non-zero.
948 return _windows_
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
950 def GetMinimumPaneSize(*args
, **kwargs
):
952 GetMinimumPaneSize(self) -> int
954 Gets the minimum pane size in pixels.
956 return _windows_
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
958 def SashHitTest(*args
, **kwargs
):
960 SashHitTest(self, int x, int y, int tolerance=5) -> bool
962 Tests for x, y over the sash
964 return _windows_
.SplitterWindow_SashHitTest(*args
, **kwargs
)
966 def SizeWindows(*args
, **kwargs
):
972 return _windows_
.SplitterWindow_SizeWindows(*args
, **kwargs
)
974 def SetNeedUpdating(*args
, **kwargs
):
975 """SetNeedUpdating(self, bool needUpdating)"""
976 return _windows_
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
978 def GetNeedUpdating(*args
, **kwargs
):
979 """GetNeedUpdating(self) -> bool"""
980 return _windows_
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
983 class SplitterWindowPtr(SplitterWindow
):
984 def __init__(self
, this
):
986 if not hasattr(self
,"thisown"): self
.thisown
= 0
987 self
.__class
__ = SplitterWindow
988 _windows_
.SplitterWindow_swigregister(SplitterWindowPtr
)
989 SplitterNameStr
= cvar
.SplitterNameStr
991 def PreSplitterWindow(*args
, **kwargs
):
993 PreSplitterWindow() -> SplitterWindow
995 Precreate a SplitterWindow for 2-phase creation.
997 val
= _windows_
.new_PreSplitterWindow(*args
, **kwargs
)
1001 class SplitterEvent(_core
.NotifyEvent
):
1002 """This class represents the events generated by a splitter control."""
1004 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1005 def __init__(self
, *args
, **kwargs
):
1007 __init__(self, wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent
1009 This class represents the events generated by a splitter control.
1011 newobj
= _windows_
.new_SplitterEvent(*args
, **kwargs
)
1012 self
.this
= newobj
.this
1015 def SetSashPosition(*args
, **kwargs
):
1017 SetSashPosition(self, int pos)
1019 This funciton is only meaningful during
1020 EVT_SPLITTER_SASH_POS_CHANGING and
1021 EVT_SPLITTER_SASH_POS_CHANGED events. In the case of
1022 _CHANGED events, sets the the new sash position. In the case
1023 of _CHANGING events, sets the new tracking bar position so
1024 visual feedback during dragging will represent that change
1025 that will actually take place. Set to -1 from the event
1026 handler code to prevent repositioning.
1028 return _windows_
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
1030 def GetSashPosition(*args
, **kwargs
):
1032 GetSashPosition(self) -> int
1034 Returns the new sash position while in
1035 EVT_SPLITTER_SASH_POS_CHANGING and
1036 EVT_SPLITTER_SASH_POS_CHANGED events.
1038 return _windows_
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
1040 def GetWindowBeingRemoved(*args
, **kwargs
):
1042 GetWindowBeingRemoved(self) -> Window
1044 Returns a pointer to the window being removed when a
1045 splitter window is unsplit.
1047 return _windows_
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
1049 def GetX(*args
, **kwargs
):
1053 Returns the x coordinate of the double-click point in a
1054 EVT_SPLITTER_DCLICK event.
1056 return _windows_
.SplitterEvent_GetX(*args
, **kwargs
)
1058 def GetY(*args
, **kwargs
):
1062 Returns the y coordinate of the double-click point in a
1063 EVT_SPLITTER_DCLICK event.
1065 return _windows_
.SplitterEvent_GetY(*args
, **kwargs
)
1068 class SplitterEventPtr(SplitterEvent
):
1069 def __init__(self
, this
):
1071 if not hasattr(self
,"thisown"): self
.thisown
= 0
1072 self
.__class
__ = SplitterEvent
1073 _windows_
.SplitterEvent_swigregister(SplitterEventPtr
)
1075 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
1076 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
1077 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows_
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
1078 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows_
.wxEVT_COMMAND_SPLITTER_UNSPLIT
1079 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
1080 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
1081 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
1082 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
1083 EVT_SPLITTER_DCLICK
= EVT_SPLITTER_DOUBLECLICKED
1085 #---------------------------------------------------------------------------
1087 SASH_DRAG_NONE
= _windows_
.SASH_DRAG_NONE
1088 SASH_DRAG_DRAGGING
= _windows_
.SASH_DRAG_DRAGGING
1089 SASH_DRAG_LEFT_DOWN
= _windows_
.SASH_DRAG_LEFT_DOWN
1090 SW_NOBORDER
= _windows_
.SW_NOBORDER
1091 SW_BORDER
= _windows_
.SW_BORDER
1092 SW_3DSASH
= _windows_
.SW_3DSASH
1093 SW_3DBORDER
= _windows_
.SW_3DBORDER
1094 SW_3D
= _windows_
.SW_3D
1095 SASH_TOP
= _windows_
.SASH_TOP
1096 SASH_RIGHT
= _windows_
.SASH_RIGHT
1097 SASH_BOTTOM
= _windows_
.SASH_BOTTOM
1098 SASH_LEFT
= _windows_
.SASH_LEFT
1099 SASH_NONE
= _windows_
.SASH_NONE
1100 class SashWindow(_core
.Window
):
1102 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1103 def __init__(self
, *args
, **kwargs
):
1105 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1106 long style=wxCLIP_CHILDREN|wxSW_3D,
1107 String name=SashNameStr) -> SashWindow
1109 newobj
= _windows_
.new_SashWindow(*args
, **kwargs
)
1110 self
.this
= newobj
.this
1113 self
._setOORInfo
(self
)
1115 def Create(*args
, **kwargs
):
1117 Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1118 long style=wxCLIP_CHILDREN|wxSW_3D,
1119 String name=SashNameStr) -> bool
1121 return _windows_
.SashWindow_Create(*args
, **kwargs
)
1123 def SetSashVisible(*args
, **kwargs
):
1124 """SetSashVisible(self, int edge, bool sash)"""
1125 return _windows_
.SashWindow_SetSashVisible(*args
, **kwargs
)
1127 def GetSashVisible(*args
, **kwargs
):
1128 """GetSashVisible(self, int edge) -> bool"""
1129 return _windows_
.SashWindow_GetSashVisible(*args
, **kwargs
)
1131 def SetSashBorder(*args
, **kwargs
):
1132 """SetSashBorder(self, int edge, bool border)"""
1133 return _windows_
.SashWindow_SetSashBorder(*args
, **kwargs
)
1135 def HasBorder(*args
, **kwargs
):
1136 """HasBorder(self, int edge) -> bool"""
1137 return _windows_
.SashWindow_HasBorder(*args
, **kwargs
)
1139 def GetEdgeMargin(*args
, **kwargs
):
1140 """GetEdgeMargin(self, int edge) -> int"""
1141 return _windows_
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
1143 def SetDefaultBorderSize(*args
, **kwargs
):
1144 """SetDefaultBorderSize(self, int width)"""
1145 return _windows_
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
1147 def GetDefaultBorderSize(*args
, **kwargs
):
1148 """GetDefaultBorderSize(self) -> int"""
1149 return _windows_
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
1151 def SetExtraBorderSize(*args
, **kwargs
):
1152 """SetExtraBorderSize(self, int width)"""
1153 return _windows_
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
1155 def GetExtraBorderSize(*args
, **kwargs
):
1156 """GetExtraBorderSize(self) -> int"""
1157 return _windows_
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
1159 def SetMinimumSizeX(*args
, **kwargs
):
1160 """SetMinimumSizeX(self, int min)"""
1161 return _windows_
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
1163 def SetMinimumSizeY(*args
, **kwargs
):
1164 """SetMinimumSizeY(self, int min)"""
1165 return _windows_
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
1167 def GetMinimumSizeX(*args
, **kwargs
):
1168 """GetMinimumSizeX(self) -> int"""
1169 return _windows_
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
1171 def GetMinimumSizeY(*args
, **kwargs
):
1172 """GetMinimumSizeY(self) -> int"""
1173 return _windows_
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
1175 def SetMaximumSizeX(*args
, **kwargs
):
1176 """SetMaximumSizeX(self, int max)"""
1177 return _windows_
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
1179 def SetMaximumSizeY(*args
, **kwargs
):
1180 """SetMaximumSizeY(self, int max)"""
1181 return _windows_
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
1183 def GetMaximumSizeX(*args
, **kwargs
):
1184 """GetMaximumSizeX(self) -> int"""
1185 return _windows_
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
1187 def GetMaximumSizeY(*args
, **kwargs
):
1188 """GetMaximumSizeY(self) -> int"""
1189 return _windows_
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
1191 def SashHitTest(*args
, **kwargs
):
1192 """SashHitTest(self, int x, int y, int tolerance=2) -> int"""
1193 return _windows_
.SashWindow_SashHitTest(*args
, **kwargs
)
1195 def SizeWindows(*args
, **kwargs
):
1196 """SizeWindows(self)"""
1197 return _windows_
.SashWindow_SizeWindows(*args
, **kwargs
)
1200 class SashWindowPtr(SashWindow
):
1201 def __init__(self
, this
):
1203 if not hasattr(self
,"thisown"): self
.thisown
= 0
1204 self
.__class
__ = SashWindow
1205 _windows_
.SashWindow_swigregister(SashWindowPtr
)
1206 SashNameStr
= cvar
.SashNameStr
1207 SashLayoutNameStr
= cvar
.SashLayoutNameStr
1209 def PreSashWindow(*args
, **kwargs
):
1210 """PreSashWindow() -> SashWindow"""
1211 val
= _windows_
.new_PreSashWindow(*args
, **kwargs
)
1215 SASH_STATUS_OK
= _windows_
.SASH_STATUS_OK
1216 SASH_STATUS_OUT_OF_RANGE
= _windows_
.SASH_STATUS_OUT_OF_RANGE
1217 class SashEvent(_core
.CommandEvent
):
1219 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1220 def __init__(self
, *args
, **kwargs
):
1221 """__init__(self, int id=0, int edge=SASH_NONE) -> SashEvent"""
1222 newobj
= _windows_
.new_SashEvent(*args
, **kwargs
)
1223 self
.this
= newobj
.this
1226 def SetEdge(*args
, **kwargs
):
1227 """SetEdge(self, int edge)"""
1228 return _windows_
.SashEvent_SetEdge(*args
, **kwargs
)
1230 def GetEdge(*args
, **kwargs
):
1231 """GetEdge(self) -> int"""
1232 return _windows_
.SashEvent_GetEdge(*args
, **kwargs
)
1234 def SetDragRect(*args
, **kwargs
):
1235 """SetDragRect(self, Rect rect)"""
1236 return _windows_
.SashEvent_SetDragRect(*args
, **kwargs
)
1238 def GetDragRect(*args
, **kwargs
):
1239 """GetDragRect(self) -> Rect"""
1240 return _windows_
.SashEvent_GetDragRect(*args
, **kwargs
)
1242 def SetDragStatus(*args
, **kwargs
):
1243 """SetDragStatus(self, int status)"""
1244 return _windows_
.SashEvent_SetDragStatus(*args
, **kwargs
)
1246 def GetDragStatus(*args
, **kwargs
):
1247 """GetDragStatus(self) -> int"""
1248 return _windows_
.SashEvent_GetDragStatus(*args
, **kwargs
)
1251 class SashEventPtr(SashEvent
):
1252 def __init__(self
, this
):
1254 if not hasattr(self
,"thisown"): self
.thisown
= 0
1255 self
.__class
__ = SashEvent
1256 _windows_
.SashEvent_swigregister(SashEventPtr
)
1258 wxEVT_SASH_DRAGGED
= _windows_
.wxEVT_SASH_DRAGGED
1259 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
1260 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
1262 #---------------------------------------------------------------------------
1264 LAYOUT_HORIZONTAL
= _windows_
.LAYOUT_HORIZONTAL
1265 LAYOUT_VERTICAL
= _windows_
.LAYOUT_VERTICAL
1266 LAYOUT_NONE
= _windows_
.LAYOUT_NONE
1267 LAYOUT_TOP
= _windows_
.LAYOUT_TOP
1268 LAYOUT_LEFT
= _windows_
.LAYOUT_LEFT
1269 LAYOUT_RIGHT
= _windows_
.LAYOUT_RIGHT
1270 LAYOUT_BOTTOM
= _windows_
.LAYOUT_BOTTOM
1271 LAYOUT_LENGTH_Y
= _windows_
.LAYOUT_LENGTH_Y
1272 LAYOUT_LENGTH_X
= _windows_
.LAYOUT_LENGTH_X
1273 LAYOUT_MRU_LENGTH
= _windows_
.LAYOUT_MRU_LENGTH
1274 LAYOUT_QUERY
= _windows_
.LAYOUT_QUERY
1275 wxEVT_QUERY_LAYOUT_INFO
= _windows_
.wxEVT_QUERY_LAYOUT_INFO
1276 wxEVT_CALCULATE_LAYOUT
= _windows_
.wxEVT_CALCULATE_LAYOUT
1277 class QueryLayoutInfoEvent(_core
.Event
):
1279 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1280 def __init__(self
, *args
, **kwargs
):
1281 """__init__(self, int id=0) -> QueryLayoutInfoEvent"""
1282 newobj
= _windows_
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1283 self
.this
= newobj
.this
1286 def SetRequestedLength(*args
, **kwargs
):
1287 """SetRequestedLength(self, int length)"""
1288 return _windows_
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1290 def GetRequestedLength(*args
, **kwargs
):
1291 """GetRequestedLength(self) -> int"""
1292 return _windows_
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1294 def SetFlags(*args
, **kwargs
):
1295 """SetFlags(self, int flags)"""
1296 return _windows_
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1298 def GetFlags(*args
, **kwargs
):
1299 """GetFlags(self) -> int"""
1300 return _windows_
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1302 def SetSize(*args
, **kwargs
):
1303 """SetSize(self, Size size)"""
1304 return _windows_
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1306 def GetSize(*args
, **kwargs
):
1307 """GetSize(self) -> Size"""
1308 return _windows_
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1310 def SetOrientation(*args
, **kwargs
):
1311 """SetOrientation(self, int orient)"""
1312 return _windows_
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1314 def GetOrientation(*args
, **kwargs
):
1315 """GetOrientation(self) -> int"""
1316 return _windows_
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1318 def SetAlignment(*args
, **kwargs
):
1319 """SetAlignment(self, int align)"""
1320 return _windows_
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1322 def GetAlignment(*args
, **kwargs
):
1323 """GetAlignment(self) -> int"""
1324 return _windows_
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1327 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1328 def __init__(self
, this
):
1330 if not hasattr(self
,"thisown"): self
.thisown
= 0
1331 self
.__class
__ = QueryLayoutInfoEvent
1332 _windows_
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1334 class CalculateLayoutEvent(_core
.Event
):
1336 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1337 def __init__(self
, *args
, **kwargs
):
1338 """__init__(self, int id=0) -> CalculateLayoutEvent"""
1339 newobj
= _windows_
.new_CalculateLayoutEvent(*args
, **kwargs
)
1340 self
.this
= newobj
.this
1343 def SetFlags(*args
, **kwargs
):
1344 """SetFlags(self, int flags)"""
1345 return _windows_
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1347 def GetFlags(*args
, **kwargs
):
1348 """GetFlags(self) -> int"""
1349 return _windows_
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1351 def SetRect(*args
, **kwargs
):
1352 """SetRect(self, Rect rect)"""
1353 return _windows_
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1355 def GetRect(*args
, **kwargs
):
1356 """GetRect(self) -> Rect"""
1357 return _windows_
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1360 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1361 def __init__(self
, this
):
1363 if not hasattr(self
,"thisown"): self
.thisown
= 0
1364 self
.__class
__ = CalculateLayoutEvent
1365 _windows_
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1367 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1368 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1370 class SashLayoutWindow(SashWindow
):
1372 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1373 def __init__(self
, *args
, **kwargs
):
1375 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1376 long style=wxCLIP_CHILDREN|wxSW_3D,
1377 String name=SashLayoutNameStr) -> SashLayoutWindow
1379 newobj
= _windows_
.new_SashLayoutWindow(*args
, **kwargs
)
1380 self
.this
= newobj
.this
1383 self
._setOORInfo
(self
)
1385 def Create(*args
, **kwargs
):
1387 Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1388 long style=wxCLIP_CHILDREN|wxSW_3D,
1389 String name=SashLayoutNameStr) -> bool
1391 return _windows_
.SashLayoutWindow_Create(*args
, **kwargs
)
1393 def GetAlignment(*args
, **kwargs
):
1394 """GetAlignment(self) -> int"""
1395 return _windows_
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1397 def GetOrientation(*args
, **kwargs
):
1398 """GetOrientation(self) -> int"""
1399 return _windows_
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1401 def SetAlignment(*args
, **kwargs
):
1402 """SetAlignment(self, int alignment)"""
1403 return _windows_
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1405 def SetDefaultSize(*args
, **kwargs
):
1406 """SetDefaultSize(self, Size size)"""
1407 return _windows_
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1409 def SetOrientation(*args
, **kwargs
):
1410 """SetOrientation(self, int orientation)"""
1411 return _windows_
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1414 class SashLayoutWindowPtr(SashLayoutWindow
):
1415 def __init__(self
, this
):
1417 if not hasattr(self
,"thisown"): self
.thisown
= 0
1418 self
.__class
__ = SashLayoutWindow
1419 _windows_
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1421 def PreSashLayoutWindow(*args
, **kwargs
):
1422 """PreSashLayoutWindow() -> SashLayoutWindow"""
1423 val
= _windows_
.new_PreSashLayoutWindow(*args
, **kwargs
)
1427 class LayoutAlgorithm(_core
.Object
):
1429 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1430 def __init__(self
, *args
, **kwargs
):
1431 """__init__(self) -> LayoutAlgorithm"""
1432 newobj
= _windows_
.new_LayoutAlgorithm(*args
, **kwargs
)
1433 self
.this
= newobj
.this
1436 def __del__(self
, destroy
=_windows_
.delete_LayoutAlgorithm
):
1439 if self
.thisown
: destroy(self
)
1442 def LayoutMDIFrame(*args
, **kwargs
):
1443 """LayoutMDIFrame(self, MDIParentFrame frame, Rect rect=None) -> bool"""
1444 return _windows_
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1446 def LayoutFrame(*args
, **kwargs
):
1447 """LayoutFrame(self, Frame frame, Window mainWindow=None) -> bool"""
1448 return _windows_
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1450 def LayoutWindow(*args
, **kwargs
):
1451 """LayoutWindow(self, Window parent, Window mainWindow=None) -> bool"""
1452 return _windows_
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1455 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1456 def __init__(self
, this
):
1458 if not hasattr(self
,"thisown"): self
.thisown
= 0
1459 self
.__class
__ = LayoutAlgorithm
1460 _windows_
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1462 #---------------------------------------------------------------------------
1464 class PopupWindow(_core
.Window
):
1466 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1467 def __init__(self
, *args
, **kwargs
):
1468 """__init__(self, Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1469 newobj
= _windows_
.new_PopupWindow(*args
, **kwargs
)
1470 self
.this
= newobj
.this
1473 self
._setOORInfo
(self
)
1475 def Create(*args
, **kwargs
):
1476 """Create(self, Window parent, int flags=BORDER_NONE) -> bool"""
1477 return _windows_
.PopupWindow_Create(*args
, **kwargs
)
1479 def Position(*args
, **kwargs
):
1480 """Position(self, Point ptOrigin, Size size)"""
1481 return _windows_
.PopupWindow_Position(*args
, **kwargs
)
1484 class PopupWindowPtr(PopupWindow
):
1485 def __init__(self
, this
):
1487 if not hasattr(self
,"thisown"): self
.thisown
= 0
1488 self
.__class
__ = PopupWindow
1489 _windows_
.PopupWindow_swigregister(PopupWindowPtr
)
1491 def PrePopupWindow(*args
, **kwargs
):
1492 """PrePopupWindow() -> PopupWindow"""
1493 val
= _windows_
.new_PrePopupWindow(*args
, **kwargs
)
1497 #---------------------------------------------------------------------------
1499 class PopupTransientWindow(PopupWindow
):
1501 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1502 def __init__(self
, *args
, **kwargs
):
1503 """__init__(self, Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1504 newobj
= _windows_
.new_PopupTransientWindow(*args
, **kwargs
)
1505 self
.this
= newobj
.this
1508 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, PopupTransientWindow
)
1510 def _setCallbackInfo(*args
, **kwargs
):
1511 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1512 return _windows_
.PopupTransientWindow__setCallbackInfo(*args
, **kwargs
)
1514 def Popup(*args
, **kwargs
):
1515 """Popup(self, Window focus=None)"""
1516 return _windows_
.PopupTransientWindow_Popup(*args
, **kwargs
)
1518 def Dismiss(*args
, **kwargs
):
1520 return _windows_
.PopupTransientWindow_Dismiss(*args
, **kwargs
)
1523 class PopupTransientWindowPtr(PopupTransientWindow
):
1524 def __init__(self
, this
):
1526 if not hasattr(self
,"thisown"): self
.thisown
= 0
1527 self
.__class
__ = PopupTransientWindow
1528 _windows_
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1530 def PrePopupTransientWindow(*args
, **kwargs
):
1531 """PrePopupTransientWindow() -> PopupTransientWindow"""
1532 val
= _windows_
.new_PrePopupTransientWindow(*args
, **kwargs
)
1536 #---------------------------------------------------------------------------
1538 class TipWindow(PopupTransientWindow
):
1540 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1541 def __init__(self
, *args
, **kwargs
):
1542 """__init__(self, Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1543 newobj
= _windows_
.new_TipWindow(*args
, **kwargs
)
1544 self
.this
= newobj
.this
1547 self
._setOORInfo
(self
)
1549 def SetBoundingRect(*args
, **kwargs
):
1550 """SetBoundingRect(self, Rect rectBound)"""
1551 return _windows_
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1553 def Close(*args
, **kwargs
):
1555 return _windows_
.TipWindow_Close(*args
, **kwargs
)
1558 class TipWindowPtr(TipWindow
):
1559 def __init__(self
, this
):
1561 if not hasattr(self
,"thisown"): self
.thisown
= 0
1562 self
.__class
__ = TipWindow
1563 _windows_
.TipWindow_swigregister(TipWindowPtr
)
1565 #---------------------------------------------------------------------------
1567 class VScrolledWindow(Panel
):
1569 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1570 def __init__(self
, *args
, **kwargs
):
1572 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1573 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
1575 newobj
= _windows_
.new_VScrolledWindow(*args
, **kwargs
)
1576 self
.this
= newobj
.this
1579 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1581 def _setCallbackInfo(*args
, **kwargs
):
1582 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1583 return _windows_
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1585 def Create(*args
, **kwargs
):
1587 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1588 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
1590 return _windows_
.VScrolledWindow_Create(*args
, **kwargs
)
1592 def SetLineCount(*args
, **kwargs
):
1593 """SetLineCount(self, size_t count)"""
1594 return _windows_
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1596 def ScrollToLine(*args
, **kwargs
):
1597 """ScrollToLine(self, size_t line) -> bool"""
1598 return _windows_
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1600 def ScrollLines(*args
, **kwargs
):
1602 ScrollLines(self, int lines) -> bool
1604 If the platform and window class supports it, scrolls the window by
1605 the given number of lines down, if lines is positive, or up if lines
1606 is negative. Returns True if the window was scrolled, False if it was
1607 already on top/bottom and nothing was done.
1609 return _windows_
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1611 def ScrollPages(*args
, **kwargs
):
1613 ScrollPages(self, int pages) -> bool
1615 If the platform and window class supports it, scrolls the window by
1616 the given number of pages down, if pages is positive, or up if pages
1617 is negative. Returns True if the window was scrolled, False if it was
1618 already on top/bottom and nothing was done.
1620 return _windows_
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1622 def RefreshLine(*args
, **kwargs
):
1623 """RefreshLine(self, size_t line)"""
1624 return _windows_
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1626 def RefreshLines(*args
, **kwargs
):
1627 """RefreshLines(self, size_t from, size_t to)"""
1628 return _windows_
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1630 def HitTestXT(*args
, **kwargs
):
1632 HitTestXT(self, int x, int y) -> int
1634 Test where the given (in client coords) point lies
1636 return _windows_
.VScrolledWindow_HitTestXT(*args
, **kwargs
)
1638 def HitTest(*args
, **kwargs
):
1640 HitTest(self, Point pt) -> int
1642 Test where the given (in client coords) point lies
1644 return _windows_
.VScrolledWindow_HitTest(*args
, **kwargs
)
1646 def RefreshAll(*args
, **kwargs
):
1647 """RefreshAll(self)"""
1648 return _windows_
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1650 def GetLineCount(*args
, **kwargs
):
1651 """GetLineCount(self) -> size_t"""
1652 return _windows_
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1654 def GetFirstVisibleLine(*args
, **kwargs
):
1655 """GetFirstVisibleLine(self) -> size_t"""
1656 return _windows_
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1658 def GetLastVisibleLine(*args
, **kwargs
):
1659 """GetLastVisibleLine(self) -> size_t"""
1660 return _windows_
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1662 def IsVisible(*args
, **kwargs
):
1663 """IsVisible(self, size_t line) -> bool"""
1664 return _windows_
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1667 class VScrolledWindowPtr(VScrolledWindow
):
1668 def __init__(self
, this
):
1670 if not hasattr(self
,"thisown"): self
.thisown
= 0
1671 self
.__class
__ = VScrolledWindow
1672 _windows_
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
1674 def PreVScrolledWindow(*args
, **kwargs
):
1675 """PreVScrolledWindow() -> VScrolledWindow"""
1676 val
= _windows_
.new_PreVScrolledWindow(*args
, **kwargs
)
1680 class VListBox(VScrolledWindow
):
1682 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1683 def __init__(self
, *args
, **kwargs
):
1685 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1686 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
1688 newobj
= _windows_
.new_VListBox(*args
, **kwargs
)
1689 self
.this
= newobj
.this
1692 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
1694 def _setCallbackInfo(*args
, **kwargs
):
1695 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1696 return _windows_
.VListBox__setCallbackInfo(*args
, **kwargs
)
1698 def Create(*args
, **kwargs
):
1700 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1701 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1703 return _windows_
.VListBox_Create(*args
, **kwargs
)
1705 def GetItemCount(*args
, **kwargs
):
1706 """GetItemCount(self) -> size_t"""
1707 return _windows_
.VListBox_GetItemCount(*args
, **kwargs
)
1709 def HasMultipleSelection(*args
, **kwargs
):
1710 """HasMultipleSelection(self) -> bool"""
1711 return _windows_
.VListBox_HasMultipleSelection(*args
, **kwargs
)
1713 def GetSelection(*args
, **kwargs
):
1714 """GetSelection(self) -> int"""
1715 return _windows_
.VListBox_GetSelection(*args
, **kwargs
)
1717 def IsCurrent(*args
, **kwargs
):
1718 """IsCurrent(self, size_t item) -> bool"""
1719 return _windows_
.VListBox_IsCurrent(*args
, **kwargs
)
1721 def IsSelected(*args
, **kwargs
):
1722 """IsSelected(self, size_t item) -> bool"""
1723 return _windows_
.VListBox_IsSelected(*args
, **kwargs
)
1725 def GetSelectedCount(*args
, **kwargs
):
1726 """GetSelectedCount(self) -> size_t"""
1727 return _windows_
.VListBox_GetSelectedCount(*args
, **kwargs
)
1729 def GetFirstSelected(*args
, **kwargs
):
1730 """GetFirstSelected(self, unsigned long cookie) -> int"""
1731 return _windows_
.VListBox_GetFirstSelected(*args
, **kwargs
)
1733 def GetNextSelected(*args
, **kwargs
):
1734 """GetNextSelected(self, unsigned long cookie) -> int"""
1735 return _windows_
.VListBox_GetNextSelected(*args
, **kwargs
)
1737 def GetMargins(*args
, **kwargs
):
1738 """GetMargins(self) -> Point"""
1739 return _windows_
.VListBox_GetMargins(*args
, **kwargs
)
1741 def GetSelectionBackground(*args
, **kwargs
):
1742 """GetSelectionBackground(self) -> Colour"""
1743 return _windows_
.VListBox_GetSelectionBackground(*args
, **kwargs
)
1745 def SetItemCount(*args
, **kwargs
):
1746 """SetItemCount(self, size_t count)"""
1747 return _windows_
.VListBox_SetItemCount(*args
, **kwargs
)
1749 def Clear(*args
, **kwargs
):
1751 return _windows_
.VListBox_Clear(*args
, **kwargs
)
1753 def SetSelection(*args
, **kwargs
):
1754 """SetSelection(self, int selection)"""
1755 return _windows_
.VListBox_SetSelection(*args
, **kwargs
)
1757 def Select(*args
, **kwargs
):
1758 """Select(self, size_t item, bool select=True) -> bool"""
1759 return _windows_
.VListBox_Select(*args
, **kwargs
)
1761 def SelectRange(*args
, **kwargs
):
1762 """SelectRange(self, size_t from, size_t to) -> bool"""
1763 return _windows_
.VListBox_SelectRange(*args
, **kwargs
)
1765 def Toggle(*args
, **kwargs
):
1766 """Toggle(self, size_t item)"""
1767 return _windows_
.VListBox_Toggle(*args
, **kwargs
)
1769 def SelectAll(*args
, **kwargs
):
1770 """SelectAll(self) -> bool"""
1771 return _windows_
.VListBox_SelectAll(*args
, **kwargs
)
1773 def DeselectAll(*args
, **kwargs
):
1774 """DeselectAll(self) -> bool"""
1775 return _windows_
.VListBox_DeselectAll(*args
, **kwargs
)
1777 def SetMargins(*args
, **kwargs
):
1778 """SetMargins(self, Point pt)"""
1779 return _windows_
.VListBox_SetMargins(*args
, **kwargs
)
1781 def SetMarginsXY(*args
, **kwargs
):
1782 """SetMarginsXY(self, int x, int y)"""
1783 return _windows_
.VListBox_SetMarginsXY(*args
, **kwargs
)
1785 def SetSelectionBackground(*args
, **kwargs
):
1786 """SetSelectionBackground(self, Colour col)"""
1787 return _windows_
.VListBox_SetSelectionBackground(*args
, **kwargs
)
1790 class VListBoxPtr(VListBox
):
1791 def __init__(self
, this
):
1793 if not hasattr(self
,"thisown"): self
.thisown
= 0
1794 self
.__class
__ = VListBox
1795 _windows_
.VListBox_swigregister(VListBoxPtr
)
1796 VListBoxNameStr
= cvar
.VListBoxNameStr
1798 def PreVListBox(*args
, **kwargs
):
1799 """PreVListBox() -> VListBox"""
1800 val
= _windows_
.new_PreVListBox(*args
, **kwargs
)
1804 class HtmlListBox(VListBox
):
1806 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1807 def __init__(self
, *args
, **kwargs
):
1809 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1810 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
1812 newobj
= _windows_
.new_HtmlListBox(*args
, **kwargs
)
1813 self
.this
= newobj
.this
1816 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
1818 def _setCallbackInfo(*args
, **kwargs
):
1819 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1820 return _windows_
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
1822 def Create(*args
, **kwargs
):
1824 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1825 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1827 return _windows_
.HtmlListBox_Create(*args
, **kwargs
)
1829 def RefreshAll(*args
, **kwargs
):
1830 """RefreshAll(self)"""
1831 return _windows_
.HtmlListBox_RefreshAll(*args
, **kwargs
)
1833 def SetItemCount(*args
, **kwargs
):
1834 """SetItemCount(self, size_t count)"""
1835 return _windows_
.HtmlListBox_SetItemCount(*args
, **kwargs
)
1838 class HtmlListBoxPtr(HtmlListBox
):
1839 def __init__(self
, this
):
1841 if not hasattr(self
,"thisown"): self
.thisown
= 0
1842 self
.__class
__ = HtmlListBox
1843 _windows_
.HtmlListBox_swigregister(HtmlListBoxPtr
)
1845 def PreHtmlListBox(*args
, **kwargs
):
1846 """PreHtmlListBox() -> HtmlListBox"""
1847 val
= _windows_
.new_PreHtmlListBox(*args
, **kwargs
)
1851 #---------------------------------------------------------------------------
1853 class TaskBarIcon(_core
.EvtHandler
):
1855 return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1856 def __init__(self
, *args
, **kwargs
):
1857 """__init__(self) -> TaskBarIcon"""
1858 newobj
= _windows_
.new_TaskBarIcon(*args
, **kwargs
)
1859 self
.this
= newobj
.this
1862 def __del__(self
, destroy
=_windows_
.delete_TaskBarIcon
):
1865 if self
.thisown
: destroy(self
)
1868 def Destroy(*args
, **kwargs
):
1872 Deletes the C++ object this Python object is a proxy for.
1874 return _windows_
.TaskBarIcon_Destroy(*args
, **kwargs
)
1876 def IsOk(*args
, **kwargs
):
1877 """IsOk(self) -> bool"""
1878 return _windows_
.TaskBarIcon_IsOk(*args
, **kwargs
)
1880 def __nonzero__(self
): return self
.IsOk()
1881 def IsIconInstalled(*args
, **kwargs
):
1882 """IsIconInstalled(self) -> bool"""
1883 return _windows_
.TaskBarIcon_IsIconInstalled(*args
, **kwargs
)
1885 def SetIcon(*args
, **kwargs
):
1886 """SetIcon(self, Icon icon, String tooltip=EmptyString) -> bool"""
1887 return _windows_
.TaskBarIcon_SetIcon(*args
, **kwargs
)
1889 def RemoveIcon(*args
, **kwargs
):
1890 """RemoveIcon(self) -> bool"""
1891 return _windows_
.TaskBarIcon_RemoveIcon(*args
, **kwargs
)
1893 def PopupMenu(*args
, **kwargs
):
1894 """PopupMenu(self, Menu menu) -> bool"""
1895 return _windows_
.TaskBarIcon_PopupMenu(*args
, **kwargs
)
1898 class TaskBarIconPtr(TaskBarIcon
):
1899 def __init__(self
, this
):
1901 if not hasattr(self
,"thisown"): self
.thisown
= 0
1902 self
.__class
__ = TaskBarIcon
1903 _windows_
.TaskBarIcon_swigregister(TaskBarIconPtr
)
1905 class TaskBarIconEvent(_core
.Event
):
1907 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1908 def __init__(self
, *args
, **kwargs
):
1909 """__init__(self, wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
1910 newobj
= _windows_
.new_TaskBarIconEvent(*args
, **kwargs
)
1911 self
.this
= newobj
.this
1915 class TaskBarIconEventPtr(TaskBarIconEvent
):
1916 def __init__(self
, this
):
1918 if not hasattr(self
,"thisown"): self
.thisown
= 0
1919 self
.__class
__ = TaskBarIconEvent
1920 _windows_
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
1922 wxEVT_TASKBAR_MOVE
= _windows_
.wxEVT_TASKBAR_MOVE
1923 wxEVT_TASKBAR_LEFT_DOWN
= _windows_
.wxEVT_TASKBAR_LEFT_DOWN
1924 wxEVT_TASKBAR_LEFT_UP
= _windows_
.wxEVT_TASKBAR_LEFT_UP
1925 wxEVT_TASKBAR_RIGHT_DOWN
= _windows_
.wxEVT_TASKBAR_RIGHT_DOWN
1926 wxEVT_TASKBAR_RIGHT_UP
= _windows_
.wxEVT_TASKBAR_RIGHT_UP
1927 wxEVT_TASKBAR_LEFT_DCLICK
= _windows_
.wxEVT_TASKBAR_LEFT_DCLICK
1928 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows_
.wxEVT_TASKBAR_RIGHT_DCLICK
1929 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
1930 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
1931 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
1932 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
1933 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
1934 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
1935 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
1937 #---------------------------------------------------------------------------
1939 class ColourData(_core
.Object
):
1940 """This class holds a variety of information related to colour dialogs."""
1942 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1943 def __init__(self
, *args
, **kwargs
):
1945 __init__(self) -> ColourData
1947 Constructor, sets default values.
1949 newobj
= _windows_
.new_ColourData(*args
, **kwargs
)
1950 self
.this
= newobj
.this
1953 def __del__(self
, destroy
=_windows_
.delete_ColourData
):
1956 if self
.thisown
: destroy(self
)
1959 def GetChooseFull(*args
, **kwargs
):
1961 GetChooseFull(self) -> bool
1963 Under Windows, determines whether the Windows colour dialog will display
1964 the full dialog with custom colour selection controls. Has no meaning
1965 under other platforms. The default value is true.
1967 return _windows_
.ColourData_GetChooseFull(*args
, **kwargs
)
1969 def GetColour(*args
, **kwargs
):
1971 GetColour(self) -> Colour
1973 Gets the colour (pre)selected by the dialog.
1975 return _windows_
.ColourData_GetColour(*args
, **kwargs
)
1977 def GetCustomColour(*args
, **kwargs
):
1979 GetCustomColour(self, int i) -> Colour
1981 Gets the i'th custom colour associated with the colour dialog. i should
1982 be an integer between 0 and 15. The default custom colours are all white.
1984 return _windows_
.ColourData_GetCustomColour(*args
, **kwargs
)
1986 def SetChooseFull(*args
, **kwargs
):
1988 SetChooseFull(self, int flag)
1990 Under Windows, tells the Windows colour dialog to display the full dialog
1991 with custom colour selection controls. Under other platforms, has no effect.
1992 The default value is true.
1994 return _windows_
.ColourData_SetChooseFull(*args
, **kwargs
)
1996 def SetColour(*args
, **kwargs
):
1998 SetColour(self, Colour colour)
2000 Sets the default colour for the colour dialog. The default colour is black.
2002 return _windows_
.ColourData_SetColour(*args
, **kwargs
)
2004 def SetCustomColour(*args
, **kwargs
):
2006 SetCustomColour(self, int i, Colour colour)
2008 Sets the i'th custom colour for the colour dialog. i should be an integer
2009 between 0 and 15. The default custom colours are all white.
2011 return _windows_
.ColourData_SetCustomColour(*args
, **kwargs
)
2014 class ColourDataPtr(ColourData
):
2015 def __init__(self
, this
):
2017 if not hasattr(self
,"thisown"): self
.thisown
= 0
2018 self
.__class
__ = ColourData
2019 _windows_
.ColourData_swigregister(ColourDataPtr
)
2020 FileSelectorPromptStr
= cvar
.FileSelectorPromptStr
2021 DirSelectorPromptStr
= cvar
.DirSelectorPromptStr
2022 DirDialogNameStr
= cvar
.DirDialogNameStr
2023 FileSelectorDefaultWildcardStr
= cvar
.FileSelectorDefaultWildcardStr
2024 GetTextFromUserPromptStr
= cvar
.GetTextFromUserPromptStr
2025 MessageBoxCaptionStr
= cvar
.MessageBoxCaptionStr
2027 class ColourDialog(Dialog
):
2028 """This class represents the colour chooser dialog."""
2030 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2031 def __init__(self
, *args
, **kwargs
):
2033 __init__(self, Window parent, ColourData data=None) -> ColourDialog
2035 Constructor. Pass a parent window, and optionally a ColourData, which
2036 will be copied to the colour dialog's internal ColourData instance.
2038 newobj
= _windows_
.new_ColourDialog(*args
, **kwargs
)
2039 self
.this
= newobj
.this
2042 self
._setOORInfo
(self
)
2044 def GetColourData(*args
, **kwargs
):
2046 GetColourData(self) -> ColourData
2048 Returns a reference to the ColourData used by the dialog.
2050 return _windows_
.ColourDialog_GetColourData(*args
, **kwargs
)
2053 class ColourDialogPtr(ColourDialog
):
2054 def __init__(self
, this
):
2056 if not hasattr(self
,"thisown"): self
.thisown
= 0
2057 self
.__class
__ = ColourDialog
2058 _windows_
.ColourDialog_swigregister(ColourDialogPtr
)
2060 class DirDialog(Dialog
):
2061 """This class represents the directory chooser dialog."""
2063 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2064 def __init__(self
, *args
, **kwargs
):
2066 __init__(self, Window parent, String message=DirSelectorPromptStr,
2067 String defaultPath=EmptyString, long style=0,
2068 Point pos=DefaultPosition, Size size=DefaultSize,
2069 String name=DirDialogNameStr) -> DirDialog
2071 Constructor. Use ShowModal method to show the dialog.
2073 newobj
= _windows_
.new_DirDialog(*args
, **kwargs
)
2074 self
.this
= newobj
.this
2077 self
._setOORInfo
(self
)
2079 def GetPath(*args
, **kwargs
):
2081 GetPath(self) -> String
2083 Returns the default or user-selected path.
2085 return _windows_
.DirDialog_GetPath(*args
, **kwargs
)
2087 def GetMessage(*args
, **kwargs
):
2089 GetMessage(self) -> String
2091 Returns the message that will be displayed on the dialog.
2093 return _windows_
.DirDialog_GetMessage(*args
, **kwargs
)
2095 def GetStyle(*args
, **kwargs
):
2097 GetStyle(self) -> long
2099 Returns the dialog style.
2101 return _windows_
.DirDialog_GetStyle(*args
, **kwargs
)
2103 def SetMessage(*args
, **kwargs
):
2105 SetMessage(self, String message)
2107 Sets the message that will be displayed on the dialog.
2109 return _windows_
.DirDialog_SetMessage(*args
, **kwargs
)
2111 def SetPath(*args
, **kwargs
):
2113 SetPath(self, String path)
2115 Sets the default path.
2117 return _windows_
.DirDialog_SetPath(*args
, **kwargs
)
2120 class DirDialogPtr(DirDialog
):
2121 def __init__(self
, this
):
2123 if not hasattr(self
,"thisown"): self
.thisown
= 0
2124 self
.__class
__ = DirDialog
2125 _windows_
.DirDialog_swigregister(DirDialogPtr
)
2127 class FileDialog(Dialog
):
2128 """This class represents the file chooser dialog."""
2130 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2131 def __init__(self
, *args
, **kwargs
):
2133 __init__(self, Window parent, String message=FileSelectorPromptStr,
2134 String defaultDir=EmptyString, String defaultFile=EmptyString,
2135 String wildcard=FileSelectorDefaultWildcardStr,
2136 long style=0, Point pos=DefaultPosition) -> FileDialog
2138 Constructor. Use ShowModal method to show the dialog.
2140 newobj
= _windows_
.new_FileDialog(*args
, **kwargs
)
2141 self
.this
= newobj
.this
2144 self
._setOORInfo
(self
)
2146 def SetMessage(*args
, **kwargs
):
2148 SetMessage(self, String message)
2150 Sets the message that will be displayed on the dialog.
2152 return _windows_
.FileDialog_SetMessage(*args
, **kwargs
)
2154 def SetPath(*args
, **kwargs
):
2156 SetPath(self, String path)
2158 Sets the path (the combined directory and filename that will
2159 be returned when the dialog is dismissed).
2161 return _windows_
.FileDialog_SetPath(*args
, **kwargs
)
2163 def SetDirectory(*args
, **kwargs
):
2165 SetDirectory(self, String dir)
2167 Sets the default directory.
2169 return _windows_
.FileDialog_SetDirectory(*args
, **kwargs
)
2171 def SetFilename(*args
, **kwargs
):
2173 SetFilename(self, String name)
2175 Sets the default filename.
2177 return _windows_
.FileDialog_SetFilename(*args
, **kwargs
)
2179 def SetWildcard(*args
, **kwargs
):
2181 SetWildcard(self, String wildCard)
2183 Sets the wildcard, which can contain multiple file types, for example:
2184 "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
2186 return _windows_
.FileDialog_SetWildcard(*args
, **kwargs
)
2188 def SetStyle(*args
, **kwargs
):
2190 SetStyle(self, long style)
2192 Sets the dialog style.
2194 return _windows_
.FileDialog_SetStyle(*args
, **kwargs
)
2196 def SetFilterIndex(*args
, **kwargs
):
2198 SetFilterIndex(self, int filterIndex)
2200 Sets the default filter index, starting from zero.
2202 return _windows_
.FileDialog_SetFilterIndex(*args
, **kwargs
)
2204 def GetMessage(*args
, **kwargs
):
2206 GetMessage(self) -> String
2208 Returns the message that will be displayed on the dialog.
2210 return _windows_
.FileDialog_GetMessage(*args
, **kwargs
)
2212 def GetPath(*args
, **kwargs
):
2214 GetPath(self) -> String
2216 Returns the full path (directory and filename) of the selected file.
2218 return _windows_
.FileDialog_GetPath(*args
, **kwargs
)
2220 def GetDirectory(*args
, **kwargs
):
2222 GetDirectory(self) -> String
2224 Returns the default directory.
2226 return _windows_
.FileDialog_GetDirectory(*args
, **kwargs
)
2228 def GetFilename(*args
, **kwargs
):
2230 GetFilename(self) -> String
2232 Returns the default filename.
2234 return _windows_
.FileDialog_GetFilename(*args
, **kwargs
)
2236 def GetWildcard(*args
, **kwargs
):
2238 GetWildcard(self) -> String
2240 Returns the file dialog wildcard.
2242 return _windows_
.FileDialog_GetWildcard(*args
, **kwargs
)
2244 def GetStyle(*args
, **kwargs
):
2246 GetStyle(self) -> long
2248 Returns the dialog style.
2250 return _windows_
.FileDialog_GetStyle(*args
, **kwargs
)
2252 def GetFilterIndex(*args
, **kwargs
):
2254 GetFilterIndex(self) -> int
2256 Returns the index into the list of filters supplied, optionally, in
2257 the wildcard parameter. Before the dialog is shown, this is the index
2258 which will be used when the dialog is first displayed. After the dialog
2259 is shown, this is the index selected by the user.
2261 return _windows_
.FileDialog_GetFilterIndex(*args
, **kwargs
)
2263 def GetFilenames(*args
, **kwargs
):
2265 GetFilenames(self) -> PyObject
2267 Returns a list of filenames chosen in the dialog. This function should
2268 only be used with the dialogs which have wx.MULTIPLE style, use
2269 GetFilename for the others.
2271 return _windows_
.FileDialog_GetFilenames(*args
, **kwargs
)
2273 def GetPaths(*args
, **kwargs
):
2275 GetPaths(self) -> PyObject
2277 Fills the array paths with the full paths of the files chosen. This
2278 function should only be used with the dialogs which have wx.MULTIPLE style,
2279 use GetPath for the others.
2281 return _windows_
.FileDialog_GetPaths(*args
, **kwargs
)
2284 class FileDialogPtr(FileDialog
):
2285 def __init__(self
, this
):
2287 if not hasattr(self
,"thisown"): self
.thisown
= 0
2288 self
.__class
__ = FileDialog
2289 _windows_
.FileDialog_swigregister(FileDialogPtr
)
2291 CHOICEDLG_STYLE
= _windows_
.CHOICEDLG_STYLE
2292 class MultiChoiceDialog(Dialog
):
2293 """A simple dialog with a multi selection listbox."""
2295 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2296 def __init__(self
, *args
, **kwargs
):
2298 __init__(Window parent, String message, String caption,
2299 List choices=[], long style=CHOICEDLG_STYLE,
2300 Point pos=DefaultPosition) -> MultiChoiceDialog
2302 Constructor. Use ShowModal method to show the dialog.
2304 newobj
= _windows_
.new_MultiChoiceDialog(*args
, **kwargs
)
2305 self
.this
= newobj
.this
2308 self
._setOORInfo
(self
)
2310 def SetSelections(*args
, **kwargs
):
2312 SetSelections(List selections)
2314 Specify the items in the list that shoudl be selected, using a list of integers.
2316 return _windows_
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
2318 def GetSelections(*args
, **kwargs
):
2320 GetSelections() -> [selections]
2322 Returns a list of integers representing the items that are selected.
2324 return _windows_
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
2327 class MultiChoiceDialogPtr(MultiChoiceDialog
):
2328 def __init__(self
, this
):
2330 if not hasattr(self
,"thisown"): self
.thisown
= 0
2331 self
.__class
__ = MultiChoiceDialog
2332 _windows_
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
2334 class SingleChoiceDialog(Dialog
):
2335 """A simple dialog with a single selection listbox."""
2337 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2338 def __init__(self
, *args
, **kwargs
):
2340 __init__(Window parent, String message, String caption,
2341 List choices=[], long style=CHOICEDLG_STYLE,
2342 Point pos=DefaultPosition) -> SingleChoiceDialog
2344 Constructor. Use ShowModal method to show the dialog.
2346 newobj
= _windows_
.new_SingleChoiceDialog(*args
, **kwargs
)
2347 self
.this
= newobj
.this
2350 self
._setOORInfo
(self
)
2352 def GetSelection(*args
, **kwargs
):
2354 GetSelection(self) -> int
2356 Get the index of teh currently selected item.
2358 return _windows_
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
2360 def GetStringSelection(*args
, **kwargs
):
2362 GetStringSelection(self) -> String
2364 Returns the string value of the currently selected item
2366 return _windows_
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
2368 def SetSelection(*args
, **kwargs
):
2370 SetSelection(self, int sel)
2372 Set the current selected item to sel
2374 return _windows_
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
2377 class SingleChoiceDialogPtr(SingleChoiceDialog
):
2378 def __init__(self
, this
):
2380 if not hasattr(self
,"thisown"): self
.thisown
= 0
2381 self
.__class
__ = SingleChoiceDialog
2382 _windows_
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
2384 class TextEntryDialog(Dialog
):
2385 """A dialog with text control, [ok] and [cancel] buttons"""
2387 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2388 def __init__(self
, *args
, **kwargs
):
2390 __init__(self, Window parent, String message, String caption=GetTextFromUserPromptStr,
2391 String defaultValue=EmptyString,
2392 long style=wxOK|wxCANCEL|wxCENTRE, Point pos=DefaultPosition) -> TextEntryDialog
2394 Constructor. Use ShowModal method to show the dialog.
2396 newobj
= _windows_
.new_TextEntryDialog(*args
, **kwargs
)
2397 self
.this
= newobj
.this
2400 self
._setOORInfo
(self
)
2402 def GetValue(*args
, **kwargs
):
2404 GetValue(self) -> String
2406 Returns the text that the user has entered if the user has pressed OK,
2407 or the original value if the user has pressed Cancel.
2409 return _windows_
.TextEntryDialog_GetValue(*args
, **kwargs
)
2411 def SetValue(*args
, **kwargs
):
2413 SetValue(self, String value)
2415 Sets the default text value.
2417 return _windows_
.TextEntryDialog_SetValue(*args
, **kwargs
)
2420 class TextEntryDialogPtr(TextEntryDialog
):
2421 def __init__(self
, this
):
2423 if not hasattr(self
,"thisown"): self
.thisown
= 0
2424 self
.__class
__ = TextEntryDialog
2425 _windows_
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
2427 class FontData(_core
.Object
):
2428 """This class holds a variety of information related to font dialogs."""
2430 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2431 def __init__(self
, *args
, **kwargs
):
2433 __init__(self) -> FontData
2435 This class holds a variety of information related to font dialogs.
2437 newobj
= _windows_
.new_FontData(*args
, **kwargs
)
2438 self
.this
= newobj
.this
2441 def __del__(self
, destroy
=_windows_
.delete_FontData
):
2444 if self
.thisown
: destroy(self
)
2447 def EnableEffects(*args
, **kwargs
):
2449 EnableEffects(self, bool enable)
2451 Enables or disables 'effects' under MS Windows only. This refers
2452 to the controls for manipulating colour, strikeout and underline
2453 properties. The default value is true.
2455 return _windows_
.FontData_EnableEffects(*args
, **kwargs
)
2457 def GetAllowSymbols(*args
, **kwargs
):
2459 GetAllowSymbols(self) -> bool
2461 Under MS Windows, returns a flag determining whether symbol fonts can be
2462 selected. Has no effect on other platforms. The default value is true.
2464 return _windows_
.FontData_GetAllowSymbols(*args
, **kwargs
)
2466 def GetColour(*args
, **kwargs
):
2468 GetColour(self) -> Colour
2470 Gets the colour associated with the font dialog. The default value is black.
2472 return _windows_
.FontData_GetColour(*args
, **kwargs
)
2474 def GetChosenFont(*args
, **kwargs
):
2476 GetChosenFont(self) -> Font
2478 Gets the font chosen by the user.
2480 return _windows_
.FontData_GetChosenFont(*args
, **kwargs
)
2482 def GetEnableEffects(*args
, **kwargs
):
2484 GetEnableEffects(self) -> bool
2486 Determines whether 'effects' are enabled under Windows.
2488 return _windows_
.FontData_GetEnableEffects(*args
, **kwargs
)
2490 def GetInitialFont(*args
, **kwargs
):
2492 GetInitialFont(self) -> Font
2494 Gets the font that will be initially used by the font dialog. This should have
2495 previously been set by the application.
2497 return _windows_
.FontData_GetInitialFont(*args
, **kwargs
)
2499 def GetShowHelp(*args
, **kwargs
):
2501 GetShowHelp(self) -> bool
2503 Returns true if the Help button will be shown (Windows only). The default
2506 return _windows_
.FontData_GetShowHelp(*args
, **kwargs
)
2508 def SetAllowSymbols(*args
, **kwargs
):
2510 SetAllowSymbols(self, bool allowSymbols)
2512 Under MS Windows, determines whether symbol fonts can be selected. Has no
2513 effect on other platforms. The default value is true.
2515 return _windows_
.FontData_SetAllowSymbols(*args
, **kwargs
)
2517 def SetChosenFont(*args
, **kwargs
):
2519 SetChosenFont(self, Font font)
2521 Sets the font that will be returned to the user (for internal use only).
2523 return _windows_
.FontData_SetChosenFont(*args
, **kwargs
)
2525 def SetColour(*args
, **kwargs
):
2527 SetColour(self, Colour colour)
2529 Sets the colour that will be used for the font foreground colour. The default
2532 return _windows_
.FontData_SetColour(*args
, **kwargs
)
2534 def SetInitialFont(*args
, **kwargs
):
2536 SetInitialFont(self, Font font)
2538 Sets the font that will be initially used by the font dialog.
2540 return _windows_
.FontData_SetInitialFont(*args
, **kwargs
)
2542 def SetRange(*args
, **kwargs
):
2544 SetRange(self, int min, int max)
2546 Sets the valid range for the font point size (Windows only). The default is
2547 0, 0 (unrestricted range).
2549 return _windows_
.FontData_SetRange(*args
, **kwargs
)
2551 def SetShowHelp(*args
, **kwargs
):
2553 SetShowHelp(self, bool showHelp)
2555 Determines whether the Help button will be displayed in the font dialog
2556 (Windows only). The default value is false.
2558 return _windows_
.FontData_SetShowHelp(*args
, **kwargs
)
2561 class FontDataPtr(FontData
):
2562 def __init__(self
, this
):
2564 if not hasattr(self
,"thisown"): self
.thisown
= 0
2565 self
.__class
__ = FontData
2566 _windows_
.FontData_swigregister(FontDataPtr
)
2568 class FontDialog(Dialog
):
2569 """This class represents the font chooser dialog."""
2571 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2572 def __init__(self
, *args
, **kwargs
):
2574 __init__(self, Window parent, FontData data) -> FontDialog
2576 Constructor. Pass a parent window and the FontData object to be
2577 used to initialize the dialog controls.
2579 newobj
= _windows_
.new_FontDialog(*args
, **kwargs
)
2580 self
.this
= newobj
.this
2583 self
._setOORInfo
(self
)
2585 def GetFontData(*args
, **kwargs
):
2587 GetFontData(self) -> FontData
2589 Returns a reference to the internal FontData used by the FontDialog.
2591 return _windows_
.FontDialog_GetFontData(*args
, **kwargs
)
2594 class FontDialogPtr(FontDialog
):
2595 def __init__(self
, this
):
2597 if not hasattr(self
,"thisown"): self
.thisown
= 0
2598 self
.__class
__ = FontDialog
2599 _windows_
.FontDialog_swigregister(FontDialogPtr
)
2601 class MessageDialog(Dialog
):
2603 This class provides a dialog that shows a single or multi-line message, with
2604 a choice of OK, Yes, No and Cancel buttons.
2607 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2608 def __init__(self
, *args
, **kwargs
):
2610 __init__(self, Window parent, String message, String caption=MessageBoxCaptionStr,
2611 long style=wxOK|wxCANCEL|wxCENTRE,
2612 Point pos=DefaultPosition) -> MessageDialog
2614 This class provides a dialog that shows a single or multi-line message, with
2615 a choice of OK, Yes, No and Cancel buttons.
2617 newobj
= _windows_
.new_MessageDialog(*args
, **kwargs
)
2618 self
.this
= newobj
.this
2621 self
._setOORInfo
(self
)
2624 class MessageDialogPtr(MessageDialog
):
2625 def __init__(self
, this
):
2627 if not hasattr(self
,"thisown"): self
.thisown
= 0
2628 self
.__class
__ = MessageDialog
2629 _windows_
.MessageDialog_swigregister(MessageDialogPtr
)
2631 class ProgressDialog(Frame
):
2633 A dialog that shows a short message and a progress bar. Optionally, it can
2634 display an ABORT button.
2637 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2638 def __init__(self
, *args
, **kwargs
):
2640 __init__(self, String title, String message, int maximum=100, Window parent=None,
2641 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
2643 Constructor. Creates the dialog, displays it and disables user input for other
2644 windows, or, if wxPD_APP_MODAL flag is not given, for its parent window only.
2646 newobj
= _windows_
.new_ProgressDialog(*args
, **kwargs
)
2647 self
.this
= newobj
.this
2650 self
._setOORInfo
(self
)
2652 def Update(*args
, **kwargs
):
2654 Update(self, int value, String newmsg=EmptyString) -> bool
2656 Updates the dialog, setting the progress bar to the new value and, if given
2657 changes the message above it. Returns true unless the Cancel button has been
2660 If false is returned, the application can either immediately destroy the
2661 dialog or ask the user for the confirmation and if the abort is not confirmed
2662 the dialog may be resumed with Resume function.
2664 return _windows_
.ProgressDialog_Update(*args
, **kwargs
)
2666 def Resume(*args
, **kwargs
):
2670 Can be used to continue with the dialog, after the user had chosen to abort.
2672 return _windows_
.ProgressDialog_Resume(*args
, **kwargs
)
2675 class ProgressDialogPtr(ProgressDialog
):
2676 def __init__(self
, this
):
2678 if not hasattr(self
,"thisown"): self
.thisown
= 0
2679 self
.__class
__ = ProgressDialog
2680 _windows_
.ProgressDialog_swigregister(ProgressDialogPtr
)
2682 FR_DOWN
= _windows_
.FR_DOWN
2683 FR_WHOLEWORD
= _windows_
.FR_WHOLEWORD
2684 FR_MATCHCASE
= _windows_
.FR_MATCHCASE
2685 FR_REPLACEDIALOG
= _windows_
.FR_REPLACEDIALOG
2686 FR_NOUPDOWN
= _windows_
.FR_NOUPDOWN
2687 FR_NOMATCHCASE
= _windows_
.FR_NOMATCHCASE
2688 FR_NOWHOLEWORD
= _windows_
.FR_NOWHOLEWORD
2689 wxEVT_COMMAND_FIND
= _windows_
.wxEVT_COMMAND_FIND
2690 wxEVT_COMMAND_FIND_NEXT
= _windows_
.wxEVT_COMMAND_FIND_NEXT
2691 wxEVT_COMMAND_FIND_REPLACE
= _windows_
.wxEVT_COMMAND_FIND_REPLACE
2692 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows_
.wxEVT_COMMAND_FIND_REPLACE_ALL
2693 wxEVT_COMMAND_FIND_CLOSE
= _windows_
.wxEVT_COMMAND_FIND_CLOSE
2694 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
2695 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
2696 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
2697 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
2698 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
2700 # For backwards compatibility. Should they be removed?
2701 EVT_COMMAND_FIND
= EVT_FIND
2702 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
2703 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
2704 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
2705 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
2707 class FindDialogEvent(_core
.CommandEvent
):
2708 """Events for the FindReplaceDialog"""
2710 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2711 def __init__(self
, *args
, **kwargs
):
2713 __init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent
2715 Events for the FindReplaceDialog
2717 newobj
= _windows_
.new_FindDialogEvent(*args
, **kwargs
)
2718 self
.this
= newobj
.this
2721 def GetFlags(*args
, **kwargs
):
2723 GetFlags(self) -> int
2725 Get the currently selected flags: this is the combination of
2726 wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.
2728 return _windows_
.FindDialogEvent_GetFlags(*args
, **kwargs
)
2730 def GetFindString(*args
, **kwargs
):
2732 GetFindString(self) -> String
2734 Return the string to find (never empty).
2736 return _windows_
.FindDialogEvent_GetFindString(*args
, **kwargs
)
2738 def GetReplaceString(*args
, **kwargs
):
2740 GetReplaceString(self) -> String
2742 Return the string to replace the search string with (only
2743 for replace and replace all events).
2745 return _windows_
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
2747 def GetDialog(*args
, **kwargs
):
2749 GetDialog(self) -> FindReplaceDialog
2751 Return the pointer to the dialog which generated this event.
2753 return _windows_
.FindDialogEvent_GetDialog(*args
, **kwargs
)
2755 def SetFlags(*args
, **kwargs
):
2756 """SetFlags(self, int flags)"""
2757 return _windows_
.FindDialogEvent_SetFlags(*args
, **kwargs
)
2759 def SetFindString(*args
, **kwargs
):
2760 """SetFindString(self, String str)"""
2761 return _windows_
.FindDialogEvent_SetFindString(*args
, **kwargs
)
2763 def SetReplaceString(*args
, **kwargs
):
2764 """SetReplaceString(self, String str)"""
2765 return _windows_
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
2768 class FindDialogEventPtr(FindDialogEvent
):
2769 def __init__(self
, this
):
2771 if not hasattr(self
,"thisown"): self
.thisown
= 0
2772 self
.__class
__ = FindDialogEvent
2773 _windows_
.FindDialogEvent_swigregister(FindDialogEventPtr
)
2775 class FindReplaceData(_core
.Object
):
2777 FindReplaceData holds the data for FindReplaceDialog. It is used to initialize
2778 the dialog with the default values and will keep the last values from the
2779 dialog when it is closed. It is also updated each time a wxFindDialogEvent is
2780 generated so instead of using the wxFindDialogEvent methods you can also
2781 directly query this object.
2783 Note that all SetXXX() methods may only be called before showing the dialog
2784 and calling them has no effect later.
2787 wxFR_DOWN: downward search/replace selected (otherwise, upwards)
2789 wxFR_WHOLEWORD: whole word search/replace selected
2791 wxFR_MATCHCASE: case sensitive search/replace selected (otherwise,
2796 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2797 def __init__(self
, *args
, **kwargs
):
2799 __init__(self, int flags=0) -> FindReplaceData
2801 Constuctor initializes the flags to default value (0).
2803 newobj
= _windows_
.new_FindReplaceData(*args
, **kwargs
)
2804 self
.this
= newobj
.this
2807 def __del__(self
, destroy
=_windows_
.delete_FindReplaceData
):
2810 if self
.thisown
: destroy(self
)
2813 def GetFindString(*args
, **kwargs
):
2815 GetFindString(self) -> String
2817 Get the string to find.
2819 return _windows_
.FindReplaceData_GetFindString(*args
, **kwargs
)
2821 def GetReplaceString(*args
, **kwargs
):
2823 GetReplaceString(self) -> String
2825 Get the replacement string.
2827 return _windows_
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
2829 def GetFlags(*args
, **kwargs
):
2831 GetFlags(self) -> int
2833 Get the combination of flag values.
2835 return _windows_
.FindReplaceData_GetFlags(*args
, **kwargs
)
2837 def SetFlags(*args
, **kwargs
):
2839 SetFlags(self, int flags)
2841 Set the flags to use to initialize the controls of the dialog.
2843 return _windows_
.FindReplaceData_SetFlags(*args
, **kwargs
)
2845 def SetFindString(*args
, **kwargs
):
2847 SetFindString(self, String str)
2849 Set the string to find (used as initial value by the dialog).
2851 return _windows_
.FindReplaceData_SetFindString(*args
, **kwargs
)
2853 def SetReplaceString(*args
, **kwargs
):
2855 SetReplaceString(self, String str)
2857 Set the replacement string (used as initial value by the dialog).
2859 return _windows_
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
2862 class FindReplaceDataPtr(FindReplaceData
):
2863 def __init__(self
, this
):
2865 if not hasattr(self
,"thisown"): self
.thisown
= 0
2866 self
.__class
__ = FindReplaceData
2867 _windows_
.FindReplaceData_swigregister(FindReplaceDataPtr
)
2869 class FindReplaceDialog(Dialog
):
2871 FindReplaceDialog is a standard modeless dialog which is used to allow the
2872 user to search for some text (and possibly replace it with something
2873 else). The actual searching is supposed to be done in the owner window which
2874 is the parent of this dialog. Note that it means that unlike for the other
2875 standard dialogs this one must have a parent window. Also note that there is
2876 no way to use this dialog in a modal way; it is always, by design and
2877 implementation, modeless.
2880 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2881 def __init__(self
, *args
, **kwargs
):
2883 __init__(self, Window parent, FindReplaceData data, String title,
2884 int style=0) -> FindReplaceDialog
2886 Create a FindReplaceDialog. The parent and data parameters must be
2887 non-None. Use Show to display the dialog.
2889 newobj
= _windows_
.new_FindReplaceDialog(*args
, **kwargs
)
2890 self
.this
= newobj
.this
2893 self
._setOORInfo
(self
)
2895 def Create(*args
, **kwargs
):
2897 Create(self, Window parent, FindReplaceData data, String title,
2898 int style=0) -> bool
2900 Create the dialog, for 2-phase create.
2902 return _windows_
.FindReplaceDialog_Create(*args
, **kwargs
)
2904 def GetData(*args
, **kwargs
):
2906 GetData(self) -> FindReplaceData
2908 Get the FindReplaceData object used by this dialog.
2910 return _windows_
.FindReplaceDialog_GetData(*args
, **kwargs
)
2912 def SetData(*args
, **kwargs
):
2914 SetData(self, FindReplaceData data)
2916 Set the FindReplaceData object used by this dialog.
2918 return _windows_
.FindReplaceDialog_SetData(*args
, **kwargs
)
2921 class FindReplaceDialogPtr(FindReplaceDialog
):
2922 def __init__(self
, this
):
2924 if not hasattr(self
,"thisown"): self
.thisown
= 0
2925 self
.__class
__ = FindReplaceDialog
2926 _windows_
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
2928 def PreFindReplaceDialog(*args
, **kwargs
):
2930 PreFindReplaceDialog() -> FindReplaceDialog
2932 Precreate a FindReplaceDialog for 2-phase creation
2934 val
= _windows_
.new_PreFindReplaceDialog(*args
, **kwargs
)
2938 #---------------------------------------------------------------------------
2940 IDM_WINDOWTILE
= _windows_
.IDM_WINDOWTILE
2941 IDM_WINDOWTILEHOR
= _windows_
.IDM_WINDOWTILEHOR
2942 IDM_WINDOWCASCADE
= _windows_
.IDM_WINDOWCASCADE
2943 IDM_WINDOWICONS
= _windows_
.IDM_WINDOWICONS
2944 IDM_WINDOWNEXT
= _windows_
.IDM_WINDOWNEXT
2945 IDM_WINDOWTILEVERT
= _windows_
.IDM_WINDOWTILEVERT
2946 FIRST_MDI_CHILD
= _windows_
.FIRST_MDI_CHILD
2947 LAST_MDI_CHILD
= _windows_
.LAST_MDI_CHILD
2948 class MDIParentFrame(Frame
):
2950 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2951 def __init__(self
, *args
, **kwargs
):
2953 __init__(self, Window parent, int id, String title, Point pos=DefaultPosition,
2954 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2955 String name=FrameNameStr) -> MDIParentFrame
2957 newobj
= _windows_
.new_MDIParentFrame(*args
, **kwargs
)
2958 self
.this
= newobj
.this
2961 self
._setOORInfo
(self
)
2963 def Create(*args
, **kwargs
):
2965 Create(self, Window parent, int id, String title, Point pos=DefaultPosition,
2966 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2967 String name=FrameNameStr) -> bool
2969 return _windows_
.MDIParentFrame_Create(*args
, **kwargs
)
2971 def ActivateNext(*args
, **kwargs
):
2972 """ActivateNext(self)"""
2973 return _windows_
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
2975 def ActivatePrevious(*args
, **kwargs
):
2976 """ActivatePrevious(self)"""
2977 return _windows_
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
2979 def ArrangeIcons(*args
, **kwargs
):
2980 """ArrangeIcons(self)"""
2981 return _windows_
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
2983 def Cascade(*args
, **kwargs
):
2985 return _windows_
.MDIParentFrame_Cascade(*args
, **kwargs
)
2987 def GetActiveChild(*args
, **kwargs
):
2988 """GetActiveChild(self) -> MDIChildFrame"""
2989 return _windows_
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
2991 def GetClientWindow(*args
, **kwargs
):
2992 """GetClientWindow(self) -> MDIClientWindow"""
2993 return _windows_
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
2995 def GetToolBar(*args
, **kwargs
):
2996 """GetToolBar(self) -> Window"""
2997 return _windows_
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
2999 def Tile(*args
, **kwargs
):
3001 return _windows_
.MDIParentFrame_Tile(*args
, **kwargs
)
3004 class MDIParentFramePtr(MDIParentFrame
):
3005 def __init__(self
, this
):
3007 if not hasattr(self
,"thisown"): self
.thisown
= 0
3008 self
.__class
__ = MDIParentFrame
3009 _windows_
.MDIParentFrame_swigregister(MDIParentFramePtr
)
3011 def PreMDIParentFrame(*args
, **kwargs
):
3012 """PreMDIParentFrame() -> MDIParentFrame"""
3013 val
= _windows_
.new_PreMDIParentFrame(*args
, **kwargs
)
3017 class MDIChildFrame(Frame
):
3019 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3020 def __init__(self
, *args
, **kwargs
):
3022 __init__(self, MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
3023 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
3024 String name=FrameNameStr) -> MDIChildFrame
3026 newobj
= _windows_
.new_MDIChildFrame(*args
, **kwargs
)
3027 self
.this
= newobj
.this
3030 self
._setOORInfo
(self
)
3032 def Create(*args
, **kwargs
):
3034 Create(self, MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
3035 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
3036 String name=FrameNameStr) -> bool
3038 return _windows_
.MDIChildFrame_Create(*args
, **kwargs
)
3040 def Activate(*args
, **kwargs
):
3041 """Activate(self)"""
3042 return _windows_
.MDIChildFrame_Activate(*args
, **kwargs
)
3044 def Maximize(*args
, **kwargs
):
3045 """Maximize(self, bool maximize)"""
3046 return _windows_
.MDIChildFrame_Maximize(*args
, **kwargs
)
3048 def Restore(*args
, **kwargs
):
3050 return _windows_
.MDIChildFrame_Restore(*args
, **kwargs
)
3053 class MDIChildFramePtr(MDIChildFrame
):
3054 def __init__(self
, this
):
3056 if not hasattr(self
,"thisown"): self
.thisown
= 0
3057 self
.__class
__ = MDIChildFrame
3058 _windows_
.MDIChildFrame_swigregister(MDIChildFramePtr
)
3060 def PreMDIChildFrame(*args
, **kwargs
):
3061 """PreMDIChildFrame() -> MDIChildFrame"""
3062 val
= _windows_
.new_PreMDIChildFrame(*args
, **kwargs
)
3066 class MDIClientWindow(_core
.Window
):
3068 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3069 def __init__(self
, *args
, **kwargs
):
3070 """__init__(self, MDIParentFrame parent, long style=0) -> MDIClientWindow"""
3071 newobj
= _windows_
.new_MDIClientWindow(*args
, **kwargs
)
3072 self
.this
= newobj
.this
3075 self
._setOORInfo
(self
)
3077 def Create(*args
, **kwargs
):
3078 """Create(self, MDIParentFrame parent, long style=0) -> bool"""
3079 return _windows_
.MDIClientWindow_Create(*args
, **kwargs
)
3082 class MDIClientWindowPtr(MDIClientWindow
):
3083 def __init__(self
, this
):
3085 if not hasattr(self
,"thisown"): self
.thisown
= 0
3086 self
.__class
__ = MDIClientWindow
3087 _windows_
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
3089 def PreMDIClientWindow(*args
, **kwargs
):
3090 """PreMDIClientWindow() -> MDIClientWindow"""
3091 val
= _windows_
.new_PreMDIClientWindow(*args
, **kwargs
)
3095 #---------------------------------------------------------------------------
3097 class PyWindow(_core
.Window
):
3099 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3100 def __init__(self
, *args
, **kwargs
):
3102 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
3103 long style=0, String name=PanelNameStr) -> PyWindow
3105 newobj
= _windows_
.new_PyWindow(*args
, **kwargs
)
3106 self
.this
= newobj
.this
3109 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
3111 def _setCallbackInfo(*args
, **kwargs
):
3112 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3113 return _windows_
.PyWindow__setCallbackInfo(*args
, **kwargs
)
3115 def base_DoMoveWindow(*args
, **kwargs
):
3116 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3117 return _windows_
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
3119 def base_DoSetSize(*args
, **kwargs
):
3120 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3121 return _windows_
.PyWindow_base_DoSetSize(*args
, **kwargs
)
3123 def base_DoSetClientSize(*args
, **kwargs
):
3124 """base_DoSetClientSize(self, int width, int height)"""
3125 return _windows_
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
3127 def base_DoSetVirtualSize(*args
, **kwargs
):
3128 """base_DoSetVirtualSize(self, int x, int y)"""
3129 return _windows_
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
3131 def base_DoGetSize(*args
, **kwargs
):
3132 """base_DoGetSize() -> (width, height)"""
3133 return _windows_
.PyWindow_base_DoGetSize(*args
, **kwargs
)
3135 def base_DoGetClientSize(*args
, **kwargs
):
3136 """base_DoGetClientSize() -> (width, height)"""
3137 return _windows_
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
3139 def base_DoGetPosition(*args
, **kwargs
):
3140 """base_DoGetPosition() -> (x,y)"""
3141 return _windows_
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
3143 def base_DoGetVirtualSize(*args
, **kwargs
):
3144 """base_DoGetVirtualSize(self) -> Size"""
3145 return _windows_
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
3147 def base_DoGetBestSize(*args
, **kwargs
):
3148 """base_DoGetBestSize(self) -> Size"""
3149 return _windows_
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
3151 def base_InitDialog(*args
, **kwargs
):
3152 """base_InitDialog(self)"""
3153 return _windows_
.PyWindow_base_InitDialog(*args
, **kwargs
)
3155 def base_TransferDataToWindow(*args
, **kwargs
):
3156 """base_TransferDataToWindow(self) -> bool"""
3157 return _windows_
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
3159 def base_TransferDataFromWindow(*args
, **kwargs
):
3160 """base_TransferDataFromWindow(self) -> bool"""
3161 return _windows_
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
3163 def base_Validate(*args
, **kwargs
):
3164 """base_Validate(self) -> bool"""
3165 return _windows_
.PyWindow_base_Validate(*args
, **kwargs
)
3167 def base_AcceptsFocus(*args
, **kwargs
):
3168 """base_AcceptsFocus(self) -> bool"""
3169 return _windows_
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
3171 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3172 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3173 return _windows_
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3175 def base_GetMaxSize(*args
, **kwargs
):
3176 """base_GetMaxSize(self) -> Size"""
3177 return _windows_
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
3179 def base_AddChild(*args
, **kwargs
):
3180 """base_AddChild(self, Window child)"""
3181 return _windows_
.PyWindow_base_AddChild(*args
, **kwargs
)
3183 def base_RemoveChild(*args
, **kwargs
):
3184 """base_RemoveChild(self, Window child)"""
3185 return _windows_
.PyWindow_base_RemoveChild(*args
, **kwargs
)
3187 def base_ShouldInheritColours(*args
, **kwargs
):
3188 """base_ShouldInheritColours(self) -> bool"""
3189 return _windows_
.PyWindow_base_ShouldInheritColours(*args
, **kwargs
)
3191 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3192 """base_ApplyParentThemeBackground(self, Colour c)"""
3193 return _windows_
.PyWindow_base_ApplyParentThemeBackground(*args
, **kwargs
)
3196 class PyWindowPtr(PyWindow
):
3197 def __init__(self
, this
):
3199 if not hasattr(self
,"thisown"): self
.thisown
= 0
3200 self
.__class
__ = PyWindow
3201 _windows_
.PyWindow_swigregister(PyWindowPtr
)
3203 def PrePyWindow(*args
, **kwargs
):
3204 """PrePyWindow() -> PyWindow"""
3205 val
= _windows_
.new_PrePyWindow(*args
, **kwargs
)
3209 class PyPanel(Panel
):
3211 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3212 def __init__(self
, *args
, **kwargs
):
3214 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
3215 long style=0, String name=PanelNameStr) -> PyPanel
3217 newobj
= _windows_
.new_PyPanel(*args
, **kwargs
)
3218 self
.this
= newobj
.this
3221 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3223 def _setCallbackInfo(*args
, **kwargs
):
3224 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3225 return _windows_
.PyPanel__setCallbackInfo(*args
, **kwargs
)
3227 def base_DoMoveWindow(*args
, **kwargs
):
3228 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3229 return _windows_
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
3231 def base_DoSetSize(*args
, **kwargs
):
3232 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3233 return _windows_
.PyPanel_base_DoSetSize(*args
, **kwargs
)
3235 def base_DoSetClientSize(*args
, **kwargs
):
3236 """base_DoSetClientSize(self, int width, int height)"""
3237 return _windows_
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
3239 def base_DoSetVirtualSize(*args
, **kwargs
):
3240 """base_DoSetVirtualSize(self, int x, int y)"""
3241 return _windows_
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
3243 def base_DoGetSize(*args
, **kwargs
):
3244 """base_DoGetSize() -> (width, height)"""
3245 return _windows_
.PyPanel_base_DoGetSize(*args
, **kwargs
)
3247 def base_DoGetClientSize(*args
, **kwargs
):
3248 """base_DoGetClientSize() -> (width, height)"""
3249 return _windows_
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
3251 def base_DoGetPosition(*args
, **kwargs
):
3252 """base_DoGetPosition() -> (x,y)"""
3253 return _windows_
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
3255 def base_DoGetVirtualSize(*args
, **kwargs
):
3256 """base_DoGetVirtualSize(self) -> Size"""
3257 return _windows_
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
3259 def base_DoGetBestSize(*args
, **kwargs
):
3260 """base_DoGetBestSize(self) -> Size"""
3261 return _windows_
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
3263 def base_InitDialog(*args
, **kwargs
):
3264 """base_InitDialog(self)"""
3265 return _windows_
.PyPanel_base_InitDialog(*args
, **kwargs
)
3267 def base_TransferDataToWindow(*args
, **kwargs
):
3268 """base_TransferDataToWindow(self) -> bool"""
3269 return _windows_
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
3271 def base_TransferDataFromWindow(*args
, **kwargs
):
3272 """base_TransferDataFromWindow(self) -> bool"""
3273 return _windows_
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
3275 def base_Validate(*args
, **kwargs
):
3276 """base_Validate(self) -> bool"""
3277 return _windows_
.PyPanel_base_Validate(*args
, **kwargs
)
3279 def base_AcceptsFocus(*args
, **kwargs
):
3280 """base_AcceptsFocus(self) -> bool"""
3281 return _windows_
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
3283 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3284 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3285 return _windows_
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3287 def base_GetMaxSize(*args
, **kwargs
):
3288 """base_GetMaxSize(self) -> Size"""
3289 return _windows_
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
3291 def base_AddChild(*args
, **kwargs
):
3292 """base_AddChild(self, Window child)"""
3293 return _windows_
.PyPanel_base_AddChild(*args
, **kwargs
)
3295 def base_RemoveChild(*args
, **kwargs
):
3296 """base_RemoveChild(self, Window child)"""
3297 return _windows_
.PyPanel_base_RemoveChild(*args
, **kwargs
)
3299 def base_ShouldInheritColours(*args
, **kwargs
):
3300 """base_ShouldInheritColours(self) -> bool"""
3301 return _windows_
.PyPanel_base_ShouldInheritColours(*args
, **kwargs
)
3303 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3304 """base_ApplyParentThemeBackground(self, Colour c)"""
3305 return _windows_
.PyPanel_base_ApplyParentThemeBackground(*args
, **kwargs
)
3308 class PyPanelPtr(PyPanel
):
3309 def __init__(self
, this
):
3311 if not hasattr(self
,"thisown"): self
.thisown
= 0
3312 self
.__class
__ = PyPanel
3313 _windows_
.PyPanel_swigregister(PyPanelPtr
)
3315 def PrePyPanel(*args
, **kwargs
):
3316 """PrePyPanel() -> PyPanel"""
3317 val
= _windows_
.new_PrePyPanel(*args
, **kwargs
)
3321 class PyScrolledWindow(ScrolledWindow
):
3323 return "<%s.%s; proxy of C++ wxPyScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3324 def __init__(self
, *args
, **kwargs
):
3326 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
3327 long style=0, String name=PanelNameStr) -> PyScrolledWindow
3329 newobj
= _windows_
.new_PyScrolledWindow(*args
, **kwargs
)
3330 self
.this
= newobj
.this
3333 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3335 def _setCallbackInfo(*args
, **kwargs
):
3336 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3337 return _windows_
.PyScrolledWindow__setCallbackInfo(*args
, **kwargs
)
3339 def base_DoMoveWindow(*args
, **kwargs
):
3340 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3341 return _windows_
.PyScrolledWindow_base_DoMoveWindow(*args
, **kwargs
)
3343 def base_DoSetSize(*args
, **kwargs
):
3344 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3345 return _windows_
.PyScrolledWindow_base_DoSetSize(*args
, **kwargs
)
3347 def base_DoSetClientSize(*args
, **kwargs
):
3348 """base_DoSetClientSize(self, int width, int height)"""
3349 return _windows_
.PyScrolledWindow_base_DoSetClientSize(*args
, **kwargs
)
3351 def base_DoSetVirtualSize(*args
, **kwargs
):
3352 """base_DoSetVirtualSize(self, int x, int y)"""
3353 return _windows_
.PyScrolledWindow_base_DoSetVirtualSize(*args
, **kwargs
)
3355 def base_DoGetSize(*args
, **kwargs
):
3356 """base_DoGetSize() -> (width, height)"""
3357 return _windows_
.PyScrolledWindow_base_DoGetSize(*args
, **kwargs
)
3359 def base_DoGetClientSize(*args
, **kwargs
):
3360 """base_DoGetClientSize() -> (width, height)"""
3361 return _windows_
.PyScrolledWindow_base_DoGetClientSize(*args
, **kwargs
)
3363 def base_DoGetPosition(*args
, **kwargs
):
3364 """base_DoGetPosition() -> (x,y)"""
3365 return _windows_
.PyScrolledWindow_base_DoGetPosition(*args
, **kwargs
)
3367 def base_DoGetVirtualSize(*args
, **kwargs
):
3368 """base_DoGetVirtualSize(self) -> Size"""
3369 return _windows_
.PyScrolledWindow_base_DoGetVirtualSize(*args
, **kwargs
)
3371 def base_DoGetBestSize(*args
, **kwargs
):
3372 """base_DoGetBestSize(self) -> Size"""
3373 return _windows_
.PyScrolledWindow_base_DoGetBestSize(*args
, **kwargs
)
3375 def base_InitDialog(*args
, **kwargs
):
3376 """base_InitDialog(self)"""
3377 return _windows_
.PyScrolledWindow_base_InitDialog(*args
, **kwargs
)
3379 def base_TransferDataToWindow(*args
, **kwargs
):
3380 """base_TransferDataToWindow(self) -> bool"""
3381 return _windows_
.PyScrolledWindow_base_TransferDataToWindow(*args
, **kwargs
)
3383 def base_TransferDataFromWindow(*args
, **kwargs
):
3384 """base_TransferDataFromWindow(self) -> bool"""
3385 return _windows_
.PyScrolledWindow_base_TransferDataFromWindow(*args
, **kwargs
)
3387 def base_Validate(*args
, **kwargs
):
3388 """base_Validate(self) -> bool"""
3389 return _windows_
.PyScrolledWindow_base_Validate(*args
, **kwargs
)
3391 def base_AcceptsFocus(*args
, **kwargs
):
3392 """base_AcceptsFocus(self) -> bool"""
3393 return _windows_
.PyScrolledWindow_base_AcceptsFocus(*args
, **kwargs
)
3395 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3396 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3397 return _windows_
.PyScrolledWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3399 def base_GetMaxSize(*args
, **kwargs
):
3400 """base_GetMaxSize(self) -> Size"""
3401 return _windows_
.PyScrolledWindow_base_GetMaxSize(*args
, **kwargs
)
3403 def base_AddChild(*args
, **kwargs
):
3404 """base_AddChild(self, Window child)"""
3405 return _windows_
.PyScrolledWindow_base_AddChild(*args
, **kwargs
)
3407 def base_RemoveChild(*args
, **kwargs
):
3408 """base_RemoveChild(self, Window child)"""
3409 return _windows_
.PyScrolledWindow_base_RemoveChild(*args
, **kwargs
)
3411 def base_ShouldInheritColours(*args
, **kwargs
):
3412 """base_ShouldInheritColours(self) -> bool"""
3413 return _windows_
.PyScrolledWindow_base_ShouldInheritColours(*args
, **kwargs
)
3415 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3416 """base_ApplyParentThemeBackground(self, Colour c)"""
3417 return _windows_
.PyScrolledWindow_base_ApplyParentThemeBackground(*args
, **kwargs
)
3420 class PyScrolledWindowPtr(PyScrolledWindow
):
3421 def __init__(self
, this
):
3423 if not hasattr(self
,"thisown"): self
.thisown
= 0
3424 self
.__class
__ = PyScrolledWindow
3425 _windows_
.PyScrolledWindow_swigregister(PyScrolledWindowPtr
)
3427 def PrePyScrolledWindow(*args
, **kwargs
):
3428 """PrePyScrolledWindow() -> PyScrolledWindow"""
3429 val
= _windows_
.new_PrePyScrolledWindow(*args
, **kwargs
)
3433 #---------------------------------------------------------------------------
3435 PRINT_MODE_NONE
= _windows_
.PRINT_MODE_NONE
3436 PRINT_MODE_PREVIEW
= _windows_
.PRINT_MODE_PREVIEW
3437 PRINT_MODE_FILE
= _windows_
.PRINT_MODE_FILE
3438 PRINT_MODE_PRINTER
= _windows_
.PRINT_MODE_PRINTER
3439 PRINT_MODE_STREAM
= _windows_
.PRINT_MODE_STREAM
3440 class PrintData(_core
.Object
):
3442 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3443 def __init__(self
, *args
, **kwargs
):
3444 """__init__(self) -> PrintData"""
3445 newobj
= _windows_
.new_PrintData(*args
, **kwargs
)
3446 self
.this
= newobj
.this
3449 def __del__(self
, destroy
=_windows_
.delete_PrintData
):
3452 if self
.thisown
: destroy(self
)
3455 def GetNoCopies(*args
, **kwargs
):
3456 """GetNoCopies(self) -> int"""
3457 return _windows_
.PrintData_GetNoCopies(*args
, **kwargs
)
3459 def GetCollate(*args
, **kwargs
):
3460 """GetCollate(self) -> bool"""
3461 return _windows_
.PrintData_GetCollate(*args
, **kwargs
)
3463 def GetOrientation(*args
, **kwargs
):
3464 """GetOrientation(self) -> int"""
3465 return _windows_
.PrintData_GetOrientation(*args
, **kwargs
)
3467 def Ok(*args
, **kwargs
):
3468 """Ok(self) -> bool"""
3469 return _windows_
.PrintData_Ok(*args
, **kwargs
)
3471 def GetPrinterName(*args
, **kwargs
):
3472 """GetPrinterName(self) -> String"""
3473 return _windows_
.PrintData_GetPrinterName(*args
, **kwargs
)
3475 def GetColour(*args
, **kwargs
):
3476 """GetColour(self) -> bool"""
3477 return _windows_
.PrintData_GetColour(*args
, **kwargs
)
3479 def GetDuplex(*args
, **kwargs
):
3480 """GetDuplex(self) -> int"""
3481 return _windows_
.PrintData_GetDuplex(*args
, **kwargs
)
3483 def GetPaperId(*args
, **kwargs
):
3484 """GetPaperId(self) -> int"""
3485 return _windows_
.PrintData_GetPaperId(*args
, **kwargs
)
3487 def GetPaperSize(*args
, **kwargs
):
3488 """GetPaperSize(self) -> Size"""
3489 return _windows_
.PrintData_GetPaperSize(*args
, **kwargs
)
3491 def GetQuality(*args
, **kwargs
):
3492 """GetQuality(self) -> int"""
3493 return _windows_
.PrintData_GetQuality(*args
, **kwargs
)
3495 def SetNoCopies(*args
, **kwargs
):
3496 """SetNoCopies(self, int v)"""
3497 return _windows_
.PrintData_SetNoCopies(*args
, **kwargs
)
3499 def SetCollate(*args
, **kwargs
):
3500 """SetCollate(self, bool flag)"""
3501 return _windows_
.PrintData_SetCollate(*args
, **kwargs
)
3503 def SetOrientation(*args
, **kwargs
):
3504 """SetOrientation(self, int orient)"""
3505 return _windows_
.PrintData_SetOrientation(*args
, **kwargs
)
3507 def SetPrinterName(*args
, **kwargs
):
3508 """SetPrinterName(self, String name)"""
3509 return _windows_
.PrintData_SetPrinterName(*args
, **kwargs
)
3511 def SetColour(*args
, **kwargs
):
3512 """SetColour(self, bool colour)"""
3513 return _windows_
.PrintData_SetColour(*args
, **kwargs
)
3515 def SetDuplex(*args
, **kwargs
):
3516 """SetDuplex(self, int duplex)"""
3517 return _windows_
.PrintData_SetDuplex(*args
, **kwargs
)
3519 def SetPaperId(*args
, **kwargs
):
3520 """SetPaperId(self, int sizeId)"""
3521 return _windows_
.PrintData_SetPaperId(*args
, **kwargs
)
3523 def SetPaperSize(*args
, **kwargs
):
3524 """SetPaperSize(self, Size sz)"""
3525 return _windows_
.PrintData_SetPaperSize(*args
, **kwargs
)
3527 def SetQuality(*args
, **kwargs
):
3528 """SetQuality(self, int quality)"""
3529 return _windows_
.PrintData_SetQuality(*args
, **kwargs
)
3531 def GetPrinterCommand(*args
, **kwargs
):
3532 """GetPrinterCommand(self) -> String"""
3533 return _windows_
.PrintData_GetPrinterCommand(*args
, **kwargs
)
3535 def GetPrinterOptions(*args
, **kwargs
):
3536 """GetPrinterOptions(self) -> String"""
3537 return _windows_
.PrintData_GetPrinterOptions(*args
, **kwargs
)
3539 def GetPreviewCommand(*args
, **kwargs
):
3540 """GetPreviewCommand(self) -> String"""
3541 return _windows_
.PrintData_GetPreviewCommand(*args
, **kwargs
)
3543 def GetFilename(*args
, **kwargs
):
3544 """GetFilename(self) -> String"""
3545 return _windows_
.PrintData_GetFilename(*args
, **kwargs
)
3547 def GetFontMetricPath(*args
, **kwargs
):
3548 """GetFontMetricPath(self) -> String"""
3549 return _windows_
.PrintData_GetFontMetricPath(*args
, **kwargs
)
3551 def GetPrinterScaleX(*args
, **kwargs
):
3552 """GetPrinterScaleX(self) -> double"""
3553 return _windows_
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
3555 def GetPrinterScaleY(*args
, **kwargs
):
3556 """GetPrinterScaleY(self) -> double"""
3557 return _windows_
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
3559 def GetPrinterTranslateX(*args
, **kwargs
):
3560 """GetPrinterTranslateX(self) -> long"""
3561 return _windows_
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
3563 def GetPrinterTranslateY(*args
, **kwargs
):
3564 """GetPrinterTranslateY(self) -> long"""
3565 return _windows_
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
3567 def GetPrintMode(*args
, **kwargs
):
3568 """GetPrintMode(self) -> int"""
3569 return _windows_
.PrintData_GetPrintMode(*args
, **kwargs
)
3571 def SetPrinterCommand(*args
, **kwargs
):
3572 """SetPrinterCommand(self, String command)"""
3573 return _windows_
.PrintData_SetPrinterCommand(*args
, **kwargs
)
3575 def SetPrinterOptions(*args
, **kwargs
):
3576 """SetPrinterOptions(self, String options)"""
3577 return _windows_
.PrintData_SetPrinterOptions(*args
, **kwargs
)
3579 def SetPreviewCommand(*args
, **kwargs
):
3580 """SetPreviewCommand(self, String command)"""
3581 return _windows_
.PrintData_SetPreviewCommand(*args
, **kwargs
)
3583 def SetFilename(*args
, **kwargs
):
3584 """SetFilename(self, String filename)"""
3585 return _windows_
.PrintData_SetFilename(*args
, **kwargs
)
3587 def SetFontMetricPath(*args
, **kwargs
):
3588 """SetFontMetricPath(self, String path)"""
3589 return _windows_
.PrintData_SetFontMetricPath(*args
, **kwargs
)
3591 def SetPrinterScaleX(*args
, **kwargs
):
3592 """SetPrinterScaleX(self, double x)"""
3593 return _windows_
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
3595 def SetPrinterScaleY(*args
, **kwargs
):
3596 """SetPrinterScaleY(self, double y)"""
3597 return _windows_
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
3599 def SetPrinterScaling(*args
, **kwargs
):
3600 """SetPrinterScaling(self, double x, double y)"""
3601 return _windows_
.PrintData_SetPrinterScaling(*args
, **kwargs
)
3603 def SetPrinterTranslateX(*args
, **kwargs
):
3604 """SetPrinterTranslateX(self, long x)"""
3605 return _windows_
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
3607 def SetPrinterTranslateY(*args
, **kwargs
):
3608 """SetPrinterTranslateY(self, long y)"""
3609 return _windows_
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
3611 def SetPrinterTranslation(*args
, **kwargs
):
3612 """SetPrinterTranslation(self, long x, long y)"""
3613 return _windows_
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
3615 def SetPrintMode(*args
, **kwargs
):
3616 """SetPrintMode(self, int printMode)"""
3617 return _windows_
.PrintData_SetPrintMode(*args
, **kwargs
)
3619 def GetOutputStream(*args
, **kwargs
):
3620 """GetOutputStream(self) -> OutputStream"""
3621 return _windows_
.PrintData_GetOutputStream(*args
, **kwargs
)
3623 def SetOutputStream(*args
, **kwargs
):
3624 """SetOutputStream(self, OutputStream outputstream)"""
3625 return _windows_
.PrintData_SetOutputStream(*args
, **kwargs
)
3627 def __nonzero__(self
): return self
.Ok()
3629 class PrintDataPtr(PrintData
):
3630 def __init__(self
, this
):
3632 if not hasattr(self
,"thisown"): self
.thisown
= 0
3633 self
.__class
__ = PrintData
3634 _windows_
.PrintData_swigregister(PrintDataPtr
)
3635 PrintoutTitleStr
= cvar
.PrintoutTitleStr
3636 PreviewCanvasNameStr
= cvar
.PreviewCanvasNameStr
3638 class PageSetupDialogData(_core
.Object
):
3640 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3641 def __init__(self
, *args
, **kwargs
):
3642 """__init__(self) -> PageSetupDialogData"""
3643 newobj
= _windows_
.new_PageSetupDialogData(*args
, **kwargs
)
3644 self
.this
= newobj
.this
3647 def __del__(self
, destroy
=_windows_
.delete_PageSetupDialogData
):
3650 if self
.thisown
: destroy(self
)
3653 def EnableHelp(*args
, **kwargs
):
3654 """EnableHelp(self, bool flag)"""
3655 return _windows_
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
3657 def EnableMargins(*args
, **kwargs
):
3658 """EnableMargins(self, bool flag)"""
3659 return _windows_
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
3661 def EnableOrientation(*args
, **kwargs
):
3662 """EnableOrientation(self, bool flag)"""
3663 return _windows_
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
3665 def EnablePaper(*args
, **kwargs
):
3666 """EnablePaper(self, bool flag)"""
3667 return _windows_
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
3669 def EnablePrinter(*args
, **kwargs
):
3670 """EnablePrinter(self, bool flag)"""
3671 return _windows_
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
3673 def GetDefaultMinMargins(*args
, **kwargs
):
3674 """GetDefaultMinMargins(self) -> bool"""
3675 return _windows_
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
3677 def GetEnableMargins(*args
, **kwargs
):
3678 """GetEnableMargins(self) -> bool"""
3679 return _windows_
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
3681 def GetEnableOrientation(*args
, **kwargs
):
3682 """GetEnableOrientation(self) -> bool"""
3683 return _windows_
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
3685 def GetEnablePaper(*args
, **kwargs
):
3686 """GetEnablePaper(self) -> bool"""
3687 return _windows_
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
3689 def GetEnablePrinter(*args
, **kwargs
):
3690 """GetEnablePrinter(self) -> bool"""
3691 return _windows_
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
3693 def GetEnableHelp(*args
, **kwargs
):
3694 """GetEnableHelp(self) -> bool"""
3695 return _windows_
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
3697 def GetDefaultInfo(*args
, **kwargs
):
3698 """GetDefaultInfo(self) -> bool"""
3699 return _windows_
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
3701 def GetMarginTopLeft(*args
, **kwargs
):
3702 """GetMarginTopLeft(self) -> Point"""
3703 return _windows_
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
3705 def GetMarginBottomRight(*args
, **kwargs
):
3706 """GetMarginBottomRight(self) -> Point"""
3707 return _windows_
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
3709 def GetMinMarginTopLeft(*args
, **kwargs
):
3710 """GetMinMarginTopLeft(self) -> Point"""
3711 return _windows_
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
3713 def GetMinMarginBottomRight(*args
, **kwargs
):
3714 """GetMinMarginBottomRight(self) -> Point"""
3715 return _windows_
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
3717 def GetPaperId(*args
, **kwargs
):
3718 """GetPaperId(self) -> int"""
3719 return _windows_
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
3721 def GetPaperSize(*args
, **kwargs
):
3722 """GetPaperSize(self) -> Size"""
3723 return _windows_
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
3725 def GetPrintData(*args
, **kwargs
):
3726 """GetPrintData(self) -> PrintData"""
3727 return _windows_
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
3729 def Ok(*args
, **kwargs
):
3730 """Ok(self) -> bool"""
3731 return _windows_
.PageSetupDialogData_Ok(*args
, **kwargs
)
3733 def SetDefaultInfo(*args
, **kwargs
):
3734 """SetDefaultInfo(self, bool flag)"""
3735 return _windows_
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
3737 def SetDefaultMinMargins(*args
, **kwargs
):
3738 """SetDefaultMinMargins(self, bool flag)"""
3739 return _windows_
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
3741 def SetMarginTopLeft(*args
, **kwargs
):
3742 """SetMarginTopLeft(self, Point pt)"""
3743 return _windows_
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
3745 def SetMarginBottomRight(*args
, **kwargs
):
3746 """SetMarginBottomRight(self, Point pt)"""
3747 return _windows_
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
3749 def SetMinMarginTopLeft(*args
, **kwargs
):
3750 """SetMinMarginTopLeft(self, Point pt)"""
3751 return _windows_
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
3753 def SetMinMarginBottomRight(*args
, **kwargs
):
3754 """SetMinMarginBottomRight(self, Point pt)"""
3755 return _windows_
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
3757 def SetPaperId(*args
, **kwargs
):
3758 """SetPaperId(self, int id)"""
3759 return _windows_
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
3761 def SetPaperSize(*args
, **kwargs
):
3762 """SetPaperSize(self, Size size)"""
3763 return _windows_
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
3765 def SetPrintData(*args
, **kwargs
):
3766 """SetPrintData(self, PrintData printData)"""
3767 return _windows_
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
3769 def __nonzero__(self
): return self
.Ok()
3771 class PageSetupDialogDataPtr(PageSetupDialogData
):
3772 def __init__(self
, this
):
3774 if not hasattr(self
,"thisown"): self
.thisown
= 0
3775 self
.__class
__ = PageSetupDialogData
3776 _windows_
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
3778 class PageSetupDialog(Dialog
):
3780 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3781 def __init__(self
, *args
, **kwargs
):
3782 """__init__(self, Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
3783 newobj
= _windows_
.new_PageSetupDialog(*args
, **kwargs
)
3784 self
.this
= newobj
.this
3787 self
._setOORInfo
(self
)
3789 def GetPageSetupData(*args
, **kwargs
):
3790 """GetPageSetupData(self) -> PageSetupDialogData"""
3791 return _windows_
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
3793 def ShowModal(*args
, **kwargs
):
3794 """ShowModal(self) -> int"""
3795 return _windows_
.PageSetupDialog_ShowModal(*args
, **kwargs
)
3798 class PageSetupDialogPtr(PageSetupDialog
):
3799 def __init__(self
, this
):
3801 if not hasattr(self
,"thisown"): self
.thisown
= 0
3802 self
.__class
__ = PageSetupDialog
3803 _windows_
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
3805 class PrintDialogData(_core
.Object
):
3807 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3808 def __init__(self
, *args
):
3810 __init__(self) -> PrintDialogData
3811 __init__(self, PrintData printData) -> PrintDialogData
3813 newobj
= _windows_
.new_PrintDialogData(*args
)
3814 self
.this
= newobj
.this
3817 def __del__(self
, destroy
=_windows_
.delete_PrintDialogData
):
3820 if self
.thisown
: destroy(self
)
3823 def GetFromPage(*args
, **kwargs
):
3824 """GetFromPage(self) -> int"""
3825 return _windows_
.PrintDialogData_GetFromPage(*args
, **kwargs
)
3827 def GetToPage(*args
, **kwargs
):
3828 """GetToPage(self) -> int"""
3829 return _windows_
.PrintDialogData_GetToPage(*args
, **kwargs
)
3831 def GetMinPage(*args
, **kwargs
):
3832 """GetMinPage(self) -> int"""
3833 return _windows_
.PrintDialogData_GetMinPage(*args
, **kwargs
)
3835 def GetMaxPage(*args
, **kwargs
):
3836 """GetMaxPage(self) -> int"""
3837 return _windows_
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
3839 def GetNoCopies(*args
, **kwargs
):
3840 """GetNoCopies(self) -> int"""
3841 return _windows_
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
3843 def GetAllPages(*args
, **kwargs
):
3844 """GetAllPages(self) -> bool"""
3845 return _windows_
.PrintDialogData_GetAllPages(*args
, **kwargs
)
3847 def GetSelection(*args
, **kwargs
):
3848 """GetSelection(self) -> bool"""
3849 return _windows_
.PrintDialogData_GetSelection(*args
, **kwargs
)
3851 def GetCollate(*args
, **kwargs
):
3852 """GetCollate(self) -> bool"""
3853 return _windows_
.PrintDialogData_GetCollate(*args
, **kwargs
)
3855 def GetPrintToFile(*args
, **kwargs
):
3856 """GetPrintToFile(self) -> bool"""
3857 return _windows_
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
3859 def GetSetupDialog(*args
, **kwargs
):
3860 """GetSetupDialog(self) -> bool"""
3861 return _windows_
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
3863 def SetFromPage(*args
, **kwargs
):
3864 """SetFromPage(self, int v)"""
3865 return _windows_
.PrintDialogData_SetFromPage(*args
, **kwargs
)
3867 def SetToPage(*args
, **kwargs
):
3868 """SetToPage(self, int v)"""
3869 return _windows_
.PrintDialogData_SetToPage(*args
, **kwargs
)
3871 def SetMinPage(*args
, **kwargs
):
3872 """SetMinPage(self, int v)"""
3873 return _windows_
.PrintDialogData_SetMinPage(*args
, **kwargs
)
3875 def SetMaxPage(*args
, **kwargs
):
3876 """SetMaxPage(self, int v)"""
3877 return _windows_
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
3879 def SetNoCopies(*args
, **kwargs
):
3880 """SetNoCopies(self, int v)"""
3881 return _windows_
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
3883 def SetAllPages(*args
, **kwargs
):
3884 """SetAllPages(self, bool flag)"""
3885 return _windows_
.PrintDialogData_SetAllPages(*args
, **kwargs
)
3887 def SetSelection(*args
, **kwargs
):
3888 """SetSelection(self, bool flag)"""
3889 return _windows_
.PrintDialogData_SetSelection(*args
, **kwargs
)
3891 def SetCollate(*args
, **kwargs
):
3892 """SetCollate(self, bool flag)"""
3893 return _windows_
.PrintDialogData_SetCollate(*args
, **kwargs
)
3895 def SetPrintToFile(*args
, **kwargs
):
3896 """SetPrintToFile(self, bool flag)"""
3897 return _windows_
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
3899 def SetSetupDialog(*args
, **kwargs
):
3900 """SetSetupDialog(self, bool flag)"""
3901 return _windows_
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
3903 def EnablePrintToFile(*args
, **kwargs
):
3904 """EnablePrintToFile(self, bool flag)"""
3905 return _windows_
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
3907 def EnableSelection(*args
, **kwargs
):
3908 """EnableSelection(self, bool flag)"""
3909 return _windows_
.PrintDialogData_EnableSelection(*args
, **kwargs
)
3911 def EnablePageNumbers(*args
, **kwargs
):
3912 """EnablePageNumbers(self, bool flag)"""
3913 return _windows_
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
3915 def EnableHelp(*args
, **kwargs
):
3916 """EnableHelp(self, bool flag)"""
3917 return _windows_
.PrintDialogData_EnableHelp(*args
, **kwargs
)
3919 def GetEnablePrintToFile(*args
, **kwargs
):
3920 """GetEnablePrintToFile(self) -> bool"""
3921 return _windows_
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
3923 def GetEnableSelection(*args
, **kwargs
):
3924 """GetEnableSelection(self) -> bool"""
3925 return _windows_
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
3927 def GetEnablePageNumbers(*args
, **kwargs
):
3928 """GetEnablePageNumbers(self) -> bool"""
3929 return _windows_
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
3931 def GetEnableHelp(*args
, **kwargs
):
3932 """GetEnableHelp(self) -> bool"""
3933 return _windows_
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
3935 def Ok(*args
, **kwargs
):
3936 """Ok(self) -> bool"""
3937 return _windows_
.PrintDialogData_Ok(*args
, **kwargs
)
3939 def GetPrintData(*args
, **kwargs
):
3940 """GetPrintData(self) -> PrintData"""
3941 return _windows_
.PrintDialogData_GetPrintData(*args
, **kwargs
)
3943 def SetPrintData(*args
, **kwargs
):
3944 """SetPrintData(self, PrintData printData)"""
3945 return _windows_
.PrintDialogData_SetPrintData(*args
, **kwargs
)
3947 def __nonzero__(self
): return self
.Ok()
3949 class PrintDialogDataPtr(PrintDialogData
):
3950 def __init__(self
, this
):
3952 if not hasattr(self
,"thisown"): self
.thisown
= 0
3953 self
.__class
__ = PrintDialogData
3954 _windows_
.PrintDialogData_swigregister(PrintDialogDataPtr
)
3956 class PrintDialog(Dialog
):
3958 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3959 def __init__(self
, *args
, **kwargs
):
3960 """__init__(self, Window parent, PrintDialogData data=None) -> PrintDialog"""
3961 newobj
= _windows_
.new_PrintDialog(*args
, **kwargs
)
3962 self
.this
= newobj
.this
3965 self
._setOORInfo
(self
)
3967 def GetPrintDialogData(*args
, **kwargs
):
3968 """GetPrintDialogData(self) -> PrintDialogData"""
3969 return _windows_
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
3971 def GetPrintDC(*args
, **kwargs
):
3972 """GetPrintDC(self) -> DC"""
3973 return _windows_
.PrintDialog_GetPrintDC(*args
, **kwargs
)
3975 def ShowModal(*args
, **kwargs
):
3976 """ShowModal(self) -> int"""
3977 return _windows_
.PrintDialog_ShowModal(*args
, **kwargs
)
3980 class PrintDialogPtr(PrintDialog
):
3981 def __init__(self
, this
):
3983 if not hasattr(self
,"thisown"): self
.thisown
= 0
3984 self
.__class
__ = PrintDialog
3985 _windows_
.PrintDialog_swigregister(PrintDialogPtr
)
3987 PRINTER_NO_ERROR
= _windows_
.PRINTER_NO_ERROR
3988 PRINTER_CANCELLED
= _windows_
.PRINTER_CANCELLED
3989 PRINTER_ERROR
= _windows_
.PRINTER_ERROR
3990 class Printer(_core
.Object
):
3992 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3993 def __init__(self
, *args
, **kwargs
):
3994 """__init__(self, PrintDialogData data=None) -> Printer"""
3995 newobj
= _windows_
.new_Printer(*args
, **kwargs
)
3996 self
.this
= newobj
.this
3999 def __del__(self
, destroy
=_windows_
.delete_Printer
):
4002 if self
.thisown
: destroy(self
)
4005 def CreateAbortWindow(*args
, **kwargs
):
4006 """CreateAbortWindow(self, Window parent, Printout printout)"""
4007 return _windows_
.Printer_CreateAbortWindow(*args
, **kwargs
)
4009 def GetPrintDialogData(*args
, **kwargs
):
4010 """GetPrintDialogData(self) -> PrintDialogData"""
4011 return _windows_
.Printer_GetPrintDialogData(*args
, **kwargs
)
4013 def Print(*args
, **kwargs
):
4014 """Print(self, Window parent, Printout printout, int prompt=True) -> bool"""
4015 return _windows_
.Printer_Print(*args
, **kwargs
)
4017 def PrintDialog(*args
, **kwargs
):
4018 """PrintDialog(self, Window parent) -> DC"""
4019 return _windows_
.Printer_PrintDialog(*args
, **kwargs
)
4021 def ReportError(*args
, **kwargs
):
4022 """ReportError(self, Window parent, Printout printout, String message)"""
4023 return _windows_
.Printer_ReportError(*args
, **kwargs
)
4025 def Setup(*args
, **kwargs
):
4026 """Setup(self, Window parent) -> bool"""
4027 return _windows_
.Printer_Setup(*args
, **kwargs
)
4029 def GetAbort(*args
, **kwargs
):
4030 """GetAbort(self) -> bool"""
4031 return _windows_
.Printer_GetAbort(*args
, **kwargs
)
4033 def GetLastError(*args
, **kwargs
):
4034 """Printer.GetLastError() -> int"""
4035 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4037 GetLastError
= staticmethod(GetLastError
)
4039 class PrinterPtr(Printer
):
4040 def __init__(self
, this
):
4042 if not hasattr(self
,"thisown"): self
.thisown
= 0
4043 self
.__class
__ = Printer
4044 _windows_
.Printer_swigregister(PrinterPtr
)
4046 def Printer_GetLastError(*args
, **kwargs
):
4047 """Printer_GetLastError() -> int"""
4048 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4050 class Printout(_core
.Object
):
4052 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4053 def __init__(self
, *args
, **kwargs
):
4054 """__init__(self, String title=PrintoutTitleStr) -> Printout"""
4055 newobj
= _windows_
.new_Printout(*args
, **kwargs
)
4056 self
.this
= newobj
.this
4059 self
._setCallbackInfo
(self
, Printout
)
4061 def _setCallbackInfo(*args
, **kwargs
):
4062 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4063 return _windows_
.Printout__setCallbackInfo(*args
, **kwargs
)
4065 def GetTitle(*args
, **kwargs
):
4066 """GetTitle(self) -> String"""
4067 return _windows_
.Printout_GetTitle(*args
, **kwargs
)
4069 def GetDC(*args
, **kwargs
):
4070 """GetDC(self) -> DC"""
4071 return _windows_
.Printout_GetDC(*args
, **kwargs
)
4073 def SetDC(*args
, **kwargs
):
4074 """SetDC(self, DC dc)"""
4075 return _windows_
.Printout_SetDC(*args
, **kwargs
)
4077 def SetPageSizePixels(*args
, **kwargs
):
4078 """SetPageSizePixels(self, int w, int h)"""
4079 return _windows_
.Printout_SetPageSizePixels(*args
, **kwargs
)
4081 def GetPageSizePixels(*args
, **kwargs
):
4082 """GetPageSizePixels() -> (w, h)"""
4083 return _windows_
.Printout_GetPageSizePixels(*args
, **kwargs
)
4085 def SetPageSizeMM(*args
, **kwargs
):
4086 """SetPageSizeMM(self, int w, int h)"""
4087 return _windows_
.Printout_SetPageSizeMM(*args
, **kwargs
)
4089 def GetPageSizeMM(*args
, **kwargs
):
4090 """GetPageSizeMM() -> (w, h)"""
4091 return _windows_
.Printout_GetPageSizeMM(*args
, **kwargs
)
4093 def SetPPIScreen(*args
, **kwargs
):
4094 """SetPPIScreen(self, int x, int y)"""
4095 return _windows_
.Printout_SetPPIScreen(*args
, **kwargs
)
4097 def GetPPIScreen(*args
, **kwargs
):
4098 """GetPPIScreen() -> (x,y)"""
4099 return _windows_
.Printout_GetPPIScreen(*args
, **kwargs
)
4101 def SetPPIPrinter(*args
, **kwargs
):
4102 """SetPPIPrinter(self, int x, int y)"""
4103 return _windows_
.Printout_SetPPIPrinter(*args
, **kwargs
)
4105 def GetPPIPrinter(*args
, **kwargs
):
4106 """GetPPIPrinter() -> (x,y)"""
4107 return _windows_
.Printout_GetPPIPrinter(*args
, **kwargs
)
4109 def IsPreview(*args
, **kwargs
):
4110 """IsPreview(self) -> bool"""
4111 return _windows_
.Printout_IsPreview(*args
, **kwargs
)
4113 def SetIsPreview(*args
, **kwargs
):
4114 """SetIsPreview(self, bool p)"""
4115 return _windows_
.Printout_SetIsPreview(*args
, **kwargs
)
4117 def base_OnBeginDocument(*args
, **kwargs
):
4118 """base_OnBeginDocument(self, int startPage, int endPage) -> bool"""
4119 return _windows_
.Printout_base_OnBeginDocument(*args
, **kwargs
)
4121 def base_OnEndDocument(*args
, **kwargs
):
4122 """base_OnEndDocument(self)"""
4123 return _windows_
.Printout_base_OnEndDocument(*args
, **kwargs
)
4125 def base_OnBeginPrinting(*args
, **kwargs
):
4126 """base_OnBeginPrinting(self)"""
4127 return _windows_
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
4129 def base_OnEndPrinting(*args
, **kwargs
):
4130 """base_OnEndPrinting(self)"""
4131 return _windows_
.Printout_base_OnEndPrinting(*args
, **kwargs
)
4133 def base_OnPreparePrinting(*args
, **kwargs
):
4134 """base_OnPreparePrinting(self)"""
4135 return _windows_
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
4137 def base_HasPage(*args
, **kwargs
):
4138 """base_HasPage(self, int page) -> bool"""
4139 return _windows_
.Printout_base_HasPage(*args
, **kwargs
)
4141 def base_GetPageInfo(*args
, **kwargs
):
4142 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
4143 return _windows_
.Printout_base_GetPageInfo(*args
, **kwargs
)
4146 class PrintoutPtr(Printout
):
4147 def __init__(self
, this
):
4149 if not hasattr(self
,"thisown"): self
.thisown
= 0
4150 self
.__class
__ = Printout
4151 _windows_
.Printout_swigregister(PrintoutPtr
)
4153 class PreviewCanvas(ScrolledWindow
):
4155 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4156 def __init__(self
, *args
, **kwargs
):
4158 __init__(self, PrintPreview preview, Window parent, Point pos=DefaultPosition,
4159 Size size=DefaultSize, long style=0,
4160 String name=PreviewCanvasNameStr) -> PreviewCanvas
4162 newobj
= _windows_
.new_PreviewCanvas(*args
, **kwargs
)
4163 self
.this
= newobj
.this
4166 self
._setOORInfo
(self
)
4169 class PreviewCanvasPtr(PreviewCanvas
):
4170 def __init__(self
, this
):
4172 if not hasattr(self
,"thisown"): self
.thisown
= 0
4173 self
.__class
__ = PreviewCanvas
4174 _windows_
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
4176 class PreviewFrame(Frame
):
4178 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4179 def __init__(self
, *args
, **kwargs
):
4181 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4182 Size size=DefaultSize,
4183 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
4185 newobj
= _windows_
.new_PreviewFrame(*args
, **kwargs
)
4186 self
.this
= newobj
.this
4189 self
._setOORInfo
(self
)
4191 def Initialize(*args
, **kwargs
):
4192 """Initialize(self)"""
4193 return _windows_
.PreviewFrame_Initialize(*args
, **kwargs
)
4195 def CreateControlBar(*args
, **kwargs
):
4196 """CreateControlBar(self)"""
4197 return _windows_
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
4199 def CreateCanvas(*args
, **kwargs
):
4200 """CreateCanvas(self)"""
4201 return _windows_
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
4203 def GetControlBar(*args
, **kwargs
):
4204 """GetControlBar(self) -> PreviewControlBar"""
4205 return _windows_
.PreviewFrame_GetControlBar(*args
, **kwargs
)
4208 class PreviewFramePtr(PreviewFrame
):
4209 def __init__(self
, this
):
4211 if not hasattr(self
,"thisown"): self
.thisown
= 0
4212 self
.__class
__ = PreviewFrame
4213 _windows_
.PreviewFrame_swigregister(PreviewFramePtr
)
4215 PREVIEW_PRINT
= _windows_
.PREVIEW_PRINT
4216 PREVIEW_PREVIOUS
= _windows_
.PREVIEW_PREVIOUS
4217 PREVIEW_NEXT
= _windows_
.PREVIEW_NEXT
4218 PREVIEW_ZOOM
= _windows_
.PREVIEW_ZOOM
4219 PREVIEW_FIRST
= _windows_
.PREVIEW_FIRST
4220 PREVIEW_LAST
= _windows_
.PREVIEW_LAST
4221 PREVIEW_GOTO
= _windows_
.PREVIEW_GOTO
4222 PREVIEW_DEFAULT
= _windows_
.PREVIEW_DEFAULT
4223 ID_PREVIEW_CLOSE
= _windows_
.ID_PREVIEW_CLOSE
4224 ID_PREVIEW_NEXT
= _windows_
.ID_PREVIEW_NEXT
4225 ID_PREVIEW_PREVIOUS
= _windows_
.ID_PREVIEW_PREVIOUS
4226 ID_PREVIEW_PRINT
= _windows_
.ID_PREVIEW_PRINT
4227 ID_PREVIEW_ZOOM
= _windows_
.ID_PREVIEW_ZOOM
4228 ID_PREVIEW_FIRST
= _windows_
.ID_PREVIEW_FIRST
4229 ID_PREVIEW_LAST
= _windows_
.ID_PREVIEW_LAST
4230 ID_PREVIEW_GOTO
= _windows_
.ID_PREVIEW_GOTO
4231 class PreviewControlBar(Panel
):
4233 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4234 def __init__(self
, *args
, **kwargs
):
4236 __init__(self, PrintPreview preview, long buttons, Window parent,
4237 Point pos=DefaultPosition, Size size=DefaultSize,
4238 long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
4240 newobj
= _windows_
.new_PreviewControlBar(*args
, **kwargs
)
4241 self
.this
= newobj
.this
4244 self
._setOORInfo
(self
)
4246 def GetZoomControl(*args
, **kwargs
):
4247 """GetZoomControl(self) -> int"""
4248 return _windows_
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
4250 def SetZoomControl(*args
, **kwargs
):
4251 """SetZoomControl(self, int zoom)"""
4252 return _windows_
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
4254 def GetPrintPreview(*args
, **kwargs
):
4255 """GetPrintPreview(self) -> PrintPreview"""
4256 return _windows_
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
4258 def OnNext(*args
, **kwargs
):
4260 return _windows_
.PreviewControlBar_OnNext(*args
, **kwargs
)
4262 def OnPrevious(*args
, **kwargs
):
4263 """OnPrevious(self)"""
4264 return _windows_
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
4266 def OnFirst(*args
, **kwargs
):
4268 return _windows_
.PreviewControlBar_OnFirst(*args
, **kwargs
)
4270 def OnLast(*args
, **kwargs
):
4272 return _windows_
.PreviewControlBar_OnLast(*args
, **kwargs
)
4274 def OnGoto(*args
, **kwargs
):
4276 return _windows_
.PreviewControlBar_OnGoto(*args
, **kwargs
)
4279 class PreviewControlBarPtr(PreviewControlBar
):
4280 def __init__(self
, this
):
4282 if not hasattr(self
,"thisown"): self
.thisown
= 0
4283 self
.__class
__ = PreviewControlBar
4284 _windows_
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
4286 class PrintPreview(_core
.Object
):
4288 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4289 def __init__(self
, *args
):
4291 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview
4292 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview
4294 newobj
= _windows_
.new_PrintPreview(*args
)
4295 self
.this
= newobj
.this
4298 def SetCurrentPage(*args
, **kwargs
):
4299 """SetCurrentPage(self, int pageNum) -> bool"""
4300 return _windows_
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
4302 def GetCurrentPage(*args
, **kwargs
):
4303 """GetCurrentPage(self) -> int"""
4304 return _windows_
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
4306 def SetPrintout(*args
, **kwargs
):
4307 """SetPrintout(self, Printout printout)"""
4308 return _windows_
.PrintPreview_SetPrintout(*args
, **kwargs
)
4310 def GetPrintout(*args
, **kwargs
):
4311 """GetPrintout(self) -> Printout"""
4312 return _windows_
.PrintPreview_GetPrintout(*args
, **kwargs
)
4314 def GetPrintoutForPrinting(*args
, **kwargs
):
4315 """GetPrintoutForPrinting(self) -> Printout"""
4316 return _windows_
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
4318 def SetFrame(*args
, **kwargs
):
4319 """SetFrame(self, Frame frame)"""
4320 return _windows_
.PrintPreview_SetFrame(*args
, **kwargs
)
4322 def SetCanvas(*args
, **kwargs
):
4323 """SetCanvas(self, PreviewCanvas canvas)"""
4324 return _windows_
.PrintPreview_SetCanvas(*args
, **kwargs
)
4326 def GetFrame(*args
, **kwargs
):
4327 """GetFrame(self) -> Frame"""
4328 return _windows_
.PrintPreview_GetFrame(*args
, **kwargs
)
4330 def GetCanvas(*args
, **kwargs
):
4331 """GetCanvas(self) -> PreviewCanvas"""
4332 return _windows_
.PrintPreview_GetCanvas(*args
, **kwargs
)
4334 def PaintPage(*args
, **kwargs
):
4335 """PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4336 return _windows_
.PrintPreview_PaintPage(*args
, **kwargs
)
4338 def DrawBlankPage(*args
, **kwargs
):
4339 """DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4340 return _windows_
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
4342 def RenderPage(*args
, **kwargs
):
4343 """RenderPage(self, int pageNum) -> bool"""
4344 return _windows_
.PrintPreview_RenderPage(*args
, **kwargs
)
4346 def AdjustScrollbars(*args
, **kwargs
):
4347 """AdjustScrollbars(self, PreviewCanvas canvas)"""
4348 return _windows_
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
4350 def GetPrintDialogData(*args
, **kwargs
):
4351 """GetPrintDialogData(self) -> PrintDialogData"""
4352 return _windows_
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
4354 def SetZoom(*args
, **kwargs
):
4355 """SetZoom(self, int percent)"""
4356 return _windows_
.PrintPreview_SetZoom(*args
, **kwargs
)
4358 def GetZoom(*args
, **kwargs
):
4359 """GetZoom(self) -> int"""
4360 return _windows_
.PrintPreview_GetZoom(*args
, **kwargs
)
4362 def GetMaxPage(*args
, **kwargs
):
4363 """GetMaxPage(self) -> int"""
4364 return _windows_
.PrintPreview_GetMaxPage(*args
, **kwargs
)
4366 def GetMinPage(*args
, **kwargs
):
4367 """GetMinPage(self) -> int"""
4368 return _windows_
.PrintPreview_GetMinPage(*args
, **kwargs
)
4370 def Ok(*args
, **kwargs
):
4371 """Ok(self) -> bool"""
4372 return _windows_
.PrintPreview_Ok(*args
, **kwargs
)
4374 def SetOk(*args
, **kwargs
):
4375 """SetOk(self, bool ok)"""
4376 return _windows_
.PrintPreview_SetOk(*args
, **kwargs
)
4378 def Print(*args
, **kwargs
):
4379 """Print(self, bool interactive) -> bool"""
4380 return _windows_
.PrintPreview_Print(*args
, **kwargs
)
4382 def DetermineScaling(*args
, **kwargs
):
4383 """DetermineScaling(self)"""
4384 return _windows_
.PrintPreview_DetermineScaling(*args
, **kwargs
)
4386 def __nonzero__(self
): return self
.Ok()
4388 class PrintPreviewPtr(PrintPreview
):
4389 def __init__(self
, this
):
4391 if not hasattr(self
,"thisown"): self
.thisown
= 0
4392 self
.__class
__ = PrintPreview
4393 _windows_
.PrintPreview_swigregister(PrintPreviewPtr
)
4395 class PyPrintPreview(PrintPreview
):
4397 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4398 def __init__(self
, *args
):
4400 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview
4401 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview
4403 newobj
= _windows_
.new_PyPrintPreview(*args
)
4404 self
.this
= newobj
.this
4407 self
._setCallbackInfo
(self
, PyPrintPreview
)
4409 def _setCallbackInfo(*args
, **kwargs
):
4410 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4411 return _windows_
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
4413 def base_SetCurrentPage(*args
, **kwargs
):
4414 """base_SetCurrentPage(self, int pageNum) -> bool"""
4415 return _windows_
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
4417 def base_PaintPage(*args
, **kwargs
):
4418 """base_PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4419 return _windows_
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
4421 def base_DrawBlankPage(*args
, **kwargs
):
4422 """base_DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4423 return _windows_
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
4425 def base_RenderPage(*args
, **kwargs
):
4426 """base_RenderPage(self, int pageNum) -> bool"""
4427 return _windows_
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
4429 def base_SetZoom(*args
, **kwargs
):
4430 """base_SetZoom(self, int percent)"""
4431 return _windows_
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
4433 def base_Print(*args
, **kwargs
):
4434 """base_Print(self, bool interactive) -> bool"""
4435 return _windows_
.PyPrintPreview_base_Print(*args
, **kwargs
)
4437 def base_DetermineScaling(*args
, **kwargs
):
4438 """base_DetermineScaling(self)"""
4439 return _windows_
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
4442 class PyPrintPreviewPtr(PyPrintPreview
):
4443 def __init__(self
, this
):
4445 if not hasattr(self
,"thisown"): self
.thisown
= 0
4446 self
.__class
__ = PyPrintPreview
4447 _windows_
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
4449 class PyPreviewFrame(PreviewFrame
):
4451 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4452 def __init__(self
, *args
, **kwargs
):
4454 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4455 Size size=DefaultSize,
4456 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
4458 newobj
= _windows_
.new_PyPreviewFrame(*args
, **kwargs
)
4459 self
.this
= newobj
.this
4462 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
4464 def _setCallbackInfo(*args
, **kwargs
):
4465 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4466 return _windows_
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
4468 def SetPreviewCanvas(*args
, **kwargs
):
4469 """SetPreviewCanvas(self, PreviewCanvas canvas)"""
4470 return _windows_
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
4472 def SetControlBar(*args
, **kwargs
):
4473 """SetControlBar(self, PreviewControlBar bar)"""
4474 return _windows_
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
4476 def base_Initialize(*args
, **kwargs
):
4477 """base_Initialize(self)"""
4478 return _windows_
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
4480 def base_CreateCanvas(*args
, **kwargs
):
4481 """base_CreateCanvas(self)"""
4482 return _windows_
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
4484 def base_CreateControlBar(*args
, **kwargs
):
4485 """base_CreateControlBar(self)"""
4486 return _windows_
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
4489 class PyPreviewFramePtr(PyPreviewFrame
):
4490 def __init__(self
, this
):
4492 if not hasattr(self
,"thisown"): self
.thisown
= 0
4493 self
.__class
__ = PyPreviewFrame
4494 _windows_
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
4496 class PyPreviewControlBar(PreviewControlBar
):
4498 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4499 def __init__(self
, *args
, **kwargs
):
4501 __init__(self, PrintPreview preview, long buttons, Window parent,
4502 Point pos=DefaultPosition, Size size=DefaultSize,
4503 long style=0, String name=PanelNameStr) -> PyPreviewControlBar
4505 newobj
= _windows_
.new_PyPreviewControlBar(*args
, **kwargs
)
4506 self
.this
= newobj
.this
4509 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
4511 def _setCallbackInfo(*args
, **kwargs
):
4512 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4513 return _windows_
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
4515 def SetPrintPreview(*args
, **kwargs
):
4516 """SetPrintPreview(self, PrintPreview preview)"""
4517 return _windows_
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
4519 def base_CreateButtons(*args
, **kwargs
):
4520 """base_CreateButtons(self)"""
4521 return _windows_
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
4523 def base_SetZoomControl(*args
, **kwargs
):
4524 """base_SetZoomControl(self, int zoom)"""
4525 return _windows_
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
4528 class PyPreviewControlBarPtr(PyPreviewControlBar
):
4529 def __init__(self
, this
):
4531 if not hasattr(self
,"thisown"): self
.thisown
= 0
4532 self
.__class
__ = PyPreviewControlBar
4533 _windows_
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)