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
)
295 def MacSetMetalAppearance(*args
, **kwargs
):
296 """MacSetMetalAppearance(self, bool on)"""
297 return _windows_
.TopLevelWindow_MacSetMetalAppearance(*args
, **kwargs
)
299 def MacGetMetalAppearance(*args
, **kwargs
):
300 """MacGetMetalAppearance(self) -> bool"""
301 return _windows_
.TopLevelWindow_MacGetMetalAppearance(*args
, **kwargs
)
304 class TopLevelWindowPtr(TopLevelWindow
):
305 def __init__(self
, this
):
307 if not hasattr(self
,"thisown"): self
.thisown
= 0
308 self
.__class
__ = TopLevelWindow
309 _windows_
.TopLevelWindow_swigregister(TopLevelWindowPtr
)
310 cvar
= _windows_
.cvar
311 FrameNameStr
= cvar
.FrameNameStr
312 DialogNameStr
= cvar
.DialogNameStr
313 StatusLineNameStr
= cvar
.StatusLineNameStr
314 ToolBarNameStr
= cvar
.ToolBarNameStr
316 #---------------------------------------------------------------------------
318 class Frame(TopLevelWindow
):
320 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
321 def __init__(self
, *args
, **kwargs
):
323 __init__(self, Window parent, int id, String title, Point pos=DefaultPosition,
324 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
325 String name=FrameNameStr) -> Frame
327 newobj
= _windows_
.new_Frame(*args
, **kwargs
)
328 self
.this
= newobj
.this
331 self
._setOORInfo
(self
)
333 def Create(*args
, **kwargs
):
335 Create(self, Window parent, int id, String title, Point pos=DefaultPosition,
336 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
337 String name=FrameNameStr) -> bool
339 return _windows_
.Frame_Create(*args
, **kwargs
)
341 def GetClientAreaOrigin(*args
, **kwargs
):
343 GetClientAreaOrigin(self) -> Point
345 Get the origin of the client area of the window relative to the
346 window's top left corner (the client area may be shifted because of
347 the borders, scrollbars, other decorations...)
349 return _windows_
.Frame_GetClientAreaOrigin(*args
, **kwargs
)
351 def SendSizeEvent(*args
, **kwargs
):
352 """SendSizeEvent(self)"""
353 return _windows_
.Frame_SendSizeEvent(*args
, **kwargs
)
355 def SetMenuBar(*args
, **kwargs
):
356 """SetMenuBar(self, MenuBar menubar)"""
357 return _windows_
.Frame_SetMenuBar(*args
, **kwargs
)
359 def GetMenuBar(*args
, **kwargs
):
360 """GetMenuBar(self) -> MenuBar"""
361 return _windows_
.Frame_GetMenuBar(*args
, **kwargs
)
363 def ProcessCommand(*args
, **kwargs
):
364 """ProcessCommand(self, int winid) -> bool"""
365 return _windows_
.Frame_ProcessCommand(*args
, **kwargs
)
367 Command
= ProcessCommand
368 def CreateStatusBar(*args
, **kwargs
):
370 CreateStatusBar(self, int number=1, long style=ST_SIZEGRIP, int winid=0,
371 String name=StatusLineNameStr) -> StatusBar
373 return _windows_
.Frame_CreateStatusBar(*args
, **kwargs
)
375 def GetStatusBar(*args
, **kwargs
):
376 """GetStatusBar(self) -> StatusBar"""
377 return _windows_
.Frame_GetStatusBar(*args
, **kwargs
)
379 def SetStatusBar(*args
, **kwargs
):
380 """SetStatusBar(self, StatusBar statBar)"""
381 return _windows_
.Frame_SetStatusBar(*args
, **kwargs
)
383 def SetStatusText(*args
, **kwargs
):
384 """SetStatusText(self, String text, int number=0)"""
385 return _windows_
.Frame_SetStatusText(*args
, **kwargs
)
387 def SetStatusWidths(*args
, **kwargs
):
388 """SetStatusWidths(self, int widths, int widths_field)"""
389 return _windows_
.Frame_SetStatusWidths(*args
, **kwargs
)
391 def PushStatusText(*args
, **kwargs
):
392 """PushStatusText(self, String text, int number=0)"""
393 return _windows_
.Frame_PushStatusText(*args
, **kwargs
)
395 def PopStatusText(*args
, **kwargs
):
396 """PopStatusText(self, int number=0)"""
397 return _windows_
.Frame_PopStatusText(*args
, **kwargs
)
399 def SetStatusBarPane(*args
, **kwargs
):
400 """SetStatusBarPane(self, int n)"""
401 return _windows_
.Frame_SetStatusBarPane(*args
, **kwargs
)
403 def GetStatusBarPane(*args
, **kwargs
):
404 """GetStatusBarPane(self) -> int"""
405 return _windows_
.Frame_GetStatusBarPane(*args
, **kwargs
)
407 def CreateToolBar(*args
, **kwargs
):
408 """CreateToolBar(self, long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar"""
409 return _windows_
.Frame_CreateToolBar(*args
, **kwargs
)
411 def GetToolBar(*args
, **kwargs
):
412 """GetToolBar(self) -> wxToolBar"""
413 return _windows_
.Frame_GetToolBar(*args
, **kwargs
)
415 def SetToolBar(*args
, **kwargs
):
416 """SetToolBar(self, wxToolBar toolbar)"""
417 return _windows_
.Frame_SetToolBar(*args
, **kwargs
)
419 def DoGiveHelp(*args
, **kwargs
):
420 """DoGiveHelp(self, String text, bool show)"""
421 return _windows_
.Frame_DoGiveHelp(*args
, **kwargs
)
423 def DoMenuUpdates(*args
, **kwargs
):
424 """DoMenuUpdates(self, Menu menu=None)"""
425 return _windows_
.Frame_DoMenuUpdates(*args
, **kwargs
)
428 class FramePtr(Frame
):
429 def __init__(self
, this
):
431 if not hasattr(self
,"thisown"): self
.thisown
= 0
432 self
.__class
__ = Frame
433 _windows_
.Frame_swigregister(FramePtr
)
435 def PreFrame(*args
, **kwargs
):
436 """PreFrame() -> Frame"""
437 val
= _windows_
.new_PreFrame(*args
, **kwargs
)
441 #---------------------------------------------------------------------------
443 class Dialog(TopLevelWindow
):
445 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
446 def __init__(self
, *args
, **kwargs
):
448 __init__(self, Window parent, int id, String title, Point pos=DefaultPosition,
449 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
450 String name=DialogNameStr) -> Dialog
452 newobj
= _windows_
.new_Dialog(*args
, **kwargs
)
453 self
.this
= newobj
.this
456 self
._setOORInfo
(self
)
458 def Create(*args
, **kwargs
):
460 Create(self, Window parent, int id, String title, Point pos=DefaultPosition,
461 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
462 String name=DialogNameStr) -> bool
464 return _windows_
.Dialog_Create(*args
, **kwargs
)
466 def SetReturnCode(*args
, **kwargs
):
467 """SetReturnCode(self, int returnCode)"""
468 return _windows_
.Dialog_SetReturnCode(*args
, **kwargs
)
470 def GetReturnCode(*args
, **kwargs
):
471 """GetReturnCode(self) -> int"""
472 return _windows_
.Dialog_GetReturnCode(*args
, **kwargs
)
474 def CreateTextSizer(*args
, **kwargs
):
475 """CreateTextSizer(self, String message) -> Sizer"""
476 return _windows_
.Dialog_CreateTextSizer(*args
, **kwargs
)
478 def CreateButtonSizer(*args
, **kwargs
):
479 """CreateButtonSizer(self, long flags) -> Sizer"""
480 return _windows_
.Dialog_CreateButtonSizer(*args
, **kwargs
)
482 def IsModal(*args
, **kwargs
):
483 """IsModal(self) -> bool"""
484 return _windows_
.Dialog_IsModal(*args
, **kwargs
)
486 def ShowModal(*args
, **kwargs
):
487 """ShowModal(self) -> int"""
488 return _windows_
.Dialog_ShowModal(*args
, **kwargs
)
490 def EndModal(*args
, **kwargs
):
491 """EndModal(self, int retCode)"""
492 return _windows_
.Dialog_EndModal(*args
, **kwargs
)
495 class DialogPtr(Dialog
):
496 def __init__(self
, this
):
498 if not hasattr(self
,"thisown"): self
.thisown
= 0
499 self
.__class
__ = Dialog
500 _windows_
.Dialog_swigregister(DialogPtr
)
502 def PreDialog(*args
, **kwargs
):
503 """PreDialog() -> Dialog"""
504 val
= _windows_
.new_PreDialog(*args
, **kwargs
)
508 #---------------------------------------------------------------------------
510 class MiniFrame(Frame
):
512 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
513 def __init__(self
, *args
, **kwargs
):
515 __init__(self, Window parent, int id, String title, Point pos=DefaultPosition,
516 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
517 String name=FrameNameStr) -> MiniFrame
519 newobj
= _windows_
.new_MiniFrame(*args
, **kwargs
)
520 self
.this
= newobj
.this
523 self
._setOORInfo
(self
)
525 def Create(*args
, **kwargs
):
527 Create(self, Window parent, int id, String title, Point pos=DefaultPosition,
528 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
529 String name=FrameNameStr) -> bool
531 return _windows_
.MiniFrame_Create(*args
, **kwargs
)
534 class MiniFramePtr(MiniFrame
):
535 def __init__(self
, this
):
537 if not hasattr(self
,"thisown"): self
.thisown
= 0
538 self
.__class
__ = MiniFrame
539 _windows_
.MiniFrame_swigregister(MiniFramePtr
)
541 def PreMiniFrame(*args
, **kwargs
):
542 """PreMiniFrame() -> MiniFrame"""
543 val
= _windows_
.new_PreMiniFrame(*args
, **kwargs
)
547 #---------------------------------------------------------------------------
549 SPLASH_CENTRE_ON_PARENT
= _windows_
.SPLASH_CENTRE_ON_PARENT
550 SPLASH_CENTRE_ON_SCREEN
= _windows_
.SPLASH_CENTRE_ON_SCREEN
551 SPLASH_NO_CENTRE
= _windows_
.SPLASH_NO_CENTRE
552 SPLASH_TIMEOUT
= _windows_
.SPLASH_TIMEOUT
553 SPLASH_NO_TIMEOUT
= _windows_
.SPLASH_NO_TIMEOUT
554 class SplashScreenWindow(_core
.Window
):
556 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
557 def __init__(self
, *args
, **kwargs
):
559 __init__(self, Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
560 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
562 newobj
= _windows_
.new_SplashScreenWindow(*args
, **kwargs
)
563 self
.this
= newobj
.this
566 self
._setOORInfo
(self
)
568 def SetBitmap(*args
, **kwargs
):
569 """SetBitmap(self, Bitmap bitmap)"""
570 return _windows_
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
572 def GetBitmap(*args
, **kwargs
):
573 """GetBitmap(self) -> Bitmap"""
574 return _windows_
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
577 class SplashScreenWindowPtr(SplashScreenWindow
):
578 def __init__(self
, this
):
580 if not hasattr(self
,"thisown"): self
.thisown
= 0
581 self
.__class
__ = SplashScreenWindow
582 _windows_
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
584 class SplashScreen(Frame
):
586 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
587 def __init__(self
, *args
, **kwargs
):
589 __init__(self, Bitmap bitmap, long splashStyle, int milliseconds,
590 Window parent, int id, Point pos=DefaultPosition,
591 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
593 newobj
= _windows_
.new_SplashScreen(*args
, **kwargs
)
594 self
.this
= newobj
.this
597 self
._setOORInfo
(self
)
599 def GetSplashStyle(*args
, **kwargs
):
600 """GetSplashStyle(self) -> long"""
601 return _windows_
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
603 def GetSplashWindow(*args
, **kwargs
):
604 """GetSplashWindow(self) -> SplashScreenWindow"""
605 return _windows_
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
607 def GetTimeout(*args
, **kwargs
):
608 """GetTimeout(self) -> int"""
609 return _windows_
.SplashScreen_GetTimeout(*args
, **kwargs
)
612 class SplashScreenPtr(SplashScreen
):
613 def __init__(self
, this
):
615 if not hasattr(self
,"thisown"): self
.thisown
= 0
616 self
.__class
__ = SplashScreen
617 _windows_
.SplashScreen_swigregister(SplashScreenPtr
)
619 #---------------------------------------------------------------------------
621 class StatusBar(_core
.Window
):
623 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
624 def __init__(self
, *args
, **kwargs
):
625 """__init__(self, Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> StatusBar"""
626 newobj
= _windows_
.new_StatusBar(*args
, **kwargs
)
627 self
.this
= newobj
.this
630 self
._setOORInfo
(self
)
632 def Create(*args
, **kwargs
):
633 """Create(self, Window parent, int id, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
634 return _windows_
.StatusBar_Create(*args
, **kwargs
)
636 def SetFieldsCount(*args
, **kwargs
):
637 """SetFieldsCount(self, int number=1)"""
638 return _windows_
.StatusBar_SetFieldsCount(*args
, **kwargs
)
640 def GetFieldsCount(*args
, **kwargs
):
641 """GetFieldsCount(self) -> int"""
642 return _windows_
.StatusBar_GetFieldsCount(*args
, **kwargs
)
644 def SetStatusText(*args
, **kwargs
):
645 """SetStatusText(self, String text, int number=0)"""
646 return _windows_
.StatusBar_SetStatusText(*args
, **kwargs
)
648 def GetStatusText(*args
, **kwargs
):
649 """GetStatusText(self, int number=0) -> String"""
650 return _windows_
.StatusBar_GetStatusText(*args
, **kwargs
)
652 def PushStatusText(*args
, **kwargs
):
653 """PushStatusText(self, String text, int number=0)"""
654 return _windows_
.StatusBar_PushStatusText(*args
, **kwargs
)
656 def PopStatusText(*args
, **kwargs
):
657 """PopStatusText(self, int number=0)"""
658 return _windows_
.StatusBar_PopStatusText(*args
, **kwargs
)
660 def SetStatusWidths(*args
, **kwargs
):
661 """SetStatusWidths(self, int widths, int widths_field)"""
662 return _windows_
.StatusBar_SetStatusWidths(*args
, **kwargs
)
664 def GetFieldRect(*args
, **kwargs
):
665 """GetFieldRect(self, int i) -> Rect"""
666 return _windows_
.StatusBar_GetFieldRect(*args
, **kwargs
)
668 def SetMinHeight(*args
, **kwargs
):
669 """SetMinHeight(self, int height)"""
670 return _windows_
.StatusBar_SetMinHeight(*args
, **kwargs
)
672 def GetBorderX(*args
, **kwargs
):
673 """GetBorderX(self) -> int"""
674 return _windows_
.StatusBar_GetBorderX(*args
, **kwargs
)
676 def GetBorderY(*args
, **kwargs
):
677 """GetBorderY(self) -> int"""
678 return _windows_
.StatusBar_GetBorderY(*args
, **kwargs
)
681 class StatusBarPtr(StatusBar
):
682 def __init__(self
, this
):
684 if not hasattr(self
,"thisown"): self
.thisown
= 0
685 self
.__class
__ = StatusBar
686 _windows_
.StatusBar_swigregister(StatusBarPtr
)
688 def PreStatusBar(*args
, **kwargs
):
689 """PreStatusBar() -> StatusBar"""
690 val
= _windows_
.new_PreStatusBar(*args
, **kwargs
)
694 #---------------------------------------------------------------------------
696 SP_NOBORDER
= _windows_
.SP_NOBORDER
697 SP_NOSASH
= _windows_
.SP_NOSASH
698 SP_PERMIT_UNSPLIT
= _windows_
.SP_PERMIT_UNSPLIT
699 SP_LIVE_UPDATE
= _windows_
.SP_LIVE_UPDATE
700 SP_3DSASH
= _windows_
.SP_3DSASH
701 SP_3DBORDER
= _windows_
.SP_3DBORDER
702 SP_NO_XP_THEME
= _windows_
.SP_NO_XP_THEME
703 SP_BORDER
= _windows_
.SP_BORDER
704 SP_3D
= _windows_
.SP_3D
705 SPLIT_HORIZONTAL
= _windows_
.SPLIT_HORIZONTAL
706 SPLIT_VERTICAL
= _windows_
.SPLIT_VERTICAL
707 SPLIT_DRAG_NONE
= _windows_
.SPLIT_DRAG_NONE
708 SPLIT_DRAG_DRAGGING
= _windows_
.SPLIT_DRAG_DRAGGING
709 SPLIT_DRAG_LEFT_DOWN
= _windows_
.SPLIT_DRAG_LEFT_DOWN
710 class SplitterWindow(_core
.Window
):
712 wx.SplitterWindow manages up to two subwindows or panes,
713 with an optional vertical or horizontal split which can be
714 used with the mouse or programmatically.
718 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
719 def __init__(self
, *args
, **kwargs
):
721 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
722 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
724 Constructor. Creates and shows a SplitterWindow.
726 if kwargs
.has_key('point'): kwargs
['pos'] = kwargs
['point'];del kwargs
['point']
727 newobj
= _windows_
.new_SplitterWindow(*args
, **kwargs
)
728 self
.this
= newobj
.this
731 self
._setOORInfo
(self
)
733 def Create(*args
, **kwargs
):
735 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
736 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool
738 Create the GUI part of the SplitterWindow for the 2-phase create.
740 return _windows_
.SplitterWindow_Create(*args
, **kwargs
)
742 def GetWindow1(*args
, **kwargs
):
744 GetWindow1(self) -> Window
746 Gets the only or left/top pane.
748 return _windows_
.SplitterWindow_GetWindow1(*args
, **kwargs
)
750 def GetWindow2(*args
, **kwargs
):
752 GetWindow2(self) -> Window
754 Gets the right/bottom pane.
756 return _windows_
.SplitterWindow_GetWindow2(*args
, **kwargs
)
758 def SetSplitMode(*args
, **kwargs
):
760 SetSplitMode(self, int mode)
762 Sets the split mode. The mode can be wx.SPLIT_VERTICAL or
763 wx.SPLIT_HORIZONTAL. This only sets the internal variable;
764 does not update the display.
766 return _windows_
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
768 def GetSplitMode(*args
, **kwargs
):
770 GetSplitMode(self) -> int
774 return _windows_
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
776 def Initialize(*args
, **kwargs
):
778 Initialize(self, Window window)
780 Initializes the splitter window to have one pane. This
781 should be called if you wish to initially view only a single
782 pane in the splitter window.
784 return _windows_
.SplitterWindow_Initialize(*args
, **kwargs
)
786 def SplitVertically(*args
, **kwargs
):
788 SplitVertically(self, Window window1, Window window2, int sashPosition=0) -> bool
790 Initializes the left and right panes of the splitter window.
792 window1 The left pane.
793 window2 The right pane.
794 sashPosition The initial position of the sash. If this
795 value is positive, it specifies the size
796 of the left pane. If it is negative, it is
797 absolute value gives the size of the right
798 pane. Finally, specify 0 (default) to
799 choose the default position (half of the
802 Returns True if successful, False otherwise (the window was
805 SplitVertically should be called if you wish to initially
806 view two panes. It can also be called at any subsequent
807 time, but the application should check that the window is
808 not currently split using IsSplit.
810 return _windows_
.SplitterWindow_SplitVertically(*args
, **kwargs
)
812 def SplitHorizontally(*args
, **kwargs
):
814 SplitHorizontally(self, Window window1, Window window2, int sashPosition=0) -> bool
816 Initializes the top and bottom panes of the splitter window.
818 window1 The top pane.
819 window2 The bottom pane.
820 sashPosition The initial position of the sash. If this
821 value is positive, it specifies the size
822 of the upper pane. If it is negative, it
823 is absolute value gives the size of the
824 lower pane. Finally, specify 0 (default)
825 to choose the default position (half of
826 the total window height).
828 Returns True if successful, False otherwise (the window was
831 SplitHorizontally should be called if you wish to initially
832 view two panes. It can also be called at any subsequent
833 time, but the application should check that the window is
834 not currently split using IsSplit.
836 return _windows_
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
838 def Unsplit(*args
, **kwargs
):
840 Unsplit(self, Window toRemove=None) -> bool
842 Unsplits the window. Pass the pane to remove, or None to
843 remove the right or bottom pane. Returns True if
844 successful, False otherwise (the window was not split).
846 This function will not actually delete the pane being
847 removed; it sends EVT_SPLITTER_UNSPLIT which can be handled
848 for the desired behaviour. By default, the pane being
849 removed is only hidden.
851 return _windows_
.SplitterWindow_Unsplit(*args
, **kwargs
)
853 def ReplaceWindow(*args
, **kwargs
):
855 ReplaceWindow(self, Window winOld, Window winNew) -> bool
857 This function replaces one of the windows managed by the
858 SplitterWindow with another one. It is in general better to
859 use it instead of calling Unsplit() and then resplitting the
860 window back because it will provoke much less flicker. It is
861 valid to call this function whether the splitter has two
864 Both parameters should be non-None and winOld must specify
865 one of the windows managed by the splitter. If the
866 parameters are incorrect or the window couldn't be replaced,
867 False is returned. Otherwise the function will return True,
868 but please notice that it will not Destroy the replaced
869 window and you may wish to do it yourself.
871 return _windows_
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
873 def UpdateSize(*args
, **kwargs
):
877 Causes any pending sizing of the sash and child panes to
878 take place immediately.
880 Such resizing normally takes place in idle time, in order to
881 wait for layout to be completed. However, this can cause
882 unacceptable flicker as the panes are resized after the
883 window has been shown. To work around this, you can perform
884 window layout (for example by sending a size event to the
885 parent window), and then call this function, before showing
886 the top-level window.
888 return _windows_
.SplitterWindow_UpdateSize(*args
, **kwargs
)
890 def IsSplit(*args
, **kwargs
):
892 IsSplit(self) -> bool
896 return _windows_
.SplitterWindow_IsSplit(*args
, **kwargs
)
898 def SetSashSize(*args
, **kwargs
):
900 SetSashSize(self, int width)
904 return _windows_
.SplitterWindow_SetSashSize(*args
, **kwargs
)
906 def SetBorderSize(*args
, **kwargs
):
908 SetBorderSize(self, int width)
912 return _windows_
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
914 def GetSashSize(*args
, **kwargs
):
916 GetSashSize(self) -> int
920 return _windows_
.SplitterWindow_GetSashSize(*args
, **kwargs
)
922 def GetBorderSize(*args
, **kwargs
):
924 GetBorderSize(self) -> int
928 return _windows_
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
930 def SetSashPosition(*args
, **kwargs
):
932 SetSashPosition(self, int position, bool redraw=True)
934 Sets the sash position, in pixels. If redraw is Ttrue then
935 the panes are resized and the sash and border are redrawn.
937 return _windows_
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
939 def GetSashPosition(*args
, **kwargs
):
941 GetSashPosition(self) -> int
943 Returns the surrent sash position.
945 return _windows_
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
947 def SetMinimumPaneSize(*args
, **kwargs
):
949 SetMinimumPaneSize(self, int min)
951 Sets the minimum pane size in pixels.
953 The default minimum pane size is zero, which means that
954 either pane can be reduced to zero by dragging the sash,
955 thus removing one of the panes. To prevent this behaviour (and
956 veto out-of-range sash dragging), set a minimum size,
957 for example 20 pixels. If the wx.SP_PERMIT_UNSPLIT style is
958 used when a splitter window is created, the window may be
959 unsplit even if minimum size is non-zero.
961 return _windows_
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
963 def GetMinimumPaneSize(*args
, **kwargs
):
965 GetMinimumPaneSize(self) -> int
967 Gets the minimum pane size in pixels.
969 return _windows_
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
971 def SashHitTest(*args
, **kwargs
):
973 SashHitTest(self, int x, int y, int tolerance=5) -> bool
975 Tests for x, y over the sash
977 return _windows_
.SplitterWindow_SashHitTest(*args
, **kwargs
)
979 def SizeWindows(*args
, **kwargs
):
985 return _windows_
.SplitterWindow_SizeWindows(*args
, **kwargs
)
987 def SetNeedUpdating(*args
, **kwargs
):
988 """SetNeedUpdating(self, bool needUpdating)"""
989 return _windows_
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
991 def GetNeedUpdating(*args
, **kwargs
):
992 """GetNeedUpdating(self) -> bool"""
993 return _windows_
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
996 class SplitterWindowPtr(SplitterWindow
):
997 def __init__(self
, this
):
999 if not hasattr(self
,"thisown"): self
.thisown
= 0
1000 self
.__class
__ = SplitterWindow
1001 _windows_
.SplitterWindow_swigregister(SplitterWindowPtr
)
1002 SplitterNameStr
= cvar
.SplitterNameStr
1004 def PreSplitterWindow(*args
, **kwargs
):
1006 PreSplitterWindow() -> SplitterWindow
1008 Precreate a SplitterWindow for 2-phase creation.
1010 val
= _windows_
.new_PreSplitterWindow(*args
, **kwargs
)
1014 class SplitterEvent(_core
.NotifyEvent
):
1015 """This class represents the events generated by a splitter control."""
1017 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1018 def __init__(self
, *args
, **kwargs
):
1020 __init__(self, wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent
1022 This class represents the events generated by a splitter control.
1024 newobj
= _windows_
.new_SplitterEvent(*args
, **kwargs
)
1025 self
.this
= newobj
.this
1028 def SetSashPosition(*args
, **kwargs
):
1030 SetSashPosition(self, int pos)
1032 This funciton is only meaningful during
1033 EVT_SPLITTER_SASH_POS_CHANGING and
1034 EVT_SPLITTER_SASH_POS_CHANGED events. In the case of
1035 _CHANGED events, sets the the new sash position. In the case
1036 of _CHANGING events, sets the new tracking bar position so
1037 visual feedback during dragging will represent that change
1038 that will actually take place. Set to -1 from the event
1039 handler code to prevent repositioning.
1041 return _windows_
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
1043 def GetSashPosition(*args
, **kwargs
):
1045 GetSashPosition(self) -> int
1047 Returns the new sash position while in
1048 EVT_SPLITTER_SASH_POS_CHANGING and
1049 EVT_SPLITTER_SASH_POS_CHANGED events.
1051 return _windows_
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
1053 def GetWindowBeingRemoved(*args
, **kwargs
):
1055 GetWindowBeingRemoved(self) -> Window
1057 Returns a pointer to the window being removed when a
1058 splitter window is unsplit.
1060 return _windows_
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
1062 def GetX(*args
, **kwargs
):
1066 Returns the x coordinate of the double-click point in a
1067 EVT_SPLITTER_DCLICK event.
1069 return _windows_
.SplitterEvent_GetX(*args
, **kwargs
)
1071 def GetY(*args
, **kwargs
):
1075 Returns the y coordinate of the double-click point in a
1076 EVT_SPLITTER_DCLICK event.
1078 return _windows_
.SplitterEvent_GetY(*args
, **kwargs
)
1081 class SplitterEventPtr(SplitterEvent
):
1082 def __init__(self
, this
):
1084 if not hasattr(self
,"thisown"): self
.thisown
= 0
1085 self
.__class
__ = SplitterEvent
1086 _windows_
.SplitterEvent_swigregister(SplitterEventPtr
)
1088 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
1089 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
1090 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows_
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
1091 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows_
.wxEVT_COMMAND_SPLITTER_UNSPLIT
1092 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
1093 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
1094 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
1095 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
1096 EVT_SPLITTER_DCLICK
= EVT_SPLITTER_DOUBLECLICKED
1098 #---------------------------------------------------------------------------
1100 SASH_DRAG_NONE
= _windows_
.SASH_DRAG_NONE
1101 SASH_DRAG_DRAGGING
= _windows_
.SASH_DRAG_DRAGGING
1102 SASH_DRAG_LEFT_DOWN
= _windows_
.SASH_DRAG_LEFT_DOWN
1103 SW_NOBORDER
= _windows_
.SW_NOBORDER
1104 SW_BORDER
= _windows_
.SW_BORDER
1105 SW_3DSASH
= _windows_
.SW_3DSASH
1106 SW_3DBORDER
= _windows_
.SW_3DBORDER
1107 SW_3D
= _windows_
.SW_3D
1108 SASH_TOP
= _windows_
.SASH_TOP
1109 SASH_RIGHT
= _windows_
.SASH_RIGHT
1110 SASH_BOTTOM
= _windows_
.SASH_BOTTOM
1111 SASH_LEFT
= _windows_
.SASH_LEFT
1112 SASH_NONE
= _windows_
.SASH_NONE
1113 class SashWindow(_core
.Window
):
1115 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1116 def __init__(self
, *args
, **kwargs
):
1118 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1119 long style=wxCLIP_CHILDREN|wxSW_3D,
1120 String name=SashNameStr) -> SashWindow
1122 newobj
= _windows_
.new_SashWindow(*args
, **kwargs
)
1123 self
.this
= newobj
.this
1126 self
._setOORInfo
(self
)
1128 def Create(*args
, **kwargs
):
1130 Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1131 long style=wxCLIP_CHILDREN|wxSW_3D,
1132 String name=SashNameStr) -> bool
1134 return _windows_
.SashWindow_Create(*args
, **kwargs
)
1136 def SetSashVisible(*args
, **kwargs
):
1137 """SetSashVisible(self, int edge, bool sash)"""
1138 return _windows_
.SashWindow_SetSashVisible(*args
, **kwargs
)
1140 def GetSashVisible(*args
, **kwargs
):
1141 """GetSashVisible(self, int edge) -> bool"""
1142 return _windows_
.SashWindow_GetSashVisible(*args
, **kwargs
)
1144 def SetSashBorder(*args
, **kwargs
):
1145 """SetSashBorder(self, int edge, bool border)"""
1146 return _windows_
.SashWindow_SetSashBorder(*args
, **kwargs
)
1148 def HasBorder(*args
, **kwargs
):
1149 """HasBorder(self, int edge) -> bool"""
1150 return _windows_
.SashWindow_HasBorder(*args
, **kwargs
)
1152 def GetEdgeMargin(*args
, **kwargs
):
1153 """GetEdgeMargin(self, int edge) -> int"""
1154 return _windows_
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
1156 def SetDefaultBorderSize(*args
, **kwargs
):
1157 """SetDefaultBorderSize(self, int width)"""
1158 return _windows_
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
1160 def GetDefaultBorderSize(*args
, **kwargs
):
1161 """GetDefaultBorderSize(self) -> int"""
1162 return _windows_
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
1164 def SetExtraBorderSize(*args
, **kwargs
):
1165 """SetExtraBorderSize(self, int width)"""
1166 return _windows_
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
1168 def GetExtraBorderSize(*args
, **kwargs
):
1169 """GetExtraBorderSize(self) -> int"""
1170 return _windows_
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
1172 def SetMinimumSizeX(*args
, **kwargs
):
1173 """SetMinimumSizeX(self, int min)"""
1174 return _windows_
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
1176 def SetMinimumSizeY(*args
, **kwargs
):
1177 """SetMinimumSizeY(self, int min)"""
1178 return _windows_
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
1180 def GetMinimumSizeX(*args
, **kwargs
):
1181 """GetMinimumSizeX(self) -> int"""
1182 return _windows_
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
1184 def GetMinimumSizeY(*args
, **kwargs
):
1185 """GetMinimumSizeY(self) -> int"""
1186 return _windows_
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
1188 def SetMaximumSizeX(*args
, **kwargs
):
1189 """SetMaximumSizeX(self, int max)"""
1190 return _windows_
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
1192 def SetMaximumSizeY(*args
, **kwargs
):
1193 """SetMaximumSizeY(self, int max)"""
1194 return _windows_
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
1196 def GetMaximumSizeX(*args
, **kwargs
):
1197 """GetMaximumSizeX(self) -> int"""
1198 return _windows_
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
1200 def GetMaximumSizeY(*args
, **kwargs
):
1201 """GetMaximumSizeY(self) -> int"""
1202 return _windows_
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
1204 def SashHitTest(*args
, **kwargs
):
1205 """SashHitTest(self, int x, int y, int tolerance=2) -> int"""
1206 return _windows_
.SashWindow_SashHitTest(*args
, **kwargs
)
1208 def SizeWindows(*args
, **kwargs
):
1209 """SizeWindows(self)"""
1210 return _windows_
.SashWindow_SizeWindows(*args
, **kwargs
)
1213 class SashWindowPtr(SashWindow
):
1214 def __init__(self
, this
):
1216 if not hasattr(self
,"thisown"): self
.thisown
= 0
1217 self
.__class
__ = SashWindow
1218 _windows_
.SashWindow_swigregister(SashWindowPtr
)
1219 SashNameStr
= cvar
.SashNameStr
1220 SashLayoutNameStr
= cvar
.SashLayoutNameStr
1222 def PreSashWindow(*args
, **kwargs
):
1223 """PreSashWindow() -> SashWindow"""
1224 val
= _windows_
.new_PreSashWindow(*args
, **kwargs
)
1228 SASH_STATUS_OK
= _windows_
.SASH_STATUS_OK
1229 SASH_STATUS_OUT_OF_RANGE
= _windows_
.SASH_STATUS_OUT_OF_RANGE
1230 class SashEvent(_core
.CommandEvent
):
1232 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1233 def __init__(self
, *args
, **kwargs
):
1234 """__init__(self, int id=0, int edge=SASH_NONE) -> SashEvent"""
1235 newobj
= _windows_
.new_SashEvent(*args
, **kwargs
)
1236 self
.this
= newobj
.this
1239 def SetEdge(*args
, **kwargs
):
1240 """SetEdge(self, int edge)"""
1241 return _windows_
.SashEvent_SetEdge(*args
, **kwargs
)
1243 def GetEdge(*args
, **kwargs
):
1244 """GetEdge(self) -> int"""
1245 return _windows_
.SashEvent_GetEdge(*args
, **kwargs
)
1247 def SetDragRect(*args
, **kwargs
):
1248 """SetDragRect(self, Rect rect)"""
1249 return _windows_
.SashEvent_SetDragRect(*args
, **kwargs
)
1251 def GetDragRect(*args
, **kwargs
):
1252 """GetDragRect(self) -> Rect"""
1253 return _windows_
.SashEvent_GetDragRect(*args
, **kwargs
)
1255 def SetDragStatus(*args
, **kwargs
):
1256 """SetDragStatus(self, int status)"""
1257 return _windows_
.SashEvent_SetDragStatus(*args
, **kwargs
)
1259 def GetDragStatus(*args
, **kwargs
):
1260 """GetDragStatus(self) -> int"""
1261 return _windows_
.SashEvent_GetDragStatus(*args
, **kwargs
)
1264 class SashEventPtr(SashEvent
):
1265 def __init__(self
, this
):
1267 if not hasattr(self
,"thisown"): self
.thisown
= 0
1268 self
.__class
__ = SashEvent
1269 _windows_
.SashEvent_swigregister(SashEventPtr
)
1271 wxEVT_SASH_DRAGGED
= _windows_
.wxEVT_SASH_DRAGGED
1272 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
1273 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
1275 #---------------------------------------------------------------------------
1277 LAYOUT_HORIZONTAL
= _windows_
.LAYOUT_HORIZONTAL
1278 LAYOUT_VERTICAL
= _windows_
.LAYOUT_VERTICAL
1279 LAYOUT_NONE
= _windows_
.LAYOUT_NONE
1280 LAYOUT_TOP
= _windows_
.LAYOUT_TOP
1281 LAYOUT_LEFT
= _windows_
.LAYOUT_LEFT
1282 LAYOUT_RIGHT
= _windows_
.LAYOUT_RIGHT
1283 LAYOUT_BOTTOM
= _windows_
.LAYOUT_BOTTOM
1284 LAYOUT_LENGTH_Y
= _windows_
.LAYOUT_LENGTH_Y
1285 LAYOUT_LENGTH_X
= _windows_
.LAYOUT_LENGTH_X
1286 LAYOUT_MRU_LENGTH
= _windows_
.LAYOUT_MRU_LENGTH
1287 LAYOUT_QUERY
= _windows_
.LAYOUT_QUERY
1288 wxEVT_QUERY_LAYOUT_INFO
= _windows_
.wxEVT_QUERY_LAYOUT_INFO
1289 wxEVT_CALCULATE_LAYOUT
= _windows_
.wxEVT_CALCULATE_LAYOUT
1290 class QueryLayoutInfoEvent(_core
.Event
):
1292 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1293 def __init__(self
, *args
, **kwargs
):
1294 """__init__(self, int id=0) -> QueryLayoutInfoEvent"""
1295 newobj
= _windows_
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1296 self
.this
= newobj
.this
1299 def SetRequestedLength(*args
, **kwargs
):
1300 """SetRequestedLength(self, int length)"""
1301 return _windows_
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1303 def GetRequestedLength(*args
, **kwargs
):
1304 """GetRequestedLength(self) -> int"""
1305 return _windows_
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1307 def SetFlags(*args
, **kwargs
):
1308 """SetFlags(self, int flags)"""
1309 return _windows_
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1311 def GetFlags(*args
, **kwargs
):
1312 """GetFlags(self) -> int"""
1313 return _windows_
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1315 def SetSize(*args
, **kwargs
):
1316 """SetSize(self, Size size)"""
1317 return _windows_
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1319 def GetSize(*args
, **kwargs
):
1320 """GetSize(self) -> Size"""
1321 return _windows_
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1323 def SetOrientation(*args
, **kwargs
):
1324 """SetOrientation(self, int orient)"""
1325 return _windows_
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1327 def GetOrientation(*args
, **kwargs
):
1328 """GetOrientation(self) -> int"""
1329 return _windows_
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1331 def SetAlignment(*args
, **kwargs
):
1332 """SetAlignment(self, int align)"""
1333 return _windows_
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1335 def GetAlignment(*args
, **kwargs
):
1336 """GetAlignment(self) -> int"""
1337 return _windows_
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1340 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1341 def __init__(self
, this
):
1343 if not hasattr(self
,"thisown"): self
.thisown
= 0
1344 self
.__class
__ = QueryLayoutInfoEvent
1345 _windows_
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1347 class CalculateLayoutEvent(_core
.Event
):
1349 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1350 def __init__(self
, *args
, **kwargs
):
1351 """__init__(self, int id=0) -> CalculateLayoutEvent"""
1352 newobj
= _windows_
.new_CalculateLayoutEvent(*args
, **kwargs
)
1353 self
.this
= newobj
.this
1356 def SetFlags(*args
, **kwargs
):
1357 """SetFlags(self, int flags)"""
1358 return _windows_
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1360 def GetFlags(*args
, **kwargs
):
1361 """GetFlags(self) -> int"""
1362 return _windows_
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1364 def SetRect(*args
, **kwargs
):
1365 """SetRect(self, Rect rect)"""
1366 return _windows_
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1368 def GetRect(*args
, **kwargs
):
1369 """GetRect(self) -> Rect"""
1370 return _windows_
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1373 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1374 def __init__(self
, this
):
1376 if not hasattr(self
,"thisown"): self
.thisown
= 0
1377 self
.__class
__ = CalculateLayoutEvent
1378 _windows_
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1380 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1381 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1383 class SashLayoutWindow(SashWindow
):
1385 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1386 def __init__(self
, *args
, **kwargs
):
1388 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1389 long style=wxCLIP_CHILDREN|wxSW_3D,
1390 String name=SashLayoutNameStr) -> SashLayoutWindow
1392 newobj
= _windows_
.new_SashLayoutWindow(*args
, **kwargs
)
1393 self
.this
= newobj
.this
1396 self
._setOORInfo
(self
)
1398 def Create(*args
, **kwargs
):
1400 Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1401 long style=wxCLIP_CHILDREN|wxSW_3D,
1402 String name=SashLayoutNameStr) -> bool
1404 return _windows_
.SashLayoutWindow_Create(*args
, **kwargs
)
1406 def GetAlignment(*args
, **kwargs
):
1407 """GetAlignment(self) -> int"""
1408 return _windows_
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1410 def GetOrientation(*args
, **kwargs
):
1411 """GetOrientation(self) -> int"""
1412 return _windows_
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1414 def SetAlignment(*args
, **kwargs
):
1415 """SetAlignment(self, int alignment)"""
1416 return _windows_
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1418 def SetDefaultSize(*args
, **kwargs
):
1419 """SetDefaultSize(self, Size size)"""
1420 return _windows_
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1422 def SetOrientation(*args
, **kwargs
):
1423 """SetOrientation(self, int orientation)"""
1424 return _windows_
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1427 class SashLayoutWindowPtr(SashLayoutWindow
):
1428 def __init__(self
, this
):
1430 if not hasattr(self
,"thisown"): self
.thisown
= 0
1431 self
.__class
__ = SashLayoutWindow
1432 _windows_
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1434 def PreSashLayoutWindow(*args
, **kwargs
):
1435 """PreSashLayoutWindow() -> SashLayoutWindow"""
1436 val
= _windows_
.new_PreSashLayoutWindow(*args
, **kwargs
)
1440 class LayoutAlgorithm(_core
.Object
):
1442 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1443 def __init__(self
, *args
, **kwargs
):
1444 """__init__(self) -> LayoutAlgorithm"""
1445 newobj
= _windows_
.new_LayoutAlgorithm(*args
, **kwargs
)
1446 self
.this
= newobj
.this
1449 def __del__(self
, destroy
=_windows_
.delete_LayoutAlgorithm
):
1452 if self
.thisown
: destroy(self
)
1455 def LayoutMDIFrame(*args
, **kwargs
):
1456 """LayoutMDIFrame(self, MDIParentFrame frame, Rect rect=None) -> bool"""
1457 return _windows_
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1459 def LayoutFrame(*args
, **kwargs
):
1460 """LayoutFrame(self, Frame frame, Window mainWindow=None) -> bool"""
1461 return _windows_
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1463 def LayoutWindow(*args
, **kwargs
):
1464 """LayoutWindow(self, Window parent, Window mainWindow=None) -> bool"""
1465 return _windows_
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1468 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1469 def __init__(self
, this
):
1471 if not hasattr(self
,"thisown"): self
.thisown
= 0
1472 self
.__class
__ = LayoutAlgorithm
1473 _windows_
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1475 class PopupWindow(_core
.Window
):
1477 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1478 def __init__(self
, *args
, **kwargs
):
1479 """__init__(self, Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1480 newobj
= _windows_
.new_PopupWindow(*args
, **kwargs
)
1481 self
.this
= newobj
.this
1485 class PopupWindowPtr(PopupWindow
):
1486 def __init__(self
, this
):
1488 if not hasattr(self
,"thisown"): self
.thisown
= 0
1489 self
.__class
__ = PopupWindow
1490 _windows_
.PopupWindow_swigregister(PopupWindowPtr
)
1492 def PrePopupWindow(*args
, **kwargs
):
1493 """PrePopupWindow() -> PopupWindow"""
1494 val
= _windows_
.new_PrePopupWindow(*args
, **kwargs
)
1498 class PopupTransientWindow(PopupWindow
):
1500 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1501 def __init__(self
, *args
, **kwargs
):
1502 """__init__(self, Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1503 newobj
= _windows_
.new_PopupTransientWindow(*args
, **kwargs
)
1504 self
.this
= newobj
.this
1508 class PopupTransientWindowPtr(PopupTransientWindow
):
1509 def __init__(self
, this
):
1511 if not hasattr(self
,"thisown"): self
.thisown
= 0
1512 self
.__class
__ = PopupTransientWindow
1513 _windows_
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1515 def PrePopupTransientWindow(*args
, **kwargs
):
1516 """PrePopupTransientWindow() -> PopupTransientWindow"""
1517 val
= _windows_
.new_PrePopupTransientWindow(*args
, **kwargs
)
1521 #---------------------------------------------------------------------------
1523 class TipWindow(Frame
):
1525 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1526 def __init__(self
, *args
, **kwargs
):
1527 """__init__(self, Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1528 newobj
= _windows_
.new_TipWindow(*args
, **kwargs
)
1529 self
.this
= newobj
.this
1532 self
._setOORInfo
(self
)
1534 def SetBoundingRect(*args
, **kwargs
):
1535 """SetBoundingRect(self, Rect rectBound)"""
1536 return _windows_
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1538 def Close(*args
, **kwargs
):
1540 return _windows_
.TipWindow_Close(*args
, **kwargs
)
1543 class TipWindowPtr(TipWindow
):
1544 def __init__(self
, this
):
1546 if not hasattr(self
,"thisown"): self
.thisown
= 0
1547 self
.__class
__ = TipWindow
1548 _windows_
.TipWindow_swigregister(TipWindowPtr
)
1550 #---------------------------------------------------------------------------
1552 class VScrolledWindow(Panel
):
1554 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1555 def __init__(self
, *args
, **kwargs
):
1557 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1558 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
1560 newobj
= _windows_
.new_VScrolledWindow(*args
, **kwargs
)
1561 self
.this
= newobj
.this
1564 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1566 def _setCallbackInfo(*args
, **kwargs
):
1567 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1568 return _windows_
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1570 def Create(*args
, **kwargs
):
1572 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1573 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
1575 return _windows_
.VScrolledWindow_Create(*args
, **kwargs
)
1577 def SetLineCount(*args
, **kwargs
):
1578 """SetLineCount(self, size_t count)"""
1579 return _windows_
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1581 def ScrollToLine(*args
, **kwargs
):
1582 """ScrollToLine(self, size_t line) -> bool"""
1583 return _windows_
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1585 def ScrollLines(*args
, **kwargs
):
1587 ScrollLines(self, int lines) -> bool
1589 If the platform and window class supports it, scrolls the window by
1590 the given number of lines down, if lines is positive, or up if lines
1591 is negative. Returns True if the window was scrolled, False if it was
1592 already on top/bottom and nothing was done.
1594 return _windows_
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1596 def ScrollPages(*args
, **kwargs
):
1598 ScrollPages(self, int pages) -> bool
1600 If the platform and window class supports it, scrolls the window by
1601 the given number of pages down, if pages is positive, or up if pages
1602 is negative. Returns True if the window was scrolled, False if it was
1603 already on top/bottom and nothing was done.
1605 return _windows_
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1607 def RefreshLine(*args
, **kwargs
):
1608 """RefreshLine(self, size_t line)"""
1609 return _windows_
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1611 def RefreshLines(*args
, **kwargs
):
1612 """RefreshLines(self, size_t from, size_t to)"""
1613 return _windows_
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1615 def HitTestXT(*args
, **kwargs
):
1617 HitTestXT(self, int x, int y) -> int
1619 Test where the given (in client coords) point lies
1621 return _windows_
.VScrolledWindow_HitTestXT(*args
, **kwargs
)
1623 def HitTest(*args
, **kwargs
):
1625 HitTest(self, Point pt) -> int
1627 Test where the given (in client coords) point lies
1629 return _windows_
.VScrolledWindow_HitTest(*args
, **kwargs
)
1631 def RefreshAll(*args
, **kwargs
):
1632 """RefreshAll(self)"""
1633 return _windows_
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1635 def GetLineCount(*args
, **kwargs
):
1636 """GetLineCount(self) -> size_t"""
1637 return _windows_
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1639 def GetFirstVisibleLine(*args
, **kwargs
):
1640 """GetFirstVisibleLine(self) -> size_t"""
1641 return _windows_
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1643 def GetLastVisibleLine(*args
, **kwargs
):
1644 """GetLastVisibleLine(self) -> size_t"""
1645 return _windows_
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1647 def IsVisible(*args
, **kwargs
):
1648 """IsVisible(self, size_t line) -> bool"""
1649 return _windows_
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1652 class VScrolledWindowPtr(VScrolledWindow
):
1653 def __init__(self
, this
):
1655 if not hasattr(self
,"thisown"): self
.thisown
= 0
1656 self
.__class
__ = VScrolledWindow
1657 _windows_
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
1659 def PreVScrolledWindow(*args
, **kwargs
):
1660 """PreVScrolledWindow() -> VScrolledWindow"""
1661 val
= _windows_
.new_PreVScrolledWindow(*args
, **kwargs
)
1665 class VListBox(VScrolledWindow
):
1667 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1668 def __init__(self
, *args
, **kwargs
):
1670 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1671 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
1673 newobj
= _windows_
.new_VListBox(*args
, **kwargs
)
1674 self
.this
= newobj
.this
1677 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
1679 def _setCallbackInfo(*args
, **kwargs
):
1680 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1681 return _windows_
.VListBox__setCallbackInfo(*args
, **kwargs
)
1683 def Create(*args
, **kwargs
):
1685 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1686 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1688 return _windows_
.VListBox_Create(*args
, **kwargs
)
1690 def GetItemCount(*args
, **kwargs
):
1691 """GetItemCount(self) -> size_t"""
1692 return _windows_
.VListBox_GetItemCount(*args
, **kwargs
)
1694 def HasMultipleSelection(*args
, **kwargs
):
1695 """HasMultipleSelection(self) -> bool"""
1696 return _windows_
.VListBox_HasMultipleSelection(*args
, **kwargs
)
1698 def GetSelection(*args
, **kwargs
):
1699 """GetSelection(self) -> int"""
1700 return _windows_
.VListBox_GetSelection(*args
, **kwargs
)
1702 def IsCurrent(*args
, **kwargs
):
1703 """IsCurrent(self, size_t item) -> bool"""
1704 return _windows_
.VListBox_IsCurrent(*args
, **kwargs
)
1706 def IsSelected(*args
, **kwargs
):
1707 """IsSelected(self, size_t item) -> bool"""
1708 return _windows_
.VListBox_IsSelected(*args
, **kwargs
)
1710 def GetSelectedCount(*args
, **kwargs
):
1711 """GetSelectedCount(self) -> size_t"""
1712 return _windows_
.VListBox_GetSelectedCount(*args
, **kwargs
)
1714 def GetFirstSelected(*args
, **kwargs
):
1715 """GetFirstSelected(self, unsigned long cookie) -> int"""
1716 return _windows_
.VListBox_GetFirstSelected(*args
, **kwargs
)
1718 def GetNextSelected(*args
, **kwargs
):
1719 """GetNextSelected(self, unsigned long cookie) -> int"""
1720 return _windows_
.VListBox_GetNextSelected(*args
, **kwargs
)
1722 def GetMargins(*args
, **kwargs
):
1723 """GetMargins(self) -> Point"""
1724 return _windows_
.VListBox_GetMargins(*args
, **kwargs
)
1726 def GetSelectionBackground(*args
, **kwargs
):
1727 """GetSelectionBackground(self) -> Colour"""
1728 return _windows_
.VListBox_GetSelectionBackground(*args
, **kwargs
)
1730 def SetItemCount(*args
, **kwargs
):
1731 """SetItemCount(self, size_t count)"""
1732 return _windows_
.VListBox_SetItemCount(*args
, **kwargs
)
1734 def Clear(*args
, **kwargs
):
1736 return _windows_
.VListBox_Clear(*args
, **kwargs
)
1738 def SetSelection(*args
, **kwargs
):
1739 """SetSelection(self, int selection)"""
1740 return _windows_
.VListBox_SetSelection(*args
, **kwargs
)
1742 def Select(*args
, **kwargs
):
1743 """Select(self, size_t item, bool select=True) -> bool"""
1744 return _windows_
.VListBox_Select(*args
, **kwargs
)
1746 def SelectRange(*args
, **kwargs
):
1747 """SelectRange(self, size_t from, size_t to) -> bool"""
1748 return _windows_
.VListBox_SelectRange(*args
, **kwargs
)
1750 def Toggle(*args
, **kwargs
):
1751 """Toggle(self, size_t item)"""
1752 return _windows_
.VListBox_Toggle(*args
, **kwargs
)
1754 def SelectAll(*args
, **kwargs
):
1755 """SelectAll(self) -> bool"""
1756 return _windows_
.VListBox_SelectAll(*args
, **kwargs
)
1758 def DeselectAll(*args
, **kwargs
):
1759 """DeselectAll(self) -> bool"""
1760 return _windows_
.VListBox_DeselectAll(*args
, **kwargs
)
1762 def SetMargins(*args
, **kwargs
):
1763 """SetMargins(self, Point pt)"""
1764 return _windows_
.VListBox_SetMargins(*args
, **kwargs
)
1766 def SetMarginsXY(*args
, **kwargs
):
1767 """SetMarginsXY(self, int x, int y)"""
1768 return _windows_
.VListBox_SetMarginsXY(*args
, **kwargs
)
1770 def SetSelectionBackground(*args
, **kwargs
):
1771 """SetSelectionBackground(self, Colour col)"""
1772 return _windows_
.VListBox_SetSelectionBackground(*args
, **kwargs
)
1775 class VListBoxPtr(VListBox
):
1776 def __init__(self
, this
):
1778 if not hasattr(self
,"thisown"): self
.thisown
= 0
1779 self
.__class
__ = VListBox
1780 _windows_
.VListBox_swigregister(VListBoxPtr
)
1781 VListBoxNameStr
= cvar
.VListBoxNameStr
1783 def PreVListBox(*args
, **kwargs
):
1784 """PreVListBox() -> VListBox"""
1785 val
= _windows_
.new_PreVListBox(*args
, **kwargs
)
1789 class HtmlListBox(VListBox
):
1791 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1792 def __init__(self
, *args
, **kwargs
):
1794 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1795 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
1797 newobj
= _windows_
.new_HtmlListBox(*args
, **kwargs
)
1798 self
.this
= newobj
.this
1801 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
1803 def _setCallbackInfo(*args
, **kwargs
):
1804 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1805 return _windows_
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
1807 def Create(*args
, **kwargs
):
1809 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1810 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1812 return _windows_
.HtmlListBox_Create(*args
, **kwargs
)
1814 def RefreshAll(*args
, **kwargs
):
1815 """RefreshAll(self)"""
1816 return _windows_
.HtmlListBox_RefreshAll(*args
, **kwargs
)
1818 def SetItemCount(*args
, **kwargs
):
1819 """SetItemCount(self, size_t count)"""
1820 return _windows_
.HtmlListBox_SetItemCount(*args
, **kwargs
)
1823 class HtmlListBoxPtr(HtmlListBox
):
1824 def __init__(self
, this
):
1826 if not hasattr(self
,"thisown"): self
.thisown
= 0
1827 self
.__class
__ = HtmlListBox
1828 _windows_
.HtmlListBox_swigregister(HtmlListBoxPtr
)
1830 def PreHtmlListBox(*args
, **kwargs
):
1831 """PreHtmlListBox() -> HtmlListBox"""
1832 val
= _windows_
.new_PreHtmlListBox(*args
, **kwargs
)
1836 #---------------------------------------------------------------------------
1838 class TaskBarIcon(_core
.EvtHandler
):
1840 return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1841 def __init__(self
, *args
, **kwargs
):
1842 """__init__(self) -> TaskBarIcon"""
1843 newobj
= _windows_
.new_TaskBarIcon(*args
, **kwargs
)
1844 self
.this
= newobj
.this
1847 def __del__(self
, destroy
=_windows_
.delete_TaskBarIcon
):
1850 if self
.thisown
: destroy(self
)
1853 def Destroy(*args
, **kwargs
):
1857 Deletes the C++ object this Python object is a proxy for.
1859 return _windows_
.TaskBarIcon_Destroy(*args
, **kwargs
)
1862 class TaskBarIconPtr(TaskBarIcon
):
1863 def __init__(self
, this
):
1865 if not hasattr(self
,"thisown"): self
.thisown
= 0
1866 self
.__class
__ = TaskBarIcon
1867 _windows_
.TaskBarIcon_swigregister(TaskBarIconPtr
)
1869 class TaskBarIconEvent(_core
.Event
):
1871 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1872 def __init__(self
, *args
, **kwargs
):
1873 """__init__(self, wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
1874 newobj
= _windows_
.new_TaskBarIconEvent(*args
, **kwargs
)
1875 self
.this
= newobj
.this
1879 class TaskBarIconEventPtr(TaskBarIconEvent
):
1880 def __init__(self
, this
):
1882 if not hasattr(self
,"thisown"): self
.thisown
= 0
1883 self
.__class
__ = TaskBarIconEvent
1884 _windows_
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
1886 wxEVT_TASKBAR_MOVE
= _windows_
.wxEVT_TASKBAR_MOVE
1887 wxEVT_TASKBAR_LEFT_DOWN
= _windows_
.wxEVT_TASKBAR_LEFT_DOWN
1888 wxEVT_TASKBAR_LEFT_UP
= _windows_
.wxEVT_TASKBAR_LEFT_UP
1889 wxEVT_TASKBAR_RIGHT_DOWN
= _windows_
.wxEVT_TASKBAR_RIGHT_DOWN
1890 wxEVT_TASKBAR_RIGHT_UP
= _windows_
.wxEVT_TASKBAR_RIGHT_UP
1891 wxEVT_TASKBAR_LEFT_DCLICK
= _windows_
.wxEVT_TASKBAR_LEFT_DCLICK
1892 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows_
.wxEVT_TASKBAR_RIGHT_DCLICK
1893 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
1894 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
1895 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
1896 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
1897 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
1898 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
1899 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
1901 #---------------------------------------------------------------------------
1903 class ColourData(_core
.Object
):
1904 """This class holds a variety of information related to colour dialogs."""
1906 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1907 def __init__(self
, *args
, **kwargs
):
1909 __init__(self) -> ColourData
1911 Constructor, sets default values.
1913 newobj
= _windows_
.new_ColourData(*args
, **kwargs
)
1914 self
.this
= newobj
.this
1917 def __del__(self
, destroy
=_windows_
.delete_ColourData
):
1920 if self
.thisown
: destroy(self
)
1923 def GetChooseFull(*args
, **kwargs
):
1925 GetChooseFull(self) -> bool
1927 Under Windows, determines whether the Windows colour dialog will display
1928 the full dialog with custom colour selection controls. Has no meaning
1929 under other platforms. The default value is true.
1931 return _windows_
.ColourData_GetChooseFull(*args
, **kwargs
)
1933 def GetColour(*args
, **kwargs
):
1935 GetColour(self) -> Colour
1937 Gets the colour (pre)selected by the dialog.
1939 return _windows_
.ColourData_GetColour(*args
, **kwargs
)
1941 def GetCustomColour(*args
, **kwargs
):
1943 GetCustomColour(self, int i) -> Colour
1945 Gets the i'th custom colour associated with the colour dialog. i should
1946 be an integer between 0 and 15. The default custom colours are all white.
1948 return _windows_
.ColourData_GetCustomColour(*args
, **kwargs
)
1950 def SetChooseFull(*args
, **kwargs
):
1952 SetChooseFull(self, int flag)
1954 Under Windows, tells the Windows colour dialog to display the full dialog
1955 with custom colour selection controls. Under other platforms, has no effect.
1956 The default value is true.
1958 return _windows_
.ColourData_SetChooseFull(*args
, **kwargs
)
1960 def SetColour(*args
, **kwargs
):
1962 SetColour(self, Colour colour)
1964 Sets the default colour for the colour dialog. The default colour is black.
1966 return _windows_
.ColourData_SetColour(*args
, **kwargs
)
1968 def SetCustomColour(*args
, **kwargs
):
1970 SetCustomColour(self, int i, Colour colour)
1972 Sets the i'th custom colour for the colour dialog. i should be an integer
1973 between 0 and 15. The default custom colours are all white.
1975 return _windows_
.ColourData_SetCustomColour(*args
, **kwargs
)
1978 class ColourDataPtr(ColourData
):
1979 def __init__(self
, this
):
1981 if not hasattr(self
,"thisown"): self
.thisown
= 0
1982 self
.__class
__ = ColourData
1983 _windows_
.ColourData_swigregister(ColourDataPtr
)
1984 FileSelectorPromptStr
= cvar
.FileSelectorPromptStr
1985 DirSelectorPromptStr
= cvar
.DirSelectorPromptStr
1986 DirDialogNameStr
= cvar
.DirDialogNameStr
1987 FileSelectorDefaultWildcardStr
= cvar
.FileSelectorDefaultWildcardStr
1988 GetTextFromUserPromptStr
= cvar
.GetTextFromUserPromptStr
1989 MessageBoxCaptionStr
= cvar
.MessageBoxCaptionStr
1991 class ColourDialog(Dialog
):
1992 """This class represents the colour chooser dialog."""
1994 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1995 def __init__(self
, *args
, **kwargs
):
1997 __init__(self, Window parent, ColourData data=None) -> ColourDialog
1999 Constructor. Pass a parent window, and optionally a ColourData, which
2000 will be copied to the colour dialog's internal ColourData instance.
2002 newobj
= _windows_
.new_ColourDialog(*args
, **kwargs
)
2003 self
.this
= newobj
.this
2006 self
._setOORInfo
(self
)
2008 def GetColourData(*args
, **kwargs
):
2010 GetColourData(self) -> ColourData
2012 Returns a reference to the ColourData used by the dialog.
2014 return _windows_
.ColourDialog_GetColourData(*args
, **kwargs
)
2017 class ColourDialogPtr(ColourDialog
):
2018 def __init__(self
, this
):
2020 if not hasattr(self
,"thisown"): self
.thisown
= 0
2021 self
.__class
__ = ColourDialog
2022 _windows_
.ColourDialog_swigregister(ColourDialogPtr
)
2024 class DirDialog(Dialog
):
2025 """This class represents the directory chooser dialog."""
2027 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2028 def __init__(self
, *args
, **kwargs
):
2030 __init__(self, Window parent, String message=DirSelectorPromptStr,
2031 String defaultPath=EmptyString, long style=0,
2032 Point pos=DefaultPosition, Size size=DefaultSize,
2033 String name=DirDialogNameStr) -> DirDialog
2035 Constructor. Use ShowModal method to show the dialog.
2037 newobj
= _windows_
.new_DirDialog(*args
, **kwargs
)
2038 self
.this
= newobj
.this
2041 self
._setOORInfo
(self
)
2043 def GetPath(*args
, **kwargs
):
2045 GetPath(self) -> String
2047 Returns the default or user-selected path.
2049 return _windows_
.DirDialog_GetPath(*args
, **kwargs
)
2051 def GetMessage(*args
, **kwargs
):
2053 GetMessage(self) -> String
2055 Returns the message that will be displayed on the dialog.
2057 return _windows_
.DirDialog_GetMessage(*args
, **kwargs
)
2059 def GetStyle(*args
, **kwargs
):
2061 GetStyle(self) -> long
2063 Returns the dialog style.
2065 return _windows_
.DirDialog_GetStyle(*args
, **kwargs
)
2067 def SetMessage(*args
, **kwargs
):
2069 SetMessage(self, String message)
2071 Sets the message that will be displayed on the dialog.
2073 return _windows_
.DirDialog_SetMessage(*args
, **kwargs
)
2075 def SetPath(*args
, **kwargs
):
2077 SetPath(self, String path)
2079 Sets the default path.
2081 return _windows_
.DirDialog_SetPath(*args
, **kwargs
)
2084 class DirDialogPtr(DirDialog
):
2085 def __init__(self
, this
):
2087 if not hasattr(self
,"thisown"): self
.thisown
= 0
2088 self
.__class
__ = DirDialog
2089 _windows_
.DirDialog_swigregister(DirDialogPtr
)
2091 class FileDialog(Dialog
):
2092 """This class represents the file chooser dialog."""
2094 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2095 def __init__(self
, *args
, **kwargs
):
2097 __init__(self, Window parent, String message=FileSelectorPromptStr,
2098 String defaultDir=EmptyString, String defaultFile=EmptyString,
2099 String wildcard=FileSelectorDefaultWildcardStr,
2100 long style=0, Point pos=DefaultPosition) -> FileDialog
2102 Constructor. Use ShowModal method to show the dialog.
2104 newobj
= _windows_
.new_FileDialog(*args
, **kwargs
)
2105 self
.this
= newobj
.this
2108 self
._setOORInfo
(self
)
2110 def SetMessage(*args
, **kwargs
):
2112 SetMessage(self, String message)
2114 Sets the message that will be displayed on the dialog.
2116 return _windows_
.FileDialog_SetMessage(*args
, **kwargs
)
2118 def SetPath(*args
, **kwargs
):
2120 SetPath(self, String path)
2122 Sets the path (the combined directory and filename that will
2123 be returned when the dialog is dismissed).
2125 return _windows_
.FileDialog_SetPath(*args
, **kwargs
)
2127 def SetDirectory(*args
, **kwargs
):
2129 SetDirectory(self, String dir)
2131 Sets the default directory.
2133 return _windows_
.FileDialog_SetDirectory(*args
, **kwargs
)
2135 def SetFilename(*args
, **kwargs
):
2137 SetFilename(self, String name)
2139 Sets the default filename.
2141 return _windows_
.FileDialog_SetFilename(*args
, **kwargs
)
2143 def SetWildcard(*args
, **kwargs
):
2145 SetWildcard(self, String wildCard)
2147 Sets the wildcard, which can contain multiple file types, for example:
2148 "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
2150 return _windows_
.FileDialog_SetWildcard(*args
, **kwargs
)
2152 def SetStyle(*args
, **kwargs
):
2154 SetStyle(self, long style)
2156 Sets the dialog style.
2158 return _windows_
.FileDialog_SetStyle(*args
, **kwargs
)
2160 def SetFilterIndex(*args
, **kwargs
):
2162 SetFilterIndex(self, int filterIndex)
2164 Sets the default filter index, starting from zero.
2166 return _windows_
.FileDialog_SetFilterIndex(*args
, **kwargs
)
2168 def GetMessage(*args
, **kwargs
):
2170 GetMessage(self) -> String
2172 Returns the message that will be displayed on the dialog.
2174 return _windows_
.FileDialog_GetMessage(*args
, **kwargs
)
2176 def GetPath(*args
, **kwargs
):
2178 GetPath(self) -> String
2180 Returns the full path (directory and filename) of the selected file.
2182 return _windows_
.FileDialog_GetPath(*args
, **kwargs
)
2184 def GetDirectory(*args
, **kwargs
):
2186 GetDirectory(self) -> String
2188 Returns the default directory.
2190 return _windows_
.FileDialog_GetDirectory(*args
, **kwargs
)
2192 def GetFilename(*args
, **kwargs
):
2194 GetFilename(self) -> String
2196 Returns the default filename.
2198 return _windows_
.FileDialog_GetFilename(*args
, **kwargs
)
2200 def GetWildcard(*args
, **kwargs
):
2202 GetWildcard(self) -> String
2204 Returns the file dialog wildcard.
2206 return _windows_
.FileDialog_GetWildcard(*args
, **kwargs
)
2208 def GetStyle(*args
, **kwargs
):
2210 GetStyle(self) -> long
2212 Returns the dialog style.
2214 return _windows_
.FileDialog_GetStyle(*args
, **kwargs
)
2216 def GetFilterIndex(*args
, **kwargs
):
2218 GetFilterIndex(self) -> int
2220 Returns the index into the list of filters supplied, optionally, in
2221 the wildcard parameter. Before the dialog is shown, this is the index
2222 which will be used when the dialog is first displayed. After the dialog
2223 is shown, this is the index selected by the user.
2225 return _windows_
.FileDialog_GetFilterIndex(*args
, **kwargs
)
2227 def GetFilenames(*args
, **kwargs
):
2229 GetFilenames(self) -> PyObject
2231 Returns a list of filenames chosen in the dialog. This function should
2232 only be used with the dialogs which have wx.MULTIPLE style, use
2233 GetFilename for the others.
2235 return _windows_
.FileDialog_GetFilenames(*args
, **kwargs
)
2237 def GetPaths(*args
, **kwargs
):
2239 GetPaths(self) -> PyObject
2241 Fills the array paths with the full paths of the files chosen. This
2242 function should only be used with the dialogs which have wx.MULTIPLE style,
2243 use GetPath for the others.
2245 return _windows_
.FileDialog_GetPaths(*args
, **kwargs
)
2248 class FileDialogPtr(FileDialog
):
2249 def __init__(self
, this
):
2251 if not hasattr(self
,"thisown"): self
.thisown
= 0
2252 self
.__class
__ = FileDialog
2253 _windows_
.FileDialog_swigregister(FileDialogPtr
)
2255 CHOICEDLG_STYLE
= _windows_
.CHOICEDLG_STYLE
2256 class MultiChoiceDialog(Dialog
):
2257 """A simple dialog with a multi selection listbox."""
2259 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2260 def __init__(self
, *args
, **kwargs
):
2262 __init__(Window parent, String message, String caption,
2263 List choices=[], long style=CHOICEDLG_STYLE,
2264 Point pos=DefaultPosition) -> MultiChoiceDialog
2266 Constructor. Use ShowModal method to show the dialog.
2268 newobj
= _windows_
.new_MultiChoiceDialog(*args
, **kwargs
)
2269 self
.this
= newobj
.this
2272 self
._setOORInfo
(self
)
2274 def SetSelections(*args
, **kwargs
):
2276 SetSelections(List selections)
2278 Specify the items in the list that shoudl be selected, using a list of integers.
2280 return _windows_
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
2282 def GetSelections(*args
, **kwargs
):
2284 GetSelections() -> [selections]
2286 Returns a list of integers representing the items that are selected.
2288 return _windows_
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
2291 class MultiChoiceDialogPtr(MultiChoiceDialog
):
2292 def __init__(self
, this
):
2294 if not hasattr(self
,"thisown"): self
.thisown
= 0
2295 self
.__class
__ = MultiChoiceDialog
2296 _windows_
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
2298 class SingleChoiceDialog(Dialog
):
2299 """A simple dialog with a single selection listbox."""
2301 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2302 def __init__(self
, *args
, **kwargs
):
2304 __init__(Window parent, String message, String caption,
2305 List choices=[], long style=CHOICEDLG_STYLE,
2306 Point pos=DefaultPosition) -> SingleChoiceDialog
2308 Constructor. Use ShowModal method to show the dialog.
2310 newobj
= _windows_
.new_SingleChoiceDialog(*args
, **kwargs
)
2311 self
.this
= newobj
.this
2314 self
._setOORInfo
(self
)
2316 def GetSelection(*args
, **kwargs
):
2318 GetSelection(self) -> int
2320 Get the index of teh currently selected item.
2322 return _windows_
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
2324 def GetStringSelection(*args
, **kwargs
):
2326 GetStringSelection(self) -> String
2328 Returns the string value of the currently selected item
2330 return _windows_
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
2332 def SetSelection(*args
, **kwargs
):
2334 SetSelection(self, int sel)
2336 Set the current selected item to sel
2338 return _windows_
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
2341 class SingleChoiceDialogPtr(SingleChoiceDialog
):
2342 def __init__(self
, this
):
2344 if not hasattr(self
,"thisown"): self
.thisown
= 0
2345 self
.__class
__ = SingleChoiceDialog
2346 _windows_
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
2348 class TextEntryDialog(Dialog
):
2349 """A dialog with text control, [ok] and [cancel] buttons"""
2351 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2352 def __init__(self
, *args
, **kwargs
):
2354 __init__(self, Window parent, String message, String caption=GetTextFromUserPromptStr,
2355 String defaultValue=EmptyString,
2356 long style=wxOK|wxCANCEL|wxCENTRE, Point pos=DefaultPosition) -> TextEntryDialog
2358 Constructor. Use ShowModal method to show the dialog.
2360 newobj
= _windows_
.new_TextEntryDialog(*args
, **kwargs
)
2361 self
.this
= newobj
.this
2364 self
._setOORInfo
(self
)
2366 def GetValue(*args
, **kwargs
):
2368 GetValue(self) -> String
2370 Returns the text that the user has entered if the user has pressed OK,
2371 or the original value if the user has pressed Cancel.
2373 return _windows_
.TextEntryDialog_GetValue(*args
, **kwargs
)
2375 def SetValue(*args
, **kwargs
):
2377 SetValue(self, String value)
2379 Sets the default text value.
2381 return _windows_
.TextEntryDialog_SetValue(*args
, **kwargs
)
2384 class TextEntryDialogPtr(TextEntryDialog
):
2385 def __init__(self
, this
):
2387 if not hasattr(self
,"thisown"): self
.thisown
= 0
2388 self
.__class
__ = TextEntryDialog
2389 _windows_
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
2391 class FontData(_core
.Object
):
2392 """This class holds a variety of information related to font dialogs."""
2394 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2395 def __init__(self
, *args
, **kwargs
):
2397 __init__(self) -> FontData
2399 This class holds a variety of information related to font dialogs.
2401 newobj
= _windows_
.new_FontData(*args
, **kwargs
)
2402 self
.this
= newobj
.this
2405 def __del__(self
, destroy
=_windows_
.delete_FontData
):
2408 if self
.thisown
: destroy(self
)
2411 def EnableEffects(*args
, **kwargs
):
2413 EnableEffects(self, bool enable)
2415 Enables or disables 'effects' under MS Windows only. This refers
2416 to the controls for manipulating colour, strikeout and underline
2417 properties. The default value is true.
2419 return _windows_
.FontData_EnableEffects(*args
, **kwargs
)
2421 def GetAllowSymbols(*args
, **kwargs
):
2423 GetAllowSymbols(self) -> bool
2425 Under MS Windows, returns a flag determining whether symbol fonts can be
2426 selected. Has no effect on other platforms. The default value is true.
2428 return _windows_
.FontData_GetAllowSymbols(*args
, **kwargs
)
2430 def GetColour(*args
, **kwargs
):
2432 GetColour(self) -> Colour
2434 Gets the colour associated with the font dialog. The default value is black.
2436 return _windows_
.FontData_GetColour(*args
, **kwargs
)
2438 def GetChosenFont(*args
, **kwargs
):
2440 GetChosenFont(self) -> Font
2442 Gets the font chosen by the user.
2444 return _windows_
.FontData_GetChosenFont(*args
, **kwargs
)
2446 def GetEnableEffects(*args
, **kwargs
):
2448 GetEnableEffects(self) -> bool
2450 Determines whether 'effects' are enabled under Windows.
2452 return _windows_
.FontData_GetEnableEffects(*args
, **kwargs
)
2454 def GetInitialFont(*args
, **kwargs
):
2456 GetInitialFont(self) -> Font
2458 Gets the font that will be initially used by the font dialog. This should have
2459 previously been set by the application.
2461 return _windows_
.FontData_GetInitialFont(*args
, **kwargs
)
2463 def GetShowHelp(*args
, **kwargs
):
2465 GetShowHelp(self) -> bool
2467 Returns true if the Help button will be shown (Windows only). The default
2470 return _windows_
.FontData_GetShowHelp(*args
, **kwargs
)
2472 def SetAllowSymbols(*args
, **kwargs
):
2474 SetAllowSymbols(self, bool allowSymbols)
2476 Under MS Windows, determines whether symbol fonts can be selected. Has no
2477 effect on other platforms. The default value is true.
2479 return _windows_
.FontData_SetAllowSymbols(*args
, **kwargs
)
2481 def SetChosenFont(*args
, **kwargs
):
2483 SetChosenFont(self, Font font)
2485 Sets the font that will be returned to the user (for internal use only).
2487 return _windows_
.FontData_SetChosenFont(*args
, **kwargs
)
2489 def SetColour(*args
, **kwargs
):
2491 SetColour(self, Colour colour)
2493 Sets the colour that will be used for the font foreground colour. The default
2496 return _windows_
.FontData_SetColour(*args
, **kwargs
)
2498 def SetInitialFont(*args
, **kwargs
):
2500 SetInitialFont(self, Font font)
2502 Sets the font that will be initially used by the font dialog.
2504 return _windows_
.FontData_SetInitialFont(*args
, **kwargs
)
2506 def SetRange(*args
, **kwargs
):
2508 SetRange(self, int min, int max)
2510 Sets the valid range for the font point size (Windows only). The default is
2511 0, 0 (unrestricted range).
2513 return _windows_
.FontData_SetRange(*args
, **kwargs
)
2515 def SetShowHelp(*args
, **kwargs
):
2517 SetShowHelp(self, bool showHelp)
2519 Determines whether the Help button will be displayed in the font dialog
2520 (Windows only). The default value is false.
2522 return _windows_
.FontData_SetShowHelp(*args
, **kwargs
)
2525 class FontDataPtr(FontData
):
2526 def __init__(self
, this
):
2528 if not hasattr(self
,"thisown"): self
.thisown
= 0
2529 self
.__class
__ = FontData
2530 _windows_
.FontData_swigregister(FontDataPtr
)
2532 class FontDialog(Dialog
):
2533 """This class represents the font chooser dialog."""
2535 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2536 def __init__(self
, *args
, **kwargs
):
2538 __init__(self, Window parent, FontData data) -> FontDialog
2540 Constructor. Pass a parent window and the FontData object to be
2541 used to initialize the dialog controls.
2543 newobj
= _windows_
.new_FontDialog(*args
, **kwargs
)
2544 self
.this
= newobj
.this
2547 self
._setOORInfo
(self
)
2549 def GetFontData(*args
, **kwargs
):
2551 GetFontData(self) -> FontData
2553 Returns a reference to the internal FontData used by the FontDialog.
2555 return _windows_
.FontDialog_GetFontData(*args
, **kwargs
)
2558 class FontDialogPtr(FontDialog
):
2559 def __init__(self
, this
):
2561 if not hasattr(self
,"thisown"): self
.thisown
= 0
2562 self
.__class
__ = FontDialog
2563 _windows_
.FontDialog_swigregister(FontDialogPtr
)
2565 class MessageDialog(Dialog
):
2567 This class provides a dialog that shows a single or multi-line message, with
2568 a choice of OK, Yes, No and Cancel buttons.
2571 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2572 def __init__(self
, *args
, **kwargs
):
2574 __init__(self, Window parent, String message, String caption=MessageBoxCaptionStr,
2575 long style=wxOK|wxCANCEL|wxCENTRE,
2576 Point pos=DefaultPosition) -> MessageDialog
2578 This class provides a dialog that shows a single or multi-line message, with
2579 a choice of OK, Yes, No and Cancel buttons.
2581 newobj
= _windows_
.new_MessageDialog(*args
, **kwargs
)
2582 self
.this
= newobj
.this
2585 self
._setOORInfo
(self
)
2588 class MessageDialogPtr(MessageDialog
):
2589 def __init__(self
, this
):
2591 if not hasattr(self
,"thisown"): self
.thisown
= 0
2592 self
.__class
__ = MessageDialog
2593 _windows_
.MessageDialog_swigregister(MessageDialogPtr
)
2595 class ProgressDialog(Frame
):
2597 A dialog that shows a short message and a progress bar. Optionally, it can
2598 display an ABORT button.
2601 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2602 def __init__(self
, *args
, **kwargs
):
2604 __init__(self, String title, String message, int maximum=100, Window parent=None,
2605 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
2607 Constructor. Creates the dialog, displays it and disables user input for other
2608 windows, or, if wxPD_APP_MODAL flag is not given, for its parent window only.
2610 newobj
= _windows_
.new_ProgressDialog(*args
, **kwargs
)
2611 self
.this
= newobj
.this
2614 self
._setOORInfo
(self
)
2616 def Update(*args
, **kwargs
):
2618 Update(self, int value, String newmsg=EmptyString) -> bool
2620 Updates the dialog, setting the progress bar to the new value and, if given
2621 changes the message above it. Returns true unless the Cancel button has been
2624 If false is returned, the application can either immediately destroy the
2625 dialog or ask the user for the confirmation and if the abort is not confirmed
2626 the dialog may be resumed with Resume function.
2628 return _windows_
.ProgressDialog_Update(*args
, **kwargs
)
2630 def Resume(*args
, **kwargs
):
2634 Can be used to continue with the dialog, after the user had chosen to abort.
2636 return _windows_
.ProgressDialog_Resume(*args
, **kwargs
)
2639 class ProgressDialogPtr(ProgressDialog
):
2640 def __init__(self
, this
):
2642 if not hasattr(self
,"thisown"): self
.thisown
= 0
2643 self
.__class
__ = ProgressDialog
2644 _windows_
.ProgressDialog_swigregister(ProgressDialogPtr
)
2646 FR_DOWN
= _windows_
.FR_DOWN
2647 FR_WHOLEWORD
= _windows_
.FR_WHOLEWORD
2648 FR_MATCHCASE
= _windows_
.FR_MATCHCASE
2649 FR_REPLACEDIALOG
= _windows_
.FR_REPLACEDIALOG
2650 FR_NOUPDOWN
= _windows_
.FR_NOUPDOWN
2651 FR_NOMATCHCASE
= _windows_
.FR_NOMATCHCASE
2652 FR_NOWHOLEWORD
= _windows_
.FR_NOWHOLEWORD
2653 wxEVT_COMMAND_FIND
= _windows_
.wxEVT_COMMAND_FIND
2654 wxEVT_COMMAND_FIND_NEXT
= _windows_
.wxEVT_COMMAND_FIND_NEXT
2655 wxEVT_COMMAND_FIND_REPLACE
= _windows_
.wxEVT_COMMAND_FIND_REPLACE
2656 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows_
.wxEVT_COMMAND_FIND_REPLACE_ALL
2657 wxEVT_COMMAND_FIND_CLOSE
= _windows_
.wxEVT_COMMAND_FIND_CLOSE
2658 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
2659 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
2660 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
2661 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
2662 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
2664 # For backwards compatibility. Should they be removed?
2665 EVT_COMMAND_FIND
= EVT_FIND
2666 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
2667 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
2668 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
2669 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
2671 class FindDialogEvent(_core
.CommandEvent
):
2672 """Events for the FindReplaceDialog"""
2674 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2675 def __init__(self
, *args
, **kwargs
):
2677 __init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent
2679 Events for the FindReplaceDialog
2681 newobj
= _windows_
.new_FindDialogEvent(*args
, **kwargs
)
2682 self
.this
= newobj
.this
2685 def GetFlags(*args
, **kwargs
):
2687 GetFlags(self) -> int
2689 Get the currently selected flags: this is the combination of
2690 wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.
2692 return _windows_
.FindDialogEvent_GetFlags(*args
, **kwargs
)
2694 def GetFindString(*args
, **kwargs
):
2696 GetFindString(self) -> String
2698 Return the string to find (never empty).
2700 return _windows_
.FindDialogEvent_GetFindString(*args
, **kwargs
)
2702 def GetReplaceString(*args
, **kwargs
):
2704 GetReplaceString(self) -> String
2706 Return the string to replace the search string with (only
2707 for replace and replace all events).
2709 return _windows_
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
2711 def GetDialog(*args
, **kwargs
):
2713 GetDialog(self) -> FindReplaceDialog
2715 Return the pointer to the dialog which generated this event.
2717 return _windows_
.FindDialogEvent_GetDialog(*args
, **kwargs
)
2719 def SetFlags(*args
, **kwargs
):
2720 """SetFlags(self, int flags)"""
2721 return _windows_
.FindDialogEvent_SetFlags(*args
, **kwargs
)
2723 def SetFindString(*args
, **kwargs
):
2724 """SetFindString(self, String str)"""
2725 return _windows_
.FindDialogEvent_SetFindString(*args
, **kwargs
)
2727 def SetReplaceString(*args
, **kwargs
):
2728 """SetReplaceString(self, String str)"""
2729 return _windows_
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
2732 class FindDialogEventPtr(FindDialogEvent
):
2733 def __init__(self
, this
):
2735 if not hasattr(self
,"thisown"): self
.thisown
= 0
2736 self
.__class
__ = FindDialogEvent
2737 _windows_
.FindDialogEvent_swigregister(FindDialogEventPtr
)
2739 class FindReplaceData(_core
.Object
):
2741 FindReplaceData holds the data for FindReplaceDialog. It is used to initialize
2742 the dialog with the default values and will keep the last values from the
2743 dialog when it is closed. It is also updated each time a wxFindDialogEvent is
2744 generated so instead of using the wxFindDialogEvent methods you can also
2745 directly query this object.
2747 Note that all SetXXX() methods may only be called before showing the dialog
2748 and calling them has no effect later.
2751 wxFR_DOWN: downward search/replace selected (otherwise, upwards)
2753 wxFR_WHOLEWORD: whole word search/replace selected
2755 wxFR_MATCHCASE: case sensitive search/replace selected (otherwise,
2760 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2761 def __init__(self
, *args
, **kwargs
):
2763 __init__(self, int flags=0) -> FindReplaceData
2765 Constuctor initializes the flags to default value (0).
2767 newobj
= _windows_
.new_FindReplaceData(*args
, **kwargs
)
2768 self
.this
= newobj
.this
2771 def __del__(self
, destroy
=_windows_
.delete_FindReplaceData
):
2774 if self
.thisown
: destroy(self
)
2777 def GetFindString(*args
, **kwargs
):
2779 GetFindString(self) -> String
2781 Get the string to find.
2783 return _windows_
.FindReplaceData_GetFindString(*args
, **kwargs
)
2785 def GetReplaceString(*args
, **kwargs
):
2787 GetReplaceString(self) -> String
2789 Get the replacement string.
2791 return _windows_
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
2793 def GetFlags(*args
, **kwargs
):
2795 GetFlags(self) -> int
2797 Get the combination of flag values.
2799 return _windows_
.FindReplaceData_GetFlags(*args
, **kwargs
)
2801 def SetFlags(*args
, **kwargs
):
2803 SetFlags(self, int flags)
2805 Set the flags to use to initialize the controls of the dialog.
2807 return _windows_
.FindReplaceData_SetFlags(*args
, **kwargs
)
2809 def SetFindString(*args
, **kwargs
):
2811 SetFindString(self, String str)
2813 Set the string to find (used as initial value by the dialog).
2815 return _windows_
.FindReplaceData_SetFindString(*args
, **kwargs
)
2817 def SetReplaceString(*args
, **kwargs
):
2819 SetReplaceString(self, String str)
2821 Set the replacement string (used as initial value by the dialog).
2823 return _windows_
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
2826 class FindReplaceDataPtr(FindReplaceData
):
2827 def __init__(self
, this
):
2829 if not hasattr(self
,"thisown"): self
.thisown
= 0
2830 self
.__class
__ = FindReplaceData
2831 _windows_
.FindReplaceData_swigregister(FindReplaceDataPtr
)
2833 class FindReplaceDialog(Dialog
):
2835 FindReplaceDialog is a standard modeless dialog which is used to allow the
2836 user to search for some text (and possibly replace it with something
2837 else). The actual searching is supposed to be done in the owner window which
2838 is the parent of this dialog. Note that it means that unlike for the other
2839 standard dialogs this one must have a parent window. Also note that there is
2840 no way to use this dialog in a modal way; it is always, by design and
2841 implementation, modeless.
2844 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2845 def __init__(self
, *args
, **kwargs
):
2847 __init__(self, Window parent, FindReplaceData data, String title,
2848 int style=0) -> FindReplaceDialog
2850 Create a FindReplaceDialog. The parent and data parameters must be
2851 non-None. Use Show to display the dialog.
2853 newobj
= _windows_
.new_FindReplaceDialog(*args
, **kwargs
)
2854 self
.this
= newobj
.this
2857 self
._setOORInfo
(self
)
2859 def Create(*args
, **kwargs
):
2861 Create(self, Window parent, FindReplaceData data, String title,
2862 int style=0) -> bool
2864 Create the dialog, for 2-phase create.
2866 return _windows_
.FindReplaceDialog_Create(*args
, **kwargs
)
2868 def GetData(*args
, **kwargs
):
2870 GetData(self) -> FindReplaceData
2872 Get the FindReplaceData object used by this dialog.
2874 return _windows_
.FindReplaceDialog_GetData(*args
, **kwargs
)
2876 def SetData(*args
, **kwargs
):
2878 SetData(self, FindReplaceData data)
2880 Set the FindReplaceData object used by this dialog.
2882 return _windows_
.FindReplaceDialog_SetData(*args
, **kwargs
)
2885 class FindReplaceDialogPtr(FindReplaceDialog
):
2886 def __init__(self
, this
):
2888 if not hasattr(self
,"thisown"): self
.thisown
= 0
2889 self
.__class
__ = FindReplaceDialog
2890 _windows_
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
2892 def PreFindReplaceDialog(*args
, **kwargs
):
2894 PreFindReplaceDialog() -> FindReplaceDialog
2896 Precreate a FindReplaceDialog for 2-phase creation
2898 val
= _windows_
.new_PreFindReplaceDialog(*args
, **kwargs
)
2902 #---------------------------------------------------------------------------
2904 IDM_WINDOWTILE
= _windows_
.IDM_WINDOWTILE
2905 IDM_WINDOWTILEHOR
= _windows_
.IDM_WINDOWTILEHOR
2906 IDM_WINDOWCASCADE
= _windows_
.IDM_WINDOWCASCADE
2907 IDM_WINDOWICONS
= _windows_
.IDM_WINDOWICONS
2908 IDM_WINDOWNEXT
= _windows_
.IDM_WINDOWNEXT
2909 IDM_WINDOWTILEVERT
= _windows_
.IDM_WINDOWTILEVERT
2910 FIRST_MDI_CHILD
= _windows_
.FIRST_MDI_CHILD
2911 LAST_MDI_CHILD
= _windows_
.LAST_MDI_CHILD
2912 class MDIParentFrame(Frame
):
2914 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2915 def __init__(self
, *args
, **kwargs
):
2917 __init__(self, Window parent, int id, String title, Point pos=DefaultPosition,
2918 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2919 String name=FrameNameStr) -> MDIParentFrame
2921 newobj
= _windows_
.new_MDIParentFrame(*args
, **kwargs
)
2922 self
.this
= newobj
.this
2925 self
._setOORInfo
(self
)
2927 def Create(*args
, **kwargs
):
2929 Create(self, Window parent, int id, String title, Point pos=DefaultPosition,
2930 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2931 String name=FrameNameStr) -> bool
2933 return _windows_
.MDIParentFrame_Create(*args
, **kwargs
)
2935 def ActivateNext(*args
, **kwargs
):
2936 """ActivateNext(self)"""
2937 return _windows_
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
2939 def ActivatePrevious(*args
, **kwargs
):
2940 """ActivatePrevious(self)"""
2941 return _windows_
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
2943 def ArrangeIcons(*args
, **kwargs
):
2944 """ArrangeIcons(self)"""
2945 return _windows_
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
2947 def Cascade(*args
, **kwargs
):
2949 return _windows_
.MDIParentFrame_Cascade(*args
, **kwargs
)
2951 def GetActiveChild(*args
, **kwargs
):
2952 """GetActiveChild(self) -> MDIChildFrame"""
2953 return _windows_
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
2955 def GetClientWindow(*args
, **kwargs
):
2956 """GetClientWindow(self) -> MDIClientWindow"""
2957 return _windows_
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
2959 def GetToolBar(*args
, **kwargs
):
2960 """GetToolBar(self) -> Window"""
2961 return _windows_
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
2963 def Tile(*args
, **kwargs
):
2965 return _windows_
.MDIParentFrame_Tile(*args
, **kwargs
)
2968 class MDIParentFramePtr(MDIParentFrame
):
2969 def __init__(self
, this
):
2971 if not hasattr(self
,"thisown"): self
.thisown
= 0
2972 self
.__class
__ = MDIParentFrame
2973 _windows_
.MDIParentFrame_swigregister(MDIParentFramePtr
)
2975 def PreMDIParentFrame(*args
, **kwargs
):
2976 """PreMDIParentFrame() -> MDIParentFrame"""
2977 val
= _windows_
.new_PreMDIParentFrame(*args
, **kwargs
)
2981 class MDIChildFrame(Frame
):
2983 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2984 def __init__(self
, *args
, **kwargs
):
2986 __init__(self, MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
2987 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
2988 String name=FrameNameStr) -> MDIChildFrame
2990 newobj
= _windows_
.new_MDIChildFrame(*args
, **kwargs
)
2991 self
.this
= newobj
.this
2994 self
._setOORInfo
(self
)
2996 def Create(*args
, **kwargs
):
2998 Create(self, MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
2999 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
3000 String name=FrameNameStr) -> bool
3002 return _windows_
.MDIChildFrame_Create(*args
, **kwargs
)
3004 def Activate(*args
, **kwargs
):
3005 """Activate(self)"""
3006 return _windows_
.MDIChildFrame_Activate(*args
, **kwargs
)
3008 def Maximize(*args
, **kwargs
):
3009 """Maximize(self, bool maximize)"""
3010 return _windows_
.MDIChildFrame_Maximize(*args
, **kwargs
)
3012 def Restore(*args
, **kwargs
):
3014 return _windows_
.MDIChildFrame_Restore(*args
, **kwargs
)
3017 class MDIChildFramePtr(MDIChildFrame
):
3018 def __init__(self
, this
):
3020 if not hasattr(self
,"thisown"): self
.thisown
= 0
3021 self
.__class
__ = MDIChildFrame
3022 _windows_
.MDIChildFrame_swigregister(MDIChildFramePtr
)
3024 def PreMDIChildFrame(*args
, **kwargs
):
3025 """PreMDIChildFrame() -> MDIChildFrame"""
3026 val
= _windows_
.new_PreMDIChildFrame(*args
, **kwargs
)
3030 class MDIClientWindow(_core
.Window
):
3032 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3033 def __init__(self
, *args
, **kwargs
):
3034 """__init__(self, MDIParentFrame parent, long style=0) -> MDIClientWindow"""
3035 newobj
= _windows_
.new_MDIClientWindow(*args
, **kwargs
)
3036 self
.this
= newobj
.this
3039 self
._setOORInfo
(self
)
3041 def Create(*args
, **kwargs
):
3042 """Create(self, MDIParentFrame parent, long style=0) -> bool"""
3043 return _windows_
.MDIClientWindow_Create(*args
, **kwargs
)
3046 class MDIClientWindowPtr(MDIClientWindow
):
3047 def __init__(self
, this
):
3049 if not hasattr(self
,"thisown"): self
.thisown
= 0
3050 self
.__class
__ = MDIClientWindow
3051 _windows_
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
3053 def PreMDIClientWindow(*args
, **kwargs
):
3054 """PreMDIClientWindow() -> MDIClientWindow"""
3055 val
= _windows_
.new_PreMDIClientWindow(*args
, **kwargs
)
3059 #---------------------------------------------------------------------------
3061 class PyWindow(_core
.Window
):
3063 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3064 def __init__(self
, *args
, **kwargs
):
3066 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
3067 long style=0, String name=PanelNameStr) -> PyWindow
3069 newobj
= _windows_
.new_PyWindow(*args
, **kwargs
)
3070 self
.this
= newobj
.this
3073 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
3075 def _setCallbackInfo(*args
, **kwargs
):
3076 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3077 return _windows_
.PyWindow__setCallbackInfo(*args
, **kwargs
)
3079 def base_DoMoveWindow(*args
, **kwargs
):
3080 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3081 return _windows_
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
3083 def base_DoSetSize(*args
, **kwargs
):
3084 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3085 return _windows_
.PyWindow_base_DoSetSize(*args
, **kwargs
)
3087 def base_DoSetClientSize(*args
, **kwargs
):
3088 """base_DoSetClientSize(self, int width, int height)"""
3089 return _windows_
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
3091 def base_DoSetVirtualSize(*args
, **kwargs
):
3092 """base_DoSetVirtualSize(self, int x, int y)"""
3093 return _windows_
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
3095 def base_DoGetSize(*args
, **kwargs
):
3096 """base_DoGetSize() -> (width, height)"""
3097 return _windows_
.PyWindow_base_DoGetSize(*args
, **kwargs
)
3099 def base_DoGetClientSize(*args
, **kwargs
):
3100 """base_DoGetClientSize() -> (width, height)"""
3101 return _windows_
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
3103 def base_DoGetPosition(*args
, **kwargs
):
3104 """base_DoGetPosition() -> (x,y)"""
3105 return _windows_
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
3107 def base_DoGetVirtualSize(*args
, **kwargs
):
3108 """base_DoGetVirtualSize(self) -> Size"""
3109 return _windows_
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
3111 def base_DoGetBestSize(*args
, **kwargs
):
3112 """base_DoGetBestSize(self) -> Size"""
3113 return _windows_
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
3115 def base_InitDialog(*args
, **kwargs
):
3116 """base_InitDialog(self)"""
3117 return _windows_
.PyWindow_base_InitDialog(*args
, **kwargs
)
3119 def base_TransferDataToWindow(*args
, **kwargs
):
3120 """base_TransferDataToWindow(self) -> bool"""
3121 return _windows_
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
3123 def base_TransferDataFromWindow(*args
, **kwargs
):
3124 """base_TransferDataFromWindow(self) -> bool"""
3125 return _windows_
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
3127 def base_Validate(*args
, **kwargs
):
3128 """base_Validate(self) -> bool"""
3129 return _windows_
.PyWindow_base_Validate(*args
, **kwargs
)
3131 def base_AcceptsFocus(*args
, **kwargs
):
3132 """base_AcceptsFocus(self) -> bool"""
3133 return _windows_
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
3135 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3136 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3137 return _windows_
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3139 def base_GetMaxSize(*args
, **kwargs
):
3140 """base_GetMaxSize(self) -> Size"""
3141 return _windows_
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
3143 def base_AddChild(*args
, **kwargs
):
3144 """base_AddChild(self, Window child)"""
3145 return _windows_
.PyWindow_base_AddChild(*args
, **kwargs
)
3147 def base_RemoveChild(*args
, **kwargs
):
3148 """base_RemoveChild(self, Window child)"""
3149 return _windows_
.PyWindow_base_RemoveChild(*args
, **kwargs
)
3151 def base_ShouldInheritColours(*args
, **kwargs
):
3152 """base_ShouldInheritColours(self) -> bool"""
3153 return _windows_
.PyWindow_base_ShouldInheritColours(*args
, **kwargs
)
3155 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3156 """base_ApplyParentThemeBackground(self, Colour c)"""
3157 return _windows_
.PyWindow_base_ApplyParentThemeBackground(*args
, **kwargs
)
3160 class PyWindowPtr(PyWindow
):
3161 def __init__(self
, this
):
3163 if not hasattr(self
,"thisown"): self
.thisown
= 0
3164 self
.__class
__ = PyWindow
3165 _windows_
.PyWindow_swigregister(PyWindowPtr
)
3167 def PrePyWindow(*args
, **kwargs
):
3168 """PrePyWindow() -> PyWindow"""
3169 val
= _windows_
.new_PrePyWindow(*args
, **kwargs
)
3173 class PyPanel(Panel
):
3175 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3176 def __init__(self
, *args
, **kwargs
):
3178 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
3179 long style=0, String name=PanelNameStr) -> PyPanel
3181 newobj
= _windows_
.new_PyPanel(*args
, **kwargs
)
3182 self
.this
= newobj
.this
3185 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3187 def _setCallbackInfo(*args
, **kwargs
):
3188 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3189 return _windows_
.PyPanel__setCallbackInfo(*args
, **kwargs
)
3191 def base_DoMoveWindow(*args
, **kwargs
):
3192 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3193 return _windows_
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
3195 def base_DoSetSize(*args
, **kwargs
):
3196 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3197 return _windows_
.PyPanel_base_DoSetSize(*args
, **kwargs
)
3199 def base_DoSetClientSize(*args
, **kwargs
):
3200 """base_DoSetClientSize(self, int width, int height)"""
3201 return _windows_
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
3203 def base_DoSetVirtualSize(*args
, **kwargs
):
3204 """base_DoSetVirtualSize(self, int x, int y)"""
3205 return _windows_
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
3207 def base_DoGetSize(*args
, **kwargs
):
3208 """base_DoGetSize() -> (width, height)"""
3209 return _windows_
.PyPanel_base_DoGetSize(*args
, **kwargs
)
3211 def base_DoGetClientSize(*args
, **kwargs
):
3212 """base_DoGetClientSize() -> (width, height)"""
3213 return _windows_
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
3215 def base_DoGetPosition(*args
, **kwargs
):
3216 """base_DoGetPosition() -> (x,y)"""
3217 return _windows_
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
3219 def base_DoGetVirtualSize(*args
, **kwargs
):
3220 """base_DoGetVirtualSize(self) -> Size"""
3221 return _windows_
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
3223 def base_DoGetBestSize(*args
, **kwargs
):
3224 """base_DoGetBestSize(self) -> Size"""
3225 return _windows_
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
3227 def base_InitDialog(*args
, **kwargs
):
3228 """base_InitDialog(self)"""
3229 return _windows_
.PyPanel_base_InitDialog(*args
, **kwargs
)
3231 def base_TransferDataToWindow(*args
, **kwargs
):
3232 """base_TransferDataToWindow(self) -> bool"""
3233 return _windows_
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
3235 def base_TransferDataFromWindow(*args
, **kwargs
):
3236 """base_TransferDataFromWindow(self) -> bool"""
3237 return _windows_
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
3239 def base_Validate(*args
, **kwargs
):
3240 """base_Validate(self) -> bool"""
3241 return _windows_
.PyPanel_base_Validate(*args
, **kwargs
)
3243 def base_AcceptsFocus(*args
, **kwargs
):
3244 """base_AcceptsFocus(self) -> bool"""
3245 return _windows_
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
3247 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3248 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3249 return _windows_
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3251 def base_GetMaxSize(*args
, **kwargs
):
3252 """base_GetMaxSize(self) -> Size"""
3253 return _windows_
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
3255 def base_AddChild(*args
, **kwargs
):
3256 """base_AddChild(self, Window child)"""
3257 return _windows_
.PyPanel_base_AddChild(*args
, **kwargs
)
3259 def base_RemoveChild(*args
, **kwargs
):
3260 """base_RemoveChild(self, Window child)"""
3261 return _windows_
.PyPanel_base_RemoveChild(*args
, **kwargs
)
3263 def base_ShouldInheritColours(*args
, **kwargs
):
3264 """base_ShouldInheritColours(self) -> bool"""
3265 return _windows_
.PyPanel_base_ShouldInheritColours(*args
, **kwargs
)
3267 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3268 """base_ApplyParentThemeBackground(self, Colour c)"""
3269 return _windows_
.PyPanel_base_ApplyParentThemeBackground(*args
, **kwargs
)
3272 class PyPanelPtr(PyPanel
):
3273 def __init__(self
, this
):
3275 if not hasattr(self
,"thisown"): self
.thisown
= 0
3276 self
.__class
__ = PyPanel
3277 _windows_
.PyPanel_swigregister(PyPanelPtr
)
3279 def PrePyPanel(*args
, **kwargs
):
3280 """PrePyPanel() -> PyPanel"""
3281 val
= _windows_
.new_PrePyPanel(*args
, **kwargs
)
3285 class PyScrolledWindow(ScrolledWindow
):
3287 return "<%s.%s; proxy of C++ wxPyScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3288 def __init__(self
, *args
, **kwargs
):
3290 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
3291 long style=0, String name=PanelNameStr) -> PyScrolledWindow
3293 newobj
= _windows_
.new_PyScrolledWindow(*args
, **kwargs
)
3294 self
.this
= newobj
.this
3297 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3299 def _setCallbackInfo(*args
, **kwargs
):
3300 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3301 return _windows_
.PyScrolledWindow__setCallbackInfo(*args
, **kwargs
)
3303 def base_DoMoveWindow(*args
, **kwargs
):
3304 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3305 return _windows_
.PyScrolledWindow_base_DoMoveWindow(*args
, **kwargs
)
3307 def base_DoSetSize(*args
, **kwargs
):
3308 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3309 return _windows_
.PyScrolledWindow_base_DoSetSize(*args
, **kwargs
)
3311 def base_DoSetClientSize(*args
, **kwargs
):
3312 """base_DoSetClientSize(self, int width, int height)"""
3313 return _windows_
.PyScrolledWindow_base_DoSetClientSize(*args
, **kwargs
)
3315 def base_DoSetVirtualSize(*args
, **kwargs
):
3316 """base_DoSetVirtualSize(self, int x, int y)"""
3317 return _windows_
.PyScrolledWindow_base_DoSetVirtualSize(*args
, **kwargs
)
3319 def base_DoGetSize(*args
, **kwargs
):
3320 """base_DoGetSize() -> (width, height)"""
3321 return _windows_
.PyScrolledWindow_base_DoGetSize(*args
, **kwargs
)
3323 def base_DoGetClientSize(*args
, **kwargs
):
3324 """base_DoGetClientSize() -> (width, height)"""
3325 return _windows_
.PyScrolledWindow_base_DoGetClientSize(*args
, **kwargs
)
3327 def base_DoGetPosition(*args
, **kwargs
):
3328 """base_DoGetPosition() -> (x,y)"""
3329 return _windows_
.PyScrolledWindow_base_DoGetPosition(*args
, **kwargs
)
3331 def base_DoGetVirtualSize(*args
, **kwargs
):
3332 """base_DoGetVirtualSize(self) -> Size"""
3333 return _windows_
.PyScrolledWindow_base_DoGetVirtualSize(*args
, **kwargs
)
3335 def base_DoGetBestSize(*args
, **kwargs
):
3336 """base_DoGetBestSize(self) -> Size"""
3337 return _windows_
.PyScrolledWindow_base_DoGetBestSize(*args
, **kwargs
)
3339 def base_InitDialog(*args
, **kwargs
):
3340 """base_InitDialog(self)"""
3341 return _windows_
.PyScrolledWindow_base_InitDialog(*args
, **kwargs
)
3343 def base_TransferDataToWindow(*args
, **kwargs
):
3344 """base_TransferDataToWindow(self) -> bool"""
3345 return _windows_
.PyScrolledWindow_base_TransferDataToWindow(*args
, **kwargs
)
3347 def base_TransferDataFromWindow(*args
, **kwargs
):
3348 """base_TransferDataFromWindow(self) -> bool"""
3349 return _windows_
.PyScrolledWindow_base_TransferDataFromWindow(*args
, **kwargs
)
3351 def base_Validate(*args
, **kwargs
):
3352 """base_Validate(self) -> bool"""
3353 return _windows_
.PyScrolledWindow_base_Validate(*args
, **kwargs
)
3355 def base_AcceptsFocus(*args
, **kwargs
):
3356 """base_AcceptsFocus(self) -> bool"""
3357 return _windows_
.PyScrolledWindow_base_AcceptsFocus(*args
, **kwargs
)
3359 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3360 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3361 return _windows_
.PyScrolledWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3363 def base_GetMaxSize(*args
, **kwargs
):
3364 """base_GetMaxSize(self) -> Size"""
3365 return _windows_
.PyScrolledWindow_base_GetMaxSize(*args
, **kwargs
)
3367 def base_AddChild(*args
, **kwargs
):
3368 """base_AddChild(self, Window child)"""
3369 return _windows_
.PyScrolledWindow_base_AddChild(*args
, **kwargs
)
3371 def base_RemoveChild(*args
, **kwargs
):
3372 """base_RemoveChild(self, Window child)"""
3373 return _windows_
.PyScrolledWindow_base_RemoveChild(*args
, **kwargs
)
3375 def base_ShouldInheritColours(*args
, **kwargs
):
3376 """base_ShouldInheritColours(self) -> bool"""
3377 return _windows_
.PyScrolledWindow_base_ShouldInheritColours(*args
, **kwargs
)
3379 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3380 """base_ApplyParentThemeBackground(self, Colour c)"""
3381 return _windows_
.PyScrolledWindow_base_ApplyParentThemeBackground(*args
, **kwargs
)
3384 class PyScrolledWindowPtr(PyScrolledWindow
):
3385 def __init__(self
, this
):
3387 if not hasattr(self
,"thisown"): self
.thisown
= 0
3388 self
.__class
__ = PyScrolledWindow
3389 _windows_
.PyScrolledWindow_swigregister(PyScrolledWindowPtr
)
3391 def PrePyScrolledWindow(*args
, **kwargs
):
3392 """PrePyScrolledWindow() -> PyScrolledWindow"""
3393 val
= _windows_
.new_PrePyScrolledWindow(*args
, **kwargs
)
3397 #---------------------------------------------------------------------------
3399 PRINT_MODE_NONE
= _windows_
.PRINT_MODE_NONE
3400 PRINT_MODE_PREVIEW
= _windows_
.PRINT_MODE_PREVIEW
3401 PRINT_MODE_FILE
= _windows_
.PRINT_MODE_FILE
3402 PRINT_MODE_PRINTER
= _windows_
.PRINT_MODE_PRINTER
3403 PRINT_MODE_STREAM
= _windows_
.PRINT_MODE_STREAM
3404 class PrintData(_core
.Object
):
3406 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3407 def __init__(self
, *args
, **kwargs
):
3408 """__init__(self) -> PrintData"""
3409 newobj
= _windows_
.new_PrintData(*args
, **kwargs
)
3410 self
.this
= newobj
.this
3413 def __del__(self
, destroy
=_windows_
.delete_PrintData
):
3416 if self
.thisown
: destroy(self
)
3419 def GetNoCopies(*args
, **kwargs
):
3420 """GetNoCopies(self) -> int"""
3421 return _windows_
.PrintData_GetNoCopies(*args
, **kwargs
)
3423 def GetCollate(*args
, **kwargs
):
3424 """GetCollate(self) -> bool"""
3425 return _windows_
.PrintData_GetCollate(*args
, **kwargs
)
3427 def GetOrientation(*args
, **kwargs
):
3428 """GetOrientation(self) -> int"""
3429 return _windows_
.PrintData_GetOrientation(*args
, **kwargs
)
3431 def Ok(*args
, **kwargs
):
3432 """Ok(self) -> bool"""
3433 return _windows_
.PrintData_Ok(*args
, **kwargs
)
3435 def GetPrinterName(*args
, **kwargs
):
3436 """GetPrinterName(self) -> String"""
3437 return _windows_
.PrintData_GetPrinterName(*args
, **kwargs
)
3439 def GetColour(*args
, **kwargs
):
3440 """GetColour(self) -> bool"""
3441 return _windows_
.PrintData_GetColour(*args
, **kwargs
)
3443 def GetDuplex(*args
, **kwargs
):
3444 """GetDuplex(self) -> int"""
3445 return _windows_
.PrintData_GetDuplex(*args
, **kwargs
)
3447 def GetPaperId(*args
, **kwargs
):
3448 """GetPaperId(self) -> int"""
3449 return _windows_
.PrintData_GetPaperId(*args
, **kwargs
)
3451 def GetPaperSize(*args
, **kwargs
):
3452 """GetPaperSize(self) -> Size"""
3453 return _windows_
.PrintData_GetPaperSize(*args
, **kwargs
)
3455 def GetQuality(*args
, **kwargs
):
3456 """GetQuality(self) -> int"""
3457 return _windows_
.PrintData_GetQuality(*args
, **kwargs
)
3459 def SetNoCopies(*args
, **kwargs
):
3460 """SetNoCopies(self, int v)"""
3461 return _windows_
.PrintData_SetNoCopies(*args
, **kwargs
)
3463 def SetCollate(*args
, **kwargs
):
3464 """SetCollate(self, bool flag)"""
3465 return _windows_
.PrintData_SetCollate(*args
, **kwargs
)
3467 def SetOrientation(*args
, **kwargs
):
3468 """SetOrientation(self, int orient)"""
3469 return _windows_
.PrintData_SetOrientation(*args
, **kwargs
)
3471 def SetPrinterName(*args
, **kwargs
):
3472 """SetPrinterName(self, String name)"""
3473 return _windows_
.PrintData_SetPrinterName(*args
, **kwargs
)
3475 def SetColour(*args
, **kwargs
):
3476 """SetColour(self, bool colour)"""
3477 return _windows_
.PrintData_SetColour(*args
, **kwargs
)
3479 def SetDuplex(*args
, **kwargs
):
3480 """SetDuplex(self, int duplex)"""
3481 return _windows_
.PrintData_SetDuplex(*args
, **kwargs
)
3483 def SetPaperId(*args
, **kwargs
):
3484 """SetPaperId(self, int sizeId)"""
3485 return _windows_
.PrintData_SetPaperId(*args
, **kwargs
)
3487 def SetPaperSize(*args
, **kwargs
):
3488 """SetPaperSize(self, Size sz)"""
3489 return _windows_
.PrintData_SetPaperSize(*args
, **kwargs
)
3491 def SetQuality(*args
, **kwargs
):
3492 """SetQuality(self, int quality)"""
3493 return _windows_
.PrintData_SetQuality(*args
, **kwargs
)
3495 def GetPrinterCommand(*args
, **kwargs
):
3496 """GetPrinterCommand(self) -> String"""
3497 return _windows_
.PrintData_GetPrinterCommand(*args
, **kwargs
)
3499 def GetPrinterOptions(*args
, **kwargs
):
3500 """GetPrinterOptions(self) -> String"""
3501 return _windows_
.PrintData_GetPrinterOptions(*args
, **kwargs
)
3503 def GetPreviewCommand(*args
, **kwargs
):
3504 """GetPreviewCommand(self) -> String"""
3505 return _windows_
.PrintData_GetPreviewCommand(*args
, **kwargs
)
3507 def GetFilename(*args
, **kwargs
):
3508 """GetFilename(self) -> String"""
3509 return _windows_
.PrintData_GetFilename(*args
, **kwargs
)
3511 def GetFontMetricPath(*args
, **kwargs
):
3512 """GetFontMetricPath(self) -> String"""
3513 return _windows_
.PrintData_GetFontMetricPath(*args
, **kwargs
)
3515 def GetPrinterScaleX(*args
, **kwargs
):
3516 """GetPrinterScaleX(self) -> double"""
3517 return _windows_
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
3519 def GetPrinterScaleY(*args
, **kwargs
):
3520 """GetPrinterScaleY(self) -> double"""
3521 return _windows_
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
3523 def GetPrinterTranslateX(*args
, **kwargs
):
3524 """GetPrinterTranslateX(self) -> long"""
3525 return _windows_
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
3527 def GetPrinterTranslateY(*args
, **kwargs
):
3528 """GetPrinterTranslateY(self) -> long"""
3529 return _windows_
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
3531 def GetPrintMode(*args
, **kwargs
):
3532 """GetPrintMode(self) -> int"""
3533 return _windows_
.PrintData_GetPrintMode(*args
, **kwargs
)
3535 def SetPrinterCommand(*args
, **kwargs
):
3536 """SetPrinterCommand(self, String command)"""
3537 return _windows_
.PrintData_SetPrinterCommand(*args
, **kwargs
)
3539 def SetPrinterOptions(*args
, **kwargs
):
3540 """SetPrinterOptions(self, String options)"""
3541 return _windows_
.PrintData_SetPrinterOptions(*args
, **kwargs
)
3543 def SetPreviewCommand(*args
, **kwargs
):
3544 """SetPreviewCommand(self, String command)"""
3545 return _windows_
.PrintData_SetPreviewCommand(*args
, **kwargs
)
3547 def SetFilename(*args
, **kwargs
):
3548 """SetFilename(self, String filename)"""
3549 return _windows_
.PrintData_SetFilename(*args
, **kwargs
)
3551 def SetFontMetricPath(*args
, **kwargs
):
3552 """SetFontMetricPath(self, String path)"""
3553 return _windows_
.PrintData_SetFontMetricPath(*args
, **kwargs
)
3555 def SetPrinterScaleX(*args
, **kwargs
):
3556 """SetPrinterScaleX(self, double x)"""
3557 return _windows_
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
3559 def SetPrinterScaleY(*args
, **kwargs
):
3560 """SetPrinterScaleY(self, double y)"""
3561 return _windows_
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
3563 def SetPrinterScaling(*args
, **kwargs
):
3564 """SetPrinterScaling(self, double x, double y)"""
3565 return _windows_
.PrintData_SetPrinterScaling(*args
, **kwargs
)
3567 def SetPrinterTranslateX(*args
, **kwargs
):
3568 """SetPrinterTranslateX(self, long x)"""
3569 return _windows_
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
3571 def SetPrinterTranslateY(*args
, **kwargs
):
3572 """SetPrinterTranslateY(self, long y)"""
3573 return _windows_
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
3575 def SetPrinterTranslation(*args
, **kwargs
):
3576 """SetPrinterTranslation(self, long x, long y)"""
3577 return _windows_
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
3579 def SetPrintMode(*args
, **kwargs
):
3580 """SetPrintMode(self, int printMode)"""
3581 return _windows_
.PrintData_SetPrintMode(*args
, **kwargs
)
3583 def GetOutputStream(*args
, **kwargs
):
3584 """GetOutputStream(self) -> OutputStream"""
3585 return _windows_
.PrintData_GetOutputStream(*args
, **kwargs
)
3587 def SetOutputStream(*args
, **kwargs
):
3588 """SetOutputStream(self, OutputStream outputstream)"""
3589 return _windows_
.PrintData_SetOutputStream(*args
, **kwargs
)
3591 def __nonzero__(self
): return self
.Ok()
3593 class PrintDataPtr(PrintData
):
3594 def __init__(self
, this
):
3596 if not hasattr(self
,"thisown"): self
.thisown
= 0
3597 self
.__class
__ = PrintData
3598 _windows_
.PrintData_swigregister(PrintDataPtr
)
3599 PrintoutTitleStr
= cvar
.PrintoutTitleStr
3600 PreviewCanvasNameStr
= cvar
.PreviewCanvasNameStr
3602 class PageSetupDialogData(_core
.Object
):
3604 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3605 def __init__(self
, *args
, **kwargs
):
3606 """__init__(self) -> PageSetupDialogData"""
3607 newobj
= _windows_
.new_PageSetupDialogData(*args
, **kwargs
)
3608 self
.this
= newobj
.this
3611 def __del__(self
, destroy
=_windows_
.delete_PageSetupDialogData
):
3614 if self
.thisown
: destroy(self
)
3617 def EnableHelp(*args
, **kwargs
):
3618 """EnableHelp(self, bool flag)"""
3619 return _windows_
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
3621 def EnableMargins(*args
, **kwargs
):
3622 """EnableMargins(self, bool flag)"""
3623 return _windows_
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
3625 def EnableOrientation(*args
, **kwargs
):
3626 """EnableOrientation(self, bool flag)"""
3627 return _windows_
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
3629 def EnablePaper(*args
, **kwargs
):
3630 """EnablePaper(self, bool flag)"""
3631 return _windows_
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
3633 def EnablePrinter(*args
, **kwargs
):
3634 """EnablePrinter(self, bool flag)"""
3635 return _windows_
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
3637 def GetDefaultMinMargins(*args
, **kwargs
):
3638 """GetDefaultMinMargins(self) -> bool"""
3639 return _windows_
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
3641 def GetEnableMargins(*args
, **kwargs
):
3642 """GetEnableMargins(self) -> bool"""
3643 return _windows_
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
3645 def GetEnableOrientation(*args
, **kwargs
):
3646 """GetEnableOrientation(self) -> bool"""
3647 return _windows_
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
3649 def GetEnablePaper(*args
, **kwargs
):
3650 """GetEnablePaper(self) -> bool"""
3651 return _windows_
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
3653 def GetEnablePrinter(*args
, **kwargs
):
3654 """GetEnablePrinter(self) -> bool"""
3655 return _windows_
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
3657 def GetEnableHelp(*args
, **kwargs
):
3658 """GetEnableHelp(self) -> bool"""
3659 return _windows_
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
3661 def GetDefaultInfo(*args
, **kwargs
):
3662 """GetDefaultInfo(self) -> bool"""
3663 return _windows_
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
3665 def GetMarginTopLeft(*args
, **kwargs
):
3666 """GetMarginTopLeft(self) -> Point"""
3667 return _windows_
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
3669 def GetMarginBottomRight(*args
, **kwargs
):
3670 """GetMarginBottomRight(self) -> Point"""
3671 return _windows_
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
3673 def GetMinMarginTopLeft(*args
, **kwargs
):
3674 """GetMinMarginTopLeft(self) -> Point"""
3675 return _windows_
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
3677 def GetMinMarginBottomRight(*args
, **kwargs
):
3678 """GetMinMarginBottomRight(self) -> Point"""
3679 return _windows_
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
3681 def GetPaperId(*args
, **kwargs
):
3682 """GetPaperId(self) -> int"""
3683 return _windows_
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
3685 def GetPaperSize(*args
, **kwargs
):
3686 """GetPaperSize(self) -> Size"""
3687 return _windows_
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
3689 def GetPrintData(*args
, **kwargs
):
3690 """GetPrintData(self) -> PrintData"""
3691 return _windows_
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
3693 def Ok(*args
, **kwargs
):
3694 """Ok(self) -> bool"""
3695 return _windows_
.PageSetupDialogData_Ok(*args
, **kwargs
)
3697 def SetDefaultInfo(*args
, **kwargs
):
3698 """SetDefaultInfo(self, bool flag)"""
3699 return _windows_
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
3701 def SetDefaultMinMargins(*args
, **kwargs
):
3702 """SetDefaultMinMargins(self, bool flag)"""
3703 return _windows_
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
3705 def SetMarginTopLeft(*args
, **kwargs
):
3706 """SetMarginTopLeft(self, Point pt)"""
3707 return _windows_
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
3709 def SetMarginBottomRight(*args
, **kwargs
):
3710 """SetMarginBottomRight(self, Point pt)"""
3711 return _windows_
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
3713 def SetMinMarginTopLeft(*args
, **kwargs
):
3714 """SetMinMarginTopLeft(self, Point pt)"""
3715 return _windows_
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
3717 def SetMinMarginBottomRight(*args
, **kwargs
):
3718 """SetMinMarginBottomRight(self, Point pt)"""
3719 return _windows_
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
3721 def SetPaperId(*args
, **kwargs
):
3722 """SetPaperId(self, int id)"""
3723 return _windows_
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
3725 def SetPaperSize(*args
, **kwargs
):
3726 """SetPaperSize(self, Size size)"""
3727 return _windows_
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
3729 def SetPrintData(*args
, **kwargs
):
3730 """SetPrintData(self, PrintData printData)"""
3731 return _windows_
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
3733 def __nonzero__(self
): return self
.Ok()
3735 class PageSetupDialogDataPtr(PageSetupDialogData
):
3736 def __init__(self
, this
):
3738 if not hasattr(self
,"thisown"): self
.thisown
= 0
3739 self
.__class
__ = PageSetupDialogData
3740 _windows_
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
3742 class PageSetupDialog(Dialog
):
3744 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3745 def __init__(self
, *args
, **kwargs
):
3746 """__init__(self, Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
3747 newobj
= _windows_
.new_PageSetupDialog(*args
, **kwargs
)
3748 self
.this
= newobj
.this
3751 self
._setOORInfo
(self
)
3753 def GetPageSetupData(*args
, **kwargs
):
3754 """GetPageSetupData(self) -> PageSetupDialogData"""
3755 return _windows_
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
3757 def ShowModal(*args
, **kwargs
):
3758 """ShowModal(self) -> int"""
3759 return _windows_
.PageSetupDialog_ShowModal(*args
, **kwargs
)
3762 class PageSetupDialogPtr(PageSetupDialog
):
3763 def __init__(self
, this
):
3765 if not hasattr(self
,"thisown"): self
.thisown
= 0
3766 self
.__class
__ = PageSetupDialog
3767 _windows_
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
3769 class PrintDialogData(_core
.Object
):
3771 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3772 def __init__(self
, *args
):
3774 __init__(self) -> PrintDialogData
3775 __init__(self, PrintData printData) -> PrintDialogData
3777 newobj
= _windows_
.new_PrintDialogData(*args
)
3778 self
.this
= newobj
.this
3781 def __del__(self
, destroy
=_windows_
.delete_PrintDialogData
):
3784 if self
.thisown
: destroy(self
)
3787 def GetFromPage(*args
, **kwargs
):
3788 """GetFromPage(self) -> int"""
3789 return _windows_
.PrintDialogData_GetFromPage(*args
, **kwargs
)
3791 def GetToPage(*args
, **kwargs
):
3792 """GetToPage(self) -> int"""
3793 return _windows_
.PrintDialogData_GetToPage(*args
, **kwargs
)
3795 def GetMinPage(*args
, **kwargs
):
3796 """GetMinPage(self) -> int"""
3797 return _windows_
.PrintDialogData_GetMinPage(*args
, **kwargs
)
3799 def GetMaxPage(*args
, **kwargs
):
3800 """GetMaxPage(self) -> int"""
3801 return _windows_
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
3803 def GetNoCopies(*args
, **kwargs
):
3804 """GetNoCopies(self) -> int"""
3805 return _windows_
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
3807 def GetAllPages(*args
, **kwargs
):
3808 """GetAllPages(self) -> bool"""
3809 return _windows_
.PrintDialogData_GetAllPages(*args
, **kwargs
)
3811 def GetSelection(*args
, **kwargs
):
3812 """GetSelection(self) -> bool"""
3813 return _windows_
.PrintDialogData_GetSelection(*args
, **kwargs
)
3815 def GetCollate(*args
, **kwargs
):
3816 """GetCollate(self) -> bool"""
3817 return _windows_
.PrintDialogData_GetCollate(*args
, **kwargs
)
3819 def GetPrintToFile(*args
, **kwargs
):
3820 """GetPrintToFile(self) -> bool"""
3821 return _windows_
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
3823 def GetSetupDialog(*args
, **kwargs
):
3824 """GetSetupDialog(self) -> bool"""
3825 return _windows_
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
3827 def SetFromPage(*args
, **kwargs
):
3828 """SetFromPage(self, int v)"""
3829 return _windows_
.PrintDialogData_SetFromPage(*args
, **kwargs
)
3831 def SetToPage(*args
, **kwargs
):
3832 """SetToPage(self, int v)"""
3833 return _windows_
.PrintDialogData_SetToPage(*args
, **kwargs
)
3835 def SetMinPage(*args
, **kwargs
):
3836 """SetMinPage(self, int v)"""
3837 return _windows_
.PrintDialogData_SetMinPage(*args
, **kwargs
)
3839 def SetMaxPage(*args
, **kwargs
):
3840 """SetMaxPage(self, int v)"""
3841 return _windows_
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
3843 def SetNoCopies(*args
, **kwargs
):
3844 """SetNoCopies(self, int v)"""
3845 return _windows_
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
3847 def SetAllPages(*args
, **kwargs
):
3848 """SetAllPages(self, bool flag)"""
3849 return _windows_
.PrintDialogData_SetAllPages(*args
, **kwargs
)
3851 def SetSelection(*args
, **kwargs
):
3852 """SetSelection(self, bool flag)"""
3853 return _windows_
.PrintDialogData_SetSelection(*args
, **kwargs
)
3855 def SetCollate(*args
, **kwargs
):
3856 """SetCollate(self, bool flag)"""
3857 return _windows_
.PrintDialogData_SetCollate(*args
, **kwargs
)
3859 def SetPrintToFile(*args
, **kwargs
):
3860 """SetPrintToFile(self, bool flag)"""
3861 return _windows_
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
3863 def SetSetupDialog(*args
, **kwargs
):
3864 """SetSetupDialog(self, bool flag)"""
3865 return _windows_
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
3867 def EnablePrintToFile(*args
, **kwargs
):
3868 """EnablePrintToFile(self, bool flag)"""
3869 return _windows_
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
3871 def EnableSelection(*args
, **kwargs
):
3872 """EnableSelection(self, bool flag)"""
3873 return _windows_
.PrintDialogData_EnableSelection(*args
, **kwargs
)
3875 def EnablePageNumbers(*args
, **kwargs
):
3876 """EnablePageNumbers(self, bool flag)"""
3877 return _windows_
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
3879 def EnableHelp(*args
, **kwargs
):
3880 """EnableHelp(self, bool flag)"""
3881 return _windows_
.PrintDialogData_EnableHelp(*args
, **kwargs
)
3883 def GetEnablePrintToFile(*args
, **kwargs
):
3884 """GetEnablePrintToFile(self) -> bool"""
3885 return _windows_
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
3887 def GetEnableSelection(*args
, **kwargs
):
3888 """GetEnableSelection(self) -> bool"""
3889 return _windows_
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
3891 def GetEnablePageNumbers(*args
, **kwargs
):
3892 """GetEnablePageNumbers(self) -> bool"""
3893 return _windows_
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
3895 def GetEnableHelp(*args
, **kwargs
):
3896 """GetEnableHelp(self) -> bool"""
3897 return _windows_
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
3899 def Ok(*args
, **kwargs
):
3900 """Ok(self) -> bool"""
3901 return _windows_
.PrintDialogData_Ok(*args
, **kwargs
)
3903 def GetPrintData(*args
, **kwargs
):
3904 """GetPrintData(self) -> PrintData"""
3905 return _windows_
.PrintDialogData_GetPrintData(*args
, **kwargs
)
3907 def SetPrintData(*args
, **kwargs
):
3908 """SetPrintData(self, PrintData printData)"""
3909 return _windows_
.PrintDialogData_SetPrintData(*args
, **kwargs
)
3911 def __nonzero__(self
): return self
.Ok()
3913 class PrintDialogDataPtr(PrintDialogData
):
3914 def __init__(self
, this
):
3916 if not hasattr(self
,"thisown"): self
.thisown
= 0
3917 self
.__class
__ = PrintDialogData
3918 _windows_
.PrintDialogData_swigregister(PrintDialogDataPtr
)
3920 class PrintDialog(Dialog
):
3922 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3923 def __init__(self
, *args
, **kwargs
):
3924 """__init__(self, Window parent, PrintDialogData data=None) -> PrintDialog"""
3925 newobj
= _windows_
.new_PrintDialog(*args
, **kwargs
)
3926 self
.this
= newobj
.this
3929 self
._setOORInfo
(self
)
3931 def GetPrintDialogData(*args
, **kwargs
):
3932 """GetPrintDialogData(self) -> PrintDialogData"""
3933 return _windows_
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
3935 def GetPrintDC(*args
, **kwargs
):
3936 """GetPrintDC(self) -> DC"""
3937 return _windows_
.PrintDialog_GetPrintDC(*args
, **kwargs
)
3939 def ShowModal(*args
, **kwargs
):
3940 """ShowModal(self) -> int"""
3941 return _windows_
.PrintDialog_ShowModal(*args
, **kwargs
)
3944 class PrintDialogPtr(PrintDialog
):
3945 def __init__(self
, this
):
3947 if not hasattr(self
,"thisown"): self
.thisown
= 0
3948 self
.__class
__ = PrintDialog
3949 _windows_
.PrintDialog_swigregister(PrintDialogPtr
)
3951 PRINTER_NO_ERROR
= _windows_
.PRINTER_NO_ERROR
3952 PRINTER_CANCELLED
= _windows_
.PRINTER_CANCELLED
3953 PRINTER_ERROR
= _windows_
.PRINTER_ERROR
3954 class Printer(_core
.Object
):
3956 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3957 def __init__(self
, *args
, **kwargs
):
3958 """__init__(self, PrintDialogData data=None) -> Printer"""
3959 newobj
= _windows_
.new_Printer(*args
, **kwargs
)
3960 self
.this
= newobj
.this
3963 def __del__(self
, destroy
=_windows_
.delete_Printer
):
3966 if self
.thisown
: destroy(self
)
3969 def CreateAbortWindow(*args
, **kwargs
):
3970 """CreateAbortWindow(self, Window parent, Printout printout)"""
3971 return _windows_
.Printer_CreateAbortWindow(*args
, **kwargs
)
3973 def GetPrintDialogData(*args
, **kwargs
):
3974 """GetPrintDialogData(self) -> PrintDialogData"""
3975 return _windows_
.Printer_GetPrintDialogData(*args
, **kwargs
)
3977 def Print(*args
, **kwargs
):
3978 """Print(self, Window parent, Printout printout, int prompt=True) -> bool"""
3979 return _windows_
.Printer_Print(*args
, **kwargs
)
3981 def PrintDialog(*args
, **kwargs
):
3982 """PrintDialog(self, Window parent) -> DC"""
3983 return _windows_
.Printer_PrintDialog(*args
, **kwargs
)
3985 def ReportError(*args
, **kwargs
):
3986 """ReportError(self, Window parent, Printout printout, String message)"""
3987 return _windows_
.Printer_ReportError(*args
, **kwargs
)
3989 def Setup(*args
, **kwargs
):
3990 """Setup(self, Window parent) -> bool"""
3991 return _windows_
.Printer_Setup(*args
, **kwargs
)
3993 def GetAbort(*args
, **kwargs
):
3994 """GetAbort(self) -> bool"""
3995 return _windows_
.Printer_GetAbort(*args
, **kwargs
)
3997 def GetLastError(*args
, **kwargs
):
3998 """Printer.GetLastError() -> int"""
3999 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4001 GetLastError
= staticmethod(GetLastError
)
4003 class PrinterPtr(Printer
):
4004 def __init__(self
, this
):
4006 if not hasattr(self
,"thisown"): self
.thisown
= 0
4007 self
.__class
__ = Printer
4008 _windows_
.Printer_swigregister(PrinterPtr
)
4010 def Printer_GetLastError(*args
, **kwargs
):
4011 """Printer_GetLastError() -> int"""
4012 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4014 class Printout(_core
.Object
):
4016 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4017 def __init__(self
, *args
, **kwargs
):
4018 """__init__(self, String title=PrintoutTitleStr) -> Printout"""
4019 newobj
= _windows_
.new_Printout(*args
, **kwargs
)
4020 self
.this
= newobj
.this
4023 self
._setCallbackInfo
(self
, Printout
)
4025 def _setCallbackInfo(*args
, **kwargs
):
4026 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4027 return _windows_
.Printout__setCallbackInfo(*args
, **kwargs
)
4029 def GetTitle(*args
, **kwargs
):
4030 """GetTitle(self) -> String"""
4031 return _windows_
.Printout_GetTitle(*args
, **kwargs
)
4033 def GetDC(*args
, **kwargs
):
4034 """GetDC(self) -> DC"""
4035 return _windows_
.Printout_GetDC(*args
, **kwargs
)
4037 def SetDC(*args
, **kwargs
):
4038 """SetDC(self, DC dc)"""
4039 return _windows_
.Printout_SetDC(*args
, **kwargs
)
4041 def SetPageSizePixels(*args
, **kwargs
):
4042 """SetPageSizePixels(self, int w, int h)"""
4043 return _windows_
.Printout_SetPageSizePixels(*args
, **kwargs
)
4045 def GetPageSizePixels(*args
, **kwargs
):
4046 """GetPageSizePixels() -> (w, h)"""
4047 return _windows_
.Printout_GetPageSizePixels(*args
, **kwargs
)
4049 def SetPageSizeMM(*args
, **kwargs
):
4050 """SetPageSizeMM(self, int w, int h)"""
4051 return _windows_
.Printout_SetPageSizeMM(*args
, **kwargs
)
4053 def GetPageSizeMM(*args
, **kwargs
):
4054 """GetPageSizeMM() -> (w, h)"""
4055 return _windows_
.Printout_GetPageSizeMM(*args
, **kwargs
)
4057 def SetPPIScreen(*args
, **kwargs
):
4058 """SetPPIScreen(self, int x, int y)"""
4059 return _windows_
.Printout_SetPPIScreen(*args
, **kwargs
)
4061 def GetPPIScreen(*args
, **kwargs
):
4062 """GetPPIScreen() -> (x,y)"""
4063 return _windows_
.Printout_GetPPIScreen(*args
, **kwargs
)
4065 def SetPPIPrinter(*args
, **kwargs
):
4066 """SetPPIPrinter(self, int x, int y)"""
4067 return _windows_
.Printout_SetPPIPrinter(*args
, **kwargs
)
4069 def GetPPIPrinter(*args
, **kwargs
):
4070 """GetPPIPrinter() -> (x,y)"""
4071 return _windows_
.Printout_GetPPIPrinter(*args
, **kwargs
)
4073 def IsPreview(*args
, **kwargs
):
4074 """IsPreview(self) -> bool"""
4075 return _windows_
.Printout_IsPreview(*args
, **kwargs
)
4077 def SetIsPreview(*args
, **kwargs
):
4078 """SetIsPreview(self, bool p)"""
4079 return _windows_
.Printout_SetIsPreview(*args
, **kwargs
)
4081 def base_OnBeginDocument(*args
, **kwargs
):
4082 """base_OnBeginDocument(self, int startPage, int endPage) -> bool"""
4083 return _windows_
.Printout_base_OnBeginDocument(*args
, **kwargs
)
4085 def base_OnEndDocument(*args
, **kwargs
):
4086 """base_OnEndDocument(self)"""
4087 return _windows_
.Printout_base_OnEndDocument(*args
, **kwargs
)
4089 def base_OnBeginPrinting(*args
, **kwargs
):
4090 """base_OnBeginPrinting(self)"""
4091 return _windows_
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
4093 def base_OnEndPrinting(*args
, **kwargs
):
4094 """base_OnEndPrinting(self)"""
4095 return _windows_
.Printout_base_OnEndPrinting(*args
, **kwargs
)
4097 def base_OnPreparePrinting(*args
, **kwargs
):
4098 """base_OnPreparePrinting(self)"""
4099 return _windows_
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
4101 def base_HasPage(*args
, **kwargs
):
4102 """base_HasPage(self, int page) -> bool"""
4103 return _windows_
.Printout_base_HasPage(*args
, **kwargs
)
4105 def base_GetPageInfo(*args
, **kwargs
):
4106 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
4107 return _windows_
.Printout_base_GetPageInfo(*args
, **kwargs
)
4110 class PrintoutPtr(Printout
):
4111 def __init__(self
, this
):
4113 if not hasattr(self
,"thisown"): self
.thisown
= 0
4114 self
.__class
__ = Printout
4115 _windows_
.Printout_swigregister(PrintoutPtr
)
4117 class PreviewCanvas(ScrolledWindow
):
4119 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4120 def __init__(self
, *args
, **kwargs
):
4122 __init__(self, PrintPreview preview, Window parent, Point pos=DefaultPosition,
4123 Size size=DefaultSize, long style=0,
4124 String name=PreviewCanvasNameStr) -> PreviewCanvas
4126 newobj
= _windows_
.new_PreviewCanvas(*args
, **kwargs
)
4127 self
.this
= newobj
.this
4130 self
._setOORInfo
(self
)
4133 class PreviewCanvasPtr(PreviewCanvas
):
4134 def __init__(self
, this
):
4136 if not hasattr(self
,"thisown"): self
.thisown
= 0
4137 self
.__class
__ = PreviewCanvas
4138 _windows_
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
4140 class PreviewFrame(Frame
):
4142 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4143 def __init__(self
, *args
, **kwargs
):
4145 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4146 Size size=DefaultSize,
4147 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
4149 newobj
= _windows_
.new_PreviewFrame(*args
, **kwargs
)
4150 self
.this
= newobj
.this
4153 self
._setOORInfo
(self
)
4155 def Initialize(*args
, **kwargs
):
4156 """Initialize(self)"""
4157 return _windows_
.PreviewFrame_Initialize(*args
, **kwargs
)
4159 def CreateControlBar(*args
, **kwargs
):
4160 """CreateControlBar(self)"""
4161 return _windows_
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
4163 def CreateCanvas(*args
, **kwargs
):
4164 """CreateCanvas(self)"""
4165 return _windows_
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
4167 def GetControlBar(*args
, **kwargs
):
4168 """GetControlBar(self) -> PreviewControlBar"""
4169 return _windows_
.PreviewFrame_GetControlBar(*args
, **kwargs
)
4172 class PreviewFramePtr(PreviewFrame
):
4173 def __init__(self
, this
):
4175 if not hasattr(self
,"thisown"): self
.thisown
= 0
4176 self
.__class
__ = PreviewFrame
4177 _windows_
.PreviewFrame_swigregister(PreviewFramePtr
)
4179 PREVIEW_PRINT
= _windows_
.PREVIEW_PRINT
4180 PREVIEW_PREVIOUS
= _windows_
.PREVIEW_PREVIOUS
4181 PREVIEW_NEXT
= _windows_
.PREVIEW_NEXT
4182 PREVIEW_ZOOM
= _windows_
.PREVIEW_ZOOM
4183 PREVIEW_FIRST
= _windows_
.PREVIEW_FIRST
4184 PREVIEW_LAST
= _windows_
.PREVIEW_LAST
4185 PREVIEW_GOTO
= _windows_
.PREVIEW_GOTO
4186 PREVIEW_DEFAULT
= _windows_
.PREVIEW_DEFAULT
4187 ID_PREVIEW_CLOSE
= _windows_
.ID_PREVIEW_CLOSE
4188 ID_PREVIEW_NEXT
= _windows_
.ID_PREVIEW_NEXT
4189 ID_PREVIEW_PREVIOUS
= _windows_
.ID_PREVIEW_PREVIOUS
4190 ID_PREVIEW_PRINT
= _windows_
.ID_PREVIEW_PRINT
4191 ID_PREVIEW_ZOOM
= _windows_
.ID_PREVIEW_ZOOM
4192 ID_PREVIEW_FIRST
= _windows_
.ID_PREVIEW_FIRST
4193 ID_PREVIEW_LAST
= _windows_
.ID_PREVIEW_LAST
4194 ID_PREVIEW_GOTO
= _windows_
.ID_PREVIEW_GOTO
4195 class PreviewControlBar(Panel
):
4197 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4198 def __init__(self
, *args
, **kwargs
):
4200 __init__(self, PrintPreview preview, long buttons, Window parent,
4201 Point pos=DefaultPosition, Size size=DefaultSize,
4202 long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
4204 newobj
= _windows_
.new_PreviewControlBar(*args
, **kwargs
)
4205 self
.this
= newobj
.this
4208 self
._setOORInfo
(self
)
4210 def GetZoomControl(*args
, **kwargs
):
4211 """GetZoomControl(self) -> int"""
4212 return _windows_
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
4214 def SetZoomControl(*args
, **kwargs
):
4215 """SetZoomControl(self, int zoom)"""
4216 return _windows_
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
4218 def GetPrintPreview(*args
, **kwargs
):
4219 """GetPrintPreview(self) -> PrintPreview"""
4220 return _windows_
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
4222 def OnNext(*args
, **kwargs
):
4224 return _windows_
.PreviewControlBar_OnNext(*args
, **kwargs
)
4226 def OnPrevious(*args
, **kwargs
):
4227 """OnPrevious(self)"""
4228 return _windows_
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
4230 def OnFirst(*args
, **kwargs
):
4232 return _windows_
.PreviewControlBar_OnFirst(*args
, **kwargs
)
4234 def OnLast(*args
, **kwargs
):
4236 return _windows_
.PreviewControlBar_OnLast(*args
, **kwargs
)
4238 def OnGoto(*args
, **kwargs
):
4240 return _windows_
.PreviewControlBar_OnGoto(*args
, **kwargs
)
4243 class PreviewControlBarPtr(PreviewControlBar
):
4244 def __init__(self
, this
):
4246 if not hasattr(self
,"thisown"): self
.thisown
= 0
4247 self
.__class
__ = PreviewControlBar
4248 _windows_
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
4250 class PrintPreview(_core
.Object
):
4252 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4253 def __init__(self
, *args
):
4255 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview
4256 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview
4258 newobj
= _windows_
.new_PrintPreview(*args
)
4259 self
.this
= newobj
.this
4262 def SetCurrentPage(*args
, **kwargs
):
4263 """SetCurrentPage(self, int pageNum) -> bool"""
4264 return _windows_
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
4266 def GetCurrentPage(*args
, **kwargs
):
4267 """GetCurrentPage(self) -> int"""
4268 return _windows_
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
4270 def SetPrintout(*args
, **kwargs
):
4271 """SetPrintout(self, Printout printout)"""
4272 return _windows_
.PrintPreview_SetPrintout(*args
, **kwargs
)
4274 def GetPrintout(*args
, **kwargs
):
4275 """GetPrintout(self) -> Printout"""
4276 return _windows_
.PrintPreview_GetPrintout(*args
, **kwargs
)
4278 def GetPrintoutForPrinting(*args
, **kwargs
):
4279 """GetPrintoutForPrinting(self) -> Printout"""
4280 return _windows_
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
4282 def SetFrame(*args
, **kwargs
):
4283 """SetFrame(self, Frame frame)"""
4284 return _windows_
.PrintPreview_SetFrame(*args
, **kwargs
)
4286 def SetCanvas(*args
, **kwargs
):
4287 """SetCanvas(self, PreviewCanvas canvas)"""
4288 return _windows_
.PrintPreview_SetCanvas(*args
, **kwargs
)
4290 def GetFrame(*args
, **kwargs
):
4291 """GetFrame(self) -> Frame"""
4292 return _windows_
.PrintPreview_GetFrame(*args
, **kwargs
)
4294 def GetCanvas(*args
, **kwargs
):
4295 """GetCanvas(self) -> PreviewCanvas"""
4296 return _windows_
.PrintPreview_GetCanvas(*args
, **kwargs
)
4298 def PaintPage(*args
, **kwargs
):
4299 """PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4300 return _windows_
.PrintPreview_PaintPage(*args
, **kwargs
)
4302 def DrawBlankPage(*args
, **kwargs
):
4303 """DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4304 return _windows_
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
4306 def RenderPage(*args
, **kwargs
):
4307 """RenderPage(self, int pageNum) -> bool"""
4308 return _windows_
.PrintPreview_RenderPage(*args
, **kwargs
)
4310 def AdjustScrollbars(*args
, **kwargs
):
4311 """AdjustScrollbars(self, PreviewCanvas canvas)"""
4312 return _windows_
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
4314 def GetPrintDialogData(*args
, **kwargs
):
4315 """GetPrintDialogData(self) -> PrintDialogData"""
4316 return _windows_
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
4318 def SetZoom(*args
, **kwargs
):
4319 """SetZoom(self, int percent)"""
4320 return _windows_
.PrintPreview_SetZoom(*args
, **kwargs
)
4322 def GetZoom(*args
, **kwargs
):
4323 """GetZoom(self) -> int"""
4324 return _windows_
.PrintPreview_GetZoom(*args
, **kwargs
)
4326 def GetMaxPage(*args
, **kwargs
):
4327 """GetMaxPage(self) -> int"""
4328 return _windows_
.PrintPreview_GetMaxPage(*args
, **kwargs
)
4330 def GetMinPage(*args
, **kwargs
):
4331 """GetMinPage(self) -> int"""
4332 return _windows_
.PrintPreview_GetMinPage(*args
, **kwargs
)
4334 def Ok(*args
, **kwargs
):
4335 """Ok(self) -> bool"""
4336 return _windows_
.PrintPreview_Ok(*args
, **kwargs
)
4338 def SetOk(*args
, **kwargs
):
4339 """SetOk(self, bool ok)"""
4340 return _windows_
.PrintPreview_SetOk(*args
, **kwargs
)
4342 def Print(*args
, **kwargs
):
4343 """Print(self, bool interactive) -> bool"""
4344 return _windows_
.PrintPreview_Print(*args
, **kwargs
)
4346 def DetermineScaling(*args
, **kwargs
):
4347 """DetermineScaling(self)"""
4348 return _windows_
.PrintPreview_DetermineScaling(*args
, **kwargs
)
4350 def __nonzero__(self
): return self
.Ok()
4352 class PrintPreviewPtr(PrintPreview
):
4353 def __init__(self
, this
):
4355 if not hasattr(self
,"thisown"): self
.thisown
= 0
4356 self
.__class
__ = PrintPreview
4357 _windows_
.PrintPreview_swigregister(PrintPreviewPtr
)
4359 class PyPrintPreview(PrintPreview
):
4361 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4362 def __init__(self
, *args
):
4364 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview
4365 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview
4367 newobj
= _windows_
.new_PyPrintPreview(*args
)
4368 self
.this
= newobj
.this
4371 self
._setCallbackInfo
(self
, PyPrintPreview
)
4373 def _setCallbackInfo(*args
, **kwargs
):
4374 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4375 return _windows_
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
4377 def base_SetCurrentPage(*args
, **kwargs
):
4378 """base_SetCurrentPage(self, int pageNum) -> bool"""
4379 return _windows_
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
4381 def base_PaintPage(*args
, **kwargs
):
4382 """base_PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4383 return _windows_
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
4385 def base_DrawBlankPage(*args
, **kwargs
):
4386 """base_DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4387 return _windows_
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
4389 def base_RenderPage(*args
, **kwargs
):
4390 """base_RenderPage(self, int pageNum) -> bool"""
4391 return _windows_
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
4393 def base_SetZoom(*args
, **kwargs
):
4394 """base_SetZoom(self, int percent)"""
4395 return _windows_
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
4397 def base_Print(*args
, **kwargs
):
4398 """base_Print(self, bool interactive) -> bool"""
4399 return _windows_
.PyPrintPreview_base_Print(*args
, **kwargs
)
4401 def base_DetermineScaling(*args
, **kwargs
):
4402 """base_DetermineScaling(self)"""
4403 return _windows_
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
4406 class PyPrintPreviewPtr(PyPrintPreview
):
4407 def __init__(self
, this
):
4409 if not hasattr(self
,"thisown"): self
.thisown
= 0
4410 self
.__class
__ = PyPrintPreview
4411 _windows_
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
4413 class PyPreviewFrame(PreviewFrame
):
4415 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4416 def __init__(self
, *args
, **kwargs
):
4418 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4419 Size size=DefaultSize,
4420 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
4422 newobj
= _windows_
.new_PyPreviewFrame(*args
, **kwargs
)
4423 self
.this
= newobj
.this
4426 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
4428 def _setCallbackInfo(*args
, **kwargs
):
4429 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4430 return _windows_
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
4432 def SetPreviewCanvas(*args
, **kwargs
):
4433 """SetPreviewCanvas(self, PreviewCanvas canvas)"""
4434 return _windows_
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
4436 def SetControlBar(*args
, **kwargs
):
4437 """SetControlBar(self, PreviewControlBar bar)"""
4438 return _windows_
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
4440 def base_Initialize(*args
, **kwargs
):
4441 """base_Initialize(self)"""
4442 return _windows_
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
4444 def base_CreateCanvas(*args
, **kwargs
):
4445 """base_CreateCanvas(self)"""
4446 return _windows_
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
4448 def base_CreateControlBar(*args
, **kwargs
):
4449 """base_CreateControlBar(self)"""
4450 return _windows_
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
4453 class PyPreviewFramePtr(PyPreviewFrame
):
4454 def __init__(self
, this
):
4456 if not hasattr(self
,"thisown"): self
.thisown
= 0
4457 self
.__class
__ = PyPreviewFrame
4458 _windows_
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
4460 class PyPreviewControlBar(PreviewControlBar
):
4462 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4463 def __init__(self
, *args
, **kwargs
):
4465 __init__(self, PrintPreview preview, long buttons, Window parent,
4466 Point pos=DefaultPosition, Size size=DefaultSize,
4467 long style=0, String name=PanelNameStr) -> PyPreviewControlBar
4469 newobj
= _windows_
.new_PyPreviewControlBar(*args
, **kwargs
)
4470 self
.this
= newobj
.this
4473 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
4475 def _setCallbackInfo(*args
, **kwargs
):
4476 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4477 return _windows_
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
4479 def SetPrintPreview(*args
, **kwargs
):
4480 """SetPrintPreview(self, PrintPreview preview)"""
4481 return _windows_
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
4483 def base_CreateButtons(*args
, **kwargs
):
4484 """base_CreateButtons(self)"""
4485 return _windows_
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
4487 def base_SetZoomControl(*args
, **kwargs
):
4488 """base_SetZoomControl(self, int zoom)"""
4489 return _windows_
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
4492 class PyPreviewControlBarPtr(PyPreviewControlBar
):
4493 def __init__(self
, this
):
4495 if not hasattr(self
,"thisown"): self
.thisown
= 0
4496 self
.__class
__ = PyPreviewControlBar
4497 _windows_
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)