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
)
175 def SetTargetRect(*args
, **kwargs
):
176 """SetTargetRect(self, Rect rect)"""
177 return _windows_
.ScrolledWindow_SetTargetRect(*args
, **kwargs
)
179 def GetTargetRect(*args
, **kwargs
):
180 """GetTargetRect(self) -> Rect"""
181 return _windows_
.ScrolledWindow_GetTargetRect(*args
, **kwargs
)
184 class ScrolledWindowPtr(ScrolledWindow
):
185 def __init__(self
, this
):
187 if not hasattr(self
,"thisown"): self
.thisown
= 0
188 self
.__class
__ = ScrolledWindow
189 _windows_
.ScrolledWindow_swigregister(ScrolledWindowPtr
)
191 def PreScrolledWindow(*args
, **kwargs
):
192 """PreScrolledWindow() -> ScrolledWindow"""
193 val
= _windows_
.new_PreScrolledWindow(*args
, **kwargs
)
197 #---------------------------------------------------------------------------
199 STAY_ON_TOP
= _windows_
.STAY_ON_TOP
200 ICONIZE
= _windows_
.ICONIZE
201 MINIMIZE
= _windows_
.MINIMIZE
202 MAXIMIZE
= _windows_
.MAXIMIZE
203 CLOSE_BOX
= _windows_
.CLOSE_BOX
204 THICK_FRAME
= _windows_
.THICK_FRAME
205 SYSTEM_MENU
= _windows_
.SYSTEM_MENU
206 MINIMIZE_BOX
= _windows_
.MINIMIZE_BOX
207 MAXIMIZE_BOX
= _windows_
.MAXIMIZE_BOX
208 TINY_CAPTION_HORIZ
= _windows_
.TINY_CAPTION_HORIZ
209 TINY_CAPTION_VERT
= _windows_
.TINY_CAPTION_VERT
210 RESIZE_BOX
= _windows_
.RESIZE_BOX
211 RESIZE_BORDER
= _windows_
.RESIZE_BORDER
212 DIALOG_NO_PARENT
= _windows_
.DIALOG_NO_PARENT
213 DEFAULT_FRAME_STYLE
= _windows_
.DEFAULT_FRAME_STYLE
214 DEFAULT_DIALOG_STYLE
= _windows_
.DEFAULT_DIALOG_STYLE
215 FRAME_TOOL_WINDOW
= _windows_
.FRAME_TOOL_WINDOW
216 FRAME_FLOAT_ON_PARENT
= _windows_
.FRAME_FLOAT_ON_PARENT
217 FRAME_NO_WINDOW_MENU
= _windows_
.FRAME_NO_WINDOW_MENU
218 FRAME_NO_TASKBAR
= _windows_
.FRAME_NO_TASKBAR
219 FRAME_SHAPED
= _windows_
.FRAME_SHAPED
220 DIALOG_MODAL
= _windows_
.DIALOG_MODAL
221 DIALOG_MODELESS
= _windows_
.DIALOG_MODELESS
222 USER_COLOURS
= _windows_
.USER_COLOURS
223 NO_3D
= _windows_
.NO_3D
224 FULLSCREEN_NOMENUBAR
= _windows_
.FULLSCREEN_NOMENUBAR
225 FULLSCREEN_NOTOOLBAR
= _windows_
.FULLSCREEN_NOTOOLBAR
226 FULLSCREEN_NOSTATUSBAR
= _windows_
.FULLSCREEN_NOSTATUSBAR
227 FULLSCREEN_NOBORDER
= _windows_
.FULLSCREEN_NOBORDER
228 FULLSCREEN_NOCAPTION
= _windows_
.FULLSCREEN_NOCAPTION
229 FULLSCREEN_ALL
= _windows_
.FULLSCREEN_ALL
230 TOPLEVEL_EX_DIALOG
= _windows_
.TOPLEVEL_EX_DIALOG
231 class TopLevelWindow(_core
.Window
):
232 def __init__(self
): raise RuntimeError, "No constructor defined"
234 return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
235 def Maximize(*args
, **kwargs
):
236 """Maximize(self, bool maximize=True)"""
237 return _windows_
.TopLevelWindow_Maximize(*args
, **kwargs
)
239 def Restore(*args
, **kwargs
):
241 return _windows_
.TopLevelWindow_Restore(*args
, **kwargs
)
243 def Iconize(*args
, **kwargs
):
244 """Iconize(self, bool iconize=True)"""
245 return _windows_
.TopLevelWindow_Iconize(*args
, **kwargs
)
247 def IsMaximized(*args
, **kwargs
):
248 """IsMaximized(self) -> bool"""
249 return _windows_
.TopLevelWindow_IsMaximized(*args
, **kwargs
)
251 def IsIconized(*args
, **kwargs
):
252 """IsIconized(self) -> bool"""
253 return _windows_
.TopLevelWindow_IsIconized(*args
, **kwargs
)
255 def GetIcon(*args
, **kwargs
):
256 """GetIcon(self) -> Icon"""
257 return _windows_
.TopLevelWindow_GetIcon(*args
, **kwargs
)
259 def SetIcon(*args
, **kwargs
):
260 """SetIcon(self, Icon icon)"""
261 return _windows_
.TopLevelWindow_SetIcon(*args
, **kwargs
)
263 def SetIcons(*args
, **kwargs
):
264 """SetIcons(self, wxIconBundle icons)"""
265 return _windows_
.TopLevelWindow_SetIcons(*args
, **kwargs
)
267 def ShowFullScreen(*args
, **kwargs
):
268 """ShowFullScreen(self, bool show, long style=FULLSCREEN_ALL) -> bool"""
269 return _windows_
.TopLevelWindow_ShowFullScreen(*args
, **kwargs
)
271 def IsFullScreen(*args
, **kwargs
):
272 """IsFullScreen(self) -> bool"""
273 return _windows_
.TopLevelWindow_IsFullScreen(*args
, **kwargs
)
275 def SetTitle(*args
, **kwargs
):
277 SetTitle(self, String title)
279 Sets the window's title. Applicable only to frames and dialogs.
281 return _windows_
.TopLevelWindow_SetTitle(*args
, **kwargs
)
283 def GetTitle(*args
, **kwargs
):
285 GetTitle(self) -> String
287 Gets the window's title. Applicable only to frames and dialogs.
289 return _windows_
.TopLevelWindow_GetTitle(*args
, **kwargs
)
291 def SetShape(*args
, **kwargs
):
292 """SetShape(self, Region region) -> bool"""
293 return _windows_
.TopLevelWindow_SetShape(*args
, **kwargs
)
296 class TopLevelWindowPtr(TopLevelWindow
):
297 def __init__(self
, this
):
299 if not hasattr(self
,"thisown"): self
.thisown
= 0
300 self
.__class
__ = TopLevelWindow
301 _windows_
.TopLevelWindow_swigregister(TopLevelWindowPtr
)
302 cvar
= _windows_
.cvar
303 FrameNameStr
= cvar
.FrameNameStr
304 DialogNameStr
= cvar
.DialogNameStr
305 StatusLineNameStr
= cvar
.StatusLineNameStr
306 ToolBarNameStr
= cvar
.ToolBarNameStr
308 #---------------------------------------------------------------------------
310 class Frame(TopLevelWindow
):
312 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
313 def __init__(self
, *args
, **kwargs
):
315 __init__(self, Window parent, int id, String title, Point pos=DefaultPosition,
316 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
317 String name=FrameNameStr) -> Frame
319 newobj
= _windows_
.new_Frame(*args
, **kwargs
)
320 self
.this
= newobj
.this
323 self
._setOORInfo
(self
)
325 def Create(*args
, **kwargs
):
327 Create(self, Window parent, int id, String title, Point pos=DefaultPosition,
328 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
329 String name=FrameNameStr) -> bool
331 return _windows_
.Frame_Create(*args
, **kwargs
)
333 def GetClientAreaOrigin(*args
, **kwargs
):
335 GetClientAreaOrigin(self) -> Point
337 Get the origin of the client area of the window relative to the
338 window's top left corner (the client area may be shifted because of
339 the borders, scrollbars, other decorations...)
341 return _windows_
.Frame_GetClientAreaOrigin(*args
, **kwargs
)
343 def SendSizeEvent(*args
, **kwargs
):
344 """SendSizeEvent(self)"""
345 return _windows_
.Frame_SendSizeEvent(*args
, **kwargs
)
347 def SetMenuBar(*args
, **kwargs
):
348 """SetMenuBar(self, MenuBar menubar)"""
349 return _windows_
.Frame_SetMenuBar(*args
, **kwargs
)
351 def GetMenuBar(*args
, **kwargs
):
352 """GetMenuBar(self) -> MenuBar"""
353 return _windows_
.Frame_GetMenuBar(*args
, **kwargs
)
355 def ProcessCommand(*args
, **kwargs
):
356 """ProcessCommand(self, int winid) -> bool"""
357 return _windows_
.Frame_ProcessCommand(*args
, **kwargs
)
359 Command
= ProcessCommand
360 def CreateStatusBar(*args
, **kwargs
):
362 CreateStatusBar(self, int number=1, long style=ST_SIZEGRIP, int winid=0,
363 String name=StatusLineNameStr) -> StatusBar
365 return _windows_
.Frame_CreateStatusBar(*args
, **kwargs
)
367 def GetStatusBar(*args
, **kwargs
):
368 """GetStatusBar(self) -> StatusBar"""
369 return _windows_
.Frame_GetStatusBar(*args
, **kwargs
)
371 def SetStatusBar(*args
, **kwargs
):
372 """SetStatusBar(self, StatusBar statBar)"""
373 return _windows_
.Frame_SetStatusBar(*args
, **kwargs
)
375 def SetStatusText(*args
, **kwargs
):
376 """SetStatusText(self, String text, int number=0)"""
377 return _windows_
.Frame_SetStatusText(*args
, **kwargs
)
379 def SetStatusWidths(*args
, **kwargs
):
380 """SetStatusWidths(self, int widths, int widths_field)"""
381 return _windows_
.Frame_SetStatusWidths(*args
, **kwargs
)
383 def PushStatusText(*args
, **kwargs
):
384 """PushStatusText(self, String text, int number=0)"""
385 return _windows_
.Frame_PushStatusText(*args
, **kwargs
)
387 def PopStatusText(*args
, **kwargs
):
388 """PopStatusText(self, int number=0)"""
389 return _windows_
.Frame_PopStatusText(*args
, **kwargs
)
391 def SetStatusBarPane(*args
, **kwargs
):
392 """SetStatusBarPane(self, int n)"""
393 return _windows_
.Frame_SetStatusBarPane(*args
, **kwargs
)
395 def GetStatusBarPane(*args
, **kwargs
):
396 """GetStatusBarPane(self) -> int"""
397 return _windows_
.Frame_GetStatusBarPane(*args
, **kwargs
)
399 def CreateToolBar(*args
, **kwargs
):
400 """CreateToolBar(self, long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar"""
401 return _windows_
.Frame_CreateToolBar(*args
, **kwargs
)
403 def GetToolBar(*args
, **kwargs
):
404 """GetToolBar(self) -> wxToolBar"""
405 return _windows_
.Frame_GetToolBar(*args
, **kwargs
)
407 def SetToolBar(*args
, **kwargs
):
408 """SetToolBar(self, wxToolBar toolbar)"""
409 return _windows_
.Frame_SetToolBar(*args
, **kwargs
)
411 def DoGiveHelp(*args
, **kwargs
):
412 """DoGiveHelp(self, String text, bool show)"""
413 return _windows_
.Frame_DoGiveHelp(*args
, **kwargs
)
415 def DoMenuUpdates(*args
, **kwargs
):
416 """DoMenuUpdates(self, Menu menu=None)"""
417 return _windows_
.Frame_DoMenuUpdates(*args
, **kwargs
)
420 class FramePtr(Frame
):
421 def __init__(self
, this
):
423 if not hasattr(self
,"thisown"): self
.thisown
= 0
424 self
.__class
__ = Frame
425 _windows_
.Frame_swigregister(FramePtr
)
427 def PreFrame(*args
, **kwargs
):
428 """PreFrame() -> Frame"""
429 val
= _windows_
.new_PreFrame(*args
, **kwargs
)
433 #---------------------------------------------------------------------------
435 class Dialog(TopLevelWindow
):
437 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
438 def __init__(self
, *args
, **kwargs
):
440 __init__(self, Window parent, int id, String title, Point pos=DefaultPosition,
441 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
442 String name=DialogNameStr) -> Dialog
444 newobj
= _windows_
.new_Dialog(*args
, **kwargs
)
445 self
.this
= newobj
.this
448 self
._setOORInfo
(self
)
450 def Create(*args
, **kwargs
):
452 Create(self, Window parent, int id, String title, Point pos=DefaultPosition,
453 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
454 String name=DialogNameStr) -> bool
456 return _windows_
.Dialog_Create(*args
, **kwargs
)
458 def SetReturnCode(*args
, **kwargs
):
459 """SetReturnCode(self, int returnCode)"""
460 return _windows_
.Dialog_SetReturnCode(*args
, **kwargs
)
462 def GetReturnCode(*args
, **kwargs
):
463 """GetReturnCode(self) -> int"""
464 return _windows_
.Dialog_GetReturnCode(*args
, **kwargs
)
466 def CreateTextSizer(*args
, **kwargs
):
467 """CreateTextSizer(self, String message) -> Sizer"""
468 return _windows_
.Dialog_CreateTextSizer(*args
, **kwargs
)
470 def CreateButtonSizer(*args
, **kwargs
):
471 """CreateButtonSizer(self, long flags) -> Sizer"""
472 return _windows_
.Dialog_CreateButtonSizer(*args
, **kwargs
)
474 def IsModal(*args
, **kwargs
):
475 """IsModal(self) -> bool"""
476 return _windows_
.Dialog_IsModal(*args
, **kwargs
)
478 def ShowModal(*args
, **kwargs
):
479 """ShowModal(self) -> int"""
480 return _windows_
.Dialog_ShowModal(*args
, **kwargs
)
482 def EndModal(*args
, **kwargs
):
483 """EndModal(self, int retCode)"""
484 return _windows_
.Dialog_EndModal(*args
, **kwargs
)
487 class DialogPtr(Dialog
):
488 def __init__(self
, this
):
490 if not hasattr(self
,"thisown"): self
.thisown
= 0
491 self
.__class
__ = Dialog
492 _windows_
.Dialog_swigregister(DialogPtr
)
494 def PreDialog(*args
, **kwargs
):
495 """PreDialog() -> Dialog"""
496 val
= _windows_
.new_PreDialog(*args
, **kwargs
)
500 #---------------------------------------------------------------------------
502 class MiniFrame(Frame
):
504 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
505 def __init__(self
, *args
, **kwargs
):
507 __init__(self, Window parent, int id, String title, Point pos=DefaultPosition,
508 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
509 String name=FrameNameStr) -> MiniFrame
511 newobj
= _windows_
.new_MiniFrame(*args
, **kwargs
)
512 self
.this
= newobj
.this
515 self
._setOORInfo
(self
)
517 def Create(*args
, **kwargs
):
519 Create(self, Window parent, int id, String title, Point pos=DefaultPosition,
520 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
521 String name=FrameNameStr) -> bool
523 return _windows_
.MiniFrame_Create(*args
, **kwargs
)
526 class MiniFramePtr(MiniFrame
):
527 def __init__(self
, this
):
529 if not hasattr(self
,"thisown"): self
.thisown
= 0
530 self
.__class
__ = MiniFrame
531 _windows_
.MiniFrame_swigregister(MiniFramePtr
)
533 def PreMiniFrame(*args
, **kwargs
):
534 """PreMiniFrame() -> MiniFrame"""
535 val
= _windows_
.new_PreMiniFrame(*args
, **kwargs
)
539 #---------------------------------------------------------------------------
541 SPLASH_CENTRE_ON_PARENT
= _windows_
.SPLASH_CENTRE_ON_PARENT
542 SPLASH_CENTRE_ON_SCREEN
= _windows_
.SPLASH_CENTRE_ON_SCREEN
543 SPLASH_NO_CENTRE
= _windows_
.SPLASH_NO_CENTRE
544 SPLASH_TIMEOUT
= _windows_
.SPLASH_TIMEOUT
545 SPLASH_NO_TIMEOUT
= _windows_
.SPLASH_NO_TIMEOUT
546 class SplashScreenWindow(_core
.Window
):
548 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
549 def __init__(self
, *args
, **kwargs
):
551 __init__(self, Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
552 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
554 newobj
= _windows_
.new_SplashScreenWindow(*args
, **kwargs
)
555 self
.this
= newobj
.this
558 self
._setOORInfo
(self
)
560 def SetBitmap(*args
, **kwargs
):
561 """SetBitmap(self, Bitmap bitmap)"""
562 return _windows_
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
564 def GetBitmap(*args
, **kwargs
):
565 """GetBitmap(self) -> Bitmap"""
566 return _windows_
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
569 class SplashScreenWindowPtr(SplashScreenWindow
):
570 def __init__(self
, this
):
572 if not hasattr(self
,"thisown"): self
.thisown
= 0
573 self
.__class
__ = SplashScreenWindow
574 _windows_
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
576 class SplashScreen(Frame
):
578 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
579 def __init__(self
, *args
, **kwargs
):
581 __init__(self, Bitmap bitmap, long splashStyle, int milliseconds,
582 Window parent, int id, Point pos=DefaultPosition,
583 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
585 newobj
= _windows_
.new_SplashScreen(*args
, **kwargs
)
586 self
.this
= newobj
.this
589 self
._setOORInfo
(self
)
591 def GetSplashStyle(*args
, **kwargs
):
592 """GetSplashStyle(self) -> long"""
593 return _windows_
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
595 def GetSplashWindow(*args
, **kwargs
):
596 """GetSplashWindow(self) -> SplashScreenWindow"""
597 return _windows_
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
599 def GetTimeout(*args
, **kwargs
):
600 """GetTimeout(self) -> int"""
601 return _windows_
.SplashScreen_GetTimeout(*args
, **kwargs
)
604 class SplashScreenPtr(SplashScreen
):
605 def __init__(self
, this
):
607 if not hasattr(self
,"thisown"): self
.thisown
= 0
608 self
.__class
__ = SplashScreen
609 _windows_
.SplashScreen_swigregister(SplashScreenPtr
)
611 #---------------------------------------------------------------------------
613 class StatusBar(_core
.Window
):
615 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
616 def __init__(self
, *args
, **kwargs
):
617 """__init__(self, Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> StatusBar"""
618 newobj
= _windows_
.new_StatusBar(*args
, **kwargs
)
619 self
.this
= newobj
.this
622 self
._setOORInfo
(self
)
624 def Create(*args
, **kwargs
):
625 """Create(self, Window parent, int id, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
626 return _windows_
.StatusBar_Create(*args
, **kwargs
)
628 def SetFieldsCount(*args
, **kwargs
):
629 """SetFieldsCount(self, int number=1)"""
630 return _windows_
.StatusBar_SetFieldsCount(*args
, **kwargs
)
632 def GetFieldsCount(*args
, **kwargs
):
633 """GetFieldsCount(self) -> int"""
634 return _windows_
.StatusBar_GetFieldsCount(*args
, **kwargs
)
636 def SetStatusText(*args
, **kwargs
):
637 """SetStatusText(self, String text, int number=0)"""
638 return _windows_
.StatusBar_SetStatusText(*args
, **kwargs
)
640 def GetStatusText(*args
, **kwargs
):
641 """GetStatusText(self, int number=0) -> String"""
642 return _windows_
.StatusBar_GetStatusText(*args
, **kwargs
)
644 def PushStatusText(*args
, **kwargs
):
645 """PushStatusText(self, String text, int number=0)"""
646 return _windows_
.StatusBar_PushStatusText(*args
, **kwargs
)
648 def PopStatusText(*args
, **kwargs
):
649 """PopStatusText(self, int number=0)"""
650 return _windows_
.StatusBar_PopStatusText(*args
, **kwargs
)
652 def SetStatusWidths(*args
, **kwargs
):
653 """SetStatusWidths(self, int widths, int widths_field)"""
654 return _windows_
.StatusBar_SetStatusWidths(*args
, **kwargs
)
656 def GetFieldRect(*args
, **kwargs
):
657 """GetFieldRect(self, int i) -> Rect"""
658 return _windows_
.StatusBar_GetFieldRect(*args
, **kwargs
)
660 def SetMinHeight(*args
, **kwargs
):
661 """SetMinHeight(self, int height)"""
662 return _windows_
.StatusBar_SetMinHeight(*args
, **kwargs
)
664 def GetBorderX(*args
, **kwargs
):
665 """GetBorderX(self) -> int"""
666 return _windows_
.StatusBar_GetBorderX(*args
, **kwargs
)
668 def GetBorderY(*args
, **kwargs
):
669 """GetBorderY(self) -> int"""
670 return _windows_
.StatusBar_GetBorderY(*args
, **kwargs
)
673 class StatusBarPtr(StatusBar
):
674 def __init__(self
, this
):
676 if not hasattr(self
,"thisown"): self
.thisown
= 0
677 self
.__class
__ = StatusBar
678 _windows_
.StatusBar_swigregister(StatusBarPtr
)
680 def PreStatusBar(*args
, **kwargs
):
681 """PreStatusBar() -> StatusBar"""
682 val
= _windows_
.new_PreStatusBar(*args
, **kwargs
)
686 #---------------------------------------------------------------------------
688 SP_NOBORDER
= _windows_
.SP_NOBORDER
689 SP_NOSASH
= _windows_
.SP_NOSASH
690 SP_PERMIT_UNSPLIT
= _windows_
.SP_PERMIT_UNSPLIT
691 SP_LIVE_UPDATE
= _windows_
.SP_LIVE_UPDATE
692 SP_3DSASH
= _windows_
.SP_3DSASH
693 SP_3DBORDER
= _windows_
.SP_3DBORDER
694 SP_NO_XP_THEME
= _windows_
.SP_NO_XP_THEME
695 SP_BORDER
= _windows_
.SP_BORDER
696 SP_3D
= _windows_
.SP_3D
697 SPLIT_HORIZONTAL
= _windows_
.SPLIT_HORIZONTAL
698 SPLIT_VERTICAL
= _windows_
.SPLIT_VERTICAL
699 SPLIT_DRAG_NONE
= _windows_
.SPLIT_DRAG_NONE
700 SPLIT_DRAG_DRAGGING
= _windows_
.SPLIT_DRAG_DRAGGING
701 SPLIT_DRAG_LEFT_DOWN
= _windows_
.SPLIT_DRAG_LEFT_DOWN
702 class SplitterWindow(_core
.Window
):
704 wx.SplitterWindow manages up to two subwindows or panes,
705 with an optional vertical or horizontal split which can be
706 used with the mouse or programmatically.
710 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
711 def __init__(self
, *args
, **kwargs
):
713 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
714 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
716 Constructor. Creates and shows a SplitterWindow.
718 if kwargs
.has_key('point'): kwargs
['pos'] = kwargs
['point'];del kwargs
['point']
719 newobj
= _windows_
.new_SplitterWindow(*args
, **kwargs
)
720 self
.this
= newobj
.this
723 self
._setOORInfo
(self
)
725 def Create(*args
, **kwargs
):
727 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
728 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool
730 Create the GUI part of the SplitterWindow for the 2-phase create.
732 return _windows_
.SplitterWindow_Create(*args
, **kwargs
)
734 def GetWindow1(*args
, **kwargs
):
736 GetWindow1(self) -> Window
738 Gets the only or left/top pane.
740 return _windows_
.SplitterWindow_GetWindow1(*args
, **kwargs
)
742 def GetWindow2(*args
, **kwargs
):
744 GetWindow2(self) -> Window
746 Gets the right/bottom pane.
748 return _windows_
.SplitterWindow_GetWindow2(*args
, **kwargs
)
750 def SetSplitMode(*args
, **kwargs
):
752 SetSplitMode(self, int mode)
754 Sets the split mode. The mode can be wx.SPLIT_VERTICAL or
755 wx.SPLIT_HORIZONTAL. This only sets the internal variable;
756 does not update the display.
758 return _windows_
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
760 def GetSplitMode(*args
, **kwargs
):
762 GetSplitMode(self) -> int
766 return _windows_
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
768 def Initialize(*args
, **kwargs
):
770 Initialize(self, Window window)
772 Initializes the splitter window to have one pane. This
773 should be called if you wish to initially view only a single
774 pane in the splitter window.
776 return _windows_
.SplitterWindow_Initialize(*args
, **kwargs
)
778 def SplitVertically(*args
, **kwargs
):
780 SplitVertically(self, Window window1, Window window2, int sashPosition=0) -> bool
782 Initializes the left and right panes of the splitter window.
784 window1 The left pane.
785 window2 The right pane.
786 sashPosition The initial position of the sash. If this
787 value is positive, it specifies the size
788 of the left pane. If it is negative, it is
789 absolute value gives the size of the right
790 pane. Finally, specify 0 (default) to
791 choose the default position (half of the
794 Returns True if successful, False otherwise (the window was
797 SplitVertically should be called if you wish to initially
798 view two panes. It can also be called at any subsequent
799 time, but the application should check that the window is
800 not currently split using IsSplit.
802 return _windows_
.SplitterWindow_SplitVertically(*args
, **kwargs
)
804 def SplitHorizontally(*args
, **kwargs
):
806 SplitHorizontally(self, Window window1, Window window2, int sashPosition=0) -> bool
808 Initializes the top and bottom panes of the splitter window.
810 window1 The top pane.
811 window2 The bottom pane.
812 sashPosition The initial position of the sash. If this
813 value is positive, it specifies the size
814 of the upper pane. If it is negative, it
815 is absolute value gives the size of the
816 lower pane. Finally, specify 0 (default)
817 to choose the default position (half of
818 the total window height).
820 Returns True if successful, False otherwise (the window was
823 SplitHorizontally should be called if you wish to initially
824 view two panes. It can also be called at any subsequent
825 time, but the application should check that the window is
826 not currently split using IsSplit.
828 return _windows_
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
830 def Unsplit(*args
, **kwargs
):
832 Unsplit(self, Window toRemove=None) -> bool
834 Unsplits the window. Pass the pane to remove, or None to
835 remove the right or bottom pane. Returns True if
836 successful, False otherwise (the window was not split).
838 This function will not actually delete the pane being
839 removed; it sends EVT_SPLITTER_UNSPLIT which can be handled
840 for the desired behaviour. By default, the pane being
841 removed is only hidden.
843 return _windows_
.SplitterWindow_Unsplit(*args
, **kwargs
)
845 def ReplaceWindow(*args
, **kwargs
):
847 ReplaceWindow(self, Window winOld, Window winNew) -> bool
849 This function replaces one of the windows managed by the
850 SplitterWindow with another one. It is in general better to
851 use it instead of calling Unsplit() and then resplitting the
852 window back because it will provoke much less flicker. It is
853 valid to call this function whether the splitter has two
856 Both parameters should be non-None and winOld must specify
857 one of the windows managed by the splitter. If the
858 parameters are incorrect or the window couldn't be replaced,
859 False is returned. Otherwise the function will return True,
860 but please notice that it will not Destroy the replaced
861 window and you may wish to do it yourself.
863 return _windows_
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
865 def UpdateSize(*args
, **kwargs
):
869 Causes any pending sizing of the sash and child panes to
870 take place immediately.
872 Such resizing normally takes place in idle time, in order to
873 wait for layout to be completed. However, this can cause
874 unacceptable flicker as the panes are resized after the
875 window has been shown. To work around this, you can perform
876 window layout (for example by sending a size event to the
877 parent window), and then call this function, before showing
878 the top-level window.
880 return _windows_
.SplitterWindow_UpdateSize(*args
, **kwargs
)
882 def IsSplit(*args
, **kwargs
):
884 IsSplit(self) -> bool
888 return _windows_
.SplitterWindow_IsSplit(*args
, **kwargs
)
890 def SetSashSize(*args
, **kwargs
):
892 SetSashSize(self, int width)
896 return _windows_
.SplitterWindow_SetSashSize(*args
, **kwargs
)
898 def SetBorderSize(*args
, **kwargs
):
900 SetBorderSize(self, int width)
904 return _windows_
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
906 def GetSashSize(*args
, **kwargs
):
908 GetSashSize(self) -> int
912 return _windows_
.SplitterWindow_GetSashSize(*args
, **kwargs
)
914 def GetBorderSize(*args
, **kwargs
):
916 GetBorderSize(self) -> int
920 return _windows_
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
922 def SetSashPosition(*args
, **kwargs
):
924 SetSashPosition(self, int position, bool redraw=True)
926 Sets the sash position, in pixels. If redraw is Ttrue then
927 the panes are resized and the sash and border are redrawn.
929 return _windows_
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
931 def GetSashPosition(*args
, **kwargs
):
933 GetSashPosition(self) -> int
935 Returns the surrent sash position.
937 return _windows_
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
939 def SetMinimumPaneSize(*args
, **kwargs
):
941 SetMinimumPaneSize(self, int min)
943 Sets the minimum pane size in pixels.
945 The default minimum pane size is zero, which means that
946 either pane can be reduced to zero by dragging the sash,
947 thus removing one of the panes. To prevent this behaviour (and
948 veto out-of-range sash dragging), set a minimum size,
949 for example 20 pixels. If the wx.SP_PERMIT_UNSPLIT style is
950 used when a splitter window is created, the window may be
951 unsplit even if minimum size is non-zero.
953 return _windows_
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
955 def GetMinimumPaneSize(*args
, **kwargs
):
957 GetMinimumPaneSize(self) -> int
959 Gets the minimum pane size in pixels.
961 return _windows_
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
963 def SashHitTest(*args
, **kwargs
):
965 SashHitTest(self, int x, int y, int tolerance=5) -> bool
967 Tests for x, y over the sash
969 return _windows_
.SplitterWindow_SashHitTest(*args
, **kwargs
)
971 def SizeWindows(*args
, **kwargs
):
977 return _windows_
.SplitterWindow_SizeWindows(*args
, **kwargs
)
979 def SetNeedUpdating(*args
, **kwargs
):
980 """SetNeedUpdating(self, bool needUpdating)"""
981 return _windows_
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
983 def GetNeedUpdating(*args
, **kwargs
):
984 """GetNeedUpdating(self) -> bool"""
985 return _windows_
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
988 class SplitterWindowPtr(SplitterWindow
):
989 def __init__(self
, this
):
991 if not hasattr(self
,"thisown"): self
.thisown
= 0
992 self
.__class
__ = SplitterWindow
993 _windows_
.SplitterWindow_swigregister(SplitterWindowPtr
)
994 SplitterNameStr
= cvar
.SplitterNameStr
996 def PreSplitterWindow(*args
, **kwargs
):
998 PreSplitterWindow() -> SplitterWindow
1000 Precreate a SplitterWindow for 2-phase creation.
1002 val
= _windows_
.new_PreSplitterWindow(*args
, **kwargs
)
1006 class SplitterEvent(_core
.NotifyEvent
):
1007 """This class represents the events generated by a splitter control."""
1009 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1010 def __init__(self
, *args
, **kwargs
):
1012 __init__(self, wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent
1014 This class represents the events generated by a splitter control.
1016 newobj
= _windows_
.new_SplitterEvent(*args
, **kwargs
)
1017 self
.this
= newobj
.this
1020 def SetSashPosition(*args
, **kwargs
):
1022 SetSashPosition(self, int pos)
1024 This funciton is only meaningful during
1025 EVT_SPLITTER_SASH_POS_CHANGING and
1026 EVT_SPLITTER_SASH_POS_CHANGED events. In the case of
1027 _CHANGED events, sets the the new sash position. In the case
1028 of _CHANGING events, sets the new tracking bar position so
1029 visual feedback during dragging will represent that change
1030 that will actually take place. Set to -1 from the event
1031 handler code to prevent repositioning.
1033 return _windows_
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
1035 def GetSashPosition(*args
, **kwargs
):
1037 GetSashPosition(self) -> int
1039 Returns the new sash position while in
1040 EVT_SPLITTER_SASH_POS_CHANGING and
1041 EVT_SPLITTER_SASH_POS_CHANGED events.
1043 return _windows_
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
1045 def GetWindowBeingRemoved(*args
, **kwargs
):
1047 GetWindowBeingRemoved(self) -> Window
1049 Returns a pointer to the window being removed when a
1050 splitter window is unsplit.
1052 return _windows_
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
1054 def GetX(*args
, **kwargs
):
1058 Returns the x coordinate of the double-click point in a
1059 EVT_SPLITTER_DCLICK event.
1061 return _windows_
.SplitterEvent_GetX(*args
, **kwargs
)
1063 def GetY(*args
, **kwargs
):
1067 Returns the y coordinate of the double-click point in a
1068 EVT_SPLITTER_DCLICK event.
1070 return _windows_
.SplitterEvent_GetY(*args
, **kwargs
)
1073 class SplitterEventPtr(SplitterEvent
):
1074 def __init__(self
, this
):
1076 if not hasattr(self
,"thisown"): self
.thisown
= 0
1077 self
.__class
__ = SplitterEvent
1078 _windows_
.SplitterEvent_swigregister(SplitterEventPtr
)
1080 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
1081 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
1082 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows_
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
1083 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows_
.wxEVT_COMMAND_SPLITTER_UNSPLIT
1084 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
1085 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
1086 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
1087 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
1088 EVT_SPLITTER_DCLICK
= EVT_SPLITTER_DOUBLECLICKED
1090 #---------------------------------------------------------------------------
1092 SASH_DRAG_NONE
= _windows_
.SASH_DRAG_NONE
1093 SASH_DRAG_DRAGGING
= _windows_
.SASH_DRAG_DRAGGING
1094 SASH_DRAG_LEFT_DOWN
= _windows_
.SASH_DRAG_LEFT_DOWN
1095 SW_NOBORDER
= _windows_
.SW_NOBORDER
1096 SW_BORDER
= _windows_
.SW_BORDER
1097 SW_3DSASH
= _windows_
.SW_3DSASH
1098 SW_3DBORDER
= _windows_
.SW_3DBORDER
1099 SW_3D
= _windows_
.SW_3D
1100 SASH_TOP
= _windows_
.SASH_TOP
1101 SASH_RIGHT
= _windows_
.SASH_RIGHT
1102 SASH_BOTTOM
= _windows_
.SASH_BOTTOM
1103 SASH_LEFT
= _windows_
.SASH_LEFT
1104 SASH_NONE
= _windows_
.SASH_NONE
1105 class SashWindow(_core
.Window
):
1107 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1108 def __init__(self
, *args
, **kwargs
):
1110 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1111 long style=wxCLIP_CHILDREN|wxSW_3D,
1112 String name=SashNameStr) -> SashWindow
1114 newobj
= _windows_
.new_SashWindow(*args
, **kwargs
)
1115 self
.this
= newobj
.this
1118 self
._setOORInfo
(self
)
1120 def Create(*args
, **kwargs
):
1122 Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1123 long style=wxCLIP_CHILDREN|wxSW_3D,
1124 String name=SashNameStr) -> bool
1126 return _windows_
.SashWindow_Create(*args
, **kwargs
)
1128 def SetSashVisible(*args
, **kwargs
):
1129 """SetSashVisible(self, int edge, bool sash)"""
1130 return _windows_
.SashWindow_SetSashVisible(*args
, **kwargs
)
1132 def GetSashVisible(*args
, **kwargs
):
1133 """GetSashVisible(self, int edge) -> bool"""
1134 return _windows_
.SashWindow_GetSashVisible(*args
, **kwargs
)
1136 def SetSashBorder(*args
, **kwargs
):
1137 """SetSashBorder(self, int edge, bool border)"""
1138 return _windows_
.SashWindow_SetSashBorder(*args
, **kwargs
)
1140 def HasBorder(*args
, **kwargs
):
1141 """HasBorder(self, int edge) -> bool"""
1142 return _windows_
.SashWindow_HasBorder(*args
, **kwargs
)
1144 def GetEdgeMargin(*args
, **kwargs
):
1145 """GetEdgeMargin(self, int edge) -> int"""
1146 return _windows_
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
1148 def SetDefaultBorderSize(*args
, **kwargs
):
1149 """SetDefaultBorderSize(self, int width)"""
1150 return _windows_
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
1152 def GetDefaultBorderSize(*args
, **kwargs
):
1153 """GetDefaultBorderSize(self) -> int"""
1154 return _windows_
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
1156 def SetExtraBorderSize(*args
, **kwargs
):
1157 """SetExtraBorderSize(self, int width)"""
1158 return _windows_
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
1160 def GetExtraBorderSize(*args
, **kwargs
):
1161 """GetExtraBorderSize(self) -> int"""
1162 return _windows_
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
1164 def SetMinimumSizeX(*args
, **kwargs
):
1165 """SetMinimumSizeX(self, int min)"""
1166 return _windows_
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
1168 def SetMinimumSizeY(*args
, **kwargs
):
1169 """SetMinimumSizeY(self, int min)"""
1170 return _windows_
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
1172 def GetMinimumSizeX(*args
, **kwargs
):
1173 """GetMinimumSizeX(self) -> int"""
1174 return _windows_
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
1176 def GetMinimumSizeY(*args
, **kwargs
):
1177 """GetMinimumSizeY(self) -> int"""
1178 return _windows_
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
1180 def SetMaximumSizeX(*args
, **kwargs
):
1181 """SetMaximumSizeX(self, int max)"""
1182 return _windows_
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
1184 def SetMaximumSizeY(*args
, **kwargs
):
1185 """SetMaximumSizeY(self, int max)"""
1186 return _windows_
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
1188 def GetMaximumSizeX(*args
, **kwargs
):
1189 """GetMaximumSizeX(self) -> int"""
1190 return _windows_
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
1192 def GetMaximumSizeY(*args
, **kwargs
):
1193 """GetMaximumSizeY(self) -> int"""
1194 return _windows_
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
1196 def SashHitTest(*args
, **kwargs
):
1197 """SashHitTest(self, int x, int y, int tolerance=2) -> int"""
1198 return _windows_
.SashWindow_SashHitTest(*args
, **kwargs
)
1200 def SizeWindows(*args
, **kwargs
):
1201 """SizeWindows(self)"""
1202 return _windows_
.SashWindow_SizeWindows(*args
, **kwargs
)
1205 class SashWindowPtr(SashWindow
):
1206 def __init__(self
, this
):
1208 if not hasattr(self
,"thisown"): self
.thisown
= 0
1209 self
.__class
__ = SashWindow
1210 _windows_
.SashWindow_swigregister(SashWindowPtr
)
1211 SashNameStr
= cvar
.SashNameStr
1212 SashLayoutNameStr
= cvar
.SashLayoutNameStr
1214 def PreSashWindow(*args
, **kwargs
):
1215 """PreSashWindow() -> SashWindow"""
1216 val
= _windows_
.new_PreSashWindow(*args
, **kwargs
)
1220 SASH_STATUS_OK
= _windows_
.SASH_STATUS_OK
1221 SASH_STATUS_OUT_OF_RANGE
= _windows_
.SASH_STATUS_OUT_OF_RANGE
1222 class SashEvent(_core
.CommandEvent
):
1224 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1225 def __init__(self
, *args
, **kwargs
):
1226 """__init__(self, int id=0, int edge=SASH_NONE) -> SashEvent"""
1227 newobj
= _windows_
.new_SashEvent(*args
, **kwargs
)
1228 self
.this
= newobj
.this
1231 def SetEdge(*args
, **kwargs
):
1232 """SetEdge(self, int edge)"""
1233 return _windows_
.SashEvent_SetEdge(*args
, **kwargs
)
1235 def GetEdge(*args
, **kwargs
):
1236 """GetEdge(self) -> int"""
1237 return _windows_
.SashEvent_GetEdge(*args
, **kwargs
)
1239 def SetDragRect(*args
, **kwargs
):
1240 """SetDragRect(self, Rect rect)"""
1241 return _windows_
.SashEvent_SetDragRect(*args
, **kwargs
)
1243 def GetDragRect(*args
, **kwargs
):
1244 """GetDragRect(self) -> Rect"""
1245 return _windows_
.SashEvent_GetDragRect(*args
, **kwargs
)
1247 def SetDragStatus(*args
, **kwargs
):
1248 """SetDragStatus(self, int status)"""
1249 return _windows_
.SashEvent_SetDragStatus(*args
, **kwargs
)
1251 def GetDragStatus(*args
, **kwargs
):
1252 """GetDragStatus(self) -> int"""
1253 return _windows_
.SashEvent_GetDragStatus(*args
, **kwargs
)
1256 class SashEventPtr(SashEvent
):
1257 def __init__(self
, this
):
1259 if not hasattr(self
,"thisown"): self
.thisown
= 0
1260 self
.__class
__ = SashEvent
1261 _windows_
.SashEvent_swigregister(SashEventPtr
)
1263 wxEVT_SASH_DRAGGED
= _windows_
.wxEVT_SASH_DRAGGED
1264 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
1265 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
1267 #---------------------------------------------------------------------------
1269 LAYOUT_HORIZONTAL
= _windows_
.LAYOUT_HORIZONTAL
1270 LAYOUT_VERTICAL
= _windows_
.LAYOUT_VERTICAL
1271 LAYOUT_NONE
= _windows_
.LAYOUT_NONE
1272 LAYOUT_TOP
= _windows_
.LAYOUT_TOP
1273 LAYOUT_LEFT
= _windows_
.LAYOUT_LEFT
1274 LAYOUT_RIGHT
= _windows_
.LAYOUT_RIGHT
1275 LAYOUT_BOTTOM
= _windows_
.LAYOUT_BOTTOM
1276 LAYOUT_LENGTH_Y
= _windows_
.LAYOUT_LENGTH_Y
1277 LAYOUT_LENGTH_X
= _windows_
.LAYOUT_LENGTH_X
1278 LAYOUT_MRU_LENGTH
= _windows_
.LAYOUT_MRU_LENGTH
1279 LAYOUT_QUERY
= _windows_
.LAYOUT_QUERY
1280 wxEVT_QUERY_LAYOUT_INFO
= _windows_
.wxEVT_QUERY_LAYOUT_INFO
1281 wxEVT_CALCULATE_LAYOUT
= _windows_
.wxEVT_CALCULATE_LAYOUT
1282 class QueryLayoutInfoEvent(_core
.Event
):
1284 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1285 def __init__(self
, *args
, **kwargs
):
1286 """__init__(self, int id=0) -> QueryLayoutInfoEvent"""
1287 newobj
= _windows_
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1288 self
.this
= newobj
.this
1291 def SetRequestedLength(*args
, **kwargs
):
1292 """SetRequestedLength(self, int length)"""
1293 return _windows_
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1295 def GetRequestedLength(*args
, **kwargs
):
1296 """GetRequestedLength(self) -> int"""
1297 return _windows_
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1299 def SetFlags(*args
, **kwargs
):
1300 """SetFlags(self, int flags)"""
1301 return _windows_
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1303 def GetFlags(*args
, **kwargs
):
1304 """GetFlags(self) -> int"""
1305 return _windows_
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1307 def SetSize(*args
, **kwargs
):
1308 """SetSize(self, Size size)"""
1309 return _windows_
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1311 def GetSize(*args
, **kwargs
):
1312 """GetSize(self) -> Size"""
1313 return _windows_
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1315 def SetOrientation(*args
, **kwargs
):
1316 """SetOrientation(self, int orient)"""
1317 return _windows_
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1319 def GetOrientation(*args
, **kwargs
):
1320 """GetOrientation(self) -> int"""
1321 return _windows_
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1323 def SetAlignment(*args
, **kwargs
):
1324 """SetAlignment(self, int align)"""
1325 return _windows_
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1327 def GetAlignment(*args
, **kwargs
):
1328 """GetAlignment(self) -> int"""
1329 return _windows_
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1332 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1333 def __init__(self
, this
):
1335 if not hasattr(self
,"thisown"): self
.thisown
= 0
1336 self
.__class
__ = QueryLayoutInfoEvent
1337 _windows_
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1339 class CalculateLayoutEvent(_core
.Event
):
1341 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1342 def __init__(self
, *args
, **kwargs
):
1343 """__init__(self, int id=0) -> CalculateLayoutEvent"""
1344 newobj
= _windows_
.new_CalculateLayoutEvent(*args
, **kwargs
)
1345 self
.this
= newobj
.this
1348 def SetFlags(*args
, **kwargs
):
1349 """SetFlags(self, int flags)"""
1350 return _windows_
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1352 def GetFlags(*args
, **kwargs
):
1353 """GetFlags(self) -> int"""
1354 return _windows_
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1356 def SetRect(*args
, **kwargs
):
1357 """SetRect(self, Rect rect)"""
1358 return _windows_
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1360 def GetRect(*args
, **kwargs
):
1361 """GetRect(self) -> Rect"""
1362 return _windows_
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1365 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1366 def __init__(self
, this
):
1368 if not hasattr(self
,"thisown"): self
.thisown
= 0
1369 self
.__class
__ = CalculateLayoutEvent
1370 _windows_
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1372 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1373 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1375 class SashLayoutWindow(SashWindow
):
1377 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1378 def __init__(self
, *args
, **kwargs
):
1380 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1381 long style=wxCLIP_CHILDREN|wxSW_3D,
1382 String name=SashLayoutNameStr) -> SashLayoutWindow
1384 newobj
= _windows_
.new_SashLayoutWindow(*args
, **kwargs
)
1385 self
.this
= newobj
.this
1388 self
._setOORInfo
(self
)
1390 def Create(*args
, **kwargs
):
1392 Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1393 long style=wxCLIP_CHILDREN|wxSW_3D,
1394 String name=SashLayoutNameStr) -> bool
1396 return _windows_
.SashLayoutWindow_Create(*args
, **kwargs
)
1398 def GetAlignment(*args
, **kwargs
):
1399 """GetAlignment(self) -> int"""
1400 return _windows_
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1402 def GetOrientation(*args
, **kwargs
):
1403 """GetOrientation(self) -> int"""
1404 return _windows_
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1406 def SetAlignment(*args
, **kwargs
):
1407 """SetAlignment(self, int alignment)"""
1408 return _windows_
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1410 def SetDefaultSize(*args
, **kwargs
):
1411 """SetDefaultSize(self, Size size)"""
1412 return _windows_
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1414 def SetOrientation(*args
, **kwargs
):
1415 """SetOrientation(self, int orientation)"""
1416 return _windows_
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1419 class SashLayoutWindowPtr(SashLayoutWindow
):
1420 def __init__(self
, this
):
1422 if not hasattr(self
,"thisown"): self
.thisown
= 0
1423 self
.__class
__ = SashLayoutWindow
1424 _windows_
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1426 def PreSashLayoutWindow(*args
, **kwargs
):
1427 """PreSashLayoutWindow() -> SashLayoutWindow"""
1428 val
= _windows_
.new_PreSashLayoutWindow(*args
, **kwargs
)
1432 class LayoutAlgorithm(_core
.Object
):
1434 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1435 def __init__(self
, *args
, **kwargs
):
1436 """__init__(self) -> LayoutAlgorithm"""
1437 newobj
= _windows_
.new_LayoutAlgorithm(*args
, **kwargs
)
1438 self
.this
= newobj
.this
1441 def __del__(self
, destroy
=_windows_
.delete_LayoutAlgorithm
):
1444 if self
.thisown
: destroy(self
)
1447 def LayoutMDIFrame(*args
, **kwargs
):
1448 """LayoutMDIFrame(self, MDIParentFrame frame, Rect rect=None) -> bool"""
1449 return _windows_
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1451 def LayoutFrame(*args
, **kwargs
):
1452 """LayoutFrame(self, Frame frame, Window mainWindow=None) -> bool"""
1453 return _windows_
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1455 def LayoutWindow(*args
, **kwargs
):
1456 """LayoutWindow(self, Window parent, Window mainWindow=None) -> bool"""
1457 return _windows_
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1460 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1461 def __init__(self
, this
):
1463 if not hasattr(self
,"thisown"): self
.thisown
= 0
1464 self
.__class
__ = LayoutAlgorithm
1465 _windows_
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1467 #---------------------------------------------------------------------------
1469 class PopupWindow(_core
.Window
):
1471 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1472 def __init__(self
, *args
, **kwargs
):
1473 """__init__(self, Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1474 newobj
= _windows_
.new_PopupWindow(*args
, **kwargs
)
1475 self
.this
= newobj
.this
1478 self
._setOORInfo
(self
)
1480 def Create(*args
, **kwargs
):
1481 """Create(self, Window parent, int flags=BORDER_NONE) -> bool"""
1482 return _windows_
.PopupWindow_Create(*args
, **kwargs
)
1484 def Position(*args
, **kwargs
):
1485 """Position(self, Point ptOrigin, Size size)"""
1486 return _windows_
.PopupWindow_Position(*args
, **kwargs
)
1489 class PopupWindowPtr(PopupWindow
):
1490 def __init__(self
, this
):
1492 if not hasattr(self
,"thisown"): self
.thisown
= 0
1493 self
.__class
__ = PopupWindow
1494 _windows_
.PopupWindow_swigregister(PopupWindowPtr
)
1496 def PrePopupWindow(*args
, **kwargs
):
1497 """PrePopupWindow() -> PopupWindow"""
1498 val
= _windows_
.new_PrePopupWindow(*args
, **kwargs
)
1502 #---------------------------------------------------------------------------
1504 class PopupTransientWindow(PopupWindow
):
1506 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1507 def __init__(self
, *args
, **kwargs
):
1508 """__init__(self, Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1509 newobj
= _windows_
.new_PopupTransientWindow(*args
, **kwargs
)
1510 self
.this
= newobj
.this
1513 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, PopupTransientWindow
)
1515 def _setCallbackInfo(*args
, **kwargs
):
1516 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1517 return _windows_
.PopupTransientWindow__setCallbackInfo(*args
, **kwargs
)
1519 def Popup(*args
, **kwargs
):
1520 """Popup(self, Window focus=None)"""
1521 return _windows_
.PopupTransientWindow_Popup(*args
, **kwargs
)
1523 def Dismiss(*args
, **kwargs
):
1525 return _windows_
.PopupTransientWindow_Dismiss(*args
, **kwargs
)
1528 class PopupTransientWindowPtr(PopupTransientWindow
):
1529 def __init__(self
, this
):
1531 if not hasattr(self
,"thisown"): self
.thisown
= 0
1532 self
.__class
__ = PopupTransientWindow
1533 _windows_
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1535 def PrePopupTransientWindow(*args
, **kwargs
):
1536 """PrePopupTransientWindow() -> PopupTransientWindow"""
1537 val
= _windows_
.new_PrePopupTransientWindow(*args
, **kwargs
)
1541 #---------------------------------------------------------------------------
1543 class TipWindow(PopupTransientWindow
):
1545 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1546 def __init__(self
, *args
, **kwargs
):
1547 """__init__(self, Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1548 newobj
= _windows_
.new_TipWindow(*args
, **kwargs
)
1549 self
.this
= newobj
.this
1552 self
._setOORInfo
(self
)
1554 def SetBoundingRect(*args
, **kwargs
):
1555 """SetBoundingRect(self, Rect rectBound)"""
1556 return _windows_
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1558 def Close(*args
, **kwargs
):
1560 return _windows_
.TipWindow_Close(*args
, **kwargs
)
1563 class TipWindowPtr(TipWindow
):
1564 def __init__(self
, this
):
1566 if not hasattr(self
,"thisown"): self
.thisown
= 0
1567 self
.__class
__ = TipWindow
1568 _windows_
.TipWindow_swigregister(TipWindowPtr
)
1570 #---------------------------------------------------------------------------
1572 class VScrolledWindow(Panel
):
1574 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1575 def __init__(self
, *args
, **kwargs
):
1577 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1578 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
1580 newobj
= _windows_
.new_VScrolledWindow(*args
, **kwargs
)
1581 self
.this
= newobj
.this
1584 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1586 def _setCallbackInfo(*args
, **kwargs
):
1587 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1588 return _windows_
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1590 def Create(*args
, **kwargs
):
1592 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1593 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
1595 return _windows_
.VScrolledWindow_Create(*args
, **kwargs
)
1597 def SetLineCount(*args
, **kwargs
):
1598 """SetLineCount(self, size_t count)"""
1599 return _windows_
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1601 def ScrollToLine(*args
, **kwargs
):
1602 """ScrollToLine(self, size_t line) -> bool"""
1603 return _windows_
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1605 def ScrollLines(*args
, **kwargs
):
1607 ScrollLines(self, int lines) -> bool
1609 If the platform and window class supports it, scrolls the window by
1610 the given number of lines down, if lines is positive, or up if lines
1611 is negative. Returns True if the window was scrolled, False if it was
1612 already on top/bottom and nothing was done.
1614 return _windows_
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1616 def ScrollPages(*args
, **kwargs
):
1618 ScrollPages(self, int pages) -> bool
1620 If the platform and window class supports it, scrolls the window by
1621 the given number of pages down, if pages is positive, or up if pages
1622 is negative. Returns True if the window was scrolled, False if it was
1623 already on top/bottom and nothing was done.
1625 return _windows_
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1627 def RefreshLine(*args
, **kwargs
):
1628 """RefreshLine(self, size_t line)"""
1629 return _windows_
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1631 def RefreshLines(*args
, **kwargs
):
1632 """RefreshLines(self, size_t from, size_t to)"""
1633 return _windows_
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1635 def HitTestXT(*args
, **kwargs
):
1637 HitTestXT(self, int x, int y) -> int
1639 Test where the given (in client coords) point lies
1641 return _windows_
.VScrolledWindow_HitTestXT(*args
, **kwargs
)
1643 def HitTest(*args
, **kwargs
):
1645 HitTest(self, Point pt) -> int
1647 Test where the given (in client coords) point lies
1649 return _windows_
.VScrolledWindow_HitTest(*args
, **kwargs
)
1651 def RefreshAll(*args
, **kwargs
):
1652 """RefreshAll(self)"""
1653 return _windows_
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1655 def GetLineCount(*args
, **kwargs
):
1656 """GetLineCount(self) -> size_t"""
1657 return _windows_
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1659 def GetFirstVisibleLine(*args
, **kwargs
):
1660 """GetFirstVisibleLine(self) -> size_t"""
1661 return _windows_
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1663 def GetLastVisibleLine(*args
, **kwargs
):
1664 """GetLastVisibleLine(self) -> size_t"""
1665 return _windows_
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1667 def IsVisible(*args
, **kwargs
):
1668 """IsVisible(self, size_t line) -> bool"""
1669 return _windows_
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1672 class VScrolledWindowPtr(VScrolledWindow
):
1673 def __init__(self
, this
):
1675 if not hasattr(self
,"thisown"): self
.thisown
= 0
1676 self
.__class
__ = VScrolledWindow
1677 _windows_
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
1679 def PreVScrolledWindow(*args
, **kwargs
):
1680 """PreVScrolledWindow() -> VScrolledWindow"""
1681 val
= _windows_
.new_PreVScrolledWindow(*args
, **kwargs
)
1685 class VListBox(VScrolledWindow
):
1687 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1688 def __init__(self
, *args
, **kwargs
):
1690 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1691 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
1693 newobj
= _windows_
.new_VListBox(*args
, **kwargs
)
1694 self
.this
= newobj
.this
1697 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
1699 def _setCallbackInfo(*args
, **kwargs
):
1700 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1701 return _windows_
.VListBox__setCallbackInfo(*args
, **kwargs
)
1703 def Create(*args
, **kwargs
):
1705 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1706 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1708 return _windows_
.VListBox_Create(*args
, **kwargs
)
1710 def GetItemCount(*args
, **kwargs
):
1711 """GetItemCount(self) -> size_t"""
1712 return _windows_
.VListBox_GetItemCount(*args
, **kwargs
)
1714 def HasMultipleSelection(*args
, **kwargs
):
1715 """HasMultipleSelection(self) -> bool"""
1716 return _windows_
.VListBox_HasMultipleSelection(*args
, **kwargs
)
1718 def GetSelection(*args
, **kwargs
):
1719 """GetSelection(self) -> int"""
1720 return _windows_
.VListBox_GetSelection(*args
, **kwargs
)
1722 def IsCurrent(*args
, **kwargs
):
1723 """IsCurrent(self, size_t item) -> bool"""
1724 return _windows_
.VListBox_IsCurrent(*args
, **kwargs
)
1726 def IsSelected(*args
, **kwargs
):
1727 """IsSelected(self, size_t item) -> bool"""
1728 return _windows_
.VListBox_IsSelected(*args
, **kwargs
)
1730 def GetSelectedCount(*args
, **kwargs
):
1731 """GetSelectedCount(self) -> size_t"""
1732 return _windows_
.VListBox_GetSelectedCount(*args
, **kwargs
)
1734 def GetFirstSelected(*args
, **kwargs
):
1735 """GetFirstSelected(self, unsigned long cookie) -> int"""
1736 return _windows_
.VListBox_GetFirstSelected(*args
, **kwargs
)
1738 def GetNextSelected(*args
, **kwargs
):
1739 """GetNextSelected(self, unsigned long cookie) -> int"""
1740 return _windows_
.VListBox_GetNextSelected(*args
, **kwargs
)
1742 def GetMargins(*args
, **kwargs
):
1743 """GetMargins(self) -> Point"""
1744 return _windows_
.VListBox_GetMargins(*args
, **kwargs
)
1746 def GetSelectionBackground(*args
, **kwargs
):
1747 """GetSelectionBackground(self) -> Colour"""
1748 return _windows_
.VListBox_GetSelectionBackground(*args
, **kwargs
)
1750 def SetItemCount(*args
, **kwargs
):
1751 """SetItemCount(self, size_t count)"""
1752 return _windows_
.VListBox_SetItemCount(*args
, **kwargs
)
1754 def Clear(*args
, **kwargs
):
1756 return _windows_
.VListBox_Clear(*args
, **kwargs
)
1758 def SetSelection(*args
, **kwargs
):
1759 """SetSelection(self, int selection)"""
1760 return _windows_
.VListBox_SetSelection(*args
, **kwargs
)
1762 def Select(*args
, **kwargs
):
1763 """Select(self, size_t item, bool select=True) -> bool"""
1764 return _windows_
.VListBox_Select(*args
, **kwargs
)
1766 def SelectRange(*args
, **kwargs
):
1767 """SelectRange(self, size_t from, size_t to) -> bool"""
1768 return _windows_
.VListBox_SelectRange(*args
, **kwargs
)
1770 def Toggle(*args
, **kwargs
):
1771 """Toggle(self, size_t item)"""
1772 return _windows_
.VListBox_Toggle(*args
, **kwargs
)
1774 def SelectAll(*args
, **kwargs
):
1775 """SelectAll(self) -> bool"""
1776 return _windows_
.VListBox_SelectAll(*args
, **kwargs
)
1778 def DeselectAll(*args
, **kwargs
):
1779 """DeselectAll(self) -> bool"""
1780 return _windows_
.VListBox_DeselectAll(*args
, **kwargs
)
1782 def SetMargins(*args
, **kwargs
):
1783 """SetMargins(self, Point pt)"""
1784 return _windows_
.VListBox_SetMargins(*args
, **kwargs
)
1786 def SetMarginsXY(*args
, **kwargs
):
1787 """SetMarginsXY(self, int x, int y)"""
1788 return _windows_
.VListBox_SetMarginsXY(*args
, **kwargs
)
1790 def SetSelectionBackground(*args
, **kwargs
):
1791 """SetSelectionBackground(self, Colour col)"""
1792 return _windows_
.VListBox_SetSelectionBackground(*args
, **kwargs
)
1795 class VListBoxPtr(VListBox
):
1796 def __init__(self
, this
):
1798 if not hasattr(self
,"thisown"): self
.thisown
= 0
1799 self
.__class
__ = VListBox
1800 _windows_
.VListBox_swigregister(VListBoxPtr
)
1801 VListBoxNameStr
= cvar
.VListBoxNameStr
1803 def PreVListBox(*args
, **kwargs
):
1804 """PreVListBox() -> VListBox"""
1805 val
= _windows_
.new_PreVListBox(*args
, **kwargs
)
1809 class HtmlListBox(VListBox
):
1811 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1812 def __init__(self
, *args
, **kwargs
):
1814 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1815 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
1817 newobj
= _windows_
.new_HtmlListBox(*args
, **kwargs
)
1818 self
.this
= newobj
.this
1821 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
1823 def _setCallbackInfo(*args
, **kwargs
):
1824 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1825 return _windows_
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
1827 def Create(*args
, **kwargs
):
1829 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1830 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1832 return _windows_
.HtmlListBox_Create(*args
, **kwargs
)
1834 def RefreshAll(*args
, **kwargs
):
1835 """RefreshAll(self)"""
1836 return _windows_
.HtmlListBox_RefreshAll(*args
, **kwargs
)
1838 def SetItemCount(*args
, **kwargs
):
1839 """SetItemCount(self, size_t count)"""
1840 return _windows_
.HtmlListBox_SetItemCount(*args
, **kwargs
)
1843 class HtmlListBoxPtr(HtmlListBox
):
1844 def __init__(self
, this
):
1846 if not hasattr(self
,"thisown"): self
.thisown
= 0
1847 self
.__class
__ = HtmlListBox
1848 _windows_
.HtmlListBox_swigregister(HtmlListBoxPtr
)
1850 def PreHtmlListBox(*args
, **kwargs
):
1851 """PreHtmlListBox() -> HtmlListBox"""
1852 val
= _windows_
.new_PreHtmlListBox(*args
, **kwargs
)
1856 #---------------------------------------------------------------------------
1858 class TaskBarIcon(_core
.EvtHandler
):
1860 return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1861 def __init__(self
, *args
, **kwargs
):
1862 """__init__(self) -> TaskBarIcon"""
1863 newobj
= _windows_
.new_TaskBarIcon(*args
, **kwargs
)
1864 self
.this
= newobj
.this
1867 def __del__(self
, destroy
=_windows_
.delete_TaskBarIcon
):
1870 if self
.thisown
: destroy(self
)
1873 def Destroy(*args
, **kwargs
):
1877 Deletes the C++ object this Python object is a proxy for.
1879 return _windows_
.TaskBarIcon_Destroy(*args
, **kwargs
)
1881 def IsOk(*args
, **kwargs
):
1882 """IsOk(self) -> bool"""
1883 return _windows_
.TaskBarIcon_IsOk(*args
, **kwargs
)
1885 def __nonzero__(self
): return self
.IsOk()
1886 def IsIconInstalled(*args
, **kwargs
):
1887 """IsIconInstalled(self) -> bool"""
1888 return _windows_
.TaskBarIcon_IsIconInstalled(*args
, **kwargs
)
1890 def SetIcon(*args
, **kwargs
):
1891 """SetIcon(self, Icon icon, String tooltip=EmptyString) -> bool"""
1892 return _windows_
.TaskBarIcon_SetIcon(*args
, **kwargs
)
1894 def RemoveIcon(*args
, **kwargs
):
1895 """RemoveIcon(self) -> bool"""
1896 return _windows_
.TaskBarIcon_RemoveIcon(*args
, **kwargs
)
1898 def PopupMenu(*args
, **kwargs
):
1899 """PopupMenu(self, Menu menu) -> bool"""
1900 return _windows_
.TaskBarIcon_PopupMenu(*args
, **kwargs
)
1903 class TaskBarIconPtr(TaskBarIcon
):
1904 def __init__(self
, this
):
1906 if not hasattr(self
,"thisown"): self
.thisown
= 0
1907 self
.__class
__ = TaskBarIcon
1908 _windows_
.TaskBarIcon_swigregister(TaskBarIconPtr
)
1910 class TaskBarIconEvent(_core
.Event
):
1912 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1913 def __init__(self
, *args
, **kwargs
):
1914 """__init__(self, wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
1915 newobj
= _windows_
.new_TaskBarIconEvent(*args
, **kwargs
)
1916 self
.this
= newobj
.this
1920 class TaskBarIconEventPtr(TaskBarIconEvent
):
1921 def __init__(self
, this
):
1923 if not hasattr(self
,"thisown"): self
.thisown
= 0
1924 self
.__class
__ = TaskBarIconEvent
1925 _windows_
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
1927 wxEVT_TASKBAR_MOVE
= _windows_
.wxEVT_TASKBAR_MOVE
1928 wxEVT_TASKBAR_LEFT_DOWN
= _windows_
.wxEVT_TASKBAR_LEFT_DOWN
1929 wxEVT_TASKBAR_LEFT_UP
= _windows_
.wxEVT_TASKBAR_LEFT_UP
1930 wxEVT_TASKBAR_RIGHT_DOWN
= _windows_
.wxEVT_TASKBAR_RIGHT_DOWN
1931 wxEVT_TASKBAR_RIGHT_UP
= _windows_
.wxEVT_TASKBAR_RIGHT_UP
1932 wxEVT_TASKBAR_LEFT_DCLICK
= _windows_
.wxEVT_TASKBAR_LEFT_DCLICK
1933 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows_
.wxEVT_TASKBAR_RIGHT_DCLICK
1934 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
1935 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
1936 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
1937 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
1938 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
1939 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
1940 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
1942 #---------------------------------------------------------------------------
1944 class ColourData(_core
.Object
):
1945 """This class holds a variety of information related to colour dialogs."""
1947 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1948 def __init__(self
, *args
, **kwargs
):
1950 __init__(self) -> ColourData
1952 Constructor, sets default values.
1954 newobj
= _windows_
.new_ColourData(*args
, **kwargs
)
1955 self
.this
= newobj
.this
1958 def __del__(self
, destroy
=_windows_
.delete_ColourData
):
1961 if self
.thisown
: destroy(self
)
1964 def GetChooseFull(*args
, **kwargs
):
1966 GetChooseFull(self) -> bool
1968 Under Windows, determines whether the Windows colour dialog will display
1969 the full dialog with custom colour selection controls. Has no meaning
1970 under other platforms. The default value is true.
1972 return _windows_
.ColourData_GetChooseFull(*args
, **kwargs
)
1974 def GetColour(*args
, **kwargs
):
1976 GetColour(self) -> Colour
1978 Gets the colour (pre)selected by the dialog.
1980 return _windows_
.ColourData_GetColour(*args
, **kwargs
)
1982 def GetCustomColour(*args
, **kwargs
):
1984 GetCustomColour(self, int i) -> Colour
1986 Gets the i'th custom colour associated with the colour dialog. i should
1987 be an integer between 0 and 15. The default custom colours are all white.
1989 return _windows_
.ColourData_GetCustomColour(*args
, **kwargs
)
1991 def SetChooseFull(*args
, **kwargs
):
1993 SetChooseFull(self, int flag)
1995 Under Windows, tells the Windows colour dialog to display the full dialog
1996 with custom colour selection controls. Under other platforms, has no effect.
1997 The default value is true.
1999 return _windows_
.ColourData_SetChooseFull(*args
, **kwargs
)
2001 def SetColour(*args
, **kwargs
):
2003 SetColour(self, Colour colour)
2005 Sets the default colour for the colour dialog. The default colour is black.
2007 return _windows_
.ColourData_SetColour(*args
, **kwargs
)
2009 def SetCustomColour(*args
, **kwargs
):
2011 SetCustomColour(self, int i, Colour colour)
2013 Sets the i'th custom colour for the colour dialog. i should be an integer
2014 between 0 and 15. The default custom colours are all white.
2016 return _windows_
.ColourData_SetCustomColour(*args
, **kwargs
)
2019 class ColourDataPtr(ColourData
):
2020 def __init__(self
, this
):
2022 if not hasattr(self
,"thisown"): self
.thisown
= 0
2023 self
.__class
__ = ColourData
2024 _windows_
.ColourData_swigregister(ColourDataPtr
)
2025 FileSelectorPromptStr
= cvar
.FileSelectorPromptStr
2026 DirSelectorPromptStr
= cvar
.DirSelectorPromptStr
2027 DirDialogNameStr
= cvar
.DirDialogNameStr
2028 FileSelectorDefaultWildcardStr
= cvar
.FileSelectorDefaultWildcardStr
2029 GetTextFromUserPromptStr
= cvar
.GetTextFromUserPromptStr
2030 MessageBoxCaptionStr
= cvar
.MessageBoxCaptionStr
2032 class ColourDialog(Dialog
):
2033 """This class represents the colour chooser dialog."""
2035 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2036 def __init__(self
, *args
, **kwargs
):
2038 __init__(self, Window parent, ColourData data=None) -> ColourDialog
2040 Constructor. Pass a parent window, and optionally a ColourData, which
2041 will be copied to the colour dialog's internal ColourData instance.
2043 newobj
= _windows_
.new_ColourDialog(*args
, **kwargs
)
2044 self
.this
= newobj
.this
2047 self
._setOORInfo
(self
)
2049 def GetColourData(*args
, **kwargs
):
2051 GetColourData(self) -> ColourData
2053 Returns a reference to the ColourData used by the dialog.
2055 return _windows_
.ColourDialog_GetColourData(*args
, **kwargs
)
2058 class ColourDialogPtr(ColourDialog
):
2059 def __init__(self
, this
):
2061 if not hasattr(self
,"thisown"): self
.thisown
= 0
2062 self
.__class
__ = ColourDialog
2063 _windows_
.ColourDialog_swigregister(ColourDialogPtr
)
2065 class DirDialog(Dialog
):
2066 """This class represents the directory chooser dialog."""
2068 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2069 def __init__(self
, *args
, **kwargs
):
2071 __init__(self, Window parent, String message=DirSelectorPromptStr,
2072 String defaultPath=EmptyString, long style=0,
2073 Point pos=DefaultPosition, Size size=DefaultSize,
2074 String name=DirDialogNameStr) -> DirDialog
2076 Constructor. Use ShowModal method to show the dialog.
2078 newobj
= _windows_
.new_DirDialog(*args
, **kwargs
)
2079 self
.this
= newobj
.this
2082 self
._setOORInfo
(self
)
2084 def GetPath(*args
, **kwargs
):
2086 GetPath(self) -> String
2088 Returns the default or user-selected path.
2090 return _windows_
.DirDialog_GetPath(*args
, **kwargs
)
2092 def GetMessage(*args
, **kwargs
):
2094 GetMessage(self) -> String
2096 Returns the message that will be displayed on the dialog.
2098 return _windows_
.DirDialog_GetMessage(*args
, **kwargs
)
2100 def GetStyle(*args
, **kwargs
):
2102 GetStyle(self) -> long
2104 Returns the dialog style.
2106 return _windows_
.DirDialog_GetStyle(*args
, **kwargs
)
2108 def SetMessage(*args
, **kwargs
):
2110 SetMessage(self, String message)
2112 Sets the message that will be displayed on the dialog.
2114 return _windows_
.DirDialog_SetMessage(*args
, **kwargs
)
2116 def SetPath(*args
, **kwargs
):
2118 SetPath(self, String path)
2120 Sets the default path.
2122 return _windows_
.DirDialog_SetPath(*args
, **kwargs
)
2125 class DirDialogPtr(DirDialog
):
2126 def __init__(self
, this
):
2128 if not hasattr(self
,"thisown"): self
.thisown
= 0
2129 self
.__class
__ = DirDialog
2130 _windows_
.DirDialog_swigregister(DirDialogPtr
)
2132 class FileDialog(Dialog
):
2133 """This class represents the file chooser dialog."""
2135 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2136 def __init__(self
, *args
, **kwargs
):
2138 __init__(self, Window parent, String message=FileSelectorPromptStr,
2139 String defaultDir=EmptyString, String defaultFile=EmptyString,
2140 String wildcard=FileSelectorDefaultWildcardStr,
2141 long style=0, Point pos=DefaultPosition) -> FileDialog
2143 Constructor. Use ShowModal method to show the dialog.
2145 newobj
= _windows_
.new_FileDialog(*args
, **kwargs
)
2146 self
.this
= newobj
.this
2149 self
._setOORInfo
(self
)
2151 def SetMessage(*args
, **kwargs
):
2153 SetMessage(self, String message)
2155 Sets the message that will be displayed on the dialog.
2157 return _windows_
.FileDialog_SetMessage(*args
, **kwargs
)
2159 def SetPath(*args
, **kwargs
):
2161 SetPath(self, String path)
2163 Sets the path (the combined directory and filename that will
2164 be returned when the dialog is dismissed).
2166 return _windows_
.FileDialog_SetPath(*args
, **kwargs
)
2168 def SetDirectory(*args
, **kwargs
):
2170 SetDirectory(self, String dir)
2172 Sets the default directory.
2174 return _windows_
.FileDialog_SetDirectory(*args
, **kwargs
)
2176 def SetFilename(*args
, **kwargs
):
2178 SetFilename(self, String name)
2180 Sets the default filename.
2182 return _windows_
.FileDialog_SetFilename(*args
, **kwargs
)
2184 def SetWildcard(*args
, **kwargs
):
2186 SetWildcard(self, String wildCard)
2188 Sets the wildcard, which can contain multiple file types, for example:
2189 "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
2191 return _windows_
.FileDialog_SetWildcard(*args
, **kwargs
)
2193 def SetStyle(*args
, **kwargs
):
2195 SetStyle(self, long style)
2197 Sets the dialog style.
2199 return _windows_
.FileDialog_SetStyle(*args
, **kwargs
)
2201 def SetFilterIndex(*args
, **kwargs
):
2203 SetFilterIndex(self, int filterIndex)
2205 Sets the default filter index, starting from zero.
2207 return _windows_
.FileDialog_SetFilterIndex(*args
, **kwargs
)
2209 def GetMessage(*args
, **kwargs
):
2211 GetMessage(self) -> String
2213 Returns the message that will be displayed on the dialog.
2215 return _windows_
.FileDialog_GetMessage(*args
, **kwargs
)
2217 def GetPath(*args
, **kwargs
):
2219 GetPath(self) -> String
2221 Returns the full path (directory and filename) of the selected file.
2223 return _windows_
.FileDialog_GetPath(*args
, **kwargs
)
2225 def GetDirectory(*args
, **kwargs
):
2227 GetDirectory(self) -> String
2229 Returns the default directory.
2231 return _windows_
.FileDialog_GetDirectory(*args
, **kwargs
)
2233 def GetFilename(*args
, **kwargs
):
2235 GetFilename(self) -> String
2237 Returns the default filename.
2239 return _windows_
.FileDialog_GetFilename(*args
, **kwargs
)
2241 def GetWildcard(*args
, **kwargs
):
2243 GetWildcard(self) -> String
2245 Returns the file dialog wildcard.
2247 return _windows_
.FileDialog_GetWildcard(*args
, **kwargs
)
2249 def GetStyle(*args
, **kwargs
):
2251 GetStyle(self) -> long
2253 Returns the dialog style.
2255 return _windows_
.FileDialog_GetStyle(*args
, **kwargs
)
2257 def GetFilterIndex(*args
, **kwargs
):
2259 GetFilterIndex(self) -> int
2261 Returns the index into the list of filters supplied, optionally, in
2262 the wildcard parameter. Before the dialog is shown, this is the index
2263 which will be used when the dialog is first displayed. After the dialog
2264 is shown, this is the index selected by the user.
2266 return _windows_
.FileDialog_GetFilterIndex(*args
, **kwargs
)
2268 def GetFilenames(*args
, **kwargs
):
2270 GetFilenames(self) -> PyObject
2272 Returns a list of filenames chosen in the dialog. This function should
2273 only be used with the dialogs which have wx.MULTIPLE style, use
2274 GetFilename for the others.
2276 return _windows_
.FileDialog_GetFilenames(*args
, **kwargs
)
2278 def GetPaths(*args
, **kwargs
):
2280 GetPaths(self) -> PyObject
2282 Fills the array paths with the full paths of the files chosen. This
2283 function should only be used with the dialogs which have wx.MULTIPLE style,
2284 use GetPath for the others.
2286 return _windows_
.FileDialog_GetPaths(*args
, **kwargs
)
2289 class FileDialogPtr(FileDialog
):
2290 def __init__(self
, this
):
2292 if not hasattr(self
,"thisown"): self
.thisown
= 0
2293 self
.__class
__ = FileDialog
2294 _windows_
.FileDialog_swigregister(FileDialogPtr
)
2296 CHOICEDLG_STYLE
= _windows_
.CHOICEDLG_STYLE
2297 class MultiChoiceDialog(Dialog
):
2298 """A simple dialog with a multi selection listbox."""
2300 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2301 def __init__(self
, *args
, **kwargs
):
2303 __init__(Window parent, String message, String caption,
2304 List choices=[], long style=CHOICEDLG_STYLE,
2305 Point pos=DefaultPosition) -> MultiChoiceDialog
2307 Constructor. Use ShowModal method to show the dialog.
2309 newobj
= _windows_
.new_MultiChoiceDialog(*args
, **kwargs
)
2310 self
.this
= newobj
.this
2313 self
._setOORInfo
(self
)
2315 def SetSelections(*args
, **kwargs
):
2317 SetSelections(List selections)
2319 Specify the items in the list that shoudl be selected, using a list of integers.
2321 return _windows_
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
2323 def GetSelections(*args
, **kwargs
):
2325 GetSelections() -> [selections]
2327 Returns a list of integers representing the items that are selected.
2329 return _windows_
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
2332 class MultiChoiceDialogPtr(MultiChoiceDialog
):
2333 def __init__(self
, this
):
2335 if not hasattr(self
,"thisown"): self
.thisown
= 0
2336 self
.__class
__ = MultiChoiceDialog
2337 _windows_
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
2339 class SingleChoiceDialog(Dialog
):
2340 """A simple dialog with a single selection listbox."""
2342 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2343 def __init__(self
, *args
, **kwargs
):
2345 __init__(Window parent, String message, String caption,
2346 List choices=[], long style=CHOICEDLG_STYLE,
2347 Point pos=DefaultPosition) -> SingleChoiceDialog
2349 Constructor. Use ShowModal method to show the dialog.
2351 newobj
= _windows_
.new_SingleChoiceDialog(*args
, **kwargs
)
2352 self
.this
= newobj
.this
2355 self
._setOORInfo
(self
)
2357 def GetSelection(*args
, **kwargs
):
2359 GetSelection(self) -> int
2361 Get the index of teh currently selected item.
2363 return _windows_
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
2365 def GetStringSelection(*args
, **kwargs
):
2367 GetStringSelection(self) -> String
2369 Returns the string value of the currently selected item
2371 return _windows_
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
2373 def SetSelection(*args
, **kwargs
):
2375 SetSelection(self, int sel)
2377 Set the current selected item to sel
2379 return _windows_
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
2382 class SingleChoiceDialogPtr(SingleChoiceDialog
):
2383 def __init__(self
, this
):
2385 if not hasattr(self
,"thisown"): self
.thisown
= 0
2386 self
.__class
__ = SingleChoiceDialog
2387 _windows_
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
2389 class TextEntryDialog(Dialog
):
2390 """A dialog with text control, [ok] and [cancel] buttons"""
2392 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2393 def __init__(self
, *args
, **kwargs
):
2395 __init__(self, Window parent, String message, String caption=GetTextFromUserPromptStr,
2396 String defaultValue=EmptyString,
2397 long style=wxOK|wxCANCEL|wxCENTRE, Point pos=DefaultPosition) -> TextEntryDialog
2399 Constructor. Use ShowModal method to show the dialog.
2401 newobj
= _windows_
.new_TextEntryDialog(*args
, **kwargs
)
2402 self
.this
= newobj
.this
2405 self
._setOORInfo
(self
)
2407 def GetValue(*args
, **kwargs
):
2409 GetValue(self) -> String
2411 Returns the text that the user has entered if the user has pressed OK,
2412 or the original value if the user has pressed Cancel.
2414 return _windows_
.TextEntryDialog_GetValue(*args
, **kwargs
)
2416 def SetValue(*args
, **kwargs
):
2418 SetValue(self, String value)
2420 Sets the default text value.
2422 return _windows_
.TextEntryDialog_SetValue(*args
, **kwargs
)
2425 class TextEntryDialogPtr(TextEntryDialog
):
2426 def __init__(self
, this
):
2428 if not hasattr(self
,"thisown"): self
.thisown
= 0
2429 self
.__class
__ = TextEntryDialog
2430 _windows_
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
2432 class FontData(_core
.Object
):
2433 """This class holds a variety of information related to font dialogs."""
2435 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2436 def __init__(self
, *args
, **kwargs
):
2438 __init__(self) -> FontData
2440 This class holds a variety of information related to font dialogs.
2442 newobj
= _windows_
.new_FontData(*args
, **kwargs
)
2443 self
.this
= newobj
.this
2446 def __del__(self
, destroy
=_windows_
.delete_FontData
):
2449 if self
.thisown
: destroy(self
)
2452 def EnableEffects(*args
, **kwargs
):
2454 EnableEffects(self, bool enable)
2456 Enables or disables 'effects' under MS Windows only. This refers
2457 to the controls for manipulating colour, strikeout and underline
2458 properties. The default value is true.
2460 return _windows_
.FontData_EnableEffects(*args
, **kwargs
)
2462 def GetAllowSymbols(*args
, **kwargs
):
2464 GetAllowSymbols(self) -> bool
2466 Under MS Windows, returns a flag determining whether symbol fonts can be
2467 selected. Has no effect on other platforms. The default value is true.
2469 return _windows_
.FontData_GetAllowSymbols(*args
, **kwargs
)
2471 def GetColour(*args
, **kwargs
):
2473 GetColour(self) -> Colour
2475 Gets the colour associated with the font dialog. The default value is black.
2477 return _windows_
.FontData_GetColour(*args
, **kwargs
)
2479 def GetChosenFont(*args
, **kwargs
):
2481 GetChosenFont(self) -> Font
2483 Gets the font chosen by the user.
2485 return _windows_
.FontData_GetChosenFont(*args
, **kwargs
)
2487 def GetEnableEffects(*args
, **kwargs
):
2489 GetEnableEffects(self) -> bool
2491 Determines whether 'effects' are enabled under Windows.
2493 return _windows_
.FontData_GetEnableEffects(*args
, **kwargs
)
2495 def GetInitialFont(*args
, **kwargs
):
2497 GetInitialFont(self) -> Font
2499 Gets the font that will be initially used by the font dialog. This should have
2500 previously been set by the application.
2502 return _windows_
.FontData_GetInitialFont(*args
, **kwargs
)
2504 def GetShowHelp(*args
, **kwargs
):
2506 GetShowHelp(self) -> bool
2508 Returns true if the Help button will be shown (Windows only). The default
2511 return _windows_
.FontData_GetShowHelp(*args
, **kwargs
)
2513 def SetAllowSymbols(*args
, **kwargs
):
2515 SetAllowSymbols(self, bool allowSymbols)
2517 Under MS Windows, determines whether symbol fonts can be selected. Has no
2518 effect on other platforms. The default value is true.
2520 return _windows_
.FontData_SetAllowSymbols(*args
, **kwargs
)
2522 def SetChosenFont(*args
, **kwargs
):
2524 SetChosenFont(self, Font font)
2526 Sets the font that will be returned to the user (for internal use only).
2528 return _windows_
.FontData_SetChosenFont(*args
, **kwargs
)
2530 def SetColour(*args
, **kwargs
):
2532 SetColour(self, Colour colour)
2534 Sets the colour that will be used for the font foreground colour. The default
2537 return _windows_
.FontData_SetColour(*args
, **kwargs
)
2539 def SetInitialFont(*args
, **kwargs
):
2541 SetInitialFont(self, Font font)
2543 Sets the font that will be initially used by the font dialog.
2545 return _windows_
.FontData_SetInitialFont(*args
, **kwargs
)
2547 def SetRange(*args
, **kwargs
):
2549 SetRange(self, int min, int max)
2551 Sets the valid range for the font point size (Windows only). The default is
2552 0, 0 (unrestricted range).
2554 return _windows_
.FontData_SetRange(*args
, **kwargs
)
2556 def SetShowHelp(*args
, **kwargs
):
2558 SetShowHelp(self, bool showHelp)
2560 Determines whether the Help button will be displayed in the font dialog
2561 (Windows only). The default value is false.
2563 return _windows_
.FontData_SetShowHelp(*args
, **kwargs
)
2566 class FontDataPtr(FontData
):
2567 def __init__(self
, this
):
2569 if not hasattr(self
,"thisown"): self
.thisown
= 0
2570 self
.__class
__ = FontData
2571 _windows_
.FontData_swigregister(FontDataPtr
)
2573 class FontDialog(Dialog
):
2574 """This class represents the font chooser dialog."""
2576 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2577 def __init__(self
, *args
, **kwargs
):
2579 __init__(self, Window parent, FontData data) -> FontDialog
2581 Constructor. Pass a parent window and the FontData object to be
2582 used to initialize the dialog controls.
2584 newobj
= _windows_
.new_FontDialog(*args
, **kwargs
)
2585 self
.this
= newobj
.this
2588 self
._setOORInfo
(self
)
2590 def GetFontData(*args
, **kwargs
):
2592 GetFontData(self) -> FontData
2594 Returns a reference to the internal FontData used by the FontDialog.
2596 return _windows_
.FontDialog_GetFontData(*args
, **kwargs
)
2599 class FontDialogPtr(FontDialog
):
2600 def __init__(self
, this
):
2602 if not hasattr(self
,"thisown"): self
.thisown
= 0
2603 self
.__class
__ = FontDialog
2604 _windows_
.FontDialog_swigregister(FontDialogPtr
)
2606 class MessageDialog(Dialog
):
2608 This class provides a dialog that shows a single or multi-line message, with
2609 a choice of OK, Yes, No and Cancel buttons.
2612 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2613 def __init__(self
, *args
, **kwargs
):
2615 __init__(self, Window parent, String message, String caption=MessageBoxCaptionStr,
2616 long style=wxOK|wxCANCEL|wxCENTRE,
2617 Point pos=DefaultPosition) -> MessageDialog
2619 This class provides a dialog that shows a single or multi-line message, with
2620 a choice of OK, Yes, No and Cancel buttons.
2622 newobj
= _windows_
.new_MessageDialog(*args
, **kwargs
)
2623 self
.this
= newobj
.this
2626 self
._setOORInfo
(self
)
2629 class MessageDialogPtr(MessageDialog
):
2630 def __init__(self
, this
):
2632 if not hasattr(self
,"thisown"): self
.thisown
= 0
2633 self
.__class
__ = MessageDialog
2634 _windows_
.MessageDialog_swigregister(MessageDialogPtr
)
2636 class ProgressDialog(Frame
):
2638 A dialog that shows a short message and a progress bar. Optionally, it can
2639 display an ABORT button.
2642 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2643 def __init__(self
, *args
, **kwargs
):
2645 __init__(self, String title, String message, int maximum=100, Window parent=None,
2646 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
2648 Constructor. Creates the dialog, displays it and disables user input for other
2649 windows, or, if wxPD_APP_MODAL flag is not given, for its parent window only.
2651 newobj
= _windows_
.new_ProgressDialog(*args
, **kwargs
)
2652 self
.this
= newobj
.this
2655 self
._setOORInfo
(self
)
2657 def Update(*args
, **kwargs
):
2659 Update(self, int value, String newmsg=EmptyString) -> bool
2661 Updates the dialog, setting the progress bar to the new value and, if given
2662 changes the message above it. Returns true unless the Cancel button has been
2665 If false is returned, the application can either immediately destroy the
2666 dialog or ask the user for the confirmation and if the abort is not confirmed
2667 the dialog may be resumed with Resume function.
2669 return _windows_
.ProgressDialog_Update(*args
, **kwargs
)
2671 def Resume(*args
, **kwargs
):
2675 Can be used to continue with the dialog, after the user had chosen to abort.
2677 return _windows_
.ProgressDialog_Resume(*args
, **kwargs
)
2680 class ProgressDialogPtr(ProgressDialog
):
2681 def __init__(self
, this
):
2683 if not hasattr(self
,"thisown"): self
.thisown
= 0
2684 self
.__class
__ = ProgressDialog
2685 _windows_
.ProgressDialog_swigregister(ProgressDialogPtr
)
2687 FR_DOWN
= _windows_
.FR_DOWN
2688 FR_WHOLEWORD
= _windows_
.FR_WHOLEWORD
2689 FR_MATCHCASE
= _windows_
.FR_MATCHCASE
2690 FR_REPLACEDIALOG
= _windows_
.FR_REPLACEDIALOG
2691 FR_NOUPDOWN
= _windows_
.FR_NOUPDOWN
2692 FR_NOMATCHCASE
= _windows_
.FR_NOMATCHCASE
2693 FR_NOWHOLEWORD
= _windows_
.FR_NOWHOLEWORD
2694 wxEVT_COMMAND_FIND
= _windows_
.wxEVT_COMMAND_FIND
2695 wxEVT_COMMAND_FIND_NEXT
= _windows_
.wxEVT_COMMAND_FIND_NEXT
2696 wxEVT_COMMAND_FIND_REPLACE
= _windows_
.wxEVT_COMMAND_FIND_REPLACE
2697 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows_
.wxEVT_COMMAND_FIND_REPLACE_ALL
2698 wxEVT_COMMAND_FIND_CLOSE
= _windows_
.wxEVT_COMMAND_FIND_CLOSE
2699 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
2700 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
2701 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
2702 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
2703 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
2705 # For backwards compatibility. Should they be removed?
2706 EVT_COMMAND_FIND
= EVT_FIND
2707 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
2708 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
2709 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
2710 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
2712 class FindDialogEvent(_core
.CommandEvent
):
2713 """Events for the FindReplaceDialog"""
2715 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2716 def __init__(self
, *args
, **kwargs
):
2718 __init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent
2720 Events for the FindReplaceDialog
2722 newobj
= _windows_
.new_FindDialogEvent(*args
, **kwargs
)
2723 self
.this
= newobj
.this
2726 def GetFlags(*args
, **kwargs
):
2728 GetFlags(self) -> int
2730 Get the currently selected flags: this is the combination of
2731 wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.
2733 return _windows_
.FindDialogEvent_GetFlags(*args
, **kwargs
)
2735 def GetFindString(*args
, **kwargs
):
2737 GetFindString(self) -> String
2739 Return the string to find (never empty).
2741 return _windows_
.FindDialogEvent_GetFindString(*args
, **kwargs
)
2743 def GetReplaceString(*args
, **kwargs
):
2745 GetReplaceString(self) -> String
2747 Return the string to replace the search string with (only
2748 for replace and replace all events).
2750 return _windows_
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
2752 def GetDialog(*args
, **kwargs
):
2754 GetDialog(self) -> FindReplaceDialog
2756 Return the pointer to the dialog which generated this event.
2758 return _windows_
.FindDialogEvent_GetDialog(*args
, **kwargs
)
2760 def SetFlags(*args
, **kwargs
):
2761 """SetFlags(self, int flags)"""
2762 return _windows_
.FindDialogEvent_SetFlags(*args
, **kwargs
)
2764 def SetFindString(*args
, **kwargs
):
2765 """SetFindString(self, String str)"""
2766 return _windows_
.FindDialogEvent_SetFindString(*args
, **kwargs
)
2768 def SetReplaceString(*args
, **kwargs
):
2769 """SetReplaceString(self, String str)"""
2770 return _windows_
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
2773 class FindDialogEventPtr(FindDialogEvent
):
2774 def __init__(self
, this
):
2776 if not hasattr(self
,"thisown"): self
.thisown
= 0
2777 self
.__class
__ = FindDialogEvent
2778 _windows_
.FindDialogEvent_swigregister(FindDialogEventPtr
)
2780 class FindReplaceData(_core
.Object
):
2782 FindReplaceData holds the data for FindReplaceDialog. It is used to initialize
2783 the dialog with the default values and will keep the last values from the
2784 dialog when it is closed. It is also updated each time a wxFindDialogEvent is
2785 generated so instead of using the wxFindDialogEvent methods you can also
2786 directly query this object.
2788 Note that all SetXXX() methods may only be called before showing the dialog
2789 and calling them has no effect later.
2792 wxFR_DOWN: downward search/replace selected (otherwise, upwards)
2794 wxFR_WHOLEWORD: whole word search/replace selected
2796 wxFR_MATCHCASE: case sensitive search/replace selected (otherwise,
2801 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2802 def __init__(self
, *args
, **kwargs
):
2804 __init__(self, int flags=0) -> FindReplaceData
2806 Constuctor initializes the flags to default value (0).
2808 newobj
= _windows_
.new_FindReplaceData(*args
, **kwargs
)
2809 self
.this
= newobj
.this
2812 def __del__(self
, destroy
=_windows_
.delete_FindReplaceData
):
2815 if self
.thisown
: destroy(self
)
2818 def GetFindString(*args
, **kwargs
):
2820 GetFindString(self) -> String
2822 Get the string to find.
2824 return _windows_
.FindReplaceData_GetFindString(*args
, **kwargs
)
2826 def GetReplaceString(*args
, **kwargs
):
2828 GetReplaceString(self) -> String
2830 Get the replacement string.
2832 return _windows_
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
2834 def GetFlags(*args
, **kwargs
):
2836 GetFlags(self) -> int
2838 Get the combination of flag values.
2840 return _windows_
.FindReplaceData_GetFlags(*args
, **kwargs
)
2842 def SetFlags(*args
, **kwargs
):
2844 SetFlags(self, int flags)
2846 Set the flags to use to initialize the controls of the dialog.
2848 return _windows_
.FindReplaceData_SetFlags(*args
, **kwargs
)
2850 def SetFindString(*args
, **kwargs
):
2852 SetFindString(self, String str)
2854 Set the string to find (used as initial value by the dialog).
2856 return _windows_
.FindReplaceData_SetFindString(*args
, **kwargs
)
2858 def SetReplaceString(*args
, **kwargs
):
2860 SetReplaceString(self, String str)
2862 Set the replacement string (used as initial value by the dialog).
2864 return _windows_
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
2867 class FindReplaceDataPtr(FindReplaceData
):
2868 def __init__(self
, this
):
2870 if not hasattr(self
,"thisown"): self
.thisown
= 0
2871 self
.__class
__ = FindReplaceData
2872 _windows_
.FindReplaceData_swigregister(FindReplaceDataPtr
)
2874 class FindReplaceDialog(Dialog
):
2876 FindReplaceDialog is a standard modeless dialog which is used to allow the
2877 user to search for some text (and possibly replace it with something
2878 else). The actual searching is supposed to be done in the owner window which
2879 is the parent of this dialog. Note that it means that unlike for the other
2880 standard dialogs this one must have a parent window. Also note that there is
2881 no way to use this dialog in a modal way; it is always, by design and
2882 implementation, modeless.
2885 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2886 def __init__(self
, *args
, **kwargs
):
2888 __init__(self, Window parent, FindReplaceData data, String title,
2889 int style=0) -> FindReplaceDialog
2891 Create a FindReplaceDialog. The parent and data parameters must be
2892 non-None. Use Show to display the dialog.
2894 newobj
= _windows_
.new_FindReplaceDialog(*args
, **kwargs
)
2895 self
.this
= newobj
.this
2898 self
._setOORInfo
(self
)
2900 def Create(*args
, **kwargs
):
2902 Create(self, Window parent, FindReplaceData data, String title,
2903 int style=0) -> bool
2905 Create the dialog, for 2-phase create.
2907 return _windows_
.FindReplaceDialog_Create(*args
, **kwargs
)
2909 def GetData(*args
, **kwargs
):
2911 GetData(self) -> FindReplaceData
2913 Get the FindReplaceData object used by this dialog.
2915 return _windows_
.FindReplaceDialog_GetData(*args
, **kwargs
)
2917 def SetData(*args
, **kwargs
):
2919 SetData(self, FindReplaceData data)
2921 Set the FindReplaceData object used by this dialog.
2923 return _windows_
.FindReplaceDialog_SetData(*args
, **kwargs
)
2926 class FindReplaceDialogPtr(FindReplaceDialog
):
2927 def __init__(self
, this
):
2929 if not hasattr(self
,"thisown"): self
.thisown
= 0
2930 self
.__class
__ = FindReplaceDialog
2931 _windows_
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
2933 def PreFindReplaceDialog(*args
, **kwargs
):
2935 PreFindReplaceDialog() -> FindReplaceDialog
2937 Precreate a FindReplaceDialog for 2-phase creation
2939 val
= _windows_
.new_PreFindReplaceDialog(*args
, **kwargs
)
2943 #---------------------------------------------------------------------------
2945 IDM_WINDOWTILE
= _windows_
.IDM_WINDOWTILE
2946 IDM_WINDOWTILEHOR
= _windows_
.IDM_WINDOWTILEHOR
2947 IDM_WINDOWCASCADE
= _windows_
.IDM_WINDOWCASCADE
2948 IDM_WINDOWICONS
= _windows_
.IDM_WINDOWICONS
2949 IDM_WINDOWNEXT
= _windows_
.IDM_WINDOWNEXT
2950 IDM_WINDOWTILEVERT
= _windows_
.IDM_WINDOWTILEVERT
2951 FIRST_MDI_CHILD
= _windows_
.FIRST_MDI_CHILD
2952 LAST_MDI_CHILD
= _windows_
.LAST_MDI_CHILD
2953 class MDIParentFrame(Frame
):
2955 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2956 def __init__(self
, *args
, **kwargs
):
2958 __init__(self, Window parent, int id, String title, Point pos=DefaultPosition,
2959 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2960 String name=FrameNameStr) -> MDIParentFrame
2962 newobj
= _windows_
.new_MDIParentFrame(*args
, **kwargs
)
2963 self
.this
= newobj
.this
2966 self
._setOORInfo
(self
)
2968 def Create(*args
, **kwargs
):
2970 Create(self, Window parent, int id, String title, Point pos=DefaultPosition,
2971 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2972 String name=FrameNameStr) -> bool
2974 return _windows_
.MDIParentFrame_Create(*args
, **kwargs
)
2976 def ActivateNext(*args
, **kwargs
):
2977 """ActivateNext(self)"""
2978 return _windows_
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
2980 def ActivatePrevious(*args
, **kwargs
):
2981 """ActivatePrevious(self)"""
2982 return _windows_
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
2984 def ArrangeIcons(*args
, **kwargs
):
2985 """ArrangeIcons(self)"""
2986 return _windows_
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
2988 def Cascade(*args
, **kwargs
):
2990 return _windows_
.MDIParentFrame_Cascade(*args
, **kwargs
)
2992 def GetActiveChild(*args
, **kwargs
):
2993 """GetActiveChild(self) -> MDIChildFrame"""
2994 return _windows_
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
2996 def GetClientWindow(*args
, **kwargs
):
2997 """GetClientWindow(self) -> MDIClientWindow"""
2998 return _windows_
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
3000 def GetToolBar(*args
, **kwargs
):
3001 """GetToolBar(self) -> Window"""
3002 return _windows_
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
3004 def GetWindowMenu(*args
, **kwargs
):
3005 """GetWindowMenu(self) -> Menu"""
3006 return _windows_
.MDIParentFrame_GetWindowMenu(*args
, **kwargs
)
3008 def SetWindowMenu(*args
, **kwargs
):
3009 """SetWindowMenu(self, Menu menu)"""
3010 return _windows_
.MDIParentFrame_SetWindowMenu(*args
, **kwargs
)
3012 def SetToolBar(*args
, **kwargs
):
3013 """SetToolBar(self, wxToolBar toolbar)"""
3014 return _windows_
.MDIParentFrame_SetToolBar(*args
, **kwargs
)
3016 def Tile(*args
, **kwargs
):
3018 return _windows_
.MDIParentFrame_Tile(*args
, **kwargs
)
3021 class MDIParentFramePtr(MDIParentFrame
):
3022 def __init__(self
, this
):
3024 if not hasattr(self
,"thisown"): self
.thisown
= 0
3025 self
.__class
__ = MDIParentFrame
3026 _windows_
.MDIParentFrame_swigregister(MDIParentFramePtr
)
3028 def PreMDIParentFrame(*args
, **kwargs
):
3029 """PreMDIParentFrame() -> MDIParentFrame"""
3030 val
= _windows_
.new_PreMDIParentFrame(*args
, **kwargs
)
3034 class MDIChildFrame(Frame
):
3036 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3037 def __init__(self
, *args
, **kwargs
):
3039 __init__(self, MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
3040 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
3041 String name=FrameNameStr) -> MDIChildFrame
3043 newobj
= _windows_
.new_MDIChildFrame(*args
, **kwargs
)
3044 self
.this
= newobj
.this
3047 self
._setOORInfo
(self
)
3049 def Create(*args
, **kwargs
):
3051 Create(self, MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
3052 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
3053 String name=FrameNameStr) -> bool
3055 return _windows_
.MDIChildFrame_Create(*args
, **kwargs
)
3057 def Activate(*args
, **kwargs
):
3058 """Activate(self)"""
3059 return _windows_
.MDIChildFrame_Activate(*args
, **kwargs
)
3061 def Maximize(*args
, **kwargs
):
3062 """Maximize(self, bool maximize)"""
3063 return _windows_
.MDIChildFrame_Maximize(*args
, **kwargs
)
3065 def Restore(*args
, **kwargs
):
3067 return _windows_
.MDIChildFrame_Restore(*args
, **kwargs
)
3070 class MDIChildFramePtr(MDIChildFrame
):
3071 def __init__(self
, this
):
3073 if not hasattr(self
,"thisown"): self
.thisown
= 0
3074 self
.__class
__ = MDIChildFrame
3075 _windows_
.MDIChildFrame_swigregister(MDIChildFramePtr
)
3077 def PreMDIChildFrame(*args
, **kwargs
):
3078 """PreMDIChildFrame() -> MDIChildFrame"""
3079 val
= _windows_
.new_PreMDIChildFrame(*args
, **kwargs
)
3083 class MDIClientWindow(_core
.Window
):
3085 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3086 def __init__(self
, *args
, **kwargs
):
3087 """__init__(self, MDIParentFrame parent, long style=0) -> MDIClientWindow"""
3088 newobj
= _windows_
.new_MDIClientWindow(*args
, **kwargs
)
3089 self
.this
= newobj
.this
3092 self
._setOORInfo
(self
)
3094 def Create(*args
, **kwargs
):
3095 """Create(self, MDIParentFrame parent, long style=0) -> bool"""
3096 return _windows_
.MDIClientWindow_Create(*args
, **kwargs
)
3099 class MDIClientWindowPtr(MDIClientWindow
):
3100 def __init__(self
, this
):
3102 if not hasattr(self
,"thisown"): self
.thisown
= 0
3103 self
.__class
__ = MDIClientWindow
3104 _windows_
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
3106 def PreMDIClientWindow(*args
, **kwargs
):
3107 """PreMDIClientWindow() -> MDIClientWindow"""
3108 val
= _windows_
.new_PreMDIClientWindow(*args
, **kwargs
)
3112 #---------------------------------------------------------------------------
3114 class PyWindow(_core
.Window
):
3116 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3117 def __init__(self
, *args
, **kwargs
):
3119 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
3120 long style=0, String name=PanelNameStr) -> PyWindow
3122 newobj
= _windows_
.new_PyWindow(*args
, **kwargs
)
3123 self
.this
= newobj
.this
3126 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
3128 def _setCallbackInfo(*args
, **kwargs
):
3129 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3130 return _windows_
.PyWindow__setCallbackInfo(*args
, **kwargs
)
3132 def base_DoMoveWindow(*args
, **kwargs
):
3133 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3134 return _windows_
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
3136 def base_DoSetSize(*args
, **kwargs
):
3137 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3138 return _windows_
.PyWindow_base_DoSetSize(*args
, **kwargs
)
3140 def base_DoSetClientSize(*args
, **kwargs
):
3141 """base_DoSetClientSize(self, int width, int height)"""
3142 return _windows_
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
3144 def base_DoSetVirtualSize(*args
, **kwargs
):
3145 """base_DoSetVirtualSize(self, int x, int y)"""
3146 return _windows_
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
3148 def base_DoGetSize(*args
, **kwargs
):
3149 """base_DoGetSize() -> (width, height)"""
3150 return _windows_
.PyWindow_base_DoGetSize(*args
, **kwargs
)
3152 def base_DoGetClientSize(*args
, **kwargs
):
3153 """base_DoGetClientSize() -> (width, height)"""
3154 return _windows_
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
3156 def base_DoGetPosition(*args
, **kwargs
):
3157 """base_DoGetPosition() -> (x,y)"""
3158 return _windows_
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
3160 def base_DoGetVirtualSize(*args
, **kwargs
):
3161 """base_DoGetVirtualSize(self) -> Size"""
3162 return _windows_
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
3164 def base_DoGetBestSize(*args
, **kwargs
):
3165 """base_DoGetBestSize(self) -> Size"""
3166 return _windows_
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
3168 def base_InitDialog(*args
, **kwargs
):
3169 """base_InitDialog(self)"""
3170 return _windows_
.PyWindow_base_InitDialog(*args
, **kwargs
)
3172 def base_TransferDataToWindow(*args
, **kwargs
):
3173 """base_TransferDataToWindow(self) -> bool"""
3174 return _windows_
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
3176 def base_TransferDataFromWindow(*args
, **kwargs
):
3177 """base_TransferDataFromWindow(self) -> bool"""
3178 return _windows_
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
3180 def base_Validate(*args
, **kwargs
):
3181 """base_Validate(self) -> bool"""
3182 return _windows_
.PyWindow_base_Validate(*args
, **kwargs
)
3184 def base_AcceptsFocus(*args
, **kwargs
):
3185 """base_AcceptsFocus(self) -> bool"""
3186 return _windows_
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
3188 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3189 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3190 return _windows_
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3192 def base_GetMaxSize(*args
, **kwargs
):
3193 """base_GetMaxSize(self) -> Size"""
3194 return _windows_
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
3196 def base_AddChild(*args
, **kwargs
):
3197 """base_AddChild(self, Window child)"""
3198 return _windows_
.PyWindow_base_AddChild(*args
, **kwargs
)
3200 def base_RemoveChild(*args
, **kwargs
):
3201 """base_RemoveChild(self, Window child)"""
3202 return _windows_
.PyWindow_base_RemoveChild(*args
, **kwargs
)
3204 def base_ShouldInheritColours(*args
, **kwargs
):
3205 """base_ShouldInheritColours(self) -> bool"""
3206 return _windows_
.PyWindow_base_ShouldInheritColours(*args
, **kwargs
)
3208 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3209 """base_ApplyParentThemeBackground(self, Colour c)"""
3210 return _windows_
.PyWindow_base_ApplyParentThemeBackground(*args
, **kwargs
)
3213 class PyWindowPtr(PyWindow
):
3214 def __init__(self
, this
):
3216 if not hasattr(self
,"thisown"): self
.thisown
= 0
3217 self
.__class
__ = PyWindow
3218 _windows_
.PyWindow_swigregister(PyWindowPtr
)
3220 def PrePyWindow(*args
, **kwargs
):
3221 """PrePyWindow() -> PyWindow"""
3222 val
= _windows_
.new_PrePyWindow(*args
, **kwargs
)
3226 class PyPanel(Panel
):
3228 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3229 def __init__(self
, *args
, **kwargs
):
3231 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
3232 long style=0, String name=PanelNameStr) -> PyPanel
3234 newobj
= _windows_
.new_PyPanel(*args
, **kwargs
)
3235 self
.this
= newobj
.this
3238 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3240 def _setCallbackInfo(*args
, **kwargs
):
3241 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3242 return _windows_
.PyPanel__setCallbackInfo(*args
, **kwargs
)
3244 def base_DoMoveWindow(*args
, **kwargs
):
3245 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3246 return _windows_
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
3248 def base_DoSetSize(*args
, **kwargs
):
3249 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3250 return _windows_
.PyPanel_base_DoSetSize(*args
, **kwargs
)
3252 def base_DoSetClientSize(*args
, **kwargs
):
3253 """base_DoSetClientSize(self, int width, int height)"""
3254 return _windows_
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
3256 def base_DoSetVirtualSize(*args
, **kwargs
):
3257 """base_DoSetVirtualSize(self, int x, int y)"""
3258 return _windows_
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
3260 def base_DoGetSize(*args
, **kwargs
):
3261 """base_DoGetSize() -> (width, height)"""
3262 return _windows_
.PyPanel_base_DoGetSize(*args
, **kwargs
)
3264 def base_DoGetClientSize(*args
, **kwargs
):
3265 """base_DoGetClientSize() -> (width, height)"""
3266 return _windows_
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
3268 def base_DoGetPosition(*args
, **kwargs
):
3269 """base_DoGetPosition() -> (x,y)"""
3270 return _windows_
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
3272 def base_DoGetVirtualSize(*args
, **kwargs
):
3273 """base_DoGetVirtualSize(self) -> Size"""
3274 return _windows_
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
3276 def base_DoGetBestSize(*args
, **kwargs
):
3277 """base_DoGetBestSize(self) -> Size"""
3278 return _windows_
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
3280 def base_InitDialog(*args
, **kwargs
):
3281 """base_InitDialog(self)"""
3282 return _windows_
.PyPanel_base_InitDialog(*args
, **kwargs
)
3284 def base_TransferDataToWindow(*args
, **kwargs
):
3285 """base_TransferDataToWindow(self) -> bool"""
3286 return _windows_
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
3288 def base_TransferDataFromWindow(*args
, **kwargs
):
3289 """base_TransferDataFromWindow(self) -> bool"""
3290 return _windows_
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
3292 def base_Validate(*args
, **kwargs
):
3293 """base_Validate(self) -> bool"""
3294 return _windows_
.PyPanel_base_Validate(*args
, **kwargs
)
3296 def base_AcceptsFocus(*args
, **kwargs
):
3297 """base_AcceptsFocus(self) -> bool"""
3298 return _windows_
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
3300 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3301 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3302 return _windows_
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3304 def base_GetMaxSize(*args
, **kwargs
):
3305 """base_GetMaxSize(self) -> Size"""
3306 return _windows_
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
3308 def base_AddChild(*args
, **kwargs
):
3309 """base_AddChild(self, Window child)"""
3310 return _windows_
.PyPanel_base_AddChild(*args
, **kwargs
)
3312 def base_RemoveChild(*args
, **kwargs
):
3313 """base_RemoveChild(self, Window child)"""
3314 return _windows_
.PyPanel_base_RemoveChild(*args
, **kwargs
)
3316 def base_ShouldInheritColours(*args
, **kwargs
):
3317 """base_ShouldInheritColours(self) -> bool"""
3318 return _windows_
.PyPanel_base_ShouldInheritColours(*args
, **kwargs
)
3320 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3321 """base_ApplyParentThemeBackground(self, Colour c)"""
3322 return _windows_
.PyPanel_base_ApplyParentThemeBackground(*args
, **kwargs
)
3325 class PyPanelPtr(PyPanel
):
3326 def __init__(self
, this
):
3328 if not hasattr(self
,"thisown"): self
.thisown
= 0
3329 self
.__class
__ = PyPanel
3330 _windows_
.PyPanel_swigregister(PyPanelPtr
)
3332 def PrePyPanel(*args
, **kwargs
):
3333 """PrePyPanel() -> PyPanel"""
3334 val
= _windows_
.new_PrePyPanel(*args
, **kwargs
)
3338 class PyScrolledWindow(ScrolledWindow
):
3340 return "<%s.%s; proxy of C++ wxPyScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3341 def __init__(self
, *args
, **kwargs
):
3343 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
3344 long style=0, String name=PanelNameStr) -> PyScrolledWindow
3346 newobj
= _windows_
.new_PyScrolledWindow(*args
, **kwargs
)
3347 self
.this
= newobj
.this
3350 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3352 def _setCallbackInfo(*args
, **kwargs
):
3353 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3354 return _windows_
.PyScrolledWindow__setCallbackInfo(*args
, **kwargs
)
3356 def base_DoMoveWindow(*args
, **kwargs
):
3357 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3358 return _windows_
.PyScrolledWindow_base_DoMoveWindow(*args
, **kwargs
)
3360 def base_DoSetSize(*args
, **kwargs
):
3361 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3362 return _windows_
.PyScrolledWindow_base_DoSetSize(*args
, **kwargs
)
3364 def base_DoSetClientSize(*args
, **kwargs
):
3365 """base_DoSetClientSize(self, int width, int height)"""
3366 return _windows_
.PyScrolledWindow_base_DoSetClientSize(*args
, **kwargs
)
3368 def base_DoSetVirtualSize(*args
, **kwargs
):
3369 """base_DoSetVirtualSize(self, int x, int y)"""
3370 return _windows_
.PyScrolledWindow_base_DoSetVirtualSize(*args
, **kwargs
)
3372 def base_DoGetSize(*args
, **kwargs
):
3373 """base_DoGetSize() -> (width, height)"""
3374 return _windows_
.PyScrolledWindow_base_DoGetSize(*args
, **kwargs
)
3376 def base_DoGetClientSize(*args
, **kwargs
):
3377 """base_DoGetClientSize() -> (width, height)"""
3378 return _windows_
.PyScrolledWindow_base_DoGetClientSize(*args
, **kwargs
)
3380 def base_DoGetPosition(*args
, **kwargs
):
3381 """base_DoGetPosition() -> (x,y)"""
3382 return _windows_
.PyScrolledWindow_base_DoGetPosition(*args
, **kwargs
)
3384 def base_DoGetVirtualSize(*args
, **kwargs
):
3385 """base_DoGetVirtualSize(self) -> Size"""
3386 return _windows_
.PyScrolledWindow_base_DoGetVirtualSize(*args
, **kwargs
)
3388 def base_DoGetBestSize(*args
, **kwargs
):
3389 """base_DoGetBestSize(self) -> Size"""
3390 return _windows_
.PyScrolledWindow_base_DoGetBestSize(*args
, **kwargs
)
3392 def base_InitDialog(*args
, **kwargs
):
3393 """base_InitDialog(self)"""
3394 return _windows_
.PyScrolledWindow_base_InitDialog(*args
, **kwargs
)
3396 def base_TransferDataToWindow(*args
, **kwargs
):
3397 """base_TransferDataToWindow(self) -> bool"""
3398 return _windows_
.PyScrolledWindow_base_TransferDataToWindow(*args
, **kwargs
)
3400 def base_TransferDataFromWindow(*args
, **kwargs
):
3401 """base_TransferDataFromWindow(self) -> bool"""
3402 return _windows_
.PyScrolledWindow_base_TransferDataFromWindow(*args
, **kwargs
)
3404 def base_Validate(*args
, **kwargs
):
3405 """base_Validate(self) -> bool"""
3406 return _windows_
.PyScrolledWindow_base_Validate(*args
, **kwargs
)
3408 def base_AcceptsFocus(*args
, **kwargs
):
3409 """base_AcceptsFocus(self) -> bool"""
3410 return _windows_
.PyScrolledWindow_base_AcceptsFocus(*args
, **kwargs
)
3412 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3413 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3414 return _windows_
.PyScrolledWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3416 def base_GetMaxSize(*args
, **kwargs
):
3417 """base_GetMaxSize(self) -> Size"""
3418 return _windows_
.PyScrolledWindow_base_GetMaxSize(*args
, **kwargs
)
3420 def base_AddChild(*args
, **kwargs
):
3421 """base_AddChild(self, Window child)"""
3422 return _windows_
.PyScrolledWindow_base_AddChild(*args
, **kwargs
)
3424 def base_RemoveChild(*args
, **kwargs
):
3425 """base_RemoveChild(self, Window child)"""
3426 return _windows_
.PyScrolledWindow_base_RemoveChild(*args
, **kwargs
)
3428 def base_ShouldInheritColours(*args
, **kwargs
):
3429 """base_ShouldInheritColours(self) -> bool"""
3430 return _windows_
.PyScrolledWindow_base_ShouldInheritColours(*args
, **kwargs
)
3432 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3433 """base_ApplyParentThemeBackground(self, Colour c)"""
3434 return _windows_
.PyScrolledWindow_base_ApplyParentThemeBackground(*args
, **kwargs
)
3437 class PyScrolledWindowPtr(PyScrolledWindow
):
3438 def __init__(self
, this
):
3440 if not hasattr(self
,"thisown"): self
.thisown
= 0
3441 self
.__class
__ = PyScrolledWindow
3442 _windows_
.PyScrolledWindow_swigregister(PyScrolledWindowPtr
)
3444 def PrePyScrolledWindow(*args
, **kwargs
):
3445 """PrePyScrolledWindow() -> PyScrolledWindow"""
3446 val
= _windows_
.new_PrePyScrolledWindow(*args
, **kwargs
)
3450 #---------------------------------------------------------------------------
3452 PRINT_MODE_NONE
= _windows_
.PRINT_MODE_NONE
3453 PRINT_MODE_PREVIEW
= _windows_
.PRINT_MODE_PREVIEW
3454 PRINT_MODE_FILE
= _windows_
.PRINT_MODE_FILE
3455 PRINT_MODE_PRINTER
= _windows_
.PRINT_MODE_PRINTER
3456 PRINT_MODE_STREAM
= _windows_
.PRINT_MODE_STREAM
3457 class PrintData(_core
.Object
):
3459 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3460 def __init__(self
, *args
, **kwargs
):
3461 """__init__(self) -> PrintData"""
3462 newobj
= _windows_
.new_PrintData(*args
, **kwargs
)
3463 self
.this
= newobj
.this
3466 def __del__(self
, destroy
=_windows_
.delete_PrintData
):
3469 if self
.thisown
: destroy(self
)
3472 def GetNoCopies(*args
, **kwargs
):
3473 """GetNoCopies(self) -> int"""
3474 return _windows_
.PrintData_GetNoCopies(*args
, **kwargs
)
3476 def GetCollate(*args
, **kwargs
):
3477 """GetCollate(self) -> bool"""
3478 return _windows_
.PrintData_GetCollate(*args
, **kwargs
)
3480 def GetOrientation(*args
, **kwargs
):
3481 """GetOrientation(self) -> int"""
3482 return _windows_
.PrintData_GetOrientation(*args
, **kwargs
)
3484 def Ok(*args
, **kwargs
):
3485 """Ok(self) -> bool"""
3486 return _windows_
.PrintData_Ok(*args
, **kwargs
)
3488 def GetPrinterName(*args
, **kwargs
):
3489 """GetPrinterName(self) -> String"""
3490 return _windows_
.PrintData_GetPrinterName(*args
, **kwargs
)
3492 def GetColour(*args
, **kwargs
):
3493 """GetColour(self) -> bool"""
3494 return _windows_
.PrintData_GetColour(*args
, **kwargs
)
3496 def GetDuplex(*args
, **kwargs
):
3497 """GetDuplex(self) -> int"""
3498 return _windows_
.PrintData_GetDuplex(*args
, **kwargs
)
3500 def GetPaperId(*args
, **kwargs
):
3501 """GetPaperId(self) -> int"""
3502 return _windows_
.PrintData_GetPaperId(*args
, **kwargs
)
3504 def GetPaperSize(*args
, **kwargs
):
3505 """GetPaperSize(self) -> Size"""
3506 return _windows_
.PrintData_GetPaperSize(*args
, **kwargs
)
3508 def GetQuality(*args
, **kwargs
):
3509 """GetQuality(self) -> int"""
3510 return _windows_
.PrintData_GetQuality(*args
, **kwargs
)
3512 def SetNoCopies(*args
, **kwargs
):
3513 """SetNoCopies(self, int v)"""
3514 return _windows_
.PrintData_SetNoCopies(*args
, **kwargs
)
3516 def SetCollate(*args
, **kwargs
):
3517 """SetCollate(self, bool flag)"""
3518 return _windows_
.PrintData_SetCollate(*args
, **kwargs
)
3520 def SetOrientation(*args
, **kwargs
):
3521 """SetOrientation(self, int orient)"""
3522 return _windows_
.PrintData_SetOrientation(*args
, **kwargs
)
3524 def SetPrinterName(*args
, **kwargs
):
3525 """SetPrinterName(self, String name)"""
3526 return _windows_
.PrintData_SetPrinterName(*args
, **kwargs
)
3528 def SetColour(*args
, **kwargs
):
3529 """SetColour(self, bool colour)"""
3530 return _windows_
.PrintData_SetColour(*args
, **kwargs
)
3532 def SetDuplex(*args
, **kwargs
):
3533 """SetDuplex(self, int duplex)"""
3534 return _windows_
.PrintData_SetDuplex(*args
, **kwargs
)
3536 def SetPaperId(*args
, **kwargs
):
3537 """SetPaperId(self, int sizeId)"""
3538 return _windows_
.PrintData_SetPaperId(*args
, **kwargs
)
3540 def SetPaperSize(*args
, **kwargs
):
3541 """SetPaperSize(self, Size sz)"""
3542 return _windows_
.PrintData_SetPaperSize(*args
, **kwargs
)
3544 def SetQuality(*args
, **kwargs
):
3545 """SetQuality(self, int quality)"""
3546 return _windows_
.PrintData_SetQuality(*args
, **kwargs
)
3548 def GetPrinterCommand(*args
, **kwargs
):
3549 """GetPrinterCommand(self) -> String"""
3550 return _windows_
.PrintData_GetPrinterCommand(*args
, **kwargs
)
3552 def GetPrinterOptions(*args
, **kwargs
):
3553 """GetPrinterOptions(self) -> String"""
3554 return _windows_
.PrintData_GetPrinterOptions(*args
, **kwargs
)
3556 def GetPreviewCommand(*args
, **kwargs
):
3557 """GetPreviewCommand(self) -> String"""
3558 return _windows_
.PrintData_GetPreviewCommand(*args
, **kwargs
)
3560 def GetFilename(*args
, **kwargs
):
3561 """GetFilename(self) -> String"""
3562 return _windows_
.PrintData_GetFilename(*args
, **kwargs
)
3564 def GetFontMetricPath(*args
, **kwargs
):
3565 """GetFontMetricPath(self) -> String"""
3566 return _windows_
.PrintData_GetFontMetricPath(*args
, **kwargs
)
3568 def GetPrinterScaleX(*args
, **kwargs
):
3569 """GetPrinterScaleX(self) -> double"""
3570 return _windows_
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
3572 def GetPrinterScaleY(*args
, **kwargs
):
3573 """GetPrinterScaleY(self) -> double"""
3574 return _windows_
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
3576 def GetPrinterTranslateX(*args
, **kwargs
):
3577 """GetPrinterTranslateX(self) -> long"""
3578 return _windows_
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
3580 def GetPrinterTranslateY(*args
, **kwargs
):
3581 """GetPrinterTranslateY(self) -> long"""
3582 return _windows_
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
3584 def GetPrintMode(*args
, **kwargs
):
3585 """GetPrintMode(self) -> int"""
3586 return _windows_
.PrintData_GetPrintMode(*args
, **kwargs
)
3588 def SetPrinterCommand(*args
, **kwargs
):
3589 """SetPrinterCommand(self, String command)"""
3590 return _windows_
.PrintData_SetPrinterCommand(*args
, **kwargs
)
3592 def SetPrinterOptions(*args
, **kwargs
):
3593 """SetPrinterOptions(self, String options)"""
3594 return _windows_
.PrintData_SetPrinterOptions(*args
, **kwargs
)
3596 def SetPreviewCommand(*args
, **kwargs
):
3597 """SetPreviewCommand(self, String command)"""
3598 return _windows_
.PrintData_SetPreviewCommand(*args
, **kwargs
)
3600 def SetFilename(*args
, **kwargs
):
3601 """SetFilename(self, String filename)"""
3602 return _windows_
.PrintData_SetFilename(*args
, **kwargs
)
3604 def SetFontMetricPath(*args
, **kwargs
):
3605 """SetFontMetricPath(self, String path)"""
3606 return _windows_
.PrintData_SetFontMetricPath(*args
, **kwargs
)
3608 def SetPrinterScaleX(*args
, **kwargs
):
3609 """SetPrinterScaleX(self, double x)"""
3610 return _windows_
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
3612 def SetPrinterScaleY(*args
, **kwargs
):
3613 """SetPrinterScaleY(self, double y)"""
3614 return _windows_
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
3616 def SetPrinterScaling(*args
, **kwargs
):
3617 """SetPrinterScaling(self, double x, double y)"""
3618 return _windows_
.PrintData_SetPrinterScaling(*args
, **kwargs
)
3620 def SetPrinterTranslateX(*args
, **kwargs
):
3621 """SetPrinterTranslateX(self, long x)"""
3622 return _windows_
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
3624 def SetPrinterTranslateY(*args
, **kwargs
):
3625 """SetPrinterTranslateY(self, long y)"""
3626 return _windows_
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
3628 def SetPrinterTranslation(*args
, **kwargs
):
3629 """SetPrinterTranslation(self, long x, long y)"""
3630 return _windows_
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
3632 def SetPrintMode(*args
, **kwargs
):
3633 """SetPrintMode(self, int printMode)"""
3634 return _windows_
.PrintData_SetPrintMode(*args
, **kwargs
)
3636 def GetOutputStream(*args
, **kwargs
):
3637 """GetOutputStream(self) -> OutputStream"""
3638 return _windows_
.PrintData_GetOutputStream(*args
, **kwargs
)
3640 def SetOutputStream(*args
, **kwargs
):
3641 """SetOutputStream(self, OutputStream outputstream)"""
3642 return _windows_
.PrintData_SetOutputStream(*args
, **kwargs
)
3644 def __nonzero__(self
): return self
.Ok()
3646 class PrintDataPtr(PrintData
):
3647 def __init__(self
, this
):
3649 if not hasattr(self
,"thisown"): self
.thisown
= 0
3650 self
.__class
__ = PrintData
3651 _windows_
.PrintData_swigregister(PrintDataPtr
)
3652 PrintoutTitleStr
= cvar
.PrintoutTitleStr
3653 PreviewCanvasNameStr
= cvar
.PreviewCanvasNameStr
3655 class PageSetupDialogData(_core
.Object
):
3657 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3658 def __init__(self
, *args
, **kwargs
):
3659 """__init__(self) -> PageSetupDialogData"""
3660 newobj
= _windows_
.new_PageSetupDialogData(*args
, **kwargs
)
3661 self
.this
= newobj
.this
3664 def __del__(self
, destroy
=_windows_
.delete_PageSetupDialogData
):
3667 if self
.thisown
: destroy(self
)
3670 def EnableHelp(*args
, **kwargs
):
3671 """EnableHelp(self, bool flag)"""
3672 return _windows_
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
3674 def EnableMargins(*args
, **kwargs
):
3675 """EnableMargins(self, bool flag)"""
3676 return _windows_
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
3678 def EnableOrientation(*args
, **kwargs
):
3679 """EnableOrientation(self, bool flag)"""
3680 return _windows_
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
3682 def EnablePaper(*args
, **kwargs
):
3683 """EnablePaper(self, bool flag)"""
3684 return _windows_
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
3686 def EnablePrinter(*args
, **kwargs
):
3687 """EnablePrinter(self, bool flag)"""
3688 return _windows_
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
3690 def GetDefaultMinMargins(*args
, **kwargs
):
3691 """GetDefaultMinMargins(self) -> bool"""
3692 return _windows_
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
3694 def GetEnableMargins(*args
, **kwargs
):
3695 """GetEnableMargins(self) -> bool"""
3696 return _windows_
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
3698 def GetEnableOrientation(*args
, **kwargs
):
3699 """GetEnableOrientation(self) -> bool"""
3700 return _windows_
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
3702 def GetEnablePaper(*args
, **kwargs
):
3703 """GetEnablePaper(self) -> bool"""
3704 return _windows_
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
3706 def GetEnablePrinter(*args
, **kwargs
):
3707 """GetEnablePrinter(self) -> bool"""
3708 return _windows_
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
3710 def GetEnableHelp(*args
, **kwargs
):
3711 """GetEnableHelp(self) -> bool"""
3712 return _windows_
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
3714 def GetDefaultInfo(*args
, **kwargs
):
3715 """GetDefaultInfo(self) -> bool"""
3716 return _windows_
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
3718 def GetMarginTopLeft(*args
, **kwargs
):
3719 """GetMarginTopLeft(self) -> Point"""
3720 return _windows_
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
3722 def GetMarginBottomRight(*args
, **kwargs
):
3723 """GetMarginBottomRight(self) -> Point"""
3724 return _windows_
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
3726 def GetMinMarginTopLeft(*args
, **kwargs
):
3727 """GetMinMarginTopLeft(self) -> Point"""
3728 return _windows_
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
3730 def GetMinMarginBottomRight(*args
, **kwargs
):
3731 """GetMinMarginBottomRight(self) -> Point"""
3732 return _windows_
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
3734 def GetPaperId(*args
, **kwargs
):
3735 """GetPaperId(self) -> int"""
3736 return _windows_
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
3738 def GetPaperSize(*args
, **kwargs
):
3739 """GetPaperSize(self) -> Size"""
3740 return _windows_
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
3742 def GetPrintData(*args
, **kwargs
):
3743 """GetPrintData(self) -> PrintData"""
3744 return _windows_
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
3746 def Ok(*args
, **kwargs
):
3747 """Ok(self) -> bool"""
3748 return _windows_
.PageSetupDialogData_Ok(*args
, **kwargs
)
3750 def SetDefaultInfo(*args
, **kwargs
):
3751 """SetDefaultInfo(self, bool flag)"""
3752 return _windows_
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
3754 def SetDefaultMinMargins(*args
, **kwargs
):
3755 """SetDefaultMinMargins(self, bool flag)"""
3756 return _windows_
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
3758 def SetMarginTopLeft(*args
, **kwargs
):
3759 """SetMarginTopLeft(self, Point pt)"""
3760 return _windows_
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
3762 def SetMarginBottomRight(*args
, **kwargs
):
3763 """SetMarginBottomRight(self, Point pt)"""
3764 return _windows_
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
3766 def SetMinMarginTopLeft(*args
, **kwargs
):
3767 """SetMinMarginTopLeft(self, Point pt)"""
3768 return _windows_
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
3770 def SetMinMarginBottomRight(*args
, **kwargs
):
3771 """SetMinMarginBottomRight(self, Point pt)"""
3772 return _windows_
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
3774 def SetPaperId(*args
, **kwargs
):
3775 """SetPaperId(self, int id)"""
3776 return _windows_
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
3778 def SetPaperSize(*args
, **kwargs
):
3779 """SetPaperSize(self, Size size)"""
3780 return _windows_
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
3782 def SetPrintData(*args
, **kwargs
):
3783 """SetPrintData(self, PrintData printData)"""
3784 return _windows_
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
3786 def __nonzero__(self
): return self
.Ok()
3788 class PageSetupDialogDataPtr(PageSetupDialogData
):
3789 def __init__(self
, this
):
3791 if not hasattr(self
,"thisown"): self
.thisown
= 0
3792 self
.__class
__ = PageSetupDialogData
3793 _windows_
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
3795 class PageSetupDialog(Dialog
):
3797 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3798 def __init__(self
, *args
, **kwargs
):
3799 """__init__(self, Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
3800 newobj
= _windows_
.new_PageSetupDialog(*args
, **kwargs
)
3801 self
.this
= newobj
.this
3804 self
._setOORInfo
(self
)
3806 def GetPageSetupData(*args
, **kwargs
):
3807 """GetPageSetupData(self) -> PageSetupDialogData"""
3808 return _windows_
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
3810 def ShowModal(*args
, **kwargs
):
3811 """ShowModal(self) -> int"""
3812 return _windows_
.PageSetupDialog_ShowModal(*args
, **kwargs
)
3815 class PageSetupDialogPtr(PageSetupDialog
):
3816 def __init__(self
, this
):
3818 if not hasattr(self
,"thisown"): self
.thisown
= 0
3819 self
.__class
__ = PageSetupDialog
3820 _windows_
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
3822 class PrintDialogData(_core
.Object
):
3824 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3825 def __init__(self
, *args
):
3827 __init__(self) -> PrintDialogData
3828 __init__(self, PrintData printData) -> PrintDialogData
3830 newobj
= _windows_
.new_PrintDialogData(*args
)
3831 self
.this
= newobj
.this
3834 def __del__(self
, destroy
=_windows_
.delete_PrintDialogData
):
3837 if self
.thisown
: destroy(self
)
3840 def GetFromPage(*args
, **kwargs
):
3841 """GetFromPage(self) -> int"""
3842 return _windows_
.PrintDialogData_GetFromPage(*args
, **kwargs
)
3844 def GetToPage(*args
, **kwargs
):
3845 """GetToPage(self) -> int"""
3846 return _windows_
.PrintDialogData_GetToPage(*args
, **kwargs
)
3848 def GetMinPage(*args
, **kwargs
):
3849 """GetMinPage(self) -> int"""
3850 return _windows_
.PrintDialogData_GetMinPage(*args
, **kwargs
)
3852 def GetMaxPage(*args
, **kwargs
):
3853 """GetMaxPage(self) -> int"""
3854 return _windows_
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
3856 def GetNoCopies(*args
, **kwargs
):
3857 """GetNoCopies(self) -> int"""
3858 return _windows_
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
3860 def GetAllPages(*args
, **kwargs
):
3861 """GetAllPages(self) -> bool"""
3862 return _windows_
.PrintDialogData_GetAllPages(*args
, **kwargs
)
3864 def GetSelection(*args
, **kwargs
):
3865 """GetSelection(self) -> bool"""
3866 return _windows_
.PrintDialogData_GetSelection(*args
, **kwargs
)
3868 def GetCollate(*args
, **kwargs
):
3869 """GetCollate(self) -> bool"""
3870 return _windows_
.PrintDialogData_GetCollate(*args
, **kwargs
)
3872 def GetPrintToFile(*args
, **kwargs
):
3873 """GetPrintToFile(self) -> bool"""
3874 return _windows_
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
3876 def GetSetupDialog(*args
, **kwargs
):
3877 """GetSetupDialog(self) -> bool"""
3878 return _windows_
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
3880 def SetFromPage(*args
, **kwargs
):
3881 """SetFromPage(self, int v)"""
3882 return _windows_
.PrintDialogData_SetFromPage(*args
, **kwargs
)
3884 def SetToPage(*args
, **kwargs
):
3885 """SetToPage(self, int v)"""
3886 return _windows_
.PrintDialogData_SetToPage(*args
, **kwargs
)
3888 def SetMinPage(*args
, **kwargs
):
3889 """SetMinPage(self, int v)"""
3890 return _windows_
.PrintDialogData_SetMinPage(*args
, **kwargs
)
3892 def SetMaxPage(*args
, **kwargs
):
3893 """SetMaxPage(self, int v)"""
3894 return _windows_
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
3896 def SetNoCopies(*args
, **kwargs
):
3897 """SetNoCopies(self, int v)"""
3898 return _windows_
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
3900 def SetAllPages(*args
, **kwargs
):
3901 """SetAllPages(self, bool flag)"""
3902 return _windows_
.PrintDialogData_SetAllPages(*args
, **kwargs
)
3904 def SetSelection(*args
, **kwargs
):
3905 """SetSelection(self, bool flag)"""
3906 return _windows_
.PrintDialogData_SetSelection(*args
, **kwargs
)
3908 def SetCollate(*args
, **kwargs
):
3909 """SetCollate(self, bool flag)"""
3910 return _windows_
.PrintDialogData_SetCollate(*args
, **kwargs
)
3912 def SetPrintToFile(*args
, **kwargs
):
3913 """SetPrintToFile(self, bool flag)"""
3914 return _windows_
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
3916 def SetSetupDialog(*args
, **kwargs
):
3917 """SetSetupDialog(self, bool flag)"""
3918 return _windows_
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
3920 def EnablePrintToFile(*args
, **kwargs
):
3921 """EnablePrintToFile(self, bool flag)"""
3922 return _windows_
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
3924 def EnableSelection(*args
, **kwargs
):
3925 """EnableSelection(self, bool flag)"""
3926 return _windows_
.PrintDialogData_EnableSelection(*args
, **kwargs
)
3928 def EnablePageNumbers(*args
, **kwargs
):
3929 """EnablePageNumbers(self, bool flag)"""
3930 return _windows_
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
3932 def EnableHelp(*args
, **kwargs
):
3933 """EnableHelp(self, bool flag)"""
3934 return _windows_
.PrintDialogData_EnableHelp(*args
, **kwargs
)
3936 def GetEnablePrintToFile(*args
, **kwargs
):
3937 """GetEnablePrintToFile(self) -> bool"""
3938 return _windows_
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
3940 def GetEnableSelection(*args
, **kwargs
):
3941 """GetEnableSelection(self) -> bool"""
3942 return _windows_
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
3944 def GetEnablePageNumbers(*args
, **kwargs
):
3945 """GetEnablePageNumbers(self) -> bool"""
3946 return _windows_
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
3948 def GetEnableHelp(*args
, **kwargs
):
3949 """GetEnableHelp(self) -> bool"""
3950 return _windows_
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
3952 def Ok(*args
, **kwargs
):
3953 """Ok(self) -> bool"""
3954 return _windows_
.PrintDialogData_Ok(*args
, **kwargs
)
3956 def GetPrintData(*args
, **kwargs
):
3957 """GetPrintData(self) -> PrintData"""
3958 return _windows_
.PrintDialogData_GetPrintData(*args
, **kwargs
)
3960 def SetPrintData(*args
, **kwargs
):
3961 """SetPrintData(self, PrintData printData)"""
3962 return _windows_
.PrintDialogData_SetPrintData(*args
, **kwargs
)
3964 def __nonzero__(self
): return self
.Ok()
3966 class PrintDialogDataPtr(PrintDialogData
):
3967 def __init__(self
, this
):
3969 if not hasattr(self
,"thisown"): self
.thisown
= 0
3970 self
.__class
__ = PrintDialogData
3971 _windows_
.PrintDialogData_swigregister(PrintDialogDataPtr
)
3973 class PrintDialog(Dialog
):
3975 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3976 def __init__(self
, *args
, **kwargs
):
3977 """__init__(self, Window parent, PrintDialogData data=None) -> PrintDialog"""
3978 newobj
= _windows_
.new_PrintDialog(*args
, **kwargs
)
3979 self
.this
= newobj
.this
3982 self
._setOORInfo
(self
)
3984 def GetPrintDialogData(*args
, **kwargs
):
3985 """GetPrintDialogData(self) -> PrintDialogData"""
3986 return _windows_
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
3988 def GetPrintDC(*args
, **kwargs
):
3989 """GetPrintDC(self) -> DC"""
3990 return _windows_
.PrintDialog_GetPrintDC(*args
, **kwargs
)
3992 def ShowModal(*args
, **kwargs
):
3993 """ShowModal(self) -> int"""
3994 return _windows_
.PrintDialog_ShowModal(*args
, **kwargs
)
3997 class PrintDialogPtr(PrintDialog
):
3998 def __init__(self
, this
):
4000 if not hasattr(self
,"thisown"): self
.thisown
= 0
4001 self
.__class
__ = PrintDialog
4002 _windows_
.PrintDialog_swigregister(PrintDialogPtr
)
4004 PRINTER_NO_ERROR
= _windows_
.PRINTER_NO_ERROR
4005 PRINTER_CANCELLED
= _windows_
.PRINTER_CANCELLED
4006 PRINTER_ERROR
= _windows_
.PRINTER_ERROR
4007 class Printer(_core
.Object
):
4009 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4010 def __init__(self
, *args
, **kwargs
):
4011 """__init__(self, PrintDialogData data=None) -> Printer"""
4012 newobj
= _windows_
.new_Printer(*args
, **kwargs
)
4013 self
.this
= newobj
.this
4016 def __del__(self
, destroy
=_windows_
.delete_Printer
):
4019 if self
.thisown
: destroy(self
)
4022 def CreateAbortWindow(*args
, **kwargs
):
4023 """CreateAbortWindow(self, Window parent, Printout printout)"""
4024 return _windows_
.Printer_CreateAbortWindow(*args
, **kwargs
)
4026 def GetPrintDialogData(*args
, **kwargs
):
4027 """GetPrintDialogData(self) -> PrintDialogData"""
4028 return _windows_
.Printer_GetPrintDialogData(*args
, **kwargs
)
4030 def Print(*args
, **kwargs
):
4031 """Print(self, Window parent, Printout printout, int prompt=True) -> bool"""
4032 return _windows_
.Printer_Print(*args
, **kwargs
)
4034 def PrintDialog(*args
, **kwargs
):
4035 """PrintDialog(self, Window parent) -> DC"""
4036 return _windows_
.Printer_PrintDialog(*args
, **kwargs
)
4038 def ReportError(*args
, **kwargs
):
4039 """ReportError(self, Window parent, Printout printout, String message)"""
4040 return _windows_
.Printer_ReportError(*args
, **kwargs
)
4042 def Setup(*args
, **kwargs
):
4043 """Setup(self, Window parent) -> bool"""
4044 return _windows_
.Printer_Setup(*args
, **kwargs
)
4046 def GetAbort(*args
, **kwargs
):
4047 """GetAbort(self) -> bool"""
4048 return _windows_
.Printer_GetAbort(*args
, **kwargs
)
4050 def GetLastError(*args
, **kwargs
):
4051 """Printer.GetLastError() -> int"""
4052 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4054 GetLastError
= staticmethod(GetLastError
)
4056 class PrinterPtr(Printer
):
4057 def __init__(self
, this
):
4059 if not hasattr(self
,"thisown"): self
.thisown
= 0
4060 self
.__class
__ = Printer
4061 _windows_
.Printer_swigregister(PrinterPtr
)
4063 def Printer_GetLastError(*args
, **kwargs
):
4064 """Printer_GetLastError() -> int"""
4065 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4067 class Printout(_core
.Object
):
4069 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4070 def __init__(self
, *args
, **kwargs
):
4071 """__init__(self, String title=PrintoutTitleStr) -> Printout"""
4072 newobj
= _windows_
.new_Printout(*args
, **kwargs
)
4073 self
.this
= newobj
.this
4076 self
._setCallbackInfo
(self
, Printout
)
4078 def _setCallbackInfo(*args
, **kwargs
):
4079 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4080 return _windows_
.Printout__setCallbackInfo(*args
, **kwargs
)
4082 def GetTitle(*args
, **kwargs
):
4083 """GetTitle(self) -> String"""
4084 return _windows_
.Printout_GetTitle(*args
, **kwargs
)
4086 def GetDC(*args
, **kwargs
):
4087 """GetDC(self) -> DC"""
4088 return _windows_
.Printout_GetDC(*args
, **kwargs
)
4090 def SetDC(*args
, **kwargs
):
4091 """SetDC(self, DC dc)"""
4092 return _windows_
.Printout_SetDC(*args
, **kwargs
)
4094 def SetPageSizePixels(*args
, **kwargs
):
4095 """SetPageSizePixels(self, int w, int h)"""
4096 return _windows_
.Printout_SetPageSizePixels(*args
, **kwargs
)
4098 def GetPageSizePixels(*args
, **kwargs
):
4099 """GetPageSizePixels() -> (w, h)"""
4100 return _windows_
.Printout_GetPageSizePixels(*args
, **kwargs
)
4102 def SetPageSizeMM(*args
, **kwargs
):
4103 """SetPageSizeMM(self, int w, int h)"""
4104 return _windows_
.Printout_SetPageSizeMM(*args
, **kwargs
)
4106 def GetPageSizeMM(*args
, **kwargs
):
4107 """GetPageSizeMM() -> (w, h)"""
4108 return _windows_
.Printout_GetPageSizeMM(*args
, **kwargs
)
4110 def SetPPIScreen(*args
, **kwargs
):
4111 """SetPPIScreen(self, int x, int y)"""
4112 return _windows_
.Printout_SetPPIScreen(*args
, **kwargs
)
4114 def GetPPIScreen(*args
, **kwargs
):
4115 """GetPPIScreen() -> (x,y)"""
4116 return _windows_
.Printout_GetPPIScreen(*args
, **kwargs
)
4118 def SetPPIPrinter(*args
, **kwargs
):
4119 """SetPPIPrinter(self, int x, int y)"""
4120 return _windows_
.Printout_SetPPIPrinter(*args
, **kwargs
)
4122 def GetPPIPrinter(*args
, **kwargs
):
4123 """GetPPIPrinter() -> (x,y)"""
4124 return _windows_
.Printout_GetPPIPrinter(*args
, **kwargs
)
4126 def IsPreview(*args
, **kwargs
):
4127 """IsPreview(self) -> bool"""
4128 return _windows_
.Printout_IsPreview(*args
, **kwargs
)
4130 def SetIsPreview(*args
, **kwargs
):
4131 """SetIsPreview(self, bool p)"""
4132 return _windows_
.Printout_SetIsPreview(*args
, **kwargs
)
4134 def base_OnBeginDocument(*args
, **kwargs
):
4135 """base_OnBeginDocument(self, int startPage, int endPage) -> bool"""
4136 return _windows_
.Printout_base_OnBeginDocument(*args
, **kwargs
)
4138 def base_OnEndDocument(*args
, **kwargs
):
4139 """base_OnEndDocument(self)"""
4140 return _windows_
.Printout_base_OnEndDocument(*args
, **kwargs
)
4142 def base_OnBeginPrinting(*args
, **kwargs
):
4143 """base_OnBeginPrinting(self)"""
4144 return _windows_
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
4146 def base_OnEndPrinting(*args
, **kwargs
):
4147 """base_OnEndPrinting(self)"""
4148 return _windows_
.Printout_base_OnEndPrinting(*args
, **kwargs
)
4150 def base_OnPreparePrinting(*args
, **kwargs
):
4151 """base_OnPreparePrinting(self)"""
4152 return _windows_
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
4154 def base_HasPage(*args
, **kwargs
):
4155 """base_HasPage(self, int page) -> bool"""
4156 return _windows_
.Printout_base_HasPage(*args
, **kwargs
)
4158 def base_GetPageInfo(*args
, **kwargs
):
4159 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
4160 return _windows_
.Printout_base_GetPageInfo(*args
, **kwargs
)
4163 class PrintoutPtr(Printout
):
4164 def __init__(self
, this
):
4166 if not hasattr(self
,"thisown"): self
.thisown
= 0
4167 self
.__class
__ = Printout
4168 _windows_
.Printout_swigregister(PrintoutPtr
)
4170 class PreviewCanvas(ScrolledWindow
):
4172 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4173 def __init__(self
, *args
, **kwargs
):
4175 __init__(self, PrintPreview preview, Window parent, Point pos=DefaultPosition,
4176 Size size=DefaultSize, long style=0,
4177 String name=PreviewCanvasNameStr) -> PreviewCanvas
4179 newobj
= _windows_
.new_PreviewCanvas(*args
, **kwargs
)
4180 self
.this
= newobj
.this
4183 self
._setOORInfo
(self
)
4186 class PreviewCanvasPtr(PreviewCanvas
):
4187 def __init__(self
, this
):
4189 if not hasattr(self
,"thisown"): self
.thisown
= 0
4190 self
.__class
__ = PreviewCanvas
4191 _windows_
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
4193 class PreviewFrame(Frame
):
4195 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4196 def __init__(self
, *args
, **kwargs
):
4198 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4199 Size size=DefaultSize,
4200 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
4202 newobj
= _windows_
.new_PreviewFrame(*args
, **kwargs
)
4203 self
.this
= newobj
.this
4206 self
._setOORInfo
(self
)
4208 def Initialize(*args
, **kwargs
):
4209 """Initialize(self)"""
4210 return _windows_
.PreviewFrame_Initialize(*args
, **kwargs
)
4212 def CreateControlBar(*args
, **kwargs
):
4213 """CreateControlBar(self)"""
4214 return _windows_
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
4216 def CreateCanvas(*args
, **kwargs
):
4217 """CreateCanvas(self)"""
4218 return _windows_
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
4220 def GetControlBar(*args
, **kwargs
):
4221 """GetControlBar(self) -> PreviewControlBar"""
4222 return _windows_
.PreviewFrame_GetControlBar(*args
, **kwargs
)
4225 class PreviewFramePtr(PreviewFrame
):
4226 def __init__(self
, this
):
4228 if not hasattr(self
,"thisown"): self
.thisown
= 0
4229 self
.__class
__ = PreviewFrame
4230 _windows_
.PreviewFrame_swigregister(PreviewFramePtr
)
4232 PREVIEW_PRINT
= _windows_
.PREVIEW_PRINT
4233 PREVIEW_PREVIOUS
= _windows_
.PREVIEW_PREVIOUS
4234 PREVIEW_NEXT
= _windows_
.PREVIEW_NEXT
4235 PREVIEW_ZOOM
= _windows_
.PREVIEW_ZOOM
4236 PREVIEW_FIRST
= _windows_
.PREVIEW_FIRST
4237 PREVIEW_LAST
= _windows_
.PREVIEW_LAST
4238 PREVIEW_GOTO
= _windows_
.PREVIEW_GOTO
4239 PREVIEW_DEFAULT
= _windows_
.PREVIEW_DEFAULT
4240 ID_PREVIEW_CLOSE
= _windows_
.ID_PREVIEW_CLOSE
4241 ID_PREVIEW_NEXT
= _windows_
.ID_PREVIEW_NEXT
4242 ID_PREVIEW_PREVIOUS
= _windows_
.ID_PREVIEW_PREVIOUS
4243 ID_PREVIEW_PRINT
= _windows_
.ID_PREVIEW_PRINT
4244 ID_PREVIEW_ZOOM
= _windows_
.ID_PREVIEW_ZOOM
4245 ID_PREVIEW_FIRST
= _windows_
.ID_PREVIEW_FIRST
4246 ID_PREVIEW_LAST
= _windows_
.ID_PREVIEW_LAST
4247 ID_PREVIEW_GOTO
= _windows_
.ID_PREVIEW_GOTO
4248 class PreviewControlBar(Panel
):
4250 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4251 def __init__(self
, *args
, **kwargs
):
4253 __init__(self, PrintPreview preview, long buttons, Window parent,
4254 Point pos=DefaultPosition, Size size=DefaultSize,
4255 long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
4257 newobj
= _windows_
.new_PreviewControlBar(*args
, **kwargs
)
4258 self
.this
= newobj
.this
4261 self
._setOORInfo
(self
)
4263 def GetZoomControl(*args
, **kwargs
):
4264 """GetZoomControl(self) -> int"""
4265 return _windows_
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
4267 def SetZoomControl(*args
, **kwargs
):
4268 """SetZoomControl(self, int zoom)"""
4269 return _windows_
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
4271 def GetPrintPreview(*args
, **kwargs
):
4272 """GetPrintPreview(self) -> PrintPreview"""
4273 return _windows_
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
4275 def OnNext(*args
, **kwargs
):
4277 return _windows_
.PreviewControlBar_OnNext(*args
, **kwargs
)
4279 def OnPrevious(*args
, **kwargs
):
4280 """OnPrevious(self)"""
4281 return _windows_
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
4283 def OnFirst(*args
, **kwargs
):
4285 return _windows_
.PreviewControlBar_OnFirst(*args
, **kwargs
)
4287 def OnLast(*args
, **kwargs
):
4289 return _windows_
.PreviewControlBar_OnLast(*args
, **kwargs
)
4291 def OnGoto(*args
, **kwargs
):
4293 return _windows_
.PreviewControlBar_OnGoto(*args
, **kwargs
)
4296 class PreviewControlBarPtr(PreviewControlBar
):
4297 def __init__(self
, this
):
4299 if not hasattr(self
,"thisown"): self
.thisown
= 0
4300 self
.__class
__ = PreviewControlBar
4301 _windows_
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
4303 class PrintPreview(_core
.Object
):
4305 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4306 def __init__(self
, *args
):
4308 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview
4309 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview
4311 newobj
= _windows_
.new_PrintPreview(*args
)
4312 self
.this
= newobj
.this
4315 def SetCurrentPage(*args
, **kwargs
):
4316 """SetCurrentPage(self, int pageNum) -> bool"""
4317 return _windows_
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
4319 def GetCurrentPage(*args
, **kwargs
):
4320 """GetCurrentPage(self) -> int"""
4321 return _windows_
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
4323 def SetPrintout(*args
, **kwargs
):
4324 """SetPrintout(self, Printout printout)"""
4325 return _windows_
.PrintPreview_SetPrintout(*args
, **kwargs
)
4327 def GetPrintout(*args
, **kwargs
):
4328 """GetPrintout(self) -> Printout"""
4329 return _windows_
.PrintPreview_GetPrintout(*args
, **kwargs
)
4331 def GetPrintoutForPrinting(*args
, **kwargs
):
4332 """GetPrintoutForPrinting(self) -> Printout"""
4333 return _windows_
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
4335 def SetFrame(*args
, **kwargs
):
4336 """SetFrame(self, Frame frame)"""
4337 return _windows_
.PrintPreview_SetFrame(*args
, **kwargs
)
4339 def SetCanvas(*args
, **kwargs
):
4340 """SetCanvas(self, PreviewCanvas canvas)"""
4341 return _windows_
.PrintPreview_SetCanvas(*args
, **kwargs
)
4343 def GetFrame(*args
, **kwargs
):
4344 """GetFrame(self) -> Frame"""
4345 return _windows_
.PrintPreview_GetFrame(*args
, **kwargs
)
4347 def GetCanvas(*args
, **kwargs
):
4348 """GetCanvas(self) -> PreviewCanvas"""
4349 return _windows_
.PrintPreview_GetCanvas(*args
, **kwargs
)
4351 def PaintPage(*args
, **kwargs
):
4352 """PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4353 return _windows_
.PrintPreview_PaintPage(*args
, **kwargs
)
4355 def DrawBlankPage(*args
, **kwargs
):
4356 """DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4357 return _windows_
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
4359 def RenderPage(*args
, **kwargs
):
4360 """RenderPage(self, int pageNum) -> bool"""
4361 return _windows_
.PrintPreview_RenderPage(*args
, **kwargs
)
4363 def AdjustScrollbars(*args
, **kwargs
):
4364 """AdjustScrollbars(self, PreviewCanvas canvas)"""
4365 return _windows_
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
4367 def GetPrintDialogData(*args
, **kwargs
):
4368 """GetPrintDialogData(self) -> PrintDialogData"""
4369 return _windows_
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
4371 def SetZoom(*args
, **kwargs
):
4372 """SetZoom(self, int percent)"""
4373 return _windows_
.PrintPreview_SetZoom(*args
, **kwargs
)
4375 def GetZoom(*args
, **kwargs
):
4376 """GetZoom(self) -> int"""
4377 return _windows_
.PrintPreview_GetZoom(*args
, **kwargs
)
4379 def GetMaxPage(*args
, **kwargs
):
4380 """GetMaxPage(self) -> int"""
4381 return _windows_
.PrintPreview_GetMaxPage(*args
, **kwargs
)
4383 def GetMinPage(*args
, **kwargs
):
4384 """GetMinPage(self) -> int"""
4385 return _windows_
.PrintPreview_GetMinPage(*args
, **kwargs
)
4387 def Ok(*args
, **kwargs
):
4388 """Ok(self) -> bool"""
4389 return _windows_
.PrintPreview_Ok(*args
, **kwargs
)
4391 def SetOk(*args
, **kwargs
):
4392 """SetOk(self, bool ok)"""
4393 return _windows_
.PrintPreview_SetOk(*args
, **kwargs
)
4395 def Print(*args
, **kwargs
):
4396 """Print(self, bool interactive) -> bool"""
4397 return _windows_
.PrintPreview_Print(*args
, **kwargs
)
4399 def DetermineScaling(*args
, **kwargs
):
4400 """DetermineScaling(self)"""
4401 return _windows_
.PrintPreview_DetermineScaling(*args
, **kwargs
)
4403 def __nonzero__(self
): return self
.Ok()
4405 class PrintPreviewPtr(PrintPreview
):
4406 def __init__(self
, this
):
4408 if not hasattr(self
,"thisown"): self
.thisown
= 0
4409 self
.__class
__ = PrintPreview
4410 _windows_
.PrintPreview_swigregister(PrintPreviewPtr
)
4412 class PyPrintPreview(PrintPreview
):
4414 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4415 def __init__(self
, *args
):
4417 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview
4418 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview
4420 newobj
= _windows_
.new_PyPrintPreview(*args
)
4421 self
.this
= newobj
.this
4424 self
._setCallbackInfo
(self
, PyPrintPreview
)
4426 def _setCallbackInfo(*args
, **kwargs
):
4427 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4428 return _windows_
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
4430 def base_SetCurrentPage(*args
, **kwargs
):
4431 """base_SetCurrentPage(self, int pageNum) -> bool"""
4432 return _windows_
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
4434 def base_PaintPage(*args
, **kwargs
):
4435 """base_PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4436 return _windows_
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
4438 def base_DrawBlankPage(*args
, **kwargs
):
4439 """base_DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4440 return _windows_
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
4442 def base_RenderPage(*args
, **kwargs
):
4443 """base_RenderPage(self, int pageNum) -> bool"""
4444 return _windows_
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
4446 def base_SetZoom(*args
, **kwargs
):
4447 """base_SetZoom(self, int percent)"""
4448 return _windows_
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
4450 def base_Print(*args
, **kwargs
):
4451 """base_Print(self, bool interactive) -> bool"""
4452 return _windows_
.PyPrintPreview_base_Print(*args
, **kwargs
)
4454 def base_DetermineScaling(*args
, **kwargs
):
4455 """base_DetermineScaling(self)"""
4456 return _windows_
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
4459 class PyPrintPreviewPtr(PyPrintPreview
):
4460 def __init__(self
, this
):
4462 if not hasattr(self
,"thisown"): self
.thisown
= 0
4463 self
.__class
__ = PyPrintPreview
4464 _windows_
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
4466 class PyPreviewFrame(PreviewFrame
):
4468 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4469 def __init__(self
, *args
, **kwargs
):
4471 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4472 Size size=DefaultSize,
4473 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
4475 newobj
= _windows_
.new_PyPreviewFrame(*args
, **kwargs
)
4476 self
.this
= newobj
.this
4479 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
4481 def _setCallbackInfo(*args
, **kwargs
):
4482 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4483 return _windows_
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
4485 def SetPreviewCanvas(*args
, **kwargs
):
4486 """SetPreviewCanvas(self, PreviewCanvas canvas)"""
4487 return _windows_
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
4489 def SetControlBar(*args
, **kwargs
):
4490 """SetControlBar(self, PreviewControlBar bar)"""
4491 return _windows_
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
4493 def base_Initialize(*args
, **kwargs
):
4494 """base_Initialize(self)"""
4495 return _windows_
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
4497 def base_CreateCanvas(*args
, **kwargs
):
4498 """base_CreateCanvas(self)"""
4499 return _windows_
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
4501 def base_CreateControlBar(*args
, **kwargs
):
4502 """base_CreateControlBar(self)"""
4503 return _windows_
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
4506 class PyPreviewFramePtr(PyPreviewFrame
):
4507 def __init__(self
, this
):
4509 if not hasattr(self
,"thisown"): self
.thisown
= 0
4510 self
.__class
__ = PyPreviewFrame
4511 _windows_
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
4513 class PyPreviewControlBar(PreviewControlBar
):
4515 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4516 def __init__(self
, *args
, **kwargs
):
4518 __init__(self, PrintPreview preview, long buttons, Window parent,
4519 Point pos=DefaultPosition, Size size=DefaultSize,
4520 long style=0, String name=PanelNameStr) -> PyPreviewControlBar
4522 newobj
= _windows_
.new_PyPreviewControlBar(*args
, **kwargs
)
4523 self
.this
= newobj
.this
4526 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
4528 def _setCallbackInfo(*args
, **kwargs
):
4529 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4530 return _windows_
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
4532 def SetPrintPreview(*args
, **kwargs
):
4533 """SetPrintPreview(self, PrintPreview preview)"""
4534 return _windows_
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
4536 def base_CreateButtons(*args
, **kwargs
):
4537 """base_CreateButtons(self)"""
4538 return _windows_
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
4540 def base_SetZoomControl(*args
, **kwargs
):
4541 """base_SetZoomControl(self, int zoom)"""
4542 return _windows_
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
4545 class PyPreviewControlBarPtr(PyPreviewControlBar
):
4546 def __init__(self
, this
):
4548 if not hasattr(self
,"thisown"): self
.thisown
= 0
4549 self
.__class
__ = PyPreviewControlBar
4550 _windows_
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)