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
)
294 def MacSetMetalAppearance(*args
, **kwargs
):
295 """MacSetMetalAppearance(self, bool on)"""
296 return _windows_
.TopLevelWindow_MacSetMetalAppearance(*args
, **kwargs
)
298 def MacGetMetalAppearance(*args
, **kwargs
):
299 """MacGetMetalAppearance(self) -> bool"""
300 return _windows_
.TopLevelWindow_MacGetMetalAppearance(*args
, **kwargs
)
303 class TopLevelWindowPtr(TopLevelWindow
):
304 def __init__(self
, this
):
306 if not hasattr(self
,"thisown"): self
.thisown
= 0
307 self
.__class
__ = TopLevelWindow
308 _windows_
.TopLevelWindow_swigregister(TopLevelWindowPtr
)
309 cvar
= _windows_
.cvar
310 FrameNameStr
= cvar
.FrameNameStr
311 DialogNameStr
= cvar
.DialogNameStr
312 StatusLineNameStr
= cvar
.StatusLineNameStr
313 ToolBarNameStr
= cvar
.ToolBarNameStr
315 #---------------------------------------------------------------------------
317 class Frame(TopLevelWindow
):
319 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
320 def __init__(self
, *args
, **kwargs
):
322 __init__(self, Window parent, int id, String title, Point pos=DefaultPosition,
323 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
324 String name=FrameNameStr) -> Frame
326 newobj
= _windows_
.new_Frame(*args
, **kwargs
)
327 self
.this
= newobj
.this
330 self
._setOORInfo
(self
)
332 def Create(*args
, **kwargs
):
334 Create(self, Window parent, int id, String title, Point pos=DefaultPosition,
335 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
336 String name=FrameNameStr) -> bool
338 return _windows_
.Frame_Create(*args
, **kwargs
)
340 def GetClientAreaOrigin(*args
, **kwargs
):
342 GetClientAreaOrigin(self) -> Point
344 Get the origin of the client area of the window relative to the
345 window's top left corner (the client area may be shifted because of
346 the borders, scrollbars, other decorations...)
348 return _windows_
.Frame_GetClientAreaOrigin(*args
, **kwargs
)
350 def SendSizeEvent(*args
, **kwargs
):
351 """SendSizeEvent(self)"""
352 return _windows_
.Frame_SendSizeEvent(*args
, **kwargs
)
354 def SetMenuBar(*args
, **kwargs
):
355 """SetMenuBar(self, MenuBar menubar)"""
356 return _windows_
.Frame_SetMenuBar(*args
, **kwargs
)
358 def GetMenuBar(*args
, **kwargs
):
359 """GetMenuBar(self) -> MenuBar"""
360 return _windows_
.Frame_GetMenuBar(*args
, **kwargs
)
362 def ProcessCommand(*args
, **kwargs
):
363 """ProcessCommand(self, int winid) -> bool"""
364 return _windows_
.Frame_ProcessCommand(*args
, **kwargs
)
366 Command
= ProcessCommand
367 def CreateStatusBar(*args
, **kwargs
):
369 CreateStatusBar(self, int number=1, long style=ST_SIZEGRIP, int winid=0,
370 String name=StatusLineNameStr) -> StatusBar
372 return _windows_
.Frame_CreateStatusBar(*args
, **kwargs
)
374 def GetStatusBar(*args
, **kwargs
):
375 """GetStatusBar(self) -> StatusBar"""
376 return _windows_
.Frame_GetStatusBar(*args
, **kwargs
)
378 def SetStatusBar(*args
, **kwargs
):
379 """SetStatusBar(self, StatusBar statBar)"""
380 return _windows_
.Frame_SetStatusBar(*args
, **kwargs
)
382 def SetStatusText(*args
, **kwargs
):
383 """SetStatusText(self, String text, int number=0)"""
384 return _windows_
.Frame_SetStatusText(*args
, **kwargs
)
386 def SetStatusWidths(*args
, **kwargs
):
387 """SetStatusWidths(self, int widths, int widths_field)"""
388 return _windows_
.Frame_SetStatusWidths(*args
, **kwargs
)
390 def PushStatusText(*args
, **kwargs
):
391 """PushStatusText(self, String text, int number=0)"""
392 return _windows_
.Frame_PushStatusText(*args
, **kwargs
)
394 def PopStatusText(*args
, **kwargs
):
395 """PopStatusText(self, int number=0)"""
396 return _windows_
.Frame_PopStatusText(*args
, **kwargs
)
398 def SetStatusBarPane(*args
, **kwargs
):
399 """SetStatusBarPane(self, int n)"""
400 return _windows_
.Frame_SetStatusBarPane(*args
, **kwargs
)
402 def GetStatusBarPane(*args
, **kwargs
):
403 """GetStatusBarPane(self) -> int"""
404 return _windows_
.Frame_GetStatusBarPane(*args
, **kwargs
)
406 def CreateToolBar(*args
, **kwargs
):
407 """CreateToolBar(self, long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar"""
408 return _windows_
.Frame_CreateToolBar(*args
, **kwargs
)
410 def GetToolBar(*args
, **kwargs
):
411 """GetToolBar(self) -> wxToolBar"""
412 return _windows_
.Frame_GetToolBar(*args
, **kwargs
)
414 def SetToolBar(*args
, **kwargs
):
415 """SetToolBar(self, wxToolBar toolbar)"""
416 return _windows_
.Frame_SetToolBar(*args
, **kwargs
)
418 def DoGiveHelp(*args
, **kwargs
):
419 """DoGiveHelp(self, String text, bool show)"""
420 return _windows_
.Frame_DoGiveHelp(*args
, **kwargs
)
422 def DoMenuUpdates(*args
, **kwargs
):
423 """DoMenuUpdates(self, Menu menu=None)"""
424 return _windows_
.Frame_DoMenuUpdates(*args
, **kwargs
)
427 class FramePtr(Frame
):
428 def __init__(self
, this
):
430 if not hasattr(self
,"thisown"): self
.thisown
= 0
431 self
.__class
__ = Frame
432 _windows_
.Frame_swigregister(FramePtr
)
434 def PreFrame(*args
, **kwargs
):
435 """PreFrame() -> Frame"""
436 val
= _windows_
.new_PreFrame(*args
, **kwargs
)
440 #---------------------------------------------------------------------------
442 class Dialog(TopLevelWindow
):
444 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
445 def __init__(self
, *args
, **kwargs
):
447 __init__(self, Window parent, int id, String title, Point pos=DefaultPosition,
448 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
449 String name=DialogNameStr) -> Dialog
451 newobj
= _windows_
.new_Dialog(*args
, **kwargs
)
452 self
.this
= newobj
.this
455 self
._setOORInfo
(self
)
457 def Create(*args
, **kwargs
):
459 Create(self, Window parent, int id, String title, Point pos=DefaultPosition,
460 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
461 String name=DialogNameStr) -> bool
463 return _windows_
.Dialog_Create(*args
, **kwargs
)
465 def SetReturnCode(*args
, **kwargs
):
466 """SetReturnCode(self, int returnCode)"""
467 return _windows_
.Dialog_SetReturnCode(*args
, **kwargs
)
469 def GetReturnCode(*args
, **kwargs
):
470 """GetReturnCode(self) -> int"""
471 return _windows_
.Dialog_GetReturnCode(*args
, **kwargs
)
473 def CreateTextSizer(*args
, **kwargs
):
474 """CreateTextSizer(self, String message) -> Sizer"""
475 return _windows_
.Dialog_CreateTextSizer(*args
, **kwargs
)
477 def CreateButtonSizer(*args
, **kwargs
):
478 """CreateButtonSizer(self, long flags) -> Sizer"""
479 return _windows_
.Dialog_CreateButtonSizer(*args
, **kwargs
)
481 def IsModal(*args
, **kwargs
):
482 """IsModal(self) -> bool"""
483 return _windows_
.Dialog_IsModal(*args
, **kwargs
)
485 def ShowModal(*args
, **kwargs
):
486 """ShowModal(self) -> int"""
487 return _windows_
.Dialog_ShowModal(*args
, **kwargs
)
489 def EndModal(*args
, **kwargs
):
490 """EndModal(self, int retCode)"""
491 return _windows_
.Dialog_EndModal(*args
, **kwargs
)
494 class DialogPtr(Dialog
):
495 def __init__(self
, this
):
497 if not hasattr(self
,"thisown"): self
.thisown
= 0
498 self
.__class
__ = Dialog
499 _windows_
.Dialog_swigregister(DialogPtr
)
501 def PreDialog(*args
, **kwargs
):
502 """PreDialog() -> Dialog"""
503 val
= _windows_
.new_PreDialog(*args
, **kwargs
)
507 #---------------------------------------------------------------------------
509 class MiniFrame(Frame
):
511 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
512 def __init__(self
, *args
, **kwargs
):
514 __init__(self, Window parent, int id, String title, Point pos=DefaultPosition,
515 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
516 String name=FrameNameStr) -> MiniFrame
518 newobj
= _windows_
.new_MiniFrame(*args
, **kwargs
)
519 self
.this
= newobj
.this
522 self
._setOORInfo
(self
)
524 def Create(*args
, **kwargs
):
526 Create(self, Window parent, int id, String title, Point pos=DefaultPosition,
527 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
528 String name=FrameNameStr) -> bool
530 return _windows_
.MiniFrame_Create(*args
, **kwargs
)
533 class MiniFramePtr(MiniFrame
):
534 def __init__(self
, this
):
536 if not hasattr(self
,"thisown"): self
.thisown
= 0
537 self
.__class
__ = MiniFrame
538 _windows_
.MiniFrame_swigregister(MiniFramePtr
)
540 def PreMiniFrame(*args
, **kwargs
):
541 """PreMiniFrame() -> MiniFrame"""
542 val
= _windows_
.new_PreMiniFrame(*args
, **kwargs
)
546 #---------------------------------------------------------------------------
548 SPLASH_CENTRE_ON_PARENT
= _windows_
.SPLASH_CENTRE_ON_PARENT
549 SPLASH_CENTRE_ON_SCREEN
= _windows_
.SPLASH_CENTRE_ON_SCREEN
550 SPLASH_NO_CENTRE
= _windows_
.SPLASH_NO_CENTRE
551 SPLASH_TIMEOUT
= _windows_
.SPLASH_TIMEOUT
552 SPLASH_NO_TIMEOUT
= _windows_
.SPLASH_NO_TIMEOUT
553 class SplashScreenWindow(_core
.Window
):
555 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
556 def __init__(self
, *args
, **kwargs
):
558 __init__(self, Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
559 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
561 newobj
= _windows_
.new_SplashScreenWindow(*args
, **kwargs
)
562 self
.this
= newobj
.this
565 self
._setOORInfo
(self
)
567 def SetBitmap(*args
, **kwargs
):
568 """SetBitmap(self, Bitmap bitmap)"""
569 return _windows_
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
571 def GetBitmap(*args
, **kwargs
):
572 """GetBitmap(self) -> Bitmap"""
573 return _windows_
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
576 class SplashScreenWindowPtr(SplashScreenWindow
):
577 def __init__(self
, this
):
579 if not hasattr(self
,"thisown"): self
.thisown
= 0
580 self
.__class
__ = SplashScreenWindow
581 _windows_
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
583 class SplashScreen(Frame
):
585 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
586 def __init__(self
, *args
, **kwargs
):
588 __init__(self, Bitmap bitmap, long splashStyle, int milliseconds,
589 Window parent, int id, Point pos=DefaultPosition,
590 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
592 newobj
= _windows_
.new_SplashScreen(*args
, **kwargs
)
593 self
.this
= newobj
.this
596 self
._setOORInfo
(self
)
598 def GetSplashStyle(*args
, **kwargs
):
599 """GetSplashStyle(self) -> long"""
600 return _windows_
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
602 def GetSplashWindow(*args
, **kwargs
):
603 """GetSplashWindow(self) -> SplashScreenWindow"""
604 return _windows_
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
606 def GetTimeout(*args
, **kwargs
):
607 """GetTimeout(self) -> int"""
608 return _windows_
.SplashScreen_GetTimeout(*args
, **kwargs
)
611 class SplashScreenPtr(SplashScreen
):
612 def __init__(self
, this
):
614 if not hasattr(self
,"thisown"): self
.thisown
= 0
615 self
.__class
__ = SplashScreen
616 _windows_
.SplashScreen_swigregister(SplashScreenPtr
)
618 #---------------------------------------------------------------------------
620 class StatusBar(_core
.Window
):
622 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
623 def __init__(self
, *args
, **kwargs
):
624 """__init__(self, Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> StatusBar"""
625 newobj
= _windows_
.new_StatusBar(*args
, **kwargs
)
626 self
.this
= newobj
.this
629 self
._setOORInfo
(self
)
631 def Create(*args
, **kwargs
):
632 """Create(self, Window parent, int id, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
633 return _windows_
.StatusBar_Create(*args
, **kwargs
)
635 def SetFieldsCount(*args
, **kwargs
):
636 """SetFieldsCount(self, int number=1)"""
637 return _windows_
.StatusBar_SetFieldsCount(*args
, **kwargs
)
639 def GetFieldsCount(*args
, **kwargs
):
640 """GetFieldsCount(self) -> int"""
641 return _windows_
.StatusBar_GetFieldsCount(*args
, **kwargs
)
643 def SetStatusText(*args
, **kwargs
):
644 """SetStatusText(self, String text, int number=0)"""
645 return _windows_
.StatusBar_SetStatusText(*args
, **kwargs
)
647 def GetStatusText(*args
, **kwargs
):
648 """GetStatusText(self, int number=0) -> String"""
649 return _windows_
.StatusBar_GetStatusText(*args
, **kwargs
)
651 def PushStatusText(*args
, **kwargs
):
652 """PushStatusText(self, String text, int number=0)"""
653 return _windows_
.StatusBar_PushStatusText(*args
, **kwargs
)
655 def PopStatusText(*args
, **kwargs
):
656 """PopStatusText(self, int number=0)"""
657 return _windows_
.StatusBar_PopStatusText(*args
, **kwargs
)
659 def SetStatusWidths(*args
, **kwargs
):
660 """SetStatusWidths(self, int widths, int widths_field)"""
661 return _windows_
.StatusBar_SetStatusWidths(*args
, **kwargs
)
663 def GetFieldRect(*args
, **kwargs
):
664 """GetFieldRect(self, int i) -> Rect"""
665 return _windows_
.StatusBar_GetFieldRect(*args
, **kwargs
)
667 def SetMinHeight(*args
, **kwargs
):
668 """SetMinHeight(self, int height)"""
669 return _windows_
.StatusBar_SetMinHeight(*args
, **kwargs
)
671 def GetBorderX(*args
, **kwargs
):
672 """GetBorderX(self) -> int"""
673 return _windows_
.StatusBar_GetBorderX(*args
, **kwargs
)
675 def GetBorderY(*args
, **kwargs
):
676 """GetBorderY(self) -> int"""
677 return _windows_
.StatusBar_GetBorderY(*args
, **kwargs
)
680 class StatusBarPtr(StatusBar
):
681 def __init__(self
, this
):
683 if not hasattr(self
,"thisown"): self
.thisown
= 0
684 self
.__class
__ = StatusBar
685 _windows_
.StatusBar_swigregister(StatusBarPtr
)
687 def PreStatusBar(*args
, **kwargs
):
688 """PreStatusBar() -> StatusBar"""
689 val
= _windows_
.new_PreStatusBar(*args
, **kwargs
)
693 #---------------------------------------------------------------------------
695 SP_NOBORDER
= _windows_
.SP_NOBORDER
696 SP_NOSASH
= _windows_
.SP_NOSASH
697 SP_PERMIT_UNSPLIT
= _windows_
.SP_PERMIT_UNSPLIT
698 SP_LIVE_UPDATE
= _windows_
.SP_LIVE_UPDATE
699 SP_3DSASH
= _windows_
.SP_3DSASH
700 SP_3DBORDER
= _windows_
.SP_3DBORDER
701 SP_NO_XP_THEME
= _windows_
.SP_NO_XP_THEME
702 SP_BORDER
= _windows_
.SP_BORDER
703 SP_3D
= _windows_
.SP_3D
704 SPLIT_HORIZONTAL
= _windows_
.SPLIT_HORIZONTAL
705 SPLIT_VERTICAL
= _windows_
.SPLIT_VERTICAL
706 SPLIT_DRAG_NONE
= _windows_
.SPLIT_DRAG_NONE
707 SPLIT_DRAG_DRAGGING
= _windows_
.SPLIT_DRAG_DRAGGING
708 SPLIT_DRAG_LEFT_DOWN
= _windows_
.SPLIT_DRAG_LEFT_DOWN
709 class SplitterWindow(_core
.Window
):
711 wx.SplitterWindow manages up to two subwindows or panes,
712 with an optional vertical or horizontal split which can be
713 used with the mouse or programmatically.
717 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
718 def __init__(self
, *args
, **kwargs
):
720 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
721 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
723 Constructor. Creates and shows a SplitterWindow.
725 if kwargs
.has_key('point'): kwargs
['pos'] = kwargs
['point'];del kwargs
['point']
726 newobj
= _windows_
.new_SplitterWindow(*args
, **kwargs
)
727 self
.this
= newobj
.this
730 self
._setOORInfo
(self
)
732 def Create(*args
, **kwargs
):
734 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
735 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool
737 Create the GUI part of the SplitterWindow for the 2-phase create.
739 return _windows_
.SplitterWindow_Create(*args
, **kwargs
)
741 def GetWindow1(*args
, **kwargs
):
743 GetWindow1(self) -> Window
745 Gets the only or left/top pane.
747 return _windows_
.SplitterWindow_GetWindow1(*args
, **kwargs
)
749 def GetWindow2(*args
, **kwargs
):
751 GetWindow2(self) -> Window
753 Gets the right/bottom pane.
755 return _windows_
.SplitterWindow_GetWindow2(*args
, **kwargs
)
757 def SetSplitMode(*args
, **kwargs
):
759 SetSplitMode(self, int mode)
761 Sets the split mode. The mode can be wx.SPLIT_VERTICAL or
762 wx.SPLIT_HORIZONTAL. This only sets the internal variable;
763 does not update the display.
765 return _windows_
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
767 def GetSplitMode(*args
, **kwargs
):
769 GetSplitMode(self) -> int
773 return _windows_
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
775 def Initialize(*args
, **kwargs
):
777 Initialize(self, Window window)
779 Initializes the splitter window to have one pane. This
780 should be called if you wish to initially view only a single
781 pane in the splitter window.
783 return _windows_
.SplitterWindow_Initialize(*args
, **kwargs
)
785 def SplitVertically(*args
, **kwargs
):
787 SplitVertically(self, Window window1, Window window2, int sashPosition=0) -> bool
789 Initializes the left and right panes of the splitter window.
791 window1 The left pane.
792 window2 The right pane.
793 sashPosition The initial position of the sash. If this
794 value is positive, it specifies the size
795 of the left pane. If it is negative, it is
796 absolute value gives the size of the right
797 pane. Finally, specify 0 (default) to
798 choose the default position (half of the
801 Returns True if successful, False otherwise (the window was
804 SplitVertically should be called if you wish to initially
805 view two panes. It can also be called at any subsequent
806 time, but the application should check that the window is
807 not currently split using IsSplit.
809 return _windows_
.SplitterWindow_SplitVertically(*args
, **kwargs
)
811 def SplitHorizontally(*args
, **kwargs
):
813 SplitHorizontally(self, Window window1, Window window2, int sashPosition=0) -> bool
815 Initializes the top and bottom panes of the splitter window.
817 window1 The top pane.
818 window2 The bottom pane.
819 sashPosition The initial position of the sash. If this
820 value is positive, it specifies the size
821 of the upper pane. If it is negative, it
822 is absolute value gives the size of the
823 lower pane. Finally, specify 0 (default)
824 to choose the default position (half of
825 the total window height).
827 Returns True if successful, False otherwise (the window was
830 SplitHorizontally should be called if you wish to initially
831 view two panes. It can also be called at any subsequent
832 time, but the application should check that the window is
833 not currently split using IsSplit.
835 return _windows_
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
837 def Unsplit(*args
, **kwargs
):
839 Unsplit(self, Window toRemove=None) -> bool
841 Unsplits the window. Pass the pane to remove, or None to
842 remove the right or bottom pane. Returns True if
843 successful, False otherwise (the window was not split).
845 This function will not actually delete the pane being
846 removed; it sends EVT_SPLITTER_UNSPLIT which can be handled
847 for the desired behaviour. By default, the pane being
848 removed is only hidden.
850 return _windows_
.SplitterWindow_Unsplit(*args
, **kwargs
)
852 def ReplaceWindow(*args
, **kwargs
):
854 ReplaceWindow(self, Window winOld, Window winNew) -> bool
856 This function replaces one of the windows managed by the
857 SplitterWindow with another one. It is in general better to
858 use it instead of calling Unsplit() and then resplitting the
859 window back because it will provoke much less flicker. It is
860 valid to call this function whether the splitter has two
863 Both parameters should be non-None and winOld must specify
864 one of the windows managed by the splitter. If the
865 parameters are incorrect or the window couldn't be replaced,
866 False is returned. Otherwise the function will return True,
867 but please notice that it will not Destroy the replaced
868 window and you may wish to do it yourself.
870 return _windows_
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
872 def UpdateSize(*args
, **kwargs
):
876 Causes any pending sizing of the sash and child panes to
877 take place immediately.
879 Such resizing normally takes place in idle time, in order to
880 wait for layout to be completed. However, this can cause
881 unacceptable flicker as the panes are resized after the
882 window has been shown. To work around this, you can perform
883 window layout (for example by sending a size event to the
884 parent window), and then call this function, before showing
885 the top-level window.
887 return _windows_
.SplitterWindow_UpdateSize(*args
, **kwargs
)
889 def IsSplit(*args
, **kwargs
):
891 IsSplit(self) -> bool
895 return _windows_
.SplitterWindow_IsSplit(*args
, **kwargs
)
897 def SetSashSize(*args
, **kwargs
):
899 SetSashSize(self, int width)
903 return _windows_
.SplitterWindow_SetSashSize(*args
, **kwargs
)
905 def SetBorderSize(*args
, **kwargs
):
907 SetBorderSize(self, int width)
911 return _windows_
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
913 def GetSashSize(*args
, **kwargs
):
915 GetSashSize(self) -> int
919 return _windows_
.SplitterWindow_GetSashSize(*args
, **kwargs
)
921 def GetBorderSize(*args
, **kwargs
):
923 GetBorderSize(self) -> int
927 return _windows_
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
929 def SetSashPosition(*args
, **kwargs
):
931 SetSashPosition(self, int position, bool redraw=True)
933 Sets the sash position, in pixels. If redraw is Ttrue then
934 the panes are resized and the sash and border are redrawn.
936 return _windows_
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
938 def GetSashPosition(*args
, **kwargs
):
940 GetSashPosition(self) -> int
942 Returns the surrent sash position.
944 return _windows_
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
946 def SetMinimumPaneSize(*args
, **kwargs
):
948 SetMinimumPaneSize(self, int min)
950 Sets the minimum pane size in pixels.
952 The default minimum pane size is zero, which means that
953 either pane can be reduced to zero by dragging the sash,
954 thus removing one of the panes. To prevent this behaviour (and
955 veto out-of-range sash dragging), set a minimum size,
956 for example 20 pixels. If the wx.SP_PERMIT_UNSPLIT style is
957 used when a splitter window is created, the window may be
958 unsplit even if minimum size is non-zero.
960 return _windows_
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
962 def GetMinimumPaneSize(*args
, **kwargs
):
964 GetMinimumPaneSize(self) -> int
966 Gets the minimum pane size in pixels.
968 return _windows_
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
970 def SashHitTest(*args
, **kwargs
):
972 SashHitTest(self, int x, int y, int tolerance=5) -> bool
974 Tests for x, y over the sash
976 return _windows_
.SplitterWindow_SashHitTest(*args
, **kwargs
)
978 def SizeWindows(*args
, **kwargs
):
984 return _windows_
.SplitterWindow_SizeWindows(*args
, **kwargs
)
986 def SetNeedUpdating(*args
, **kwargs
):
987 """SetNeedUpdating(self, bool needUpdating)"""
988 return _windows_
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
990 def GetNeedUpdating(*args
, **kwargs
):
991 """GetNeedUpdating(self) -> bool"""
992 return _windows_
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
995 class SplitterWindowPtr(SplitterWindow
):
996 def __init__(self
, this
):
998 if not hasattr(self
,"thisown"): self
.thisown
= 0
999 self
.__class
__ = SplitterWindow
1000 _windows_
.SplitterWindow_swigregister(SplitterWindowPtr
)
1001 SplitterNameStr
= cvar
.SplitterNameStr
1003 def PreSplitterWindow(*args
, **kwargs
):
1005 PreSplitterWindow() -> SplitterWindow
1007 Precreate a SplitterWindow for 2-phase creation.
1009 val
= _windows_
.new_PreSplitterWindow(*args
, **kwargs
)
1013 class SplitterEvent(_core
.NotifyEvent
):
1014 """This class represents the events generated by a splitter control."""
1016 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1017 def __init__(self
, *args
, **kwargs
):
1019 __init__(self, wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent
1021 This class represents the events generated by a splitter control.
1023 newobj
= _windows_
.new_SplitterEvent(*args
, **kwargs
)
1024 self
.this
= newobj
.this
1027 def SetSashPosition(*args
, **kwargs
):
1029 SetSashPosition(self, int pos)
1031 This funciton is only meaningful during
1032 EVT_SPLITTER_SASH_POS_CHANGING and
1033 EVT_SPLITTER_SASH_POS_CHANGED events. In the case of
1034 _CHANGED events, sets the the new sash position. In the case
1035 of _CHANGING events, sets the new tracking bar position so
1036 visual feedback during dragging will represent that change
1037 that will actually take place. Set to -1 from the event
1038 handler code to prevent repositioning.
1040 return _windows_
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
1042 def GetSashPosition(*args
, **kwargs
):
1044 GetSashPosition(self) -> int
1046 Returns the new sash position while in
1047 EVT_SPLITTER_SASH_POS_CHANGING and
1048 EVT_SPLITTER_SASH_POS_CHANGED events.
1050 return _windows_
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
1052 def GetWindowBeingRemoved(*args
, **kwargs
):
1054 GetWindowBeingRemoved(self) -> Window
1056 Returns a pointer to the window being removed when a
1057 splitter window is unsplit.
1059 return _windows_
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
1061 def GetX(*args
, **kwargs
):
1065 Returns the x coordinate of the double-click point in a
1066 EVT_SPLITTER_DCLICK event.
1068 return _windows_
.SplitterEvent_GetX(*args
, **kwargs
)
1070 def GetY(*args
, **kwargs
):
1074 Returns the y coordinate of the double-click point in a
1075 EVT_SPLITTER_DCLICK event.
1077 return _windows_
.SplitterEvent_GetY(*args
, **kwargs
)
1080 class SplitterEventPtr(SplitterEvent
):
1081 def __init__(self
, this
):
1083 if not hasattr(self
,"thisown"): self
.thisown
= 0
1084 self
.__class
__ = SplitterEvent
1085 _windows_
.SplitterEvent_swigregister(SplitterEventPtr
)
1087 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
1088 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
1089 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows_
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
1090 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows_
.wxEVT_COMMAND_SPLITTER_UNSPLIT
1091 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
1092 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
1093 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
1094 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
1095 EVT_SPLITTER_DCLICK
= EVT_SPLITTER_DOUBLECLICKED
1097 #---------------------------------------------------------------------------
1099 SASH_DRAG_NONE
= _windows_
.SASH_DRAG_NONE
1100 SASH_DRAG_DRAGGING
= _windows_
.SASH_DRAG_DRAGGING
1101 SASH_DRAG_LEFT_DOWN
= _windows_
.SASH_DRAG_LEFT_DOWN
1102 SW_NOBORDER
= _windows_
.SW_NOBORDER
1103 SW_BORDER
= _windows_
.SW_BORDER
1104 SW_3DSASH
= _windows_
.SW_3DSASH
1105 SW_3DBORDER
= _windows_
.SW_3DBORDER
1106 SW_3D
= _windows_
.SW_3D
1107 SASH_TOP
= _windows_
.SASH_TOP
1108 SASH_RIGHT
= _windows_
.SASH_RIGHT
1109 SASH_BOTTOM
= _windows_
.SASH_BOTTOM
1110 SASH_LEFT
= _windows_
.SASH_LEFT
1111 SASH_NONE
= _windows_
.SASH_NONE
1112 class SashWindow(_core
.Window
):
1114 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1115 def __init__(self
, *args
, **kwargs
):
1117 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1118 long style=wxCLIP_CHILDREN|wxSW_3D,
1119 String name=SashNameStr) -> SashWindow
1121 newobj
= _windows_
.new_SashWindow(*args
, **kwargs
)
1122 self
.this
= newobj
.this
1125 self
._setOORInfo
(self
)
1127 def Create(*args
, **kwargs
):
1129 Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1130 long style=wxCLIP_CHILDREN|wxSW_3D,
1131 String name=SashNameStr) -> bool
1133 return _windows_
.SashWindow_Create(*args
, **kwargs
)
1135 def SetSashVisible(*args
, **kwargs
):
1136 """SetSashVisible(self, int edge, bool sash)"""
1137 return _windows_
.SashWindow_SetSashVisible(*args
, **kwargs
)
1139 def GetSashVisible(*args
, **kwargs
):
1140 """GetSashVisible(self, int edge) -> bool"""
1141 return _windows_
.SashWindow_GetSashVisible(*args
, **kwargs
)
1143 def SetSashBorder(*args
, **kwargs
):
1144 """SetSashBorder(self, int edge, bool border)"""
1145 return _windows_
.SashWindow_SetSashBorder(*args
, **kwargs
)
1147 def HasBorder(*args
, **kwargs
):
1148 """HasBorder(self, int edge) -> bool"""
1149 return _windows_
.SashWindow_HasBorder(*args
, **kwargs
)
1151 def GetEdgeMargin(*args
, **kwargs
):
1152 """GetEdgeMargin(self, int edge) -> int"""
1153 return _windows_
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
1155 def SetDefaultBorderSize(*args
, **kwargs
):
1156 """SetDefaultBorderSize(self, int width)"""
1157 return _windows_
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
1159 def GetDefaultBorderSize(*args
, **kwargs
):
1160 """GetDefaultBorderSize(self) -> int"""
1161 return _windows_
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
1163 def SetExtraBorderSize(*args
, **kwargs
):
1164 """SetExtraBorderSize(self, int width)"""
1165 return _windows_
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
1167 def GetExtraBorderSize(*args
, **kwargs
):
1168 """GetExtraBorderSize(self) -> int"""
1169 return _windows_
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
1171 def SetMinimumSizeX(*args
, **kwargs
):
1172 """SetMinimumSizeX(self, int min)"""
1173 return _windows_
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
1175 def SetMinimumSizeY(*args
, **kwargs
):
1176 """SetMinimumSizeY(self, int min)"""
1177 return _windows_
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
1179 def GetMinimumSizeX(*args
, **kwargs
):
1180 """GetMinimumSizeX(self) -> int"""
1181 return _windows_
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
1183 def GetMinimumSizeY(*args
, **kwargs
):
1184 """GetMinimumSizeY(self) -> int"""
1185 return _windows_
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
1187 def SetMaximumSizeX(*args
, **kwargs
):
1188 """SetMaximumSizeX(self, int max)"""
1189 return _windows_
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
1191 def SetMaximumSizeY(*args
, **kwargs
):
1192 """SetMaximumSizeY(self, int max)"""
1193 return _windows_
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
1195 def GetMaximumSizeX(*args
, **kwargs
):
1196 """GetMaximumSizeX(self) -> int"""
1197 return _windows_
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
1199 def GetMaximumSizeY(*args
, **kwargs
):
1200 """GetMaximumSizeY(self) -> int"""
1201 return _windows_
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
1203 def SashHitTest(*args
, **kwargs
):
1204 """SashHitTest(self, int x, int y, int tolerance=2) -> int"""
1205 return _windows_
.SashWindow_SashHitTest(*args
, **kwargs
)
1207 def SizeWindows(*args
, **kwargs
):
1208 """SizeWindows(self)"""
1209 return _windows_
.SashWindow_SizeWindows(*args
, **kwargs
)
1212 class SashWindowPtr(SashWindow
):
1213 def __init__(self
, this
):
1215 if not hasattr(self
,"thisown"): self
.thisown
= 0
1216 self
.__class
__ = SashWindow
1217 _windows_
.SashWindow_swigregister(SashWindowPtr
)
1218 SashNameStr
= cvar
.SashNameStr
1219 SashLayoutNameStr
= cvar
.SashLayoutNameStr
1221 def PreSashWindow(*args
, **kwargs
):
1222 """PreSashWindow() -> SashWindow"""
1223 val
= _windows_
.new_PreSashWindow(*args
, **kwargs
)
1227 SASH_STATUS_OK
= _windows_
.SASH_STATUS_OK
1228 SASH_STATUS_OUT_OF_RANGE
= _windows_
.SASH_STATUS_OUT_OF_RANGE
1229 class SashEvent(_core
.CommandEvent
):
1231 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1232 def __init__(self
, *args
, **kwargs
):
1233 """__init__(self, int id=0, int edge=SASH_NONE) -> SashEvent"""
1234 newobj
= _windows_
.new_SashEvent(*args
, **kwargs
)
1235 self
.this
= newobj
.this
1238 def SetEdge(*args
, **kwargs
):
1239 """SetEdge(self, int edge)"""
1240 return _windows_
.SashEvent_SetEdge(*args
, **kwargs
)
1242 def GetEdge(*args
, **kwargs
):
1243 """GetEdge(self) -> int"""
1244 return _windows_
.SashEvent_GetEdge(*args
, **kwargs
)
1246 def SetDragRect(*args
, **kwargs
):
1247 """SetDragRect(self, Rect rect)"""
1248 return _windows_
.SashEvent_SetDragRect(*args
, **kwargs
)
1250 def GetDragRect(*args
, **kwargs
):
1251 """GetDragRect(self) -> Rect"""
1252 return _windows_
.SashEvent_GetDragRect(*args
, **kwargs
)
1254 def SetDragStatus(*args
, **kwargs
):
1255 """SetDragStatus(self, int status)"""
1256 return _windows_
.SashEvent_SetDragStatus(*args
, **kwargs
)
1258 def GetDragStatus(*args
, **kwargs
):
1259 """GetDragStatus(self) -> int"""
1260 return _windows_
.SashEvent_GetDragStatus(*args
, **kwargs
)
1263 class SashEventPtr(SashEvent
):
1264 def __init__(self
, this
):
1266 if not hasattr(self
,"thisown"): self
.thisown
= 0
1267 self
.__class
__ = SashEvent
1268 _windows_
.SashEvent_swigregister(SashEventPtr
)
1270 wxEVT_SASH_DRAGGED
= _windows_
.wxEVT_SASH_DRAGGED
1271 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
1272 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
1274 #---------------------------------------------------------------------------
1276 LAYOUT_HORIZONTAL
= _windows_
.LAYOUT_HORIZONTAL
1277 LAYOUT_VERTICAL
= _windows_
.LAYOUT_VERTICAL
1278 LAYOUT_NONE
= _windows_
.LAYOUT_NONE
1279 LAYOUT_TOP
= _windows_
.LAYOUT_TOP
1280 LAYOUT_LEFT
= _windows_
.LAYOUT_LEFT
1281 LAYOUT_RIGHT
= _windows_
.LAYOUT_RIGHT
1282 LAYOUT_BOTTOM
= _windows_
.LAYOUT_BOTTOM
1283 LAYOUT_LENGTH_Y
= _windows_
.LAYOUT_LENGTH_Y
1284 LAYOUT_LENGTH_X
= _windows_
.LAYOUT_LENGTH_X
1285 LAYOUT_MRU_LENGTH
= _windows_
.LAYOUT_MRU_LENGTH
1286 LAYOUT_QUERY
= _windows_
.LAYOUT_QUERY
1287 wxEVT_QUERY_LAYOUT_INFO
= _windows_
.wxEVT_QUERY_LAYOUT_INFO
1288 wxEVT_CALCULATE_LAYOUT
= _windows_
.wxEVT_CALCULATE_LAYOUT
1289 class QueryLayoutInfoEvent(_core
.Event
):
1291 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1292 def __init__(self
, *args
, **kwargs
):
1293 """__init__(self, int id=0) -> QueryLayoutInfoEvent"""
1294 newobj
= _windows_
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1295 self
.this
= newobj
.this
1298 def SetRequestedLength(*args
, **kwargs
):
1299 """SetRequestedLength(self, int length)"""
1300 return _windows_
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1302 def GetRequestedLength(*args
, **kwargs
):
1303 """GetRequestedLength(self) -> int"""
1304 return _windows_
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1306 def SetFlags(*args
, **kwargs
):
1307 """SetFlags(self, int flags)"""
1308 return _windows_
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1310 def GetFlags(*args
, **kwargs
):
1311 """GetFlags(self) -> int"""
1312 return _windows_
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1314 def SetSize(*args
, **kwargs
):
1315 """SetSize(self, Size size)"""
1316 return _windows_
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1318 def GetSize(*args
, **kwargs
):
1319 """GetSize(self) -> Size"""
1320 return _windows_
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1322 def SetOrientation(*args
, **kwargs
):
1323 """SetOrientation(self, int orient)"""
1324 return _windows_
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1326 def GetOrientation(*args
, **kwargs
):
1327 """GetOrientation(self) -> int"""
1328 return _windows_
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1330 def SetAlignment(*args
, **kwargs
):
1331 """SetAlignment(self, int align)"""
1332 return _windows_
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1334 def GetAlignment(*args
, **kwargs
):
1335 """GetAlignment(self) -> int"""
1336 return _windows_
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1339 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1340 def __init__(self
, this
):
1342 if not hasattr(self
,"thisown"): self
.thisown
= 0
1343 self
.__class
__ = QueryLayoutInfoEvent
1344 _windows_
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1346 class CalculateLayoutEvent(_core
.Event
):
1348 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1349 def __init__(self
, *args
, **kwargs
):
1350 """__init__(self, int id=0) -> CalculateLayoutEvent"""
1351 newobj
= _windows_
.new_CalculateLayoutEvent(*args
, **kwargs
)
1352 self
.this
= newobj
.this
1355 def SetFlags(*args
, **kwargs
):
1356 """SetFlags(self, int flags)"""
1357 return _windows_
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1359 def GetFlags(*args
, **kwargs
):
1360 """GetFlags(self) -> int"""
1361 return _windows_
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1363 def SetRect(*args
, **kwargs
):
1364 """SetRect(self, Rect rect)"""
1365 return _windows_
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1367 def GetRect(*args
, **kwargs
):
1368 """GetRect(self) -> Rect"""
1369 return _windows_
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1372 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1373 def __init__(self
, this
):
1375 if not hasattr(self
,"thisown"): self
.thisown
= 0
1376 self
.__class
__ = CalculateLayoutEvent
1377 _windows_
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1379 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1380 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1382 class SashLayoutWindow(SashWindow
):
1384 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1385 def __init__(self
, *args
, **kwargs
):
1387 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1388 long style=wxCLIP_CHILDREN|wxSW_3D,
1389 String name=SashLayoutNameStr) -> SashLayoutWindow
1391 newobj
= _windows_
.new_SashLayoutWindow(*args
, **kwargs
)
1392 self
.this
= newobj
.this
1395 self
._setOORInfo
(self
)
1397 def Create(*args
, **kwargs
):
1399 Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1400 long style=wxCLIP_CHILDREN|wxSW_3D,
1401 String name=SashLayoutNameStr) -> bool
1403 return _windows_
.SashLayoutWindow_Create(*args
, **kwargs
)
1405 def GetAlignment(*args
, **kwargs
):
1406 """GetAlignment(self) -> int"""
1407 return _windows_
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1409 def GetOrientation(*args
, **kwargs
):
1410 """GetOrientation(self) -> int"""
1411 return _windows_
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1413 def SetAlignment(*args
, **kwargs
):
1414 """SetAlignment(self, int alignment)"""
1415 return _windows_
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1417 def SetDefaultSize(*args
, **kwargs
):
1418 """SetDefaultSize(self, Size size)"""
1419 return _windows_
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1421 def SetOrientation(*args
, **kwargs
):
1422 """SetOrientation(self, int orientation)"""
1423 return _windows_
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1426 class SashLayoutWindowPtr(SashLayoutWindow
):
1427 def __init__(self
, this
):
1429 if not hasattr(self
,"thisown"): self
.thisown
= 0
1430 self
.__class
__ = SashLayoutWindow
1431 _windows_
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1433 def PreSashLayoutWindow(*args
, **kwargs
):
1434 """PreSashLayoutWindow() -> SashLayoutWindow"""
1435 val
= _windows_
.new_PreSashLayoutWindow(*args
, **kwargs
)
1439 class LayoutAlgorithm(_core
.Object
):
1441 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1442 def __init__(self
, *args
, **kwargs
):
1443 """__init__(self) -> LayoutAlgorithm"""
1444 newobj
= _windows_
.new_LayoutAlgorithm(*args
, **kwargs
)
1445 self
.this
= newobj
.this
1448 def __del__(self
, destroy
=_windows_
.delete_LayoutAlgorithm
):
1451 if self
.thisown
: destroy(self
)
1454 def LayoutMDIFrame(*args
, **kwargs
):
1455 """LayoutMDIFrame(self, MDIParentFrame frame, Rect rect=None) -> bool"""
1456 return _windows_
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1458 def LayoutFrame(*args
, **kwargs
):
1459 """LayoutFrame(self, Frame frame, Window mainWindow=None) -> bool"""
1460 return _windows_
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1462 def LayoutWindow(*args
, **kwargs
):
1463 """LayoutWindow(self, Window parent, Window mainWindow=None) -> bool"""
1464 return _windows_
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1467 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1468 def __init__(self
, this
):
1470 if not hasattr(self
,"thisown"): self
.thisown
= 0
1471 self
.__class
__ = LayoutAlgorithm
1472 _windows_
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1474 class PopupWindow(_core
.Window
):
1476 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1477 def __init__(self
, *args
, **kwargs
):
1478 """__init__(self, Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1479 newobj
= _windows_
.new_PopupWindow(*args
, **kwargs
)
1480 self
.this
= newobj
.this
1484 class PopupWindowPtr(PopupWindow
):
1485 def __init__(self
, this
):
1487 if not hasattr(self
,"thisown"): self
.thisown
= 0
1488 self
.__class
__ = PopupWindow
1489 _windows_
.PopupWindow_swigregister(PopupWindowPtr
)
1491 def PrePopupWindow(*args
, **kwargs
):
1492 """PrePopupWindow() -> PopupWindow"""
1493 val
= _windows_
.new_PrePopupWindow(*args
, **kwargs
)
1497 class PopupTransientWindow(PopupWindow
):
1499 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1500 def __init__(self
, *args
, **kwargs
):
1501 """__init__(self, Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1502 newobj
= _windows_
.new_PopupTransientWindow(*args
, **kwargs
)
1503 self
.this
= newobj
.this
1507 class PopupTransientWindowPtr(PopupTransientWindow
):
1508 def __init__(self
, this
):
1510 if not hasattr(self
,"thisown"): self
.thisown
= 0
1511 self
.__class
__ = PopupTransientWindow
1512 _windows_
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1514 def PrePopupTransientWindow(*args
, **kwargs
):
1515 """PrePopupTransientWindow() -> PopupTransientWindow"""
1516 val
= _windows_
.new_PrePopupTransientWindow(*args
, **kwargs
)
1520 #---------------------------------------------------------------------------
1522 class TipWindow(Frame
):
1524 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1525 def __init__(self
, *args
, **kwargs
):
1526 """__init__(self, Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1527 newobj
= _windows_
.new_TipWindow(*args
, **kwargs
)
1528 self
.this
= newobj
.this
1531 self
._setOORInfo
(self
)
1533 def SetBoundingRect(*args
, **kwargs
):
1534 """SetBoundingRect(self, Rect rectBound)"""
1535 return _windows_
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1537 def Close(*args
, **kwargs
):
1539 return _windows_
.TipWindow_Close(*args
, **kwargs
)
1542 class TipWindowPtr(TipWindow
):
1543 def __init__(self
, this
):
1545 if not hasattr(self
,"thisown"): self
.thisown
= 0
1546 self
.__class
__ = TipWindow
1547 _windows_
.TipWindow_swigregister(TipWindowPtr
)
1549 #---------------------------------------------------------------------------
1551 class VScrolledWindow(Panel
):
1553 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1554 def __init__(self
, *args
, **kwargs
):
1556 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1557 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
1559 newobj
= _windows_
.new_VScrolledWindow(*args
, **kwargs
)
1560 self
.this
= newobj
.this
1563 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1565 def _setCallbackInfo(*args
, **kwargs
):
1566 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1567 return _windows_
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1569 def Create(*args
, **kwargs
):
1571 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1572 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
1574 return _windows_
.VScrolledWindow_Create(*args
, **kwargs
)
1576 def SetLineCount(*args
, **kwargs
):
1577 """SetLineCount(self, size_t count)"""
1578 return _windows_
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1580 def ScrollToLine(*args
, **kwargs
):
1581 """ScrollToLine(self, size_t line) -> bool"""
1582 return _windows_
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1584 def ScrollLines(*args
, **kwargs
):
1586 ScrollLines(self, int lines) -> bool
1588 If the platform and window class supports it, scrolls the window by
1589 the given number of lines down, if lines is positive, or up if lines
1590 is negative. Returns True if the window was scrolled, False if it was
1591 already on top/bottom and nothing was done.
1593 return _windows_
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1595 def ScrollPages(*args
, **kwargs
):
1597 ScrollPages(self, int pages) -> bool
1599 If the platform and window class supports it, scrolls the window by
1600 the given number of pages down, if pages is positive, or up if pages
1601 is negative. Returns True if the window was scrolled, False if it was
1602 already on top/bottom and nothing was done.
1604 return _windows_
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1606 def RefreshLine(*args
, **kwargs
):
1607 """RefreshLine(self, size_t line)"""
1608 return _windows_
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1610 def RefreshLines(*args
, **kwargs
):
1611 """RefreshLines(self, size_t from, size_t to)"""
1612 return _windows_
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1614 def HitTestXT(*args
, **kwargs
):
1616 HitTestXT(self, int x, int y) -> int
1618 Test where the given (in client coords) point lies
1620 return _windows_
.VScrolledWindow_HitTestXT(*args
, **kwargs
)
1622 def HitTest(*args
, **kwargs
):
1624 HitTest(self, Point pt) -> int
1626 Test where the given (in client coords) point lies
1628 return _windows_
.VScrolledWindow_HitTest(*args
, **kwargs
)
1630 def RefreshAll(*args
, **kwargs
):
1631 """RefreshAll(self)"""
1632 return _windows_
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1634 def GetLineCount(*args
, **kwargs
):
1635 """GetLineCount(self) -> size_t"""
1636 return _windows_
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1638 def GetFirstVisibleLine(*args
, **kwargs
):
1639 """GetFirstVisibleLine(self) -> size_t"""
1640 return _windows_
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1642 def GetLastVisibleLine(*args
, **kwargs
):
1643 """GetLastVisibleLine(self) -> size_t"""
1644 return _windows_
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1646 def IsVisible(*args
, **kwargs
):
1647 """IsVisible(self, size_t line) -> bool"""
1648 return _windows_
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1651 class VScrolledWindowPtr(VScrolledWindow
):
1652 def __init__(self
, this
):
1654 if not hasattr(self
,"thisown"): self
.thisown
= 0
1655 self
.__class
__ = VScrolledWindow
1656 _windows_
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
1658 def PreVScrolledWindow(*args
, **kwargs
):
1659 """PreVScrolledWindow() -> VScrolledWindow"""
1660 val
= _windows_
.new_PreVScrolledWindow(*args
, **kwargs
)
1664 class VListBox(VScrolledWindow
):
1666 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1667 def __init__(self
, *args
, **kwargs
):
1669 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1670 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
1672 newobj
= _windows_
.new_VListBox(*args
, **kwargs
)
1673 self
.this
= newobj
.this
1676 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
1678 def _setCallbackInfo(*args
, **kwargs
):
1679 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1680 return _windows_
.VListBox__setCallbackInfo(*args
, **kwargs
)
1682 def Create(*args
, **kwargs
):
1684 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1685 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1687 return _windows_
.VListBox_Create(*args
, **kwargs
)
1689 def GetItemCount(*args
, **kwargs
):
1690 """GetItemCount(self) -> size_t"""
1691 return _windows_
.VListBox_GetItemCount(*args
, **kwargs
)
1693 def HasMultipleSelection(*args
, **kwargs
):
1694 """HasMultipleSelection(self) -> bool"""
1695 return _windows_
.VListBox_HasMultipleSelection(*args
, **kwargs
)
1697 def GetSelection(*args
, **kwargs
):
1698 """GetSelection(self) -> int"""
1699 return _windows_
.VListBox_GetSelection(*args
, **kwargs
)
1701 def IsCurrent(*args
, **kwargs
):
1702 """IsCurrent(self, size_t item) -> bool"""
1703 return _windows_
.VListBox_IsCurrent(*args
, **kwargs
)
1705 def IsSelected(*args
, **kwargs
):
1706 """IsSelected(self, size_t item) -> bool"""
1707 return _windows_
.VListBox_IsSelected(*args
, **kwargs
)
1709 def GetSelectedCount(*args
, **kwargs
):
1710 """GetSelectedCount(self) -> size_t"""
1711 return _windows_
.VListBox_GetSelectedCount(*args
, **kwargs
)
1713 def GetFirstSelected(*args
, **kwargs
):
1714 """GetFirstSelected(self, unsigned long cookie) -> int"""
1715 return _windows_
.VListBox_GetFirstSelected(*args
, **kwargs
)
1717 def GetNextSelected(*args
, **kwargs
):
1718 """GetNextSelected(self, unsigned long cookie) -> int"""
1719 return _windows_
.VListBox_GetNextSelected(*args
, **kwargs
)
1721 def GetMargins(*args
, **kwargs
):
1722 """GetMargins(self) -> Point"""
1723 return _windows_
.VListBox_GetMargins(*args
, **kwargs
)
1725 def GetSelectionBackground(*args
, **kwargs
):
1726 """GetSelectionBackground(self) -> Colour"""
1727 return _windows_
.VListBox_GetSelectionBackground(*args
, **kwargs
)
1729 def SetItemCount(*args
, **kwargs
):
1730 """SetItemCount(self, size_t count)"""
1731 return _windows_
.VListBox_SetItemCount(*args
, **kwargs
)
1733 def Clear(*args
, **kwargs
):
1735 return _windows_
.VListBox_Clear(*args
, **kwargs
)
1737 def SetSelection(*args
, **kwargs
):
1738 """SetSelection(self, int selection)"""
1739 return _windows_
.VListBox_SetSelection(*args
, **kwargs
)
1741 def Select(*args
, **kwargs
):
1742 """Select(self, size_t item, bool select=True) -> bool"""
1743 return _windows_
.VListBox_Select(*args
, **kwargs
)
1745 def SelectRange(*args
, **kwargs
):
1746 """SelectRange(self, size_t from, size_t to) -> bool"""
1747 return _windows_
.VListBox_SelectRange(*args
, **kwargs
)
1749 def Toggle(*args
, **kwargs
):
1750 """Toggle(self, size_t item)"""
1751 return _windows_
.VListBox_Toggle(*args
, **kwargs
)
1753 def SelectAll(*args
, **kwargs
):
1754 """SelectAll(self) -> bool"""
1755 return _windows_
.VListBox_SelectAll(*args
, **kwargs
)
1757 def DeselectAll(*args
, **kwargs
):
1758 """DeselectAll(self) -> bool"""
1759 return _windows_
.VListBox_DeselectAll(*args
, **kwargs
)
1761 def SetMargins(*args
, **kwargs
):
1762 """SetMargins(self, Point pt)"""
1763 return _windows_
.VListBox_SetMargins(*args
, **kwargs
)
1765 def SetMarginsXY(*args
, **kwargs
):
1766 """SetMarginsXY(self, int x, int y)"""
1767 return _windows_
.VListBox_SetMarginsXY(*args
, **kwargs
)
1769 def SetSelectionBackground(*args
, **kwargs
):
1770 """SetSelectionBackground(self, Colour col)"""
1771 return _windows_
.VListBox_SetSelectionBackground(*args
, **kwargs
)
1774 class VListBoxPtr(VListBox
):
1775 def __init__(self
, this
):
1777 if not hasattr(self
,"thisown"): self
.thisown
= 0
1778 self
.__class
__ = VListBox
1779 _windows_
.VListBox_swigregister(VListBoxPtr
)
1780 VListBoxNameStr
= cvar
.VListBoxNameStr
1782 def PreVListBox(*args
, **kwargs
):
1783 """PreVListBox() -> VListBox"""
1784 val
= _windows_
.new_PreVListBox(*args
, **kwargs
)
1788 class HtmlListBox(VListBox
):
1790 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1791 def __init__(self
, *args
, **kwargs
):
1793 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1794 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
1796 newobj
= _windows_
.new_HtmlListBox(*args
, **kwargs
)
1797 self
.this
= newobj
.this
1800 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
1802 def _setCallbackInfo(*args
, **kwargs
):
1803 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1804 return _windows_
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
1806 def Create(*args
, **kwargs
):
1808 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1809 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1811 return _windows_
.HtmlListBox_Create(*args
, **kwargs
)
1813 def RefreshAll(*args
, **kwargs
):
1814 """RefreshAll(self)"""
1815 return _windows_
.HtmlListBox_RefreshAll(*args
, **kwargs
)
1817 def SetItemCount(*args
, **kwargs
):
1818 """SetItemCount(self, size_t count)"""
1819 return _windows_
.HtmlListBox_SetItemCount(*args
, **kwargs
)
1821 def GetFileSystem(*args
, **kwargs
):
1822 """GetFileSystem(self) -> FileSystem"""
1823 return _windows_
.HtmlListBox_GetFileSystem(*args
, **kwargs
)
1826 class HtmlListBoxPtr(HtmlListBox
):
1827 def __init__(self
, this
):
1829 if not hasattr(self
,"thisown"): self
.thisown
= 0
1830 self
.__class
__ = HtmlListBox
1831 _windows_
.HtmlListBox_swigregister(HtmlListBoxPtr
)
1833 def PreHtmlListBox(*args
, **kwargs
):
1834 """PreHtmlListBox() -> HtmlListBox"""
1835 val
= _windows_
.new_PreHtmlListBox(*args
, **kwargs
)
1839 #---------------------------------------------------------------------------
1841 class TaskBarIcon(_core
.EvtHandler
):
1843 return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1844 def __init__(self
, *args
, **kwargs
):
1845 """__init__(self) -> TaskBarIcon"""
1846 newobj
= _windows_
.new_TaskBarIcon(*args
, **kwargs
)
1847 self
.this
= newobj
.this
1850 def __del__(self
, destroy
=_windows_
.delete_TaskBarIcon
):
1853 if self
.thisown
: destroy(self
)
1856 def Destroy(*args
, **kwargs
):
1860 Deletes the C++ object this Python object is a proxy for.
1862 return _windows_
.TaskBarIcon_Destroy(*args
, **kwargs
)
1865 class TaskBarIconPtr(TaskBarIcon
):
1866 def __init__(self
, this
):
1868 if not hasattr(self
,"thisown"): self
.thisown
= 0
1869 self
.__class
__ = TaskBarIcon
1870 _windows_
.TaskBarIcon_swigregister(TaskBarIconPtr
)
1872 class TaskBarIconEvent(_core
.Event
):
1874 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1875 def __init__(self
, *args
, **kwargs
):
1876 """__init__(self, wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
1877 newobj
= _windows_
.new_TaskBarIconEvent(*args
, **kwargs
)
1878 self
.this
= newobj
.this
1882 class TaskBarIconEventPtr(TaskBarIconEvent
):
1883 def __init__(self
, this
):
1885 if not hasattr(self
,"thisown"): self
.thisown
= 0
1886 self
.__class
__ = TaskBarIconEvent
1887 _windows_
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
1889 wxEVT_TASKBAR_MOVE
= _windows_
.wxEVT_TASKBAR_MOVE
1890 wxEVT_TASKBAR_LEFT_DOWN
= _windows_
.wxEVT_TASKBAR_LEFT_DOWN
1891 wxEVT_TASKBAR_LEFT_UP
= _windows_
.wxEVT_TASKBAR_LEFT_UP
1892 wxEVT_TASKBAR_RIGHT_DOWN
= _windows_
.wxEVT_TASKBAR_RIGHT_DOWN
1893 wxEVT_TASKBAR_RIGHT_UP
= _windows_
.wxEVT_TASKBAR_RIGHT_UP
1894 wxEVT_TASKBAR_LEFT_DCLICK
= _windows_
.wxEVT_TASKBAR_LEFT_DCLICK
1895 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows_
.wxEVT_TASKBAR_RIGHT_DCLICK
1896 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
1897 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
1898 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
1899 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
1900 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
1901 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
1902 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
1904 #---------------------------------------------------------------------------
1906 class ColourData(_core
.Object
):
1908 This class holds a variety of information related to the colour
1909 chooser dialog, used to transfer settings and results to and from the
1913 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1914 def __init__(self
, *args
, **kwargs
):
1916 __init__(self) -> ColourData
1918 Constructor, sets default values.
1920 newobj
= _windows_
.new_ColourData(*args
, **kwargs
)
1921 self
.this
= newobj
.this
1924 def __del__(self
, destroy
=_windows_
.delete_ColourData
):
1927 if self
.thisown
: destroy(self
)
1930 def GetChooseFull(*args
, **kwargs
):
1932 GetChooseFull(self) -> bool
1934 Under Windows, determines whether the Windows colour dialog will
1935 display the full dialog with custom colour selection controls. Has no
1936 meaning under other platforms. The default value is true.
1938 return _windows_
.ColourData_GetChooseFull(*args
, **kwargs
)
1940 def GetColour(*args
, **kwargs
):
1942 GetColour(self) -> Colour
1944 Gets the colour (pre)selected by the dialog.
1946 return _windows_
.ColourData_GetColour(*args
, **kwargs
)
1948 def GetCustomColour(*args
, **kwargs
):
1950 GetCustomColour(self, int i) -> Colour
1952 Gets the i'th custom colour associated with the colour dialog. i
1953 should be an integer between 0 and 15. The default custom colours are
1956 return _windows_
.ColourData_GetCustomColour(*args
, **kwargs
)
1958 def SetChooseFull(*args
, **kwargs
):
1960 SetChooseFull(self, int flag)
1962 Under Windows, tells the Windows colour dialog to display the full
1963 dialog with custom colour selection controls. Under other platforms,
1964 has no effect. The default value is true.
1966 return _windows_
.ColourData_SetChooseFull(*args
, **kwargs
)
1968 def SetColour(*args
, **kwargs
):
1970 SetColour(self, Colour colour)
1972 Sets the default colour for the colour dialog. The default colour is
1975 return _windows_
.ColourData_SetColour(*args
, **kwargs
)
1977 def SetCustomColour(*args
, **kwargs
):
1979 SetCustomColour(self, int i, Colour colour)
1981 Sets the i'th custom colour for the colour dialog. i should be an
1982 integer between 0 and 15. The default custom colours are all white.
1984 return _windows_
.ColourData_SetCustomColour(*args
, **kwargs
)
1987 class ColourDataPtr(ColourData
):
1988 def __init__(self
, this
):
1990 if not hasattr(self
,"thisown"): self
.thisown
= 0
1991 self
.__class
__ = ColourData
1992 _windows_
.ColourData_swigregister(ColourDataPtr
)
1993 FileSelectorPromptStr
= cvar
.FileSelectorPromptStr
1994 DirSelectorPromptStr
= cvar
.DirSelectorPromptStr
1995 DirDialogNameStr
= cvar
.DirDialogNameStr
1996 FileSelectorDefaultWildcardStr
= cvar
.FileSelectorDefaultWildcardStr
1997 GetTextFromUserPromptStr
= cvar
.GetTextFromUserPromptStr
1998 MessageBoxCaptionStr
= cvar
.MessageBoxCaptionStr
2000 class ColourDialog(Dialog
):
2001 """This class represents the colour chooser dialog."""
2003 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2004 def __init__(self
, *args
, **kwargs
):
2006 __init__(self, Window parent, ColourData data=None) -> ColourDialog
2008 Constructor. Pass a parent window, and optionally a `wx.ColourData`,
2009 which will be copied to the colour dialog's internal ColourData
2012 newobj
= _windows_
.new_ColourDialog(*args
, **kwargs
)
2013 self
.this
= newobj
.this
2016 self
._setOORInfo
(self
)
2018 def GetColourData(*args
, **kwargs
):
2020 GetColourData(self) -> ColourData
2022 Returns a reference to the `wx.ColourData` used by the dialog.
2024 return _windows_
.ColourDialog_GetColourData(*args
, **kwargs
)
2027 class ColourDialogPtr(ColourDialog
):
2028 def __init__(self
, this
):
2030 if not hasattr(self
,"thisown"): self
.thisown
= 0
2031 self
.__class
__ = ColourDialog
2032 _windows_
.ColourDialog_swigregister(ColourDialogPtr
)
2034 class DirDialog(Dialog
):
2036 wx.DirDialog allows the user to select a directory by browising the
2042 ==================== ==========================================
2043 wx.DD_NEW_DIR_BUTTON Add 'Create new directory' button and allow
2044 directory names to be editable. On Windows
2045 the new directory button is only available
2046 with recent versions of the common dialogs.
2047 ==================== ==========================================
2051 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2052 def __init__(self
, *args
, **kwargs
):
2054 __init__(self, Window parent, String message=DirSelectorPromptStr,
2055 String defaultPath=EmptyString, long style=0,
2056 Point pos=DefaultPosition, Size size=DefaultSize,
2057 String name=DirDialogNameStr) -> DirDialog
2059 Constructor. Use ShowModal method to show the dialog.
2061 newobj
= _windows_
.new_DirDialog(*args
, **kwargs
)
2062 self
.this
= newobj
.this
2065 self
._setOORInfo
(self
)
2067 def GetPath(*args
, **kwargs
):
2069 GetPath(self) -> String
2071 Returns the default or user-selected path.
2073 return _windows_
.DirDialog_GetPath(*args
, **kwargs
)
2075 def GetMessage(*args
, **kwargs
):
2077 GetMessage(self) -> String
2079 Returns the message that will be displayed on the dialog.
2081 return _windows_
.DirDialog_GetMessage(*args
, **kwargs
)
2083 def GetStyle(*args
, **kwargs
):
2085 GetStyle(self) -> long
2087 Returns the dialog style.
2089 return _windows_
.DirDialog_GetStyle(*args
, **kwargs
)
2091 def SetMessage(*args
, **kwargs
):
2093 SetMessage(self, String message)
2095 Sets the message that will be displayed on the dialog.
2097 return _windows_
.DirDialog_SetMessage(*args
, **kwargs
)
2099 def SetPath(*args
, **kwargs
):
2101 SetPath(self, String path)
2103 Sets the default path.
2105 return _windows_
.DirDialog_SetPath(*args
, **kwargs
)
2108 class DirDialogPtr(DirDialog
):
2109 def __init__(self
, this
):
2111 if not hasattr(self
,"thisown"): self
.thisown
= 0
2112 self
.__class
__ = DirDialog
2113 _windows_
.DirDialog_swigregister(DirDialogPtr
)
2115 class FileDialog(Dialog
):
2117 wx.FileDialog allows the user to select one or more files from the
2120 In Windows, this is the common file selector dialog. On X based
2121 platforms a generic alternative is used. The path and filename are
2122 distinct elements of a full file pathname. If path is "", the
2123 current directory will be used. If filename is "", no default
2124 filename will be supplied. The wildcard determines what files are
2125 displayed in the file selector, and file extension supplies a type
2126 extension for the required filename.
2128 Both the X and Windows versions implement a wildcard filter. Typing a
2129 filename containing wildcards (*, ?) in the filename text item, and
2130 clicking on Ok, will result in only those files matching the pattern
2131 being displayed. The wildcard may be a specification for multiple
2132 types of file with a description for each, such as::
2134 "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
2139 ================== ==========================================
2140 wx.OPEN This is an open dialog.
2142 wx.SAVE This is a save dialog.
2144 wx.HIDE_READONLY For open dialog only: hide the checkbox
2145 allowing to open the file in read-only mode.
2147 wx.OVERWRITE_PROMPT For save dialog only: prompt for a confirmation
2148 if a file will be overwritten.
2150 wx.MULTIPLE For open dialog only: allows selecting multiple
2153 wx.CHANGE_DIR Change the current working directory to the
2154 directory where the file(s) chosen by the user
2156 ================== ==========================================
2160 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2161 def __init__(self
, *args
, **kwargs
):
2163 __init__(self, Window parent, String message=FileSelectorPromptStr,
2164 String defaultDir=EmptyString, String defaultFile=EmptyString,
2165 String wildcard=FileSelectorDefaultWildcardStr,
2166 long style=0, Point pos=DefaultPosition) -> FileDialog
2168 Constructor. Use ShowModal method to show the dialog.
2170 newobj
= _windows_
.new_FileDialog(*args
, **kwargs
)
2171 self
.this
= newobj
.this
2174 self
._setOORInfo
(self
)
2176 def SetMessage(*args
, **kwargs
):
2178 SetMessage(self, String message)
2180 Sets the message that will be displayed on the dialog.
2182 return _windows_
.FileDialog_SetMessage(*args
, **kwargs
)
2184 def SetPath(*args
, **kwargs
):
2186 SetPath(self, String path)
2188 Sets the path (the combined directory and filename that will be
2189 returned when the dialog is dismissed).
2191 return _windows_
.FileDialog_SetPath(*args
, **kwargs
)
2193 def SetDirectory(*args
, **kwargs
):
2195 SetDirectory(self, String dir)
2197 Sets the default directory.
2199 return _windows_
.FileDialog_SetDirectory(*args
, **kwargs
)
2201 def SetFilename(*args
, **kwargs
):
2203 SetFilename(self, String name)
2205 Sets the default filename.
2207 return _windows_
.FileDialog_SetFilename(*args
, **kwargs
)
2209 def SetWildcard(*args
, **kwargs
):
2211 SetWildcard(self, String wildCard)
2213 Sets the wildcard, which can contain multiple file types, for
2216 "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
2219 return _windows_
.FileDialog_SetWildcard(*args
, **kwargs
)
2221 def SetStyle(*args
, **kwargs
):
2223 SetStyle(self, long style)
2225 Sets the dialog style.
2227 return _windows_
.FileDialog_SetStyle(*args
, **kwargs
)
2229 def SetFilterIndex(*args
, **kwargs
):
2231 SetFilterIndex(self, int filterIndex)
2233 Sets the default filter index, starting from zero.
2235 return _windows_
.FileDialog_SetFilterIndex(*args
, **kwargs
)
2237 def GetMessage(*args
, **kwargs
):
2239 GetMessage(self) -> String
2241 Returns the message that will be displayed on the dialog.
2243 return _windows_
.FileDialog_GetMessage(*args
, **kwargs
)
2245 def GetPath(*args
, **kwargs
):
2247 GetPath(self) -> String
2249 Returns the full path (directory and filename) of the selected file.
2251 return _windows_
.FileDialog_GetPath(*args
, **kwargs
)
2253 def GetDirectory(*args
, **kwargs
):
2255 GetDirectory(self) -> String
2257 Returns the default directory.
2259 return _windows_
.FileDialog_GetDirectory(*args
, **kwargs
)
2261 def GetFilename(*args
, **kwargs
):
2263 GetFilename(self) -> String
2265 Returns the default filename.
2267 return _windows_
.FileDialog_GetFilename(*args
, **kwargs
)
2269 def GetWildcard(*args
, **kwargs
):
2271 GetWildcard(self) -> String
2273 Returns the file dialog wildcard.
2275 return _windows_
.FileDialog_GetWildcard(*args
, **kwargs
)
2277 def GetStyle(*args
, **kwargs
):
2279 GetStyle(self) -> long
2281 Returns the dialog style.
2283 return _windows_
.FileDialog_GetStyle(*args
, **kwargs
)
2285 def GetFilterIndex(*args
, **kwargs
):
2287 GetFilterIndex(self) -> int
2289 Returns the index into the list of filters supplied, optionally, in
2290 the wildcard parameter. Before the dialog is shown, this is the index
2291 which will be used when the dialog is first displayed. After the
2292 dialog is shown, this is the index selected by the user.
2294 return _windows_
.FileDialog_GetFilterIndex(*args
, **kwargs
)
2296 def GetFilenames(*args
, **kwargs
):
2298 GetFilenames(self) -> PyObject
2300 Returns a list of filenames chosen in the dialog. This function
2301 should only be used with the dialogs which have wx.MULTIPLE style, use
2302 GetFilename for the others.
2304 return _windows_
.FileDialog_GetFilenames(*args
, **kwargs
)
2306 def GetPaths(*args
, **kwargs
):
2308 GetPaths(self) -> PyObject
2310 Fills the array paths with the full paths of the files chosen. This
2311 function should only be used with the dialogs which have wx.MULTIPLE
2312 style, use GetPath for the others.
2314 return _windows_
.FileDialog_GetPaths(*args
, **kwargs
)
2317 class FileDialogPtr(FileDialog
):
2318 def __init__(self
, this
):
2320 if not hasattr(self
,"thisown"): self
.thisown
= 0
2321 self
.__class
__ = FileDialog
2322 _windows_
.FileDialog_swigregister(FileDialogPtr
)
2324 CHOICEDLG_STYLE
= _windows_
.CHOICEDLG_STYLE
2325 class MultiChoiceDialog(Dialog
):
2326 """A simple dialog with a multi selection listbox."""
2328 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2329 def __init__(self
, *args
, **kwargs
):
2331 __init__(Window parent, String message, String caption,
2332 List choices=[], long style=CHOICEDLG_STYLE,
2333 Point pos=DefaultPosition) -> MultiChoiceDialog
2335 Constructor. Use ShowModal method to show the dialog.
2337 newobj
= _windows_
.new_MultiChoiceDialog(*args
, **kwargs
)
2338 self
.this
= newobj
.this
2341 self
._setOORInfo
(self
)
2343 def SetSelections(*args
, **kwargs
):
2345 SetSelections(List selections)
2347 Specify the items in the list that should be selected, using a list of
2350 return _windows_
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
2352 def GetSelections(*args
, **kwargs
):
2354 GetSelections() -> [selections]
2356 Returns a list of integers representing the items that are selected.
2358 return _windows_
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
2361 class MultiChoiceDialogPtr(MultiChoiceDialog
):
2362 def __init__(self
, this
):
2364 if not hasattr(self
,"thisown"): self
.thisown
= 0
2365 self
.__class
__ = MultiChoiceDialog
2366 _windows_
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
2368 class SingleChoiceDialog(Dialog
):
2369 """A simple dialog with a single selection listbox."""
2371 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2372 def __init__(self
, *args
, **kwargs
):
2374 __init__(Window parent, String message, String caption,
2375 List choices=[], long style=CHOICEDLG_STYLE,
2376 Point pos=DefaultPosition) -> SingleChoiceDialog
2378 Constructor. Use ShowModal method to show the dialog.
2380 newobj
= _windows_
.new_SingleChoiceDialog(*args
, **kwargs
)
2381 self
.this
= newobj
.this
2384 self
._setOORInfo
(self
)
2386 def GetSelection(*args
, **kwargs
):
2388 GetSelection(self) -> int
2390 Get the index of teh currently selected item.
2392 return _windows_
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
2394 def GetStringSelection(*args
, **kwargs
):
2396 GetStringSelection(self) -> String
2398 Returns the string value of the currently selected item
2400 return _windows_
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
2402 def SetSelection(*args
, **kwargs
):
2404 SetSelection(self, int sel)
2406 Set the current selected item to sel
2408 return _windows_
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
2411 class SingleChoiceDialogPtr(SingleChoiceDialog
):
2412 def __init__(self
, this
):
2414 if not hasattr(self
,"thisown"): self
.thisown
= 0
2415 self
.__class
__ = SingleChoiceDialog
2416 _windows_
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
2418 class TextEntryDialog(Dialog
):
2419 """A dialog with text control, [ok] and [cancel] buttons"""
2421 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2422 def __init__(self
, *args
, **kwargs
):
2424 __init__(self, Window parent, String message, String caption=GetTextFromUserPromptStr,
2425 String defaultValue=EmptyString,
2426 long style=wxOK|wxCANCEL|wxCENTRE, Point pos=DefaultPosition) -> TextEntryDialog
2428 Constructor. Use ShowModal method to show the dialog.
2430 newobj
= _windows_
.new_TextEntryDialog(*args
, **kwargs
)
2431 self
.this
= newobj
.this
2434 self
._setOORInfo
(self
)
2436 def GetValue(*args
, **kwargs
):
2438 GetValue(self) -> String
2440 Returns the text that the user has entered if the user has pressed OK,
2441 or the original value if the user has pressed Cancel.
2443 return _windows_
.TextEntryDialog_GetValue(*args
, **kwargs
)
2445 def SetValue(*args
, **kwargs
):
2447 SetValue(self, String value)
2449 Sets the default text value.
2451 return _windows_
.TextEntryDialog_SetValue(*args
, **kwargs
)
2454 class TextEntryDialogPtr(TextEntryDialog
):
2455 def __init__(self
, this
):
2457 if not hasattr(self
,"thisown"): self
.thisown
= 0
2458 self
.__class
__ = TextEntryDialog
2459 _windows_
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
2461 class FontData(_core
.Object
):
2463 This class holds a variety of information related to font dialogs and
2464 is used to transfer settings to and results from a `wx.FontDialog`.
2467 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2468 def __init__(self
, *args
, **kwargs
):
2470 __init__(self) -> FontData
2472 This class holds a variety of information related to font dialogs and
2473 is used to transfer settings to and results from a `wx.FontDialog`.
2475 newobj
= _windows_
.new_FontData(*args
, **kwargs
)
2476 self
.this
= newobj
.this
2479 def __del__(self
, destroy
=_windows_
.delete_FontData
):
2482 if self
.thisown
: destroy(self
)
2485 def EnableEffects(*args
, **kwargs
):
2487 EnableEffects(self, bool enable)
2489 Enables or disables 'effects' under MS Windows only. This refers to
2490 the controls for manipulating colour, strikeout and underline
2491 properties. The default value is true.
2493 return _windows_
.FontData_EnableEffects(*args
, **kwargs
)
2495 def GetAllowSymbols(*args
, **kwargs
):
2497 GetAllowSymbols(self) -> bool
2499 Under MS Windows, returns a flag determining whether symbol fonts can
2500 be selected. Has no effect on other platforms. The default value is
2503 return _windows_
.FontData_GetAllowSymbols(*args
, **kwargs
)
2505 def GetColour(*args
, **kwargs
):
2507 GetColour(self) -> Colour
2509 Gets the colour associated with the font dialog. The default value is
2512 return _windows_
.FontData_GetColour(*args
, **kwargs
)
2514 def GetChosenFont(*args
, **kwargs
):
2516 GetChosenFont(self) -> Font
2518 Gets the font chosen by the user.
2520 return _windows_
.FontData_GetChosenFont(*args
, **kwargs
)
2522 def GetEnableEffects(*args
, **kwargs
):
2524 GetEnableEffects(self) -> bool
2526 Determines whether 'effects' are enabled under Windows.
2528 return _windows_
.FontData_GetEnableEffects(*args
, **kwargs
)
2530 def GetInitialFont(*args
, **kwargs
):
2532 GetInitialFont(self) -> Font
2534 Gets the font that will be initially used by the font dialog. This
2535 should have previously been set by the application.
2537 return _windows_
.FontData_GetInitialFont(*args
, **kwargs
)
2539 def GetShowHelp(*args
, **kwargs
):
2541 GetShowHelp(self) -> bool
2543 Returns true if the Help button will be shown (Windows only). The
2544 default value is false.
2546 return _windows_
.FontData_GetShowHelp(*args
, **kwargs
)
2548 def SetAllowSymbols(*args
, **kwargs
):
2550 SetAllowSymbols(self, bool allowSymbols)
2552 Under MS Windows, determines whether symbol fonts can be selected. Has
2553 no effect on other platforms. The default value is true.
2555 return _windows_
.FontData_SetAllowSymbols(*args
, **kwargs
)
2557 def SetChosenFont(*args
, **kwargs
):
2559 SetChosenFont(self, Font font)
2561 Sets the font that will be returned to the user (normally for internal
2564 return _windows_
.FontData_SetChosenFont(*args
, **kwargs
)
2566 def SetColour(*args
, **kwargs
):
2568 SetColour(self, Colour colour)
2570 Sets the colour that will be used for the font foreground colour. The
2571 default colour is black.
2573 return _windows_
.FontData_SetColour(*args
, **kwargs
)
2575 def SetInitialFont(*args
, **kwargs
):
2577 SetInitialFont(self, Font font)
2579 Sets the font that will be initially used by the font dialog.
2581 return _windows_
.FontData_SetInitialFont(*args
, **kwargs
)
2583 def SetRange(*args
, **kwargs
):
2585 SetRange(self, int min, int max)
2587 Sets the valid range for the font point size (Windows only). The
2588 default is 0, 0 (unrestricted range).
2590 return _windows_
.FontData_SetRange(*args
, **kwargs
)
2592 def SetShowHelp(*args
, **kwargs
):
2594 SetShowHelp(self, bool showHelp)
2596 Determines whether the Help button will be displayed in the font
2597 dialog (Windows only). The default value is false.
2599 return _windows_
.FontData_SetShowHelp(*args
, **kwargs
)
2602 class FontDataPtr(FontData
):
2603 def __init__(self
, this
):
2605 if not hasattr(self
,"thisown"): self
.thisown
= 0
2606 self
.__class
__ = FontData
2607 _windows_
.FontData_swigregister(FontDataPtr
)
2609 class FontDialog(Dialog
):
2611 wx.FontDialog allows the user to select a system font and its attributes.
2617 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2618 def __init__(self
, *args
, **kwargs
):
2620 __init__(self, Window parent, FontData data) -> FontDialog
2622 Constructor. Pass a parent window and the `wx.FontData` object to be
2623 used to initialize the dialog controls. Call `ShowModal` to display
2624 the dialog. If ShowModal returns ``wx.ID_OK`` then you can fetch the
2625 results with via the `wx.FontData` returned by `GetFontData`.
2627 newobj
= _windows_
.new_FontDialog(*args
, **kwargs
)
2628 self
.this
= newobj
.this
2631 self
._setOORInfo
(self
)
2633 def GetFontData(*args
, **kwargs
):
2635 GetFontData(self) -> FontData
2637 Returns a reference to the internal `wx.FontData` used by the
2640 return _windows_
.FontDialog_GetFontData(*args
, **kwargs
)
2643 class FontDialogPtr(FontDialog
):
2644 def __init__(self
, this
):
2646 if not hasattr(self
,"thisown"): self
.thisown
= 0
2647 self
.__class
__ = FontDialog
2648 _windows_
.FontDialog_swigregister(FontDialogPtr
)
2650 class MessageDialog(Dialog
):
2652 This class provides a simple dialog that shows a single or multi-line
2653 message, with a choice of OK, Yes, No and/or Cancel buttons.
2658 ================= =============================================
2659 wx.OK Show an OK button.
2660 wx.CANCEL Show a Cancel button.
2661 wx.YES_NO Show Yes and No buttons.
2662 wx.YES_DEFAULT Used with wxYES_NO, makes Yes button the
2663 default - which is the default behaviour.
2664 wx.NO_DEFAULT Used with wxYES_NO, makes No button the default.
2665 wx.ICON_EXCLAMATION Shows an exclamation mark icon.
2666 wx.ICON_HAND Shows an error icon.
2667 wx.ICON_ERROR Shows an error icon - the same as wxICON_HAND.
2668 wx.ICON_QUESTION Shows a question mark icon.
2669 wx.ICON_INFORMATION Shows an information (i) icon.
2670 wx.STAY_ON_TOP The message box stays on top of all other
2671 window, even those of the other applications
2673 ================= =============================================
2677 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2678 def __init__(self
, *args
, **kwargs
):
2680 __init__(self, Window parent, String message, String caption=MessageBoxCaptionStr,
2681 long style=wxOK|wxCANCEL|wxCENTRE,
2682 Point pos=DefaultPosition) -> MessageDialog
2684 Constructor, use `ShowModal` to display the dialog.
2686 newobj
= _windows_
.new_MessageDialog(*args
, **kwargs
)
2687 self
.this
= newobj
.this
2690 self
._setOORInfo
(self
)
2693 class MessageDialogPtr(MessageDialog
):
2694 def __init__(self
, this
):
2696 if not hasattr(self
,"thisown"): self
.thisown
= 0
2697 self
.__class
__ = MessageDialog
2698 _windows_
.MessageDialog_swigregister(MessageDialogPtr
)
2700 class ProgressDialog(Frame
):
2702 A dialog that shows a short message and a progress bar. Optionally, it
2703 can display an ABORT button.
2707 ================= =============================================
2708 wx.PD_APP_MODAL Make the progress dialog modal. If this flag is
2709 not given, it is only "locally" modal -
2710 that is the input to the parent window is
2711 disabled, but not to the other ones.
2713 wx.PD_AUTO_HIDE Causes the progress dialog to disappear from
2714 screen as soon as the maximum value of the
2715 progress meter has been reached.
2717 wx.PD_CAN_ABORT This flag tells the dialog that it should have
2718 a "Cancel" button which the user may press. If
2719 this happens, the next call to Update() will
2722 wx.PD_ELAPSED_TIME This flag tells the dialog that it should show
2723 elapsed time (since creating the dialog).
2725 wx.PD_ESTIMATED_TIME This flag tells the dialog that it should show
2728 wx.PD_REMAINING_TIME This flag tells the dialog that it should show
2730 ================= =============================================
2734 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2735 def __init__(self
, *args
, **kwargs
):
2737 __init__(self, String title, String message, int maximum=100, Window parent=None,
2738 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
2740 Constructor. Creates the dialog, displays it and disables user input
2741 for other windows, or, if wx.PD_APP_MODAL flag is not given, for its
2744 newobj
= _windows_
.new_ProgressDialog(*args
, **kwargs
)
2745 self
.this
= newobj
.this
2748 self
._setOORInfo
(self
)
2750 def Update(*args
, **kwargs
):
2752 Update(self, int value, String newmsg=EmptyString) -> bool
2754 Updates the dialog, setting the progress bar to the new value and, if
2755 given changes the message above it. Returns true unless the Cancel
2756 button has been pressed.
2758 If false is returned, the application can either immediately destroy
2759 the dialog or ask the user for the confirmation and if the abort is
2760 not confirmed the dialog may be resumed with Resume function.
2762 return _windows_
.ProgressDialog_Update(*args
, **kwargs
)
2764 def Resume(*args
, **kwargs
):
2768 Can be used to continue with the dialog, after the user had chosen to
2771 return _windows_
.ProgressDialog_Resume(*args
, **kwargs
)
2774 class ProgressDialogPtr(ProgressDialog
):
2775 def __init__(self
, this
):
2777 if not hasattr(self
,"thisown"): self
.thisown
= 0
2778 self
.__class
__ = ProgressDialog
2779 _windows_
.ProgressDialog_swigregister(ProgressDialogPtr
)
2781 FR_DOWN
= _windows_
.FR_DOWN
2782 FR_WHOLEWORD
= _windows_
.FR_WHOLEWORD
2783 FR_MATCHCASE
= _windows_
.FR_MATCHCASE
2784 FR_REPLACEDIALOG
= _windows_
.FR_REPLACEDIALOG
2785 FR_NOUPDOWN
= _windows_
.FR_NOUPDOWN
2786 FR_NOMATCHCASE
= _windows_
.FR_NOMATCHCASE
2787 FR_NOWHOLEWORD
= _windows_
.FR_NOWHOLEWORD
2788 wxEVT_COMMAND_FIND
= _windows_
.wxEVT_COMMAND_FIND
2789 wxEVT_COMMAND_FIND_NEXT
= _windows_
.wxEVT_COMMAND_FIND_NEXT
2790 wxEVT_COMMAND_FIND_REPLACE
= _windows_
.wxEVT_COMMAND_FIND_REPLACE
2791 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows_
.wxEVT_COMMAND_FIND_REPLACE_ALL
2792 wxEVT_COMMAND_FIND_CLOSE
= _windows_
.wxEVT_COMMAND_FIND_CLOSE
2793 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
2794 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
2795 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
2796 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
2797 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
2799 # For backwards compatibility. Should they be removed?
2800 EVT_COMMAND_FIND
= EVT_FIND
2801 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
2802 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
2803 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
2804 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
2806 class FindDialogEvent(_core
.CommandEvent
):
2807 """Events for the FindReplaceDialog"""
2809 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2810 def __init__(self
, *args
, **kwargs
):
2812 __init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent
2814 Events for the FindReplaceDialog
2816 newobj
= _windows_
.new_FindDialogEvent(*args
, **kwargs
)
2817 self
.this
= newobj
.this
2820 def GetFlags(*args
, **kwargs
):
2822 GetFlags(self) -> int
2824 Get the currently selected flags: this is the combination of
2825 wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.
2827 return _windows_
.FindDialogEvent_GetFlags(*args
, **kwargs
)
2829 def GetFindString(*args
, **kwargs
):
2831 GetFindString(self) -> String
2833 Return the string to find (never empty).
2835 return _windows_
.FindDialogEvent_GetFindString(*args
, **kwargs
)
2837 def GetReplaceString(*args
, **kwargs
):
2839 GetReplaceString(self) -> String
2841 Return the string to replace the search string with (only for replace
2842 and replace all events).
2844 return _windows_
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
2846 def GetDialog(*args
, **kwargs
):
2848 GetDialog(self) -> FindReplaceDialog
2850 Return the pointer to the dialog which generated this event.
2852 return _windows_
.FindDialogEvent_GetDialog(*args
, **kwargs
)
2854 def SetFlags(*args
, **kwargs
):
2855 """SetFlags(self, int flags)"""
2856 return _windows_
.FindDialogEvent_SetFlags(*args
, **kwargs
)
2858 def SetFindString(*args
, **kwargs
):
2859 """SetFindString(self, String str)"""
2860 return _windows_
.FindDialogEvent_SetFindString(*args
, **kwargs
)
2862 def SetReplaceString(*args
, **kwargs
):
2863 """SetReplaceString(self, String str)"""
2864 return _windows_
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
2867 class FindDialogEventPtr(FindDialogEvent
):
2868 def __init__(self
, this
):
2870 if not hasattr(self
,"thisown"): self
.thisown
= 0
2871 self
.__class
__ = FindDialogEvent
2872 _windows_
.FindDialogEvent_swigregister(FindDialogEventPtr
)
2874 class FindReplaceData(_core
.Object
):
2876 wx.FindReplaceData holds the data for wx.FindReplaceDialog. It is used
2877 to initialize the dialog with the default values and will keep the
2878 last values from the dialog when it is closed. It is also updated each
2879 time a `wx.FindDialogEvent` is generated so instead of using the
2880 `wx.FindDialogEvent` methods you can also directly query this object.
2882 Note that all SetXXX() methods may only be called before showing the
2883 dialog and calling them has no effect later.
2887 ================ ===============================================
2888 wx.FR_DOWN Downward search/replace selected (otherwise,
2891 wx.FR_WHOLEWORD Whole word search/replace selected
2893 wx.FR_MATCHCASE Case sensitive search/replace selected
2894 (otherwise, case insensitive)
2895 ================ ===============================================
2899 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2900 def __init__(self
, *args
, **kwargs
):
2902 __init__(self, int flags=0) -> FindReplaceData
2904 Constuctor initializes the flags to default value (0).
2906 newobj
= _windows_
.new_FindReplaceData(*args
, **kwargs
)
2907 self
.this
= newobj
.this
2910 def __del__(self
, destroy
=_windows_
.delete_FindReplaceData
):
2913 if self
.thisown
: destroy(self
)
2916 def GetFindString(*args
, **kwargs
):
2918 GetFindString(self) -> String
2920 Get the string to find.
2922 return _windows_
.FindReplaceData_GetFindString(*args
, **kwargs
)
2924 def GetReplaceString(*args
, **kwargs
):
2926 GetReplaceString(self) -> String
2928 Get the replacement string.
2930 return _windows_
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
2932 def GetFlags(*args
, **kwargs
):
2934 GetFlags(self) -> int
2936 Get the combination of flag values.
2938 return _windows_
.FindReplaceData_GetFlags(*args
, **kwargs
)
2940 def SetFlags(*args
, **kwargs
):
2942 SetFlags(self, int flags)
2944 Set the flags to use to initialize the controls of the dialog.
2946 return _windows_
.FindReplaceData_SetFlags(*args
, **kwargs
)
2948 def SetFindString(*args
, **kwargs
):
2950 SetFindString(self, String str)
2952 Set the string to find (used as initial value by the dialog).
2954 return _windows_
.FindReplaceData_SetFindString(*args
, **kwargs
)
2956 def SetReplaceString(*args
, **kwargs
):
2958 SetReplaceString(self, String str)
2960 Set the replacement string (used as initial value by the dialog).
2962 return _windows_
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
2965 class FindReplaceDataPtr(FindReplaceData
):
2966 def __init__(self
, this
):
2968 if not hasattr(self
,"thisown"): self
.thisown
= 0
2969 self
.__class
__ = FindReplaceData
2970 _windows_
.FindReplaceData_swigregister(FindReplaceDataPtr
)
2972 class FindReplaceDialog(Dialog
):
2974 wx.FindReplaceDialog is a standard modeless dialog which is used to
2975 allow the user to search for some text (and possibly replace it with
2976 something else). The actual searching is supposed to be done in the
2977 owner window which is the parent of this dialog. Note that it means
2978 that unlike for the other standard dialogs this one must have a parent
2979 window. Also note that there is no way to use this dialog in a modal
2980 way; it is always, by design and implementation, modeless.
2986 ===================== =========================================
2987 wx.FR_REPLACEDIALOG replace dialog (otherwise find dialog)
2989 wx.FR_NOUPDOWN don't allow changing the search direction
2991 wx.FR_NOMATCHCASE don't allow case sensitive searching
2993 wx.FR_NOWHOLEWORD don't allow whole word searching
2994 ===================== =========================================
2998 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2999 def __init__(self
, *args
, **kwargs
):
3001 __init__(self, Window parent, FindReplaceData data, String title,
3002 int style=0) -> FindReplaceDialog
3004 Create a FindReplaceDialog. The parent and data parameters must be
3005 non-None. Use Show to display the dialog.
3007 newobj
= _windows_
.new_FindReplaceDialog(*args
, **kwargs
)
3008 self
.this
= newobj
.this
3011 self
._setOORInfo
(self
)
3013 def Create(*args
, **kwargs
):
3015 Create(self, Window parent, FindReplaceData data, String title,
3016 int style=0) -> bool
3018 Create the dialog, for 2-phase create.
3020 return _windows_
.FindReplaceDialog_Create(*args
, **kwargs
)
3022 def GetData(*args
, **kwargs
):
3024 GetData(self) -> FindReplaceData
3026 Get the FindReplaceData object used by this dialog.
3028 return _windows_
.FindReplaceDialog_GetData(*args
, **kwargs
)
3030 def SetData(*args
, **kwargs
):
3032 SetData(self, FindReplaceData data)
3034 Set the FindReplaceData object used by this dialog.
3036 return _windows_
.FindReplaceDialog_SetData(*args
, **kwargs
)
3039 class FindReplaceDialogPtr(FindReplaceDialog
):
3040 def __init__(self
, this
):
3042 if not hasattr(self
,"thisown"): self
.thisown
= 0
3043 self
.__class
__ = FindReplaceDialog
3044 _windows_
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
3046 def PreFindReplaceDialog(*args
, **kwargs
):
3048 PreFindReplaceDialog() -> FindReplaceDialog
3050 Precreate a FindReplaceDialog for 2-phase creation
3052 val
= _windows_
.new_PreFindReplaceDialog(*args
, **kwargs
)
3056 #---------------------------------------------------------------------------
3058 IDM_WINDOWTILE
= _windows_
.IDM_WINDOWTILE
3059 IDM_WINDOWTILEHOR
= _windows_
.IDM_WINDOWTILEHOR
3060 IDM_WINDOWCASCADE
= _windows_
.IDM_WINDOWCASCADE
3061 IDM_WINDOWICONS
= _windows_
.IDM_WINDOWICONS
3062 IDM_WINDOWNEXT
= _windows_
.IDM_WINDOWNEXT
3063 IDM_WINDOWTILEVERT
= _windows_
.IDM_WINDOWTILEVERT
3064 FIRST_MDI_CHILD
= _windows_
.FIRST_MDI_CHILD
3065 LAST_MDI_CHILD
= _windows_
.LAST_MDI_CHILD
3066 class MDIParentFrame(Frame
):
3068 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3069 def __init__(self
, *args
, **kwargs
):
3071 __init__(self, Window parent, int id, String title, Point pos=DefaultPosition,
3072 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3073 String name=FrameNameStr) -> MDIParentFrame
3075 newobj
= _windows_
.new_MDIParentFrame(*args
, **kwargs
)
3076 self
.this
= newobj
.this
3079 self
._setOORInfo
(self
)
3081 def Create(*args
, **kwargs
):
3083 Create(self, Window parent, int id, String title, Point pos=DefaultPosition,
3084 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3085 String name=FrameNameStr) -> bool
3087 return _windows_
.MDIParentFrame_Create(*args
, **kwargs
)
3089 def ActivateNext(*args
, **kwargs
):
3090 """ActivateNext(self)"""
3091 return _windows_
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
3093 def ActivatePrevious(*args
, **kwargs
):
3094 """ActivatePrevious(self)"""
3095 return _windows_
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
3097 def ArrangeIcons(*args
, **kwargs
):
3098 """ArrangeIcons(self)"""
3099 return _windows_
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
3101 def Cascade(*args
, **kwargs
):
3103 return _windows_
.MDIParentFrame_Cascade(*args
, **kwargs
)
3105 def GetActiveChild(*args
, **kwargs
):
3106 """GetActiveChild(self) -> MDIChildFrame"""
3107 return _windows_
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
3109 def GetClientWindow(*args
, **kwargs
):
3110 """GetClientWindow(self) -> MDIClientWindow"""
3111 return _windows_
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
3113 def GetToolBar(*args
, **kwargs
):
3114 """GetToolBar(self) -> Window"""
3115 return _windows_
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
3117 def Tile(*args
, **kwargs
):
3119 return _windows_
.MDIParentFrame_Tile(*args
, **kwargs
)
3122 class MDIParentFramePtr(MDIParentFrame
):
3123 def __init__(self
, this
):
3125 if not hasattr(self
,"thisown"): self
.thisown
= 0
3126 self
.__class
__ = MDIParentFrame
3127 _windows_
.MDIParentFrame_swigregister(MDIParentFramePtr
)
3129 def PreMDIParentFrame(*args
, **kwargs
):
3130 """PreMDIParentFrame() -> MDIParentFrame"""
3131 val
= _windows_
.new_PreMDIParentFrame(*args
, **kwargs
)
3135 class MDIChildFrame(Frame
):
3137 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3138 def __init__(self
, *args
, **kwargs
):
3140 __init__(self, MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
3141 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
3142 String name=FrameNameStr) -> MDIChildFrame
3144 newobj
= _windows_
.new_MDIChildFrame(*args
, **kwargs
)
3145 self
.this
= newobj
.this
3148 self
._setOORInfo
(self
)
3150 def Create(*args
, **kwargs
):
3152 Create(self, MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
3153 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
3154 String name=FrameNameStr) -> bool
3156 return _windows_
.MDIChildFrame_Create(*args
, **kwargs
)
3158 def Activate(*args
, **kwargs
):
3159 """Activate(self)"""
3160 return _windows_
.MDIChildFrame_Activate(*args
, **kwargs
)
3162 def Maximize(*args
, **kwargs
):
3163 """Maximize(self, bool maximize)"""
3164 return _windows_
.MDIChildFrame_Maximize(*args
, **kwargs
)
3166 def Restore(*args
, **kwargs
):
3168 return _windows_
.MDIChildFrame_Restore(*args
, **kwargs
)
3171 class MDIChildFramePtr(MDIChildFrame
):
3172 def __init__(self
, this
):
3174 if not hasattr(self
,"thisown"): self
.thisown
= 0
3175 self
.__class
__ = MDIChildFrame
3176 _windows_
.MDIChildFrame_swigregister(MDIChildFramePtr
)
3178 def PreMDIChildFrame(*args
, **kwargs
):
3179 """PreMDIChildFrame() -> MDIChildFrame"""
3180 val
= _windows_
.new_PreMDIChildFrame(*args
, **kwargs
)
3184 class MDIClientWindow(_core
.Window
):
3186 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3187 def __init__(self
, *args
, **kwargs
):
3188 """__init__(self, MDIParentFrame parent, long style=0) -> MDIClientWindow"""
3189 newobj
= _windows_
.new_MDIClientWindow(*args
, **kwargs
)
3190 self
.this
= newobj
.this
3193 self
._setOORInfo
(self
)
3195 def Create(*args
, **kwargs
):
3196 """Create(self, MDIParentFrame parent, long style=0) -> bool"""
3197 return _windows_
.MDIClientWindow_Create(*args
, **kwargs
)
3200 class MDIClientWindowPtr(MDIClientWindow
):
3201 def __init__(self
, this
):
3203 if not hasattr(self
,"thisown"): self
.thisown
= 0
3204 self
.__class
__ = MDIClientWindow
3205 _windows_
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
3207 def PreMDIClientWindow(*args
, **kwargs
):
3208 """PreMDIClientWindow() -> MDIClientWindow"""
3209 val
= _windows_
.new_PreMDIClientWindow(*args
, **kwargs
)
3213 #---------------------------------------------------------------------------
3215 class PyWindow(_core
.Window
):
3217 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3218 def __init__(self
, *args
, **kwargs
):
3220 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
3221 long style=0, String name=PanelNameStr) -> PyWindow
3223 newobj
= _windows_
.new_PyWindow(*args
, **kwargs
)
3224 self
.this
= newobj
.this
3227 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
3229 def _setCallbackInfo(*args
, **kwargs
):
3230 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3231 return _windows_
.PyWindow__setCallbackInfo(*args
, **kwargs
)
3233 def base_DoMoveWindow(*args
, **kwargs
):
3234 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3235 return _windows_
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
3237 def base_DoSetSize(*args
, **kwargs
):
3238 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3239 return _windows_
.PyWindow_base_DoSetSize(*args
, **kwargs
)
3241 def base_DoSetClientSize(*args
, **kwargs
):
3242 """base_DoSetClientSize(self, int width, int height)"""
3243 return _windows_
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
3245 def base_DoSetVirtualSize(*args
, **kwargs
):
3246 """base_DoSetVirtualSize(self, int x, int y)"""
3247 return _windows_
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
3249 def base_DoGetSize(*args
, **kwargs
):
3250 """base_DoGetSize() -> (width, height)"""
3251 return _windows_
.PyWindow_base_DoGetSize(*args
, **kwargs
)
3253 def base_DoGetClientSize(*args
, **kwargs
):
3254 """base_DoGetClientSize() -> (width, height)"""
3255 return _windows_
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
3257 def base_DoGetPosition(*args
, **kwargs
):
3258 """base_DoGetPosition() -> (x,y)"""
3259 return _windows_
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
3261 def base_DoGetVirtualSize(*args
, **kwargs
):
3262 """base_DoGetVirtualSize(self) -> Size"""
3263 return _windows_
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
3265 def base_DoGetBestSize(*args
, **kwargs
):
3266 """base_DoGetBestSize(self) -> Size"""
3267 return _windows_
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
3269 def base_InitDialog(*args
, **kwargs
):
3270 """base_InitDialog(self)"""
3271 return _windows_
.PyWindow_base_InitDialog(*args
, **kwargs
)
3273 def base_TransferDataToWindow(*args
, **kwargs
):
3274 """base_TransferDataToWindow(self) -> bool"""
3275 return _windows_
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
3277 def base_TransferDataFromWindow(*args
, **kwargs
):
3278 """base_TransferDataFromWindow(self) -> bool"""
3279 return _windows_
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
3281 def base_Validate(*args
, **kwargs
):
3282 """base_Validate(self) -> bool"""
3283 return _windows_
.PyWindow_base_Validate(*args
, **kwargs
)
3285 def base_AcceptsFocus(*args
, **kwargs
):
3286 """base_AcceptsFocus(self) -> bool"""
3287 return _windows_
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
3289 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3290 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3291 return _windows_
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3293 def base_GetMaxSize(*args
, **kwargs
):
3294 """base_GetMaxSize(self) -> Size"""
3295 return _windows_
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
3297 def base_AddChild(*args
, **kwargs
):
3298 """base_AddChild(self, Window child)"""
3299 return _windows_
.PyWindow_base_AddChild(*args
, **kwargs
)
3301 def base_RemoveChild(*args
, **kwargs
):
3302 """base_RemoveChild(self, Window child)"""
3303 return _windows_
.PyWindow_base_RemoveChild(*args
, **kwargs
)
3305 def base_ShouldInheritColours(*args
, **kwargs
):
3306 """base_ShouldInheritColours(self) -> bool"""
3307 return _windows_
.PyWindow_base_ShouldInheritColours(*args
, **kwargs
)
3309 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3310 """base_ApplyParentThemeBackground(self, Colour c)"""
3311 return _windows_
.PyWindow_base_ApplyParentThemeBackground(*args
, **kwargs
)
3314 class PyWindowPtr(PyWindow
):
3315 def __init__(self
, this
):
3317 if not hasattr(self
,"thisown"): self
.thisown
= 0
3318 self
.__class
__ = PyWindow
3319 _windows_
.PyWindow_swigregister(PyWindowPtr
)
3321 def PrePyWindow(*args
, **kwargs
):
3322 """PrePyWindow() -> PyWindow"""
3323 val
= _windows_
.new_PrePyWindow(*args
, **kwargs
)
3327 class PyPanel(Panel
):
3329 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3330 def __init__(self
, *args
, **kwargs
):
3332 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
3333 long style=0, String name=PanelNameStr) -> PyPanel
3335 newobj
= _windows_
.new_PyPanel(*args
, **kwargs
)
3336 self
.this
= newobj
.this
3339 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3341 def _setCallbackInfo(*args
, **kwargs
):
3342 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3343 return _windows_
.PyPanel__setCallbackInfo(*args
, **kwargs
)
3345 def base_DoMoveWindow(*args
, **kwargs
):
3346 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3347 return _windows_
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
3349 def base_DoSetSize(*args
, **kwargs
):
3350 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3351 return _windows_
.PyPanel_base_DoSetSize(*args
, **kwargs
)
3353 def base_DoSetClientSize(*args
, **kwargs
):
3354 """base_DoSetClientSize(self, int width, int height)"""
3355 return _windows_
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
3357 def base_DoSetVirtualSize(*args
, **kwargs
):
3358 """base_DoSetVirtualSize(self, int x, int y)"""
3359 return _windows_
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
3361 def base_DoGetSize(*args
, **kwargs
):
3362 """base_DoGetSize() -> (width, height)"""
3363 return _windows_
.PyPanel_base_DoGetSize(*args
, **kwargs
)
3365 def base_DoGetClientSize(*args
, **kwargs
):
3366 """base_DoGetClientSize() -> (width, height)"""
3367 return _windows_
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
3369 def base_DoGetPosition(*args
, **kwargs
):
3370 """base_DoGetPosition() -> (x,y)"""
3371 return _windows_
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
3373 def base_DoGetVirtualSize(*args
, **kwargs
):
3374 """base_DoGetVirtualSize(self) -> Size"""
3375 return _windows_
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
3377 def base_DoGetBestSize(*args
, **kwargs
):
3378 """base_DoGetBestSize(self) -> Size"""
3379 return _windows_
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
3381 def base_InitDialog(*args
, **kwargs
):
3382 """base_InitDialog(self)"""
3383 return _windows_
.PyPanel_base_InitDialog(*args
, **kwargs
)
3385 def base_TransferDataToWindow(*args
, **kwargs
):
3386 """base_TransferDataToWindow(self) -> bool"""
3387 return _windows_
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
3389 def base_TransferDataFromWindow(*args
, **kwargs
):
3390 """base_TransferDataFromWindow(self) -> bool"""
3391 return _windows_
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
3393 def base_Validate(*args
, **kwargs
):
3394 """base_Validate(self) -> bool"""
3395 return _windows_
.PyPanel_base_Validate(*args
, **kwargs
)
3397 def base_AcceptsFocus(*args
, **kwargs
):
3398 """base_AcceptsFocus(self) -> bool"""
3399 return _windows_
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
3401 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3402 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3403 return _windows_
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3405 def base_GetMaxSize(*args
, **kwargs
):
3406 """base_GetMaxSize(self) -> Size"""
3407 return _windows_
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
3409 def base_AddChild(*args
, **kwargs
):
3410 """base_AddChild(self, Window child)"""
3411 return _windows_
.PyPanel_base_AddChild(*args
, **kwargs
)
3413 def base_RemoveChild(*args
, **kwargs
):
3414 """base_RemoveChild(self, Window child)"""
3415 return _windows_
.PyPanel_base_RemoveChild(*args
, **kwargs
)
3417 def base_ShouldInheritColours(*args
, **kwargs
):
3418 """base_ShouldInheritColours(self) -> bool"""
3419 return _windows_
.PyPanel_base_ShouldInheritColours(*args
, **kwargs
)
3421 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3422 """base_ApplyParentThemeBackground(self, Colour c)"""
3423 return _windows_
.PyPanel_base_ApplyParentThemeBackground(*args
, **kwargs
)
3426 class PyPanelPtr(PyPanel
):
3427 def __init__(self
, this
):
3429 if not hasattr(self
,"thisown"): self
.thisown
= 0
3430 self
.__class
__ = PyPanel
3431 _windows_
.PyPanel_swigregister(PyPanelPtr
)
3433 def PrePyPanel(*args
, **kwargs
):
3434 """PrePyPanel() -> PyPanel"""
3435 val
= _windows_
.new_PrePyPanel(*args
, **kwargs
)
3439 class PyScrolledWindow(ScrolledWindow
):
3441 return "<%s.%s; proxy of C++ wxPyScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3442 def __init__(self
, *args
, **kwargs
):
3444 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
3445 long style=0, String name=PanelNameStr) -> PyScrolledWindow
3447 newobj
= _windows_
.new_PyScrolledWindow(*args
, **kwargs
)
3448 self
.this
= newobj
.this
3451 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3453 def _setCallbackInfo(*args
, **kwargs
):
3454 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3455 return _windows_
.PyScrolledWindow__setCallbackInfo(*args
, **kwargs
)
3457 def base_DoMoveWindow(*args
, **kwargs
):
3458 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3459 return _windows_
.PyScrolledWindow_base_DoMoveWindow(*args
, **kwargs
)
3461 def base_DoSetSize(*args
, **kwargs
):
3462 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3463 return _windows_
.PyScrolledWindow_base_DoSetSize(*args
, **kwargs
)
3465 def base_DoSetClientSize(*args
, **kwargs
):
3466 """base_DoSetClientSize(self, int width, int height)"""
3467 return _windows_
.PyScrolledWindow_base_DoSetClientSize(*args
, **kwargs
)
3469 def base_DoSetVirtualSize(*args
, **kwargs
):
3470 """base_DoSetVirtualSize(self, int x, int y)"""
3471 return _windows_
.PyScrolledWindow_base_DoSetVirtualSize(*args
, **kwargs
)
3473 def base_DoGetSize(*args
, **kwargs
):
3474 """base_DoGetSize() -> (width, height)"""
3475 return _windows_
.PyScrolledWindow_base_DoGetSize(*args
, **kwargs
)
3477 def base_DoGetClientSize(*args
, **kwargs
):
3478 """base_DoGetClientSize() -> (width, height)"""
3479 return _windows_
.PyScrolledWindow_base_DoGetClientSize(*args
, **kwargs
)
3481 def base_DoGetPosition(*args
, **kwargs
):
3482 """base_DoGetPosition() -> (x,y)"""
3483 return _windows_
.PyScrolledWindow_base_DoGetPosition(*args
, **kwargs
)
3485 def base_DoGetVirtualSize(*args
, **kwargs
):
3486 """base_DoGetVirtualSize(self) -> Size"""
3487 return _windows_
.PyScrolledWindow_base_DoGetVirtualSize(*args
, **kwargs
)
3489 def base_DoGetBestSize(*args
, **kwargs
):
3490 """base_DoGetBestSize(self) -> Size"""
3491 return _windows_
.PyScrolledWindow_base_DoGetBestSize(*args
, **kwargs
)
3493 def base_InitDialog(*args
, **kwargs
):
3494 """base_InitDialog(self)"""
3495 return _windows_
.PyScrolledWindow_base_InitDialog(*args
, **kwargs
)
3497 def base_TransferDataToWindow(*args
, **kwargs
):
3498 """base_TransferDataToWindow(self) -> bool"""
3499 return _windows_
.PyScrolledWindow_base_TransferDataToWindow(*args
, **kwargs
)
3501 def base_TransferDataFromWindow(*args
, **kwargs
):
3502 """base_TransferDataFromWindow(self) -> bool"""
3503 return _windows_
.PyScrolledWindow_base_TransferDataFromWindow(*args
, **kwargs
)
3505 def base_Validate(*args
, **kwargs
):
3506 """base_Validate(self) -> bool"""
3507 return _windows_
.PyScrolledWindow_base_Validate(*args
, **kwargs
)
3509 def base_AcceptsFocus(*args
, **kwargs
):
3510 """base_AcceptsFocus(self) -> bool"""
3511 return _windows_
.PyScrolledWindow_base_AcceptsFocus(*args
, **kwargs
)
3513 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3514 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3515 return _windows_
.PyScrolledWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3517 def base_GetMaxSize(*args
, **kwargs
):
3518 """base_GetMaxSize(self) -> Size"""
3519 return _windows_
.PyScrolledWindow_base_GetMaxSize(*args
, **kwargs
)
3521 def base_AddChild(*args
, **kwargs
):
3522 """base_AddChild(self, Window child)"""
3523 return _windows_
.PyScrolledWindow_base_AddChild(*args
, **kwargs
)
3525 def base_RemoveChild(*args
, **kwargs
):
3526 """base_RemoveChild(self, Window child)"""
3527 return _windows_
.PyScrolledWindow_base_RemoveChild(*args
, **kwargs
)
3529 def base_ShouldInheritColours(*args
, **kwargs
):
3530 """base_ShouldInheritColours(self) -> bool"""
3531 return _windows_
.PyScrolledWindow_base_ShouldInheritColours(*args
, **kwargs
)
3533 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3534 """base_ApplyParentThemeBackground(self, Colour c)"""
3535 return _windows_
.PyScrolledWindow_base_ApplyParentThemeBackground(*args
, **kwargs
)
3538 class PyScrolledWindowPtr(PyScrolledWindow
):
3539 def __init__(self
, this
):
3541 if not hasattr(self
,"thisown"): self
.thisown
= 0
3542 self
.__class
__ = PyScrolledWindow
3543 _windows_
.PyScrolledWindow_swigregister(PyScrolledWindowPtr
)
3545 def PrePyScrolledWindow(*args
, **kwargs
):
3546 """PrePyScrolledWindow() -> PyScrolledWindow"""
3547 val
= _windows_
.new_PrePyScrolledWindow(*args
, **kwargs
)
3551 #---------------------------------------------------------------------------
3553 PRINT_MODE_NONE
= _windows_
.PRINT_MODE_NONE
3554 PRINT_MODE_PREVIEW
= _windows_
.PRINT_MODE_PREVIEW
3555 PRINT_MODE_FILE
= _windows_
.PRINT_MODE_FILE
3556 PRINT_MODE_PRINTER
= _windows_
.PRINT_MODE_PRINTER
3557 PRINT_MODE_STREAM
= _windows_
.PRINT_MODE_STREAM
3558 class PrintData(_core
.Object
):
3560 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3561 def __init__(self
, *args
, **kwargs
):
3562 """__init__(self) -> PrintData"""
3563 newobj
= _windows_
.new_PrintData(*args
, **kwargs
)
3564 self
.this
= newobj
.this
3567 def __del__(self
, destroy
=_windows_
.delete_PrintData
):
3570 if self
.thisown
: destroy(self
)
3573 def GetNoCopies(*args
, **kwargs
):
3574 """GetNoCopies(self) -> int"""
3575 return _windows_
.PrintData_GetNoCopies(*args
, **kwargs
)
3577 def GetCollate(*args
, **kwargs
):
3578 """GetCollate(self) -> bool"""
3579 return _windows_
.PrintData_GetCollate(*args
, **kwargs
)
3581 def GetOrientation(*args
, **kwargs
):
3582 """GetOrientation(self) -> int"""
3583 return _windows_
.PrintData_GetOrientation(*args
, **kwargs
)
3585 def Ok(*args
, **kwargs
):
3586 """Ok(self) -> bool"""
3587 return _windows_
.PrintData_Ok(*args
, **kwargs
)
3589 def GetPrinterName(*args
, **kwargs
):
3590 """GetPrinterName(self) -> String"""
3591 return _windows_
.PrintData_GetPrinterName(*args
, **kwargs
)
3593 def GetColour(*args
, **kwargs
):
3594 """GetColour(self) -> bool"""
3595 return _windows_
.PrintData_GetColour(*args
, **kwargs
)
3597 def GetDuplex(*args
, **kwargs
):
3598 """GetDuplex(self) -> int"""
3599 return _windows_
.PrintData_GetDuplex(*args
, **kwargs
)
3601 def GetPaperId(*args
, **kwargs
):
3602 """GetPaperId(self) -> int"""
3603 return _windows_
.PrintData_GetPaperId(*args
, **kwargs
)
3605 def GetPaperSize(*args
, **kwargs
):
3606 """GetPaperSize(self) -> Size"""
3607 return _windows_
.PrintData_GetPaperSize(*args
, **kwargs
)
3609 def GetQuality(*args
, **kwargs
):
3610 """GetQuality(self) -> int"""
3611 return _windows_
.PrintData_GetQuality(*args
, **kwargs
)
3613 def SetNoCopies(*args
, **kwargs
):
3614 """SetNoCopies(self, int v)"""
3615 return _windows_
.PrintData_SetNoCopies(*args
, **kwargs
)
3617 def SetCollate(*args
, **kwargs
):
3618 """SetCollate(self, bool flag)"""
3619 return _windows_
.PrintData_SetCollate(*args
, **kwargs
)
3621 def SetOrientation(*args
, **kwargs
):
3622 """SetOrientation(self, int orient)"""
3623 return _windows_
.PrintData_SetOrientation(*args
, **kwargs
)
3625 def SetPrinterName(*args
, **kwargs
):
3626 """SetPrinterName(self, String name)"""
3627 return _windows_
.PrintData_SetPrinterName(*args
, **kwargs
)
3629 def SetColour(*args
, **kwargs
):
3630 """SetColour(self, bool colour)"""
3631 return _windows_
.PrintData_SetColour(*args
, **kwargs
)
3633 def SetDuplex(*args
, **kwargs
):
3634 """SetDuplex(self, int duplex)"""
3635 return _windows_
.PrintData_SetDuplex(*args
, **kwargs
)
3637 def SetPaperId(*args
, **kwargs
):
3638 """SetPaperId(self, int sizeId)"""
3639 return _windows_
.PrintData_SetPaperId(*args
, **kwargs
)
3641 def SetPaperSize(*args
, **kwargs
):
3642 """SetPaperSize(self, Size sz)"""
3643 return _windows_
.PrintData_SetPaperSize(*args
, **kwargs
)
3645 def SetQuality(*args
, **kwargs
):
3646 """SetQuality(self, int quality)"""
3647 return _windows_
.PrintData_SetQuality(*args
, **kwargs
)
3649 def GetPrinterCommand(*args
, **kwargs
):
3650 """GetPrinterCommand(self) -> String"""
3651 return _windows_
.PrintData_GetPrinterCommand(*args
, **kwargs
)
3653 def GetPrinterOptions(*args
, **kwargs
):
3654 """GetPrinterOptions(self) -> String"""
3655 return _windows_
.PrintData_GetPrinterOptions(*args
, **kwargs
)
3657 def GetPreviewCommand(*args
, **kwargs
):
3658 """GetPreviewCommand(self) -> String"""
3659 return _windows_
.PrintData_GetPreviewCommand(*args
, **kwargs
)
3661 def GetFilename(*args
, **kwargs
):
3662 """GetFilename(self) -> String"""
3663 return _windows_
.PrintData_GetFilename(*args
, **kwargs
)
3665 def GetFontMetricPath(*args
, **kwargs
):
3666 """GetFontMetricPath(self) -> String"""
3667 return _windows_
.PrintData_GetFontMetricPath(*args
, **kwargs
)
3669 def GetPrinterScaleX(*args
, **kwargs
):
3670 """GetPrinterScaleX(self) -> double"""
3671 return _windows_
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
3673 def GetPrinterScaleY(*args
, **kwargs
):
3674 """GetPrinterScaleY(self) -> double"""
3675 return _windows_
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
3677 def GetPrinterTranslateX(*args
, **kwargs
):
3678 """GetPrinterTranslateX(self) -> long"""
3679 return _windows_
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
3681 def GetPrinterTranslateY(*args
, **kwargs
):
3682 """GetPrinterTranslateY(self) -> long"""
3683 return _windows_
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
3685 def GetPrintMode(*args
, **kwargs
):
3686 """GetPrintMode(self) -> int"""
3687 return _windows_
.PrintData_GetPrintMode(*args
, **kwargs
)
3689 def SetPrinterCommand(*args
, **kwargs
):
3690 """SetPrinterCommand(self, String command)"""
3691 return _windows_
.PrintData_SetPrinterCommand(*args
, **kwargs
)
3693 def SetPrinterOptions(*args
, **kwargs
):
3694 """SetPrinterOptions(self, String options)"""
3695 return _windows_
.PrintData_SetPrinterOptions(*args
, **kwargs
)
3697 def SetPreviewCommand(*args
, **kwargs
):
3698 """SetPreviewCommand(self, String command)"""
3699 return _windows_
.PrintData_SetPreviewCommand(*args
, **kwargs
)
3701 def SetFilename(*args
, **kwargs
):
3702 """SetFilename(self, String filename)"""
3703 return _windows_
.PrintData_SetFilename(*args
, **kwargs
)
3705 def SetFontMetricPath(*args
, **kwargs
):
3706 """SetFontMetricPath(self, String path)"""
3707 return _windows_
.PrintData_SetFontMetricPath(*args
, **kwargs
)
3709 def SetPrinterScaleX(*args
, **kwargs
):
3710 """SetPrinterScaleX(self, double x)"""
3711 return _windows_
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
3713 def SetPrinterScaleY(*args
, **kwargs
):
3714 """SetPrinterScaleY(self, double y)"""
3715 return _windows_
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
3717 def SetPrinterScaling(*args
, **kwargs
):
3718 """SetPrinterScaling(self, double x, double y)"""
3719 return _windows_
.PrintData_SetPrinterScaling(*args
, **kwargs
)
3721 def SetPrinterTranslateX(*args
, **kwargs
):
3722 """SetPrinterTranslateX(self, long x)"""
3723 return _windows_
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
3725 def SetPrinterTranslateY(*args
, **kwargs
):
3726 """SetPrinterTranslateY(self, long y)"""
3727 return _windows_
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
3729 def SetPrinterTranslation(*args
, **kwargs
):
3730 """SetPrinterTranslation(self, long x, long y)"""
3731 return _windows_
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
3733 def SetPrintMode(*args
, **kwargs
):
3734 """SetPrintMode(self, int printMode)"""
3735 return _windows_
.PrintData_SetPrintMode(*args
, **kwargs
)
3737 def GetOutputStream(*args
, **kwargs
):
3738 """GetOutputStream(self) -> OutputStream"""
3739 return _windows_
.PrintData_GetOutputStream(*args
, **kwargs
)
3741 def SetOutputStream(*args
, **kwargs
):
3742 """SetOutputStream(self, OutputStream outputstream)"""
3743 return _windows_
.PrintData_SetOutputStream(*args
, **kwargs
)
3745 def __nonzero__(self
): return self
.Ok()
3747 class PrintDataPtr(PrintData
):
3748 def __init__(self
, this
):
3750 if not hasattr(self
,"thisown"): self
.thisown
= 0
3751 self
.__class
__ = PrintData
3752 _windows_
.PrintData_swigregister(PrintDataPtr
)
3753 PrintoutTitleStr
= cvar
.PrintoutTitleStr
3754 PreviewCanvasNameStr
= cvar
.PreviewCanvasNameStr
3756 class PageSetupDialogData(_core
.Object
):
3758 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3759 def __init__(self
, *args
, **kwargs
):
3760 """__init__(self) -> PageSetupDialogData"""
3761 newobj
= _windows_
.new_PageSetupDialogData(*args
, **kwargs
)
3762 self
.this
= newobj
.this
3765 def __del__(self
, destroy
=_windows_
.delete_PageSetupDialogData
):
3768 if self
.thisown
: destroy(self
)
3771 def EnableHelp(*args
, **kwargs
):
3772 """EnableHelp(self, bool flag)"""
3773 return _windows_
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
3775 def EnableMargins(*args
, **kwargs
):
3776 """EnableMargins(self, bool flag)"""
3777 return _windows_
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
3779 def EnableOrientation(*args
, **kwargs
):
3780 """EnableOrientation(self, bool flag)"""
3781 return _windows_
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
3783 def EnablePaper(*args
, **kwargs
):
3784 """EnablePaper(self, bool flag)"""
3785 return _windows_
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
3787 def EnablePrinter(*args
, **kwargs
):
3788 """EnablePrinter(self, bool flag)"""
3789 return _windows_
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
3791 def GetDefaultMinMargins(*args
, **kwargs
):
3792 """GetDefaultMinMargins(self) -> bool"""
3793 return _windows_
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
3795 def GetEnableMargins(*args
, **kwargs
):
3796 """GetEnableMargins(self) -> bool"""
3797 return _windows_
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
3799 def GetEnableOrientation(*args
, **kwargs
):
3800 """GetEnableOrientation(self) -> bool"""
3801 return _windows_
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
3803 def GetEnablePaper(*args
, **kwargs
):
3804 """GetEnablePaper(self) -> bool"""
3805 return _windows_
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
3807 def GetEnablePrinter(*args
, **kwargs
):
3808 """GetEnablePrinter(self) -> bool"""
3809 return _windows_
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
3811 def GetEnableHelp(*args
, **kwargs
):
3812 """GetEnableHelp(self) -> bool"""
3813 return _windows_
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
3815 def GetDefaultInfo(*args
, **kwargs
):
3816 """GetDefaultInfo(self) -> bool"""
3817 return _windows_
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
3819 def GetMarginTopLeft(*args
, **kwargs
):
3820 """GetMarginTopLeft(self) -> Point"""
3821 return _windows_
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
3823 def GetMarginBottomRight(*args
, **kwargs
):
3824 """GetMarginBottomRight(self) -> Point"""
3825 return _windows_
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
3827 def GetMinMarginTopLeft(*args
, **kwargs
):
3828 """GetMinMarginTopLeft(self) -> Point"""
3829 return _windows_
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
3831 def GetMinMarginBottomRight(*args
, **kwargs
):
3832 """GetMinMarginBottomRight(self) -> Point"""
3833 return _windows_
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
3835 def GetPaperId(*args
, **kwargs
):
3836 """GetPaperId(self) -> int"""
3837 return _windows_
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
3839 def GetPaperSize(*args
, **kwargs
):
3840 """GetPaperSize(self) -> Size"""
3841 return _windows_
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
3843 def GetPrintData(*args
, **kwargs
):
3844 """GetPrintData(self) -> PrintData"""
3845 return _windows_
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
3847 def Ok(*args
, **kwargs
):
3848 """Ok(self) -> bool"""
3849 return _windows_
.PageSetupDialogData_Ok(*args
, **kwargs
)
3851 def SetDefaultInfo(*args
, **kwargs
):
3852 """SetDefaultInfo(self, bool flag)"""
3853 return _windows_
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
3855 def SetDefaultMinMargins(*args
, **kwargs
):
3856 """SetDefaultMinMargins(self, bool flag)"""
3857 return _windows_
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
3859 def SetMarginTopLeft(*args
, **kwargs
):
3860 """SetMarginTopLeft(self, Point pt)"""
3861 return _windows_
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
3863 def SetMarginBottomRight(*args
, **kwargs
):
3864 """SetMarginBottomRight(self, Point pt)"""
3865 return _windows_
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
3867 def SetMinMarginTopLeft(*args
, **kwargs
):
3868 """SetMinMarginTopLeft(self, Point pt)"""
3869 return _windows_
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
3871 def SetMinMarginBottomRight(*args
, **kwargs
):
3872 """SetMinMarginBottomRight(self, Point pt)"""
3873 return _windows_
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
3875 def SetPaperId(*args
, **kwargs
):
3876 """SetPaperId(self, int id)"""
3877 return _windows_
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
3879 def SetPaperSize(*args
, **kwargs
):
3880 """SetPaperSize(self, Size size)"""
3881 return _windows_
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
3883 def SetPrintData(*args
, **kwargs
):
3884 """SetPrintData(self, PrintData printData)"""
3885 return _windows_
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
3887 def __nonzero__(self
): return self
.Ok()
3889 class PageSetupDialogDataPtr(PageSetupDialogData
):
3890 def __init__(self
, this
):
3892 if not hasattr(self
,"thisown"): self
.thisown
= 0
3893 self
.__class
__ = PageSetupDialogData
3894 _windows_
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
3896 class PageSetupDialog(Dialog
):
3898 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3899 def __init__(self
, *args
, **kwargs
):
3900 """__init__(self, Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
3901 newobj
= _windows_
.new_PageSetupDialog(*args
, **kwargs
)
3902 self
.this
= newobj
.this
3905 self
._setOORInfo
(self
)
3907 def GetPageSetupData(*args
, **kwargs
):
3908 """GetPageSetupData(self) -> PageSetupDialogData"""
3909 return _windows_
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
3911 def ShowModal(*args
, **kwargs
):
3912 """ShowModal(self) -> int"""
3913 return _windows_
.PageSetupDialog_ShowModal(*args
, **kwargs
)
3916 class PageSetupDialogPtr(PageSetupDialog
):
3917 def __init__(self
, this
):
3919 if not hasattr(self
,"thisown"): self
.thisown
= 0
3920 self
.__class
__ = PageSetupDialog
3921 _windows_
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
3923 class PrintDialogData(_core
.Object
):
3925 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3926 def __init__(self
, *args
):
3928 __init__(self) -> PrintDialogData
3929 __init__(self, PrintData printData) -> PrintDialogData
3931 newobj
= _windows_
.new_PrintDialogData(*args
)
3932 self
.this
= newobj
.this
3935 def __del__(self
, destroy
=_windows_
.delete_PrintDialogData
):
3938 if self
.thisown
: destroy(self
)
3941 def GetFromPage(*args
, **kwargs
):
3942 """GetFromPage(self) -> int"""
3943 return _windows_
.PrintDialogData_GetFromPage(*args
, **kwargs
)
3945 def GetToPage(*args
, **kwargs
):
3946 """GetToPage(self) -> int"""
3947 return _windows_
.PrintDialogData_GetToPage(*args
, **kwargs
)
3949 def GetMinPage(*args
, **kwargs
):
3950 """GetMinPage(self) -> int"""
3951 return _windows_
.PrintDialogData_GetMinPage(*args
, **kwargs
)
3953 def GetMaxPage(*args
, **kwargs
):
3954 """GetMaxPage(self) -> int"""
3955 return _windows_
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
3957 def GetNoCopies(*args
, **kwargs
):
3958 """GetNoCopies(self) -> int"""
3959 return _windows_
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
3961 def GetAllPages(*args
, **kwargs
):
3962 """GetAllPages(self) -> bool"""
3963 return _windows_
.PrintDialogData_GetAllPages(*args
, **kwargs
)
3965 def GetSelection(*args
, **kwargs
):
3966 """GetSelection(self) -> bool"""
3967 return _windows_
.PrintDialogData_GetSelection(*args
, **kwargs
)
3969 def GetCollate(*args
, **kwargs
):
3970 """GetCollate(self) -> bool"""
3971 return _windows_
.PrintDialogData_GetCollate(*args
, **kwargs
)
3973 def GetPrintToFile(*args
, **kwargs
):
3974 """GetPrintToFile(self) -> bool"""
3975 return _windows_
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
3977 def GetSetupDialog(*args
, **kwargs
):
3978 """GetSetupDialog(self) -> bool"""
3979 return _windows_
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
3981 def SetFromPage(*args
, **kwargs
):
3982 """SetFromPage(self, int v)"""
3983 return _windows_
.PrintDialogData_SetFromPage(*args
, **kwargs
)
3985 def SetToPage(*args
, **kwargs
):
3986 """SetToPage(self, int v)"""
3987 return _windows_
.PrintDialogData_SetToPage(*args
, **kwargs
)
3989 def SetMinPage(*args
, **kwargs
):
3990 """SetMinPage(self, int v)"""
3991 return _windows_
.PrintDialogData_SetMinPage(*args
, **kwargs
)
3993 def SetMaxPage(*args
, **kwargs
):
3994 """SetMaxPage(self, int v)"""
3995 return _windows_
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
3997 def SetNoCopies(*args
, **kwargs
):
3998 """SetNoCopies(self, int v)"""
3999 return _windows_
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
4001 def SetAllPages(*args
, **kwargs
):
4002 """SetAllPages(self, bool flag)"""
4003 return _windows_
.PrintDialogData_SetAllPages(*args
, **kwargs
)
4005 def SetSelection(*args
, **kwargs
):
4006 """SetSelection(self, bool flag)"""
4007 return _windows_
.PrintDialogData_SetSelection(*args
, **kwargs
)
4009 def SetCollate(*args
, **kwargs
):
4010 """SetCollate(self, bool flag)"""
4011 return _windows_
.PrintDialogData_SetCollate(*args
, **kwargs
)
4013 def SetPrintToFile(*args
, **kwargs
):
4014 """SetPrintToFile(self, bool flag)"""
4015 return _windows_
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
4017 def SetSetupDialog(*args
, **kwargs
):
4018 """SetSetupDialog(self, bool flag)"""
4019 return _windows_
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
4021 def EnablePrintToFile(*args
, **kwargs
):
4022 """EnablePrintToFile(self, bool flag)"""
4023 return _windows_
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
4025 def EnableSelection(*args
, **kwargs
):
4026 """EnableSelection(self, bool flag)"""
4027 return _windows_
.PrintDialogData_EnableSelection(*args
, **kwargs
)
4029 def EnablePageNumbers(*args
, **kwargs
):
4030 """EnablePageNumbers(self, bool flag)"""
4031 return _windows_
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
4033 def EnableHelp(*args
, **kwargs
):
4034 """EnableHelp(self, bool flag)"""
4035 return _windows_
.PrintDialogData_EnableHelp(*args
, **kwargs
)
4037 def GetEnablePrintToFile(*args
, **kwargs
):
4038 """GetEnablePrintToFile(self) -> bool"""
4039 return _windows_
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
4041 def GetEnableSelection(*args
, **kwargs
):
4042 """GetEnableSelection(self) -> bool"""
4043 return _windows_
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
4045 def GetEnablePageNumbers(*args
, **kwargs
):
4046 """GetEnablePageNumbers(self) -> bool"""
4047 return _windows_
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
4049 def GetEnableHelp(*args
, **kwargs
):
4050 """GetEnableHelp(self) -> bool"""
4051 return _windows_
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
4053 def Ok(*args
, **kwargs
):
4054 """Ok(self) -> bool"""
4055 return _windows_
.PrintDialogData_Ok(*args
, **kwargs
)
4057 def GetPrintData(*args
, **kwargs
):
4058 """GetPrintData(self) -> PrintData"""
4059 return _windows_
.PrintDialogData_GetPrintData(*args
, **kwargs
)
4061 def SetPrintData(*args
, **kwargs
):
4062 """SetPrintData(self, PrintData printData)"""
4063 return _windows_
.PrintDialogData_SetPrintData(*args
, **kwargs
)
4065 def __nonzero__(self
): return self
.Ok()
4067 class PrintDialogDataPtr(PrintDialogData
):
4068 def __init__(self
, this
):
4070 if not hasattr(self
,"thisown"): self
.thisown
= 0
4071 self
.__class
__ = PrintDialogData
4072 _windows_
.PrintDialogData_swigregister(PrintDialogDataPtr
)
4074 class PrintDialog(Dialog
):
4076 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4077 def __init__(self
, *args
, **kwargs
):
4078 """__init__(self, Window parent, PrintDialogData data=None) -> PrintDialog"""
4079 newobj
= _windows_
.new_PrintDialog(*args
, **kwargs
)
4080 self
.this
= newobj
.this
4083 self
._setOORInfo
(self
)
4085 def GetPrintDialogData(*args
, **kwargs
):
4086 """GetPrintDialogData(self) -> PrintDialogData"""
4087 return _windows_
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
4089 def GetPrintDC(*args
, **kwargs
):
4090 """GetPrintDC(self) -> DC"""
4091 return _windows_
.PrintDialog_GetPrintDC(*args
, **kwargs
)
4093 def ShowModal(*args
, **kwargs
):
4094 """ShowModal(self) -> int"""
4095 return _windows_
.PrintDialog_ShowModal(*args
, **kwargs
)
4098 class PrintDialogPtr(PrintDialog
):
4099 def __init__(self
, this
):
4101 if not hasattr(self
,"thisown"): self
.thisown
= 0
4102 self
.__class
__ = PrintDialog
4103 _windows_
.PrintDialog_swigregister(PrintDialogPtr
)
4105 PRINTER_NO_ERROR
= _windows_
.PRINTER_NO_ERROR
4106 PRINTER_CANCELLED
= _windows_
.PRINTER_CANCELLED
4107 PRINTER_ERROR
= _windows_
.PRINTER_ERROR
4108 class Printer(_core
.Object
):
4110 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4111 def __init__(self
, *args
, **kwargs
):
4112 """__init__(self, PrintDialogData data=None) -> Printer"""
4113 newobj
= _windows_
.new_Printer(*args
, **kwargs
)
4114 self
.this
= newobj
.this
4117 def __del__(self
, destroy
=_windows_
.delete_Printer
):
4120 if self
.thisown
: destroy(self
)
4123 def CreateAbortWindow(*args
, **kwargs
):
4124 """CreateAbortWindow(self, Window parent, Printout printout)"""
4125 return _windows_
.Printer_CreateAbortWindow(*args
, **kwargs
)
4127 def GetPrintDialogData(*args
, **kwargs
):
4128 """GetPrintDialogData(self) -> PrintDialogData"""
4129 return _windows_
.Printer_GetPrintDialogData(*args
, **kwargs
)
4131 def Print(*args
, **kwargs
):
4132 """Print(self, Window parent, Printout printout, int prompt=True) -> bool"""
4133 return _windows_
.Printer_Print(*args
, **kwargs
)
4135 def PrintDialog(*args
, **kwargs
):
4136 """PrintDialog(self, Window parent) -> DC"""
4137 return _windows_
.Printer_PrintDialog(*args
, **kwargs
)
4139 def ReportError(*args
, **kwargs
):
4140 """ReportError(self, Window parent, Printout printout, String message)"""
4141 return _windows_
.Printer_ReportError(*args
, **kwargs
)
4143 def Setup(*args
, **kwargs
):
4144 """Setup(self, Window parent) -> bool"""
4145 return _windows_
.Printer_Setup(*args
, **kwargs
)
4147 def GetAbort(*args
, **kwargs
):
4148 """GetAbort(self) -> bool"""
4149 return _windows_
.Printer_GetAbort(*args
, **kwargs
)
4151 def GetLastError(*args
, **kwargs
):
4152 """GetLastError() -> int"""
4153 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4155 GetLastError
= staticmethod(GetLastError
)
4157 class PrinterPtr(Printer
):
4158 def __init__(self
, this
):
4160 if not hasattr(self
,"thisown"): self
.thisown
= 0
4161 self
.__class
__ = Printer
4162 _windows_
.Printer_swigregister(PrinterPtr
)
4164 def Printer_GetLastError(*args
, **kwargs
):
4165 """Printer_GetLastError() -> int"""
4166 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4168 class Printout(_core
.Object
):
4170 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4171 def __init__(self
, *args
, **kwargs
):
4172 """__init__(self, String title=PrintoutTitleStr) -> Printout"""
4173 newobj
= _windows_
.new_Printout(*args
, **kwargs
)
4174 self
.this
= newobj
.this
4177 self
._setCallbackInfo
(self
, Printout
)
4179 def _setCallbackInfo(*args
, **kwargs
):
4180 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4181 return _windows_
.Printout__setCallbackInfo(*args
, **kwargs
)
4183 def GetTitle(*args
, **kwargs
):
4184 """GetTitle(self) -> String"""
4185 return _windows_
.Printout_GetTitle(*args
, **kwargs
)
4187 def GetDC(*args
, **kwargs
):
4188 """GetDC(self) -> DC"""
4189 return _windows_
.Printout_GetDC(*args
, **kwargs
)
4191 def SetDC(*args
, **kwargs
):
4192 """SetDC(self, DC dc)"""
4193 return _windows_
.Printout_SetDC(*args
, **kwargs
)
4195 def SetPageSizePixels(*args
, **kwargs
):
4196 """SetPageSizePixels(self, int w, int h)"""
4197 return _windows_
.Printout_SetPageSizePixels(*args
, **kwargs
)
4199 def GetPageSizePixels(*args
, **kwargs
):
4200 """GetPageSizePixels() -> (w, h)"""
4201 return _windows_
.Printout_GetPageSizePixels(*args
, **kwargs
)
4203 def SetPageSizeMM(*args
, **kwargs
):
4204 """SetPageSizeMM(self, int w, int h)"""
4205 return _windows_
.Printout_SetPageSizeMM(*args
, **kwargs
)
4207 def GetPageSizeMM(*args
, **kwargs
):
4208 """GetPageSizeMM() -> (w, h)"""
4209 return _windows_
.Printout_GetPageSizeMM(*args
, **kwargs
)
4211 def SetPPIScreen(*args
, **kwargs
):
4212 """SetPPIScreen(self, int x, int y)"""
4213 return _windows_
.Printout_SetPPIScreen(*args
, **kwargs
)
4215 def GetPPIScreen(*args
, **kwargs
):
4216 """GetPPIScreen() -> (x,y)"""
4217 return _windows_
.Printout_GetPPIScreen(*args
, **kwargs
)
4219 def SetPPIPrinter(*args
, **kwargs
):
4220 """SetPPIPrinter(self, int x, int y)"""
4221 return _windows_
.Printout_SetPPIPrinter(*args
, **kwargs
)
4223 def GetPPIPrinter(*args
, **kwargs
):
4224 """GetPPIPrinter() -> (x,y)"""
4225 return _windows_
.Printout_GetPPIPrinter(*args
, **kwargs
)
4227 def IsPreview(*args
, **kwargs
):
4228 """IsPreview(self) -> bool"""
4229 return _windows_
.Printout_IsPreview(*args
, **kwargs
)
4231 def SetIsPreview(*args
, **kwargs
):
4232 """SetIsPreview(self, bool p)"""
4233 return _windows_
.Printout_SetIsPreview(*args
, **kwargs
)
4235 def base_OnBeginDocument(*args
, **kwargs
):
4236 """base_OnBeginDocument(self, int startPage, int endPage) -> bool"""
4237 return _windows_
.Printout_base_OnBeginDocument(*args
, **kwargs
)
4239 def base_OnEndDocument(*args
, **kwargs
):
4240 """base_OnEndDocument(self)"""
4241 return _windows_
.Printout_base_OnEndDocument(*args
, **kwargs
)
4243 def base_OnBeginPrinting(*args
, **kwargs
):
4244 """base_OnBeginPrinting(self)"""
4245 return _windows_
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
4247 def base_OnEndPrinting(*args
, **kwargs
):
4248 """base_OnEndPrinting(self)"""
4249 return _windows_
.Printout_base_OnEndPrinting(*args
, **kwargs
)
4251 def base_OnPreparePrinting(*args
, **kwargs
):
4252 """base_OnPreparePrinting(self)"""
4253 return _windows_
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
4255 def base_HasPage(*args
, **kwargs
):
4256 """base_HasPage(self, int page) -> bool"""
4257 return _windows_
.Printout_base_HasPage(*args
, **kwargs
)
4259 def base_GetPageInfo(*args
, **kwargs
):
4260 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
4261 return _windows_
.Printout_base_GetPageInfo(*args
, **kwargs
)
4264 class PrintoutPtr(Printout
):
4265 def __init__(self
, this
):
4267 if not hasattr(self
,"thisown"): self
.thisown
= 0
4268 self
.__class
__ = Printout
4269 _windows_
.Printout_swigregister(PrintoutPtr
)
4271 class PreviewCanvas(ScrolledWindow
):
4273 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4274 def __init__(self
, *args
, **kwargs
):
4276 __init__(self, PrintPreview preview, Window parent, Point pos=DefaultPosition,
4277 Size size=DefaultSize, long style=0,
4278 String name=PreviewCanvasNameStr) -> PreviewCanvas
4280 newobj
= _windows_
.new_PreviewCanvas(*args
, **kwargs
)
4281 self
.this
= newobj
.this
4284 self
._setOORInfo
(self
)
4287 class PreviewCanvasPtr(PreviewCanvas
):
4288 def __init__(self
, this
):
4290 if not hasattr(self
,"thisown"): self
.thisown
= 0
4291 self
.__class
__ = PreviewCanvas
4292 _windows_
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
4294 class PreviewFrame(Frame
):
4296 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4297 def __init__(self
, *args
, **kwargs
):
4299 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4300 Size size=DefaultSize,
4301 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
4303 newobj
= _windows_
.new_PreviewFrame(*args
, **kwargs
)
4304 self
.this
= newobj
.this
4307 self
._setOORInfo
(self
)
4309 def Initialize(*args
, **kwargs
):
4310 """Initialize(self)"""
4311 return _windows_
.PreviewFrame_Initialize(*args
, **kwargs
)
4313 def CreateControlBar(*args
, **kwargs
):
4314 """CreateControlBar(self)"""
4315 return _windows_
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
4317 def CreateCanvas(*args
, **kwargs
):
4318 """CreateCanvas(self)"""
4319 return _windows_
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
4321 def GetControlBar(*args
, **kwargs
):
4322 """GetControlBar(self) -> PreviewControlBar"""
4323 return _windows_
.PreviewFrame_GetControlBar(*args
, **kwargs
)
4326 class PreviewFramePtr(PreviewFrame
):
4327 def __init__(self
, this
):
4329 if not hasattr(self
,"thisown"): self
.thisown
= 0
4330 self
.__class
__ = PreviewFrame
4331 _windows_
.PreviewFrame_swigregister(PreviewFramePtr
)
4333 PREVIEW_PRINT
= _windows_
.PREVIEW_PRINT
4334 PREVIEW_PREVIOUS
= _windows_
.PREVIEW_PREVIOUS
4335 PREVIEW_NEXT
= _windows_
.PREVIEW_NEXT
4336 PREVIEW_ZOOM
= _windows_
.PREVIEW_ZOOM
4337 PREVIEW_FIRST
= _windows_
.PREVIEW_FIRST
4338 PREVIEW_LAST
= _windows_
.PREVIEW_LAST
4339 PREVIEW_GOTO
= _windows_
.PREVIEW_GOTO
4340 PREVIEW_DEFAULT
= _windows_
.PREVIEW_DEFAULT
4341 ID_PREVIEW_CLOSE
= _windows_
.ID_PREVIEW_CLOSE
4342 ID_PREVIEW_NEXT
= _windows_
.ID_PREVIEW_NEXT
4343 ID_PREVIEW_PREVIOUS
= _windows_
.ID_PREVIEW_PREVIOUS
4344 ID_PREVIEW_PRINT
= _windows_
.ID_PREVIEW_PRINT
4345 ID_PREVIEW_ZOOM
= _windows_
.ID_PREVIEW_ZOOM
4346 ID_PREVIEW_FIRST
= _windows_
.ID_PREVIEW_FIRST
4347 ID_PREVIEW_LAST
= _windows_
.ID_PREVIEW_LAST
4348 ID_PREVIEW_GOTO
= _windows_
.ID_PREVIEW_GOTO
4349 class PreviewControlBar(Panel
):
4351 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4352 def __init__(self
, *args
, **kwargs
):
4354 __init__(self, PrintPreview preview, long buttons, Window parent,
4355 Point pos=DefaultPosition, Size size=DefaultSize,
4356 long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
4358 newobj
= _windows_
.new_PreviewControlBar(*args
, **kwargs
)
4359 self
.this
= newobj
.this
4362 self
._setOORInfo
(self
)
4364 def GetZoomControl(*args
, **kwargs
):
4365 """GetZoomControl(self) -> int"""
4366 return _windows_
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
4368 def SetZoomControl(*args
, **kwargs
):
4369 """SetZoomControl(self, int zoom)"""
4370 return _windows_
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
4372 def GetPrintPreview(*args
, **kwargs
):
4373 """GetPrintPreview(self) -> PrintPreview"""
4374 return _windows_
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
4376 def OnNext(*args
, **kwargs
):
4378 return _windows_
.PreviewControlBar_OnNext(*args
, **kwargs
)
4380 def OnPrevious(*args
, **kwargs
):
4381 """OnPrevious(self)"""
4382 return _windows_
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
4384 def OnFirst(*args
, **kwargs
):
4386 return _windows_
.PreviewControlBar_OnFirst(*args
, **kwargs
)
4388 def OnLast(*args
, **kwargs
):
4390 return _windows_
.PreviewControlBar_OnLast(*args
, **kwargs
)
4392 def OnGoto(*args
, **kwargs
):
4394 return _windows_
.PreviewControlBar_OnGoto(*args
, **kwargs
)
4397 class PreviewControlBarPtr(PreviewControlBar
):
4398 def __init__(self
, this
):
4400 if not hasattr(self
,"thisown"): self
.thisown
= 0
4401 self
.__class
__ = PreviewControlBar
4402 _windows_
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
4404 class PrintPreview(_core
.Object
):
4406 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4407 def __init__(self
, *args
):
4409 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview
4410 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview
4412 newobj
= _windows_
.new_PrintPreview(*args
)
4413 self
.this
= newobj
.this
4416 def SetCurrentPage(*args
, **kwargs
):
4417 """SetCurrentPage(self, int pageNum) -> bool"""
4418 return _windows_
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
4420 def GetCurrentPage(*args
, **kwargs
):
4421 """GetCurrentPage(self) -> int"""
4422 return _windows_
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
4424 def SetPrintout(*args
, **kwargs
):
4425 """SetPrintout(self, Printout printout)"""
4426 return _windows_
.PrintPreview_SetPrintout(*args
, **kwargs
)
4428 def GetPrintout(*args
, **kwargs
):
4429 """GetPrintout(self) -> Printout"""
4430 return _windows_
.PrintPreview_GetPrintout(*args
, **kwargs
)
4432 def GetPrintoutForPrinting(*args
, **kwargs
):
4433 """GetPrintoutForPrinting(self) -> Printout"""
4434 return _windows_
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
4436 def SetFrame(*args
, **kwargs
):
4437 """SetFrame(self, Frame frame)"""
4438 return _windows_
.PrintPreview_SetFrame(*args
, **kwargs
)
4440 def SetCanvas(*args
, **kwargs
):
4441 """SetCanvas(self, PreviewCanvas canvas)"""
4442 return _windows_
.PrintPreview_SetCanvas(*args
, **kwargs
)
4444 def GetFrame(*args
, **kwargs
):
4445 """GetFrame(self) -> Frame"""
4446 return _windows_
.PrintPreview_GetFrame(*args
, **kwargs
)
4448 def GetCanvas(*args
, **kwargs
):
4449 """GetCanvas(self) -> PreviewCanvas"""
4450 return _windows_
.PrintPreview_GetCanvas(*args
, **kwargs
)
4452 def PaintPage(*args
, **kwargs
):
4453 """PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4454 return _windows_
.PrintPreview_PaintPage(*args
, **kwargs
)
4456 def DrawBlankPage(*args
, **kwargs
):
4457 """DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4458 return _windows_
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
4460 def RenderPage(*args
, **kwargs
):
4461 """RenderPage(self, int pageNum) -> bool"""
4462 return _windows_
.PrintPreview_RenderPage(*args
, **kwargs
)
4464 def AdjustScrollbars(*args
, **kwargs
):
4465 """AdjustScrollbars(self, PreviewCanvas canvas)"""
4466 return _windows_
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
4468 def GetPrintDialogData(*args
, **kwargs
):
4469 """GetPrintDialogData(self) -> PrintDialogData"""
4470 return _windows_
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
4472 def SetZoom(*args
, **kwargs
):
4473 """SetZoom(self, int percent)"""
4474 return _windows_
.PrintPreview_SetZoom(*args
, **kwargs
)
4476 def GetZoom(*args
, **kwargs
):
4477 """GetZoom(self) -> int"""
4478 return _windows_
.PrintPreview_GetZoom(*args
, **kwargs
)
4480 def GetMaxPage(*args
, **kwargs
):
4481 """GetMaxPage(self) -> int"""
4482 return _windows_
.PrintPreview_GetMaxPage(*args
, **kwargs
)
4484 def GetMinPage(*args
, **kwargs
):
4485 """GetMinPage(self) -> int"""
4486 return _windows_
.PrintPreview_GetMinPage(*args
, **kwargs
)
4488 def Ok(*args
, **kwargs
):
4489 """Ok(self) -> bool"""
4490 return _windows_
.PrintPreview_Ok(*args
, **kwargs
)
4492 def SetOk(*args
, **kwargs
):
4493 """SetOk(self, bool ok)"""
4494 return _windows_
.PrintPreview_SetOk(*args
, **kwargs
)
4496 def Print(*args
, **kwargs
):
4497 """Print(self, bool interactive) -> bool"""
4498 return _windows_
.PrintPreview_Print(*args
, **kwargs
)
4500 def DetermineScaling(*args
, **kwargs
):
4501 """DetermineScaling(self)"""
4502 return _windows_
.PrintPreview_DetermineScaling(*args
, **kwargs
)
4504 def __nonzero__(self
): return self
.Ok()
4506 class PrintPreviewPtr(PrintPreview
):
4507 def __init__(self
, this
):
4509 if not hasattr(self
,"thisown"): self
.thisown
= 0
4510 self
.__class
__ = PrintPreview
4511 _windows_
.PrintPreview_swigregister(PrintPreviewPtr
)
4513 class PyPrintPreview(PrintPreview
):
4515 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4516 def __init__(self
, *args
):
4518 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview
4519 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview
4521 newobj
= _windows_
.new_PyPrintPreview(*args
)
4522 self
.this
= newobj
.this
4525 self
._setCallbackInfo
(self
, PyPrintPreview
)
4527 def _setCallbackInfo(*args
, **kwargs
):
4528 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4529 return _windows_
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
4531 def base_SetCurrentPage(*args
, **kwargs
):
4532 """base_SetCurrentPage(self, int pageNum) -> bool"""
4533 return _windows_
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
4535 def base_PaintPage(*args
, **kwargs
):
4536 """base_PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4537 return _windows_
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
4539 def base_DrawBlankPage(*args
, **kwargs
):
4540 """base_DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4541 return _windows_
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
4543 def base_RenderPage(*args
, **kwargs
):
4544 """base_RenderPage(self, int pageNum) -> bool"""
4545 return _windows_
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
4547 def base_SetZoom(*args
, **kwargs
):
4548 """base_SetZoom(self, int percent)"""
4549 return _windows_
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
4551 def base_Print(*args
, **kwargs
):
4552 """base_Print(self, bool interactive) -> bool"""
4553 return _windows_
.PyPrintPreview_base_Print(*args
, **kwargs
)
4555 def base_DetermineScaling(*args
, **kwargs
):
4556 """base_DetermineScaling(self)"""
4557 return _windows_
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
4560 class PyPrintPreviewPtr(PyPrintPreview
):
4561 def __init__(self
, this
):
4563 if not hasattr(self
,"thisown"): self
.thisown
= 0
4564 self
.__class
__ = PyPrintPreview
4565 _windows_
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
4567 class PyPreviewFrame(PreviewFrame
):
4569 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4570 def __init__(self
, *args
, **kwargs
):
4572 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4573 Size size=DefaultSize,
4574 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
4576 newobj
= _windows_
.new_PyPreviewFrame(*args
, **kwargs
)
4577 self
.this
= newobj
.this
4580 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
4582 def _setCallbackInfo(*args
, **kwargs
):
4583 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4584 return _windows_
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
4586 def SetPreviewCanvas(*args
, **kwargs
):
4587 """SetPreviewCanvas(self, PreviewCanvas canvas)"""
4588 return _windows_
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
4590 def SetControlBar(*args
, **kwargs
):
4591 """SetControlBar(self, PreviewControlBar bar)"""
4592 return _windows_
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
4594 def base_Initialize(*args
, **kwargs
):
4595 """base_Initialize(self)"""
4596 return _windows_
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
4598 def base_CreateCanvas(*args
, **kwargs
):
4599 """base_CreateCanvas(self)"""
4600 return _windows_
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
4602 def base_CreateControlBar(*args
, **kwargs
):
4603 """base_CreateControlBar(self)"""
4604 return _windows_
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
4607 class PyPreviewFramePtr(PyPreviewFrame
):
4608 def __init__(self
, this
):
4610 if not hasattr(self
,"thisown"): self
.thisown
= 0
4611 self
.__class
__ = PyPreviewFrame
4612 _windows_
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
4614 class PyPreviewControlBar(PreviewControlBar
):
4616 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4617 def __init__(self
, *args
, **kwargs
):
4619 __init__(self, PrintPreview preview, long buttons, Window parent,
4620 Point pos=DefaultPosition, Size size=DefaultSize,
4621 long style=0, String name=PanelNameStr) -> PyPreviewControlBar
4623 newobj
= _windows_
.new_PyPreviewControlBar(*args
, **kwargs
)
4624 self
.this
= newobj
.this
4627 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
4629 def _setCallbackInfo(*args
, **kwargs
):
4630 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4631 return _windows_
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
4633 def SetPrintPreview(*args
, **kwargs
):
4634 """SetPrintPreview(self, PrintPreview preview)"""
4635 return _windows_
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
4637 def base_CreateButtons(*args
, **kwargs
):
4638 """base_CreateButtons(self)"""
4639 return _windows_
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
4641 def base_SetZoomControl(*args
, **kwargs
):
4642 """base_SetZoomControl(self, int zoom)"""
4643 return _windows_
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
4646 class PyPreviewControlBarPtr(PyPreviewControlBar
):
4647 def __init__(self
, this
):
4649 if not hasattr(self
,"thisown"): self
.thisown
= 0
4650 self
.__class
__ = PyPreviewControlBar
4651 _windows_
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)