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 SetModal(*args
, **kwargs
):
418 """SetModal(bool flag)"""
419 return _windows
.Dialog_SetModal(*args
, **kwargs
)
421 def IsModal(*args
, **kwargs
):
422 """IsModal() -> bool"""
423 return _windows
.Dialog_IsModal(*args
, **kwargs
)
425 def ShowModal(*args
, **kwargs
):
426 """ShowModal() -> int"""
427 return _windows
.Dialog_ShowModal(*args
, **kwargs
)
429 def EndModal(*args
, **kwargs
):
430 """EndModal(int retCode)"""
431 return _windows
.Dialog_EndModal(*args
, **kwargs
)
433 def IsModalShowing(*args
, **kwargs
):
434 """IsModalShowing() -> bool"""
435 return _windows
.Dialog_IsModalShowing(*args
, **kwargs
)
438 class DialogPtr(Dialog
):
439 def __init__(self
, this
):
441 if not hasattr(self
,"thisown"): self
.thisown
= 0
442 self
.__class
__ = Dialog
443 _windows
.Dialog_swigregister(DialogPtr
)
445 def PreDialog(*args
, **kwargs
):
446 """PreDialog() -> Dialog"""
447 val
= _windows
.new_PreDialog(*args
, **kwargs
)
451 #---------------------------------------------------------------------------
453 class MiniFrame(Frame
):
455 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
456 def __init__(self
, *args
, **kwargs
):
458 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
459 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
460 String name=FrameNameStr) -> MiniFrame
462 newobj
= _windows
.new_MiniFrame(*args
, **kwargs
)
463 self
.this
= newobj
.this
466 self
._setOORInfo
(self
)
468 def Create(*args
, **kwargs
):
470 Create(Window parent, int id, String title, Point pos=DefaultPosition,
471 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
472 String name=FrameNameStr) -> bool
474 return _windows
.MiniFrame_Create(*args
, **kwargs
)
477 class MiniFramePtr(MiniFrame
):
478 def __init__(self
, this
):
480 if not hasattr(self
,"thisown"): self
.thisown
= 0
481 self
.__class
__ = MiniFrame
482 _windows
.MiniFrame_swigregister(MiniFramePtr
)
484 def PreMiniFrame(*args
, **kwargs
):
485 """PreMiniFrame() -> MiniFrame"""
486 val
= _windows
.new_PreMiniFrame(*args
, **kwargs
)
490 #---------------------------------------------------------------------------
492 SPLASH_CENTRE_ON_PARENT
= _windows
.SPLASH_CENTRE_ON_PARENT
493 SPLASH_CENTRE_ON_SCREEN
= _windows
.SPLASH_CENTRE_ON_SCREEN
494 SPLASH_NO_CENTRE
= _windows
.SPLASH_NO_CENTRE
495 SPLASH_TIMEOUT
= _windows
.SPLASH_TIMEOUT
496 SPLASH_NO_TIMEOUT
= _windows
.SPLASH_NO_TIMEOUT
497 class SplashScreenWindow(core
.Window
):
499 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
500 def __init__(self
, *args
, **kwargs
):
502 __init__(Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
503 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
505 newobj
= _windows
.new_SplashScreenWindow(*args
, **kwargs
)
506 self
.this
= newobj
.this
509 self
._setOORInfo
(self
)
511 def SetBitmap(*args
, **kwargs
):
512 """SetBitmap(Bitmap bitmap)"""
513 return _windows
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
515 def GetBitmap(*args
, **kwargs
):
516 """GetBitmap() -> Bitmap"""
517 return _windows
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
520 class SplashScreenWindowPtr(SplashScreenWindow
):
521 def __init__(self
, this
):
523 if not hasattr(self
,"thisown"): self
.thisown
= 0
524 self
.__class
__ = SplashScreenWindow
525 _windows
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
527 class SplashScreen(Frame
):
529 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
530 def __init__(self
, *args
, **kwargs
):
532 __init__(Bitmap bitmap, long splashStyle, int milliseconds,
533 Window parent, int id, Point pos=DefaultPosition,
534 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
536 newobj
= _windows
.new_SplashScreen(*args
, **kwargs
)
537 self
.this
= newobj
.this
540 self
._setOORInfo
(self
)
542 def GetSplashStyle(*args
, **kwargs
):
543 """GetSplashStyle() -> long"""
544 return _windows
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
546 def GetSplashWindow(*args
, **kwargs
):
547 """GetSplashWindow() -> SplashScreenWindow"""
548 return _windows
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
550 def GetTimeout(*args
, **kwargs
):
551 """GetTimeout() -> int"""
552 return _windows
.SplashScreen_GetTimeout(*args
, **kwargs
)
555 class SplashScreenPtr(SplashScreen
):
556 def __init__(self
, this
):
558 if not hasattr(self
,"thisown"): self
.thisown
= 0
559 self
.__class
__ = SplashScreen
560 _windows
.SplashScreen_swigregister(SplashScreenPtr
)
562 #---------------------------------------------------------------------------
564 class StatusBar(core
.Window
):
566 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
567 def __init__(self
, *args
, **kwargs
):
568 """__init__(Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> StatusBar"""
569 newobj
= _windows
.new_StatusBar(*args
, **kwargs
)
570 self
.this
= newobj
.this
573 self
._setOORInfo
(self
)
575 def Create(*args
, **kwargs
):
576 """Create(Window parent, int id, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
577 return _windows
.StatusBar_Create(*args
, **kwargs
)
579 def SetFieldsCount(*args
, **kwargs
):
580 """SetFieldsCount(int number=1)"""
581 return _windows
.StatusBar_SetFieldsCount(*args
, **kwargs
)
583 def GetFieldsCount(*args
, **kwargs
):
584 """GetFieldsCount() -> int"""
585 return _windows
.StatusBar_GetFieldsCount(*args
, **kwargs
)
587 def SetStatusText(*args
, **kwargs
):
588 """SetStatusText(String text, int number=0)"""
589 return _windows
.StatusBar_SetStatusText(*args
, **kwargs
)
591 def GetStatusText(*args
, **kwargs
):
592 """GetStatusText(int number=0) -> String"""
593 return _windows
.StatusBar_GetStatusText(*args
, **kwargs
)
595 def PushStatusText(*args
, **kwargs
):
596 """PushStatusText(String text, int number=0)"""
597 return _windows
.StatusBar_PushStatusText(*args
, **kwargs
)
599 def PopStatusText(*args
, **kwargs
):
600 """PopStatusText(int number=0)"""
601 return _windows
.StatusBar_PopStatusText(*args
, **kwargs
)
603 def SetStatusWidths(*args
, **kwargs
):
604 """SetStatusWidths(int widths, int widths_field)"""
605 return _windows
.StatusBar_SetStatusWidths(*args
, **kwargs
)
607 def GetFieldRect(*args
, **kwargs
):
608 """GetFieldRect(int i) -> Rect"""
609 return _windows
.StatusBar_GetFieldRect(*args
, **kwargs
)
611 def SetMinHeight(*args
, **kwargs
):
612 """SetMinHeight(int height)"""
613 return _windows
.StatusBar_SetMinHeight(*args
, **kwargs
)
615 def GetBorderX(*args
, **kwargs
):
616 """GetBorderX() -> int"""
617 return _windows
.StatusBar_GetBorderX(*args
, **kwargs
)
619 def GetBorderY(*args
, **kwargs
):
620 """GetBorderY() -> int"""
621 return _windows
.StatusBar_GetBorderY(*args
, **kwargs
)
624 class StatusBarPtr(StatusBar
):
625 def __init__(self
, this
):
627 if not hasattr(self
,"thisown"): self
.thisown
= 0
628 self
.__class
__ = StatusBar
629 _windows
.StatusBar_swigregister(StatusBarPtr
)
631 def PreStatusBar(*args
, **kwargs
):
632 """PreStatusBar() -> StatusBar"""
633 val
= _windows
.new_PreStatusBar(*args
, **kwargs
)
637 #---------------------------------------------------------------------------
639 SP_NOBORDER
= _windows
.SP_NOBORDER
640 SP_NOSASH
= _windows
.SP_NOSASH
641 SP_PERMIT_UNSPLIT
= _windows
.SP_PERMIT_UNSPLIT
642 SP_LIVE_UPDATE
= _windows
.SP_LIVE_UPDATE
643 SP_3DSASH
= _windows
.SP_3DSASH
644 SP_3DBORDER
= _windows
.SP_3DBORDER
645 SP_BORDER
= _windows
.SP_BORDER
646 SP_3D
= _windows
.SP_3D
647 SPLIT_HORIZONTAL
= _windows
.SPLIT_HORIZONTAL
648 SPLIT_VERTICAL
= _windows
.SPLIT_VERTICAL
649 SPLIT_DRAG_NONE
= _windows
.SPLIT_DRAG_NONE
650 SPLIT_DRAG_DRAGGING
= _windows
.SPLIT_DRAG_DRAGGING
651 SPLIT_DRAG_LEFT_DOWN
= _windows
.SPLIT_DRAG_LEFT_DOWN
652 class SplitterWindow(core
.Window
):
654 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
655 def __init__(self
, *args
, **kwargs
):
657 __init__(Window parent, int id, Point point=DefaultPosition,
658 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
660 newobj
= _windows
.new_SplitterWindow(*args
, **kwargs
)
661 self
.this
= newobj
.this
664 self
._setOORInfo
(self
)
666 def Create(*args
, **kwargs
):
668 Create(Window parent, int id, Point point=DefaultPosition,
669 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool
671 return _windows
.SplitterWindow_Create(*args
, **kwargs
)
673 def GetWindow1(*args
, **kwargs
):
674 """GetWindow1() -> Window"""
675 return _windows
.SplitterWindow_GetWindow1(*args
, **kwargs
)
677 def GetWindow2(*args
, **kwargs
):
678 """GetWindow2() -> Window"""
679 return _windows
.SplitterWindow_GetWindow2(*args
, **kwargs
)
681 def SetSplitMode(*args
, **kwargs
):
682 """SetSplitMode(int mode)"""
683 return _windows
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
685 def GetSplitMode(*args
, **kwargs
):
686 """GetSplitMode() -> int"""
687 return _windows
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
689 def Initialize(*args
, **kwargs
):
690 """Initialize(Window window)"""
691 return _windows
.SplitterWindow_Initialize(*args
, **kwargs
)
693 def SplitVertically(*args
, **kwargs
):
694 """SplitVertically(Window window1, Window window2, int sashPosition=0) -> bool"""
695 return _windows
.SplitterWindow_SplitVertically(*args
, **kwargs
)
697 def SplitHorizontally(*args
, **kwargs
):
698 """SplitHorizontally(Window window1, Window window2, int sashPosition=0) -> bool"""
699 return _windows
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
701 def Unsplit(*args
, **kwargs
):
702 """Unsplit(Window toRemove=None) -> bool"""
703 return _windows
.SplitterWindow_Unsplit(*args
, **kwargs
)
705 def ReplaceWindow(*args
, **kwargs
):
706 """ReplaceWindow(Window winOld, Window winNew) -> bool"""
707 return _windows
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
709 def IsSplit(*args
, **kwargs
):
710 """IsSplit() -> bool"""
711 return _windows
.SplitterWindow_IsSplit(*args
, **kwargs
)
713 def SetSashSize(*args
, **kwargs
):
714 """SetSashSize(int width)"""
715 return _windows
.SplitterWindow_SetSashSize(*args
, **kwargs
)
717 def SetBorderSize(*args
, **kwargs
):
718 """SetBorderSize(int width)"""
719 return _windows
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
721 def GetSashSize(*args
, **kwargs
):
722 """GetSashSize() -> int"""
723 return _windows
.SplitterWindow_GetSashSize(*args
, **kwargs
)
725 def GetBorderSize(*args
, **kwargs
):
726 """GetBorderSize() -> int"""
727 return _windows
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
729 def SetSashPosition(*args
, **kwargs
):
730 """SetSashPosition(int position, bool redraw=True)"""
731 return _windows
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
733 def GetSashPosition(*args
, **kwargs
):
734 """GetSashPosition() -> int"""
735 return _windows
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
737 def SetMinimumPaneSize(*args
, **kwargs
):
738 """SetMinimumPaneSize(int min)"""
739 return _windows
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
741 def GetMinimumPaneSize(*args
, **kwargs
):
742 """GetMinimumPaneSize() -> int"""
743 return _windows
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
745 def SashHitTest(*args
, **kwargs
):
746 """SashHitTest(int x, int y, int tolerance=5) -> bool"""
747 return _windows
.SplitterWindow_SashHitTest(*args
, **kwargs
)
749 def SizeWindows(*args
, **kwargs
):
751 return _windows
.SplitterWindow_SizeWindows(*args
, **kwargs
)
753 def SetNeedUpdating(*args
, **kwargs
):
754 """SetNeedUpdating(bool needUpdating)"""
755 return _windows
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
757 def GetNeedUpdating(*args
, **kwargs
):
758 """GetNeedUpdating() -> bool"""
759 return _windows
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
762 class SplitterWindowPtr(SplitterWindow
):
763 def __init__(self
, this
):
765 if not hasattr(self
,"thisown"): self
.thisown
= 0
766 self
.__class
__ = SplitterWindow
767 _windows
.SplitterWindow_swigregister(SplitterWindowPtr
)
768 SplitterNameStr
= cvar
.SplitterNameStr
770 def PreSplitterWindow(*args
, **kwargs
):
771 """PreSplitterWindow() -> SplitterWindow"""
772 val
= _windows
.new_PreSplitterWindow(*args
, **kwargs
)
776 class SplitterEvent(core
.NotifyEvent
):
778 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
779 def __init__(self
, *args
, **kwargs
):
780 """__init__(wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent"""
781 newobj
= _windows
.new_SplitterEvent(*args
, **kwargs
)
782 self
.this
= newobj
.this
785 def SetSashPosition(*args
, **kwargs
):
786 """SetSashPosition(int pos)"""
787 return _windows
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
789 def GetSashPosition(*args
, **kwargs
):
790 """GetSashPosition() -> int"""
791 return _windows
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
793 def GetWindowBeingRemoved(*args
, **kwargs
):
794 """GetWindowBeingRemoved() -> Window"""
795 return _windows
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
797 def GetX(*args
, **kwargs
):
799 return _windows
.SplitterEvent_GetX(*args
, **kwargs
)
801 def GetY(*args
, **kwargs
):
803 return _windows
.SplitterEvent_GetY(*args
, **kwargs
)
806 class SplitterEventPtr(SplitterEvent
):
807 def __init__(self
, this
):
809 if not hasattr(self
,"thisown"): self
.thisown
= 0
810 self
.__class
__ = SplitterEvent
811 _windows
.SplitterEvent_swigregister(SplitterEventPtr
)
813 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
814 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
815 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
816 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows
.wxEVT_COMMAND_SPLITTER_UNSPLIT
817 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
818 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
819 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
820 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
822 #---------------------------------------------------------------------------
824 SASH_DRAG_NONE
= _windows
.SASH_DRAG_NONE
825 SASH_DRAG_DRAGGING
= _windows
.SASH_DRAG_DRAGGING
826 SASH_DRAG_LEFT_DOWN
= _windows
.SASH_DRAG_LEFT_DOWN
827 SW_NOBORDER
= _windows
.SW_NOBORDER
828 SW_BORDER
= _windows
.SW_BORDER
829 SW_3DSASH
= _windows
.SW_3DSASH
830 SW_3DBORDER
= _windows
.SW_3DBORDER
831 SW_3D
= _windows
.SW_3D
832 SASH_TOP
= _windows
.SASH_TOP
833 SASH_RIGHT
= _windows
.SASH_RIGHT
834 SASH_BOTTOM
= _windows
.SASH_BOTTOM
835 SASH_LEFT
= _windows
.SASH_LEFT
836 SASH_NONE
= _windows
.SASH_NONE
837 class SashWindow(core
.Window
):
839 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
840 def __init__(self
, *args
, **kwargs
):
842 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
843 long style=wxCLIP_CHILDREN|wxSW_3D,
844 String name=SashNameStr) -> SashWindow
846 newobj
= _windows
.new_SashWindow(*args
, **kwargs
)
847 self
.this
= newobj
.this
850 self
._setOORInfo
(self
)
852 def Create(*args
, **kwargs
):
854 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
855 long style=wxCLIP_CHILDREN|wxSW_3D,
856 String name=SashNameStr) -> bool
858 return _windows
.SashWindow_Create(*args
, **kwargs
)
860 def SetSashVisible(*args
, **kwargs
):
861 """SetSashVisible(int edge, bool sash)"""
862 return _windows
.SashWindow_SetSashVisible(*args
, **kwargs
)
864 def GetSashVisible(*args
, **kwargs
):
865 """GetSashVisible(int edge) -> bool"""
866 return _windows
.SashWindow_GetSashVisible(*args
, **kwargs
)
868 def SetSashBorder(*args
, **kwargs
):
869 """SetSashBorder(int edge, bool border)"""
870 return _windows
.SashWindow_SetSashBorder(*args
, **kwargs
)
872 def HasBorder(*args
, **kwargs
):
873 """HasBorder(int edge) -> bool"""
874 return _windows
.SashWindow_HasBorder(*args
, **kwargs
)
876 def GetEdgeMargin(*args
, **kwargs
):
877 """GetEdgeMargin(int edge) -> int"""
878 return _windows
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
880 def SetDefaultBorderSize(*args
, **kwargs
):
881 """SetDefaultBorderSize(int width)"""
882 return _windows
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
884 def GetDefaultBorderSize(*args
, **kwargs
):
885 """GetDefaultBorderSize() -> int"""
886 return _windows
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
888 def SetExtraBorderSize(*args
, **kwargs
):
889 """SetExtraBorderSize(int width)"""
890 return _windows
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
892 def GetExtraBorderSize(*args
, **kwargs
):
893 """GetExtraBorderSize() -> int"""
894 return _windows
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
896 def SetMinimumSizeX(*args
, **kwargs
):
897 """SetMinimumSizeX(int min)"""
898 return _windows
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
900 def SetMinimumSizeY(*args
, **kwargs
):
901 """SetMinimumSizeY(int min)"""
902 return _windows
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
904 def GetMinimumSizeX(*args
, **kwargs
):
905 """GetMinimumSizeX() -> int"""
906 return _windows
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
908 def GetMinimumSizeY(*args
, **kwargs
):
909 """GetMinimumSizeY() -> int"""
910 return _windows
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
912 def SetMaximumSizeX(*args
, **kwargs
):
913 """SetMaximumSizeX(int max)"""
914 return _windows
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
916 def SetMaximumSizeY(*args
, **kwargs
):
917 """SetMaximumSizeY(int max)"""
918 return _windows
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
920 def GetMaximumSizeX(*args
, **kwargs
):
921 """GetMaximumSizeX() -> int"""
922 return _windows
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
924 def GetMaximumSizeY(*args
, **kwargs
):
925 """GetMaximumSizeY() -> int"""
926 return _windows
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
928 def SashHitTest(*args
, **kwargs
):
929 """SashHitTest(int x, int y, int tolerance=2) -> int"""
930 return _windows
.SashWindow_SashHitTest(*args
, **kwargs
)
932 def SizeWindows(*args
, **kwargs
):
934 return _windows
.SashWindow_SizeWindows(*args
, **kwargs
)
937 class SashWindowPtr(SashWindow
):
938 def __init__(self
, this
):
940 if not hasattr(self
,"thisown"): self
.thisown
= 0
941 self
.__class
__ = SashWindow
942 _windows
.SashWindow_swigregister(SashWindowPtr
)
943 SashNameStr
= cvar
.SashNameStr
944 SashLayoutNameStr
= cvar
.SashLayoutNameStr
946 def PreSashWindow(*args
, **kwargs
):
947 """PreSashWindow() -> SashWindow"""
948 val
= _windows
.new_PreSashWindow(*args
, **kwargs
)
952 SASH_STATUS_OK
= _windows
.SASH_STATUS_OK
953 SASH_STATUS_OUT_OF_RANGE
= _windows
.SASH_STATUS_OUT_OF_RANGE
954 class SashEvent(core
.CommandEvent
):
956 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
957 def __init__(self
, *args
, **kwargs
):
958 """__init__(int id=0, int edge=SASH_NONE) -> SashEvent"""
959 newobj
= _windows
.new_SashEvent(*args
, **kwargs
)
960 self
.this
= newobj
.this
963 def SetEdge(*args
, **kwargs
):
964 """SetEdge(int edge)"""
965 return _windows
.SashEvent_SetEdge(*args
, **kwargs
)
967 def GetEdge(*args
, **kwargs
):
968 """GetEdge() -> int"""
969 return _windows
.SashEvent_GetEdge(*args
, **kwargs
)
971 def SetDragRect(*args
, **kwargs
):
972 """SetDragRect(Rect rect)"""
973 return _windows
.SashEvent_SetDragRect(*args
, **kwargs
)
975 def GetDragRect(*args
, **kwargs
):
976 """GetDragRect() -> Rect"""
977 return _windows
.SashEvent_GetDragRect(*args
, **kwargs
)
979 def SetDragStatus(*args
, **kwargs
):
980 """SetDragStatus(int status)"""
981 return _windows
.SashEvent_SetDragStatus(*args
, **kwargs
)
983 def GetDragStatus(*args
, **kwargs
):
984 """GetDragStatus() -> int"""
985 return _windows
.SashEvent_GetDragStatus(*args
, **kwargs
)
988 class SashEventPtr(SashEvent
):
989 def __init__(self
, this
):
991 if not hasattr(self
,"thisown"): self
.thisown
= 0
992 self
.__class
__ = SashEvent
993 _windows
.SashEvent_swigregister(SashEventPtr
)
995 wxEVT_SASH_DRAGGED
= _windows
.wxEVT_SASH_DRAGGED
996 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
997 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
999 #---------------------------------------------------------------------------
1001 LAYOUT_HORIZONTAL
= _windows
.LAYOUT_HORIZONTAL
1002 LAYOUT_VERTICAL
= _windows
.LAYOUT_VERTICAL
1003 LAYOUT_NONE
= _windows
.LAYOUT_NONE
1004 LAYOUT_TOP
= _windows
.LAYOUT_TOP
1005 LAYOUT_LEFT
= _windows
.LAYOUT_LEFT
1006 LAYOUT_RIGHT
= _windows
.LAYOUT_RIGHT
1007 LAYOUT_BOTTOM
= _windows
.LAYOUT_BOTTOM
1008 LAYOUT_LENGTH_Y
= _windows
.LAYOUT_LENGTH_Y
1009 LAYOUT_LENGTH_X
= _windows
.LAYOUT_LENGTH_X
1010 LAYOUT_MRU_LENGTH
= _windows
.LAYOUT_MRU_LENGTH
1011 LAYOUT_QUERY
= _windows
.LAYOUT_QUERY
1012 wxEVT_QUERY_LAYOUT_INFO
= _windows
.wxEVT_QUERY_LAYOUT_INFO
1013 wxEVT_CALCULATE_LAYOUT
= _windows
.wxEVT_CALCULATE_LAYOUT
1014 class QueryLayoutInfoEvent(core
.Event
):
1016 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1017 def __init__(self
, *args
, **kwargs
):
1018 """__init__(int id=0) -> QueryLayoutInfoEvent"""
1019 newobj
= _windows
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1020 self
.this
= newobj
.this
1023 def SetRequestedLength(*args
, **kwargs
):
1024 """SetRequestedLength(int length)"""
1025 return _windows
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1027 def GetRequestedLength(*args
, **kwargs
):
1028 """GetRequestedLength() -> int"""
1029 return _windows
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1031 def SetFlags(*args
, **kwargs
):
1032 """SetFlags(int flags)"""
1033 return _windows
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1035 def GetFlags(*args
, **kwargs
):
1036 """GetFlags() -> int"""
1037 return _windows
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1039 def SetSize(*args
, **kwargs
):
1040 """SetSize(Size size)"""
1041 return _windows
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1043 def GetSize(*args
, **kwargs
):
1044 """GetSize() -> Size"""
1045 return _windows
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1047 def SetOrientation(*args
, **kwargs
):
1048 """SetOrientation(int orient)"""
1049 return _windows
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1051 def GetOrientation(*args
, **kwargs
):
1052 """GetOrientation() -> int"""
1053 return _windows
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1055 def SetAlignment(*args
, **kwargs
):
1056 """SetAlignment(int align)"""
1057 return _windows
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1059 def GetAlignment(*args
, **kwargs
):
1060 """GetAlignment() -> int"""
1061 return _windows
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1064 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1065 def __init__(self
, this
):
1067 if not hasattr(self
,"thisown"): self
.thisown
= 0
1068 self
.__class
__ = QueryLayoutInfoEvent
1069 _windows
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1071 class CalculateLayoutEvent(core
.Event
):
1073 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1074 def __init__(self
, *args
, **kwargs
):
1075 """__init__(int id=0) -> CalculateLayoutEvent"""
1076 newobj
= _windows
.new_CalculateLayoutEvent(*args
, **kwargs
)
1077 self
.this
= newobj
.this
1080 def SetFlags(*args
, **kwargs
):
1081 """SetFlags(int flags)"""
1082 return _windows
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1084 def GetFlags(*args
, **kwargs
):
1085 """GetFlags() -> int"""
1086 return _windows
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1088 def SetRect(*args
, **kwargs
):
1089 """SetRect(Rect rect)"""
1090 return _windows
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1092 def GetRect(*args
, **kwargs
):
1093 """GetRect() -> Rect"""
1094 return _windows
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1097 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1098 def __init__(self
, this
):
1100 if not hasattr(self
,"thisown"): self
.thisown
= 0
1101 self
.__class
__ = CalculateLayoutEvent
1102 _windows
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1104 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1105 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1107 class SashLayoutWindow(SashWindow
):
1109 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1110 def __init__(self
, *args
, **kwargs
):
1112 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1113 long style=wxCLIP_CHILDREN|wxSW_3D,
1114 String name=SashLayoutNameStr) -> SashLayoutWindow
1116 newobj
= _windows
.new_SashLayoutWindow(*args
, **kwargs
)
1117 self
.this
= newobj
.this
1120 self
._setOORInfo
(self
)
1122 def Create(*args
, **kwargs
):
1124 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1125 long style=wxCLIP_CHILDREN|wxSW_3D,
1126 String name=SashLayoutNameStr) -> bool
1128 return _windows
.SashLayoutWindow_Create(*args
, **kwargs
)
1130 def GetAlignment(*args
, **kwargs
):
1131 """GetAlignment() -> int"""
1132 return _windows
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1134 def GetOrientation(*args
, **kwargs
):
1135 """GetOrientation() -> int"""
1136 return _windows
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1138 def SetAlignment(*args
, **kwargs
):
1139 """SetAlignment(int alignment)"""
1140 return _windows
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1142 def SetDefaultSize(*args
, **kwargs
):
1143 """SetDefaultSize(Size size)"""
1144 return _windows
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1146 def SetOrientation(*args
, **kwargs
):
1147 """SetOrientation(int orientation)"""
1148 return _windows
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1151 class SashLayoutWindowPtr(SashLayoutWindow
):
1152 def __init__(self
, this
):
1154 if not hasattr(self
,"thisown"): self
.thisown
= 0
1155 self
.__class
__ = SashLayoutWindow
1156 _windows
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1158 def PreSashLayoutWindow(*args
, **kwargs
):
1159 """PreSashLayoutWindow() -> SashLayoutWindow"""
1160 val
= _windows
.new_PreSashLayoutWindow(*args
, **kwargs
)
1164 class LayoutAlgorithm(core
.Object
):
1166 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1167 def __init__(self
, *args
, **kwargs
):
1168 """__init__() -> LayoutAlgorithm"""
1169 newobj
= _windows
.new_LayoutAlgorithm(*args
, **kwargs
)
1170 self
.this
= newobj
.this
1173 def __del__(self
, destroy
=_windows
.delete_LayoutAlgorithm
):
1176 if self
.thisown
: destroy(self
)
1179 def LayoutMDIFrame(*args
, **kwargs
):
1180 """LayoutMDIFrame(MDIParentFrame frame, Rect rect=None) -> bool"""
1181 return _windows
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1183 def LayoutFrame(*args
, **kwargs
):
1184 """LayoutFrame(Frame frame, Window mainWindow=None) -> bool"""
1185 return _windows
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1187 def LayoutWindow(*args
, **kwargs
):
1188 """LayoutWindow(Window parent, Window mainWindow=None) -> bool"""
1189 return _windows
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1192 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1193 def __init__(self
, this
):
1195 if not hasattr(self
,"thisown"): self
.thisown
= 0
1196 self
.__class
__ = LayoutAlgorithm
1197 _windows
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1199 #---------------------------------------------------------------------------
1201 class PopupWindow(core
.Window
):
1203 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1204 def __init__(self
, *args
, **kwargs
):
1205 """__init__(Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1206 newobj
= _windows
.new_PopupWindow(*args
, **kwargs
)
1207 self
.this
= newobj
.this
1210 self
._setOORInfo
(self
)
1212 def Create(*args
, **kwargs
):
1213 """Create(Window parent, int flags=BORDER_NONE) -> bool"""
1214 return _windows
.PopupWindow_Create(*args
, **kwargs
)
1216 def Position(*args
, **kwargs
):
1217 """Position(Point ptOrigin, Size size)"""
1218 return _windows
.PopupWindow_Position(*args
, **kwargs
)
1221 class PopupWindowPtr(PopupWindow
):
1222 def __init__(self
, this
):
1224 if not hasattr(self
,"thisown"): self
.thisown
= 0
1225 self
.__class
__ = PopupWindow
1226 _windows
.PopupWindow_swigregister(PopupWindowPtr
)
1228 def PrePopupWindow(*args
, **kwargs
):
1229 """PrePopupWindow() -> PopupWindow"""
1230 val
= _windows
.new_PrePopupWindow(*args
, **kwargs
)
1234 #---------------------------------------------------------------------------
1236 class PopupTransientWindow(PopupWindow
):
1238 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1239 def __init__(self
, *args
, **kwargs
):
1240 """__init__(Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1241 newobj
= _windows
.new_PopupTransientWindow(*args
, **kwargs
)
1242 self
.this
= newobj
.this
1245 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, PopupTransientWindow
)
1247 def _setCallbackInfo(*args
, **kwargs
):
1248 """_setCallbackInfo(PyObject self, PyObject _class)"""
1249 return _windows
.PopupTransientWindow__setCallbackInfo(*args
, **kwargs
)
1251 def Popup(*args
, **kwargs
):
1252 """Popup(Window focus=None)"""
1253 return _windows
.PopupTransientWindow_Popup(*args
, **kwargs
)
1255 def Dismiss(*args
, **kwargs
):
1257 return _windows
.PopupTransientWindow_Dismiss(*args
, **kwargs
)
1260 class PopupTransientWindowPtr(PopupTransientWindow
):
1261 def __init__(self
, this
):
1263 if not hasattr(self
,"thisown"): self
.thisown
= 0
1264 self
.__class
__ = PopupTransientWindow
1265 _windows
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1267 def PrePopupTransientWindow(*args
, **kwargs
):
1268 """PrePopupTransientWindow() -> PopupTransientWindow"""
1269 val
= _windows
.new_PrePopupTransientWindow(*args
, **kwargs
)
1273 #---------------------------------------------------------------------------
1275 class TipWindow(PopupTransientWindow
):
1277 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1278 def __init__(self
, *args
, **kwargs
):
1279 """__init__(Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1280 newobj
= _windows
.new_TipWindow(*args
, **kwargs
)
1281 self
.this
= newobj
.this
1284 self
._setOORInfo
(self
)
1286 def SetBoundingRect(*args
, **kwargs
):
1287 """SetBoundingRect(Rect rectBound)"""
1288 return _windows
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1290 def Close(*args
, **kwargs
):
1292 return _windows
.TipWindow_Close(*args
, **kwargs
)
1295 class TipWindowPtr(TipWindow
):
1296 def __init__(self
, this
):
1298 if not hasattr(self
,"thisown"): self
.thisown
= 0
1299 self
.__class
__ = TipWindow
1300 _windows
.TipWindow_swigregister(TipWindowPtr
)
1302 #---------------------------------------------------------------------------
1304 class VScrolledWindow(Panel
):
1306 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1307 def __init__(self
, *args
, **kwargs
):
1309 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1310 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
1312 newobj
= _windows
.new_VScrolledWindow(*args
, **kwargs
)
1313 self
.this
= newobj
.this
1316 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1318 def _setCallbackInfo(*args
, **kwargs
):
1319 """_setCallbackInfo(PyObject self, PyObject _class)"""
1320 return _windows
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1322 def Create(*args
, **kwargs
):
1324 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1325 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
1327 return _windows
.VScrolledWindow_Create(*args
, **kwargs
)
1329 def SetLineCount(*args
, **kwargs
):
1330 """SetLineCount(size_t count)"""
1331 return _windows
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1333 def ScrollToLine(*args
, **kwargs
):
1334 """ScrollToLine(size_t line) -> bool"""
1335 return _windows
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1337 def ScrollLines(*args
, **kwargs
):
1338 """ScrollLines(int lines) -> bool"""
1339 return _windows
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1341 def ScrollPages(*args
, **kwargs
):
1342 """ScrollPages(int pages) -> bool"""
1343 return _windows
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1345 def RefreshLine(*args
, **kwargs
):
1346 """RefreshLine(size_t line)"""
1347 return _windows
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1349 def RefreshLines(*args
, **kwargs
):
1350 """RefreshLines(size_t from, size_t to)"""
1351 return _windows
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1353 def HitTestXT(*args
, **kwargs
):
1354 """HitTestXT(int x, int y) -> int"""
1355 return _windows
.VScrolledWindow_HitTestXT(*args
, **kwargs
)
1357 def HitTest(*args
, **kwargs
):
1358 """HitTest(Point pt) -> int"""
1359 return _windows
.VScrolledWindow_HitTest(*args
, **kwargs
)
1361 def RefreshAll(*args
, **kwargs
):
1363 return _windows
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1365 def GetLineCount(*args
, **kwargs
):
1366 """GetLineCount() -> size_t"""
1367 return _windows
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1369 def GetFirstVisibleLine(*args
, **kwargs
):
1370 """GetFirstVisibleLine() -> size_t"""
1371 return _windows
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1373 def GetLastVisibleLine(*args
, **kwargs
):
1374 """GetLastVisibleLine() -> size_t"""
1375 return _windows
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1377 def IsVisible(*args
, **kwargs
):
1378 """IsVisible(size_t line) -> bool"""
1379 return _windows
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1382 class VScrolledWindowPtr(VScrolledWindow
):
1383 def __init__(self
, this
):
1385 if not hasattr(self
,"thisown"): self
.thisown
= 0
1386 self
.__class
__ = VScrolledWindow
1387 _windows
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
1389 def PreVScrolledWindow(*args
, **kwargs
):
1390 """PreVScrolledWindow() -> VScrolledWindow"""
1391 val
= _windows
.new_PreVScrolledWindow(*args
, **kwargs
)
1395 class VListBox(VScrolledWindow
):
1397 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1398 def __init__(self
, *args
, **kwargs
):
1400 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1401 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
1403 newobj
= _windows
.new_VListBox(*args
, **kwargs
)
1404 self
.this
= newobj
.this
1407 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
1409 def _setCallbackInfo(*args
, **kwargs
):
1410 """_setCallbackInfo(PyObject self, PyObject _class)"""
1411 return _windows
.VListBox__setCallbackInfo(*args
, **kwargs
)
1413 def Create(*args
, **kwargs
):
1415 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1416 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1418 return _windows
.VListBox_Create(*args
, **kwargs
)
1420 def GetItemCount(*args
, **kwargs
):
1421 """GetItemCount() -> size_t"""
1422 return _windows
.VListBox_GetItemCount(*args
, **kwargs
)
1424 def HasMultipleSelection(*args
, **kwargs
):
1425 """HasMultipleSelection() -> bool"""
1426 return _windows
.VListBox_HasMultipleSelection(*args
, **kwargs
)
1428 def GetSelection(*args
, **kwargs
):
1429 """GetSelection() -> int"""
1430 return _windows
.VListBox_GetSelection(*args
, **kwargs
)
1432 def IsCurrent(*args
, **kwargs
):
1433 """IsCurrent(size_t item) -> bool"""
1434 return _windows
.VListBox_IsCurrent(*args
, **kwargs
)
1436 def IsSelected(*args
, **kwargs
):
1437 """IsSelected(size_t item) -> bool"""
1438 return _windows
.VListBox_IsSelected(*args
, **kwargs
)
1440 def GetSelectedCount(*args
, **kwargs
):
1441 """GetSelectedCount() -> size_t"""
1442 return _windows
.VListBox_GetSelectedCount(*args
, **kwargs
)
1444 def GetFirstSelected(*args
, **kwargs
):
1445 """GetFirstSelected(unsigned long cookie) -> int"""
1446 return _windows
.VListBox_GetFirstSelected(*args
, **kwargs
)
1448 def GetNextSelected(*args
, **kwargs
):
1449 """GetNextSelected(unsigned long cookie) -> int"""
1450 return _windows
.VListBox_GetNextSelected(*args
, **kwargs
)
1452 def GetMargins(*args
, **kwargs
):
1453 """GetMargins() -> Point"""
1454 return _windows
.VListBox_GetMargins(*args
, **kwargs
)
1456 def GetSelectionBackground(*args
, **kwargs
):
1457 """GetSelectionBackground() -> Colour"""
1458 return _windows
.VListBox_GetSelectionBackground(*args
, **kwargs
)
1460 def SetItemCount(*args
, **kwargs
):
1461 """SetItemCount(size_t count)"""
1462 return _windows
.VListBox_SetItemCount(*args
, **kwargs
)
1464 def Clear(*args
, **kwargs
):
1466 return _windows
.VListBox_Clear(*args
, **kwargs
)
1468 def SetSelection(*args
, **kwargs
):
1469 """SetSelection(int selection)"""
1470 return _windows
.VListBox_SetSelection(*args
, **kwargs
)
1472 def Select(*args
, **kwargs
):
1473 """Select(size_t item, bool select=True) -> bool"""
1474 return _windows
.VListBox_Select(*args
, **kwargs
)
1476 def SelectRange(*args
, **kwargs
):
1477 """SelectRange(size_t from, size_t to) -> bool"""
1478 return _windows
.VListBox_SelectRange(*args
, **kwargs
)
1480 def Toggle(*args
, **kwargs
):
1481 """Toggle(size_t item)"""
1482 return _windows
.VListBox_Toggle(*args
, **kwargs
)
1484 def SelectAll(*args
, **kwargs
):
1485 """SelectAll() -> bool"""
1486 return _windows
.VListBox_SelectAll(*args
, **kwargs
)
1488 def DeselectAll(*args
, **kwargs
):
1489 """DeselectAll() -> bool"""
1490 return _windows
.VListBox_DeselectAll(*args
, **kwargs
)
1492 def SetMargins(*args
, **kwargs
):
1493 """SetMargins(Point pt)"""
1494 return _windows
.VListBox_SetMargins(*args
, **kwargs
)
1496 def SetMarginsXY(*args
, **kwargs
):
1497 """SetMarginsXY(int x, int y)"""
1498 return _windows
.VListBox_SetMarginsXY(*args
, **kwargs
)
1500 def SetSelectionBackground(*args
, **kwargs
):
1501 """SetSelectionBackground(Colour col)"""
1502 return _windows
.VListBox_SetSelectionBackground(*args
, **kwargs
)
1505 class VListBoxPtr(VListBox
):
1506 def __init__(self
, this
):
1508 if not hasattr(self
,"thisown"): self
.thisown
= 0
1509 self
.__class
__ = VListBox
1510 _windows
.VListBox_swigregister(VListBoxPtr
)
1511 VListBoxNameStr
= cvar
.VListBoxNameStr
1513 def PreVListBox(*args
, **kwargs
):
1514 """PreVListBox() -> VListBox"""
1515 val
= _windows
.new_PreVListBox(*args
, **kwargs
)
1519 class HtmlListBox(VListBox
):
1521 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1522 def __init__(self
, *args
, **kwargs
):
1524 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1525 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
1527 newobj
= _windows
.new_HtmlListBox(*args
, **kwargs
)
1528 self
.this
= newobj
.this
1531 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
1533 def _setCallbackInfo(*args
, **kwargs
):
1534 """_setCallbackInfo(PyObject self, PyObject _class)"""
1535 return _windows
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
1537 def Create(*args
, **kwargs
):
1539 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1540 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1542 return _windows
.HtmlListBox_Create(*args
, **kwargs
)
1544 def RefreshAll(*args
, **kwargs
):
1546 return _windows
.HtmlListBox_RefreshAll(*args
, **kwargs
)
1548 def SetItemCount(*args
, **kwargs
):
1549 """SetItemCount(size_t count)"""
1550 return _windows
.HtmlListBox_SetItemCount(*args
, **kwargs
)
1553 class HtmlListBoxPtr(HtmlListBox
):
1554 def __init__(self
, this
):
1556 if not hasattr(self
,"thisown"): self
.thisown
= 0
1557 self
.__class
__ = HtmlListBox
1558 _windows
.HtmlListBox_swigregister(HtmlListBoxPtr
)
1560 def PreHtmlListBox(*args
, **kwargs
):
1561 """PreHtmlListBox() -> HtmlListBox"""
1562 val
= _windows
.new_PreHtmlListBox(*args
, **kwargs
)
1566 #---------------------------------------------------------------------------
1568 class TaskBarIcon(core
.EvtHandler
):
1570 return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1571 def __init__(self
, *args
, **kwargs
):
1572 """__init__() -> TaskBarIcon"""
1573 newobj
= _windows
.new_TaskBarIcon(*args
, **kwargs
)
1574 self
.this
= newobj
.this
1577 def __del__(self
, destroy
=_windows
.delete_TaskBarIcon
):
1580 if self
.thisown
: destroy(self
)
1583 def IsOk(*args
, **kwargs
):
1584 """IsOk() -> bool"""
1585 return _windows
.TaskBarIcon_IsOk(*args
, **kwargs
)
1587 def IsIconInstalled(*args
, **kwargs
):
1588 """IsIconInstalled() -> bool"""
1589 return _windows
.TaskBarIcon_IsIconInstalled(*args
, **kwargs
)
1591 def SetIcon(*args
, **kwargs
):
1592 """SetIcon(Icon icon, String tooltip=EmptyString) -> bool"""
1593 return _windows
.TaskBarIcon_SetIcon(*args
, **kwargs
)
1595 def RemoveIcon(*args
, **kwargs
):
1596 """RemoveIcon() -> bool"""
1597 return _windows
.TaskBarIcon_RemoveIcon(*args
, **kwargs
)
1599 def PopupMenu(*args
, **kwargs
):
1600 """PopupMenu(Menu menu) -> bool"""
1601 return _windows
.TaskBarIcon_PopupMenu(*args
, **kwargs
)
1604 class TaskBarIconPtr(TaskBarIcon
):
1605 def __init__(self
, this
):
1607 if not hasattr(self
,"thisown"): self
.thisown
= 0
1608 self
.__class
__ = TaskBarIcon
1609 _windows
.TaskBarIcon_swigregister(TaskBarIconPtr
)
1611 class TaskBarIconEvent(core
.Event
):
1613 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1614 def __init__(self
, *args
, **kwargs
):
1615 """__init__(wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
1616 newobj
= _windows
.new_TaskBarIconEvent(*args
, **kwargs
)
1617 self
.this
= newobj
.this
1621 class TaskBarIconEventPtr(TaskBarIconEvent
):
1622 def __init__(self
, this
):
1624 if not hasattr(self
,"thisown"): self
.thisown
= 0
1625 self
.__class
__ = TaskBarIconEvent
1626 _windows
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
1628 wxEVT_TASKBAR_MOVE
= _windows
.wxEVT_TASKBAR_MOVE
1629 wxEVT_TASKBAR_LEFT_DOWN
= _windows
.wxEVT_TASKBAR_LEFT_DOWN
1630 wxEVT_TASKBAR_LEFT_UP
= _windows
.wxEVT_TASKBAR_LEFT_UP
1631 wxEVT_TASKBAR_RIGHT_DOWN
= _windows
.wxEVT_TASKBAR_RIGHT_DOWN
1632 wxEVT_TASKBAR_RIGHT_UP
= _windows
.wxEVT_TASKBAR_RIGHT_UP
1633 wxEVT_TASKBAR_LEFT_DCLICK
= _windows
.wxEVT_TASKBAR_LEFT_DCLICK
1634 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows
.wxEVT_TASKBAR_RIGHT_DCLICK
1635 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
1636 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
1637 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
1638 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
1639 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
1640 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
1641 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
1643 #---------------------------------------------------------------------------
1645 class ColourData(core
.Object
):
1647 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1648 def __init__(self
, *args
, **kwargs
):
1649 """__init__() -> ColourData"""
1650 newobj
= _windows
.new_ColourData(*args
, **kwargs
)
1651 self
.this
= newobj
.this
1654 def __del__(self
, destroy
=_windows
.delete_ColourData
):
1657 if self
.thisown
: destroy(self
)
1660 def GetChooseFull(*args
, **kwargs
):
1661 """GetChooseFull() -> bool"""
1662 return _windows
.ColourData_GetChooseFull(*args
, **kwargs
)
1664 def GetColour(*args
, **kwargs
):
1665 """GetColour() -> Colour"""
1666 return _windows
.ColourData_GetColour(*args
, **kwargs
)
1668 def GetCustomColour(*args
, **kwargs
):
1669 """GetCustomColour(int i) -> Colour"""
1670 return _windows
.ColourData_GetCustomColour(*args
, **kwargs
)
1672 def SetChooseFull(*args
, **kwargs
):
1673 """SetChooseFull(int flag)"""
1674 return _windows
.ColourData_SetChooseFull(*args
, **kwargs
)
1676 def SetColour(*args
, **kwargs
):
1677 """SetColour(Colour colour)"""
1678 return _windows
.ColourData_SetColour(*args
, **kwargs
)
1680 def SetCustomColour(*args
, **kwargs
):
1681 """SetCustomColour(int i, Colour colour)"""
1682 return _windows
.ColourData_SetCustomColour(*args
, **kwargs
)
1685 class ColourDataPtr(ColourData
):
1686 def __init__(self
, this
):
1688 if not hasattr(self
,"thisown"): self
.thisown
= 0
1689 self
.__class
__ = ColourData
1690 _windows
.ColourData_swigregister(ColourDataPtr
)
1691 FileSelectorPromptStr
= cvar
.FileSelectorPromptStr
1692 DirSelectorPromptStr
= cvar
.DirSelectorPromptStr
1693 DirDialogNameStr
= cvar
.DirDialogNameStr
1694 FileSelectorDefaultWildcardStr
= cvar
.FileSelectorDefaultWildcardStr
1695 GetTextFromUserPromptStr
= cvar
.GetTextFromUserPromptStr
1696 MessageBoxCaptionStr
= cvar
.MessageBoxCaptionStr
1698 class ColourDialog(Dialog
):
1700 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1701 def __init__(self
, *args
, **kwargs
):
1702 """__init__(Window parent, ColourData data=None) -> ColourDialog"""
1703 newobj
= _windows
.new_ColourDialog(*args
, **kwargs
)
1704 self
.this
= newobj
.this
1707 self
._setOORInfo
(self
)
1709 def GetColourData(*args
, **kwargs
):
1710 """GetColourData() -> ColourData"""
1711 return _windows
.ColourDialog_GetColourData(*args
, **kwargs
)
1713 def ShowModal(*args
, **kwargs
):
1714 """ShowModal() -> int"""
1715 return _windows
.ColourDialog_ShowModal(*args
, **kwargs
)
1718 class ColourDialogPtr(ColourDialog
):
1719 def __init__(self
, this
):
1721 if not hasattr(self
,"thisown"): self
.thisown
= 0
1722 self
.__class
__ = ColourDialog
1723 _windows
.ColourDialog_swigregister(ColourDialogPtr
)
1725 class DirDialog(Dialog
):
1727 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1728 def __init__(self
, *args
, **kwargs
):
1730 __init__(Window parent, String message=DirSelectorPromptStr,
1731 String defaultPath=EmptyString, long style=0,
1732 Point pos=DefaultPosition, Size size=DefaultSize,
1733 String name=DirDialogNameStr) -> DirDialog
1735 newobj
= _windows
.new_DirDialog(*args
, **kwargs
)
1736 self
.this
= newobj
.this
1739 self
._setOORInfo
(self
)
1741 def GetPath(*args
, **kwargs
):
1742 """GetPath() -> String"""
1743 return _windows
.DirDialog_GetPath(*args
, **kwargs
)
1745 def GetMessage(*args
, **kwargs
):
1746 """GetMessage() -> String"""
1747 return _windows
.DirDialog_GetMessage(*args
, **kwargs
)
1749 def GetStyle(*args
, **kwargs
):
1750 """GetStyle() -> long"""
1751 return _windows
.DirDialog_GetStyle(*args
, **kwargs
)
1753 def SetMessage(*args
, **kwargs
):
1754 """SetMessage(String message)"""
1755 return _windows
.DirDialog_SetMessage(*args
, **kwargs
)
1757 def SetPath(*args
, **kwargs
):
1758 """SetPath(String path)"""
1759 return _windows
.DirDialog_SetPath(*args
, **kwargs
)
1761 def ShowModal(*args
, **kwargs
):
1762 """ShowModal() -> int"""
1763 return _windows
.DirDialog_ShowModal(*args
, **kwargs
)
1766 class DirDialogPtr(DirDialog
):
1767 def __init__(self
, this
):
1769 if not hasattr(self
,"thisown"): self
.thisown
= 0
1770 self
.__class
__ = DirDialog
1771 _windows
.DirDialog_swigregister(DirDialogPtr
)
1773 class FileDialog(Dialog
):
1775 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1776 def __init__(self
, *args
, **kwargs
):
1778 __init__(Window parent, String message=FileSelectorPromptStr,
1779 String defaultDir=EmptyString, String defaultFile=EmptyString,
1780 String wildcard=FileSelectorDefaultWildcardStr,
1781 long style=0, Point pos=DefaultPosition) -> FileDialog
1783 newobj
= _windows
.new_FileDialog(*args
, **kwargs
)
1784 self
.this
= newobj
.this
1787 self
._setOORInfo
(self
)
1789 def SetMessage(*args
, **kwargs
):
1790 """SetMessage(String message)"""
1791 return _windows
.FileDialog_SetMessage(*args
, **kwargs
)
1793 def SetPath(*args
, **kwargs
):
1794 """SetPath(String path)"""
1795 return _windows
.FileDialog_SetPath(*args
, **kwargs
)
1797 def SetDirectory(*args
, **kwargs
):
1798 """SetDirectory(String dir)"""
1799 return _windows
.FileDialog_SetDirectory(*args
, **kwargs
)
1801 def SetFilename(*args
, **kwargs
):
1802 """SetFilename(String name)"""
1803 return _windows
.FileDialog_SetFilename(*args
, **kwargs
)
1805 def SetWildcard(*args
, **kwargs
):
1806 """SetWildcard(String wildCard)"""
1807 return _windows
.FileDialog_SetWildcard(*args
, **kwargs
)
1809 def SetStyle(*args
, **kwargs
):
1810 """SetStyle(long style)"""
1811 return _windows
.FileDialog_SetStyle(*args
, **kwargs
)
1813 def SetFilterIndex(*args
, **kwargs
):
1814 """SetFilterIndex(int filterIndex)"""
1815 return _windows
.FileDialog_SetFilterIndex(*args
, **kwargs
)
1817 def GetMessage(*args
, **kwargs
):
1818 """GetMessage() -> String"""
1819 return _windows
.FileDialog_GetMessage(*args
, **kwargs
)
1821 def GetPath(*args
, **kwargs
):
1822 """GetPath() -> String"""
1823 return _windows
.FileDialog_GetPath(*args
, **kwargs
)
1825 def GetDirectory(*args
, **kwargs
):
1826 """GetDirectory() -> String"""
1827 return _windows
.FileDialog_GetDirectory(*args
, **kwargs
)
1829 def GetFilename(*args
, **kwargs
):
1830 """GetFilename() -> String"""
1831 return _windows
.FileDialog_GetFilename(*args
, **kwargs
)
1833 def GetWildcard(*args
, **kwargs
):
1834 """GetWildcard() -> String"""
1835 return _windows
.FileDialog_GetWildcard(*args
, **kwargs
)
1837 def GetStyle(*args
, **kwargs
):
1838 """GetStyle() -> long"""
1839 return _windows
.FileDialog_GetStyle(*args
, **kwargs
)
1841 def GetFilterIndex(*args
, **kwargs
):
1842 """GetFilterIndex() -> int"""
1843 return _windows
.FileDialog_GetFilterIndex(*args
, **kwargs
)
1845 def GetFilenames(*args
, **kwargs
):
1846 """GetFilenames() -> PyObject"""
1847 return _windows
.FileDialog_GetFilenames(*args
, **kwargs
)
1849 def GetPaths(*args
, **kwargs
):
1850 """GetPaths() -> PyObject"""
1851 return _windows
.FileDialog_GetPaths(*args
, **kwargs
)
1854 class FileDialogPtr(FileDialog
):
1855 def __init__(self
, this
):
1857 if not hasattr(self
,"thisown"): self
.thisown
= 0
1858 self
.__class
__ = FileDialog
1859 _windows
.FileDialog_swigregister(FileDialogPtr
)
1861 CHOICEDLG_STYLE
= _windows
.CHOICEDLG_STYLE
1862 class MultiChoiceDialog(Dialog
):
1864 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1865 def __init__(self
, *args
, **kwargs
):
1867 __init__(Window parent, String message, String caption, int LCOUNT,
1868 String choices, long style=CHOICEDLG_STYLE,
1869 Point pos=DefaultPosition) -> MultiChoiceDialog
1871 newobj
= _windows
.new_MultiChoiceDialog(*args
, **kwargs
)
1872 self
.this
= newobj
.this
1875 self
._setOORInfo
(self
)
1877 def SetSelections(*args
, **kwargs
):
1878 """SetSelections(wxArrayInt selections)"""
1879 return _windows
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
1881 def GetSelections(*args
, **kwargs
):
1882 """GetSelections() -> PyObject"""
1883 return _windows
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
1886 class MultiChoiceDialogPtr(MultiChoiceDialog
):
1887 def __init__(self
, this
):
1889 if not hasattr(self
,"thisown"): self
.thisown
= 0
1890 self
.__class
__ = MultiChoiceDialog
1891 _windows
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
1893 class SingleChoiceDialog(Dialog
):
1895 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1896 def __init__(self
, *args
, **kwargs
):
1898 __init__(Window parent, String message, String caption, int choices,
1899 String choices_array, long style=CHOICEDLG_STYLE,
1900 Point pos=DefaultPosition) -> SingleChoiceDialog
1902 newobj
= _windows
.new_SingleChoiceDialog(*args
, **kwargs
)
1903 self
.this
= newobj
.this
1906 self
._setOORInfo
(self
)
1908 def GetSelection(*args
, **kwargs
):
1909 """GetSelection() -> int"""
1910 return _windows
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
1912 def GetStringSelection(*args
, **kwargs
):
1913 """GetStringSelection() -> String"""
1914 return _windows
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
1916 def SetSelection(*args
, **kwargs
):
1917 """SetSelection(int sel)"""
1918 return _windows
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
1920 def ShowModal(*args
, **kwargs
):
1921 """ShowModal() -> int"""
1922 return _windows
.SingleChoiceDialog_ShowModal(*args
, **kwargs
)
1925 class SingleChoiceDialogPtr(SingleChoiceDialog
):
1926 def __init__(self
, this
):
1928 if not hasattr(self
,"thisown"): self
.thisown
= 0
1929 self
.__class
__ = SingleChoiceDialog
1930 _windows
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
1932 class TextEntryDialog(Dialog
):
1934 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1935 def __init__(self
, *args
, **kwargs
):
1937 __init__(Window parent, String message, String caption=GetTextFromUserPromptStr,
1938 String defaultValue=EmptyString,
1939 long style=wxOK|wxCANCEL|wxCENTRE, Point pos=DefaultPosition) -> TextEntryDialog
1941 newobj
= _windows
.new_TextEntryDialog(*args
, **kwargs
)
1942 self
.this
= newobj
.this
1945 self
._setOORInfo
(self
)
1947 def GetValue(*args
, **kwargs
):
1948 """GetValue() -> String"""
1949 return _windows
.TextEntryDialog_GetValue(*args
, **kwargs
)
1951 def SetValue(*args
, **kwargs
):
1952 """SetValue(String value)"""
1953 return _windows
.TextEntryDialog_SetValue(*args
, **kwargs
)
1955 def ShowModal(*args
, **kwargs
):
1956 """ShowModal() -> int"""
1957 return _windows
.TextEntryDialog_ShowModal(*args
, **kwargs
)
1960 class TextEntryDialogPtr(TextEntryDialog
):
1961 def __init__(self
, this
):
1963 if not hasattr(self
,"thisown"): self
.thisown
= 0
1964 self
.__class
__ = TextEntryDialog
1965 _windows
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
1967 class FontData(core
.Object
):
1969 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1970 def __init__(self
, *args
, **kwargs
):
1971 """__init__() -> FontData"""
1972 newobj
= _windows
.new_FontData(*args
, **kwargs
)
1973 self
.this
= newobj
.this
1976 def __del__(self
, destroy
=_windows
.delete_FontData
):
1979 if self
.thisown
: destroy(self
)
1982 def EnableEffects(*args
, **kwargs
):
1983 """EnableEffects(bool enable)"""
1984 return _windows
.FontData_EnableEffects(*args
, **kwargs
)
1986 def GetAllowSymbols(*args
, **kwargs
):
1987 """GetAllowSymbols() -> bool"""
1988 return _windows
.FontData_GetAllowSymbols(*args
, **kwargs
)
1990 def GetColour(*args
, **kwargs
):
1991 """GetColour() -> Colour"""
1992 return _windows
.FontData_GetColour(*args
, **kwargs
)
1994 def GetChosenFont(*args
, **kwargs
):
1995 """GetChosenFont() -> Font"""
1996 return _windows
.FontData_GetChosenFont(*args
, **kwargs
)
1998 def GetEnableEffects(*args
, **kwargs
):
1999 """GetEnableEffects() -> bool"""
2000 return _windows
.FontData_GetEnableEffects(*args
, **kwargs
)
2002 def GetInitialFont(*args
, **kwargs
):
2003 """GetInitialFont() -> Font"""
2004 return _windows
.FontData_GetInitialFont(*args
, **kwargs
)
2006 def GetShowHelp(*args
, **kwargs
):
2007 """GetShowHelp() -> bool"""
2008 return _windows
.FontData_GetShowHelp(*args
, **kwargs
)
2010 def SetAllowSymbols(*args
, **kwargs
):
2011 """SetAllowSymbols(bool allowSymbols)"""
2012 return _windows
.FontData_SetAllowSymbols(*args
, **kwargs
)
2014 def SetChosenFont(*args
, **kwargs
):
2015 """SetChosenFont(Font font)"""
2016 return _windows
.FontData_SetChosenFont(*args
, **kwargs
)
2018 def SetColour(*args
, **kwargs
):
2019 """SetColour(Colour colour)"""
2020 return _windows
.FontData_SetColour(*args
, **kwargs
)
2022 def SetInitialFont(*args
, **kwargs
):
2023 """SetInitialFont(Font font)"""
2024 return _windows
.FontData_SetInitialFont(*args
, **kwargs
)
2026 def SetRange(*args
, **kwargs
):
2027 """SetRange(int min, int max)"""
2028 return _windows
.FontData_SetRange(*args
, **kwargs
)
2030 def SetShowHelp(*args
, **kwargs
):
2031 """SetShowHelp(bool showHelp)"""
2032 return _windows
.FontData_SetShowHelp(*args
, **kwargs
)
2035 class FontDataPtr(FontData
):
2036 def __init__(self
, this
):
2038 if not hasattr(self
,"thisown"): self
.thisown
= 0
2039 self
.__class
__ = FontData
2040 _windows
.FontData_swigregister(FontDataPtr
)
2042 class FontDialog(Dialog
):
2044 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2045 def __init__(self
, *args
, **kwargs
):
2046 """__init__(Window parent, FontData data) -> FontDialog"""
2047 newobj
= _windows
.new_FontDialog(*args
, **kwargs
)
2048 self
.this
= newobj
.this
2051 self
._setOORInfo
(self
)
2053 def GetFontData(*args
, **kwargs
):
2054 """GetFontData() -> FontData"""
2055 return _windows
.FontDialog_GetFontData(*args
, **kwargs
)
2057 def ShowModal(*args
, **kwargs
):
2058 """ShowModal() -> int"""
2059 return _windows
.FontDialog_ShowModal(*args
, **kwargs
)
2062 class FontDialogPtr(FontDialog
):
2063 def __init__(self
, this
):
2065 if not hasattr(self
,"thisown"): self
.thisown
= 0
2066 self
.__class
__ = FontDialog
2067 _windows
.FontDialog_swigregister(FontDialogPtr
)
2069 class MessageDialog(Dialog
):
2071 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2072 def __init__(self
, *args
, **kwargs
):
2074 __init__(Window parent, String message, String caption=MessageBoxCaptionStr,
2075 long style=wxOK|wxCANCEL|wxCENTRE,
2076 Point pos=DefaultPosition) -> MessageDialog
2078 newobj
= _windows
.new_MessageDialog(*args
, **kwargs
)
2079 self
.this
= newobj
.this
2082 self
._setOORInfo
(self
)
2084 def ShowModal(*args
, **kwargs
):
2085 """ShowModal() -> int"""
2086 return _windows
.MessageDialog_ShowModal(*args
, **kwargs
)
2089 class MessageDialogPtr(MessageDialog
):
2090 def __init__(self
, this
):
2092 if not hasattr(self
,"thisown"): self
.thisown
= 0
2093 self
.__class
__ = MessageDialog
2094 _windows
.MessageDialog_swigregister(MessageDialogPtr
)
2096 class ProgressDialog(Frame
):
2098 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2099 def __init__(self
, *args
, **kwargs
):
2101 __init__(String title, String message, int maximum=100, Window parent=None,
2102 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
2104 newobj
= _windows
.new_ProgressDialog(*args
, **kwargs
)
2105 self
.this
= newobj
.this
2108 self
._setOORInfo
(self
)
2110 def Update(*args
, **kwargs
):
2111 """Update(int value, String newmsg=EmptyString) -> bool"""
2112 return _windows
.ProgressDialog_Update(*args
, **kwargs
)
2114 def Resume(*args
, **kwargs
):
2116 return _windows
.ProgressDialog_Resume(*args
, **kwargs
)
2119 class ProgressDialogPtr(ProgressDialog
):
2120 def __init__(self
, this
):
2122 if not hasattr(self
,"thisown"): self
.thisown
= 0
2123 self
.__class
__ = ProgressDialog
2124 _windows
.ProgressDialog_swigregister(ProgressDialogPtr
)
2126 FR_DOWN
= _windows
.FR_DOWN
2127 FR_WHOLEWORD
= _windows
.FR_WHOLEWORD
2128 FR_MATCHCASE
= _windows
.FR_MATCHCASE
2129 FR_REPLACEDIALOG
= _windows
.FR_REPLACEDIALOG
2130 FR_NOUPDOWN
= _windows
.FR_NOUPDOWN
2131 FR_NOMATCHCASE
= _windows
.FR_NOMATCHCASE
2132 FR_NOWHOLEWORD
= _windows
.FR_NOWHOLEWORD
2133 wxEVT_COMMAND_FIND
= _windows
.wxEVT_COMMAND_FIND
2134 wxEVT_COMMAND_FIND_NEXT
= _windows
.wxEVT_COMMAND_FIND_NEXT
2135 wxEVT_COMMAND_FIND_REPLACE
= _windows
.wxEVT_COMMAND_FIND_REPLACE
2136 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows
.wxEVT_COMMAND_FIND_REPLACE_ALL
2137 wxEVT_COMMAND_FIND_CLOSE
= _windows
.wxEVT_COMMAND_FIND_CLOSE
2138 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
2139 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
2140 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
2141 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
2142 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
2144 # For backwards compatibility. Should they be removed?
2145 EVT_COMMAND_FIND
= EVT_FIND
2146 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
2147 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
2148 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
2149 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
2151 class FindDialogEvent(core
.CommandEvent
):
2153 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2154 def __init__(self
, *args
, **kwargs
):
2155 """__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent"""
2156 newobj
= _windows
.new_FindDialogEvent(*args
, **kwargs
)
2157 self
.this
= newobj
.this
2160 def GetFlags(*args
, **kwargs
):
2161 """GetFlags() -> int"""
2162 return _windows
.FindDialogEvent_GetFlags(*args
, **kwargs
)
2164 def GetFindString(*args
, **kwargs
):
2165 """GetFindString() -> String"""
2166 return _windows
.FindDialogEvent_GetFindString(*args
, **kwargs
)
2168 def GetReplaceString(*args
, **kwargs
):
2169 """GetReplaceString() -> String"""
2170 return _windows
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
2172 def GetDialog(*args
, **kwargs
):
2173 """GetDialog() -> FindReplaceDialog"""
2174 return _windows
.FindDialogEvent_GetDialog(*args
, **kwargs
)
2176 def SetFlags(*args
, **kwargs
):
2177 """SetFlags(int flags)"""
2178 return _windows
.FindDialogEvent_SetFlags(*args
, **kwargs
)
2180 def SetFindString(*args
, **kwargs
):
2181 """SetFindString(String str)"""
2182 return _windows
.FindDialogEvent_SetFindString(*args
, **kwargs
)
2184 def SetReplaceString(*args
, **kwargs
):
2185 """SetReplaceString(String str)"""
2186 return _windows
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
2189 class FindDialogEventPtr(FindDialogEvent
):
2190 def __init__(self
, this
):
2192 if not hasattr(self
,"thisown"): self
.thisown
= 0
2193 self
.__class
__ = FindDialogEvent
2194 _windows
.FindDialogEvent_swigregister(FindDialogEventPtr
)
2196 class FindReplaceData(core
.Object
):
2198 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2199 def __init__(self
, *args
, **kwargs
):
2200 """__init__(int flags=0) -> FindReplaceData"""
2201 newobj
= _windows
.new_FindReplaceData(*args
, **kwargs
)
2202 self
.this
= newobj
.this
2205 def __del__(self
, destroy
=_windows
.delete_FindReplaceData
):
2208 if self
.thisown
: destroy(self
)
2211 def GetFindString(*args
, **kwargs
):
2212 """GetFindString() -> String"""
2213 return _windows
.FindReplaceData_GetFindString(*args
, **kwargs
)
2215 def GetReplaceString(*args
, **kwargs
):
2216 """GetReplaceString() -> String"""
2217 return _windows
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
2219 def GetFlags(*args
, **kwargs
):
2220 """GetFlags() -> int"""
2221 return _windows
.FindReplaceData_GetFlags(*args
, **kwargs
)
2223 def SetFlags(*args
, **kwargs
):
2224 """SetFlags(int flags)"""
2225 return _windows
.FindReplaceData_SetFlags(*args
, **kwargs
)
2227 def SetFindString(*args
, **kwargs
):
2228 """SetFindString(String str)"""
2229 return _windows
.FindReplaceData_SetFindString(*args
, **kwargs
)
2231 def SetReplaceString(*args
, **kwargs
):
2232 """SetReplaceString(String str)"""
2233 return _windows
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
2236 class FindReplaceDataPtr(FindReplaceData
):
2237 def __init__(self
, this
):
2239 if not hasattr(self
,"thisown"): self
.thisown
= 0
2240 self
.__class
__ = FindReplaceData
2241 _windows
.FindReplaceData_swigregister(FindReplaceDataPtr
)
2243 class FindReplaceDialog(Dialog
):
2245 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2246 def __init__(self
, *args
, **kwargs
):
2248 __init__(Window parent, FindReplaceData data, String title,
2249 int style=0) -> FindReplaceDialog
2251 newobj
= _windows
.new_FindReplaceDialog(*args
, **kwargs
)
2252 self
.this
= newobj
.this
2255 self
._setOORInfo
(self
)
2257 def Create(*args
, **kwargs
):
2259 Create(Window parent, FindReplaceData data, String title,
2260 int style=0) -> bool
2262 return _windows
.FindReplaceDialog_Create(*args
, **kwargs
)
2264 def GetData(*args
, **kwargs
):
2265 """GetData() -> FindReplaceData"""
2266 return _windows
.FindReplaceDialog_GetData(*args
, **kwargs
)
2268 def SetData(*args
, **kwargs
):
2269 """SetData(FindReplaceData data)"""
2270 return _windows
.FindReplaceDialog_SetData(*args
, **kwargs
)
2273 class FindReplaceDialogPtr(FindReplaceDialog
):
2274 def __init__(self
, this
):
2276 if not hasattr(self
,"thisown"): self
.thisown
= 0
2277 self
.__class
__ = FindReplaceDialog
2278 _windows
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
2280 def PreFindReplaceDialog(*args
, **kwargs
):
2281 """PreFindReplaceDialog() -> FindReplaceDialog"""
2282 val
= _windows
.new_PreFindReplaceDialog(*args
, **kwargs
)
2286 #---------------------------------------------------------------------------
2288 IDM_WINDOWTILE
= _windows
.IDM_WINDOWTILE
2289 IDM_WINDOWTILEHOR
= _windows
.IDM_WINDOWTILEHOR
2290 IDM_WINDOWCASCADE
= _windows
.IDM_WINDOWCASCADE
2291 IDM_WINDOWICONS
= _windows
.IDM_WINDOWICONS
2292 IDM_WINDOWNEXT
= _windows
.IDM_WINDOWNEXT
2293 IDM_WINDOWTILEVERT
= _windows
.IDM_WINDOWTILEVERT
2294 FIRST_MDI_CHILD
= _windows
.FIRST_MDI_CHILD
2295 LAST_MDI_CHILD
= _windows
.LAST_MDI_CHILD
2296 class MDIParentFrame(Frame
):
2298 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2299 def __init__(self
, *args
, **kwargs
):
2301 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
2302 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2303 String name=FrameNameStr) -> MDIParentFrame
2305 newobj
= _windows
.new_MDIParentFrame(*args
, **kwargs
)
2306 self
.this
= newobj
.this
2309 self
._setOORInfo
(self
)
2311 def Create(*args
, **kwargs
):
2313 Create(Window parent, int id, String title, Point pos=DefaultPosition,
2314 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2315 String name=FrameNameStr) -> bool
2317 return _windows
.MDIParentFrame_Create(*args
, **kwargs
)
2319 def ActivateNext(*args
, **kwargs
):
2320 """ActivateNext()"""
2321 return _windows
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
2323 def ActivatePrevious(*args
, **kwargs
):
2324 """ActivatePrevious()"""
2325 return _windows
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
2327 def ArrangeIcons(*args
, **kwargs
):
2328 """ArrangeIcons()"""
2329 return _windows
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
2331 def Cascade(*args
, **kwargs
):
2333 return _windows
.MDIParentFrame_Cascade(*args
, **kwargs
)
2335 def GetActiveChild(*args
, **kwargs
):
2336 """GetActiveChild() -> MDIChildFrame"""
2337 return _windows
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
2339 def GetClientWindow(*args
, **kwargs
):
2340 """GetClientWindow() -> MDIClientWindow"""
2341 return _windows
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
2343 def GetToolBar(*args
, **kwargs
):
2344 """GetToolBar() -> Window"""
2345 return _windows
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
2347 def Tile(*args
, **kwargs
):
2349 return _windows
.MDIParentFrame_Tile(*args
, **kwargs
)
2352 class MDIParentFramePtr(MDIParentFrame
):
2353 def __init__(self
, this
):
2355 if not hasattr(self
,"thisown"): self
.thisown
= 0
2356 self
.__class
__ = MDIParentFrame
2357 _windows
.MDIParentFrame_swigregister(MDIParentFramePtr
)
2359 def PreMDIParentFrame(*args
, **kwargs
):
2360 """PreMDIParentFrame() -> MDIParentFrame"""
2361 val
= _windows
.new_PreMDIParentFrame(*args
, **kwargs
)
2365 class MDIChildFrame(Frame
):
2367 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2368 def __init__(self
, *args
, **kwargs
):
2370 __init__(MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
2371 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
2372 String name=FrameNameStr) -> MDIChildFrame
2374 newobj
= _windows
.new_MDIChildFrame(*args
, **kwargs
)
2375 self
.this
= newobj
.this
2378 self
._setOORInfo
(self
)
2380 def Create(*args
, **kwargs
):
2382 Create(MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
2383 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
2384 String name=FrameNameStr) -> bool
2386 return _windows
.MDIChildFrame_Create(*args
, **kwargs
)
2388 def Activate(*args
, **kwargs
):
2390 return _windows
.MDIChildFrame_Activate(*args
, **kwargs
)
2392 def Maximize(*args
, **kwargs
):
2393 """Maximize(bool maximize)"""
2394 return _windows
.MDIChildFrame_Maximize(*args
, **kwargs
)
2396 def Restore(*args
, **kwargs
):
2398 return _windows
.MDIChildFrame_Restore(*args
, **kwargs
)
2401 class MDIChildFramePtr(MDIChildFrame
):
2402 def __init__(self
, this
):
2404 if not hasattr(self
,"thisown"): self
.thisown
= 0
2405 self
.__class
__ = MDIChildFrame
2406 _windows
.MDIChildFrame_swigregister(MDIChildFramePtr
)
2408 def PreMDIChildFrame(*args
, **kwargs
):
2409 """PreMDIChildFrame() -> MDIChildFrame"""
2410 val
= _windows
.new_PreMDIChildFrame(*args
, **kwargs
)
2414 class MDIClientWindow(core
.Window
):
2416 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2417 def __init__(self
, *args
, **kwargs
):
2418 """__init__(MDIParentFrame parent, long style=0) -> MDIClientWindow"""
2419 newobj
= _windows
.new_MDIClientWindow(*args
, **kwargs
)
2420 self
.this
= newobj
.this
2423 self
._setOORInfo
(self
)
2425 def Create(*args
, **kwargs
):
2426 """Create(MDIParentFrame parent, long style=0) -> bool"""
2427 return _windows
.MDIClientWindow_Create(*args
, **kwargs
)
2430 class MDIClientWindowPtr(MDIClientWindow
):
2431 def __init__(self
, this
):
2433 if not hasattr(self
,"thisown"): self
.thisown
= 0
2434 self
.__class
__ = MDIClientWindow
2435 _windows
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
2437 def PreMDIClientWindow(*args
, **kwargs
):
2438 """PreMDIClientWindow() -> MDIClientWindow"""
2439 val
= _windows
.new_PreMDIClientWindow(*args
, **kwargs
)
2443 #---------------------------------------------------------------------------
2445 class PyWindow(core
.Window
):
2447 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2448 def __init__(self
, *args
, **kwargs
):
2450 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2451 long style=0, String name=PanelNameStr) -> PyWindow
2453 newobj
= _windows
.new_PyWindow(*args
, **kwargs
)
2454 self
.this
= newobj
.this
2457 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
2459 def _setCallbackInfo(*args
, **kwargs
):
2460 """_setCallbackInfo(PyObject self, PyObject _class)"""
2461 return _windows
.PyWindow__setCallbackInfo(*args
, **kwargs
)
2463 def base_DoMoveWindow(*args
, **kwargs
):
2464 """base_DoMoveWindow(int x, int y, int width, int height)"""
2465 return _windows
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
2467 def base_DoSetSize(*args
, **kwargs
):
2468 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2469 return _windows
.PyWindow_base_DoSetSize(*args
, **kwargs
)
2471 def base_DoSetClientSize(*args
, **kwargs
):
2472 """base_DoSetClientSize(int width, int height)"""
2473 return _windows
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
2475 def base_DoSetVirtualSize(*args
, **kwargs
):
2476 """base_DoSetVirtualSize(int x, int y)"""
2477 return _windows
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
2479 def base_DoGetSize(*args
, **kwargs
):
2480 """base_DoGetSize() -> (width, height)"""
2481 return _windows
.PyWindow_base_DoGetSize(*args
, **kwargs
)
2483 def base_DoGetClientSize(*args
, **kwargs
):
2484 """base_DoGetClientSize() -> (width, height)"""
2485 return _windows
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
2487 def base_DoGetPosition(*args
, **kwargs
):
2488 """base_DoGetPosition() -> (x,y)"""
2489 return _windows
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
2491 def base_DoGetVirtualSize(*args
, **kwargs
):
2492 """base_DoGetVirtualSize() -> Size"""
2493 return _windows
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
2495 def base_DoGetBestSize(*args
, **kwargs
):
2496 """base_DoGetBestSize() -> Size"""
2497 return _windows
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
2499 def base_InitDialog(*args
, **kwargs
):
2500 """base_InitDialog()"""
2501 return _windows
.PyWindow_base_InitDialog(*args
, **kwargs
)
2503 def base_TransferDataToWindow(*args
, **kwargs
):
2504 """base_TransferDataToWindow() -> bool"""
2505 return _windows
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
2507 def base_TransferDataFromWindow(*args
, **kwargs
):
2508 """base_TransferDataFromWindow() -> bool"""
2509 return _windows
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
2511 def base_Validate(*args
, **kwargs
):
2512 """base_Validate() -> bool"""
2513 return _windows
.PyWindow_base_Validate(*args
, **kwargs
)
2515 def base_AcceptsFocus(*args
, **kwargs
):
2516 """base_AcceptsFocus() -> bool"""
2517 return _windows
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
2519 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2520 """base_AcceptsFocusFromKeyboard() -> bool"""
2521 return _windows
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2523 def base_GetMaxSize(*args
, **kwargs
):
2524 """base_GetMaxSize() -> Size"""
2525 return _windows
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
2527 def base_AddChild(*args
, **kwargs
):
2528 """base_AddChild(Window child)"""
2529 return _windows
.PyWindow_base_AddChild(*args
, **kwargs
)
2531 def base_RemoveChild(*args
, **kwargs
):
2532 """base_RemoveChild(Window child)"""
2533 return _windows
.PyWindow_base_RemoveChild(*args
, **kwargs
)
2536 class PyWindowPtr(PyWindow
):
2537 def __init__(self
, this
):
2539 if not hasattr(self
,"thisown"): self
.thisown
= 0
2540 self
.__class
__ = PyWindow
2541 _windows
.PyWindow_swigregister(PyWindowPtr
)
2543 class PyPanel(Panel
):
2545 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2546 def __init__(self
, *args
, **kwargs
):
2548 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2549 long style=0, String name=PanelNameStr) -> PyPanel
2551 newobj
= _windows
.new_PyPanel(*args
, **kwargs
)
2552 self
.this
= newobj
.this
2555 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
2557 def _setCallbackInfo(*args
, **kwargs
):
2558 """_setCallbackInfo(PyObject self, PyObject _class)"""
2559 return _windows
.PyPanel__setCallbackInfo(*args
, **kwargs
)
2561 def base_DoMoveWindow(*args
, **kwargs
):
2562 """base_DoMoveWindow(int x, int y, int width, int height)"""
2563 return _windows
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
2565 def base_DoSetSize(*args
, **kwargs
):
2566 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2567 return _windows
.PyPanel_base_DoSetSize(*args
, **kwargs
)
2569 def base_DoSetClientSize(*args
, **kwargs
):
2570 """base_DoSetClientSize(int width, int height)"""
2571 return _windows
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
2573 def base_DoSetVirtualSize(*args
, **kwargs
):
2574 """base_DoSetVirtualSize(int x, int y)"""
2575 return _windows
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
2577 def base_DoGetSize(*args
, **kwargs
):
2578 """base_DoGetSize() -> (width, height)"""
2579 return _windows
.PyPanel_base_DoGetSize(*args
, **kwargs
)
2581 def base_DoGetClientSize(*args
, **kwargs
):
2582 """base_DoGetClientSize() -> (width, height)"""
2583 return _windows
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
2585 def base_DoGetPosition(*args
, **kwargs
):
2586 """base_DoGetPosition() -> (x,y)"""
2587 return _windows
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
2589 def base_DoGetVirtualSize(*args
, **kwargs
):
2590 """base_DoGetVirtualSize() -> Size"""
2591 return _windows
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
2593 def base_DoGetBestSize(*args
, **kwargs
):
2594 """base_DoGetBestSize() -> Size"""
2595 return _windows
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
2597 def base_InitDialog(*args
, **kwargs
):
2598 """base_InitDialog()"""
2599 return _windows
.PyPanel_base_InitDialog(*args
, **kwargs
)
2601 def base_TransferDataToWindow(*args
, **kwargs
):
2602 """base_TransferDataToWindow() -> bool"""
2603 return _windows
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
2605 def base_TransferDataFromWindow(*args
, **kwargs
):
2606 """base_TransferDataFromWindow() -> bool"""
2607 return _windows
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
2609 def base_Validate(*args
, **kwargs
):
2610 """base_Validate() -> bool"""
2611 return _windows
.PyPanel_base_Validate(*args
, **kwargs
)
2613 def base_AcceptsFocus(*args
, **kwargs
):
2614 """base_AcceptsFocus() -> bool"""
2615 return _windows
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
2617 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2618 """base_AcceptsFocusFromKeyboard() -> bool"""
2619 return _windows
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2621 def base_GetMaxSize(*args
, **kwargs
):
2622 """base_GetMaxSize() -> Size"""
2623 return _windows
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
2625 def base_AddChild(*args
, **kwargs
):
2626 """base_AddChild(Window child)"""
2627 return _windows
.PyPanel_base_AddChild(*args
, **kwargs
)
2629 def base_RemoveChild(*args
, **kwargs
):
2630 """base_RemoveChild(Window child)"""
2631 return _windows
.PyPanel_base_RemoveChild(*args
, **kwargs
)
2634 class PyPanelPtr(PyPanel
):
2635 def __init__(self
, this
):
2637 if not hasattr(self
,"thisown"): self
.thisown
= 0
2638 self
.__class
__ = PyPanel
2639 _windows
.PyPanel_swigregister(PyPanelPtr
)
2641 #---------------------------------------------------------------------------
2643 PRINT_MODE_NONE
= _windows
.PRINT_MODE_NONE
2644 PRINT_MODE_PREVIEW
= _windows
.PRINT_MODE_PREVIEW
2645 PRINT_MODE_FILE
= _windows
.PRINT_MODE_FILE
2646 PRINT_MODE_PRINTER
= _windows
.PRINT_MODE_PRINTER
2647 class PrintData(core
.Object
):
2649 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2650 def __init__(self
, *args
, **kwargs
):
2651 """__init__() -> PrintData"""
2652 newobj
= _windows
.new_PrintData(*args
, **kwargs
)
2653 self
.this
= newobj
.this
2656 def __del__(self
, destroy
=_windows
.delete_PrintData
):
2659 if self
.thisown
: destroy(self
)
2662 def GetNoCopies(*args
, **kwargs
):
2663 """GetNoCopies() -> int"""
2664 return _windows
.PrintData_GetNoCopies(*args
, **kwargs
)
2666 def GetCollate(*args
, **kwargs
):
2667 """GetCollate() -> bool"""
2668 return _windows
.PrintData_GetCollate(*args
, **kwargs
)
2670 def GetOrientation(*args
, **kwargs
):
2671 """GetOrientation() -> int"""
2672 return _windows
.PrintData_GetOrientation(*args
, **kwargs
)
2674 def Ok(*args
, **kwargs
):
2676 return _windows
.PrintData_Ok(*args
, **kwargs
)
2678 def GetPrinterName(*args
, **kwargs
):
2679 """GetPrinterName() -> String"""
2680 return _windows
.PrintData_GetPrinterName(*args
, **kwargs
)
2682 def GetColour(*args
, **kwargs
):
2683 """GetColour() -> bool"""
2684 return _windows
.PrintData_GetColour(*args
, **kwargs
)
2686 def GetDuplex(*args
, **kwargs
):
2687 """GetDuplex() -> int"""
2688 return _windows
.PrintData_GetDuplex(*args
, **kwargs
)
2690 def GetPaperId(*args
, **kwargs
):
2691 """GetPaperId() -> int"""
2692 return _windows
.PrintData_GetPaperId(*args
, **kwargs
)
2694 def GetPaperSize(*args
, **kwargs
):
2695 """GetPaperSize() -> Size"""
2696 return _windows
.PrintData_GetPaperSize(*args
, **kwargs
)
2698 def GetQuality(*args
, **kwargs
):
2699 """GetQuality() -> int"""
2700 return _windows
.PrintData_GetQuality(*args
, **kwargs
)
2702 def SetNoCopies(*args
, **kwargs
):
2703 """SetNoCopies(int v)"""
2704 return _windows
.PrintData_SetNoCopies(*args
, **kwargs
)
2706 def SetCollate(*args
, **kwargs
):
2707 """SetCollate(bool flag)"""
2708 return _windows
.PrintData_SetCollate(*args
, **kwargs
)
2710 def SetOrientation(*args
, **kwargs
):
2711 """SetOrientation(int orient)"""
2712 return _windows
.PrintData_SetOrientation(*args
, **kwargs
)
2714 def SetPrinterName(*args
, **kwargs
):
2715 """SetPrinterName(String name)"""
2716 return _windows
.PrintData_SetPrinterName(*args
, **kwargs
)
2718 def SetColour(*args
, **kwargs
):
2719 """SetColour(bool colour)"""
2720 return _windows
.PrintData_SetColour(*args
, **kwargs
)
2722 def SetDuplex(*args
, **kwargs
):
2723 """SetDuplex(int duplex)"""
2724 return _windows
.PrintData_SetDuplex(*args
, **kwargs
)
2726 def SetPaperId(*args
, **kwargs
):
2727 """SetPaperId(int sizeId)"""
2728 return _windows
.PrintData_SetPaperId(*args
, **kwargs
)
2730 def SetPaperSize(*args
, **kwargs
):
2731 """SetPaperSize(Size sz)"""
2732 return _windows
.PrintData_SetPaperSize(*args
, **kwargs
)
2734 def SetQuality(*args
, **kwargs
):
2735 """SetQuality(int quality)"""
2736 return _windows
.PrintData_SetQuality(*args
, **kwargs
)
2738 def GetPrinterCommand(*args
, **kwargs
):
2739 """GetPrinterCommand() -> String"""
2740 return _windows
.PrintData_GetPrinterCommand(*args
, **kwargs
)
2742 def GetPrinterOptions(*args
, **kwargs
):
2743 """GetPrinterOptions() -> String"""
2744 return _windows
.PrintData_GetPrinterOptions(*args
, **kwargs
)
2746 def GetPreviewCommand(*args
, **kwargs
):
2747 """GetPreviewCommand() -> String"""
2748 return _windows
.PrintData_GetPreviewCommand(*args
, **kwargs
)
2750 def GetFilename(*args
, **kwargs
):
2751 """GetFilename() -> String"""
2752 return _windows
.PrintData_GetFilename(*args
, **kwargs
)
2754 def GetFontMetricPath(*args
, **kwargs
):
2755 """GetFontMetricPath() -> String"""
2756 return _windows
.PrintData_GetFontMetricPath(*args
, **kwargs
)
2758 def GetPrinterScaleX(*args
, **kwargs
):
2759 """GetPrinterScaleX() -> double"""
2760 return _windows
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
2762 def GetPrinterScaleY(*args
, **kwargs
):
2763 """GetPrinterScaleY() -> double"""
2764 return _windows
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
2766 def GetPrinterTranslateX(*args
, **kwargs
):
2767 """GetPrinterTranslateX() -> long"""
2768 return _windows
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
2770 def GetPrinterTranslateY(*args
, **kwargs
):
2771 """GetPrinterTranslateY() -> long"""
2772 return _windows
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
2774 def GetPrintMode(*args
, **kwargs
):
2775 """GetPrintMode() -> int"""
2776 return _windows
.PrintData_GetPrintMode(*args
, **kwargs
)
2778 def SetPrinterCommand(*args
, **kwargs
):
2779 """SetPrinterCommand(String command)"""
2780 return _windows
.PrintData_SetPrinterCommand(*args
, **kwargs
)
2782 def SetPrinterOptions(*args
, **kwargs
):
2783 """SetPrinterOptions(String options)"""
2784 return _windows
.PrintData_SetPrinterOptions(*args
, **kwargs
)
2786 def SetPreviewCommand(*args
, **kwargs
):
2787 """SetPreviewCommand(String command)"""
2788 return _windows
.PrintData_SetPreviewCommand(*args
, **kwargs
)
2790 def SetFilename(*args
, **kwargs
):
2791 """SetFilename(String filename)"""
2792 return _windows
.PrintData_SetFilename(*args
, **kwargs
)
2794 def SetFontMetricPath(*args
, **kwargs
):
2795 """SetFontMetricPath(String path)"""
2796 return _windows
.PrintData_SetFontMetricPath(*args
, **kwargs
)
2798 def SetPrinterScaleX(*args
, **kwargs
):
2799 """SetPrinterScaleX(double x)"""
2800 return _windows
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
2802 def SetPrinterScaleY(*args
, **kwargs
):
2803 """SetPrinterScaleY(double y)"""
2804 return _windows
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
2806 def SetPrinterScaling(*args
, **kwargs
):
2807 """SetPrinterScaling(double x, double y)"""
2808 return _windows
.PrintData_SetPrinterScaling(*args
, **kwargs
)
2810 def SetPrinterTranslateX(*args
, **kwargs
):
2811 """SetPrinterTranslateX(long x)"""
2812 return _windows
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
2814 def SetPrinterTranslateY(*args
, **kwargs
):
2815 """SetPrinterTranslateY(long y)"""
2816 return _windows
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
2818 def SetPrinterTranslation(*args
, **kwargs
):
2819 """SetPrinterTranslation(long x, long y)"""
2820 return _windows
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
2822 def SetPrintMode(*args
, **kwargs
):
2823 """SetPrintMode(int printMode)"""
2824 return _windows
.PrintData_SetPrintMode(*args
, **kwargs
)
2826 def __nonzero__(self
): return self
.Ok()
2828 class PrintDataPtr(PrintData
):
2829 def __init__(self
, this
):
2831 if not hasattr(self
,"thisown"): self
.thisown
= 0
2832 self
.__class
__ = PrintData
2833 _windows
.PrintData_swigregister(PrintDataPtr
)
2834 PrintoutTitleStr
= cvar
.PrintoutTitleStr
2835 PreviewCanvasNameStr
= cvar
.PreviewCanvasNameStr
2837 class PageSetupDialogData(core
.Object
):
2839 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2840 def __init__(self
, *args
, **kwargs
):
2841 """__init__() -> PageSetupDialogData"""
2842 newobj
= _windows
.new_PageSetupDialogData(*args
, **kwargs
)
2843 self
.this
= newobj
.this
2846 def __del__(self
, destroy
=_windows
.delete_PageSetupDialogData
):
2849 if self
.thisown
: destroy(self
)
2852 def EnableHelp(*args
, **kwargs
):
2853 """EnableHelp(bool flag)"""
2854 return _windows
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
2856 def EnableMargins(*args
, **kwargs
):
2857 """EnableMargins(bool flag)"""
2858 return _windows
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
2860 def EnableOrientation(*args
, **kwargs
):
2861 """EnableOrientation(bool flag)"""
2862 return _windows
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
2864 def EnablePaper(*args
, **kwargs
):
2865 """EnablePaper(bool flag)"""
2866 return _windows
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
2868 def EnablePrinter(*args
, **kwargs
):
2869 """EnablePrinter(bool flag)"""
2870 return _windows
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
2872 def GetDefaultMinMargins(*args
, **kwargs
):
2873 """GetDefaultMinMargins() -> bool"""
2874 return _windows
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
2876 def GetEnableMargins(*args
, **kwargs
):
2877 """GetEnableMargins() -> bool"""
2878 return _windows
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
2880 def GetEnableOrientation(*args
, **kwargs
):
2881 """GetEnableOrientation() -> bool"""
2882 return _windows
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
2884 def GetEnablePaper(*args
, **kwargs
):
2885 """GetEnablePaper() -> bool"""
2886 return _windows
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
2888 def GetEnablePrinter(*args
, **kwargs
):
2889 """GetEnablePrinter() -> bool"""
2890 return _windows
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
2892 def GetEnableHelp(*args
, **kwargs
):
2893 """GetEnableHelp() -> bool"""
2894 return _windows
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
2896 def GetDefaultInfo(*args
, **kwargs
):
2897 """GetDefaultInfo() -> bool"""
2898 return _windows
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
2900 def GetMarginTopLeft(*args
, **kwargs
):
2901 """GetMarginTopLeft() -> Point"""
2902 return _windows
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
2904 def GetMarginBottomRight(*args
, **kwargs
):
2905 """GetMarginBottomRight() -> Point"""
2906 return _windows
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
2908 def GetMinMarginTopLeft(*args
, **kwargs
):
2909 """GetMinMarginTopLeft() -> Point"""
2910 return _windows
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
2912 def GetMinMarginBottomRight(*args
, **kwargs
):
2913 """GetMinMarginBottomRight() -> Point"""
2914 return _windows
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
2916 def GetPaperId(*args
, **kwargs
):
2917 """GetPaperId() -> int"""
2918 return _windows
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
2920 def GetPaperSize(*args
, **kwargs
):
2921 """GetPaperSize() -> Size"""
2922 return _windows
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
2924 def GetPrintData(*args
, **kwargs
):
2925 """GetPrintData() -> PrintData"""
2926 return _windows
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
2928 def Ok(*args
, **kwargs
):
2930 return _windows
.PageSetupDialogData_Ok(*args
, **kwargs
)
2932 def SetDefaultInfo(*args
, **kwargs
):
2933 """SetDefaultInfo(bool flag)"""
2934 return _windows
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
2936 def SetDefaultMinMargins(*args
, **kwargs
):
2937 """SetDefaultMinMargins(bool flag)"""
2938 return _windows
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
2940 def SetMarginTopLeft(*args
, **kwargs
):
2941 """SetMarginTopLeft(Point pt)"""
2942 return _windows
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
2944 def SetMarginBottomRight(*args
, **kwargs
):
2945 """SetMarginBottomRight(Point pt)"""
2946 return _windows
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
2948 def SetMinMarginTopLeft(*args
, **kwargs
):
2949 """SetMinMarginTopLeft(Point pt)"""
2950 return _windows
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
2952 def SetMinMarginBottomRight(*args
, **kwargs
):
2953 """SetMinMarginBottomRight(Point pt)"""
2954 return _windows
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
2956 def SetPaperId(*args
, **kwargs
):
2957 """SetPaperId(int id)"""
2958 return _windows
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
2960 def SetPaperSize(*args
, **kwargs
):
2961 """SetPaperSize(Size size)"""
2962 return _windows
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
2964 def SetPrintData(*args
, **kwargs
):
2965 """SetPrintData(PrintData printData)"""
2966 return _windows
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
2968 def __nonzero__(self
): return self
.Ok()
2970 class PageSetupDialogDataPtr(PageSetupDialogData
):
2971 def __init__(self
, this
):
2973 if not hasattr(self
,"thisown"): self
.thisown
= 0
2974 self
.__class
__ = PageSetupDialogData
2975 _windows
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
2977 class PageSetupDialog(Dialog
):
2979 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2980 def __init__(self
, *args
, **kwargs
):
2981 """__init__(Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
2982 newobj
= _windows
.new_PageSetupDialog(*args
, **kwargs
)
2983 self
.this
= newobj
.this
2986 self
._setOORInfo
(self
)
2988 def GetPageSetupData(*args
, **kwargs
):
2989 """GetPageSetupData() -> PageSetupDialogData"""
2990 return _windows
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
2992 def ShowModal(*args
, **kwargs
):
2993 """ShowModal() -> int"""
2994 return _windows
.PageSetupDialog_ShowModal(*args
, **kwargs
)
2997 class PageSetupDialogPtr(PageSetupDialog
):
2998 def __init__(self
, this
):
3000 if not hasattr(self
,"thisown"): self
.thisown
= 0
3001 self
.__class
__ = PageSetupDialog
3002 _windows
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
3004 class PrintDialogData(core
.Object
):
3006 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3007 def __init__(self
, *args
, **kwargs
):
3008 """__init__() -> PrintDialogData"""
3009 newobj
= _windows
.new_PrintDialogData(*args
, **kwargs
)
3010 self
.this
= newobj
.this
3013 def __del__(self
, destroy
=_windows
.delete_PrintDialogData
):
3016 if self
.thisown
: destroy(self
)
3019 def GetFromPage(*args
, **kwargs
):
3020 """GetFromPage() -> int"""
3021 return _windows
.PrintDialogData_GetFromPage(*args
, **kwargs
)
3023 def GetToPage(*args
, **kwargs
):
3024 """GetToPage() -> int"""
3025 return _windows
.PrintDialogData_GetToPage(*args
, **kwargs
)
3027 def GetMinPage(*args
, **kwargs
):
3028 """GetMinPage() -> int"""
3029 return _windows
.PrintDialogData_GetMinPage(*args
, **kwargs
)
3031 def GetMaxPage(*args
, **kwargs
):
3032 """GetMaxPage() -> int"""
3033 return _windows
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
3035 def GetNoCopies(*args
, **kwargs
):
3036 """GetNoCopies() -> int"""
3037 return _windows
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
3039 def GetAllPages(*args
, **kwargs
):
3040 """GetAllPages() -> bool"""
3041 return _windows
.PrintDialogData_GetAllPages(*args
, **kwargs
)
3043 def GetSelection(*args
, **kwargs
):
3044 """GetSelection() -> bool"""
3045 return _windows
.PrintDialogData_GetSelection(*args
, **kwargs
)
3047 def GetCollate(*args
, **kwargs
):
3048 """GetCollate() -> bool"""
3049 return _windows
.PrintDialogData_GetCollate(*args
, **kwargs
)
3051 def GetPrintToFile(*args
, **kwargs
):
3052 """GetPrintToFile() -> bool"""
3053 return _windows
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
3055 def GetSetupDialog(*args
, **kwargs
):
3056 """GetSetupDialog() -> bool"""
3057 return _windows
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
3059 def SetFromPage(*args
, **kwargs
):
3060 """SetFromPage(int v)"""
3061 return _windows
.PrintDialogData_SetFromPage(*args
, **kwargs
)
3063 def SetToPage(*args
, **kwargs
):
3064 """SetToPage(int v)"""
3065 return _windows
.PrintDialogData_SetToPage(*args
, **kwargs
)
3067 def SetMinPage(*args
, **kwargs
):
3068 """SetMinPage(int v)"""
3069 return _windows
.PrintDialogData_SetMinPage(*args
, **kwargs
)
3071 def SetMaxPage(*args
, **kwargs
):
3072 """SetMaxPage(int v)"""
3073 return _windows
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
3075 def SetNoCopies(*args
, **kwargs
):
3076 """SetNoCopies(int v)"""
3077 return _windows
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
3079 def SetAllPages(*args
, **kwargs
):
3080 """SetAllPages(bool flag)"""
3081 return _windows
.PrintDialogData_SetAllPages(*args
, **kwargs
)
3083 def SetSelection(*args
, **kwargs
):
3084 """SetSelection(bool flag)"""
3085 return _windows
.PrintDialogData_SetSelection(*args
, **kwargs
)
3087 def SetCollate(*args
, **kwargs
):
3088 """SetCollate(bool flag)"""
3089 return _windows
.PrintDialogData_SetCollate(*args
, **kwargs
)
3091 def SetPrintToFile(*args
, **kwargs
):
3092 """SetPrintToFile(bool flag)"""
3093 return _windows
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
3095 def SetSetupDialog(*args
, **kwargs
):
3096 """SetSetupDialog(bool flag)"""
3097 return _windows
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
3099 def EnablePrintToFile(*args
, **kwargs
):
3100 """EnablePrintToFile(bool flag)"""
3101 return _windows
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
3103 def EnableSelection(*args
, **kwargs
):
3104 """EnableSelection(bool flag)"""
3105 return _windows
.PrintDialogData_EnableSelection(*args
, **kwargs
)
3107 def EnablePageNumbers(*args
, **kwargs
):
3108 """EnablePageNumbers(bool flag)"""
3109 return _windows
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
3111 def EnableHelp(*args
, **kwargs
):
3112 """EnableHelp(bool flag)"""
3113 return _windows
.PrintDialogData_EnableHelp(*args
, **kwargs
)
3115 def GetEnablePrintToFile(*args
, **kwargs
):
3116 """GetEnablePrintToFile() -> bool"""
3117 return _windows
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
3119 def GetEnableSelection(*args
, **kwargs
):
3120 """GetEnableSelection() -> bool"""
3121 return _windows
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
3123 def GetEnablePageNumbers(*args
, **kwargs
):
3124 """GetEnablePageNumbers() -> bool"""
3125 return _windows
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
3127 def GetEnableHelp(*args
, **kwargs
):
3128 """GetEnableHelp() -> bool"""
3129 return _windows
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
3131 def Ok(*args
, **kwargs
):
3133 return _windows
.PrintDialogData_Ok(*args
, **kwargs
)
3135 def GetPrintData(*args
, **kwargs
):
3136 """GetPrintData() -> PrintData"""
3137 return _windows
.PrintDialogData_GetPrintData(*args
, **kwargs
)
3139 def SetPrintData(*args
, **kwargs
):
3140 """SetPrintData(PrintData printData)"""
3141 return _windows
.PrintDialogData_SetPrintData(*args
, **kwargs
)
3143 def __nonzero__(self
): return self
.Ok()
3145 class PrintDialogDataPtr(PrintDialogData
):
3146 def __init__(self
, this
):
3148 if not hasattr(self
,"thisown"): self
.thisown
= 0
3149 self
.__class
__ = PrintDialogData
3150 _windows
.PrintDialogData_swigregister(PrintDialogDataPtr
)
3152 class PrintDialog(Dialog
):
3154 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3155 def __init__(self
, *args
, **kwargs
):
3156 """__init__(Window parent, PrintDialogData data=None) -> PrintDialog"""
3157 newobj
= _windows
.new_PrintDialog(*args
, **kwargs
)
3158 self
.this
= newobj
.this
3161 self
._setOORInfo
(self
)
3163 def GetPrintDialogData(*args
, **kwargs
):
3164 """GetPrintDialogData() -> PrintDialogData"""
3165 return _windows
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
3167 def GetPrintDC(*args
, **kwargs
):
3168 """GetPrintDC() -> DC"""
3169 return _windows
.PrintDialog_GetPrintDC(*args
, **kwargs
)
3171 def ShowModal(*args
, **kwargs
):
3172 """ShowModal() -> int"""
3173 return _windows
.PrintDialog_ShowModal(*args
, **kwargs
)
3176 class PrintDialogPtr(PrintDialog
):
3177 def __init__(self
, this
):
3179 if not hasattr(self
,"thisown"): self
.thisown
= 0
3180 self
.__class
__ = PrintDialog
3181 _windows
.PrintDialog_swigregister(PrintDialogPtr
)
3183 PRINTER_NO_ERROR
= _windows
.PRINTER_NO_ERROR
3184 PRINTER_CANCELLED
= _windows
.PRINTER_CANCELLED
3185 PRINTER_ERROR
= _windows
.PRINTER_ERROR
3186 class Printer(core
.Object
):
3188 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3189 def __init__(self
, *args
, **kwargs
):
3190 """__init__(PrintDialogData data=None) -> Printer"""
3191 newobj
= _windows
.new_Printer(*args
, **kwargs
)
3192 self
.this
= newobj
.this
3195 def __del__(self
, destroy
=_windows
.delete_Printer
):
3198 if self
.thisown
: destroy(self
)
3201 def CreateAbortWindow(*args
, **kwargs
):
3202 """CreateAbortWindow(Window parent, Printout printout)"""
3203 return _windows
.Printer_CreateAbortWindow(*args
, **kwargs
)
3205 def GetPrintDialogData(*args
, **kwargs
):
3206 """GetPrintDialogData() -> PrintDialogData"""
3207 return _windows
.Printer_GetPrintDialogData(*args
, **kwargs
)
3209 def Print(*args
, **kwargs
):
3210 """Print(Window parent, Printout printout, int prompt=True) -> bool"""
3211 return _windows
.Printer_Print(*args
, **kwargs
)
3213 def PrintDialog(*args
, **kwargs
):
3214 """PrintDialog(Window parent) -> DC"""
3215 return _windows
.Printer_PrintDialog(*args
, **kwargs
)
3217 def ReportError(*args
, **kwargs
):
3218 """ReportError(Window parent, Printout printout, String message)"""
3219 return _windows
.Printer_ReportError(*args
, **kwargs
)
3221 def Setup(*args
, **kwargs
):
3222 """Setup(Window parent) -> bool"""
3223 return _windows
.Printer_Setup(*args
, **kwargs
)
3225 def GetAbort(*args
, **kwargs
):
3226 """GetAbort() -> bool"""
3227 return _windows
.Printer_GetAbort(*args
, **kwargs
)
3229 def GetLastError(*args
, **kwargs
):
3230 """Printer.GetLastError() -> int"""
3231 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3233 GetLastError
= staticmethod(GetLastError
)
3235 class PrinterPtr(Printer
):
3236 def __init__(self
, this
):
3238 if not hasattr(self
,"thisown"): self
.thisown
= 0
3239 self
.__class
__ = Printer
3240 _windows
.Printer_swigregister(PrinterPtr
)
3242 def Printer_GetLastError(*args
, **kwargs
):
3243 """Printer_GetLastError() -> int"""
3244 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3246 class Printout(core
.Object
):
3248 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3249 def __init__(self
, *args
, **kwargs
):
3250 """__init__(String title=PrintoutTitleStr) -> Printout"""
3251 newobj
= _windows
.new_Printout(*args
, **kwargs
)
3252 self
.this
= newobj
.this
3255 self
._setCallbackInfo
(self
, Printout
)
3257 def _setCallbackInfo(*args
, **kwargs
):
3258 """_setCallbackInfo(PyObject self, PyObject _class)"""
3259 return _windows
.Printout__setCallbackInfo(*args
, **kwargs
)
3261 def GetTitle(*args
, **kwargs
):
3262 """GetTitle() -> String"""
3263 return _windows
.Printout_GetTitle(*args
, **kwargs
)
3265 def GetDC(*args
, **kwargs
):
3267 return _windows
.Printout_GetDC(*args
, **kwargs
)
3269 def SetDC(*args
, **kwargs
):
3271 return _windows
.Printout_SetDC(*args
, **kwargs
)
3273 def SetPageSizePixels(*args
, **kwargs
):
3274 """SetPageSizePixels(int w, int h)"""
3275 return _windows
.Printout_SetPageSizePixels(*args
, **kwargs
)
3277 def GetPageSizePixels(*args
, **kwargs
):
3278 """GetPageSizePixels() -> (w, h)"""
3279 return _windows
.Printout_GetPageSizePixels(*args
, **kwargs
)
3281 def SetPageSizeMM(*args
, **kwargs
):
3282 """SetPageSizeMM(int w, int h)"""
3283 return _windows
.Printout_SetPageSizeMM(*args
, **kwargs
)
3285 def GetPageSizeMM(*args
, **kwargs
):
3286 """GetPageSizeMM() -> (w, h)"""
3287 return _windows
.Printout_GetPageSizeMM(*args
, **kwargs
)
3289 def SetPPIScreen(*args
, **kwargs
):
3290 """SetPPIScreen(int x, int y)"""
3291 return _windows
.Printout_SetPPIScreen(*args
, **kwargs
)
3293 def GetPPIScreen(*args
, **kwargs
):
3294 """GetPPIScreen() -> (x,y)"""
3295 return _windows
.Printout_GetPPIScreen(*args
, **kwargs
)
3297 def SetPPIPrinter(*args
, **kwargs
):
3298 """SetPPIPrinter(int x, int y)"""
3299 return _windows
.Printout_SetPPIPrinter(*args
, **kwargs
)
3301 def GetPPIPrinter(*args
, **kwargs
):
3302 """GetPPIPrinter() -> (x,y)"""
3303 return _windows
.Printout_GetPPIPrinter(*args
, **kwargs
)
3305 def IsPreview(*args
, **kwargs
):
3306 """IsPreview() -> bool"""
3307 return _windows
.Printout_IsPreview(*args
, **kwargs
)
3309 def SetIsPreview(*args
, **kwargs
):
3310 """SetIsPreview(bool p)"""
3311 return _windows
.Printout_SetIsPreview(*args
, **kwargs
)
3313 def base_OnBeginDocument(*args
, **kwargs
):
3314 """base_OnBeginDocument(int startPage, int endPage) -> bool"""
3315 return _windows
.Printout_base_OnBeginDocument(*args
, **kwargs
)
3317 def base_OnEndDocument(*args
, **kwargs
):
3318 """base_OnEndDocument()"""
3319 return _windows
.Printout_base_OnEndDocument(*args
, **kwargs
)
3321 def base_OnBeginPrinting(*args
, **kwargs
):
3322 """base_OnBeginPrinting()"""
3323 return _windows
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
3325 def base_OnEndPrinting(*args
, **kwargs
):
3326 """base_OnEndPrinting()"""
3327 return _windows
.Printout_base_OnEndPrinting(*args
, **kwargs
)
3329 def base_OnPreparePrinting(*args
, **kwargs
):
3330 """base_OnPreparePrinting()"""
3331 return _windows
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
3333 def base_HasPage(*args
, **kwargs
):
3334 """base_HasPage(int page) -> bool"""
3335 return _windows
.Printout_base_HasPage(*args
, **kwargs
)
3337 def base_GetPageInfo(*args
, **kwargs
):
3338 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
3339 return _windows
.Printout_base_GetPageInfo(*args
, **kwargs
)
3342 class PrintoutPtr(Printout
):
3343 def __init__(self
, this
):
3345 if not hasattr(self
,"thisown"): self
.thisown
= 0
3346 self
.__class
__ = Printout
3347 _windows
.Printout_swigregister(PrintoutPtr
)
3349 class PreviewCanvas(ScrolledWindow
):
3351 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3352 def __init__(self
, *args
, **kwargs
):
3354 __init__(PrintPreview preview, Window parent, Point pos=DefaultPosition,
3355 Size size=DefaultSize, long style=0,
3356 String name=PreviewCanvasNameStr) -> PreviewCanvas
3358 newobj
= _windows
.new_PreviewCanvas(*args
, **kwargs
)
3359 self
.this
= newobj
.this
3362 self
._setOORInfo
(self
)
3365 class PreviewCanvasPtr(PreviewCanvas
):
3366 def __init__(self
, this
):
3368 if not hasattr(self
,"thisown"): self
.thisown
= 0
3369 self
.__class
__ = PreviewCanvas
3370 _windows
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
3372 class PreviewFrame(Frame
):
3374 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3375 def __init__(self
, *args
, **kwargs
):
3377 __init__(PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
3378 Size size=DefaultSize,
3379 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
3381 newobj
= _windows
.new_PreviewFrame(*args
, **kwargs
)
3382 self
.this
= newobj
.this
3385 self
._setOORInfo
(self
)
3387 def Initialize(*args
, **kwargs
):
3389 return _windows
.PreviewFrame_Initialize(*args
, **kwargs
)
3391 def CreateControlBar(*args
, **kwargs
):
3392 """CreateControlBar()"""
3393 return _windows
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
3395 def CreateCanvas(*args
, **kwargs
):
3396 """CreateCanvas()"""
3397 return _windows
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
3399 def GetControlBar(*args
, **kwargs
):
3400 """GetControlBar() -> PreviewControlBar"""
3401 return _windows
.PreviewFrame_GetControlBar(*args
, **kwargs
)
3404 class PreviewFramePtr(PreviewFrame
):
3405 def __init__(self
, this
):
3407 if not hasattr(self
,"thisown"): self
.thisown
= 0
3408 self
.__class
__ = PreviewFrame
3409 _windows
.PreviewFrame_swigregister(PreviewFramePtr
)
3411 PREVIEW_PRINT
= _windows
.PREVIEW_PRINT
3412 PREVIEW_PREVIOUS
= _windows
.PREVIEW_PREVIOUS
3413 PREVIEW_NEXT
= _windows
.PREVIEW_NEXT
3414 PREVIEW_ZOOM
= _windows
.PREVIEW_ZOOM
3415 PREVIEW_FIRST
= _windows
.PREVIEW_FIRST
3416 PREVIEW_LAST
= _windows
.PREVIEW_LAST
3417 PREVIEW_GOTO
= _windows
.PREVIEW_GOTO
3418 PREVIEW_DEFAULT
= _windows
.PREVIEW_DEFAULT
3419 ID_PREVIEW_CLOSE
= _windows
.ID_PREVIEW_CLOSE
3420 ID_PREVIEW_NEXT
= _windows
.ID_PREVIEW_NEXT
3421 ID_PREVIEW_PREVIOUS
= _windows
.ID_PREVIEW_PREVIOUS
3422 ID_PREVIEW_PRINT
= _windows
.ID_PREVIEW_PRINT
3423 ID_PREVIEW_ZOOM
= _windows
.ID_PREVIEW_ZOOM
3424 ID_PREVIEW_FIRST
= _windows
.ID_PREVIEW_FIRST
3425 ID_PREVIEW_LAST
= _windows
.ID_PREVIEW_LAST
3426 ID_PREVIEW_GOTO
= _windows
.ID_PREVIEW_GOTO
3427 class PreviewControlBar(Panel
):
3429 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3430 def __init__(self
, *args
, **kwargs
):
3432 __init__(PrintPreview preview, long buttons, Window parent,
3433 Point pos=DefaultPosition, Size size=DefaultSize,
3434 long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
3436 newobj
= _windows
.new_PreviewControlBar(*args
, **kwargs
)
3437 self
.this
= newobj
.this
3440 self
._setOORInfo
(self
)
3442 def GetZoomControl(*args
, **kwargs
):
3443 """GetZoomControl() -> int"""
3444 return _windows
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
3446 def SetZoomControl(*args
, **kwargs
):
3447 """SetZoomControl(int zoom)"""
3448 return _windows
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
3450 def GetPrintPreview(*args
, **kwargs
):
3451 """GetPrintPreview() -> PrintPreview"""
3452 return _windows
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
3454 def OnNext(*args
, **kwargs
):
3456 return _windows
.PreviewControlBar_OnNext(*args
, **kwargs
)
3458 def OnPrevious(*args
, **kwargs
):
3460 return _windows
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
3462 def OnFirst(*args
, **kwargs
):
3464 return _windows
.PreviewControlBar_OnFirst(*args
, **kwargs
)
3466 def OnLast(*args
, **kwargs
):
3468 return _windows
.PreviewControlBar_OnLast(*args
, **kwargs
)
3470 def OnGoto(*args
, **kwargs
):
3472 return _windows
.PreviewControlBar_OnGoto(*args
, **kwargs
)
3475 class PreviewControlBarPtr(PreviewControlBar
):
3476 def __init__(self
, this
):
3478 if not hasattr(self
,"thisown"): self
.thisown
= 0
3479 self
.__class
__ = PreviewControlBar
3480 _windows
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
3482 class PrintPreview(core
.Object
):
3484 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3485 def __init__(self
, *args
, **kwargs
):
3486 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PrintPreview"""
3487 newobj
= _windows
.new_PrintPreview(*args
, **kwargs
)
3488 self
.this
= newobj
.this
3491 def SetCurrentPage(*args
, **kwargs
):
3492 """SetCurrentPage(int pageNum) -> bool"""
3493 return _windows
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
3495 def GetCurrentPage(*args
, **kwargs
):
3496 """GetCurrentPage() -> int"""
3497 return _windows
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
3499 def SetPrintout(*args
, **kwargs
):
3500 """SetPrintout(Printout printout)"""
3501 return _windows
.PrintPreview_SetPrintout(*args
, **kwargs
)
3503 def GetPrintout(*args
, **kwargs
):
3504 """GetPrintout() -> Printout"""
3505 return _windows
.PrintPreview_GetPrintout(*args
, **kwargs
)
3507 def GetPrintoutForPrinting(*args
, **kwargs
):
3508 """GetPrintoutForPrinting() -> Printout"""
3509 return _windows
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
3511 def SetFrame(*args
, **kwargs
):
3512 """SetFrame(Frame frame)"""
3513 return _windows
.PrintPreview_SetFrame(*args
, **kwargs
)
3515 def SetCanvas(*args
, **kwargs
):
3516 """SetCanvas(PreviewCanvas canvas)"""
3517 return _windows
.PrintPreview_SetCanvas(*args
, **kwargs
)
3519 def GetFrame(*args
, **kwargs
):
3520 """GetFrame() -> Frame"""
3521 return _windows
.PrintPreview_GetFrame(*args
, **kwargs
)
3523 def GetCanvas(*args
, **kwargs
):
3524 """GetCanvas() -> PreviewCanvas"""
3525 return _windows
.PrintPreview_GetCanvas(*args
, **kwargs
)
3527 def PaintPage(*args
, **kwargs
):
3528 """PaintPage(PreviewCanvas canvas, DC dc) -> bool"""
3529 return _windows
.PrintPreview_PaintPage(*args
, **kwargs
)
3531 def DrawBlankPage(*args
, **kwargs
):
3532 """DrawBlankPage(PreviewCanvas canvas, DC dc) -> bool"""
3533 return _windows
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
3535 def RenderPage(*args
, **kwargs
):
3536 """RenderPage(int pageNum) -> bool"""
3537 return _windows
.PrintPreview_RenderPage(*args
, **kwargs
)
3539 def AdjustScrollbars(*args
, **kwargs
):
3540 """AdjustScrollbars(PreviewCanvas canvas)"""
3541 return _windows
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
3543 def GetPrintDialogData(*args
, **kwargs
):
3544 """GetPrintDialogData() -> PrintDialogData"""
3545 return _windows
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
3547 def SetZoom(*args
, **kwargs
):
3548 """SetZoom(int percent)"""
3549 return _windows
.PrintPreview_SetZoom(*args
, **kwargs
)
3551 def GetZoom(*args
, **kwargs
):
3552 """GetZoom() -> int"""
3553 return _windows
.PrintPreview_GetZoom(*args
, **kwargs
)
3555 def GetMaxPage(*args
, **kwargs
):
3556 """GetMaxPage() -> int"""
3557 return _windows
.PrintPreview_GetMaxPage(*args
, **kwargs
)
3559 def GetMinPage(*args
, **kwargs
):
3560 """GetMinPage() -> int"""
3561 return _windows
.PrintPreview_GetMinPage(*args
, **kwargs
)
3563 def Ok(*args
, **kwargs
):
3565 return _windows
.PrintPreview_Ok(*args
, **kwargs
)
3567 def SetOk(*args
, **kwargs
):
3568 """SetOk(bool ok)"""
3569 return _windows
.PrintPreview_SetOk(*args
, **kwargs
)
3571 def Print(*args
, **kwargs
):
3572 """Print(bool interactive) -> bool"""
3573 return _windows
.PrintPreview_Print(*args
, **kwargs
)
3575 def DetermineScaling(*args
, **kwargs
):
3576 """DetermineScaling()"""
3577 return _windows
.PrintPreview_DetermineScaling(*args
, **kwargs
)
3579 def __nonzero__(self
): return self
.Ok()
3581 class PrintPreviewPtr(PrintPreview
):
3582 def __init__(self
, this
):
3584 if not hasattr(self
,"thisown"): self
.thisown
= 0
3585 self
.__class
__ = PrintPreview
3586 _windows
.PrintPreview_swigregister(PrintPreviewPtr
)
3588 class PyPrintPreview(PrintPreview
):
3590 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3591 def __init__(self
, *args
, **kwargs
):
3592 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PyPrintPreview"""
3593 newobj
= _windows
.new_PyPrintPreview(*args
, **kwargs
)
3594 self
.this
= newobj
.this
3597 self
._setCallbackInfo
(self
, PyPrintPreview
)
3599 def _setCallbackInfo(*args
, **kwargs
):
3600 """_setCallbackInfo(PyObject self, PyObject _class)"""
3601 return _windows
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
3603 def base_SetCurrentPage(*args
, **kwargs
):
3604 """base_SetCurrentPage(int pageNum) -> bool"""
3605 return _windows
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
3607 def base_PaintPage(*args
, **kwargs
):
3608 """base_PaintPage(PreviewCanvas canvas, DC dc) -> bool"""
3609 return _windows
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
3611 def base_DrawBlankPage(*args
, **kwargs
):
3612 """base_DrawBlankPage(PreviewCanvas canvas, DC dc) -> bool"""
3613 return _windows
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
3615 def base_RenderPage(*args
, **kwargs
):
3616 """base_RenderPage(int pageNum) -> bool"""
3617 return _windows
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
3619 def base_SetZoom(*args
, **kwargs
):
3620 """base_SetZoom(int percent)"""
3621 return _windows
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
3623 def base_Print(*args
, **kwargs
):
3624 """base_Print(bool interactive) -> bool"""
3625 return _windows
.PyPrintPreview_base_Print(*args
, **kwargs
)
3627 def base_DetermineScaling(*args
, **kwargs
):
3628 """base_DetermineScaling()"""
3629 return _windows
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
3632 class PyPrintPreviewPtr(PyPrintPreview
):
3633 def __init__(self
, this
):
3635 if not hasattr(self
,"thisown"): self
.thisown
= 0
3636 self
.__class
__ = PyPrintPreview
3637 _windows
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
3639 class PyPreviewFrame(PreviewFrame
):
3641 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3642 def __init__(self
, *args
, **kwargs
):
3644 __init__(PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
3645 Size size=DefaultSize,
3646 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
3648 newobj
= _windows
.new_PyPreviewFrame(*args
, **kwargs
)
3649 self
.this
= newobj
.this
3652 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
3654 def _setCallbackInfo(*args
, **kwargs
):
3655 """_setCallbackInfo(PyObject self, PyObject _class)"""
3656 return _windows
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
3658 def SetPreviewCanvas(*args
, **kwargs
):
3659 """SetPreviewCanvas(PreviewCanvas canvas)"""
3660 return _windows
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
3662 def SetControlBar(*args
, **kwargs
):
3663 """SetControlBar(PreviewControlBar bar)"""
3664 return _windows
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
3666 def base_Initialize(*args
, **kwargs
):
3667 """base_Initialize()"""
3668 return _windows
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
3670 def base_CreateCanvas(*args
, **kwargs
):
3671 """base_CreateCanvas()"""
3672 return _windows
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
3674 def base_CreateControlBar(*args
, **kwargs
):
3675 """base_CreateControlBar()"""
3676 return _windows
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
3679 class PyPreviewFramePtr(PyPreviewFrame
):
3680 def __init__(self
, this
):
3682 if not hasattr(self
,"thisown"): self
.thisown
= 0
3683 self
.__class
__ = PyPreviewFrame
3684 _windows
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
3686 class PyPreviewControlBar(PreviewControlBar
):
3688 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3689 def __init__(self
, *args
, **kwargs
):
3691 __init__(PrintPreview preview, long buttons, Window parent,
3692 Point pos=DefaultPosition, Size size=DefaultSize,
3693 long style=0, String name=PanelNameStr) -> PyPreviewControlBar
3695 newobj
= _windows
.new_PyPreviewControlBar(*args
, **kwargs
)
3696 self
.this
= newobj
.this
3699 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
3701 def _setCallbackInfo(*args
, **kwargs
):
3702 """_setCallbackInfo(PyObject self, PyObject _class)"""
3703 return _windows
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
3705 def SetPrintPreview(*args
, **kwargs
):
3706 """SetPrintPreview(PrintPreview preview)"""
3707 return _windows
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
3709 def base_CreateButtons(*args
, **kwargs
):
3710 """base_CreateButtons()"""
3711 return _windows
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
3713 def base_SetZoomControl(*args
, **kwargs
):
3714 """base_SetZoomControl(int zoom)"""
3715 return _windows
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
3718 class PyPreviewControlBarPtr(PyPreviewControlBar
):
3719 def __init__(self
, this
):
3721 if not hasattr(self
,"thisown"): self
.thisown
= 0
3722 self
.__class
__ = PyPreviewControlBar
3723 _windows
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)