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__(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(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
28 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
):
37 return _windows
.Panel_InitDialog(*args
, **kwargs
)
40 class PanelPtr(Panel
):
41 def __init__(self
, this
):
43 if not hasattr(self
,"thisown"): self
.thisown
= 0
44 self
.__class
__ = Panel
45 _windows
.Panel_swigregister(PanelPtr
)
47 def PrePanel(*args
, **kwargs
):
48 """PrePanel() -> Panel"""
49 val
= _windows
.new_PrePanel(*args
, **kwargs
)
53 #---------------------------------------------------------------------------
55 class ScrolledWindow(Panel
):
57 return "<%s.%s; proxy of C++ wxScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
58 def __init__(self
, *args
, **kwargs
):
60 __init__(Window parent, int id=-1, Point pos=DefaultPosition,
61 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
62 String name=PanelNameStr) -> ScrolledWindow
64 newobj
= _windows
.new_ScrolledWindow(*args
, **kwargs
)
65 self
.this
= newobj
.this
68 self
._setOORInfo
(self
)
70 def Create(*args
, **kwargs
):
72 Create(Window parent, int id=-1, Point pos=DefaultPosition,
73 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
74 String name=PanelNameStr) -> bool
76 Create the GUI part of the Window for 2-phase creation mode.
78 return _windows
.ScrolledWindow_Create(*args
, **kwargs
)
80 def SetScrollbars(*args
, **kwargs
):
82 SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX,
83 int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)
85 return _windows
.ScrolledWindow_SetScrollbars(*args
, **kwargs
)
87 def Scroll(*args
, **kwargs
):
88 """Scroll(int x, int y)"""
89 return _windows
.ScrolledWindow_Scroll(*args
, **kwargs
)
91 def GetScrollPageSize(*args
, **kwargs
):
92 """GetScrollPageSize(int orient) -> int"""
93 return _windows
.ScrolledWindow_GetScrollPageSize(*args
, **kwargs
)
95 def SetScrollPageSize(*args
, **kwargs
):
96 """SetScrollPageSize(int orient, int pageSize)"""
97 return _windows
.ScrolledWindow_SetScrollPageSize(*args
, **kwargs
)
99 def SetScrollRate(*args
, **kwargs
):
100 """SetScrollRate(int xstep, int ystep)"""
101 return _windows
.ScrolledWindow_SetScrollRate(*args
, **kwargs
)
103 def GetScrollPixelsPerUnit(*args
, **kwargs
):
105 GetScrollPixelsPerUnit() -> (xUnit, yUnit)
107 Get the size of one logical unit in physical units.
109 return _windows
.ScrolledWindow_GetScrollPixelsPerUnit(*args
, **kwargs
)
111 def EnableScrolling(*args
, **kwargs
):
112 """EnableScrolling(bool x_scrolling, bool y_scrolling)"""
113 return _windows
.ScrolledWindow_EnableScrolling(*args
, **kwargs
)
115 def GetViewStart(*args
, **kwargs
):
117 GetViewStart() -> (x,y)
121 return _windows
.ScrolledWindow_GetViewStart(*args
, **kwargs
)
123 def SetScale(*args
, **kwargs
):
124 """SetScale(double xs, double ys)"""
125 return _windows
.ScrolledWindow_SetScale(*args
, **kwargs
)
127 def GetScaleX(*args
, **kwargs
):
128 """GetScaleX() -> double"""
129 return _windows
.ScrolledWindow_GetScaleX(*args
, **kwargs
)
131 def GetScaleY(*args
, **kwargs
):
132 """GetScaleY() -> double"""
133 return _windows
.ScrolledWindow_GetScaleY(*args
, **kwargs
)
135 def CalcScrolledPosition(*args
):
137 CalcScrolledPosition(Point pt) -> Point
138 CalcScrolledPosition(int x, int y) -> (sx, sy)
140 Translate between scrolled and unscrolled coordinates.
142 return _windows
.ScrolledWindow_CalcScrolledPosition(*args
)
144 def CalcUnscrolledPosition(*args
):
146 CalcUnscrolledPosition(Point pt) -> Point
147 CalcUnscrolledPosition(int x, int y) -> (ux, uy)
149 Translate between scrolled and unscrolled coordinates.
151 return _windows
.ScrolledWindow_CalcUnscrolledPosition(*args
)
153 def AdjustScrollbars(*args
, **kwargs
):
154 """AdjustScrollbars()"""
155 return _windows
.ScrolledWindow_AdjustScrollbars(*args
, **kwargs
)
157 def CalcScrollInc(*args
, **kwargs
):
158 """CalcScrollInc(ScrollWinEvent event) -> int"""
159 return _windows
.ScrolledWindow_CalcScrollInc(*args
, **kwargs
)
161 def SetTargetWindow(*args
, **kwargs
):
162 """SetTargetWindow(Window target)"""
163 return _windows
.ScrolledWindow_SetTargetWindow(*args
, **kwargs
)
165 def GetTargetWindow(*args
, **kwargs
):
166 """GetTargetWindow() -> Window"""
167 return _windows
.ScrolledWindow_GetTargetWindow(*args
, **kwargs
)
169 def SetTargetRect(*args
, **kwargs
):
170 """SetTargetRect(Rect rect)"""
171 return _windows
.ScrolledWindow_SetTargetRect(*args
, **kwargs
)
173 def GetTargetRect(*args
, **kwargs
):
174 """GetTargetRect() -> Rect"""
175 return _windows
.ScrolledWindow_GetTargetRect(*args
, **kwargs
)
178 class ScrolledWindowPtr(ScrolledWindow
):
179 def __init__(self
, this
):
181 if not hasattr(self
,"thisown"): self
.thisown
= 0
182 self
.__class
__ = ScrolledWindow
183 _windows
.ScrolledWindow_swigregister(ScrolledWindowPtr
)
185 def PreScrolledWindow(*args
, **kwargs
):
186 """PreScrolledWindow() -> ScrolledWindow"""
187 val
= _windows
.new_PreScrolledWindow(*args
, **kwargs
)
191 #---------------------------------------------------------------------------
193 FULLSCREEN_NOMENUBAR
= _windows
.FULLSCREEN_NOMENUBAR
194 FULLSCREEN_NOTOOLBAR
= _windows
.FULLSCREEN_NOTOOLBAR
195 FULLSCREEN_NOSTATUSBAR
= _windows
.FULLSCREEN_NOSTATUSBAR
196 FULLSCREEN_NOBORDER
= _windows
.FULLSCREEN_NOBORDER
197 FULLSCREEN_NOCAPTION
= _windows
.FULLSCREEN_NOCAPTION
198 FULLSCREEN_ALL
= _windows
.FULLSCREEN_ALL
199 TOPLEVEL_EX_DIALOG
= _windows
.TOPLEVEL_EX_DIALOG
200 class TopLevelWindow(core
.Window
):
201 def __init__(self
): raise RuntimeError, "No constructor defined"
203 return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
204 def Maximize(*args
, **kwargs
):
205 """Maximize(bool maximize=True)"""
206 return _windows
.TopLevelWindow_Maximize(*args
, **kwargs
)
208 def Restore(*args
, **kwargs
):
210 return _windows
.TopLevelWindow_Restore(*args
, **kwargs
)
212 def Iconize(*args
, **kwargs
):
213 """Iconize(bool iconize=True)"""
214 return _windows
.TopLevelWindow_Iconize(*args
, **kwargs
)
216 def IsMaximized(*args
, **kwargs
):
217 """IsMaximized() -> bool"""
218 return _windows
.TopLevelWindow_IsMaximized(*args
, **kwargs
)
220 def IsIconized(*args
, **kwargs
):
221 """IsIconized() -> bool"""
222 return _windows
.TopLevelWindow_IsIconized(*args
, **kwargs
)
224 def GetIcon(*args
, **kwargs
):
225 """GetIcon() -> Icon"""
226 return _windows
.TopLevelWindow_GetIcon(*args
, **kwargs
)
228 def SetIcon(*args
, **kwargs
):
229 """SetIcon(Icon icon)"""
230 return _windows
.TopLevelWindow_SetIcon(*args
, **kwargs
)
232 def SetIcons(*args
, **kwargs
):
233 """SetIcons(wxIconBundle icons)"""
234 return _windows
.TopLevelWindow_SetIcons(*args
, **kwargs
)
236 def ShowFullScreen(*args
, **kwargs
):
237 """ShowFullScreen(bool show, long style=FULLSCREEN_ALL) -> bool"""
238 return _windows
.TopLevelWindow_ShowFullScreen(*args
, **kwargs
)
240 def IsFullScreen(*args
, **kwargs
):
241 """IsFullScreen() -> bool"""
242 return _windows
.TopLevelWindow_IsFullScreen(*args
, **kwargs
)
244 def SetTitle(*args
, **kwargs
):
246 SetTitle(String title)
248 Sets the window's title. Applicable only to frames and dialogs.
250 return _windows
.TopLevelWindow_SetTitle(*args
, **kwargs
)
252 def GetTitle(*args
, **kwargs
):
256 Gets the window's title. Applicable only to frames and dialogs.
258 return _windows
.TopLevelWindow_GetTitle(*args
, **kwargs
)
260 def SetShape(*args
, **kwargs
):
261 """SetShape(Region region) -> bool"""
262 return _windows
.TopLevelWindow_SetShape(*args
, **kwargs
)
265 class TopLevelWindowPtr(TopLevelWindow
):
266 def __init__(self
, this
):
268 if not hasattr(self
,"thisown"): self
.thisown
= 0
269 self
.__class
__ = TopLevelWindow
270 _windows
.TopLevelWindow_swigregister(TopLevelWindowPtr
)
272 FrameNameStr
= cvar
.FrameNameStr
273 DialogNameStr
= cvar
.DialogNameStr
274 StatusLineNameStr
= cvar
.StatusLineNameStr
275 ToolBarNameStr
= cvar
.ToolBarNameStr
277 #---------------------------------------------------------------------------
279 class Frame(TopLevelWindow
):
281 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
282 def __init__(self
, *args
, **kwargs
):
284 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
285 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
286 String name=FrameNameStr) -> Frame
288 newobj
= _windows
.new_Frame(*args
, **kwargs
)
289 self
.this
= newobj
.this
292 self
._setOORInfo
(self
)
294 def Create(*args
, **kwargs
):
296 Create(Window parent, int id, String title, Point pos=DefaultPosition,
297 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
298 String name=FrameNameStr) -> bool
300 return _windows
.Frame_Create(*args
, **kwargs
)
302 def GetClientAreaOrigin(*args
, **kwargs
):
304 GetClientAreaOrigin() -> Point
306 Get the origin of the client area of the window relative to the
307 window's top left corner (the client area may be shifted because of
308 the borders, scrollbars, other decorations...)
310 return _windows
.Frame_GetClientAreaOrigin(*args
, **kwargs
)
312 def SendSizeEvent(*args
, **kwargs
):
313 """SendSizeEvent()"""
314 return _windows
.Frame_SendSizeEvent(*args
, **kwargs
)
316 def SetMenuBar(*args
, **kwargs
):
317 """SetMenuBar(MenuBar menubar)"""
318 return _windows
.Frame_SetMenuBar(*args
, **kwargs
)
320 def GetMenuBar(*args
, **kwargs
):
321 """GetMenuBar() -> MenuBar"""
322 return _windows
.Frame_GetMenuBar(*args
, **kwargs
)
324 def ProcessCommand(*args
, **kwargs
):
325 """ProcessCommand(int winid) -> bool"""
326 return _windows
.Frame_ProcessCommand(*args
, **kwargs
)
328 Command
= ProcessCommand
329 def CreateStatusBar(*args
, **kwargs
):
331 CreateStatusBar(int number=1, long style=ST_SIZEGRIP, int winid=0,
332 String name=StatusLineNameStr) -> StatusBar
334 return _windows
.Frame_CreateStatusBar(*args
, **kwargs
)
336 def GetStatusBar(*args
, **kwargs
):
337 """GetStatusBar() -> StatusBar"""
338 return _windows
.Frame_GetStatusBar(*args
, **kwargs
)
340 def SetStatusBar(*args
, **kwargs
):
341 """SetStatusBar(StatusBar statBar)"""
342 return _windows
.Frame_SetStatusBar(*args
, **kwargs
)
344 def SetStatusText(*args
, **kwargs
):
345 """SetStatusText(String text, int number=0)"""
346 return _windows
.Frame_SetStatusText(*args
, **kwargs
)
348 def SetStatusWidths(*args
, **kwargs
):
349 """SetStatusWidths(int widths, int widths_field)"""
350 return _windows
.Frame_SetStatusWidths(*args
, **kwargs
)
352 def PushStatusText(*args
, **kwargs
):
353 """PushStatusText(String text, int number=0)"""
354 return _windows
.Frame_PushStatusText(*args
, **kwargs
)
356 def PopStatusText(*args
, **kwargs
):
357 """PopStatusText(int number=0)"""
358 return _windows
.Frame_PopStatusText(*args
, **kwargs
)
360 def SetStatusBarPane(*args
, **kwargs
):
361 """SetStatusBarPane(int n)"""
362 return _windows
.Frame_SetStatusBarPane(*args
, **kwargs
)
364 def GetStatusBarPane(*args
, **kwargs
):
365 """GetStatusBarPane() -> int"""
366 return _windows
.Frame_GetStatusBarPane(*args
, **kwargs
)
368 def CreateToolBar(*args
, **kwargs
):
369 """CreateToolBar(long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar"""
370 return _windows
.Frame_CreateToolBar(*args
, **kwargs
)
372 def GetToolBar(*args
, **kwargs
):
373 """GetToolBar() -> wxToolBar"""
374 return _windows
.Frame_GetToolBar(*args
, **kwargs
)
376 def SetToolBar(*args
, **kwargs
):
377 """SetToolBar(wxToolBar toolbar)"""
378 return _windows
.Frame_SetToolBar(*args
, **kwargs
)
380 def DoGiveHelp(*args
, **kwargs
):
381 """DoGiveHelp(String text, bool show)"""
382 return _windows
.Frame_DoGiveHelp(*args
, **kwargs
)
384 def DoMenuUpdates(*args
, **kwargs
):
385 """DoMenuUpdates(Menu menu=None)"""
386 return _windows
.Frame_DoMenuUpdates(*args
, **kwargs
)
389 class FramePtr(Frame
):
390 def __init__(self
, this
):
392 if not hasattr(self
,"thisown"): self
.thisown
= 0
393 self
.__class
__ = Frame
394 _windows
.Frame_swigregister(FramePtr
)
396 def PreFrame(*args
, **kwargs
):
397 """PreFrame() -> Frame"""
398 val
= _windows
.new_PreFrame(*args
, **kwargs
)
402 #---------------------------------------------------------------------------
404 class Dialog(TopLevelWindow
):
406 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
407 def __init__(self
, *args
, **kwargs
):
409 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
410 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
411 String name=DialogNameStr) -> Dialog
413 newobj
= _windows
.new_Dialog(*args
, **kwargs
)
414 self
.this
= newobj
.this
417 self
._setOORInfo
(self
)
419 def Create(*args
, **kwargs
):
421 Create(Window parent, int id, String title, Point pos=DefaultPosition,
422 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
423 String name=DialogNameStr) -> bool
425 return _windows
.Dialog_Create(*args
, **kwargs
)
427 def SetReturnCode(*args
, **kwargs
):
428 """SetReturnCode(int returnCode)"""
429 return _windows
.Dialog_SetReturnCode(*args
, **kwargs
)
431 def GetReturnCode(*args
, **kwargs
):
432 """GetReturnCode() -> int"""
433 return _windows
.Dialog_GetReturnCode(*args
, **kwargs
)
435 def CreateTextSizer(*args
, **kwargs
):
436 """CreateTextSizer(String message) -> Sizer"""
437 return _windows
.Dialog_CreateTextSizer(*args
, **kwargs
)
439 def CreateButtonSizer(*args
, **kwargs
):
440 """CreateButtonSizer(long flags) -> Sizer"""
441 return _windows
.Dialog_CreateButtonSizer(*args
, **kwargs
)
443 def IsModal(*args
, **kwargs
):
444 """IsModal() -> bool"""
445 return _windows
.Dialog_IsModal(*args
, **kwargs
)
447 def ShowModal(*args
, **kwargs
):
448 """ShowModal() -> int"""
449 return _windows
.Dialog_ShowModal(*args
, **kwargs
)
451 def EndModal(*args
, **kwargs
):
452 """EndModal(int retCode)"""
453 return _windows
.Dialog_EndModal(*args
, **kwargs
)
455 def IsModalShowing(*args
, **kwargs
):
456 """IsModalShowing() -> bool"""
457 return _windows
.Dialog_IsModalShowing(*args
, **kwargs
)
460 class DialogPtr(Dialog
):
461 def __init__(self
, this
):
463 if not hasattr(self
,"thisown"): self
.thisown
= 0
464 self
.__class
__ = Dialog
465 _windows
.Dialog_swigregister(DialogPtr
)
467 def PreDialog(*args
, **kwargs
):
468 """PreDialog() -> Dialog"""
469 val
= _windows
.new_PreDialog(*args
, **kwargs
)
473 #---------------------------------------------------------------------------
475 class MiniFrame(Frame
):
477 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
478 def __init__(self
, *args
, **kwargs
):
480 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
481 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
482 String name=FrameNameStr) -> MiniFrame
484 newobj
= _windows
.new_MiniFrame(*args
, **kwargs
)
485 self
.this
= newobj
.this
488 self
._setOORInfo
(self
)
490 def Create(*args
, **kwargs
):
492 Create(Window parent, int id, String title, Point pos=DefaultPosition,
493 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
494 String name=FrameNameStr) -> bool
496 return _windows
.MiniFrame_Create(*args
, **kwargs
)
499 class MiniFramePtr(MiniFrame
):
500 def __init__(self
, this
):
502 if not hasattr(self
,"thisown"): self
.thisown
= 0
503 self
.__class
__ = MiniFrame
504 _windows
.MiniFrame_swigregister(MiniFramePtr
)
506 def PreMiniFrame(*args
, **kwargs
):
507 """PreMiniFrame() -> MiniFrame"""
508 val
= _windows
.new_PreMiniFrame(*args
, **kwargs
)
512 #---------------------------------------------------------------------------
514 SPLASH_CENTRE_ON_PARENT
= _windows
.SPLASH_CENTRE_ON_PARENT
515 SPLASH_CENTRE_ON_SCREEN
= _windows
.SPLASH_CENTRE_ON_SCREEN
516 SPLASH_NO_CENTRE
= _windows
.SPLASH_NO_CENTRE
517 SPLASH_TIMEOUT
= _windows
.SPLASH_TIMEOUT
518 SPLASH_NO_TIMEOUT
= _windows
.SPLASH_NO_TIMEOUT
519 class SplashScreenWindow(core
.Window
):
521 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
522 def __init__(self
, *args
, **kwargs
):
524 __init__(Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
525 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
527 newobj
= _windows
.new_SplashScreenWindow(*args
, **kwargs
)
528 self
.this
= newobj
.this
531 self
._setOORInfo
(self
)
533 def SetBitmap(*args
, **kwargs
):
534 """SetBitmap(Bitmap bitmap)"""
535 return _windows
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
537 def GetBitmap(*args
, **kwargs
):
538 """GetBitmap() -> Bitmap"""
539 return _windows
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
542 class SplashScreenWindowPtr(SplashScreenWindow
):
543 def __init__(self
, this
):
545 if not hasattr(self
,"thisown"): self
.thisown
= 0
546 self
.__class
__ = SplashScreenWindow
547 _windows
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
549 class SplashScreen(Frame
):
551 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
552 def __init__(self
, *args
, **kwargs
):
554 __init__(Bitmap bitmap, long splashStyle, int milliseconds,
555 Window parent, int id, Point pos=DefaultPosition,
556 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
558 newobj
= _windows
.new_SplashScreen(*args
, **kwargs
)
559 self
.this
= newobj
.this
562 self
._setOORInfo
(self
)
564 def GetSplashStyle(*args
, **kwargs
):
565 """GetSplashStyle() -> long"""
566 return _windows
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
568 def GetSplashWindow(*args
, **kwargs
):
569 """GetSplashWindow() -> SplashScreenWindow"""
570 return _windows
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
572 def GetTimeout(*args
, **kwargs
):
573 """GetTimeout() -> int"""
574 return _windows
.SplashScreen_GetTimeout(*args
, **kwargs
)
577 class SplashScreenPtr(SplashScreen
):
578 def __init__(self
, this
):
580 if not hasattr(self
,"thisown"): self
.thisown
= 0
581 self
.__class
__ = SplashScreen
582 _windows
.SplashScreen_swigregister(SplashScreenPtr
)
584 #---------------------------------------------------------------------------
586 class StatusBar(core
.Window
):
588 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
589 def __init__(self
, *args
, **kwargs
):
590 """__init__(Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> StatusBar"""
591 newobj
= _windows
.new_StatusBar(*args
, **kwargs
)
592 self
.this
= newobj
.this
595 self
._setOORInfo
(self
)
597 def Create(*args
, **kwargs
):
598 """Create(Window parent, int id, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
599 return _windows
.StatusBar_Create(*args
, **kwargs
)
601 def SetFieldsCount(*args
, **kwargs
):
602 """SetFieldsCount(int number=1)"""
603 return _windows
.StatusBar_SetFieldsCount(*args
, **kwargs
)
605 def GetFieldsCount(*args
, **kwargs
):
606 """GetFieldsCount() -> int"""
607 return _windows
.StatusBar_GetFieldsCount(*args
, **kwargs
)
609 def SetStatusText(*args
, **kwargs
):
610 """SetStatusText(String text, int number=0)"""
611 return _windows
.StatusBar_SetStatusText(*args
, **kwargs
)
613 def GetStatusText(*args
, **kwargs
):
614 """GetStatusText(int number=0) -> String"""
615 return _windows
.StatusBar_GetStatusText(*args
, **kwargs
)
617 def PushStatusText(*args
, **kwargs
):
618 """PushStatusText(String text, int number=0)"""
619 return _windows
.StatusBar_PushStatusText(*args
, **kwargs
)
621 def PopStatusText(*args
, **kwargs
):
622 """PopStatusText(int number=0)"""
623 return _windows
.StatusBar_PopStatusText(*args
, **kwargs
)
625 def SetStatusWidths(*args
, **kwargs
):
626 """SetStatusWidths(int widths, int widths_field)"""
627 return _windows
.StatusBar_SetStatusWidths(*args
, **kwargs
)
629 def GetFieldRect(*args
, **kwargs
):
630 """GetFieldRect(int i) -> Rect"""
631 return _windows
.StatusBar_GetFieldRect(*args
, **kwargs
)
633 def SetMinHeight(*args
, **kwargs
):
634 """SetMinHeight(int height)"""
635 return _windows
.StatusBar_SetMinHeight(*args
, **kwargs
)
637 def GetBorderX(*args
, **kwargs
):
638 """GetBorderX() -> int"""
639 return _windows
.StatusBar_GetBorderX(*args
, **kwargs
)
641 def GetBorderY(*args
, **kwargs
):
642 """GetBorderY() -> int"""
643 return _windows
.StatusBar_GetBorderY(*args
, **kwargs
)
646 class StatusBarPtr(StatusBar
):
647 def __init__(self
, this
):
649 if not hasattr(self
,"thisown"): self
.thisown
= 0
650 self
.__class
__ = StatusBar
651 _windows
.StatusBar_swigregister(StatusBarPtr
)
653 def PreStatusBar(*args
, **kwargs
):
654 """PreStatusBar() -> StatusBar"""
655 val
= _windows
.new_PreStatusBar(*args
, **kwargs
)
659 #---------------------------------------------------------------------------
661 SP_NOBORDER
= _windows
.SP_NOBORDER
662 SP_NOSASH
= _windows
.SP_NOSASH
663 SP_PERMIT_UNSPLIT
= _windows
.SP_PERMIT_UNSPLIT
664 SP_LIVE_UPDATE
= _windows
.SP_LIVE_UPDATE
665 SP_3DSASH
= _windows
.SP_3DSASH
666 SP_3DBORDER
= _windows
.SP_3DBORDER
667 SP_NO_XP_THEME
= _windows
.SP_NO_XP_THEME
668 SP_BORDER
= _windows
.SP_BORDER
669 SP_3D
= _windows
.SP_3D
670 SPLIT_HORIZONTAL
= _windows
.SPLIT_HORIZONTAL
671 SPLIT_VERTICAL
= _windows
.SPLIT_VERTICAL
672 SPLIT_DRAG_NONE
= _windows
.SPLIT_DRAG_NONE
673 SPLIT_DRAG_DRAGGING
= _windows
.SPLIT_DRAG_DRAGGING
674 SPLIT_DRAG_LEFT_DOWN
= _windows
.SPLIT_DRAG_LEFT_DOWN
675 class SplitterWindow(core
.Window
):
677 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
678 def __init__(self
, *args
, **kwargs
):
680 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
681 long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
683 if kwargs
.has_key('point'): kwargs
['pos'] = kwargs
['point']
684 newobj
= _windows
.new_SplitterWindow(*args
, **kwargs
)
685 self
.this
= newobj
.this
688 self
._setOORInfo
(self
)
690 def Create(*args
, **kwargs
):
692 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
693 long style=SP_3D, String name=SplitterNameStr) -> bool
695 return _windows
.SplitterWindow_Create(*args
, **kwargs
)
697 def GetWindow1(*args
, **kwargs
):
698 """GetWindow1() -> Window"""
699 return _windows
.SplitterWindow_GetWindow1(*args
, **kwargs
)
701 def GetWindow2(*args
, **kwargs
):
702 """GetWindow2() -> Window"""
703 return _windows
.SplitterWindow_GetWindow2(*args
, **kwargs
)
705 def SetSplitMode(*args
, **kwargs
):
706 """SetSplitMode(int mode)"""
707 return _windows
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
709 def GetSplitMode(*args
, **kwargs
):
710 """GetSplitMode() -> int"""
711 return _windows
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
713 def Initialize(*args
, **kwargs
):
714 """Initialize(Window window)"""
715 return _windows
.SplitterWindow_Initialize(*args
, **kwargs
)
717 def SplitVertically(*args
, **kwargs
):
718 """SplitVertically(Window window1, Window window2, int sashPosition=0) -> bool"""
719 return _windows
.SplitterWindow_SplitVertically(*args
, **kwargs
)
721 def SplitHorizontally(*args
, **kwargs
):
722 """SplitHorizontally(Window window1, Window window2, int sashPosition=0) -> bool"""
723 return _windows
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
725 def Unsplit(*args
, **kwargs
):
726 """Unsplit(Window toRemove=None) -> bool"""
727 return _windows
.SplitterWindow_Unsplit(*args
, **kwargs
)
729 def ReplaceWindow(*args
, **kwargs
):
730 """ReplaceWindow(Window winOld, Window winNew) -> bool"""
731 return _windows
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
733 def IsSplit(*args
, **kwargs
):
734 """IsSplit() -> bool"""
735 return _windows
.SplitterWindow_IsSplit(*args
, **kwargs
)
737 def SetSashSize(*args
, **kwargs
):
738 """SetSashSize(int width)"""
739 return _windows
.SplitterWindow_SetSashSize(*args
, **kwargs
)
741 def SetBorderSize(*args
, **kwargs
):
742 """SetBorderSize(int width)"""
743 return _windows
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
745 def GetSashSize(*args
, **kwargs
):
746 """GetSashSize() -> int"""
747 return _windows
.SplitterWindow_GetSashSize(*args
, **kwargs
)
749 def GetBorderSize(*args
, **kwargs
):
750 """GetBorderSize() -> int"""
751 return _windows
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
753 def SetSashPosition(*args
, **kwargs
):
754 """SetSashPosition(int position, bool redraw=True)"""
755 return _windows
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
757 def GetSashPosition(*args
, **kwargs
):
758 """GetSashPosition() -> int"""
759 return _windows
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
761 def SetMinimumPaneSize(*args
, **kwargs
):
762 """SetMinimumPaneSize(int min)"""
763 return _windows
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
765 def GetMinimumPaneSize(*args
, **kwargs
):
766 """GetMinimumPaneSize() -> int"""
767 return _windows
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
769 def SashHitTest(*args
, **kwargs
):
770 """SashHitTest(int x, int y, int tolerance=5) -> bool"""
771 return _windows
.SplitterWindow_SashHitTest(*args
, **kwargs
)
773 def SizeWindows(*args
, **kwargs
):
775 return _windows
.SplitterWindow_SizeWindows(*args
, **kwargs
)
777 def SetNeedUpdating(*args
, **kwargs
):
778 """SetNeedUpdating(bool needUpdating)"""
779 return _windows
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
781 def GetNeedUpdating(*args
, **kwargs
):
782 """GetNeedUpdating() -> bool"""
783 return _windows
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
786 class SplitterWindowPtr(SplitterWindow
):
787 def __init__(self
, this
):
789 if not hasattr(self
,"thisown"): self
.thisown
= 0
790 self
.__class
__ = SplitterWindow
791 _windows
.SplitterWindow_swigregister(SplitterWindowPtr
)
792 SplitterNameStr
= cvar
.SplitterNameStr
794 def PreSplitterWindow(*args
, **kwargs
):
795 """PreSplitterWindow() -> SplitterWindow"""
796 val
= _windows
.new_PreSplitterWindow(*args
, **kwargs
)
800 class SplitterEvent(core
.NotifyEvent
):
802 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
803 def __init__(self
, *args
, **kwargs
):
804 """__init__(wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent"""
805 newobj
= _windows
.new_SplitterEvent(*args
, **kwargs
)
806 self
.this
= newobj
.this
809 def SetSashPosition(*args
, **kwargs
):
810 """SetSashPosition(int pos)"""
811 return _windows
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
813 def GetSashPosition(*args
, **kwargs
):
814 """GetSashPosition() -> int"""
815 return _windows
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
817 def GetWindowBeingRemoved(*args
, **kwargs
):
818 """GetWindowBeingRemoved() -> Window"""
819 return _windows
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
821 def GetX(*args
, **kwargs
):
823 return _windows
.SplitterEvent_GetX(*args
, **kwargs
)
825 def GetY(*args
, **kwargs
):
827 return _windows
.SplitterEvent_GetY(*args
, **kwargs
)
830 class SplitterEventPtr(SplitterEvent
):
831 def __init__(self
, this
):
833 if not hasattr(self
,"thisown"): self
.thisown
= 0
834 self
.__class
__ = SplitterEvent
835 _windows
.SplitterEvent_swigregister(SplitterEventPtr
)
837 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
838 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
839 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
840 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows
.wxEVT_COMMAND_SPLITTER_UNSPLIT
841 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
842 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
843 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
844 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
845 EVT_SPLITTER_DCLICK
= EVT_SPLITTER_DOUBLECLICKED
847 #---------------------------------------------------------------------------
849 SASH_DRAG_NONE
= _windows
.SASH_DRAG_NONE
850 SASH_DRAG_DRAGGING
= _windows
.SASH_DRAG_DRAGGING
851 SASH_DRAG_LEFT_DOWN
= _windows
.SASH_DRAG_LEFT_DOWN
852 SW_NOBORDER
= _windows
.SW_NOBORDER
853 SW_BORDER
= _windows
.SW_BORDER
854 SW_3DSASH
= _windows
.SW_3DSASH
855 SW_3DBORDER
= _windows
.SW_3DBORDER
856 SW_3D
= _windows
.SW_3D
857 SASH_TOP
= _windows
.SASH_TOP
858 SASH_RIGHT
= _windows
.SASH_RIGHT
859 SASH_BOTTOM
= _windows
.SASH_BOTTOM
860 SASH_LEFT
= _windows
.SASH_LEFT
861 SASH_NONE
= _windows
.SASH_NONE
862 class SashWindow(core
.Window
):
864 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
865 def __init__(self
, *args
, **kwargs
):
867 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
868 long style=wxCLIP_CHILDREN|wxSW_3D,
869 String name=SashNameStr) -> SashWindow
871 newobj
= _windows
.new_SashWindow(*args
, **kwargs
)
872 self
.this
= newobj
.this
875 self
._setOORInfo
(self
)
877 def Create(*args
, **kwargs
):
879 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
880 long style=wxCLIP_CHILDREN|wxSW_3D,
881 String name=SashNameStr) -> bool
883 return _windows
.SashWindow_Create(*args
, **kwargs
)
885 def SetSashVisible(*args
, **kwargs
):
886 """SetSashVisible(int edge, bool sash)"""
887 return _windows
.SashWindow_SetSashVisible(*args
, **kwargs
)
889 def GetSashVisible(*args
, **kwargs
):
890 """GetSashVisible(int edge) -> bool"""
891 return _windows
.SashWindow_GetSashVisible(*args
, **kwargs
)
893 def SetSashBorder(*args
, **kwargs
):
894 """SetSashBorder(int edge, bool border)"""
895 return _windows
.SashWindow_SetSashBorder(*args
, **kwargs
)
897 def HasBorder(*args
, **kwargs
):
898 """HasBorder(int edge) -> bool"""
899 return _windows
.SashWindow_HasBorder(*args
, **kwargs
)
901 def GetEdgeMargin(*args
, **kwargs
):
902 """GetEdgeMargin(int edge) -> int"""
903 return _windows
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
905 def SetDefaultBorderSize(*args
, **kwargs
):
906 """SetDefaultBorderSize(int width)"""
907 return _windows
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
909 def GetDefaultBorderSize(*args
, **kwargs
):
910 """GetDefaultBorderSize() -> int"""
911 return _windows
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
913 def SetExtraBorderSize(*args
, **kwargs
):
914 """SetExtraBorderSize(int width)"""
915 return _windows
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
917 def GetExtraBorderSize(*args
, **kwargs
):
918 """GetExtraBorderSize() -> int"""
919 return _windows
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
921 def SetMinimumSizeX(*args
, **kwargs
):
922 """SetMinimumSizeX(int min)"""
923 return _windows
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
925 def SetMinimumSizeY(*args
, **kwargs
):
926 """SetMinimumSizeY(int min)"""
927 return _windows
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
929 def GetMinimumSizeX(*args
, **kwargs
):
930 """GetMinimumSizeX() -> int"""
931 return _windows
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
933 def GetMinimumSizeY(*args
, **kwargs
):
934 """GetMinimumSizeY() -> int"""
935 return _windows
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
937 def SetMaximumSizeX(*args
, **kwargs
):
938 """SetMaximumSizeX(int max)"""
939 return _windows
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
941 def SetMaximumSizeY(*args
, **kwargs
):
942 """SetMaximumSizeY(int max)"""
943 return _windows
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
945 def GetMaximumSizeX(*args
, **kwargs
):
946 """GetMaximumSizeX() -> int"""
947 return _windows
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
949 def GetMaximumSizeY(*args
, **kwargs
):
950 """GetMaximumSizeY() -> int"""
951 return _windows
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
953 def SashHitTest(*args
, **kwargs
):
954 """SashHitTest(int x, int y, int tolerance=2) -> int"""
955 return _windows
.SashWindow_SashHitTest(*args
, **kwargs
)
957 def SizeWindows(*args
, **kwargs
):
959 return _windows
.SashWindow_SizeWindows(*args
, **kwargs
)
962 class SashWindowPtr(SashWindow
):
963 def __init__(self
, this
):
965 if not hasattr(self
,"thisown"): self
.thisown
= 0
966 self
.__class
__ = SashWindow
967 _windows
.SashWindow_swigregister(SashWindowPtr
)
968 SashNameStr
= cvar
.SashNameStr
969 SashLayoutNameStr
= cvar
.SashLayoutNameStr
971 def PreSashWindow(*args
, **kwargs
):
972 """PreSashWindow() -> SashWindow"""
973 val
= _windows
.new_PreSashWindow(*args
, **kwargs
)
977 SASH_STATUS_OK
= _windows
.SASH_STATUS_OK
978 SASH_STATUS_OUT_OF_RANGE
= _windows
.SASH_STATUS_OUT_OF_RANGE
979 class SashEvent(core
.CommandEvent
):
981 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
982 def __init__(self
, *args
, **kwargs
):
983 """__init__(int id=0, int edge=SASH_NONE) -> SashEvent"""
984 newobj
= _windows
.new_SashEvent(*args
, **kwargs
)
985 self
.this
= newobj
.this
988 def SetEdge(*args
, **kwargs
):
989 """SetEdge(int edge)"""
990 return _windows
.SashEvent_SetEdge(*args
, **kwargs
)
992 def GetEdge(*args
, **kwargs
):
993 """GetEdge() -> int"""
994 return _windows
.SashEvent_GetEdge(*args
, **kwargs
)
996 def SetDragRect(*args
, **kwargs
):
997 """SetDragRect(Rect rect)"""
998 return _windows
.SashEvent_SetDragRect(*args
, **kwargs
)
1000 def GetDragRect(*args
, **kwargs
):
1001 """GetDragRect() -> Rect"""
1002 return _windows
.SashEvent_GetDragRect(*args
, **kwargs
)
1004 def SetDragStatus(*args
, **kwargs
):
1005 """SetDragStatus(int status)"""
1006 return _windows
.SashEvent_SetDragStatus(*args
, **kwargs
)
1008 def GetDragStatus(*args
, **kwargs
):
1009 """GetDragStatus() -> int"""
1010 return _windows
.SashEvent_GetDragStatus(*args
, **kwargs
)
1013 class SashEventPtr(SashEvent
):
1014 def __init__(self
, this
):
1016 if not hasattr(self
,"thisown"): self
.thisown
= 0
1017 self
.__class
__ = SashEvent
1018 _windows
.SashEvent_swigregister(SashEventPtr
)
1020 wxEVT_SASH_DRAGGED
= _windows
.wxEVT_SASH_DRAGGED
1021 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
1022 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
1024 #---------------------------------------------------------------------------
1026 LAYOUT_HORIZONTAL
= _windows
.LAYOUT_HORIZONTAL
1027 LAYOUT_VERTICAL
= _windows
.LAYOUT_VERTICAL
1028 LAYOUT_NONE
= _windows
.LAYOUT_NONE
1029 LAYOUT_TOP
= _windows
.LAYOUT_TOP
1030 LAYOUT_LEFT
= _windows
.LAYOUT_LEFT
1031 LAYOUT_RIGHT
= _windows
.LAYOUT_RIGHT
1032 LAYOUT_BOTTOM
= _windows
.LAYOUT_BOTTOM
1033 LAYOUT_LENGTH_Y
= _windows
.LAYOUT_LENGTH_Y
1034 LAYOUT_LENGTH_X
= _windows
.LAYOUT_LENGTH_X
1035 LAYOUT_MRU_LENGTH
= _windows
.LAYOUT_MRU_LENGTH
1036 LAYOUT_QUERY
= _windows
.LAYOUT_QUERY
1037 wxEVT_QUERY_LAYOUT_INFO
= _windows
.wxEVT_QUERY_LAYOUT_INFO
1038 wxEVT_CALCULATE_LAYOUT
= _windows
.wxEVT_CALCULATE_LAYOUT
1039 class QueryLayoutInfoEvent(core
.Event
):
1041 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1042 def __init__(self
, *args
, **kwargs
):
1043 """__init__(int id=0) -> QueryLayoutInfoEvent"""
1044 newobj
= _windows
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1045 self
.this
= newobj
.this
1048 def SetRequestedLength(*args
, **kwargs
):
1049 """SetRequestedLength(int length)"""
1050 return _windows
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1052 def GetRequestedLength(*args
, **kwargs
):
1053 """GetRequestedLength() -> int"""
1054 return _windows
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1056 def SetFlags(*args
, **kwargs
):
1057 """SetFlags(int flags)"""
1058 return _windows
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1060 def GetFlags(*args
, **kwargs
):
1061 """GetFlags() -> int"""
1062 return _windows
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1064 def SetSize(*args
, **kwargs
):
1065 """SetSize(Size size)"""
1066 return _windows
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1068 def GetSize(*args
, **kwargs
):
1069 """GetSize() -> Size"""
1070 return _windows
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1072 def SetOrientation(*args
, **kwargs
):
1073 """SetOrientation(int orient)"""
1074 return _windows
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1076 def GetOrientation(*args
, **kwargs
):
1077 """GetOrientation() -> int"""
1078 return _windows
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1080 def SetAlignment(*args
, **kwargs
):
1081 """SetAlignment(int align)"""
1082 return _windows
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1084 def GetAlignment(*args
, **kwargs
):
1085 """GetAlignment() -> int"""
1086 return _windows
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1089 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1090 def __init__(self
, this
):
1092 if not hasattr(self
,"thisown"): self
.thisown
= 0
1093 self
.__class
__ = QueryLayoutInfoEvent
1094 _windows
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1096 class CalculateLayoutEvent(core
.Event
):
1098 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1099 def __init__(self
, *args
, **kwargs
):
1100 """__init__(int id=0) -> CalculateLayoutEvent"""
1101 newobj
= _windows
.new_CalculateLayoutEvent(*args
, **kwargs
)
1102 self
.this
= newobj
.this
1105 def SetFlags(*args
, **kwargs
):
1106 """SetFlags(int flags)"""
1107 return _windows
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1109 def GetFlags(*args
, **kwargs
):
1110 """GetFlags() -> int"""
1111 return _windows
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1113 def SetRect(*args
, **kwargs
):
1114 """SetRect(Rect rect)"""
1115 return _windows
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1117 def GetRect(*args
, **kwargs
):
1118 """GetRect() -> Rect"""
1119 return _windows
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1122 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1123 def __init__(self
, this
):
1125 if not hasattr(self
,"thisown"): self
.thisown
= 0
1126 self
.__class
__ = CalculateLayoutEvent
1127 _windows
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1129 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1130 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1132 class SashLayoutWindow(SashWindow
):
1134 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1135 def __init__(self
, *args
, **kwargs
):
1137 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1138 long style=wxCLIP_CHILDREN|wxSW_3D,
1139 String name=SashLayoutNameStr) -> SashLayoutWindow
1141 newobj
= _windows
.new_SashLayoutWindow(*args
, **kwargs
)
1142 self
.this
= newobj
.this
1145 self
._setOORInfo
(self
)
1147 def Create(*args
, **kwargs
):
1149 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1150 long style=wxCLIP_CHILDREN|wxSW_3D,
1151 String name=SashLayoutNameStr) -> bool
1153 return _windows
.SashLayoutWindow_Create(*args
, **kwargs
)
1155 def GetAlignment(*args
, **kwargs
):
1156 """GetAlignment() -> int"""
1157 return _windows
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1159 def GetOrientation(*args
, **kwargs
):
1160 """GetOrientation() -> int"""
1161 return _windows
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1163 def SetAlignment(*args
, **kwargs
):
1164 """SetAlignment(int alignment)"""
1165 return _windows
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1167 def SetDefaultSize(*args
, **kwargs
):
1168 """SetDefaultSize(Size size)"""
1169 return _windows
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1171 def SetOrientation(*args
, **kwargs
):
1172 """SetOrientation(int orientation)"""
1173 return _windows
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1176 class SashLayoutWindowPtr(SashLayoutWindow
):
1177 def __init__(self
, this
):
1179 if not hasattr(self
,"thisown"): self
.thisown
= 0
1180 self
.__class
__ = SashLayoutWindow
1181 _windows
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1183 def PreSashLayoutWindow(*args
, **kwargs
):
1184 """PreSashLayoutWindow() -> SashLayoutWindow"""
1185 val
= _windows
.new_PreSashLayoutWindow(*args
, **kwargs
)
1189 class LayoutAlgorithm(core
.Object
):
1191 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1192 def __init__(self
, *args
, **kwargs
):
1193 """__init__() -> LayoutAlgorithm"""
1194 newobj
= _windows
.new_LayoutAlgorithm(*args
, **kwargs
)
1195 self
.this
= newobj
.this
1198 def __del__(self
, destroy
=_windows
.delete_LayoutAlgorithm
):
1201 if self
.thisown
: destroy(self
)
1204 def LayoutMDIFrame(*args
, **kwargs
):
1205 """LayoutMDIFrame(MDIParentFrame frame, Rect rect=None) -> bool"""
1206 return _windows
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1208 def LayoutFrame(*args
, **kwargs
):
1209 """LayoutFrame(Frame frame, Window mainWindow=None) -> bool"""
1210 return _windows
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1212 def LayoutWindow(*args
, **kwargs
):
1213 """LayoutWindow(Window parent, Window mainWindow=None) -> bool"""
1214 return _windows
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1217 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1218 def __init__(self
, this
):
1220 if not hasattr(self
,"thisown"): self
.thisown
= 0
1221 self
.__class
__ = LayoutAlgorithm
1222 _windows
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1224 class PopupWindow(core
.Window
):
1226 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1227 def __init__(self
, *args
, **kwargs
):
1228 """__init__(Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1229 newobj
= _windows
.new_PopupWindow(*args
, **kwargs
)
1230 self
.this
= newobj
.this
1234 class PopupWindowPtr(PopupWindow
):
1235 def __init__(self
, this
):
1237 if not hasattr(self
,"thisown"): self
.thisown
= 0
1238 self
.__class
__ = PopupWindow
1239 _windows
.PopupWindow_swigregister(PopupWindowPtr
)
1241 def PrePopupWindow(*args
, **kwargs
):
1242 """PrePopupWindow() -> PopupWindow"""
1243 val
= _windows
.new_PrePopupWindow(*args
, **kwargs
)
1247 class PopupTransientWindow(PopupWindow
):
1249 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1250 def __init__(self
, *args
, **kwargs
):
1251 """__init__(Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1252 newobj
= _windows
.new_PopupTransientWindow(*args
, **kwargs
)
1253 self
.this
= newobj
.this
1257 class PopupTransientWindowPtr(PopupTransientWindow
):
1258 def __init__(self
, this
):
1260 if not hasattr(self
,"thisown"): self
.thisown
= 0
1261 self
.__class
__ = PopupTransientWindow
1262 _windows
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1264 def PrePopupTransientWindow(*args
, **kwargs
):
1265 """PrePopupTransientWindow() -> PopupTransientWindow"""
1266 val
= _windows
.new_PrePopupTransientWindow(*args
, **kwargs
)
1270 #---------------------------------------------------------------------------
1272 class TipWindow(Frame
):
1274 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1275 def __init__(self
, *args
, **kwargs
):
1276 """__init__(Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1277 newobj
= _windows
.new_TipWindow(*args
, **kwargs
)
1278 self
.this
= newobj
.this
1281 self
._setOORInfo
(self
)
1283 def SetBoundingRect(*args
, **kwargs
):
1284 """SetBoundingRect(Rect rectBound)"""
1285 return _windows
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1287 def Close(*args
, **kwargs
):
1289 return _windows
.TipWindow_Close(*args
, **kwargs
)
1292 class TipWindowPtr(TipWindow
):
1293 def __init__(self
, this
):
1295 if not hasattr(self
,"thisown"): self
.thisown
= 0
1296 self
.__class
__ = TipWindow
1297 _windows
.TipWindow_swigregister(TipWindowPtr
)
1299 #---------------------------------------------------------------------------
1301 class VScrolledWindow(Panel
):
1303 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1304 def __init__(self
, *args
, **kwargs
):
1306 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1307 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
1309 newobj
= _windows
.new_VScrolledWindow(*args
, **kwargs
)
1310 self
.this
= newobj
.this
1313 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1315 def _setCallbackInfo(*args
, **kwargs
):
1316 """_setCallbackInfo(PyObject self, PyObject _class)"""
1317 return _windows
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1319 def Create(*args
, **kwargs
):
1321 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1322 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
1324 return _windows
.VScrolledWindow_Create(*args
, **kwargs
)
1326 def SetLineCount(*args
, **kwargs
):
1327 """SetLineCount(size_t count)"""
1328 return _windows
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1330 def ScrollToLine(*args
, **kwargs
):
1331 """ScrollToLine(size_t line) -> bool"""
1332 return _windows
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1334 def ScrollLines(*args
, **kwargs
):
1336 ScrollLines(int lines) -> bool
1338 If the platform and window class supports it, scrolls the window by
1339 the given number of lines down, if lines is positive, or up if lines
1340 is negative. Returns True if the window was scrolled, False if it was
1341 already on top/bottom and nothing was done.
1343 return _windows
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1345 def ScrollPages(*args
, **kwargs
):
1347 ScrollPages(int pages) -> bool
1349 If the platform and window class supports it, scrolls the window by
1350 the given number of pages down, if pages is positive, or up if pages
1351 is negative. Returns True if the window was scrolled, False if it was
1352 already on top/bottom and nothing was done.
1354 return _windows
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1356 def RefreshLine(*args
, **kwargs
):
1357 """RefreshLine(size_t line)"""
1358 return _windows
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1360 def RefreshLines(*args
, **kwargs
):
1361 """RefreshLines(size_t from, size_t to)"""
1362 return _windows
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1364 def HitTestXT(*args
, **kwargs
):
1366 HitTestXT(int x, int y) -> int
1368 Test where the given (in client coords) point lies
1370 return _windows
.VScrolledWindow_HitTestXT(*args
, **kwargs
)
1372 def HitTest(*args
, **kwargs
):
1374 HitTest(Point pt) -> int
1376 Test where the given (in client coords) point lies
1378 return _windows
.VScrolledWindow_HitTest(*args
, **kwargs
)
1380 def RefreshAll(*args
, **kwargs
):
1382 return _windows
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1384 def GetLineCount(*args
, **kwargs
):
1385 """GetLineCount() -> size_t"""
1386 return _windows
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1388 def GetFirstVisibleLine(*args
, **kwargs
):
1389 """GetFirstVisibleLine() -> size_t"""
1390 return _windows
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1392 def GetLastVisibleLine(*args
, **kwargs
):
1393 """GetLastVisibleLine() -> size_t"""
1394 return _windows
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1396 def IsVisible(*args
, **kwargs
):
1397 """IsVisible(size_t line) -> bool"""
1398 return _windows
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1401 class VScrolledWindowPtr(VScrolledWindow
):
1402 def __init__(self
, this
):
1404 if not hasattr(self
,"thisown"): self
.thisown
= 0
1405 self
.__class
__ = VScrolledWindow
1406 _windows
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
1408 def PreVScrolledWindow(*args
, **kwargs
):
1409 """PreVScrolledWindow() -> VScrolledWindow"""
1410 val
= _windows
.new_PreVScrolledWindow(*args
, **kwargs
)
1414 class VListBox(VScrolledWindow
):
1416 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1417 def __init__(self
, *args
, **kwargs
):
1419 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1420 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
1422 newobj
= _windows
.new_VListBox(*args
, **kwargs
)
1423 self
.this
= newobj
.this
1426 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
1428 def _setCallbackInfo(*args
, **kwargs
):
1429 """_setCallbackInfo(PyObject self, PyObject _class)"""
1430 return _windows
.VListBox__setCallbackInfo(*args
, **kwargs
)
1432 def Create(*args
, **kwargs
):
1434 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1435 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1437 return _windows
.VListBox_Create(*args
, **kwargs
)
1439 def GetItemCount(*args
, **kwargs
):
1440 """GetItemCount() -> size_t"""
1441 return _windows
.VListBox_GetItemCount(*args
, **kwargs
)
1443 def HasMultipleSelection(*args
, **kwargs
):
1444 """HasMultipleSelection() -> bool"""
1445 return _windows
.VListBox_HasMultipleSelection(*args
, **kwargs
)
1447 def GetSelection(*args
, **kwargs
):
1448 """GetSelection() -> int"""
1449 return _windows
.VListBox_GetSelection(*args
, **kwargs
)
1451 def IsCurrent(*args
, **kwargs
):
1452 """IsCurrent(size_t item) -> bool"""
1453 return _windows
.VListBox_IsCurrent(*args
, **kwargs
)
1455 def IsSelected(*args
, **kwargs
):
1456 """IsSelected(size_t item) -> bool"""
1457 return _windows
.VListBox_IsSelected(*args
, **kwargs
)
1459 def GetSelectedCount(*args
, **kwargs
):
1460 """GetSelectedCount() -> size_t"""
1461 return _windows
.VListBox_GetSelectedCount(*args
, **kwargs
)
1463 def GetFirstSelected(*args
, **kwargs
):
1464 """GetFirstSelected(unsigned long cookie) -> int"""
1465 return _windows
.VListBox_GetFirstSelected(*args
, **kwargs
)
1467 def GetNextSelected(*args
, **kwargs
):
1468 """GetNextSelected(unsigned long cookie) -> int"""
1469 return _windows
.VListBox_GetNextSelected(*args
, **kwargs
)
1471 def GetMargins(*args
, **kwargs
):
1472 """GetMargins() -> Point"""
1473 return _windows
.VListBox_GetMargins(*args
, **kwargs
)
1475 def GetSelectionBackground(*args
, **kwargs
):
1476 """GetSelectionBackground() -> Colour"""
1477 return _windows
.VListBox_GetSelectionBackground(*args
, **kwargs
)
1479 def SetItemCount(*args
, **kwargs
):
1480 """SetItemCount(size_t count)"""
1481 return _windows
.VListBox_SetItemCount(*args
, **kwargs
)
1483 def Clear(*args
, **kwargs
):
1485 return _windows
.VListBox_Clear(*args
, **kwargs
)
1487 def SetSelection(*args
, **kwargs
):
1488 """SetSelection(int selection)"""
1489 return _windows
.VListBox_SetSelection(*args
, **kwargs
)
1491 def Select(*args
, **kwargs
):
1492 """Select(size_t item, bool select=True) -> bool"""
1493 return _windows
.VListBox_Select(*args
, **kwargs
)
1495 def SelectRange(*args
, **kwargs
):
1496 """SelectRange(size_t from, size_t to) -> bool"""
1497 return _windows
.VListBox_SelectRange(*args
, **kwargs
)
1499 def Toggle(*args
, **kwargs
):
1500 """Toggle(size_t item)"""
1501 return _windows
.VListBox_Toggle(*args
, **kwargs
)
1503 def SelectAll(*args
, **kwargs
):
1504 """SelectAll() -> bool"""
1505 return _windows
.VListBox_SelectAll(*args
, **kwargs
)
1507 def DeselectAll(*args
, **kwargs
):
1508 """DeselectAll() -> bool"""
1509 return _windows
.VListBox_DeselectAll(*args
, **kwargs
)
1511 def SetMargins(*args
, **kwargs
):
1512 """SetMargins(Point pt)"""
1513 return _windows
.VListBox_SetMargins(*args
, **kwargs
)
1515 def SetMarginsXY(*args
, **kwargs
):
1516 """SetMarginsXY(int x, int y)"""
1517 return _windows
.VListBox_SetMarginsXY(*args
, **kwargs
)
1519 def SetSelectionBackground(*args
, **kwargs
):
1520 """SetSelectionBackground(Colour col)"""
1521 return _windows
.VListBox_SetSelectionBackground(*args
, **kwargs
)
1524 class VListBoxPtr(VListBox
):
1525 def __init__(self
, this
):
1527 if not hasattr(self
,"thisown"): self
.thisown
= 0
1528 self
.__class
__ = VListBox
1529 _windows
.VListBox_swigregister(VListBoxPtr
)
1530 VListBoxNameStr
= cvar
.VListBoxNameStr
1532 def PreVListBox(*args
, **kwargs
):
1533 """PreVListBox() -> VListBox"""
1534 val
= _windows
.new_PreVListBox(*args
, **kwargs
)
1538 class HtmlListBox(VListBox
):
1540 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1541 def __init__(self
, *args
, **kwargs
):
1543 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1544 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
1546 newobj
= _windows
.new_HtmlListBox(*args
, **kwargs
)
1547 self
.this
= newobj
.this
1550 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
1552 def _setCallbackInfo(*args
, **kwargs
):
1553 """_setCallbackInfo(PyObject self, PyObject _class)"""
1554 return _windows
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
1556 def Create(*args
, **kwargs
):
1558 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1559 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1561 return _windows
.HtmlListBox_Create(*args
, **kwargs
)
1563 def RefreshAll(*args
, **kwargs
):
1565 return _windows
.HtmlListBox_RefreshAll(*args
, **kwargs
)
1567 def SetItemCount(*args
, **kwargs
):
1568 """SetItemCount(size_t count)"""
1569 return _windows
.HtmlListBox_SetItemCount(*args
, **kwargs
)
1572 class HtmlListBoxPtr(HtmlListBox
):
1573 def __init__(self
, this
):
1575 if not hasattr(self
,"thisown"): self
.thisown
= 0
1576 self
.__class
__ = HtmlListBox
1577 _windows
.HtmlListBox_swigregister(HtmlListBoxPtr
)
1579 def PreHtmlListBox(*args
, **kwargs
):
1580 """PreHtmlListBox() -> HtmlListBox"""
1581 val
= _windows
.new_PreHtmlListBox(*args
, **kwargs
)
1585 #---------------------------------------------------------------------------
1587 class TaskBarIcon(core
.EvtHandler
):
1589 return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1590 def __init__(self
, *args
, **kwargs
):
1591 """__init__() -> TaskBarIcon"""
1592 newobj
= _windows
.new_TaskBarIcon(*args
, **kwargs
)
1593 self
.this
= newobj
.this
1596 def __del__(self
, destroy
=_windows
.delete_TaskBarIcon
):
1599 if self
.thisown
: destroy(self
)
1603 class TaskBarIconPtr(TaskBarIcon
):
1604 def __init__(self
, this
):
1606 if not hasattr(self
,"thisown"): self
.thisown
= 0
1607 self
.__class
__ = TaskBarIcon
1608 _windows
.TaskBarIcon_swigregister(TaskBarIconPtr
)
1610 class TaskBarIconEvent(core
.Event
):
1612 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1613 def __init__(self
, *args
, **kwargs
):
1614 """__init__(wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
1615 newobj
= _windows
.new_TaskBarIconEvent(*args
, **kwargs
)
1616 self
.this
= newobj
.this
1620 class TaskBarIconEventPtr(TaskBarIconEvent
):
1621 def __init__(self
, this
):
1623 if not hasattr(self
,"thisown"): self
.thisown
= 0
1624 self
.__class
__ = TaskBarIconEvent
1625 _windows
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
1627 wxEVT_TASKBAR_MOVE
= _windows
.wxEVT_TASKBAR_MOVE
1628 wxEVT_TASKBAR_LEFT_DOWN
= _windows
.wxEVT_TASKBAR_LEFT_DOWN
1629 wxEVT_TASKBAR_LEFT_UP
= _windows
.wxEVT_TASKBAR_LEFT_UP
1630 wxEVT_TASKBAR_RIGHT_DOWN
= _windows
.wxEVT_TASKBAR_RIGHT_DOWN
1631 wxEVT_TASKBAR_RIGHT_UP
= _windows
.wxEVT_TASKBAR_RIGHT_UP
1632 wxEVT_TASKBAR_LEFT_DCLICK
= _windows
.wxEVT_TASKBAR_LEFT_DCLICK
1633 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows
.wxEVT_TASKBAR_RIGHT_DCLICK
1634 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
1635 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
1636 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
1637 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
1638 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
1639 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
1640 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
1642 #---------------------------------------------------------------------------
1644 class ColourData(core
.Object
):
1645 """This class holds a variety of information related to colour dialogs."""
1647 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1648 def __init__(self
, *args
, **kwargs
):
1650 __init__() -> ColourData
1652 Constructor, sets default values.
1654 newobj
= _windows
.new_ColourData(*args
, **kwargs
)
1655 self
.this
= newobj
.this
1658 def __del__(self
, destroy
=_windows
.delete_ColourData
):
1661 if self
.thisown
: destroy(self
)
1664 def GetChooseFull(*args
, **kwargs
):
1666 GetChooseFull() -> bool
1668 Under Windows, determines whether the Windows colour dialog will display
1669 the full dialog with custom colour selection controls. Has no meaning
1670 under other platforms. The default value is true.
1672 return _windows
.ColourData_GetChooseFull(*args
, **kwargs
)
1674 def GetColour(*args
, **kwargs
):
1676 GetColour() -> Colour
1678 Gets the colour (pre)selected by the dialog.
1680 return _windows
.ColourData_GetColour(*args
, **kwargs
)
1682 def GetCustomColour(*args
, **kwargs
):
1684 GetCustomColour(int i) -> Colour
1686 Gets the i'th custom colour associated with the colour dialog. i should
1687 be an integer between 0 and 15. The default custom colours are all white.
1689 return _windows
.ColourData_GetCustomColour(*args
, **kwargs
)
1691 def SetChooseFull(*args
, **kwargs
):
1693 SetChooseFull(int flag)
1695 Under Windows, tells the Windows colour dialog to display the full dialog
1696 with custom colour selection controls. Under other platforms, has no effect.
1697 The default value is true.
1699 return _windows
.ColourData_SetChooseFull(*args
, **kwargs
)
1701 def SetColour(*args
, **kwargs
):
1703 SetColour(Colour colour)
1705 Sets the default colour for the colour dialog. The default colour is black.
1707 return _windows
.ColourData_SetColour(*args
, **kwargs
)
1709 def SetCustomColour(*args
, **kwargs
):
1711 SetCustomColour(int i, Colour colour)
1713 Sets the i'th custom colour for the colour dialog. i should be an integer
1714 between 0 and 15. The default custom colours are all white.
1716 return _windows
.ColourData_SetCustomColour(*args
, **kwargs
)
1719 class ColourDataPtr(ColourData
):
1720 def __init__(self
, this
):
1722 if not hasattr(self
,"thisown"): self
.thisown
= 0
1723 self
.__class
__ = ColourData
1724 _windows
.ColourData_swigregister(ColourDataPtr
)
1725 FileSelectorPromptStr
= cvar
.FileSelectorPromptStr
1726 DirSelectorPromptStr
= cvar
.DirSelectorPromptStr
1727 DirDialogNameStr
= cvar
.DirDialogNameStr
1728 FileSelectorDefaultWildcardStr
= cvar
.FileSelectorDefaultWildcardStr
1729 GetTextFromUserPromptStr
= cvar
.GetTextFromUserPromptStr
1730 MessageBoxCaptionStr
= cvar
.MessageBoxCaptionStr
1732 class ColourDialog(Dialog
):
1733 """This class represents the colour chooser dialog."""
1735 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1736 def __init__(self
, *args
, **kwargs
):
1738 __init__(Window parent, ColourData data=None) -> ColourDialog
1740 Constructor. Pass a parent window, and optionally a ColourData, which
1741 will be copied to the colour dialog's internal ColourData instance.
1743 newobj
= _windows
.new_ColourDialog(*args
, **kwargs
)
1744 self
.this
= newobj
.this
1747 self
._setOORInfo
(self
)
1749 def GetColourData(*args
, **kwargs
):
1751 GetColourData() -> ColourData
1753 Returns a reference to the ColourData used by the dialog.
1755 return _windows
.ColourDialog_GetColourData(*args
, **kwargs
)
1758 class ColourDialogPtr(ColourDialog
):
1759 def __init__(self
, this
):
1761 if not hasattr(self
,"thisown"): self
.thisown
= 0
1762 self
.__class
__ = ColourDialog
1763 _windows
.ColourDialog_swigregister(ColourDialogPtr
)
1765 class DirDialog(Dialog
):
1766 """This class represents the directory chooser dialog."""
1768 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1769 def __init__(self
, *args
, **kwargs
):
1771 __init__(Window parent, String message=DirSelectorPromptStr,
1772 String defaultPath=EmptyString, long style=0,
1773 Point pos=DefaultPosition, Size size=DefaultSize,
1774 String name=DirDialogNameStr) -> DirDialog
1776 Constructor. Use ShowModal method to show the dialog.
1778 newobj
= _windows
.new_DirDialog(*args
, **kwargs
)
1779 self
.this
= newobj
.this
1782 self
._setOORInfo
(self
)
1784 def GetPath(*args
, **kwargs
):
1788 Returns the default or user-selected path.
1790 return _windows
.DirDialog_GetPath(*args
, **kwargs
)
1792 def GetMessage(*args
, **kwargs
):
1794 GetMessage() -> String
1796 Returns the message that will be displayed on the dialog.
1798 return _windows
.DirDialog_GetMessage(*args
, **kwargs
)
1800 def GetStyle(*args
, **kwargs
):
1804 Returns the dialog style.
1806 return _windows
.DirDialog_GetStyle(*args
, **kwargs
)
1808 def SetMessage(*args
, **kwargs
):
1810 SetMessage(String message)
1812 Sets the message that will be displayed on the dialog.
1814 return _windows
.DirDialog_SetMessage(*args
, **kwargs
)
1816 def SetPath(*args
, **kwargs
):
1818 SetPath(String path)
1820 Sets the default path.
1822 return _windows
.DirDialog_SetPath(*args
, **kwargs
)
1825 class DirDialogPtr(DirDialog
):
1826 def __init__(self
, this
):
1828 if not hasattr(self
,"thisown"): self
.thisown
= 0
1829 self
.__class
__ = DirDialog
1830 _windows
.DirDialog_swigregister(DirDialogPtr
)
1832 class FileDialog(Dialog
):
1833 """This class represents the file chooser dialog."""
1835 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1836 def __init__(self
, *args
, **kwargs
):
1838 __init__(Window parent, String message=FileSelectorPromptStr,
1839 String defaultDir=EmptyString, String defaultFile=EmptyString,
1840 String wildcard=FileSelectorDefaultWildcardStr,
1841 long style=0, Point pos=DefaultPosition) -> FileDialog
1843 Constructor. Use ShowModal method to show the dialog.
1845 newobj
= _windows
.new_FileDialog(*args
, **kwargs
)
1846 self
.this
= newobj
.this
1849 self
._setOORInfo
(self
)
1851 def SetMessage(*args
, **kwargs
):
1853 SetMessage(String message)
1855 Sets the message that will be displayed on the dialog.
1857 return _windows
.FileDialog_SetMessage(*args
, **kwargs
)
1859 def SetPath(*args
, **kwargs
):
1861 SetPath(String path)
1863 Sets the path (the combined directory and filename that will
1864 be returned when the dialog is dismissed).
1866 return _windows
.FileDialog_SetPath(*args
, **kwargs
)
1868 def SetDirectory(*args
, **kwargs
):
1870 SetDirectory(String dir)
1872 Sets the default directory.
1874 return _windows
.FileDialog_SetDirectory(*args
, **kwargs
)
1876 def SetFilename(*args
, **kwargs
):
1878 SetFilename(String name)
1880 Sets the default filename.
1882 return _windows
.FileDialog_SetFilename(*args
, **kwargs
)
1884 def SetWildcard(*args
, **kwargs
):
1886 SetWildcard(String wildCard)
1888 Sets the wildcard, which can contain multiple file types, for example:
1889 "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
1891 return _windows
.FileDialog_SetWildcard(*args
, **kwargs
)
1893 def SetStyle(*args
, **kwargs
):
1895 SetStyle(long style)
1897 Sets the dialog style.
1899 return _windows
.FileDialog_SetStyle(*args
, **kwargs
)
1901 def SetFilterIndex(*args
, **kwargs
):
1903 SetFilterIndex(int filterIndex)
1905 Sets the default filter index, starting from zero.
1907 return _windows
.FileDialog_SetFilterIndex(*args
, **kwargs
)
1909 def GetMessage(*args
, **kwargs
):
1911 GetMessage() -> String
1913 Returns the message that will be displayed on the dialog.
1915 return _windows
.FileDialog_GetMessage(*args
, **kwargs
)
1917 def GetPath(*args
, **kwargs
):
1921 Returns the full path (directory and filename) of the selected file.
1923 return _windows
.FileDialog_GetPath(*args
, **kwargs
)
1925 def GetDirectory(*args
, **kwargs
):
1927 GetDirectory() -> String
1929 Returns the default directory.
1931 return _windows
.FileDialog_GetDirectory(*args
, **kwargs
)
1933 def GetFilename(*args
, **kwargs
):
1935 GetFilename() -> String
1937 Returns the default filename.
1939 return _windows
.FileDialog_GetFilename(*args
, **kwargs
)
1941 def GetWildcard(*args
, **kwargs
):
1943 GetWildcard() -> String
1945 Returns the file dialog wildcard.
1947 return _windows
.FileDialog_GetWildcard(*args
, **kwargs
)
1949 def GetStyle(*args
, **kwargs
):
1953 Returns the dialog style.
1955 return _windows
.FileDialog_GetStyle(*args
, **kwargs
)
1957 def GetFilterIndex(*args
, **kwargs
):
1959 GetFilterIndex() -> int
1961 Returns the index into the list of filters supplied, optionally, in
1962 the wildcard parameter. Before the dialog is shown, this is the index
1963 which will be used when the dialog is first displayed. After the dialog
1964 is shown, this is the index selected by the user.
1966 return _windows
.FileDialog_GetFilterIndex(*args
, **kwargs
)
1968 def GetFilenames(*args
, **kwargs
):
1970 GetFilenames() -> PyObject
1972 Returns a list of filenames chosen in the dialog. This function should
1973 only be used with the dialogs which have wx.MULTIPLE style, use
1974 GetFilename for the others.
1976 return _windows
.FileDialog_GetFilenames(*args
, **kwargs
)
1978 def GetPaths(*args
, **kwargs
):
1980 GetPaths() -> PyObject
1982 Fills the array paths with the full paths of the files chosen. This
1983 function should only be used with the dialogs which have wx.MULTIPLE style,
1984 use GetPath for the others.
1986 return _windows
.FileDialog_GetPaths(*args
, **kwargs
)
1989 class FileDialogPtr(FileDialog
):
1990 def __init__(self
, this
):
1992 if not hasattr(self
,"thisown"): self
.thisown
= 0
1993 self
.__class
__ = FileDialog
1994 _windows
.FileDialog_swigregister(FileDialogPtr
)
1996 CHOICEDLG_STYLE
= _windows
.CHOICEDLG_STYLE
1997 class MultiChoiceDialog(Dialog
):
1998 """A simple dialog with a multi selection listbox."""
2000 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2001 def __init__(self
, *args
, **kwargs
):
2003 __init__(Window parent, String message, String caption,
2004 List choices=[], long style=CHOICEDLG_STYLE,
2005 Point pos=DefaultPosition) -> MultiChoiceDialog
2007 Constructor. Use ShowModal method to show the dialog.
2009 newobj
= _windows
.new_MultiChoiceDialog(*args
, **kwargs
)
2010 self
.this
= newobj
.this
2013 self
._setOORInfo
(self
)
2015 def SetSelections(*args
, **kwargs
):
2017 SetSelections(List selections)
2019 Specify the items in the list that shoudl be selected, using a list of integers.
2021 return _windows
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
2023 def GetSelections(*args
, **kwargs
):
2025 GetSelections() -> [selections]
2027 Returns a list of integers representing the items that are selected.
2029 return _windows
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
2032 class MultiChoiceDialogPtr(MultiChoiceDialog
):
2033 def __init__(self
, this
):
2035 if not hasattr(self
,"thisown"): self
.thisown
= 0
2036 self
.__class
__ = MultiChoiceDialog
2037 _windows
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
2039 class SingleChoiceDialog(Dialog
):
2040 """A simple dialog with a single selection listbox."""
2042 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2043 def __init__(self
, *args
, **kwargs
):
2045 __init__(Window parent, String message, String caption,
2046 List choices=[], long style=CHOICEDLG_STYLE,
2047 Point pos=DefaultPosition) -> SingleChoiceDialog
2049 Constructor. Use ShowModal method to show the dialog.
2051 newobj
= _windows
.new_SingleChoiceDialog(*args
, **kwargs
)
2052 self
.this
= newobj
.this
2055 self
._setOORInfo
(self
)
2057 def GetSelection(*args
, **kwargs
):
2059 GetSelection() -> int
2061 Get the index of teh currently selected item.
2063 return _windows
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
2065 def GetStringSelection(*args
, **kwargs
):
2067 GetStringSelection() -> String
2069 Returns the string value of the currently selected item
2071 return _windows
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
2073 def SetSelection(*args
, **kwargs
):
2075 SetSelection(int sel)
2077 Set the current selected item to sel
2079 return _windows
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
2082 class SingleChoiceDialogPtr(SingleChoiceDialog
):
2083 def __init__(self
, this
):
2085 if not hasattr(self
,"thisown"): self
.thisown
= 0
2086 self
.__class
__ = SingleChoiceDialog
2087 _windows
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
2089 class TextEntryDialog(Dialog
):
2090 """A dialog with text control, [ok] and [cancel] buttons"""
2092 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2093 def __init__(self
, *args
, **kwargs
):
2095 __init__(Window parent, String message, String caption=GetTextFromUserPromptStr,
2096 String defaultValue=EmptyString,
2097 long style=wxOK|wxCANCEL|wxCENTRE, Point pos=DefaultPosition) -> TextEntryDialog
2099 Constructor. Use ShowModal method to show the dialog.
2101 newobj
= _windows
.new_TextEntryDialog(*args
, **kwargs
)
2102 self
.this
= newobj
.this
2105 self
._setOORInfo
(self
)
2107 def GetValue(*args
, **kwargs
):
2109 GetValue() -> String
2111 Returns the text that the user has entered if the user has pressed OK,
2112 or the original value if the user has pressed Cancel.
2114 return _windows
.TextEntryDialog_GetValue(*args
, **kwargs
)
2116 def SetValue(*args
, **kwargs
):
2118 SetValue(String value)
2120 Sets the default text value.
2122 return _windows
.TextEntryDialog_SetValue(*args
, **kwargs
)
2125 class TextEntryDialogPtr(TextEntryDialog
):
2126 def __init__(self
, this
):
2128 if not hasattr(self
,"thisown"): self
.thisown
= 0
2129 self
.__class
__ = TextEntryDialog
2130 _windows
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
2132 class FontData(core
.Object
):
2133 """This class holds a variety of information related to font dialogs."""
2135 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2136 def __init__(self
, *args
, **kwargs
):
2138 __init__() -> FontData
2140 This class holds a variety of information related to font dialogs.
2142 newobj
= _windows
.new_FontData(*args
, **kwargs
)
2143 self
.this
= newobj
.this
2146 def __del__(self
, destroy
=_windows
.delete_FontData
):
2149 if self
.thisown
: destroy(self
)
2152 def EnableEffects(*args
, **kwargs
):
2154 EnableEffects(bool enable)
2156 Enables or disables 'effects' under MS Windows only. This refers
2157 to the controls for manipulating colour, strikeout and underline
2158 properties. The default value is true.
2160 return _windows
.FontData_EnableEffects(*args
, **kwargs
)
2162 def GetAllowSymbols(*args
, **kwargs
):
2164 GetAllowSymbols() -> bool
2166 Under MS Windows, returns a flag determining whether symbol fonts can be
2167 selected. Has no effect on other platforms. The default value is true.
2169 return _windows
.FontData_GetAllowSymbols(*args
, **kwargs
)
2171 def GetColour(*args
, **kwargs
):
2173 GetColour() -> Colour
2175 Gets the colour associated with the font dialog. The default value is black.
2177 return _windows
.FontData_GetColour(*args
, **kwargs
)
2179 def GetChosenFont(*args
, **kwargs
):
2181 GetChosenFont() -> Font
2183 Gets the font chosen by the user.
2185 return _windows
.FontData_GetChosenFont(*args
, **kwargs
)
2187 def GetEnableEffects(*args
, **kwargs
):
2189 GetEnableEffects() -> bool
2191 Determines whether 'effects' are enabled under Windows.
2193 return _windows
.FontData_GetEnableEffects(*args
, **kwargs
)
2195 def GetInitialFont(*args
, **kwargs
):
2197 GetInitialFont() -> Font
2199 Gets the font that will be initially used by the font dialog. This should have
2200 previously been set by the application.
2202 return _windows
.FontData_GetInitialFont(*args
, **kwargs
)
2204 def GetShowHelp(*args
, **kwargs
):
2206 GetShowHelp() -> bool
2208 Returns true if the Help button will be shown (Windows only). The default
2211 return _windows
.FontData_GetShowHelp(*args
, **kwargs
)
2213 def SetAllowSymbols(*args
, **kwargs
):
2215 SetAllowSymbols(bool allowSymbols)
2217 Under MS Windows, determines whether symbol fonts can be selected. Has no
2218 effect on other platforms. The default value is true.
2220 return _windows
.FontData_SetAllowSymbols(*args
, **kwargs
)
2222 def SetChosenFont(*args
, **kwargs
):
2224 SetChosenFont(Font font)
2226 Sets the font that will be returned to the user (for internal use only).
2228 return _windows
.FontData_SetChosenFont(*args
, **kwargs
)
2230 def SetColour(*args
, **kwargs
):
2232 SetColour(Colour colour)
2234 Sets the colour that will be used for the font foreground colour. The default
2237 return _windows
.FontData_SetColour(*args
, **kwargs
)
2239 def SetInitialFont(*args
, **kwargs
):
2241 SetInitialFont(Font font)
2243 Sets the font that will be initially used by the font dialog.
2245 return _windows
.FontData_SetInitialFont(*args
, **kwargs
)
2247 def SetRange(*args
, **kwargs
):
2249 SetRange(int min, int max)
2251 Sets the valid range for the font point size (Windows only). The default is
2252 0, 0 (unrestricted range).
2254 return _windows
.FontData_SetRange(*args
, **kwargs
)
2256 def SetShowHelp(*args
, **kwargs
):
2258 SetShowHelp(bool showHelp)
2260 Determines whether the Help button will be displayed in the font dialog
2261 (Windows only). The default value is false.
2263 return _windows
.FontData_SetShowHelp(*args
, **kwargs
)
2266 class FontDataPtr(FontData
):
2267 def __init__(self
, this
):
2269 if not hasattr(self
,"thisown"): self
.thisown
= 0
2270 self
.__class
__ = FontData
2271 _windows
.FontData_swigregister(FontDataPtr
)
2273 class FontDialog(Dialog
):
2274 """This class represents the font chooser dialog."""
2276 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2277 def __init__(self
, *args
, **kwargs
):
2279 __init__(Window parent, FontData data) -> FontDialog
2281 Constructor. Pass a parent window and the FontData object to be
2282 used to initialize the dialog controls.
2284 newobj
= _windows
.new_FontDialog(*args
, **kwargs
)
2285 self
.this
= newobj
.this
2288 self
._setOORInfo
(self
)
2290 def GetFontData(*args
, **kwargs
):
2292 GetFontData() -> FontData
2294 Returns a reference to the internal FontData used by the FontDialog.
2296 return _windows
.FontDialog_GetFontData(*args
, **kwargs
)
2299 class FontDialogPtr(FontDialog
):
2300 def __init__(self
, this
):
2302 if not hasattr(self
,"thisown"): self
.thisown
= 0
2303 self
.__class
__ = FontDialog
2304 _windows
.FontDialog_swigregister(FontDialogPtr
)
2306 class MessageDialog(Dialog
):
2308 This class provides a dialog that shows a single or multi-line message, with
2309 a choice of OK, Yes, No and Cancel buttons.
2312 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2313 def __init__(self
, *args
, **kwargs
):
2315 __init__(Window parent, String message, String caption=MessageBoxCaptionStr,
2316 long style=wxOK|wxCANCEL|wxCENTRE,
2317 Point pos=DefaultPosition) -> MessageDialog
2319 This class provides a dialog that shows a single or multi-line message, with
2320 a choice of OK, Yes, No and Cancel buttons.
2322 newobj
= _windows
.new_MessageDialog(*args
, **kwargs
)
2323 self
.this
= newobj
.this
2326 self
._setOORInfo
(self
)
2329 class MessageDialogPtr(MessageDialog
):
2330 def __init__(self
, this
):
2332 if not hasattr(self
,"thisown"): self
.thisown
= 0
2333 self
.__class
__ = MessageDialog
2334 _windows
.MessageDialog_swigregister(MessageDialogPtr
)
2336 class ProgressDialog(Frame
):
2338 A dialog that shows a short message and a progress bar. Optionally, it can
2339 display an ABORT button.
2342 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2343 def __init__(self
, *args
, **kwargs
):
2345 __init__(String title, String message, int maximum=100, Window parent=None,
2346 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
2348 Constructor. Creates the dialog, displays it and disables user input for other
2349 windows, or, if wxPD_APP_MODAL flag is not given, for its parent window only.
2351 newobj
= _windows
.new_ProgressDialog(*args
, **kwargs
)
2352 self
.this
= newobj
.this
2355 self
._setOORInfo
(self
)
2357 def Update(*args
, **kwargs
):
2359 Update(int value, String newmsg=EmptyString) -> bool
2361 Updates the dialog, setting the progress bar to the new value and, if given
2362 changes the message above it. Returns true unless the Cancel button has been
2365 If false is returned, the application can either immediately destroy the
2366 dialog or ask the user for the confirmation and if the abort is not confirmed
2367 the dialog may be resumed with Resume function.
2369 return _windows
.ProgressDialog_Update(*args
, **kwargs
)
2371 def Resume(*args
, **kwargs
):
2375 Can be used to continue with the dialog, after the user had chosen to abort.
2377 return _windows
.ProgressDialog_Resume(*args
, **kwargs
)
2380 class ProgressDialogPtr(ProgressDialog
):
2381 def __init__(self
, this
):
2383 if not hasattr(self
,"thisown"): self
.thisown
= 0
2384 self
.__class
__ = ProgressDialog
2385 _windows
.ProgressDialog_swigregister(ProgressDialogPtr
)
2387 FR_DOWN
= _windows
.FR_DOWN
2388 FR_WHOLEWORD
= _windows
.FR_WHOLEWORD
2389 FR_MATCHCASE
= _windows
.FR_MATCHCASE
2390 FR_REPLACEDIALOG
= _windows
.FR_REPLACEDIALOG
2391 FR_NOUPDOWN
= _windows
.FR_NOUPDOWN
2392 FR_NOMATCHCASE
= _windows
.FR_NOMATCHCASE
2393 FR_NOWHOLEWORD
= _windows
.FR_NOWHOLEWORD
2394 wxEVT_COMMAND_FIND
= _windows
.wxEVT_COMMAND_FIND
2395 wxEVT_COMMAND_FIND_NEXT
= _windows
.wxEVT_COMMAND_FIND_NEXT
2396 wxEVT_COMMAND_FIND_REPLACE
= _windows
.wxEVT_COMMAND_FIND_REPLACE
2397 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows
.wxEVT_COMMAND_FIND_REPLACE_ALL
2398 wxEVT_COMMAND_FIND_CLOSE
= _windows
.wxEVT_COMMAND_FIND_CLOSE
2399 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
2400 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
2401 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
2402 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
2403 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
2405 # For backwards compatibility. Should they be removed?
2406 EVT_COMMAND_FIND
= EVT_FIND
2407 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
2408 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
2409 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
2410 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
2412 class FindDialogEvent(core
.CommandEvent
):
2413 """Events for the FindReplaceDialog"""
2415 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2416 def __init__(self
, *args
, **kwargs
):
2418 __init__(wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent
2420 Events for the FindReplaceDialog
2422 newobj
= _windows
.new_FindDialogEvent(*args
, **kwargs
)
2423 self
.this
= newobj
.this
2426 def GetFlags(*args
, **kwargs
):
2430 Get the currently selected flags: this is the combination of
2431 wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.
2433 return _windows
.FindDialogEvent_GetFlags(*args
, **kwargs
)
2435 def GetFindString(*args
, **kwargs
):
2437 GetFindString() -> String
2439 Return the string to find (never empty).
2441 return _windows
.FindDialogEvent_GetFindString(*args
, **kwargs
)
2443 def GetReplaceString(*args
, **kwargs
):
2445 GetReplaceString() -> String
2447 Return the string to replace the search string with (only
2448 for replace and replace all events).
2450 return _windows
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
2452 def GetDialog(*args
, **kwargs
):
2454 GetDialog() -> FindReplaceDialog
2456 Return the pointer to the dialog which generated this event.
2458 return _windows
.FindDialogEvent_GetDialog(*args
, **kwargs
)
2460 def SetFlags(*args
, **kwargs
):
2461 """SetFlags(int flags)"""
2462 return _windows
.FindDialogEvent_SetFlags(*args
, **kwargs
)
2464 def SetFindString(*args
, **kwargs
):
2465 """SetFindString(String str)"""
2466 return _windows
.FindDialogEvent_SetFindString(*args
, **kwargs
)
2468 def SetReplaceString(*args
, **kwargs
):
2469 """SetReplaceString(String str)"""
2470 return _windows
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
2473 class FindDialogEventPtr(FindDialogEvent
):
2474 def __init__(self
, this
):
2476 if not hasattr(self
,"thisown"): self
.thisown
= 0
2477 self
.__class
__ = FindDialogEvent
2478 _windows
.FindDialogEvent_swigregister(FindDialogEventPtr
)
2480 class FindReplaceData(core
.Object
):
2482 FindReplaceData holds the data for FindReplaceDialog. It is used to initialize
2483 the dialog with the default values and will keep the last values from the
2484 dialog when it is closed. It is also updated each time a wxFindDialogEvent is
2485 generated so instead of using the wxFindDialogEvent methods you can also
2486 directly query this object.
2488 Note that all SetXXX() methods may only be called before showing the dialog
2489 and calling them has no effect later.
2492 wxFR_DOWN: downward search/replace selected (otherwise, upwards)
2494 wxFR_WHOLEWORD: whole word search/replace selected
2496 wxFR_MATCHCASE: case sensitive search/replace selected (otherwise,
2501 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2502 def __init__(self
, *args
, **kwargs
):
2504 __init__(int flags=0) -> FindReplaceData
2506 Constuctor initializes the flags to default value (0).
2508 newobj
= _windows
.new_FindReplaceData(*args
, **kwargs
)
2509 self
.this
= newobj
.this
2512 def __del__(self
, destroy
=_windows
.delete_FindReplaceData
):
2515 if self
.thisown
: destroy(self
)
2518 def GetFindString(*args
, **kwargs
):
2520 GetFindString() -> String
2522 Get the string to find.
2524 return _windows
.FindReplaceData_GetFindString(*args
, **kwargs
)
2526 def GetReplaceString(*args
, **kwargs
):
2528 GetReplaceString() -> String
2530 Get the replacement string.
2532 return _windows
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
2534 def GetFlags(*args
, **kwargs
):
2538 Get the combination of flag values.
2540 return _windows
.FindReplaceData_GetFlags(*args
, **kwargs
)
2542 def SetFlags(*args
, **kwargs
):
2546 Set the flags to use to initialize the controls of the dialog.
2548 return _windows
.FindReplaceData_SetFlags(*args
, **kwargs
)
2550 def SetFindString(*args
, **kwargs
):
2552 SetFindString(String str)
2554 Set the string to find (used as initial value by the dialog).
2556 return _windows
.FindReplaceData_SetFindString(*args
, **kwargs
)
2558 def SetReplaceString(*args
, **kwargs
):
2560 SetReplaceString(String str)
2562 Set the replacement string (used as initial value by the dialog).
2564 return _windows
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
2567 class FindReplaceDataPtr(FindReplaceData
):
2568 def __init__(self
, this
):
2570 if not hasattr(self
,"thisown"): self
.thisown
= 0
2571 self
.__class
__ = FindReplaceData
2572 _windows
.FindReplaceData_swigregister(FindReplaceDataPtr
)
2574 class FindReplaceDialog(Dialog
):
2576 FindReplaceDialog is a standard modeless dialog which is used to allow the
2577 user to search for some text (and possibly replace it with something
2578 else). The actual searching is supposed to be done in the owner window which
2579 is the parent of this dialog. Note that it means that unlike for the other
2580 standard dialogs this one must have a parent window. Also note that there is
2581 no way to use this dialog in a modal way; it is always, by design and
2582 implementation, modeless.
2585 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2586 def __init__(self
, *args
, **kwargs
):
2588 __init__(Window parent, FindReplaceData data, String title,
2589 int style=0) -> FindReplaceDialog
2591 Create a FindReplaceDialog. The parent and data parameters must be
2592 non-None. Use Show to display the dialog.
2594 newobj
= _windows
.new_FindReplaceDialog(*args
, **kwargs
)
2595 self
.this
= newobj
.this
2598 self
._setOORInfo
(self
)
2600 def Create(*args
, **kwargs
):
2602 Create(Window parent, FindReplaceData data, String title,
2603 int style=0) -> bool
2605 Create the dialog, for 2-phase create.
2607 return _windows
.FindReplaceDialog_Create(*args
, **kwargs
)
2609 def GetData(*args
, **kwargs
):
2611 GetData() -> FindReplaceData
2613 Get the FindReplaceData object used by this dialog.
2615 return _windows
.FindReplaceDialog_GetData(*args
, **kwargs
)
2617 def SetData(*args
, **kwargs
):
2619 SetData(FindReplaceData data)
2621 Set the FindReplaceData object used by this dialog.
2623 return _windows
.FindReplaceDialog_SetData(*args
, **kwargs
)
2626 class FindReplaceDialogPtr(FindReplaceDialog
):
2627 def __init__(self
, this
):
2629 if not hasattr(self
,"thisown"): self
.thisown
= 0
2630 self
.__class
__ = FindReplaceDialog
2631 _windows
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
2633 def PreFindReplaceDialog(*args
, **kwargs
):
2635 PreFindReplaceDialog() -> FindReplaceDialog
2637 Precreate a FindReplaceDialog for 2-phase creation
2639 val
= _windows
.new_PreFindReplaceDialog(*args
, **kwargs
)
2643 #---------------------------------------------------------------------------
2645 IDM_WINDOWTILE
= _windows
.IDM_WINDOWTILE
2646 IDM_WINDOWTILEHOR
= _windows
.IDM_WINDOWTILEHOR
2647 IDM_WINDOWCASCADE
= _windows
.IDM_WINDOWCASCADE
2648 IDM_WINDOWICONS
= _windows
.IDM_WINDOWICONS
2649 IDM_WINDOWNEXT
= _windows
.IDM_WINDOWNEXT
2650 IDM_WINDOWTILEVERT
= _windows
.IDM_WINDOWTILEVERT
2651 FIRST_MDI_CHILD
= _windows
.FIRST_MDI_CHILD
2652 LAST_MDI_CHILD
= _windows
.LAST_MDI_CHILD
2653 class MDIParentFrame(Frame
):
2655 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2656 def __init__(self
, *args
, **kwargs
):
2658 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
2659 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2660 String name=FrameNameStr) -> MDIParentFrame
2662 newobj
= _windows
.new_MDIParentFrame(*args
, **kwargs
)
2663 self
.this
= newobj
.this
2666 self
._setOORInfo
(self
)
2668 def Create(*args
, **kwargs
):
2670 Create(Window parent, int id, String title, Point pos=DefaultPosition,
2671 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2672 String name=FrameNameStr) -> bool
2674 return _windows
.MDIParentFrame_Create(*args
, **kwargs
)
2676 def ActivateNext(*args
, **kwargs
):
2677 """ActivateNext()"""
2678 return _windows
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
2680 def ActivatePrevious(*args
, **kwargs
):
2681 """ActivatePrevious()"""
2682 return _windows
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
2684 def ArrangeIcons(*args
, **kwargs
):
2685 """ArrangeIcons()"""
2686 return _windows
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
2688 def Cascade(*args
, **kwargs
):
2690 return _windows
.MDIParentFrame_Cascade(*args
, **kwargs
)
2692 def GetActiveChild(*args
, **kwargs
):
2693 """GetActiveChild() -> MDIChildFrame"""
2694 return _windows
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
2696 def GetClientWindow(*args
, **kwargs
):
2697 """GetClientWindow() -> MDIClientWindow"""
2698 return _windows
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
2700 def GetToolBar(*args
, **kwargs
):
2701 """GetToolBar() -> Window"""
2702 return _windows
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
2704 def Tile(*args
, **kwargs
):
2706 return _windows
.MDIParentFrame_Tile(*args
, **kwargs
)
2709 class MDIParentFramePtr(MDIParentFrame
):
2710 def __init__(self
, this
):
2712 if not hasattr(self
,"thisown"): self
.thisown
= 0
2713 self
.__class
__ = MDIParentFrame
2714 _windows
.MDIParentFrame_swigregister(MDIParentFramePtr
)
2716 def PreMDIParentFrame(*args
, **kwargs
):
2717 """PreMDIParentFrame() -> MDIParentFrame"""
2718 val
= _windows
.new_PreMDIParentFrame(*args
, **kwargs
)
2722 class MDIChildFrame(Frame
):
2724 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2725 def __init__(self
, *args
, **kwargs
):
2727 __init__(MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
2728 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
2729 String name=FrameNameStr) -> MDIChildFrame
2731 newobj
= _windows
.new_MDIChildFrame(*args
, **kwargs
)
2732 self
.this
= newobj
.this
2735 self
._setOORInfo
(self
)
2737 def Create(*args
, **kwargs
):
2739 Create(MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
2740 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
2741 String name=FrameNameStr) -> bool
2743 return _windows
.MDIChildFrame_Create(*args
, **kwargs
)
2745 def Activate(*args
, **kwargs
):
2747 return _windows
.MDIChildFrame_Activate(*args
, **kwargs
)
2749 def Maximize(*args
, **kwargs
):
2750 """Maximize(bool maximize)"""
2751 return _windows
.MDIChildFrame_Maximize(*args
, **kwargs
)
2753 def Restore(*args
, **kwargs
):
2755 return _windows
.MDIChildFrame_Restore(*args
, **kwargs
)
2758 class MDIChildFramePtr(MDIChildFrame
):
2759 def __init__(self
, this
):
2761 if not hasattr(self
,"thisown"): self
.thisown
= 0
2762 self
.__class
__ = MDIChildFrame
2763 _windows
.MDIChildFrame_swigregister(MDIChildFramePtr
)
2765 def PreMDIChildFrame(*args
, **kwargs
):
2766 """PreMDIChildFrame() -> MDIChildFrame"""
2767 val
= _windows
.new_PreMDIChildFrame(*args
, **kwargs
)
2771 class MDIClientWindow(core
.Window
):
2773 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2774 def __init__(self
, *args
, **kwargs
):
2775 """__init__(MDIParentFrame parent, long style=0) -> MDIClientWindow"""
2776 newobj
= _windows
.new_MDIClientWindow(*args
, **kwargs
)
2777 self
.this
= newobj
.this
2780 self
._setOORInfo
(self
)
2782 def Create(*args
, **kwargs
):
2783 """Create(MDIParentFrame parent, long style=0) -> bool"""
2784 return _windows
.MDIClientWindow_Create(*args
, **kwargs
)
2787 class MDIClientWindowPtr(MDIClientWindow
):
2788 def __init__(self
, this
):
2790 if not hasattr(self
,"thisown"): self
.thisown
= 0
2791 self
.__class
__ = MDIClientWindow
2792 _windows
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
2794 def PreMDIClientWindow(*args
, **kwargs
):
2795 """PreMDIClientWindow() -> MDIClientWindow"""
2796 val
= _windows
.new_PreMDIClientWindow(*args
, **kwargs
)
2800 #---------------------------------------------------------------------------
2802 class PyWindow(core
.Window
):
2804 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2805 def __init__(self
, *args
, **kwargs
):
2807 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2808 long style=0, String name=PanelNameStr) -> PyWindow
2810 newobj
= _windows
.new_PyWindow(*args
, **kwargs
)
2811 self
.this
= newobj
.this
2814 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
2816 def _setCallbackInfo(*args
, **kwargs
):
2817 """_setCallbackInfo(PyObject self, PyObject _class)"""
2818 return _windows
.PyWindow__setCallbackInfo(*args
, **kwargs
)
2820 def base_DoMoveWindow(*args
, **kwargs
):
2821 """base_DoMoveWindow(int x, int y, int width, int height)"""
2822 return _windows
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
2824 def base_DoSetSize(*args
, **kwargs
):
2825 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2826 return _windows
.PyWindow_base_DoSetSize(*args
, **kwargs
)
2828 def base_DoSetClientSize(*args
, **kwargs
):
2829 """base_DoSetClientSize(int width, int height)"""
2830 return _windows
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
2832 def base_DoSetVirtualSize(*args
, **kwargs
):
2833 """base_DoSetVirtualSize(int x, int y)"""
2834 return _windows
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
2836 def base_DoGetSize(*args
, **kwargs
):
2837 """base_DoGetSize() -> (width, height)"""
2838 return _windows
.PyWindow_base_DoGetSize(*args
, **kwargs
)
2840 def base_DoGetClientSize(*args
, **kwargs
):
2841 """base_DoGetClientSize() -> (width, height)"""
2842 return _windows
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
2844 def base_DoGetPosition(*args
, **kwargs
):
2845 """base_DoGetPosition() -> (x,y)"""
2846 return _windows
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
2848 def base_DoGetVirtualSize(*args
, **kwargs
):
2849 """base_DoGetVirtualSize() -> Size"""
2850 return _windows
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
2852 def base_DoGetBestSize(*args
, **kwargs
):
2853 """base_DoGetBestSize() -> Size"""
2854 return _windows
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
2856 def base_InitDialog(*args
, **kwargs
):
2857 """base_InitDialog()"""
2858 return _windows
.PyWindow_base_InitDialog(*args
, **kwargs
)
2860 def base_TransferDataToWindow(*args
, **kwargs
):
2861 """base_TransferDataToWindow() -> bool"""
2862 return _windows
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
2864 def base_TransferDataFromWindow(*args
, **kwargs
):
2865 """base_TransferDataFromWindow() -> bool"""
2866 return _windows
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
2868 def base_Validate(*args
, **kwargs
):
2869 """base_Validate() -> bool"""
2870 return _windows
.PyWindow_base_Validate(*args
, **kwargs
)
2872 def base_AcceptsFocus(*args
, **kwargs
):
2873 """base_AcceptsFocus() -> bool"""
2874 return _windows
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
2876 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2877 """base_AcceptsFocusFromKeyboard() -> bool"""
2878 return _windows
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2880 def base_GetMaxSize(*args
, **kwargs
):
2881 """base_GetMaxSize() -> Size"""
2882 return _windows
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
2884 def base_AddChild(*args
, **kwargs
):
2885 """base_AddChild(Window child)"""
2886 return _windows
.PyWindow_base_AddChild(*args
, **kwargs
)
2888 def base_RemoveChild(*args
, **kwargs
):
2889 """base_RemoveChild(Window child)"""
2890 return _windows
.PyWindow_base_RemoveChild(*args
, **kwargs
)
2893 class PyWindowPtr(PyWindow
):
2894 def __init__(self
, this
):
2896 if not hasattr(self
,"thisown"): self
.thisown
= 0
2897 self
.__class
__ = PyWindow
2898 _windows
.PyWindow_swigregister(PyWindowPtr
)
2900 class PyPanel(Panel
):
2902 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2903 def __init__(self
, *args
, **kwargs
):
2905 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2906 long style=0, String name=PanelNameStr) -> PyPanel
2908 newobj
= _windows
.new_PyPanel(*args
, **kwargs
)
2909 self
.this
= newobj
.this
2912 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
2914 def _setCallbackInfo(*args
, **kwargs
):
2915 """_setCallbackInfo(PyObject self, PyObject _class)"""
2916 return _windows
.PyPanel__setCallbackInfo(*args
, **kwargs
)
2918 def base_DoMoveWindow(*args
, **kwargs
):
2919 """base_DoMoveWindow(int x, int y, int width, int height)"""
2920 return _windows
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
2922 def base_DoSetSize(*args
, **kwargs
):
2923 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2924 return _windows
.PyPanel_base_DoSetSize(*args
, **kwargs
)
2926 def base_DoSetClientSize(*args
, **kwargs
):
2927 """base_DoSetClientSize(int width, int height)"""
2928 return _windows
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
2930 def base_DoSetVirtualSize(*args
, **kwargs
):
2931 """base_DoSetVirtualSize(int x, int y)"""
2932 return _windows
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
2934 def base_DoGetSize(*args
, **kwargs
):
2935 """base_DoGetSize() -> (width, height)"""
2936 return _windows
.PyPanel_base_DoGetSize(*args
, **kwargs
)
2938 def base_DoGetClientSize(*args
, **kwargs
):
2939 """base_DoGetClientSize() -> (width, height)"""
2940 return _windows
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
2942 def base_DoGetPosition(*args
, **kwargs
):
2943 """base_DoGetPosition() -> (x,y)"""
2944 return _windows
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
2946 def base_DoGetVirtualSize(*args
, **kwargs
):
2947 """base_DoGetVirtualSize() -> Size"""
2948 return _windows
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
2950 def base_DoGetBestSize(*args
, **kwargs
):
2951 """base_DoGetBestSize() -> Size"""
2952 return _windows
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
2954 def base_InitDialog(*args
, **kwargs
):
2955 """base_InitDialog()"""
2956 return _windows
.PyPanel_base_InitDialog(*args
, **kwargs
)
2958 def base_TransferDataToWindow(*args
, **kwargs
):
2959 """base_TransferDataToWindow() -> bool"""
2960 return _windows
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
2962 def base_TransferDataFromWindow(*args
, **kwargs
):
2963 """base_TransferDataFromWindow() -> bool"""
2964 return _windows
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
2966 def base_Validate(*args
, **kwargs
):
2967 """base_Validate() -> bool"""
2968 return _windows
.PyPanel_base_Validate(*args
, **kwargs
)
2970 def base_AcceptsFocus(*args
, **kwargs
):
2971 """base_AcceptsFocus() -> bool"""
2972 return _windows
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
2974 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2975 """base_AcceptsFocusFromKeyboard() -> bool"""
2976 return _windows
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2978 def base_GetMaxSize(*args
, **kwargs
):
2979 """base_GetMaxSize() -> Size"""
2980 return _windows
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
2982 def base_AddChild(*args
, **kwargs
):
2983 """base_AddChild(Window child)"""
2984 return _windows
.PyPanel_base_AddChild(*args
, **kwargs
)
2986 def base_RemoveChild(*args
, **kwargs
):
2987 """base_RemoveChild(Window child)"""
2988 return _windows
.PyPanel_base_RemoveChild(*args
, **kwargs
)
2991 class PyPanelPtr(PyPanel
):
2992 def __init__(self
, this
):
2994 if not hasattr(self
,"thisown"): self
.thisown
= 0
2995 self
.__class
__ = PyPanel
2996 _windows
.PyPanel_swigregister(PyPanelPtr
)
2998 #---------------------------------------------------------------------------
3000 PRINT_MODE_NONE
= _windows
.PRINT_MODE_NONE
3001 PRINT_MODE_PREVIEW
= _windows
.PRINT_MODE_PREVIEW
3002 PRINT_MODE_FILE
= _windows
.PRINT_MODE_FILE
3003 PRINT_MODE_PRINTER
= _windows
.PRINT_MODE_PRINTER
3004 PRINT_MODE_STREAM
= _windows
.PRINT_MODE_STREAM
3005 class PrintData(core
.Object
):
3007 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3008 def __init__(self
, *args
, **kwargs
):
3009 """__init__() -> PrintData"""
3010 newobj
= _windows
.new_PrintData(*args
, **kwargs
)
3011 self
.this
= newobj
.this
3014 def __del__(self
, destroy
=_windows
.delete_PrintData
):
3017 if self
.thisown
: destroy(self
)
3020 def GetNoCopies(*args
, **kwargs
):
3021 """GetNoCopies() -> int"""
3022 return _windows
.PrintData_GetNoCopies(*args
, **kwargs
)
3024 def GetCollate(*args
, **kwargs
):
3025 """GetCollate() -> bool"""
3026 return _windows
.PrintData_GetCollate(*args
, **kwargs
)
3028 def GetOrientation(*args
, **kwargs
):
3029 """GetOrientation() -> int"""
3030 return _windows
.PrintData_GetOrientation(*args
, **kwargs
)
3032 def Ok(*args
, **kwargs
):
3034 return _windows
.PrintData_Ok(*args
, **kwargs
)
3036 def GetPrinterName(*args
, **kwargs
):
3037 """GetPrinterName() -> String"""
3038 return _windows
.PrintData_GetPrinterName(*args
, **kwargs
)
3040 def GetColour(*args
, **kwargs
):
3041 """GetColour() -> bool"""
3042 return _windows
.PrintData_GetColour(*args
, **kwargs
)
3044 def GetDuplex(*args
, **kwargs
):
3045 """GetDuplex() -> int"""
3046 return _windows
.PrintData_GetDuplex(*args
, **kwargs
)
3048 def GetPaperId(*args
, **kwargs
):
3049 """GetPaperId() -> int"""
3050 return _windows
.PrintData_GetPaperId(*args
, **kwargs
)
3052 def GetPaperSize(*args
, **kwargs
):
3053 """GetPaperSize() -> Size"""
3054 return _windows
.PrintData_GetPaperSize(*args
, **kwargs
)
3056 def GetQuality(*args
, **kwargs
):
3057 """GetQuality() -> int"""
3058 return _windows
.PrintData_GetQuality(*args
, **kwargs
)
3060 def SetNoCopies(*args
, **kwargs
):
3061 """SetNoCopies(int v)"""
3062 return _windows
.PrintData_SetNoCopies(*args
, **kwargs
)
3064 def SetCollate(*args
, **kwargs
):
3065 """SetCollate(bool flag)"""
3066 return _windows
.PrintData_SetCollate(*args
, **kwargs
)
3068 def SetOrientation(*args
, **kwargs
):
3069 """SetOrientation(int orient)"""
3070 return _windows
.PrintData_SetOrientation(*args
, **kwargs
)
3072 def SetPrinterName(*args
, **kwargs
):
3073 """SetPrinterName(String name)"""
3074 return _windows
.PrintData_SetPrinterName(*args
, **kwargs
)
3076 def SetColour(*args
, **kwargs
):
3077 """SetColour(bool colour)"""
3078 return _windows
.PrintData_SetColour(*args
, **kwargs
)
3080 def SetDuplex(*args
, **kwargs
):
3081 """SetDuplex(int duplex)"""
3082 return _windows
.PrintData_SetDuplex(*args
, **kwargs
)
3084 def SetPaperId(*args
, **kwargs
):
3085 """SetPaperId(int sizeId)"""
3086 return _windows
.PrintData_SetPaperId(*args
, **kwargs
)
3088 def SetPaperSize(*args
, **kwargs
):
3089 """SetPaperSize(Size sz)"""
3090 return _windows
.PrintData_SetPaperSize(*args
, **kwargs
)
3092 def SetQuality(*args
, **kwargs
):
3093 """SetQuality(int quality)"""
3094 return _windows
.PrintData_SetQuality(*args
, **kwargs
)
3096 def GetPrinterCommand(*args
, **kwargs
):
3097 """GetPrinterCommand() -> String"""
3098 return _windows
.PrintData_GetPrinterCommand(*args
, **kwargs
)
3100 def GetPrinterOptions(*args
, **kwargs
):
3101 """GetPrinterOptions() -> String"""
3102 return _windows
.PrintData_GetPrinterOptions(*args
, **kwargs
)
3104 def GetPreviewCommand(*args
, **kwargs
):
3105 """GetPreviewCommand() -> String"""
3106 return _windows
.PrintData_GetPreviewCommand(*args
, **kwargs
)
3108 def GetFilename(*args
, **kwargs
):
3109 """GetFilename() -> String"""
3110 return _windows
.PrintData_GetFilename(*args
, **kwargs
)
3112 def GetFontMetricPath(*args
, **kwargs
):
3113 """GetFontMetricPath() -> String"""
3114 return _windows
.PrintData_GetFontMetricPath(*args
, **kwargs
)
3116 def GetPrinterScaleX(*args
, **kwargs
):
3117 """GetPrinterScaleX() -> double"""
3118 return _windows
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
3120 def GetPrinterScaleY(*args
, **kwargs
):
3121 """GetPrinterScaleY() -> double"""
3122 return _windows
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
3124 def GetPrinterTranslateX(*args
, **kwargs
):
3125 """GetPrinterTranslateX() -> long"""
3126 return _windows
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
3128 def GetPrinterTranslateY(*args
, **kwargs
):
3129 """GetPrinterTranslateY() -> long"""
3130 return _windows
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
3132 def GetPrintMode(*args
, **kwargs
):
3133 """GetPrintMode() -> int"""
3134 return _windows
.PrintData_GetPrintMode(*args
, **kwargs
)
3136 def SetPrinterCommand(*args
, **kwargs
):
3137 """SetPrinterCommand(String command)"""
3138 return _windows
.PrintData_SetPrinterCommand(*args
, **kwargs
)
3140 def SetPrinterOptions(*args
, **kwargs
):
3141 """SetPrinterOptions(String options)"""
3142 return _windows
.PrintData_SetPrinterOptions(*args
, **kwargs
)
3144 def SetPreviewCommand(*args
, **kwargs
):
3145 """SetPreviewCommand(String command)"""
3146 return _windows
.PrintData_SetPreviewCommand(*args
, **kwargs
)
3148 def SetFilename(*args
, **kwargs
):
3149 """SetFilename(String filename)"""
3150 return _windows
.PrintData_SetFilename(*args
, **kwargs
)
3152 def SetFontMetricPath(*args
, **kwargs
):
3153 """SetFontMetricPath(String path)"""
3154 return _windows
.PrintData_SetFontMetricPath(*args
, **kwargs
)
3156 def SetPrinterScaleX(*args
, **kwargs
):
3157 """SetPrinterScaleX(double x)"""
3158 return _windows
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
3160 def SetPrinterScaleY(*args
, **kwargs
):
3161 """SetPrinterScaleY(double y)"""
3162 return _windows
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
3164 def SetPrinterScaling(*args
, **kwargs
):
3165 """SetPrinterScaling(double x, double y)"""
3166 return _windows
.PrintData_SetPrinterScaling(*args
, **kwargs
)
3168 def SetPrinterTranslateX(*args
, **kwargs
):
3169 """SetPrinterTranslateX(long x)"""
3170 return _windows
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
3172 def SetPrinterTranslateY(*args
, **kwargs
):
3173 """SetPrinterTranslateY(long y)"""
3174 return _windows
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
3176 def SetPrinterTranslation(*args
, **kwargs
):
3177 """SetPrinterTranslation(long x, long y)"""
3178 return _windows
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
3180 def SetPrintMode(*args
, **kwargs
):
3181 """SetPrintMode(int printMode)"""
3182 return _windows
.PrintData_SetPrintMode(*args
, **kwargs
)
3184 def GetOutputStream(*args
, **kwargs
):
3185 """GetOutputStream() -> OutputStream"""
3186 return _windows
.PrintData_GetOutputStream(*args
, **kwargs
)
3188 def SetOutputStream(*args
, **kwargs
):
3189 """SetOutputStream(OutputStream outputstream)"""
3190 return _windows
.PrintData_SetOutputStream(*args
, **kwargs
)
3192 def __nonzero__(self
): return self
.Ok()
3194 class PrintDataPtr(PrintData
):
3195 def __init__(self
, this
):
3197 if not hasattr(self
,"thisown"): self
.thisown
= 0
3198 self
.__class
__ = PrintData
3199 _windows
.PrintData_swigregister(PrintDataPtr
)
3200 PrintoutTitleStr
= cvar
.PrintoutTitleStr
3201 PreviewCanvasNameStr
= cvar
.PreviewCanvasNameStr
3203 class PageSetupDialogData(core
.Object
):
3205 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3206 def __init__(self
, *args
, **kwargs
):
3207 """__init__() -> PageSetupDialogData"""
3208 newobj
= _windows
.new_PageSetupDialogData(*args
, **kwargs
)
3209 self
.this
= newobj
.this
3212 def __del__(self
, destroy
=_windows
.delete_PageSetupDialogData
):
3215 if self
.thisown
: destroy(self
)
3218 def EnableHelp(*args
, **kwargs
):
3219 """EnableHelp(bool flag)"""
3220 return _windows
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
3222 def EnableMargins(*args
, **kwargs
):
3223 """EnableMargins(bool flag)"""
3224 return _windows
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
3226 def EnableOrientation(*args
, **kwargs
):
3227 """EnableOrientation(bool flag)"""
3228 return _windows
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
3230 def EnablePaper(*args
, **kwargs
):
3231 """EnablePaper(bool flag)"""
3232 return _windows
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
3234 def EnablePrinter(*args
, **kwargs
):
3235 """EnablePrinter(bool flag)"""
3236 return _windows
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
3238 def GetDefaultMinMargins(*args
, **kwargs
):
3239 """GetDefaultMinMargins() -> bool"""
3240 return _windows
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
3242 def GetEnableMargins(*args
, **kwargs
):
3243 """GetEnableMargins() -> bool"""
3244 return _windows
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
3246 def GetEnableOrientation(*args
, **kwargs
):
3247 """GetEnableOrientation() -> bool"""
3248 return _windows
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
3250 def GetEnablePaper(*args
, **kwargs
):
3251 """GetEnablePaper() -> bool"""
3252 return _windows
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
3254 def GetEnablePrinter(*args
, **kwargs
):
3255 """GetEnablePrinter() -> bool"""
3256 return _windows
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
3258 def GetEnableHelp(*args
, **kwargs
):
3259 """GetEnableHelp() -> bool"""
3260 return _windows
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
3262 def GetDefaultInfo(*args
, **kwargs
):
3263 """GetDefaultInfo() -> bool"""
3264 return _windows
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
3266 def GetMarginTopLeft(*args
, **kwargs
):
3267 """GetMarginTopLeft() -> Point"""
3268 return _windows
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
3270 def GetMarginBottomRight(*args
, **kwargs
):
3271 """GetMarginBottomRight() -> Point"""
3272 return _windows
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
3274 def GetMinMarginTopLeft(*args
, **kwargs
):
3275 """GetMinMarginTopLeft() -> Point"""
3276 return _windows
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
3278 def GetMinMarginBottomRight(*args
, **kwargs
):
3279 """GetMinMarginBottomRight() -> Point"""
3280 return _windows
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
3282 def GetPaperId(*args
, **kwargs
):
3283 """GetPaperId() -> int"""
3284 return _windows
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
3286 def GetPaperSize(*args
, **kwargs
):
3287 """GetPaperSize() -> Size"""
3288 return _windows
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
3290 def GetPrintData(*args
, **kwargs
):
3291 """GetPrintData() -> PrintData"""
3292 return _windows
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
3294 def Ok(*args
, **kwargs
):
3296 return _windows
.PageSetupDialogData_Ok(*args
, **kwargs
)
3298 def SetDefaultInfo(*args
, **kwargs
):
3299 """SetDefaultInfo(bool flag)"""
3300 return _windows
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
3302 def SetDefaultMinMargins(*args
, **kwargs
):
3303 """SetDefaultMinMargins(bool flag)"""
3304 return _windows
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
3306 def SetMarginTopLeft(*args
, **kwargs
):
3307 """SetMarginTopLeft(Point pt)"""
3308 return _windows
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
3310 def SetMarginBottomRight(*args
, **kwargs
):
3311 """SetMarginBottomRight(Point pt)"""
3312 return _windows
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
3314 def SetMinMarginTopLeft(*args
, **kwargs
):
3315 """SetMinMarginTopLeft(Point pt)"""
3316 return _windows
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
3318 def SetMinMarginBottomRight(*args
, **kwargs
):
3319 """SetMinMarginBottomRight(Point pt)"""
3320 return _windows
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
3322 def SetPaperId(*args
, **kwargs
):
3323 """SetPaperId(int id)"""
3324 return _windows
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
3326 def SetPaperSize(*args
, **kwargs
):
3327 """SetPaperSize(Size size)"""
3328 return _windows
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
3330 def SetPrintData(*args
, **kwargs
):
3331 """SetPrintData(PrintData printData)"""
3332 return _windows
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
3334 def __nonzero__(self
): return self
.Ok()
3336 class PageSetupDialogDataPtr(PageSetupDialogData
):
3337 def __init__(self
, this
):
3339 if not hasattr(self
,"thisown"): self
.thisown
= 0
3340 self
.__class
__ = PageSetupDialogData
3341 _windows
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
3343 class PageSetupDialog(Dialog
):
3345 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3346 def __init__(self
, *args
, **kwargs
):
3347 """__init__(Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
3348 newobj
= _windows
.new_PageSetupDialog(*args
, **kwargs
)
3349 self
.this
= newobj
.this
3352 self
._setOORInfo
(self
)
3354 def GetPageSetupData(*args
, **kwargs
):
3355 """GetPageSetupData() -> PageSetupDialogData"""
3356 return _windows
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
3358 def ShowModal(*args
, **kwargs
):
3359 """ShowModal() -> int"""
3360 return _windows
.PageSetupDialog_ShowModal(*args
, **kwargs
)
3363 class PageSetupDialogPtr(PageSetupDialog
):
3364 def __init__(self
, this
):
3366 if not hasattr(self
,"thisown"): self
.thisown
= 0
3367 self
.__class
__ = PageSetupDialog
3368 _windows
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
3370 class PrintDialogData(core
.Object
):
3372 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3373 def __init__(self
, *args
):
3375 __init__() -> PrintDialogData
3376 __init__(PrintData printData) -> PrintDialogData
3378 newobj
= _windows
.new_PrintDialogData(*args
)
3379 self
.this
= newobj
.this
3382 def __del__(self
, destroy
=_windows
.delete_PrintDialogData
):
3385 if self
.thisown
: destroy(self
)
3388 def GetFromPage(*args
, **kwargs
):
3389 """GetFromPage() -> int"""
3390 return _windows
.PrintDialogData_GetFromPage(*args
, **kwargs
)
3392 def GetToPage(*args
, **kwargs
):
3393 """GetToPage() -> int"""
3394 return _windows
.PrintDialogData_GetToPage(*args
, **kwargs
)
3396 def GetMinPage(*args
, **kwargs
):
3397 """GetMinPage() -> int"""
3398 return _windows
.PrintDialogData_GetMinPage(*args
, **kwargs
)
3400 def GetMaxPage(*args
, **kwargs
):
3401 """GetMaxPage() -> int"""
3402 return _windows
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
3404 def GetNoCopies(*args
, **kwargs
):
3405 """GetNoCopies() -> int"""
3406 return _windows
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
3408 def GetAllPages(*args
, **kwargs
):
3409 """GetAllPages() -> bool"""
3410 return _windows
.PrintDialogData_GetAllPages(*args
, **kwargs
)
3412 def GetSelection(*args
, **kwargs
):
3413 """GetSelection() -> bool"""
3414 return _windows
.PrintDialogData_GetSelection(*args
, **kwargs
)
3416 def GetCollate(*args
, **kwargs
):
3417 """GetCollate() -> bool"""
3418 return _windows
.PrintDialogData_GetCollate(*args
, **kwargs
)
3420 def GetPrintToFile(*args
, **kwargs
):
3421 """GetPrintToFile() -> bool"""
3422 return _windows
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
3424 def GetSetupDialog(*args
, **kwargs
):
3425 """GetSetupDialog() -> bool"""
3426 return _windows
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
3428 def SetFromPage(*args
, **kwargs
):
3429 """SetFromPage(int v)"""
3430 return _windows
.PrintDialogData_SetFromPage(*args
, **kwargs
)
3432 def SetToPage(*args
, **kwargs
):
3433 """SetToPage(int v)"""
3434 return _windows
.PrintDialogData_SetToPage(*args
, **kwargs
)
3436 def SetMinPage(*args
, **kwargs
):
3437 """SetMinPage(int v)"""
3438 return _windows
.PrintDialogData_SetMinPage(*args
, **kwargs
)
3440 def SetMaxPage(*args
, **kwargs
):
3441 """SetMaxPage(int v)"""
3442 return _windows
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
3444 def SetNoCopies(*args
, **kwargs
):
3445 """SetNoCopies(int v)"""
3446 return _windows
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
3448 def SetAllPages(*args
, **kwargs
):
3449 """SetAllPages(bool flag)"""
3450 return _windows
.PrintDialogData_SetAllPages(*args
, **kwargs
)
3452 def SetSelection(*args
, **kwargs
):
3453 """SetSelection(bool flag)"""
3454 return _windows
.PrintDialogData_SetSelection(*args
, **kwargs
)
3456 def SetCollate(*args
, **kwargs
):
3457 """SetCollate(bool flag)"""
3458 return _windows
.PrintDialogData_SetCollate(*args
, **kwargs
)
3460 def SetPrintToFile(*args
, **kwargs
):
3461 """SetPrintToFile(bool flag)"""
3462 return _windows
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
3464 def SetSetupDialog(*args
, **kwargs
):
3465 """SetSetupDialog(bool flag)"""
3466 return _windows
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
3468 def EnablePrintToFile(*args
, **kwargs
):
3469 """EnablePrintToFile(bool flag)"""
3470 return _windows
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
3472 def EnableSelection(*args
, **kwargs
):
3473 """EnableSelection(bool flag)"""
3474 return _windows
.PrintDialogData_EnableSelection(*args
, **kwargs
)
3476 def EnablePageNumbers(*args
, **kwargs
):
3477 """EnablePageNumbers(bool flag)"""
3478 return _windows
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
3480 def EnableHelp(*args
, **kwargs
):
3481 """EnableHelp(bool flag)"""
3482 return _windows
.PrintDialogData_EnableHelp(*args
, **kwargs
)
3484 def GetEnablePrintToFile(*args
, **kwargs
):
3485 """GetEnablePrintToFile() -> bool"""
3486 return _windows
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
3488 def GetEnableSelection(*args
, **kwargs
):
3489 """GetEnableSelection() -> bool"""
3490 return _windows
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
3492 def GetEnablePageNumbers(*args
, **kwargs
):
3493 """GetEnablePageNumbers() -> bool"""
3494 return _windows
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
3496 def GetEnableHelp(*args
, **kwargs
):
3497 """GetEnableHelp() -> bool"""
3498 return _windows
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
3500 def Ok(*args
, **kwargs
):
3502 return _windows
.PrintDialogData_Ok(*args
, **kwargs
)
3504 def GetPrintData(*args
, **kwargs
):
3505 """GetPrintData() -> PrintData"""
3506 return _windows
.PrintDialogData_GetPrintData(*args
, **kwargs
)
3508 def SetPrintData(*args
, **kwargs
):
3509 """SetPrintData(PrintData printData)"""
3510 return _windows
.PrintDialogData_SetPrintData(*args
, **kwargs
)
3512 def __nonzero__(self
): return self
.Ok()
3514 class PrintDialogDataPtr(PrintDialogData
):
3515 def __init__(self
, this
):
3517 if not hasattr(self
,"thisown"): self
.thisown
= 0
3518 self
.__class
__ = PrintDialogData
3519 _windows
.PrintDialogData_swigregister(PrintDialogDataPtr
)
3521 class PrintDialog(Dialog
):
3523 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3524 def __init__(self
, *args
, **kwargs
):
3525 """__init__(Window parent, PrintDialogData data=None) -> PrintDialog"""
3526 newobj
= _windows
.new_PrintDialog(*args
, **kwargs
)
3527 self
.this
= newobj
.this
3530 self
._setOORInfo
(self
)
3532 def GetPrintDialogData(*args
, **kwargs
):
3533 """GetPrintDialogData() -> PrintDialogData"""
3534 return _windows
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
3536 def GetPrintDC(*args
, **kwargs
):
3537 """GetPrintDC() -> DC"""
3538 return _windows
.PrintDialog_GetPrintDC(*args
, **kwargs
)
3540 def ShowModal(*args
, **kwargs
):
3541 """ShowModal() -> int"""
3542 return _windows
.PrintDialog_ShowModal(*args
, **kwargs
)
3545 class PrintDialogPtr(PrintDialog
):
3546 def __init__(self
, this
):
3548 if not hasattr(self
,"thisown"): self
.thisown
= 0
3549 self
.__class
__ = PrintDialog
3550 _windows
.PrintDialog_swigregister(PrintDialogPtr
)
3552 PRINTER_NO_ERROR
= _windows
.PRINTER_NO_ERROR
3553 PRINTER_CANCELLED
= _windows
.PRINTER_CANCELLED
3554 PRINTER_ERROR
= _windows
.PRINTER_ERROR
3555 class Printer(core
.Object
):
3557 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3558 def __init__(self
, *args
, **kwargs
):
3559 """__init__(PrintDialogData data=None) -> Printer"""
3560 newobj
= _windows
.new_Printer(*args
, **kwargs
)
3561 self
.this
= newobj
.this
3564 def __del__(self
, destroy
=_windows
.delete_Printer
):
3567 if self
.thisown
: destroy(self
)
3570 def CreateAbortWindow(*args
, **kwargs
):
3571 """CreateAbortWindow(Window parent, Printout printout)"""
3572 return _windows
.Printer_CreateAbortWindow(*args
, **kwargs
)
3574 def GetPrintDialogData(*args
, **kwargs
):
3575 """GetPrintDialogData() -> PrintDialogData"""
3576 return _windows
.Printer_GetPrintDialogData(*args
, **kwargs
)
3578 def Print(*args
, **kwargs
):
3579 """Print(Window parent, Printout printout, int prompt=True) -> bool"""
3580 return _windows
.Printer_Print(*args
, **kwargs
)
3582 def PrintDialog(*args
, **kwargs
):
3583 """PrintDialog(Window parent) -> DC"""
3584 return _windows
.Printer_PrintDialog(*args
, **kwargs
)
3586 def ReportError(*args
, **kwargs
):
3587 """ReportError(Window parent, Printout printout, String message)"""
3588 return _windows
.Printer_ReportError(*args
, **kwargs
)
3590 def Setup(*args
, **kwargs
):
3591 """Setup(Window parent) -> bool"""
3592 return _windows
.Printer_Setup(*args
, **kwargs
)
3594 def GetAbort(*args
, **kwargs
):
3595 """GetAbort() -> bool"""
3596 return _windows
.Printer_GetAbort(*args
, **kwargs
)
3598 def GetLastError(*args
, **kwargs
):
3599 """GetLastError() -> int"""
3600 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3602 GetLastError
= staticmethod(GetLastError
)
3604 class PrinterPtr(Printer
):
3605 def __init__(self
, this
):
3607 if not hasattr(self
,"thisown"): self
.thisown
= 0
3608 self
.__class
__ = Printer
3609 _windows
.Printer_swigregister(PrinterPtr
)
3611 def Printer_GetLastError(*args
, **kwargs
):
3612 """Printer_GetLastError() -> int"""
3613 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3615 class Printout(core
.Object
):
3617 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3618 def __init__(self
, *args
, **kwargs
):
3619 """__init__(String title=PrintoutTitleStr) -> Printout"""
3620 newobj
= _windows
.new_Printout(*args
, **kwargs
)
3621 self
.this
= newobj
.this
3624 self
._setCallbackInfo
(self
, Printout
)
3626 def _setCallbackInfo(*args
, **kwargs
):
3627 """_setCallbackInfo(PyObject self, PyObject _class)"""
3628 return _windows
.Printout__setCallbackInfo(*args
, **kwargs
)
3630 def GetTitle(*args
, **kwargs
):
3631 """GetTitle() -> String"""
3632 return _windows
.Printout_GetTitle(*args
, **kwargs
)
3634 def GetDC(*args
, **kwargs
):
3636 return _windows
.Printout_GetDC(*args
, **kwargs
)
3638 def SetDC(*args
, **kwargs
):
3640 return _windows
.Printout_SetDC(*args
, **kwargs
)
3642 def SetPageSizePixels(*args
, **kwargs
):
3643 """SetPageSizePixels(int w, int h)"""
3644 return _windows
.Printout_SetPageSizePixels(*args
, **kwargs
)
3646 def GetPageSizePixels(*args
, **kwargs
):
3647 """GetPageSizePixels() -> (w, h)"""
3648 return _windows
.Printout_GetPageSizePixels(*args
, **kwargs
)
3650 def SetPageSizeMM(*args
, **kwargs
):
3651 """SetPageSizeMM(int w, int h)"""
3652 return _windows
.Printout_SetPageSizeMM(*args
, **kwargs
)
3654 def GetPageSizeMM(*args
, **kwargs
):
3655 """GetPageSizeMM() -> (w, h)"""
3656 return _windows
.Printout_GetPageSizeMM(*args
, **kwargs
)
3658 def SetPPIScreen(*args
, **kwargs
):
3659 """SetPPIScreen(int x, int y)"""
3660 return _windows
.Printout_SetPPIScreen(*args
, **kwargs
)
3662 def GetPPIScreen(*args
, **kwargs
):
3663 """GetPPIScreen() -> (x,y)"""
3664 return _windows
.Printout_GetPPIScreen(*args
, **kwargs
)
3666 def SetPPIPrinter(*args
, **kwargs
):
3667 """SetPPIPrinter(int x, int y)"""
3668 return _windows
.Printout_SetPPIPrinter(*args
, **kwargs
)
3670 def GetPPIPrinter(*args
, **kwargs
):
3671 """GetPPIPrinter() -> (x,y)"""
3672 return _windows
.Printout_GetPPIPrinter(*args
, **kwargs
)
3674 def IsPreview(*args
, **kwargs
):
3675 """IsPreview() -> bool"""
3676 return _windows
.Printout_IsPreview(*args
, **kwargs
)
3678 def SetIsPreview(*args
, **kwargs
):
3679 """SetIsPreview(bool p)"""
3680 return _windows
.Printout_SetIsPreview(*args
, **kwargs
)
3682 def base_OnBeginDocument(*args
, **kwargs
):
3683 """base_OnBeginDocument(int startPage, int endPage) -> bool"""
3684 return _windows
.Printout_base_OnBeginDocument(*args
, **kwargs
)
3686 def base_OnEndDocument(*args
, **kwargs
):
3687 """base_OnEndDocument()"""
3688 return _windows
.Printout_base_OnEndDocument(*args
, **kwargs
)
3690 def base_OnBeginPrinting(*args
, **kwargs
):
3691 """base_OnBeginPrinting()"""
3692 return _windows
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
3694 def base_OnEndPrinting(*args
, **kwargs
):
3695 """base_OnEndPrinting()"""
3696 return _windows
.Printout_base_OnEndPrinting(*args
, **kwargs
)
3698 def base_OnPreparePrinting(*args
, **kwargs
):
3699 """base_OnPreparePrinting()"""
3700 return _windows
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
3702 def base_HasPage(*args
, **kwargs
):
3703 """base_HasPage(int page) -> bool"""
3704 return _windows
.Printout_base_HasPage(*args
, **kwargs
)
3706 def base_GetPageInfo(*args
, **kwargs
):
3707 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
3708 return _windows
.Printout_base_GetPageInfo(*args
, **kwargs
)
3711 class PrintoutPtr(Printout
):
3712 def __init__(self
, this
):
3714 if not hasattr(self
,"thisown"): self
.thisown
= 0
3715 self
.__class
__ = Printout
3716 _windows
.Printout_swigregister(PrintoutPtr
)
3718 class PreviewCanvas(ScrolledWindow
):
3720 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3721 def __init__(self
, *args
, **kwargs
):
3723 __init__(PrintPreview preview, Window parent, Point pos=DefaultPosition,
3724 Size size=DefaultSize, long style=0,
3725 String name=PreviewCanvasNameStr) -> PreviewCanvas
3727 newobj
= _windows
.new_PreviewCanvas(*args
, **kwargs
)
3728 self
.this
= newobj
.this
3731 self
._setOORInfo
(self
)
3734 class PreviewCanvasPtr(PreviewCanvas
):
3735 def __init__(self
, this
):
3737 if not hasattr(self
,"thisown"): self
.thisown
= 0
3738 self
.__class
__ = PreviewCanvas
3739 _windows
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
3741 class PreviewFrame(Frame
):
3743 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3744 def __init__(self
, *args
, **kwargs
):
3746 __init__(PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
3747 Size size=DefaultSize,
3748 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
3750 newobj
= _windows
.new_PreviewFrame(*args
, **kwargs
)
3751 self
.this
= newobj
.this
3754 self
._setOORInfo
(self
)
3756 def Initialize(*args
, **kwargs
):
3758 return _windows
.PreviewFrame_Initialize(*args
, **kwargs
)
3760 def CreateControlBar(*args
, **kwargs
):
3761 """CreateControlBar()"""
3762 return _windows
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
3764 def CreateCanvas(*args
, **kwargs
):
3765 """CreateCanvas()"""
3766 return _windows
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
3768 def GetControlBar(*args
, **kwargs
):
3769 """GetControlBar() -> PreviewControlBar"""
3770 return _windows
.PreviewFrame_GetControlBar(*args
, **kwargs
)
3773 class PreviewFramePtr(PreviewFrame
):
3774 def __init__(self
, this
):
3776 if not hasattr(self
,"thisown"): self
.thisown
= 0
3777 self
.__class
__ = PreviewFrame
3778 _windows
.PreviewFrame_swigregister(PreviewFramePtr
)
3780 PREVIEW_PRINT
= _windows
.PREVIEW_PRINT
3781 PREVIEW_PREVIOUS
= _windows
.PREVIEW_PREVIOUS
3782 PREVIEW_NEXT
= _windows
.PREVIEW_NEXT
3783 PREVIEW_ZOOM
= _windows
.PREVIEW_ZOOM
3784 PREVIEW_FIRST
= _windows
.PREVIEW_FIRST
3785 PREVIEW_LAST
= _windows
.PREVIEW_LAST
3786 PREVIEW_GOTO
= _windows
.PREVIEW_GOTO
3787 PREVIEW_DEFAULT
= _windows
.PREVIEW_DEFAULT
3788 ID_PREVIEW_CLOSE
= _windows
.ID_PREVIEW_CLOSE
3789 ID_PREVIEW_NEXT
= _windows
.ID_PREVIEW_NEXT
3790 ID_PREVIEW_PREVIOUS
= _windows
.ID_PREVIEW_PREVIOUS
3791 ID_PREVIEW_PRINT
= _windows
.ID_PREVIEW_PRINT
3792 ID_PREVIEW_ZOOM
= _windows
.ID_PREVIEW_ZOOM
3793 ID_PREVIEW_FIRST
= _windows
.ID_PREVIEW_FIRST
3794 ID_PREVIEW_LAST
= _windows
.ID_PREVIEW_LAST
3795 ID_PREVIEW_GOTO
= _windows
.ID_PREVIEW_GOTO
3796 class PreviewControlBar(Panel
):
3798 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3799 def __init__(self
, *args
, **kwargs
):
3801 __init__(PrintPreview preview, long buttons, Window parent,
3802 Point pos=DefaultPosition, Size size=DefaultSize,
3803 long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
3805 newobj
= _windows
.new_PreviewControlBar(*args
, **kwargs
)
3806 self
.this
= newobj
.this
3809 self
._setOORInfo
(self
)
3811 def GetZoomControl(*args
, **kwargs
):
3812 """GetZoomControl() -> int"""
3813 return _windows
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
3815 def SetZoomControl(*args
, **kwargs
):
3816 """SetZoomControl(int zoom)"""
3817 return _windows
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
3819 def GetPrintPreview(*args
, **kwargs
):
3820 """GetPrintPreview() -> PrintPreview"""
3821 return _windows
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
3823 def OnNext(*args
, **kwargs
):
3825 return _windows
.PreviewControlBar_OnNext(*args
, **kwargs
)
3827 def OnPrevious(*args
, **kwargs
):
3829 return _windows
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
3831 def OnFirst(*args
, **kwargs
):
3833 return _windows
.PreviewControlBar_OnFirst(*args
, **kwargs
)
3835 def OnLast(*args
, **kwargs
):
3837 return _windows
.PreviewControlBar_OnLast(*args
, **kwargs
)
3839 def OnGoto(*args
, **kwargs
):
3841 return _windows
.PreviewControlBar_OnGoto(*args
, **kwargs
)
3844 class PreviewControlBarPtr(PreviewControlBar
):
3845 def __init__(self
, this
):
3847 if not hasattr(self
,"thisown"): self
.thisown
= 0
3848 self
.__class
__ = PreviewControlBar
3849 _windows
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
3851 class PrintPreview(core
.Object
):
3853 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3854 def __init__(self
, *args
):
3856 __init__(Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview
3857 __init__(Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview
3859 newobj
= _windows
.new_PrintPreview(*args
)
3860 self
.this
= newobj
.this
3863 def SetCurrentPage(*args
, **kwargs
):
3864 """SetCurrentPage(int pageNum) -> bool"""
3865 return _windows
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
3867 def GetCurrentPage(*args
, **kwargs
):
3868 """GetCurrentPage() -> int"""
3869 return _windows
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
3871 def SetPrintout(*args
, **kwargs
):
3872 """SetPrintout(Printout printout)"""
3873 return _windows
.PrintPreview_SetPrintout(*args
, **kwargs
)
3875 def GetPrintout(*args
, **kwargs
):
3876 """GetPrintout() -> Printout"""
3877 return _windows
.PrintPreview_GetPrintout(*args
, **kwargs
)
3879 def GetPrintoutForPrinting(*args
, **kwargs
):
3880 """GetPrintoutForPrinting() -> Printout"""
3881 return _windows
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
3883 def SetFrame(*args
, **kwargs
):
3884 """SetFrame(Frame frame)"""
3885 return _windows
.PrintPreview_SetFrame(*args
, **kwargs
)
3887 def SetCanvas(*args
, **kwargs
):
3888 """SetCanvas(PreviewCanvas canvas)"""
3889 return _windows
.PrintPreview_SetCanvas(*args
, **kwargs
)
3891 def GetFrame(*args
, **kwargs
):
3892 """GetFrame() -> Frame"""
3893 return _windows
.PrintPreview_GetFrame(*args
, **kwargs
)
3895 def GetCanvas(*args
, **kwargs
):
3896 """GetCanvas() -> PreviewCanvas"""
3897 return _windows
.PrintPreview_GetCanvas(*args
, **kwargs
)
3899 def PaintPage(*args
, **kwargs
):
3900 """PaintPage(PreviewCanvas canvas, DC dc) -> bool"""
3901 return _windows
.PrintPreview_PaintPage(*args
, **kwargs
)
3903 def DrawBlankPage(*args
, **kwargs
):
3904 """DrawBlankPage(PreviewCanvas canvas, DC dc) -> bool"""
3905 return _windows
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
3907 def RenderPage(*args
, **kwargs
):
3908 """RenderPage(int pageNum) -> bool"""
3909 return _windows
.PrintPreview_RenderPage(*args
, **kwargs
)
3911 def AdjustScrollbars(*args
, **kwargs
):
3912 """AdjustScrollbars(PreviewCanvas canvas)"""
3913 return _windows
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
3915 def GetPrintDialogData(*args
, **kwargs
):
3916 """GetPrintDialogData() -> PrintDialogData"""
3917 return _windows
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
3919 def SetZoom(*args
, **kwargs
):
3920 """SetZoom(int percent)"""
3921 return _windows
.PrintPreview_SetZoom(*args
, **kwargs
)
3923 def GetZoom(*args
, **kwargs
):
3924 """GetZoom() -> int"""
3925 return _windows
.PrintPreview_GetZoom(*args
, **kwargs
)
3927 def GetMaxPage(*args
, **kwargs
):
3928 """GetMaxPage() -> int"""
3929 return _windows
.PrintPreview_GetMaxPage(*args
, **kwargs
)
3931 def GetMinPage(*args
, **kwargs
):
3932 """GetMinPage() -> int"""
3933 return _windows
.PrintPreview_GetMinPage(*args
, **kwargs
)
3935 def Ok(*args
, **kwargs
):
3937 return _windows
.PrintPreview_Ok(*args
, **kwargs
)
3939 def SetOk(*args
, **kwargs
):
3940 """SetOk(bool ok)"""
3941 return _windows
.PrintPreview_SetOk(*args
, **kwargs
)
3943 def Print(*args
, **kwargs
):
3944 """Print(bool interactive) -> bool"""
3945 return _windows
.PrintPreview_Print(*args
, **kwargs
)
3947 def DetermineScaling(*args
, **kwargs
):
3948 """DetermineScaling()"""
3949 return _windows
.PrintPreview_DetermineScaling(*args
, **kwargs
)
3951 def __nonzero__(self
): return self
.Ok()
3953 class PrintPreviewPtr(PrintPreview
):
3954 def __init__(self
, this
):
3956 if not hasattr(self
,"thisown"): self
.thisown
= 0
3957 self
.__class
__ = PrintPreview
3958 _windows
.PrintPreview_swigregister(PrintPreviewPtr
)
3960 class PyPrintPreview(PrintPreview
):
3962 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3963 def __init__(self
, *args
):
3965 __init__(Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview
3966 __init__(Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview
3968 newobj
= _windows
.new_PyPrintPreview(*args
)
3969 self
.this
= newobj
.this
3972 self
._setCallbackInfo
(self
, PyPrintPreview
)
3974 def _setCallbackInfo(*args
, **kwargs
):
3975 """_setCallbackInfo(PyObject self, PyObject _class)"""
3976 return _windows
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
3978 def base_SetCurrentPage(*args
, **kwargs
):
3979 """base_SetCurrentPage(int pageNum) -> bool"""
3980 return _windows
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
3982 def base_PaintPage(*args
, **kwargs
):
3983 """base_PaintPage(PreviewCanvas canvas, DC dc) -> bool"""
3984 return _windows
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
3986 def base_DrawBlankPage(*args
, **kwargs
):
3987 """base_DrawBlankPage(PreviewCanvas canvas, DC dc) -> bool"""
3988 return _windows
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
3990 def base_RenderPage(*args
, **kwargs
):
3991 """base_RenderPage(int pageNum) -> bool"""
3992 return _windows
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
3994 def base_SetZoom(*args
, **kwargs
):
3995 """base_SetZoom(int percent)"""
3996 return _windows
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
3998 def base_Print(*args
, **kwargs
):
3999 """base_Print(bool interactive) -> bool"""
4000 return _windows
.PyPrintPreview_base_Print(*args
, **kwargs
)
4002 def base_DetermineScaling(*args
, **kwargs
):
4003 """base_DetermineScaling()"""
4004 return _windows
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
4007 class PyPrintPreviewPtr(PyPrintPreview
):
4008 def __init__(self
, this
):
4010 if not hasattr(self
,"thisown"): self
.thisown
= 0
4011 self
.__class
__ = PyPrintPreview
4012 _windows
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
4014 class PyPreviewFrame(PreviewFrame
):
4016 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4017 def __init__(self
, *args
, **kwargs
):
4019 __init__(PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4020 Size size=DefaultSize,
4021 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
4023 newobj
= _windows
.new_PyPreviewFrame(*args
, **kwargs
)
4024 self
.this
= newobj
.this
4027 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
4029 def _setCallbackInfo(*args
, **kwargs
):
4030 """_setCallbackInfo(PyObject self, PyObject _class)"""
4031 return _windows
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
4033 def SetPreviewCanvas(*args
, **kwargs
):
4034 """SetPreviewCanvas(PreviewCanvas canvas)"""
4035 return _windows
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
4037 def SetControlBar(*args
, **kwargs
):
4038 """SetControlBar(PreviewControlBar bar)"""
4039 return _windows
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
4041 def base_Initialize(*args
, **kwargs
):
4042 """base_Initialize()"""
4043 return _windows
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
4045 def base_CreateCanvas(*args
, **kwargs
):
4046 """base_CreateCanvas()"""
4047 return _windows
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
4049 def base_CreateControlBar(*args
, **kwargs
):
4050 """base_CreateControlBar()"""
4051 return _windows
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
4054 class PyPreviewFramePtr(PyPreviewFrame
):
4055 def __init__(self
, this
):
4057 if not hasattr(self
,"thisown"): self
.thisown
= 0
4058 self
.__class
__ = PyPreviewFrame
4059 _windows
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
4061 class PyPreviewControlBar(PreviewControlBar
):
4063 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4064 def __init__(self
, *args
, **kwargs
):
4066 __init__(PrintPreview preview, long buttons, Window parent,
4067 Point pos=DefaultPosition, Size size=DefaultSize,
4068 long style=0, String name=PanelNameStr) -> PyPreviewControlBar
4070 newobj
= _windows
.new_PyPreviewControlBar(*args
, **kwargs
)
4071 self
.this
= newobj
.this
4074 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
4076 def _setCallbackInfo(*args
, **kwargs
):
4077 """_setCallbackInfo(PyObject self, PyObject _class)"""
4078 return _windows
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
4080 def SetPrintPreview(*args
, **kwargs
):
4081 """SetPrintPreview(PrintPreview preview)"""
4082 return _windows
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
4084 def base_CreateButtons(*args
, **kwargs
):
4085 """base_CreateButtons()"""
4086 return _windows
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
4088 def base_SetZoomControl(*args
, **kwargs
):
4089 """base_SetZoomControl(int zoom)"""
4090 return _windows
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
4093 class PyPreviewControlBarPtr(PyPreviewControlBar
):
4094 def __init__(self
, this
):
4096 if not hasattr(self
,"thisown"): self
.thisown
= 0
4097 self
.__class
__ = PyPreviewControlBar
4098 _windows
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)