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 wxString 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 wxString name=PanelNameStr) -> bool
31 return _windows
.Panel_Create(*args
, **kwargs
)
33 def InitDialog(*args
, **kwargs
):
35 return _windows
.Panel_InitDialog(*args
, **kwargs
)
38 class PanelPtr(Panel
):
39 def __init__(self
, this
):
41 if not hasattr(self
,"thisown"): self
.thisown
= 0
42 self
.__class
__ = Panel
43 _windows
.Panel_swigregister(PanelPtr
)
45 def PrePanel(*args
, **kwargs
):
46 """PrePanel() -> Panel"""
47 val
= _windows
.new_PrePanel(*args
, **kwargs
)
51 #---------------------------------------------------------------------------
53 class ScrolledWindow(Panel
):
55 return "<%s.%s; proxy of C++ wxScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
56 def __init__(self
, *args
, **kwargs
):
58 __init__(Window parent, int id=-1, Point pos=DefaultPosition,
59 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
60 wxString name=PanelNameStr) -> ScrolledWindow
62 newobj
= _windows
.new_ScrolledWindow(*args
, **kwargs
)
63 self
.this
= newobj
.this
66 self
._setOORInfo
(self
)
68 def Create(*args
, **kwargs
):
70 Create(Window parent, int id=-1, Point pos=DefaultPosition,
71 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
72 wxString name=PanelNameStr) -> bool
74 return _windows
.ScrolledWindow_Create(*args
, **kwargs
)
76 def SetScrollbars(*args
, **kwargs
):
78 SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX,
79 int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)
81 return _windows
.ScrolledWindow_SetScrollbars(*args
, **kwargs
)
83 def Scroll(*args
, **kwargs
):
84 """Scroll(int x, int y)"""
85 return _windows
.ScrolledWindow_Scroll(*args
, **kwargs
)
87 def GetScrollPageSize(*args
, **kwargs
):
88 """GetScrollPageSize(int orient) -> int"""
89 return _windows
.ScrolledWindow_GetScrollPageSize(*args
, **kwargs
)
91 def SetScrollPageSize(*args
, **kwargs
):
92 """SetScrollPageSize(int orient, int pageSize)"""
93 return _windows
.ScrolledWindow_SetScrollPageSize(*args
, **kwargs
)
95 def SetScrollRate(*args
, **kwargs
):
96 """SetScrollRate(int xstep, int ystep)"""
97 return _windows
.ScrolledWindow_SetScrollRate(*args
, **kwargs
)
99 def GetScrollPixelsPerUnit(*args
, **kwargs
):
101 GetScrollPixelsPerUnit() -> (xUnit, yUnit)
103 Get the size of one logical unit in physical units.
105 return _windows
.ScrolledWindow_GetScrollPixelsPerUnit(*args
, **kwargs
)
107 def EnableScrolling(*args
, **kwargs
):
108 """EnableScrolling(bool x_scrolling, bool y_scrolling)"""
109 return _windows
.ScrolledWindow_EnableScrolling(*args
, **kwargs
)
111 def GetViewStart(*args
, **kwargs
):
113 GetViewStart() -> (x,y)
117 return _windows
.ScrolledWindow_GetViewStart(*args
, **kwargs
)
119 def SetScale(*args
, **kwargs
):
120 """SetScale(double xs, double ys)"""
121 return _windows
.ScrolledWindow_SetScale(*args
, **kwargs
)
123 def GetScaleX(*args
, **kwargs
):
124 """GetScaleX() -> double"""
125 return _windows
.ScrolledWindow_GetScaleX(*args
, **kwargs
)
127 def GetScaleY(*args
, **kwargs
):
128 """GetScaleY() -> double"""
129 return _windows
.ScrolledWindow_GetScaleY(*args
, **kwargs
)
131 def CalcScrolledPosition(*args
):
133 CalcScrolledPosition(Point pt) -> Point
134 CalcScrolledPosition(int x, int y) -> (sx, sy)
136 Translate between scrolled and unscrolled coordinates.
138 return _windows
.ScrolledWindow_CalcScrolledPosition(*args
)
140 def CalcUnscrolledPosition(*args
):
142 CalcUnscrolledPosition(Point pt) -> Point
143 CalcUnscrolledPosition(int x, int y) -> (ux, uy)
145 Translate between scrolled and unscrolled coordinates.
147 return _windows
.ScrolledWindow_CalcUnscrolledPosition(*args
)
149 def AdjustScrollbars(*args
, **kwargs
):
150 """AdjustScrollbars()"""
151 return _windows
.ScrolledWindow_AdjustScrollbars(*args
, **kwargs
)
153 def CalcScrollInc(*args
, **kwargs
):
154 """CalcScrollInc(ScrollWinEvent event) -> int"""
155 return _windows
.ScrolledWindow_CalcScrollInc(*args
, **kwargs
)
157 def SetTargetWindow(*args
, **kwargs
):
158 """SetTargetWindow(Window target)"""
159 return _windows
.ScrolledWindow_SetTargetWindow(*args
, **kwargs
)
161 def GetTargetWindow(*args
, **kwargs
):
162 """GetTargetWindow() -> Window"""
163 return _windows
.ScrolledWindow_GetTargetWindow(*args
, **kwargs
)
165 def SetTargetRect(*args
, **kwargs
):
166 """SetTargetRect(Rect rect)"""
167 return _windows
.ScrolledWindow_SetTargetRect(*args
, **kwargs
)
169 def GetTargetRect(*args
, **kwargs
):
170 """GetTargetRect() -> Rect"""
171 return _windows
.ScrolledWindow_GetTargetRect(*args
, **kwargs
)
174 class ScrolledWindowPtr(ScrolledWindow
):
175 def __init__(self
, this
):
177 if not hasattr(self
,"thisown"): self
.thisown
= 0
178 self
.__class
__ = ScrolledWindow
179 _windows
.ScrolledWindow_swigregister(ScrolledWindowPtr
)
181 def PreScrolledWindow(*args
, **kwargs
):
182 """PreScrolledWindow() -> ScrolledWindow"""
183 val
= _windows
.new_PreScrolledWindow(*args
, **kwargs
)
187 #---------------------------------------------------------------------------
189 FULLSCREEN_NOMENUBAR
= _windows
.FULLSCREEN_NOMENUBAR
190 FULLSCREEN_NOTOOLBAR
= _windows
.FULLSCREEN_NOTOOLBAR
191 FULLSCREEN_NOSTATUSBAR
= _windows
.FULLSCREEN_NOSTATUSBAR
192 FULLSCREEN_NOBORDER
= _windows
.FULLSCREEN_NOBORDER
193 FULLSCREEN_NOCAPTION
= _windows
.FULLSCREEN_NOCAPTION
194 FULLSCREEN_ALL
= _windows
.FULLSCREEN_ALL
195 TOPLEVEL_EX_DIALOG
= _windows
.TOPLEVEL_EX_DIALOG
196 class TopLevelWindow(core
.Window
):
197 def __init__(self
): raise RuntimeError, "No constructor defined"
199 return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
200 def Maximize(*args
, **kwargs
):
201 """Maximize(bool maximize=True)"""
202 return _windows
.TopLevelWindow_Maximize(*args
, **kwargs
)
204 def Restore(*args
, **kwargs
):
206 return _windows
.TopLevelWindow_Restore(*args
, **kwargs
)
208 def Iconize(*args
, **kwargs
):
209 """Iconize(bool iconize=True)"""
210 return _windows
.TopLevelWindow_Iconize(*args
, **kwargs
)
212 def IsMaximized(*args
, **kwargs
):
213 """IsMaximized() -> bool"""
214 return _windows
.TopLevelWindow_IsMaximized(*args
, **kwargs
)
216 def IsIconized(*args
, **kwargs
):
217 """IsIconized() -> bool"""
218 return _windows
.TopLevelWindow_IsIconized(*args
, **kwargs
)
220 def GetIcon(*args
, **kwargs
):
221 """GetIcon() -> wxIcon"""
222 return _windows
.TopLevelWindow_GetIcon(*args
, **kwargs
)
224 def SetIcon(*args
, **kwargs
):
225 """SetIcon(wxIcon icon)"""
226 return _windows
.TopLevelWindow_SetIcon(*args
, **kwargs
)
228 def SetIcons(*args
, **kwargs
):
229 """SetIcons(wxIconBundle icons)"""
230 return _windows
.TopLevelWindow_SetIcons(*args
, **kwargs
)
232 def ShowFullScreen(*args
, **kwargs
):
233 """ShowFullScreen(bool show, long style=FULLSCREEN_ALL) -> bool"""
234 return _windows
.TopLevelWindow_ShowFullScreen(*args
, **kwargs
)
236 def IsFullScreen(*args
, **kwargs
):
237 """IsFullScreen() -> bool"""
238 return _windows
.TopLevelWindow_IsFullScreen(*args
, **kwargs
)
240 def SetTitle(*args
, **kwargs
):
241 """SetTitle(wxString title)"""
242 return _windows
.TopLevelWindow_SetTitle(*args
, **kwargs
)
244 def GetTitle(*args
, **kwargs
):
245 """GetTitle() -> wxString"""
246 return _windows
.TopLevelWindow_GetTitle(*args
, **kwargs
)
248 def SetShape(*args
, **kwargs
):
249 """SetShape(wxRegion region) -> bool"""
250 return _windows
.TopLevelWindow_SetShape(*args
, **kwargs
)
253 class TopLevelWindowPtr(TopLevelWindow
):
254 def __init__(self
, this
):
256 if not hasattr(self
,"thisown"): self
.thisown
= 0
257 self
.__class
__ = TopLevelWindow
258 _windows
.TopLevelWindow_swigregister(TopLevelWindowPtr
)
260 #---------------------------------------------------------------------------
262 class Frame(TopLevelWindow
):
264 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
265 def __init__(self
, *args
, **kwargs
):
267 __init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
268 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
269 wxString name=wxPyFrameNameStr) -> Frame
271 newobj
= _windows
.new_Frame(*args
, **kwargs
)
272 self
.this
= newobj
.this
275 self
._setOORInfo
(self
)
277 def Create(*args
, **kwargs
):
279 Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
280 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
281 wxString name=wxPyFrameNameStr) -> bool
283 return _windows
.Frame_Create(*args
, **kwargs
)
285 def GetClientAreaOrigin(*args
, **kwargs
):
286 """GetClientAreaOrigin() -> Point"""
287 return _windows
.Frame_GetClientAreaOrigin(*args
, **kwargs
)
289 def SendSizeEvent(*args
, **kwargs
):
290 """SendSizeEvent()"""
291 return _windows
.Frame_SendSizeEvent(*args
, **kwargs
)
293 def SetMenuBar(*args
, **kwargs
):
294 """SetMenuBar(MenuBar menubar)"""
295 return _windows
.Frame_SetMenuBar(*args
, **kwargs
)
297 def GetMenuBar(*args
, **kwargs
):
298 """GetMenuBar() -> MenuBar"""
299 return _windows
.Frame_GetMenuBar(*args
, **kwargs
)
301 def ProcessCommand(*args
, **kwargs
):
302 """ProcessCommand(int winid) -> bool"""
303 return _windows
.Frame_ProcessCommand(*args
, **kwargs
)
305 Command
= ProcessCommand
306 def CreateStatusBar(*args
, **kwargs
):
308 CreateStatusBar(int number=1, long style=ST_SIZEGRIP, int winid=0,
309 wxString name=wxPyStatusLineNameStr) -> StatusBar
311 return _windows
.Frame_CreateStatusBar(*args
, **kwargs
)
313 def GetStatusBar(*args
, **kwargs
):
314 """GetStatusBar() -> StatusBar"""
315 return _windows
.Frame_GetStatusBar(*args
, **kwargs
)
317 def SetStatusBar(*args
, **kwargs
):
318 """SetStatusBar(StatusBar statBar)"""
319 return _windows
.Frame_SetStatusBar(*args
, **kwargs
)
321 def SetStatusText(*args
, **kwargs
):
322 """SetStatusText(wxString text, int number=0)"""
323 return _windows
.Frame_SetStatusText(*args
, **kwargs
)
325 def SetStatusWidths(*args
, **kwargs
):
326 """SetStatusWidths(int widths, int widths_field)"""
327 return _windows
.Frame_SetStatusWidths(*args
, **kwargs
)
329 def PushStatusText(*args
, **kwargs
):
330 """PushStatusText(wxString text, int number=0)"""
331 return _windows
.Frame_PushStatusText(*args
, **kwargs
)
333 def PopStatusText(*args
, **kwargs
):
334 """PopStatusText(int number=0)"""
335 return _windows
.Frame_PopStatusText(*args
, **kwargs
)
337 def SetStatusBarPane(*args
, **kwargs
):
338 """SetStatusBarPane(int n)"""
339 return _windows
.Frame_SetStatusBarPane(*args
, **kwargs
)
341 def GetStatusBarPane(*args
, **kwargs
):
342 """GetStatusBarPane() -> int"""
343 return _windows
.Frame_GetStatusBarPane(*args
, **kwargs
)
345 def CreateToolBar(*args
, **kwargs
):
346 """CreateToolBar(long style=-1, int winid=-1, wxString name=wxPyToolBarNameStr) -> wxToolBar"""
347 return _windows
.Frame_CreateToolBar(*args
, **kwargs
)
349 def GetToolBar(*args
, **kwargs
):
350 """GetToolBar() -> wxToolBar"""
351 return _windows
.Frame_GetToolBar(*args
, **kwargs
)
353 def SetToolBar(*args
, **kwargs
):
354 """SetToolBar(wxToolBar toolbar)"""
355 return _windows
.Frame_SetToolBar(*args
, **kwargs
)
357 def DoGiveHelp(*args
, **kwargs
):
358 """DoGiveHelp(wxString text, bool show)"""
359 return _windows
.Frame_DoGiveHelp(*args
, **kwargs
)
361 def DoMenuUpdates(*args
, **kwargs
):
362 """DoMenuUpdates(Menu menu=None)"""
363 return _windows
.Frame_DoMenuUpdates(*args
, **kwargs
)
366 class FramePtr(Frame
):
367 def __init__(self
, this
):
369 if not hasattr(self
,"thisown"): self
.thisown
= 0
370 self
.__class
__ = Frame
371 _windows
.Frame_swigregister(FramePtr
)
373 def PreFrame(*args
, **kwargs
):
374 """PreFrame() -> Frame"""
375 val
= _windows
.new_PreFrame(*args
, **kwargs
)
379 #---------------------------------------------------------------------------
381 class Dialog(TopLevelWindow
):
383 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
384 def __init__(self
, *args
, **kwargs
):
386 __init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
387 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
388 wxString name=wxPyDialogNameStr) -> Dialog
390 newobj
= _windows
.new_Dialog(*args
, **kwargs
)
391 self
.this
= newobj
.this
394 self
._setOORInfo
(self
)
396 def Create(*args
, **kwargs
):
398 Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
399 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
400 wxString name=wxPyDialogNameStr) -> bool
402 return _windows
.Dialog_Create(*args
, **kwargs
)
404 def SetReturnCode(*args
, **kwargs
):
405 """SetReturnCode(int returnCode)"""
406 return _windows
.Dialog_SetReturnCode(*args
, **kwargs
)
408 def GetReturnCode(*args
, **kwargs
):
409 """GetReturnCode() -> int"""
410 return _windows
.Dialog_GetReturnCode(*args
, **kwargs
)
412 def CreateTextSizer(*args
, **kwargs
):
413 """CreateTextSizer(wxString message) -> Sizer"""
414 return _windows
.Dialog_CreateTextSizer(*args
, **kwargs
)
416 def CreateButtonSizer(*args
, **kwargs
):
417 """CreateButtonSizer(long flags) -> Sizer"""
418 return _windows
.Dialog_CreateButtonSizer(*args
, **kwargs
)
420 def SetModal(*args
, **kwargs
):
421 """SetModal(bool flag)"""
422 return _windows
.Dialog_SetModal(*args
, **kwargs
)
424 def IsModal(*args
, **kwargs
):
425 """IsModal() -> bool"""
426 return _windows
.Dialog_IsModal(*args
, **kwargs
)
428 def ShowModal(*args
, **kwargs
):
429 """ShowModal() -> int"""
430 return _windows
.Dialog_ShowModal(*args
, **kwargs
)
432 def EndModal(*args
, **kwargs
):
433 """EndModal(int retCode)"""
434 return _windows
.Dialog_EndModal(*args
, **kwargs
)
436 def IsModalShowing(*args
, **kwargs
):
437 """IsModalShowing() -> bool"""
438 return _windows
.Dialog_IsModalShowing(*args
, **kwargs
)
441 class DialogPtr(Dialog
):
442 def __init__(self
, this
):
444 if not hasattr(self
,"thisown"): self
.thisown
= 0
445 self
.__class
__ = Dialog
446 _windows
.Dialog_swigregister(DialogPtr
)
448 def PreDialog(*args
, **kwargs
):
449 """PreDialog() -> Dialog"""
450 val
= _windows
.new_PreDialog(*args
, **kwargs
)
454 #---------------------------------------------------------------------------
456 class MiniFrame(Frame
):
458 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
459 def __init__(self
, *args
, **kwargs
):
461 __init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
462 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
463 wxString name=wxPyFrameNameStr) -> MiniFrame
465 newobj
= _windows
.new_MiniFrame(*args
, **kwargs
)
466 self
.this
= newobj
.this
469 self
._setOORInfo
(self
)
471 def Create(*args
, **kwargs
):
473 Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
474 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
475 wxString name=wxPyFrameNameStr) -> bool
477 return _windows
.MiniFrame_Create(*args
, **kwargs
)
480 class MiniFramePtr(MiniFrame
):
481 def __init__(self
, this
):
483 if not hasattr(self
,"thisown"): self
.thisown
= 0
484 self
.__class
__ = MiniFrame
485 _windows
.MiniFrame_swigregister(MiniFramePtr
)
487 def PreMiniFrame(*args
, **kwargs
):
488 """PreMiniFrame() -> MiniFrame"""
489 val
= _windows
.new_PreMiniFrame(*args
, **kwargs
)
493 #---------------------------------------------------------------------------
495 SPLASH_CENTRE_ON_PARENT
= _windows
.SPLASH_CENTRE_ON_PARENT
496 SPLASH_CENTRE_ON_SCREEN
= _windows
.SPLASH_CENTRE_ON_SCREEN
497 SPLASH_NO_CENTRE
= _windows
.SPLASH_NO_CENTRE
498 SPLASH_TIMEOUT
= _windows
.SPLASH_TIMEOUT
499 SPLASH_NO_TIMEOUT
= _windows
.SPLASH_NO_TIMEOUT
500 class SplashScreenWindow(core
.Window
):
502 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
503 def __init__(self
, *args
, **kwargs
):
505 __init__(wxBitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
506 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
508 newobj
= _windows
.new_SplashScreenWindow(*args
, **kwargs
)
509 self
.this
= newobj
.this
512 self
._setOORInfo
(self
)
514 def SetBitmap(*args
, **kwargs
):
515 """SetBitmap(wxBitmap bitmap)"""
516 return _windows
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
518 def GetBitmap(*args
, **kwargs
):
519 """GetBitmap() -> wxBitmap"""
520 return _windows
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
523 class SplashScreenWindowPtr(SplashScreenWindow
):
524 def __init__(self
, this
):
526 if not hasattr(self
,"thisown"): self
.thisown
= 0
527 self
.__class
__ = SplashScreenWindow
528 _windows
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
530 class SplashScreen(Frame
):
532 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
533 def __init__(self
, *args
, **kwargs
):
535 __init__(wxBitmap bitmap, long splashStyle, int milliseconds,
536 Window parent, int id, Point pos=DefaultPosition,
537 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
539 newobj
= _windows
.new_SplashScreen(*args
, **kwargs
)
540 self
.this
= newobj
.this
543 self
._setOORInfo
(self
)
545 def GetSplashStyle(*args
, **kwargs
):
546 """GetSplashStyle() -> long"""
547 return _windows
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
549 def GetSplashWindow(*args
, **kwargs
):
550 """GetSplashWindow() -> SplashScreenWindow"""
551 return _windows
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
553 def GetTimeout(*args
, **kwargs
):
554 """GetTimeout() -> int"""
555 return _windows
.SplashScreen_GetTimeout(*args
, **kwargs
)
558 class SplashScreenPtr(SplashScreen
):
559 def __init__(self
, this
):
561 if not hasattr(self
,"thisown"): self
.thisown
= 0
562 self
.__class
__ = SplashScreen
563 _windows
.SplashScreen_swigregister(SplashScreenPtr
)
565 #---------------------------------------------------------------------------
567 class StatusBar(core
.Window
):
569 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
570 def __init__(self
, *args
, **kwargs
):
571 """__init__(Window parent, int id=-1, long style=ST_SIZEGRIP, wxString name=wxPyStatusLineNameStr) -> StatusBar"""
572 newobj
= _windows
.new_StatusBar(*args
, **kwargs
)
573 self
.this
= newobj
.this
576 self
._setOORInfo
(self
)
578 def Create(*args
, **kwargs
):
579 """Create(Window parent, int id, long style=ST_SIZEGRIP, wxString name=wxPyStatusLineNameStr) -> bool"""
580 return _windows
.StatusBar_Create(*args
, **kwargs
)
582 def SetFieldsCount(*args
, **kwargs
):
583 """SetFieldsCount(int number=1)"""
584 return _windows
.StatusBar_SetFieldsCount(*args
, **kwargs
)
586 def GetFieldsCount(*args
, **kwargs
):
587 """GetFieldsCount() -> int"""
588 return _windows
.StatusBar_GetFieldsCount(*args
, **kwargs
)
590 def SetStatusText(*args
, **kwargs
):
591 """SetStatusText(wxString text, int number=0)"""
592 return _windows
.StatusBar_SetStatusText(*args
, **kwargs
)
594 def GetStatusText(*args
, **kwargs
):
595 """GetStatusText(int number=0) -> wxString"""
596 return _windows
.StatusBar_GetStatusText(*args
, **kwargs
)
598 def PushStatusText(*args
, **kwargs
):
599 """PushStatusText(wxString text, int number=0)"""
600 return _windows
.StatusBar_PushStatusText(*args
, **kwargs
)
602 def PopStatusText(*args
, **kwargs
):
603 """PopStatusText(int number=0)"""
604 return _windows
.StatusBar_PopStatusText(*args
, **kwargs
)
606 def SetStatusWidths(*args
, **kwargs
):
607 """SetStatusWidths(int widths, int widths_field)"""
608 return _windows
.StatusBar_SetStatusWidths(*args
, **kwargs
)
610 def GetFieldRect(*args
, **kwargs
):
611 """GetFieldRect(int i) -> Rect"""
612 return _windows
.StatusBar_GetFieldRect(*args
, **kwargs
)
614 def SetMinHeight(*args
, **kwargs
):
615 """SetMinHeight(int height)"""
616 return _windows
.StatusBar_SetMinHeight(*args
, **kwargs
)
618 def GetBorderX(*args
, **kwargs
):
619 """GetBorderX() -> int"""
620 return _windows
.StatusBar_GetBorderX(*args
, **kwargs
)
622 def GetBorderY(*args
, **kwargs
):
623 """GetBorderY() -> int"""
624 return _windows
.StatusBar_GetBorderY(*args
, **kwargs
)
627 class StatusBarPtr(StatusBar
):
628 def __init__(self
, this
):
630 if not hasattr(self
,"thisown"): self
.thisown
= 0
631 self
.__class
__ = StatusBar
632 _windows
.StatusBar_swigregister(StatusBarPtr
)
634 def PreStatusBar(*args
, **kwargs
):
635 """PreStatusBar() -> StatusBar"""
636 val
= _windows
.new_PreStatusBar(*args
, **kwargs
)
640 #---------------------------------------------------------------------------
642 SP_NOBORDER
= _windows
.SP_NOBORDER
643 SP_NOSASH
= _windows
.SP_NOSASH
644 SP_PERMIT_UNSPLIT
= _windows
.SP_PERMIT_UNSPLIT
645 SP_LIVE_UPDATE
= _windows
.SP_LIVE_UPDATE
646 SP_3DSASH
= _windows
.SP_3DSASH
647 SP_3DBORDER
= _windows
.SP_3DBORDER
648 SP_BORDER
= _windows
.SP_BORDER
649 SP_3D
= _windows
.SP_3D
650 SPLIT_HORIZONTAL
= _windows
.SPLIT_HORIZONTAL
651 SPLIT_VERTICAL
= _windows
.SPLIT_VERTICAL
652 SPLIT_DRAG_NONE
= _windows
.SPLIT_DRAG_NONE
653 SPLIT_DRAG_DRAGGING
= _windows
.SPLIT_DRAG_DRAGGING
654 SPLIT_DRAG_LEFT_DOWN
= _windows
.SPLIT_DRAG_LEFT_DOWN
655 class SplitterWindow(core
.Window
):
657 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
658 def __init__(self
, *args
, **kwargs
):
660 __init__(Window parent, int id, Point point=DefaultPosition,
661 Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> SplitterWindow
663 newobj
= _windows
.new_SplitterWindow(*args
, **kwargs
)
664 self
.this
= newobj
.this
667 self
._setOORInfo
(self
)
669 def Create(*args
, **kwargs
):
671 Create(Window parent, int id, Point point=DefaultPosition,
672 Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> bool
674 return _windows
.SplitterWindow_Create(*args
, **kwargs
)
676 def GetWindow1(*args
, **kwargs
):
677 """GetWindow1() -> Window"""
678 return _windows
.SplitterWindow_GetWindow1(*args
, **kwargs
)
680 def GetWindow2(*args
, **kwargs
):
681 """GetWindow2() -> Window"""
682 return _windows
.SplitterWindow_GetWindow2(*args
, **kwargs
)
684 def SetSplitMode(*args
, **kwargs
):
685 """SetSplitMode(int mode)"""
686 return _windows
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
688 def GetSplitMode(*args
, **kwargs
):
689 """GetSplitMode() -> wxSplitMode"""
690 return _windows
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
692 def Initialize(*args
, **kwargs
):
693 """Initialize(Window window)"""
694 return _windows
.SplitterWindow_Initialize(*args
, **kwargs
)
696 def SplitVertically(*args
, **kwargs
):
697 """SplitVertically(Window window1, Window window2, int sashPosition=0) -> bool"""
698 return _windows
.SplitterWindow_SplitVertically(*args
, **kwargs
)
700 def SplitHorizontally(*args
, **kwargs
):
701 """SplitHorizontally(Window window1, Window window2, int sashPosition=0) -> bool"""
702 return _windows
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
704 def Unsplit(*args
, **kwargs
):
705 """Unsplit(Window toRemove=None) -> bool"""
706 return _windows
.SplitterWindow_Unsplit(*args
, **kwargs
)
708 def ReplaceWindow(*args
, **kwargs
):
709 """ReplaceWindow(Window winOld, Window winNew) -> bool"""
710 return _windows
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
712 def IsSplit(*args
, **kwargs
):
713 """IsSplit() -> bool"""
714 return _windows
.SplitterWindow_IsSplit(*args
, **kwargs
)
716 def SetSashSize(*args
, **kwargs
):
717 """SetSashSize(int width)"""
718 return _windows
.SplitterWindow_SetSashSize(*args
, **kwargs
)
720 def SetBorderSize(*args
, **kwargs
):
721 """SetBorderSize(int width)"""
722 return _windows
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
724 def GetSashSize(*args
, **kwargs
):
725 """GetSashSize() -> int"""
726 return _windows
.SplitterWindow_GetSashSize(*args
, **kwargs
)
728 def GetBorderSize(*args
, **kwargs
):
729 """GetBorderSize() -> int"""
730 return _windows
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
732 def SetSashPosition(*args
, **kwargs
):
733 """SetSashPosition(int position, bool redraw=True)"""
734 return _windows
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
736 def GetSashPosition(*args
, **kwargs
):
737 """GetSashPosition() -> int"""
738 return _windows
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
740 def SetMinimumPaneSize(*args
, **kwargs
):
741 """SetMinimumPaneSize(int min)"""
742 return _windows
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
744 def GetMinimumPaneSize(*args
, **kwargs
):
745 """GetMinimumPaneSize() -> int"""
746 return _windows
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
748 def SashHitTest(*args
, **kwargs
):
749 """SashHitTest(int x, int y, int tolerance=5) -> bool"""
750 return _windows
.SplitterWindow_SashHitTest(*args
, **kwargs
)
752 def SizeWindows(*args
, **kwargs
):
754 return _windows
.SplitterWindow_SizeWindows(*args
, **kwargs
)
756 def SetNeedUpdating(*args
, **kwargs
):
757 """SetNeedUpdating(bool needUpdating)"""
758 return _windows
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
760 def GetNeedUpdating(*args
, **kwargs
):
761 """GetNeedUpdating() -> bool"""
762 return _windows
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
765 class SplitterWindowPtr(SplitterWindow
):
766 def __init__(self
, this
):
768 if not hasattr(self
,"thisown"): self
.thisown
= 0
769 self
.__class
__ = SplitterWindow
770 _windows
.SplitterWindow_swigregister(SplitterWindowPtr
)
772 def PreSplitterWindow(*args
, **kwargs
):
773 """PreSplitterWindow() -> SplitterWindow"""
774 val
= _windows
.new_PreSplitterWindow(*args
, **kwargs
)
778 class SplitterEvent(core
.NotifyEvent
):
780 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
781 def __init__(self
, *args
, **kwargs
):
782 """__init__(wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent"""
783 newobj
= _windows
.new_SplitterEvent(*args
, **kwargs
)
784 self
.this
= newobj
.this
787 def SetSashPosition(*args
, **kwargs
):
788 """SetSashPosition(int pos)"""
789 return _windows
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
791 def GetSashPosition(*args
, **kwargs
):
792 """GetSashPosition() -> int"""
793 return _windows
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
795 def GetWindowBeingRemoved(*args
, **kwargs
):
796 """GetWindowBeingRemoved() -> Window"""
797 return _windows
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
799 def GetX(*args
, **kwargs
):
801 return _windows
.SplitterEvent_GetX(*args
, **kwargs
)
803 def GetY(*args
, **kwargs
):
805 return _windows
.SplitterEvent_GetY(*args
, **kwargs
)
808 class SplitterEventPtr(SplitterEvent
):
809 def __init__(self
, this
):
811 if not hasattr(self
,"thisown"): self
.thisown
= 0
812 self
.__class
__ = SplitterEvent
813 _windows
.SplitterEvent_swigregister(SplitterEventPtr
)
815 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
816 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
817 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
818 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows
.wxEVT_COMMAND_SPLITTER_UNSPLIT
819 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
820 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
821 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
822 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
824 #---------------------------------------------------------------------------
826 SASH_DRAG_NONE
= _windows
.SASH_DRAG_NONE
827 SASH_DRAG_DRAGGING
= _windows
.SASH_DRAG_DRAGGING
828 SASH_DRAG_LEFT_DOWN
= _windows
.SASH_DRAG_LEFT_DOWN
829 SW_NOBORDER
= _windows
.SW_NOBORDER
830 SW_BORDER
= _windows
.SW_BORDER
831 SW_3DSASH
= _windows
.SW_3DSASH
832 SW_3DBORDER
= _windows
.SW_3DBORDER
833 SW_3D
= _windows
.SW_3D
834 SASH_TOP
= _windows
.SASH_TOP
835 SASH_RIGHT
= _windows
.SASH_RIGHT
836 SASH_BOTTOM
= _windows
.SASH_BOTTOM
837 SASH_LEFT
= _windows
.SASH_LEFT
838 SASH_NONE
= _windows
.SASH_NONE
839 class SashWindow(core
.Window
):
841 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
842 def __init__(self
, *args
, **kwargs
):
844 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
845 long style=wxCLIP_CHILDREN|wxSW_3D,
846 wxString name=wxPySashNameStr) -> SashWindow
848 newobj
= _windows
.new_SashWindow(*args
, **kwargs
)
849 self
.this
= newobj
.this
852 self
._setOORInfo
(self
)
854 def Create(*args
, **kwargs
):
856 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
857 long style=wxCLIP_CHILDREN|wxSW_3D,
858 wxString name=wxPySashNameStr) -> bool
860 return _windows
.SashWindow_Create(*args
, **kwargs
)
862 def SetSashVisible(*args
, **kwargs
):
863 """SetSashVisible(wxSashEdgePosition edge, bool sash)"""
864 return _windows
.SashWindow_SetSashVisible(*args
, **kwargs
)
866 def GetSashVisible(*args
, **kwargs
):
867 """GetSashVisible(wxSashEdgePosition edge) -> bool"""
868 return _windows
.SashWindow_GetSashVisible(*args
, **kwargs
)
870 def SetSashBorder(*args
, **kwargs
):
871 """SetSashBorder(wxSashEdgePosition edge, bool border)"""
872 return _windows
.SashWindow_SetSashBorder(*args
, **kwargs
)
874 def HasBorder(*args
, **kwargs
):
875 """HasBorder(wxSashEdgePosition edge) -> bool"""
876 return _windows
.SashWindow_HasBorder(*args
, **kwargs
)
878 def GetEdgeMargin(*args
, **kwargs
):
879 """GetEdgeMargin(wxSashEdgePosition edge) -> int"""
880 return _windows
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
882 def SetDefaultBorderSize(*args
, **kwargs
):
883 """SetDefaultBorderSize(int width)"""
884 return _windows
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
886 def GetDefaultBorderSize(*args
, **kwargs
):
887 """GetDefaultBorderSize() -> int"""
888 return _windows
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
890 def SetExtraBorderSize(*args
, **kwargs
):
891 """SetExtraBorderSize(int width)"""
892 return _windows
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
894 def GetExtraBorderSize(*args
, **kwargs
):
895 """GetExtraBorderSize() -> int"""
896 return _windows
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
898 def SetMinimumSizeX(*args
, **kwargs
):
899 """SetMinimumSizeX(int min)"""
900 return _windows
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
902 def SetMinimumSizeY(*args
, **kwargs
):
903 """SetMinimumSizeY(int min)"""
904 return _windows
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
906 def GetMinimumSizeX(*args
, **kwargs
):
907 """GetMinimumSizeX() -> int"""
908 return _windows
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
910 def GetMinimumSizeY(*args
, **kwargs
):
911 """GetMinimumSizeY() -> int"""
912 return _windows
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
914 def SetMaximumSizeX(*args
, **kwargs
):
915 """SetMaximumSizeX(int max)"""
916 return _windows
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
918 def SetMaximumSizeY(*args
, **kwargs
):
919 """SetMaximumSizeY(int max)"""
920 return _windows
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
922 def GetMaximumSizeX(*args
, **kwargs
):
923 """GetMaximumSizeX() -> int"""
924 return _windows
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
926 def GetMaximumSizeY(*args
, **kwargs
):
927 """GetMaximumSizeY() -> int"""
928 return _windows
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
930 def SashHitTest(*args
, **kwargs
):
931 """SashHitTest(int x, int y, int tolerance=2) -> wxSashEdgePosition"""
932 return _windows
.SashWindow_SashHitTest(*args
, **kwargs
)
934 def SizeWindows(*args
, **kwargs
):
936 return _windows
.SashWindow_SizeWindows(*args
, **kwargs
)
939 class SashWindowPtr(SashWindow
):
940 def __init__(self
, this
):
942 if not hasattr(self
,"thisown"): self
.thisown
= 0
943 self
.__class
__ = SashWindow
944 _windows
.SashWindow_swigregister(SashWindowPtr
)
946 def PreSashWindow(*args
, **kwargs
):
947 """PreSashWindow() -> SashWindow"""
948 val
= _windows
.new_PreSashWindow(*args
, **kwargs
)
952 SASH_STATUS_OK
= _windows
.SASH_STATUS_OK
953 SASH_STATUS_OUT_OF_RANGE
= _windows
.SASH_STATUS_OUT_OF_RANGE
954 class SashEvent(core
.CommandEvent
):
956 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
957 def __init__(self
, *args
, **kwargs
):
958 """__init__(int id=0, wxSashEdgePosition edge=SASH_NONE) -> SashEvent"""
959 newobj
= _windows
.new_SashEvent(*args
, **kwargs
)
960 self
.this
= newobj
.this
963 def SetEdge(*args
, **kwargs
):
964 """SetEdge(wxSashEdgePosition edge)"""
965 return _windows
.SashEvent_SetEdge(*args
, **kwargs
)
967 def GetEdge(*args
, **kwargs
):
968 """GetEdge() -> wxSashEdgePosition"""
969 return _windows
.SashEvent_GetEdge(*args
, **kwargs
)
971 def SetDragRect(*args
, **kwargs
):
972 """SetDragRect(Rect rect)"""
973 return _windows
.SashEvent_SetDragRect(*args
, **kwargs
)
975 def GetDragRect(*args
, **kwargs
):
976 """GetDragRect() -> Rect"""
977 return _windows
.SashEvent_GetDragRect(*args
, **kwargs
)
979 def SetDragStatus(*args
, **kwargs
):
980 """SetDragStatus(wxSashDragStatus status)"""
981 return _windows
.SashEvent_SetDragStatus(*args
, **kwargs
)
983 def GetDragStatus(*args
, **kwargs
):
984 """GetDragStatus() -> wxSashDragStatus"""
985 return _windows
.SashEvent_GetDragStatus(*args
, **kwargs
)
988 class SashEventPtr(SashEvent
):
989 def __init__(self
, this
):
991 if not hasattr(self
,"thisown"): self
.thisown
= 0
992 self
.__class
__ = SashEvent
993 _windows
.SashEvent_swigregister(SashEventPtr
)
995 wxEVT_SASH_DRAGGED
= _windows
.wxEVT_SASH_DRAGGED
996 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
997 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
999 #---------------------------------------------------------------------------
1001 LAYOUT_HORIZONTAL
= _windows
.LAYOUT_HORIZONTAL
1002 LAYOUT_VERTICAL
= _windows
.LAYOUT_VERTICAL
1003 LAYOUT_NONE
= _windows
.LAYOUT_NONE
1004 LAYOUT_TOP
= _windows
.LAYOUT_TOP
1005 LAYOUT_LEFT
= _windows
.LAYOUT_LEFT
1006 LAYOUT_RIGHT
= _windows
.LAYOUT_RIGHT
1007 LAYOUT_BOTTOM
= _windows
.LAYOUT_BOTTOM
1008 LAYOUT_LENGTH_Y
= _windows
.LAYOUT_LENGTH_Y
1009 LAYOUT_LENGTH_X
= _windows
.LAYOUT_LENGTH_X
1010 LAYOUT_MRU_LENGTH
= _windows
.LAYOUT_MRU_LENGTH
1011 LAYOUT_QUERY
= _windows
.LAYOUT_QUERY
1012 wxEVT_QUERY_LAYOUT_INFO
= _windows
.wxEVT_QUERY_LAYOUT_INFO
1013 wxEVT_CALCULATE_LAYOUT
= _windows
.wxEVT_CALCULATE_LAYOUT
1014 class QueryLayoutInfoEvent(core
.Event
):
1016 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1017 def __init__(self
, *args
, **kwargs
):
1018 """__init__(int id=0) -> QueryLayoutInfoEvent"""
1019 newobj
= _windows
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1020 self
.this
= newobj
.this
1023 def SetRequestedLength(*args
, **kwargs
):
1024 """SetRequestedLength(int length)"""
1025 return _windows
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1027 def GetRequestedLength(*args
, **kwargs
):
1028 """GetRequestedLength() -> int"""
1029 return _windows
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1031 def SetFlags(*args
, **kwargs
):
1032 """SetFlags(int flags)"""
1033 return _windows
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1035 def GetFlags(*args
, **kwargs
):
1036 """GetFlags() -> int"""
1037 return _windows
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1039 def SetSize(*args
, **kwargs
):
1040 """SetSize(Size size)"""
1041 return _windows
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1043 def GetSize(*args
, **kwargs
):
1044 """GetSize() -> Size"""
1045 return _windows
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1047 def SetOrientation(*args
, **kwargs
):
1048 """SetOrientation(wxLayoutOrientation orient)"""
1049 return _windows
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1051 def GetOrientation(*args
, **kwargs
):
1052 """GetOrientation() -> wxLayoutOrientation"""
1053 return _windows
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1055 def SetAlignment(*args
, **kwargs
):
1056 """SetAlignment(wxLayoutAlignment align)"""
1057 return _windows
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1059 def GetAlignment(*args
, **kwargs
):
1060 """GetAlignment() -> wxLayoutAlignment"""
1061 return _windows
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1064 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1065 def __init__(self
, this
):
1067 if not hasattr(self
,"thisown"): self
.thisown
= 0
1068 self
.__class
__ = QueryLayoutInfoEvent
1069 _windows
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1071 class CalculateLayoutEvent(core
.Event
):
1073 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1074 def __init__(self
, *args
, **kwargs
):
1075 """__init__(int id=0) -> CalculateLayoutEvent"""
1076 newobj
= _windows
.new_CalculateLayoutEvent(*args
, **kwargs
)
1077 self
.this
= newobj
.this
1080 def SetFlags(*args
, **kwargs
):
1081 """SetFlags(int flags)"""
1082 return _windows
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1084 def GetFlags(*args
, **kwargs
):
1085 """GetFlags() -> int"""
1086 return _windows
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1088 def SetRect(*args
, **kwargs
):
1089 """SetRect(Rect rect)"""
1090 return _windows
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1092 def GetRect(*args
, **kwargs
):
1093 """GetRect() -> Rect"""
1094 return _windows
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1097 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1098 def __init__(self
, this
):
1100 if not hasattr(self
,"thisown"): self
.thisown
= 0
1101 self
.__class
__ = CalculateLayoutEvent
1102 _windows
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1104 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1105 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1107 class SashLayoutWindow(SashWindow
):
1109 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1110 def __init__(self
, *args
, **kwargs
):
1112 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1113 long style=wxCLIP_CHILDREN|wxSW_3D,
1114 wxString name=wxPySashLayoutNameStr) -> SashLayoutWindow
1116 newobj
= _windows
.new_SashLayoutWindow(*args
, **kwargs
)
1117 self
.this
= newobj
.this
1120 self
._setOORInfo
(self
)
1122 def Create(*args
, **kwargs
):
1124 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1125 long style=wxCLIP_CHILDREN|wxSW_3D,
1126 wxString name=wxPySashLayoutNameStr) -> bool
1128 return _windows
.SashLayoutWindow_Create(*args
, **kwargs
)
1130 def GetAlignment(*args
, **kwargs
):
1131 """GetAlignment() -> wxLayoutAlignment"""
1132 return _windows
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1134 def GetOrientation(*args
, **kwargs
):
1135 """GetOrientation() -> wxLayoutOrientation"""
1136 return _windows
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1138 def SetAlignment(*args
, **kwargs
):
1139 """SetAlignment(wxLayoutAlignment alignment)"""
1140 return _windows
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1142 def SetDefaultSize(*args
, **kwargs
):
1143 """SetDefaultSize(Size size)"""
1144 return _windows
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1146 def SetOrientation(*args
, **kwargs
):
1147 """SetOrientation(wxLayoutOrientation orientation)"""
1148 return _windows
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1151 class SashLayoutWindowPtr(SashLayoutWindow
):
1152 def __init__(self
, this
):
1154 if not hasattr(self
,"thisown"): self
.thisown
= 0
1155 self
.__class
__ = SashLayoutWindow
1156 _windows
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1158 def PreSashLayoutWindow(*args
, **kwargs
):
1159 """PreSashLayoutWindow() -> SashLayoutWindow"""
1160 val
= _windows
.new_PreSashLayoutWindow(*args
, **kwargs
)
1164 class LayoutAlgorithm(core
.Object
):
1166 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1167 def __init__(self
, *args
, **kwargs
):
1168 """__init__() -> LayoutAlgorithm"""
1169 newobj
= _windows
.new_LayoutAlgorithm(*args
, **kwargs
)
1170 self
.this
= newobj
.this
1173 def __del__(self
, destroy
=_windows
.delete_LayoutAlgorithm
):
1176 if self
.thisown
: destroy(self
)
1179 def LayoutMDIFrame(*args
, **kwargs
):
1180 """LayoutMDIFrame(MDIParentFrame frame, Rect rect=None) -> bool"""
1181 return _windows
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1183 def LayoutFrame(*args
, **kwargs
):
1184 """LayoutFrame(Frame frame, Window mainWindow=None) -> bool"""
1185 return _windows
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1187 def LayoutWindow(*args
, **kwargs
):
1188 """LayoutWindow(Window parent, Window mainWindow=None) -> bool"""
1189 return _windows
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1192 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1193 def __init__(self
, this
):
1195 if not hasattr(self
,"thisown"): self
.thisown
= 0
1196 self
.__class
__ = LayoutAlgorithm
1197 _windows
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1199 class PopupWindow(core
.Window
):
1201 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1202 def __init__(self
, *args
, **kwargs
):
1203 """__init__(Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1204 newobj
= _windows
.new_PopupWindow(*args
, **kwargs
)
1205 self
.this
= newobj
.this
1209 class PopupWindowPtr(PopupWindow
):
1210 def __init__(self
, this
):
1212 if not hasattr(self
,"thisown"): self
.thisown
= 0
1213 self
.__class
__ = PopupWindow
1214 _windows
.PopupWindow_swigregister(PopupWindowPtr
)
1216 def PrePopupWindow(*args
, **kwargs
):
1217 """PrePopupWindow() -> PopupWindow"""
1218 val
= _windows
.new_PrePopupWindow(*args
, **kwargs
)
1222 class PopupTransientWindow(PopupWindow
):
1224 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1225 def __init__(self
, *args
, **kwargs
):
1226 """__init__(Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1227 newobj
= _windows
.new_PopupTransientWindow(*args
, **kwargs
)
1228 self
.this
= newobj
.this
1232 class PopupTransientWindowPtr(PopupTransientWindow
):
1233 def __init__(self
, this
):
1235 if not hasattr(self
,"thisown"): self
.thisown
= 0
1236 self
.__class
__ = PopupTransientWindow
1237 _windows
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1239 def PrePopupTransientWindow(*args
, **kwargs
):
1240 """PrePopupTransientWindow() -> PopupTransientWindow"""
1241 val
= _windows
.new_PrePopupTransientWindow(*args
, **kwargs
)
1245 #---------------------------------------------------------------------------
1247 class TipWindow(Frame
):
1249 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1250 def __init__(self
, *args
, **kwargs
):
1251 """__init__(Window parent, wxString text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1252 newobj
= _windows
.new_TipWindow(*args
, **kwargs
)
1253 self
.this
= newobj
.this
1256 self
._setOORInfo
(self
)
1258 def SetBoundingRect(*args
, **kwargs
):
1259 """SetBoundingRect(Rect rectBound)"""
1260 return _windows
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1262 def Close(*args
, **kwargs
):
1264 return _windows
.TipWindow_Close(*args
, **kwargs
)
1267 class TipWindowPtr(TipWindow
):
1268 def __init__(self
, this
):
1270 if not hasattr(self
,"thisown"): self
.thisown
= 0
1271 self
.__class
__ = TipWindow
1272 _windows
.TipWindow_swigregister(TipWindowPtr
)
1274 #---------------------------------------------------------------------------
1276 class VScrolledWindow(Panel
):
1278 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1279 def __init__(self
, *args
, **kwargs
):
1281 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1282 Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> VScrolledWindow
1284 newobj
= _windows
.new_VScrolledWindow(*args
, **kwargs
)
1285 self
.this
= newobj
.this
1288 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1290 def _setCallbackInfo(*args
, **kwargs
):
1291 """_setCallbackInfo(PyObject self, PyObject _class)"""
1292 return _windows
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1294 def Create(*args
, **kwargs
):
1296 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1297 Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> bool
1299 return _windows
.VScrolledWindow_Create(*args
, **kwargs
)
1301 def SetLineCount(*args
, **kwargs
):
1302 """SetLineCount(size_t count)"""
1303 return _windows
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1305 def ScrollToLine(*args
, **kwargs
):
1306 """ScrollToLine(size_t line) -> bool"""
1307 return _windows
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1309 def ScrollLines(*args
, **kwargs
):
1310 """ScrollLines(int lines) -> bool"""
1311 return _windows
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1313 def ScrollPages(*args
, **kwargs
):
1314 """ScrollPages(int pages) -> bool"""
1315 return _windows
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1317 def RefreshLine(*args
, **kwargs
):
1318 """RefreshLine(size_t line)"""
1319 return _windows
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1321 def RefreshLines(*args
, **kwargs
):
1322 """RefreshLines(size_t from, size_t to)"""
1323 return _windows
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1325 def HitTestXT(*args
, **kwargs
):
1326 """HitTestXT(int x, int y) -> int"""
1327 return _windows
.VScrolledWindow_HitTestXT(*args
, **kwargs
)
1329 def HitTest(*args
, **kwargs
):
1330 """HitTest(Point pt) -> int"""
1331 return _windows
.VScrolledWindow_HitTest(*args
, **kwargs
)
1333 def RefreshAll(*args
, **kwargs
):
1335 return _windows
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1337 def GetLineCount(*args
, **kwargs
):
1338 """GetLineCount() -> size_t"""
1339 return _windows
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1341 def GetFirstVisibleLine(*args
, **kwargs
):
1342 """GetFirstVisibleLine() -> size_t"""
1343 return _windows
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1345 def GetLastVisibleLine(*args
, **kwargs
):
1346 """GetLastVisibleLine() -> size_t"""
1347 return _windows
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1349 def IsVisible(*args
, **kwargs
):
1350 """IsVisible(size_t line) -> bool"""
1351 return _windows
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1354 class VScrolledWindowPtr(VScrolledWindow
):
1355 def __init__(self
, this
):
1357 if not hasattr(self
,"thisown"): self
.thisown
= 0
1358 self
.__class
__ = VScrolledWindow
1359 _windows
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
1361 def PreVScrolledWindow(*args
, **kwargs
):
1362 """PreVScrolledWindow() -> VScrolledWindow"""
1363 val
= _windows
.new_PreVScrolledWindow(*args
, **kwargs
)
1367 class VListBox(VScrolledWindow
):
1369 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1370 def __init__(self
, *args
, **kwargs
):
1372 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1373 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> VListBox
1375 newobj
= _windows
.new_VListBox(*args
, **kwargs
)
1376 self
.this
= newobj
.this
1379 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
1381 def _setCallbackInfo(*args
, **kwargs
):
1382 """_setCallbackInfo(PyObject self, PyObject _class)"""
1383 return _windows
.VListBox__setCallbackInfo(*args
, **kwargs
)
1385 def Create(*args
, **kwargs
):
1387 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1388 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool
1390 return _windows
.VListBox_Create(*args
, **kwargs
)
1392 def GetItemCount(*args
, **kwargs
):
1393 """GetItemCount() -> size_t"""
1394 return _windows
.VListBox_GetItemCount(*args
, **kwargs
)
1396 def HasMultipleSelection(*args
, **kwargs
):
1397 """HasMultipleSelection() -> bool"""
1398 return _windows
.VListBox_HasMultipleSelection(*args
, **kwargs
)
1400 def GetSelection(*args
, **kwargs
):
1401 """GetSelection() -> int"""
1402 return _windows
.VListBox_GetSelection(*args
, **kwargs
)
1404 def IsCurrent(*args
, **kwargs
):
1405 """IsCurrent(size_t item) -> bool"""
1406 return _windows
.VListBox_IsCurrent(*args
, **kwargs
)
1408 def IsSelected(*args
, **kwargs
):
1409 """IsSelected(size_t item) -> bool"""
1410 return _windows
.VListBox_IsSelected(*args
, **kwargs
)
1412 def GetSelectedCount(*args
, **kwargs
):
1413 """GetSelectedCount() -> size_t"""
1414 return _windows
.VListBox_GetSelectedCount(*args
, **kwargs
)
1416 def GetFirstSelected(*args
, **kwargs
):
1417 """GetFirstSelected(unsigned long cookie) -> int"""
1418 return _windows
.VListBox_GetFirstSelected(*args
, **kwargs
)
1420 def GetNextSelected(*args
, **kwargs
):
1421 """GetNextSelected(unsigned long cookie) -> int"""
1422 return _windows
.VListBox_GetNextSelected(*args
, **kwargs
)
1424 def GetMargins(*args
, **kwargs
):
1425 """GetMargins() -> Point"""
1426 return _windows
.VListBox_GetMargins(*args
, **kwargs
)
1428 def GetSelectionBackground(*args
, **kwargs
):
1429 """GetSelectionBackground() -> wxColour"""
1430 return _windows
.VListBox_GetSelectionBackground(*args
, **kwargs
)
1432 def SetItemCount(*args
, **kwargs
):
1433 """SetItemCount(size_t count)"""
1434 return _windows
.VListBox_SetItemCount(*args
, **kwargs
)
1436 def Clear(*args
, **kwargs
):
1438 return _windows
.VListBox_Clear(*args
, **kwargs
)
1440 def SetSelection(*args
, **kwargs
):
1441 """SetSelection(int selection)"""
1442 return _windows
.VListBox_SetSelection(*args
, **kwargs
)
1444 def Select(*args
, **kwargs
):
1445 """Select(size_t item, bool select=True) -> bool"""
1446 return _windows
.VListBox_Select(*args
, **kwargs
)
1448 def SelectRange(*args
, **kwargs
):
1449 """SelectRange(size_t from, size_t to) -> bool"""
1450 return _windows
.VListBox_SelectRange(*args
, **kwargs
)
1452 def Toggle(*args
, **kwargs
):
1453 """Toggle(size_t item)"""
1454 return _windows
.VListBox_Toggle(*args
, **kwargs
)
1456 def SelectAll(*args
, **kwargs
):
1457 """SelectAll() -> bool"""
1458 return _windows
.VListBox_SelectAll(*args
, **kwargs
)
1460 def DeselectAll(*args
, **kwargs
):
1461 """DeselectAll() -> bool"""
1462 return _windows
.VListBox_DeselectAll(*args
, **kwargs
)
1464 def SetMargins(*args
, **kwargs
):
1465 """SetMargins(Point pt)"""
1466 return _windows
.VListBox_SetMargins(*args
, **kwargs
)
1468 def SetMarginsXY(*args
, **kwargs
):
1469 """SetMarginsXY(int x, int y)"""
1470 return _windows
.VListBox_SetMarginsXY(*args
, **kwargs
)
1472 def SetSelectionBackground(*args
, **kwargs
):
1473 """SetSelectionBackground(wxColour col)"""
1474 return _windows
.VListBox_SetSelectionBackground(*args
, **kwargs
)
1477 class VListBoxPtr(VListBox
):
1478 def __init__(self
, this
):
1480 if not hasattr(self
,"thisown"): self
.thisown
= 0
1481 self
.__class
__ = VListBox
1482 _windows
.VListBox_swigregister(VListBoxPtr
)
1484 def PreVListBox(*args
, **kwargs
):
1485 """PreVListBox() -> VListBox"""
1486 val
= _windows
.new_PreVListBox(*args
, **kwargs
)
1490 class HtmlListBox(VListBox
):
1492 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1493 def __init__(self
, *args
, **kwargs
):
1495 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1496 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> HtmlListBox
1498 newobj
= _windows
.new_HtmlListBox(*args
, **kwargs
)
1499 self
.this
= newobj
.this
1502 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
1504 def _setCallbackInfo(*args
, **kwargs
):
1505 """_setCallbackInfo(PyObject self, PyObject _class)"""
1506 return _windows
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
1508 def Create(*args
, **kwargs
):
1510 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1511 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool
1513 return _windows
.HtmlListBox_Create(*args
, **kwargs
)
1515 def RefreshAll(*args
, **kwargs
):
1517 return _windows
.HtmlListBox_RefreshAll(*args
, **kwargs
)
1519 def SetItemCount(*args
, **kwargs
):
1520 """SetItemCount(size_t count)"""
1521 return _windows
.HtmlListBox_SetItemCount(*args
, **kwargs
)
1524 class HtmlListBoxPtr(HtmlListBox
):
1525 def __init__(self
, this
):
1527 if not hasattr(self
,"thisown"): self
.thisown
= 0
1528 self
.__class
__ = HtmlListBox
1529 _windows
.HtmlListBox_swigregister(HtmlListBoxPtr
)
1531 def PreHtmlListBox(*args
, **kwargs
):
1532 """PreHtmlListBox() -> HtmlListBox"""
1533 val
= _windows
.new_PreHtmlListBox(*args
, **kwargs
)
1537 #---------------------------------------------------------------------------
1539 class TaskBarIcon(core
.EvtHandler
):
1541 return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1542 def __init__(self
, *args
, **kwargs
):
1543 """__init__() -> TaskBarIcon"""
1544 newobj
= _windows
.new_TaskBarIcon(*args
, **kwargs
)
1545 self
.this
= newobj
.this
1548 def __del__(self
, destroy
=_windows
.delete_TaskBarIcon
):
1551 if self
.thisown
: destroy(self
)
1555 class TaskBarIconPtr(TaskBarIcon
):
1556 def __init__(self
, this
):
1558 if not hasattr(self
,"thisown"): self
.thisown
= 0
1559 self
.__class
__ = TaskBarIcon
1560 _windows
.TaskBarIcon_swigregister(TaskBarIconPtr
)
1562 class TaskBarIconEvent(core
.Event
):
1564 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1565 def __init__(self
, *args
, **kwargs
):
1566 """__init__(wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
1567 newobj
= _windows
.new_TaskBarIconEvent(*args
, **kwargs
)
1568 self
.this
= newobj
.this
1572 class TaskBarIconEventPtr(TaskBarIconEvent
):
1573 def __init__(self
, this
):
1575 if not hasattr(self
,"thisown"): self
.thisown
= 0
1576 self
.__class
__ = TaskBarIconEvent
1577 _windows
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
1579 wxEVT_TASKBAR_MOVE
= _windows
.wxEVT_TASKBAR_MOVE
1580 wxEVT_TASKBAR_LEFT_DOWN
= _windows
.wxEVT_TASKBAR_LEFT_DOWN
1581 wxEVT_TASKBAR_LEFT_UP
= _windows
.wxEVT_TASKBAR_LEFT_UP
1582 wxEVT_TASKBAR_RIGHT_DOWN
= _windows
.wxEVT_TASKBAR_RIGHT_DOWN
1583 wxEVT_TASKBAR_RIGHT_UP
= _windows
.wxEVT_TASKBAR_RIGHT_UP
1584 wxEVT_TASKBAR_LEFT_DCLICK
= _windows
.wxEVT_TASKBAR_LEFT_DCLICK
1585 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows
.wxEVT_TASKBAR_RIGHT_DCLICK
1586 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
1587 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
1588 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
1589 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
1590 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
1591 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
1592 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
1594 #---------------------------------------------------------------------------
1596 class ColourData(core
.Object
):
1598 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1599 def __init__(self
, *args
, **kwargs
):
1600 """__init__() -> ColourData"""
1601 newobj
= _windows
.new_ColourData(*args
, **kwargs
)
1602 self
.this
= newobj
.this
1605 def __del__(self
, destroy
=_windows
.delete_ColourData
):
1608 if self
.thisown
: destroy(self
)
1611 def GetChooseFull(*args
, **kwargs
):
1612 """GetChooseFull() -> bool"""
1613 return _windows
.ColourData_GetChooseFull(*args
, **kwargs
)
1615 def GetColour(*args
, **kwargs
):
1616 """GetColour() -> wxColour"""
1617 return _windows
.ColourData_GetColour(*args
, **kwargs
)
1619 def GetCustomColour(*args
, **kwargs
):
1620 """GetCustomColour(int i) -> wxColour"""
1621 return _windows
.ColourData_GetCustomColour(*args
, **kwargs
)
1623 def SetChooseFull(*args
, **kwargs
):
1624 """SetChooseFull(int flag)"""
1625 return _windows
.ColourData_SetChooseFull(*args
, **kwargs
)
1627 def SetColour(*args
, **kwargs
):
1628 """SetColour(wxColour colour)"""
1629 return _windows
.ColourData_SetColour(*args
, **kwargs
)
1631 def SetCustomColour(*args
, **kwargs
):
1632 """SetCustomColour(int i, wxColour colour)"""
1633 return _windows
.ColourData_SetCustomColour(*args
, **kwargs
)
1636 class ColourDataPtr(ColourData
):
1637 def __init__(self
, this
):
1639 if not hasattr(self
,"thisown"): self
.thisown
= 0
1640 self
.__class
__ = ColourData
1641 _windows
.ColourData_swigregister(ColourDataPtr
)
1643 class ColourDialog(Dialog
):
1645 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1646 def __init__(self
, *args
, **kwargs
):
1647 """__init__(Window parent, ColourData data=None) -> ColourDialog"""
1648 newobj
= _windows
.new_ColourDialog(*args
, **kwargs
)
1649 self
.this
= newobj
.this
1652 self
._setOORInfo
(self
)
1654 def GetColourData(*args
, **kwargs
):
1655 """GetColourData() -> ColourData"""
1656 return _windows
.ColourDialog_GetColourData(*args
, **kwargs
)
1658 def ShowModal(*args
, **kwargs
):
1659 """ShowModal() -> int"""
1660 return _windows
.ColourDialog_ShowModal(*args
, **kwargs
)
1663 class ColourDialogPtr(ColourDialog
):
1664 def __init__(self
, this
):
1666 if not hasattr(self
,"thisown"): self
.thisown
= 0
1667 self
.__class
__ = ColourDialog
1668 _windows
.ColourDialog_swigregister(ColourDialogPtr
)
1670 class DirDialog(Dialog
):
1672 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1673 def __init__(self
, *args
, **kwargs
):
1675 __init__(Window parent, wxString message=wxPyDirSelectorPromptStr,
1676 wxString defaultPath=wxPyEmptyString,
1677 long style=0, Point pos=DefaultPosition, Size size=DefaultSize,
1678 wxString name=wxPyDirDialogNameStr) -> DirDialog
1680 newobj
= _windows
.new_DirDialog(*args
, **kwargs
)
1681 self
.this
= newobj
.this
1684 self
._setOORInfo
(self
)
1686 def GetPath(*args
, **kwargs
):
1687 """GetPath() -> wxString"""
1688 return _windows
.DirDialog_GetPath(*args
, **kwargs
)
1690 def GetMessage(*args
, **kwargs
):
1691 """GetMessage() -> wxString"""
1692 return _windows
.DirDialog_GetMessage(*args
, **kwargs
)
1694 def GetStyle(*args
, **kwargs
):
1695 """GetStyle() -> long"""
1696 return _windows
.DirDialog_GetStyle(*args
, **kwargs
)
1698 def SetMessage(*args
, **kwargs
):
1699 """SetMessage(wxString message)"""
1700 return _windows
.DirDialog_SetMessage(*args
, **kwargs
)
1702 def SetPath(*args
, **kwargs
):
1703 """SetPath(wxString path)"""
1704 return _windows
.DirDialog_SetPath(*args
, **kwargs
)
1706 def ShowModal(*args
, **kwargs
):
1707 """ShowModal() -> int"""
1708 return _windows
.DirDialog_ShowModal(*args
, **kwargs
)
1711 class DirDialogPtr(DirDialog
):
1712 def __init__(self
, this
):
1714 if not hasattr(self
,"thisown"): self
.thisown
= 0
1715 self
.__class
__ = DirDialog
1716 _windows
.DirDialog_swigregister(DirDialogPtr
)
1718 class FileDialog(Dialog
):
1720 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1721 def __init__(self
, *args
, **kwargs
):
1723 __init__(Window parent, wxString message=wxPyFileSelectorPromptStr,
1724 wxString defaultDir=wxPyEmptyString,
1725 wxString defaultFile=wxPyEmptyString, wxString wildcard=wxPyFileSelectorDefaultWildcardStr,
1727 Point pos=DefaultPosition) -> FileDialog
1729 newobj
= _windows
.new_FileDialog(*args
, **kwargs
)
1730 self
.this
= newobj
.this
1733 self
._setOORInfo
(self
)
1735 def SetMessage(*args
, **kwargs
):
1736 """SetMessage(wxString message)"""
1737 return _windows
.FileDialog_SetMessage(*args
, **kwargs
)
1739 def SetPath(*args
, **kwargs
):
1740 """SetPath(wxString path)"""
1741 return _windows
.FileDialog_SetPath(*args
, **kwargs
)
1743 def SetDirectory(*args
, **kwargs
):
1744 """SetDirectory(wxString dir)"""
1745 return _windows
.FileDialog_SetDirectory(*args
, **kwargs
)
1747 def SetFilename(*args
, **kwargs
):
1748 """SetFilename(wxString name)"""
1749 return _windows
.FileDialog_SetFilename(*args
, **kwargs
)
1751 def SetWildcard(*args
, **kwargs
):
1752 """SetWildcard(wxString wildCard)"""
1753 return _windows
.FileDialog_SetWildcard(*args
, **kwargs
)
1755 def SetStyle(*args
, **kwargs
):
1756 """SetStyle(long style)"""
1757 return _windows
.FileDialog_SetStyle(*args
, **kwargs
)
1759 def SetFilterIndex(*args
, **kwargs
):
1760 """SetFilterIndex(int filterIndex)"""
1761 return _windows
.FileDialog_SetFilterIndex(*args
, **kwargs
)
1763 def GetMessage(*args
, **kwargs
):
1764 """GetMessage() -> wxString"""
1765 return _windows
.FileDialog_GetMessage(*args
, **kwargs
)
1767 def GetPath(*args
, **kwargs
):
1768 """GetPath() -> wxString"""
1769 return _windows
.FileDialog_GetPath(*args
, **kwargs
)
1771 def GetDirectory(*args
, **kwargs
):
1772 """GetDirectory() -> wxString"""
1773 return _windows
.FileDialog_GetDirectory(*args
, **kwargs
)
1775 def GetFilename(*args
, **kwargs
):
1776 """GetFilename() -> wxString"""
1777 return _windows
.FileDialog_GetFilename(*args
, **kwargs
)
1779 def GetWildcard(*args
, **kwargs
):
1780 """GetWildcard() -> wxString"""
1781 return _windows
.FileDialog_GetWildcard(*args
, **kwargs
)
1783 def GetStyle(*args
, **kwargs
):
1784 """GetStyle() -> long"""
1785 return _windows
.FileDialog_GetStyle(*args
, **kwargs
)
1787 def GetFilterIndex(*args
, **kwargs
):
1788 """GetFilterIndex() -> int"""
1789 return _windows
.FileDialog_GetFilterIndex(*args
, **kwargs
)
1791 def GetFilenames(*args
, **kwargs
):
1792 """GetFilenames() -> PyObject"""
1793 return _windows
.FileDialog_GetFilenames(*args
, **kwargs
)
1795 def GetPaths(*args
, **kwargs
):
1796 """GetPaths() -> PyObject"""
1797 return _windows
.FileDialog_GetPaths(*args
, **kwargs
)
1800 class FileDialogPtr(FileDialog
):
1801 def __init__(self
, this
):
1803 if not hasattr(self
,"thisown"): self
.thisown
= 0
1804 self
.__class
__ = FileDialog
1805 _windows
.FileDialog_swigregister(FileDialogPtr
)
1807 CHOICEDLG_STYLE
= _windows
.CHOICEDLG_STYLE
1808 class MultiChoiceDialog(Dialog
):
1810 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1811 def __init__(self
, *args
, **kwargs
):
1813 __init__(Window parent, wxString message, wxString caption,
1814 int LCOUNT, wxString choices, long style=CHOICEDLG_STYLE,
1815 Point pos=DefaultPosition) -> MultiChoiceDialog
1817 newobj
= _windows
.new_MultiChoiceDialog(*args
, **kwargs
)
1818 self
.this
= newobj
.this
1821 self
._setOORInfo
(self
)
1823 def SetSelections(*args
, **kwargs
):
1824 """SetSelections(wxArrayInt selections)"""
1825 return _windows
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
1827 def GetSelections(*args
, **kwargs
):
1828 """GetSelections() -> PyObject"""
1829 return _windows
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
1832 class MultiChoiceDialogPtr(MultiChoiceDialog
):
1833 def __init__(self
, this
):
1835 if not hasattr(self
,"thisown"): self
.thisown
= 0
1836 self
.__class
__ = MultiChoiceDialog
1837 _windows
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
1839 class SingleChoiceDialog(Dialog
):
1841 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1842 def __init__(self
, *args
, **kwargs
):
1844 __init__(Window parent, wxString message, wxString caption,
1845 int choices, wxString choices_array, long style=CHOICEDLG_STYLE,
1846 Point pos=DefaultPosition) -> SingleChoiceDialog
1848 newobj
= _windows
.new_SingleChoiceDialog(*args
, **kwargs
)
1849 self
.this
= newobj
.this
1852 self
._setOORInfo
(self
)
1854 def GetSelection(*args
, **kwargs
):
1855 """GetSelection() -> int"""
1856 return _windows
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
1858 def GetStringSelection(*args
, **kwargs
):
1859 """GetStringSelection() -> wxString"""
1860 return _windows
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
1862 def SetSelection(*args
, **kwargs
):
1863 """SetSelection(int sel)"""
1864 return _windows
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
1866 def ShowModal(*args
, **kwargs
):
1867 """ShowModal() -> int"""
1868 return _windows
.SingleChoiceDialog_ShowModal(*args
, **kwargs
)
1871 class SingleChoiceDialogPtr(SingleChoiceDialog
):
1872 def __init__(self
, this
):
1874 if not hasattr(self
,"thisown"): self
.thisown
= 0
1875 self
.__class
__ = SingleChoiceDialog
1876 _windows
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
1878 class TextEntryDialog(Dialog
):
1880 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1881 def __init__(self
, *args
, **kwargs
):
1883 __init__(Window parent, wxString message, wxString caption=wxPyGetTextFromUserPromptStr,
1884 wxString defaultValue=wxPyEmptyString,
1885 long style=wxOK|wxCANCEL|wxCENTRE,
1886 Point pos=DefaultPosition) -> TextEntryDialog
1888 newobj
= _windows
.new_TextEntryDialog(*args
, **kwargs
)
1889 self
.this
= newobj
.this
1892 self
._setOORInfo
(self
)
1894 def GetValue(*args
, **kwargs
):
1895 """GetValue() -> wxString"""
1896 return _windows
.TextEntryDialog_GetValue(*args
, **kwargs
)
1898 def SetValue(*args
, **kwargs
):
1899 """SetValue(wxString value)"""
1900 return _windows
.TextEntryDialog_SetValue(*args
, **kwargs
)
1902 def ShowModal(*args
, **kwargs
):
1903 """ShowModal() -> int"""
1904 return _windows
.TextEntryDialog_ShowModal(*args
, **kwargs
)
1907 class TextEntryDialogPtr(TextEntryDialog
):
1908 def __init__(self
, this
):
1910 if not hasattr(self
,"thisown"): self
.thisown
= 0
1911 self
.__class
__ = TextEntryDialog
1912 _windows
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
1914 class FontData(core
.Object
):
1916 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1917 def __init__(self
, *args
, **kwargs
):
1918 """__init__() -> FontData"""
1919 newobj
= _windows
.new_FontData(*args
, **kwargs
)
1920 self
.this
= newobj
.this
1923 def __del__(self
, destroy
=_windows
.delete_FontData
):
1926 if self
.thisown
: destroy(self
)
1929 def EnableEffects(*args
, **kwargs
):
1930 """EnableEffects(bool enable)"""
1931 return _windows
.FontData_EnableEffects(*args
, **kwargs
)
1933 def GetAllowSymbols(*args
, **kwargs
):
1934 """GetAllowSymbols() -> bool"""
1935 return _windows
.FontData_GetAllowSymbols(*args
, **kwargs
)
1937 def GetColour(*args
, **kwargs
):
1938 """GetColour() -> wxColour"""
1939 return _windows
.FontData_GetColour(*args
, **kwargs
)
1941 def GetChosenFont(*args
, **kwargs
):
1942 """GetChosenFont() -> wxFont"""
1943 return _windows
.FontData_GetChosenFont(*args
, **kwargs
)
1945 def GetEnableEffects(*args
, **kwargs
):
1946 """GetEnableEffects() -> bool"""
1947 return _windows
.FontData_GetEnableEffects(*args
, **kwargs
)
1949 def GetInitialFont(*args
, **kwargs
):
1950 """GetInitialFont() -> wxFont"""
1951 return _windows
.FontData_GetInitialFont(*args
, **kwargs
)
1953 def GetShowHelp(*args
, **kwargs
):
1954 """GetShowHelp() -> bool"""
1955 return _windows
.FontData_GetShowHelp(*args
, **kwargs
)
1957 def SetAllowSymbols(*args
, **kwargs
):
1958 """SetAllowSymbols(bool allowSymbols)"""
1959 return _windows
.FontData_SetAllowSymbols(*args
, **kwargs
)
1961 def SetChosenFont(*args
, **kwargs
):
1962 """SetChosenFont(wxFont font)"""
1963 return _windows
.FontData_SetChosenFont(*args
, **kwargs
)
1965 def SetColour(*args
, **kwargs
):
1966 """SetColour(wxColour colour)"""
1967 return _windows
.FontData_SetColour(*args
, **kwargs
)
1969 def SetInitialFont(*args
, **kwargs
):
1970 """SetInitialFont(wxFont font)"""
1971 return _windows
.FontData_SetInitialFont(*args
, **kwargs
)
1973 def SetRange(*args
, **kwargs
):
1974 """SetRange(int min, int max)"""
1975 return _windows
.FontData_SetRange(*args
, **kwargs
)
1977 def SetShowHelp(*args
, **kwargs
):
1978 """SetShowHelp(bool showHelp)"""
1979 return _windows
.FontData_SetShowHelp(*args
, **kwargs
)
1982 class FontDataPtr(FontData
):
1983 def __init__(self
, this
):
1985 if not hasattr(self
,"thisown"): self
.thisown
= 0
1986 self
.__class
__ = FontData
1987 _windows
.FontData_swigregister(FontDataPtr
)
1989 class FontDialog(Dialog
):
1991 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1992 def __init__(self
, *args
, **kwargs
):
1993 """__init__(Window parent, FontData data) -> FontDialog"""
1994 newobj
= _windows
.new_FontDialog(*args
, **kwargs
)
1995 self
.this
= newobj
.this
1998 self
._setOORInfo
(self
)
2000 def GetFontData(*args
, **kwargs
):
2001 """GetFontData() -> FontData"""
2002 return _windows
.FontDialog_GetFontData(*args
, **kwargs
)
2004 def ShowModal(*args
, **kwargs
):
2005 """ShowModal() -> int"""
2006 return _windows
.FontDialog_ShowModal(*args
, **kwargs
)
2009 class FontDialogPtr(FontDialog
):
2010 def __init__(self
, this
):
2012 if not hasattr(self
,"thisown"): self
.thisown
= 0
2013 self
.__class
__ = FontDialog
2014 _windows
.FontDialog_swigregister(FontDialogPtr
)
2016 class MessageDialog(Dialog
):
2018 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2019 def __init__(self
, *args
, **kwargs
):
2021 __init__(Window parent, wxString message, wxString caption=wxPyMessageBoxCaptionStr,
2022 long style=wxOK|wxCANCEL|wxCENTRE,
2023 Point pos=DefaultPosition) -> MessageDialog
2025 newobj
= _windows
.new_MessageDialog(*args
, **kwargs
)
2026 self
.this
= newobj
.this
2029 self
._setOORInfo
(self
)
2031 def ShowModal(*args
, **kwargs
):
2032 """ShowModal() -> int"""
2033 return _windows
.MessageDialog_ShowModal(*args
, **kwargs
)
2036 class MessageDialogPtr(MessageDialog
):
2037 def __init__(self
, this
):
2039 if not hasattr(self
,"thisown"): self
.thisown
= 0
2040 self
.__class
__ = MessageDialog
2041 _windows
.MessageDialog_swigregister(MessageDialogPtr
)
2043 class ProgressDialog(Frame
):
2045 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2046 def __init__(self
, *args
, **kwargs
):
2048 __init__(wxString title, wxString message, int maximum=100,
2049 Window parent=None, int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
2051 newobj
= _windows
.new_ProgressDialog(*args
, **kwargs
)
2052 self
.this
= newobj
.this
2055 self
._setOORInfo
(self
)
2057 def Update(*args
, **kwargs
):
2058 """Update(int value, wxString newmsg=wxPyEmptyString) -> bool"""
2059 return _windows
.ProgressDialog_Update(*args
, **kwargs
)
2061 def Resume(*args
, **kwargs
):
2063 return _windows
.ProgressDialog_Resume(*args
, **kwargs
)
2066 class ProgressDialogPtr(ProgressDialog
):
2067 def __init__(self
, this
):
2069 if not hasattr(self
,"thisown"): self
.thisown
= 0
2070 self
.__class
__ = ProgressDialog
2071 _windows
.ProgressDialog_swigregister(ProgressDialogPtr
)
2073 FR_DOWN
= _windows
.FR_DOWN
2074 FR_WHOLEWORD
= _windows
.FR_WHOLEWORD
2075 FR_MATCHCASE
= _windows
.FR_MATCHCASE
2076 FR_REPLACEDIALOG
= _windows
.FR_REPLACEDIALOG
2077 FR_NOUPDOWN
= _windows
.FR_NOUPDOWN
2078 FR_NOMATCHCASE
= _windows
.FR_NOMATCHCASE
2079 FR_NOWHOLEWORD
= _windows
.FR_NOWHOLEWORD
2080 wxEVT_COMMAND_FIND
= _windows
.wxEVT_COMMAND_FIND
2081 wxEVT_COMMAND_FIND_NEXT
= _windows
.wxEVT_COMMAND_FIND_NEXT
2082 wxEVT_COMMAND_FIND_REPLACE
= _windows
.wxEVT_COMMAND_FIND_REPLACE
2083 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows
.wxEVT_COMMAND_FIND_REPLACE_ALL
2084 wxEVT_COMMAND_FIND_CLOSE
= _windows
.wxEVT_COMMAND_FIND_CLOSE
2085 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
2086 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
2087 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
2088 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
2089 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
2091 # For backwards compatibility. Should they be removed?
2092 EVT_COMMAND_FIND
= EVT_FIND
2093 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
2094 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
2095 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
2096 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
2098 class FindDialogEvent(core
.CommandEvent
):
2100 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2101 def __init__(self
, *args
, **kwargs
):
2102 """__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent"""
2103 newobj
= _windows
.new_FindDialogEvent(*args
, **kwargs
)
2104 self
.this
= newobj
.this
2107 def GetFlags(*args
, **kwargs
):
2108 """GetFlags() -> int"""
2109 return _windows
.FindDialogEvent_GetFlags(*args
, **kwargs
)
2111 def GetFindString(*args
, **kwargs
):
2112 """GetFindString() -> wxString"""
2113 return _windows
.FindDialogEvent_GetFindString(*args
, **kwargs
)
2115 def GetReplaceString(*args
, **kwargs
):
2116 """GetReplaceString() -> wxString"""
2117 return _windows
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
2119 def GetDialog(*args
, **kwargs
):
2120 """GetDialog() -> FindReplaceDialog"""
2121 return _windows
.FindDialogEvent_GetDialog(*args
, **kwargs
)
2123 def SetFlags(*args
, **kwargs
):
2124 """SetFlags(int flags)"""
2125 return _windows
.FindDialogEvent_SetFlags(*args
, **kwargs
)
2127 def SetFindString(*args
, **kwargs
):
2128 """SetFindString(wxString str)"""
2129 return _windows
.FindDialogEvent_SetFindString(*args
, **kwargs
)
2131 def SetReplaceString(*args
, **kwargs
):
2132 """SetReplaceString(wxString str)"""
2133 return _windows
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
2136 class FindDialogEventPtr(FindDialogEvent
):
2137 def __init__(self
, this
):
2139 if not hasattr(self
,"thisown"): self
.thisown
= 0
2140 self
.__class
__ = FindDialogEvent
2141 _windows
.FindDialogEvent_swigregister(FindDialogEventPtr
)
2143 class FindReplaceData(core
.Object
):
2145 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2146 def __init__(self
, *args
, **kwargs
):
2147 """__init__(int flags=0) -> FindReplaceData"""
2148 newobj
= _windows
.new_FindReplaceData(*args
, **kwargs
)
2149 self
.this
= newobj
.this
2152 def __del__(self
, destroy
=_windows
.delete_FindReplaceData
):
2155 if self
.thisown
: destroy(self
)
2158 def GetFindString(*args
, **kwargs
):
2159 """GetFindString() -> wxString"""
2160 return _windows
.FindReplaceData_GetFindString(*args
, **kwargs
)
2162 def GetReplaceString(*args
, **kwargs
):
2163 """GetReplaceString() -> wxString"""
2164 return _windows
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
2166 def GetFlags(*args
, **kwargs
):
2167 """GetFlags() -> int"""
2168 return _windows
.FindReplaceData_GetFlags(*args
, **kwargs
)
2170 def SetFlags(*args
, **kwargs
):
2171 """SetFlags(int flags)"""
2172 return _windows
.FindReplaceData_SetFlags(*args
, **kwargs
)
2174 def SetFindString(*args
, **kwargs
):
2175 """SetFindString(wxString str)"""
2176 return _windows
.FindReplaceData_SetFindString(*args
, **kwargs
)
2178 def SetReplaceString(*args
, **kwargs
):
2179 """SetReplaceString(wxString str)"""
2180 return _windows
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
2183 class FindReplaceDataPtr(FindReplaceData
):
2184 def __init__(self
, this
):
2186 if not hasattr(self
,"thisown"): self
.thisown
= 0
2187 self
.__class
__ = FindReplaceData
2188 _windows
.FindReplaceData_swigregister(FindReplaceDataPtr
)
2190 class FindReplaceDialog(Dialog
):
2192 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2193 def __init__(self
, *args
, **kwargs
):
2195 __init__(Window parent, FindReplaceData data, wxString title,
2196 int style=0) -> FindReplaceDialog
2198 newobj
= _windows
.new_FindReplaceDialog(*args
, **kwargs
)
2199 self
.this
= newobj
.this
2202 self
._setOORInfo
(self
)
2204 def Create(*args
, **kwargs
):
2206 Create(Window parent, FindReplaceData data, wxString title,
2207 int style=0) -> bool
2209 return _windows
.FindReplaceDialog_Create(*args
, **kwargs
)
2211 def GetData(*args
, **kwargs
):
2212 """GetData() -> FindReplaceData"""
2213 return _windows
.FindReplaceDialog_GetData(*args
, **kwargs
)
2215 def SetData(*args
, **kwargs
):
2216 """SetData(FindReplaceData data)"""
2217 return _windows
.FindReplaceDialog_SetData(*args
, **kwargs
)
2220 class FindReplaceDialogPtr(FindReplaceDialog
):
2221 def __init__(self
, this
):
2223 if not hasattr(self
,"thisown"): self
.thisown
= 0
2224 self
.__class
__ = FindReplaceDialog
2225 _windows
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
2227 def PreFindReplaceDialog(*args
, **kwargs
):
2228 """PreFindReplaceDialog() -> FindReplaceDialog"""
2229 val
= _windows
.new_PreFindReplaceDialog(*args
, **kwargs
)
2233 #---------------------------------------------------------------------------
2235 IDM_WINDOWTILE
= _windows
.IDM_WINDOWTILE
2236 IDM_WINDOWTILEHOR
= _windows
.IDM_WINDOWTILEHOR
2237 IDM_WINDOWCASCADE
= _windows
.IDM_WINDOWCASCADE
2238 IDM_WINDOWICONS
= _windows
.IDM_WINDOWICONS
2239 IDM_WINDOWNEXT
= _windows
.IDM_WINDOWNEXT
2240 IDM_WINDOWTILEVERT
= _windows
.IDM_WINDOWTILEVERT
2241 FIRST_MDI_CHILD
= _windows
.FIRST_MDI_CHILD
2242 LAST_MDI_CHILD
= _windows
.LAST_MDI_CHILD
2243 class MDIParentFrame(Frame
):
2245 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2246 def __init__(self
, *args
, **kwargs
):
2248 __init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
2249 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2250 wxString name=wxPyFrameNameStr) -> MDIParentFrame
2252 newobj
= _windows
.new_MDIParentFrame(*args
, **kwargs
)
2253 self
.this
= newobj
.this
2256 self
._setOORInfo
(self
)
2258 def Create(*args
, **kwargs
):
2260 Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
2261 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2262 wxString name=wxPyFrameNameStr) -> bool
2264 return _windows
.MDIParentFrame_Create(*args
, **kwargs
)
2266 def ActivateNext(*args
, **kwargs
):
2267 """ActivateNext()"""
2268 return _windows
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
2270 def ActivatePrevious(*args
, **kwargs
):
2271 """ActivatePrevious()"""
2272 return _windows
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
2274 def ArrangeIcons(*args
, **kwargs
):
2275 """ArrangeIcons()"""
2276 return _windows
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
2278 def Cascade(*args
, **kwargs
):
2280 return _windows
.MDIParentFrame_Cascade(*args
, **kwargs
)
2282 def GetActiveChild(*args
, **kwargs
):
2283 """GetActiveChild() -> MDIChildFrame"""
2284 return _windows
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
2286 def GetClientWindow(*args
, **kwargs
):
2287 """GetClientWindow() -> MDIClientWindow"""
2288 return _windows
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
2290 def GetToolBar(*args
, **kwargs
):
2291 """GetToolBar() -> Window"""
2292 return _windows
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
2294 def Tile(*args
, **kwargs
):
2296 return _windows
.MDIParentFrame_Tile(*args
, **kwargs
)
2299 class MDIParentFramePtr(MDIParentFrame
):
2300 def __init__(self
, this
):
2302 if not hasattr(self
,"thisown"): self
.thisown
= 0
2303 self
.__class
__ = MDIParentFrame
2304 _windows
.MDIParentFrame_swigregister(MDIParentFramePtr
)
2306 def PreMDIParentFrame(*args
, **kwargs
):
2307 """PreMDIParentFrame() -> MDIParentFrame"""
2308 val
= _windows
.new_PreMDIParentFrame(*args
, **kwargs
)
2312 class MDIChildFrame(Frame
):
2314 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2315 def __init__(self
, *args
, **kwargs
):
2317 __init__(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition,
2318 Size size=DefaultSize,
2319 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> MDIChildFrame
2321 newobj
= _windows
.new_MDIChildFrame(*args
, **kwargs
)
2322 self
.this
= newobj
.this
2325 self
._setOORInfo
(self
)
2327 def Create(*args
, **kwargs
):
2329 Create(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition,
2330 Size size=DefaultSize,
2331 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> bool
2333 return _windows
.MDIChildFrame_Create(*args
, **kwargs
)
2335 def Activate(*args
, **kwargs
):
2337 return _windows
.MDIChildFrame_Activate(*args
, **kwargs
)
2339 def Maximize(*args
, **kwargs
):
2340 """Maximize(bool maximize)"""
2341 return _windows
.MDIChildFrame_Maximize(*args
, **kwargs
)
2343 def Restore(*args
, **kwargs
):
2345 return _windows
.MDIChildFrame_Restore(*args
, **kwargs
)
2348 class MDIChildFramePtr(MDIChildFrame
):
2349 def __init__(self
, this
):
2351 if not hasattr(self
,"thisown"): self
.thisown
= 0
2352 self
.__class
__ = MDIChildFrame
2353 _windows
.MDIChildFrame_swigregister(MDIChildFramePtr
)
2355 def PreMDIChildFrame(*args
, **kwargs
):
2356 """PreMDIChildFrame() -> MDIChildFrame"""
2357 val
= _windows
.new_PreMDIChildFrame(*args
, **kwargs
)
2361 class MDIClientWindow(core
.Window
):
2363 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2364 def __init__(self
, *args
, **kwargs
):
2365 """__init__(MDIParentFrame parent, long style=0) -> MDIClientWindow"""
2366 newobj
= _windows
.new_MDIClientWindow(*args
, **kwargs
)
2367 self
.this
= newobj
.this
2370 self
._setOORInfo
(self
)
2372 def Create(*args
, **kwargs
):
2373 """Create(MDIParentFrame parent, long style=0) -> bool"""
2374 return _windows
.MDIClientWindow_Create(*args
, **kwargs
)
2377 class MDIClientWindowPtr(MDIClientWindow
):
2378 def __init__(self
, this
):
2380 if not hasattr(self
,"thisown"): self
.thisown
= 0
2381 self
.__class
__ = MDIClientWindow
2382 _windows
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
2384 def PreMDIClientWindow(*args
, **kwargs
):
2385 """PreMDIClientWindow() -> MDIClientWindow"""
2386 val
= _windows
.new_PreMDIClientWindow(*args
, **kwargs
)
2390 #---------------------------------------------------------------------------
2392 class PyWindow(core
.Window
):
2394 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2395 def __init__(self
, *args
, **kwargs
):
2397 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2398 long style=0, wxString name=PanelNameStr) -> PyWindow
2400 newobj
= _windows
.new_PyWindow(*args
, **kwargs
)
2401 self
.this
= newobj
.this
2404 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
2406 def _setCallbackInfo(*args
, **kwargs
):
2407 """_setCallbackInfo(PyObject self, PyObject _class)"""
2408 return _windows
.PyWindow__setCallbackInfo(*args
, **kwargs
)
2410 def base_DoMoveWindow(*args
, **kwargs
):
2411 """base_DoMoveWindow(int x, int y, int width, int height)"""
2412 return _windows
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
2414 def base_DoSetSize(*args
, **kwargs
):
2415 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2416 return _windows
.PyWindow_base_DoSetSize(*args
, **kwargs
)
2418 def base_DoSetClientSize(*args
, **kwargs
):
2419 """base_DoSetClientSize(int width, int height)"""
2420 return _windows
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
2422 def base_DoSetVirtualSize(*args
, **kwargs
):
2423 """base_DoSetVirtualSize(int x, int y)"""
2424 return _windows
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
2426 def base_DoGetSize(*args
, **kwargs
):
2427 """base_DoGetSize() -> (width, height)"""
2428 return _windows
.PyWindow_base_DoGetSize(*args
, **kwargs
)
2430 def base_DoGetClientSize(*args
, **kwargs
):
2431 """base_DoGetClientSize() -> (width, height)"""
2432 return _windows
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
2434 def base_DoGetPosition(*args
, **kwargs
):
2435 """base_DoGetPosition() -> (x,y)"""
2436 return _windows
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
2438 def base_DoGetVirtualSize(*args
, **kwargs
):
2439 """base_DoGetVirtualSize() -> Size"""
2440 return _windows
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
2442 def base_DoGetBestSize(*args
, **kwargs
):
2443 """base_DoGetBestSize() -> Size"""
2444 return _windows
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
2446 def base_InitDialog(*args
, **kwargs
):
2447 """base_InitDialog()"""
2448 return _windows
.PyWindow_base_InitDialog(*args
, **kwargs
)
2450 def base_TransferDataToWindow(*args
, **kwargs
):
2451 """base_TransferDataToWindow() -> bool"""
2452 return _windows
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
2454 def base_TransferDataFromWindow(*args
, **kwargs
):
2455 """base_TransferDataFromWindow() -> bool"""
2456 return _windows
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
2458 def base_Validate(*args
, **kwargs
):
2459 """base_Validate() -> bool"""
2460 return _windows
.PyWindow_base_Validate(*args
, **kwargs
)
2462 def base_AcceptsFocus(*args
, **kwargs
):
2463 """base_AcceptsFocus() -> bool"""
2464 return _windows
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
2466 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2467 """base_AcceptsFocusFromKeyboard() -> bool"""
2468 return _windows
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2470 def base_GetMaxSize(*args
, **kwargs
):
2471 """base_GetMaxSize() -> Size"""
2472 return _windows
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
2474 def base_AddChild(*args
, **kwargs
):
2475 """base_AddChild(Window child)"""
2476 return _windows
.PyWindow_base_AddChild(*args
, **kwargs
)
2478 def base_RemoveChild(*args
, **kwargs
):
2479 """base_RemoveChild(Window child)"""
2480 return _windows
.PyWindow_base_RemoveChild(*args
, **kwargs
)
2483 class PyWindowPtr(PyWindow
):
2484 def __init__(self
, this
):
2486 if not hasattr(self
,"thisown"): self
.thisown
= 0
2487 self
.__class
__ = PyWindow
2488 _windows
.PyWindow_swigregister(PyWindowPtr
)
2490 class PyPanel(Panel
):
2492 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2493 def __init__(self
, *args
, **kwargs
):
2495 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2496 long style=0, wxString name=PanelNameStr) -> PyPanel
2498 newobj
= _windows
.new_PyPanel(*args
, **kwargs
)
2499 self
.this
= newobj
.this
2502 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
2504 def _setCallbackInfo(*args
, **kwargs
):
2505 """_setCallbackInfo(PyObject self, PyObject _class)"""
2506 return _windows
.PyPanel__setCallbackInfo(*args
, **kwargs
)
2508 def base_DoMoveWindow(*args
, **kwargs
):
2509 """base_DoMoveWindow(int x, int y, int width, int height)"""
2510 return _windows
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
2512 def base_DoSetSize(*args
, **kwargs
):
2513 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2514 return _windows
.PyPanel_base_DoSetSize(*args
, **kwargs
)
2516 def base_DoSetClientSize(*args
, **kwargs
):
2517 """base_DoSetClientSize(int width, int height)"""
2518 return _windows
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
2520 def base_DoSetVirtualSize(*args
, **kwargs
):
2521 """base_DoSetVirtualSize(int x, int y)"""
2522 return _windows
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
2524 def base_DoGetSize(*args
, **kwargs
):
2525 """base_DoGetSize() -> (width, height)"""
2526 return _windows
.PyPanel_base_DoGetSize(*args
, **kwargs
)
2528 def base_DoGetClientSize(*args
, **kwargs
):
2529 """base_DoGetClientSize() -> (width, height)"""
2530 return _windows
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
2532 def base_DoGetPosition(*args
, **kwargs
):
2533 """base_DoGetPosition() -> (x,y)"""
2534 return _windows
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
2536 def base_DoGetVirtualSize(*args
, **kwargs
):
2537 """base_DoGetVirtualSize() -> Size"""
2538 return _windows
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
2540 def base_DoGetBestSize(*args
, **kwargs
):
2541 """base_DoGetBestSize() -> Size"""
2542 return _windows
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
2544 def base_InitDialog(*args
, **kwargs
):
2545 """base_InitDialog()"""
2546 return _windows
.PyPanel_base_InitDialog(*args
, **kwargs
)
2548 def base_TransferDataToWindow(*args
, **kwargs
):
2549 """base_TransferDataToWindow() -> bool"""
2550 return _windows
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
2552 def base_TransferDataFromWindow(*args
, **kwargs
):
2553 """base_TransferDataFromWindow() -> bool"""
2554 return _windows
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
2556 def base_Validate(*args
, **kwargs
):
2557 """base_Validate() -> bool"""
2558 return _windows
.PyPanel_base_Validate(*args
, **kwargs
)
2560 def base_AcceptsFocus(*args
, **kwargs
):
2561 """base_AcceptsFocus() -> bool"""
2562 return _windows
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
2564 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2565 """base_AcceptsFocusFromKeyboard() -> bool"""
2566 return _windows
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2568 def base_GetMaxSize(*args
, **kwargs
):
2569 """base_GetMaxSize() -> Size"""
2570 return _windows
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
2572 def base_AddChild(*args
, **kwargs
):
2573 """base_AddChild(Window child)"""
2574 return _windows
.PyPanel_base_AddChild(*args
, **kwargs
)
2576 def base_RemoveChild(*args
, **kwargs
):
2577 """base_RemoveChild(Window child)"""
2578 return _windows
.PyPanel_base_RemoveChild(*args
, **kwargs
)
2581 class PyPanelPtr(PyPanel
):
2582 def __init__(self
, this
):
2584 if not hasattr(self
,"thisown"): self
.thisown
= 0
2585 self
.__class
__ = PyPanel
2586 _windows
.PyPanel_swigregister(PyPanelPtr
)
2588 #---------------------------------------------------------------------------
2590 PRINT_MODE_NONE
= _windows
.PRINT_MODE_NONE
2591 PRINT_MODE_PREVIEW
= _windows
.PRINT_MODE_PREVIEW
2592 PRINT_MODE_FILE
= _windows
.PRINT_MODE_FILE
2593 PRINT_MODE_PRINTER
= _windows
.PRINT_MODE_PRINTER
2594 class PrintData(core
.Object
):
2596 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2597 def __init__(self
, *args
, **kwargs
):
2598 """__init__() -> PrintData"""
2599 newobj
= _windows
.new_PrintData(*args
, **kwargs
)
2600 self
.this
= newobj
.this
2603 def __del__(self
, destroy
=_windows
.delete_PrintData
):
2606 if self
.thisown
: destroy(self
)
2609 def GetNoCopies(*args
, **kwargs
):
2610 """GetNoCopies() -> int"""
2611 return _windows
.PrintData_GetNoCopies(*args
, **kwargs
)
2613 def GetCollate(*args
, **kwargs
):
2614 """GetCollate() -> bool"""
2615 return _windows
.PrintData_GetCollate(*args
, **kwargs
)
2617 def GetOrientation(*args
, **kwargs
):
2618 """GetOrientation() -> int"""
2619 return _windows
.PrintData_GetOrientation(*args
, **kwargs
)
2621 def Ok(*args
, **kwargs
):
2623 return _windows
.PrintData_Ok(*args
, **kwargs
)
2625 def GetPrinterName(*args
, **kwargs
):
2626 """GetPrinterName() -> wxString"""
2627 return _windows
.PrintData_GetPrinterName(*args
, **kwargs
)
2629 def GetColour(*args
, **kwargs
):
2630 """GetColour() -> bool"""
2631 return _windows
.PrintData_GetColour(*args
, **kwargs
)
2633 def GetDuplex(*args
, **kwargs
):
2634 """GetDuplex() -> wxDuplexMode"""
2635 return _windows
.PrintData_GetDuplex(*args
, **kwargs
)
2637 def GetPaperId(*args
, **kwargs
):
2638 """GetPaperId() -> wxPaperSize"""
2639 return _windows
.PrintData_GetPaperId(*args
, **kwargs
)
2641 def GetPaperSize(*args
, **kwargs
):
2642 """GetPaperSize() -> Size"""
2643 return _windows
.PrintData_GetPaperSize(*args
, **kwargs
)
2645 def GetQuality(*args
, **kwargs
):
2646 """GetQuality() -> wxPrintQuality"""
2647 return _windows
.PrintData_GetQuality(*args
, **kwargs
)
2649 def SetNoCopies(*args
, **kwargs
):
2650 """SetNoCopies(int v)"""
2651 return _windows
.PrintData_SetNoCopies(*args
, **kwargs
)
2653 def SetCollate(*args
, **kwargs
):
2654 """SetCollate(bool flag)"""
2655 return _windows
.PrintData_SetCollate(*args
, **kwargs
)
2657 def SetOrientation(*args
, **kwargs
):
2658 """SetOrientation(int orient)"""
2659 return _windows
.PrintData_SetOrientation(*args
, **kwargs
)
2661 def SetPrinterName(*args
, **kwargs
):
2662 """SetPrinterName(wxString name)"""
2663 return _windows
.PrintData_SetPrinterName(*args
, **kwargs
)
2665 def SetColour(*args
, **kwargs
):
2666 """SetColour(bool colour)"""
2667 return _windows
.PrintData_SetColour(*args
, **kwargs
)
2669 def SetDuplex(*args
, **kwargs
):
2670 """SetDuplex(wxDuplexMode duplex)"""
2671 return _windows
.PrintData_SetDuplex(*args
, **kwargs
)
2673 def SetPaperId(*args
, **kwargs
):
2674 """SetPaperId(wxPaperSize sizeId)"""
2675 return _windows
.PrintData_SetPaperId(*args
, **kwargs
)
2677 def SetPaperSize(*args
, **kwargs
):
2678 """SetPaperSize(Size sz)"""
2679 return _windows
.PrintData_SetPaperSize(*args
, **kwargs
)
2681 def SetQuality(*args
, **kwargs
):
2682 """SetQuality(wxPrintQuality quality)"""
2683 return _windows
.PrintData_SetQuality(*args
, **kwargs
)
2685 def GetPrinterCommand(*args
, **kwargs
):
2686 """GetPrinterCommand() -> wxString"""
2687 return _windows
.PrintData_GetPrinterCommand(*args
, **kwargs
)
2689 def GetPrinterOptions(*args
, **kwargs
):
2690 """GetPrinterOptions() -> wxString"""
2691 return _windows
.PrintData_GetPrinterOptions(*args
, **kwargs
)
2693 def GetPreviewCommand(*args
, **kwargs
):
2694 """GetPreviewCommand() -> wxString"""
2695 return _windows
.PrintData_GetPreviewCommand(*args
, **kwargs
)
2697 def GetFilename(*args
, **kwargs
):
2698 """GetFilename() -> wxString"""
2699 return _windows
.PrintData_GetFilename(*args
, **kwargs
)
2701 def GetFontMetricPath(*args
, **kwargs
):
2702 """GetFontMetricPath() -> wxString"""
2703 return _windows
.PrintData_GetFontMetricPath(*args
, **kwargs
)
2705 def GetPrinterScaleX(*args
, **kwargs
):
2706 """GetPrinterScaleX() -> double"""
2707 return _windows
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
2709 def GetPrinterScaleY(*args
, **kwargs
):
2710 """GetPrinterScaleY() -> double"""
2711 return _windows
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
2713 def GetPrinterTranslateX(*args
, **kwargs
):
2714 """GetPrinterTranslateX() -> long"""
2715 return _windows
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
2717 def GetPrinterTranslateY(*args
, **kwargs
):
2718 """GetPrinterTranslateY() -> long"""
2719 return _windows
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
2721 def GetPrintMode(*args
, **kwargs
):
2722 """GetPrintMode() -> wxPrintMode"""
2723 return _windows
.PrintData_GetPrintMode(*args
, **kwargs
)
2725 def SetPrinterCommand(*args
, **kwargs
):
2726 """SetPrinterCommand(wxString command)"""
2727 return _windows
.PrintData_SetPrinterCommand(*args
, **kwargs
)
2729 def SetPrinterOptions(*args
, **kwargs
):
2730 """SetPrinterOptions(wxString options)"""
2731 return _windows
.PrintData_SetPrinterOptions(*args
, **kwargs
)
2733 def SetPreviewCommand(*args
, **kwargs
):
2734 """SetPreviewCommand(wxString command)"""
2735 return _windows
.PrintData_SetPreviewCommand(*args
, **kwargs
)
2737 def SetFilename(*args
, **kwargs
):
2738 """SetFilename(wxString filename)"""
2739 return _windows
.PrintData_SetFilename(*args
, **kwargs
)
2741 def SetFontMetricPath(*args
, **kwargs
):
2742 """SetFontMetricPath(wxString path)"""
2743 return _windows
.PrintData_SetFontMetricPath(*args
, **kwargs
)
2745 def SetPrinterScaleX(*args
, **kwargs
):
2746 """SetPrinterScaleX(double x)"""
2747 return _windows
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
2749 def SetPrinterScaleY(*args
, **kwargs
):
2750 """SetPrinterScaleY(double y)"""
2751 return _windows
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
2753 def SetPrinterScaling(*args
, **kwargs
):
2754 """SetPrinterScaling(double x, double y)"""
2755 return _windows
.PrintData_SetPrinterScaling(*args
, **kwargs
)
2757 def SetPrinterTranslateX(*args
, **kwargs
):
2758 """SetPrinterTranslateX(long x)"""
2759 return _windows
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
2761 def SetPrinterTranslateY(*args
, **kwargs
):
2762 """SetPrinterTranslateY(long y)"""
2763 return _windows
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
2765 def SetPrinterTranslation(*args
, **kwargs
):
2766 """SetPrinterTranslation(long x, long y)"""
2767 return _windows
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
2769 def SetPrintMode(*args
, **kwargs
):
2770 """SetPrintMode(wxPrintMode printMode)"""
2771 return _windows
.PrintData_SetPrintMode(*args
, **kwargs
)
2773 def __nonzero__(self
): return self
.Ok()
2775 class PrintDataPtr(PrintData
):
2776 def __init__(self
, this
):
2778 if not hasattr(self
,"thisown"): self
.thisown
= 0
2779 self
.__class
__ = PrintData
2780 _windows
.PrintData_swigregister(PrintDataPtr
)
2782 class PageSetupDialogData(core
.Object
):
2784 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2785 def __init__(self
, *args
, **kwargs
):
2786 """__init__() -> PageSetupDialogData"""
2787 newobj
= _windows
.new_PageSetupDialogData(*args
, **kwargs
)
2788 self
.this
= newobj
.this
2791 def __del__(self
, destroy
=_windows
.delete_PageSetupDialogData
):
2794 if self
.thisown
: destroy(self
)
2797 def EnableHelp(*args
, **kwargs
):
2798 """EnableHelp(bool flag)"""
2799 return _windows
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
2801 def EnableMargins(*args
, **kwargs
):
2802 """EnableMargins(bool flag)"""
2803 return _windows
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
2805 def EnableOrientation(*args
, **kwargs
):
2806 """EnableOrientation(bool flag)"""
2807 return _windows
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
2809 def EnablePaper(*args
, **kwargs
):
2810 """EnablePaper(bool flag)"""
2811 return _windows
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
2813 def EnablePrinter(*args
, **kwargs
):
2814 """EnablePrinter(bool flag)"""
2815 return _windows
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
2817 def GetDefaultMinMargins(*args
, **kwargs
):
2818 """GetDefaultMinMargins() -> bool"""
2819 return _windows
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
2821 def GetEnableMargins(*args
, **kwargs
):
2822 """GetEnableMargins() -> bool"""
2823 return _windows
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
2825 def GetEnableOrientation(*args
, **kwargs
):
2826 """GetEnableOrientation() -> bool"""
2827 return _windows
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
2829 def GetEnablePaper(*args
, **kwargs
):
2830 """GetEnablePaper() -> bool"""
2831 return _windows
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
2833 def GetEnablePrinter(*args
, **kwargs
):
2834 """GetEnablePrinter() -> bool"""
2835 return _windows
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
2837 def GetEnableHelp(*args
, **kwargs
):
2838 """GetEnableHelp() -> bool"""
2839 return _windows
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
2841 def GetDefaultInfo(*args
, **kwargs
):
2842 """GetDefaultInfo() -> bool"""
2843 return _windows
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
2845 def GetMarginTopLeft(*args
, **kwargs
):
2846 """GetMarginTopLeft() -> Point"""
2847 return _windows
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
2849 def GetMarginBottomRight(*args
, **kwargs
):
2850 """GetMarginBottomRight() -> Point"""
2851 return _windows
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
2853 def GetMinMarginTopLeft(*args
, **kwargs
):
2854 """GetMinMarginTopLeft() -> Point"""
2855 return _windows
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
2857 def GetMinMarginBottomRight(*args
, **kwargs
):
2858 """GetMinMarginBottomRight() -> Point"""
2859 return _windows
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
2861 def GetPaperId(*args
, **kwargs
):
2862 """GetPaperId() -> wxPaperSize"""
2863 return _windows
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
2865 def GetPaperSize(*args
, **kwargs
):
2866 """GetPaperSize() -> Size"""
2867 return _windows
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
2869 def GetPrintData(*args
, **kwargs
):
2870 """GetPrintData() -> PrintData"""
2871 return _windows
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
2873 def Ok(*args
, **kwargs
):
2875 return _windows
.PageSetupDialogData_Ok(*args
, **kwargs
)
2877 def SetDefaultInfo(*args
, **kwargs
):
2878 """SetDefaultInfo(bool flag)"""
2879 return _windows
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
2881 def SetDefaultMinMargins(*args
, **kwargs
):
2882 """SetDefaultMinMargins(bool flag)"""
2883 return _windows
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
2885 def SetMarginTopLeft(*args
, **kwargs
):
2886 """SetMarginTopLeft(Point pt)"""
2887 return _windows
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
2889 def SetMarginBottomRight(*args
, **kwargs
):
2890 """SetMarginBottomRight(Point pt)"""
2891 return _windows
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
2893 def SetMinMarginTopLeft(*args
, **kwargs
):
2894 """SetMinMarginTopLeft(Point pt)"""
2895 return _windows
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
2897 def SetMinMarginBottomRight(*args
, **kwargs
):
2898 """SetMinMarginBottomRight(Point pt)"""
2899 return _windows
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
2901 def SetPaperId(*args
, **kwargs
):
2902 """SetPaperId(wxPaperSize id)"""
2903 return _windows
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
2905 def SetPaperSize(*args
, **kwargs
):
2906 """SetPaperSize(Size size)"""
2907 return _windows
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
2909 def SetPrintData(*args
, **kwargs
):
2910 """SetPrintData(PrintData printData)"""
2911 return _windows
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
2913 def __nonzero__(self
): return self
.Ok()
2915 class PageSetupDialogDataPtr(PageSetupDialogData
):
2916 def __init__(self
, this
):
2918 if not hasattr(self
,"thisown"): self
.thisown
= 0
2919 self
.__class
__ = PageSetupDialogData
2920 _windows
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
2922 class PageSetupDialog(Dialog
):
2924 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2925 def __init__(self
, *args
, **kwargs
):
2926 """__init__(Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
2927 newobj
= _windows
.new_PageSetupDialog(*args
, **kwargs
)
2928 self
.this
= newobj
.this
2931 self
._setOORInfo
(self
)
2933 def GetPageSetupData(*args
, **kwargs
):
2934 """GetPageSetupData() -> PageSetupDialogData"""
2935 return _windows
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
2937 def ShowModal(*args
, **kwargs
):
2938 """ShowModal() -> int"""
2939 return _windows
.PageSetupDialog_ShowModal(*args
, **kwargs
)
2942 class PageSetupDialogPtr(PageSetupDialog
):
2943 def __init__(self
, this
):
2945 if not hasattr(self
,"thisown"): self
.thisown
= 0
2946 self
.__class
__ = PageSetupDialog
2947 _windows
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
2949 class PrintDialogData(core
.Object
):
2951 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2952 def __init__(self
, *args
, **kwargs
):
2953 """__init__() -> PrintDialogData"""
2954 newobj
= _windows
.new_PrintDialogData(*args
, **kwargs
)
2955 self
.this
= newobj
.this
2958 def __del__(self
, destroy
=_windows
.delete_PrintDialogData
):
2961 if self
.thisown
: destroy(self
)
2964 def GetFromPage(*args
, **kwargs
):
2965 """GetFromPage() -> int"""
2966 return _windows
.PrintDialogData_GetFromPage(*args
, **kwargs
)
2968 def GetToPage(*args
, **kwargs
):
2969 """GetToPage() -> int"""
2970 return _windows
.PrintDialogData_GetToPage(*args
, **kwargs
)
2972 def GetMinPage(*args
, **kwargs
):
2973 """GetMinPage() -> int"""
2974 return _windows
.PrintDialogData_GetMinPage(*args
, **kwargs
)
2976 def GetMaxPage(*args
, **kwargs
):
2977 """GetMaxPage() -> int"""
2978 return _windows
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
2980 def GetNoCopies(*args
, **kwargs
):
2981 """GetNoCopies() -> int"""
2982 return _windows
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
2984 def GetAllPages(*args
, **kwargs
):
2985 """GetAllPages() -> bool"""
2986 return _windows
.PrintDialogData_GetAllPages(*args
, **kwargs
)
2988 def GetSelection(*args
, **kwargs
):
2989 """GetSelection() -> bool"""
2990 return _windows
.PrintDialogData_GetSelection(*args
, **kwargs
)
2992 def GetCollate(*args
, **kwargs
):
2993 """GetCollate() -> bool"""
2994 return _windows
.PrintDialogData_GetCollate(*args
, **kwargs
)
2996 def GetPrintToFile(*args
, **kwargs
):
2997 """GetPrintToFile() -> bool"""
2998 return _windows
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
3000 def GetSetupDialog(*args
, **kwargs
):
3001 """GetSetupDialog() -> bool"""
3002 return _windows
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
3004 def SetFromPage(*args
, **kwargs
):
3005 """SetFromPage(int v)"""
3006 return _windows
.PrintDialogData_SetFromPage(*args
, **kwargs
)
3008 def SetToPage(*args
, **kwargs
):
3009 """SetToPage(int v)"""
3010 return _windows
.PrintDialogData_SetToPage(*args
, **kwargs
)
3012 def SetMinPage(*args
, **kwargs
):
3013 """SetMinPage(int v)"""
3014 return _windows
.PrintDialogData_SetMinPage(*args
, **kwargs
)
3016 def SetMaxPage(*args
, **kwargs
):
3017 """SetMaxPage(int v)"""
3018 return _windows
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
3020 def SetNoCopies(*args
, **kwargs
):
3021 """SetNoCopies(int v)"""
3022 return _windows
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
3024 def SetAllPages(*args
, **kwargs
):
3025 """SetAllPages(bool flag)"""
3026 return _windows
.PrintDialogData_SetAllPages(*args
, **kwargs
)
3028 def SetSelection(*args
, **kwargs
):
3029 """SetSelection(bool flag)"""
3030 return _windows
.PrintDialogData_SetSelection(*args
, **kwargs
)
3032 def SetCollate(*args
, **kwargs
):
3033 """SetCollate(bool flag)"""
3034 return _windows
.PrintDialogData_SetCollate(*args
, **kwargs
)
3036 def SetPrintToFile(*args
, **kwargs
):
3037 """SetPrintToFile(bool flag)"""
3038 return _windows
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
3040 def SetSetupDialog(*args
, **kwargs
):
3041 """SetSetupDialog(bool flag)"""
3042 return _windows
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
3044 def EnablePrintToFile(*args
, **kwargs
):
3045 """EnablePrintToFile(bool flag)"""
3046 return _windows
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
3048 def EnableSelection(*args
, **kwargs
):
3049 """EnableSelection(bool flag)"""
3050 return _windows
.PrintDialogData_EnableSelection(*args
, **kwargs
)
3052 def EnablePageNumbers(*args
, **kwargs
):
3053 """EnablePageNumbers(bool flag)"""
3054 return _windows
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
3056 def EnableHelp(*args
, **kwargs
):
3057 """EnableHelp(bool flag)"""
3058 return _windows
.PrintDialogData_EnableHelp(*args
, **kwargs
)
3060 def GetEnablePrintToFile(*args
, **kwargs
):
3061 """GetEnablePrintToFile() -> bool"""
3062 return _windows
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
3064 def GetEnableSelection(*args
, **kwargs
):
3065 """GetEnableSelection() -> bool"""
3066 return _windows
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
3068 def GetEnablePageNumbers(*args
, **kwargs
):
3069 """GetEnablePageNumbers() -> bool"""
3070 return _windows
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
3072 def GetEnableHelp(*args
, **kwargs
):
3073 """GetEnableHelp() -> bool"""
3074 return _windows
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
3076 def Ok(*args
, **kwargs
):
3078 return _windows
.PrintDialogData_Ok(*args
, **kwargs
)
3080 def GetPrintData(*args
, **kwargs
):
3081 """GetPrintData() -> PrintData"""
3082 return _windows
.PrintDialogData_GetPrintData(*args
, **kwargs
)
3084 def SetPrintData(*args
, **kwargs
):
3085 """SetPrintData(PrintData printData)"""
3086 return _windows
.PrintDialogData_SetPrintData(*args
, **kwargs
)
3088 def __nonzero__(self
): return self
.Ok()
3090 class PrintDialogDataPtr(PrintDialogData
):
3091 def __init__(self
, this
):
3093 if not hasattr(self
,"thisown"): self
.thisown
= 0
3094 self
.__class
__ = PrintDialogData
3095 _windows
.PrintDialogData_swigregister(PrintDialogDataPtr
)
3097 class PrintDialog(Dialog
):
3099 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3100 def __init__(self
, *args
, **kwargs
):
3101 """__init__(Window parent, PrintDialogData data=None) -> PrintDialog"""
3102 newobj
= _windows
.new_PrintDialog(*args
, **kwargs
)
3103 self
.this
= newobj
.this
3106 self
._setOORInfo
(self
)
3108 def GetPrintDialogData(*args
, **kwargs
):
3109 """GetPrintDialogData() -> PrintDialogData"""
3110 return _windows
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
3112 def GetPrintDC(*args
, **kwargs
):
3113 """GetPrintDC() -> wxDC"""
3114 return _windows
.PrintDialog_GetPrintDC(*args
, **kwargs
)
3116 def ShowModal(*args
, **kwargs
):
3117 """ShowModal() -> int"""
3118 return _windows
.PrintDialog_ShowModal(*args
, **kwargs
)
3121 class PrintDialogPtr(PrintDialog
):
3122 def __init__(self
, this
):
3124 if not hasattr(self
,"thisown"): self
.thisown
= 0
3125 self
.__class
__ = PrintDialog
3126 _windows
.PrintDialog_swigregister(PrintDialogPtr
)
3128 PRINTER_NO_ERROR
= _windows
.PRINTER_NO_ERROR
3129 PRINTER_CANCELLED
= _windows
.PRINTER_CANCELLED
3130 PRINTER_ERROR
= _windows
.PRINTER_ERROR
3131 class Printer(core
.Object
):
3133 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3134 def __init__(self
, *args
, **kwargs
):
3135 """__init__(PrintDialogData data=None) -> Printer"""
3136 newobj
= _windows
.new_Printer(*args
, **kwargs
)
3137 self
.this
= newobj
.this
3140 def __del__(self
, destroy
=_windows
.delete_Printer
):
3143 if self
.thisown
: destroy(self
)
3146 def CreateAbortWindow(*args
, **kwargs
):
3147 """CreateAbortWindow(Window parent, Printout printout)"""
3148 return _windows
.Printer_CreateAbortWindow(*args
, **kwargs
)
3150 def GetPrintDialogData(*args
, **kwargs
):
3151 """GetPrintDialogData() -> PrintDialogData"""
3152 return _windows
.Printer_GetPrintDialogData(*args
, **kwargs
)
3154 def Print(*args
, **kwargs
):
3155 """Print(Window parent, Printout printout, int prompt=True) -> bool"""
3156 return _windows
.Printer_Print(*args
, **kwargs
)
3158 def PrintDialog(*args
, **kwargs
):
3159 """PrintDialog(Window parent) -> wxDC"""
3160 return _windows
.Printer_PrintDialog(*args
, **kwargs
)
3162 def ReportError(*args
, **kwargs
):
3163 """ReportError(Window parent, Printout printout, wxString message)"""
3164 return _windows
.Printer_ReportError(*args
, **kwargs
)
3166 def Setup(*args
, **kwargs
):
3167 """Setup(Window parent) -> bool"""
3168 return _windows
.Printer_Setup(*args
, **kwargs
)
3170 def GetAbort(*args
, **kwargs
):
3171 """GetAbort() -> bool"""
3172 return _windows
.Printer_GetAbort(*args
, **kwargs
)
3174 def GetLastError(*args
, **kwargs
):
3175 """Printer.GetLastError() -> wxPrinterError"""
3176 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3178 GetLastError
= staticmethod(GetLastError
)
3180 class PrinterPtr(Printer
):
3181 def __init__(self
, this
):
3183 if not hasattr(self
,"thisown"): self
.thisown
= 0
3184 self
.__class
__ = Printer
3185 _windows
.Printer_swigregister(PrinterPtr
)
3187 def Printer_GetLastError(*args
, **kwargs
):
3188 """Printer_GetLastError() -> wxPrinterError"""
3189 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3191 class Printout(core
.Object
):
3193 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3194 def __init__(self
, *args
, **kwargs
):
3195 """__init__(wxString title=wxPyPrintoutTitleStr) -> Printout"""
3196 newobj
= _windows
.new_Printout(*args
, **kwargs
)
3197 self
.this
= newobj
.this
3200 self
._setCallbackInfo
(self
, Printout
)
3202 def _setCallbackInfo(*args
, **kwargs
):
3203 """_setCallbackInfo(PyObject self, PyObject _class)"""
3204 return _windows
.Printout__setCallbackInfo(*args
, **kwargs
)
3206 def GetTitle(*args
, **kwargs
):
3207 """GetTitle() -> wxString"""
3208 return _windows
.Printout_GetTitle(*args
, **kwargs
)
3210 def GetDC(*args
, **kwargs
):
3211 """GetDC() -> wxDC"""
3212 return _windows
.Printout_GetDC(*args
, **kwargs
)
3214 def SetDC(*args
, **kwargs
):
3215 """SetDC(wxDC dc)"""
3216 return _windows
.Printout_SetDC(*args
, **kwargs
)
3218 def SetPageSizePixels(*args
, **kwargs
):
3219 """SetPageSizePixels(int w, int h)"""
3220 return _windows
.Printout_SetPageSizePixels(*args
, **kwargs
)
3222 def GetPageSizePixels(*args
, **kwargs
):
3223 """GetPageSizePixels() -> (w, h)"""
3224 return _windows
.Printout_GetPageSizePixels(*args
, **kwargs
)
3226 def SetPageSizeMM(*args
, **kwargs
):
3227 """SetPageSizeMM(int w, int h)"""
3228 return _windows
.Printout_SetPageSizeMM(*args
, **kwargs
)
3230 def GetPageSizeMM(*args
, **kwargs
):
3231 """GetPageSizeMM() -> (w, h)"""
3232 return _windows
.Printout_GetPageSizeMM(*args
, **kwargs
)
3234 def SetPPIScreen(*args
, **kwargs
):
3235 """SetPPIScreen(int x, int y)"""
3236 return _windows
.Printout_SetPPIScreen(*args
, **kwargs
)
3238 def GetPPIScreen(*args
, **kwargs
):
3239 """GetPPIScreen() -> (x,y)"""
3240 return _windows
.Printout_GetPPIScreen(*args
, **kwargs
)
3242 def SetPPIPrinter(*args
, **kwargs
):
3243 """SetPPIPrinter(int x, int y)"""
3244 return _windows
.Printout_SetPPIPrinter(*args
, **kwargs
)
3246 def GetPPIPrinter(*args
, **kwargs
):
3247 """GetPPIPrinter() -> (x,y)"""
3248 return _windows
.Printout_GetPPIPrinter(*args
, **kwargs
)
3250 def IsPreview(*args
, **kwargs
):
3251 """IsPreview() -> bool"""
3252 return _windows
.Printout_IsPreview(*args
, **kwargs
)
3254 def SetIsPreview(*args
, **kwargs
):
3255 """SetIsPreview(bool p)"""
3256 return _windows
.Printout_SetIsPreview(*args
, **kwargs
)
3258 def base_OnBeginDocument(*args
, **kwargs
):
3259 """base_OnBeginDocument(int startPage, int endPage) -> bool"""
3260 return _windows
.Printout_base_OnBeginDocument(*args
, **kwargs
)
3262 def base_OnEndDocument(*args
, **kwargs
):
3263 """base_OnEndDocument()"""
3264 return _windows
.Printout_base_OnEndDocument(*args
, **kwargs
)
3266 def base_OnBeginPrinting(*args
, **kwargs
):
3267 """base_OnBeginPrinting()"""
3268 return _windows
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
3270 def base_OnEndPrinting(*args
, **kwargs
):
3271 """base_OnEndPrinting()"""
3272 return _windows
.Printout_base_OnEndPrinting(*args
, **kwargs
)
3274 def base_OnPreparePrinting(*args
, **kwargs
):
3275 """base_OnPreparePrinting()"""
3276 return _windows
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
3278 def base_HasPage(*args
, **kwargs
):
3279 """base_HasPage(int page) -> bool"""
3280 return _windows
.Printout_base_HasPage(*args
, **kwargs
)
3282 def base_GetPageInfo(*args
, **kwargs
):
3283 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
3284 return _windows
.Printout_base_GetPageInfo(*args
, **kwargs
)
3287 class PrintoutPtr(Printout
):
3288 def __init__(self
, this
):
3290 if not hasattr(self
,"thisown"): self
.thisown
= 0
3291 self
.__class
__ = Printout
3292 _windows
.Printout_swigregister(PrintoutPtr
)
3294 class PreviewCanvas(ScrolledWindow
):
3296 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3297 def __init__(self
, *args
, **kwargs
):
3299 __init__(PrintPreview preview, Window parent, Point pos=DefaultPosition,
3300 Size size=DefaultSize, long style=0,
3301 wxString name=wxPyPreviewCanvasNameStr) -> PreviewCanvas
3303 newobj
= _windows
.new_PreviewCanvas(*args
, **kwargs
)
3304 self
.this
= newobj
.this
3307 self
._setOORInfo
(self
)
3310 class PreviewCanvasPtr(PreviewCanvas
):
3311 def __init__(self
, this
):
3313 if not hasattr(self
,"thisown"): self
.thisown
= 0
3314 self
.__class
__ = PreviewCanvas
3315 _windows
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
3317 class PreviewFrame(Frame
):
3319 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3320 def __init__(self
, *args
, **kwargs
):
3322 __init__(PrintPreview preview, Frame parent, wxString title,
3323 Point pos=DefaultPosition, Size size=DefaultSize,
3324 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PreviewFrame
3326 newobj
= _windows
.new_PreviewFrame(*args
, **kwargs
)
3327 self
.this
= newobj
.this
3330 self
._setOORInfo
(self
)
3332 def Initialize(*args
, **kwargs
):
3334 return _windows
.PreviewFrame_Initialize(*args
, **kwargs
)
3336 def CreateControlBar(*args
, **kwargs
):
3337 """CreateControlBar()"""
3338 return _windows
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
3340 def CreateCanvas(*args
, **kwargs
):
3341 """CreateCanvas()"""
3342 return _windows
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
3344 def GetControlBar(*args
, **kwargs
):
3345 """GetControlBar() -> PreviewControlBar"""
3346 return _windows
.PreviewFrame_GetControlBar(*args
, **kwargs
)
3349 class PreviewFramePtr(PreviewFrame
):
3350 def __init__(self
, this
):
3352 if not hasattr(self
,"thisown"): self
.thisown
= 0
3353 self
.__class
__ = PreviewFrame
3354 _windows
.PreviewFrame_swigregister(PreviewFramePtr
)
3356 PREVIEW_PRINT
= _windows
.PREVIEW_PRINT
3357 PREVIEW_PREVIOUS
= _windows
.PREVIEW_PREVIOUS
3358 PREVIEW_NEXT
= _windows
.PREVIEW_NEXT
3359 PREVIEW_ZOOM
= _windows
.PREVIEW_ZOOM
3360 PREVIEW_FIRST
= _windows
.PREVIEW_FIRST
3361 PREVIEW_LAST
= _windows
.PREVIEW_LAST
3362 PREVIEW_GOTO
= _windows
.PREVIEW_GOTO
3363 PREVIEW_DEFAULT
= _windows
.PREVIEW_DEFAULT
3364 ID_PREVIEW_CLOSE
= _windows
.ID_PREVIEW_CLOSE
3365 ID_PREVIEW_NEXT
= _windows
.ID_PREVIEW_NEXT
3366 ID_PREVIEW_PREVIOUS
= _windows
.ID_PREVIEW_PREVIOUS
3367 ID_PREVIEW_PRINT
= _windows
.ID_PREVIEW_PRINT
3368 ID_PREVIEW_ZOOM
= _windows
.ID_PREVIEW_ZOOM
3369 ID_PREVIEW_FIRST
= _windows
.ID_PREVIEW_FIRST
3370 ID_PREVIEW_LAST
= _windows
.ID_PREVIEW_LAST
3371 ID_PREVIEW_GOTO
= _windows
.ID_PREVIEW_GOTO
3372 class PreviewControlBar(Panel
):
3374 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3375 def __init__(self
, *args
, **kwargs
):
3377 __init__(PrintPreview preview, long buttons, Window parent,
3378 Point pos=DefaultPosition, Size size=DefaultSize,
3379 long style=TAB_TRAVERSAL, wxString name=PanelNameStr) -> PreviewControlBar
3381 newobj
= _windows
.new_PreviewControlBar(*args
, **kwargs
)
3382 self
.this
= newobj
.this
3385 self
._setOORInfo
(self
)
3387 def GetZoomControl(*args
, **kwargs
):
3388 """GetZoomControl() -> int"""
3389 return _windows
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
3391 def SetZoomControl(*args
, **kwargs
):
3392 """SetZoomControl(int zoom)"""
3393 return _windows
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
3395 def GetPrintPreview(*args
, **kwargs
):
3396 """GetPrintPreview() -> PrintPreview"""
3397 return _windows
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
3399 def OnNext(*args
, **kwargs
):
3401 return _windows
.PreviewControlBar_OnNext(*args
, **kwargs
)
3403 def OnPrevious(*args
, **kwargs
):
3405 return _windows
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
3407 def OnFirst(*args
, **kwargs
):
3409 return _windows
.PreviewControlBar_OnFirst(*args
, **kwargs
)
3411 def OnLast(*args
, **kwargs
):
3413 return _windows
.PreviewControlBar_OnLast(*args
, **kwargs
)
3415 def OnGoto(*args
, **kwargs
):
3417 return _windows
.PreviewControlBar_OnGoto(*args
, **kwargs
)
3420 class PreviewControlBarPtr(PreviewControlBar
):
3421 def __init__(self
, this
):
3423 if not hasattr(self
,"thisown"): self
.thisown
= 0
3424 self
.__class
__ = PreviewControlBar
3425 _windows
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
3427 class PrintPreview(core
.Object
):
3429 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3430 def __init__(self
, *args
, **kwargs
):
3431 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PrintPreview"""
3432 newobj
= _windows
.new_PrintPreview(*args
, **kwargs
)
3433 self
.this
= newobj
.this
3436 def SetCurrentPage(*args
, **kwargs
):
3437 """SetCurrentPage(int pageNum) -> bool"""
3438 return _windows
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
3440 def GetCurrentPage(*args
, **kwargs
):
3441 """GetCurrentPage() -> int"""
3442 return _windows
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
3444 def SetPrintout(*args
, **kwargs
):
3445 """SetPrintout(Printout printout)"""
3446 return _windows
.PrintPreview_SetPrintout(*args
, **kwargs
)
3448 def GetPrintout(*args
, **kwargs
):
3449 """GetPrintout() -> Printout"""
3450 return _windows
.PrintPreview_GetPrintout(*args
, **kwargs
)
3452 def GetPrintoutForPrinting(*args
, **kwargs
):
3453 """GetPrintoutForPrinting() -> Printout"""
3454 return _windows
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
3456 def SetFrame(*args
, **kwargs
):
3457 """SetFrame(Frame frame)"""
3458 return _windows
.PrintPreview_SetFrame(*args
, **kwargs
)
3460 def SetCanvas(*args
, **kwargs
):
3461 """SetCanvas(PreviewCanvas canvas)"""
3462 return _windows
.PrintPreview_SetCanvas(*args
, **kwargs
)
3464 def GetFrame(*args
, **kwargs
):
3465 """GetFrame() -> Frame"""
3466 return _windows
.PrintPreview_GetFrame(*args
, **kwargs
)
3468 def GetCanvas(*args
, **kwargs
):
3469 """GetCanvas() -> PreviewCanvas"""
3470 return _windows
.PrintPreview_GetCanvas(*args
, **kwargs
)
3472 def PaintPage(*args
, **kwargs
):
3473 """PaintPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3474 return _windows
.PrintPreview_PaintPage(*args
, **kwargs
)
3476 def DrawBlankPage(*args
, **kwargs
):
3477 """DrawBlankPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3478 return _windows
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
3480 def RenderPage(*args
, **kwargs
):
3481 """RenderPage(int pageNum) -> bool"""
3482 return _windows
.PrintPreview_RenderPage(*args
, **kwargs
)
3484 def AdjustScrollbars(*args
, **kwargs
):
3485 """AdjustScrollbars(PreviewCanvas canvas)"""
3486 return _windows
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
3488 def GetPrintDialogData(*args
, **kwargs
):
3489 """GetPrintDialogData() -> PrintDialogData"""
3490 return _windows
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
3492 def SetZoom(*args
, **kwargs
):
3493 """SetZoom(int percent)"""
3494 return _windows
.PrintPreview_SetZoom(*args
, **kwargs
)
3496 def GetZoom(*args
, **kwargs
):
3497 """GetZoom() -> int"""
3498 return _windows
.PrintPreview_GetZoom(*args
, **kwargs
)
3500 def GetMaxPage(*args
, **kwargs
):
3501 """GetMaxPage() -> int"""
3502 return _windows
.PrintPreview_GetMaxPage(*args
, **kwargs
)
3504 def GetMinPage(*args
, **kwargs
):
3505 """GetMinPage() -> int"""
3506 return _windows
.PrintPreview_GetMinPage(*args
, **kwargs
)
3508 def Ok(*args
, **kwargs
):
3510 return _windows
.PrintPreview_Ok(*args
, **kwargs
)
3512 def SetOk(*args
, **kwargs
):
3513 """SetOk(bool ok)"""
3514 return _windows
.PrintPreview_SetOk(*args
, **kwargs
)
3516 def Print(*args
, **kwargs
):
3517 """Print(bool interactive) -> bool"""
3518 return _windows
.PrintPreview_Print(*args
, **kwargs
)
3520 def DetermineScaling(*args
, **kwargs
):
3521 """DetermineScaling()"""
3522 return _windows
.PrintPreview_DetermineScaling(*args
, **kwargs
)
3524 def __nonzero__(self
): return self
.Ok()
3526 class PrintPreviewPtr(PrintPreview
):
3527 def __init__(self
, this
):
3529 if not hasattr(self
,"thisown"): self
.thisown
= 0
3530 self
.__class
__ = PrintPreview
3531 _windows
.PrintPreview_swigregister(PrintPreviewPtr
)
3533 class PyPrintPreview(PrintPreview
):
3535 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3536 def __init__(self
, *args
, **kwargs
):
3537 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PyPrintPreview"""
3538 newobj
= _windows
.new_PyPrintPreview(*args
, **kwargs
)
3539 self
.this
= newobj
.this
3542 self
._setCallbackInfo
(self
, PyPrintPreview
)
3544 def _setCallbackInfo(*args
, **kwargs
):
3545 """_setCallbackInfo(PyObject self, PyObject _class)"""
3546 return _windows
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
3548 def base_SetCurrentPage(*args
, **kwargs
):
3549 """base_SetCurrentPage(int pageNum) -> bool"""
3550 return _windows
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
3552 def base_PaintPage(*args
, **kwargs
):
3553 """base_PaintPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3554 return _windows
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
3556 def base_DrawBlankPage(*args
, **kwargs
):
3557 """base_DrawBlankPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3558 return _windows
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
3560 def base_RenderPage(*args
, **kwargs
):
3561 """base_RenderPage(int pageNum) -> bool"""
3562 return _windows
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
3564 def base_SetZoom(*args
, **kwargs
):
3565 """base_SetZoom(int percent)"""
3566 return _windows
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
3568 def base_Print(*args
, **kwargs
):
3569 """base_Print(bool interactive) -> bool"""
3570 return _windows
.PyPrintPreview_base_Print(*args
, **kwargs
)
3572 def base_DetermineScaling(*args
, **kwargs
):
3573 """base_DetermineScaling()"""
3574 return _windows
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
3577 class PyPrintPreviewPtr(PyPrintPreview
):
3578 def __init__(self
, this
):
3580 if not hasattr(self
,"thisown"): self
.thisown
= 0
3581 self
.__class
__ = PyPrintPreview
3582 _windows
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
3584 class PyPreviewFrame(PreviewFrame
):
3586 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3587 def __init__(self
, *args
, **kwargs
):
3589 __init__(PrintPreview preview, Frame parent, wxString title,
3590 Point pos=DefaultPosition, Size size=DefaultSize,
3591 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PyPreviewFrame
3593 newobj
= _windows
.new_PyPreviewFrame(*args
, **kwargs
)
3594 self
.this
= newobj
.this
3597 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
3599 def _setCallbackInfo(*args
, **kwargs
):
3600 """_setCallbackInfo(PyObject self, PyObject _class)"""
3601 return _windows
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
3603 def SetPreviewCanvas(*args
, **kwargs
):
3604 """SetPreviewCanvas(PreviewCanvas canvas)"""
3605 return _windows
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
3607 def SetControlBar(*args
, **kwargs
):
3608 """SetControlBar(PreviewControlBar bar)"""
3609 return _windows
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
3611 def base_Initialize(*args
, **kwargs
):
3612 """base_Initialize()"""
3613 return _windows
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
3615 def base_CreateCanvas(*args
, **kwargs
):
3616 """base_CreateCanvas()"""
3617 return _windows
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
3619 def base_CreateControlBar(*args
, **kwargs
):
3620 """base_CreateControlBar()"""
3621 return _windows
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
3624 class PyPreviewFramePtr(PyPreviewFrame
):
3625 def __init__(self
, this
):
3627 if not hasattr(self
,"thisown"): self
.thisown
= 0
3628 self
.__class
__ = PyPreviewFrame
3629 _windows
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
3631 class PyPreviewControlBar(PreviewControlBar
):
3633 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3634 def __init__(self
, *args
, **kwargs
):
3636 __init__(PrintPreview preview, long buttons, Window parent,
3637 Point pos=DefaultPosition, Size size=DefaultSize,
3638 long style=0, wxString name=PanelNameStr) -> PyPreviewControlBar
3640 newobj
= _windows
.new_PyPreviewControlBar(*args
, **kwargs
)
3641 self
.this
= newobj
.this
3644 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
3646 def _setCallbackInfo(*args
, **kwargs
):
3647 """_setCallbackInfo(PyObject self, PyObject _class)"""
3648 return _windows
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
3650 def SetPrintPreview(*args
, **kwargs
):
3651 """SetPrintPreview(PrintPreview preview)"""
3652 return _windows
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
3654 def base_CreateButtons(*args
, **kwargs
):
3655 """base_CreateButtons()"""
3656 return _windows
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
3658 def base_SetZoomControl(*args
, **kwargs
):
3659 """base_SetZoomControl(int zoom)"""
3660 return _windows
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
3663 class PyPreviewControlBarPtr(PyPreviewControlBar
):
3664 def __init__(self
, this
):
3666 if not hasattr(self
,"thisown"): self
.thisown
= 0
3667 self
.__class
__ = PyPreviewControlBar
3668 _windows
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)