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
)
166 class ScrolledWindowPtr(ScrolledWindow
):
167 def __init__(self
, this
):
169 if not hasattr(self
,"thisown"): self
.thisown
= 0
170 self
.__class
__ = ScrolledWindow
171 _windows
.ScrolledWindow_swigregister(ScrolledWindowPtr
)
173 def PreScrolledWindow(*args
, **kwargs
):
174 """PreScrolledWindow() -> ScrolledWindow"""
175 val
= _windows
.new_PreScrolledWindow(*args
, **kwargs
)
179 #---------------------------------------------------------------------------
181 FULLSCREEN_NOMENUBAR
= _windows
.FULLSCREEN_NOMENUBAR
182 FULLSCREEN_NOTOOLBAR
= _windows
.FULLSCREEN_NOTOOLBAR
183 FULLSCREEN_NOSTATUSBAR
= _windows
.FULLSCREEN_NOSTATUSBAR
184 FULLSCREEN_NOBORDER
= _windows
.FULLSCREEN_NOBORDER
185 FULLSCREEN_NOCAPTION
= _windows
.FULLSCREEN_NOCAPTION
186 FULLSCREEN_ALL
= _windows
.FULLSCREEN_ALL
187 TOPLEVEL_EX_DIALOG
= _windows
.TOPLEVEL_EX_DIALOG
188 class TopLevelWindow(core
.Window
):
189 def __init__(self
): raise RuntimeError, "No constructor defined"
191 return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
192 def Maximize(*args
, **kwargs
):
193 """Maximize(bool maximize=True)"""
194 return _windows
.TopLevelWindow_Maximize(*args
, **kwargs
)
196 def Restore(*args
, **kwargs
):
198 return _windows
.TopLevelWindow_Restore(*args
, **kwargs
)
200 def Iconize(*args
, **kwargs
):
201 """Iconize(bool iconize=True)"""
202 return _windows
.TopLevelWindow_Iconize(*args
, **kwargs
)
204 def IsMaximized(*args
, **kwargs
):
205 """IsMaximized() -> bool"""
206 return _windows
.TopLevelWindow_IsMaximized(*args
, **kwargs
)
208 def IsIconized(*args
, **kwargs
):
209 """IsIconized() -> bool"""
210 return _windows
.TopLevelWindow_IsIconized(*args
, **kwargs
)
212 def GetIcon(*args
, **kwargs
):
213 """GetIcon() -> wxIcon"""
214 return _windows
.TopLevelWindow_GetIcon(*args
, **kwargs
)
216 def SetIcon(*args
, **kwargs
):
217 """SetIcon(wxIcon icon)"""
218 return _windows
.TopLevelWindow_SetIcon(*args
, **kwargs
)
220 def SetIcons(*args
, **kwargs
):
221 """SetIcons(wxIconBundle icons)"""
222 return _windows
.TopLevelWindow_SetIcons(*args
, **kwargs
)
224 def ShowFullScreen(*args
, **kwargs
):
225 """ShowFullScreen(bool show, long style=FULLSCREEN_ALL) -> bool"""
226 return _windows
.TopLevelWindow_ShowFullScreen(*args
, **kwargs
)
228 def IsFullScreen(*args
, **kwargs
):
229 """IsFullScreen() -> bool"""
230 return _windows
.TopLevelWindow_IsFullScreen(*args
, **kwargs
)
232 def SetTitle(*args
, **kwargs
):
233 """SetTitle(wxString title)"""
234 return _windows
.TopLevelWindow_SetTitle(*args
, **kwargs
)
236 def GetTitle(*args
, **kwargs
):
237 """GetTitle() -> wxString"""
238 return _windows
.TopLevelWindow_GetTitle(*args
, **kwargs
)
240 def SetShape(*args
, **kwargs
):
241 """SetShape(wxRegion region) -> bool"""
242 return _windows
.TopLevelWindow_SetShape(*args
, **kwargs
)
245 class TopLevelWindowPtr(TopLevelWindow
):
246 def __init__(self
, this
):
248 if not hasattr(self
,"thisown"): self
.thisown
= 0
249 self
.__class
__ = TopLevelWindow
250 _windows
.TopLevelWindow_swigregister(TopLevelWindowPtr
)
252 #---------------------------------------------------------------------------
254 class Frame(TopLevelWindow
):
256 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
257 def __init__(self
, *args
, **kwargs
):
259 __init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
260 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
261 wxString name=wxPyFrameNameStr) -> Frame
263 newobj
= _windows
.new_Frame(*args
, **kwargs
)
264 self
.this
= newobj
.this
267 self
._setOORInfo
(self
)
269 def Create(*args
, **kwargs
):
271 Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
272 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
273 wxString name=wxPyFrameNameStr) -> bool
275 return _windows
.Frame_Create(*args
, **kwargs
)
277 def GetClientAreaOrigin(*args
, **kwargs
):
278 """GetClientAreaOrigin() -> Point"""
279 return _windows
.Frame_GetClientAreaOrigin(*args
, **kwargs
)
281 def SendSizeEvent(*args
, **kwargs
):
282 """SendSizeEvent()"""
283 return _windows
.Frame_SendSizeEvent(*args
, **kwargs
)
285 def SetMenuBar(*args
, **kwargs
):
286 """SetMenuBar(MenuBar menubar)"""
287 return _windows
.Frame_SetMenuBar(*args
, **kwargs
)
289 def GetMenuBar(*args
, **kwargs
):
290 """GetMenuBar() -> MenuBar"""
291 return _windows
.Frame_GetMenuBar(*args
, **kwargs
)
293 def ProcessCommand(*args
, **kwargs
):
294 """ProcessCommand(int winid) -> bool"""
295 return _windows
.Frame_ProcessCommand(*args
, **kwargs
)
297 Command
= ProcessCommand
298 def CreateStatusBar(*args
, **kwargs
):
300 CreateStatusBar(int number=1, long style=ST_SIZEGRIP, int winid=0,
301 wxString name=wxPyStatusLineNameStr) -> StatusBar
303 return _windows
.Frame_CreateStatusBar(*args
, **kwargs
)
305 def GetStatusBar(*args
, **kwargs
):
306 """GetStatusBar() -> StatusBar"""
307 return _windows
.Frame_GetStatusBar(*args
, **kwargs
)
309 def SetStatusBar(*args
, **kwargs
):
310 """SetStatusBar(StatusBar statBar)"""
311 return _windows
.Frame_SetStatusBar(*args
, **kwargs
)
313 def SetStatusText(*args
, **kwargs
):
314 """SetStatusText(wxString text, int number=0)"""
315 return _windows
.Frame_SetStatusText(*args
, **kwargs
)
317 def SetStatusWidths(*args
, **kwargs
):
318 """SetStatusWidths(int widths, int widths_field)"""
319 return _windows
.Frame_SetStatusWidths(*args
, **kwargs
)
321 def PushStatusText(*args
, **kwargs
):
322 """PushStatusText(wxString text, int number=0)"""
323 return _windows
.Frame_PushStatusText(*args
, **kwargs
)
325 def PopStatusText(*args
, **kwargs
):
326 """PopStatusText(int number=0)"""
327 return _windows
.Frame_PopStatusText(*args
, **kwargs
)
329 def SetStatusBarPane(*args
, **kwargs
):
330 """SetStatusBarPane(int n)"""
331 return _windows
.Frame_SetStatusBarPane(*args
, **kwargs
)
333 def GetStatusBarPane(*args
, **kwargs
):
334 """GetStatusBarPane() -> int"""
335 return _windows
.Frame_GetStatusBarPane(*args
, **kwargs
)
337 def CreateToolBar(*args
, **kwargs
):
338 """CreateToolBar(long style=-1, int winid=-1, wxString name=wxPyToolBarNameStr) -> wxToolBar"""
339 return _windows
.Frame_CreateToolBar(*args
, **kwargs
)
341 def GetToolBar(*args
, **kwargs
):
342 """GetToolBar() -> wxToolBar"""
343 return _windows
.Frame_GetToolBar(*args
, **kwargs
)
345 def SetToolBar(*args
, **kwargs
):
346 """SetToolBar(wxToolBar toolbar)"""
347 return _windows
.Frame_SetToolBar(*args
, **kwargs
)
349 def DoGiveHelp(*args
, **kwargs
):
350 """DoGiveHelp(wxString text, bool show)"""
351 return _windows
.Frame_DoGiveHelp(*args
, **kwargs
)
353 def DoMenuUpdates(*args
, **kwargs
):
354 """DoMenuUpdates(Menu menu=None)"""
355 return _windows
.Frame_DoMenuUpdates(*args
, **kwargs
)
358 class FramePtr(Frame
):
359 def __init__(self
, this
):
361 if not hasattr(self
,"thisown"): self
.thisown
= 0
362 self
.__class
__ = Frame
363 _windows
.Frame_swigregister(FramePtr
)
365 def PreFrame(*args
, **kwargs
):
366 """PreFrame() -> Frame"""
367 val
= _windows
.new_PreFrame(*args
, **kwargs
)
371 #---------------------------------------------------------------------------
373 class Dialog(TopLevelWindow
):
375 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
376 def __init__(self
, *args
, **kwargs
):
378 __init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
379 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
380 wxString name=wxPyDialogNameStr) -> Dialog
382 newobj
= _windows
.new_Dialog(*args
, **kwargs
)
383 self
.this
= newobj
.this
386 self
._setOORInfo
(self
)
388 def Create(*args
, **kwargs
):
390 Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
391 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
392 wxString name=wxPyDialogNameStr) -> bool
394 return _windows
.Dialog_Create(*args
, **kwargs
)
396 def SetReturnCode(*args
, **kwargs
):
397 """SetReturnCode(int returnCode)"""
398 return _windows
.Dialog_SetReturnCode(*args
, **kwargs
)
400 def GetReturnCode(*args
, **kwargs
):
401 """GetReturnCode() -> int"""
402 return _windows
.Dialog_GetReturnCode(*args
, **kwargs
)
404 def CreateTextSizer(*args
, **kwargs
):
405 """CreateTextSizer(wxString message) -> Sizer"""
406 return _windows
.Dialog_CreateTextSizer(*args
, **kwargs
)
408 def CreateButtonSizer(*args
, **kwargs
):
409 """CreateButtonSizer(long flags) -> Sizer"""
410 return _windows
.Dialog_CreateButtonSizer(*args
, **kwargs
)
412 def SetModal(*args
, **kwargs
):
413 """SetModal(bool flag)"""
414 return _windows
.Dialog_SetModal(*args
, **kwargs
)
416 def IsModal(*args
, **kwargs
):
417 """IsModal() -> bool"""
418 return _windows
.Dialog_IsModal(*args
, **kwargs
)
420 def ShowModal(*args
, **kwargs
):
421 """ShowModal() -> int"""
422 return _windows
.Dialog_ShowModal(*args
, **kwargs
)
424 def EndModal(*args
, **kwargs
):
425 """EndModal(int retCode)"""
426 return _windows
.Dialog_EndModal(*args
, **kwargs
)
428 def IsModalShowing(*args
, **kwargs
):
429 """IsModalShowing() -> bool"""
430 return _windows
.Dialog_IsModalShowing(*args
, **kwargs
)
433 class DialogPtr(Dialog
):
434 def __init__(self
, this
):
436 if not hasattr(self
,"thisown"): self
.thisown
= 0
437 self
.__class
__ = Dialog
438 _windows
.Dialog_swigregister(DialogPtr
)
440 def PreDialog(*args
, **kwargs
):
441 """PreDialog() -> Dialog"""
442 val
= _windows
.new_PreDialog(*args
, **kwargs
)
446 #---------------------------------------------------------------------------
448 class MiniFrame(Frame
):
450 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
451 def __init__(self
, *args
, **kwargs
):
453 __init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
454 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
455 wxString name=wxPyFrameNameStr) -> MiniFrame
457 newobj
= _windows
.new_MiniFrame(*args
, **kwargs
)
458 self
.this
= newobj
.this
461 self
._setOORInfo
(self
)
463 def Create(*args
, **kwargs
):
465 Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
466 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
467 wxString name=wxPyFrameNameStr) -> bool
469 return _windows
.MiniFrame_Create(*args
, **kwargs
)
472 class MiniFramePtr(MiniFrame
):
473 def __init__(self
, this
):
475 if not hasattr(self
,"thisown"): self
.thisown
= 0
476 self
.__class
__ = MiniFrame
477 _windows
.MiniFrame_swigregister(MiniFramePtr
)
479 def PreMiniFrame(*args
, **kwargs
):
480 """PreMiniFrame() -> MiniFrame"""
481 val
= _windows
.new_PreMiniFrame(*args
, **kwargs
)
485 #---------------------------------------------------------------------------
487 SPLASH_CENTRE_ON_PARENT
= _windows
.SPLASH_CENTRE_ON_PARENT
488 SPLASH_CENTRE_ON_SCREEN
= _windows
.SPLASH_CENTRE_ON_SCREEN
489 SPLASH_NO_CENTRE
= _windows
.SPLASH_NO_CENTRE
490 SPLASH_TIMEOUT
= _windows
.SPLASH_TIMEOUT
491 SPLASH_NO_TIMEOUT
= _windows
.SPLASH_NO_TIMEOUT
492 class SplashScreenWindow(core
.Window
):
494 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
495 def __init__(self
, *args
, **kwargs
):
497 __init__(wxBitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
498 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
500 newobj
= _windows
.new_SplashScreenWindow(*args
, **kwargs
)
501 self
.this
= newobj
.this
504 self
._setOORInfo
(self
)
506 def SetBitmap(*args
, **kwargs
):
507 """SetBitmap(wxBitmap bitmap)"""
508 return _windows
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
510 def GetBitmap(*args
, **kwargs
):
511 """GetBitmap() -> wxBitmap"""
512 return _windows
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
515 class SplashScreenWindowPtr(SplashScreenWindow
):
516 def __init__(self
, this
):
518 if not hasattr(self
,"thisown"): self
.thisown
= 0
519 self
.__class
__ = SplashScreenWindow
520 _windows
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
522 class SplashScreen(Frame
):
524 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
525 def __init__(self
, *args
, **kwargs
):
527 __init__(wxBitmap bitmap, long splashStyle, int milliseconds,
528 Window parent, int id, Point pos=DefaultPosition,
529 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
531 newobj
= _windows
.new_SplashScreen(*args
, **kwargs
)
532 self
.this
= newobj
.this
535 self
._setOORInfo
(self
)
537 def GetSplashStyle(*args
, **kwargs
):
538 """GetSplashStyle() -> long"""
539 return _windows
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
541 def GetSplashWindow(*args
, **kwargs
):
542 """GetSplashWindow() -> SplashScreenWindow"""
543 return _windows
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
545 def GetTimeout(*args
, **kwargs
):
546 """GetTimeout() -> int"""
547 return _windows
.SplashScreen_GetTimeout(*args
, **kwargs
)
550 class SplashScreenPtr(SplashScreen
):
551 def __init__(self
, this
):
553 if not hasattr(self
,"thisown"): self
.thisown
= 0
554 self
.__class
__ = SplashScreen
555 _windows
.SplashScreen_swigregister(SplashScreenPtr
)
557 #---------------------------------------------------------------------------
559 class StatusBar(core
.Window
):
561 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
562 def __init__(self
, *args
, **kwargs
):
563 """__init__(Window parent, int id=-1, long style=ST_SIZEGRIP, wxString name=wxPyStatusLineNameStr) -> StatusBar"""
564 newobj
= _windows
.new_StatusBar(*args
, **kwargs
)
565 self
.this
= newobj
.this
568 self
._setOORInfo
(self
)
570 def Create(*args
, **kwargs
):
571 """Create(Window parent, int id, long style=ST_SIZEGRIP, wxString name=wxPyStatusLineNameStr) -> bool"""
572 return _windows
.StatusBar_Create(*args
, **kwargs
)
574 def SetFieldsCount(*args
, **kwargs
):
575 """SetFieldsCount(int number=1)"""
576 return _windows
.StatusBar_SetFieldsCount(*args
, **kwargs
)
578 def GetFieldsCount(*args
, **kwargs
):
579 """GetFieldsCount() -> int"""
580 return _windows
.StatusBar_GetFieldsCount(*args
, **kwargs
)
582 def SetStatusText(*args
, **kwargs
):
583 """SetStatusText(wxString text, int number=0)"""
584 return _windows
.StatusBar_SetStatusText(*args
, **kwargs
)
586 def GetStatusText(*args
, **kwargs
):
587 """GetStatusText(int number=0) -> wxString"""
588 return _windows
.StatusBar_GetStatusText(*args
, **kwargs
)
590 def PushStatusText(*args
, **kwargs
):
591 """PushStatusText(wxString text, int number=0)"""
592 return _windows
.StatusBar_PushStatusText(*args
, **kwargs
)
594 def PopStatusText(*args
, **kwargs
):
595 """PopStatusText(int number=0)"""
596 return _windows
.StatusBar_PopStatusText(*args
, **kwargs
)
598 def SetStatusWidths(*args
, **kwargs
):
599 """SetStatusWidths(int widths, int widths_field)"""
600 return _windows
.StatusBar_SetStatusWidths(*args
, **kwargs
)
602 def GetFieldRect(*args
, **kwargs
):
603 """GetFieldRect(int i) -> Rect"""
604 return _windows
.StatusBar_GetFieldRect(*args
, **kwargs
)
606 def SetMinHeight(*args
, **kwargs
):
607 """SetMinHeight(int height)"""
608 return _windows
.StatusBar_SetMinHeight(*args
, **kwargs
)
610 def GetBorderX(*args
, **kwargs
):
611 """GetBorderX() -> int"""
612 return _windows
.StatusBar_GetBorderX(*args
, **kwargs
)
614 def GetBorderY(*args
, **kwargs
):
615 """GetBorderY() -> int"""
616 return _windows
.StatusBar_GetBorderY(*args
, **kwargs
)
619 class StatusBarPtr(StatusBar
):
620 def __init__(self
, this
):
622 if not hasattr(self
,"thisown"): self
.thisown
= 0
623 self
.__class
__ = StatusBar
624 _windows
.StatusBar_swigregister(StatusBarPtr
)
626 def PreStatusBar(*args
, **kwargs
):
627 """PreStatusBar() -> StatusBar"""
628 val
= _windows
.new_PreStatusBar(*args
, **kwargs
)
632 #---------------------------------------------------------------------------
634 SP_NOBORDER
= _windows
.SP_NOBORDER
635 SP_NOSASH
= _windows
.SP_NOSASH
636 SP_PERMIT_UNSPLIT
= _windows
.SP_PERMIT_UNSPLIT
637 SP_LIVE_UPDATE
= _windows
.SP_LIVE_UPDATE
638 SP_3DSASH
= _windows
.SP_3DSASH
639 SP_3DBORDER
= _windows
.SP_3DBORDER
640 SP_BORDER
= _windows
.SP_BORDER
641 SP_3D
= _windows
.SP_3D
642 SPLIT_HORIZONTAL
= _windows
.SPLIT_HORIZONTAL
643 SPLIT_VERTICAL
= _windows
.SPLIT_VERTICAL
644 SPLIT_DRAG_NONE
= _windows
.SPLIT_DRAG_NONE
645 SPLIT_DRAG_DRAGGING
= _windows
.SPLIT_DRAG_DRAGGING
646 SPLIT_DRAG_LEFT_DOWN
= _windows
.SPLIT_DRAG_LEFT_DOWN
647 class SplitterWindow(core
.Window
):
649 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
650 def __init__(self
, *args
, **kwargs
):
652 __init__(Window parent, int id, Point point=DefaultPosition,
653 Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> SplitterWindow
655 newobj
= _windows
.new_SplitterWindow(*args
, **kwargs
)
656 self
.this
= newobj
.this
659 self
._setOORInfo
(self
)
661 def Create(*args
, **kwargs
):
663 Create(Window parent, int id, Point point=DefaultPosition,
664 Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> bool
666 return _windows
.SplitterWindow_Create(*args
, **kwargs
)
668 def GetWindow1(*args
, **kwargs
):
669 """GetWindow1() -> Window"""
670 return _windows
.SplitterWindow_GetWindow1(*args
, **kwargs
)
672 def GetWindow2(*args
, **kwargs
):
673 """GetWindow2() -> Window"""
674 return _windows
.SplitterWindow_GetWindow2(*args
, **kwargs
)
676 def SetSplitMode(*args
, **kwargs
):
677 """SetSplitMode(int mode)"""
678 return _windows
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
680 def GetSplitMode(*args
, **kwargs
):
681 """GetSplitMode() -> wxSplitMode"""
682 return _windows
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
684 def Initialize(*args
, **kwargs
):
685 """Initialize(Window window)"""
686 return _windows
.SplitterWindow_Initialize(*args
, **kwargs
)
688 def SplitVertically(*args
, **kwargs
):
689 """SplitVertically(Window window1, Window window2, int sashPosition=0) -> bool"""
690 return _windows
.SplitterWindow_SplitVertically(*args
, **kwargs
)
692 def SplitHorizontally(*args
, **kwargs
):
693 """SplitHorizontally(Window window1, Window window2, int sashPosition=0) -> bool"""
694 return _windows
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
696 def Unsplit(*args
, **kwargs
):
697 """Unsplit(Window toRemove=None) -> bool"""
698 return _windows
.SplitterWindow_Unsplit(*args
, **kwargs
)
700 def ReplaceWindow(*args
, **kwargs
):
701 """ReplaceWindow(Window winOld, Window winNew) -> bool"""
702 return _windows
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
704 def IsSplit(*args
, **kwargs
):
705 """IsSplit() -> bool"""
706 return _windows
.SplitterWindow_IsSplit(*args
, **kwargs
)
708 def SetSashSize(*args
, **kwargs
):
709 """SetSashSize(int width)"""
710 return _windows
.SplitterWindow_SetSashSize(*args
, **kwargs
)
712 def SetBorderSize(*args
, **kwargs
):
713 """SetBorderSize(int width)"""
714 return _windows
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
716 def GetSashSize(*args
, **kwargs
):
717 """GetSashSize() -> int"""
718 return _windows
.SplitterWindow_GetSashSize(*args
, **kwargs
)
720 def GetBorderSize(*args
, **kwargs
):
721 """GetBorderSize() -> int"""
722 return _windows
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
724 def SetSashPosition(*args
, **kwargs
):
725 """SetSashPosition(int position, bool redraw=True)"""
726 return _windows
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
728 def GetSashPosition(*args
, **kwargs
):
729 """GetSashPosition() -> int"""
730 return _windows
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
732 def SetMinimumPaneSize(*args
, **kwargs
):
733 """SetMinimumPaneSize(int min)"""
734 return _windows
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
736 def GetMinimumPaneSize(*args
, **kwargs
):
737 """GetMinimumPaneSize() -> int"""
738 return _windows
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
740 def SashHitTest(*args
, **kwargs
):
741 """SashHitTest(int x, int y, int tolerance=5) -> bool"""
742 return _windows
.SplitterWindow_SashHitTest(*args
, **kwargs
)
744 def SizeWindows(*args
, **kwargs
):
746 return _windows
.SplitterWindow_SizeWindows(*args
, **kwargs
)
748 def SetNeedUpdating(*args
, **kwargs
):
749 """SetNeedUpdating(bool needUpdating)"""
750 return _windows
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
752 def GetNeedUpdating(*args
, **kwargs
):
753 """GetNeedUpdating() -> bool"""
754 return _windows
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
757 class SplitterWindowPtr(SplitterWindow
):
758 def __init__(self
, this
):
760 if not hasattr(self
,"thisown"): self
.thisown
= 0
761 self
.__class
__ = SplitterWindow
762 _windows
.SplitterWindow_swigregister(SplitterWindowPtr
)
764 def PreSplitterWindow(*args
, **kwargs
):
765 """PreSplitterWindow() -> SplitterWindow"""
766 val
= _windows
.new_PreSplitterWindow(*args
, **kwargs
)
770 class SplitterEvent(core
.NotifyEvent
):
772 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
773 def __init__(self
, *args
, **kwargs
):
774 """__init__(wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent"""
775 newobj
= _windows
.new_SplitterEvent(*args
, **kwargs
)
776 self
.this
= newobj
.this
779 def SetSashPosition(*args
, **kwargs
):
780 """SetSashPosition(int pos)"""
781 return _windows
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
783 def GetSashPosition(*args
, **kwargs
):
784 """GetSashPosition() -> int"""
785 return _windows
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
787 def GetWindowBeingRemoved(*args
, **kwargs
):
788 """GetWindowBeingRemoved() -> Window"""
789 return _windows
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
791 def GetX(*args
, **kwargs
):
793 return _windows
.SplitterEvent_GetX(*args
, **kwargs
)
795 def GetY(*args
, **kwargs
):
797 return _windows
.SplitterEvent_GetY(*args
, **kwargs
)
800 class SplitterEventPtr(SplitterEvent
):
801 def __init__(self
, this
):
803 if not hasattr(self
,"thisown"): self
.thisown
= 0
804 self
.__class
__ = SplitterEvent
805 _windows
.SplitterEvent_swigregister(SplitterEventPtr
)
807 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
808 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
809 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
810 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows
.wxEVT_COMMAND_SPLITTER_UNSPLIT
811 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
812 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
813 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
814 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
816 #---------------------------------------------------------------------------
818 SASH_DRAG_NONE
= _windows
.SASH_DRAG_NONE
819 SASH_DRAG_DRAGGING
= _windows
.SASH_DRAG_DRAGGING
820 SASH_DRAG_LEFT_DOWN
= _windows
.SASH_DRAG_LEFT_DOWN
821 SW_NOBORDER
= _windows
.SW_NOBORDER
822 SW_BORDER
= _windows
.SW_BORDER
823 SW_3DSASH
= _windows
.SW_3DSASH
824 SW_3DBORDER
= _windows
.SW_3DBORDER
825 SW_3D
= _windows
.SW_3D
826 SASH_TOP
= _windows
.SASH_TOP
827 SASH_RIGHT
= _windows
.SASH_RIGHT
828 SASH_BOTTOM
= _windows
.SASH_BOTTOM
829 SASH_LEFT
= _windows
.SASH_LEFT
830 SASH_NONE
= _windows
.SASH_NONE
831 class SashWindow(core
.Window
):
833 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
834 def __init__(self
, *args
, **kwargs
):
836 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
837 long style=wxCLIP_CHILDREN|wxSW_3D,
838 wxString name=wxPySashNameStr) -> SashWindow
840 newobj
= _windows
.new_SashWindow(*args
, **kwargs
)
841 self
.this
= newobj
.this
844 self
._setOORInfo
(self
)
846 def Create(*args
, **kwargs
):
848 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
849 long style=wxCLIP_CHILDREN|wxSW_3D,
850 wxString name=wxPySashNameStr) -> bool
852 return _windows
.SashWindow_Create(*args
, **kwargs
)
854 def SetSashVisible(*args
, **kwargs
):
855 """SetSashVisible(wxSashEdgePosition edge, bool sash)"""
856 return _windows
.SashWindow_SetSashVisible(*args
, **kwargs
)
858 def GetSashVisible(*args
, **kwargs
):
859 """GetSashVisible(wxSashEdgePosition edge) -> bool"""
860 return _windows
.SashWindow_GetSashVisible(*args
, **kwargs
)
862 def SetSashBorder(*args
, **kwargs
):
863 """SetSashBorder(wxSashEdgePosition edge, bool border)"""
864 return _windows
.SashWindow_SetSashBorder(*args
, **kwargs
)
866 def HasBorder(*args
, **kwargs
):
867 """HasBorder(wxSashEdgePosition edge) -> bool"""
868 return _windows
.SashWindow_HasBorder(*args
, **kwargs
)
870 def GetEdgeMargin(*args
, **kwargs
):
871 """GetEdgeMargin(wxSashEdgePosition edge) -> int"""
872 return _windows
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
874 def SetDefaultBorderSize(*args
, **kwargs
):
875 """SetDefaultBorderSize(int width)"""
876 return _windows
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
878 def GetDefaultBorderSize(*args
, **kwargs
):
879 """GetDefaultBorderSize() -> int"""
880 return _windows
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
882 def SetExtraBorderSize(*args
, **kwargs
):
883 """SetExtraBorderSize(int width)"""
884 return _windows
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
886 def GetExtraBorderSize(*args
, **kwargs
):
887 """GetExtraBorderSize() -> int"""
888 return _windows
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
890 def SetMinimumSizeX(*args
, **kwargs
):
891 """SetMinimumSizeX(int min)"""
892 return _windows
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
894 def SetMinimumSizeY(*args
, **kwargs
):
895 """SetMinimumSizeY(int min)"""
896 return _windows
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
898 def GetMinimumSizeX(*args
, **kwargs
):
899 """GetMinimumSizeX() -> int"""
900 return _windows
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
902 def GetMinimumSizeY(*args
, **kwargs
):
903 """GetMinimumSizeY() -> int"""
904 return _windows
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
906 def SetMaximumSizeX(*args
, **kwargs
):
907 """SetMaximumSizeX(int max)"""
908 return _windows
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
910 def SetMaximumSizeY(*args
, **kwargs
):
911 """SetMaximumSizeY(int max)"""
912 return _windows
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
914 def GetMaximumSizeX(*args
, **kwargs
):
915 """GetMaximumSizeX() -> int"""
916 return _windows
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
918 def GetMaximumSizeY(*args
, **kwargs
):
919 """GetMaximumSizeY() -> int"""
920 return _windows
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
922 def SashHitTest(*args
, **kwargs
):
923 """SashHitTest(int x, int y, int tolerance=2) -> wxSashEdgePosition"""
924 return _windows
.SashWindow_SashHitTest(*args
, **kwargs
)
926 def SizeWindows(*args
, **kwargs
):
928 return _windows
.SashWindow_SizeWindows(*args
, **kwargs
)
931 class SashWindowPtr(SashWindow
):
932 def __init__(self
, this
):
934 if not hasattr(self
,"thisown"): self
.thisown
= 0
935 self
.__class
__ = SashWindow
936 _windows
.SashWindow_swigregister(SashWindowPtr
)
938 def PreSashWindow(*args
, **kwargs
):
939 """PreSashWindow() -> SashWindow"""
940 val
= _windows
.new_PreSashWindow(*args
, **kwargs
)
944 SASH_STATUS_OK
= _windows
.SASH_STATUS_OK
945 SASH_STATUS_OUT_OF_RANGE
= _windows
.SASH_STATUS_OUT_OF_RANGE
946 class SashEvent(core
.CommandEvent
):
948 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
949 def __init__(self
, *args
, **kwargs
):
950 """__init__(int id=0, wxSashEdgePosition edge=SASH_NONE) -> SashEvent"""
951 newobj
= _windows
.new_SashEvent(*args
, **kwargs
)
952 self
.this
= newobj
.this
955 def SetEdge(*args
, **kwargs
):
956 """SetEdge(wxSashEdgePosition edge)"""
957 return _windows
.SashEvent_SetEdge(*args
, **kwargs
)
959 def GetEdge(*args
, **kwargs
):
960 """GetEdge() -> wxSashEdgePosition"""
961 return _windows
.SashEvent_GetEdge(*args
, **kwargs
)
963 def SetDragRect(*args
, **kwargs
):
964 """SetDragRect(Rect rect)"""
965 return _windows
.SashEvent_SetDragRect(*args
, **kwargs
)
967 def GetDragRect(*args
, **kwargs
):
968 """GetDragRect() -> Rect"""
969 return _windows
.SashEvent_GetDragRect(*args
, **kwargs
)
971 def SetDragStatus(*args
, **kwargs
):
972 """SetDragStatus(wxSashDragStatus status)"""
973 return _windows
.SashEvent_SetDragStatus(*args
, **kwargs
)
975 def GetDragStatus(*args
, **kwargs
):
976 """GetDragStatus() -> wxSashDragStatus"""
977 return _windows
.SashEvent_GetDragStatus(*args
, **kwargs
)
980 class SashEventPtr(SashEvent
):
981 def __init__(self
, this
):
983 if not hasattr(self
,"thisown"): self
.thisown
= 0
984 self
.__class
__ = SashEvent
985 _windows
.SashEvent_swigregister(SashEventPtr
)
987 wxEVT_SASH_DRAGGED
= _windows
.wxEVT_SASH_DRAGGED
988 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
989 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
991 #---------------------------------------------------------------------------
993 LAYOUT_HORIZONTAL
= _windows
.LAYOUT_HORIZONTAL
994 LAYOUT_VERTICAL
= _windows
.LAYOUT_VERTICAL
995 LAYOUT_NONE
= _windows
.LAYOUT_NONE
996 LAYOUT_TOP
= _windows
.LAYOUT_TOP
997 LAYOUT_LEFT
= _windows
.LAYOUT_LEFT
998 LAYOUT_RIGHT
= _windows
.LAYOUT_RIGHT
999 LAYOUT_BOTTOM
= _windows
.LAYOUT_BOTTOM
1000 LAYOUT_LENGTH_Y
= _windows
.LAYOUT_LENGTH_Y
1001 LAYOUT_LENGTH_X
= _windows
.LAYOUT_LENGTH_X
1002 LAYOUT_MRU_LENGTH
= _windows
.LAYOUT_MRU_LENGTH
1003 LAYOUT_QUERY
= _windows
.LAYOUT_QUERY
1004 wxEVT_QUERY_LAYOUT_INFO
= _windows
.wxEVT_QUERY_LAYOUT_INFO
1005 wxEVT_CALCULATE_LAYOUT
= _windows
.wxEVT_CALCULATE_LAYOUT
1006 class QueryLayoutInfoEvent(core
.Event
):
1008 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1009 def __init__(self
, *args
, **kwargs
):
1010 """__init__(int id=0) -> QueryLayoutInfoEvent"""
1011 newobj
= _windows
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1012 self
.this
= newobj
.this
1015 def SetRequestedLength(*args
, **kwargs
):
1016 """SetRequestedLength(int length)"""
1017 return _windows
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1019 def GetRequestedLength(*args
, **kwargs
):
1020 """GetRequestedLength() -> int"""
1021 return _windows
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1023 def SetFlags(*args
, **kwargs
):
1024 """SetFlags(int flags)"""
1025 return _windows
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1027 def GetFlags(*args
, **kwargs
):
1028 """GetFlags() -> int"""
1029 return _windows
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1031 def SetSize(*args
, **kwargs
):
1032 """SetSize(Size size)"""
1033 return _windows
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1035 def GetSize(*args
, **kwargs
):
1036 """GetSize() -> Size"""
1037 return _windows
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1039 def SetOrientation(*args
, **kwargs
):
1040 """SetOrientation(wxLayoutOrientation orient)"""
1041 return _windows
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1043 def GetOrientation(*args
, **kwargs
):
1044 """GetOrientation() -> wxLayoutOrientation"""
1045 return _windows
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1047 def SetAlignment(*args
, **kwargs
):
1048 """SetAlignment(wxLayoutAlignment align)"""
1049 return _windows
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1051 def GetAlignment(*args
, **kwargs
):
1052 """GetAlignment() -> wxLayoutAlignment"""
1053 return _windows
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1056 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1057 def __init__(self
, this
):
1059 if not hasattr(self
,"thisown"): self
.thisown
= 0
1060 self
.__class
__ = QueryLayoutInfoEvent
1061 _windows
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1063 class CalculateLayoutEvent(core
.Event
):
1065 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1066 def __init__(self
, *args
, **kwargs
):
1067 """__init__(int id=0) -> CalculateLayoutEvent"""
1068 newobj
= _windows
.new_CalculateLayoutEvent(*args
, **kwargs
)
1069 self
.this
= newobj
.this
1072 def SetFlags(*args
, **kwargs
):
1073 """SetFlags(int flags)"""
1074 return _windows
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1076 def GetFlags(*args
, **kwargs
):
1077 """GetFlags() -> int"""
1078 return _windows
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1080 def SetRect(*args
, **kwargs
):
1081 """SetRect(Rect rect)"""
1082 return _windows
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1084 def GetRect(*args
, **kwargs
):
1085 """GetRect() -> Rect"""
1086 return _windows
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1089 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1090 def __init__(self
, this
):
1092 if not hasattr(self
,"thisown"): self
.thisown
= 0
1093 self
.__class
__ = CalculateLayoutEvent
1094 _windows
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1096 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1097 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1099 class SashLayoutWindow(SashWindow
):
1101 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1102 def __init__(self
, *args
, **kwargs
):
1104 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1105 long style=wxCLIP_CHILDREN|wxSW_3D,
1106 wxString name=wxPySashLayoutNameStr) -> SashLayoutWindow
1108 newobj
= _windows
.new_SashLayoutWindow(*args
, **kwargs
)
1109 self
.this
= newobj
.this
1112 self
._setOORInfo
(self
)
1114 def Create(*args
, **kwargs
):
1116 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1117 long style=wxCLIP_CHILDREN|wxSW_3D,
1118 wxString name=wxPySashLayoutNameStr) -> bool
1120 return _windows
.SashLayoutWindow_Create(*args
, **kwargs
)
1122 def GetAlignment(*args
, **kwargs
):
1123 """GetAlignment() -> wxLayoutAlignment"""
1124 return _windows
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1126 def GetOrientation(*args
, **kwargs
):
1127 """GetOrientation() -> wxLayoutOrientation"""
1128 return _windows
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1130 def SetAlignment(*args
, **kwargs
):
1131 """SetAlignment(wxLayoutAlignment alignment)"""
1132 return _windows
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1134 def SetDefaultSize(*args
, **kwargs
):
1135 """SetDefaultSize(Size size)"""
1136 return _windows
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1138 def SetOrientation(*args
, **kwargs
):
1139 """SetOrientation(wxLayoutOrientation orientation)"""
1140 return _windows
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1143 class SashLayoutWindowPtr(SashLayoutWindow
):
1144 def __init__(self
, this
):
1146 if not hasattr(self
,"thisown"): self
.thisown
= 0
1147 self
.__class
__ = SashLayoutWindow
1148 _windows
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1150 def PreSashLayoutWindow(*args
, **kwargs
):
1151 """PreSashLayoutWindow() -> SashLayoutWindow"""
1152 val
= _windows
.new_PreSashLayoutWindow(*args
, **kwargs
)
1156 class LayoutAlgorithm(core
.Object
):
1158 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1159 def __init__(self
, *args
, **kwargs
):
1160 """__init__() -> LayoutAlgorithm"""
1161 newobj
= _windows
.new_LayoutAlgorithm(*args
, **kwargs
)
1162 self
.this
= newobj
.this
1165 def __del__(self
, destroy
=_windows
.delete_LayoutAlgorithm
):
1168 if self
.thisown
: destroy(self
)
1171 def LayoutMDIFrame(*args
, **kwargs
):
1172 """LayoutMDIFrame(MDIParentFrame frame, Rect rect=None) -> bool"""
1173 return _windows
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1175 def LayoutFrame(*args
, **kwargs
):
1176 """LayoutFrame(Frame frame, Window mainWindow=None) -> bool"""
1177 return _windows
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1179 def LayoutWindow(*args
, **kwargs
):
1180 """LayoutWindow(Window parent, Window mainWindow=None) -> bool"""
1181 return _windows
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1184 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1185 def __init__(self
, this
):
1187 if not hasattr(self
,"thisown"): self
.thisown
= 0
1188 self
.__class
__ = LayoutAlgorithm
1189 _windows
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1191 #---------------------------------------------------------------------------
1193 class PopupWindow(core
.Window
):
1195 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1196 def __init__(self
, *args
, **kwargs
):
1197 """__init__(Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1198 newobj
= _windows
.new_PopupWindow(*args
, **kwargs
)
1199 self
.this
= newobj
.this
1202 self
._setOORInfo
(self
)
1204 def Create(*args
, **kwargs
):
1205 """Create(Window parent, int flags=BORDER_NONE) -> bool"""
1206 return _windows
.PopupWindow_Create(*args
, **kwargs
)
1208 def Position(*args
, **kwargs
):
1209 """Position(Point ptOrigin, Size size)"""
1210 return _windows
.PopupWindow_Position(*args
, **kwargs
)
1213 class PopupWindowPtr(PopupWindow
):
1214 def __init__(self
, this
):
1216 if not hasattr(self
,"thisown"): self
.thisown
= 0
1217 self
.__class
__ = PopupWindow
1218 _windows
.PopupWindow_swigregister(PopupWindowPtr
)
1220 def PrePopupWindow(*args
, **kwargs
):
1221 """PrePopupWindow() -> PopupWindow"""
1222 val
= _windows
.new_PrePopupWindow(*args
, **kwargs
)
1226 #---------------------------------------------------------------------------
1228 class PopupTransientWindow(PopupWindow
):
1230 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1231 def __init__(self
, *args
, **kwargs
):
1232 """__init__(Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1233 newobj
= _windows
.new_PopupTransientWindow(*args
, **kwargs
)
1234 self
.this
= newobj
.this
1237 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, PopupTransientWindow
)
1239 def _setCallbackInfo(*args
, **kwargs
):
1240 """_setCallbackInfo(PyObject self, PyObject _class)"""
1241 return _windows
.PopupTransientWindow__setCallbackInfo(*args
, **kwargs
)
1243 def Popup(*args
, **kwargs
):
1244 """Popup(Window focus=None)"""
1245 return _windows
.PopupTransientWindow_Popup(*args
, **kwargs
)
1247 def Dismiss(*args
, **kwargs
):
1249 return _windows
.PopupTransientWindow_Dismiss(*args
, **kwargs
)
1252 class PopupTransientWindowPtr(PopupTransientWindow
):
1253 def __init__(self
, this
):
1255 if not hasattr(self
,"thisown"): self
.thisown
= 0
1256 self
.__class
__ = PopupTransientWindow
1257 _windows
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1259 def PrePopupTransientWindow(*args
, **kwargs
):
1260 """PrePopupTransientWindow() -> PopupTransientWindow"""
1261 val
= _windows
.new_PrePopupTransientWindow(*args
, **kwargs
)
1265 #---------------------------------------------------------------------------
1267 class TipWindow(PopupTransientWindow
):
1269 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1270 def __init__(self
, *args
, **kwargs
):
1271 """__init__(Window parent, wxString text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1272 newobj
= _windows
.new_TipWindow(*args
, **kwargs
)
1273 self
.this
= newobj
.this
1276 self
._setOORInfo
(self
)
1278 def SetBoundingRect(*args
, **kwargs
):
1279 """SetBoundingRect(Rect rectBound)"""
1280 return _windows
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1282 def Close(*args
, **kwargs
):
1284 return _windows
.TipWindow_Close(*args
, **kwargs
)
1287 class TipWindowPtr(TipWindow
):
1288 def __init__(self
, this
):
1290 if not hasattr(self
,"thisown"): self
.thisown
= 0
1291 self
.__class
__ = TipWindow
1292 _windows
.TipWindow_swigregister(TipWindowPtr
)
1294 #---------------------------------------------------------------------------
1296 class VScrolledWindow(Panel
):
1298 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1299 def __init__(self
, *args
, **kwargs
):
1301 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1302 Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> VScrolledWindow
1304 newobj
= _windows
.new_VScrolledWindow(*args
, **kwargs
)
1305 self
.this
= newobj
.this
1308 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1310 def _setCallbackInfo(*args
, **kwargs
):
1311 """_setCallbackInfo(PyObject self, PyObject _class)"""
1312 return _windows
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1314 def Create(*args
, **kwargs
):
1316 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1317 Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> bool
1319 return _windows
.VScrolledWindow_Create(*args
, **kwargs
)
1321 def SetLineCount(*args
, **kwargs
):
1322 """SetLineCount(size_t count)"""
1323 return _windows
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1325 def ScrollToLine(*args
, **kwargs
):
1326 """ScrollToLine(size_t line) -> bool"""
1327 return _windows
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1329 def ScrollLines(*args
, **kwargs
):
1330 """ScrollLines(int lines) -> bool"""
1331 return _windows
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1333 def ScrollPages(*args
, **kwargs
):
1334 """ScrollPages(int pages) -> bool"""
1335 return _windows
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1337 def RefreshLine(*args
, **kwargs
):
1338 """RefreshLine(size_t line)"""
1339 return _windows
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1341 def RefreshLines(*args
, **kwargs
):
1342 """RefreshLines(size_t from, size_t to)"""
1343 return _windows
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1345 def HitTestXT(*args
, **kwargs
):
1346 """HitTestXT(int x, int y) -> int"""
1347 return _windows
.VScrolledWindow_HitTestXT(*args
, **kwargs
)
1349 def HitTest(*args
, **kwargs
):
1350 """HitTest(Point pt) -> int"""
1351 return _windows
.VScrolledWindow_HitTest(*args
, **kwargs
)
1353 def RefreshAll(*args
, **kwargs
):
1355 return _windows
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1357 def GetLineCount(*args
, **kwargs
):
1358 """GetLineCount() -> size_t"""
1359 return _windows
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1361 def GetFirstVisibleLine(*args
, **kwargs
):
1362 """GetFirstVisibleLine() -> size_t"""
1363 return _windows
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1365 def GetLastVisibleLine(*args
, **kwargs
):
1366 """GetLastVisibleLine() -> size_t"""
1367 return _windows
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1369 def IsVisible(*args
, **kwargs
):
1370 """IsVisible(size_t line) -> bool"""
1371 return _windows
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1374 class VScrolledWindowPtr(VScrolledWindow
):
1375 def __init__(self
, this
):
1377 if not hasattr(self
,"thisown"): self
.thisown
= 0
1378 self
.__class
__ = VScrolledWindow
1379 _windows
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
1381 def PreVScrolledWindow(*args
, **kwargs
):
1382 """PreVScrolledWindow() -> VScrolledWindow"""
1383 val
= _windows
.new_PreVScrolledWindow(*args
, **kwargs
)
1387 class VListBox(VScrolledWindow
):
1389 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1390 def __init__(self
, *args
, **kwargs
):
1392 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1393 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> VListBox
1395 newobj
= _windows
.new_VListBox(*args
, **kwargs
)
1396 self
.this
= newobj
.this
1399 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
1401 def _setCallbackInfo(*args
, **kwargs
):
1402 """_setCallbackInfo(PyObject self, PyObject _class)"""
1403 return _windows
.VListBox__setCallbackInfo(*args
, **kwargs
)
1405 def Create(*args
, **kwargs
):
1407 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1408 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool
1410 return _windows
.VListBox_Create(*args
, **kwargs
)
1412 def GetItemCount(*args
, **kwargs
):
1413 """GetItemCount() -> size_t"""
1414 return _windows
.VListBox_GetItemCount(*args
, **kwargs
)
1416 def HasMultipleSelection(*args
, **kwargs
):
1417 """HasMultipleSelection() -> bool"""
1418 return _windows
.VListBox_HasMultipleSelection(*args
, **kwargs
)
1420 def GetSelection(*args
, **kwargs
):
1421 """GetSelection() -> int"""
1422 return _windows
.VListBox_GetSelection(*args
, **kwargs
)
1424 def IsCurrent(*args
, **kwargs
):
1425 """IsCurrent(size_t item) -> bool"""
1426 return _windows
.VListBox_IsCurrent(*args
, **kwargs
)
1428 def IsSelected(*args
, **kwargs
):
1429 """IsSelected(size_t item) -> bool"""
1430 return _windows
.VListBox_IsSelected(*args
, **kwargs
)
1432 def GetSelectedCount(*args
, **kwargs
):
1433 """GetSelectedCount() -> size_t"""
1434 return _windows
.VListBox_GetSelectedCount(*args
, **kwargs
)
1436 def GetFirstSelected(*args
, **kwargs
):
1437 """GetFirstSelected(unsigned long cookie) -> int"""
1438 return _windows
.VListBox_GetFirstSelected(*args
, **kwargs
)
1440 def GetNextSelected(*args
, **kwargs
):
1441 """GetNextSelected(unsigned long cookie) -> int"""
1442 return _windows
.VListBox_GetNextSelected(*args
, **kwargs
)
1444 def GetMargins(*args
, **kwargs
):
1445 """GetMargins() -> Point"""
1446 return _windows
.VListBox_GetMargins(*args
, **kwargs
)
1448 def GetSelectionBackground(*args
, **kwargs
):
1449 """GetSelectionBackground() -> wxColour"""
1450 return _windows
.VListBox_GetSelectionBackground(*args
, **kwargs
)
1452 def SetItemCount(*args
, **kwargs
):
1453 """SetItemCount(size_t count)"""
1454 return _windows
.VListBox_SetItemCount(*args
, **kwargs
)
1456 def Clear(*args
, **kwargs
):
1458 return _windows
.VListBox_Clear(*args
, **kwargs
)
1460 def SetSelection(*args
, **kwargs
):
1461 """SetSelection(int selection)"""
1462 return _windows
.VListBox_SetSelection(*args
, **kwargs
)
1464 def Select(*args
, **kwargs
):
1465 """Select(size_t item, bool select=True) -> bool"""
1466 return _windows
.VListBox_Select(*args
, **kwargs
)
1468 def SelectRange(*args
, **kwargs
):
1469 """SelectRange(size_t from, size_t to) -> bool"""
1470 return _windows
.VListBox_SelectRange(*args
, **kwargs
)
1472 def Toggle(*args
, **kwargs
):
1473 """Toggle(size_t item)"""
1474 return _windows
.VListBox_Toggle(*args
, **kwargs
)
1476 def SelectAll(*args
, **kwargs
):
1477 """SelectAll() -> bool"""
1478 return _windows
.VListBox_SelectAll(*args
, **kwargs
)
1480 def DeselectAll(*args
, **kwargs
):
1481 """DeselectAll() -> bool"""
1482 return _windows
.VListBox_DeselectAll(*args
, **kwargs
)
1484 def SetMargins(*args
, **kwargs
):
1485 """SetMargins(Point pt)"""
1486 return _windows
.VListBox_SetMargins(*args
, **kwargs
)
1488 def SetMarginsXY(*args
, **kwargs
):
1489 """SetMarginsXY(int x, int y)"""
1490 return _windows
.VListBox_SetMarginsXY(*args
, **kwargs
)
1492 def SetSelectionBackground(*args
, **kwargs
):
1493 """SetSelectionBackground(wxColour col)"""
1494 return _windows
.VListBox_SetSelectionBackground(*args
, **kwargs
)
1497 class VListBoxPtr(VListBox
):
1498 def __init__(self
, this
):
1500 if not hasattr(self
,"thisown"): self
.thisown
= 0
1501 self
.__class
__ = VListBox
1502 _windows
.VListBox_swigregister(VListBoxPtr
)
1504 def PreVListBox(*args
, **kwargs
):
1505 """PreVListBox() -> VListBox"""
1506 val
= _windows
.new_PreVListBox(*args
, **kwargs
)
1510 class HtmlListBox(VListBox
):
1512 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1513 def __init__(self
, *args
, **kwargs
):
1515 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1516 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> HtmlListBox
1518 newobj
= _windows
.new_HtmlListBox(*args
, **kwargs
)
1519 self
.this
= newobj
.this
1522 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
1524 def _setCallbackInfo(*args
, **kwargs
):
1525 """_setCallbackInfo(PyObject self, PyObject _class)"""
1526 return _windows
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
1528 def Create(*args
, **kwargs
):
1530 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1531 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool
1533 return _windows
.HtmlListBox_Create(*args
, **kwargs
)
1535 def RefreshAll(*args
, **kwargs
):
1537 return _windows
.HtmlListBox_RefreshAll(*args
, **kwargs
)
1539 def SetItemCount(*args
, **kwargs
):
1540 """SetItemCount(size_t count)"""
1541 return _windows
.HtmlListBox_SetItemCount(*args
, **kwargs
)
1544 class HtmlListBoxPtr(HtmlListBox
):
1545 def __init__(self
, this
):
1547 if not hasattr(self
,"thisown"): self
.thisown
= 0
1548 self
.__class
__ = HtmlListBox
1549 _windows
.HtmlListBox_swigregister(HtmlListBoxPtr
)
1551 def PreHtmlListBox(*args
, **kwargs
):
1552 """PreHtmlListBox() -> HtmlListBox"""
1553 val
= _windows
.new_PreHtmlListBox(*args
, **kwargs
)
1557 #---------------------------------------------------------------------------
1559 class TaskBarIcon(core
.EvtHandler
):
1561 return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1562 def __init__(self
, *args
, **kwargs
):
1563 """__init__() -> TaskBarIcon"""
1564 newobj
= _windows
.new_TaskBarIcon(*args
, **kwargs
)
1565 self
.this
= newobj
.this
1568 def __del__(self
, destroy
=_windows
.delete_TaskBarIcon
):
1571 if self
.thisown
: destroy(self
)
1574 def IsOk(*args
, **kwargs
):
1575 """IsOk() -> bool"""
1576 return _windows
.TaskBarIcon_IsOk(*args
, **kwargs
)
1578 def IsIconInstalled(*args
, **kwargs
):
1579 """IsIconInstalled() -> bool"""
1580 return _windows
.TaskBarIcon_IsIconInstalled(*args
, **kwargs
)
1582 def SetIcon(*args
, **kwargs
):
1583 """SetIcon(wxIcon icon, wxString tooltip=wxPyEmptyString) -> bool"""
1584 return _windows
.TaskBarIcon_SetIcon(*args
, **kwargs
)
1586 def RemoveIcon(*args
, **kwargs
):
1587 """RemoveIcon() -> bool"""
1588 return _windows
.TaskBarIcon_RemoveIcon(*args
, **kwargs
)
1590 def PopupMenu(*args
, **kwargs
):
1591 """PopupMenu(Menu menu) -> bool"""
1592 return _windows
.TaskBarIcon_PopupMenu(*args
, **kwargs
)
1595 class TaskBarIconPtr(TaskBarIcon
):
1596 def __init__(self
, this
):
1598 if not hasattr(self
,"thisown"): self
.thisown
= 0
1599 self
.__class
__ = TaskBarIcon
1600 _windows
.TaskBarIcon_swigregister(TaskBarIconPtr
)
1602 class TaskBarIconEvent(core
.Event
):
1604 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1605 def __init__(self
, *args
, **kwargs
):
1606 """__init__(wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
1607 newobj
= _windows
.new_TaskBarIconEvent(*args
, **kwargs
)
1608 self
.this
= newobj
.this
1612 class TaskBarIconEventPtr(TaskBarIconEvent
):
1613 def __init__(self
, this
):
1615 if not hasattr(self
,"thisown"): self
.thisown
= 0
1616 self
.__class
__ = TaskBarIconEvent
1617 _windows
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
1619 wxEVT_TASKBAR_MOVE
= _windows
.wxEVT_TASKBAR_MOVE
1620 wxEVT_TASKBAR_LEFT_DOWN
= _windows
.wxEVT_TASKBAR_LEFT_DOWN
1621 wxEVT_TASKBAR_LEFT_UP
= _windows
.wxEVT_TASKBAR_LEFT_UP
1622 wxEVT_TASKBAR_RIGHT_DOWN
= _windows
.wxEVT_TASKBAR_RIGHT_DOWN
1623 wxEVT_TASKBAR_RIGHT_UP
= _windows
.wxEVT_TASKBAR_RIGHT_UP
1624 wxEVT_TASKBAR_LEFT_DCLICK
= _windows
.wxEVT_TASKBAR_LEFT_DCLICK
1625 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows
.wxEVT_TASKBAR_RIGHT_DCLICK
1626 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
1627 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
1628 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
1629 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
1630 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
1631 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
1632 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
1634 #---------------------------------------------------------------------------
1636 class ColourData(core
.Object
):
1638 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1639 def __init__(self
, *args
, **kwargs
):
1640 """__init__() -> ColourData"""
1641 newobj
= _windows
.new_ColourData(*args
, **kwargs
)
1642 self
.this
= newobj
.this
1645 def __del__(self
, destroy
=_windows
.delete_ColourData
):
1648 if self
.thisown
: destroy(self
)
1651 def GetChooseFull(*args
, **kwargs
):
1652 """GetChooseFull() -> bool"""
1653 return _windows
.ColourData_GetChooseFull(*args
, **kwargs
)
1655 def GetColour(*args
, **kwargs
):
1656 """GetColour() -> wxColour"""
1657 return _windows
.ColourData_GetColour(*args
, **kwargs
)
1659 def GetCustomColour(*args
, **kwargs
):
1660 """GetCustomColour(int i) -> wxColour"""
1661 return _windows
.ColourData_GetCustomColour(*args
, **kwargs
)
1663 def SetChooseFull(*args
, **kwargs
):
1664 """SetChooseFull(int flag)"""
1665 return _windows
.ColourData_SetChooseFull(*args
, **kwargs
)
1667 def SetColour(*args
, **kwargs
):
1668 """SetColour(wxColour colour)"""
1669 return _windows
.ColourData_SetColour(*args
, **kwargs
)
1671 def SetCustomColour(*args
, **kwargs
):
1672 """SetCustomColour(int i, wxColour colour)"""
1673 return _windows
.ColourData_SetCustomColour(*args
, **kwargs
)
1676 class ColourDataPtr(ColourData
):
1677 def __init__(self
, this
):
1679 if not hasattr(self
,"thisown"): self
.thisown
= 0
1680 self
.__class
__ = ColourData
1681 _windows
.ColourData_swigregister(ColourDataPtr
)
1683 class ColourDialog(Dialog
):
1685 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1686 def __init__(self
, *args
, **kwargs
):
1687 """__init__(Window parent, ColourData data=None) -> ColourDialog"""
1688 newobj
= _windows
.new_ColourDialog(*args
, **kwargs
)
1689 self
.this
= newobj
.this
1692 self
._setOORInfo
(self
)
1694 def GetColourData(*args
, **kwargs
):
1695 """GetColourData() -> ColourData"""
1696 return _windows
.ColourDialog_GetColourData(*args
, **kwargs
)
1698 def ShowModal(*args
, **kwargs
):
1699 """ShowModal() -> int"""
1700 return _windows
.ColourDialog_ShowModal(*args
, **kwargs
)
1703 class ColourDialogPtr(ColourDialog
):
1704 def __init__(self
, this
):
1706 if not hasattr(self
,"thisown"): self
.thisown
= 0
1707 self
.__class
__ = ColourDialog
1708 _windows
.ColourDialog_swigregister(ColourDialogPtr
)
1710 class DirDialog(Dialog
):
1712 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1713 def __init__(self
, *args
, **kwargs
):
1715 __init__(Window parent, wxString message=wxPyDirSelectorPromptStr,
1716 wxString defaultPath=wxPyEmptyString,
1717 long style=0, Point pos=DefaultPosition, Size size=DefaultSize,
1718 wxString name=wxPyDirDialogNameStr) -> DirDialog
1720 newobj
= _windows
.new_DirDialog(*args
, **kwargs
)
1721 self
.this
= newobj
.this
1724 self
._setOORInfo
(self
)
1726 def GetPath(*args
, **kwargs
):
1727 """GetPath() -> wxString"""
1728 return _windows
.DirDialog_GetPath(*args
, **kwargs
)
1730 def GetMessage(*args
, **kwargs
):
1731 """GetMessage() -> wxString"""
1732 return _windows
.DirDialog_GetMessage(*args
, **kwargs
)
1734 def GetStyle(*args
, **kwargs
):
1735 """GetStyle() -> long"""
1736 return _windows
.DirDialog_GetStyle(*args
, **kwargs
)
1738 def SetMessage(*args
, **kwargs
):
1739 """SetMessage(wxString message)"""
1740 return _windows
.DirDialog_SetMessage(*args
, **kwargs
)
1742 def SetPath(*args
, **kwargs
):
1743 """SetPath(wxString path)"""
1744 return _windows
.DirDialog_SetPath(*args
, **kwargs
)
1746 def ShowModal(*args
, **kwargs
):
1747 """ShowModal() -> int"""
1748 return _windows
.DirDialog_ShowModal(*args
, **kwargs
)
1751 class DirDialogPtr(DirDialog
):
1752 def __init__(self
, this
):
1754 if not hasattr(self
,"thisown"): self
.thisown
= 0
1755 self
.__class
__ = DirDialog
1756 _windows
.DirDialog_swigregister(DirDialogPtr
)
1758 class FileDialog(Dialog
):
1760 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1761 def __init__(self
, *args
, **kwargs
):
1763 __init__(Window parent, wxString message=wxPyFileSelectorPromptStr,
1764 wxString defaultDir=wxPyEmptyString,
1765 wxString defaultFile=wxPyEmptyString, wxString wildcard=wxPyFileSelectorDefaultWildcardStr,
1767 Point pos=DefaultPosition) -> FileDialog
1769 newobj
= _windows
.new_FileDialog(*args
, **kwargs
)
1770 self
.this
= newobj
.this
1773 self
._setOORInfo
(self
)
1775 def SetMessage(*args
, **kwargs
):
1776 """SetMessage(wxString message)"""
1777 return _windows
.FileDialog_SetMessage(*args
, **kwargs
)
1779 def SetPath(*args
, **kwargs
):
1780 """SetPath(wxString path)"""
1781 return _windows
.FileDialog_SetPath(*args
, **kwargs
)
1783 def SetDirectory(*args
, **kwargs
):
1784 """SetDirectory(wxString dir)"""
1785 return _windows
.FileDialog_SetDirectory(*args
, **kwargs
)
1787 def SetFilename(*args
, **kwargs
):
1788 """SetFilename(wxString name)"""
1789 return _windows
.FileDialog_SetFilename(*args
, **kwargs
)
1791 def SetWildcard(*args
, **kwargs
):
1792 """SetWildcard(wxString wildCard)"""
1793 return _windows
.FileDialog_SetWildcard(*args
, **kwargs
)
1795 def SetStyle(*args
, **kwargs
):
1796 """SetStyle(long style)"""
1797 return _windows
.FileDialog_SetStyle(*args
, **kwargs
)
1799 def SetFilterIndex(*args
, **kwargs
):
1800 """SetFilterIndex(int filterIndex)"""
1801 return _windows
.FileDialog_SetFilterIndex(*args
, **kwargs
)
1803 def GetMessage(*args
, **kwargs
):
1804 """GetMessage() -> wxString"""
1805 return _windows
.FileDialog_GetMessage(*args
, **kwargs
)
1807 def GetPath(*args
, **kwargs
):
1808 """GetPath() -> wxString"""
1809 return _windows
.FileDialog_GetPath(*args
, **kwargs
)
1811 def GetDirectory(*args
, **kwargs
):
1812 """GetDirectory() -> wxString"""
1813 return _windows
.FileDialog_GetDirectory(*args
, **kwargs
)
1815 def GetFilename(*args
, **kwargs
):
1816 """GetFilename() -> wxString"""
1817 return _windows
.FileDialog_GetFilename(*args
, **kwargs
)
1819 def GetWildcard(*args
, **kwargs
):
1820 """GetWildcard() -> wxString"""
1821 return _windows
.FileDialog_GetWildcard(*args
, **kwargs
)
1823 def GetStyle(*args
, **kwargs
):
1824 """GetStyle() -> long"""
1825 return _windows
.FileDialog_GetStyle(*args
, **kwargs
)
1827 def GetFilterIndex(*args
, **kwargs
):
1828 """GetFilterIndex() -> int"""
1829 return _windows
.FileDialog_GetFilterIndex(*args
, **kwargs
)
1831 def GetFilenames(*args
, **kwargs
):
1832 """GetFilenames() -> PyObject"""
1833 return _windows
.FileDialog_GetFilenames(*args
, **kwargs
)
1835 def GetPaths(*args
, **kwargs
):
1836 """GetPaths() -> PyObject"""
1837 return _windows
.FileDialog_GetPaths(*args
, **kwargs
)
1840 class FileDialogPtr(FileDialog
):
1841 def __init__(self
, this
):
1843 if not hasattr(self
,"thisown"): self
.thisown
= 0
1844 self
.__class
__ = FileDialog
1845 _windows
.FileDialog_swigregister(FileDialogPtr
)
1847 CHOICEDLG_STYLE
= _windows
.CHOICEDLG_STYLE
1848 class MultiChoiceDialog(Dialog
):
1850 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1851 def __init__(self
, *args
, **kwargs
):
1853 __init__(Window parent, wxString message, wxString caption,
1854 int LCOUNT, wxString choices, long style=CHOICEDLG_STYLE,
1855 Point pos=DefaultPosition) -> MultiChoiceDialog
1857 newobj
= _windows
.new_MultiChoiceDialog(*args
, **kwargs
)
1858 self
.this
= newobj
.this
1861 self
._setOORInfo
(self
)
1863 def SetSelections(*args
, **kwargs
):
1864 """SetSelections(wxArrayInt selections)"""
1865 return _windows
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
1867 def GetSelections(*args
, **kwargs
):
1868 """GetSelections() -> PyObject"""
1869 return _windows
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
1872 class MultiChoiceDialogPtr(MultiChoiceDialog
):
1873 def __init__(self
, this
):
1875 if not hasattr(self
,"thisown"): self
.thisown
= 0
1876 self
.__class
__ = MultiChoiceDialog
1877 _windows
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
1879 class SingleChoiceDialog(Dialog
):
1881 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1882 def __init__(self
, *args
, **kwargs
):
1884 __init__(Window parent, wxString message, wxString caption,
1885 int choices, wxString choices_array, long style=CHOICEDLG_STYLE,
1886 Point pos=DefaultPosition) -> SingleChoiceDialog
1888 newobj
= _windows
.new_SingleChoiceDialog(*args
, **kwargs
)
1889 self
.this
= newobj
.this
1892 self
._setOORInfo
(self
)
1894 def GetSelection(*args
, **kwargs
):
1895 """GetSelection() -> int"""
1896 return _windows
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
1898 def GetStringSelection(*args
, **kwargs
):
1899 """GetStringSelection() -> wxString"""
1900 return _windows
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
1902 def SetSelection(*args
, **kwargs
):
1903 """SetSelection(int sel)"""
1904 return _windows
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
1906 def ShowModal(*args
, **kwargs
):
1907 """ShowModal() -> int"""
1908 return _windows
.SingleChoiceDialog_ShowModal(*args
, **kwargs
)
1911 class SingleChoiceDialogPtr(SingleChoiceDialog
):
1912 def __init__(self
, this
):
1914 if not hasattr(self
,"thisown"): self
.thisown
= 0
1915 self
.__class
__ = SingleChoiceDialog
1916 _windows
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
1918 class TextEntryDialog(Dialog
):
1920 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1921 def __init__(self
, *args
, **kwargs
):
1923 __init__(Window parent, wxString message, wxString caption=wxPyGetTextFromUserPromptStr,
1924 wxString defaultValue=wxPyEmptyString,
1925 long style=wxOK|wxCANCEL|wxCENTRE,
1926 Point pos=DefaultPosition) -> TextEntryDialog
1928 newobj
= _windows
.new_TextEntryDialog(*args
, **kwargs
)
1929 self
.this
= newobj
.this
1932 self
._setOORInfo
(self
)
1934 def GetValue(*args
, **kwargs
):
1935 """GetValue() -> wxString"""
1936 return _windows
.TextEntryDialog_GetValue(*args
, **kwargs
)
1938 def SetValue(*args
, **kwargs
):
1939 """SetValue(wxString value)"""
1940 return _windows
.TextEntryDialog_SetValue(*args
, **kwargs
)
1942 def ShowModal(*args
, **kwargs
):
1943 """ShowModal() -> int"""
1944 return _windows
.TextEntryDialog_ShowModal(*args
, **kwargs
)
1947 class TextEntryDialogPtr(TextEntryDialog
):
1948 def __init__(self
, this
):
1950 if not hasattr(self
,"thisown"): self
.thisown
= 0
1951 self
.__class
__ = TextEntryDialog
1952 _windows
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
1954 class FontData(core
.Object
):
1956 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1957 def __init__(self
, *args
, **kwargs
):
1958 """__init__() -> FontData"""
1959 newobj
= _windows
.new_FontData(*args
, **kwargs
)
1960 self
.this
= newobj
.this
1963 def __del__(self
, destroy
=_windows
.delete_FontData
):
1966 if self
.thisown
: destroy(self
)
1969 def EnableEffects(*args
, **kwargs
):
1970 """EnableEffects(bool enable)"""
1971 return _windows
.FontData_EnableEffects(*args
, **kwargs
)
1973 def GetAllowSymbols(*args
, **kwargs
):
1974 """GetAllowSymbols() -> bool"""
1975 return _windows
.FontData_GetAllowSymbols(*args
, **kwargs
)
1977 def GetColour(*args
, **kwargs
):
1978 """GetColour() -> wxColour"""
1979 return _windows
.FontData_GetColour(*args
, **kwargs
)
1981 def GetChosenFont(*args
, **kwargs
):
1982 """GetChosenFont() -> wxFont"""
1983 return _windows
.FontData_GetChosenFont(*args
, **kwargs
)
1985 def GetEnableEffects(*args
, **kwargs
):
1986 """GetEnableEffects() -> bool"""
1987 return _windows
.FontData_GetEnableEffects(*args
, **kwargs
)
1989 def GetInitialFont(*args
, **kwargs
):
1990 """GetInitialFont() -> wxFont"""
1991 return _windows
.FontData_GetInitialFont(*args
, **kwargs
)
1993 def GetShowHelp(*args
, **kwargs
):
1994 """GetShowHelp() -> bool"""
1995 return _windows
.FontData_GetShowHelp(*args
, **kwargs
)
1997 def SetAllowSymbols(*args
, **kwargs
):
1998 """SetAllowSymbols(bool allowSymbols)"""
1999 return _windows
.FontData_SetAllowSymbols(*args
, **kwargs
)
2001 def SetChosenFont(*args
, **kwargs
):
2002 """SetChosenFont(wxFont font)"""
2003 return _windows
.FontData_SetChosenFont(*args
, **kwargs
)
2005 def SetColour(*args
, **kwargs
):
2006 """SetColour(wxColour colour)"""
2007 return _windows
.FontData_SetColour(*args
, **kwargs
)
2009 def SetInitialFont(*args
, **kwargs
):
2010 """SetInitialFont(wxFont font)"""
2011 return _windows
.FontData_SetInitialFont(*args
, **kwargs
)
2013 def SetRange(*args
, **kwargs
):
2014 """SetRange(int min, int max)"""
2015 return _windows
.FontData_SetRange(*args
, **kwargs
)
2017 def SetShowHelp(*args
, **kwargs
):
2018 """SetShowHelp(bool showHelp)"""
2019 return _windows
.FontData_SetShowHelp(*args
, **kwargs
)
2022 class FontDataPtr(FontData
):
2023 def __init__(self
, this
):
2025 if not hasattr(self
,"thisown"): self
.thisown
= 0
2026 self
.__class
__ = FontData
2027 _windows
.FontData_swigregister(FontDataPtr
)
2029 class FontDialog(Dialog
):
2031 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2032 def __init__(self
, *args
, **kwargs
):
2033 """__init__(Window parent, FontData data) -> FontDialog"""
2034 newobj
= _windows
.new_FontDialog(*args
, **kwargs
)
2035 self
.this
= newobj
.this
2038 self
._setOORInfo
(self
)
2040 def GetFontData(*args
, **kwargs
):
2041 """GetFontData() -> FontData"""
2042 return _windows
.FontDialog_GetFontData(*args
, **kwargs
)
2044 def ShowModal(*args
, **kwargs
):
2045 """ShowModal() -> int"""
2046 return _windows
.FontDialog_ShowModal(*args
, **kwargs
)
2049 class FontDialogPtr(FontDialog
):
2050 def __init__(self
, this
):
2052 if not hasattr(self
,"thisown"): self
.thisown
= 0
2053 self
.__class
__ = FontDialog
2054 _windows
.FontDialog_swigregister(FontDialogPtr
)
2056 class MessageDialog(Dialog
):
2058 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2059 def __init__(self
, *args
, **kwargs
):
2061 __init__(Window parent, wxString message, wxString caption=wxPyMessageBoxCaptionStr,
2062 long style=wxOK|wxCANCEL|wxCENTRE,
2063 Point pos=DefaultPosition) -> MessageDialog
2065 newobj
= _windows
.new_MessageDialog(*args
, **kwargs
)
2066 self
.this
= newobj
.this
2069 self
._setOORInfo
(self
)
2071 def ShowModal(*args
, **kwargs
):
2072 """ShowModal() -> int"""
2073 return _windows
.MessageDialog_ShowModal(*args
, **kwargs
)
2076 class MessageDialogPtr(MessageDialog
):
2077 def __init__(self
, this
):
2079 if not hasattr(self
,"thisown"): self
.thisown
= 0
2080 self
.__class
__ = MessageDialog
2081 _windows
.MessageDialog_swigregister(MessageDialogPtr
)
2083 class ProgressDialog(Frame
):
2085 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2086 def __init__(self
, *args
, **kwargs
):
2088 __init__(wxString title, wxString message, int maximum=100,
2089 Window parent=None, int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
2091 newobj
= _windows
.new_ProgressDialog(*args
, **kwargs
)
2092 self
.this
= newobj
.this
2095 self
._setOORInfo
(self
)
2097 def Update(*args
, **kwargs
):
2098 """Update(int value, wxString newmsg=wxPyEmptyString) -> bool"""
2099 return _windows
.ProgressDialog_Update(*args
, **kwargs
)
2101 def Resume(*args
, **kwargs
):
2103 return _windows
.ProgressDialog_Resume(*args
, **kwargs
)
2106 class ProgressDialogPtr(ProgressDialog
):
2107 def __init__(self
, this
):
2109 if not hasattr(self
,"thisown"): self
.thisown
= 0
2110 self
.__class
__ = ProgressDialog
2111 _windows
.ProgressDialog_swigregister(ProgressDialogPtr
)
2113 FR_DOWN
= _windows
.FR_DOWN
2114 FR_WHOLEWORD
= _windows
.FR_WHOLEWORD
2115 FR_MATCHCASE
= _windows
.FR_MATCHCASE
2116 FR_REPLACEDIALOG
= _windows
.FR_REPLACEDIALOG
2117 FR_NOUPDOWN
= _windows
.FR_NOUPDOWN
2118 FR_NOMATCHCASE
= _windows
.FR_NOMATCHCASE
2119 FR_NOWHOLEWORD
= _windows
.FR_NOWHOLEWORD
2120 wxEVT_COMMAND_FIND
= _windows
.wxEVT_COMMAND_FIND
2121 wxEVT_COMMAND_FIND_NEXT
= _windows
.wxEVT_COMMAND_FIND_NEXT
2122 wxEVT_COMMAND_FIND_REPLACE
= _windows
.wxEVT_COMMAND_FIND_REPLACE
2123 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows
.wxEVT_COMMAND_FIND_REPLACE_ALL
2124 wxEVT_COMMAND_FIND_CLOSE
= _windows
.wxEVT_COMMAND_FIND_CLOSE
2125 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
2126 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
2127 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
2128 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
2129 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
2131 # For backwards compatibility. Should they be removed?
2132 EVT_COMMAND_FIND
= EVT_FIND
2133 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
2134 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
2135 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
2136 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
2138 class FindDialogEvent(core
.CommandEvent
):
2140 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2141 def __init__(self
, *args
, **kwargs
):
2142 """__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent"""
2143 newobj
= _windows
.new_FindDialogEvent(*args
, **kwargs
)
2144 self
.this
= newobj
.this
2147 def GetFlags(*args
, **kwargs
):
2148 """GetFlags() -> int"""
2149 return _windows
.FindDialogEvent_GetFlags(*args
, **kwargs
)
2151 def GetFindString(*args
, **kwargs
):
2152 """GetFindString() -> wxString"""
2153 return _windows
.FindDialogEvent_GetFindString(*args
, **kwargs
)
2155 def GetReplaceString(*args
, **kwargs
):
2156 """GetReplaceString() -> wxString"""
2157 return _windows
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
2159 def GetDialog(*args
, **kwargs
):
2160 """GetDialog() -> FindReplaceDialog"""
2161 return _windows
.FindDialogEvent_GetDialog(*args
, **kwargs
)
2163 def SetFlags(*args
, **kwargs
):
2164 """SetFlags(int flags)"""
2165 return _windows
.FindDialogEvent_SetFlags(*args
, **kwargs
)
2167 def SetFindString(*args
, **kwargs
):
2168 """SetFindString(wxString str)"""
2169 return _windows
.FindDialogEvent_SetFindString(*args
, **kwargs
)
2171 def SetReplaceString(*args
, **kwargs
):
2172 """SetReplaceString(wxString str)"""
2173 return _windows
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
2176 class FindDialogEventPtr(FindDialogEvent
):
2177 def __init__(self
, this
):
2179 if not hasattr(self
,"thisown"): self
.thisown
= 0
2180 self
.__class
__ = FindDialogEvent
2181 _windows
.FindDialogEvent_swigregister(FindDialogEventPtr
)
2183 class FindReplaceData(core
.Object
):
2185 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2186 def __init__(self
, *args
, **kwargs
):
2187 """__init__(int flags=0) -> FindReplaceData"""
2188 newobj
= _windows
.new_FindReplaceData(*args
, **kwargs
)
2189 self
.this
= newobj
.this
2192 def __del__(self
, destroy
=_windows
.delete_FindReplaceData
):
2195 if self
.thisown
: destroy(self
)
2198 def GetFindString(*args
, **kwargs
):
2199 """GetFindString() -> wxString"""
2200 return _windows
.FindReplaceData_GetFindString(*args
, **kwargs
)
2202 def GetReplaceString(*args
, **kwargs
):
2203 """GetReplaceString() -> wxString"""
2204 return _windows
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
2206 def GetFlags(*args
, **kwargs
):
2207 """GetFlags() -> int"""
2208 return _windows
.FindReplaceData_GetFlags(*args
, **kwargs
)
2210 def SetFlags(*args
, **kwargs
):
2211 """SetFlags(int flags)"""
2212 return _windows
.FindReplaceData_SetFlags(*args
, **kwargs
)
2214 def SetFindString(*args
, **kwargs
):
2215 """SetFindString(wxString str)"""
2216 return _windows
.FindReplaceData_SetFindString(*args
, **kwargs
)
2218 def SetReplaceString(*args
, **kwargs
):
2219 """SetReplaceString(wxString str)"""
2220 return _windows
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
2223 class FindReplaceDataPtr(FindReplaceData
):
2224 def __init__(self
, this
):
2226 if not hasattr(self
,"thisown"): self
.thisown
= 0
2227 self
.__class
__ = FindReplaceData
2228 _windows
.FindReplaceData_swigregister(FindReplaceDataPtr
)
2230 class FindReplaceDialog(Dialog
):
2232 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2233 def __init__(self
, *args
, **kwargs
):
2235 __init__(Window parent, FindReplaceData data, wxString title,
2236 int style=0) -> FindReplaceDialog
2238 newobj
= _windows
.new_FindReplaceDialog(*args
, **kwargs
)
2239 self
.this
= newobj
.this
2242 self
._setOORInfo
(self
)
2244 def Create(*args
, **kwargs
):
2246 Create(Window parent, FindReplaceData data, wxString title,
2247 int style=0) -> bool
2249 return _windows
.FindReplaceDialog_Create(*args
, **kwargs
)
2251 def GetData(*args
, **kwargs
):
2252 """GetData() -> FindReplaceData"""
2253 return _windows
.FindReplaceDialog_GetData(*args
, **kwargs
)
2255 def SetData(*args
, **kwargs
):
2256 """SetData(FindReplaceData data)"""
2257 return _windows
.FindReplaceDialog_SetData(*args
, **kwargs
)
2260 class FindReplaceDialogPtr(FindReplaceDialog
):
2261 def __init__(self
, this
):
2263 if not hasattr(self
,"thisown"): self
.thisown
= 0
2264 self
.__class
__ = FindReplaceDialog
2265 _windows
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
2267 def PreFindReplaceDialog(*args
, **kwargs
):
2268 """PreFindReplaceDialog() -> FindReplaceDialog"""
2269 val
= _windows
.new_PreFindReplaceDialog(*args
, **kwargs
)
2273 #---------------------------------------------------------------------------
2275 IDM_WINDOWTILE
= _windows
.IDM_WINDOWTILE
2276 IDM_WINDOWTILEHOR
= _windows
.IDM_WINDOWTILEHOR
2277 IDM_WINDOWCASCADE
= _windows
.IDM_WINDOWCASCADE
2278 IDM_WINDOWICONS
= _windows
.IDM_WINDOWICONS
2279 IDM_WINDOWNEXT
= _windows
.IDM_WINDOWNEXT
2280 IDM_WINDOWTILEVERT
= _windows
.IDM_WINDOWTILEVERT
2281 FIRST_MDI_CHILD
= _windows
.FIRST_MDI_CHILD
2282 LAST_MDI_CHILD
= _windows
.LAST_MDI_CHILD
2283 class MDIParentFrame(Frame
):
2285 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2286 def __init__(self
, *args
, **kwargs
):
2288 __init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
2289 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2290 wxString name=wxPyFrameNameStr) -> MDIParentFrame
2292 newobj
= _windows
.new_MDIParentFrame(*args
, **kwargs
)
2293 self
.this
= newobj
.this
2296 self
._setOORInfo
(self
)
2298 def Create(*args
, **kwargs
):
2300 Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
2301 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2302 wxString name=wxPyFrameNameStr) -> bool
2304 return _windows
.MDIParentFrame_Create(*args
, **kwargs
)
2306 def ActivateNext(*args
, **kwargs
):
2307 """ActivateNext()"""
2308 return _windows
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
2310 def ActivatePrevious(*args
, **kwargs
):
2311 """ActivatePrevious()"""
2312 return _windows
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
2314 def ArrangeIcons(*args
, **kwargs
):
2315 """ArrangeIcons()"""
2316 return _windows
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
2318 def Cascade(*args
, **kwargs
):
2320 return _windows
.MDIParentFrame_Cascade(*args
, **kwargs
)
2322 def GetActiveChild(*args
, **kwargs
):
2323 """GetActiveChild() -> MDIChildFrame"""
2324 return _windows
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
2326 def GetClientWindow(*args
, **kwargs
):
2327 """GetClientWindow() -> MDIClientWindow"""
2328 return _windows
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
2330 def GetToolBar(*args
, **kwargs
):
2331 """GetToolBar() -> Window"""
2332 return _windows
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
2334 def Tile(*args
, **kwargs
):
2336 return _windows
.MDIParentFrame_Tile(*args
, **kwargs
)
2339 class MDIParentFramePtr(MDIParentFrame
):
2340 def __init__(self
, this
):
2342 if not hasattr(self
,"thisown"): self
.thisown
= 0
2343 self
.__class
__ = MDIParentFrame
2344 _windows
.MDIParentFrame_swigregister(MDIParentFramePtr
)
2346 def PreMDIParentFrame(*args
, **kwargs
):
2347 """PreMDIParentFrame() -> MDIParentFrame"""
2348 val
= _windows
.new_PreMDIParentFrame(*args
, **kwargs
)
2352 class MDIChildFrame(Frame
):
2354 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2355 def __init__(self
, *args
, **kwargs
):
2357 __init__(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition,
2358 Size size=DefaultSize,
2359 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> MDIChildFrame
2361 newobj
= _windows
.new_MDIChildFrame(*args
, **kwargs
)
2362 self
.this
= newobj
.this
2365 self
._setOORInfo
(self
)
2367 def Create(*args
, **kwargs
):
2369 Create(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition,
2370 Size size=DefaultSize,
2371 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> bool
2373 return _windows
.MDIChildFrame_Create(*args
, **kwargs
)
2375 def Activate(*args
, **kwargs
):
2377 return _windows
.MDIChildFrame_Activate(*args
, **kwargs
)
2379 def Maximize(*args
, **kwargs
):
2380 """Maximize(bool maximize)"""
2381 return _windows
.MDIChildFrame_Maximize(*args
, **kwargs
)
2383 def Restore(*args
, **kwargs
):
2385 return _windows
.MDIChildFrame_Restore(*args
, **kwargs
)
2388 class MDIChildFramePtr(MDIChildFrame
):
2389 def __init__(self
, this
):
2391 if not hasattr(self
,"thisown"): self
.thisown
= 0
2392 self
.__class
__ = MDIChildFrame
2393 _windows
.MDIChildFrame_swigregister(MDIChildFramePtr
)
2395 def PreMDIChildFrame(*args
, **kwargs
):
2396 """PreMDIChildFrame() -> MDIChildFrame"""
2397 val
= _windows
.new_PreMDIChildFrame(*args
, **kwargs
)
2401 class MDIClientWindow(core
.Window
):
2403 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2404 def __init__(self
, *args
, **kwargs
):
2405 """__init__(MDIParentFrame parent, long style=0) -> MDIClientWindow"""
2406 newobj
= _windows
.new_MDIClientWindow(*args
, **kwargs
)
2407 self
.this
= newobj
.this
2410 self
._setOORInfo
(self
)
2412 def Create(*args
, **kwargs
):
2413 """Create(MDIParentFrame parent, long style=0) -> bool"""
2414 return _windows
.MDIClientWindow_Create(*args
, **kwargs
)
2417 class MDIClientWindowPtr(MDIClientWindow
):
2418 def __init__(self
, this
):
2420 if not hasattr(self
,"thisown"): self
.thisown
= 0
2421 self
.__class
__ = MDIClientWindow
2422 _windows
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
2424 def PreMDIClientWindow(*args
, **kwargs
):
2425 """PreMDIClientWindow() -> MDIClientWindow"""
2426 val
= _windows
.new_PreMDIClientWindow(*args
, **kwargs
)
2430 #---------------------------------------------------------------------------
2432 class PyWindow(core
.Window
):
2434 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2435 def __init__(self
, *args
, **kwargs
):
2437 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2438 long style=0, wxString name=PanelNameStr) -> PyWindow
2440 newobj
= _windows
.new_PyWindow(*args
, **kwargs
)
2441 self
.this
= newobj
.this
2444 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
2446 def _setCallbackInfo(*args
, **kwargs
):
2447 """_setCallbackInfo(PyObject self, PyObject _class)"""
2448 return _windows
.PyWindow__setCallbackInfo(*args
, **kwargs
)
2450 def base_DoMoveWindow(*args
, **kwargs
):
2451 """base_DoMoveWindow(int x, int y, int width, int height)"""
2452 return _windows
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
2454 def base_DoSetSize(*args
, **kwargs
):
2455 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2456 return _windows
.PyWindow_base_DoSetSize(*args
, **kwargs
)
2458 def base_DoSetClientSize(*args
, **kwargs
):
2459 """base_DoSetClientSize(int width, int height)"""
2460 return _windows
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
2462 def base_DoSetVirtualSize(*args
, **kwargs
):
2463 """base_DoSetVirtualSize(int x, int y)"""
2464 return _windows
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
2466 def base_DoGetSize(*args
, **kwargs
):
2467 """base_DoGetSize() -> (width, height)"""
2468 return _windows
.PyWindow_base_DoGetSize(*args
, **kwargs
)
2470 def base_DoGetClientSize(*args
, **kwargs
):
2471 """base_DoGetClientSize() -> (width, height)"""
2472 return _windows
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
2474 def base_DoGetPosition(*args
, **kwargs
):
2475 """base_DoGetPosition() -> (x,y)"""
2476 return _windows
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
2478 def base_DoGetVirtualSize(*args
, **kwargs
):
2479 """base_DoGetVirtualSize() -> Size"""
2480 return _windows
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
2482 def base_DoGetBestSize(*args
, **kwargs
):
2483 """base_DoGetBestSize() -> Size"""
2484 return _windows
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
2486 def base_InitDialog(*args
, **kwargs
):
2487 """base_InitDialog()"""
2488 return _windows
.PyWindow_base_InitDialog(*args
, **kwargs
)
2490 def base_TransferDataToWindow(*args
, **kwargs
):
2491 """base_TransferDataToWindow() -> bool"""
2492 return _windows
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
2494 def base_TransferDataFromWindow(*args
, **kwargs
):
2495 """base_TransferDataFromWindow() -> bool"""
2496 return _windows
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
2498 def base_Validate(*args
, **kwargs
):
2499 """base_Validate() -> bool"""
2500 return _windows
.PyWindow_base_Validate(*args
, **kwargs
)
2502 def base_AcceptsFocus(*args
, **kwargs
):
2503 """base_AcceptsFocus() -> bool"""
2504 return _windows
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
2506 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2507 """base_AcceptsFocusFromKeyboard() -> bool"""
2508 return _windows
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2510 def base_GetMaxSize(*args
, **kwargs
):
2511 """base_GetMaxSize() -> Size"""
2512 return _windows
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
2514 def base_AddChild(*args
, **kwargs
):
2515 """base_AddChild(Window child)"""
2516 return _windows
.PyWindow_base_AddChild(*args
, **kwargs
)
2518 def base_RemoveChild(*args
, **kwargs
):
2519 """base_RemoveChild(Window child)"""
2520 return _windows
.PyWindow_base_RemoveChild(*args
, **kwargs
)
2523 class PyWindowPtr(PyWindow
):
2524 def __init__(self
, this
):
2526 if not hasattr(self
,"thisown"): self
.thisown
= 0
2527 self
.__class
__ = PyWindow
2528 _windows
.PyWindow_swigregister(PyWindowPtr
)
2530 class PyPanel(Panel
):
2532 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2533 def __init__(self
, *args
, **kwargs
):
2535 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2536 long style=0, wxString name=PanelNameStr) -> PyPanel
2538 newobj
= _windows
.new_PyPanel(*args
, **kwargs
)
2539 self
.this
= newobj
.this
2542 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
2544 def _setCallbackInfo(*args
, **kwargs
):
2545 """_setCallbackInfo(PyObject self, PyObject _class)"""
2546 return _windows
.PyPanel__setCallbackInfo(*args
, **kwargs
)
2548 def base_DoMoveWindow(*args
, **kwargs
):
2549 """base_DoMoveWindow(int x, int y, int width, int height)"""
2550 return _windows
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
2552 def base_DoSetSize(*args
, **kwargs
):
2553 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2554 return _windows
.PyPanel_base_DoSetSize(*args
, **kwargs
)
2556 def base_DoSetClientSize(*args
, **kwargs
):
2557 """base_DoSetClientSize(int width, int height)"""
2558 return _windows
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
2560 def base_DoSetVirtualSize(*args
, **kwargs
):
2561 """base_DoSetVirtualSize(int x, int y)"""
2562 return _windows
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
2564 def base_DoGetSize(*args
, **kwargs
):
2565 """base_DoGetSize() -> (width, height)"""
2566 return _windows
.PyPanel_base_DoGetSize(*args
, **kwargs
)
2568 def base_DoGetClientSize(*args
, **kwargs
):
2569 """base_DoGetClientSize() -> (width, height)"""
2570 return _windows
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
2572 def base_DoGetPosition(*args
, **kwargs
):
2573 """base_DoGetPosition() -> (x,y)"""
2574 return _windows
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
2576 def base_DoGetVirtualSize(*args
, **kwargs
):
2577 """base_DoGetVirtualSize() -> Size"""
2578 return _windows
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
2580 def base_DoGetBestSize(*args
, **kwargs
):
2581 """base_DoGetBestSize() -> Size"""
2582 return _windows
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
2584 def base_InitDialog(*args
, **kwargs
):
2585 """base_InitDialog()"""
2586 return _windows
.PyPanel_base_InitDialog(*args
, **kwargs
)
2588 def base_TransferDataToWindow(*args
, **kwargs
):
2589 """base_TransferDataToWindow() -> bool"""
2590 return _windows
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
2592 def base_TransferDataFromWindow(*args
, **kwargs
):
2593 """base_TransferDataFromWindow() -> bool"""
2594 return _windows
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
2596 def base_Validate(*args
, **kwargs
):
2597 """base_Validate() -> bool"""
2598 return _windows
.PyPanel_base_Validate(*args
, **kwargs
)
2600 def base_AcceptsFocus(*args
, **kwargs
):
2601 """base_AcceptsFocus() -> bool"""
2602 return _windows
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
2604 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2605 """base_AcceptsFocusFromKeyboard() -> bool"""
2606 return _windows
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2608 def base_GetMaxSize(*args
, **kwargs
):
2609 """base_GetMaxSize() -> Size"""
2610 return _windows
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
2612 def base_AddChild(*args
, **kwargs
):
2613 """base_AddChild(Window child)"""
2614 return _windows
.PyPanel_base_AddChild(*args
, **kwargs
)
2616 def base_RemoveChild(*args
, **kwargs
):
2617 """base_RemoveChild(Window child)"""
2618 return _windows
.PyPanel_base_RemoveChild(*args
, **kwargs
)
2621 class PyPanelPtr(PyPanel
):
2622 def __init__(self
, this
):
2624 if not hasattr(self
,"thisown"): self
.thisown
= 0
2625 self
.__class
__ = PyPanel
2626 _windows
.PyPanel_swigregister(PyPanelPtr
)
2628 #---------------------------------------------------------------------------
2630 PRINT_MODE_NONE
= _windows
.PRINT_MODE_NONE
2631 PRINT_MODE_PREVIEW
= _windows
.PRINT_MODE_PREVIEW
2632 PRINT_MODE_FILE
= _windows
.PRINT_MODE_FILE
2633 PRINT_MODE_PRINTER
= _windows
.PRINT_MODE_PRINTER
2634 class PrintData(core
.Object
):
2636 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2637 def __init__(self
, *args
, **kwargs
):
2638 """__init__() -> PrintData"""
2639 newobj
= _windows
.new_PrintData(*args
, **kwargs
)
2640 self
.this
= newobj
.this
2643 def __del__(self
, destroy
=_windows
.delete_PrintData
):
2646 if self
.thisown
: destroy(self
)
2649 def GetNoCopies(*args
, **kwargs
):
2650 """GetNoCopies() -> int"""
2651 return _windows
.PrintData_GetNoCopies(*args
, **kwargs
)
2653 def GetCollate(*args
, **kwargs
):
2654 """GetCollate() -> bool"""
2655 return _windows
.PrintData_GetCollate(*args
, **kwargs
)
2657 def GetOrientation(*args
, **kwargs
):
2658 """GetOrientation() -> int"""
2659 return _windows
.PrintData_GetOrientation(*args
, **kwargs
)
2661 def Ok(*args
, **kwargs
):
2663 return _windows
.PrintData_Ok(*args
, **kwargs
)
2665 def GetPrinterName(*args
, **kwargs
):
2666 """GetPrinterName() -> wxString"""
2667 return _windows
.PrintData_GetPrinterName(*args
, **kwargs
)
2669 def GetColour(*args
, **kwargs
):
2670 """GetColour() -> bool"""
2671 return _windows
.PrintData_GetColour(*args
, **kwargs
)
2673 def GetDuplex(*args
, **kwargs
):
2674 """GetDuplex() -> wxDuplexMode"""
2675 return _windows
.PrintData_GetDuplex(*args
, **kwargs
)
2677 def GetPaperId(*args
, **kwargs
):
2678 """GetPaperId() -> wxPaperSize"""
2679 return _windows
.PrintData_GetPaperId(*args
, **kwargs
)
2681 def GetPaperSize(*args
, **kwargs
):
2682 """GetPaperSize() -> Size"""
2683 return _windows
.PrintData_GetPaperSize(*args
, **kwargs
)
2685 def GetQuality(*args
, **kwargs
):
2686 """GetQuality() -> wxPrintQuality"""
2687 return _windows
.PrintData_GetQuality(*args
, **kwargs
)
2689 def SetNoCopies(*args
, **kwargs
):
2690 """SetNoCopies(int v)"""
2691 return _windows
.PrintData_SetNoCopies(*args
, **kwargs
)
2693 def SetCollate(*args
, **kwargs
):
2694 """SetCollate(bool flag)"""
2695 return _windows
.PrintData_SetCollate(*args
, **kwargs
)
2697 def SetOrientation(*args
, **kwargs
):
2698 """SetOrientation(int orient)"""
2699 return _windows
.PrintData_SetOrientation(*args
, **kwargs
)
2701 def SetPrinterName(*args
, **kwargs
):
2702 """SetPrinterName(wxString name)"""
2703 return _windows
.PrintData_SetPrinterName(*args
, **kwargs
)
2705 def SetColour(*args
, **kwargs
):
2706 """SetColour(bool colour)"""
2707 return _windows
.PrintData_SetColour(*args
, **kwargs
)
2709 def SetDuplex(*args
, **kwargs
):
2710 """SetDuplex(wxDuplexMode duplex)"""
2711 return _windows
.PrintData_SetDuplex(*args
, **kwargs
)
2713 def SetPaperId(*args
, **kwargs
):
2714 """SetPaperId(wxPaperSize sizeId)"""
2715 return _windows
.PrintData_SetPaperId(*args
, **kwargs
)
2717 def SetPaperSize(*args
, **kwargs
):
2718 """SetPaperSize(Size sz)"""
2719 return _windows
.PrintData_SetPaperSize(*args
, **kwargs
)
2721 def SetQuality(*args
, **kwargs
):
2722 """SetQuality(wxPrintQuality quality)"""
2723 return _windows
.PrintData_SetQuality(*args
, **kwargs
)
2725 def GetPrinterCommand(*args
, **kwargs
):
2726 """GetPrinterCommand() -> wxString"""
2727 return _windows
.PrintData_GetPrinterCommand(*args
, **kwargs
)
2729 def GetPrinterOptions(*args
, **kwargs
):
2730 """GetPrinterOptions() -> wxString"""
2731 return _windows
.PrintData_GetPrinterOptions(*args
, **kwargs
)
2733 def GetPreviewCommand(*args
, **kwargs
):
2734 """GetPreviewCommand() -> wxString"""
2735 return _windows
.PrintData_GetPreviewCommand(*args
, **kwargs
)
2737 def GetFilename(*args
, **kwargs
):
2738 """GetFilename() -> wxString"""
2739 return _windows
.PrintData_GetFilename(*args
, **kwargs
)
2741 def GetFontMetricPath(*args
, **kwargs
):
2742 """GetFontMetricPath() -> wxString"""
2743 return _windows
.PrintData_GetFontMetricPath(*args
, **kwargs
)
2745 def GetPrinterScaleX(*args
, **kwargs
):
2746 """GetPrinterScaleX() -> double"""
2747 return _windows
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
2749 def GetPrinterScaleY(*args
, **kwargs
):
2750 """GetPrinterScaleY() -> double"""
2751 return _windows
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
2753 def GetPrinterTranslateX(*args
, **kwargs
):
2754 """GetPrinterTranslateX() -> long"""
2755 return _windows
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
2757 def GetPrinterTranslateY(*args
, **kwargs
):
2758 """GetPrinterTranslateY() -> long"""
2759 return _windows
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
2761 def GetPrintMode(*args
, **kwargs
):
2762 """GetPrintMode() -> wxPrintMode"""
2763 return _windows
.PrintData_GetPrintMode(*args
, **kwargs
)
2765 def SetPrinterCommand(*args
, **kwargs
):
2766 """SetPrinterCommand(wxString command)"""
2767 return _windows
.PrintData_SetPrinterCommand(*args
, **kwargs
)
2769 def SetPrinterOptions(*args
, **kwargs
):
2770 """SetPrinterOptions(wxString options)"""
2771 return _windows
.PrintData_SetPrinterOptions(*args
, **kwargs
)
2773 def SetPreviewCommand(*args
, **kwargs
):
2774 """SetPreviewCommand(wxString command)"""
2775 return _windows
.PrintData_SetPreviewCommand(*args
, **kwargs
)
2777 def SetFilename(*args
, **kwargs
):
2778 """SetFilename(wxString filename)"""
2779 return _windows
.PrintData_SetFilename(*args
, **kwargs
)
2781 def SetFontMetricPath(*args
, **kwargs
):
2782 """SetFontMetricPath(wxString path)"""
2783 return _windows
.PrintData_SetFontMetricPath(*args
, **kwargs
)
2785 def SetPrinterScaleX(*args
, **kwargs
):
2786 """SetPrinterScaleX(double x)"""
2787 return _windows
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
2789 def SetPrinterScaleY(*args
, **kwargs
):
2790 """SetPrinterScaleY(double y)"""
2791 return _windows
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
2793 def SetPrinterScaling(*args
, **kwargs
):
2794 """SetPrinterScaling(double x, double y)"""
2795 return _windows
.PrintData_SetPrinterScaling(*args
, **kwargs
)
2797 def SetPrinterTranslateX(*args
, **kwargs
):
2798 """SetPrinterTranslateX(long x)"""
2799 return _windows
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
2801 def SetPrinterTranslateY(*args
, **kwargs
):
2802 """SetPrinterTranslateY(long y)"""
2803 return _windows
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
2805 def SetPrinterTranslation(*args
, **kwargs
):
2806 """SetPrinterTranslation(long x, long y)"""
2807 return _windows
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
2809 def SetPrintMode(*args
, **kwargs
):
2810 """SetPrintMode(wxPrintMode printMode)"""
2811 return _windows
.PrintData_SetPrintMode(*args
, **kwargs
)
2813 def __nonzero__(self
): return self
.Ok()
2815 class PrintDataPtr(PrintData
):
2816 def __init__(self
, this
):
2818 if not hasattr(self
,"thisown"): self
.thisown
= 0
2819 self
.__class
__ = PrintData
2820 _windows
.PrintData_swigregister(PrintDataPtr
)
2822 class PageSetupDialogData(core
.Object
):
2824 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2825 def __init__(self
, *args
, **kwargs
):
2826 """__init__() -> PageSetupDialogData"""
2827 newobj
= _windows
.new_PageSetupDialogData(*args
, **kwargs
)
2828 self
.this
= newobj
.this
2831 def __del__(self
, destroy
=_windows
.delete_PageSetupDialogData
):
2834 if self
.thisown
: destroy(self
)
2837 def EnableHelp(*args
, **kwargs
):
2838 """EnableHelp(bool flag)"""
2839 return _windows
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
2841 def EnableMargins(*args
, **kwargs
):
2842 """EnableMargins(bool flag)"""
2843 return _windows
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
2845 def EnableOrientation(*args
, **kwargs
):
2846 """EnableOrientation(bool flag)"""
2847 return _windows
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
2849 def EnablePaper(*args
, **kwargs
):
2850 """EnablePaper(bool flag)"""
2851 return _windows
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
2853 def EnablePrinter(*args
, **kwargs
):
2854 """EnablePrinter(bool flag)"""
2855 return _windows
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
2857 def GetDefaultMinMargins(*args
, **kwargs
):
2858 """GetDefaultMinMargins() -> bool"""
2859 return _windows
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
2861 def GetEnableMargins(*args
, **kwargs
):
2862 """GetEnableMargins() -> bool"""
2863 return _windows
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
2865 def GetEnableOrientation(*args
, **kwargs
):
2866 """GetEnableOrientation() -> bool"""
2867 return _windows
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
2869 def GetEnablePaper(*args
, **kwargs
):
2870 """GetEnablePaper() -> bool"""
2871 return _windows
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
2873 def GetEnablePrinter(*args
, **kwargs
):
2874 """GetEnablePrinter() -> bool"""
2875 return _windows
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
2877 def GetEnableHelp(*args
, **kwargs
):
2878 """GetEnableHelp() -> bool"""
2879 return _windows
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
2881 def GetDefaultInfo(*args
, **kwargs
):
2882 """GetDefaultInfo() -> bool"""
2883 return _windows
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
2885 def GetMarginTopLeft(*args
, **kwargs
):
2886 """GetMarginTopLeft() -> Point"""
2887 return _windows
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
2889 def GetMarginBottomRight(*args
, **kwargs
):
2890 """GetMarginBottomRight() -> Point"""
2891 return _windows
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
2893 def GetMinMarginTopLeft(*args
, **kwargs
):
2894 """GetMinMarginTopLeft() -> Point"""
2895 return _windows
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
2897 def GetMinMarginBottomRight(*args
, **kwargs
):
2898 """GetMinMarginBottomRight() -> Point"""
2899 return _windows
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
2901 def GetPaperId(*args
, **kwargs
):
2902 """GetPaperId() -> wxPaperSize"""
2903 return _windows
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
2905 def GetPaperSize(*args
, **kwargs
):
2906 """GetPaperSize() -> Size"""
2907 return _windows
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
2909 def GetPrintData(*args
, **kwargs
):
2910 """GetPrintData() -> PrintData"""
2911 return _windows
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
2913 def Ok(*args
, **kwargs
):
2915 return _windows
.PageSetupDialogData_Ok(*args
, **kwargs
)
2917 def SetDefaultInfo(*args
, **kwargs
):
2918 """SetDefaultInfo(bool flag)"""
2919 return _windows
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
2921 def SetDefaultMinMargins(*args
, **kwargs
):
2922 """SetDefaultMinMargins(bool flag)"""
2923 return _windows
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
2925 def SetMarginTopLeft(*args
, **kwargs
):
2926 """SetMarginTopLeft(Point pt)"""
2927 return _windows
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
2929 def SetMarginBottomRight(*args
, **kwargs
):
2930 """SetMarginBottomRight(Point pt)"""
2931 return _windows
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
2933 def SetMinMarginTopLeft(*args
, **kwargs
):
2934 """SetMinMarginTopLeft(Point pt)"""
2935 return _windows
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
2937 def SetMinMarginBottomRight(*args
, **kwargs
):
2938 """SetMinMarginBottomRight(Point pt)"""
2939 return _windows
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
2941 def SetPaperId(*args
, **kwargs
):
2942 """SetPaperId(wxPaperSize id)"""
2943 return _windows
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
2945 def SetPaperSize(*args
, **kwargs
):
2946 """SetPaperSize(Size size)"""
2947 return _windows
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
2949 def SetPrintData(*args
, **kwargs
):
2950 """SetPrintData(PrintData printData)"""
2951 return _windows
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
2953 def __nonzero__(self
): return self
.Ok()
2955 class PageSetupDialogDataPtr(PageSetupDialogData
):
2956 def __init__(self
, this
):
2958 if not hasattr(self
,"thisown"): self
.thisown
= 0
2959 self
.__class
__ = PageSetupDialogData
2960 _windows
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
2962 class PageSetupDialog(Dialog
):
2964 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2965 def __init__(self
, *args
, **kwargs
):
2966 """__init__(Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
2967 newobj
= _windows
.new_PageSetupDialog(*args
, **kwargs
)
2968 self
.this
= newobj
.this
2971 self
._setOORInfo
(self
)
2973 def GetPageSetupData(*args
, **kwargs
):
2974 """GetPageSetupData() -> PageSetupDialogData"""
2975 return _windows
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
2977 def ShowModal(*args
, **kwargs
):
2978 """ShowModal() -> int"""
2979 return _windows
.PageSetupDialog_ShowModal(*args
, **kwargs
)
2982 class PageSetupDialogPtr(PageSetupDialog
):
2983 def __init__(self
, this
):
2985 if not hasattr(self
,"thisown"): self
.thisown
= 0
2986 self
.__class
__ = PageSetupDialog
2987 _windows
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
2989 class PrintDialogData(core
.Object
):
2991 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2992 def __init__(self
, *args
, **kwargs
):
2993 """__init__() -> PrintDialogData"""
2994 newobj
= _windows
.new_PrintDialogData(*args
, **kwargs
)
2995 self
.this
= newobj
.this
2998 def __del__(self
, destroy
=_windows
.delete_PrintDialogData
):
3001 if self
.thisown
: destroy(self
)
3004 def GetFromPage(*args
, **kwargs
):
3005 """GetFromPage() -> int"""
3006 return _windows
.PrintDialogData_GetFromPage(*args
, **kwargs
)
3008 def GetToPage(*args
, **kwargs
):
3009 """GetToPage() -> int"""
3010 return _windows
.PrintDialogData_GetToPage(*args
, **kwargs
)
3012 def GetMinPage(*args
, **kwargs
):
3013 """GetMinPage() -> int"""
3014 return _windows
.PrintDialogData_GetMinPage(*args
, **kwargs
)
3016 def GetMaxPage(*args
, **kwargs
):
3017 """GetMaxPage() -> int"""
3018 return _windows
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
3020 def GetNoCopies(*args
, **kwargs
):
3021 """GetNoCopies() -> int"""
3022 return _windows
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
3024 def GetAllPages(*args
, **kwargs
):
3025 """GetAllPages() -> bool"""
3026 return _windows
.PrintDialogData_GetAllPages(*args
, **kwargs
)
3028 def GetSelection(*args
, **kwargs
):
3029 """GetSelection() -> bool"""
3030 return _windows
.PrintDialogData_GetSelection(*args
, **kwargs
)
3032 def GetCollate(*args
, **kwargs
):
3033 """GetCollate() -> bool"""
3034 return _windows
.PrintDialogData_GetCollate(*args
, **kwargs
)
3036 def GetPrintToFile(*args
, **kwargs
):
3037 """GetPrintToFile() -> bool"""
3038 return _windows
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
3040 def GetSetupDialog(*args
, **kwargs
):
3041 """GetSetupDialog() -> bool"""
3042 return _windows
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
3044 def SetFromPage(*args
, **kwargs
):
3045 """SetFromPage(int v)"""
3046 return _windows
.PrintDialogData_SetFromPage(*args
, **kwargs
)
3048 def SetToPage(*args
, **kwargs
):
3049 """SetToPage(int v)"""
3050 return _windows
.PrintDialogData_SetToPage(*args
, **kwargs
)
3052 def SetMinPage(*args
, **kwargs
):
3053 """SetMinPage(int v)"""
3054 return _windows
.PrintDialogData_SetMinPage(*args
, **kwargs
)
3056 def SetMaxPage(*args
, **kwargs
):
3057 """SetMaxPage(int v)"""
3058 return _windows
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
3060 def SetNoCopies(*args
, **kwargs
):
3061 """SetNoCopies(int v)"""
3062 return _windows
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
3064 def SetAllPages(*args
, **kwargs
):
3065 """SetAllPages(bool flag)"""
3066 return _windows
.PrintDialogData_SetAllPages(*args
, **kwargs
)
3068 def SetSelection(*args
, **kwargs
):
3069 """SetSelection(bool flag)"""
3070 return _windows
.PrintDialogData_SetSelection(*args
, **kwargs
)
3072 def SetCollate(*args
, **kwargs
):
3073 """SetCollate(bool flag)"""
3074 return _windows
.PrintDialogData_SetCollate(*args
, **kwargs
)
3076 def SetPrintToFile(*args
, **kwargs
):
3077 """SetPrintToFile(bool flag)"""
3078 return _windows
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
3080 def SetSetupDialog(*args
, **kwargs
):
3081 """SetSetupDialog(bool flag)"""
3082 return _windows
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
3084 def EnablePrintToFile(*args
, **kwargs
):
3085 """EnablePrintToFile(bool flag)"""
3086 return _windows
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
3088 def EnableSelection(*args
, **kwargs
):
3089 """EnableSelection(bool flag)"""
3090 return _windows
.PrintDialogData_EnableSelection(*args
, **kwargs
)
3092 def EnablePageNumbers(*args
, **kwargs
):
3093 """EnablePageNumbers(bool flag)"""
3094 return _windows
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
3096 def EnableHelp(*args
, **kwargs
):
3097 """EnableHelp(bool flag)"""
3098 return _windows
.PrintDialogData_EnableHelp(*args
, **kwargs
)
3100 def GetEnablePrintToFile(*args
, **kwargs
):
3101 """GetEnablePrintToFile() -> bool"""
3102 return _windows
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
3104 def GetEnableSelection(*args
, **kwargs
):
3105 """GetEnableSelection() -> bool"""
3106 return _windows
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
3108 def GetEnablePageNumbers(*args
, **kwargs
):
3109 """GetEnablePageNumbers() -> bool"""
3110 return _windows
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
3112 def GetEnableHelp(*args
, **kwargs
):
3113 """GetEnableHelp() -> bool"""
3114 return _windows
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
3116 def Ok(*args
, **kwargs
):
3118 return _windows
.PrintDialogData_Ok(*args
, **kwargs
)
3120 def GetPrintData(*args
, **kwargs
):
3121 """GetPrintData() -> PrintData"""
3122 return _windows
.PrintDialogData_GetPrintData(*args
, **kwargs
)
3124 def SetPrintData(*args
, **kwargs
):
3125 """SetPrintData(PrintData printData)"""
3126 return _windows
.PrintDialogData_SetPrintData(*args
, **kwargs
)
3128 def __nonzero__(self
): return self
.Ok()
3130 class PrintDialogDataPtr(PrintDialogData
):
3131 def __init__(self
, this
):
3133 if not hasattr(self
,"thisown"): self
.thisown
= 0
3134 self
.__class
__ = PrintDialogData
3135 _windows
.PrintDialogData_swigregister(PrintDialogDataPtr
)
3137 class PrintDialog(Dialog
):
3139 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3140 def __init__(self
, *args
, **kwargs
):
3141 """__init__(Window parent, PrintDialogData data=None) -> PrintDialog"""
3142 newobj
= _windows
.new_PrintDialog(*args
, **kwargs
)
3143 self
.this
= newobj
.this
3146 self
._setOORInfo
(self
)
3148 def GetPrintDialogData(*args
, **kwargs
):
3149 """GetPrintDialogData() -> PrintDialogData"""
3150 return _windows
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
3152 def GetPrintDC(*args
, **kwargs
):
3153 """GetPrintDC() -> wxDC"""
3154 return _windows
.PrintDialog_GetPrintDC(*args
, **kwargs
)
3156 def ShowModal(*args
, **kwargs
):
3157 """ShowModal() -> int"""
3158 return _windows
.PrintDialog_ShowModal(*args
, **kwargs
)
3161 class PrintDialogPtr(PrintDialog
):
3162 def __init__(self
, this
):
3164 if not hasattr(self
,"thisown"): self
.thisown
= 0
3165 self
.__class
__ = PrintDialog
3166 _windows
.PrintDialog_swigregister(PrintDialogPtr
)
3168 PRINTER_NO_ERROR
= _windows
.PRINTER_NO_ERROR
3169 PRINTER_CANCELLED
= _windows
.PRINTER_CANCELLED
3170 PRINTER_ERROR
= _windows
.PRINTER_ERROR
3171 class Printer(core
.Object
):
3173 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3174 def __init__(self
, *args
, **kwargs
):
3175 """__init__(PrintDialogData data=None) -> Printer"""
3176 newobj
= _windows
.new_Printer(*args
, **kwargs
)
3177 self
.this
= newobj
.this
3180 def __del__(self
, destroy
=_windows
.delete_Printer
):
3183 if self
.thisown
: destroy(self
)
3186 def CreateAbortWindow(*args
, **kwargs
):
3187 """CreateAbortWindow(Window parent, Printout printout)"""
3188 return _windows
.Printer_CreateAbortWindow(*args
, **kwargs
)
3190 def GetPrintDialogData(*args
, **kwargs
):
3191 """GetPrintDialogData() -> PrintDialogData"""
3192 return _windows
.Printer_GetPrintDialogData(*args
, **kwargs
)
3194 def Print(*args
, **kwargs
):
3195 """Print(Window parent, Printout printout, int prompt=True) -> bool"""
3196 return _windows
.Printer_Print(*args
, **kwargs
)
3198 def PrintDialog(*args
, **kwargs
):
3199 """PrintDialog(Window parent) -> wxDC"""
3200 return _windows
.Printer_PrintDialog(*args
, **kwargs
)
3202 def ReportError(*args
, **kwargs
):
3203 """ReportError(Window parent, Printout printout, wxString message)"""
3204 return _windows
.Printer_ReportError(*args
, **kwargs
)
3206 def Setup(*args
, **kwargs
):
3207 """Setup(Window parent) -> bool"""
3208 return _windows
.Printer_Setup(*args
, **kwargs
)
3210 def GetAbort(*args
, **kwargs
):
3211 """GetAbort() -> bool"""
3212 return _windows
.Printer_GetAbort(*args
, **kwargs
)
3214 def GetLastError(*args
, **kwargs
):
3215 """Printer.GetLastError() -> wxPrinterError"""
3216 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3218 GetLastError
= staticmethod(GetLastError
)
3220 class PrinterPtr(Printer
):
3221 def __init__(self
, this
):
3223 if not hasattr(self
,"thisown"): self
.thisown
= 0
3224 self
.__class
__ = Printer
3225 _windows
.Printer_swigregister(PrinterPtr
)
3227 def Printer_GetLastError(*args
, **kwargs
):
3228 """Printer_GetLastError() -> wxPrinterError"""
3229 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3231 class Printout(core
.Object
):
3233 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3234 def __init__(self
, *args
, **kwargs
):
3235 """__init__(wxString title=wxPyPrintoutTitleStr) -> Printout"""
3236 newobj
= _windows
.new_Printout(*args
, **kwargs
)
3237 self
.this
= newobj
.this
3240 self
._setCallbackInfo
(self
, Printout
)
3242 def _setCallbackInfo(*args
, **kwargs
):
3243 """_setCallbackInfo(PyObject self, PyObject _class)"""
3244 return _windows
.Printout__setCallbackInfo(*args
, **kwargs
)
3246 def GetTitle(*args
, **kwargs
):
3247 """GetTitle() -> wxString"""
3248 return _windows
.Printout_GetTitle(*args
, **kwargs
)
3250 def GetDC(*args
, **kwargs
):
3251 """GetDC() -> wxDC"""
3252 return _windows
.Printout_GetDC(*args
, **kwargs
)
3254 def SetDC(*args
, **kwargs
):
3255 """SetDC(wxDC dc)"""
3256 return _windows
.Printout_SetDC(*args
, **kwargs
)
3258 def SetPageSizePixels(*args
, **kwargs
):
3259 """SetPageSizePixels(int w, int h)"""
3260 return _windows
.Printout_SetPageSizePixels(*args
, **kwargs
)
3262 def GetPageSizePixels(*args
, **kwargs
):
3263 """GetPageSizePixels() -> (w, h)"""
3264 return _windows
.Printout_GetPageSizePixels(*args
, **kwargs
)
3266 def SetPageSizeMM(*args
, **kwargs
):
3267 """SetPageSizeMM(int w, int h)"""
3268 return _windows
.Printout_SetPageSizeMM(*args
, **kwargs
)
3270 def GetPageSizeMM(*args
, **kwargs
):
3271 """GetPageSizeMM() -> (w, h)"""
3272 return _windows
.Printout_GetPageSizeMM(*args
, **kwargs
)
3274 def SetPPIScreen(*args
, **kwargs
):
3275 """SetPPIScreen(int x, int y)"""
3276 return _windows
.Printout_SetPPIScreen(*args
, **kwargs
)
3278 def GetPPIScreen(*args
, **kwargs
):
3279 """GetPPIScreen() -> (x,y)"""
3280 return _windows
.Printout_GetPPIScreen(*args
, **kwargs
)
3282 def SetPPIPrinter(*args
, **kwargs
):
3283 """SetPPIPrinter(int x, int y)"""
3284 return _windows
.Printout_SetPPIPrinter(*args
, **kwargs
)
3286 def GetPPIPrinter(*args
, **kwargs
):
3287 """GetPPIPrinter() -> (x,y)"""
3288 return _windows
.Printout_GetPPIPrinter(*args
, **kwargs
)
3290 def IsPreview(*args
, **kwargs
):
3291 """IsPreview() -> bool"""
3292 return _windows
.Printout_IsPreview(*args
, **kwargs
)
3294 def SetIsPreview(*args
, **kwargs
):
3295 """SetIsPreview(bool p)"""
3296 return _windows
.Printout_SetIsPreview(*args
, **kwargs
)
3298 def base_OnBeginDocument(*args
, **kwargs
):
3299 """base_OnBeginDocument(int startPage, int endPage) -> bool"""
3300 return _windows
.Printout_base_OnBeginDocument(*args
, **kwargs
)
3302 def base_OnEndDocument(*args
, **kwargs
):
3303 """base_OnEndDocument()"""
3304 return _windows
.Printout_base_OnEndDocument(*args
, **kwargs
)
3306 def base_OnBeginPrinting(*args
, **kwargs
):
3307 """base_OnBeginPrinting()"""
3308 return _windows
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
3310 def base_OnEndPrinting(*args
, **kwargs
):
3311 """base_OnEndPrinting()"""
3312 return _windows
.Printout_base_OnEndPrinting(*args
, **kwargs
)
3314 def base_OnPreparePrinting(*args
, **kwargs
):
3315 """base_OnPreparePrinting()"""
3316 return _windows
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
3318 def base_HasPage(*args
, **kwargs
):
3319 """base_HasPage(int page) -> bool"""
3320 return _windows
.Printout_base_HasPage(*args
, **kwargs
)
3322 def base_GetPageInfo(*args
, **kwargs
):
3323 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
3324 return _windows
.Printout_base_GetPageInfo(*args
, **kwargs
)
3327 class PrintoutPtr(Printout
):
3328 def __init__(self
, this
):
3330 if not hasattr(self
,"thisown"): self
.thisown
= 0
3331 self
.__class
__ = Printout
3332 _windows
.Printout_swigregister(PrintoutPtr
)
3334 class PreviewCanvas(ScrolledWindow
):
3336 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3337 def __init__(self
, *args
, **kwargs
):
3339 __init__(PrintPreview preview, Window parent, Point pos=DefaultPosition,
3340 Size size=DefaultSize, long style=0,
3341 wxString name=wxPyPreviewCanvasNameStr) -> PreviewCanvas
3343 newobj
= _windows
.new_PreviewCanvas(*args
, **kwargs
)
3344 self
.this
= newobj
.this
3347 self
._setOORInfo
(self
)
3350 class PreviewCanvasPtr(PreviewCanvas
):
3351 def __init__(self
, this
):
3353 if not hasattr(self
,"thisown"): self
.thisown
= 0
3354 self
.__class
__ = PreviewCanvas
3355 _windows
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
3357 class PreviewFrame(Frame
):
3359 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3360 def __init__(self
, *args
, **kwargs
):
3362 __init__(PrintPreview preview, Frame parent, wxString title,
3363 Point pos=DefaultPosition, Size size=DefaultSize,
3364 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PreviewFrame
3366 newobj
= _windows
.new_PreviewFrame(*args
, **kwargs
)
3367 self
.this
= newobj
.this
3370 self
._setOORInfo
(self
)
3372 def Initialize(*args
, **kwargs
):
3374 return _windows
.PreviewFrame_Initialize(*args
, **kwargs
)
3376 def CreateControlBar(*args
, **kwargs
):
3377 """CreateControlBar()"""
3378 return _windows
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
3380 def CreateCanvas(*args
, **kwargs
):
3381 """CreateCanvas()"""
3382 return _windows
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
3384 def GetControlBar(*args
, **kwargs
):
3385 """GetControlBar() -> PreviewControlBar"""
3386 return _windows
.PreviewFrame_GetControlBar(*args
, **kwargs
)
3389 class PreviewFramePtr(PreviewFrame
):
3390 def __init__(self
, this
):
3392 if not hasattr(self
,"thisown"): self
.thisown
= 0
3393 self
.__class
__ = PreviewFrame
3394 _windows
.PreviewFrame_swigregister(PreviewFramePtr
)
3396 PREVIEW_PRINT
= _windows
.PREVIEW_PRINT
3397 PREVIEW_PREVIOUS
= _windows
.PREVIEW_PREVIOUS
3398 PREVIEW_NEXT
= _windows
.PREVIEW_NEXT
3399 PREVIEW_ZOOM
= _windows
.PREVIEW_ZOOM
3400 PREVIEW_FIRST
= _windows
.PREVIEW_FIRST
3401 PREVIEW_LAST
= _windows
.PREVIEW_LAST
3402 PREVIEW_GOTO
= _windows
.PREVIEW_GOTO
3403 PREVIEW_DEFAULT
= _windows
.PREVIEW_DEFAULT
3404 ID_PREVIEW_CLOSE
= _windows
.ID_PREVIEW_CLOSE
3405 ID_PREVIEW_NEXT
= _windows
.ID_PREVIEW_NEXT
3406 ID_PREVIEW_PREVIOUS
= _windows
.ID_PREVIEW_PREVIOUS
3407 ID_PREVIEW_PRINT
= _windows
.ID_PREVIEW_PRINT
3408 ID_PREVIEW_ZOOM
= _windows
.ID_PREVIEW_ZOOM
3409 ID_PREVIEW_FIRST
= _windows
.ID_PREVIEW_FIRST
3410 ID_PREVIEW_LAST
= _windows
.ID_PREVIEW_LAST
3411 ID_PREVIEW_GOTO
= _windows
.ID_PREVIEW_GOTO
3412 class PreviewControlBar(Panel
):
3414 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3415 def __init__(self
, *args
, **kwargs
):
3417 __init__(PrintPreview preview, long buttons, Window parent,
3418 Point pos=DefaultPosition, Size size=DefaultSize,
3419 long style=TAB_TRAVERSAL, wxString name=PanelNameStr) -> PreviewControlBar
3421 newobj
= _windows
.new_PreviewControlBar(*args
, **kwargs
)
3422 self
.this
= newobj
.this
3425 self
._setOORInfo
(self
)
3427 def GetZoomControl(*args
, **kwargs
):
3428 """GetZoomControl() -> int"""
3429 return _windows
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
3431 def SetZoomControl(*args
, **kwargs
):
3432 """SetZoomControl(int zoom)"""
3433 return _windows
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
3435 def GetPrintPreview(*args
, **kwargs
):
3436 """GetPrintPreview() -> PrintPreview"""
3437 return _windows
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
3439 def OnNext(*args
, **kwargs
):
3441 return _windows
.PreviewControlBar_OnNext(*args
, **kwargs
)
3443 def OnPrevious(*args
, **kwargs
):
3445 return _windows
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
3447 def OnFirst(*args
, **kwargs
):
3449 return _windows
.PreviewControlBar_OnFirst(*args
, **kwargs
)
3451 def OnLast(*args
, **kwargs
):
3453 return _windows
.PreviewControlBar_OnLast(*args
, **kwargs
)
3455 def OnGoto(*args
, **kwargs
):
3457 return _windows
.PreviewControlBar_OnGoto(*args
, **kwargs
)
3460 class PreviewControlBarPtr(PreviewControlBar
):
3461 def __init__(self
, this
):
3463 if not hasattr(self
,"thisown"): self
.thisown
= 0
3464 self
.__class
__ = PreviewControlBar
3465 _windows
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
3467 class PrintPreview(core
.Object
):
3469 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3470 def __init__(self
, *args
, **kwargs
):
3471 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PrintPreview"""
3472 newobj
= _windows
.new_PrintPreview(*args
, **kwargs
)
3473 self
.this
= newobj
.this
3476 def SetCurrentPage(*args
, **kwargs
):
3477 """SetCurrentPage(int pageNum) -> bool"""
3478 return _windows
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
3480 def GetCurrentPage(*args
, **kwargs
):
3481 """GetCurrentPage() -> int"""
3482 return _windows
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
3484 def SetPrintout(*args
, **kwargs
):
3485 """SetPrintout(Printout printout)"""
3486 return _windows
.PrintPreview_SetPrintout(*args
, **kwargs
)
3488 def GetPrintout(*args
, **kwargs
):
3489 """GetPrintout() -> Printout"""
3490 return _windows
.PrintPreview_GetPrintout(*args
, **kwargs
)
3492 def GetPrintoutForPrinting(*args
, **kwargs
):
3493 """GetPrintoutForPrinting() -> Printout"""
3494 return _windows
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
3496 def SetFrame(*args
, **kwargs
):
3497 """SetFrame(Frame frame)"""
3498 return _windows
.PrintPreview_SetFrame(*args
, **kwargs
)
3500 def SetCanvas(*args
, **kwargs
):
3501 """SetCanvas(PreviewCanvas canvas)"""
3502 return _windows
.PrintPreview_SetCanvas(*args
, **kwargs
)
3504 def GetFrame(*args
, **kwargs
):
3505 """GetFrame() -> Frame"""
3506 return _windows
.PrintPreview_GetFrame(*args
, **kwargs
)
3508 def GetCanvas(*args
, **kwargs
):
3509 """GetCanvas() -> PreviewCanvas"""
3510 return _windows
.PrintPreview_GetCanvas(*args
, **kwargs
)
3512 def PaintPage(*args
, **kwargs
):
3513 """PaintPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3514 return _windows
.PrintPreview_PaintPage(*args
, **kwargs
)
3516 def DrawBlankPage(*args
, **kwargs
):
3517 """DrawBlankPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3518 return _windows
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
3520 def RenderPage(*args
, **kwargs
):
3521 """RenderPage(int pageNum) -> bool"""
3522 return _windows
.PrintPreview_RenderPage(*args
, **kwargs
)
3524 def AdjustScrollbars(*args
, **kwargs
):
3525 """AdjustScrollbars(PreviewCanvas canvas)"""
3526 return _windows
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
3528 def GetPrintDialogData(*args
, **kwargs
):
3529 """GetPrintDialogData() -> PrintDialogData"""
3530 return _windows
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
3532 def SetZoom(*args
, **kwargs
):
3533 """SetZoom(int percent)"""
3534 return _windows
.PrintPreview_SetZoom(*args
, **kwargs
)
3536 def GetZoom(*args
, **kwargs
):
3537 """GetZoom() -> int"""
3538 return _windows
.PrintPreview_GetZoom(*args
, **kwargs
)
3540 def GetMaxPage(*args
, **kwargs
):
3541 """GetMaxPage() -> int"""
3542 return _windows
.PrintPreview_GetMaxPage(*args
, **kwargs
)
3544 def GetMinPage(*args
, **kwargs
):
3545 """GetMinPage() -> int"""
3546 return _windows
.PrintPreview_GetMinPage(*args
, **kwargs
)
3548 def Ok(*args
, **kwargs
):
3550 return _windows
.PrintPreview_Ok(*args
, **kwargs
)
3552 def SetOk(*args
, **kwargs
):
3553 """SetOk(bool ok)"""
3554 return _windows
.PrintPreview_SetOk(*args
, **kwargs
)
3556 def Print(*args
, **kwargs
):
3557 """Print(bool interactive) -> bool"""
3558 return _windows
.PrintPreview_Print(*args
, **kwargs
)
3560 def DetermineScaling(*args
, **kwargs
):
3561 """DetermineScaling()"""
3562 return _windows
.PrintPreview_DetermineScaling(*args
, **kwargs
)
3564 def __nonzero__(self
): return self
.Ok()
3566 class PrintPreviewPtr(PrintPreview
):
3567 def __init__(self
, this
):
3569 if not hasattr(self
,"thisown"): self
.thisown
= 0
3570 self
.__class
__ = PrintPreview
3571 _windows
.PrintPreview_swigregister(PrintPreviewPtr
)
3573 class PyPrintPreview(PrintPreview
):
3575 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3576 def __init__(self
, *args
, **kwargs
):
3577 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PyPrintPreview"""
3578 newobj
= _windows
.new_PyPrintPreview(*args
, **kwargs
)
3579 self
.this
= newobj
.this
3582 self
._setCallbackInfo
(self
, PyPrintPreview
)
3584 def _setCallbackInfo(*args
, **kwargs
):
3585 """_setCallbackInfo(PyObject self, PyObject _class)"""
3586 return _windows
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
3588 def base_SetCurrentPage(*args
, **kwargs
):
3589 """base_SetCurrentPage(int pageNum) -> bool"""
3590 return _windows
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
3592 def base_PaintPage(*args
, **kwargs
):
3593 """base_PaintPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3594 return _windows
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
3596 def base_DrawBlankPage(*args
, **kwargs
):
3597 """base_DrawBlankPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3598 return _windows
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
3600 def base_RenderPage(*args
, **kwargs
):
3601 """base_RenderPage(int pageNum) -> bool"""
3602 return _windows
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
3604 def base_SetZoom(*args
, **kwargs
):
3605 """base_SetZoom(int percent)"""
3606 return _windows
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
3608 def base_Print(*args
, **kwargs
):
3609 """base_Print(bool interactive) -> bool"""
3610 return _windows
.PyPrintPreview_base_Print(*args
, **kwargs
)
3612 def base_DetermineScaling(*args
, **kwargs
):
3613 """base_DetermineScaling()"""
3614 return _windows
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
3617 class PyPrintPreviewPtr(PyPrintPreview
):
3618 def __init__(self
, this
):
3620 if not hasattr(self
,"thisown"): self
.thisown
= 0
3621 self
.__class
__ = PyPrintPreview
3622 _windows
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
3624 class PyPreviewFrame(PreviewFrame
):
3626 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3627 def __init__(self
, *args
, **kwargs
):
3629 __init__(PrintPreview preview, Frame parent, wxString title,
3630 Point pos=DefaultPosition, Size size=DefaultSize,
3631 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PyPreviewFrame
3633 newobj
= _windows
.new_PyPreviewFrame(*args
, **kwargs
)
3634 self
.this
= newobj
.this
3637 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
3639 def _setCallbackInfo(*args
, **kwargs
):
3640 """_setCallbackInfo(PyObject self, PyObject _class)"""
3641 return _windows
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
3643 def SetPreviewCanvas(*args
, **kwargs
):
3644 """SetPreviewCanvas(PreviewCanvas canvas)"""
3645 return _windows
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
3647 def SetControlBar(*args
, **kwargs
):
3648 """SetControlBar(PreviewControlBar bar)"""
3649 return _windows
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
3651 def base_Initialize(*args
, **kwargs
):
3652 """base_Initialize()"""
3653 return _windows
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
3655 def base_CreateCanvas(*args
, **kwargs
):
3656 """base_CreateCanvas()"""
3657 return _windows
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
3659 def base_CreateControlBar(*args
, **kwargs
):
3660 """base_CreateControlBar()"""
3661 return _windows
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
3664 class PyPreviewFramePtr(PyPreviewFrame
):
3665 def __init__(self
, this
):
3667 if not hasattr(self
,"thisown"): self
.thisown
= 0
3668 self
.__class
__ = PyPreviewFrame
3669 _windows
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
3671 class PyPreviewControlBar(PreviewControlBar
):
3673 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3674 def __init__(self
, *args
, **kwargs
):
3676 __init__(PrintPreview preview, long buttons, Window parent,
3677 Point pos=DefaultPosition, Size size=DefaultSize,
3678 long style=0, wxString name=PanelNameStr) -> PyPreviewControlBar
3680 newobj
= _windows
.new_PyPreviewControlBar(*args
, **kwargs
)
3681 self
.this
= newobj
.this
3684 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
3686 def _setCallbackInfo(*args
, **kwargs
):
3687 """_setCallbackInfo(PyObject self, PyObject _class)"""
3688 return _windows
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
3690 def SetPrintPreview(*args
, **kwargs
):
3691 """SetPrintPreview(PrintPreview preview)"""
3692 return _windows
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
3694 def base_CreateButtons(*args
, **kwargs
):
3695 """base_CreateButtons()"""
3696 return _windows
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
3698 def base_SetZoomControl(*args
, **kwargs
):
3699 """base_SetZoomControl(int zoom)"""
3700 return _windows
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
3703 class PyPreviewControlBarPtr(PyPreviewControlBar
):
3704 def __init__(self
, this
):
3706 if not hasattr(self
,"thisown"): self
.thisown
= 0
3707 self
.__class
__ = PyPreviewControlBar
3708 _windows
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)