1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
8 #---------------------------------------------------------------------------
10 class Panel(core
.Window
):
12 return "<%s.%s; proxy of C++ wxPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
13 def __init__(self
, *args
, **kwargs
):
15 __init__(Window parent, int id=-1, Point pos=DefaultPosition,
16 Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
17 String name=PanelNameStr) -> Panel
19 newobj
= _windows
.new_Panel(*args
, **kwargs
)
20 self
.this
= newobj
.this
23 self
._setOORInfo
(self
)
25 def Create(*args
, **kwargs
):
27 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
28 long style=wxTAB_TRAVERSAL|wxNO_BORDER,
29 String name=PanelNameStr) -> bool
31 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 String 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 String 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() -> Icon"""
214 return _windows
.TopLevelWindow_GetIcon(*args
, **kwargs
)
216 def SetIcon(*args
, **kwargs
):
217 """SetIcon(Icon 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(String title)"""
234 return _windows
.TopLevelWindow_SetTitle(*args
, **kwargs
)
236 def GetTitle(*args
, **kwargs
):
237 """GetTitle() -> String"""
238 return _windows
.TopLevelWindow_GetTitle(*args
, **kwargs
)
240 def SetShape(*args
, **kwargs
):
241 """SetShape(Region 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 FrameNameStr
= cvar
.FrameNameStr
253 DialogNameStr
= cvar
.DialogNameStr
254 StatusLineNameStr
= cvar
.StatusLineNameStr
255 ToolBarNameStr
= cvar
.ToolBarNameStr
257 #---------------------------------------------------------------------------
259 class Frame(TopLevelWindow
):
261 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
262 def __init__(self
, *args
, **kwargs
):
264 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
265 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
266 String name=FrameNameStr) -> Frame
268 newobj
= _windows
.new_Frame(*args
, **kwargs
)
269 self
.this
= newobj
.this
272 self
._setOORInfo
(self
)
274 def Create(*args
, **kwargs
):
276 Create(Window parent, int id, String title, Point pos=DefaultPosition,
277 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
278 String name=FrameNameStr) -> bool
280 return _windows
.Frame_Create(*args
, **kwargs
)
282 def GetClientAreaOrigin(*args
, **kwargs
):
283 """GetClientAreaOrigin() -> Point"""
284 return _windows
.Frame_GetClientAreaOrigin(*args
, **kwargs
)
286 def SendSizeEvent(*args
, **kwargs
):
287 """SendSizeEvent()"""
288 return _windows
.Frame_SendSizeEvent(*args
, **kwargs
)
290 def SetMenuBar(*args
, **kwargs
):
291 """SetMenuBar(MenuBar menubar)"""
292 return _windows
.Frame_SetMenuBar(*args
, **kwargs
)
294 def GetMenuBar(*args
, **kwargs
):
295 """GetMenuBar() -> MenuBar"""
296 return _windows
.Frame_GetMenuBar(*args
, **kwargs
)
298 def ProcessCommand(*args
, **kwargs
):
299 """ProcessCommand(int winid) -> bool"""
300 return _windows
.Frame_ProcessCommand(*args
, **kwargs
)
302 Command
= ProcessCommand
303 def CreateStatusBar(*args
, **kwargs
):
305 CreateStatusBar(int number=1, long style=ST_SIZEGRIP, int winid=0,
306 String name=StatusLineNameStr) -> StatusBar
308 return _windows
.Frame_CreateStatusBar(*args
, **kwargs
)
310 def GetStatusBar(*args
, **kwargs
):
311 """GetStatusBar() -> StatusBar"""
312 return _windows
.Frame_GetStatusBar(*args
, **kwargs
)
314 def SetStatusBar(*args
, **kwargs
):
315 """SetStatusBar(StatusBar statBar)"""
316 return _windows
.Frame_SetStatusBar(*args
, **kwargs
)
318 def SetStatusText(*args
, **kwargs
):
319 """SetStatusText(String text, int number=0)"""
320 return _windows
.Frame_SetStatusText(*args
, **kwargs
)
322 def SetStatusWidths(*args
, **kwargs
):
323 """SetStatusWidths(int widths, int widths_field)"""
324 return _windows
.Frame_SetStatusWidths(*args
, **kwargs
)
326 def PushStatusText(*args
, **kwargs
):
327 """PushStatusText(String text, int number=0)"""
328 return _windows
.Frame_PushStatusText(*args
, **kwargs
)
330 def PopStatusText(*args
, **kwargs
):
331 """PopStatusText(int number=0)"""
332 return _windows
.Frame_PopStatusText(*args
, **kwargs
)
334 def SetStatusBarPane(*args
, **kwargs
):
335 """SetStatusBarPane(int n)"""
336 return _windows
.Frame_SetStatusBarPane(*args
, **kwargs
)
338 def GetStatusBarPane(*args
, **kwargs
):
339 """GetStatusBarPane() -> int"""
340 return _windows
.Frame_GetStatusBarPane(*args
, **kwargs
)
342 def CreateToolBar(*args
, **kwargs
):
343 """CreateToolBar(long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar"""
344 return _windows
.Frame_CreateToolBar(*args
, **kwargs
)
346 def GetToolBar(*args
, **kwargs
):
347 """GetToolBar() -> wxToolBar"""
348 return _windows
.Frame_GetToolBar(*args
, **kwargs
)
350 def SetToolBar(*args
, **kwargs
):
351 """SetToolBar(wxToolBar toolbar)"""
352 return _windows
.Frame_SetToolBar(*args
, **kwargs
)
354 def DoGiveHelp(*args
, **kwargs
):
355 """DoGiveHelp(String text, bool show)"""
356 return _windows
.Frame_DoGiveHelp(*args
, **kwargs
)
358 def DoMenuUpdates(*args
, **kwargs
):
359 """DoMenuUpdates(Menu menu=None)"""
360 return _windows
.Frame_DoMenuUpdates(*args
, **kwargs
)
363 class FramePtr(Frame
):
364 def __init__(self
, this
):
366 if not hasattr(self
,"thisown"): self
.thisown
= 0
367 self
.__class
__ = Frame
368 _windows
.Frame_swigregister(FramePtr
)
370 def PreFrame(*args
, **kwargs
):
371 """PreFrame() -> Frame"""
372 val
= _windows
.new_PreFrame(*args
, **kwargs
)
376 #---------------------------------------------------------------------------
378 class Dialog(TopLevelWindow
):
380 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
381 def __init__(self
, *args
, **kwargs
):
383 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
384 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
385 String name=DialogNameStr) -> Dialog
387 newobj
= _windows
.new_Dialog(*args
, **kwargs
)
388 self
.this
= newobj
.this
391 self
._setOORInfo
(self
)
393 def Create(*args
, **kwargs
):
395 Create(Window parent, int id, String title, Point pos=DefaultPosition,
396 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
397 String name=DialogNameStr) -> bool
399 return _windows
.Dialog_Create(*args
, **kwargs
)
401 def SetReturnCode(*args
, **kwargs
):
402 """SetReturnCode(int returnCode)"""
403 return _windows
.Dialog_SetReturnCode(*args
, **kwargs
)
405 def GetReturnCode(*args
, **kwargs
):
406 """GetReturnCode() -> int"""
407 return _windows
.Dialog_GetReturnCode(*args
, **kwargs
)
409 def CreateTextSizer(*args
, **kwargs
):
410 """CreateTextSizer(String message) -> Sizer"""
411 return _windows
.Dialog_CreateTextSizer(*args
, **kwargs
)
413 def CreateButtonSizer(*args
, **kwargs
):
414 """CreateButtonSizer(long flags) -> Sizer"""
415 return _windows
.Dialog_CreateButtonSizer(*args
, **kwargs
)
417 def IsModal(*args
, **kwargs
):
418 """IsModal() -> bool"""
419 return _windows
.Dialog_IsModal(*args
, **kwargs
)
421 def ShowModal(*args
, **kwargs
):
422 """ShowModal() -> int"""
423 return _windows
.Dialog_ShowModal(*args
, **kwargs
)
425 def EndModal(*args
, **kwargs
):
426 """EndModal(int retCode)"""
427 return _windows
.Dialog_EndModal(*args
, **kwargs
)
429 def IsModalShowing(*args
, **kwargs
):
430 """IsModalShowing() -> bool"""
431 return _windows
.Dialog_IsModalShowing(*args
, **kwargs
)
434 class DialogPtr(Dialog
):
435 def __init__(self
, this
):
437 if not hasattr(self
,"thisown"): self
.thisown
= 0
438 self
.__class
__ = Dialog
439 _windows
.Dialog_swigregister(DialogPtr
)
441 def PreDialog(*args
, **kwargs
):
442 """PreDialog() -> Dialog"""
443 val
= _windows
.new_PreDialog(*args
, **kwargs
)
447 #---------------------------------------------------------------------------
449 class MiniFrame(Frame
):
451 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
452 def __init__(self
, *args
, **kwargs
):
454 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
455 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
456 String name=FrameNameStr) -> MiniFrame
458 newobj
= _windows
.new_MiniFrame(*args
, **kwargs
)
459 self
.this
= newobj
.this
462 self
._setOORInfo
(self
)
464 def Create(*args
, **kwargs
):
466 Create(Window parent, int id, String title, Point pos=DefaultPosition,
467 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
468 String name=FrameNameStr) -> bool
470 return _windows
.MiniFrame_Create(*args
, **kwargs
)
473 class MiniFramePtr(MiniFrame
):
474 def __init__(self
, this
):
476 if not hasattr(self
,"thisown"): self
.thisown
= 0
477 self
.__class
__ = MiniFrame
478 _windows
.MiniFrame_swigregister(MiniFramePtr
)
480 def PreMiniFrame(*args
, **kwargs
):
481 """PreMiniFrame() -> MiniFrame"""
482 val
= _windows
.new_PreMiniFrame(*args
, **kwargs
)
486 #---------------------------------------------------------------------------
488 SPLASH_CENTRE_ON_PARENT
= _windows
.SPLASH_CENTRE_ON_PARENT
489 SPLASH_CENTRE_ON_SCREEN
= _windows
.SPLASH_CENTRE_ON_SCREEN
490 SPLASH_NO_CENTRE
= _windows
.SPLASH_NO_CENTRE
491 SPLASH_TIMEOUT
= _windows
.SPLASH_TIMEOUT
492 SPLASH_NO_TIMEOUT
= _windows
.SPLASH_NO_TIMEOUT
493 class SplashScreenWindow(core
.Window
):
495 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
496 def __init__(self
, *args
, **kwargs
):
498 __init__(Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
499 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
501 newobj
= _windows
.new_SplashScreenWindow(*args
, **kwargs
)
502 self
.this
= newobj
.this
505 self
._setOORInfo
(self
)
507 def SetBitmap(*args
, **kwargs
):
508 """SetBitmap(Bitmap bitmap)"""
509 return _windows
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
511 def GetBitmap(*args
, **kwargs
):
512 """GetBitmap() -> Bitmap"""
513 return _windows
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
516 class SplashScreenWindowPtr(SplashScreenWindow
):
517 def __init__(self
, this
):
519 if not hasattr(self
,"thisown"): self
.thisown
= 0
520 self
.__class
__ = SplashScreenWindow
521 _windows
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
523 class SplashScreen(Frame
):
525 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
526 def __init__(self
, *args
, **kwargs
):
528 __init__(Bitmap bitmap, long splashStyle, int milliseconds,
529 Window parent, int id, Point pos=DefaultPosition,
530 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
532 newobj
= _windows
.new_SplashScreen(*args
, **kwargs
)
533 self
.this
= newobj
.this
536 self
._setOORInfo
(self
)
538 def GetSplashStyle(*args
, **kwargs
):
539 """GetSplashStyle() -> long"""
540 return _windows
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
542 def GetSplashWindow(*args
, **kwargs
):
543 """GetSplashWindow() -> SplashScreenWindow"""
544 return _windows
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
546 def GetTimeout(*args
, **kwargs
):
547 """GetTimeout() -> int"""
548 return _windows
.SplashScreen_GetTimeout(*args
, **kwargs
)
551 class SplashScreenPtr(SplashScreen
):
552 def __init__(self
, this
):
554 if not hasattr(self
,"thisown"): self
.thisown
= 0
555 self
.__class
__ = SplashScreen
556 _windows
.SplashScreen_swigregister(SplashScreenPtr
)
558 #---------------------------------------------------------------------------
560 class StatusBar(core
.Window
):
562 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
563 def __init__(self
, *args
, **kwargs
):
564 """__init__(Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> StatusBar"""
565 newobj
= _windows
.new_StatusBar(*args
, **kwargs
)
566 self
.this
= newobj
.this
569 self
._setOORInfo
(self
)
571 def Create(*args
, **kwargs
):
572 """Create(Window parent, int id, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
573 return _windows
.StatusBar_Create(*args
, **kwargs
)
575 def SetFieldsCount(*args
, **kwargs
):
576 """SetFieldsCount(int number=1)"""
577 return _windows
.StatusBar_SetFieldsCount(*args
, **kwargs
)
579 def GetFieldsCount(*args
, **kwargs
):
580 """GetFieldsCount() -> int"""
581 return _windows
.StatusBar_GetFieldsCount(*args
, **kwargs
)
583 def SetStatusText(*args
, **kwargs
):
584 """SetStatusText(String text, int number=0)"""
585 return _windows
.StatusBar_SetStatusText(*args
, **kwargs
)
587 def GetStatusText(*args
, **kwargs
):
588 """GetStatusText(int number=0) -> String"""
589 return _windows
.StatusBar_GetStatusText(*args
, **kwargs
)
591 def PushStatusText(*args
, **kwargs
):
592 """PushStatusText(String text, int number=0)"""
593 return _windows
.StatusBar_PushStatusText(*args
, **kwargs
)
595 def PopStatusText(*args
, **kwargs
):
596 """PopStatusText(int number=0)"""
597 return _windows
.StatusBar_PopStatusText(*args
, **kwargs
)
599 def SetStatusWidths(*args
, **kwargs
):
600 """SetStatusWidths(int widths, int widths_field)"""
601 return _windows
.StatusBar_SetStatusWidths(*args
, **kwargs
)
603 def GetFieldRect(*args
, **kwargs
):
604 """GetFieldRect(int i) -> Rect"""
605 return _windows
.StatusBar_GetFieldRect(*args
, **kwargs
)
607 def SetMinHeight(*args
, **kwargs
):
608 """SetMinHeight(int height)"""
609 return _windows
.StatusBar_SetMinHeight(*args
, **kwargs
)
611 def GetBorderX(*args
, **kwargs
):
612 """GetBorderX() -> int"""
613 return _windows
.StatusBar_GetBorderX(*args
, **kwargs
)
615 def GetBorderY(*args
, **kwargs
):
616 """GetBorderY() -> int"""
617 return _windows
.StatusBar_GetBorderY(*args
, **kwargs
)
620 class StatusBarPtr(StatusBar
):
621 def __init__(self
, this
):
623 if not hasattr(self
,"thisown"): self
.thisown
= 0
624 self
.__class
__ = StatusBar
625 _windows
.StatusBar_swigregister(StatusBarPtr
)
627 def PreStatusBar(*args
, **kwargs
):
628 """PreStatusBar() -> StatusBar"""
629 val
= _windows
.new_PreStatusBar(*args
, **kwargs
)
633 #---------------------------------------------------------------------------
635 SP_NOBORDER
= _windows
.SP_NOBORDER
636 SP_NOSASH
= _windows
.SP_NOSASH
637 SP_PERMIT_UNSPLIT
= _windows
.SP_PERMIT_UNSPLIT
638 SP_LIVE_UPDATE
= _windows
.SP_LIVE_UPDATE
639 SP_3DSASH
= _windows
.SP_3DSASH
640 SP_3DBORDER
= _windows
.SP_3DBORDER
641 SP_BORDER
= _windows
.SP_BORDER
642 SP_3D
= _windows
.SP_3D
643 SPLIT_HORIZONTAL
= _windows
.SPLIT_HORIZONTAL
644 SPLIT_VERTICAL
= _windows
.SPLIT_VERTICAL
645 SPLIT_DRAG_NONE
= _windows
.SPLIT_DRAG_NONE
646 SPLIT_DRAG_DRAGGING
= _windows
.SPLIT_DRAG_DRAGGING
647 SPLIT_DRAG_LEFT_DOWN
= _windows
.SPLIT_DRAG_LEFT_DOWN
648 class SplitterWindow(core
.Window
):
650 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
651 def __init__(self
, *args
, **kwargs
):
653 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
654 long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
656 if kwargs
.has_key('point'): kwargs
['pos'] = kwargs
['point']
657 newobj
= _windows
.new_SplitterWindow(*args
, **kwargs
)
658 self
.this
= newobj
.this
661 self
._setOORInfo
(self
)
663 def Create(*args
, **kwargs
):
665 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
666 long style=SP_3D, String name=SplitterNameStr) -> bool
668 return _windows
.SplitterWindow_Create(*args
, **kwargs
)
670 def GetWindow1(*args
, **kwargs
):
671 """GetWindow1() -> Window"""
672 return _windows
.SplitterWindow_GetWindow1(*args
, **kwargs
)
674 def GetWindow2(*args
, **kwargs
):
675 """GetWindow2() -> Window"""
676 return _windows
.SplitterWindow_GetWindow2(*args
, **kwargs
)
678 def SetSplitMode(*args
, **kwargs
):
679 """SetSplitMode(int mode)"""
680 return _windows
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
682 def GetSplitMode(*args
, **kwargs
):
683 """GetSplitMode() -> int"""
684 return _windows
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
686 def Initialize(*args
, **kwargs
):
687 """Initialize(Window window)"""
688 return _windows
.SplitterWindow_Initialize(*args
, **kwargs
)
690 def SplitVertically(*args
, **kwargs
):
691 """SplitVertically(Window window1, Window window2, int sashPosition=0) -> bool"""
692 return _windows
.SplitterWindow_SplitVertically(*args
, **kwargs
)
694 def SplitHorizontally(*args
, **kwargs
):
695 """SplitHorizontally(Window window1, Window window2, int sashPosition=0) -> bool"""
696 return _windows
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
698 def Unsplit(*args
, **kwargs
):
699 """Unsplit(Window toRemove=None) -> bool"""
700 return _windows
.SplitterWindow_Unsplit(*args
, **kwargs
)
702 def ReplaceWindow(*args
, **kwargs
):
703 """ReplaceWindow(Window winOld, Window winNew) -> bool"""
704 return _windows
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
706 def IsSplit(*args
, **kwargs
):
707 """IsSplit() -> bool"""
708 return _windows
.SplitterWindow_IsSplit(*args
, **kwargs
)
710 def SetSashSize(*args
, **kwargs
):
711 """SetSashSize(int width)"""
712 return _windows
.SplitterWindow_SetSashSize(*args
, **kwargs
)
714 def SetBorderSize(*args
, **kwargs
):
715 """SetBorderSize(int width)"""
716 return _windows
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
718 def GetSashSize(*args
, **kwargs
):
719 """GetSashSize() -> int"""
720 return _windows
.SplitterWindow_GetSashSize(*args
, **kwargs
)
722 def GetBorderSize(*args
, **kwargs
):
723 """GetBorderSize() -> int"""
724 return _windows
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
726 def SetSashPosition(*args
, **kwargs
):
727 """SetSashPosition(int position, bool redraw=True)"""
728 return _windows
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
730 def GetSashPosition(*args
, **kwargs
):
731 """GetSashPosition() -> int"""
732 return _windows
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
734 def SetMinimumPaneSize(*args
, **kwargs
):
735 """SetMinimumPaneSize(int min)"""
736 return _windows
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
738 def GetMinimumPaneSize(*args
, **kwargs
):
739 """GetMinimumPaneSize() -> int"""
740 return _windows
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
742 def SashHitTest(*args
, **kwargs
):
743 """SashHitTest(int x, int y, int tolerance=5) -> bool"""
744 return _windows
.SplitterWindow_SashHitTest(*args
, **kwargs
)
746 def SizeWindows(*args
, **kwargs
):
748 return _windows
.SplitterWindow_SizeWindows(*args
, **kwargs
)
750 def SetNeedUpdating(*args
, **kwargs
):
751 """SetNeedUpdating(bool needUpdating)"""
752 return _windows
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
754 def GetNeedUpdating(*args
, **kwargs
):
755 """GetNeedUpdating() -> bool"""
756 return _windows
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
759 class SplitterWindowPtr(SplitterWindow
):
760 def __init__(self
, this
):
762 if not hasattr(self
,"thisown"): self
.thisown
= 0
763 self
.__class
__ = SplitterWindow
764 _windows
.SplitterWindow_swigregister(SplitterWindowPtr
)
765 SplitterNameStr
= cvar
.SplitterNameStr
767 def PreSplitterWindow(*args
, **kwargs
):
768 """PreSplitterWindow() -> SplitterWindow"""
769 val
= _windows
.new_PreSplitterWindow(*args
, **kwargs
)
773 class SplitterEvent(core
.NotifyEvent
):
775 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
776 def __init__(self
, *args
, **kwargs
):
777 """__init__(wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent"""
778 newobj
= _windows
.new_SplitterEvent(*args
, **kwargs
)
779 self
.this
= newobj
.this
782 def SetSashPosition(*args
, **kwargs
):
783 """SetSashPosition(int pos)"""
784 return _windows
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
786 def GetSashPosition(*args
, **kwargs
):
787 """GetSashPosition() -> int"""
788 return _windows
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
790 def GetWindowBeingRemoved(*args
, **kwargs
):
791 """GetWindowBeingRemoved() -> Window"""
792 return _windows
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
794 def GetX(*args
, **kwargs
):
796 return _windows
.SplitterEvent_GetX(*args
, **kwargs
)
798 def GetY(*args
, **kwargs
):
800 return _windows
.SplitterEvent_GetY(*args
, **kwargs
)
803 class SplitterEventPtr(SplitterEvent
):
804 def __init__(self
, this
):
806 if not hasattr(self
,"thisown"): self
.thisown
= 0
807 self
.__class
__ = SplitterEvent
808 _windows
.SplitterEvent_swigregister(SplitterEventPtr
)
810 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
811 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
812 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
813 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows
.wxEVT_COMMAND_SPLITTER_UNSPLIT
814 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
815 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
816 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
817 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
819 #---------------------------------------------------------------------------
821 SASH_DRAG_NONE
= _windows
.SASH_DRAG_NONE
822 SASH_DRAG_DRAGGING
= _windows
.SASH_DRAG_DRAGGING
823 SASH_DRAG_LEFT_DOWN
= _windows
.SASH_DRAG_LEFT_DOWN
824 SW_NOBORDER
= _windows
.SW_NOBORDER
825 SW_BORDER
= _windows
.SW_BORDER
826 SW_3DSASH
= _windows
.SW_3DSASH
827 SW_3DBORDER
= _windows
.SW_3DBORDER
828 SW_3D
= _windows
.SW_3D
829 SASH_TOP
= _windows
.SASH_TOP
830 SASH_RIGHT
= _windows
.SASH_RIGHT
831 SASH_BOTTOM
= _windows
.SASH_BOTTOM
832 SASH_LEFT
= _windows
.SASH_LEFT
833 SASH_NONE
= _windows
.SASH_NONE
834 class SashWindow(core
.Window
):
836 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
837 def __init__(self
, *args
, **kwargs
):
839 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
840 long style=wxCLIP_CHILDREN|wxSW_3D,
841 String name=SashNameStr) -> SashWindow
843 newobj
= _windows
.new_SashWindow(*args
, **kwargs
)
844 self
.this
= newobj
.this
847 self
._setOORInfo
(self
)
849 def Create(*args
, **kwargs
):
851 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
852 long style=wxCLIP_CHILDREN|wxSW_3D,
853 String name=SashNameStr) -> bool
855 return _windows
.SashWindow_Create(*args
, **kwargs
)
857 def SetSashVisible(*args
, **kwargs
):
858 """SetSashVisible(int edge, bool sash)"""
859 return _windows
.SashWindow_SetSashVisible(*args
, **kwargs
)
861 def GetSashVisible(*args
, **kwargs
):
862 """GetSashVisible(int edge) -> bool"""
863 return _windows
.SashWindow_GetSashVisible(*args
, **kwargs
)
865 def SetSashBorder(*args
, **kwargs
):
866 """SetSashBorder(int edge, bool border)"""
867 return _windows
.SashWindow_SetSashBorder(*args
, **kwargs
)
869 def HasBorder(*args
, **kwargs
):
870 """HasBorder(int edge) -> bool"""
871 return _windows
.SashWindow_HasBorder(*args
, **kwargs
)
873 def GetEdgeMargin(*args
, **kwargs
):
874 """GetEdgeMargin(int edge) -> int"""
875 return _windows
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
877 def SetDefaultBorderSize(*args
, **kwargs
):
878 """SetDefaultBorderSize(int width)"""
879 return _windows
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
881 def GetDefaultBorderSize(*args
, **kwargs
):
882 """GetDefaultBorderSize() -> int"""
883 return _windows
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
885 def SetExtraBorderSize(*args
, **kwargs
):
886 """SetExtraBorderSize(int width)"""
887 return _windows
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
889 def GetExtraBorderSize(*args
, **kwargs
):
890 """GetExtraBorderSize() -> int"""
891 return _windows
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
893 def SetMinimumSizeX(*args
, **kwargs
):
894 """SetMinimumSizeX(int min)"""
895 return _windows
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
897 def SetMinimumSizeY(*args
, **kwargs
):
898 """SetMinimumSizeY(int min)"""
899 return _windows
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
901 def GetMinimumSizeX(*args
, **kwargs
):
902 """GetMinimumSizeX() -> int"""
903 return _windows
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
905 def GetMinimumSizeY(*args
, **kwargs
):
906 """GetMinimumSizeY() -> int"""
907 return _windows
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
909 def SetMaximumSizeX(*args
, **kwargs
):
910 """SetMaximumSizeX(int max)"""
911 return _windows
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
913 def SetMaximumSizeY(*args
, **kwargs
):
914 """SetMaximumSizeY(int max)"""
915 return _windows
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
917 def GetMaximumSizeX(*args
, **kwargs
):
918 """GetMaximumSizeX() -> int"""
919 return _windows
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
921 def GetMaximumSizeY(*args
, **kwargs
):
922 """GetMaximumSizeY() -> int"""
923 return _windows
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
925 def SashHitTest(*args
, **kwargs
):
926 """SashHitTest(int x, int y, int tolerance=2) -> int"""
927 return _windows
.SashWindow_SashHitTest(*args
, **kwargs
)
929 def SizeWindows(*args
, **kwargs
):
931 return _windows
.SashWindow_SizeWindows(*args
, **kwargs
)
934 class SashWindowPtr(SashWindow
):
935 def __init__(self
, this
):
937 if not hasattr(self
,"thisown"): self
.thisown
= 0
938 self
.__class
__ = SashWindow
939 _windows
.SashWindow_swigregister(SashWindowPtr
)
940 SashNameStr
= cvar
.SashNameStr
941 SashLayoutNameStr
= cvar
.SashLayoutNameStr
943 def PreSashWindow(*args
, **kwargs
):
944 """PreSashWindow() -> SashWindow"""
945 val
= _windows
.new_PreSashWindow(*args
, **kwargs
)
949 SASH_STATUS_OK
= _windows
.SASH_STATUS_OK
950 SASH_STATUS_OUT_OF_RANGE
= _windows
.SASH_STATUS_OUT_OF_RANGE
951 class SashEvent(core
.CommandEvent
):
953 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
954 def __init__(self
, *args
, **kwargs
):
955 """__init__(int id=0, int edge=SASH_NONE) -> SashEvent"""
956 newobj
= _windows
.new_SashEvent(*args
, **kwargs
)
957 self
.this
= newobj
.this
960 def SetEdge(*args
, **kwargs
):
961 """SetEdge(int edge)"""
962 return _windows
.SashEvent_SetEdge(*args
, **kwargs
)
964 def GetEdge(*args
, **kwargs
):
965 """GetEdge() -> int"""
966 return _windows
.SashEvent_GetEdge(*args
, **kwargs
)
968 def SetDragRect(*args
, **kwargs
):
969 """SetDragRect(Rect rect)"""
970 return _windows
.SashEvent_SetDragRect(*args
, **kwargs
)
972 def GetDragRect(*args
, **kwargs
):
973 """GetDragRect() -> Rect"""
974 return _windows
.SashEvent_GetDragRect(*args
, **kwargs
)
976 def SetDragStatus(*args
, **kwargs
):
977 """SetDragStatus(int status)"""
978 return _windows
.SashEvent_SetDragStatus(*args
, **kwargs
)
980 def GetDragStatus(*args
, **kwargs
):
981 """GetDragStatus() -> int"""
982 return _windows
.SashEvent_GetDragStatus(*args
, **kwargs
)
985 class SashEventPtr(SashEvent
):
986 def __init__(self
, this
):
988 if not hasattr(self
,"thisown"): self
.thisown
= 0
989 self
.__class
__ = SashEvent
990 _windows
.SashEvent_swigregister(SashEventPtr
)
992 wxEVT_SASH_DRAGGED
= _windows
.wxEVT_SASH_DRAGGED
993 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
994 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
996 #---------------------------------------------------------------------------
998 LAYOUT_HORIZONTAL
= _windows
.LAYOUT_HORIZONTAL
999 LAYOUT_VERTICAL
= _windows
.LAYOUT_VERTICAL
1000 LAYOUT_NONE
= _windows
.LAYOUT_NONE
1001 LAYOUT_TOP
= _windows
.LAYOUT_TOP
1002 LAYOUT_LEFT
= _windows
.LAYOUT_LEFT
1003 LAYOUT_RIGHT
= _windows
.LAYOUT_RIGHT
1004 LAYOUT_BOTTOM
= _windows
.LAYOUT_BOTTOM
1005 LAYOUT_LENGTH_Y
= _windows
.LAYOUT_LENGTH_Y
1006 LAYOUT_LENGTH_X
= _windows
.LAYOUT_LENGTH_X
1007 LAYOUT_MRU_LENGTH
= _windows
.LAYOUT_MRU_LENGTH
1008 LAYOUT_QUERY
= _windows
.LAYOUT_QUERY
1009 wxEVT_QUERY_LAYOUT_INFO
= _windows
.wxEVT_QUERY_LAYOUT_INFO
1010 wxEVT_CALCULATE_LAYOUT
= _windows
.wxEVT_CALCULATE_LAYOUT
1011 class QueryLayoutInfoEvent(core
.Event
):
1013 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1014 def __init__(self
, *args
, **kwargs
):
1015 """__init__(int id=0) -> QueryLayoutInfoEvent"""
1016 newobj
= _windows
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1017 self
.this
= newobj
.this
1020 def SetRequestedLength(*args
, **kwargs
):
1021 """SetRequestedLength(int length)"""
1022 return _windows
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1024 def GetRequestedLength(*args
, **kwargs
):
1025 """GetRequestedLength() -> int"""
1026 return _windows
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1028 def SetFlags(*args
, **kwargs
):
1029 """SetFlags(int flags)"""
1030 return _windows
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1032 def GetFlags(*args
, **kwargs
):
1033 """GetFlags() -> int"""
1034 return _windows
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1036 def SetSize(*args
, **kwargs
):
1037 """SetSize(Size size)"""
1038 return _windows
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1040 def GetSize(*args
, **kwargs
):
1041 """GetSize() -> Size"""
1042 return _windows
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1044 def SetOrientation(*args
, **kwargs
):
1045 """SetOrientation(int orient)"""
1046 return _windows
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1048 def GetOrientation(*args
, **kwargs
):
1049 """GetOrientation() -> int"""
1050 return _windows
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1052 def SetAlignment(*args
, **kwargs
):
1053 """SetAlignment(int align)"""
1054 return _windows
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1056 def GetAlignment(*args
, **kwargs
):
1057 """GetAlignment() -> int"""
1058 return _windows
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1061 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1062 def __init__(self
, this
):
1064 if not hasattr(self
,"thisown"): self
.thisown
= 0
1065 self
.__class
__ = QueryLayoutInfoEvent
1066 _windows
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1068 class CalculateLayoutEvent(core
.Event
):
1070 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1071 def __init__(self
, *args
, **kwargs
):
1072 """__init__(int id=0) -> CalculateLayoutEvent"""
1073 newobj
= _windows
.new_CalculateLayoutEvent(*args
, **kwargs
)
1074 self
.this
= newobj
.this
1077 def SetFlags(*args
, **kwargs
):
1078 """SetFlags(int flags)"""
1079 return _windows
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1081 def GetFlags(*args
, **kwargs
):
1082 """GetFlags() -> int"""
1083 return _windows
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1085 def SetRect(*args
, **kwargs
):
1086 """SetRect(Rect rect)"""
1087 return _windows
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1089 def GetRect(*args
, **kwargs
):
1090 """GetRect() -> Rect"""
1091 return _windows
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1094 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1095 def __init__(self
, this
):
1097 if not hasattr(self
,"thisown"): self
.thisown
= 0
1098 self
.__class
__ = CalculateLayoutEvent
1099 _windows
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1101 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1102 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1104 class SashLayoutWindow(SashWindow
):
1106 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1107 def __init__(self
, *args
, **kwargs
):
1109 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1110 long style=wxCLIP_CHILDREN|wxSW_3D,
1111 String name=SashLayoutNameStr) -> SashLayoutWindow
1113 newobj
= _windows
.new_SashLayoutWindow(*args
, **kwargs
)
1114 self
.this
= newobj
.this
1117 self
._setOORInfo
(self
)
1119 def Create(*args
, **kwargs
):
1121 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1122 long style=wxCLIP_CHILDREN|wxSW_3D,
1123 String name=SashLayoutNameStr) -> bool
1125 return _windows
.SashLayoutWindow_Create(*args
, **kwargs
)
1127 def GetAlignment(*args
, **kwargs
):
1128 """GetAlignment() -> int"""
1129 return _windows
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1131 def GetOrientation(*args
, **kwargs
):
1132 """GetOrientation() -> int"""
1133 return _windows
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1135 def SetAlignment(*args
, **kwargs
):
1136 """SetAlignment(int alignment)"""
1137 return _windows
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1139 def SetDefaultSize(*args
, **kwargs
):
1140 """SetDefaultSize(Size size)"""
1141 return _windows
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1143 def SetOrientation(*args
, **kwargs
):
1144 """SetOrientation(int orientation)"""
1145 return _windows
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1148 class SashLayoutWindowPtr(SashLayoutWindow
):
1149 def __init__(self
, this
):
1151 if not hasattr(self
,"thisown"): self
.thisown
= 0
1152 self
.__class
__ = SashLayoutWindow
1153 _windows
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1155 def PreSashLayoutWindow(*args
, **kwargs
):
1156 """PreSashLayoutWindow() -> SashLayoutWindow"""
1157 val
= _windows
.new_PreSashLayoutWindow(*args
, **kwargs
)
1161 class LayoutAlgorithm(core
.Object
):
1163 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1164 def __init__(self
, *args
, **kwargs
):
1165 """__init__() -> LayoutAlgorithm"""
1166 newobj
= _windows
.new_LayoutAlgorithm(*args
, **kwargs
)
1167 self
.this
= newobj
.this
1170 def __del__(self
, destroy
=_windows
.delete_LayoutAlgorithm
):
1173 if self
.thisown
: destroy(self
)
1176 def LayoutMDIFrame(*args
, **kwargs
):
1177 """LayoutMDIFrame(MDIParentFrame frame, Rect rect=None) -> bool"""
1178 return _windows
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1180 def LayoutFrame(*args
, **kwargs
):
1181 """LayoutFrame(Frame frame, Window mainWindow=None) -> bool"""
1182 return _windows
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1184 def LayoutWindow(*args
, **kwargs
):
1185 """LayoutWindow(Window parent, Window mainWindow=None) -> bool"""
1186 return _windows
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1189 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1190 def __init__(self
, this
):
1192 if not hasattr(self
,"thisown"): self
.thisown
= 0
1193 self
.__class
__ = LayoutAlgorithm
1194 _windows
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1196 #---------------------------------------------------------------------------
1198 class PopupWindow(core
.Window
):
1200 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1201 def __init__(self
, *args
, **kwargs
):
1202 """__init__(Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1203 newobj
= _windows
.new_PopupWindow(*args
, **kwargs
)
1204 self
.this
= newobj
.this
1207 self
._setOORInfo
(self
)
1209 def Create(*args
, **kwargs
):
1210 """Create(Window parent, int flags=BORDER_NONE) -> bool"""
1211 return _windows
.PopupWindow_Create(*args
, **kwargs
)
1213 def Position(*args
, **kwargs
):
1214 """Position(Point ptOrigin, Size size)"""
1215 return _windows
.PopupWindow_Position(*args
, **kwargs
)
1218 class PopupWindowPtr(PopupWindow
):
1219 def __init__(self
, this
):
1221 if not hasattr(self
,"thisown"): self
.thisown
= 0
1222 self
.__class
__ = PopupWindow
1223 _windows
.PopupWindow_swigregister(PopupWindowPtr
)
1225 def PrePopupWindow(*args
, **kwargs
):
1226 """PrePopupWindow() -> PopupWindow"""
1227 val
= _windows
.new_PrePopupWindow(*args
, **kwargs
)
1231 #---------------------------------------------------------------------------
1233 class PopupTransientWindow(PopupWindow
):
1235 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1236 def __init__(self
, *args
, **kwargs
):
1237 """__init__(Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1238 newobj
= _windows
.new_PopupTransientWindow(*args
, **kwargs
)
1239 self
.this
= newobj
.this
1242 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, PopupTransientWindow
)
1244 def _setCallbackInfo(*args
, **kwargs
):
1245 """_setCallbackInfo(PyObject self, PyObject _class)"""
1246 return _windows
.PopupTransientWindow__setCallbackInfo(*args
, **kwargs
)
1248 def Popup(*args
, **kwargs
):
1249 """Popup(Window focus=None)"""
1250 return _windows
.PopupTransientWindow_Popup(*args
, **kwargs
)
1252 def Dismiss(*args
, **kwargs
):
1254 return _windows
.PopupTransientWindow_Dismiss(*args
, **kwargs
)
1257 class PopupTransientWindowPtr(PopupTransientWindow
):
1258 def __init__(self
, this
):
1260 if not hasattr(self
,"thisown"): self
.thisown
= 0
1261 self
.__class
__ = PopupTransientWindow
1262 _windows
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1264 def PrePopupTransientWindow(*args
, **kwargs
):
1265 """PrePopupTransientWindow() -> PopupTransientWindow"""
1266 val
= _windows
.new_PrePopupTransientWindow(*args
, **kwargs
)
1270 #---------------------------------------------------------------------------
1272 class TipWindow(PopupTransientWindow
):
1274 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1275 def __init__(self
, *args
, **kwargs
):
1276 """__init__(Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1277 newobj
= _windows
.new_TipWindow(*args
, **kwargs
)
1278 self
.this
= newobj
.this
1281 self
._setOORInfo
(self
)
1283 def SetBoundingRect(*args
, **kwargs
):
1284 """SetBoundingRect(Rect rectBound)"""
1285 return _windows
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1287 def Close(*args
, **kwargs
):
1289 return _windows
.TipWindow_Close(*args
, **kwargs
)
1292 class TipWindowPtr(TipWindow
):
1293 def __init__(self
, this
):
1295 if not hasattr(self
,"thisown"): self
.thisown
= 0
1296 self
.__class
__ = TipWindow
1297 _windows
.TipWindow_swigregister(TipWindowPtr
)
1299 #---------------------------------------------------------------------------
1301 class VScrolledWindow(Panel
):
1303 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1304 def __init__(self
, *args
, **kwargs
):
1306 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1307 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
1309 newobj
= _windows
.new_VScrolledWindow(*args
, **kwargs
)
1310 self
.this
= newobj
.this
1313 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1315 def _setCallbackInfo(*args
, **kwargs
):
1316 """_setCallbackInfo(PyObject self, PyObject _class)"""
1317 return _windows
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1319 def Create(*args
, **kwargs
):
1321 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1322 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
1324 return _windows
.VScrolledWindow_Create(*args
, **kwargs
)
1326 def SetLineCount(*args
, **kwargs
):
1327 """SetLineCount(size_t count)"""
1328 return _windows
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1330 def ScrollToLine(*args
, **kwargs
):
1331 """ScrollToLine(size_t line) -> bool"""
1332 return _windows
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1334 def ScrollLines(*args
, **kwargs
):
1335 """ScrollLines(int lines) -> bool"""
1336 return _windows
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1338 def ScrollPages(*args
, **kwargs
):
1339 """ScrollPages(int pages) -> bool"""
1340 return _windows
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1342 def RefreshLine(*args
, **kwargs
):
1343 """RefreshLine(size_t line)"""
1344 return _windows
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1346 def RefreshLines(*args
, **kwargs
):
1347 """RefreshLines(size_t from, size_t to)"""
1348 return _windows
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1350 def HitTestXT(*args
, **kwargs
):
1351 """HitTestXT(int x, int y) -> int"""
1352 return _windows
.VScrolledWindow_HitTestXT(*args
, **kwargs
)
1354 def HitTest(*args
, **kwargs
):
1355 """HitTest(Point pt) -> int"""
1356 return _windows
.VScrolledWindow_HitTest(*args
, **kwargs
)
1358 def RefreshAll(*args
, **kwargs
):
1360 return _windows
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1362 def GetLineCount(*args
, **kwargs
):
1363 """GetLineCount() -> size_t"""
1364 return _windows
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1366 def GetFirstVisibleLine(*args
, **kwargs
):
1367 """GetFirstVisibleLine() -> size_t"""
1368 return _windows
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1370 def GetLastVisibleLine(*args
, **kwargs
):
1371 """GetLastVisibleLine() -> size_t"""
1372 return _windows
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1374 def IsVisible(*args
, **kwargs
):
1375 """IsVisible(size_t line) -> bool"""
1376 return _windows
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1379 class VScrolledWindowPtr(VScrolledWindow
):
1380 def __init__(self
, this
):
1382 if not hasattr(self
,"thisown"): self
.thisown
= 0
1383 self
.__class
__ = VScrolledWindow
1384 _windows
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
1386 def PreVScrolledWindow(*args
, **kwargs
):
1387 """PreVScrolledWindow() -> VScrolledWindow"""
1388 val
= _windows
.new_PreVScrolledWindow(*args
, **kwargs
)
1392 class VListBox(VScrolledWindow
):
1394 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1395 def __init__(self
, *args
, **kwargs
):
1397 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1398 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
1400 newobj
= _windows
.new_VListBox(*args
, **kwargs
)
1401 self
.this
= newobj
.this
1404 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
1406 def _setCallbackInfo(*args
, **kwargs
):
1407 """_setCallbackInfo(PyObject self, PyObject _class)"""
1408 return _windows
.VListBox__setCallbackInfo(*args
, **kwargs
)
1410 def Create(*args
, **kwargs
):
1412 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1413 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1415 return _windows
.VListBox_Create(*args
, **kwargs
)
1417 def GetItemCount(*args
, **kwargs
):
1418 """GetItemCount() -> size_t"""
1419 return _windows
.VListBox_GetItemCount(*args
, **kwargs
)
1421 def HasMultipleSelection(*args
, **kwargs
):
1422 """HasMultipleSelection() -> bool"""
1423 return _windows
.VListBox_HasMultipleSelection(*args
, **kwargs
)
1425 def GetSelection(*args
, **kwargs
):
1426 """GetSelection() -> int"""
1427 return _windows
.VListBox_GetSelection(*args
, **kwargs
)
1429 def IsCurrent(*args
, **kwargs
):
1430 """IsCurrent(size_t item) -> bool"""
1431 return _windows
.VListBox_IsCurrent(*args
, **kwargs
)
1433 def IsSelected(*args
, **kwargs
):
1434 """IsSelected(size_t item) -> bool"""
1435 return _windows
.VListBox_IsSelected(*args
, **kwargs
)
1437 def GetSelectedCount(*args
, **kwargs
):
1438 """GetSelectedCount() -> size_t"""
1439 return _windows
.VListBox_GetSelectedCount(*args
, **kwargs
)
1441 def GetFirstSelected(*args
, **kwargs
):
1442 """GetFirstSelected(unsigned long cookie) -> int"""
1443 return _windows
.VListBox_GetFirstSelected(*args
, **kwargs
)
1445 def GetNextSelected(*args
, **kwargs
):
1446 """GetNextSelected(unsigned long cookie) -> int"""
1447 return _windows
.VListBox_GetNextSelected(*args
, **kwargs
)
1449 def GetMargins(*args
, **kwargs
):
1450 """GetMargins() -> Point"""
1451 return _windows
.VListBox_GetMargins(*args
, **kwargs
)
1453 def GetSelectionBackground(*args
, **kwargs
):
1454 """GetSelectionBackground() -> Colour"""
1455 return _windows
.VListBox_GetSelectionBackground(*args
, **kwargs
)
1457 def SetItemCount(*args
, **kwargs
):
1458 """SetItemCount(size_t count)"""
1459 return _windows
.VListBox_SetItemCount(*args
, **kwargs
)
1461 def Clear(*args
, **kwargs
):
1463 return _windows
.VListBox_Clear(*args
, **kwargs
)
1465 def SetSelection(*args
, **kwargs
):
1466 """SetSelection(int selection)"""
1467 return _windows
.VListBox_SetSelection(*args
, **kwargs
)
1469 def Select(*args
, **kwargs
):
1470 """Select(size_t item, bool select=True) -> bool"""
1471 return _windows
.VListBox_Select(*args
, **kwargs
)
1473 def SelectRange(*args
, **kwargs
):
1474 """SelectRange(size_t from, size_t to) -> bool"""
1475 return _windows
.VListBox_SelectRange(*args
, **kwargs
)
1477 def Toggle(*args
, **kwargs
):
1478 """Toggle(size_t item)"""
1479 return _windows
.VListBox_Toggle(*args
, **kwargs
)
1481 def SelectAll(*args
, **kwargs
):
1482 """SelectAll() -> bool"""
1483 return _windows
.VListBox_SelectAll(*args
, **kwargs
)
1485 def DeselectAll(*args
, **kwargs
):
1486 """DeselectAll() -> bool"""
1487 return _windows
.VListBox_DeselectAll(*args
, **kwargs
)
1489 def SetMargins(*args
, **kwargs
):
1490 """SetMargins(Point pt)"""
1491 return _windows
.VListBox_SetMargins(*args
, **kwargs
)
1493 def SetMarginsXY(*args
, **kwargs
):
1494 """SetMarginsXY(int x, int y)"""
1495 return _windows
.VListBox_SetMarginsXY(*args
, **kwargs
)
1497 def SetSelectionBackground(*args
, **kwargs
):
1498 """SetSelectionBackground(Colour col)"""
1499 return _windows
.VListBox_SetSelectionBackground(*args
, **kwargs
)
1502 class VListBoxPtr(VListBox
):
1503 def __init__(self
, this
):
1505 if not hasattr(self
,"thisown"): self
.thisown
= 0
1506 self
.__class
__ = VListBox
1507 _windows
.VListBox_swigregister(VListBoxPtr
)
1508 VListBoxNameStr
= cvar
.VListBoxNameStr
1510 def PreVListBox(*args
, **kwargs
):
1511 """PreVListBox() -> VListBox"""
1512 val
= _windows
.new_PreVListBox(*args
, **kwargs
)
1516 class HtmlListBox(VListBox
):
1518 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1519 def __init__(self
, *args
, **kwargs
):
1521 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1522 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
1524 newobj
= _windows
.new_HtmlListBox(*args
, **kwargs
)
1525 self
.this
= newobj
.this
1528 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
1530 def _setCallbackInfo(*args
, **kwargs
):
1531 """_setCallbackInfo(PyObject self, PyObject _class)"""
1532 return _windows
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
1534 def Create(*args
, **kwargs
):
1536 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1537 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1539 return _windows
.HtmlListBox_Create(*args
, **kwargs
)
1541 def RefreshAll(*args
, **kwargs
):
1543 return _windows
.HtmlListBox_RefreshAll(*args
, **kwargs
)
1545 def SetItemCount(*args
, **kwargs
):
1546 """SetItemCount(size_t count)"""
1547 return _windows
.HtmlListBox_SetItemCount(*args
, **kwargs
)
1550 class HtmlListBoxPtr(HtmlListBox
):
1551 def __init__(self
, this
):
1553 if not hasattr(self
,"thisown"): self
.thisown
= 0
1554 self
.__class
__ = HtmlListBox
1555 _windows
.HtmlListBox_swigregister(HtmlListBoxPtr
)
1557 def PreHtmlListBox(*args
, **kwargs
):
1558 """PreHtmlListBox() -> HtmlListBox"""
1559 val
= _windows
.new_PreHtmlListBox(*args
, **kwargs
)
1563 #---------------------------------------------------------------------------
1565 class TaskBarIcon(core
.EvtHandler
):
1567 return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1568 def __init__(self
, *args
, **kwargs
):
1569 """__init__() -> TaskBarIcon"""
1570 newobj
= _windows
.new_TaskBarIcon(*args
, **kwargs
)
1571 self
.this
= newobj
.this
1574 def __del__(self
, destroy
=_windows
.delete_TaskBarIcon
):
1577 if self
.thisown
: destroy(self
)
1580 def IsOk(*args
, **kwargs
):
1581 """IsOk() -> bool"""
1582 return _windows
.TaskBarIcon_IsOk(*args
, **kwargs
)
1584 def IsIconInstalled(*args
, **kwargs
):
1585 """IsIconInstalled() -> bool"""
1586 return _windows
.TaskBarIcon_IsIconInstalled(*args
, **kwargs
)
1588 def SetIcon(*args
, **kwargs
):
1589 """SetIcon(Icon icon, String tooltip=EmptyString) -> bool"""
1590 return _windows
.TaskBarIcon_SetIcon(*args
, **kwargs
)
1592 def RemoveIcon(*args
, **kwargs
):
1593 """RemoveIcon() -> bool"""
1594 return _windows
.TaskBarIcon_RemoveIcon(*args
, **kwargs
)
1596 def PopupMenu(*args
, **kwargs
):
1597 """PopupMenu(Menu menu) -> bool"""
1598 return _windows
.TaskBarIcon_PopupMenu(*args
, **kwargs
)
1601 class TaskBarIconPtr(TaskBarIcon
):
1602 def __init__(self
, this
):
1604 if not hasattr(self
,"thisown"): self
.thisown
= 0
1605 self
.__class
__ = TaskBarIcon
1606 _windows
.TaskBarIcon_swigregister(TaskBarIconPtr
)
1608 class TaskBarIconEvent(core
.Event
):
1610 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1611 def __init__(self
, *args
, **kwargs
):
1612 """__init__(wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
1613 newobj
= _windows
.new_TaskBarIconEvent(*args
, **kwargs
)
1614 self
.this
= newobj
.this
1618 class TaskBarIconEventPtr(TaskBarIconEvent
):
1619 def __init__(self
, this
):
1621 if not hasattr(self
,"thisown"): self
.thisown
= 0
1622 self
.__class
__ = TaskBarIconEvent
1623 _windows
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
1625 wxEVT_TASKBAR_MOVE
= _windows
.wxEVT_TASKBAR_MOVE
1626 wxEVT_TASKBAR_LEFT_DOWN
= _windows
.wxEVT_TASKBAR_LEFT_DOWN
1627 wxEVT_TASKBAR_LEFT_UP
= _windows
.wxEVT_TASKBAR_LEFT_UP
1628 wxEVT_TASKBAR_RIGHT_DOWN
= _windows
.wxEVT_TASKBAR_RIGHT_DOWN
1629 wxEVT_TASKBAR_RIGHT_UP
= _windows
.wxEVT_TASKBAR_RIGHT_UP
1630 wxEVT_TASKBAR_LEFT_DCLICK
= _windows
.wxEVT_TASKBAR_LEFT_DCLICK
1631 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows
.wxEVT_TASKBAR_RIGHT_DCLICK
1632 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
1633 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
1634 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
1635 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
1636 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
1637 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
1638 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
1640 #---------------------------------------------------------------------------
1642 class ColourData(core
.Object
):
1643 """This class holds a variety of information related to colour dialogs."""
1645 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1646 def __init__(self
, *args
, **kwargs
):
1648 __init__() -> ColourData
1650 Constructor, sets default values.
1652 newobj
= _windows
.new_ColourData(*args
, **kwargs
)
1653 self
.this
= newobj
.this
1656 def __del__(self
, destroy
=_windows
.delete_ColourData
):
1659 if self
.thisown
: destroy(self
)
1662 def GetChooseFull(*args
, **kwargs
):
1664 GetChooseFull() -> bool
1666 Under Windows, determines whether the Windows colour dialog will display
1667 the full dialog with custom colour selection controls. Has no meaning
1668 under other platforms. The default value is true.
1670 return _windows
.ColourData_GetChooseFull(*args
, **kwargs
)
1672 def GetColour(*args
, **kwargs
):
1674 GetColour() -> Colour
1676 Gets the colour (pre)selected by the dialog.
1678 return _windows
.ColourData_GetColour(*args
, **kwargs
)
1680 def GetCustomColour(*args
, **kwargs
):
1682 GetCustomColour(int i) -> Colour
1684 Gets the i'th custom colour associated with the colour dialog. i should
1685 be an integer between 0 and 15. The default custom colours are all white.
1687 return _windows
.ColourData_GetCustomColour(*args
, **kwargs
)
1689 def SetChooseFull(*args
, **kwargs
):
1691 SetChooseFull(int flag)
1693 Under Windows, tells the Windows colour dialog to display the full dialog
1694 with custom colour selection controls. Under other platforms, has no effect.
1695 The default value is true.
1697 return _windows
.ColourData_SetChooseFull(*args
, **kwargs
)
1699 def SetColour(*args
, **kwargs
):
1701 SetColour(Colour colour)
1703 Sets the default colour for the colour dialog. The default colour is black.
1705 return _windows
.ColourData_SetColour(*args
, **kwargs
)
1707 def SetCustomColour(*args
, **kwargs
):
1709 SetCustomColour(int i, Colour colour)
1711 Sets the i'th custom colour for the colour dialog. i should be an integer
1712 between 0 and 15. The default custom colours are all white.
1714 return _windows
.ColourData_SetCustomColour(*args
, **kwargs
)
1717 class ColourDataPtr(ColourData
):
1718 def __init__(self
, this
):
1720 if not hasattr(self
,"thisown"): self
.thisown
= 0
1721 self
.__class
__ = ColourData
1722 _windows
.ColourData_swigregister(ColourDataPtr
)
1723 FileSelectorPromptStr
= cvar
.FileSelectorPromptStr
1724 DirSelectorPromptStr
= cvar
.DirSelectorPromptStr
1725 DirDialogNameStr
= cvar
.DirDialogNameStr
1726 FileSelectorDefaultWildcardStr
= cvar
.FileSelectorDefaultWildcardStr
1727 GetTextFromUserPromptStr
= cvar
.GetTextFromUserPromptStr
1728 MessageBoxCaptionStr
= cvar
.MessageBoxCaptionStr
1730 class ColourDialog(Dialog
):
1731 """This class represents the colour chooser dialog."""
1733 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1734 def __init__(self
, *args
, **kwargs
):
1736 __init__(Window parent, ColourData data=None) -> ColourDialog
1738 Constructor. Pass a parent window, and optionally a ColourData, which
1739 will be copied to the colour dialog's internal ColourData instance.
1741 newobj
= _windows
.new_ColourDialog(*args
, **kwargs
)
1742 self
.this
= newobj
.this
1745 self
._setOORInfo
(self
)
1747 def GetColourData(*args
, **kwargs
):
1749 GetColourData() -> ColourData
1751 Returns a reference to the ColourData used by the dialog.
1753 return _windows
.ColourDialog_GetColourData(*args
, **kwargs
)
1756 class ColourDialogPtr(ColourDialog
):
1757 def __init__(self
, this
):
1759 if not hasattr(self
,"thisown"): self
.thisown
= 0
1760 self
.__class
__ = ColourDialog
1761 _windows
.ColourDialog_swigregister(ColourDialogPtr
)
1763 class DirDialog(Dialog
):
1764 """This class represents the directory chooser dialog."""
1766 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1767 def __init__(self
, *args
, **kwargs
):
1769 __init__(Window parent, String message=DirSelectorPromptStr,
1770 String defaultPath=EmptyString, long style=0,
1771 Point pos=DefaultPosition, Size size=DefaultSize,
1772 String name=DirDialogNameStr) -> DirDialog
1774 Constructor. Use ShowModal method to show the dialog.
1776 newobj
= _windows
.new_DirDialog(*args
, **kwargs
)
1777 self
.this
= newobj
.this
1780 self
._setOORInfo
(self
)
1782 def GetPath(*args
, **kwargs
):
1786 Returns the default or user-selected path.
1788 return _windows
.DirDialog_GetPath(*args
, **kwargs
)
1790 def GetMessage(*args
, **kwargs
):
1792 GetMessage() -> String
1794 Returns the message that will be displayed on the dialog.
1796 return _windows
.DirDialog_GetMessage(*args
, **kwargs
)
1798 def GetStyle(*args
, **kwargs
):
1802 Returns the dialog style.
1804 return _windows
.DirDialog_GetStyle(*args
, **kwargs
)
1806 def SetMessage(*args
, **kwargs
):
1808 SetMessage(String message)
1810 Sets the message that will be displayed on the dialog.
1812 return _windows
.DirDialog_SetMessage(*args
, **kwargs
)
1814 def SetPath(*args
, **kwargs
):
1816 SetPath(String path)
1818 Sets the default path.
1820 return _windows
.DirDialog_SetPath(*args
, **kwargs
)
1823 class DirDialogPtr(DirDialog
):
1824 def __init__(self
, this
):
1826 if not hasattr(self
,"thisown"): self
.thisown
= 0
1827 self
.__class
__ = DirDialog
1828 _windows
.DirDialog_swigregister(DirDialogPtr
)
1830 class FileDialog(Dialog
):
1831 """This class represents the file chooser dialog."""
1833 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1834 def __init__(self
, *args
, **kwargs
):
1836 __init__(Window parent, String message=FileSelectorPromptStr,
1837 String defaultDir=EmptyString, String defaultFile=EmptyString,
1838 String wildcard=FileSelectorDefaultWildcardStr,
1839 long style=0, Point pos=DefaultPosition) -> FileDialog
1841 Constructor. Use ShowModal method to show the dialog.
1843 newobj
= _windows
.new_FileDialog(*args
, **kwargs
)
1844 self
.this
= newobj
.this
1847 self
._setOORInfo
(self
)
1849 def SetMessage(*args
, **kwargs
):
1851 SetMessage(String message)
1853 Sets the message that will be displayed on the dialog.
1855 return _windows
.FileDialog_SetMessage(*args
, **kwargs
)
1857 def SetPath(*args
, **kwargs
):
1859 SetPath(String path)
1861 Sets the path (the combined directory and filename that will
1862 be returned when the dialog is dismissed).
1864 return _windows
.FileDialog_SetPath(*args
, **kwargs
)
1866 def SetDirectory(*args
, **kwargs
):
1868 SetDirectory(String dir)
1870 Sets the default directory.
1872 return _windows
.FileDialog_SetDirectory(*args
, **kwargs
)
1874 def SetFilename(*args
, **kwargs
):
1876 SetFilename(String name)
1878 Sets the default filename.
1880 return _windows
.FileDialog_SetFilename(*args
, **kwargs
)
1882 def SetWildcard(*args
, **kwargs
):
1884 SetWildcard(String wildCard)
1886 Sets the wildcard, which can contain multiple file types, for example:
1887 "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
1889 return _windows
.FileDialog_SetWildcard(*args
, **kwargs
)
1891 def SetStyle(*args
, **kwargs
):
1893 SetStyle(long style)
1895 Sets the dialog style.
1897 return _windows
.FileDialog_SetStyle(*args
, **kwargs
)
1899 def SetFilterIndex(*args
, **kwargs
):
1901 SetFilterIndex(int filterIndex)
1903 Sets the default filter index, starting from zero.
1905 return _windows
.FileDialog_SetFilterIndex(*args
, **kwargs
)
1907 def GetMessage(*args
, **kwargs
):
1909 GetMessage() -> String
1911 Returns the message that will be displayed on the dialog.
1913 return _windows
.FileDialog_GetMessage(*args
, **kwargs
)
1915 def GetPath(*args
, **kwargs
):
1919 Returns the full path (directory and filename) of the selected file.
1921 return _windows
.FileDialog_GetPath(*args
, **kwargs
)
1923 def GetDirectory(*args
, **kwargs
):
1925 GetDirectory() -> String
1927 Returns the default directory.
1929 return _windows
.FileDialog_GetDirectory(*args
, **kwargs
)
1931 def GetFilename(*args
, **kwargs
):
1933 GetFilename() -> String
1935 Returns the default filename.
1937 return _windows
.FileDialog_GetFilename(*args
, **kwargs
)
1939 def GetWildcard(*args
, **kwargs
):
1941 GetWildcard() -> String
1943 Returns the file dialog wildcard.
1945 return _windows
.FileDialog_GetWildcard(*args
, **kwargs
)
1947 def GetStyle(*args
, **kwargs
):
1951 Returns the dialog style.
1953 return _windows
.FileDialog_GetStyle(*args
, **kwargs
)
1955 def GetFilterIndex(*args
, **kwargs
):
1957 GetFilterIndex() -> int
1959 Returns the index into the list of filters supplied, optionally, in
1960 the wildcard parameter. Before the dialog is shown, this is the index
1961 which will be used when the dialog is first displayed. After the dialog
1962 is shown, this is the index selected by the user.
1964 return _windows
.FileDialog_GetFilterIndex(*args
, **kwargs
)
1966 def GetFilenames(*args
, **kwargs
):
1968 GetFilenames() -> PyObject
1970 Returns a list of filenames chosen in the dialog. This function should
1971 only be used with the dialogs which have wx.MULTIPLE style, use
1972 GetFilename for the others.
1974 return _windows
.FileDialog_GetFilenames(*args
, **kwargs
)
1976 def GetPaths(*args
, **kwargs
):
1978 GetPaths() -> PyObject
1980 Fills the array paths with the full paths of the files chosen. This
1981 function should only be used with the dialogs which have wx.MULTIPLE style,
1982 use GetPath for the others.
1984 return _windows
.FileDialog_GetPaths(*args
, **kwargs
)
1987 class FileDialogPtr(FileDialog
):
1988 def __init__(self
, this
):
1990 if not hasattr(self
,"thisown"): self
.thisown
= 0
1991 self
.__class
__ = FileDialog
1992 _windows
.FileDialog_swigregister(FileDialogPtr
)
1994 CHOICEDLG_STYLE
= _windows
.CHOICEDLG_STYLE
1995 class MultiChoiceDialog(Dialog
):
1997 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1998 def __init__(self
, *args
, **kwargs
):
2000 __init__(Window parent, String message, String caption, int choices=0,
2001 String choices_array, long style=CHOICEDLG_STYLE,
2002 Point pos=DefaultPosition) -> MultiChoiceDialog
2004 newobj
= _windows
.new_MultiChoiceDialog(*args
, **kwargs
)
2005 self
.this
= newobj
.this
2008 self
._setOORInfo
(self
)
2010 def SetSelections(*args
, **kwargs
):
2011 """SetSelections(wxArrayInt selections)"""
2012 return _windows
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
2014 def GetSelections(*args
, **kwargs
):
2015 """GetSelections() -> PyObject"""
2016 return _windows
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
2019 class MultiChoiceDialogPtr(MultiChoiceDialog
):
2020 def __init__(self
, this
):
2022 if not hasattr(self
,"thisown"): self
.thisown
= 0
2023 self
.__class
__ = MultiChoiceDialog
2024 _windows
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
2026 class SingleChoiceDialog(Dialog
):
2028 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2029 def __init__(self
, *args
, **kwargs
):
2031 __init__(Window parent, String message, String caption, int choices,
2032 String choices_array, long style=CHOICEDLG_STYLE,
2033 Point pos=DefaultPosition) -> SingleChoiceDialog
2035 newobj
= _windows
.new_SingleChoiceDialog(*args
, **kwargs
)
2036 self
.this
= newobj
.this
2039 self
._setOORInfo
(self
)
2041 def GetSelection(*args
, **kwargs
):
2042 """GetSelection() -> int"""
2043 return _windows
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
2045 def GetStringSelection(*args
, **kwargs
):
2046 """GetStringSelection() -> String"""
2047 return _windows
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
2049 def SetSelection(*args
, **kwargs
):
2050 """SetSelection(int sel)"""
2051 return _windows
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
2053 def ShowModal(*args
, **kwargs
):
2054 """ShowModal() -> int"""
2055 return _windows
.SingleChoiceDialog_ShowModal(*args
, **kwargs
)
2058 class SingleChoiceDialogPtr(SingleChoiceDialog
):
2059 def __init__(self
, this
):
2061 if not hasattr(self
,"thisown"): self
.thisown
= 0
2062 self
.__class
__ = SingleChoiceDialog
2063 _windows
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
2065 class TextEntryDialog(Dialog
):
2067 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2068 def __init__(self
, *args
, **kwargs
):
2070 __init__(Window parent, String message, String caption=GetTextFromUserPromptStr,
2071 String defaultValue=EmptyString,
2072 long style=wxOK|wxCANCEL|wxCENTRE, Point pos=DefaultPosition) -> TextEntryDialog
2074 newobj
= _windows
.new_TextEntryDialog(*args
, **kwargs
)
2075 self
.this
= newobj
.this
2078 self
._setOORInfo
(self
)
2080 def GetValue(*args
, **kwargs
):
2081 """GetValue() -> String"""
2082 return _windows
.TextEntryDialog_GetValue(*args
, **kwargs
)
2084 def SetValue(*args
, **kwargs
):
2085 """SetValue(String value)"""
2086 return _windows
.TextEntryDialog_SetValue(*args
, **kwargs
)
2088 def ShowModal(*args
, **kwargs
):
2089 """ShowModal() -> int"""
2090 return _windows
.TextEntryDialog_ShowModal(*args
, **kwargs
)
2093 class TextEntryDialogPtr(TextEntryDialog
):
2094 def __init__(self
, this
):
2096 if not hasattr(self
,"thisown"): self
.thisown
= 0
2097 self
.__class
__ = TextEntryDialog
2098 _windows
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
2100 class FontData(core
.Object
):
2102 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2103 def __init__(self
, *args
, **kwargs
):
2104 """__init__() -> FontData"""
2105 newobj
= _windows
.new_FontData(*args
, **kwargs
)
2106 self
.this
= newobj
.this
2109 def __del__(self
, destroy
=_windows
.delete_FontData
):
2112 if self
.thisown
: destroy(self
)
2115 def EnableEffects(*args
, **kwargs
):
2116 """EnableEffects(bool enable)"""
2117 return _windows
.FontData_EnableEffects(*args
, **kwargs
)
2119 def GetAllowSymbols(*args
, **kwargs
):
2120 """GetAllowSymbols() -> bool"""
2121 return _windows
.FontData_GetAllowSymbols(*args
, **kwargs
)
2123 def GetColour(*args
, **kwargs
):
2124 """GetColour() -> Colour"""
2125 return _windows
.FontData_GetColour(*args
, **kwargs
)
2127 def GetChosenFont(*args
, **kwargs
):
2128 """GetChosenFont() -> Font"""
2129 return _windows
.FontData_GetChosenFont(*args
, **kwargs
)
2131 def GetEnableEffects(*args
, **kwargs
):
2132 """GetEnableEffects() -> bool"""
2133 return _windows
.FontData_GetEnableEffects(*args
, **kwargs
)
2135 def GetInitialFont(*args
, **kwargs
):
2136 """GetInitialFont() -> Font"""
2137 return _windows
.FontData_GetInitialFont(*args
, **kwargs
)
2139 def GetShowHelp(*args
, **kwargs
):
2140 """GetShowHelp() -> bool"""
2141 return _windows
.FontData_GetShowHelp(*args
, **kwargs
)
2143 def SetAllowSymbols(*args
, **kwargs
):
2144 """SetAllowSymbols(bool allowSymbols)"""
2145 return _windows
.FontData_SetAllowSymbols(*args
, **kwargs
)
2147 def SetChosenFont(*args
, **kwargs
):
2148 """SetChosenFont(Font font)"""
2149 return _windows
.FontData_SetChosenFont(*args
, **kwargs
)
2151 def SetColour(*args
, **kwargs
):
2152 """SetColour(Colour colour)"""
2153 return _windows
.FontData_SetColour(*args
, **kwargs
)
2155 def SetInitialFont(*args
, **kwargs
):
2156 """SetInitialFont(Font font)"""
2157 return _windows
.FontData_SetInitialFont(*args
, **kwargs
)
2159 def SetRange(*args
, **kwargs
):
2160 """SetRange(int min, int max)"""
2161 return _windows
.FontData_SetRange(*args
, **kwargs
)
2163 def SetShowHelp(*args
, **kwargs
):
2164 """SetShowHelp(bool showHelp)"""
2165 return _windows
.FontData_SetShowHelp(*args
, **kwargs
)
2168 class FontDataPtr(FontData
):
2169 def __init__(self
, this
):
2171 if not hasattr(self
,"thisown"): self
.thisown
= 0
2172 self
.__class
__ = FontData
2173 _windows
.FontData_swigregister(FontDataPtr
)
2175 class FontDialog(Dialog
):
2177 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2178 def __init__(self
, *args
, **kwargs
):
2179 """__init__(Window parent, FontData data) -> FontDialog"""
2180 newobj
= _windows
.new_FontDialog(*args
, **kwargs
)
2181 self
.this
= newobj
.this
2184 self
._setOORInfo
(self
)
2186 def GetFontData(*args
, **kwargs
):
2187 """GetFontData() -> FontData"""
2188 return _windows
.FontDialog_GetFontData(*args
, **kwargs
)
2190 def ShowModal(*args
, **kwargs
):
2191 """ShowModal() -> int"""
2192 return _windows
.FontDialog_ShowModal(*args
, **kwargs
)
2195 class FontDialogPtr(FontDialog
):
2196 def __init__(self
, this
):
2198 if not hasattr(self
,"thisown"): self
.thisown
= 0
2199 self
.__class
__ = FontDialog
2200 _windows
.FontDialog_swigregister(FontDialogPtr
)
2202 class MessageDialog(Dialog
):
2204 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2205 def __init__(self
, *args
, **kwargs
):
2207 __init__(Window parent, String message, String caption=MessageBoxCaptionStr,
2208 long style=wxOK|wxCANCEL|wxCENTRE,
2209 Point pos=DefaultPosition) -> MessageDialog
2211 newobj
= _windows
.new_MessageDialog(*args
, **kwargs
)
2212 self
.this
= newobj
.this
2215 self
._setOORInfo
(self
)
2217 def ShowModal(*args
, **kwargs
):
2218 """ShowModal() -> int"""
2219 return _windows
.MessageDialog_ShowModal(*args
, **kwargs
)
2222 class MessageDialogPtr(MessageDialog
):
2223 def __init__(self
, this
):
2225 if not hasattr(self
,"thisown"): self
.thisown
= 0
2226 self
.__class
__ = MessageDialog
2227 _windows
.MessageDialog_swigregister(MessageDialogPtr
)
2229 class ProgressDialog(Frame
):
2231 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2232 def __init__(self
, *args
, **kwargs
):
2234 __init__(String title, String message, int maximum=100, Window parent=None,
2235 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
2237 newobj
= _windows
.new_ProgressDialog(*args
, **kwargs
)
2238 self
.this
= newobj
.this
2241 self
._setOORInfo
(self
)
2243 def Update(*args
, **kwargs
):
2244 """Update(int value, String newmsg=EmptyString) -> bool"""
2245 return _windows
.ProgressDialog_Update(*args
, **kwargs
)
2247 def Resume(*args
, **kwargs
):
2249 return _windows
.ProgressDialog_Resume(*args
, **kwargs
)
2252 class ProgressDialogPtr(ProgressDialog
):
2253 def __init__(self
, this
):
2255 if not hasattr(self
,"thisown"): self
.thisown
= 0
2256 self
.__class
__ = ProgressDialog
2257 _windows
.ProgressDialog_swigregister(ProgressDialogPtr
)
2259 FR_DOWN
= _windows
.FR_DOWN
2260 FR_WHOLEWORD
= _windows
.FR_WHOLEWORD
2261 FR_MATCHCASE
= _windows
.FR_MATCHCASE
2262 FR_REPLACEDIALOG
= _windows
.FR_REPLACEDIALOG
2263 FR_NOUPDOWN
= _windows
.FR_NOUPDOWN
2264 FR_NOMATCHCASE
= _windows
.FR_NOMATCHCASE
2265 FR_NOWHOLEWORD
= _windows
.FR_NOWHOLEWORD
2266 wxEVT_COMMAND_FIND
= _windows
.wxEVT_COMMAND_FIND
2267 wxEVT_COMMAND_FIND_NEXT
= _windows
.wxEVT_COMMAND_FIND_NEXT
2268 wxEVT_COMMAND_FIND_REPLACE
= _windows
.wxEVT_COMMAND_FIND_REPLACE
2269 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows
.wxEVT_COMMAND_FIND_REPLACE_ALL
2270 wxEVT_COMMAND_FIND_CLOSE
= _windows
.wxEVT_COMMAND_FIND_CLOSE
2271 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
2272 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
2273 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
2274 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
2275 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
2277 # For backwards compatibility. Should they be removed?
2278 EVT_COMMAND_FIND
= EVT_FIND
2279 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
2280 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
2281 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
2282 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
2284 class FindDialogEvent(core
.CommandEvent
):
2286 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2287 def __init__(self
, *args
, **kwargs
):
2288 """__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent"""
2289 newobj
= _windows
.new_FindDialogEvent(*args
, **kwargs
)
2290 self
.this
= newobj
.this
2293 def GetFlags(*args
, **kwargs
):
2294 """GetFlags() -> int"""
2295 return _windows
.FindDialogEvent_GetFlags(*args
, **kwargs
)
2297 def GetFindString(*args
, **kwargs
):
2298 """GetFindString() -> String"""
2299 return _windows
.FindDialogEvent_GetFindString(*args
, **kwargs
)
2301 def GetReplaceString(*args
, **kwargs
):
2302 """GetReplaceString() -> String"""
2303 return _windows
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
2305 def GetDialog(*args
, **kwargs
):
2306 """GetDialog() -> FindReplaceDialog"""
2307 return _windows
.FindDialogEvent_GetDialog(*args
, **kwargs
)
2309 def SetFlags(*args
, **kwargs
):
2310 """SetFlags(int flags)"""
2311 return _windows
.FindDialogEvent_SetFlags(*args
, **kwargs
)
2313 def SetFindString(*args
, **kwargs
):
2314 """SetFindString(String str)"""
2315 return _windows
.FindDialogEvent_SetFindString(*args
, **kwargs
)
2317 def SetReplaceString(*args
, **kwargs
):
2318 """SetReplaceString(String str)"""
2319 return _windows
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
2322 class FindDialogEventPtr(FindDialogEvent
):
2323 def __init__(self
, this
):
2325 if not hasattr(self
,"thisown"): self
.thisown
= 0
2326 self
.__class
__ = FindDialogEvent
2327 _windows
.FindDialogEvent_swigregister(FindDialogEventPtr
)
2329 class FindReplaceData(core
.Object
):
2331 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2332 def __init__(self
, *args
, **kwargs
):
2333 """__init__(int flags=0) -> FindReplaceData"""
2334 newobj
= _windows
.new_FindReplaceData(*args
, **kwargs
)
2335 self
.this
= newobj
.this
2338 def __del__(self
, destroy
=_windows
.delete_FindReplaceData
):
2341 if self
.thisown
: destroy(self
)
2344 def GetFindString(*args
, **kwargs
):
2345 """GetFindString() -> String"""
2346 return _windows
.FindReplaceData_GetFindString(*args
, **kwargs
)
2348 def GetReplaceString(*args
, **kwargs
):
2349 """GetReplaceString() -> String"""
2350 return _windows
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
2352 def GetFlags(*args
, **kwargs
):
2353 """GetFlags() -> int"""
2354 return _windows
.FindReplaceData_GetFlags(*args
, **kwargs
)
2356 def SetFlags(*args
, **kwargs
):
2357 """SetFlags(int flags)"""
2358 return _windows
.FindReplaceData_SetFlags(*args
, **kwargs
)
2360 def SetFindString(*args
, **kwargs
):
2361 """SetFindString(String str)"""
2362 return _windows
.FindReplaceData_SetFindString(*args
, **kwargs
)
2364 def SetReplaceString(*args
, **kwargs
):
2365 """SetReplaceString(String str)"""
2366 return _windows
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
2369 class FindReplaceDataPtr(FindReplaceData
):
2370 def __init__(self
, this
):
2372 if not hasattr(self
,"thisown"): self
.thisown
= 0
2373 self
.__class
__ = FindReplaceData
2374 _windows
.FindReplaceData_swigregister(FindReplaceDataPtr
)
2376 class FindReplaceDialog(Dialog
):
2378 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2379 def __init__(self
, *args
, **kwargs
):
2381 __init__(Window parent, FindReplaceData data, String title,
2382 int style=0) -> FindReplaceDialog
2384 newobj
= _windows
.new_FindReplaceDialog(*args
, **kwargs
)
2385 self
.this
= newobj
.this
2388 self
._setOORInfo
(self
)
2390 def Create(*args
, **kwargs
):
2392 Create(Window parent, FindReplaceData data, String title,
2393 int style=0) -> bool
2395 return _windows
.FindReplaceDialog_Create(*args
, **kwargs
)
2397 def GetData(*args
, **kwargs
):
2398 """GetData() -> FindReplaceData"""
2399 return _windows
.FindReplaceDialog_GetData(*args
, **kwargs
)
2401 def SetData(*args
, **kwargs
):
2402 """SetData(FindReplaceData data)"""
2403 return _windows
.FindReplaceDialog_SetData(*args
, **kwargs
)
2406 class FindReplaceDialogPtr(FindReplaceDialog
):
2407 def __init__(self
, this
):
2409 if not hasattr(self
,"thisown"): self
.thisown
= 0
2410 self
.__class
__ = FindReplaceDialog
2411 _windows
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
2413 def PreFindReplaceDialog(*args
, **kwargs
):
2414 """PreFindReplaceDialog() -> FindReplaceDialog"""
2415 val
= _windows
.new_PreFindReplaceDialog(*args
, **kwargs
)
2419 #---------------------------------------------------------------------------
2421 IDM_WINDOWTILE
= _windows
.IDM_WINDOWTILE
2422 IDM_WINDOWTILEHOR
= _windows
.IDM_WINDOWTILEHOR
2423 IDM_WINDOWCASCADE
= _windows
.IDM_WINDOWCASCADE
2424 IDM_WINDOWICONS
= _windows
.IDM_WINDOWICONS
2425 IDM_WINDOWNEXT
= _windows
.IDM_WINDOWNEXT
2426 IDM_WINDOWTILEVERT
= _windows
.IDM_WINDOWTILEVERT
2427 FIRST_MDI_CHILD
= _windows
.FIRST_MDI_CHILD
2428 LAST_MDI_CHILD
= _windows
.LAST_MDI_CHILD
2429 class MDIParentFrame(Frame
):
2431 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2432 def __init__(self
, *args
, **kwargs
):
2434 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
2435 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2436 String name=FrameNameStr) -> MDIParentFrame
2438 newobj
= _windows
.new_MDIParentFrame(*args
, **kwargs
)
2439 self
.this
= newobj
.this
2442 self
._setOORInfo
(self
)
2444 def Create(*args
, **kwargs
):
2446 Create(Window parent, int id, String title, Point pos=DefaultPosition,
2447 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2448 String name=FrameNameStr) -> bool
2450 return _windows
.MDIParentFrame_Create(*args
, **kwargs
)
2452 def ActivateNext(*args
, **kwargs
):
2453 """ActivateNext()"""
2454 return _windows
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
2456 def ActivatePrevious(*args
, **kwargs
):
2457 """ActivatePrevious()"""
2458 return _windows
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
2460 def ArrangeIcons(*args
, **kwargs
):
2461 """ArrangeIcons()"""
2462 return _windows
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
2464 def Cascade(*args
, **kwargs
):
2466 return _windows
.MDIParentFrame_Cascade(*args
, **kwargs
)
2468 def GetActiveChild(*args
, **kwargs
):
2469 """GetActiveChild() -> MDIChildFrame"""
2470 return _windows
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
2472 def GetClientWindow(*args
, **kwargs
):
2473 """GetClientWindow() -> MDIClientWindow"""
2474 return _windows
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
2476 def GetToolBar(*args
, **kwargs
):
2477 """GetToolBar() -> Window"""
2478 return _windows
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
2480 def Tile(*args
, **kwargs
):
2482 return _windows
.MDIParentFrame_Tile(*args
, **kwargs
)
2485 class MDIParentFramePtr(MDIParentFrame
):
2486 def __init__(self
, this
):
2488 if not hasattr(self
,"thisown"): self
.thisown
= 0
2489 self
.__class
__ = MDIParentFrame
2490 _windows
.MDIParentFrame_swigregister(MDIParentFramePtr
)
2492 def PreMDIParentFrame(*args
, **kwargs
):
2493 """PreMDIParentFrame() -> MDIParentFrame"""
2494 val
= _windows
.new_PreMDIParentFrame(*args
, **kwargs
)
2498 class MDIChildFrame(Frame
):
2500 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2501 def __init__(self
, *args
, **kwargs
):
2503 __init__(MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
2504 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
2505 String name=FrameNameStr) -> MDIChildFrame
2507 newobj
= _windows
.new_MDIChildFrame(*args
, **kwargs
)
2508 self
.this
= newobj
.this
2511 self
._setOORInfo
(self
)
2513 def Create(*args
, **kwargs
):
2515 Create(MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
2516 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
2517 String name=FrameNameStr) -> bool
2519 return _windows
.MDIChildFrame_Create(*args
, **kwargs
)
2521 def Activate(*args
, **kwargs
):
2523 return _windows
.MDIChildFrame_Activate(*args
, **kwargs
)
2525 def Maximize(*args
, **kwargs
):
2526 """Maximize(bool maximize)"""
2527 return _windows
.MDIChildFrame_Maximize(*args
, **kwargs
)
2529 def Restore(*args
, **kwargs
):
2531 return _windows
.MDIChildFrame_Restore(*args
, **kwargs
)
2534 class MDIChildFramePtr(MDIChildFrame
):
2535 def __init__(self
, this
):
2537 if not hasattr(self
,"thisown"): self
.thisown
= 0
2538 self
.__class
__ = MDIChildFrame
2539 _windows
.MDIChildFrame_swigregister(MDIChildFramePtr
)
2541 def PreMDIChildFrame(*args
, **kwargs
):
2542 """PreMDIChildFrame() -> MDIChildFrame"""
2543 val
= _windows
.new_PreMDIChildFrame(*args
, **kwargs
)
2547 class MDIClientWindow(core
.Window
):
2549 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2550 def __init__(self
, *args
, **kwargs
):
2551 """__init__(MDIParentFrame parent, long style=0) -> MDIClientWindow"""
2552 newobj
= _windows
.new_MDIClientWindow(*args
, **kwargs
)
2553 self
.this
= newobj
.this
2556 self
._setOORInfo
(self
)
2558 def Create(*args
, **kwargs
):
2559 """Create(MDIParentFrame parent, long style=0) -> bool"""
2560 return _windows
.MDIClientWindow_Create(*args
, **kwargs
)
2563 class MDIClientWindowPtr(MDIClientWindow
):
2564 def __init__(self
, this
):
2566 if not hasattr(self
,"thisown"): self
.thisown
= 0
2567 self
.__class
__ = MDIClientWindow
2568 _windows
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
2570 def PreMDIClientWindow(*args
, **kwargs
):
2571 """PreMDIClientWindow() -> MDIClientWindow"""
2572 val
= _windows
.new_PreMDIClientWindow(*args
, **kwargs
)
2576 #---------------------------------------------------------------------------
2578 class PyWindow(core
.Window
):
2580 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2581 def __init__(self
, *args
, **kwargs
):
2583 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2584 long style=0, String name=PanelNameStr) -> PyWindow
2586 newobj
= _windows
.new_PyWindow(*args
, **kwargs
)
2587 self
.this
= newobj
.this
2590 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
2592 def _setCallbackInfo(*args
, **kwargs
):
2593 """_setCallbackInfo(PyObject self, PyObject _class)"""
2594 return _windows
.PyWindow__setCallbackInfo(*args
, **kwargs
)
2596 def base_DoMoveWindow(*args
, **kwargs
):
2597 """base_DoMoveWindow(int x, int y, int width, int height)"""
2598 return _windows
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
2600 def base_DoSetSize(*args
, **kwargs
):
2601 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2602 return _windows
.PyWindow_base_DoSetSize(*args
, **kwargs
)
2604 def base_DoSetClientSize(*args
, **kwargs
):
2605 """base_DoSetClientSize(int width, int height)"""
2606 return _windows
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
2608 def base_DoSetVirtualSize(*args
, **kwargs
):
2609 """base_DoSetVirtualSize(int x, int y)"""
2610 return _windows
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
2612 def base_DoGetSize(*args
, **kwargs
):
2613 """base_DoGetSize() -> (width, height)"""
2614 return _windows
.PyWindow_base_DoGetSize(*args
, **kwargs
)
2616 def base_DoGetClientSize(*args
, **kwargs
):
2617 """base_DoGetClientSize() -> (width, height)"""
2618 return _windows
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
2620 def base_DoGetPosition(*args
, **kwargs
):
2621 """base_DoGetPosition() -> (x,y)"""
2622 return _windows
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
2624 def base_DoGetVirtualSize(*args
, **kwargs
):
2625 """base_DoGetVirtualSize() -> Size"""
2626 return _windows
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
2628 def base_DoGetBestSize(*args
, **kwargs
):
2629 """base_DoGetBestSize() -> Size"""
2630 return _windows
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
2632 def base_InitDialog(*args
, **kwargs
):
2633 """base_InitDialog()"""
2634 return _windows
.PyWindow_base_InitDialog(*args
, **kwargs
)
2636 def base_TransferDataToWindow(*args
, **kwargs
):
2637 """base_TransferDataToWindow() -> bool"""
2638 return _windows
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
2640 def base_TransferDataFromWindow(*args
, **kwargs
):
2641 """base_TransferDataFromWindow() -> bool"""
2642 return _windows
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
2644 def base_Validate(*args
, **kwargs
):
2645 """base_Validate() -> bool"""
2646 return _windows
.PyWindow_base_Validate(*args
, **kwargs
)
2648 def base_AcceptsFocus(*args
, **kwargs
):
2649 """base_AcceptsFocus() -> bool"""
2650 return _windows
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
2652 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2653 """base_AcceptsFocusFromKeyboard() -> bool"""
2654 return _windows
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2656 def base_GetMaxSize(*args
, **kwargs
):
2657 """base_GetMaxSize() -> Size"""
2658 return _windows
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
2660 def base_AddChild(*args
, **kwargs
):
2661 """base_AddChild(Window child)"""
2662 return _windows
.PyWindow_base_AddChild(*args
, **kwargs
)
2664 def base_RemoveChild(*args
, **kwargs
):
2665 """base_RemoveChild(Window child)"""
2666 return _windows
.PyWindow_base_RemoveChild(*args
, **kwargs
)
2669 class PyWindowPtr(PyWindow
):
2670 def __init__(self
, this
):
2672 if not hasattr(self
,"thisown"): self
.thisown
= 0
2673 self
.__class
__ = PyWindow
2674 _windows
.PyWindow_swigregister(PyWindowPtr
)
2676 class PyPanel(Panel
):
2678 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2679 def __init__(self
, *args
, **kwargs
):
2681 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2682 long style=0, String name=PanelNameStr) -> PyPanel
2684 newobj
= _windows
.new_PyPanel(*args
, **kwargs
)
2685 self
.this
= newobj
.this
2688 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
2690 def _setCallbackInfo(*args
, **kwargs
):
2691 """_setCallbackInfo(PyObject self, PyObject _class)"""
2692 return _windows
.PyPanel__setCallbackInfo(*args
, **kwargs
)
2694 def base_DoMoveWindow(*args
, **kwargs
):
2695 """base_DoMoveWindow(int x, int y, int width, int height)"""
2696 return _windows
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
2698 def base_DoSetSize(*args
, **kwargs
):
2699 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2700 return _windows
.PyPanel_base_DoSetSize(*args
, **kwargs
)
2702 def base_DoSetClientSize(*args
, **kwargs
):
2703 """base_DoSetClientSize(int width, int height)"""
2704 return _windows
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
2706 def base_DoSetVirtualSize(*args
, **kwargs
):
2707 """base_DoSetVirtualSize(int x, int y)"""
2708 return _windows
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
2710 def base_DoGetSize(*args
, **kwargs
):
2711 """base_DoGetSize() -> (width, height)"""
2712 return _windows
.PyPanel_base_DoGetSize(*args
, **kwargs
)
2714 def base_DoGetClientSize(*args
, **kwargs
):
2715 """base_DoGetClientSize() -> (width, height)"""
2716 return _windows
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
2718 def base_DoGetPosition(*args
, **kwargs
):
2719 """base_DoGetPosition() -> (x,y)"""
2720 return _windows
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
2722 def base_DoGetVirtualSize(*args
, **kwargs
):
2723 """base_DoGetVirtualSize() -> Size"""
2724 return _windows
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
2726 def base_DoGetBestSize(*args
, **kwargs
):
2727 """base_DoGetBestSize() -> Size"""
2728 return _windows
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
2730 def base_InitDialog(*args
, **kwargs
):
2731 """base_InitDialog()"""
2732 return _windows
.PyPanel_base_InitDialog(*args
, **kwargs
)
2734 def base_TransferDataToWindow(*args
, **kwargs
):
2735 """base_TransferDataToWindow() -> bool"""
2736 return _windows
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
2738 def base_TransferDataFromWindow(*args
, **kwargs
):
2739 """base_TransferDataFromWindow() -> bool"""
2740 return _windows
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
2742 def base_Validate(*args
, **kwargs
):
2743 """base_Validate() -> bool"""
2744 return _windows
.PyPanel_base_Validate(*args
, **kwargs
)
2746 def base_AcceptsFocus(*args
, **kwargs
):
2747 """base_AcceptsFocus() -> bool"""
2748 return _windows
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
2750 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2751 """base_AcceptsFocusFromKeyboard() -> bool"""
2752 return _windows
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2754 def base_GetMaxSize(*args
, **kwargs
):
2755 """base_GetMaxSize() -> Size"""
2756 return _windows
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
2758 def base_AddChild(*args
, **kwargs
):
2759 """base_AddChild(Window child)"""
2760 return _windows
.PyPanel_base_AddChild(*args
, **kwargs
)
2762 def base_RemoveChild(*args
, **kwargs
):
2763 """base_RemoveChild(Window child)"""
2764 return _windows
.PyPanel_base_RemoveChild(*args
, **kwargs
)
2767 class PyPanelPtr(PyPanel
):
2768 def __init__(self
, this
):
2770 if not hasattr(self
,"thisown"): self
.thisown
= 0
2771 self
.__class
__ = PyPanel
2772 _windows
.PyPanel_swigregister(PyPanelPtr
)
2774 #---------------------------------------------------------------------------
2776 PRINT_MODE_NONE
= _windows
.PRINT_MODE_NONE
2777 PRINT_MODE_PREVIEW
= _windows
.PRINT_MODE_PREVIEW
2778 PRINT_MODE_FILE
= _windows
.PRINT_MODE_FILE
2779 PRINT_MODE_PRINTER
= _windows
.PRINT_MODE_PRINTER
2780 PRINT_MODE_STREAM
= _windows
.PRINT_MODE_STREAM
2781 class PrintData(core
.Object
):
2783 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2784 def __init__(self
, *args
, **kwargs
):
2785 """__init__() -> PrintData"""
2786 newobj
= _windows
.new_PrintData(*args
, **kwargs
)
2787 self
.this
= newobj
.this
2790 def __del__(self
, destroy
=_windows
.delete_PrintData
):
2793 if self
.thisown
: destroy(self
)
2796 def GetNoCopies(*args
, **kwargs
):
2797 """GetNoCopies() -> int"""
2798 return _windows
.PrintData_GetNoCopies(*args
, **kwargs
)
2800 def GetCollate(*args
, **kwargs
):
2801 """GetCollate() -> bool"""
2802 return _windows
.PrintData_GetCollate(*args
, **kwargs
)
2804 def GetOrientation(*args
, **kwargs
):
2805 """GetOrientation() -> int"""
2806 return _windows
.PrintData_GetOrientation(*args
, **kwargs
)
2808 def Ok(*args
, **kwargs
):
2810 return _windows
.PrintData_Ok(*args
, **kwargs
)
2812 def GetPrinterName(*args
, **kwargs
):
2813 """GetPrinterName() -> String"""
2814 return _windows
.PrintData_GetPrinterName(*args
, **kwargs
)
2816 def GetColour(*args
, **kwargs
):
2817 """GetColour() -> bool"""
2818 return _windows
.PrintData_GetColour(*args
, **kwargs
)
2820 def GetDuplex(*args
, **kwargs
):
2821 """GetDuplex() -> int"""
2822 return _windows
.PrintData_GetDuplex(*args
, **kwargs
)
2824 def GetPaperId(*args
, **kwargs
):
2825 """GetPaperId() -> int"""
2826 return _windows
.PrintData_GetPaperId(*args
, **kwargs
)
2828 def GetPaperSize(*args
, **kwargs
):
2829 """GetPaperSize() -> Size"""
2830 return _windows
.PrintData_GetPaperSize(*args
, **kwargs
)
2832 def GetQuality(*args
, **kwargs
):
2833 """GetQuality() -> int"""
2834 return _windows
.PrintData_GetQuality(*args
, **kwargs
)
2836 def SetNoCopies(*args
, **kwargs
):
2837 """SetNoCopies(int v)"""
2838 return _windows
.PrintData_SetNoCopies(*args
, **kwargs
)
2840 def SetCollate(*args
, **kwargs
):
2841 """SetCollate(bool flag)"""
2842 return _windows
.PrintData_SetCollate(*args
, **kwargs
)
2844 def SetOrientation(*args
, **kwargs
):
2845 """SetOrientation(int orient)"""
2846 return _windows
.PrintData_SetOrientation(*args
, **kwargs
)
2848 def SetPrinterName(*args
, **kwargs
):
2849 """SetPrinterName(String name)"""
2850 return _windows
.PrintData_SetPrinterName(*args
, **kwargs
)
2852 def SetColour(*args
, **kwargs
):
2853 """SetColour(bool colour)"""
2854 return _windows
.PrintData_SetColour(*args
, **kwargs
)
2856 def SetDuplex(*args
, **kwargs
):
2857 """SetDuplex(int duplex)"""
2858 return _windows
.PrintData_SetDuplex(*args
, **kwargs
)
2860 def SetPaperId(*args
, **kwargs
):
2861 """SetPaperId(int sizeId)"""
2862 return _windows
.PrintData_SetPaperId(*args
, **kwargs
)
2864 def SetPaperSize(*args
, **kwargs
):
2865 """SetPaperSize(Size sz)"""
2866 return _windows
.PrintData_SetPaperSize(*args
, **kwargs
)
2868 def SetQuality(*args
, **kwargs
):
2869 """SetQuality(int quality)"""
2870 return _windows
.PrintData_SetQuality(*args
, **kwargs
)
2872 def GetPrinterCommand(*args
, **kwargs
):
2873 """GetPrinterCommand() -> String"""
2874 return _windows
.PrintData_GetPrinterCommand(*args
, **kwargs
)
2876 def GetPrinterOptions(*args
, **kwargs
):
2877 """GetPrinterOptions() -> String"""
2878 return _windows
.PrintData_GetPrinterOptions(*args
, **kwargs
)
2880 def GetPreviewCommand(*args
, **kwargs
):
2881 """GetPreviewCommand() -> String"""
2882 return _windows
.PrintData_GetPreviewCommand(*args
, **kwargs
)
2884 def GetFilename(*args
, **kwargs
):
2885 """GetFilename() -> String"""
2886 return _windows
.PrintData_GetFilename(*args
, **kwargs
)
2888 def GetFontMetricPath(*args
, **kwargs
):
2889 """GetFontMetricPath() -> String"""
2890 return _windows
.PrintData_GetFontMetricPath(*args
, **kwargs
)
2892 def GetPrinterScaleX(*args
, **kwargs
):
2893 """GetPrinterScaleX() -> double"""
2894 return _windows
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
2896 def GetPrinterScaleY(*args
, **kwargs
):
2897 """GetPrinterScaleY() -> double"""
2898 return _windows
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
2900 def GetPrinterTranslateX(*args
, **kwargs
):
2901 """GetPrinterTranslateX() -> long"""
2902 return _windows
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
2904 def GetPrinterTranslateY(*args
, **kwargs
):
2905 """GetPrinterTranslateY() -> long"""
2906 return _windows
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
2908 def GetPrintMode(*args
, **kwargs
):
2909 """GetPrintMode() -> int"""
2910 return _windows
.PrintData_GetPrintMode(*args
, **kwargs
)
2912 def SetPrinterCommand(*args
, **kwargs
):
2913 """SetPrinterCommand(String command)"""
2914 return _windows
.PrintData_SetPrinterCommand(*args
, **kwargs
)
2916 def SetPrinterOptions(*args
, **kwargs
):
2917 """SetPrinterOptions(String options)"""
2918 return _windows
.PrintData_SetPrinterOptions(*args
, **kwargs
)
2920 def SetPreviewCommand(*args
, **kwargs
):
2921 """SetPreviewCommand(String command)"""
2922 return _windows
.PrintData_SetPreviewCommand(*args
, **kwargs
)
2924 def SetFilename(*args
, **kwargs
):
2925 """SetFilename(String filename)"""
2926 return _windows
.PrintData_SetFilename(*args
, **kwargs
)
2928 def SetFontMetricPath(*args
, **kwargs
):
2929 """SetFontMetricPath(String path)"""
2930 return _windows
.PrintData_SetFontMetricPath(*args
, **kwargs
)
2932 def SetPrinterScaleX(*args
, **kwargs
):
2933 """SetPrinterScaleX(double x)"""
2934 return _windows
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
2936 def SetPrinterScaleY(*args
, **kwargs
):
2937 """SetPrinterScaleY(double y)"""
2938 return _windows
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
2940 def SetPrinterScaling(*args
, **kwargs
):
2941 """SetPrinterScaling(double x, double y)"""
2942 return _windows
.PrintData_SetPrinterScaling(*args
, **kwargs
)
2944 def SetPrinterTranslateX(*args
, **kwargs
):
2945 """SetPrinterTranslateX(long x)"""
2946 return _windows
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
2948 def SetPrinterTranslateY(*args
, **kwargs
):
2949 """SetPrinterTranslateY(long y)"""
2950 return _windows
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
2952 def SetPrinterTranslation(*args
, **kwargs
):
2953 """SetPrinterTranslation(long x, long y)"""
2954 return _windows
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
2956 def SetPrintMode(*args
, **kwargs
):
2957 """SetPrintMode(int printMode)"""
2958 return _windows
.PrintData_SetPrintMode(*args
, **kwargs
)
2960 def GetOutputStream(*args
, **kwargs
):
2961 """GetOutputStream() -> OutputStream"""
2962 return _windows
.PrintData_GetOutputStream(*args
, **kwargs
)
2964 def SetOutputStream(*args
, **kwargs
):
2965 """SetOutputStream(OutputStream outputstream)"""
2966 return _windows
.PrintData_SetOutputStream(*args
, **kwargs
)
2968 def __nonzero__(self
): return self
.Ok()
2970 class PrintDataPtr(PrintData
):
2971 def __init__(self
, this
):
2973 if not hasattr(self
,"thisown"): self
.thisown
= 0
2974 self
.__class
__ = PrintData
2975 _windows
.PrintData_swigregister(PrintDataPtr
)
2976 PrintoutTitleStr
= cvar
.PrintoutTitleStr
2977 PreviewCanvasNameStr
= cvar
.PreviewCanvasNameStr
2979 class PageSetupDialogData(core
.Object
):
2981 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2982 def __init__(self
, *args
, **kwargs
):
2983 """__init__() -> PageSetupDialogData"""
2984 newobj
= _windows
.new_PageSetupDialogData(*args
, **kwargs
)
2985 self
.this
= newobj
.this
2988 def __del__(self
, destroy
=_windows
.delete_PageSetupDialogData
):
2991 if self
.thisown
: destroy(self
)
2994 def EnableHelp(*args
, **kwargs
):
2995 """EnableHelp(bool flag)"""
2996 return _windows
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
2998 def EnableMargins(*args
, **kwargs
):
2999 """EnableMargins(bool flag)"""
3000 return _windows
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
3002 def EnableOrientation(*args
, **kwargs
):
3003 """EnableOrientation(bool flag)"""
3004 return _windows
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
3006 def EnablePaper(*args
, **kwargs
):
3007 """EnablePaper(bool flag)"""
3008 return _windows
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
3010 def EnablePrinter(*args
, **kwargs
):
3011 """EnablePrinter(bool flag)"""
3012 return _windows
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
3014 def GetDefaultMinMargins(*args
, **kwargs
):
3015 """GetDefaultMinMargins() -> bool"""
3016 return _windows
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
3018 def GetEnableMargins(*args
, **kwargs
):
3019 """GetEnableMargins() -> bool"""
3020 return _windows
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
3022 def GetEnableOrientation(*args
, **kwargs
):
3023 """GetEnableOrientation() -> bool"""
3024 return _windows
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
3026 def GetEnablePaper(*args
, **kwargs
):
3027 """GetEnablePaper() -> bool"""
3028 return _windows
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
3030 def GetEnablePrinter(*args
, **kwargs
):
3031 """GetEnablePrinter() -> bool"""
3032 return _windows
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
3034 def GetEnableHelp(*args
, **kwargs
):
3035 """GetEnableHelp() -> bool"""
3036 return _windows
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
3038 def GetDefaultInfo(*args
, **kwargs
):
3039 """GetDefaultInfo() -> bool"""
3040 return _windows
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
3042 def GetMarginTopLeft(*args
, **kwargs
):
3043 """GetMarginTopLeft() -> Point"""
3044 return _windows
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
3046 def GetMarginBottomRight(*args
, **kwargs
):
3047 """GetMarginBottomRight() -> Point"""
3048 return _windows
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
3050 def GetMinMarginTopLeft(*args
, **kwargs
):
3051 """GetMinMarginTopLeft() -> Point"""
3052 return _windows
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
3054 def GetMinMarginBottomRight(*args
, **kwargs
):
3055 """GetMinMarginBottomRight() -> Point"""
3056 return _windows
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
3058 def GetPaperId(*args
, **kwargs
):
3059 """GetPaperId() -> int"""
3060 return _windows
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
3062 def GetPaperSize(*args
, **kwargs
):
3063 """GetPaperSize() -> Size"""
3064 return _windows
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
3066 def GetPrintData(*args
, **kwargs
):
3067 """GetPrintData() -> PrintData"""
3068 return _windows
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
3070 def Ok(*args
, **kwargs
):
3072 return _windows
.PageSetupDialogData_Ok(*args
, **kwargs
)
3074 def SetDefaultInfo(*args
, **kwargs
):
3075 """SetDefaultInfo(bool flag)"""
3076 return _windows
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
3078 def SetDefaultMinMargins(*args
, **kwargs
):
3079 """SetDefaultMinMargins(bool flag)"""
3080 return _windows
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
3082 def SetMarginTopLeft(*args
, **kwargs
):
3083 """SetMarginTopLeft(Point pt)"""
3084 return _windows
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
3086 def SetMarginBottomRight(*args
, **kwargs
):
3087 """SetMarginBottomRight(Point pt)"""
3088 return _windows
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
3090 def SetMinMarginTopLeft(*args
, **kwargs
):
3091 """SetMinMarginTopLeft(Point pt)"""
3092 return _windows
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
3094 def SetMinMarginBottomRight(*args
, **kwargs
):
3095 """SetMinMarginBottomRight(Point pt)"""
3096 return _windows
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
3098 def SetPaperId(*args
, **kwargs
):
3099 """SetPaperId(int id)"""
3100 return _windows
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
3102 def SetPaperSize(*args
, **kwargs
):
3103 """SetPaperSize(Size size)"""
3104 return _windows
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
3106 def SetPrintData(*args
, **kwargs
):
3107 """SetPrintData(PrintData printData)"""
3108 return _windows
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
3110 def __nonzero__(self
): return self
.Ok()
3112 class PageSetupDialogDataPtr(PageSetupDialogData
):
3113 def __init__(self
, this
):
3115 if not hasattr(self
,"thisown"): self
.thisown
= 0
3116 self
.__class
__ = PageSetupDialogData
3117 _windows
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
3119 class PageSetupDialog(Dialog
):
3121 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3122 def __init__(self
, *args
, **kwargs
):
3123 """__init__(Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
3124 newobj
= _windows
.new_PageSetupDialog(*args
, **kwargs
)
3125 self
.this
= newobj
.this
3128 self
._setOORInfo
(self
)
3130 def GetPageSetupData(*args
, **kwargs
):
3131 """GetPageSetupData() -> PageSetupDialogData"""
3132 return _windows
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
3134 def ShowModal(*args
, **kwargs
):
3135 """ShowModal() -> int"""
3136 return _windows
.PageSetupDialog_ShowModal(*args
, **kwargs
)
3139 class PageSetupDialogPtr(PageSetupDialog
):
3140 def __init__(self
, this
):
3142 if not hasattr(self
,"thisown"): self
.thisown
= 0
3143 self
.__class
__ = PageSetupDialog
3144 _windows
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
3146 class PrintDialogData(core
.Object
):
3148 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3149 def __init__(self
, *args
, **kwargs
):
3150 """__init__() -> PrintDialogData"""
3151 newobj
= _windows
.new_PrintDialogData(*args
, **kwargs
)
3152 self
.this
= newobj
.this
3155 def __del__(self
, destroy
=_windows
.delete_PrintDialogData
):
3158 if self
.thisown
: destroy(self
)
3161 def GetFromPage(*args
, **kwargs
):
3162 """GetFromPage() -> int"""
3163 return _windows
.PrintDialogData_GetFromPage(*args
, **kwargs
)
3165 def GetToPage(*args
, **kwargs
):
3166 """GetToPage() -> int"""
3167 return _windows
.PrintDialogData_GetToPage(*args
, **kwargs
)
3169 def GetMinPage(*args
, **kwargs
):
3170 """GetMinPage() -> int"""
3171 return _windows
.PrintDialogData_GetMinPage(*args
, **kwargs
)
3173 def GetMaxPage(*args
, **kwargs
):
3174 """GetMaxPage() -> int"""
3175 return _windows
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
3177 def GetNoCopies(*args
, **kwargs
):
3178 """GetNoCopies() -> int"""
3179 return _windows
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
3181 def GetAllPages(*args
, **kwargs
):
3182 """GetAllPages() -> bool"""
3183 return _windows
.PrintDialogData_GetAllPages(*args
, **kwargs
)
3185 def GetSelection(*args
, **kwargs
):
3186 """GetSelection() -> bool"""
3187 return _windows
.PrintDialogData_GetSelection(*args
, **kwargs
)
3189 def GetCollate(*args
, **kwargs
):
3190 """GetCollate() -> bool"""
3191 return _windows
.PrintDialogData_GetCollate(*args
, **kwargs
)
3193 def GetPrintToFile(*args
, **kwargs
):
3194 """GetPrintToFile() -> bool"""
3195 return _windows
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
3197 def GetSetupDialog(*args
, **kwargs
):
3198 """GetSetupDialog() -> bool"""
3199 return _windows
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
3201 def SetFromPage(*args
, **kwargs
):
3202 """SetFromPage(int v)"""
3203 return _windows
.PrintDialogData_SetFromPage(*args
, **kwargs
)
3205 def SetToPage(*args
, **kwargs
):
3206 """SetToPage(int v)"""
3207 return _windows
.PrintDialogData_SetToPage(*args
, **kwargs
)
3209 def SetMinPage(*args
, **kwargs
):
3210 """SetMinPage(int v)"""
3211 return _windows
.PrintDialogData_SetMinPage(*args
, **kwargs
)
3213 def SetMaxPage(*args
, **kwargs
):
3214 """SetMaxPage(int v)"""
3215 return _windows
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
3217 def SetNoCopies(*args
, **kwargs
):
3218 """SetNoCopies(int v)"""
3219 return _windows
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
3221 def SetAllPages(*args
, **kwargs
):
3222 """SetAllPages(bool flag)"""
3223 return _windows
.PrintDialogData_SetAllPages(*args
, **kwargs
)
3225 def SetSelection(*args
, **kwargs
):
3226 """SetSelection(bool flag)"""
3227 return _windows
.PrintDialogData_SetSelection(*args
, **kwargs
)
3229 def SetCollate(*args
, **kwargs
):
3230 """SetCollate(bool flag)"""
3231 return _windows
.PrintDialogData_SetCollate(*args
, **kwargs
)
3233 def SetPrintToFile(*args
, **kwargs
):
3234 """SetPrintToFile(bool flag)"""
3235 return _windows
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
3237 def SetSetupDialog(*args
, **kwargs
):
3238 """SetSetupDialog(bool flag)"""
3239 return _windows
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
3241 def EnablePrintToFile(*args
, **kwargs
):
3242 """EnablePrintToFile(bool flag)"""
3243 return _windows
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
3245 def EnableSelection(*args
, **kwargs
):
3246 """EnableSelection(bool flag)"""
3247 return _windows
.PrintDialogData_EnableSelection(*args
, **kwargs
)
3249 def EnablePageNumbers(*args
, **kwargs
):
3250 """EnablePageNumbers(bool flag)"""
3251 return _windows
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
3253 def EnableHelp(*args
, **kwargs
):
3254 """EnableHelp(bool flag)"""
3255 return _windows
.PrintDialogData_EnableHelp(*args
, **kwargs
)
3257 def GetEnablePrintToFile(*args
, **kwargs
):
3258 """GetEnablePrintToFile() -> bool"""
3259 return _windows
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
3261 def GetEnableSelection(*args
, **kwargs
):
3262 """GetEnableSelection() -> bool"""
3263 return _windows
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
3265 def GetEnablePageNumbers(*args
, **kwargs
):
3266 """GetEnablePageNumbers() -> bool"""
3267 return _windows
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
3269 def GetEnableHelp(*args
, **kwargs
):
3270 """GetEnableHelp() -> bool"""
3271 return _windows
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
3273 def Ok(*args
, **kwargs
):
3275 return _windows
.PrintDialogData_Ok(*args
, **kwargs
)
3277 def GetPrintData(*args
, **kwargs
):
3278 """GetPrintData() -> PrintData"""
3279 return _windows
.PrintDialogData_GetPrintData(*args
, **kwargs
)
3281 def SetPrintData(*args
, **kwargs
):
3282 """SetPrintData(PrintData printData)"""
3283 return _windows
.PrintDialogData_SetPrintData(*args
, **kwargs
)
3285 def __nonzero__(self
): return self
.Ok()
3287 class PrintDialogDataPtr(PrintDialogData
):
3288 def __init__(self
, this
):
3290 if not hasattr(self
,"thisown"): self
.thisown
= 0
3291 self
.__class
__ = PrintDialogData
3292 _windows
.PrintDialogData_swigregister(PrintDialogDataPtr
)
3294 class PrintDialog(Dialog
):
3296 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3297 def __init__(self
, *args
, **kwargs
):
3298 """__init__(Window parent, PrintDialogData data=None) -> PrintDialog"""
3299 newobj
= _windows
.new_PrintDialog(*args
, **kwargs
)
3300 self
.this
= newobj
.this
3303 self
._setOORInfo
(self
)
3305 def GetPrintDialogData(*args
, **kwargs
):
3306 """GetPrintDialogData() -> PrintDialogData"""
3307 return _windows
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
3309 def GetPrintDC(*args
, **kwargs
):
3310 """GetPrintDC() -> DC"""
3311 return _windows
.PrintDialog_GetPrintDC(*args
, **kwargs
)
3313 def ShowModal(*args
, **kwargs
):
3314 """ShowModal() -> int"""
3315 return _windows
.PrintDialog_ShowModal(*args
, **kwargs
)
3318 class PrintDialogPtr(PrintDialog
):
3319 def __init__(self
, this
):
3321 if not hasattr(self
,"thisown"): self
.thisown
= 0
3322 self
.__class
__ = PrintDialog
3323 _windows
.PrintDialog_swigregister(PrintDialogPtr
)
3325 PRINTER_NO_ERROR
= _windows
.PRINTER_NO_ERROR
3326 PRINTER_CANCELLED
= _windows
.PRINTER_CANCELLED
3327 PRINTER_ERROR
= _windows
.PRINTER_ERROR
3328 class Printer(core
.Object
):
3330 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3331 def __init__(self
, *args
, **kwargs
):
3332 """__init__(PrintDialogData data=None) -> Printer"""
3333 newobj
= _windows
.new_Printer(*args
, **kwargs
)
3334 self
.this
= newobj
.this
3337 def __del__(self
, destroy
=_windows
.delete_Printer
):
3340 if self
.thisown
: destroy(self
)
3343 def CreateAbortWindow(*args
, **kwargs
):
3344 """CreateAbortWindow(Window parent, Printout printout)"""
3345 return _windows
.Printer_CreateAbortWindow(*args
, **kwargs
)
3347 def GetPrintDialogData(*args
, **kwargs
):
3348 """GetPrintDialogData() -> PrintDialogData"""
3349 return _windows
.Printer_GetPrintDialogData(*args
, **kwargs
)
3351 def Print(*args
, **kwargs
):
3352 """Print(Window parent, Printout printout, int prompt=True) -> bool"""
3353 return _windows
.Printer_Print(*args
, **kwargs
)
3355 def PrintDialog(*args
, **kwargs
):
3356 """PrintDialog(Window parent) -> DC"""
3357 return _windows
.Printer_PrintDialog(*args
, **kwargs
)
3359 def ReportError(*args
, **kwargs
):
3360 """ReportError(Window parent, Printout printout, String message)"""
3361 return _windows
.Printer_ReportError(*args
, **kwargs
)
3363 def Setup(*args
, **kwargs
):
3364 """Setup(Window parent) -> bool"""
3365 return _windows
.Printer_Setup(*args
, **kwargs
)
3367 def GetAbort(*args
, **kwargs
):
3368 """GetAbort() -> bool"""
3369 return _windows
.Printer_GetAbort(*args
, **kwargs
)
3371 def GetLastError(*args
, **kwargs
):
3372 """GetLastError() -> int"""
3373 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3375 GetLastError
= staticmethod(GetLastError
)
3377 class PrinterPtr(Printer
):
3378 def __init__(self
, this
):
3380 if not hasattr(self
,"thisown"): self
.thisown
= 0
3381 self
.__class
__ = Printer
3382 _windows
.Printer_swigregister(PrinterPtr
)
3384 def Printer_GetLastError(*args
, **kwargs
):
3385 """Printer_GetLastError() -> int"""
3386 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3388 class Printout(core
.Object
):
3390 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3391 def __init__(self
, *args
, **kwargs
):
3392 """__init__(String title=PrintoutTitleStr) -> Printout"""
3393 newobj
= _windows
.new_Printout(*args
, **kwargs
)
3394 self
.this
= newobj
.this
3397 self
._setCallbackInfo
(self
, Printout
)
3399 def _setCallbackInfo(*args
, **kwargs
):
3400 """_setCallbackInfo(PyObject self, PyObject _class)"""
3401 return _windows
.Printout__setCallbackInfo(*args
, **kwargs
)
3403 def GetTitle(*args
, **kwargs
):
3404 """GetTitle() -> String"""
3405 return _windows
.Printout_GetTitle(*args
, **kwargs
)
3407 def GetDC(*args
, **kwargs
):
3409 return _windows
.Printout_GetDC(*args
, **kwargs
)
3411 def SetDC(*args
, **kwargs
):
3413 return _windows
.Printout_SetDC(*args
, **kwargs
)
3415 def SetPageSizePixels(*args
, **kwargs
):
3416 """SetPageSizePixels(int w, int h)"""
3417 return _windows
.Printout_SetPageSizePixels(*args
, **kwargs
)
3419 def GetPageSizePixels(*args
, **kwargs
):
3420 """GetPageSizePixels() -> (w, h)"""
3421 return _windows
.Printout_GetPageSizePixels(*args
, **kwargs
)
3423 def SetPageSizeMM(*args
, **kwargs
):
3424 """SetPageSizeMM(int w, int h)"""
3425 return _windows
.Printout_SetPageSizeMM(*args
, **kwargs
)
3427 def GetPageSizeMM(*args
, **kwargs
):
3428 """GetPageSizeMM() -> (w, h)"""
3429 return _windows
.Printout_GetPageSizeMM(*args
, **kwargs
)
3431 def SetPPIScreen(*args
, **kwargs
):
3432 """SetPPIScreen(int x, int y)"""
3433 return _windows
.Printout_SetPPIScreen(*args
, **kwargs
)
3435 def GetPPIScreen(*args
, **kwargs
):
3436 """GetPPIScreen() -> (x,y)"""
3437 return _windows
.Printout_GetPPIScreen(*args
, **kwargs
)
3439 def SetPPIPrinter(*args
, **kwargs
):
3440 """SetPPIPrinter(int x, int y)"""
3441 return _windows
.Printout_SetPPIPrinter(*args
, **kwargs
)
3443 def GetPPIPrinter(*args
, **kwargs
):
3444 """GetPPIPrinter() -> (x,y)"""
3445 return _windows
.Printout_GetPPIPrinter(*args
, **kwargs
)
3447 def IsPreview(*args
, **kwargs
):
3448 """IsPreview() -> bool"""
3449 return _windows
.Printout_IsPreview(*args
, **kwargs
)
3451 def SetIsPreview(*args
, **kwargs
):
3452 """SetIsPreview(bool p)"""
3453 return _windows
.Printout_SetIsPreview(*args
, **kwargs
)
3455 def base_OnBeginDocument(*args
, **kwargs
):
3456 """base_OnBeginDocument(int startPage, int endPage) -> bool"""
3457 return _windows
.Printout_base_OnBeginDocument(*args
, **kwargs
)
3459 def base_OnEndDocument(*args
, **kwargs
):
3460 """base_OnEndDocument()"""
3461 return _windows
.Printout_base_OnEndDocument(*args
, **kwargs
)
3463 def base_OnBeginPrinting(*args
, **kwargs
):
3464 """base_OnBeginPrinting()"""
3465 return _windows
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
3467 def base_OnEndPrinting(*args
, **kwargs
):
3468 """base_OnEndPrinting()"""
3469 return _windows
.Printout_base_OnEndPrinting(*args
, **kwargs
)
3471 def base_OnPreparePrinting(*args
, **kwargs
):
3472 """base_OnPreparePrinting()"""
3473 return _windows
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
3475 def base_HasPage(*args
, **kwargs
):
3476 """base_HasPage(int page) -> bool"""
3477 return _windows
.Printout_base_HasPage(*args
, **kwargs
)
3479 def base_GetPageInfo(*args
, **kwargs
):
3480 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
3481 return _windows
.Printout_base_GetPageInfo(*args
, **kwargs
)
3484 class PrintoutPtr(Printout
):
3485 def __init__(self
, this
):
3487 if not hasattr(self
,"thisown"): self
.thisown
= 0
3488 self
.__class
__ = Printout
3489 _windows
.Printout_swigregister(PrintoutPtr
)
3491 class PreviewCanvas(ScrolledWindow
):
3493 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3494 def __init__(self
, *args
, **kwargs
):
3496 __init__(PrintPreview preview, Window parent, Point pos=DefaultPosition,
3497 Size size=DefaultSize, long style=0,
3498 String name=PreviewCanvasNameStr) -> PreviewCanvas
3500 newobj
= _windows
.new_PreviewCanvas(*args
, **kwargs
)
3501 self
.this
= newobj
.this
3504 self
._setOORInfo
(self
)
3507 class PreviewCanvasPtr(PreviewCanvas
):
3508 def __init__(self
, this
):
3510 if not hasattr(self
,"thisown"): self
.thisown
= 0
3511 self
.__class
__ = PreviewCanvas
3512 _windows
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
3514 class PreviewFrame(Frame
):
3516 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3517 def __init__(self
, *args
, **kwargs
):
3519 __init__(PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
3520 Size size=DefaultSize,
3521 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
3523 newobj
= _windows
.new_PreviewFrame(*args
, **kwargs
)
3524 self
.this
= newobj
.this
3527 self
._setOORInfo
(self
)
3529 def Initialize(*args
, **kwargs
):
3531 return _windows
.PreviewFrame_Initialize(*args
, **kwargs
)
3533 def CreateControlBar(*args
, **kwargs
):
3534 """CreateControlBar()"""
3535 return _windows
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
3537 def CreateCanvas(*args
, **kwargs
):
3538 """CreateCanvas()"""
3539 return _windows
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
3541 def GetControlBar(*args
, **kwargs
):
3542 """GetControlBar() -> PreviewControlBar"""
3543 return _windows
.PreviewFrame_GetControlBar(*args
, **kwargs
)
3546 class PreviewFramePtr(PreviewFrame
):
3547 def __init__(self
, this
):
3549 if not hasattr(self
,"thisown"): self
.thisown
= 0
3550 self
.__class
__ = PreviewFrame
3551 _windows
.PreviewFrame_swigregister(PreviewFramePtr
)
3553 PREVIEW_PRINT
= _windows
.PREVIEW_PRINT
3554 PREVIEW_PREVIOUS
= _windows
.PREVIEW_PREVIOUS
3555 PREVIEW_NEXT
= _windows
.PREVIEW_NEXT
3556 PREVIEW_ZOOM
= _windows
.PREVIEW_ZOOM
3557 PREVIEW_FIRST
= _windows
.PREVIEW_FIRST
3558 PREVIEW_LAST
= _windows
.PREVIEW_LAST
3559 PREVIEW_GOTO
= _windows
.PREVIEW_GOTO
3560 PREVIEW_DEFAULT
= _windows
.PREVIEW_DEFAULT
3561 ID_PREVIEW_CLOSE
= _windows
.ID_PREVIEW_CLOSE
3562 ID_PREVIEW_NEXT
= _windows
.ID_PREVIEW_NEXT
3563 ID_PREVIEW_PREVIOUS
= _windows
.ID_PREVIEW_PREVIOUS
3564 ID_PREVIEW_PRINT
= _windows
.ID_PREVIEW_PRINT
3565 ID_PREVIEW_ZOOM
= _windows
.ID_PREVIEW_ZOOM
3566 ID_PREVIEW_FIRST
= _windows
.ID_PREVIEW_FIRST
3567 ID_PREVIEW_LAST
= _windows
.ID_PREVIEW_LAST
3568 ID_PREVIEW_GOTO
= _windows
.ID_PREVIEW_GOTO
3569 class PreviewControlBar(Panel
):
3571 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3572 def __init__(self
, *args
, **kwargs
):
3574 __init__(PrintPreview preview, long buttons, Window parent,
3575 Point pos=DefaultPosition, Size size=DefaultSize,
3576 long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
3578 newobj
= _windows
.new_PreviewControlBar(*args
, **kwargs
)
3579 self
.this
= newobj
.this
3582 self
._setOORInfo
(self
)
3584 def GetZoomControl(*args
, **kwargs
):
3585 """GetZoomControl() -> int"""
3586 return _windows
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
3588 def SetZoomControl(*args
, **kwargs
):
3589 """SetZoomControl(int zoom)"""
3590 return _windows
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
3592 def GetPrintPreview(*args
, **kwargs
):
3593 """GetPrintPreview() -> PrintPreview"""
3594 return _windows
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
3596 def OnNext(*args
, **kwargs
):
3598 return _windows
.PreviewControlBar_OnNext(*args
, **kwargs
)
3600 def OnPrevious(*args
, **kwargs
):
3602 return _windows
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
3604 def OnFirst(*args
, **kwargs
):
3606 return _windows
.PreviewControlBar_OnFirst(*args
, **kwargs
)
3608 def OnLast(*args
, **kwargs
):
3610 return _windows
.PreviewControlBar_OnLast(*args
, **kwargs
)
3612 def OnGoto(*args
, **kwargs
):
3614 return _windows
.PreviewControlBar_OnGoto(*args
, **kwargs
)
3617 class PreviewControlBarPtr(PreviewControlBar
):
3618 def __init__(self
, this
):
3620 if not hasattr(self
,"thisown"): self
.thisown
= 0
3621 self
.__class
__ = PreviewControlBar
3622 _windows
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
3624 class PrintPreview(core
.Object
):
3626 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3627 def __init__(self
, *args
, **kwargs
):
3628 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PrintPreview"""
3629 newobj
= _windows
.new_PrintPreview(*args
, **kwargs
)
3630 self
.this
= newobj
.this
3633 def SetCurrentPage(*args
, **kwargs
):
3634 """SetCurrentPage(int pageNum) -> bool"""
3635 return _windows
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
3637 def GetCurrentPage(*args
, **kwargs
):
3638 """GetCurrentPage() -> int"""
3639 return _windows
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
3641 def SetPrintout(*args
, **kwargs
):
3642 """SetPrintout(Printout printout)"""
3643 return _windows
.PrintPreview_SetPrintout(*args
, **kwargs
)
3645 def GetPrintout(*args
, **kwargs
):
3646 """GetPrintout() -> Printout"""
3647 return _windows
.PrintPreview_GetPrintout(*args
, **kwargs
)
3649 def GetPrintoutForPrinting(*args
, **kwargs
):
3650 """GetPrintoutForPrinting() -> Printout"""
3651 return _windows
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
3653 def SetFrame(*args
, **kwargs
):
3654 """SetFrame(Frame frame)"""
3655 return _windows
.PrintPreview_SetFrame(*args
, **kwargs
)
3657 def SetCanvas(*args
, **kwargs
):
3658 """SetCanvas(PreviewCanvas canvas)"""
3659 return _windows
.PrintPreview_SetCanvas(*args
, **kwargs
)
3661 def GetFrame(*args
, **kwargs
):
3662 """GetFrame() -> Frame"""
3663 return _windows
.PrintPreview_GetFrame(*args
, **kwargs
)
3665 def GetCanvas(*args
, **kwargs
):
3666 """GetCanvas() -> PreviewCanvas"""
3667 return _windows
.PrintPreview_GetCanvas(*args
, **kwargs
)
3669 def PaintPage(*args
, **kwargs
):
3670 """PaintPage(PreviewCanvas canvas, DC dc) -> bool"""
3671 return _windows
.PrintPreview_PaintPage(*args
, **kwargs
)
3673 def DrawBlankPage(*args
, **kwargs
):
3674 """DrawBlankPage(PreviewCanvas canvas, DC dc) -> bool"""
3675 return _windows
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
3677 def RenderPage(*args
, **kwargs
):
3678 """RenderPage(int pageNum) -> bool"""
3679 return _windows
.PrintPreview_RenderPage(*args
, **kwargs
)
3681 def AdjustScrollbars(*args
, **kwargs
):
3682 """AdjustScrollbars(PreviewCanvas canvas)"""
3683 return _windows
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
3685 def GetPrintDialogData(*args
, **kwargs
):
3686 """GetPrintDialogData() -> PrintDialogData"""
3687 return _windows
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
3689 def SetZoom(*args
, **kwargs
):
3690 """SetZoom(int percent)"""
3691 return _windows
.PrintPreview_SetZoom(*args
, **kwargs
)
3693 def GetZoom(*args
, **kwargs
):
3694 """GetZoom() -> int"""
3695 return _windows
.PrintPreview_GetZoom(*args
, **kwargs
)
3697 def GetMaxPage(*args
, **kwargs
):
3698 """GetMaxPage() -> int"""
3699 return _windows
.PrintPreview_GetMaxPage(*args
, **kwargs
)
3701 def GetMinPage(*args
, **kwargs
):
3702 """GetMinPage() -> int"""
3703 return _windows
.PrintPreview_GetMinPage(*args
, **kwargs
)
3705 def Ok(*args
, **kwargs
):
3707 return _windows
.PrintPreview_Ok(*args
, **kwargs
)
3709 def SetOk(*args
, **kwargs
):
3710 """SetOk(bool ok)"""
3711 return _windows
.PrintPreview_SetOk(*args
, **kwargs
)
3713 def Print(*args
, **kwargs
):
3714 """Print(bool interactive) -> bool"""
3715 return _windows
.PrintPreview_Print(*args
, **kwargs
)
3717 def DetermineScaling(*args
, **kwargs
):
3718 """DetermineScaling()"""
3719 return _windows
.PrintPreview_DetermineScaling(*args
, **kwargs
)
3721 def __nonzero__(self
): return self
.Ok()
3723 class PrintPreviewPtr(PrintPreview
):
3724 def __init__(self
, this
):
3726 if not hasattr(self
,"thisown"): self
.thisown
= 0
3727 self
.__class
__ = PrintPreview
3728 _windows
.PrintPreview_swigregister(PrintPreviewPtr
)
3730 class PyPrintPreview(PrintPreview
):
3732 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3733 def __init__(self
, *args
, **kwargs
):
3734 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PyPrintPreview"""
3735 newobj
= _windows
.new_PyPrintPreview(*args
, **kwargs
)
3736 self
.this
= newobj
.this
3739 self
._setCallbackInfo
(self
, PyPrintPreview
)
3741 def _setCallbackInfo(*args
, **kwargs
):
3742 """_setCallbackInfo(PyObject self, PyObject _class)"""
3743 return _windows
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
3745 def base_SetCurrentPage(*args
, **kwargs
):
3746 """base_SetCurrentPage(int pageNum) -> bool"""
3747 return _windows
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
3749 def base_PaintPage(*args
, **kwargs
):
3750 """base_PaintPage(PreviewCanvas canvas, DC dc) -> bool"""
3751 return _windows
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
3753 def base_DrawBlankPage(*args
, **kwargs
):
3754 """base_DrawBlankPage(PreviewCanvas canvas, DC dc) -> bool"""
3755 return _windows
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
3757 def base_RenderPage(*args
, **kwargs
):
3758 """base_RenderPage(int pageNum) -> bool"""
3759 return _windows
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
3761 def base_SetZoom(*args
, **kwargs
):
3762 """base_SetZoom(int percent)"""
3763 return _windows
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
3765 def base_Print(*args
, **kwargs
):
3766 """base_Print(bool interactive) -> bool"""
3767 return _windows
.PyPrintPreview_base_Print(*args
, **kwargs
)
3769 def base_DetermineScaling(*args
, **kwargs
):
3770 """base_DetermineScaling()"""
3771 return _windows
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
3774 class PyPrintPreviewPtr(PyPrintPreview
):
3775 def __init__(self
, this
):
3777 if not hasattr(self
,"thisown"): self
.thisown
= 0
3778 self
.__class
__ = PyPrintPreview
3779 _windows
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
3781 class PyPreviewFrame(PreviewFrame
):
3783 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3784 def __init__(self
, *args
, **kwargs
):
3786 __init__(PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
3787 Size size=DefaultSize,
3788 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
3790 newobj
= _windows
.new_PyPreviewFrame(*args
, **kwargs
)
3791 self
.this
= newobj
.this
3794 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
3796 def _setCallbackInfo(*args
, **kwargs
):
3797 """_setCallbackInfo(PyObject self, PyObject _class)"""
3798 return _windows
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
3800 def SetPreviewCanvas(*args
, **kwargs
):
3801 """SetPreviewCanvas(PreviewCanvas canvas)"""
3802 return _windows
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
3804 def SetControlBar(*args
, **kwargs
):
3805 """SetControlBar(PreviewControlBar bar)"""
3806 return _windows
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
3808 def base_Initialize(*args
, **kwargs
):
3809 """base_Initialize()"""
3810 return _windows
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
3812 def base_CreateCanvas(*args
, **kwargs
):
3813 """base_CreateCanvas()"""
3814 return _windows
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
3816 def base_CreateControlBar(*args
, **kwargs
):
3817 """base_CreateControlBar()"""
3818 return _windows
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
3821 class PyPreviewFramePtr(PyPreviewFrame
):
3822 def __init__(self
, this
):
3824 if not hasattr(self
,"thisown"): self
.thisown
= 0
3825 self
.__class
__ = PyPreviewFrame
3826 _windows
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
3828 class PyPreviewControlBar(PreviewControlBar
):
3830 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3831 def __init__(self
, *args
, **kwargs
):
3833 __init__(PrintPreview preview, long buttons, Window parent,
3834 Point pos=DefaultPosition, Size size=DefaultSize,
3835 long style=0, String name=PanelNameStr) -> PyPreviewControlBar
3837 newobj
= _windows
.new_PyPreviewControlBar(*args
, **kwargs
)
3838 self
.this
= newobj
.this
3841 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
3843 def _setCallbackInfo(*args
, **kwargs
):
3844 """_setCallbackInfo(PyObject self, PyObject _class)"""
3845 return _windows
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
3847 def SetPrintPreview(*args
, **kwargs
):
3848 """SetPrintPreview(PrintPreview preview)"""
3849 return _windows
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
3851 def base_CreateButtons(*args
, **kwargs
):
3852 """base_CreateButtons()"""
3853 return _windows
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
3855 def base_SetZoomControl(*args
, **kwargs
):
3856 """base_SetZoomControl(int zoom)"""
3857 return _windows
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
3860 class PyPreviewControlBarPtr(PyPreviewControlBar
):
3861 def __init__(self
, this
):
3863 if not hasattr(self
,"thisown"): self
.thisown
= 0
3864 self
.__class
__ = PyPreviewControlBar
3865 _windows
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)