1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
8 #---------------------------------------------------------------------------
10 class Panel(core
.Window
):
12 return "<%s.%s; proxy of C++ wxPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
13 def __init__(self
, *args
, **kwargs
):
15 __init__(Window parent, int id=-1, Point pos=DefaultPosition,
16 Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
17 String name=PanelNameStr) -> Panel
19 newobj
= _windows
.new_Panel(*args
, **kwargs
)
20 self
.this
= newobj
.this
23 self
._setOORInfo
(self
)
25 def Create(*args
, **kwargs
):
27 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
28 long style=wxTAB_TRAVERSAL|wxNO_BORDER,
29 String name=PanelNameStr) -> bool
31 return _windows
.Panel_Create(*args
, **kwargs
)
33 def InitDialog(*args
, **kwargs
):
35 return _windows
.Panel_InitDialog(*args
, **kwargs
)
38 class PanelPtr(Panel
):
39 def __init__(self
, this
):
41 if not hasattr(self
,"thisown"): self
.thisown
= 0
42 self
.__class
__ = Panel
43 _windows
.Panel_swigregister(PanelPtr
)
45 def PrePanel(*args
, **kwargs
):
46 """PrePanel() -> Panel"""
47 val
= _windows
.new_PrePanel(*args
, **kwargs
)
51 #---------------------------------------------------------------------------
53 class ScrolledWindow(Panel
):
55 return "<%s.%s; proxy of C++ wxScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
56 def __init__(self
, *args
, **kwargs
):
58 __init__(Window parent, int id=-1, Point pos=DefaultPosition,
59 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
60 String name=PanelNameStr) -> ScrolledWindow
62 newobj
= _windows
.new_ScrolledWindow(*args
, **kwargs
)
63 self
.this
= newobj
.this
66 self
._setOORInfo
(self
)
68 def Create(*args
, **kwargs
):
70 Create(Window parent, int id=-1, Point pos=DefaultPosition,
71 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
72 String name=PanelNameStr) -> bool
74 return _windows
.ScrolledWindow_Create(*args
, **kwargs
)
76 def SetScrollbars(*args
, **kwargs
):
78 SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX,
79 int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)
81 return _windows
.ScrolledWindow_SetScrollbars(*args
, **kwargs
)
83 def Scroll(*args
, **kwargs
):
84 """Scroll(int x, int y)"""
85 return _windows
.ScrolledWindow_Scroll(*args
, **kwargs
)
87 def GetScrollPageSize(*args
, **kwargs
):
88 """GetScrollPageSize(int orient) -> int"""
89 return _windows
.ScrolledWindow_GetScrollPageSize(*args
, **kwargs
)
91 def SetScrollPageSize(*args
, **kwargs
):
92 """SetScrollPageSize(int orient, int pageSize)"""
93 return _windows
.ScrolledWindow_SetScrollPageSize(*args
, **kwargs
)
95 def SetScrollRate(*args
, **kwargs
):
96 """SetScrollRate(int xstep, int ystep)"""
97 return _windows
.ScrolledWindow_SetScrollRate(*args
, **kwargs
)
99 def GetScrollPixelsPerUnit(*args
, **kwargs
):
101 GetScrollPixelsPerUnit() -> (xUnit, yUnit)
103 Get the size of one logical unit in physical units.
105 return _windows
.ScrolledWindow_GetScrollPixelsPerUnit(*args
, **kwargs
)
107 def EnableScrolling(*args
, **kwargs
):
108 """EnableScrolling(bool x_scrolling, bool y_scrolling)"""
109 return _windows
.ScrolledWindow_EnableScrolling(*args
, **kwargs
)
111 def GetViewStart(*args
, **kwargs
):
113 GetViewStart() -> (x,y)
117 return _windows
.ScrolledWindow_GetViewStart(*args
, **kwargs
)
119 def SetScale(*args
, **kwargs
):
120 """SetScale(double xs, double ys)"""
121 return _windows
.ScrolledWindow_SetScale(*args
, **kwargs
)
123 def GetScaleX(*args
, **kwargs
):
124 """GetScaleX() -> double"""
125 return _windows
.ScrolledWindow_GetScaleX(*args
, **kwargs
)
127 def GetScaleY(*args
, **kwargs
):
128 """GetScaleY() -> double"""
129 return _windows
.ScrolledWindow_GetScaleY(*args
, **kwargs
)
131 def CalcScrolledPosition(*args
):
133 CalcScrolledPosition(Point pt) -> Point
134 CalcScrolledPosition(int x, int y) -> (sx, sy)
136 Translate between scrolled and unscrolled coordinates.
138 return _windows
.ScrolledWindow_CalcScrolledPosition(*args
)
140 def CalcUnscrolledPosition(*args
):
142 CalcUnscrolledPosition(Point pt) -> Point
143 CalcUnscrolledPosition(int x, int y) -> (ux, uy)
145 Translate between scrolled and unscrolled coordinates.
147 return _windows
.ScrolledWindow_CalcUnscrolledPosition(*args
)
149 def AdjustScrollbars(*args
, **kwargs
):
150 """AdjustScrollbars()"""
151 return _windows
.ScrolledWindow_AdjustScrollbars(*args
, **kwargs
)
153 def CalcScrollInc(*args
, **kwargs
):
154 """CalcScrollInc(ScrollWinEvent event) -> int"""
155 return _windows
.ScrolledWindow_CalcScrollInc(*args
, **kwargs
)
157 def SetTargetWindow(*args
, **kwargs
):
158 """SetTargetWindow(Window target)"""
159 return _windows
.ScrolledWindow_SetTargetWindow(*args
, **kwargs
)
161 def GetTargetWindow(*args
, **kwargs
):
162 """GetTargetWindow() -> Window"""
163 return _windows
.ScrolledWindow_GetTargetWindow(*args
, **kwargs
)
166 class ScrolledWindowPtr(ScrolledWindow
):
167 def __init__(self
, this
):
169 if not hasattr(self
,"thisown"): self
.thisown
= 0
170 self
.__class
__ = ScrolledWindow
171 _windows
.ScrolledWindow_swigregister(ScrolledWindowPtr
)
173 def PreScrolledWindow(*args
, **kwargs
):
174 """PreScrolledWindow() -> ScrolledWindow"""
175 val
= _windows
.new_PreScrolledWindow(*args
, **kwargs
)
179 #---------------------------------------------------------------------------
181 FULLSCREEN_NOMENUBAR
= _windows
.FULLSCREEN_NOMENUBAR
182 FULLSCREEN_NOTOOLBAR
= _windows
.FULLSCREEN_NOTOOLBAR
183 FULLSCREEN_NOSTATUSBAR
= _windows
.FULLSCREEN_NOSTATUSBAR
184 FULLSCREEN_NOBORDER
= _windows
.FULLSCREEN_NOBORDER
185 FULLSCREEN_NOCAPTION
= _windows
.FULLSCREEN_NOCAPTION
186 FULLSCREEN_ALL
= _windows
.FULLSCREEN_ALL
187 TOPLEVEL_EX_DIALOG
= _windows
.TOPLEVEL_EX_DIALOG
188 class TopLevelWindow(core
.Window
):
189 def __init__(self
): raise RuntimeError, "No constructor defined"
191 return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
192 def Maximize(*args
, **kwargs
):
193 """Maximize(bool maximize=True)"""
194 return _windows
.TopLevelWindow_Maximize(*args
, **kwargs
)
196 def Restore(*args
, **kwargs
):
198 return _windows
.TopLevelWindow_Restore(*args
, **kwargs
)
200 def Iconize(*args
, **kwargs
):
201 """Iconize(bool iconize=True)"""
202 return _windows
.TopLevelWindow_Iconize(*args
, **kwargs
)
204 def IsMaximized(*args
, **kwargs
):
205 """IsMaximized() -> bool"""
206 return _windows
.TopLevelWindow_IsMaximized(*args
, **kwargs
)
208 def IsIconized(*args
, **kwargs
):
209 """IsIconized() -> bool"""
210 return _windows
.TopLevelWindow_IsIconized(*args
, **kwargs
)
212 def GetIcon(*args
, **kwargs
):
213 """GetIcon() -> Icon"""
214 return _windows
.TopLevelWindow_GetIcon(*args
, **kwargs
)
216 def SetIcon(*args
, **kwargs
):
217 """SetIcon(Icon icon)"""
218 return _windows
.TopLevelWindow_SetIcon(*args
, **kwargs
)
220 def SetIcons(*args
, **kwargs
):
221 """SetIcons(wxIconBundle icons)"""
222 return _windows
.TopLevelWindow_SetIcons(*args
, **kwargs
)
224 def ShowFullScreen(*args
, **kwargs
):
225 """ShowFullScreen(bool show, long style=FULLSCREEN_ALL) -> bool"""
226 return _windows
.TopLevelWindow_ShowFullScreen(*args
, **kwargs
)
228 def IsFullScreen(*args
, **kwargs
):
229 """IsFullScreen() -> bool"""
230 return _windows
.TopLevelWindow_IsFullScreen(*args
, **kwargs
)
232 def SetTitle(*args
, **kwargs
):
233 """SetTitle(String title)"""
234 return _windows
.TopLevelWindow_SetTitle(*args
, **kwargs
)
236 def GetTitle(*args
, **kwargs
):
237 """GetTitle() -> String"""
238 return _windows
.TopLevelWindow_GetTitle(*args
, **kwargs
)
240 def SetShape(*args
, **kwargs
):
241 """SetShape(Region region) -> bool"""
242 return _windows
.TopLevelWindow_SetShape(*args
, **kwargs
)
245 class TopLevelWindowPtr(TopLevelWindow
):
246 def __init__(self
, this
):
248 if not hasattr(self
,"thisown"): self
.thisown
= 0
249 self
.__class
__ = TopLevelWindow
250 _windows
.TopLevelWindow_swigregister(TopLevelWindowPtr
)
252 FrameNameStr
= cvar
.FrameNameStr
253 DialogNameStr
= cvar
.DialogNameStr
254 StatusLineNameStr
= cvar
.StatusLineNameStr
255 ToolBarNameStr
= cvar
.ToolBarNameStr
257 #---------------------------------------------------------------------------
259 class Frame(TopLevelWindow
):
261 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
262 def __init__(self
, *args
, **kwargs
):
264 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
265 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
266 String name=FrameNameStr) -> Frame
268 newobj
= _windows
.new_Frame(*args
, **kwargs
)
269 self
.this
= newobj
.this
272 self
._setOORInfo
(self
)
274 def Create(*args
, **kwargs
):
276 Create(Window parent, int id, String title, Point pos=DefaultPosition,
277 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
278 String name=FrameNameStr) -> bool
280 return _windows
.Frame_Create(*args
, **kwargs
)
282 def GetClientAreaOrigin(*args
, **kwargs
):
283 """GetClientAreaOrigin() -> Point"""
284 return _windows
.Frame_GetClientAreaOrigin(*args
, **kwargs
)
286 def SendSizeEvent(*args
, **kwargs
):
287 """SendSizeEvent()"""
288 return _windows
.Frame_SendSizeEvent(*args
, **kwargs
)
290 def SetMenuBar(*args
, **kwargs
):
291 """SetMenuBar(MenuBar menubar)"""
292 return _windows
.Frame_SetMenuBar(*args
, **kwargs
)
294 def GetMenuBar(*args
, **kwargs
):
295 """GetMenuBar() -> MenuBar"""
296 return _windows
.Frame_GetMenuBar(*args
, **kwargs
)
298 def ProcessCommand(*args
, **kwargs
):
299 """ProcessCommand(int winid) -> bool"""
300 return _windows
.Frame_ProcessCommand(*args
, **kwargs
)
302 Command
= ProcessCommand
303 def CreateStatusBar(*args
, **kwargs
):
305 CreateStatusBar(int number=1, long style=ST_SIZEGRIP, int winid=0,
306 String name=StatusLineNameStr) -> StatusBar
308 return _windows
.Frame_CreateStatusBar(*args
, **kwargs
)
310 def GetStatusBar(*args
, **kwargs
):
311 """GetStatusBar() -> StatusBar"""
312 return _windows
.Frame_GetStatusBar(*args
, **kwargs
)
314 def SetStatusBar(*args
, **kwargs
):
315 """SetStatusBar(StatusBar statBar)"""
316 return _windows
.Frame_SetStatusBar(*args
, **kwargs
)
318 def SetStatusText(*args
, **kwargs
):
319 """SetStatusText(String text, int number=0)"""
320 return _windows
.Frame_SetStatusText(*args
, **kwargs
)
322 def SetStatusWidths(*args
, **kwargs
):
323 """SetStatusWidths(int widths, int widths_field)"""
324 return _windows
.Frame_SetStatusWidths(*args
, **kwargs
)
326 def PushStatusText(*args
, **kwargs
):
327 """PushStatusText(String text, int number=0)"""
328 return _windows
.Frame_PushStatusText(*args
, **kwargs
)
330 def PopStatusText(*args
, **kwargs
):
331 """PopStatusText(int number=0)"""
332 return _windows
.Frame_PopStatusText(*args
, **kwargs
)
334 def SetStatusBarPane(*args
, **kwargs
):
335 """SetStatusBarPane(int n)"""
336 return _windows
.Frame_SetStatusBarPane(*args
, **kwargs
)
338 def GetStatusBarPane(*args
, **kwargs
):
339 """GetStatusBarPane() -> int"""
340 return _windows
.Frame_GetStatusBarPane(*args
, **kwargs
)
342 def CreateToolBar(*args
, **kwargs
):
343 """CreateToolBar(long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar"""
344 return _windows
.Frame_CreateToolBar(*args
, **kwargs
)
346 def GetToolBar(*args
, **kwargs
):
347 """GetToolBar() -> wxToolBar"""
348 return _windows
.Frame_GetToolBar(*args
, **kwargs
)
350 def SetToolBar(*args
, **kwargs
):
351 """SetToolBar(wxToolBar toolbar)"""
352 return _windows
.Frame_SetToolBar(*args
, **kwargs
)
354 def DoGiveHelp(*args
, **kwargs
):
355 """DoGiveHelp(String text, bool show)"""
356 return _windows
.Frame_DoGiveHelp(*args
, **kwargs
)
358 def DoMenuUpdates(*args
, **kwargs
):
359 """DoMenuUpdates(Menu menu=None)"""
360 return _windows
.Frame_DoMenuUpdates(*args
, **kwargs
)
363 class FramePtr(Frame
):
364 def __init__(self
, this
):
366 if not hasattr(self
,"thisown"): self
.thisown
= 0
367 self
.__class
__ = Frame
368 _windows
.Frame_swigregister(FramePtr
)
370 def PreFrame(*args
, **kwargs
):
371 """PreFrame() -> Frame"""
372 val
= _windows
.new_PreFrame(*args
, **kwargs
)
376 #---------------------------------------------------------------------------
378 class Dialog(TopLevelWindow
):
380 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
381 def __init__(self
, *args
, **kwargs
):
383 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
384 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
385 String name=DialogNameStr) -> Dialog
387 newobj
= _windows
.new_Dialog(*args
, **kwargs
)
388 self
.this
= newobj
.this
391 self
._setOORInfo
(self
)
393 def Create(*args
, **kwargs
):
395 Create(Window parent, int id, String title, Point pos=DefaultPosition,
396 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
397 String name=DialogNameStr) -> bool
399 return _windows
.Dialog_Create(*args
, **kwargs
)
401 def SetReturnCode(*args
, **kwargs
):
402 """SetReturnCode(int returnCode)"""
403 return _windows
.Dialog_SetReturnCode(*args
, **kwargs
)
405 def GetReturnCode(*args
, **kwargs
):
406 """GetReturnCode() -> int"""
407 return _windows
.Dialog_GetReturnCode(*args
, **kwargs
)
409 def CreateTextSizer(*args
, **kwargs
):
410 """CreateTextSizer(String message) -> Sizer"""
411 return _windows
.Dialog_CreateTextSizer(*args
, **kwargs
)
413 def CreateButtonSizer(*args
, **kwargs
):
414 """CreateButtonSizer(long flags) -> Sizer"""
415 return _windows
.Dialog_CreateButtonSizer(*args
, **kwargs
)
417 def IsModal(*args
, **kwargs
):
418 """IsModal() -> bool"""
419 return _windows
.Dialog_IsModal(*args
, **kwargs
)
421 def ShowModal(*args
, **kwargs
):
422 """ShowModal() -> int"""
423 return _windows
.Dialog_ShowModal(*args
, **kwargs
)
425 def EndModal(*args
, **kwargs
):
426 """EndModal(int retCode)"""
427 return _windows
.Dialog_EndModal(*args
, **kwargs
)
429 def IsModalShowing(*args
, **kwargs
):
430 """IsModalShowing() -> bool"""
431 return _windows
.Dialog_IsModalShowing(*args
, **kwargs
)
434 class DialogPtr(Dialog
):
435 def __init__(self
, this
):
437 if not hasattr(self
,"thisown"): self
.thisown
= 0
438 self
.__class
__ = Dialog
439 _windows
.Dialog_swigregister(DialogPtr
)
441 def PreDialog(*args
, **kwargs
):
442 """PreDialog() -> Dialog"""
443 val
= _windows
.new_PreDialog(*args
, **kwargs
)
447 #---------------------------------------------------------------------------
449 class MiniFrame(Frame
):
451 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
452 def __init__(self
, *args
, **kwargs
):
454 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
455 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
456 String name=FrameNameStr) -> MiniFrame
458 newobj
= _windows
.new_MiniFrame(*args
, **kwargs
)
459 self
.this
= newobj
.this
462 self
._setOORInfo
(self
)
464 def Create(*args
, **kwargs
):
466 Create(Window parent, int id, String title, Point pos=DefaultPosition,
467 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
468 String name=FrameNameStr) -> bool
470 return _windows
.MiniFrame_Create(*args
, **kwargs
)
473 class MiniFramePtr(MiniFrame
):
474 def __init__(self
, this
):
476 if not hasattr(self
,"thisown"): self
.thisown
= 0
477 self
.__class
__ = MiniFrame
478 _windows
.MiniFrame_swigregister(MiniFramePtr
)
480 def PreMiniFrame(*args
, **kwargs
):
481 """PreMiniFrame() -> MiniFrame"""
482 val
= _windows
.new_PreMiniFrame(*args
, **kwargs
)
486 #---------------------------------------------------------------------------
488 SPLASH_CENTRE_ON_PARENT
= _windows
.SPLASH_CENTRE_ON_PARENT
489 SPLASH_CENTRE_ON_SCREEN
= _windows
.SPLASH_CENTRE_ON_SCREEN
490 SPLASH_NO_CENTRE
= _windows
.SPLASH_NO_CENTRE
491 SPLASH_TIMEOUT
= _windows
.SPLASH_TIMEOUT
492 SPLASH_NO_TIMEOUT
= _windows
.SPLASH_NO_TIMEOUT
493 class SplashScreenWindow(core
.Window
):
495 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
496 def __init__(self
, *args
, **kwargs
):
498 __init__(Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
499 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
501 newobj
= _windows
.new_SplashScreenWindow(*args
, **kwargs
)
502 self
.this
= newobj
.this
505 self
._setOORInfo
(self
)
507 def SetBitmap(*args
, **kwargs
):
508 """SetBitmap(Bitmap bitmap)"""
509 return _windows
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
511 def GetBitmap(*args
, **kwargs
):
512 """GetBitmap() -> Bitmap"""
513 return _windows
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
516 class SplashScreenWindowPtr(SplashScreenWindow
):
517 def __init__(self
, this
):
519 if not hasattr(self
,"thisown"): self
.thisown
= 0
520 self
.__class
__ = SplashScreenWindow
521 _windows
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
523 class SplashScreen(Frame
):
525 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
526 def __init__(self
, *args
, **kwargs
):
528 __init__(Bitmap bitmap, long splashStyle, int milliseconds,
529 Window parent, int id, Point pos=DefaultPosition,
530 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
532 newobj
= _windows
.new_SplashScreen(*args
, **kwargs
)
533 self
.this
= newobj
.this
536 self
._setOORInfo
(self
)
538 def GetSplashStyle(*args
, **kwargs
):
539 """GetSplashStyle() -> long"""
540 return _windows
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
542 def GetSplashWindow(*args
, **kwargs
):
543 """GetSplashWindow() -> SplashScreenWindow"""
544 return _windows
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
546 def GetTimeout(*args
, **kwargs
):
547 """GetTimeout() -> int"""
548 return _windows
.SplashScreen_GetTimeout(*args
, **kwargs
)
551 class SplashScreenPtr(SplashScreen
):
552 def __init__(self
, this
):
554 if not hasattr(self
,"thisown"): self
.thisown
= 0
555 self
.__class
__ = SplashScreen
556 _windows
.SplashScreen_swigregister(SplashScreenPtr
)
558 #---------------------------------------------------------------------------
560 class StatusBar(core
.Window
):
562 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
563 def __init__(self
, *args
, **kwargs
):
564 """__init__(Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> StatusBar"""
565 newobj
= _windows
.new_StatusBar(*args
, **kwargs
)
566 self
.this
= newobj
.this
569 self
._setOORInfo
(self
)
571 def Create(*args
, **kwargs
):
572 """Create(Window parent, int id, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
573 return _windows
.StatusBar_Create(*args
, **kwargs
)
575 def SetFieldsCount(*args
, **kwargs
):
576 """SetFieldsCount(int number=1)"""
577 return _windows
.StatusBar_SetFieldsCount(*args
, **kwargs
)
579 def GetFieldsCount(*args
, **kwargs
):
580 """GetFieldsCount() -> int"""
581 return _windows
.StatusBar_GetFieldsCount(*args
, **kwargs
)
583 def SetStatusText(*args
, **kwargs
):
584 """SetStatusText(String text, int number=0)"""
585 return _windows
.StatusBar_SetStatusText(*args
, **kwargs
)
587 def GetStatusText(*args
, **kwargs
):
588 """GetStatusText(int number=0) -> String"""
589 return _windows
.StatusBar_GetStatusText(*args
, **kwargs
)
591 def PushStatusText(*args
, **kwargs
):
592 """PushStatusText(String text, int number=0)"""
593 return _windows
.StatusBar_PushStatusText(*args
, **kwargs
)
595 def PopStatusText(*args
, **kwargs
):
596 """PopStatusText(int number=0)"""
597 return _windows
.StatusBar_PopStatusText(*args
, **kwargs
)
599 def SetStatusWidths(*args
, **kwargs
):
600 """SetStatusWidths(int widths, int widths_field)"""
601 return _windows
.StatusBar_SetStatusWidths(*args
, **kwargs
)
603 def GetFieldRect(*args
, **kwargs
):
604 """GetFieldRect(int i) -> Rect"""
605 return _windows
.StatusBar_GetFieldRect(*args
, **kwargs
)
607 def SetMinHeight(*args
, **kwargs
):
608 """SetMinHeight(int height)"""
609 return _windows
.StatusBar_SetMinHeight(*args
, **kwargs
)
611 def GetBorderX(*args
, **kwargs
):
612 """GetBorderX() -> int"""
613 return _windows
.StatusBar_GetBorderX(*args
, **kwargs
)
615 def GetBorderY(*args
, **kwargs
):
616 """GetBorderY() -> int"""
617 return _windows
.StatusBar_GetBorderY(*args
, **kwargs
)
620 class StatusBarPtr(StatusBar
):
621 def __init__(self
, this
):
623 if not hasattr(self
,"thisown"): self
.thisown
= 0
624 self
.__class
__ = StatusBar
625 _windows
.StatusBar_swigregister(StatusBarPtr
)
627 def PreStatusBar(*args
, **kwargs
):
628 """PreStatusBar() -> StatusBar"""
629 val
= _windows
.new_PreStatusBar(*args
, **kwargs
)
633 #---------------------------------------------------------------------------
635 SP_NOBORDER
= _windows
.SP_NOBORDER
636 SP_NOSASH
= _windows
.SP_NOSASH
637 SP_PERMIT_UNSPLIT
= _windows
.SP_PERMIT_UNSPLIT
638 SP_LIVE_UPDATE
= _windows
.SP_LIVE_UPDATE
639 SP_3DSASH
= _windows
.SP_3DSASH
640 SP_3DBORDER
= _windows
.SP_3DBORDER
641 SP_BORDER
= _windows
.SP_BORDER
642 SP_3D
= _windows
.SP_3D
643 SPLIT_HORIZONTAL
= _windows
.SPLIT_HORIZONTAL
644 SPLIT_VERTICAL
= _windows
.SPLIT_VERTICAL
645 SPLIT_DRAG_NONE
= _windows
.SPLIT_DRAG_NONE
646 SPLIT_DRAG_DRAGGING
= _windows
.SPLIT_DRAG_DRAGGING
647 SPLIT_DRAG_LEFT_DOWN
= _windows
.SPLIT_DRAG_LEFT_DOWN
648 class SplitterWindow(core
.Window
):
650 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
651 def __init__(self
, *args
, **kwargs
):
653 __init__(Window parent, int id, Point point=DefaultPosition,
654 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
656 newobj
= _windows
.new_SplitterWindow(*args
, **kwargs
)
657 self
.this
= newobj
.this
660 self
._setOORInfo
(self
)
662 def Create(*args
, **kwargs
):
664 Create(Window parent, int id, Point point=DefaultPosition,
665 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool
667 return _windows
.SplitterWindow_Create(*args
, **kwargs
)
669 def GetWindow1(*args
, **kwargs
):
670 """GetWindow1() -> Window"""
671 return _windows
.SplitterWindow_GetWindow1(*args
, **kwargs
)
673 def GetWindow2(*args
, **kwargs
):
674 """GetWindow2() -> Window"""
675 return _windows
.SplitterWindow_GetWindow2(*args
, **kwargs
)
677 def SetSplitMode(*args
, **kwargs
):
678 """SetSplitMode(int mode)"""
679 return _windows
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
681 def GetSplitMode(*args
, **kwargs
):
682 """GetSplitMode() -> int"""
683 return _windows
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
685 def Initialize(*args
, **kwargs
):
686 """Initialize(Window window)"""
687 return _windows
.SplitterWindow_Initialize(*args
, **kwargs
)
689 def SplitVertically(*args
, **kwargs
):
690 """SplitVertically(Window window1, Window window2, int sashPosition=0) -> bool"""
691 return _windows
.SplitterWindow_SplitVertically(*args
, **kwargs
)
693 def SplitHorizontally(*args
, **kwargs
):
694 """SplitHorizontally(Window window1, Window window2, int sashPosition=0) -> bool"""
695 return _windows
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
697 def Unsplit(*args
, **kwargs
):
698 """Unsplit(Window toRemove=None) -> bool"""
699 return _windows
.SplitterWindow_Unsplit(*args
, **kwargs
)
701 def ReplaceWindow(*args
, **kwargs
):
702 """ReplaceWindow(Window winOld, Window winNew) -> bool"""
703 return _windows
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
705 def IsSplit(*args
, **kwargs
):
706 """IsSplit() -> bool"""
707 return _windows
.SplitterWindow_IsSplit(*args
, **kwargs
)
709 def SetSashSize(*args
, **kwargs
):
710 """SetSashSize(int width)"""
711 return _windows
.SplitterWindow_SetSashSize(*args
, **kwargs
)
713 def SetBorderSize(*args
, **kwargs
):
714 """SetBorderSize(int width)"""
715 return _windows
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
717 def GetSashSize(*args
, **kwargs
):
718 """GetSashSize() -> int"""
719 return _windows
.SplitterWindow_GetSashSize(*args
, **kwargs
)
721 def GetBorderSize(*args
, **kwargs
):
722 """GetBorderSize() -> int"""
723 return _windows
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
725 def SetSashPosition(*args
, **kwargs
):
726 """SetSashPosition(int position, bool redraw=True)"""
727 return _windows
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
729 def GetSashPosition(*args
, **kwargs
):
730 """GetSashPosition() -> int"""
731 return _windows
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
733 def SetMinimumPaneSize(*args
, **kwargs
):
734 """SetMinimumPaneSize(int min)"""
735 return _windows
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
737 def GetMinimumPaneSize(*args
, **kwargs
):
738 """GetMinimumPaneSize() -> int"""
739 return _windows
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
741 def SashHitTest(*args
, **kwargs
):
742 """SashHitTest(int x, int y, int tolerance=5) -> bool"""
743 return _windows
.SplitterWindow_SashHitTest(*args
, **kwargs
)
745 def SizeWindows(*args
, **kwargs
):
747 return _windows
.SplitterWindow_SizeWindows(*args
, **kwargs
)
749 def SetNeedUpdating(*args
, **kwargs
):
750 """SetNeedUpdating(bool needUpdating)"""
751 return _windows
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
753 def GetNeedUpdating(*args
, **kwargs
):
754 """GetNeedUpdating() -> bool"""
755 return _windows
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
758 class SplitterWindowPtr(SplitterWindow
):
759 def __init__(self
, this
):
761 if not hasattr(self
,"thisown"): self
.thisown
= 0
762 self
.__class
__ = SplitterWindow
763 _windows
.SplitterWindow_swigregister(SplitterWindowPtr
)
764 SplitterNameStr
= cvar
.SplitterNameStr
766 def PreSplitterWindow(*args
, **kwargs
):
767 """PreSplitterWindow() -> SplitterWindow"""
768 val
= _windows
.new_PreSplitterWindow(*args
, **kwargs
)
772 class SplitterEvent(core
.NotifyEvent
):
774 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
775 def __init__(self
, *args
, **kwargs
):
776 """__init__(wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent"""
777 newobj
= _windows
.new_SplitterEvent(*args
, **kwargs
)
778 self
.this
= newobj
.this
781 def SetSashPosition(*args
, **kwargs
):
782 """SetSashPosition(int pos)"""
783 return _windows
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
785 def GetSashPosition(*args
, **kwargs
):
786 """GetSashPosition() -> int"""
787 return _windows
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
789 def GetWindowBeingRemoved(*args
, **kwargs
):
790 """GetWindowBeingRemoved() -> Window"""
791 return _windows
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
793 def GetX(*args
, **kwargs
):
795 return _windows
.SplitterEvent_GetX(*args
, **kwargs
)
797 def GetY(*args
, **kwargs
):
799 return _windows
.SplitterEvent_GetY(*args
, **kwargs
)
802 class SplitterEventPtr(SplitterEvent
):
803 def __init__(self
, this
):
805 if not hasattr(self
,"thisown"): self
.thisown
= 0
806 self
.__class
__ = SplitterEvent
807 _windows
.SplitterEvent_swigregister(SplitterEventPtr
)
809 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
810 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
811 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
812 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows
.wxEVT_COMMAND_SPLITTER_UNSPLIT
813 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
814 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
815 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
816 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
818 #---------------------------------------------------------------------------
820 SASH_DRAG_NONE
= _windows
.SASH_DRAG_NONE
821 SASH_DRAG_DRAGGING
= _windows
.SASH_DRAG_DRAGGING
822 SASH_DRAG_LEFT_DOWN
= _windows
.SASH_DRAG_LEFT_DOWN
823 SW_NOBORDER
= _windows
.SW_NOBORDER
824 SW_BORDER
= _windows
.SW_BORDER
825 SW_3DSASH
= _windows
.SW_3DSASH
826 SW_3DBORDER
= _windows
.SW_3DBORDER
827 SW_3D
= _windows
.SW_3D
828 SASH_TOP
= _windows
.SASH_TOP
829 SASH_RIGHT
= _windows
.SASH_RIGHT
830 SASH_BOTTOM
= _windows
.SASH_BOTTOM
831 SASH_LEFT
= _windows
.SASH_LEFT
832 SASH_NONE
= _windows
.SASH_NONE
833 class SashWindow(core
.Window
):
835 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
836 def __init__(self
, *args
, **kwargs
):
838 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
839 long style=wxCLIP_CHILDREN|wxSW_3D,
840 String name=SashNameStr) -> SashWindow
842 newobj
= _windows
.new_SashWindow(*args
, **kwargs
)
843 self
.this
= newobj
.this
846 self
._setOORInfo
(self
)
848 def Create(*args
, **kwargs
):
850 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
851 long style=wxCLIP_CHILDREN|wxSW_3D,
852 String name=SashNameStr) -> bool
854 return _windows
.SashWindow_Create(*args
, **kwargs
)
856 def SetSashVisible(*args
, **kwargs
):
857 """SetSashVisible(int edge, bool sash)"""
858 return _windows
.SashWindow_SetSashVisible(*args
, **kwargs
)
860 def GetSashVisible(*args
, **kwargs
):
861 """GetSashVisible(int edge) -> bool"""
862 return _windows
.SashWindow_GetSashVisible(*args
, **kwargs
)
864 def SetSashBorder(*args
, **kwargs
):
865 """SetSashBorder(int edge, bool border)"""
866 return _windows
.SashWindow_SetSashBorder(*args
, **kwargs
)
868 def HasBorder(*args
, **kwargs
):
869 """HasBorder(int edge) -> bool"""
870 return _windows
.SashWindow_HasBorder(*args
, **kwargs
)
872 def GetEdgeMargin(*args
, **kwargs
):
873 """GetEdgeMargin(int edge) -> int"""
874 return _windows
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
876 def SetDefaultBorderSize(*args
, **kwargs
):
877 """SetDefaultBorderSize(int width)"""
878 return _windows
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
880 def GetDefaultBorderSize(*args
, **kwargs
):
881 """GetDefaultBorderSize() -> int"""
882 return _windows
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
884 def SetExtraBorderSize(*args
, **kwargs
):
885 """SetExtraBorderSize(int width)"""
886 return _windows
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
888 def GetExtraBorderSize(*args
, **kwargs
):
889 """GetExtraBorderSize() -> int"""
890 return _windows
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
892 def SetMinimumSizeX(*args
, **kwargs
):
893 """SetMinimumSizeX(int min)"""
894 return _windows
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
896 def SetMinimumSizeY(*args
, **kwargs
):
897 """SetMinimumSizeY(int min)"""
898 return _windows
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
900 def GetMinimumSizeX(*args
, **kwargs
):
901 """GetMinimumSizeX() -> int"""
902 return _windows
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
904 def GetMinimumSizeY(*args
, **kwargs
):
905 """GetMinimumSizeY() -> int"""
906 return _windows
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
908 def SetMaximumSizeX(*args
, **kwargs
):
909 """SetMaximumSizeX(int max)"""
910 return _windows
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
912 def SetMaximumSizeY(*args
, **kwargs
):
913 """SetMaximumSizeY(int max)"""
914 return _windows
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
916 def GetMaximumSizeX(*args
, **kwargs
):
917 """GetMaximumSizeX() -> int"""
918 return _windows
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
920 def GetMaximumSizeY(*args
, **kwargs
):
921 """GetMaximumSizeY() -> int"""
922 return _windows
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
924 def SashHitTest(*args
, **kwargs
):
925 """SashHitTest(int x, int y, int tolerance=2) -> int"""
926 return _windows
.SashWindow_SashHitTest(*args
, **kwargs
)
928 def SizeWindows(*args
, **kwargs
):
930 return _windows
.SashWindow_SizeWindows(*args
, **kwargs
)
933 class SashWindowPtr(SashWindow
):
934 def __init__(self
, this
):
936 if not hasattr(self
,"thisown"): self
.thisown
= 0
937 self
.__class
__ = SashWindow
938 _windows
.SashWindow_swigregister(SashWindowPtr
)
939 SashNameStr
= cvar
.SashNameStr
940 SashLayoutNameStr
= cvar
.SashLayoutNameStr
942 def PreSashWindow(*args
, **kwargs
):
943 """PreSashWindow() -> SashWindow"""
944 val
= _windows
.new_PreSashWindow(*args
, **kwargs
)
948 SASH_STATUS_OK
= _windows
.SASH_STATUS_OK
949 SASH_STATUS_OUT_OF_RANGE
= _windows
.SASH_STATUS_OUT_OF_RANGE
950 class SashEvent(core
.CommandEvent
):
952 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
953 def __init__(self
, *args
, **kwargs
):
954 """__init__(int id=0, int edge=SASH_NONE) -> SashEvent"""
955 newobj
= _windows
.new_SashEvent(*args
, **kwargs
)
956 self
.this
= newobj
.this
959 def SetEdge(*args
, **kwargs
):
960 """SetEdge(int edge)"""
961 return _windows
.SashEvent_SetEdge(*args
, **kwargs
)
963 def GetEdge(*args
, **kwargs
):
964 """GetEdge() -> int"""
965 return _windows
.SashEvent_GetEdge(*args
, **kwargs
)
967 def SetDragRect(*args
, **kwargs
):
968 """SetDragRect(Rect rect)"""
969 return _windows
.SashEvent_SetDragRect(*args
, **kwargs
)
971 def GetDragRect(*args
, **kwargs
):
972 """GetDragRect() -> Rect"""
973 return _windows
.SashEvent_GetDragRect(*args
, **kwargs
)
975 def SetDragStatus(*args
, **kwargs
):
976 """SetDragStatus(int status)"""
977 return _windows
.SashEvent_SetDragStatus(*args
, **kwargs
)
979 def GetDragStatus(*args
, **kwargs
):
980 """GetDragStatus() -> int"""
981 return _windows
.SashEvent_GetDragStatus(*args
, **kwargs
)
984 class SashEventPtr(SashEvent
):
985 def __init__(self
, this
):
987 if not hasattr(self
,"thisown"): self
.thisown
= 0
988 self
.__class
__ = SashEvent
989 _windows
.SashEvent_swigregister(SashEventPtr
)
991 wxEVT_SASH_DRAGGED
= _windows
.wxEVT_SASH_DRAGGED
992 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
993 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
995 #---------------------------------------------------------------------------
997 LAYOUT_HORIZONTAL
= _windows
.LAYOUT_HORIZONTAL
998 LAYOUT_VERTICAL
= _windows
.LAYOUT_VERTICAL
999 LAYOUT_NONE
= _windows
.LAYOUT_NONE
1000 LAYOUT_TOP
= _windows
.LAYOUT_TOP
1001 LAYOUT_LEFT
= _windows
.LAYOUT_LEFT
1002 LAYOUT_RIGHT
= _windows
.LAYOUT_RIGHT
1003 LAYOUT_BOTTOM
= _windows
.LAYOUT_BOTTOM
1004 LAYOUT_LENGTH_Y
= _windows
.LAYOUT_LENGTH_Y
1005 LAYOUT_LENGTH_X
= _windows
.LAYOUT_LENGTH_X
1006 LAYOUT_MRU_LENGTH
= _windows
.LAYOUT_MRU_LENGTH
1007 LAYOUT_QUERY
= _windows
.LAYOUT_QUERY
1008 wxEVT_QUERY_LAYOUT_INFO
= _windows
.wxEVT_QUERY_LAYOUT_INFO
1009 wxEVT_CALCULATE_LAYOUT
= _windows
.wxEVT_CALCULATE_LAYOUT
1010 class QueryLayoutInfoEvent(core
.Event
):
1012 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1013 def __init__(self
, *args
, **kwargs
):
1014 """__init__(int id=0) -> QueryLayoutInfoEvent"""
1015 newobj
= _windows
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1016 self
.this
= newobj
.this
1019 def SetRequestedLength(*args
, **kwargs
):
1020 """SetRequestedLength(int length)"""
1021 return _windows
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1023 def GetRequestedLength(*args
, **kwargs
):
1024 """GetRequestedLength() -> int"""
1025 return _windows
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1027 def SetFlags(*args
, **kwargs
):
1028 """SetFlags(int flags)"""
1029 return _windows
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1031 def GetFlags(*args
, **kwargs
):
1032 """GetFlags() -> int"""
1033 return _windows
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1035 def SetSize(*args
, **kwargs
):
1036 """SetSize(Size size)"""
1037 return _windows
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1039 def GetSize(*args
, **kwargs
):
1040 """GetSize() -> Size"""
1041 return _windows
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1043 def SetOrientation(*args
, **kwargs
):
1044 """SetOrientation(int orient)"""
1045 return _windows
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1047 def GetOrientation(*args
, **kwargs
):
1048 """GetOrientation() -> int"""
1049 return _windows
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1051 def SetAlignment(*args
, **kwargs
):
1052 """SetAlignment(int align)"""
1053 return _windows
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1055 def GetAlignment(*args
, **kwargs
):
1056 """GetAlignment() -> int"""
1057 return _windows
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1060 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1061 def __init__(self
, this
):
1063 if not hasattr(self
,"thisown"): self
.thisown
= 0
1064 self
.__class
__ = QueryLayoutInfoEvent
1065 _windows
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1067 class CalculateLayoutEvent(core
.Event
):
1069 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1070 def __init__(self
, *args
, **kwargs
):
1071 """__init__(int id=0) -> CalculateLayoutEvent"""
1072 newobj
= _windows
.new_CalculateLayoutEvent(*args
, **kwargs
)
1073 self
.this
= newobj
.this
1076 def SetFlags(*args
, **kwargs
):
1077 """SetFlags(int flags)"""
1078 return _windows
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1080 def GetFlags(*args
, **kwargs
):
1081 """GetFlags() -> int"""
1082 return _windows
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1084 def SetRect(*args
, **kwargs
):
1085 """SetRect(Rect rect)"""
1086 return _windows
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1088 def GetRect(*args
, **kwargs
):
1089 """GetRect() -> Rect"""
1090 return _windows
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1093 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1094 def __init__(self
, this
):
1096 if not hasattr(self
,"thisown"): self
.thisown
= 0
1097 self
.__class
__ = CalculateLayoutEvent
1098 _windows
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1100 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1101 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1103 class SashLayoutWindow(SashWindow
):
1105 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1106 def __init__(self
, *args
, **kwargs
):
1108 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1109 long style=wxCLIP_CHILDREN|wxSW_3D,
1110 String name=SashLayoutNameStr) -> SashLayoutWindow
1112 newobj
= _windows
.new_SashLayoutWindow(*args
, **kwargs
)
1113 self
.this
= newobj
.this
1116 self
._setOORInfo
(self
)
1118 def Create(*args
, **kwargs
):
1120 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1121 long style=wxCLIP_CHILDREN|wxSW_3D,
1122 String name=SashLayoutNameStr) -> bool
1124 return _windows
.SashLayoutWindow_Create(*args
, **kwargs
)
1126 def GetAlignment(*args
, **kwargs
):
1127 """GetAlignment() -> int"""
1128 return _windows
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1130 def GetOrientation(*args
, **kwargs
):
1131 """GetOrientation() -> int"""
1132 return _windows
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1134 def SetAlignment(*args
, **kwargs
):
1135 """SetAlignment(int alignment)"""
1136 return _windows
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1138 def SetDefaultSize(*args
, **kwargs
):
1139 """SetDefaultSize(Size size)"""
1140 return _windows
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1142 def SetOrientation(*args
, **kwargs
):
1143 """SetOrientation(int orientation)"""
1144 return _windows
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1147 class SashLayoutWindowPtr(SashLayoutWindow
):
1148 def __init__(self
, this
):
1150 if not hasattr(self
,"thisown"): self
.thisown
= 0
1151 self
.__class
__ = SashLayoutWindow
1152 _windows
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1154 def PreSashLayoutWindow(*args
, **kwargs
):
1155 """PreSashLayoutWindow() -> SashLayoutWindow"""
1156 val
= _windows
.new_PreSashLayoutWindow(*args
, **kwargs
)
1160 class LayoutAlgorithm(core
.Object
):
1162 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1163 def __init__(self
, *args
, **kwargs
):
1164 """__init__() -> LayoutAlgorithm"""
1165 newobj
= _windows
.new_LayoutAlgorithm(*args
, **kwargs
)
1166 self
.this
= newobj
.this
1169 def __del__(self
, destroy
=_windows
.delete_LayoutAlgorithm
):
1172 if self
.thisown
: destroy(self
)
1175 def LayoutMDIFrame(*args
, **kwargs
):
1176 """LayoutMDIFrame(MDIParentFrame frame, Rect rect=None) -> bool"""
1177 return _windows
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1179 def LayoutFrame(*args
, **kwargs
):
1180 """LayoutFrame(Frame frame, Window mainWindow=None) -> bool"""
1181 return _windows
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1183 def LayoutWindow(*args
, **kwargs
):
1184 """LayoutWindow(Window parent, Window mainWindow=None) -> bool"""
1185 return _windows
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1188 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1189 def __init__(self
, this
):
1191 if not hasattr(self
,"thisown"): self
.thisown
= 0
1192 self
.__class
__ = LayoutAlgorithm
1193 _windows
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1195 #---------------------------------------------------------------------------
1197 class PopupWindow(core
.Window
):
1199 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1200 def __init__(self
, *args
, **kwargs
):
1201 """__init__(Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1202 newobj
= _windows
.new_PopupWindow(*args
, **kwargs
)
1203 self
.this
= newobj
.this
1206 self
._setOORInfo
(self
)
1208 def Create(*args
, **kwargs
):
1209 """Create(Window parent, int flags=BORDER_NONE) -> bool"""
1210 return _windows
.PopupWindow_Create(*args
, **kwargs
)
1212 def Position(*args
, **kwargs
):
1213 """Position(Point ptOrigin, Size size)"""
1214 return _windows
.PopupWindow_Position(*args
, **kwargs
)
1217 class PopupWindowPtr(PopupWindow
):
1218 def __init__(self
, this
):
1220 if not hasattr(self
,"thisown"): self
.thisown
= 0
1221 self
.__class
__ = PopupWindow
1222 _windows
.PopupWindow_swigregister(PopupWindowPtr
)
1224 def PrePopupWindow(*args
, **kwargs
):
1225 """PrePopupWindow() -> PopupWindow"""
1226 val
= _windows
.new_PrePopupWindow(*args
, **kwargs
)
1230 #---------------------------------------------------------------------------
1232 class PopupTransientWindow(PopupWindow
):
1234 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1235 def __init__(self
, *args
, **kwargs
):
1236 """__init__(Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1237 newobj
= _windows
.new_PopupTransientWindow(*args
, **kwargs
)
1238 self
.this
= newobj
.this
1241 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, PopupTransientWindow
)
1243 def _setCallbackInfo(*args
, **kwargs
):
1244 """_setCallbackInfo(PyObject self, PyObject _class)"""
1245 return _windows
.PopupTransientWindow__setCallbackInfo(*args
, **kwargs
)
1247 def Popup(*args
, **kwargs
):
1248 """Popup(Window focus=None)"""
1249 return _windows
.PopupTransientWindow_Popup(*args
, **kwargs
)
1251 def Dismiss(*args
, **kwargs
):
1253 return _windows
.PopupTransientWindow_Dismiss(*args
, **kwargs
)
1256 class PopupTransientWindowPtr(PopupTransientWindow
):
1257 def __init__(self
, this
):
1259 if not hasattr(self
,"thisown"): self
.thisown
= 0
1260 self
.__class
__ = PopupTransientWindow
1261 _windows
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1263 def PrePopupTransientWindow(*args
, **kwargs
):
1264 """PrePopupTransientWindow() -> PopupTransientWindow"""
1265 val
= _windows
.new_PrePopupTransientWindow(*args
, **kwargs
)
1269 #---------------------------------------------------------------------------
1271 class TipWindow(PopupTransientWindow
):
1273 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1274 def __init__(self
, *args
, **kwargs
):
1275 """__init__(Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1276 newobj
= _windows
.new_TipWindow(*args
, **kwargs
)
1277 self
.this
= newobj
.this
1280 self
._setOORInfo
(self
)
1282 def SetBoundingRect(*args
, **kwargs
):
1283 """SetBoundingRect(Rect rectBound)"""
1284 return _windows
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1286 def Close(*args
, **kwargs
):
1288 return _windows
.TipWindow_Close(*args
, **kwargs
)
1291 class TipWindowPtr(TipWindow
):
1292 def __init__(self
, this
):
1294 if not hasattr(self
,"thisown"): self
.thisown
= 0
1295 self
.__class
__ = TipWindow
1296 _windows
.TipWindow_swigregister(TipWindowPtr
)
1298 #---------------------------------------------------------------------------
1300 class VScrolledWindow(Panel
):
1302 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1303 def __init__(self
, *args
, **kwargs
):
1305 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1306 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
1308 newobj
= _windows
.new_VScrolledWindow(*args
, **kwargs
)
1309 self
.this
= newobj
.this
1312 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1314 def _setCallbackInfo(*args
, **kwargs
):
1315 """_setCallbackInfo(PyObject self, PyObject _class)"""
1316 return _windows
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1318 def Create(*args
, **kwargs
):
1320 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1321 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
1323 return _windows
.VScrolledWindow_Create(*args
, **kwargs
)
1325 def SetLineCount(*args
, **kwargs
):
1326 """SetLineCount(size_t count)"""
1327 return _windows
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1329 def ScrollToLine(*args
, **kwargs
):
1330 """ScrollToLine(size_t line) -> bool"""
1331 return _windows
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1333 def ScrollLines(*args
, **kwargs
):
1334 """ScrollLines(int lines) -> bool"""
1335 return _windows
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1337 def ScrollPages(*args
, **kwargs
):
1338 """ScrollPages(int pages) -> bool"""
1339 return _windows
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1341 def RefreshLine(*args
, **kwargs
):
1342 """RefreshLine(size_t line)"""
1343 return _windows
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1345 def RefreshLines(*args
, **kwargs
):
1346 """RefreshLines(size_t from, size_t to)"""
1347 return _windows
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1349 def HitTestXT(*args
, **kwargs
):
1350 """HitTestXT(int x, int y) -> int"""
1351 return _windows
.VScrolledWindow_HitTestXT(*args
, **kwargs
)
1353 def HitTest(*args
, **kwargs
):
1354 """HitTest(Point pt) -> int"""
1355 return _windows
.VScrolledWindow_HitTest(*args
, **kwargs
)
1357 def RefreshAll(*args
, **kwargs
):
1359 return _windows
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1361 def GetLineCount(*args
, **kwargs
):
1362 """GetLineCount() -> size_t"""
1363 return _windows
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1365 def GetFirstVisibleLine(*args
, **kwargs
):
1366 """GetFirstVisibleLine() -> size_t"""
1367 return _windows
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1369 def GetLastVisibleLine(*args
, **kwargs
):
1370 """GetLastVisibleLine() -> size_t"""
1371 return _windows
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1373 def IsVisible(*args
, **kwargs
):
1374 """IsVisible(size_t line) -> bool"""
1375 return _windows
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1378 class VScrolledWindowPtr(VScrolledWindow
):
1379 def __init__(self
, this
):
1381 if not hasattr(self
,"thisown"): self
.thisown
= 0
1382 self
.__class
__ = VScrolledWindow
1383 _windows
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
1385 def PreVScrolledWindow(*args
, **kwargs
):
1386 """PreVScrolledWindow() -> VScrolledWindow"""
1387 val
= _windows
.new_PreVScrolledWindow(*args
, **kwargs
)
1391 class VListBox(VScrolledWindow
):
1393 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1394 def __init__(self
, *args
, **kwargs
):
1396 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1397 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
1399 newobj
= _windows
.new_VListBox(*args
, **kwargs
)
1400 self
.this
= newobj
.this
1403 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
1405 def _setCallbackInfo(*args
, **kwargs
):
1406 """_setCallbackInfo(PyObject self, PyObject _class)"""
1407 return _windows
.VListBox__setCallbackInfo(*args
, **kwargs
)
1409 def Create(*args
, **kwargs
):
1411 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1412 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1414 return _windows
.VListBox_Create(*args
, **kwargs
)
1416 def GetItemCount(*args
, **kwargs
):
1417 """GetItemCount() -> size_t"""
1418 return _windows
.VListBox_GetItemCount(*args
, **kwargs
)
1420 def HasMultipleSelection(*args
, **kwargs
):
1421 """HasMultipleSelection() -> bool"""
1422 return _windows
.VListBox_HasMultipleSelection(*args
, **kwargs
)
1424 def GetSelection(*args
, **kwargs
):
1425 """GetSelection() -> int"""
1426 return _windows
.VListBox_GetSelection(*args
, **kwargs
)
1428 def IsCurrent(*args
, **kwargs
):
1429 """IsCurrent(size_t item) -> bool"""
1430 return _windows
.VListBox_IsCurrent(*args
, **kwargs
)
1432 def IsSelected(*args
, **kwargs
):
1433 """IsSelected(size_t item) -> bool"""
1434 return _windows
.VListBox_IsSelected(*args
, **kwargs
)
1436 def GetSelectedCount(*args
, **kwargs
):
1437 """GetSelectedCount() -> size_t"""
1438 return _windows
.VListBox_GetSelectedCount(*args
, **kwargs
)
1440 def GetFirstSelected(*args
, **kwargs
):
1441 """GetFirstSelected(unsigned long cookie) -> int"""
1442 return _windows
.VListBox_GetFirstSelected(*args
, **kwargs
)
1444 def GetNextSelected(*args
, **kwargs
):
1445 """GetNextSelected(unsigned long cookie) -> int"""
1446 return _windows
.VListBox_GetNextSelected(*args
, **kwargs
)
1448 def GetMargins(*args
, **kwargs
):
1449 """GetMargins() -> Point"""
1450 return _windows
.VListBox_GetMargins(*args
, **kwargs
)
1452 def GetSelectionBackground(*args
, **kwargs
):
1453 """GetSelectionBackground() -> Colour"""
1454 return _windows
.VListBox_GetSelectionBackground(*args
, **kwargs
)
1456 def SetItemCount(*args
, **kwargs
):
1457 """SetItemCount(size_t count)"""
1458 return _windows
.VListBox_SetItemCount(*args
, **kwargs
)
1460 def Clear(*args
, **kwargs
):
1462 return _windows
.VListBox_Clear(*args
, **kwargs
)
1464 def SetSelection(*args
, **kwargs
):
1465 """SetSelection(int selection)"""
1466 return _windows
.VListBox_SetSelection(*args
, **kwargs
)
1468 def Select(*args
, **kwargs
):
1469 """Select(size_t item, bool select=True) -> bool"""
1470 return _windows
.VListBox_Select(*args
, **kwargs
)
1472 def SelectRange(*args
, **kwargs
):
1473 """SelectRange(size_t from, size_t to) -> bool"""
1474 return _windows
.VListBox_SelectRange(*args
, **kwargs
)
1476 def Toggle(*args
, **kwargs
):
1477 """Toggle(size_t item)"""
1478 return _windows
.VListBox_Toggle(*args
, **kwargs
)
1480 def SelectAll(*args
, **kwargs
):
1481 """SelectAll() -> bool"""
1482 return _windows
.VListBox_SelectAll(*args
, **kwargs
)
1484 def DeselectAll(*args
, **kwargs
):
1485 """DeselectAll() -> bool"""
1486 return _windows
.VListBox_DeselectAll(*args
, **kwargs
)
1488 def SetMargins(*args
, **kwargs
):
1489 """SetMargins(Point pt)"""
1490 return _windows
.VListBox_SetMargins(*args
, **kwargs
)
1492 def SetMarginsXY(*args
, **kwargs
):
1493 """SetMarginsXY(int x, int y)"""
1494 return _windows
.VListBox_SetMarginsXY(*args
, **kwargs
)
1496 def SetSelectionBackground(*args
, **kwargs
):
1497 """SetSelectionBackground(Colour col)"""
1498 return _windows
.VListBox_SetSelectionBackground(*args
, **kwargs
)
1501 class VListBoxPtr(VListBox
):
1502 def __init__(self
, this
):
1504 if not hasattr(self
,"thisown"): self
.thisown
= 0
1505 self
.__class
__ = VListBox
1506 _windows
.VListBox_swigregister(VListBoxPtr
)
1507 VListBoxNameStr
= cvar
.VListBoxNameStr
1509 def PreVListBox(*args
, **kwargs
):
1510 """PreVListBox() -> VListBox"""
1511 val
= _windows
.new_PreVListBox(*args
, **kwargs
)
1515 class HtmlListBox(VListBox
):
1517 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1518 def __init__(self
, *args
, **kwargs
):
1520 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1521 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
1523 newobj
= _windows
.new_HtmlListBox(*args
, **kwargs
)
1524 self
.this
= newobj
.this
1527 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
1529 def _setCallbackInfo(*args
, **kwargs
):
1530 """_setCallbackInfo(PyObject self, PyObject _class)"""
1531 return _windows
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
1533 def Create(*args
, **kwargs
):
1535 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1536 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1538 return _windows
.HtmlListBox_Create(*args
, **kwargs
)
1540 def RefreshAll(*args
, **kwargs
):
1542 return _windows
.HtmlListBox_RefreshAll(*args
, **kwargs
)
1544 def SetItemCount(*args
, **kwargs
):
1545 """SetItemCount(size_t count)"""
1546 return _windows
.HtmlListBox_SetItemCount(*args
, **kwargs
)
1549 class HtmlListBoxPtr(HtmlListBox
):
1550 def __init__(self
, this
):
1552 if not hasattr(self
,"thisown"): self
.thisown
= 0
1553 self
.__class
__ = HtmlListBox
1554 _windows
.HtmlListBox_swigregister(HtmlListBoxPtr
)
1556 def PreHtmlListBox(*args
, **kwargs
):
1557 """PreHtmlListBox() -> HtmlListBox"""
1558 val
= _windows
.new_PreHtmlListBox(*args
, **kwargs
)
1562 #---------------------------------------------------------------------------
1564 class TaskBarIcon(core
.EvtHandler
):
1566 return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1567 def __init__(self
, *args
, **kwargs
):
1568 """__init__() -> TaskBarIcon"""
1569 newobj
= _windows
.new_TaskBarIcon(*args
, **kwargs
)
1570 self
.this
= newobj
.this
1573 def __del__(self
, destroy
=_windows
.delete_TaskBarIcon
):
1576 if self
.thisown
: destroy(self
)
1579 def IsOk(*args
, **kwargs
):
1580 """IsOk() -> bool"""
1581 return _windows
.TaskBarIcon_IsOk(*args
, **kwargs
)
1583 def IsIconInstalled(*args
, **kwargs
):
1584 """IsIconInstalled() -> bool"""
1585 return _windows
.TaskBarIcon_IsIconInstalled(*args
, **kwargs
)
1587 def SetIcon(*args
, **kwargs
):
1588 """SetIcon(Icon icon, String tooltip=EmptyString) -> bool"""
1589 return _windows
.TaskBarIcon_SetIcon(*args
, **kwargs
)
1591 def RemoveIcon(*args
, **kwargs
):
1592 """RemoveIcon() -> bool"""
1593 return _windows
.TaskBarIcon_RemoveIcon(*args
, **kwargs
)
1595 def PopupMenu(*args
, **kwargs
):
1596 """PopupMenu(Menu menu) -> bool"""
1597 return _windows
.TaskBarIcon_PopupMenu(*args
, **kwargs
)
1600 class TaskBarIconPtr(TaskBarIcon
):
1601 def __init__(self
, this
):
1603 if not hasattr(self
,"thisown"): self
.thisown
= 0
1604 self
.__class
__ = TaskBarIcon
1605 _windows
.TaskBarIcon_swigregister(TaskBarIconPtr
)
1607 class TaskBarIconEvent(core
.Event
):
1609 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1610 def __init__(self
, *args
, **kwargs
):
1611 """__init__(wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
1612 newobj
= _windows
.new_TaskBarIconEvent(*args
, **kwargs
)
1613 self
.this
= newobj
.this
1617 class TaskBarIconEventPtr(TaskBarIconEvent
):
1618 def __init__(self
, this
):
1620 if not hasattr(self
,"thisown"): self
.thisown
= 0
1621 self
.__class
__ = TaskBarIconEvent
1622 _windows
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
1624 wxEVT_TASKBAR_MOVE
= _windows
.wxEVT_TASKBAR_MOVE
1625 wxEVT_TASKBAR_LEFT_DOWN
= _windows
.wxEVT_TASKBAR_LEFT_DOWN
1626 wxEVT_TASKBAR_LEFT_UP
= _windows
.wxEVT_TASKBAR_LEFT_UP
1627 wxEVT_TASKBAR_RIGHT_DOWN
= _windows
.wxEVT_TASKBAR_RIGHT_DOWN
1628 wxEVT_TASKBAR_RIGHT_UP
= _windows
.wxEVT_TASKBAR_RIGHT_UP
1629 wxEVT_TASKBAR_LEFT_DCLICK
= _windows
.wxEVT_TASKBAR_LEFT_DCLICK
1630 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows
.wxEVT_TASKBAR_RIGHT_DCLICK
1631 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
1632 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
1633 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
1634 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
1635 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
1636 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
1637 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
1639 #---------------------------------------------------------------------------
1641 class ColourData(core
.Object
):
1643 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1644 def __init__(self
, *args
, **kwargs
):
1645 """__init__() -> ColourData"""
1646 newobj
= _windows
.new_ColourData(*args
, **kwargs
)
1647 self
.this
= newobj
.this
1650 def __del__(self
, destroy
=_windows
.delete_ColourData
):
1653 if self
.thisown
: destroy(self
)
1656 def GetChooseFull(*args
, **kwargs
):
1657 """GetChooseFull() -> bool"""
1658 return _windows
.ColourData_GetChooseFull(*args
, **kwargs
)
1660 def GetColour(*args
, **kwargs
):
1661 """GetColour() -> Colour"""
1662 return _windows
.ColourData_GetColour(*args
, **kwargs
)
1664 def GetCustomColour(*args
, **kwargs
):
1665 """GetCustomColour(int i) -> Colour"""
1666 return _windows
.ColourData_GetCustomColour(*args
, **kwargs
)
1668 def SetChooseFull(*args
, **kwargs
):
1669 """SetChooseFull(int flag)"""
1670 return _windows
.ColourData_SetChooseFull(*args
, **kwargs
)
1672 def SetColour(*args
, **kwargs
):
1673 """SetColour(Colour colour)"""
1674 return _windows
.ColourData_SetColour(*args
, **kwargs
)
1676 def SetCustomColour(*args
, **kwargs
):
1677 """SetCustomColour(int i, Colour colour)"""
1678 return _windows
.ColourData_SetCustomColour(*args
, **kwargs
)
1681 class ColourDataPtr(ColourData
):
1682 def __init__(self
, this
):
1684 if not hasattr(self
,"thisown"): self
.thisown
= 0
1685 self
.__class
__ = ColourData
1686 _windows
.ColourData_swigregister(ColourDataPtr
)
1687 FileSelectorPromptStr
= cvar
.FileSelectorPromptStr
1688 DirSelectorPromptStr
= cvar
.DirSelectorPromptStr
1689 DirDialogNameStr
= cvar
.DirDialogNameStr
1690 FileSelectorDefaultWildcardStr
= cvar
.FileSelectorDefaultWildcardStr
1691 GetTextFromUserPromptStr
= cvar
.GetTextFromUserPromptStr
1692 MessageBoxCaptionStr
= cvar
.MessageBoxCaptionStr
1694 class ColourDialog(Dialog
):
1696 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1697 def __init__(self
, *args
, **kwargs
):
1698 """__init__(Window parent, ColourData data=None) -> ColourDialog"""
1699 newobj
= _windows
.new_ColourDialog(*args
, **kwargs
)
1700 self
.this
= newobj
.this
1703 self
._setOORInfo
(self
)
1705 def GetColourData(*args
, **kwargs
):
1706 """GetColourData() -> ColourData"""
1707 return _windows
.ColourDialog_GetColourData(*args
, **kwargs
)
1709 def ShowModal(*args
, **kwargs
):
1710 """ShowModal() -> int"""
1711 return _windows
.ColourDialog_ShowModal(*args
, **kwargs
)
1714 class ColourDialogPtr(ColourDialog
):
1715 def __init__(self
, this
):
1717 if not hasattr(self
,"thisown"): self
.thisown
= 0
1718 self
.__class
__ = ColourDialog
1719 _windows
.ColourDialog_swigregister(ColourDialogPtr
)
1721 class DirDialog(Dialog
):
1723 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1724 def __init__(self
, *args
, **kwargs
):
1726 __init__(Window parent, String message=DirSelectorPromptStr,
1727 String defaultPath=EmptyString, long style=0,
1728 Point pos=DefaultPosition, Size size=DefaultSize,
1729 String name=DirDialogNameStr) -> DirDialog
1731 newobj
= _windows
.new_DirDialog(*args
, **kwargs
)
1732 self
.this
= newobj
.this
1735 self
._setOORInfo
(self
)
1737 def GetPath(*args
, **kwargs
):
1738 """GetPath() -> String"""
1739 return _windows
.DirDialog_GetPath(*args
, **kwargs
)
1741 def GetMessage(*args
, **kwargs
):
1742 """GetMessage() -> String"""
1743 return _windows
.DirDialog_GetMessage(*args
, **kwargs
)
1745 def GetStyle(*args
, **kwargs
):
1746 """GetStyle() -> long"""
1747 return _windows
.DirDialog_GetStyle(*args
, **kwargs
)
1749 def SetMessage(*args
, **kwargs
):
1750 """SetMessage(String message)"""
1751 return _windows
.DirDialog_SetMessage(*args
, **kwargs
)
1753 def SetPath(*args
, **kwargs
):
1754 """SetPath(String path)"""
1755 return _windows
.DirDialog_SetPath(*args
, **kwargs
)
1757 def ShowModal(*args
, **kwargs
):
1758 """ShowModal() -> int"""
1759 return _windows
.DirDialog_ShowModal(*args
, **kwargs
)
1762 class DirDialogPtr(DirDialog
):
1763 def __init__(self
, this
):
1765 if not hasattr(self
,"thisown"): self
.thisown
= 0
1766 self
.__class
__ = DirDialog
1767 _windows
.DirDialog_swigregister(DirDialogPtr
)
1769 class FileDialog(Dialog
):
1771 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1772 def __init__(self
, *args
, **kwargs
):
1774 __init__(Window parent, String message=FileSelectorPromptStr,
1775 String defaultDir=EmptyString, String defaultFile=EmptyString,
1776 String wildcard=FileSelectorDefaultWildcardStr,
1777 long style=0, Point pos=DefaultPosition) -> FileDialog
1779 newobj
= _windows
.new_FileDialog(*args
, **kwargs
)
1780 self
.this
= newobj
.this
1783 self
._setOORInfo
(self
)
1785 def SetMessage(*args
, **kwargs
):
1786 """SetMessage(String message)"""
1787 return _windows
.FileDialog_SetMessage(*args
, **kwargs
)
1789 def SetPath(*args
, **kwargs
):
1790 """SetPath(String path)"""
1791 return _windows
.FileDialog_SetPath(*args
, **kwargs
)
1793 def SetDirectory(*args
, **kwargs
):
1794 """SetDirectory(String dir)"""
1795 return _windows
.FileDialog_SetDirectory(*args
, **kwargs
)
1797 def SetFilename(*args
, **kwargs
):
1798 """SetFilename(String name)"""
1799 return _windows
.FileDialog_SetFilename(*args
, **kwargs
)
1801 def SetWildcard(*args
, **kwargs
):
1802 """SetWildcard(String wildCard)"""
1803 return _windows
.FileDialog_SetWildcard(*args
, **kwargs
)
1805 def SetStyle(*args
, **kwargs
):
1806 """SetStyle(long style)"""
1807 return _windows
.FileDialog_SetStyle(*args
, **kwargs
)
1809 def SetFilterIndex(*args
, **kwargs
):
1810 """SetFilterIndex(int filterIndex)"""
1811 return _windows
.FileDialog_SetFilterIndex(*args
, **kwargs
)
1813 def GetMessage(*args
, **kwargs
):
1814 """GetMessage() -> String"""
1815 return _windows
.FileDialog_GetMessage(*args
, **kwargs
)
1817 def GetPath(*args
, **kwargs
):
1818 """GetPath() -> String"""
1819 return _windows
.FileDialog_GetPath(*args
, **kwargs
)
1821 def GetDirectory(*args
, **kwargs
):
1822 """GetDirectory() -> String"""
1823 return _windows
.FileDialog_GetDirectory(*args
, **kwargs
)
1825 def GetFilename(*args
, **kwargs
):
1826 """GetFilename() -> String"""
1827 return _windows
.FileDialog_GetFilename(*args
, **kwargs
)
1829 def GetWildcard(*args
, **kwargs
):
1830 """GetWildcard() -> String"""
1831 return _windows
.FileDialog_GetWildcard(*args
, **kwargs
)
1833 def GetStyle(*args
, **kwargs
):
1834 """GetStyle() -> long"""
1835 return _windows
.FileDialog_GetStyle(*args
, **kwargs
)
1837 def GetFilterIndex(*args
, **kwargs
):
1838 """GetFilterIndex() -> int"""
1839 return _windows
.FileDialog_GetFilterIndex(*args
, **kwargs
)
1841 def GetFilenames(*args
, **kwargs
):
1842 """GetFilenames() -> PyObject"""
1843 return _windows
.FileDialog_GetFilenames(*args
, **kwargs
)
1845 def GetPaths(*args
, **kwargs
):
1846 """GetPaths() -> PyObject"""
1847 return _windows
.FileDialog_GetPaths(*args
, **kwargs
)
1850 class FileDialogPtr(FileDialog
):
1851 def __init__(self
, this
):
1853 if not hasattr(self
,"thisown"): self
.thisown
= 0
1854 self
.__class
__ = FileDialog
1855 _windows
.FileDialog_swigregister(FileDialogPtr
)
1857 CHOICEDLG_STYLE
= _windows
.CHOICEDLG_STYLE
1858 class MultiChoiceDialog(Dialog
):
1860 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1861 def __init__(self
, *args
, **kwargs
):
1863 __init__(Window parent, String message, String caption, int LCOUNT,
1864 String choices, long style=CHOICEDLG_STYLE,
1865 Point pos=DefaultPosition) -> MultiChoiceDialog
1867 newobj
= _windows
.new_MultiChoiceDialog(*args
, **kwargs
)
1868 self
.this
= newobj
.this
1871 self
._setOORInfo
(self
)
1873 def SetSelections(*args
, **kwargs
):
1874 """SetSelections(wxArrayInt selections)"""
1875 return _windows
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
1877 def GetSelections(*args
, **kwargs
):
1878 """GetSelections() -> PyObject"""
1879 return _windows
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
1882 class MultiChoiceDialogPtr(MultiChoiceDialog
):
1883 def __init__(self
, this
):
1885 if not hasattr(self
,"thisown"): self
.thisown
= 0
1886 self
.__class
__ = MultiChoiceDialog
1887 _windows
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
1889 class SingleChoiceDialog(Dialog
):
1891 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1892 def __init__(self
, *args
, **kwargs
):
1894 __init__(Window parent, String message, String caption, int choices,
1895 String choices_array, long style=CHOICEDLG_STYLE,
1896 Point pos=DefaultPosition) -> SingleChoiceDialog
1898 newobj
= _windows
.new_SingleChoiceDialog(*args
, **kwargs
)
1899 self
.this
= newobj
.this
1902 self
._setOORInfo
(self
)
1904 def GetSelection(*args
, **kwargs
):
1905 """GetSelection() -> int"""
1906 return _windows
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
1908 def GetStringSelection(*args
, **kwargs
):
1909 """GetStringSelection() -> String"""
1910 return _windows
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
1912 def SetSelection(*args
, **kwargs
):
1913 """SetSelection(int sel)"""
1914 return _windows
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
1916 def ShowModal(*args
, **kwargs
):
1917 """ShowModal() -> int"""
1918 return _windows
.SingleChoiceDialog_ShowModal(*args
, **kwargs
)
1921 class SingleChoiceDialogPtr(SingleChoiceDialog
):
1922 def __init__(self
, this
):
1924 if not hasattr(self
,"thisown"): self
.thisown
= 0
1925 self
.__class
__ = SingleChoiceDialog
1926 _windows
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
1928 class TextEntryDialog(Dialog
):
1930 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1931 def __init__(self
, *args
, **kwargs
):
1933 __init__(Window parent, String message, String caption=GetTextFromUserPromptStr,
1934 String defaultValue=EmptyString,
1935 long style=wxOK|wxCANCEL|wxCENTRE, Point pos=DefaultPosition) -> TextEntryDialog
1937 newobj
= _windows
.new_TextEntryDialog(*args
, **kwargs
)
1938 self
.this
= newobj
.this
1941 self
._setOORInfo
(self
)
1943 def GetValue(*args
, **kwargs
):
1944 """GetValue() -> String"""
1945 return _windows
.TextEntryDialog_GetValue(*args
, **kwargs
)
1947 def SetValue(*args
, **kwargs
):
1948 """SetValue(String value)"""
1949 return _windows
.TextEntryDialog_SetValue(*args
, **kwargs
)
1951 def ShowModal(*args
, **kwargs
):
1952 """ShowModal() -> int"""
1953 return _windows
.TextEntryDialog_ShowModal(*args
, **kwargs
)
1956 class TextEntryDialogPtr(TextEntryDialog
):
1957 def __init__(self
, this
):
1959 if not hasattr(self
,"thisown"): self
.thisown
= 0
1960 self
.__class
__ = TextEntryDialog
1961 _windows
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
1963 class FontData(core
.Object
):
1965 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1966 def __init__(self
, *args
, **kwargs
):
1967 """__init__() -> FontData"""
1968 newobj
= _windows
.new_FontData(*args
, **kwargs
)
1969 self
.this
= newobj
.this
1972 def __del__(self
, destroy
=_windows
.delete_FontData
):
1975 if self
.thisown
: destroy(self
)
1978 def EnableEffects(*args
, **kwargs
):
1979 """EnableEffects(bool enable)"""
1980 return _windows
.FontData_EnableEffects(*args
, **kwargs
)
1982 def GetAllowSymbols(*args
, **kwargs
):
1983 """GetAllowSymbols() -> bool"""
1984 return _windows
.FontData_GetAllowSymbols(*args
, **kwargs
)
1986 def GetColour(*args
, **kwargs
):
1987 """GetColour() -> Colour"""
1988 return _windows
.FontData_GetColour(*args
, **kwargs
)
1990 def GetChosenFont(*args
, **kwargs
):
1991 """GetChosenFont() -> Font"""
1992 return _windows
.FontData_GetChosenFont(*args
, **kwargs
)
1994 def GetEnableEffects(*args
, **kwargs
):
1995 """GetEnableEffects() -> bool"""
1996 return _windows
.FontData_GetEnableEffects(*args
, **kwargs
)
1998 def GetInitialFont(*args
, **kwargs
):
1999 """GetInitialFont() -> Font"""
2000 return _windows
.FontData_GetInitialFont(*args
, **kwargs
)
2002 def GetShowHelp(*args
, **kwargs
):
2003 """GetShowHelp() -> bool"""
2004 return _windows
.FontData_GetShowHelp(*args
, **kwargs
)
2006 def SetAllowSymbols(*args
, **kwargs
):
2007 """SetAllowSymbols(bool allowSymbols)"""
2008 return _windows
.FontData_SetAllowSymbols(*args
, **kwargs
)
2010 def SetChosenFont(*args
, **kwargs
):
2011 """SetChosenFont(Font font)"""
2012 return _windows
.FontData_SetChosenFont(*args
, **kwargs
)
2014 def SetColour(*args
, **kwargs
):
2015 """SetColour(Colour colour)"""
2016 return _windows
.FontData_SetColour(*args
, **kwargs
)
2018 def SetInitialFont(*args
, **kwargs
):
2019 """SetInitialFont(Font font)"""
2020 return _windows
.FontData_SetInitialFont(*args
, **kwargs
)
2022 def SetRange(*args
, **kwargs
):
2023 """SetRange(int min, int max)"""
2024 return _windows
.FontData_SetRange(*args
, **kwargs
)
2026 def SetShowHelp(*args
, **kwargs
):
2027 """SetShowHelp(bool showHelp)"""
2028 return _windows
.FontData_SetShowHelp(*args
, **kwargs
)
2031 class FontDataPtr(FontData
):
2032 def __init__(self
, this
):
2034 if not hasattr(self
,"thisown"): self
.thisown
= 0
2035 self
.__class
__ = FontData
2036 _windows
.FontData_swigregister(FontDataPtr
)
2038 class FontDialog(Dialog
):
2040 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2041 def __init__(self
, *args
, **kwargs
):
2042 """__init__(Window parent, FontData data) -> FontDialog"""
2043 newobj
= _windows
.new_FontDialog(*args
, **kwargs
)
2044 self
.this
= newobj
.this
2047 self
._setOORInfo
(self
)
2049 def GetFontData(*args
, **kwargs
):
2050 """GetFontData() -> FontData"""
2051 return _windows
.FontDialog_GetFontData(*args
, **kwargs
)
2053 def ShowModal(*args
, **kwargs
):
2054 """ShowModal() -> int"""
2055 return _windows
.FontDialog_ShowModal(*args
, **kwargs
)
2058 class FontDialogPtr(FontDialog
):
2059 def __init__(self
, this
):
2061 if not hasattr(self
,"thisown"): self
.thisown
= 0
2062 self
.__class
__ = FontDialog
2063 _windows
.FontDialog_swigregister(FontDialogPtr
)
2065 class MessageDialog(Dialog
):
2067 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2068 def __init__(self
, *args
, **kwargs
):
2070 __init__(Window parent, String message, String caption=MessageBoxCaptionStr,
2071 long style=wxOK|wxCANCEL|wxCENTRE,
2072 Point pos=DefaultPosition) -> MessageDialog
2074 newobj
= _windows
.new_MessageDialog(*args
, **kwargs
)
2075 self
.this
= newobj
.this
2078 self
._setOORInfo
(self
)
2080 def ShowModal(*args
, **kwargs
):
2081 """ShowModal() -> int"""
2082 return _windows
.MessageDialog_ShowModal(*args
, **kwargs
)
2085 class MessageDialogPtr(MessageDialog
):
2086 def __init__(self
, this
):
2088 if not hasattr(self
,"thisown"): self
.thisown
= 0
2089 self
.__class
__ = MessageDialog
2090 _windows
.MessageDialog_swigregister(MessageDialogPtr
)
2092 class ProgressDialog(Frame
):
2094 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2095 def __init__(self
, *args
, **kwargs
):
2097 __init__(String title, String message, int maximum=100, Window parent=None,
2098 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
2100 newobj
= _windows
.new_ProgressDialog(*args
, **kwargs
)
2101 self
.this
= newobj
.this
2104 self
._setOORInfo
(self
)
2106 def Update(*args
, **kwargs
):
2107 """Update(int value, String newmsg=EmptyString) -> bool"""
2108 return _windows
.ProgressDialog_Update(*args
, **kwargs
)
2110 def Resume(*args
, **kwargs
):
2112 return _windows
.ProgressDialog_Resume(*args
, **kwargs
)
2115 class ProgressDialogPtr(ProgressDialog
):
2116 def __init__(self
, this
):
2118 if not hasattr(self
,"thisown"): self
.thisown
= 0
2119 self
.__class
__ = ProgressDialog
2120 _windows
.ProgressDialog_swigregister(ProgressDialogPtr
)
2122 FR_DOWN
= _windows
.FR_DOWN
2123 FR_WHOLEWORD
= _windows
.FR_WHOLEWORD
2124 FR_MATCHCASE
= _windows
.FR_MATCHCASE
2125 FR_REPLACEDIALOG
= _windows
.FR_REPLACEDIALOG
2126 FR_NOUPDOWN
= _windows
.FR_NOUPDOWN
2127 FR_NOMATCHCASE
= _windows
.FR_NOMATCHCASE
2128 FR_NOWHOLEWORD
= _windows
.FR_NOWHOLEWORD
2129 wxEVT_COMMAND_FIND
= _windows
.wxEVT_COMMAND_FIND
2130 wxEVT_COMMAND_FIND_NEXT
= _windows
.wxEVT_COMMAND_FIND_NEXT
2131 wxEVT_COMMAND_FIND_REPLACE
= _windows
.wxEVT_COMMAND_FIND_REPLACE
2132 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows
.wxEVT_COMMAND_FIND_REPLACE_ALL
2133 wxEVT_COMMAND_FIND_CLOSE
= _windows
.wxEVT_COMMAND_FIND_CLOSE
2134 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
2135 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
2136 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
2137 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
2138 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
2140 # For backwards compatibility. Should they be removed?
2141 EVT_COMMAND_FIND
= EVT_FIND
2142 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
2143 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
2144 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
2145 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
2147 class FindDialogEvent(core
.CommandEvent
):
2149 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2150 def __init__(self
, *args
, **kwargs
):
2151 """__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent"""
2152 newobj
= _windows
.new_FindDialogEvent(*args
, **kwargs
)
2153 self
.this
= newobj
.this
2156 def GetFlags(*args
, **kwargs
):
2157 """GetFlags() -> int"""
2158 return _windows
.FindDialogEvent_GetFlags(*args
, **kwargs
)
2160 def GetFindString(*args
, **kwargs
):
2161 """GetFindString() -> String"""
2162 return _windows
.FindDialogEvent_GetFindString(*args
, **kwargs
)
2164 def GetReplaceString(*args
, **kwargs
):
2165 """GetReplaceString() -> String"""
2166 return _windows
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
2168 def GetDialog(*args
, **kwargs
):
2169 """GetDialog() -> FindReplaceDialog"""
2170 return _windows
.FindDialogEvent_GetDialog(*args
, **kwargs
)
2172 def SetFlags(*args
, **kwargs
):
2173 """SetFlags(int flags)"""
2174 return _windows
.FindDialogEvent_SetFlags(*args
, **kwargs
)
2176 def SetFindString(*args
, **kwargs
):
2177 """SetFindString(String str)"""
2178 return _windows
.FindDialogEvent_SetFindString(*args
, **kwargs
)
2180 def SetReplaceString(*args
, **kwargs
):
2181 """SetReplaceString(String str)"""
2182 return _windows
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
2185 class FindDialogEventPtr(FindDialogEvent
):
2186 def __init__(self
, this
):
2188 if not hasattr(self
,"thisown"): self
.thisown
= 0
2189 self
.__class
__ = FindDialogEvent
2190 _windows
.FindDialogEvent_swigregister(FindDialogEventPtr
)
2192 class FindReplaceData(core
.Object
):
2194 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2195 def __init__(self
, *args
, **kwargs
):
2196 """__init__(int flags=0) -> FindReplaceData"""
2197 newobj
= _windows
.new_FindReplaceData(*args
, **kwargs
)
2198 self
.this
= newobj
.this
2201 def __del__(self
, destroy
=_windows
.delete_FindReplaceData
):
2204 if self
.thisown
: destroy(self
)
2207 def GetFindString(*args
, **kwargs
):
2208 """GetFindString() -> String"""
2209 return _windows
.FindReplaceData_GetFindString(*args
, **kwargs
)
2211 def GetReplaceString(*args
, **kwargs
):
2212 """GetReplaceString() -> String"""
2213 return _windows
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
2215 def GetFlags(*args
, **kwargs
):
2216 """GetFlags() -> int"""
2217 return _windows
.FindReplaceData_GetFlags(*args
, **kwargs
)
2219 def SetFlags(*args
, **kwargs
):
2220 """SetFlags(int flags)"""
2221 return _windows
.FindReplaceData_SetFlags(*args
, **kwargs
)
2223 def SetFindString(*args
, **kwargs
):
2224 """SetFindString(String str)"""
2225 return _windows
.FindReplaceData_SetFindString(*args
, **kwargs
)
2227 def SetReplaceString(*args
, **kwargs
):
2228 """SetReplaceString(String str)"""
2229 return _windows
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
2232 class FindReplaceDataPtr(FindReplaceData
):
2233 def __init__(self
, this
):
2235 if not hasattr(self
,"thisown"): self
.thisown
= 0
2236 self
.__class
__ = FindReplaceData
2237 _windows
.FindReplaceData_swigregister(FindReplaceDataPtr
)
2239 class FindReplaceDialog(Dialog
):
2241 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2242 def __init__(self
, *args
, **kwargs
):
2244 __init__(Window parent, FindReplaceData data, String title,
2245 int style=0) -> FindReplaceDialog
2247 newobj
= _windows
.new_FindReplaceDialog(*args
, **kwargs
)
2248 self
.this
= newobj
.this
2251 self
._setOORInfo
(self
)
2253 def Create(*args
, **kwargs
):
2255 Create(Window parent, FindReplaceData data, String title,
2256 int style=0) -> bool
2258 return _windows
.FindReplaceDialog_Create(*args
, **kwargs
)
2260 def GetData(*args
, **kwargs
):
2261 """GetData() -> FindReplaceData"""
2262 return _windows
.FindReplaceDialog_GetData(*args
, **kwargs
)
2264 def SetData(*args
, **kwargs
):
2265 """SetData(FindReplaceData data)"""
2266 return _windows
.FindReplaceDialog_SetData(*args
, **kwargs
)
2269 class FindReplaceDialogPtr(FindReplaceDialog
):
2270 def __init__(self
, this
):
2272 if not hasattr(self
,"thisown"): self
.thisown
= 0
2273 self
.__class
__ = FindReplaceDialog
2274 _windows
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
2276 def PreFindReplaceDialog(*args
, **kwargs
):
2277 """PreFindReplaceDialog() -> FindReplaceDialog"""
2278 val
= _windows
.new_PreFindReplaceDialog(*args
, **kwargs
)
2282 #---------------------------------------------------------------------------
2284 IDM_WINDOWTILE
= _windows
.IDM_WINDOWTILE
2285 IDM_WINDOWTILEHOR
= _windows
.IDM_WINDOWTILEHOR
2286 IDM_WINDOWCASCADE
= _windows
.IDM_WINDOWCASCADE
2287 IDM_WINDOWICONS
= _windows
.IDM_WINDOWICONS
2288 IDM_WINDOWNEXT
= _windows
.IDM_WINDOWNEXT
2289 IDM_WINDOWTILEVERT
= _windows
.IDM_WINDOWTILEVERT
2290 FIRST_MDI_CHILD
= _windows
.FIRST_MDI_CHILD
2291 LAST_MDI_CHILD
= _windows
.LAST_MDI_CHILD
2292 class MDIParentFrame(Frame
):
2294 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2295 def __init__(self
, *args
, **kwargs
):
2297 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
2298 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2299 String name=FrameNameStr) -> MDIParentFrame
2301 newobj
= _windows
.new_MDIParentFrame(*args
, **kwargs
)
2302 self
.this
= newobj
.this
2305 self
._setOORInfo
(self
)
2307 def Create(*args
, **kwargs
):
2309 Create(Window parent, int id, String title, Point pos=DefaultPosition,
2310 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2311 String name=FrameNameStr) -> bool
2313 return _windows
.MDIParentFrame_Create(*args
, **kwargs
)
2315 def ActivateNext(*args
, **kwargs
):
2316 """ActivateNext()"""
2317 return _windows
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
2319 def ActivatePrevious(*args
, **kwargs
):
2320 """ActivatePrevious()"""
2321 return _windows
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
2323 def ArrangeIcons(*args
, **kwargs
):
2324 """ArrangeIcons()"""
2325 return _windows
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
2327 def Cascade(*args
, **kwargs
):
2329 return _windows
.MDIParentFrame_Cascade(*args
, **kwargs
)
2331 def GetActiveChild(*args
, **kwargs
):
2332 """GetActiveChild() -> MDIChildFrame"""
2333 return _windows
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
2335 def GetClientWindow(*args
, **kwargs
):
2336 """GetClientWindow() -> MDIClientWindow"""
2337 return _windows
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
2339 def GetToolBar(*args
, **kwargs
):
2340 """GetToolBar() -> Window"""
2341 return _windows
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
2343 def Tile(*args
, **kwargs
):
2345 return _windows
.MDIParentFrame_Tile(*args
, **kwargs
)
2348 class MDIParentFramePtr(MDIParentFrame
):
2349 def __init__(self
, this
):
2351 if not hasattr(self
,"thisown"): self
.thisown
= 0
2352 self
.__class
__ = MDIParentFrame
2353 _windows
.MDIParentFrame_swigregister(MDIParentFramePtr
)
2355 def PreMDIParentFrame(*args
, **kwargs
):
2356 """PreMDIParentFrame() -> MDIParentFrame"""
2357 val
= _windows
.new_PreMDIParentFrame(*args
, **kwargs
)
2361 class MDIChildFrame(Frame
):
2363 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2364 def __init__(self
, *args
, **kwargs
):
2366 __init__(MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
2367 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
2368 String name=FrameNameStr) -> MDIChildFrame
2370 newobj
= _windows
.new_MDIChildFrame(*args
, **kwargs
)
2371 self
.this
= newobj
.this
2374 self
._setOORInfo
(self
)
2376 def Create(*args
, **kwargs
):
2378 Create(MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
2379 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
2380 String name=FrameNameStr) -> bool
2382 return _windows
.MDIChildFrame_Create(*args
, **kwargs
)
2384 def Activate(*args
, **kwargs
):
2386 return _windows
.MDIChildFrame_Activate(*args
, **kwargs
)
2388 def Maximize(*args
, **kwargs
):
2389 """Maximize(bool maximize)"""
2390 return _windows
.MDIChildFrame_Maximize(*args
, **kwargs
)
2392 def Restore(*args
, **kwargs
):
2394 return _windows
.MDIChildFrame_Restore(*args
, **kwargs
)
2397 class MDIChildFramePtr(MDIChildFrame
):
2398 def __init__(self
, this
):
2400 if not hasattr(self
,"thisown"): self
.thisown
= 0
2401 self
.__class
__ = MDIChildFrame
2402 _windows
.MDIChildFrame_swigregister(MDIChildFramePtr
)
2404 def PreMDIChildFrame(*args
, **kwargs
):
2405 """PreMDIChildFrame() -> MDIChildFrame"""
2406 val
= _windows
.new_PreMDIChildFrame(*args
, **kwargs
)
2410 class MDIClientWindow(core
.Window
):
2412 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2413 def __init__(self
, *args
, **kwargs
):
2414 """__init__(MDIParentFrame parent, long style=0) -> MDIClientWindow"""
2415 newobj
= _windows
.new_MDIClientWindow(*args
, **kwargs
)
2416 self
.this
= newobj
.this
2419 self
._setOORInfo
(self
)
2421 def Create(*args
, **kwargs
):
2422 """Create(MDIParentFrame parent, long style=0) -> bool"""
2423 return _windows
.MDIClientWindow_Create(*args
, **kwargs
)
2426 class MDIClientWindowPtr(MDIClientWindow
):
2427 def __init__(self
, this
):
2429 if not hasattr(self
,"thisown"): self
.thisown
= 0
2430 self
.__class
__ = MDIClientWindow
2431 _windows
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
2433 def PreMDIClientWindow(*args
, **kwargs
):
2434 """PreMDIClientWindow() -> MDIClientWindow"""
2435 val
= _windows
.new_PreMDIClientWindow(*args
, **kwargs
)
2439 #---------------------------------------------------------------------------
2441 class PyWindow(core
.Window
):
2443 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2444 def __init__(self
, *args
, **kwargs
):
2446 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2447 long style=0, String name=PanelNameStr) -> PyWindow
2449 newobj
= _windows
.new_PyWindow(*args
, **kwargs
)
2450 self
.this
= newobj
.this
2453 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
2455 def _setCallbackInfo(*args
, **kwargs
):
2456 """_setCallbackInfo(PyObject self, PyObject _class)"""
2457 return _windows
.PyWindow__setCallbackInfo(*args
, **kwargs
)
2459 def base_DoMoveWindow(*args
, **kwargs
):
2460 """base_DoMoveWindow(int x, int y, int width, int height)"""
2461 return _windows
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
2463 def base_DoSetSize(*args
, **kwargs
):
2464 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2465 return _windows
.PyWindow_base_DoSetSize(*args
, **kwargs
)
2467 def base_DoSetClientSize(*args
, **kwargs
):
2468 """base_DoSetClientSize(int width, int height)"""
2469 return _windows
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
2471 def base_DoSetVirtualSize(*args
, **kwargs
):
2472 """base_DoSetVirtualSize(int x, int y)"""
2473 return _windows
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
2475 def base_DoGetSize(*args
, **kwargs
):
2476 """base_DoGetSize() -> (width, height)"""
2477 return _windows
.PyWindow_base_DoGetSize(*args
, **kwargs
)
2479 def base_DoGetClientSize(*args
, **kwargs
):
2480 """base_DoGetClientSize() -> (width, height)"""
2481 return _windows
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
2483 def base_DoGetPosition(*args
, **kwargs
):
2484 """base_DoGetPosition() -> (x,y)"""
2485 return _windows
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
2487 def base_DoGetVirtualSize(*args
, **kwargs
):
2488 """base_DoGetVirtualSize() -> Size"""
2489 return _windows
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
2491 def base_DoGetBestSize(*args
, **kwargs
):
2492 """base_DoGetBestSize() -> Size"""
2493 return _windows
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
2495 def base_InitDialog(*args
, **kwargs
):
2496 """base_InitDialog()"""
2497 return _windows
.PyWindow_base_InitDialog(*args
, **kwargs
)
2499 def base_TransferDataToWindow(*args
, **kwargs
):
2500 """base_TransferDataToWindow() -> bool"""
2501 return _windows
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
2503 def base_TransferDataFromWindow(*args
, **kwargs
):
2504 """base_TransferDataFromWindow() -> bool"""
2505 return _windows
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
2507 def base_Validate(*args
, **kwargs
):
2508 """base_Validate() -> bool"""
2509 return _windows
.PyWindow_base_Validate(*args
, **kwargs
)
2511 def base_AcceptsFocus(*args
, **kwargs
):
2512 """base_AcceptsFocus() -> bool"""
2513 return _windows
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
2515 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2516 """base_AcceptsFocusFromKeyboard() -> bool"""
2517 return _windows
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2519 def base_GetMaxSize(*args
, **kwargs
):
2520 """base_GetMaxSize() -> Size"""
2521 return _windows
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
2523 def base_AddChild(*args
, **kwargs
):
2524 """base_AddChild(Window child)"""
2525 return _windows
.PyWindow_base_AddChild(*args
, **kwargs
)
2527 def base_RemoveChild(*args
, **kwargs
):
2528 """base_RemoveChild(Window child)"""
2529 return _windows
.PyWindow_base_RemoveChild(*args
, **kwargs
)
2532 class PyWindowPtr(PyWindow
):
2533 def __init__(self
, this
):
2535 if not hasattr(self
,"thisown"): self
.thisown
= 0
2536 self
.__class
__ = PyWindow
2537 _windows
.PyWindow_swigregister(PyWindowPtr
)
2539 class PyPanel(Panel
):
2541 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2542 def __init__(self
, *args
, **kwargs
):
2544 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2545 long style=0, String name=PanelNameStr) -> PyPanel
2547 newobj
= _windows
.new_PyPanel(*args
, **kwargs
)
2548 self
.this
= newobj
.this
2551 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
2553 def _setCallbackInfo(*args
, **kwargs
):
2554 """_setCallbackInfo(PyObject self, PyObject _class)"""
2555 return _windows
.PyPanel__setCallbackInfo(*args
, **kwargs
)
2557 def base_DoMoveWindow(*args
, **kwargs
):
2558 """base_DoMoveWindow(int x, int y, int width, int height)"""
2559 return _windows
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
2561 def base_DoSetSize(*args
, **kwargs
):
2562 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2563 return _windows
.PyPanel_base_DoSetSize(*args
, **kwargs
)
2565 def base_DoSetClientSize(*args
, **kwargs
):
2566 """base_DoSetClientSize(int width, int height)"""
2567 return _windows
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
2569 def base_DoSetVirtualSize(*args
, **kwargs
):
2570 """base_DoSetVirtualSize(int x, int y)"""
2571 return _windows
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
2573 def base_DoGetSize(*args
, **kwargs
):
2574 """base_DoGetSize() -> (width, height)"""
2575 return _windows
.PyPanel_base_DoGetSize(*args
, **kwargs
)
2577 def base_DoGetClientSize(*args
, **kwargs
):
2578 """base_DoGetClientSize() -> (width, height)"""
2579 return _windows
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
2581 def base_DoGetPosition(*args
, **kwargs
):
2582 """base_DoGetPosition() -> (x,y)"""
2583 return _windows
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
2585 def base_DoGetVirtualSize(*args
, **kwargs
):
2586 """base_DoGetVirtualSize() -> Size"""
2587 return _windows
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
2589 def base_DoGetBestSize(*args
, **kwargs
):
2590 """base_DoGetBestSize() -> Size"""
2591 return _windows
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
2593 def base_InitDialog(*args
, **kwargs
):
2594 """base_InitDialog()"""
2595 return _windows
.PyPanel_base_InitDialog(*args
, **kwargs
)
2597 def base_TransferDataToWindow(*args
, **kwargs
):
2598 """base_TransferDataToWindow() -> bool"""
2599 return _windows
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
2601 def base_TransferDataFromWindow(*args
, **kwargs
):
2602 """base_TransferDataFromWindow() -> bool"""
2603 return _windows
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
2605 def base_Validate(*args
, **kwargs
):
2606 """base_Validate() -> bool"""
2607 return _windows
.PyPanel_base_Validate(*args
, **kwargs
)
2609 def base_AcceptsFocus(*args
, **kwargs
):
2610 """base_AcceptsFocus() -> bool"""
2611 return _windows
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
2613 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2614 """base_AcceptsFocusFromKeyboard() -> bool"""
2615 return _windows
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2617 def base_GetMaxSize(*args
, **kwargs
):
2618 """base_GetMaxSize() -> Size"""
2619 return _windows
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
2621 def base_AddChild(*args
, **kwargs
):
2622 """base_AddChild(Window child)"""
2623 return _windows
.PyPanel_base_AddChild(*args
, **kwargs
)
2625 def base_RemoveChild(*args
, **kwargs
):
2626 """base_RemoveChild(Window child)"""
2627 return _windows
.PyPanel_base_RemoveChild(*args
, **kwargs
)
2630 class PyPanelPtr(PyPanel
):
2631 def __init__(self
, this
):
2633 if not hasattr(self
,"thisown"): self
.thisown
= 0
2634 self
.__class
__ = PyPanel
2635 _windows
.PyPanel_swigregister(PyPanelPtr
)
2637 #---------------------------------------------------------------------------
2639 PRINT_MODE_NONE
= _windows
.PRINT_MODE_NONE
2640 PRINT_MODE_PREVIEW
= _windows
.PRINT_MODE_PREVIEW
2641 PRINT_MODE_FILE
= _windows
.PRINT_MODE_FILE
2642 PRINT_MODE_PRINTER
= _windows
.PRINT_MODE_PRINTER
2643 class PrintData(core
.Object
):
2645 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2646 def __init__(self
, *args
, **kwargs
):
2647 """__init__() -> PrintData"""
2648 newobj
= _windows
.new_PrintData(*args
, **kwargs
)
2649 self
.this
= newobj
.this
2652 def __del__(self
, destroy
=_windows
.delete_PrintData
):
2655 if self
.thisown
: destroy(self
)
2658 def GetNoCopies(*args
, **kwargs
):
2659 """GetNoCopies() -> int"""
2660 return _windows
.PrintData_GetNoCopies(*args
, **kwargs
)
2662 def GetCollate(*args
, **kwargs
):
2663 """GetCollate() -> bool"""
2664 return _windows
.PrintData_GetCollate(*args
, **kwargs
)
2666 def GetOrientation(*args
, **kwargs
):
2667 """GetOrientation() -> int"""
2668 return _windows
.PrintData_GetOrientation(*args
, **kwargs
)
2670 def Ok(*args
, **kwargs
):
2672 return _windows
.PrintData_Ok(*args
, **kwargs
)
2674 def GetPrinterName(*args
, **kwargs
):
2675 """GetPrinterName() -> String"""
2676 return _windows
.PrintData_GetPrinterName(*args
, **kwargs
)
2678 def GetColour(*args
, **kwargs
):
2679 """GetColour() -> bool"""
2680 return _windows
.PrintData_GetColour(*args
, **kwargs
)
2682 def GetDuplex(*args
, **kwargs
):
2683 """GetDuplex() -> int"""
2684 return _windows
.PrintData_GetDuplex(*args
, **kwargs
)
2686 def GetPaperId(*args
, **kwargs
):
2687 """GetPaperId() -> int"""
2688 return _windows
.PrintData_GetPaperId(*args
, **kwargs
)
2690 def GetPaperSize(*args
, **kwargs
):
2691 """GetPaperSize() -> Size"""
2692 return _windows
.PrintData_GetPaperSize(*args
, **kwargs
)
2694 def GetQuality(*args
, **kwargs
):
2695 """GetQuality() -> int"""
2696 return _windows
.PrintData_GetQuality(*args
, **kwargs
)
2698 def SetNoCopies(*args
, **kwargs
):
2699 """SetNoCopies(int v)"""
2700 return _windows
.PrintData_SetNoCopies(*args
, **kwargs
)
2702 def SetCollate(*args
, **kwargs
):
2703 """SetCollate(bool flag)"""
2704 return _windows
.PrintData_SetCollate(*args
, **kwargs
)
2706 def SetOrientation(*args
, **kwargs
):
2707 """SetOrientation(int orient)"""
2708 return _windows
.PrintData_SetOrientation(*args
, **kwargs
)
2710 def SetPrinterName(*args
, **kwargs
):
2711 """SetPrinterName(String name)"""
2712 return _windows
.PrintData_SetPrinterName(*args
, **kwargs
)
2714 def SetColour(*args
, **kwargs
):
2715 """SetColour(bool colour)"""
2716 return _windows
.PrintData_SetColour(*args
, **kwargs
)
2718 def SetDuplex(*args
, **kwargs
):
2719 """SetDuplex(int duplex)"""
2720 return _windows
.PrintData_SetDuplex(*args
, **kwargs
)
2722 def SetPaperId(*args
, **kwargs
):
2723 """SetPaperId(int sizeId)"""
2724 return _windows
.PrintData_SetPaperId(*args
, **kwargs
)
2726 def SetPaperSize(*args
, **kwargs
):
2727 """SetPaperSize(Size sz)"""
2728 return _windows
.PrintData_SetPaperSize(*args
, **kwargs
)
2730 def SetQuality(*args
, **kwargs
):
2731 """SetQuality(int quality)"""
2732 return _windows
.PrintData_SetQuality(*args
, **kwargs
)
2734 def GetPrinterCommand(*args
, **kwargs
):
2735 """GetPrinterCommand() -> String"""
2736 return _windows
.PrintData_GetPrinterCommand(*args
, **kwargs
)
2738 def GetPrinterOptions(*args
, **kwargs
):
2739 """GetPrinterOptions() -> String"""
2740 return _windows
.PrintData_GetPrinterOptions(*args
, **kwargs
)
2742 def GetPreviewCommand(*args
, **kwargs
):
2743 """GetPreviewCommand() -> String"""
2744 return _windows
.PrintData_GetPreviewCommand(*args
, **kwargs
)
2746 def GetFilename(*args
, **kwargs
):
2747 """GetFilename() -> String"""
2748 return _windows
.PrintData_GetFilename(*args
, **kwargs
)
2750 def GetFontMetricPath(*args
, **kwargs
):
2751 """GetFontMetricPath() -> String"""
2752 return _windows
.PrintData_GetFontMetricPath(*args
, **kwargs
)
2754 def GetPrinterScaleX(*args
, **kwargs
):
2755 """GetPrinterScaleX() -> double"""
2756 return _windows
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
2758 def GetPrinterScaleY(*args
, **kwargs
):
2759 """GetPrinterScaleY() -> double"""
2760 return _windows
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
2762 def GetPrinterTranslateX(*args
, **kwargs
):
2763 """GetPrinterTranslateX() -> long"""
2764 return _windows
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
2766 def GetPrinterTranslateY(*args
, **kwargs
):
2767 """GetPrinterTranslateY() -> long"""
2768 return _windows
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
2770 def GetPrintMode(*args
, **kwargs
):
2771 """GetPrintMode() -> int"""
2772 return _windows
.PrintData_GetPrintMode(*args
, **kwargs
)
2774 def SetPrinterCommand(*args
, **kwargs
):
2775 """SetPrinterCommand(String command)"""
2776 return _windows
.PrintData_SetPrinterCommand(*args
, **kwargs
)
2778 def SetPrinterOptions(*args
, **kwargs
):
2779 """SetPrinterOptions(String options)"""
2780 return _windows
.PrintData_SetPrinterOptions(*args
, **kwargs
)
2782 def SetPreviewCommand(*args
, **kwargs
):
2783 """SetPreviewCommand(String command)"""
2784 return _windows
.PrintData_SetPreviewCommand(*args
, **kwargs
)
2786 def SetFilename(*args
, **kwargs
):
2787 """SetFilename(String filename)"""
2788 return _windows
.PrintData_SetFilename(*args
, **kwargs
)
2790 def SetFontMetricPath(*args
, **kwargs
):
2791 """SetFontMetricPath(String path)"""
2792 return _windows
.PrintData_SetFontMetricPath(*args
, **kwargs
)
2794 def SetPrinterScaleX(*args
, **kwargs
):
2795 """SetPrinterScaleX(double x)"""
2796 return _windows
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
2798 def SetPrinterScaleY(*args
, **kwargs
):
2799 """SetPrinterScaleY(double y)"""
2800 return _windows
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
2802 def SetPrinterScaling(*args
, **kwargs
):
2803 """SetPrinterScaling(double x, double y)"""
2804 return _windows
.PrintData_SetPrinterScaling(*args
, **kwargs
)
2806 def SetPrinterTranslateX(*args
, **kwargs
):
2807 """SetPrinterTranslateX(long x)"""
2808 return _windows
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
2810 def SetPrinterTranslateY(*args
, **kwargs
):
2811 """SetPrinterTranslateY(long y)"""
2812 return _windows
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
2814 def SetPrinterTranslation(*args
, **kwargs
):
2815 """SetPrinterTranslation(long x, long y)"""
2816 return _windows
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
2818 def SetPrintMode(*args
, **kwargs
):
2819 """SetPrintMode(int printMode)"""
2820 return _windows
.PrintData_SetPrintMode(*args
, **kwargs
)
2822 def __nonzero__(self
): return self
.Ok()
2824 class PrintDataPtr(PrintData
):
2825 def __init__(self
, this
):
2827 if not hasattr(self
,"thisown"): self
.thisown
= 0
2828 self
.__class
__ = PrintData
2829 _windows
.PrintData_swigregister(PrintDataPtr
)
2830 PrintoutTitleStr
= cvar
.PrintoutTitleStr
2831 PreviewCanvasNameStr
= cvar
.PreviewCanvasNameStr
2833 class PageSetupDialogData(core
.Object
):
2835 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2836 def __init__(self
, *args
, **kwargs
):
2837 """__init__() -> PageSetupDialogData"""
2838 newobj
= _windows
.new_PageSetupDialogData(*args
, **kwargs
)
2839 self
.this
= newobj
.this
2842 def __del__(self
, destroy
=_windows
.delete_PageSetupDialogData
):
2845 if self
.thisown
: destroy(self
)
2848 def EnableHelp(*args
, **kwargs
):
2849 """EnableHelp(bool flag)"""
2850 return _windows
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
2852 def EnableMargins(*args
, **kwargs
):
2853 """EnableMargins(bool flag)"""
2854 return _windows
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
2856 def EnableOrientation(*args
, **kwargs
):
2857 """EnableOrientation(bool flag)"""
2858 return _windows
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
2860 def EnablePaper(*args
, **kwargs
):
2861 """EnablePaper(bool flag)"""
2862 return _windows
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
2864 def EnablePrinter(*args
, **kwargs
):
2865 """EnablePrinter(bool flag)"""
2866 return _windows
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
2868 def GetDefaultMinMargins(*args
, **kwargs
):
2869 """GetDefaultMinMargins() -> bool"""
2870 return _windows
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
2872 def GetEnableMargins(*args
, **kwargs
):
2873 """GetEnableMargins() -> bool"""
2874 return _windows
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
2876 def GetEnableOrientation(*args
, **kwargs
):
2877 """GetEnableOrientation() -> bool"""
2878 return _windows
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
2880 def GetEnablePaper(*args
, **kwargs
):
2881 """GetEnablePaper() -> bool"""
2882 return _windows
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
2884 def GetEnablePrinter(*args
, **kwargs
):
2885 """GetEnablePrinter() -> bool"""
2886 return _windows
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
2888 def GetEnableHelp(*args
, **kwargs
):
2889 """GetEnableHelp() -> bool"""
2890 return _windows
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
2892 def GetDefaultInfo(*args
, **kwargs
):
2893 """GetDefaultInfo() -> bool"""
2894 return _windows
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
2896 def GetMarginTopLeft(*args
, **kwargs
):
2897 """GetMarginTopLeft() -> Point"""
2898 return _windows
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
2900 def GetMarginBottomRight(*args
, **kwargs
):
2901 """GetMarginBottomRight() -> Point"""
2902 return _windows
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
2904 def GetMinMarginTopLeft(*args
, **kwargs
):
2905 """GetMinMarginTopLeft() -> Point"""
2906 return _windows
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
2908 def GetMinMarginBottomRight(*args
, **kwargs
):
2909 """GetMinMarginBottomRight() -> Point"""
2910 return _windows
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
2912 def GetPaperId(*args
, **kwargs
):
2913 """GetPaperId() -> int"""
2914 return _windows
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
2916 def GetPaperSize(*args
, **kwargs
):
2917 """GetPaperSize() -> Size"""
2918 return _windows
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
2920 def GetPrintData(*args
, **kwargs
):
2921 """GetPrintData() -> PrintData"""
2922 return _windows
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
2924 def Ok(*args
, **kwargs
):
2926 return _windows
.PageSetupDialogData_Ok(*args
, **kwargs
)
2928 def SetDefaultInfo(*args
, **kwargs
):
2929 """SetDefaultInfo(bool flag)"""
2930 return _windows
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
2932 def SetDefaultMinMargins(*args
, **kwargs
):
2933 """SetDefaultMinMargins(bool flag)"""
2934 return _windows
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
2936 def SetMarginTopLeft(*args
, **kwargs
):
2937 """SetMarginTopLeft(Point pt)"""
2938 return _windows
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
2940 def SetMarginBottomRight(*args
, **kwargs
):
2941 """SetMarginBottomRight(Point pt)"""
2942 return _windows
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
2944 def SetMinMarginTopLeft(*args
, **kwargs
):
2945 """SetMinMarginTopLeft(Point pt)"""
2946 return _windows
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
2948 def SetMinMarginBottomRight(*args
, **kwargs
):
2949 """SetMinMarginBottomRight(Point pt)"""
2950 return _windows
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
2952 def SetPaperId(*args
, **kwargs
):
2953 """SetPaperId(int id)"""
2954 return _windows
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
2956 def SetPaperSize(*args
, **kwargs
):
2957 """SetPaperSize(Size size)"""
2958 return _windows
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
2960 def SetPrintData(*args
, **kwargs
):
2961 """SetPrintData(PrintData printData)"""
2962 return _windows
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
2964 def __nonzero__(self
): return self
.Ok()
2966 class PageSetupDialogDataPtr(PageSetupDialogData
):
2967 def __init__(self
, this
):
2969 if not hasattr(self
,"thisown"): self
.thisown
= 0
2970 self
.__class
__ = PageSetupDialogData
2971 _windows
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
2973 class PageSetupDialog(Dialog
):
2975 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2976 def __init__(self
, *args
, **kwargs
):
2977 """__init__(Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
2978 newobj
= _windows
.new_PageSetupDialog(*args
, **kwargs
)
2979 self
.this
= newobj
.this
2982 self
._setOORInfo
(self
)
2984 def GetPageSetupData(*args
, **kwargs
):
2985 """GetPageSetupData() -> PageSetupDialogData"""
2986 return _windows
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
2988 def ShowModal(*args
, **kwargs
):
2989 """ShowModal() -> int"""
2990 return _windows
.PageSetupDialog_ShowModal(*args
, **kwargs
)
2993 class PageSetupDialogPtr(PageSetupDialog
):
2994 def __init__(self
, this
):
2996 if not hasattr(self
,"thisown"): self
.thisown
= 0
2997 self
.__class
__ = PageSetupDialog
2998 _windows
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
3000 class PrintDialogData(core
.Object
):
3002 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3003 def __init__(self
, *args
, **kwargs
):
3004 """__init__() -> PrintDialogData"""
3005 newobj
= _windows
.new_PrintDialogData(*args
, **kwargs
)
3006 self
.this
= newobj
.this
3009 def __del__(self
, destroy
=_windows
.delete_PrintDialogData
):
3012 if self
.thisown
: destroy(self
)
3015 def GetFromPage(*args
, **kwargs
):
3016 """GetFromPage() -> int"""
3017 return _windows
.PrintDialogData_GetFromPage(*args
, **kwargs
)
3019 def GetToPage(*args
, **kwargs
):
3020 """GetToPage() -> int"""
3021 return _windows
.PrintDialogData_GetToPage(*args
, **kwargs
)
3023 def GetMinPage(*args
, **kwargs
):
3024 """GetMinPage() -> int"""
3025 return _windows
.PrintDialogData_GetMinPage(*args
, **kwargs
)
3027 def GetMaxPage(*args
, **kwargs
):
3028 """GetMaxPage() -> int"""
3029 return _windows
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
3031 def GetNoCopies(*args
, **kwargs
):
3032 """GetNoCopies() -> int"""
3033 return _windows
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
3035 def GetAllPages(*args
, **kwargs
):
3036 """GetAllPages() -> bool"""
3037 return _windows
.PrintDialogData_GetAllPages(*args
, **kwargs
)
3039 def GetSelection(*args
, **kwargs
):
3040 """GetSelection() -> bool"""
3041 return _windows
.PrintDialogData_GetSelection(*args
, **kwargs
)
3043 def GetCollate(*args
, **kwargs
):
3044 """GetCollate() -> bool"""
3045 return _windows
.PrintDialogData_GetCollate(*args
, **kwargs
)
3047 def GetPrintToFile(*args
, **kwargs
):
3048 """GetPrintToFile() -> bool"""
3049 return _windows
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
3051 def GetSetupDialog(*args
, **kwargs
):
3052 """GetSetupDialog() -> bool"""
3053 return _windows
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
3055 def SetFromPage(*args
, **kwargs
):
3056 """SetFromPage(int v)"""
3057 return _windows
.PrintDialogData_SetFromPage(*args
, **kwargs
)
3059 def SetToPage(*args
, **kwargs
):
3060 """SetToPage(int v)"""
3061 return _windows
.PrintDialogData_SetToPage(*args
, **kwargs
)
3063 def SetMinPage(*args
, **kwargs
):
3064 """SetMinPage(int v)"""
3065 return _windows
.PrintDialogData_SetMinPage(*args
, **kwargs
)
3067 def SetMaxPage(*args
, **kwargs
):
3068 """SetMaxPage(int v)"""
3069 return _windows
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
3071 def SetNoCopies(*args
, **kwargs
):
3072 """SetNoCopies(int v)"""
3073 return _windows
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
3075 def SetAllPages(*args
, **kwargs
):
3076 """SetAllPages(bool flag)"""
3077 return _windows
.PrintDialogData_SetAllPages(*args
, **kwargs
)
3079 def SetSelection(*args
, **kwargs
):
3080 """SetSelection(bool flag)"""
3081 return _windows
.PrintDialogData_SetSelection(*args
, **kwargs
)
3083 def SetCollate(*args
, **kwargs
):
3084 """SetCollate(bool flag)"""
3085 return _windows
.PrintDialogData_SetCollate(*args
, **kwargs
)
3087 def SetPrintToFile(*args
, **kwargs
):
3088 """SetPrintToFile(bool flag)"""
3089 return _windows
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
3091 def SetSetupDialog(*args
, **kwargs
):
3092 """SetSetupDialog(bool flag)"""
3093 return _windows
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
3095 def EnablePrintToFile(*args
, **kwargs
):
3096 """EnablePrintToFile(bool flag)"""
3097 return _windows
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
3099 def EnableSelection(*args
, **kwargs
):
3100 """EnableSelection(bool flag)"""
3101 return _windows
.PrintDialogData_EnableSelection(*args
, **kwargs
)
3103 def EnablePageNumbers(*args
, **kwargs
):
3104 """EnablePageNumbers(bool flag)"""
3105 return _windows
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
3107 def EnableHelp(*args
, **kwargs
):
3108 """EnableHelp(bool flag)"""
3109 return _windows
.PrintDialogData_EnableHelp(*args
, **kwargs
)
3111 def GetEnablePrintToFile(*args
, **kwargs
):
3112 """GetEnablePrintToFile() -> bool"""
3113 return _windows
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
3115 def GetEnableSelection(*args
, **kwargs
):
3116 """GetEnableSelection() -> bool"""
3117 return _windows
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
3119 def GetEnablePageNumbers(*args
, **kwargs
):
3120 """GetEnablePageNumbers() -> bool"""
3121 return _windows
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
3123 def GetEnableHelp(*args
, **kwargs
):
3124 """GetEnableHelp() -> bool"""
3125 return _windows
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
3127 def Ok(*args
, **kwargs
):
3129 return _windows
.PrintDialogData_Ok(*args
, **kwargs
)
3131 def GetPrintData(*args
, **kwargs
):
3132 """GetPrintData() -> PrintData"""
3133 return _windows
.PrintDialogData_GetPrintData(*args
, **kwargs
)
3135 def SetPrintData(*args
, **kwargs
):
3136 """SetPrintData(PrintData printData)"""
3137 return _windows
.PrintDialogData_SetPrintData(*args
, **kwargs
)
3139 def __nonzero__(self
): return self
.Ok()
3141 class PrintDialogDataPtr(PrintDialogData
):
3142 def __init__(self
, this
):
3144 if not hasattr(self
,"thisown"): self
.thisown
= 0
3145 self
.__class
__ = PrintDialogData
3146 _windows
.PrintDialogData_swigregister(PrintDialogDataPtr
)
3148 class PrintDialog(Dialog
):
3150 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3151 def __init__(self
, *args
, **kwargs
):
3152 """__init__(Window parent, PrintDialogData data=None) -> PrintDialog"""
3153 newobj
= _windows
.new_PrintDialog(*args
, **kwargs
)
3154 self
.this
= newobj
.this
3157 self
._setOORInfo
(self
)
3159 def GetPrintDialogData(*args
, **kwargs
):
3160 """GetPrintDialogData() -> PrintDialogData"""
3161 return _windows
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
3163 def GetPrintDC(*args
, **kwargs
):
3164 """GetPrintDC() -> DC"""
3165 return _windows
.PrintDialog_GetPrintDC(*args
, **kwargs
)
3167 def ShowModal(*args
, **kwargs
):
3168 """ShowModal() -> int"""
3169 return _windows
.PrintDialog_ShowModal(*args
, **kwargs
)
3172 class PrintDialogPtr(PrintDialog
):
3173 def __init__(self
, this
):
3175 if not hasattr(self
,"thisown"): self
.thisown
= 0
3176 self
.__class
__ = PrintDialog
3177 _windows
.PrintDialog_swigregister(PrintDialogPtr
)
3179 PRINTER_NO_ERROR
= _windows
.PRINTER_NO_ERROR
3180 PRINTER_CANCELLED
= _windows
.PRINTER_CANCELLED
3181 PRINTER_ERROR
= _windows
.PRINTER_ERROR
3182 class Printer(core
.Object
):
3184 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3185 def __init__(self
, *args
, **kwargs
):
3186 """__init__(PrintDialogData data=None) -> Printer"""
3187 newobj
= _windows
.new_Printer(*args
, **kwargs
)
3188 self
.this
= newobj
.this
3191 def __del__(self
, destroy
=_windows
.delete_Printer
):
3194 if self
.thisown
: destroy(self
)
3197 def CreateAbortWindow(*args
, **kwargs
):
3198 """CreateAbortWindow(Window parent, Printout printout)"""
3199 return _windows
.Printer_CreateAbortWindow(*args
, **kwargs
)
3201 def GetPrintDialogData(*args
, **kwargs
):
3202 """GetPrintDialogData() -> PrintDialogData"""
3203 return _windows
.Printer_GetPrintDialogData(*args
, **kwargs
)
3205 def Print(*args
, **kwargs
):
3206 """Print(Window parent, Printout printout, int prompt=True) -> bool"""
3207 return _windows
.Printer_Print(*args
, **kwargs
)
3209 def PrintDialog(*args
, **kwargs
):
3210 """PrintDialog(Window parent) -> DC"""
3211 return _windows
.Printer_PrintDialog(*args
, **kwargs
)
3213 def ReportError(*args
, **kwargs
):
3214 """ReportError(Window parent, Printout printout, String message)"""
3215 return _windows
.Printer_ReportError(*args
, **kwargs
)
3217 def Setup(*args
, **kwargs
):
3218 """Setup(Window parent) -> bool"""
3219 return _windows
.Printer_Setup(*args
, **kwargs
)
3221 def GetAbort(*args
, **kwargs
):
3222 """GetAbort() -> bool"""
3223 return _windows
.Printer_GetAbort(*args
, **kwargs
)
3225 def GetLastError(*args
, **kwargs
):
3226 """Printer.GetLastError() -> int"""
3227 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3229 GetLastError
= staticmethod(GetLastError
)
3231 class PrinterPtr(Printer
):
3232 def __init__(self
, this
):
3234 if not hasattr(self
,"thisown"): self
.thisown
= 0
3235 self
.__class
__ = Printer
3236 _windows
.Printer_swigregister(PrinterPtr
)
3238 def Printer_GetLastError(*args
, **kwargs
):
3239 """Printer_GetLastError() -> int"""
3240 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3242 class Printout(core
.Object
):
3244 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3245 def __init__(self
, *args
, **kwargs
):
3246 """__init__(String title=PrintoutTitleStr) -> Printout"""
3247 newobj
= _windows
.new_Printout(*args
, **kwargs
)
3248 self
.this
= newobj
.this
3251 self
._setCallbackInfo
(self
, Printout
)
3253 def _setCallbackInfo(*args
, **kwargs
):
3254 """_setCallbackInfo(PyObject self, PyObject _class)"""
3255 return _windows
.Printout__setCallbackInfo(*args
, **kwargs
)
3257 def GetTitle(*args
, **kwargs
):
3258 """GetTitle() -> String"""
3259 return _windows
.Printout_GetTitle(*args
, **kwargs
)
3261 def GetDC(*args
, **kwargs
):
3263 return _windows
.Printout_GetDC(*args
, **kwargs
)
3265 def SetDC(*args
, **kwargs
):
3267 return _windows
.Printout_SetDC(*args
, **kwargs
)
3269 def SetPageSizePixels(*args
, **kwargs
):
3270 """SetPageSizePixels(int w, int h)"""
3271 return _windows
.Printout_SetPageSizePixels(*args
, **kwargs
)
3273 def GetPageSizePixels(*args
, **kwargs
):
3274 """GetPageSizePixels() -> (w, h)"""
3275 return _windows
.Printout_GetPageSizePixels(*args
, **kwargs
)
3277 def SetPageSizeMM(*args
, **kwargs
):
3278 """SetPageSizeMM(int w, int h)"""
3279 return _windows
.Printout_SetPageSizeMM(*args
, **kwargs
)
3281 def GetPageSizeMM(*args
, **kwargs
):
3282 """GetPageSizeMM() -> (w, h)"""
3283 return _windows
.Printout_GetPageSizeMM(*args
, **kwargs
)
3285 def SetPPIScreen(*args
, **kwargs
):
3286 """SetPPIScreen(int x, int y)"""
3287 return _windows
.Printout_SetPPIScreen(*args
, **kwargs
)
3289 def GetPPIScreen(*args
, **kwargs
):
3290 """GetPPIScreen() -> (x,y)"""
3291 return _windows
.Printout_GetPPIScreen(*args
, **kwargs
)
3293 def SetPPIPrinter(*args
, **kwargs
):
3294 """SetPPIPrinter(int x, int y)"""
3295 return _windows
.Printout_SetPPIPrinter(*args
, **kwargs
)
3297 def GetPPIPrinter(*args
, **kwargs
):
3298 """GetPPIPrinter() -> (x,y)"""
3299 return _windows
.Printout_GetPPIPrinter(*args
, **kwargs
)
3301 def IsPreview(*args
, **kwargs
):
3302 """IsPreview() -> bool"""
3303 return _windows
.Printout_IsPreview(*args
, **kwargs
)
3305 def SetIsPreview(*args
, **kwargs
):
3306 """SetIsPreview(bool p)"""
3307 return _windows
.Printout_SetIsPreview(*args
, **kwargs
)
3309 def base_OnBeginDocument(*args
, **kwargs
):
3310 """base_OnBeginDocument(int startPage, int endPage) -> bool"""
3311 return _windows
.Printout_base_OnBeginDocument(*args
, **kwargs
)
3313 def base_OnEndDocument(*args
, **kwargs
):
3314 """base_OnEndDocument()"""
3315 return _windows
.Printout_base_OnEndDocument(*args
, **kwargs
)
3317 def base_OnBeginPrinting(*args
, **kwargs
):
3318 """base_OnBeginPrinting()"""
3319 return _windows
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
3321 def base_OnEndPrinting(*args
, **kwargs
):
3322 """base_OnEndPrinting()"""
3323 return _windows
.Printout_base_OnEndPrinting(*args
, **kwargs
)
3325 def base_OnPreparePrinting(*args
, **kwargs
):
3326 """base_OnPreparePrinting()"""
3327 return _windows
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
3329 def base_HasPage(*args
, **kwargs
):
3330 """base_HasPage(int page) -> bool"""
3331 return _windows
.Printout_base_HasPage(*args
, **kwargs
)
3333 def base_GetPageInfo(*args
, **kwargs
):
3334 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
3335 return _windows
.Printout_base_GetPageInfo(*args
, **kwargs
)
3338 class PrintoutPtr(Printout
):
3339 def __init__(self
, this
):
3341 if not hasattr(self
,"thisown"): self
.thisown
= 0
3342 self
.__class
__ = Printout
3343 _windows
.Printout_swigregister(PrintoutPtr
)
3345 class PreviewCanvas(ScrolledWindow
):
3347 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3348 def __init__(self
, *args
, **kwargs
):
3350 __init__(PrintPreview preview, Window parent, Point pos=DefaultPosition,
3351 Size size=DefaultSize, long style=0,
3352 String name=PreviewCanvasNameStr) -> PreviewCanvas
3354 newobj
= _windows
.new_PreviewCanvas(*args
, **kwargs
)
3355 self
.this
= newobj
.this
3358 self
._setOORInfo
(self
)
3361 class PreviewCanvasPtr(PreviewCanvas
):
3362 def __init__(self
, this
):
3364 if not hasattr(self
,"thisown"): self
.thisown
= 0
3365 self
.__class
__ = PreviewCanvas
3366 _windows
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
3368 class PreviewFrame(Frame
):
3370 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3371 def __init__(self
, *args
, **kwargs
):
3373 __init__(PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
3374 Size size=DefaultSize,
3375 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
3377 newobj
= _windows
.new_PreviewFrame(*args
, **kwargs
)
3378 self
.this
= newobj
.this
3381 self
._setOORInfo
(self
)
3383 def Initialize(*args
, **kwargs
):
3385 return _windows
.PreviewFrame_Initialize(*args
, **kwargs
)
3387 def CreateControlBar(*args
, **kwargs
):
3388 """CreateControlBar()"""
3389 return _windows
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
3391 def CreateCanvas(*args
, **kwargs
):
3392 """CreateCanvas()"""
3393 return _windows
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
3395 def GetControlBar(*args
, **kwargs
):
3396 """GetControlBar() -> PreviewControlBar"""
3397 return _windows
.PreviewFrame_GetControlBar(*args
, **kwargs
)
3400 class PreviewFramePtr(PreviewFrame
):
3401 def __init__(self
, this
):
3403 if not hasattr(self
,"thisown"): self
.thisown
= 0
3404 self
.__class
__ = PreviewFrame
3405 _windows
.PreviewFrame_swigregister(PreviewFramePtr
)
3407 PREVIEW_PRINT
= _windows
.PREVIEW_PRINT
3408 PREVIEW_PREVIOUS
= _windows
.PREVIEW_PREVIOUS
3409 PREVIEW_NEXT
= _windows
.PREVIEW_NEXT
3410 PREVIEW_ZOOM
= _windows
.PREVIEW_ZOOM
3411 PREVIEW_FIRST
= _windows
.PREVIEW_FIRST
3412 PREVIEW_LAST
= _windows
.PREVIEW_LAST
3413 PREVIEW_GOTO
= _windows
.PREVIEW_GOTO
3414 PREVIEW_DEFAULT
= _windows
.PREVIEW_DEFAULT
3415 ID_PREVIEW_CLOSE
= _windows
.ID_PREVIEW_CLOSE
3416 ID_PREVIEW_NEXT
= _windows
.ID_PREVIEW_NEXT
3417 ID_PREVIEW_PREVIOUS
= _windows
.ID_PREVIEW_PREVIOUS
3418 ID_PREVIEW_PRINT
= _windows
.ID_PREVIEW_PRINT
3419 ID_PREVIEW_ZOOM
= _windows
.ID_PREVIEW_ZOOM
3420 ID_PREVIEW_FIRST
= _windows
.ID_PREVIEW_FIRST
3421 ID_PREVIEW_LAST
= _windows
.ID_PREVIEW_LAST
3422 ID_PREVIEW_GOTO
= _windows
.ID_PREVIEW_GOTO
3423 class PreviewControlBar(Panel
):
3425 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3426 def __init__(self
, *args
, **kwargs
):
3428 __init__(PrintPreview preview, long buttons, Window parent,
3429 Point pos=DefaultPosition, Size size=DefaultSize,
3430 long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
3432 newobj
= _windows
.new_PreviewControlBar(*args
, **kwargs
)
3433 self
.this
= newobj
.this
3436 self
._setOORInfo
(self
)
3438 def GetZoomControl(*args
, **kwargs
):
3439 """GetZoomControl() -> int"""
3440 return _windows
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
3442 def SetZoomControl(*args
, **kwargs
):
3443 """SetZoomControl(int zoom)"""
3444 return _windows
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
3446 def GetPrintPreview(*args
, **kwargs
):
3447 """GetPrintPreview() -> PrintPreview"""
3448 return _windows
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
3450 def OnNext(*args
, **kwargs
):
3452 return _windows
.PreviewControlBar_OnNext(*args
, **kwargs
)
3454 def OnPrevious(*args
, **kwargs
):
3456 return _windows
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
3458 def OnFirst(*args
, **kwargs
):
3460 return _windows
.PreviewControlBar_OnFirst(*args
, **kwargs
)
3462 def OnLast(*args
, **kwargs
):
3464 return _windows
.PreviewControlBar_OnLast(*args
, **kwargs
)
3466 def OnGoto(*args
, **kwargs
):
3468 return _windows
.PreviewControlBar_OnGoto(*args
, **kwargs
)
3471 class PreviewControlBarPtr(PreviewControlBar
):
3472 def __init__(self
, this
):
3474 if not hasattr(self
,"thisown"): self
.thisown
= 0
3475 self
.__class
__ = PreviewControlBar
3476 _windows
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
3478 class PrintPreview(core
.Object
):
3480 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3481 def __init__(self
, *args
, **kwargs
):
3482 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PrintPreview"""
3483 newobj
= _windows
.new_PrintPreview(*args
, **kwargs
)
3484 self
.this
= newobj
.this
3487 def SetCurrentPage(*args
, **kwargs
):
3488 """SetCurrentPage(int pageNum) -> bool"""
3489 return _windows
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
3491 def GetCurrentPage(*args
, **kwargs
):
3492 """GetCurrentPage() -> int"""
3493 return _windows
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
3495 def SetPrintout(*args
, **kwargs
):
3496 """SetPrintout(Printout printout)"""
3497 return _windows
.PrintPreview_SetPrintout(*args
, **kwargs
)
3499 def GetPrintout(*args
, **kwargs
):
3500 """GetPrintout() -> Printout"""
3501 return _windows
.PrintPreview_GetPrintout(*args
, **kwargs
)
3503 def GetPrintoutForPrinting(*args
, **kwargs
):
3504 """GetPrintoutForPrinting() -> Printout"""
3505 return _windows
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
3507 def SetFrame(*args
, **kwargs
):
3508 """SetFrame(Frame frame)"""
3509 return _windows
.PrintPreview_SetFrame(*args
, **kwargs
)
3511 def SetCanvas(*args
, **kwargs
):
3512 """SetCanvas(PreviewCanvas canvas)"""
3513 return _windows
.PrintPreview_SetCanvas(*args
, **kwargs
)
3515 def GetFrame(*args
, **kwargs
):
3516 """GetFrame() -> Frame"""
3517 return _windows
.PrintPreview_GetFrame(*args
, **kwargs
)
3519 def GetCanvas(*args
, **kwargs
):
3520 """GetCanvas() -> PreviewCanvas"""
3521 return _windows
.PrintPreview_GetCanvas(*args
, **kwargs
)
3523 def PaintPage(*args
, **kwargs
):
3524 """PaintPage(PreviewCanvas canvas, DC dc) -> bool"""
3525 return _windows
.PrintPreview_PaintPage(*args
, **kwargs
)
3527 def DrawBlankPage(*args
, **kwargs
):
3528 """DrawBlankPage(PreviewCanvas canvas, DC dc) -> bool"""
3529 return _windows
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
3531 def RenderPage(*args
, **kwargs
):
3532 """RenderPage(int pageNum) -> bool"""
3533 return _windows
.PrintPreview_RenderPage(*args
, **kwargs
)
3535 def AdjustScrollbars(*args
, **kwargs
):
3536 """AdjustScrollbars(PreviewCanvas canvas)"""
3537 return _windows
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
3539 def GetPrintDialogData(*args
, **kwargs
):
3540 """GetPrintDialogData() -> PrintDialogData"""
3541 return _windows
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
3543 def SetZoom(*args
, **kwargs
):
3544 """SetZoom(int percent)"""
3545 return _windows
.PrintPreview_SetZoom(*args
, **kwargs
)
3547 def GetZoom(*args
, **kwargs
):
3548 """GetZoom() -> int"""
3549 return _windows
.PrintPreview_GetZoom(*args
, **kwargs
)
3551 def GetMaxPage(*args
, **kwargs
):
3552 """GetMaxPage() -> int"""
3553 return _windows
.PrintPreview_GetMaxPage(*args
, **kwargs
)
3555 def GetMinPage(*args
, **kwargs
):
3556 """GetMinPage() -> int"""
3557 return _windows
.PrintPreview_GetMinPage(*args
, **kwargs
)
3559 def Ok(*args
, **kwargs
):
3561 return _windows
.PrintPreview_Ok(*args
, **kwargs
)
3563 def SetOk(*args
, **kwargs
):
3564 """SetOk(bool ok)"""
3565 return _windows
.PrintPreview_SetOk(*args
, **kwargs
)
3567 def Print(*args
, **kwargs
):
3568 """Print(bool interactive) -> bool"""
3569 return _windows
.PrintPreview_Print(*args
, **kwargs
)
3571 def DetermineScaling(*args
, **kwargs
):
3572 """DetermineScaling()"""
3573 return _windows
.PrintPreview_DetermineScaling(*args
, **kwargs
)
3575 def __nonzero__(self
): return self
.Ok()
3577 class PrintPreviewPtr(PrintPreview
):
3578 def __init__(self
, this
):
3580 if not hasattr(self
,"thisown"): self
.thisown
= 0
3581 self
.__class
__ = PrintPreview
3582 _windows
.PrintPreview_swigregister(PrintPreviewPtr
)
3584 class PyPrintPreview(PrintPreview
):
3586 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3587 def __init__(self
, *args
, **kwargs
):
3588 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PyPrintPreview"""
3589 newobj
= _windows
.new_PyPrintPreview(*args
, **kwargs
)
3590 self
.this
= newobj
.this
3593 self
._setCallbackInfo
(self
, PyPrintPreview
)
3595 def _setCallbackInfo(*args
, **kwargs
):
3596 """_setCallbackInfo(PyObject self, PyObject _class)"""
3597 return _windows
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
3599 def base_SetCurrentPage(*args
, **kwargs
):
3600 """base_SetCurrentPage(int pageNum) -> bool"""
3601 return _windows
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
3603 def base_PaintPage(*args
, **kwargs
):
3604 """base_PaintPage(PreviewCanvas canvas, DC dc) -> bool"""
3605 return _windows
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
3607 def base_DrawBlankPage(*args
, **kwargs
):
3608 """base_DrawBlankPage(PreviewCanvas canvas, DC dc) -> bool"""
3609 return _windows
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
3611 def base_RenderPage(*args
, **kwargs
):
3612 """base_RenderPage(int pageNum) -> bool"""
3613 return _windows
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
3615 def base_SetZoom(*args
, **kwargs
):
3616 """base_SetZoom(int percent)"""
3617 return _windows
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
3619 def base_Print(*args
, **kwargs
):
3620 """base_Print(bool interactive) -> bool"""
3621 return _windows
.PyPrintPreview_base_Print(*args
, **kwargs
)
3623 def base_DetermineScaling(*args
, **kwargs
):
3624 """base_DetermineScaling()"""
3625 return _windows
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
3628 class PyPrintPreviewPtr(PyPrintPreview
):
3629 def __init__(self
, this
):
3631 if not hasattr(self
,"thisown"): self
.thisown
= 0
3632 self
.__class
__ = PyPrintPreview
3633 _windows
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
3635 class PyPreviewFrame(PreviewFrame
):
3637 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3638 def __init__(self
, *args
, **kwargs
):
3640 __init__(PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
3641 Size size=DefaultSize,
3642 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
3644 newobj
= _windows
.new_PyPreviewFrame(*args
, **kwargs
)
3645 self
.this
= newobj
.this
3648 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
3650 def _setCallbackInfo(*args
, **kwargs
):
3651 """_setCallbackInfo(PyObject self, PyObject _class)"""
3652 return _windows
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
3654 def SetPreviewCanvas(*args
, **kwargs
):
3655 """SetPreviewCanvas(PreviewCanvas canvas)"""
3656 return _windows
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
3658 def SetControlBar(*args
, **kwargs
):
3659 """SetControlBar(PreviewControlBar bar)"""
3660 return _windows
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
3662 def base_Initialize(*args
, **kwargs
):
3663 """base_Initialize()"""
3664 return _windows
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
3666 def base_CreateCanvas(*args
, **kwargs
):
3667 """base_CreateCanvas()"""
3668 return _windows
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
3670 def base_CreateControlBar(*args
, **kwargs
):
3671 """base_CreateControlBar()"""
3672 return _windows
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
3675 class PyPreviewFramePtr(PyPreviewFrame
):
3676 def __init__(self
, this
):
3678 if not hasattr(self
,"thisown"): self
.thisown
= 0
3679 self
.__class
__ = PyPreviewFrame
3680 _windows
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
3682 class PyPreviewControlBar(PreviewControlBar
):
3684 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3685 def __init__(self
, *args
, **kwargs
):
3687 __init__(PrintPreview preview, long buttons, Window parent,
3688 Point pos=DefaultPosition, Size size=DefaultSize,
3689 long style=0, String name=PanelNameStr) -> PyPreviewControlBar
3691 newobj
= _windows
.new_PyPreviewControlBar(*args
, **kwargs
)
3692 self
.this
= newobj
.this
3695 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
3697 def _setCallbackInfo(*args
, **kwargs
):
3698 """_setCallbackInfo(PyObject self, PyObject _class)"""
3699 return _windows
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
3701 def SetPrintPreview(*args
, **kwargs
):
3702 """SetPrintPreview(PrintPreview preview)"""
3703 return _windows
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
3705 def base_CreateButtons(*args
, **kwargs
):
3706 """base_CreateButtons()"""
3707 return _windows
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
3709 def base_SetZoomControl(*args
, **kwargs
):
3710 """base_SetZoomControl(int zoom)"""
3711 return _windows
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
3714 class PyPreviewControlBarPtr(PyPreviewControlBar
):
3715 def __init__(self
, this
):
3717 if not hasattr(self
,"thisown"): self
.thisown
= 0
3718 self
.__class
__ = PyPreviewControlBar
3719 _windows
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)