1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
8 #---------------------------------------------------------------------------
10 class Panel(_core
.Window
):
12 return "<%s.%s; proxy of C++ wxPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
13 def __init__(self
, *args
, **kwargs
):
15 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
16 Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
17 String name=PanelNameStr) -> Panel
19 newobj
= _windows_
.new_Panel(*args
, **kwargs
)
20 self
.this
= newobj
.this
23 self
._setOORInfo
(self
)
25 def Create(*args
, **kwargs
):
27 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
28 Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
29 String name=PanelNameStr) -> bool
31 Create the GUI part of the Window for 2-phase creation mode.
33 return _windows_
.Panel_Create(*args
, **kwargs
)
35 def InitDialog(*args
, **kwargs
):
39 Sends an EVT_INIT_DIALOG event, whose handler usually transfers
40 data to the dialog via validators.
42 return _windows_
.Panel_InitDialog(*args
, **kwargs
)
45 class PanelPtr(Panel
):
46 def __init__(self
, this
):
48 if not hasattr(self
,"thisown"): self
.thisown
= 0
49 self
.__class
__ = Panel
50 _windows_
.Panel_swigregister(PanelPtr
)
52 def PrePanel(*args
, **kwargs
):
53 """PrePanel() -> Panel"""
54 val
= _windows_
.new_PrePanel(*args
, **kwargs
)
58 #---------------------------------------------------------------------------
60 class ScrolledWindow(Panel
):
62 return "<%s.%s; proxy of C++ wxScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
63 def __init__(self
, *args
, **kwargs
):
65 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
66 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
67 String name=PanelNameStr) -> ScrolledWindow
69 newobj
= _windows_
.new_ScrolledWindow(*args
, **kwargs
)
70 self
.this
= newobj
.this
73 self
._setOORInfo
(self
)
75 def Create(*args
, **kwargs
):
77 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
78 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
79 String name=PanelNameStr) -> bool
81 Create the GUI part of the Window for 2-phase creation mode.
83 return _windows_
.ScrolledWindow_Create(*args
, **kwargs
)
85 def SetScrollbars(*args
, **kwargs
):
87 SetScrollbars(self, int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX,
88 int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)
90 return _windows_
.ScrolledWindow_SetScrollbars(*args
, **kwargs
)
92 def Scroll(*args
, **kwargs
):
93 """Scroll(self, int x, int y)"""
94 return _windows_
.ScrolledWindow_Scroll(*args
, **kwargs
)
96 def GetScrollPageSize(*args
, **kwargs
):
97 """GetScrollPageSize(self, int orient) -> int"""
98 return _windows_
.ScrolledWindow_GetScrollPageSize(*args
, **kwargs
)
100 def SetScrollPageSize(*args
, **kwargs
):
101 """SetScrollPageSize(self, int orient, int pageSize)"""
102 return _windows_
.ScrolledWindow_SetScrollPageSize(*args
, **kwargs
)
104 def SetScrollRate(*args
, **kwargs
):
105 """SetScrollRate(self, int xstep, int ystep)"""
106 return _windows_
.ScrolledWindow_SetScrollRate(*args
, **kwargs
)
108 def GetScrollPixelsPerUnit(*args
, **kwargs
):
110 GetScrollPixelsPerUnit() -> (xUnit, yUnit)
112 Get the size of one logical unit in physical units.
114 return _windows_
.ScrolledWindow_GetScrollPixelsPerUnit(*args
, **kwargs
)
116 def EnableScrolling(*args
, **kwargs
):
117 """EnableScrolling(self, bool x_scrolling, bool y_scrolling)"""
118 return _windows_
.ScrolledWindow_EnableScrolling(*args
, **kwargs
)
120 def GetViewStart(*args
, **kwargs
):
122 GetViewStart() -> (x,y)
126 return _windows_
.ScrolledWindow_GetViewStart(*args
, **kwargs
)
128 def SetScale(*args
, **kwargs
):
129 """SetScale(self, double xs, double ys)"""
130 return _windows_
.ScrolledWindow_SetScale(*args
, **kwargs
)
132 def GetScaleX(*args
, **kwargs
):
133 """GetScaleX(self) -> double"""
134 return _windows_
.ScrolledWindow_GetScaleX(*args
, **kwargs
)
136 def GetScaleY(*args
, **kwargs
):
137 """GetScaleY(self) -> double"""
138 return _windows_
.ScrolledWindow_GetScaleY(*args
, **kwargs
)
140 def CalcScrolledPosition(*args
):
142 CalcScrolledPosition(self, Point pt) -> Point
143 CalcScrolledPosition(int x, int y) -> (sx, sy)
145 Translate between scrolled and unscrolled coordinates.
147 return _windows_
.ScrolledWindow_CalcScrolledPosition(*args
)
149 def CalcUnscrolledPosition(*args
):
151 CalcUnscrolledPosition(self, Point pt) -> Point
152 CalcUnscrolledPosition(int x, int y) -> (ux, uy)
154 Translate between scrolled and unscrolled coordinates.
156 return _windows_
.ScrolledWindow_CalcUnscrolledPosition(*args
)
158 def AdjustScrollbars(*args
, **kwargs
):
159 """AdjustScrollbars(self)"""
160 return _windows_
.ScrolledWindow_AdjustScrollbars(*args
, **kwargs
)
162 def CalcScrollInc(*args
, **kwargs
):
163 """CalcScrollInc(self, ScrollWinEvent event) -> int"""
164 return _windows_
.ScrolledWindow_CalcScrollInc(*args
, **kwargs
)
166 def SetTargetWindow(*args
, **kwargs
):
167 """SetTargetWindow(self, Window target)"""
168 return _windows_
.ScrolledWindow_SetTargetWindow(*args
, **kwargs
)
170 def GetTargetWindow(*args
, **kwargs
):
171 """GetTargetWindow(self) -> Window"""
172 return _windows_
.ScrolledWindow_GetTargetWindow(*args
, **kwargs
)
174 def SetTargetRect(*args
, **kwargs
):
175 """SetTargetRect(self, Rect rect)"""
176 return _windows_
.ScrolledWindow_SetTargetRect(*args
, **kwargs
)
178 def GetTargetRect(*args
, **kwargs
):
179 """GetTargetRect(self) -> Rect"""
180 return _windows_
.ScrolledWindow_GetTargetRect(*args
, **kwargs
)
183 class ScrolledWindowPtr(ScrolledWindow
):
184 def __init__(self
, this
):
186 if not hasattr(self
,"thisown"): self
.thisown
= 0
187 self
.__class
__ = ScrolledWindow
188 _windows_
.ScrolledWindow_swigregister(ScrolledWindowPtr
)
190 def PreScrolledWindow(*args
, **kwargs
):
191 """PreScrolledWindow() -> ScrolledWindow"""
192 val
= _windows_
.new_PreScrolledWindow(*args
, **kwargs
)
196 #---------------------------------------------------------------------------
198 STAY_ON_TOP
= _windows_
.STAY_ON_TOP
199 ICONIZE
= _windows_
.ICONIZE
200 MINIMIZE
= _windows_
.MINIMIZE
201 MAXIMIZE
= _windows_
.MAXIMIZE
202 CLOSE_BOX
= _windows_
.CLOSE_BOX
203 THICK_FRAME
= _windows_
.THICK_FRAME
204 SYSTEM_MENU
= _windows_
.SYSTEM_MENU
205 MINIMIZE_BOX
= _windows_
.MINIMIZE_BOX
206 MAXIMIZE_BOX
= _windows_
.MAXIMIZE_BOX
207 TINY_CAPTION_HORIZ
= _windows_
.TINY_CAPTION_HORIZ
208 TINY_CAPTION_VERT
= _windows_
.TINY_CAPTION_VERT
209 RESIZE_BOX
= _windows_
.RESIZE_BOX
210 RESIZE_BORDER
= _windows_
.RESIZE_BORDER
211 DIALOG_NO_PARENT
= _windows_
.DIALOG_NO_PARENT
212 DEFAULT_FRAME_STYLE
= _windows_
.DEFAULT_FRAME_STYLE
213 DEFAULT_DIALOG_STYLE
= _windows_
.DEFAULT_DIALOG_STYLE
214 FRAME_TOOL_WINDOW
= _windows_
.FRAME_TOOL_WINDOW
215 FRAME_FLOAT_ON_PARENT
= _windows_
.FRAME_FLOAT_ON_PARENT
216 FRAME_NO_WINDOW_MENU
= _windows_
.FRAME_NO_WINDOW_MENU
217 FRAME_NO_TASKBAR
= _windows_
.FRAME_NO_TASKBAR
218 FRAME_SHAPED
= _windows_
.FRAME_SHAPED
219 DIALOG_MODAL
= _windows_
.DIALOG_MODAL
220 DIALOG_MODELESS
= _windows_
.DIALOG_MODELESS
221 USER_COLOURS
= _windows_
.USER_COLOURS
222 NO_3D
= _windows_
.NO_3D
223 FULLSCREEN_NOMENUBAR
= _windows_
.FULLSCREEN_NOMENUBAR
224 FULLSCREEN_NOTOOLBAR
= _windows_
.FULLSCREEN_NOTOOLBAR
225 FULLSCREEN_NOSTATUSBAR
= _windows_
.FULLSCREEN_NOSTATUSBAR
226 FULLSCREEN_NOBORDER
= _windows_
.FULLSCREEN_NOBORDER
227 FULLSCREEN_NOCAPTION
= _windows_
.FULLSCREEN_NOCAPTION
228 FULLSCREEN_ALL
= _windows_
.FULLSCREEN_ALL
229 TOPLEVEL_EX_DIALOG
= _windows_
.TOPLEVEL_EX_DIALOG
230 class TopLevelWindow(_core
.Window
):
231 def __init__(self
): raise RuntimeError, "No constructor defined"
233 return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
234 def Maximize(*args
, **kwargs
):
235 """Maximize(self, bool maximize=True)"""
236 return _windows_
.TopLevelWindow_Maximize(*args
, **kwargs
)
238 def Restore(*args
, **kwargs
):
240 return _windows_
.TopLevelWindow_Restore(*args
, **kwargs
)
242 def Iconize(*args
, **kwargs
):
243 """Iconize(self, bool iconize=True)"""
244 return _windows_
.TopLevelWindow_Iconize(*args
, **kwargs
)
246 def IsMaximized(*args
, **kwargs
):
247 """IsMaximized(self) -> bool"""
248 return _windows_
.TopLevelWindow_IsMaximized(*args
, **kwargs
)
250 def IsIconized(*args
, **kwargs
):
251 """IsIconized(self) -> bool"""
252 return _windows_
.TopLevelWindow_IsIconized(*args
, **kwargs
)
254 def GetIcon(*args
, **kwargs
):
255 """GetIcon(self) -> Icon"""
256 return _windows_
.TopLevelWindow_GetIcon(*args
, **kwargs
)
258 def SetIcon(*args
, **kwargs
):
259 """SetIcon(self, Icon icon)"""
260 return _windows_
.TopLevelWindow_SetIcon(*args
, **kwargs
)
262 def SetIcons(*args
, **kwargs
):
263 """SetIcons(self, wxIconBundle icons)"""
264 return _windows_
.TopLevelWindow_SetIcons(*args
, **kwargs
)
266 def ShowFullScreen(*args
, **kwargs
):
267 """ShowFullScreen(self, bool show, long style=FULLSCREEN_ALL) -> bool"""
268 return _windows_
.TopLevelWindow_ShowFullScreen(*args
, **kwargs
)
270 def IsFullScreen(*args
, **kwargs
):
271 """IsFullScreen(self) -> bool"""
272 return _windows_
.TopLevelWindow_IsFullScreen(*args
, **kwargs
)
274 def SetTitle(*args
, **kwargs
):
276 SetTitle(self, String title)
278 Sets the window's title. Applicable only to frames and dialogs.
280 return _windows_
.TopLevelWindow_SetTitle(*args
, **kwargs
)
282 def GetTitle(*args
, **kwargs
):
284 GetTitle(self) -> String
286 Gets the window's title. Applicable only to frames and dialogs.
288 return _windows_
.TopLevelWindow_GetTitle(*args
, **kwargs
)
290 def SetShape(*args
, **kwargs
):
291 """SetShape(self, Region region) -> bool"""
292 return _windows_
.TopLevelWindow_SetShape(*args
, **kwargs
)
295 class TopLevelWindowPtr(TopLevelWindow
):
296 def __init__(self
, this
):
298 if not hasattr(self
,"thisown"): self
.thisown
= 0
299 self
.__class
__ = TopLevelWindow
300 _windows_
.TopLevelWindow_swigregister(TopLevelWindowPtr
)
301 cvar
= _windows_
.cvar
302 FrameNameStr
= cvar
.FrameNameStr
303 DialogNameStr
= cvar
.DialogNameStr
304 StatusLineNameStr
= cvar
.StatusLineNameStr
305 ToolBarNameStr
= cvar
.ToolBarNameStr
307 #---------------------------------------------------------------------------
309 class Frame(TopLevelWindow
):
311 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
312 def __init__(self
, *args
, **kwargs
):
314 __init__(self, Window parent, int id, String title, Point pos=DefaultPosition,
315 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
316 String name=FrameNameStr) -> Frame
318 newobj
= _windows_
.new_Frame(*args
, **kwargs
)
319 self
.this
= newobj
.this
322 self
._setOORInfo
(self
)
324 def Create(*args
, **kwargs
):
326 Create(self, Window parent, int id, String title, Point pos=DefaultPosition,
327 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
328 String name=FrameNameStr) -> bool
330 return _windows_
.Frame_Create(*args
, **kwargs
)
332 def GetClientAreaOrigin(*args
, **kwargs
):
334 GetClientAreaOrigin(self) -> Point
336 Get the origin of the client area of the window relative to the
337 window's top left corner (the client area may be shifted because of
338 the borders, scrollbars, other decorations...)
340 return _windows_
.Frame_GetClientAreaOrigin(*args
, **kwargs
)
342 def SendSizeEvent(*args
, **kwargs
):
343 """SendSizeEvent(self)"""
344 return _windows_
.Frame_SendSizeEvent(*args
, **kwargs
)
346 def SetMenuBar(*args
, **kwargs
):
347 """SetMenuBar(self, MenuBar menubar)"""
348 return _windows_
.Frame_SetMenuBar(*args
, **kwargs
)
350 def GetMenuBar(*args
, **kwargs
):
351 """GetMenuBar(self) -> MenuBar"""
352 return _windows_
.Frame_GetMenuBar(*args
, **kwargs
)
354 def ProcessCommand(*args
, **kwargs
):
355 """ProcessCommand(self, int winid) -> bool"""
356 return _windows_
.Frame_ProcessCommand(*args
, **kwargs
)
358 Command
= ProcessCommand
359 def CreateStatusBar(*args
, **kwargs
):
361 CreateStatusBar(self, int number=1, long style=ST_SIZEGRIP, int winid=0,
362 String name=StatusLineNameStr) -> StatusBar
364 return _windows_
.Frame_CreateStatusBar(*args
, **kwargs
)
366 def GetStatusBar(*args
, **kwargs
):
367 """GetStatusBar(self) -> StatusBar"""
368 return _windows_
.Frame_GetStatusBar(*args
, **kwargs
)
370 def SetStatusBar(*args
, **kwargs
):
371 """SetStatusBar(self, StatusBar statBar)"""
372 return _windows_
.Frame_SetStatusBar(*args
, **kwargs
)
374 def SetStatusText(*args
, **kwargs
):
375 """SetStatusText(self, String text, int number=0)"""
376 return _windows_
.Frame_SetStatusText(*args
, **kwargs
)
378 def SetStatusWidths(*args
, **kwargs
):
379 """SetStatusWidths(self, int widths, int widths_field)"""
380 return _windows_
.Frame_SetStatusWidths(*args
, **kwargs
)
382 def PushStatusText(*args
, **kwargs
):
383 """PushStatusText(self, String text, int number=0)"""
384 return _windows_
.Frame_PushStatusText(*args
, **kwargs
)
386 def PopStatusText(*args
, **kwargs
):
387 """PopStatusText(self, int number=0)"""
388 return _windows_
.Frame_PopStatusText(*args
, **kwargs
)
390 def SetStatusBarPane(*args
, **kwargs
):
391 """SetStatusBarPane(self, int n)"""
392 return _windows_
.Frame_SetStatusBarPane(*args
, **kwargs
)
394 def GetStatusBarPane(*args
, **kwargs
):
395 """GetStatusBarPane(self) -> int"""
396 return _windows_
.Frame_GetStatusBarPane(*args
, **kwargs
)
398 def CreateToolBar(*args
, **kwargs
):
399 """CreateToolBar(self, long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar"""
400 return _windows_
.Frame_CreateToolBar(*args
, **kwargs
)
402 def GetToolBar(*args
, **kwargs
):
403 """GetToolBar(self) -> wxToolBar"""
404 return _windows_
.Frame_GetToolBar(*args
, **kwargs
)
406 def SetToolBar(*args
, **kwargs
):
407 """SetToolBar(self, wxToolBar toolbar)"""
408 return _windows_
.Frame_SetToolBar(*args
, **kwargs
)
410 def DoGiveHelp(*args
, **kwargs
):
411 """DoGiveHelp(self, String text, bool show)"""
412 return _windows_
.Frame_DoGiveHelp(*args
, **kwargs
)
414 def DoMenuUpdates(*args
, **kwargs
):
415 """DoMenuUpdates(self, Menu menu=None)"""
416 return _windows_
.Frame_DoMenuUpdates(*args
, **kwargs
)
419 class FramePtr(Frame
):
420 def __init__(self
, this
):
422 if not hasattr(self
,"thisown"): self
.thisown
= 0
423 self
.__class
__ = Frame
424 _windows_
.Frame_swigregister(FramePtr
)
426 def PreFrame(*args
, **kwargs
):
427 """PreFrame() -> Frame"""
428 val
= _windows_
.new_PreFrame(*args
, **kwargs
)
432 #---------------------------------------------------------------------------
434 class Dialog(TopLevelWindow
):
436 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
437 def __init__(self
, *args
, **kwargs
):
439 __init__(self, Window parent, int id, String title, Point pos=DefaultPosition,
440 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
441 String name=DialogNameStr) -> Dialog
443 newobj
= _windows_
.new_Dialog(*args
, **kwargs
)
444 self
.this
= newobj
.this
447 self
._setOORInfo
(self
)
449 def Create(*args
, **kwargs
):
451 Create(self, Window parent, int id, String title, Point pos=DefaultPosition,
452 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
453 String name=DialogNameStr) -> bool
455 return _windows_
.Dialog_Create(*args
, **kwargs
)
457 def SetReturnCode(*args
, **kwargs
):
458 """SetReturnCode(self, int returnCode)"""
459 return _windows_
.Dialog_SetReturnCode(*args
, **kwargs
)
461 def GetReturnCode(*args
, **kwargs
):
462 """GetReturnCode(self) -> int"""
463 return _windows_
.Dialog_GetReturnCode(*args
, **kwargs
)
465 def CreateTextSizer(*args
, **kwargs
):
466 """CreateTextSizer(self, String message) -> Sizer"""
467 return _windows_
.Dialog_CreateTextSizer(*args
, **kwargs
)
469 def CreateButtonSizer(*args
, **kwargs
):
470 """CreateButtonSizer(self, long flags) -> Sizer"""
471 return _windows_
.Dialog_CreateButtonSizer(*args
, **kwargs
)
473 def IsModal(*args
, **kwargs
):
474 """IsModal(self) -> bool"""
475 return _windows_
.Dialog_IsModal(*args
, **kwargs
)
477 def ShowModal(*args
, **kwargs
):
478 """ShowModal(self) -> int"""
479 return _windows_
.Dialog_ShowModal(*args
, **kwargs
)
481 def EndModal(*args
, **kwargs
):
482 """EndModal(self, int retCode)"""
483 return _windows_
.Dialog_EndModal(*args
, **kwargs
)
486 class DialogPtr(Dialog
):
487 def __init__(self
, this
):
489 if not hasattr(self
,"thisown"): self
.thisown
= 0
490 self
.__class
__ = Dialog
491 _windows_
.Dialog_swigregister(DialogPtr
)
493 def PreDialog(*args
, **kwargs
):
494 """PreDialog() -> Dialog"""
495 val
= _windows_
.new_PreDialog(*args
, **kwargs
)
499 #---------------------------------------------------------------------------
501 class MiniFrame(Frame
):
503 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
504 def __init__(self
, *args
, **kwargs
):
506 __init__(self, Window parent, int id, String title, Point pos=DefaultPosition,
507 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
508 String name=FrameNameStr) -> MiniFrame
510 newobj
= _windows_
.new_MiniFrame(*args
, **kwargs
)
511 self
.this
= newobj
.this
514 self
._setOORInfo
(self
)
516 def Create(*args
, **kwargs
):
518 Create(self, Window parent, int id, String title, Point pos=DefaultPosition,
519 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
520 String name=FrameNameStr) -> bool
522 return _windows_
.MiniFrame_Create(*args
, **kwargs
)
525 class MiniFramePtr(MiniFrame
):
526 def __init__(self
, this
):
528 if not hasattr(self
,"thisown"): self
.thisown
= 0
529 self
.__class
__ = MiniFrame
530 _windows_
.MiniFrame_swigregister(MiniFramePtr
)
532 def PreMiniFrame(*args
, **kwargs
):
533 """PreMiniFrame() -> MiniFrame"""
534 val
= _windows_
.new_PreMiniFrame(*args
, **kwargs
)
538 #---------------------------------------------------------------------------
540 SPLASH_CENTRE_ON_PARENT
= _windows_
.SPLASH_CENTRE_ON_PARENT
541 SPLASH_CENTRE_ON_SCREEN
= _windows_
.SPLASH_CENTRE_ON_SCREEN
542 SPLASH_NO_CENTRE
= _windows_
.SPLASH_NO_CENTRE
543 SPLASH_TIMEOUT
= _windows_
.SPLASH_TIMEOUT
544 SPLASH_NO_TIMEOUT
= _windows_
.SPLASH_NO_TIMEOUT
545 class SplashScreenWindow(_core
.Window
):
547 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
548 def __init__(self
, *args
, **kwargs
):
550 __init__(self, Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
551 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
553 newobj
= _windows_
.new_SplashScreenWindow(*args
, **kwargs
)
554 self
.this
= newobj
.this
557 self
._setOORInfo
(self
)
559 def SetBitmap(*args
, **kwargs
):
560 """SetBitmap(self, Bitmap bitmap)"""
561 return _windows_
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
563 def GetBitmap(*args
, **kwargs
):
564 """GetBitmap(self) -> Bitmap"""
565 return _windows_
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
568 class SplashScreenWindowPtr(SplashScreenWindow
):
569 def __init__(self
, this
):
571 if not hasattr(self
,"thisown"): self
.thisown
= 0
572 self
.__class
__ = SplashScreenWindow
573 _windows_
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
575 class SplashScreen(Frame
):
577 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
578 def __init__(self
, *args
, **kwargs
):
580 __init__(self, Bitmap bitmap, long splashStyle, int milliseconds,
581 Window parent, int id, Point pos=DefaultPosition,
582 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
584 newobj
= _windows_
.new_SplashScreen(*args
, **kwargs
)
585 self
.this
= newobj
.this
588 self
._setOORInfo
(self
)
590 def GetSplashStyle(*args
, **kwargs
):
591 """GetSplashStyle(self) -> long"""
592 return _windows_
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
594 def GetSplashWindow(*args
, **kwargs
):
595 """GetSplashWindow(self) -> SplashScreenWindow"""
596 return _windows_
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
598 def GetTimeout(*args
, **kwargs
):
599 """GetTimeout(self) -> int"""
600 return _windows_
.SplashScreen_GetTimeout(*args
, **kwargs
)
603 class SplashScreenPtr(SplashScreen
):
604 def __init__(self
, this
):
606 if not hasattr(self
,"thisown"): self
.thisown
= 0
607 self
.__class
__ = SplashScreen
608 _windows_
.SplashScreen_swigregister(SplashScreenPtr
)
610 #---------------------------------------------------------------------------
612 class StatusBar(_core
.Window
):
614 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
615 def __init__(self
, *args
, **kwargs
):
616 """__init__(self, Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> StatusBar"""
617 newobj
= _windows_
.new_StatusBar(*args
, **kwargs
)
618 self
.this
= newobj
.this
621 self
._setOORInfo
(self
)
623 def Create(*args
, **kwargs
):
624 """Create(self, Window parent, int id, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
625 return _windows_
.StatusBar_Create(*args
, **kwargs
)
627 def SetFieldsCount(*args
, **kwargs
):
628 """SetFieldsCount(self, int number=1)"""
629 return _windows_
.StatusBar_SetFieldsCount(*args
, **kwargs
)
631 def GetFieldsCount(*args
, **kwargs
):
632 """GetFieldsCount(self) -> int"""
633 return _windows_
.StatusBar_GetFieldsCount(*args
, **kwargs
)
635 def SetStatusText(*args
, **kwargs
):
636 """SetStatusText(self, String text, int number=0)"""
637 return _windows_
.StatusBar_SetStatusText(*args
, **kwargs
)
639 def GetStatusText(*args
, **kwargs
):
640 """GetStatusText(self, int number=0) -> String"""
641 return _windows_
.StatusBar_GetStatusText(*args
, **kwargs
)
643 def PushStatusText(*args
, **kwargs
):
644 """PushStatusText(self, String text, int number=0)"""
645 return _windows_
.StatusBar_PushStatusText(*args
, **kwargs
)
647 def PopStatusText(*args
, **kwargs
):
648 """PopStatusText(self, int number=0)"""
649 return _windows_
.StatusBar_PopStatusText(*args
, **kwargs
)
651 def SetStatusWidths(*args
, **kwargs
):
652 """SetStatusWidths(self, int widths, int widths_field)"""
653 return _windows_
.StatusBar_SetStatusWidths(*args
, **kwargs
)
655 def GetFieldRect(*args
, **kwargs
):
656 """GetFieldRect(self, int i) -> Rect"""
657 return _windows_
.StatusBar_GetFieldRect(*args
, **kwargs
)
659 def SetMinHeight(*args
, **kwargs
):
660 """SetMinHeight(self, int height)"""
661 return _windows_
.StatusBar_SetMinHeight(*args
, **kwargs
)
663 def GetBorderX(*args
, **kwargs
):
664 """GetBorderX(self) -> int"""
665 return _windows_
.StatusBar_GetBorderX(*args
, **kwargs
)
667 def GetBorderY(*args
, **kwargs
):
668 """GetBorderY(self) -> int"""
669 return _windows_
.StatusBar_GetBorderY(*args
, **kwargs
)
672 class StatusBarPtr(StatusBar
):
673 def __init__(self
, this
):
675 if not hasattr(self
,"thisown"): self
.thisown
= 0
676 self
.__class
__ = StatusBar
677 _windows_
.StatusBar_swigregister(StatusBarPtr
)
679 def PreStatusBar(*args
, **kwargs
):
680 """PreStatusBar() -> StatusBar"""
681 val
= _windows_
.new_PreStatusBar(*args
, **kwargs
)
685 #---------------------------------------------------------------------------
687 SP_NOBORDER
= _windows_
.SP_NOBORDER
688 SP_NOSASH
= _windows_
.SP_NOSASH
689 SP_PERMIT_UNSPLIT
= _windows_
.SP_PERMIT_UNSPLIT
690 SP_LIVE_UPDATE
= _windows_
.SP_LIVE_UPDATE
691 SP_3DSASH
= _windows_
.SP_3DSASH
692 SP_3DBORDER
= _windows_
.SP_3DBORDER
693 SP_NO_XP_THEME
= _windows_
.SP_NO_XP_THEME
694 SP_BORDER
= _windows_
.SP_BORDER
695 SP_3D
= _windows_
.SP_3D
696 SPLIT_HORIZONTAL
= _windows_
.SPLIT_HORIZONTAL
697 SPLIT_VERTICAL
= _windows_
.SPLIT_VERTICAL
698 SPLIT_DRAG_NONE
= _windows_
.SPLIT_DRAG_NONE
699 SPLIT_DRAG_DRAGGING
= _windows_
.SPLIT_DRAG_DRAGGING
700 SPLIT_DRAG_LEFT_DOWN
= _windows_
.SPLIT_DRAG_LEFT_DOWN
701 class SplitterWindow(_core
.Window
):
703 wx.SplitterWindow manages up to two subwindows or panes,
704 with an optional vertical or horizontal split which can be
705 used with the mouse or programmatically.
709 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
710 def __init__(self
, *args
, **kwargs
):
712 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
713 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
715 Constructor. Creates and shows a SplitterWindow.
717 if kwargs
.has_key('point'): kwargs
['pos'] = kwargs
['point'];del kwargs
['point']
718 newobj
= _windows_
.new_SplitterWindow(*args
, **kwargs
)
719 self
.this
= newobj
.this
722 self
._setOORInfo
(self
)
724 def Create(*args
, **kwargs
):
726 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
727 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool
729 Create the GUI part of the SplitterWindow for the 2-phase create.
731 return _windows_
.SplitterWindow_Create(*args
, **kwargs
)
733 def GetWindow1(*args
, **kwargs
):
735 GetWindow1(self) -> Window
737 Gets the only or left/top pane.
739 return _windows_
.SplitterWindow_GetWindow1(*args
, **kwargs
)
741 def GetWindow2(*args
, **kwargs
):
743 GetWindow2(self) -> Window
745 Gets the right/bottom pane.
747 return _windows_
.SplitterWindow_GetWindow2(*args
, **kwargs
)
749 def SetSplitMode(*args
, **kwargs
):
751 SetSplitMode(self, int mode)
753 Sets the split mode. The mode can be wx.SPLIT_VERTICAL or
754 wx.SPLIT_HORIZONTAL. This only sets the internal variable;
755 does not update the display.
757 return _windows_
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
759 def GetSplitMode(*args
, **kwargs
):
761 GetSplitMode(self) -> int
765 return _windows_
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
767 def Initialize(*args
, **kwargs
):
769 Initialize(self, Window window)
771 Initializes the splitter window to have one pane. This
772 should be called if you wish to initially view only a single
773 pane in the splitter window.
775 return _windows_
.SplitterWindow_Initialize(*args
, **kwargs
)
777 def SplitVertically(*args
, **kwargs
):
779 SplitVertically(self, Window window1, Window window2, int sashPosition=0) -> bool
781 Initializes the left and right panes of the splitter window.
783 window1 The left pane.
784 window2 The right pane.
785 sashPosition The initial position of the sash. If this
786 value is positive, it specifies the size
787 of the left pane. If it is negative, it is
788 absolute value gives the size of the right
789 pane. Finally, specify 0 (default) to
790 choose the default position (half of the
793 Returns True if successful, False otherwise (the window was
796 SplitVertically should be called if you wish to initially
797 view two panes. It can also be called at any subsequent
798 time, but the application should check that the window is
799 not currently split using IsSplit.
801 return _windows_
.SplitterWindow_SplitVertically(*args
, **kwargs
)
803 def SplitHorizontally(*args
, **kwargs
):
805 SplitHorizontally(self, Window window1, Window window2, int sashPosition=0) -> bool
807 Initializes the top and bottom panes of the splitter window.
809 window1 The top pane.
810 window2 The bottom pane.
811 sashPosition The initial position of the sash. If this
812 value is positive, it specifies the size
813 of the upper pane. If it is negative, it
814 is absolute value gives the size of the
815 lower pane. Finally, specify 0 (default)
816 to choose the default position (half of
817 the total window height).
819 Returns True if successful, False otherwise (the window was
822 SplitHorizontally should be called if you wish to initially
823 view two panes. It can also be called at any subsequent
824 time, but the application should check that the window is
825 not currently split using IsSplit.
827 return _windows_
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
829 def Unsplit(*args
, **kwargs
):
831 Unsplit(self, Window toRemove=None) -> bool
833 Unsplits the window. Pass the pane to remove, or None to
834 remove the right or bottom pane. Returns True if
835 successful, False otherwise (the window was not split).
837 This function will not actually delete the pane being
838 removed; it sends EVT_SPLITTER_UNSPLIT which can be handled
839 for the desired behaviour. By default, the pane being
840 removed is only hidden.
842 return _windows_
.SplitterWindow_Unsplit(*args
, **kwargs
)
844 def ReplaceWindow(*args
, **kwargs
):
846 ReplaceWindow(self, Window winOld, Window winNew) -> bool
848 This function replaces one of the windows managed by the
849 SplitterWindow with another one. It is in general better to
850 use it instead of calling Unsplit() and then resplitting the
851 window back because it will provoke much less flicker. It is
852 valid to call this function whether the splitter has two
855 Both parameters should be non-None and winOld must specify
856 one of the windows managed by the splitter. If the
857 parameters are incorrect or the window couldn't be replaced,
858 False is returned. Otherwise the function will return True,
859 but please notice that it will not Destroy the replaced
860 window and you may wish to do it yourself.
862 return _windows_
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
864 def UpdateSize(*args
, **kwargs
):
868 Causes any pending sizing of the sash and child panes to
869 take place immediately.
871 Such resizing normally takes place in idle time, in order to
872 wait for layout to be completed. However, this can cause
873 unacceptable flicker as the panes are resized after the
874 window has been shown. To work around this, you can perform
875 window layout (for example by sending a size event to the
876 parent window), and then call this function, before showing
877 the top-level window.
879 return _windows_
.SplitterWindow_UpdateSize(*args
, **kwargs
)
881 def IsSplit(*args
, **kwargs
):
883 IsSplit(self) -> bool
887 return _windows_
.SplitterWindow_IsSplit(*args
, **kwargs
)
889 def SetSashSize(*args
, **kwargs
):
891 SetSashSize(self, int width)
895 return _windows_
.SplitterWindow_SetSashSize(*args
, **kwargs
)
897 def SetBorderSize(*args
, **kwargs
):
899 SetBorderSize(self, int width)
903 return _windows_
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
905 def GetSashSize(*args
, **kwargs
):
907 GetSashSize(self) -> int
911 return _windows_
.SplitterWindow_GetSashSize(*args
, **kwargs
)
913 def GetBorderSize(*args
, **kwargs
):
915 GetBorderSize(self) -> int
919 return _windows_
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
921 def SetSashPosition(*args
, **kwargs
):
923 SetSashPosition(self, int position, bool redraw=True)
925 Sets the sash position, in pixels. If redraw is Ttrue then
926 the panes are resized and the sash and border are redrawn.
928 return _windows_
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
930 def GetSashPosition(*args
, **kwargs
):
932 GetSashPosition(self) -> int
934 Returns the surrent sash position.
936 return _windows_
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
938 def SetMinimumPaneSize(*args
, **kwargs
):
940 SetMinimumPaneSize(self, int min)
942 Sets the minimum pane size in pixels.
944 The default minimum pane size is zero, which means that
945 either pane can be reduced to zero by dragging the sash,
946 thus removing one of the panes. To prevent this behaviour (and
947 veto out-of-range sash dragging), set a minimum size,
948 for example 20 pixels. If the wx.SP_PERMIT_UNSPLIT style is
949 used when a splitter window is created, the window may be
950 unsplit even if minimum size is non-zero.
952 return _windows_
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
954 def GetMinimumPaneSize(*args
, **kwargs
):
956 GetMinimumPaneSize(self) -> int
958 Gets the minimum pane size in pixels.
960 return _windows_
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
962 def SashHitTest(*args
, **kwargs
):
964 SashHitTest(self, int x, int y, int tolerance=5) -> bool
966 Tests for x, y over the sash
968 return _windows_
.SplitterWindow_SashHitTest(*args
, **kwargs
)
970 def SizeWindows(*args
, **kwargs
):
976 return _windows_
.SplitterWindow_SizeWindows(*args
, **kwargs
)
978 def SetNeedUpdating(*args
, **kwargs
):
979 """SetNeedUpdating(self, bool needUpdating)"""
980 return _windows_
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
982 def GetNeedUpdating(*args
, **kwargs
):
983 """GetNeedUpdating(self) -> bool"""
984 return _windows_
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
987 class SplitterWindowPtr(SplitterWindow
):
988 def __init__(self
, this
):
990 if not hasattr(self
,"thisown"): self
.thisown
= 0
991 self
.__class
__ = SplitterWindow
992 _windows_
.SplitterWindow_swigregister(SplitterWindowPtr
)
993 SplitterNameStr
= cvar
.SplitterNameStr
995 def PreSplitterWindow(*args
, **kwargs
):
997 PreSplitterWindow() -> SplitterWindow
999 Precreate a SplitterWindow for 2-phase creation.
1001 val
= _windows_
.new_PreSplitterWindow(*args
, **kwargs
)
1005 class SplitterEvent(_core
.NotifyEvent
):
1006 """This class represents the events generated by a splitter control."""
1008 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1009 def __init__(self
, *args
, **kwargs
):
1011 __init__(self, wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent
1013 This class represents the events generated by a splitter control.
1015 newobj
= _windows_
.new_SplitterEvent(*args
, **kwargs
)
1016 self
.this
= newobj
.this
1019 def SetSashPosition(*args
, **kwargs
):
1021 SetSashPosition(self, int pos)
1023 This funciton is only meaningful during
1024 EVT_SPLITTER_SASH_POS_CHANGING and
1025 EVT_SPLITTER_SASH_POS_CHANGED events. In the case of
1026 _CHANGED events, sets the the new sash position. In the case
1027 of _CHANGING events, sets the new tracking bar position so
1028 visual feedback during dragging will represent that change
1029 that will actually take place. Set to -1 from the event
1030 handler code to prevent repositioning.
1032 return _windows_
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
1034 def GetSashPosition(*args
, **kwargs
):
1036 GetSashPosition(self) -> int
1038 Returns the new sash position while in
1039 EVT_SPLITTER_SASH_POS_CHANGING and
1040 EVT_SPLITTER_SASH_POS_CHANGED events.
1042 return _windows_
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
1044 def GetWindowBeingRemoved(*args
, **kwargs
):
1046 GetWindowBeingRemoved(self) -> Window
1048 Returns a pointer to the window being removed when a
1049 splitter window is unsplit.
1051 return _windows_
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
1053 def GetX(*args
, **kwargs
):
1057 Returns the x coordinate of the double-click point in a
1058 EVT_SPLITTER_DCLICK event.
1060 return _windows_
.SplitterEvent_GetX(*args
, **kwargs
)
1062 def GetY(*args
, **kwargs
):
1066 Returns the y coordinate of the double-click point in a
1067 EVT_SPLITTER_DCLICK event.
1069 return _windows_
.SplitterEvent_GetY(*args
, **kwargs
)
1072 class SplitterEventPtr(SplitterEvent
):
1073 def __init__(self
, this
):
1075 if not hasattr(self
,"thisown"): self
.thisown
= 0
1076 self
.__class
__ = SplitterEvent
1077 _windows_
.SplitterEvent_swigregister(SplitterEventPtr
)
1079 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
1080 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
1081 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows_
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
1082 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows_
.wxEVT_COMMAND_SPLITTER_UNSPLIT
1083 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
1084 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
1085 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
1086 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
1087 EVT_SPLITTER_DCLICK
= EVT_SPLITTER_DOUBLECLICKED
1089 #---------------------------------------------------------------------------
1091 SASH_DRAG_NONE
= _windows_
.SASH_DRAG_NONE
1092 SASH_DRAG_DRAGGING
= _windows_
.SASH_DRAG_DRAGGING
1093 SASH_DRAG_LEFT_DOWN
= _windows_
.SASH_DRAG_LEFT_DOWN
1094 SW_NOBORDER
= _windows_
.SW_NOBORDER
1095 SW_BORDER
= _windows_
.SW_BORDER
1096 SW_3DSASH
= _windows_
.SW_3DSASH
1097 SW_3DBORDER
= _windows_
.SW_3DBORDER
1098 SW_3D
= _windows_
.SW_3D
1099 SASH_TOP
= _windows_
.SASH_TOP
1100 SASH_RIGHT
= _windows_
.SASH_RIGHT
1101 SASH_BOTTOM
= _windows_
.SASH_BOTTOM
1102 SASH_LEFT
= _windows_
.SASH_LEFT
1103 SASH_NONE
= _windows_
.SASH_NONE
1104 class SashWindow(_core
.Window
):
1106 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1107 def __init__(self
, *args
, **kwargs
):
1109 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1110 long style=wxCLIP_CHILDREN|wxSW_3D,
1111 String name=SashNameStr) -> SashWindow
1113 newobj
= _windows_
.new_SashWindow(*args
, **kwargs
)
1114 self
.this
= newobj
.this
1117 self
._setOORInfo
(self
)
1119 def Create(*args
, **kwargs
):
1121 Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1122 long style=wxCLIP_CHILDREN|wxSW_3D,
1123 String name=SashNameStr) -> bool
1125 return _windows_
.SashWindow_Create(*args
, **kwargs
)
1127 def SetSashVisible(*args
, **kwargs
):
1128 """SetSashVisible(self, int edge, bool sash)"""
1129 return _windows_
.SashWindow_SetSashVisible(*args
, **kwargs
)
1131 def GetSashVisible(*args
, **kwargs
):
1132 """GetSashVisible(self, int edge) -> bool"""
1133 return _windows_
.SashWindow_GetSashVisible(*args
, **kwargs
)
1135 def SetSashBorder(*args
, **kwargs
):
1136 """SetSashBorder(self, int edge, bool border)"""
1137 return _windows_
.SashWindow_SetSashBorder(*args
, **kwargs
)
1139 def HasBorder(*args
, **kwargs
):
1140 """HasBorder(self, int edge) -> bool"""
1141 return _windows_
.SashWindow_HasBorder(*args
, **kwargs
)
1143 def GetEdgeMargin(*args
, **kwargs
):
1144 """GetEdgeMargin(self, int edge) -> int"""
1145 return _windows_
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
1147 def SetDefaultBorderSize(*args
, **kwargs
):
1148 """SetDefaultBorderSize(self, int width)"""
1149 return _windows_
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
1151 def GetDefaultBorderSize(*args
, **kwargs
):
1152 """GetDefaultBorderSize(self) -> int"""
1153 return _windows_
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
1155 def SetExtraBorderSize(*args
, **kwargs
):
1156 """SetExtraBorderSize(self, int width)"""
1157 return _windows_
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
1159 def GetExtraBorderSize(*args
, **kwargs
):
1160 """GetExtraBorderSize(self) -> int"""
1161 return _windows_
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
1163 def SetMinimumSizeX(*args
, **kwargs
):
1164 """SetMinimumSizeX(self, int min)"""
1165 return _windows_
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
1167 def SetMinimumSizeY(*args
, **kwargs
):
1168 """SetMinimumSizeY(self, int min)"""
1169 return _windows_
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
1171 def GetMinimumSizeX(*args
, **kwargs
):
1172 """GetMinimumSizeX(self) -> int"""
1173 return _windows_
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
1175 def GetMinimumSizeY(*args
, **kwargs
):
1176 """GetMinimumSizeY(self) -> int"""
1177 return _windows_
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
1179 def SetMaximumSizeX(*args
, **kwargs
):
1180 """SetMaximumSizeX(self, int max)"""
1181 return _windows_
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
1183 def SetMaximumSizeY(*args
, **kwargs
):
1184 """SetMaximumSizeY(self, int max)"""
1185 return _windows_
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
1187 def GetMaximumSizeX(*args
, **kwargs
):
1188 """GetMaximumSizeX(self) -> int"""
1189 return _windows_
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
1191 def GetMaximumSizeY(*args
, **kwargs
):
1192 """GetMaximumSizeY(self) -> int"""
1193 return _windows_
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
1195 def SashHitTest(*args
, **kwargs
):
1196 """SashHitTest(self, int x, int y, int tolerance=2) -> int"""
1197 return _windows_
.SashWindow_SashHitTest(*args
, **kwargs
)
1199 def SizeWindows(*args
, **kwargs
):
1200 """SizeWindows(self)"""
1201 return _windows_
.SashWindow_SizeWindows(*args
, **kwargs
)
1204 class SashWindowPtr(SashWindow
):
1205 def __init__(self
, this
):
1207 if not hasattr(self
,"thisown"): self
.thisown
= 0
1208 self
.__class
__ = SashWindow
1209 _windows_
.SashWindow_swigregister(SashWindowPtr
)
1210 SashNameStr
= cvar
.SashNameStr
1211 SashLayoutNameStr
= cvar
.SashLayoutNameStr
1213 def PreSashWindow(*args
, **kwargs
):
1214 """PreSashWindow() -> SashWindow"""
1215 val
= _windows_
.new_PreSashWindow(*args
, **kwargs
)
1219 SASH_STATUS_OK
= _windows_
.SASH_STATUS_OK
1220 SASH_STATUS_OUT_OF_RANGE
= _windows_
.SASH_STATUS_OUT_OF_RANGE
1221 class SashEvent(_core
.CommandEvent
):
1223 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1224 def __init__(self
, *args
, **kwargs
):
1225 """__init__(self, int id=0, int edge=SASH_NONE) -> SashEvent"""
1226 newobj
= _windows_
.new_SashEvent(*args
, **kwargs
)
1227 self
.this
= newobj
.this
1230 def SetEdge(*args
, **kwargs
):
1231 """SetEdge(self, int edge)"""
1232 return _windows_
.SashEvent_SetEdge(*args
, **kwargs
)
1234 def GetEdge(*args
, **kwargs
):
1235 """GetEdge(self) -> int"""
1236 return _windows_
.SashEvent_GetEdge(*args
, **kwargs
)
1238 def SetDragRect(*args
, **kwargs
):
1239 """SetDragRect(self, Rect rect)"""
1240 return _windows_
.SashEvent_SetDragRect(*args
, **kwargs
)
1242 def GetDragRect(*args
, **kwargs
):
1243 """GetDragRect(self) -> Rect"""
1244 return _windows_
.SashEvent_GetDragRect(*args
, **kwargs
)
1246 def SetDragStatus(*args
, **kwargs
):
1247 """SetDragStatus(self, int status)"""
1248 return _windows_
.SashEvent_SetDragStatus(*args
, **kwargs
)
1250 def GetDragStatus(*args
, **kwargs
):
1251 """GetDragStatus(self) -> int"""
1252 return _windows_
.SashEvent_GetDragStatus(*args
, **kwargs
)
1255 class SashEventPtr(SashEvent
):
1256 def __init__(self
, this
):
1258 if not hasattr(self
,"thisown"): self
.thisown
= 0
1259 self
.__class
__ = SashEvent
1260 _windows_
.SashEvent_swigregister(SashEventPtr
)
1262 wxEVT_SASH_DRAGGED
= _windows_
.wxEVT_SASH_DRAGGED
1263 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
1264 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
1266 #---------------------------------------------------------------------------
1268 LAYOUT_HORIZONTAL
= _windows_
.LAYOUT_HORIZONTAL
1269 LAYOUT_VERTICAL
= _windows_
.LAYOUT_VERTICAL
1270 LAYOUT_NONE
= _windows_
.LAYOUT_NONE
1271 LAYOUT_TOP
= _windows_
.LAYOUT_TOP
1272 LAYOUT_LEFT
= _windows_
.LAYOUT_LEFT
1273 LAYOUT_RIGHT
= _windows_
.LAYOUT_RIGHT
1274 LAYOUT_BOTTOM
= _windows_
.LAYOUT_BOTTOM
1275 LAYOUT_LENGTH_Y
= _windows_
.LAYOUT_LENGTH_Y
1276 LAYOUT_LENGTH_X
= _windows_
.LAYOUT_LENGTH_X
1277 LAYOUT_MRU_LENGTH
= _windows_
.LAYOUT_MRU_LENGTH
1278 LAYOUT_QUERY
= _windows_
.LAYOUT_QUERY
1279 wxEVT_QUERY_LAYOUT_INFO
= _windows_
.wxEVT_QUERY_LAYOUT_INFO
1280 wxEVT_CALCULATE_LAYOUT
= _windows_
.wxEVT_CALCULATE_LAYOUT
1281 class QueryLayoutInfoEvent(_core
.Event
):
1283 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1284 def __init__(self
, *args
, **kwargs
):
1285 """__init__(self, int id=0) -> QueryLayoutInfoEvent"""
1286 newobj
= _windows_
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1287 self
.this
= newobj
.this
1290 def SetRequestedLength(*args
, **kwargs
):
1291 """SetRequestedLength(self, int length)"""
1292 return _windows_
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1294 def GetRequestedLength(*args
, **kwargs
):
1295 """GetRequestedLength(self) -> int"""
1296 return _windows_
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1298 def SetFlags(*args
, **kwargs
):
1299 """SetFlags(self, int flags)"""
1300 return _windows_
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1302 def GetFlags(*args
, **kwargs
):
1303 """GetFlags(self) -> int"""
1304 return _windows_
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1306 def SetSize(*args
, **kwargs
):
1307 """SetSize(self, Size size)"""
1308 return _windows_
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1310 def GetSize(*args
, **kwargs
):
1311 """GetSize(self) -> Size"""
1312 return _windows_
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1314 def SetOrientation(*args
, **kwargs
):
1315 """SetOrientation(self, int orient)"""
1316 return _windows_
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1318 def GetOrientation(*args
, **kwargs
):
1319 """GetOrientation(self) -> int"""
1320 return _windows_
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1322 def SetAlignment(*args
, **kwargs
):
1323 """SetAlignment(self, int align)"""
1324 return _windows_
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1326 def GetAlignment(*args
, **kwargs
):
1327 """GetAlignment(self) -> int"""
1328 return _windows_
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1331 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1332 def __init__(self
, this
):
1334 if not hasattr(self
,"thisown"): self
.thisown
= 0
1335 self
.__class
__ = QueryLayoutInfoEvent
1336 _windows_
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1338 class CalculateLayoutEvent(_core
.Event
):
1340 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1341 def __init__(self
, *args
, **kwargs
):
1342 """__init__(self, int id=0) -> CalculateLayoutEvent"""
1343 newobj
= _windows_
.new_CalculateLayoutEvent(*args
, **kwargs
)
1344 self
.this
= newobj
.this
1347 def SetFlags(*args
, **kwargs
):
1348 """SetFlags(self, int flags)"""
1349 return _windows_
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1351 def GetFlags(*args
, **kwargs
):
1352 """GetFlags(self) -> int"""
1353 return _windows_
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1355 def SetRect(*args
, **kwargs
):
1356 """SetRect(self, Rect rect)"""
1357 return _windows_
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1359 def GetRect(*args
, **kwargs
):
1360 """GetRect(self) -> Rect"""
1361 return _windows_
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1364 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1365 def __init__(self
, this
):
1367 if not hasattr(self
,"thisown"): self
.thisown
= 0
1368 self
.__class
__ = CalculateLayoutEvent
1369 _windows_
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1371 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1372 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1374 class SashLayoutWindow(SashWindow
):
1376 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1377 def __init__(self
, *args
, **kwargs
):
1379 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1380 long style=wxCLIP_CHILDREN|wxSW_3D,
1381 String name=SashLayoutNameStr) -> SashLayoutWindow
1383 newobj
= _windows_
.new_SashLayoutWindow(*args
, **kwargs
)
1384 self
.this
= newobj
.this
1387 self
._setOORInfo
(self
)
1389 def Create(*args
, **kwargs
):
1391 Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1392 long style=wxCLIP_CHILDREN|wxSW_3D,
1393 String name=SashLayoutNameStr) -> bool
1395 return _windows_
.SashLayoutWindow_Create(*args
, **kwargs
)
1397 def GetAlignment(*args
, **kwargs
):
1398 """GetAlignment(self) -> int"""
1399 return _windows_
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1401 def GetOrientation(*args
, **kwargs
):
1402 """GetOrientation(self) -> int"""
1403 return _windows_
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1405 def SetAlignment(*args
, **kwargs
):
1406 """SetAlignment(self, int alignment)"""
1407 return _windows_
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1409 def SetDefaultSize(*args
, **kwargs
):
1410 """SetDefaultSize(self, Size size)"""
1411 return _windows_
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1413 def SetOrientation(*args
, **kwargs
):
1414 """SetOrientation(self, int orientation)"""
1415 return _windows_
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1418 class SashLayoutWindowPtr(SashLayoutWindow
):
1419 def __init__(self
, this
):
1421 if not hasattr(self
,"thisown"): self
.thisown
= 0
1422 self
.__class
__ = SashLayoutWindow
1423 _windows_
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1425 def PreSashLayoutWindow(*args
, **kwargs
):
1426 """PreSashLayoutWindow() -> SashLayoutWindow"""
1427 val
= _windows_
.new_PreSashLayoutWindow(*args
, **kwargs
)
1431 class LayoutAlgorithm(_core
.Object
):
1433 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1434 def __init__(self
, *args
, **kwargs
):
1435 """__init__(self) -> LayoutAlgorithm"""
1436 newobj
= _windows_
.new_LayoutAlgorithm(*args
, **kwargs
)
1437 self
.this
= newobj
.this
1440 def __del__(self
, destroy
=_windows_
.delete_LayoutAlgorithm
):
1443 if self
.thisown
: destroy(self
)
1446 def LayoutMDIFrame(*args
, **kwargs
):
1447 """LayoutMDIFrame(self, MDIParentFrame frame, Rect rect=None) -> bool"""
1448 return _windows_
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1450 def LayoutFrame(*args
, **kwargs
):
1451 """LayoutFrame(self, Frame frame, Window mainWindow=None) -> bool"""
1452 return _windows_
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1454 def LayoutWindow(*args
, **kwargs
):
1455 """LayoutWindow(self, Window parent, Window mainWindow=None) -> bool"""
1456 return _windows_
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1459 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1460 def __init__(self
, this
):
1462 if not hasattr(self
,"thisown"): self
.thisown
= 0
1463 self
.__class
__ = LayoutAlgorithm
1464 _windows_
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1466 #---------------------------------------------------------------------------
1468 class PopupWindow(_core
.Window
):
1470 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1471 def __init__(self
, *args
, **kwargs
):
1472 """__init__(self, Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1473 newobj
= _windows_
.new_PopupWindow(*args
, **kwargs
)
1474 self
.this
= newobj
.this
1477 self
._setOORInfo
(self
)
1479 def Create(*args
, **kwargs
):
1480 """Create(self, Window parent, int flags=BORDER_NONE) -> bool"""
1481 return _windows_
.PopupWindow_Create(*args
, **kwargs
)
1483 def Position(*args
, **kwargs
):
1484 """Position(self, Point ptOrigin, Size size)"""
1485 return _windows_
.PopupWindow_Position(*args
, **kwargs
)
1488 class PopupWindowPtr(PopupWindow
):
1489 def __init__(self
, this
):
1491 if not hasattr(self
,"thisown"): self
.thisown
= 0
1492 self
.__class
__ = PopupWindow
1493 _windows_
.PopupWindow_swigregister(PopupWindowPtr
)
1495 def PrePopupWindow(*args
, **kwargs
):
1496 """PrePopupWindow() -> PopupWindow"""
1497 val
= _windows_
.new_PrePopupWindow(*args
, **kwargs
)
1501 #---------------------------------------------------------------------------
1503 class PopupTransientWindow(PopupWindow
):
1505 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1506 def __init__(self
, *args
, **kwargs
):
1507 """__init__(self, Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1508 newobj
= _windows_
.new_PopupTransientWindow(*args
, **kwargs
)
1509 self
.this
= newobj
.this
1512 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, PopupTransientWindow
)
1514 def _setCallbackInfo(*args
, **kwargs
):
1515 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1516 return _windows_
.PopupTransientWindow__setCallbackInfo(*args
, **kwargs
)
1518 def Popup(*args
, **kwargs
):
1519 """Popup(self, Window focus=None)"""
1520 return _windows_
.PopupTransientWindow_Popup(*args
, **kwargs
)
1522 def Dismiss(*args
, **kwargs
):
1524 return _windows_
.PopupTransientWindow_Dismiss(*args
, **kwargs
)
1527 class PopupTransientWindowPtr(PopupTransientWindow
):
1528 def __init__(self
, this
):
1530 if not hasattr(self
,"thisown"): self
.thisown
= 0
1531 self
.__class
__ = PopupTransientWindow
1532 _windows_
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1534 def PrePopupTransientWindow(*args
, **kwargs
):
1535 """PrePopupTransientWindow() -> PopupTransientWindow"""
1536 val
= _windows_
.new_PrePopupTransientWindow(*args
, **kwargs
)
1540 #---------------------------------------------------------------------------
1542 class TipWindow(PopupTransientWindow
):
1544 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1545 def __init__(self
, *args
, **kwargs
):
1546 """__init__(self, Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1547 newobj
= _windows_
.new_TipWindow(*args
, **kwargs
)
1548 self
.this
= newobj
.this
1551 self
._setOORInfo
(self
)
1553 def SetBoundingRect(*args
, **kwargs
):
1554 """SetBoundingRect(self, Rect rectBound)"""
1555 return _windows_
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1557 def Close(*args
, **kwargs
):
1559 return _windows_
.TipWindow_Close(*args
, **kwargs
)
1562 class TipWindowPtr(TipWindow
):
1563 def __init__(self
, this
):
1565 if not hasattr(self
,"thisown"): self
.thisown
= 0
1566 self
.__class
__ = TipWindow
1567 _windows_
.TipWindow_swigregister(TipWindowPtr
)
1569 #---------------------------------------------------------------------------
1571 class VScrolledWindow(Panel
):
1573 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1574 def __init__(self
, *args
, **kwargs
):
1576 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1577 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
1579 newobj
= _windows_
.new_VScrolledWindow(*args
, **kwargs
)
1580 self
.this
= newobj
.this
1583 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1585 def _setCallbackInfo(*args
, **kwargs
):
1586 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1587 return _windows_
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1589 def Create(*args
, **kwargs
):
1591 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1592 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
1594 return _windows_
.VScrolledWindow_Create(*args
, **kwargs
)
1596 def SetLineCount(*args
, **kwargs
):
1597 """SetLineCount(self, size_t count)"""
1598 return _windows_
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1600 def ScrollToLine(*args
, **kwargs
):
1601 """ScrollToLine(self, size_t line) -> bool"""
1602 return _windows_
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1604 def ScrollLines(*args
, **kwargs
):
1606 ScrollLines(self, int lines) -> bool
1608 If the platform and window class supports it, scrolls the window by
1609 the given number of lines down, if lines is positive, or up if lines
1610 is negative. Returns True if the window was scrolled, False if it was
1611 already on top/bottom and nothing was done.
1613 return _windows_
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1615 def ScrollPages(*args
, **kwargs
):
1617 ScrollPages(self, int pages) -> bool
1619 If the platform and window class supports it, scrolls the window by
1620 the given number of pages down, if pages is positive, or up if pages
1621 is negative. Returns True if the window was scrolled, False if it was
1622 already on top/bottom and nothing was done.
1624 return _windows_
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1626 def RefreshLine(*args
, **kwargs
):
1627 """RefreshLine(self, size_t line)"""
1628 return _windows_
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1630 def RefreshLines(*args
, **kwargs
):
1631 """RefreshLines(self, size_t from, size_t to)"""
1632 return _windows_
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1634 def HitTestXT(*args
, **kwargs
):
1636 HitTestXT(self, int x, int y) -> int
1638 Test where the given (in client coords) point lies
1640 return _windows_
.VScrolledWindow_HitTestXT(*args
, **kwargs
)
1642 def HitTest(*args
, **kwargs
):
1644 HitTest(self, Point pt) -> int
1646 Test where the given (in client coords) point lies
1648 return _windows_
.VScrolledWindow_HitTest(*args
, **kwargs
)
1650 def RefreshAll(*args
, **kwargs
):
1651 """RefreshAll(self)"""
1652 return _windows_
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1654 def GetLineCount(*args
, **kwargs
):
1655 """GetLineCount(self) -> size_t"""
1656 return _windows_
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1658 def GetFirstVisibleLine(*args
, **kwargs
):
1659 """GetFirstVisibleLine(self) -> size_t"""
1660 return _windows_
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1662 def GetLastVisibleLine(*args
, **kwargs
):
1663 """GetLastVisibleLine(self) -> size_t"""
1664 return _windows_
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1666 def IsVisible(*args
, **kwargs
):
1667 """IsVisible(self, size_t line) -> bool"""
1668 return _windows_
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1671 class VScrolledWindowPtr(VScrolledWindow
):
1672 def __init__(self
, this
):
1674 if not hasattr(self
,"thisown"): self
.thisown
= 0
1675 self
.__class
__ = VScrolledWindow
1676 _windows_
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
1678 def PreVScrolledWindow(*args
, **kwargs
):
1679 """PreVScrolledWindow() -> VScrolledWindow"""
1680 val
= _windows_
.new_PreVScrolledWindow(*args
, **kwargs
)
1684 class VListBox(VScrolledWindow
):
1686 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1687 def __init__(self
, *args
, **kwargs
):
1689 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1690 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
1692 newobj
= _windows_
.new_VListBox(*args
, **kwargs
)
1693 self
.this
= newobj
.this
1696 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
1698 def _setCallbackInfo(*args
, **kwargs
):
1699 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1700 return _windows_
.VListBox__setCallbackInfo(*args
, **kwargs
)
1702 def Create(*args
, **kwargs
):
1704 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1705 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1707 return _windows_
.VListBox_Create(*args
, **kwargs
)
1709 def GetItemCount(*args
, **kwargs
):
1710 """GetItemCount(self) -> size_t"""
1711 return _windows_
.VListBox_GetItemCount(*args
, **kwargs
)
1713 def HasMultipleSelection(*args
, **kwargs
):
1714 """HasMultipleSelection(self) -> bool"""
1715 return _windows_
.VListBox_HasMultipleSelection(*args
, **kwargs
)
1717 def GetSelection(*args
, **kwargs
):
1718 """GetSelection(self) -> int"""
1719 return _windows_
.VListBox_GetSelection(*args
, **kwargs
)
1721 def IsCurrent(*args
, **kwargs
):
1722 """IsCurrent(self, size_t item) -> bool"""
1723 return _windows_
.VListBox_IsCurrent(*args
, **kwargs
)
1725 def IsSelected(*args
, **kwargs
):
1726 """IsSelected(self, size_t item) -> bool"""
1727 return _windows_
.VListBox_IsSelected(*args
, **kwargs
)
1729 def GetSelectedCount(*args
, **kwargs
):
1730 """GetSelectedCount(self) -> size_t"""
1731 return _windows_
.VListBox_GetSelectedCount(*args
, **kwargs
)
1733 def GetFirstSelected(*args
, **kwargs
):
1734 """GetFirstSelected(self, unsigned long cookie) -> int"""
1735 return _windows_
.VListBox_GetFirstSelected(*args
, **kwargs
)
1737 def GetNextSelected(*args
, **kwargs
):
1738 """GetNextSelected(self, unsigned long cookie) -> int"""
1739 return _windows_
.VListBox_GetNextSelected(*args
, **kwargs
)
1741 def GetMargins(*args
, **kwargs
):
1742 """GetMargins(self) -> Point"""
1743 return _windows_
.VListBox_GetMargins(*args
, **kwargs
)
1745 def GetSelectionBackground(*args
, **kwargs
):
1746 """GetSelectionBackground(self) -> Colour"""
1747 return _windows_
.VListBox_GetSelectionBackground(*args
, **kwargs
)
1749 def SetItemCount(*args
, **kwargs
):
1750 """SetItemCount(self, size_t count)"""
1751 return _windows_
.VListBox_SetItemCount(*args
, **kwargs
)
1753 def Clear(*args
, **kwargs
):
1755 return _windows_
.VListBox_Clear(*args
, **kwargs
)
1757 def SetSelection(*args
, **kwargs
):
1758 """SetSelection(self, int selection)"""
1759 return _windows_
.VListBox_SetSelection(*args
, **kwargs
)
1761 def Select(*args
, **kwargs
):
1762 """Select(self, size_t item, bool select=True) -> bool"""
1763 return _windows_
.VListBox_Select(*args
, **kwargs
)
1765 def SelectRange(*args
, **kwargs
):
1766 """SelectRange(self, size_t from, size_t to) -> bool"""
1767 return _windows_
.VListBox_SelectRange(*args
, **kwargs
)
1769 def Toggle(*args
, **kwargs
):
1770 """Toggle(self, size_t item)"""
1771 return _windows_
.VListBox_Toggle(*args
, **kwargs
)
1773 def SelectAll(*args
, **kwargs
):
1774 """SelectAll(self) -> bool"""
1775 return _windows_
.VListBox_SelectAll(*args
, **kwargs
)
1777 def DeselectAll(*args
, **kwargs
):
1778 """DeselectAll(self) -> bool"""
1779 return _windows_
.VListBox_DeselectAll(*args
, **kwargs
)
1781 def SetMargins(*args
, **kwargs
):
1782 """SetMargins(self, Point pt)"""
1783 return _windows_
.VListBox_SetMargins(*args
, **kwargs
)
1785 def SetMarginsXY(*args
, **kwargs
):
1786 """SetMarginsXY(self, int x, int y)"""
1787 return _windows_
.VListBox_SetMarginsXY(*args
, **kwargs
)
1789 def SetSelectionBackground(*args
, **kwargs
):
1790 """SetSelectionBackground(self, Colour col)"""
1791 return _windows_
.VListBox_SetSelectionBackground(*args
, **kwargs
)
1794 class VListBoxPtr(VListBox
):
1795 def __init__(self
, this
):
1797 if not hasattr(self
,"thisown"): self
.thisown
= 0
1798 self
.__class
__ = VListBox
1799 _windows_
.VListBox_swigregister(VListBoxPtr
)
1800 VListBoxNameStr
= cvar
.VListBoxNameStr
1802 def PreVListBox(*args
, **kwargs
):
1803 """PreVListBox() -> VListBox"""
1804 val
= _windows_
.new_PreVListBox(*args
, **kwargs
)
1808 class HtmlListBox(VListBox
):
1810 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1811 def __init__(self
, *args
, **kwargs
):
1813 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1814 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
1816 newobj
= _windows_
.new_HtmlListBox(*args
, **kwargs
)
1817 self
.this
= newobj
.this
1820 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
1822 def _setCallbackInfo(*args
, **kwargs
):
1823 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1824 return _windows_
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
1826 def Create(*args
, **kwargs
):
1828 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1829 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1831 return _windows_
.HtmlListBox_Create(*args
, **kwargs
)
1833 def RefreshAll(*args
, **kwargs
):
1834 """RefreshAll(self)"""
1835 return _windows_
.HtmlListBox_RefreshAll(*args
, **kwargs
)
1837 def SetItemCount(*args
, **kwargs
):
1838 """SetItemCount(self, size_t count)"""
1839 return _windows_
.HtmlListBox_SetItemCount(*args
, **kwargs
)
1841 def GetFileSystem(*args
, **kwargs
):
1842 """GetFileSystem(self) -> FileSystem"""
1843 return _windows_
.HtmlListBox_GetFileSystem(*args
, **kwargs
)
1846 class HtmlListBoxPtr(HtmlListBox
):
1847 def __init__(self
, this
):
1849 if not hasattr(self
,"thisown"): self
.thisown
= 0
1850 self
.__class
__ = HtmlListBox
1851 _windows_
.HtmlListBox_swigregister(HtmlListBoxPtr
)
1853 def PreHtmlListBox(*args
, **kwargs
):
1854 """PreHtmlListBox() -> HtmlListBox"""
1855 val
= _windows_
.new_PreHtmlListBox(*args
, **kwargs
)
1859 #---------------------------------------------------------------------------
1861 class TaskBarIcon(_core
.EvtHandler
):
1863 return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1864 def __init__(self
, *args
, **kwargs
):
1865 """__init__(self) -> TaskBarIcon"""
1866 newobj
= _windows_
.new_TaskBarIcon(*args
, **kwargs
)
1867 self
.this
= newobj
.this
1870 def __del__(self
, destroy
=_windows_
.delete_TaskBarIcon
):
1873 if self
.thisown
: destroy(self
)
1876 def Destroy(*args
, **kwargs
):
1880 Deletes the C++ object this Python object is a proxy for.
1882 return _windows_
.TaskBarIcon_Destroy(*args
, **kwargs
)
1884 def IsOk(*args
, **kwargs
):
1885 """IsOk(self) -> bool"""
1886 return _windows_
.TaskBarIcon_IsOk(*args
, **kwargs
)
1888 def __nonzero__(self
): return self
.IsOk()
1889 def IsIconInstalled(*args
, **kwargs
):
1890 """IsIconInstalled(self) -> bool"""
1891 return _windows_
.TaskBarIcon_IsIconInstalled(*args
, **kwargs
)
1893 def SetIcon(*args
, **kwargs
):
1894 """SetIcon(self, Icon icon, String tooltip=EmptyString) -> bool"""
1895 return _windows_
.TaskBarIcon_SetIcon(*args
, **kwargs
)
1897 def RemoveIcon(*args
, **kwargs
):
1898 """RemoveIcon(self) -> bool"""
1899 return _windows_
.TaskBarIcon_RemoveIcon(*args
, **kwargs
)
1901 def PopupMenu(*args
, **kwargs
):
1902 """PopupMenu(self, Menu menu) -> bool"""
1903 return _windows_
.TaskBarIcon_PopupMenu(*args
, **kwargs
)
1906 class TaskBarIconPtr(TaskBarIcon
):
1907 def __init__(self
, this
):
1909 if not hasattr(self
,"thisown"): self
.thisown
= 0
1910 self
.__class
__ = TaskBarIcon
1911 _windows_
.TaskBarIcon_swigregister(TaskBarIconPtr
)
1913 class TaskBarIconEvent(_core
.Event
):
1915 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1916 def __init__(self
, *args
, **kwargs
):
1917 """__init__(self, wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
1918 newobj
= _windows_
.new_TaskBarIconEvent(*args
, **kwargs
)
1919 self
.this
= newobj
.this
1923 class TaskBarIconEventPtr(TaskBarIconEvent
):
1924 def __init__(self
, this
):
1926 if not hasattr(self
,"thisown"): self
.thisown
= 0
1927 self
.__class
__ = TaskBarIconEvent
1928 _windows_
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
1930 wxEVT_TASKBAR_MOVE
= _windows_
.wxEVT_TASKBAR_MOVE
1931 wxEVT_TASKBAR_LEFT_DOWN
= _windows_
.wxEVT_TASKBAR_LEFT_DOWN
1932 wxEVT_TASKBAR_LEFT_UP
= _windows_
.wxEVT_TASKBAR_LEFT_UP
1933 wxEVT_TASKBAR_RIGHT_DOWN
= _windows_
.wxEVT_TASKBAR_RIGHT_DOWN
1934 wxEVT_TASKBAR_RIGHT_UP
= _windows_
.wxEVT_TASKBAR_RIGHT_UP
1935 wxEVT_TASKBAR_LEFT_DCLICK
= _windows_
.wxEVT_TASKBAR_LEFT_DCLICK
1936 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows_
.wxEVT_TASKBAR_RIGHT_DCLICK
1937 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
1938 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
1939 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
1940 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
1941 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
1942 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
1943 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
1945 #---------------------------------------------------------------------------
1947 class ColourData(_core
.Object
):
1949 This class holds a variety of information related to the colour
1950 chooser dialog, used to transfer settings and results to and from the
1954 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1955 def __init__(self
, *args
, **kwargs
):
1957 __init__(self) -> ColourData
1959 Constructor, sets default values.
1961 newobj
= _windows_
.new_ColourData(*args
, **kwargs
)
1962 self
.this
= newobj
.this
1965 def __del__(self
, destroy
=_windows_
.delete_ColourData
):
1968 if self
.thisown
: destroy(self
)
1971 def GetChooseFull(*args
, **kwargs
):
1973 GetChooseFull(self) -> bool
1975 Under Windows, determines whether the Windows colour dialog will
1976 display the full dialog with custom colour selection controls. Has no
1977 meaning under other platforms. The default value is true.
1979 return _windows_
.ColourData_GetChooseFull(*args
, **kwargs
)
1981 def GetColour(*args
, **kwargs
):
1983 GetColour(self) -> Colour
1985 Gets the colour (pre)selected by the dialog.
1987 return _windows_
.ColourData_GetColour(*args
, **kwargs
)
1989 def GetCustomColour(*args
, **kwargs
):
1991 GetCustomColour(self, int i) -> Colour
1993 Gets the i'th custom colour associated with the colour dialog. i
1994 should be an integer between 0 and 15. The default custom colours are
1997 return _windows_
.ColourData_GetCustomColour(*args
, **kwargs
)
1999 def SetChooseFull(*args
, **kwargs
):
2001 SetChooseFull(self, int flag)
2003 Under Windows, tells the Windows colour dialog to display the full
2004 dialog with custom colour selection controls. Under other platforms,
2005 has no effect. The default value is true.
2007 return _windows_
.ColourData_SetChooseFull(*args
, **kwargs
)
2009 def SetColour(*args
, **kwargs
):
2011 SetColour(self, Colour colour)
2013 Sets the default colour for the colour dialog. The default colour is
2016 return _windows_
.ColourData_SetColour(*args
, **kwargs
)
2018 def SetCustomColour(*args
, **kwargs
):
2020 SetCustomColour(self, int i, Colour colour)
2022 Sets the i'th custom colour for the colour dialog. i should be an
2023 integer between 0 and 15. The default custom colours are all white.
2025 return _windows_
.ColourData_SetCustomColour(*args
, **kwargs
)
2028 class ColourDataPtr(ColourData
):
2029 def __init__(self
, this
):
2031 if not hasattr(self
,"thisown"): self
.thisown
= 0
2032 self
.__class
__ = ColourData
2033 _windows_
.ColourData_swigregister(ColourDataPtr
)
2034 FileSelectorPromptStr
= cvar
.FileSelectorPromptStr
2035 DirSelectorPromptStr
= cvar
.DirSelectorPromptStr
2036 DirDialogNameStr
= cvar
.DirDialogNameStr
2037 FileSelectorDefaultWildcardStr
= cvar
.FileSelectorDefaultWildcardStr
2038 GetTextFromUserPromptStr
= cvar
.GetTextFromUserPromptStr
2039 MessageBoxCaptionStr
= cvar
.MessageBoxCaptionStr
2041 class ColourDialog(Dialog
):
2042 """This class represents the colour chooser dialog."""
2044 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2045 def __init__(self
, *args
, **kwargs
):
2047 __init__(self, Window parent, ColourData data=None) -> ColourDialog
2049 Constructor. Pass a parent window, and optionally a `wx.ColourData`,
2050 which will be copied to the colour dialog's internal ColourData
2053 newobj
= _windows_
.new_ColourDialog(*args
, **kwargs
)
2054 self
.this
= newobj
.this
2057 self
._setOORInfo
(self
)
2059 def GetColourData(*args
, **kwargs
):
2061 GetColourData(self) -> ColourData
2063 Returns a reference to the `wx.ColourData` used by the dialog.
2065 return _windows_
.ColourDialog_GetColourData(*args
, **kwargs
)
2068 class ColourDialogPtr(ColourDialog
):
2069 def __init__(self
, this
):
2071 if not hasattr(self
,"thisown"): self
.thisown
= 0
2072 self
.__class
__ = ColourDialog
2073 _windows_
.ColourDialog_swigregister(ColourDialogPtr
)
2075 class DirDialog(Dialog
):
2077 wx.DirDialog allows the user to select a directory by browising the
2083 ==================== ==========================================
2084 wx.DD_NEW_DIR_BUTTON Add 'Create new directory' button and allow
2085 directory names to be editable. On Windows
2086 the new directory button is only available
2087 with recent versions of the common dialogs.
2088 ==================== ==========================================
2092 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2093 def __init__(self
, *args
, **kwargs
):
2095 __init__(self, Window parent, String message=DirSelectorPromptStr,
2096 String defaultPath=EmptyString, long style=0,
2097 Point pos=DefaultPosition, Size size=DefaultSize,
2098 String name=DirDialogNameStr) -> DirDialog
2100 Constructor. Use ShowModal method to show the dialog.
2102 newobj
= _windows_
.new_DirDialog(*args
, **kwargs
)
2103 self
.this
= newobj
.this
2106 self
._setOORInfo
(self
)
2108 def GetPath(*args
, **kwargs
):
2110 GetPath(self) -> String
2112 Returns the default or user-selected path.
2114 return _windows_
.DirDialog_GetPath(*args
, **kwargs
)
2116 def GetMessage(*args
, **kwargs
):
2118 GetMessage(self) -> String
2120 Returns the message that will be displayed on the dialog.
2122 return _windows_
.DirDialog_GetMessage(*args
, **kwargs
)
2124 def GetStyle(*args
, **kwargs
):
2126 GetStyle(self) -> long
2128 Returns the dialog style.
2130 return _windows_
.DirDialog_GetStyle(*args
, **kwargs
)
2132 def SetMessage(*args
, **kwargs
):
2134 SetMessage(self, String message)
2136 Sets the message that will be displayed on the dialog.
2138 return _windows_
.DirDialog_SetMessage(*args
, **kwargs
)
2140 def SetPath(*args
, **kwargs
):
2142 SetPath(self, String path)
2144 Sets the default path.
2146 return _windows_
.DirDialog_SetPath(*args
, **kwargs
)
2149 class DirDialogPtr(DirDialog
):
2150 def __init__(self
, this
):
2152 if not hasattr(self
,"thisown"): self
.thisown
= 0
2153 self
.__class
__ = DirDialog
2154 _windows_
.DirDialog_swigregister(DirDialogPtr
)
2156 class FileDialog(Dialog
):
2158 wx.FileDialog allows the user to select one or more files from the
2161 In Windows, this is the common file selector dialog. On X based
2162 platforms a generic alternative is used. The path and filename are
2163 distinct elements of a full file pathname. If path is "", the
2164 current directory will be used. If filename is "", no default
2165 filename will be supplied. The wildcard determines what files are
2166 displayed in the file selector, and file extension supplies a type
2167 extension for the required filename.
2169 Both the X and Windows versions implement a wildcard filter. Typing a
2170 filename containing wildcards (*, ?) in the filename text item, and
2171 clicking on Ok, will result in only those files matching the pattern
2172 being displayed. The wildcard may be a specification for multiple
2173 types of file with a description for each, such as::
2175 "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
2180 ================== ==========================================
2181 wx.OPEN This is an open dialog.
2183 wx.SAVE This is a save dialog.
2185 wx.HIDE_READONLY For open dialog only: hide the checkbox
2186 allowing to open the file in read-only mode.
2188 wx.OVERWRITE_PROMPT For save dialog only: prompt for a confirmation
2189 if a file will be overwritten.
2191 wx.MULTIPLE For open dialog only: allows selecting multiple
2194 wx.CHANGE_DIR Change the current working directory to the
2195 directory where the file(s) chosen by the user
2197 ================== ==========================================
2201 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2202 def __init__(self
, *args
, **kwargs
):
2204 __init__(self, Window parent, String message=FileSelectorPromptStr,
2205 String defaultDir=EmptyString, String defaultFile=EmptyString,
2206 String wildcard=FileSelectorDefaultWildcardStr,
2207 long style=0, Point pos=DefaultPosition) -> FileDialog
2209 Constructor. Use ShowModal method to show the dialog.
2211 newobj
= _windows_
.new_FileDialog(*args
, **kwargs
)
2212 self
.this
= newobj
.this
2215 self
._setOORInfo
(self
)
2217 def SetMessage(*args
, **kwargs
):
2219 SetMessage(self, String message)
2221 Sets the message that will be displayed on the dialog.
2223 return _windows_
.FileDialog_SetMessage(*args
, **kwargs
)
2225 def SetPath(*args
, **kwargs
):
2227 SetPath(self, String path)
2229 Sets the path (the combined directory and filename that will be
2230 returned when the dialog is dismissed).
2232 return _windows_
.FileDialog_SetPath(*args
, **kwargs
)
2234 def SetDirectory(*args
, **kwargs
):
2236 SetDirectory(self, String dir)
2238 Sets the default directory.
2240 return _windows_
.FileDialog_SetDirectory(*args
, **kwargs
)
2242 def SetFilename(*args
, **kwargs
):
2244 SetFilename(self, String name)
2246 Sets the default filename.
2248 return _windows_
.FileDialog_SetFilename(*args
, **kwargs
)
2250 def SetWildcard(*args
, **kwargs
):
2252 SetWildcard(self, String wildCard)
2254 Sets the wildcard, which can contain multiple file types, for
2257 "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
2260 return _windows_
.FileDialog_SetWildcard(*args
, **kwargs
)
2262 def SetStyle(*args
, **kwargs
):
2264 SetStyle(self, long style)
2266 Sets the dialog style.
2268 return _windows_
.FileDialog_SetStyle(*args
, **kwargs
)
2270 def SetFilterIndex(*args
, **kwargs
):
2272 SetFilterIndex(self, int filterIndex)
2274 Sets the default filter index, starting from zero.
2276 return _windows_
.FileDialog_SetFilterIndex(*args
, **kwargs
)
2278 def GetMessage(*args
, **kwargs
):
2280 GetMessage(self) -> String
2282 Returns the message that will be displayed on the dialog.
2284 return _windows_
.FileDialog_GetMessage(*args
, **kwargs
)
2286 def GetPath(*args
, **kwargs
):
2288 GetPath(self) -> String
2290 Returns the full path (directory and filename) of the selected file.
2292 return _windows_
.FileDialog_GetPath(*args
, **kwargs
)
2294 def GetDirectory(*args
, **kwargs
):
2296 GetDirectory(self) -> String
2298 Returns the default directory.
2300 return _windows_
.FileDialog_GetDirectory(*args
, **kwargs
)
2302 def GetFilename(*args
, **kwargs
):
2304 GetFilename(self) -> String
2306 Returns the default filename.
2308 return _windows_
.FileDialog_GetFilename(*args
, **kwargs
)
2310 def GetWildcard(*args
, **kwargs
):
2312 GetWildcard(self) -> String
2314 Returns the file dialog wildcard.
2316 return _windows_
.FileDialog_GetWildcard(*args
, **kwargs
)
2318 def GetStyle(*args
, **kwargs
):
2320 GetStyle(self) -> long
2322 Returns the dialog style.
2324 return _windows_
.FileDialog_GetStyle(*args
, **kwargs
)
2326 def GetFilterIndex(*args
, **kwargs
):
2328 GetFilterIndex(self) -> int
2330 Returns the index into the list of filters supplied, optionally, in
2331 the wildcard parameter. Before the dialog is shown, this is the index
2332 which will be used when the dialog is first displayed. After the
2333 dialog is shown, this is the index selected by the user.
2335 return _windows_
.FileDialog_GetFilterIndex(*args
, **kwargs
)
2337 def GetFilenames(*args
, **kwargs
):
2339 GetFilenames(self) -> PyObject
2341 Returns a list of filenames chosen in the dialog. This function
2342 should only be used with the dialogs which have wx.MULTIPLE style, use
2343 GetFilename for the others.
2345 return _windows_
.FileDialog_GetFilenames(*args
, **kwargs
)
2347 def GetPaths(*args
, **kwargs
):
2349 GetPaths(self) -> PyObject
2351 Fills the array paths with the full paths of the files chosen. This
2352 function should only be used with the dialogs which have wx.MULTIPLE
2353 style, use GetPath for the others.
2355 return _windows_
.FileDialog_GetPaths(*args
, **kwargs
)
2358 class FileDialogPtr(FileDialog
):
2359 def __init__(self
, this
):
2361 if not hasattr(self
,"thisown"): self
.thisown
= 0
2362 self
.__class
__ = FileDialog
2363 _windows_
.FileDialog_swigregister(FileDialogPtr
)
2365 CHOICEDLG_STYLE
= _windows_
.CHOICEDLG_STYLE
2366 class MultiChoiceDialog(Dialog
):
2367 """A simple dialog with a multi selection listbox."""
2369 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2370 def __init__(self
, *args
, **kwargs
):
2372 __init__(Window parent, String message, String caption,
2373 List choices=[], long style=CHOICEDLG_STYLE,
2374 Point pos=DefaultPosition) -> MultiChoiceDialog
2376 Constructor. Use ShowModal method to show the dialog.
2378 newobj
= _windows_
.new_MultiChoiceDialog(*args
, **kwargs
)
2379 self
.this
= newobj
.this
2382 self
._setOORInfo
(self
)
2384 def SetSelections(*args
, **kwargs
):
2386 SetSelections(List selections)
2388 Specify the items in the list that should be selected, using a list of
2391 return _windows_
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
2393 def GetSelections(*args
, **kwargs
):
2395 GetSelections() -> [selections]
2397 Returns a list of integers representing the items that are selected.
2399 return _windows_
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
2402 class MultiChoiceDialogPtr(MultiChoiceDialog
):
2403 def __init__(self
, this
):
2405 if not hasattr(self
,"thisown"): self
.thisown
= 0
2406 self
.__class
__ = MultiChoiceDialog
2407 _windows_
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
2409 class SingleChoiceDialog(Dialog
):
2410 """A simple dialog with a single selection listbox."""
2412 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2413 def __init__(self
, *args
, **kwargs
):
2415 __init__(Window parent, String message, String caption,
2416 List choices=[], long style=CHOICEDLG_STYLE,
2417 Point pos=DefaultPosition) -> SingleChoiceDialog
2419 Constructor. Use ShowModal method to show the dialog.
2421 newobj
= _windows_
.new_SingleChoiceDialog(*args
, **kwargs
)
2422 self
.this
= newobj
.this
2425 self
._setOORInfo
(self
)
2427 def GetSelection(*args
, **kwargs
):
2429 GetSelection(self) -> int
2431 Get the index of teh currently selected item.
2433 return _windows_
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
2435 def GetStringSelection(*args
, **kwargs
):
2437 GetStringSelection(self) -> String
2439 Returns the string value of the currently selected item
2441 return _windows_
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
2443 def SetSelection(*args
, **kwargs
):
2445 SetSelection(self, int sel)
2447 Set the current selected item to sel
2449 return _windows_
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
2452 class SingleChoiceDialogPtr(SingleChoiceDialog
):
2453 def __init__(self
, this
):
2455 if not hasattr(self
,"thisown"): self
.thisown
= 0
2456 self
.__class
__ = SingleChoiceDialog
2457 _windows_
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
2459 class TextEntryDialog(Dialog
):
2460 """A dialog with text control, [ok] and [cancel] buttons"""
2462 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2463 def __init__(self
, *args
, **kwargs
):
2465 __init__(self, Window parent, String message, String caption=GetTextFromUserPromptStr,
2466 String defaultValue=EmptyString,
2467 long style=wxOK|wxCANCEL|wxCENTRE, Point pos=DefaultPosition) -> TextEntryDialog
2469 Constructor. Use ShowModal method to show the dialog.
2471 newobj
= _windows_
.new_TextEntryDialog(*args
, **kwargs
)
2472 self
.this
= newobj
.this
2475 self
._setOORInfo
(self
)
2477 def GetValue(*args
, **kwargs
):
2479 GetValue(self) -> String
2481 Returns the text that the user has entered if the user has pressed OK,
2482 or the original value if the user has pressed Cancel.
2484 return _windows_
.TextEntryDialog_GetValue(*args
, **kwargs
)
2486 def SetValue(*args
, **kwargs
):
2488 SetValue(self, String value)
2490 Sets the default text value.
2492 return _windows_
.TextEntryDialog_SetValue(*args
, **kwargs
)
2495 class TextEntryDialogPtr(TextEntryDialog
):
2496 def __init__(self
, this
):
2498 if not hasattr(self
,"thisown"): self
.thisown
= 0
2499 self
.__class
__ = TextEntryDialog
2500 _windows_
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
2502 class FontData(_core
.Object
):
2504 This class holds a variety of information related to font dialogs and
2505 is used to transfer settings to and results from a `wx.FontDialog`.
2508 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2509 def __init__(self
, *args
, **kwargs
):
2511 __init__(self) -> FontData
2513 This class holds a variety of information related to font dialogs and
2514 is used to transfer settings to and results from a `wx.FontDialog`.
2516 newobj
= _windows_
.new_FontData(*args
, **kwargs
)
2517 self
.this
= newobj
.this
2520 def __del__(self
, destroy
=_windows_
.delete_FontData
):
2523 if self
.thisown
: destroy(self
)
2526 def EnableEffects(*args
, **kwargs
):
2528 EnableEffects(self, bool enable)
2530 Enables or disables 'effects' under MS Windows only. This refers to
2531 the controls for manipulating colour, strikeout and underline
2532 properties. The default value is true.
2534 return _windows_
.FontData_EnableEffects(*args
, **kwargs
)
2536 def GetAllowSymbols(*args
, **kwargs
):
2538 GetAllowSymbols(self) -> bool
2540 Under MS Windows, returns a flag determining whether symbol fonts can
2541 be selected. Has no effect on other platforms. The default value is
2544 return _windows_
.FontData_GetAllowSymbols(*args
, **kwargs
)
2546 def GetColour(*args
, **kwargs
):
2548 GetColour(self) -> Colour
2550 Gets the colour associated with the font dialog. The default value is
2553 return _windows_
.FontData_GetColour(*args
, **kwargs
)
2555 def GetChosenFont(*args
, **kwargs
):
2557 GetChosenFont(self) -> Font
2559 Gets the font chosen by the user.
2561 return _windows_
.FontData_GetChosenFont(*args
, **kwargs
)
2563 def GetEnableEffects(*args
, **kwargs
):
2565 GetEnableEffects(self) -> bool
2567 Determines whether 'effects' are enabled under Windows.
2569 return _windows_
.FontData_GetEnableEffects(*args
, **kwargs
)
2571 def GetInitialFont(*args
, **kwargs
):
2573 GetInitialFont(self) -> Font
2575 Gets the font that will be initially used by the font dialog. This
2576 should have previously been set by the application.
2578 return _windows_
.FontData_GetInitialFont(*args
, **kwargs
)
2580 def GetShowHelp(*args
, **kwargs
):
2582 GetShowHelp(self) -> bool
2584 Returns true if the Help button will be shown (Windows only). The
2585 default value is false.
2587 return _windows_
.FontData_GetShowHelp(*args
, **kwargs
)
2589 def SetAllowSymbols(*args
, **kwargs
):
2591 SetAllowSymbols(self, bool allowSymbols)
2593 Under MS Windows, determines whether symbol fonts can be selected. Has
2594 no effect on other platforms. The default value is true.
2596 return _windows_
.FontData_SetAllowSymbols(*args
, **kwargs
)
2598 def SetChosenFont(*args
, **kwargs
):
2600 SetChosenFont(self, Font font)
2602 Sets the font that will be returned to the user (normally for internal
2605 return _windows_
.FontData_SetChosenFont(*args
, **kwargs
)
2607 def SetColour(*args
, **kwargs
):
2609 SetColour(self, Colour colour)
2611 Sets the colour that will be used for the font foreground colour. The
2612 default colour is black.
2614 return _windows_
.FontData_SetColour(*args
, **kwargs
)
2616 def SetInitialFont(*args
, **kwargs
):
2618 SetInitialFont(self, Font font)
2620 Sets the font that will be initially used by the font dialog.
2622 return _windows_
.FontData_SetInitialFont(*args
, **kwargs
)
2624 def SetRange(*args
, **kwargs
):
2626 SetRange(self, int min, int max)
2628 Sets the valid range for the font point size (Windows only). The
2629 default is 0, 0 (unrestricted range).
2631 return _windows_
.FontData_SetRange(*args
, **kwargs
)
2633 def SetShowHelp(*args
, **kwargs
):
2635 SetShowHelp(self, bool showHelp)
2637 Determines whether the Help button will be displayed in the font
2638 dialog (Windows only). The default value is false.
2640 return _windows_
.FontData_SetShowHelp(*args
, **kwargs
)
2643 class FontDataPtr(FontData
):
2644 def __init__(self
, this
):
2646 if not hasattr(self
,"thisown"): self
.thisown
= 0
2647 self
.__class
__ = FontData
2648 _windows_
.FontData_swigregister(FontDataPtr
)
2650 class FontDialog(Dialog
):
2652 wx.FontDialog allows the user to select a system font and its attributes.
2658 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2659 def __init__(self
, *args
, **kwargs
):
2661 __init__(self, Window parent, FontData data) -> FontDialog
2663 Constructor. Pass a parent window and the `wx.FontData` object to be
2664 used to initialize the dialog controls. Call `ShowModal` to display
2665 the dialog. If ShowModal returns ``wx.ID_OK`` then you can fetch the
2666 results with via the `wx.FontData` returned by `GetFontData`.
2668 newobj
= _windows_
.new_FontDialog(*args
, **kwargs
)
2669 self
.this
= newobj
.this
2672 self
._setOORInfo
(self
)
2674 def GetFontData(*args
, **kwargs
):
2676 GetFontData(self) -> FontData
2678 Returns a reference to the internal `wx.FontData` used by the
2681 return _windows_
.FontDialog_GetFontData(*args
, **kwargs
)
2684 class FontDialogPtr(FontDialog
):
2685 def __init__(self
, this
):
2687 if not hasattr(self
,"thisown"): self
.thisown
= 0
2688 self
.__class
__ = FontDialog
2689 _windows_
.FontDialog_swigregister(FontDialogPtr
)
2691 class MessageDialog(Dialog
):
2693 This class provides a simple dialog that shows a single or multi-line
2694 message, with a choice of OK, Yes, No and/or Cancel buttons.
2699 ================= =============================================
2700 wx.OK Show an OK button.
2701 wx.CANCEL Show a Cancel button.
2702 wx.YES_NO Show Yes and No buttons.
2703 wx.YES_DEFAULT Used with wxYES_NO, makes Yes button the
2704 default - which is the default behaviour.
2705 wx.NO_DEFAULT Used with wxYES_NO, makes No button the default.
2706 wx.ICON_EXCLAMATION Shows an exclamation mark icon.
2707 wx.ICON_HAND Shows an error icon.
2708 wx.ICON_ERROR Shows an error icon - the same as wxICON_HAND.
2709 wx.ICON_QUESTION Shows a question mark icon.
2710 wx.ICON_INFORMATION Shows an information (i) icon.
2711 wx.STAY_ON_TOP The message box stays on top of all other
2712 window, even those of the other applications
2714 ================= =============================================
2718 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2719 def __init__(self
, *args
, **kwargs
):
2721 __init__(self, Window parent, String message, String caption=MessageBoxCaptionStr,
2722 long style=wxOK|wxCANCEL|wxCENTRE,
2723 Point pos=DefaultPosition) -> MessageDialog
2725 Constructor, use `ShowModal` to display the dialog.
2727 newobj
= _windows_
.new_MessageDialog(*args
, **kwargs
)
2728 self
.this
= newobj
.this
2731 self
._setOORInfo
(self
)
2734 class MessageDialogPtr(MessageDialog
):
2735 def __init__(self
, this
):
2737 if not hasattr(self
,"thisown"): self
.thisown
= 0
2738 self
.__class
__ = MessageDialog
2739 _windows_
.MessageDialog_swigregister(MessageDialogPtr
)
2741 class ProgressDialog(Frame
):
2743 A dialog that shows a short message and a progress bar. Optionally, it
2744 can display an ABORT button.
2748 ================= =============================================
2749 wx.PD_APP_MODAL Make the progress dialog modal. If this flag is
2750 not given, it is only "locally" modal -
2751 that is the input to the parent window is
2752 disabled, but not to the other ones.
2754 wx.PD_AUTO_HIDE Causes the progress dialog to disappear from
2755 screen as soon as the maximum value of the
2756 progress meter has been reached.
2758 wx.PD_CAN_ABORT This flag tells the dialog that it should have
2759 a "Cancel" button which the user may press. If
2760 this happens, the next call to Update() will
2763 wx.PD_ELAPSED_TIME This flag tells the dialog that it should show
2764 elapsed time (since creating the dialog).
2766 wx.PD_ESTIMATED_TIME This flag tells the dialog that it should show
2769 wx.PD_REMAINING_TIME This flag tells the dialog that it should show
2771 ================= =============================================
2775 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2776 def __init__(self
, *args
, **kwargs
):
2778 __init__(self, String title, String message, int maximum=100, Window parent=None,
2779 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
2781 Constructor. Creates the dialog, displays it and disables user input
2782 for other windows, or, if wx.PD_APP_MODAL flag is not given, for its
2785 newobj
= _windows_
.new_ProgressDialog(*args
, **kwargs
)
2786 self
.this
= newobj
.this
2789 self
._setOORInfo
(self
)
2791 def Update(*args
, **kwargs
):
2793 Update(self, int value, String newmsg=EmptyString) -> bool
2795 Updates the dialog, setting the progress bar to the new value and, if
2796 given changes the message above it. Returns true unless the Cancel
2797 button has been pressed.
2799 If false is returned, the application can either immediately destroy
2800 the dialog or ask the user for the confirmation and if the abort is
2801 not confirmed the dialog may be resumed with Resume function.
2803 return _windows_
.ProgressDialog_Update(*args
, **kwargs
)
2805 def Resume(*args
, **kwargs
):
2809 Can be used to continue with the dialog, after the user had chosen to
2812 return _windows_
.ProgressDialog_Resume(*args
, **kwargs
)
2815 class ProgressDialogPtr(ProgressDialog
):
2816 def __init__(self
, this
):
2818 if not hasattr(self
,"thisown"): self
.thisown
= 0
2819 self
.__class
__ = ProgressDialog
2820 _windows_
.ProgressDialog_swigregister(ProgressDialogPtr
)
2822 FR_DOWN
= _windows_
.FR_DOWN
2823 FR_WHOLEWORD
= _windows_
.FR_WHOLEWORD
2824 FR_MATCHCASE
= _windows_
.FR_MATCHCASE
2825 FR_REPLACEDIALOG
= _windows_
.FR_REPLACEDIALOG
2826 FR_NOUPDOWN
= _windows_
.FR_NOUPDOWN
2827 FR_NOMATCHCASE
= _windows_
.FR_NOMATCHCASE
2828 FR_NOWHOLEWORD
= _windows_
.FR_NOWHOLEWORD
2829 wxEVT_COMMAND_FIND
= _windows_
.wxEVT_COMMAND_FIND
2830 wxEVT_COMMAND_FIND_NEXT
= _windows_
.wxEVT_COMMAND_FIND_NEXT
2831 wxEVT_COMMAND_FIND_REPLACE
= _windows_
.wxEVT_COMMAND_FIND_REPLACE
2832 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows_
.wxEVT_COMMAND_FIND_REPLACE_ALL
2833 wxEVT_COMMAND_FIND_CLOSE
= _windows_
.wxEVT_COMMAND_FIND_CLOSE
2834 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
2835 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
2836 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
2837 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
2838 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
2840 # For backwards compatibility. Should they be removed?
2841 EVT_COMMAND_FIND
= EVT_FIND
2842 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
2843 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
2844 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
2845 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
2847 class FindDialogEvent(_core
.CommandEvent
):
2848 """Events for the FindReplaceDialog"""
2850 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2851 def __init__(self
, *args
, **kwargs
):
2853 __init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent
2855 Events for the FindReplaceDialog
2857 newobj
= _windows_
.new_FindDialogEvent(*args
, **kwargs
)
2858 self
.this
= newobj
.this
2861 def GetFlags(*args
, **kwargs
):
2863 GetFlags(self) -> int
2865 Get the currently selected flags: this is the combination of
2866 wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.
2868 return _windows_
.FindDialogEvent_GetFlags(*args
, **kwargs
)
2870 def GetFindString(*args
, **kwargs
):
2872 GetFindString(self) -> String
2874 Return the string to find (never empty).
2876 return _windows_
.FindDialogEvent_GetFindString(*args
, **kwargs
)
2878 def GetReplaceString(*args
, **kwargs
):
2880 GetReplaceString(self) -> String
2882 Return the string to replace the search string with (only for replace
2883 and replace all events).
2885 return _windows_
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
2887 def GetDialog(*args
, **kwargs
):
2889 GetDialog(self) -> FindReplaceDialog
2891 Return the pointer to the dialog which generated this event.
2893 return _windows_
.FindDialogEvent_GetDialog(*args
, **kwargs
)
2895 def SetFlags(*args
, **kwargs
):
2896 """SetFlags(self, int flags)"""
2897 return _windows_
.FindDialogEvent_SetFlags(*args
, **kwargs
)
2899 def SetFindString(*args
, **kwargs
):
2900 """SetFindString(self, String str)"""
2901 return _windows_
.FindDialogEvent_SetFindString(*args
, **kwargs
)
2903 def SetReplaceString(*args
, **kwargs
):
2904 """SetReplaceString(self, String str)"""
2905 return _windows_
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
2908 class FindDialogEventPtr(FindDialogEvent
):
2909 def __init__(self
, this
):
2911 if not hasattr(self
,"thisown"): self
.thisown
= 0
2912 self
.__class
__ = FindDialogEvent
2913 _windows_
.FindDialogEvent_swigregister(FindDialogEventPtr
)
2915 class FindReplaceData(_core
.Object
):
2917 wx.FindReplaceData holds the data for wx.FindReplaceDialog. It is used
2918 to initialize the dialog with the default values and will keep the
2919 last values from the dialog when it is closed. It is also updated each
2920 time a `wx.FindDialogEvent` is generated so instead of using the
2921 `wx.FindDialogEvent` methods you can also directly query this object.
2923 Note that all SetXXX() methods may only be called before showing the
2924 dialog and calling them has no effect later.
2928 ================ ===============================================
2929 wx.FR_DOWN Downward search/replace selected (otherwise,
2932 wx.FR_WHOLEWORD Whole word search/replace selected
2934 wx.FR_MATCHCASE Case sensitive search/replace selected
2935 (otherwise, case insensitive)
2936 ================ ===============================================
2940 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2941 def __init__(self
, *args
, **kwargs
):
2943 __init__(self, int flags=0) -> FindReplaceData
2945 Constuctor initializes the flags to default value (0).
2947 newobj
= _windows_
.new_FindReplaceData(*args
, **kwargs
)
2948 self
.this
= newobj
.this
2951 def __del__(self
, destroy
=_windows_
.delete_FindReplaceData
):
2954 if self
.thisown
: destroy(self
)
2957 def GetFindString(*args
, **kwargs
):
2959 GetFindString(self) -> String
2961 Get the string to find.
2963 return _windows_
.FindReplaceData_GetFindString(*args
, **kwargs
)
2965 def GetReplaceString(*args
, **kwargs
):
2967 GetReplaceString(self) -> String
2969 Get the replacement string.
2971 return _windows_
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
2973 def GetFlags(*args
, **kwargs
):
2975 GetFlags(self) -> int
2977 Get the combination of flag values.
2979 return _windows_
.FindReplaceData_GetFlags(*args
, **kwargs
)
2981 def SetFlags(*args
, **kwargs
):
2983 SetFlags(self, int flags)
2985 Set the flags to use to initialize the controls of the dialog.
2987 return _windows_
.FindReplaceData_SetFlags(*args
, **kwargs
)
2989 def SetFindString(*args
, **kwargs
):
2991 SetFindString(self, String str)
2993 Set the string to find (used as initial value by the dialog).
2995 return _windows_
.FindReplaceData_SetFindString(*args
, **kwargs
)
2997 def SetReplaceString(*args
, **kwargs
):
2999 SetReplaceString(self, String str)
3001 Set the replacement string (used as initial value by the dialog).
3003 return _windows_
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
3006 class FindReplaceDataPtr(FindReplaceData
):
3007 def __init__(self
, this
):
3009 if not hasattr(self
,"thisown"): self
.thisown
= 0
3010 self
.__class
__ = FindReplaceData
3011 _windows_
.FindReplaceData_swigregister(FindReplaceDataPtr
)
3013 class FindReplaceDialog(Dialog
):
3015 wx.FindReplaceDialog is a standard modeless dialog which is used to
3016 allow the user to search for some text (and possibly replace it with
3017 something else). The actual searching is supposed to be done in the
3018 owner window which is the parent of this dialog. Note that it means
3019 that unlike for the other standard dialogs this one must have a parent
3020 window. Also note that there is no way to use this dialog in a modal
3021 way; it is always, by design and implementation, modeless.
3027 ===================== =========================================
3028 wx.FR_REPLACEDIALOG replace dialog (otherwise find dialog)
3030 wx.FR_NOUPDOWN don't allow changing the search direction
3032 wx.FR_NOMATCHCASE don't allow case sensitive searching
3034 wx.FR_NOWHOLEWORD don't allow whole word searching
3035 ===================== =========================================
3039 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3040 def __init__(self
, *args
, **kwargs
):
3042 __init__(self, Window parent, FindReplaceData data, String title,
3043 int style=0) -> FindReplaceDialog
3045 Create a FindReplaceDialog. The parent and data parameters must be
3046 non-None. Use Show to display the dialog.
3048 newobj
= _windows_
.new_FindReplaceDialog(*args
, **kwargs
)
3049 self
.this
= newobj
.this
3052 self
._setOORInfo
(self
)
3054 def Create(*args
, **kwargs
):
3056 Create(self, Window parent, FindReplaceData data, String title,
3057 int style=0) -> bool
3059 Create the dialog, for 2-phase create.
3061 return _windows_
.FindReplaceDialog_Create(*args
, **kwargs
)
3063 def GetData(*args
, **kwargs
):
3065 GetData(self) -> FindReplaceData
3067 Get the FindReplaceData object used by this dialog.
3069 return _windows_
.FindReplaceDialog_GetData(*args
, **kwargs
)
3071 def SetData(*args
, **kwargs
):
3073 SetData(self, FindReplaceData data)
3075 Set the FindReplaceData object used by this dialog.
3077 return _windows_
.FindReplaceDialog_SetData(*args
, **kwargs
)
3080 class FindReplaceDialogPtr(FindReplaceDialog
):
3081 def __init__(self
, this
):
3083 if not hasattr(self
,"thisown"): self
.thisown
= 0
3084 self
.__class
__ = FindReplaceDialog
3085 _windows_
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
3087 def PreFindReplaceDialog(*args
, **kwargs
):
3089 PreFindReplaceDialog() -> FindReplaceDialog
3091 Precreate a FindReplaceDialog for 2-phase creation
3093 val
= _windows_
.new_PreFindReplaceDialog(*args
, **kwargs
)
3097 #---------------------------------------------------------------------------
3099 IDM_WINDOWTILE
= _windows_
.IDM_WINDOWTILE
3100 IDM_WINDOWTILEHOR
= _windows_
.IDM_WINDOWTILEHOR
3101 IDM_WINDOWCASCADE
= _windows_
.IDM_WINDOWCASCADE
3102 IDM_WINDOWICONS
= _windows_
.IDM_WINDOWICONS
3103 IDM_WINDOWNEXT
= _windows_
.IDM_WINDOWNEXT
3104 IDM_WINDOWTILEVERT
= _windows_
.IDM_WINDOWTILEVERT
3105 FIRST_MDI_CHILD
= _windows_
.FIRST_MDI_CHILD
3106 LAST_MDI_CHILD
= _windows_
.LAST_MDI_CHILD
3107 class MDIParentFrame(Frame
):
3109 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3110 def __init__(self
, *args
, **kwargs
):
3112 __init__(self, Window parent, int id, String title, Point pos=DefaultPosition,
3113 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3114 String name=FrameNameStr) -> MDIParentFrame
3116 newobj
= _windows_
.new_MDIParentFrame(*args
, **kwargs
)
3117 self
.this
= newobj
.this
3120 self
._setOORInfo
(self
)
3122 def Create(*args
, **kwargs
):
3124 Create(self, Window parent, int id, String title, Point pos=DefaultPosition,
3125 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3126 String name=FrameNameStr) -> bool
3128 return _windows_
.MDIParentFrame_Create(*args
, **kwargs
)
3130 def ActivateNext(*args
, **kwargs
):
3131 """ActivateNext(self)"""
3132 return _windows_
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
3134 def ActivatePrevious(*args
, **kwargs
):
3135 """ActivatePrevious(self)"""
3136 return _windows_
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
3138 def ArrangeIcons(*args
, **kwargs
):
3139 """ArrangeIcons(self)"""
3140 return _windows_
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
3142 def Cascade(*args
, **kwargs
):
3144 return _windows_
.MDIParentFrame_Cascade(*args
, **kwargs
)
3146 def GetActiveChild(*args
, **kwargs
):
3147 """GetActiveChild(self) -> MDIChildFrame"""
3148 return _windows_
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
3150 def GetClientWindow(*args
, **kwargs
):
3151 """GetClientWindow(self) -> MDIClientWindow"""
3152 return _windows_
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
3154 def GetToolBar(*args
, **kwargs
):
3155 """GetToolBar(self) -> Window"""
3156 return _windows_
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
3158 def GetWindowMenu(*args
, **kwargs
):
3159 """GetWindowMenu(self) -> Menu"""
3160 return _windows_
.MDIParentFrame_GetWindowMenu(*args
, **kwargs
)
3162 def SetWindowMenu(*args
, **kwargs
):
3163 """SetWindowMenu(self, Menu menu)"""
3164 return _windows_
.MDIParentFrame_SetWindowMenu(*args
, **kwargs
)
3166 def SetToolBar(*args
, **kwargs
):
3167 """SetToolBar(self, wxToolBar toolbar)"""
3168 return _windows_
.MDIParentFrame_SetToolBar(*args
, **kwargs
)
3170 def Tile(*args
, **kwargs
):
3172 return _windows_
.MDIParentFrame_Tile(*args
, **kwargs
)
3175 class MDIParentFramePtr(MDIParentFrame
):
3176 def __init__(self
, this
):
3178 if not hasattr(self
,"thisown"): self
.thisown
= 0
3179 self
.__class
__ = MDIParentFrame
3180 _windows_
.MDIParentFrame_swigregister(MDIParentFramePtr
)
3182 def PreMDIParentFrame(*args
, **kwargs
):
3183 """PreMDIParentFrame() -> MDIParentFrame"""
3184 val
= _windows_
.new_PreMDIParentFrame(*args
, **kwargs
)
3188 class MDIChildFrame(Frame
):
3190 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3191 def __init__(self
, *args
, **kwargs
):
3193 __init__(self, MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
3194 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
3195 String name=FrameNameStr) -> MDIChildFrame
3197 newobj
= _windows_
.new_MDIChildFrame(*args
, **kwargs
)
3198 self
.this
= newobj
.this
3201 self
._setOORInfo
(self
)
3203 def Create(*args
, **kwargs
):
3205 Create(self, MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
3206 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
3207 String name=FrameNameStr) -> bool
3209 return _windows_
.MDIChildFrame_Create(*args
, **kwargs
)
3211 def Activate(*args
, **kwargs
):
3212 """Activate(self)"""
3213 return _windows_
.MDIChildFrame_Activate(*args
, **kwargs
)
3215 def Maximize(*args
, **kwargs
):
3216 """Maximize(self, bool maximize)"""
3217 return _windows_
.MDIChildFrame_Maximize(*args
, **kwargs
)
3219 def Restore(*args
, **kwargs
):
3221 return _windows_
.MDIChildFrame_Restore(*args
, **kwargs
)
3224 class MDIChildFramePtr(MDIChildFrame
):
3225 def __init__(self
, this
):
3227 if not hasattr(self
,"thisown"): self
.thisown
= 0
3228 self
.__class
__ = MDIChildFrame
3229 _windows_
.MDIChildFrame_swigregister(MDIChildFramePtr
)
3231 def PreMDIChildFrame(*args
, **kwargs
):
3232 """PreMDIChildFrame() -> MDIChildFrame"""
3233 val
= _windows_
.new_PreMDIChildFrame(*args
, **kwargs
)
3237 class MDIClientWindow(_core
.Window
):
3239 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3240 def __init__(self
, *args
, **kwargs
):
3241 """__init__(self, MDIParentFrame parent, long style=0) -> MDIClientWindow"""
3242 newobj
= _windows_
.new_MDIClientWindow(*args
, **kwargs
)
3243 self
.this
= newobj
.this
3246 self
._setOORInfo
(self
)
3248 def Create(*args
, **kwargs
):
3249 """Create(self, MDIParentFrame parent, long style=0) -> bool"""
3250 return _windows_
.MDIClientWindow_Create(*args
, **kwargs
)
3253 class MDIClientWindowPtr(MDIClientWindow
):
3254 def __init__(self
, this
):
3256 if not hasattr(self
,"thisown"): self
.thisown
= 0
3257 self
.__class
__ = MDIClientWindow
3258 _windows_
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
3260 def PreMDIClientWindow(*args
, **kwargs
):
3261 """PreMDIClientWindow() -> MDIClientWindow"""
3262 val
= _windows_
.new_PreMDIClientWindow(*args
, **kwargs
)
3266 #---------------------------------------------------------------------------
3268 class PyWindow(_core
.Window
):
3270 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3271 def __init__(self
, *args
, **kwargs
):
3273 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
3274 long style=0, String name=PanelNameStr) -> PyWindow
3276 newobj
= _windows_
.new_PyWindow(*args
, **kwargs
)
3277 self
.this
= newobj
.this
3280 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
3282 def _setCallbackInfo(*args
, **kwargs
):
3283 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3284 return _windows_
.PyWindow__setCallbackInfo(*args
, **kwargs
)
3286 def base_DoMoveWindow(*args
, **kwargs
):
3287 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3288 return _windows_
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
3290 def base_DoSetSize(*args
, **kwargs
):
3291 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3292 return _windows_
.PyWindow_base_DoSetSize(*args
, **kwargs
)
3294 def base_DoSetClientSize(*args
, **kwargs
):
3295 """base_DoSetClientSize(self, int width, int height)"""
3296 return _windows_
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
3298 def base_DoSetVirtualSize(*args
, **kwargs
):
3299 """base_DoSetVirtualSize(self, int x, int y)"""
3300 return _windows_
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
3302 def base_DoGetSize(*args
, **kwargs
):
3303 """base_DoGetSize() -> (width, height)"""
3304 return _windows_
.PyWindow_base_DoGetSize(*args
, **kwargs
)
3306 def base_DoGetClientSize(*args
, **kwargs
):
3307 """base_DoGetClientSize() -> (width, height)"""
3308 return _windows_
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
3310 def base_DoGetPosition(*args
, **kwargs
):
3311 """base_DoGetPosition() -> (x,y)"""
3312 return _windows_
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
3314 def base_DoGetVirtualSize(*args
, **kwargs
):
3315 """base_DoGetVirtualSize(self) -> Size"""
3316 return _windows_
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
3318 def base_DoGetBestSize(*args
, **kwargs
):
3319 """base_DoGetBestSize(self) -> Size"""
3320 return _windows_
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
3322 def base_InitDialog(*args
, **kwargs
):
3323 """base_InitDialog(self)"""
3324 return _windows_
.PyWindow_base_InitDialog(*args
, **kwargs
)
3326 def base_TransferDataToWindow(*args
, **kwargs
):
3327 """base_TransferDataToWindow(self) -> bool"""
3328 return _windows_
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
3330 def base_TransferDataFromWindow(*args
, **kwargs
):
3331 """base_TransferDataFromWindow(self) -> bool"""
3332 return _windows_
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
3334 def base_Validate(*args
, **kwargs
):
3335 """base_Validate(self) -> bool"""
3336 return _windows_
.PyWindow_base_Validate(*args
, **kwargs
)
3338 def base_AcceptsFocus(*args
, **kwargs
):
3339 """base_AcceptsFocus(self) -> bool"""
3340 return _windows_
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
3342 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3343 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3344 return _windows_
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3346 def base_GetMaxSize(*args
, **kwargs
):
3347 """base_GetMaxSize(self) -> Size"""
3348 return _windows_
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
3350 def base_AddChild(*args
, **kwargs
):
3351 """base_AddChild(self, Window child)"""
3352 return _windows_
.PyWindow_base_AddChild(*args
, **kwargs
)
3354 def base_RemoveChild(*args
, **kwargs
):
3355 """base_RemoveChild(self, Window child)"""
3356 return _windows_
.PyWindow_base_RemoveChild(*args
, **kwargs
)
3358 def base_ShouldInheritColours(*args
, **kwargs
):
3359 """base_ShouldInheritColours(self) -> bool"""
3360 return _windows_
.PyWindow_base_ShouldInheritColours(*args
, **kwargs
)
3362 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3363 """base_ApplyParentThemeBackground(self, Colour c)"""
3364 return _windows_
.PyWindow_base_ApplyParentThemeBackground(*args
, **kwargs
)
3367 class PyWindowPtr(PyWindow
):
3368 def __init__(self
, this
):
3370 if not hasattr(self
,"thisown"): self
.thisown
= 0
3371 self
.__class
__ = PyWindow
3372 _windows_
.PyWindow_swigregister(PyWindowPtr
)
3374 def PrePyWindow(*args
, **kwargs
):
3375 """PrePyWindow() -> PyWindow"""
3376 val
= _windows_
.new_PrePyWindow(*args
, **kwargs
)
3380 class PyPanel(Panel
):
3382 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3383 def __init__(self
, *args
, **kwargs
):
3385 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
3386 long style=0, String name=PanelNameStr) -> PyPanel
3388 newobj
= _windows_
.new_PyPanel(*args
, **kwargs
)
3389 self
.this
= newobj
.this
3392 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3394 def _setCallbackInfo(*args
, **kwargs
):
3395 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3396 return _windows_
.PyPanel__setCallbackInfo(*args
, **kwargs
)
3398 def base_DoMoveWindow(*args
, **kwargs
):
3399 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3400 return _windows_
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
3402 def base_DoSetSize(*args
, **kwargs
):
3403 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3404 return _windows_
.PyPanel_base_DoSetSize(*args
, **kwargs
)
3406 def base_DoSetClientSize(*args
, **kwargs
):
3407 """base_DoSetClientSize(self, int width, int height)"""
3408 return _windows_
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
3410 def base_DoSetVirtualSize(*args
, **kwargs
):
3411 """base_DoSetVirtualSize(self, int x, int y)"""
3412 return _windows_
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
3414 def base_DoGetSize(*args
, **kwargs
):
3415 """base_DoGetSize() -> (width, height)"""
3416 return _windows_
.PyPanel_base_DoGetSize(*args
, **kwargs
)
3418 def base_DoGetClientSize(*args
, **kwargs
):
3419 """base_DoGetClientSize() -> (width, height)"""
3420 return _windows_
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
3422 def base_DoGetPosition(*args
, **kwargs
):
3423 """base_DoGetPosition() -> (x,y)"""
3424 return _windows_
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
3426 def base_DoGetVirtualSize(*args
, **kwargs
):
3427 """base_DoGetVirtualSize(self) -> Size"""
3428 return _windows_
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
3430 def base_DoGetBestSize(*args
, **kwargs
):
3431 """base_DoGetBestSize(self) -> Size"""
3432 return _windows_
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
3434 def base_InitDialog(*args
, **kwargs
):
3435 """base_InitDialog(self)"""
3436 return _windows_
.PyPanel_base_InitDialog(*args
, **kwargs
)
3438 def base_TransferDataToWindow(*args
, **kwargs
):
3439 """base_TransferDataToWindow(self) -> bool"""
3440 return _windows_
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
3442 def base_TransferDataFromWindow(*args
, **kwargs
):
3443 """base_TransferDataFromWindow(self) -> bool"""
3444 return _windows_
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
3446 def base_Validate(*args
, **kwargs
):
3447 """base_Validate(self) -> bool"""
3448 return _windows_
.PyPanel_base_Validate(*args
, **kwargs
)
3450 def base_AcceptsFocus(*args
, **kwargs
):
3451 """base_AcceptsFocus(self) -> bool"""
3452 return _windows_
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
3454 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3455 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3456 return _windows_
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3458 def base_GetMaxSize(*args
, **kwargs
):
3459 """base_GetMaxSize(self) -> Size"""
3460 return _windows_
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
3462 def base_AddChild(*args
, **kwargs
):
3463 """base_AddChild(self, Window child)"""
3464 return _windows_
.PyPanel_base_AddChild(*args
, **kwargs
)
3466 def base_RemoveChild(*args
, **kwargs
):
3467 """base_RemoveChild(self, Window child)"""
3468 return _windows_
.PyPanel_base_RemoveChild(*args
, **kwargs
)
3470 def base_ShouldInheritColours(*args
, **kwargs
):
3471 """base_ShouldInheritColours(self) -> bool"""
3472 return _windows_
.PyPanel_base_ShouldInheritColours(*args
, **kwargs
)
3474 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3475 """base_ApplyParentThemeBackground(self, Colour c)"""
3476 return _windows_
.PyPanel_base_ApplyParentThemeBackground(*args
, **kwargs
)
3479 class PyPanelPtr(PyPanel
):
3480 def __init__(self
, this
):
3482 if not hasattr(self
,"thisown"): self
.thisown
= 0
3483 self
.__class
__ = PyPanel
3484 _windows_
.PyPanel_swigregister(PyPanelPtr
)
3486 def PrePyPanel(*args
, **kwargs
):
3487 """PrePyPanel() -> PyPanel"""
3488 val
= _windows_
.new_PrePyPanel(*args
, **kwargs
)
3492 class PyScrolledWindow(ScrolledWindow
):
3494 return "<%s.%s; proxy of C++ wxPyScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3495 def __init__(self
, *args
, **kwargs
):
3497 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
3498 long style=0, String name=PanelNameStr) -> PyScrolledWindow
3500 newobj
= _windows_
.new_PyScrolledWindow(*args
, **kwargs
)
3501 self
.this
= newobj
.this
3504 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3506 def _setCallbackInfo(*args
, **kwargs
):
3507 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3508 return _windows_
.PyScrolledWindow__setCallbackInfo(*args
, **kwargs
)
3510 def base_DoMoveWindow(*args
, **kwargs
):
3511 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3512 return _windows_
.PyScrolledWindow_base_DoMoveWindow(*args
, **kwargs
)
3514 def base_DoSetSize(*args
, **kwargs
):
3515 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3516 return _windows_
.PyScrolledWindow_base_DoSetSize(*args
, **kwargs
)
3518 def base_DoSetClientSize(*args
, **kwargs
):
3519 """base_DoSetClientSize(self, int width, int height)"""
3520 return _windows_
.PyScrolledWindow_base_DoSetClientSize(*args
, **kwargs
)
3522 def base_DoSetVirtualSize(*args
, **kwargs
):
3523 """base_DoSetVirtualSize(self, int x, int y)"""
3524 return _windows_
.PyScrolledWindow_base_DoSetVirtualSize(*args
, **kwargs
)
3526 def base_DoGetSize(*args
, **kwargs
):
3527 """base_DoGetSize() -> (width, height)"""
3528 return _windows_
.PyScrolledWindow_base_DoGetSize(*args
, **kwargs
)
3530 def base_DoGetClientSize(*args
, **kwargs
):
3531 """base_DoGetClientSize() -> (width, height)"""
3532 return _windows_
.PyScrolledWindow_base_DoGetClientSize(*args
, **kwargs
)
3534 def base_DoGetPosition(*args
, **kwargs
):
3535 """base_DoGetPosition() -> (x,y)"""
3536 return _windows_
.PyScrolledWindow_base_DoGetPosition(*args
, **kwargs
)
3538 def base_DoGetVirtualSize(*args
, **kwargs
):
3539 """base_DoGetVirtualSize(self) -> Size"""
3540 return _windows_
.PyScrolledWindow_base_DoGetVirtualSize(*args
, **kwargs
)
3542 def base_DoGetBestSize(*args
, **kwargs
):
3543 """base_DoGetBestSize(self) -> Size"""
3544 return _windows_
.PyScrolledWindow_base_DoGetBestSize(*args
, **kwargs
)
3546 def base_InitDialog(*args
, **kwargs
):
3547 """base_InitDialog(self)"""
3548 return _windows_
.PyScrolledWindow_base_InitDialog(*args
, **kwargs
)
3550 def base_TransferDataToWindow(*args
, **kwargs
):
3551 """base_TransferDataToWindow(self) -> bool"""
3552 return _windows_
.PyScrolledWindow_base_TransferDataToWindow(*args
, **kwargs
)
3554 def base_TransferDataFromWindow(*args
, **kwargs
):
3555 """base_TransferDataFromWindow(self) -> bool"""
3556 return _windows_
.PyScrolledWindow_base_TransferDataFromWindow(*args
, **kwargs
)
3558 def base_Validate(*args
, **kwargs
):
3559 """base_Validate(self) -> bool"""
3560 return _windows_
.PyScrolledWindow_base_Validate(*args
, **kwargs
)
3562 def base_AcceptsFocus(*args
, **kwargs
):
3563 """base_AcceptsFocus(self) -> bool"""
3564 return _windows_
.PyScrolledWindow_base_AcceptsFocus(*args
, **kwargs
)
3566 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3567 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3568 return _windows_
.PyScrolledWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3570 def base_GetMaxSize(*args
, **kwargs
):
3571 """base_GetMaxSize(self) -> Size"""
3572 return _windows_
.PyScrolledWindow_base_GetMaxSize(*args
, **kwargs
)
3574 def base_AddChild(*args
, **kwargs
):
3575 """base_AddChild(self, Window child)"""
3576 return _windows_
.PyScrolledWindow_base_AddChild(*args
, **kwargs
)
3578 def base_RemoveChild(*args
, **kwargs
):
3579 """base_RemoveChild(self, Window child)"""
3580 return _windows_
.PyScrolledWindow_base_RemoveChild(*args
, **kwargs
)
3582 def base_ShouldInheritColours(*args
, **kwargs
):
3583 """base_ShouldInheritColours(self) -> bool"""
3584 return _windows_
.PyScrolledWindow_base_ShouldInheritColours(*args
, **kwargs
)
3586 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3587 """base_ApplyParentThemeBackground(self, Colour c)"""
3588 return _windows_
.PyScrolledWindow_base_ApplyParentThemeBackground(*args
, **kwargs
)
3591 class PyScrolledWindowPtr(PyScrolledWindow
):
3592 def __init__(self
, this
):
3594 if not hasattr(self
,"thisown"): self
.thisown
= 0
3595 self
.__class
__ = PyScrolledWindow
3596 _windows_
.PyScrolledWindow_swigregister(PyScrolledWindowPtr
)
3598 def PrePyScrolledWindow(*args
, **kwargs
):
3599 """PrePyScrolledWindow() -> PyScrolledWindow"""
3600 val
= _windows_
.new_PrePyScrolledWindow(*args
, **kwargs
)
3604 #---------------------------------------------------------------------------
3606 PRINT_MODE_NONE
= _windows_
.PRINT_MODE_NONE
3607 PRINT_MODE_PREVIEW
= _windows_
.PRINT_MODE_PREVIEW
3608 PRINT_MODE_FILE
= _windows_
.PRINT_MODE_FILE
3609 PRINT_MODE_PRINTER
= _windows_
.PRINT_MODE_PRINTER
3610 PRINT_MODE_STREAM
= _windows_
.PRINT_MODE_STREAM
3611 class PrintData(_core
.Object
):
3613 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3614 def __init__(self
, *args
, **kwargs
):
3615 """__init__(self) -> PrintData"""
3616 newobj
= _windows_
.new_PrintData(*args
, **kwargs
)
3617 self
.this
= newobj
.this
3620 def __del__(self
, destroy
=_windows_
.delete_PrintData
):
3623 if self
.thisown
: destroy(self
)
3626 def GetNoCopies(*args
, **kwargs
):
3627 """GetNoCopies(self) -> int"""
3628 return _windows_
.PrintData_GetNoCopies(*args
, **kwargs
)
3630 def GetCollate(*args
, **kwargs
):
3631 """GetCollate(self) -> bool"""
3632 return _windows_
.PrintData_GetCollate(*args
, **kwargs
)
3634 def GetOrientation(*args
, **kwargs
):
3635 """GetOrientation(self) -> int"""
3636 return _windows_
.PrintData_GetOrientation(*args
, **kwargs
)
3638 def Ok(*args
, **kwargs
):
3639 """Ok(self) -> bool"""
3640 return _windows_
.PrintData_Ok(*args
, **kwargs
)
3642 def GetPrinterName(*args
, **kwargs
):
3643 """GetPrinterName(self) -> String"""
3644 return _windows_
.PrintData_GetPrinterName(*args
, **kwargs
)
3646 def GetColour(*args
, **kwargs
):
3647 """GetColour(self) -> bool"""
3648 return _windows_
.PrintData_GetColour(*args
, **kwargs
)
3650 def GetDuplex(*args
, **kwargs
):
3651 """GetDuplex(self) -> int"""
3652 return _windows_
.PrintData_GetDuplex(*args
, **kwargs
)
3654 def GetPaperId(*args
, **kwargs
):
3655 """GetPaperId(self) -> int"""
3656 return _windows_
.PrintData_GetPaperId(*args
, **kwargs
)
3658 def GetPaperSize(*args
, **kwargs
):
3659 """GetPaperSize(self) -> Size"""
3660 return _windows_
.PrintData_GetPaperSize(*args
, **kwargs
)
3662 def GetQuality(*args
, **kwargs
):
3663 """GetQuality(self) -> int"""
3664 return _windows_
.PrintData_GetQuality(*args
, **kwargs
)
3666 def SetNoCopies(*args
, **kwargs
):
3667 """SetNoCopies(self, int v)"""
3668 return _windows_
.PrintData_SetNoCopies(*args
, **kwargs
)
3670 def SetCollate(*args
, **kwargs
):
3671 """SetCollate(self, bool flag)"""
3672 return _windows_
.PrintData_SetCollate(*args
, **kwargs
)
3674 def SetOrientation(*args
, **kwargs
):
3675 """SetOrientation(self, int orient)"""
3676 return _windows_
.PrintData_SetOrientation(*args
, **kwargs
)
3678 def SetPrinterName(*args
, **kwargs
):
3679 """SetPrinterName(self, String name)"""
3680 return _windows_
.PrintData_SetPrinterName(*args
, **kwargs
)
3682 def SetColour(*args
, **kwargs
):
3683 """SetColour(self, bool colour)"""
3684 return _windows_
.PrintData_SetColour(*args
, **kwargs
)
3686 def SetDuplex(*args
, **kwargs
):
3687 """SetDuplex(self, int duplex)"""
3688 return _windows_
.PrintData_SetDuplex(*args
, **kwargs
)
3690 def SetPaperId(*args
, **kwargs
):
3691 """SetPaperId(self, int sizeId)"""
3692 return _windows_
.PrintData_SetPaperId(*args
, **kwargs
)
3694 def SetPaperSize(*args
, **kwargs
):
3695 """SetPaperSize(self, Size sz)"""
3696 return _windows_
.PrintData_SetPaperSize(*args
, **kwargs
)
3698 def SetQuality(*args
, **kwargs
):
3699 """SetQuality(self, int quality)"""
3700 return _windows_
.PrintData_SetQuality(*args
, **kwargs
)
3702 def GetPrinterCommand(*args
, **kwargs
):
3703 """GetPrinterCommand(self) -> String"""
3704 return _windows_
.PrintData_GetPrinterCommand(*args
, **kwargs
)
3706 def GetPrinterOptions(*args
, **kwargs
):
3707 """GetPrinterOptions(self) -> String"""
3708 return _windows_
.PrintData_GetPrinterOptions(*args
, **kwargs
)
3710 def GetPreviewCommand(*args
, **kwargs
):
3711 """GetPreviewCommand(self) -> String"""
3712 return _windows_
.PrintData_GetPreviewCommand(*args
, **kwargs
)
3714 def GetFilename(*args
, **kwargs
):
3715 """GetFilename(self) -> String"""
3716 return _windows_
.PrintData_GetFilename(*args
, **kwargs
)
3718 def GetFontMetricPath(*args
, **kwargs
):
3719 """GetFontMetricPath(self) -> String"""
3720 return _windows_
.PrintData_GetFontMetricPath(*args
, **kwargs
)
3722 def GetPrinterScaleX(*args
, **kwargs
):
3723 """GetPrinterScaleX(self) -> double"""
3724 return _windows_
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
3726 def GetPrinterScaleY(*args
, **kwargs
):
3727 """GetPrinterScaleY(self) -> double"""
3728 return _windows_
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
3730 def GetPrinterTranslateX(*args
, **kwargs
):
3731 """GetPrinterTranslateX(self) -> long"""
3732 return _windows_
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
3734 def GetPrinterTranslateY(*args
, **kwargs
):
3735 """GetPrinterTranslateY(self) -> long"""
3736 return _windows_
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
3738 def GetPrintMode(*args
, **kwargs
):
3739 """GetPrintMode(self) -> int"""
3740 return _windows_
.PrintData_GetPrintMode(*args
, **kwargs
)
3742 def SetPrinterCommand(*args
, **kwargs
):
3743 """SetPrinterCommand(self, String command)"""
3744 return _windows_
.PrintData_SetPrinterCommand(*args
, **kwargs
)
3746 def SetPrinterOptions(*args
, **kwargs
):
3747 """SetPrinterOptions(self, String options)"""
3748 return _windows_
.PrintData_SetPrinterOptions(*args
, **kwargs
)
3750 def SetPreviewCommand(*args
, **kwargs
):
3751 """SetPreviewCommand(self, String command)"""
3752 return _windows_
.PrintData_SetPreviewCommand(*args
, **kwargs
)
3754 def SetFilename(*args
, **kwargs
):
3755 """SetFilename(self, String filename)"""
3756 return _windows_
.PrintData_SetFilename(*args
, **kwargs
)
3758 def SetFontMetricPath(*args
, **kwargs
):
3759 """SetFontMetricPath(self, String path)"""
3760 return _windows_
.PrintData_SetFontMetricPath(*args
, **kwargs
)
3762 def SetPrinterScaleX(*args
, **kwargs
):
3763 """SetPrinterScaleX(self, double x)"""
3764 return _windows_
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
3766 def SetPrinterScaleY(*args
, **kwargs
):
3767 """SetPrinterScaleY(self, double y)"""
3768 return _windows_
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
3770 def SetPrinterScaling(*args
, **kwargs
):
3771 """SetPrinterScaling(self, double x, double y)"""
3772 return _windows_
.PrintData_SetPrinterScaling(*args
, **kwargs
)
3774 def SetPrinterTranslateX(*args
, **kwargs
):
3775 """SetPrinterTranslateX(self, long x)"""
3776 return _windows_
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
3778 def SetPrinterTranslateY(*args
, **kwargs
):
3779 """SetPrinterTranslateY(self, long y)"""
3780 return _windows_
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
3782 def SetPrinterTranslation(*args
, **kwargs
):
3783 """SetPrinterTranslation(self, long x, long y)"""
3784 return _windows_
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
3786 def SetPrintMode(*args
, **kwargs
):
3787 """SetPrintMode(self, int printMode)"""
3788 return _windows_
.PrintData_SetPrintMode(*args
, **kwargs
)
3790 def GetOutputStream(*args
, **kwargs
):
3791 """GetOutputStream(self) -> OutputStream"""
3792 return _windows_
.PrintData_GetOutputStream(*args
, **kwargs
)
3794 def SetOutputStream(*args
, **kwargs
):
3795 """SetOutputStream(self, OutputStream outputstream)"""
3796 return _windows_
.PrintData_SetOutputStream(*args
, **kwargs
)
3798 def __nonzero__(self
): return self
.Ok()
3800 class PrintDataPtr(PrintData
):
3801 def __init__(self
, this
):
3803 if not hasattr(self
,"thisown"): self
.thisown
= 0
3804 self
.__class
__ = PrintData
3805 _windows_
.PrintData_swigregister(PrintDataPtr
)
3806 PrintoutTitleStr
= cvar
.PrintoutTitleStr
3807 PreviewCanvasNameStr
= cvar
.PreviewCanvasNameStr
3809 class PageSetupDialogData(_core
.Object
):
3811 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3812 def __init__(self
, *args
, **kwargs
):
3813 """__init__(self) -> PageSetupDialogData"""
3814 newobj
= _windows_
.new_PageSetupDialogData(*args
, **kwargs
)
3815 self
.this
= newobj
.this
3818 def __del__(self
, destroy
=_windows_
.delete_PageSetupDialogData
):
3821 if self
.thisown
: destroy(self
)
3824 def EnableHelp(*args
, **kwargs
):
3825 """EnableHelp(self, bool flag)"""
3826 return _windows_
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
3828 def EnableMargins(*args
, **kwargs
):
3829 """EnableMargins(self, bool flag)"""
3830 return _windows_
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
3832 def EnableOrientation(*args
, **kwargs
):
3833 """EnableOrientation(self, bool flag)"""
3834 return _windows_
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
3836 def EnablePaper(*args
, **kwargs
):
3837 """EnablePaper(self, bool flag)"""
3838 return _windows_
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
3840 def EnablePrinter(*args
, **kwargs
):
3841 """EnablePrinter(self, bool flag)"""
3842 return _windows_
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
3844 def GetDefaultMinMargins(*args
, **kwargs
):
3845 """GetDefaultMinMargins(self) -> bool"""
3846 return _windows_
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
3848 def GetEnableMargins(*args
, **kwargs
):
3849 """GetEnableMargins(self) -> bool"""
3850 return _windows_
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
3852 def GetEnableOrientation(*args
, **kwargs
):
3853 """GetEnableOrientation(self) -> bool"""
3854 return _windows_
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
3856 def GetEnablePaper(*args
, **kwargs
):
3857 """GetEnablePaper(self) -> bool"""
3858 return _windows_
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
3860 def GetEnablePrinter(*args
, **kwargs
):
3861 """GetEnablePrinter(self) -> bool"""
3862 return _windows_
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
3864 def GetEnableHelp(*args
, **kwargs
):
3865 """GetEnableHelp(self) -> bool"""
3866 return _windows_
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
3868 def GetDefaultInfo(*args
, **kwargs
):
3869 """GetDefaultInfo(self) -> bool"""
3870 return _windows_
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
3872 def GetMarginTopLeft(*args
, **kwargs
):
3873 """GetMarginTopLeft(self) -> Point"""
3874 return _windows_
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
3876 def GetMarginBottomRight(*args
, **kwargs
):
3877 """GetMarginBottomRight(self) -> Point"""
3878 return _windows_
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
3880 def GetMinMarginTopLeft(*args
, **kwargs
):
3881 """GetMinMarginTopLeft(self) -> Point"""
3882 return _windows_
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
3884 def GetMinMarginBottomRight(*args
, **kwargs
):
3885 """GetMinMarginBottomRight(self) -> Point"""
3886 return _windows_
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
3888 def GetPaperId(*args
, **kwargs
):
3889 """GetPaperId(self) -> int"""
3890 return _windows_
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
3892 def GetPaperSize(*args
, **kwargs
):
3893 """GetPaperSize(self) -> Size"""
3894 return _windows_
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
3896 def GetPrintData(*args
, **kwargs
):
3897 """GetPrintData(self) -> PrintData"""
3898 return _windows_
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
3900 def Ok(*args
, **kwargs
):
3901 """Ok(self) -> bool"""
3902 return _windows_
.PageSetupDialogData_Ok(*args
, **kwargs
)
3904 def SetDefaultInfo(*args
, **kwargs
):
3905 """SetDefaultInfo(self, bool flag)"""
3906 return _windows_
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
3908 def SetDefaultMinMargins(*args
, **kwargs
):
3909 """SetDefaultMinMargins(self, bool flag)"""
3910 return _windows_
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
3912 def SetMarginTopLeft(*args
, **kwargs
):
3913 """SetMarginTopLeft(self, Point pt)"""
3914 return _windows_
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
3916 def SetMarginBottomRight(*args
, **kwargs
):
3917 """SetMarginBottomRight(self, Point pt)"""
3918 return _windows_
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
3920 def SetMinMarginTopLeft(*args
, **kwargs
):
3921 """SetMinMarginTopLeft(self, Point pt)"""
3922 return _windows_
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
3924 def SetMinMarginBottomRight(*args
, **kwargs
):
3925 """SetMinMarginBottomRight(self, Point pt)"""
3926 return _windows_
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
3928 def SetPaperId(*args
, **kwargs
):
3929 """SetPaperId(self, int id)"""
3930 return _windows_
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
3932 def SetPaperSize(*args
, **kwargs
):
3933 """SetPaperSize(self, Size size)"""
3934 return _windows_
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
3936 def SetPrintData(*args
, **kwargs
):
3937 """SetPrintData(self, PrintData printData)"""
3938 return _windows_
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
3940 def __nonzero__(self
): return self
.Ok()
3942 class PageSetupDialogDataPtr(PageSetupDialogData
):
3943 def __init__(self
, this
):
3945 if not hasattr(self
,"thisown"): self
.thisown
= 0
3946 self
.__class
__ = PageSetupDialogData
3947 _windows_
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
3949 class PageSetupDialog(Dialog
):
3951 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3952 def __init__(self
, *args
, **kwargs
):
3953 """__init__(self, Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
3954 newobj
= _windows_
.new_PageSetupDialog(*args
, **kwargs
)
3955 self
.this
= newobj
.this
3958 self
._setOORInfo
(self
)
3960 def GetPageSetupData(*args
, **kwargs
):
3961 """GetPageSetupData(self) -> PageSetupDialogData"""
3962 return _windows_
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
3964 def ShowModal(*args
, **kwargs
):
3965 """ShowModal(self) -> int"""
3966 return _windows_
.PageSetupDialog_ShowModal(*args
, **kwargs
)
3969 class PageSetupDialogPtr(PageSetupDialog
):
3970 def __init__(self
, this
):
3972 if not hasattr(self
,"thisown"): self
.thisown
= 0
3973 self
.__class
__ = PageSetupDialog
3974 _windows_
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
3976 class PrintDialogData(_core
.Object
):
3978 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3979 def __init__(self
, *args
):
3981 __init__(self) -> PrintDialogData
3982 __init__(self, PrintData printData) -> PrintDialogData
3984 newobj
= _windows_
.new_PrintDialogData(*args
)
3985 self
.this
= newobj
.this
3988 def __del__(self
, destroy
=_windows_
.delete_PrintDialogData
):
3991 if self
.thisown
: destroy(self
)
3994 def GetFromPage(*args
, **kwargs
):
3995 """GetFromPage(self) -> int"""
3996 return _windows_
.PrintDialogData_GetFromPage(*args
, **kwargs
)
3998 def GetToPage(*args
, **kwargs
):
3999 """GetToPage(self) -> int"""
4000 return _windows_
.PrintDialogData_GetToPage(*args
, **kwargs
)
4002 def GetMinPage(*args
, **kwargs
):
4003 """GetMinPage(self) -> int"""
4004 return _windows_
.PrintDialogData_GetMinPage(*args
, **kwargs
)
4006 def GetMaxPage(*args
, **kwargs
):
4007 """GetMaxPage(self) -> int"""
4008 return _windows_
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
4010 def GetNoCopies(*args
, **kwargs
):
4011 """GetNoCopies(self) -> int"""
4012 return _windows_
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
4014 def GetAllPages(*args
, **kwargs
):
4015 """GetAllPages(self) -> bool"""
4016 return _windows_
.PrintDialogData_GetAllPages(*args
, **kwargs
)
4018 def GetSelection(*args
, **kwargs
):
4019 """GetSelection(self) -> bool"""
4020 return _windows_
.PrintDialogData_GetSelection(*args
, **kwargs
)
4022 def GetCollate(*args
, **kwargs
):
4023 """GetCollate(self) -> bool"""
4024 return _windows_
.PrintDialogData_GetCollate(*args
, **kwargs
)
4026 def GetPrintToFile(*args
, **kwargs
):
4027 """GetPrintToFile(self) -> bool"""
4028 return _windows_
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
4030 def GetSetupDialog(*args
, **kwargs
):
4031 """GetSetupDialog(self) -> bool"""
4032 return _windows_
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
4034 def SetFromPage(*args
, **kwargs
):
4035 """SetFromPage(self, int v)"""
4036 return _windows_
.PrintDialogData_SetFromPage(*args
, **kwargs
)
4038 def SetToPage(*args
, **kwargs
):
4039 """SetToPage(self, int v)"""
4040 return _windows_
.PrintDialogData_SetToPage(*args
, **kwargs
)
4042 def SetMinPage(*args
, **kwargs
):
4043 """SetMinPage(self, int v)"""
4044 return _windows_
.PrintDialogData_SetMinPage(*args
, **kwargs
)
4046 def SetMaxPage(*args
, **kwargs
):
4047 """SetMaxPage(self, int v)"""
4048 return _windows_
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
4050 def SetNoCopies(*args
, **kwargs
):
4051 """SetNoCopies(self, int v)"""
4052 return _windows_
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
4054 def SetAllPages(*args
, **kwargs
):
4055 """SetAllPages(self, bool flag)"""
4056 return _windows_
.PrintDialogData_SetAllPages(*args
, **kwargs
)
4058 def SetSelection(*args
, **kwargs
):
4059 """SetSelection(self, bool flag)"""
4060 return _windows_
.PrintDialogData_SetSelection(*args
, **kwargs
)
4062 def SetCollate(*args
, **kwargs
):
4063 """SetCollate(self, bool flag)"""
4064 return _windows_
.PrintDialogData_SetCollate(*args
, **kwargs
)
4066 def SetPrintToFile(*args
, **kwargs
):
4067 """SetPrintToFile(self, bool flag)"""
4068 return _windows_
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
4070 def SetSetupDialog(*args
, **kwargs
):
4071 """SetSetupDialog(self, bool flag)"""
4072 return _windows_
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
4074 def EnablePrintToFile(*args
, **kwargs
):
4075 """EnablePrintToFile(self, bool flag)"""
4076 return _windows_
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
4078 def EnableSelection(*args
, **kwargs
):
4079 """EnableSelection(self, bool flag)"""
4080 return _windows_
.PrintDialogData_EnableSelection(*args
, **kwargs
)
4082 def EnablePageNumbers(*args
, **kwargs
):
4083 """EnablePageNumbers(self, bool flag)"""
4084 return _windows_
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
4086 def EnableHelp(*args
, **kwargs
):
4087 """EnableHelp(self, bool flag)"""
4088 return _windows_
.PrintDialogData_EnableHelp(*args
, **kwargs
)
4090 def GetEnablePrintToFile(*args
, **kwargs
):
4091 """GetEnablePrintToFile(self) -> bool"""
4092 return _windows_
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
4094 def GetEnableSelection(*args
, **kwargs
):
4095 """GetEnableSelection(self) -> bool"""
4096 return _windows_
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
4098 def GetEnablePageNumbers(*args
, **kwargs
):
4099 """GetEnablePageNumbers(self) -> bool"""
4100 return _windows_
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
4102 def GetEnableHelp(*args
, **kwargs
):
4103 """GetEnableHelp(self) -> bool"""
4104 return _windows_
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
4106 def Ok(*args
, **kwargs
):
4107 """Ok(self) -> bool"""
4108 return _windows_
.PrintDialogData_Ok(*args
, **kwargs
)
4110 def GetPrintData(*args
, **kwargs
):
4111 """GetPrintData(self) -> PrintData"""
4112 return _windows_
.PrintDialogData_GetPrintData(*args
, **kwargs
)
4114 def SetPrintData(*args
, **kwargs
):
4115 """SetPrintData(self, PrintData printData)"""
4116 return _windows_
.PrintDialogData_SetPrintData(*args
, **kwargs
)
4118 def __nonzero__(self
): return self
.Ok()
4120 class PrintDialogDataPtr(PrintDialogData
):
4121 def __init__(self
, this
):
4123 if not hasattr(self
,"thisown"): self
.thisown
= 0
4124 self
.__class
__ = PrintDialogData
4125 _windows_
.PrintDialogData_swigregister(PrintDialogDataPtr
)
4127 class PrintDialog(Dialog
):
4129 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4130 def __init__(self
, *args
, **kwargs
):
4131 """__init__(self, Window parent, PrintDialogData data=None) -> PrintDialog"""
4132 newobj
= _windows_
.new_PrintDialog(*args
, **kwargs
)
4133 self
.this
= newobj
.this
4136 self
._setOORInfo
(self
)
4138 def GetPrintDialogData(*args
, **kwargs
):
4139 """GetPrintDialogData(self) -> PrintDialogData"""
4140 return _windows_
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
4142 def GetPrintDC(*args
, **kwargs
):
4143 """GetPrintDC(self) -> DC"""
4144 return _windows_
.PrintDialog_GetPrintDC(*args
, **kwargs
)
4146 def ShowModal(*args
, **kwargs
):
4147 """ShowModal(self) -> int"""
4148 return _windows_
.PrintDialog_ShowModal(*args
, **kwargs
)
4151 class PrintDialogPtr(PrintDialog
):
4152 def __init__(self
, this
):
4154 if not hasattr(self
,"thisown"): self
.thisown
= 0
4155 self
.__class
__ = PrintDialog
4156 _windows_
.PrintDialog_swigregister(PrintDialogPtr
)
4158 PRINTER_NO_ERROR
= _windows_
.PRINTER_NO_ERROR
4159 PRINTER_CANCELLED
= _windows_
.PRINTER_CANCELLED
4160 PRINTER_ERROR
= _windows_
.PRINTER_ERROR
4161 class Printer(_core
.Object
):
4163 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4164 def __init__(self
, *args
, **kwargs
):
4165 """__init__(self, PrintDialogData data=None) -> Printer"""
4166 newobj
= _windows_
.new_Printer(*args
, **kwargs
)
4167 self
.this
= newobj
.this
4170 def __del__(self
, destroy
=_windows_
.delete_Printer
):
4173 if self
.thisown
: destroy(self
)
4176 def CreateAbortWindow(*args
, **kwargs
):
4177 """CreateAbortWindow(self, Window parent, Printout printout)"""
4178 return _windows_
.Printer_CreateAbortWindow(*args
, **kwargs
)
4180 def GetPrintDialogData(*args
, **kwargs
):
4181 """GetPrintDialogData(self) -> PrintDialogData"""
4182 return _windows_
.Printer_GetPrintDialogData(*args
, **kwargs
)
4184 def Print(*args
, **kwargs
):
4185 """Print(self, Window parent, Printout printout, int prompt=True) -> bool"""
4186 return _windows_
.Printer_Print(*args
, **kwargs
)
4188 def PrintDialog(*args
, **kwargs
):
4189 """PrintDialog(self, Window parent) -> DC"""
4190 return _windows_
.Printer_PrintDialog(*args
, **kwargs
)
4192 def ReportError(*args
, **kwargs
):
4193 """ReportError(self, Window parent, Printout printout, String message)"""
4194 return _windows_
.Printer_ReportError(*args
, **kwargs
)
4196 def Setup(*args
, **kwargs
):
4197 """Setup(self, Window parent) -> bool"""
4198 return _windows_
.Printer_Setup(*args
, **kwargs
)
4200 def GetAbort(*args
, **kwargs
):
4201 """GetAbort(self) -> bool"""
4202 return _windows_
.Printer_GetAbort(*args
, **kwargs
)
4204 def GetLastError(*args
, **kwargs
):
4205 """GetLastError() -> int"""
4206 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4208 GetLastError
= staticmethod(GetLastError
)
4210 class PrinterPtr(Printer
):
4211 def __init__(self
, this
):
4213 if not hasattr(self
,"thisown"): self
.thisown
= 0
4214 self
.__class
__ = Printer
4215 _windows_
.Printer_swigregister(PrinterPtr
)
4217 def Printer_GetLastError(*args
, **kwargs
):
4218 """Printer_GetLastError() -> int"""
4219 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4221 class Printout(_core
.Object
):
4223 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4224 def __init__(self
, *args
, **kwargs
):
4225 """__init__(self, String title=PrintoutTitleStr) -> Printout"""
4226 newobj
= _windows_
.new_Printout(*args
, **kwargs
)
4227 self
.this
= newobj
.this
4230 self
._setCallbackInfo
(self
, Printout
)
4232 def _setCallbackInfo(*args
, **kwargs
):
4233 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4234 return _windows_
.Printout__setCallbackInfo(*args
, **kwargs
)
4236 def GetTitle(*args
, **kwargs
):
4237 """GetTitle(self) -> String"""
4238 return _windows_
.Printout_GetTitle(*args
, **kwargs
)
4240 def GetDC(*args
, **kwargs
):
4241 """GetDC(self) -> DC"""
4242 return _windows_
.Printout_GetDC(*args
, **kwargs
)
4244 def SetDC(*args
, **kwargs
):
4245 """SetDC(self, DC dc)"""
4246 return _windows_
.Printout_SetDC(*args
, **kwargs
)
4248 def SetPageSizePixels(*args
, **kwargs
):
4249 """SetPageSizePixels(self, int w, int h)"""
4250 return _windows_
.Printout_SetPageSizePixels(*args
, **kwargs
)
4252 def GetPageSizePixels(*args
, **kwargs
):
4253 """GetPageSizePixels() -> (w, h)"""
4254 return _windows_
.Printout_GetPageSizePixels(*args
, **kwargs
)
4256 def SetPageSizeMM(*args
, **kwargs
):
4257 """SetPageSizeMM(self, int w, int h)"""
4258 return _windows_
.Printout_SetPageSizeMM(*args
, **kwargs
)
4260 def GetPageSizeMM(*args
, **kwargs
):
4261 """GetPageSizeMM() -> (w, h)"""
4262 return _windows_
.Printout_GetPageSizeMM(*args
, **kwargs
)
4264 def SetPPIScreen(*args
, **kwargs
):
4265 """SetPPIScreen(self, int x, int y)"""
4266 return _windows_
.Printout_SetPPIScreen(*args
, **kwargs
)
4268 def GetPPIScreen(*args
, **kwargs
):
4269 """GetPPIScreen() -> (x,y)"""
4270 return _windows_
.Printout_GetPPIScreen(*args
, **kwargs
)
4272 def SetPPIPrinter(*args
, **kwargs
):
4273 """SetPPIPrinter(self, int x, int y)"""
4274 return _windows_
.Printout_SetPPIPrinter(*args
, **kwargs
)
4276 def GetPPIPrinter(*args
, **kwargs
):
4277 """GetPPIPrinter() -> (x,y)"""
4278 return _windows_
.Printout_GetPPIPrinter(*args
, **kwargs
)
4280 def IsPreview(*args
, **kwargs
):
4281 """IsPreview(self) -> bool"""
4282 return _windows_
.Printout_IsPreview(*args
, **kwargs
)
4284 def SetIsPreview(*args
, **kwargs
):
4285 """SetIsPreview(self, bool p)"""
4286 return _windows_
.Printout_SetIsPreview(*args
, **kwargs
)
4288 def base_OnBeginDocument(*args
, **kwargs
):
4289 """base_OnBeginDocument(self, int startPage, int endPage) -> bool"""
4290 return _windows_
.Printout_base_OnBeginDocument(*args
, **kwargs
)
4292 def base_OnEndDocument(*args
, **kwargs
):
4293 """base_OnEndDocument(self)"""
4294 return _windows_
.Printout_base_OnEndDocument(*args
, **kwargs
)
4296 def base_OnBeginPrinting(*args
, **kwargs
):
4297 """base_OnBeginPrinting(self)"""
4298 return _windows_
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
4300 def base_OnEndPrinting(*args
, **kwargs
):
4301 """base_OnEndPrinting(self)"""
4302 return _windows_
.Printout_base_OnEndPrinting(*args
, **kwargs
)
4304 def base_OnPreparePrinting(*args
, **kwargs
):
4305 """base_OnPreparePrinting(self)"""
4306 return _windows_
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
4308 def base_HasPage(*args
, **kwargs
):
4309 """base_HasPage(self, int page) -> bool"""
4310 return _windows_
.Printout_base_HasPage(*args
, **kwargs
)
4312 def base_GetPageInfo(*args
, **kwargs
):
4313 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
4314 return _windows_
.Printout_base_GetPageInfo(*args
, **kwargs
)
4317 class PrintoutPtr(Printout
):
4318 def __init__(self
, this
):
4320 if not hasattr(self
,"thisown"): self
.thisown
= 0
4321 self
.__class
__ = Printout
4322 _windows_
.Printout_swigregister(PrintoutPtr
)
4324 class PreviewCanvas(ScrolledWindow
):
4326 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4327 def __init__(self
, *args
, **kwargs
):
4329 __init__(self, PrintPreview preview, Window parent, Point pos=DefaultPosition,
4330 Size size=DefaultSize, long style=0,
4331 String name=PreviewCanvasNameStr) -> PreviewCanvas
4333 newobj
= _windows_
.new_PreviewCanvas(*args
, **kwargs
)
4334 self
.this
= newobj
.this
4337 self
._setOORInfo
(self
)
4340 class PreviewCanvasPtr(PreviewCanvas
):
4341 def __init__(self
, this
):
4343 if not hasattr(self
,"thisown"): self
.thisown
= 0
4344 self
.__class
__ = PreviewCanvas
4345 _windows_
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
4347 class PreviewFrame(Frame
):
4349 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4350 def __init__(self
, *args
, **kwargs
):
4352 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4353 Size size=DefaultSize,
4354 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
4356 newobj
= _windows_
.new_PreviewFrame(*args
, **kwargs
)
4357 self
.this
= newobj
.this
4360 self
._setOORInfo
(self
)
4362 def Initialize(*args
, **kwargs
):
4363 """Initialize(self)"""
4364 return _windows_
.PreviewFrame_Initialize(*args
, **kwargs
)
4366 def CreateControlBar(*args
, **kwargs
):
4367 """CreateControlBar(self)"""
4368 return _windows_
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
4370 def CreateCanvas(*args
, **kwargs
):
4371 """CreateCanvas(self)"""
4372 return _windows_
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
4374 def GetControlBar(*args
, **kwargs
):
4375 """GetControlBar(self) -> PreviewControlBar"""
4376 return _windows_
.PreviewFrame_GetControlBar(*args
, **kwargs
)
4379 class PreviewFramePtr(PreviewFrame
):
4380 def __init__(self
, this
):
4382 if not hasattr(self
,"thisown"): self
.thisown
= 0
4383 self
.__class
__ = PreviewFrame
4384 _windows_
.PreviewFrame_swigregister(PreviewFramePtr
)
4386 PREVIEW_PRINT
= _windows_
.PREVIEW_PRINT
4387 PREVIEW_PREVIOUS
= _windows_
.PREVIEW_PREVIOUS
4388 PREVIEW_NEXT
= _windows_
.PREVIEW_NEXT
4389 PREVIEW_ZOOM
= _windows_
.PREVIEW_ZOOM
4390 PREVIEW_FIRST
= _windows_
.PREVIEW_FIRST
4391 PREVIEW_LAST
= _windows_
.PREVIEW_LAST
4392 PREVIEW_GOTO
= _windows_
.PREVIEW_GOTO
4393 PREVIEW_DEFAULT
= _windows_
.PREVIEW_DEFAULT
4394 ID_PREVIEW_CLOSE
= _windows_
.ID_PREVIEW_CLOSE
4395 ID_PREVIEW_NEXT
= _windows_
.ID_PREVIEW_NEXT
4396 ID_PREVIEW_PREVIOUS
= _windows_
.ID_PREVIEW_PREVIOUS
4397 ID_PREVIEW_PRINT
= _windows_
.ID_PREVIEW_PRINT
4398 ID_PREVIEW_ZOOM
= _windows_
.ID_PREVIEW_ZOOM
4399 ID_PREVIEW_FIRST
= _windows_
.ID_PREVIEW_FIRST
4400 ID_PREVIEW_LAST
= _windows_
.ID_PREVIEW_LAST
4401 ID_PREVIEW_GOTO
= _windows_
.ID_PREVIEW_GOTO
4402 class PreviewControlBar(Panel
):
4404 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4405 def __init__(self
, *args
, **kwargs
):
4407 __init__(self, PrintPreview preview, long buttons, Window parent,
4408 Point pos=DefaultPosition, Size size=DefaultSize,
4409 long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
4411 newobj
= _windows_
.new_PreviewControlBar(*args
, **kwargs
)
4412 self
.this
= newobj
.this
4415 self
._setOORInfo
(self
)
4417 def GetZoomControl(*args
, **kwargs
):
4418 """GetZoomControl(self) -> int"""
4419 return _windows_
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
4421 def SetZoomControl(*args
, **kwargs
):
4422 """SetZoomControl(self, int zoom)"""
4423 return _windows_
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
4425 def GetPrintPreview(*args
, **kwargs
):
4426 """GetPrintPreview(self) -> PrintPreview"""
4427 return _windows_
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
4429 def OnNext(*args
, **kwargs
):
4431 return _windows_
.PreviewControlBar_OnNext(*args
, **kwargs
)
4433 def OnPrevious(*args
, **kwargs
):
4434 """OnPrevious(self)"""
4435 return _windows_
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
4437 def OnFirst(*args
, **kwargs
):
4439 return _windows_
.PreviewControlBar_OnFirst(*args
, **kwargs
)
4441 def OnLast(*args
, **kwargs
):
4443 return _windows_
.PreviewControlBar_OnLast(*args
, **kwargs
)
4445 def OnGoto(*args
, **kwargs
):
4447 return _windows_
.PreviewControlBar_OnGoto(*args
, **kwargs
)
4450 class PreviewControlBarPtr(PreviewControlBar
):
4451 def __init__(self
, this
):
4453 if not hasattr(self
,"thisown"): self
.thisown
= 0
4454 self
.__class
__ = PreviewControlBar
4455 _windows_
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
4457 class PrintPreview(_core
.Object
):
4459 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4460 def __init__(self
, *args
):
4462 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview
4463 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview
4465 newobj
= _windows_
.new_PrintPreview(*args
)
4466 self
.this
= newobj
.this
4469 def SetCurrentPage(*args
, **kwargs
):
4470 """SetCurrentPage(self, int pageNum) -> bool"""
4471 return _windows_
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
4473 def GetCurrentPage(*args
, **kwargs
):
4474 """GetCurrentPage(self) -> int"""
4475 return _windows_
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
4477 def SetPrintout(*args
, **kwargs
):
4478 """SetPrintout(self, Printout printout)"""
4479 return _windows_
.PrintPreview_SetPrintout(*args
, **kwargs
)
4481 def GetPrintout(*args
, **kwargs
):
4482 """GetPrintout(self) -> Printout"""
4483 return _windows_
.PrintPreview_GetPrintout(*args
, **kwargs
)
4485 def GetPrintoutForPrinting(*args
, **kwargs
):
4486 """GetPrintoutForPrinting(self) -> Printout"""
4487 return _windows_
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
4489 def SetFrame(*args
, **kwargs
):
4490 """SetFrame(self, Frame frame)"""
4491 return _windows_
.PrintPreview_SetFrame(*args
, **kwargs
)
4493 def SetCanvas(*args
, **kwargs
):
4494 """SetCanvas(self, PreviewCanvas canvas)"""
4495 return _windows_
.PrintPreview_SetCanvas(*args
, **kwargs
)
4497 def GetFrame(*args
, **kwargs
):
4498 """GetFrame(self) -> Frame"""
4499 return _windows_
.PrintPreview_GetFrame(*args
, **kwargs
)
4501 def GetCanvas(*args
, **kwargs
):
4502 """GetCanvas(self) -> PreviewCanvas"""
4503 return _windows_
.PrintPreview_GetCanvas(*args
, **kwargs
)
4505 def PaintPage(*args
, **kwargs
):
4506 """PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4507 return _windows_
.PrintPreview_PaintPage(*args
, **kwargs
)
4509 def DrawBlankPage(*args
, **kwargs
):
4510 """DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4511 return _windows_
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
4513 def RenderPage(*args
, **kwargs
):
4514 """RenderPage(self, int pageNum) -> bool"""
4515 return _windows_
.PrintPreview_RenderPage(*args
, **kwargs
)
4517 def AdjustScrollbars(*args
, **kwargs
):
4518 """AdjustScrollbars(self, PreviewCanvas canvas)"""
4519 return _windows_
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
4521 def GetPrintDialogData(*args
, **kwargs
):
4522 """GetPrintDialogData(self) -> PrintDialogData"""
4523 return _windows_
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
4525 def SetZoom(*args
, **kwargs
):
4526 """SetZoom(self, int percent)"""
4527 return _windows_
.PrintPreview_SetZoom(*args
, **kwargs
)
4529 def GetZoom(*args
, **kwargs
):
4530 """GetZoom(self) -> int"""
4531 return _windows_
.PrintPreview_GetZoom(*args
, **kwargs
)
4533 def GetMaxPage(*args
, **kwargs
):
4534 """GetMaxPage(self) -> int"""
4535 return _windows_
.PrintPreview_GetMaxPage(*args
, **kwargs
)
4537 def GetMinPage(*args
, **kwargs
):
4538 """GetMinPage(self) -> int"""
4539 return _windows_
.PrintPreview_GetMinPage(*args
, **kwargs
)
4541 def Ok(*args
, **kwargs
):
4542 """Ok(self) -> bool"""
4543 return _windows_
.PrintPreview_Ok(*args
, **kwargs
)
4545 def SetOk(*args
, **kwargs
):
4546 """SetOk(self, bool ok)"""
4547 return _windows_
.PrintPreview_SetOk(*args
, **kwargs
)
4549 def Print(*args
, **kwargs
):
4550 """Print(self, bool interactive) -> bool"""
4551 return _windows_
.PrintPreview_Print(*args
, **kwargs
)
4553 def DetermineScaling(*args
, **kwargs
):
4554 """DetermineScaling(self)"""
4555 return _windows_
.PrintPreview_DetermineScaling(*args
, **kwargs
)
4557 def __nonzero__(self
): return self
.Ok()
4559 class PrintPreviewPtr(PrintPreview
):
4560 def __init__(self
, this
):
4562 if not hasattr(self
,"thisown"): self
.thisown
= 0
4563 self
.__class
__ = PrintPreview
4564 _windows_
.PrintPreview_swigregister(PrintPreviewPtr
)
4566 class PyPrintPreview(PrintPreview
):
4568 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4569 def __init__(self
, *args
):
4571 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview
4572 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview
4574 newobj
= _windows_
.new_PyPrintPreview(*args
)
4575 self
.this
= newobj
.this
4578 self
._setCallbackInfo
(self
, PyPrintPreview
)
4580 def _setCallbackInfo(*args
, **kwargs
):
4581 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4582 return _windows_
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
4584 def base_SetCurrentPage(*args
, **kwargs
):
4585 """base_SetCurrentPage(self, int pageNum) -> bool"""
4586 return _windows_
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
4588 def base_PaintPage(*args
, **kwargs
):
4589 """base_PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4590 return _windows_
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
4592 def base_DrawBlankPage(*args
, **kwargs
):
4593 """base_DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4594 return _windows_
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
4596 def base_RenderPage(*args
, **kwargs
):
4597 """base_RenderPage(self, int pageNum) -> bool"""
4598 return _windows_
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
4600 def base_SetZoom(*args
, **kwargs
):
4601 """base_SetZoom(self, int percent)"""
4602 return _windows_
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
4604 def base_Print(*args
, **kwargs
):
4605 """base_Print(self, bool interactive) -> bool"""
4606 return _windows_
.PyPrintPreview_base_Print(*args
, **kwargs
)
4608 def base_DetermineScaling(*args
, **kwargs
):
4609 """base_DetermineScaling(self)"""
4610 return _windows_
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
4613 class PyPrintPreviewPtr(PyPrintPreview
):
4614 def __init__(self
, this
):
4616 if not hasattr(self
,"thisown"): self
.thisown
= 0
4617 self
.__class
__ = PyPrintPreview
4618 _windows_
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
4620 class PyPreviewFrame(PreviewFrame
):
4622 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4623 def __init__(self
, *args
, **kwargs
):
4625 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4626 Size size=DefaultSize,
4627 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
4629 newobj
= _windows_
.new_PyPreviewFrame(*args
, **kwargs
)
4630 self
.this
= newobj
.this
4633 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
4635 def _setCallbackInfo(*args
, **kwargs
):
4636 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4637 return _windows_
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
4639 def SetPreviewCanvas(*args
, **kwargs
):
4640 """SetPreviewCanvas(self, PreviewCanvas canvas)"""
4641 return _windows_
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
4643 def SetControlBar(*args
, **kwargs
):
4644 """SetControlBar(self, PreviewControlBar bar)"""
4645 return _windows_
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
4647 def base_Initialize(*args
, **kwargs
):
4648 """base_Initialize(self)"""
4649 return _windows_
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
4651 def base_CreateCanvas(*args
, **kwargs
):
4652 """base_CreateCanvas(self)"""
4653 return _windows_
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
4655 def base_CreateControlBar(*args
, **kwargs
):
4656 """base_CreateControlBar(self)"""
4657 return _windows_
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
4660 class PyPreviewFramePtr(PyPreviewFrame
):
4661 def __init__(self
, this
):
4663 if not hasattr(self
,"thisown"): self
.thisown
= 0
4664 self
.__class
__ = PyPreviewFrame
4665 _windows_
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
4667 class PyPreviewControlBar(PreviewControlBar
):
4669 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4670 def __init__(self
, *args
, **kwargs
):
4672 __init__(self, PrintPreview preview, long buttons, Window parent,
4673 Point pos=DefaultPosition, Size size=DefaultSize,
4674 long style=0, String name=PanelNameStr) -> PyPreviewControlBar
4676 newobj
= _windows_
.new_PyPreviewControlBar(*args
, **kwargs
)
4677 self
.this
= newobj
.this
4680 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
4682 def _setCallbackInfo(*args
, **kwargs
):
4683 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4684 return _windows_
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
4686 def SetPrintPreview(*args
, **kwargs
):
4687 """SetPrintPreview(self, PrintPreview preview)"""
4688 return _windows_
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
4690 def base_CreateButtons(*args
, **kwargs
):
4691 """base_CreateButtons(self)"""
4692 return _windows_
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
4694 def base_SetZoomControl(*args
, **kwargs
):
4695 """base_SetZoomControl(self, int zoom)"""
4696 return _windows_
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
4699 class PyPreviewControlBarPtr(PyPreviewControlBar
):
4700 def __init__(self
, this
):
4702 if not hasattr(self
,"thisown"): self
.thisown
= 0
4703 self
.__class
__ = PyPreviewControlBar
4704 _windows_
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)