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
)
165 def SetTargetRect(*args
, **kwargs
):
166 """SetTargetRect(Rect rect)"""
167 return _windows
.ScrolledWindow_SetTargetRect(*args
, **kwargs
)
169 def GetTargetRect(*args
, **kwargs
):
170 """GetTargetRect() -> Rect"""
171 return _windows
.ScrolledWindow_GetTargetRect(*args
, **kwargs
)
174 class ScrolledWindowPtr(ScrolledWindow
):
175 def __init__(self
, this
):
177 if not hasattr(self
,"thisown"): self
.thisown
= 0
178 self
.__class
__ = ScrolledWindow
179 _windows
.ScrolledWindow_swigregister(ScrolledWindowPtr
)
181 def PreScrolledWindow(*args
, **kwargs
):
182 """PreScrolledWindow() -> ScrolledWindow"""
183 val
= _windows
.new_PreScrolledWindow(*args
, **kwargs
)
187 #---------------------------------------------------------------------------
189 FULLSCREEN_NOMENUBAR
= _windows
.FULLSCREEN_NOMENUBAR
190 FULLSCREEN_NOTOOLBAR
= _windows
.FULLSCREEN_NOTOOLBAR
191 FULLSCREEN_NOSTATUSBAR
= _windows
.FULLSCREEN_NOSTATUSBAR
192 FULLSCREEN_NOBORDER
= _windows
.FULLSCREEN_NOBORDER
193 FULLSCREEN_NOCAPTION
= _windows
.FULLSCREEN_NOCAPTION
194 FULLSCREEN_ALL
= _windows
.FULLSCREEN_ALL
195 TOPLEVEL_EX_DIALOG
= _windows
.TOPLEVEL_EX_DIALOG
196 class TopLevelWindow(core
.Window
):
197 def __init__(self
): raise RuntimeError, "No constructor defined"
199 return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
200 def Maximize(*args
, **kwargs
):
201 """Maximize(bool maximize=True)"""
202 return _windows
.TopLevelWindow_Maximize(*args
, **kwargs
)
204 def Restore(*args
, **kwargs
):
206 return _windows
.TopLevelWindow_Restore(*args
, **kwargs
)
208 def Iconize(*args
, **kwargs
):
209 """Iconize(bool iconize=True)"""
210 return _windows
.TopLevelWindow_Iconize(*args
, **kwargs
)
212 def IsMaximized(*args
, **kwargs
):
213 """IsMaximized() -> bool"""
214 return _windows
.TopLevelWindow_IsMaximized(*args
, **kwargs
)
216 def IsIconized(*args
, **kwargs
):
217 """IsIconized() -> bool"""
218 return _windows
.TopLevelWindow_IsIconized(*args
, **kwargs
)
220 def GetIcon(*args
, **kwargs
):
221 """GetIcon() -> Icon"""
222 return _windows
.TopLevelWindow_GetIcon(*args
, **kwargs
)
224 def SetIcon(*args
, **kwargs
):
225 """SetIcon(Icon icon)"""
226 return _windows
.TopLevelWindow_SetIcon(*args
, **kwargs
)
228 def SetIcons(*args
, **kwargs
):
229 """SetIcons(wxIconBundle icons)"""
230 return _windows
.TopLevelWindow_SetIcons(*args
, **kwargs
)
232 def ShowFullScreen(*args
, **kwargs
):
233 """ShowFullScreen(bool show, long style=FULLSCREEN_ALL) -> bool"""
234 return _windows
.TopLevelWindow_ShowFullScreen(*args
, **kwargs
)
236 def IsFullScreen(*args
, **kwargs
):
237 """IsFullScreen() -> bool"""
238 return _windows
.TopLevelWindow_IsFullScreen(*args
, **kwargs
)
240 def SetTitle(*args
, **kwargs
):
241 """SetTitle(String title)"""
242 return _windows
.TopLevelWindow_SetTitle(*args
, **kwargs
)
244 def GetTitle(*args
, **kwargs
):
245 """GetTitle() -> String"""
246 return _windows
.TopLevelWindow_GetTitle(*args
, **kwargs
)
248 def SetShape(*args
, **kwargs
):
249 """SetShape(Region region) -> bool"""
250 return _windows
.TopLevelWindow_SetShape(*args
, **kwargs
)
253 class TopLevelWindowPtr(TopLevelWindow
):
254 def __init__(self
, this
):
256 if not hasattr(self
,"thisown"): self
.thisown
= 0
257 self
.__class
__ = TopLevelWindow
258 _windows
.TopLevelWindow_swigregister(TopLevelWindowPtr
)
260 FrameNameStr
= cvar
.FrameNameStr
261 DialogNameStr
= cvar
.DialogNameStr
262 StatusLineNameStr
= cvar
.StatusLineNameStr
263 ToolBarNameStr
= cvar
.ToolBarNameStr
265 #---------------------------------------------------------------------------
267 class Frame(TopLevelWindow
):
269 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
270 def __init__(self
, *args
, **kwargs
):
272 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
273 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
274 String name=FrameNameStr) -> Frame
276 newobj
= _windows
.new_Frame(*args
, **kwargs
)
277 self
.this
= newobj
.this
280 self
._setOORInfo
(self
)
282 def Create(*args
, **kwargs
):
284 Create(Window parent, int id, String title, Point pos=DefaultPosition,
285 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
286 String name=FrameNameStr) -> bool
288 return _windows
.Frame_Create(*args
, **kwargs
)
290 def GetClientAreaOrigin(*args
, **kwargs
):
291 """GetClientAreaOrigin() -> Point"""
292 return _windows
.Frame_GetClientAreaOrigin(*args
, **kwargs
)
294 def SendSizeEvent(*args
, **kwargs
):
295 """SendSizeEvent()"""
296 return _windows
.Frame_SendSizeEvent(*args
, **kwargs
)
298 def SetMenuBar(*args
, **kwargs
):
299 """SetMenuBar(MenuBar menubar)"""
300 return _windows
.Frame_SetMenuBar(*args
, **kwargs
)
302 def GetMenuBar(*args
, **kwargs
):
303 """GetMenuBar() -> MenuBar"""
304 return _windows
.Frame_GetMenuBar(*args
, **kwargs
)
306 def ProcessCommand(*args
, **kwargs
):
307 """ProcessCommand(int winid) -> bool"""
308 return _windows
.Frame_ProcessCommand(*args
, **kwargs
)
310 Command
= ProcessCommand
311 def CreateStatusBar(*args
, **kwargs
):
313 CreateStatusBar(int number=1, long style=ST_SIZEGRIP, int winid=0,
314 String name=StatusLineNameStr) -> StatusBar
316 return _windows
.Frame_CreateStatusBar(*args
, **kwargs
)
318 def GetStatusBar(*args
, **kwargs
):
319 """GetStatusBar() -> StatusBar"""
320 return _windows
.Frame_GetStatusBar(*args
, **kwargs
)
322 def SetStatusBar(*args
, **kwargs
):
323 """SetStatusBar(StatusBar statBar)"""
324 return _windows
.Frame_SetStatusBar(*args
, **kwargs
)
326 def SetStatusText(*args
, **kwargs
):
327 """SetStatusText(String text, int number=0)"""
328 return _windows
.Frame_SetStatusText(*args
, **kwargs
)
330 def SetStatusWidths(*args
, **kwargs
):
331 """SetStatusWidths(int widths, int widths_field)"""
332 return _windows
.Frame_SetStatusWidths(*args
, **kwargs
)
334 def PushStatusText(*args
, **kwargs
):
335 """PushStatusText(String text, int number=0)"""
336 return _windows
.Frame_PushStatusText(*args
, **kwargs
)
338 def PopStatusText(*args
, **kwargs
):
339 """PopStatusText(int number=0)"""
340 return _windows
.Frame_PopStatusText(*args
, **kwargs
)
342 def SetStatusBarPane(*args
, **kwargs
):
343 """SetStatusBarPane(int n)"""
344 return _windows
.Frame_SetStatusBarPane(*args
, **kwargs
)
346 def GetStatusBarPane(*args
, **kwargs
):
347 """GetStatusBarPane() -> int"""
348 return _windows
.Frame_GetStatusBarPane(*args
, **kwargs
)
350 def CreateToolBar(*args
, **kwargs
):
351 """CreateToolBar(long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar"""
352 return _windows
.Frame_CreateToolBar(*args
, **kwargs
)
354 def GetToolBar(*args
, **kwargs
):
355 """GetToolBar() -> wxToolBar"""
356 return _windows
.Frame_GetToolBar(*args
, **kwargs
)
358 def SetToolBar(*args
, **kwargs
):
359 """SetToolBar(wxToolBar toolbar)"""
360 return _windows
.Frame_SetToolBar(*args
, **kwargs
)
362 def DoGiveHelp(*args
, **kwargs
):
363 """DoGiveHelp(String text, bool show)"""
364 return _windows
.Frame_DoGiveHelp(*args
, **kwargs
)
366 def DoMenuUpdates(*args
, **kwargs
):
367 """DoMenuUpdates(Menu menu=None)"""
368 return _windows
.Frame_DoMenuUpdates(*args
, **kwargs
)
371 class FramePtr(Frame
):
372 def __init__(self
, this
):
374 if not hasattr(self
,"thisown"): self
.thisown
= 0
375 self
.__class
__ = Frame
376 _windows
.Frame_swigregister(FramePtr
)
378 def PreFrame(*args
, **kwargs
):
379 """PreFrame() -> Frame"""
380 val
= _windows
.new_PreFrame(*args
, **kwargs
)
384 #---------------------------------------------------------------------------
386 class Dialog(TopLevelWindow
):
388 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
389 def __init__(self
, *args
, **kwargs
):
391 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
392 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
393 String name=DialogNameStr) -> Dialog
395 newobj
= _windows
.new_Dialog(*args
, **kwargs
)
396 self
.this
= newobj
.this
399 self
._setOORInfo
(self
)
401 def Create(*args
, **kwargs
):
403 Create(Window parent, int id, String title, Point pos=DefaultPosition,
404 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
405 String name=DialogNameStr) -> bool
407 return _windows
.Dialog_Create(*args
, **kwargs
)
409 def SetReturnCode(*args
, **kwargs
):
410 """SetReturnCode(int returnCode)"""
411 return _windows
.Dialog_SetReturnCode(*args
, **kwargs
)
413 def GetReturnCode(*args
, **kwargs
):
414 """GetReturnCode() -> int"""
415 return _windows
.Dialog_GetReturnCode(*args
, **kwargs
)
417 def CreateTextSizer(*args
, **kwargs
):
418 """CreateTextSizer(String message) -> Sizer"""
419 return _windows
.Dialog_CreateTextSizer(*args
, **kwargs
)
421 def CreateButtonSizer(*args
, **kwargs
):
422 """CreateButtonSizer(long flags) -> Sizer"""
423 return _windows
.Dialog_CreateButtonSizer(*args
, **kwargs
)
425 def SetModal(*args
, **kwargs
):
426 """SetModal(bool flag)"""
427 return _windows
.Dialog_SetModal(*args
, **kwargs
)
429 def IsModal(*args
, **kwargs
):
430 """IsModal() -> bool"""
431 return _windows
.Dialog_IsModal(*args
, **kwargs
)
433 def ShowModal(*args
, **kwargs
):
434 """ShowModal() -> int"""
435 return _windows
.Dialog_ShowModal(*args
, **kwargs
)
437 def EndModal(*args
, **kwargs
):
438 """EndModal(int retCode)"""
439 return _windows
.Dialog_EndModal(*args
, **kwargs
)
441 def IsModalShowing(*args
, **kwargs
):
442 """IsModalShowing() -> bool"""
443 return _windows
.Dialog_IsModalShowing(*args
, **kwargs
)
446 class DialogPtr(Dialog
):
447 def __init__(self
, this
):
449 if not hasattr(self
,"thisown"): self
.thisown
= 0
450 self
.__class
__ = Dialog
451 _windows
.Dialog_swigregister(DialogPtr
)
453 def PreDialog(*args
, **kwargs
):
454 """PreDialog() -> Dialog"""
455 val
= _windows
.new_PreDialog(*args
, **kwargs
)
459 #---------------------------------------------------------------------------
461 class MiniFrame(Frame
):
463 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
464 def __init__(self
, *args
, **kwargs
):
466 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
467 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
468 String name=FrameNameStr) -> MiniFrame
470 newobj
= _windows
.new_MiniFrame(*args
, **kwargs
)
471 self
.this
= newobj
.this
474 self
._setOORInfo
(self
)
476 def Create(*args
, **kwargs
):
478 Create(Window parent, int id, String title, Point pos=DefaultPosition,
479 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
480 String name=FrameNameStr) -> bool
482 return _windows
.MiniFrame_Create(*args
, **kwargs
)
485 class MiniFramePtr(MiniFrame
):
486 def __init__(self
, this
):
488 if not hasattr(self
,"thisown"): self
.thisown
= 0
489 self
.__class
__ = MiniFrame
490 _windows
.MiniFrame_swigregister(MiniFramePtr
)
492 def PreMiniFrame(*args
, **kwargs
):
493 """PreMiniFrame() -> MiniFrame"""
494 val
= _windows
.new_PreMiniFrame(*args
, **kwargs
)
498 #---------------------------------------------------------------------------
500 SPLASH_CENTRE_ON_PARENT
= _windows
.SPLASH_CENTRE_ON_PARENT
501 SPLASH_CENTRE_ON_SCREEN
= _windows
.SPLASH_CENTRE_ON_SCREEN
502 SPLASH_NO_CENTRE
= _windows
.SPLASH_NO_CENTRE
503 SPLASH_TIMEOUT
= _windows
.SPLASH_TIMEOUT
504 SPLASH_NO_TIMEOUT
= _windows
.SPLASH_NO_TIMEOUT
505 class SplashScreenWindow(core
.Window
):
507 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
508 def __init__(self
, *args
, **kwargs
):
510 __init__(Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
511 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
513 newobj
= _windows
.new_SplashScreenWindow(*args
, **kwargs
)
514 self
.this
= newobj
.this
517 self
._setOORInfo
(self
)
519 def SetBitmap(*args
, **kwargs
):
520 """SetBitmap(Bitmap bitmap)"""
521 return _windows
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
523 def GetBitmap(*args
, **kwargs
):
524 """GetBitmap() -> Bitmap"""
525 return _windows
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
528 class SplashScreenWindowPtr(SplashScreenWindow
):
529 def __init__(self
, this
):
531 if not hasattr(self
,"thisown"): self
.thisown
= 0
532 self
.__class
__ = SplashScreenWindow
533 _windows
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
535 class SplashScreen(Frame
):
537 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
538 def __init__(self
, *args
, **kwargs
):
540 __init__(Bitmap bitmap, long splashStyle, int milliseconds,
541 Window parent, int id, Point pos=DefaultPosition,
542 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
544 newobj
= _windows
.new_SplashScreen(*args
, **kwargs
)
545 self
.this
= newobj
.this
548 self
._setOORInfo
(self
)
550 def GetSplashStyle(*args
, **kwargs
):
551 """GetSplashStyle() -> long"""
552 return _windows
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
554 def GetSplashWindow(*args
, **kwargs
):
555 """GetSplashWindow() -> SplashScreenWindow"""
556 return _windows
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
558 def GetTimeout(*args
, **kwargs
):
559 """GetTimeout() -> int"""
560 return _windows
.SplashScreen_GetTimeout(*args
, **kwargs
)
563 class SplashScreenPtr(SplashScreen
):
564 def __init__(self
, this
):
566 if not hasattr(self
,"thisown"): self
.thisown
= 0
567 self
.__class
__ = SplashScreen
568 _windows
.SplashScreen_swigregister(SplashScreenPtr
)
570 #---------------------------------------------------------------------------
572 class StatusBar(core
.Window
):
574 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
575 def __init__(self
, *args
, **kwargs
):
576 """__init__(Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> StatusBar"""
577 newobj
= _windows
.new_StatusBar(*args
, **kwargs
)
578 self
.this
= newobj
.this
581 self
._setOORInfo
(self
)
583 def Create(*args
, **kwargs
):
584 """Create(Window parent, int id, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
585 return _windows
.StatusBar_Create(*args
, **kwargs
)
587 def SetFieldsCount(*args
, **kwargs
):
588 """SetFieldsCount(int number=1)"""
589 return _windows
.StatusBar_SetFieldsCount(*args
, **kwargs
)
591 def GetFieldsCount(*args
, **kwargs
):
592 """GetFieldsCount() -> int"""
593 return _windows
.StatusBar_GetFieldsCount(*args
, **kwargs
)
595 def SetStatusText(*args
, **kwargs
):
596 """SetStatusText(String text, int number=0)"""
597 return _windows
.StatusBar_SetStatusText(*args
, **kwargs
)
599 def GetStatusText(*args
, **kwargs
):
600 """GetStatusText(int number=0) -> String"""
601 return _windows
.StatusBar_GetStatusText(*args
, **kwargs
)
603 def PushStatusText(*args
, **kwargs
):
604 """PushStatusText(String text, int number=0)"""
605 return _windows
.StatusBar_PushStatusText(*args
, **kwargs
)
607 def PopStatusText(*args
, **kwargs
):
608 """PopStatusText(int number=0)"""
609 return _windows
.StatusBar_PopStatusText(*args
, **kwargs
)
611 def SetStatusWidths(*args
, **kwargs
):
612 """SetStatusWidths(int widths, int widths_field)"""
613 return _windows
.StatusBar_SetStatusWidths(*args
, **kwargs
)
615 def GetFieldRect(*args
, **kwargs
):
616 """GetFieldRect(int i) -> Rect"""
617 return _windows
.StatusBar_GetFieldRect(*args
, **kwargs
)
619 def SetMinHeight(*args
, **kwargs
):
620 """SetMinHeight(int height)"""
621 return _windows
.StatusBar_SetMinHeight(*args
, **kwargs
)
623 def GetBorderX(*args
, **kwargs
):
624 """GetBorderX() -> int"""
625 return _windows
.StatusBar_GetBorderX(*args
, **kwargs
)
627 def GetBorderY(*args
, **kwargs
):
628 """GetBorderY() -> int"""
629 return _windows
.StatusBar_GetBorderY(*args
, **kwargs
)
632 class StatusBarPtr(StatusBar
):
633 def __init__(self
, this
):
635 if not hasattr(self
,"thisown"): self
.thisown
= 0
636 self
.__class
__ = StatusBar
637 _windows
.StatusBar_swigregister(StatusBarPtr
)
639 def PreStatusBar(*args
, **kwargs
):
640 """PreStatusBar() -> StatusBar"""
641 val
= _windows
.new_PreStatusBar(*args
, **kwargs
)
645 #---------------------------------------------------------------------------
647 SP_NOBORDER
= _windows
.SP_NOBORDER
648 SP_NOSASH
= _windows
.SP_NOSASH
649 SP_PERMIT_UNSPLIT
= _windows
.SP_PERMIT_UNSPLIT
650 SP_LIVE_UPDATE
= _windows
.SP_LIVE_UPDATE
651 SP_3DSASH
= _windows
.SP_3DSASH
652 SP_3DBORDER
= _windows
.SP_3DBORDER
653 SP_BORDER
= _windows
.SP_BORDER
654 SP_3D
= _windows
.SP_3D
655 SPLIT_HORIZONTAL
= _windows
.SPLIT_HORIZONTAL
656 SPLIT_VERTICAL
= _windows
.SPLIT_VERTICAL
657 SPLIT_DRAG_NONE
= _windows
.SPLIT_DRAG_NONE
658 SPLIT_DRAG_DRAGGING
= _windows
.SPLIT_DRAG_DRAGGING
659 SPLIT_DRAG_LEFT_DOWN
= _windows
.SPLIT_DRAG_LEFT_DOWN
660 class SplitterWindow(core
.Window
):
662 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
663 def __init__(self
, *args
, **kwargs
):
665 __init__(Window parent, int id, Point point=DefaultPosition,
666 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
668 newobj
= _windows
.new_SplitterWindow(*args
, **kwargs
)
669 self
.this
= newobj
.this
672 self
._setOORInfo
(self
)
674 def Create(*args
, **kwargs
):
676 Create(Window parent, int id, Point point=DefaultPosition,
677 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool
679 return _windows
.SplitterWindow_Create(*args
, **kwargs
)
681 def GetWindow1(*args
, **kwargs
):
682 """GetWindow1() -> Window"""
683 return _windows
.SplitterWindow_GetWindow1(*args
, **kwargs
)
685 def GetWindow2(*args
, **kwargs
):
686 """GetWindow2() -> Window"""
687 return _windows
.SplitterWindow_GetWindow2(*args
, **kwargs
)
689 def SetSplitMode(*args
, **kwargs
):
690 """SetSplitMode(int mode)"""
691 return _windows
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
693 def GetSplitMode(*args
, **kwargs
):
694 """GetSplitMode() -> int"""
695 return _windows
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
697 def Initialize(*args
, **kwargs
):
698 """Initialize(Window window)"""
699 return _windows
.SplitterWindow_Initialize(*args
, **kwargs
)
701 def SplitVertically(*args
, **kwargs
):
702 """SplitVertically(Window window1, Window window2, int sashPosition=0) -> bool"""
703 return _windows
.SplitterWindow_SplitVertically(*args
, **kwargs
)
705 def SplitHorizontally(*args
, **kwargs
):
706 """SplitHorizontally(Window window1, Window window2, int sashPosition=0) -> bool"""
707 return _windows
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
709 def Unsplit(*args
, **kwargs
):
710 """Unsplit(Window toRemove=None) -> bool"""
711 return _windows
.SplitterWindow_Unsplit(*args
, **kwargs
)
713 def ReplaceWindow(*args
, **kwargs
):
714 """ReplaceWindow(Window winOld, Window winNew) -> bool"""
715 return _windows
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
717 def IsSplit(*args
, **kwargs
):
718 """IsSplit() -> bool"""
719 return _windows
.SplitterWindow_IsSplit(*args
, **kwargs
)
721 def SetSashSize(*args
, **kwargs
):
722 """SetSashSize(int width)"""
723 return _windows
.SplitterWindow_SetSashSize(*args
, **kwargs
)
725 def SetBorderSize(*args
, **kwargs
):
726 """SetBorderSize(int width)"""
727 return _windows
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
729 def GetSashSize(*args
, **kwargs
):
730 """GetSashSize() -> int"""
731 return _windows
.SplitterWindow_GetSashSize(*args
, **kwargs
)
733 def GetBorderSize(*args
, **kwargs
):
734 """GetBorderSize() -> int"""
735 return _windows
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
737 def SetSashPosition(*args
, **kwargs
):
738 """SetSashPosition(int position, bool redraw=True)"""
739 return _windows
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
741 def GetSashPosition(*args
, **kwargs
):
742 """GetSashPosition() -> int"""
743 return _windows
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
745 def SetMinimumPaneSize(*args
, **kwargs
):
746 """SetMinimumPaneSize(int min)"""
747 return _windows
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
749 def GetMinimumPaneSize(*args
, **kwargs
):
750 """GetMinimumPaneSize() -> int"""
751 return _windows
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
753 def SashHitTest(*args
, **kwargs
):
754 """SashHitTest(int x, int y, int tolerance=5) -> bool"""
755 return _windows
.SplitterWindow_SashHitTest(*args
, **kwargs
)
757 def SizeWindows(*args
, **kwargs
):
759 return _windows
.SplitterWindow_SizeWindows(*args
, **kwargs
)
761 def SetNeedUpdating(*args
, **kwargs
):
762 """SetNeedUpdating(bool needUpdating)"""
763 return _windows
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
765 def GetNeedUpdating(*args
, **kwargs
):
766 """GetNeedUpdating() -> bool"""
767 return _windows
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
770 class SplitterWindowPtr(SplitterWindow
):
771 def __init__(self
, this
):
773 if not hasattr(self
,"thisown"): self
.thisown
= 0
774 self
.__class
__ = SplitterWindow
775 _windows
.SplitterWindow_swigregister(SplitterWindowPtr
)
776 SplitterNameStr
= cvar
.SplitterNameStr
778 def PreSplitterWindow(*args
, **kwargs
):
779 """PreSplitterWindow() -> SplitterWindow"""
780 val
= _windows
.new_PreSplitterWindow(*args
, **kwargs
)
784 class SplitterEvent(core
.NotifyEvent
):
786 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
787 def __init__(self
, *args
, **kwargs
):
788 """__init__(wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent"""
789 newobj
= _windows
.new_SplitterEvent(*args
, **kwargs
)
790 self
.this
= newobj
.this
793 def SetSashPosition(*args
, **kwargs
):
794 """SetSashPosition(int pos)"""
795 return _windows
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
797 def GetSashPosition(*args
, **kwargs
):
798 """GetSashPosition() -> int"""
799 return _windows
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
801 def GetWindowBeingRemoved(*args
, **kwargs
):
802 """GetWindowBeingRemoved() -> Window"""
803 return _windows
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
805 def GetX(*args
, **kwargs
):
807 return _windows
.SplitterEvent_GetX(*args
, **kwargs
)
809 def GetY(*args
, **kwargs
):
811 return _windows
.SplitterEvent_GetY(*args
, **kwargs
)
814 class SplitterEventPtr(SplitterEvent
):
815 def __init__(self
, this
):
817 if not hasattr(self
,"thisown"): self
.thisown
= 0
818 self
.__class
__ = SplitterEvent
819 _windows
.SplitterEvent_swigregister(SplitterEventPtr
)
821 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
822 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
823 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
824 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows
.wxEVT_COMMAND_SPLITTER_UNSPLIT
825 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
826 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
827 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
828 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
830 #---------------------------------------------------------------------------
832 SASH_DRAG_NONE
= _windows
.SASH_DRAG_NONE
833 SASH_DRAG_DRAGGING
= _windows
.SASH_DRAG_DRAGGING
834 SASH_DRAG_LEFT_DOWN
= _windows
.SASH_DRAG_LEFT_DOWN
835 SW_NOBORDER
= _windows
.SW_NOBORDER
836 SW_BORDER
= _windows
.SW_BORDER
837 SW_3DSASH
= _windows
.SW_3DSASH
838 SW_3DBORDER
= _windows
.SW_3DBORDER
839 SW_3D
= _windows
.SW_3D
840 SASH_TOP
= _windows
.SASH_TOP
841 SASH_RIGHT
= _windows
.SASH_RIGHT
842 SASH_BOTTOM
= _windows
.SASH_BOTTOM
843 SASH_LEFT
= _windows
.SASH_LEFT
844 SASH_NONE
= _windows
.SASH_NONE
845 class SashWindow(core
.Window
):
847 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
848 def __init__(self
, *args
, **kwargs
):
850 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
851 long style=wxCLIP_CHILDREN|wxSW_3D,
852 String name=SashNameStr) -> SashWindow
854 newobj
= _windows
.new_SashWindow(*args
, **kwargs
)
855 self
.this
= newobj
.this
858 self
._setOORInfo
(self
)
860 def Create(*args
, **kwargs
):
862 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
863 long style=wxCLIP_CHILDREN|wxSW_3D,
864 String name=SashNameStr) -> bool
866 return _windows
.SashWindow_Create(*args
, **kwargs
)
868 def SetSashVisible(*args
, **kwargs
):
869 """SetSashVisible(int edge, bool sash)"""
870 return _windows
.SashWindow_SetSashVisible(*args
, **kwargs
)
872 def GetSashVisible(*args
, **kwargs
):
873 """GetSashVisible(int edge) -> bool"""
874 return _windows
.SashWindow_GetSashVisible(*args
, **kwargs
)
876 def SetSashBorder(*args
, **kwargs
):
877 """SetSashBorder(int edge, bool border)"""
878 return _windows
.SashWindow_SetSashBorder(*args
, **kwargs
)
880 def HasBorder(*args
, **kwargs
):
881 """HasBorder(int edge) -> bool"""
882 return _windows
.SashWindow_HasBorder(*args
, **kwargs
)
884 def GetEdgeMargin(*args
, **kwargs
):
885 """GetEdgeMargin(int edge) -> int"""
886 return _windows
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
888 def SetDefaultBorderSize(*args
, **kwargs
):
889 """SetDefaultBorderSize(int width)"""
890 return _windows
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
892 def GetDefaultBorderSize(*args
, **kwargs
):
893 """GetDefaultBorderSize() -> int"""
894 return _windows
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
896 def SetExtraBorderSize(*args
, **kwargs
):
897 """SetExtraBorderSize(int width)"""
898 return _windows
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
900 def GetExtraBorderSize(*args
, **kwargs
):
901 """GetExtraBorderSize() -> int"""
902 return _windows
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
904 def SetMinimumSizeX(*args
, **kwargs
):
905 """SetMinimumSizeX(int min)"""
906 return _windows
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
908 def SetMinimumSizeY(*args
, **kwargs
):
909 """SetMinimumSizeY(int min)"""
910 return _windows
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
912 def GetMinimumSizeX(*args
, **kwargs
):
913 """GetMinimumSizeX() -> int"""
914 return _windows
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
916 def GetMinimumSizeY(*args
, **kwargs
):
917 """GetMinimumSizeY() -> int"""
918 return _windows
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
920 def SetMaximumSizeX(*args
, **kwargs
):
921 """SetMaximumSizeX(int max)"""
922 return _windows
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
924 def SetMaximumSizeY(*args
, **kwargs
):
925 """SetMaximumSizeY(int max)"""
926 return _windows
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
928 def GetMaximumSizeX(*args
, **kwargs
):
929 """GetMaximumSizeX() -> int"""
930 return _windows
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
932 def GetMaximumSizeY(*args
, **kwargs
):
933 """GetMaximumSizeY() -> int"""
934 return _windows
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
936 def SashHitTest(*args
, **kwargs
):
937 """SashHitTest(int x, int y, int tolerance=2) -> int"""
938 return _windows
.SashWindow_SashHitTest(*args
, **kwargs
)
940 def SizeWindows(*args
, **kwargs
):
942 return _windows
.SashWindow_SizeWindows(*args
, **kwargs
)
945 class SashWindowPtr(SashWindow
):
946 def __init__(self
, this
):
948 if not hasattr(self
,"thisown"): self
.thisown
= 0
949 self
.__class
__ = SashWindow
950 _windows
.SashWindow_swigregister(SashWindowPtr
)
951 SashNameStr
= cvar
.SashNameStr
952 SashLayoutNameStr
= cvar
.SashLayoutNameStr
954 def PreSashWindow(*args
, **kwargs
):
955 """PreSashWindow() -> SashWindow"""
956 val
= _windows
.new_PreSashWindow(*args
, **kwargs
)
960 SASH_STATUS_OK
= _windows
.SASH_STATUS_OK
961 SASH_STATUS_OUT_OF_RANGE
= _windows
.SASH_STATUS_OUT_OF_RANGE
962 class SashEvent(core
.CommandEvent
):
964 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
965 def __init__(self
, *args
, **kwargs
):
966 """__init__(int id=0, int edge=SASH_NONE) -> SashEvent"""
967 newobj
= _windows
.new_SashEvent(*args
, **kwargs
)
968 self
.this
= newobj
.this
971 def SetEdge(*args
, **kwargs
):
972 """SetEdge(int edge)"""
973 return _windows
.SashEvent_SetEdge(*args
, **kwargs
)
975 def GetEdge(*args
, **kwargs
):
976 """GetEdge() -> int"""
977 return _windows
.SashEvent_GetEdge(*args
, **kwargs
)
979 def SetDragRect(*args
, **kwargs
):
980 """SetDragRect(Rect rect)"""
981 return _windows
.SashEvent_SetDragRect(*args
, **kwargs
)
983 def GetDragRect(*args
, **kwargs
):
984 """GetDragRect() -> Rect"""
985 return _windows
.SashEvent_GetDragRect(*args
, **kwargs
)
987 def SetDragStatus(*args
, **kwargs
):
988 """SetDragStatus(int status)"""
989 return _windows
.SashEvent_SetDragStatus(*args
, **kwargs
)
991 def GetDragStatus(*args
, **kwargs
):
992 """GetDragStatus() -> int"""
993 return _windows
.SashEvent_GetDragStatus(*args
, **kwargs
)
996 class SashEventPtr(SashEvent
):
997 def __init__(self
, this
):
999 if not hasattr(self
,"thisown"): self
.thisown
= 0
1000 self
.__class
__ = SashEvent
1001 _windows
.SashEvent_swigregister(SashEventPtr
)
1003 wxEVT_SASH_DRAGGED
= _windows
.wxEVT_SASH_DRAGGED
1004 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
1005 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
1007 #---------------------------------------------------------------------------
1009 LAYOUT_HORIZONTAL
= _windows
.LAYOUT_HORIZONTAL
1010 LAYOUT_VERTICAL
= _windows
.LAYOUT_VERTICAL
1011 LAYOUT_NONE
= _windows
.LAYOUT_NONE
1012 LAYOUT_TOP
= _windows
.LAYOUT_TOP
1013 LAYOUT_LEFT
= _windows
.LAYOUT_LEFT
1014 LAYOUT_RIGHT
= _windows
.LAYOUT_RIGHT
1015 LAYOUT_BOTTOM
= _windows
.LAYOUT_BOTTOM
1016 LAYOUT_LENGTH_Y
= _windows
.LAYOUT_LENGTH_Y
1017 LAYOUT_LENGTH_X
= _windows
.LAYOUT_LENGTH_X
1018 LAYOUT_MRU_LENGTH
= _windows
.LAYOUT_MRU_LENGTH
1019 LAYOUT_QUERY
= _windows
.LAYOUT_QUERY
1020 wxEVT_QUERY_LAYOUT_INFO
= _windows
.wxEVT_QUERY_LAYOUT_INFO
1021 wxEVT_CALCULATE_LAYOUT
= _windows
.wxEVT_CALCULATE_LAYOUT
1022 class QueryLayoutInfoEvent(core
.Event
):
1024 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1025 def __init__(self
, *args
, **kwargs
):
1026 """__init__(int id=0) -> QueryLayoutInfoEvent"""
1027 newobj
= _windows
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1028 self
.this
= newobj
.this
1031 def SetRequestedLength(*args
, **kwargs
):
1032 """SetRequestedLength(int length)"""
1033 return _windows
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1035 def GetRequestedLength(*args
, **kwargs
):
1036 """GetRequestedLength() -> int"""
1037 return _windows
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1039 def SetFlags(*args
, **kwargs
):
1040 """SetFlags(int flags)"""
1041 return _windows
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1043 def GetFlags(*args
, **kwargs
):
1044 """GetFlags() -> int"""
1045 return _windows
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1047 def SetSize(*args
, **kwargs
):
1048 """SetSize(Size size)"""
1049 return _windows
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1051 def GetSize(*args
, **kwargs
):
1052 """GetSize() -> Size"""
1053 return _windows
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1055 def SetOrientation(*args
, **kwargs
):
1056 """SetOrientation(int orient)"""
1057 return _windows
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1059 def GetOrientation(*args
, **kwargs
):
1060 """GetOrientation() -> int"""
1061 return _windows
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1063 def SetAlignment(*args
, **kwargs
):
1064 """SetAlignment(int align)"""
1065 return _windows
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1067 def GetAlignment(*args
, **kwargs
):
1068 """GetAlignment() -> int"""
1069 return _windows
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1072 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1073 def __init__(self
, this
):
1075 if not hasattr(self
,"thisown"): self
.thisown
= 0
1076 self
.__class
__ = QueryLayoutInfoEvent
1077 _windows
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1079 class CalculateLayoutEvent(core
.Event
):
1081 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1082 def __init__(self
, *args
, **kwargs
):
1083 """__init__(int id=0) -> CalculateLayoutEvent"""
1084 newobj
= _windows
.new_CalculateLayoutEvent(*args
, **kwargs
)
1085 self
.this
= newobj
.this
1088 def SetFlags(*args
, **kwargs
):
1089 """SetFlags(int flags)"""
1090 return _windows
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1092 def GetFlags(*args
, **kwargs
):
1093 """GetFlags() -> int"""
1094 return _windows
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1096 def SetRect(*args
, **kwargs
):
1097 """SetRect(Rect rect)"""
1098 return _windows
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1100 def GetRect(*args
, **kwargs
):
1101 """GetRect() -> Rect"""
1102 return _windows
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1105 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1106 def __init__(self
, this
):
1108 if not hasattr(self
,"thisown"): self
.thisown
= 0
1109 self
.__class
__ = CalculateLayoutEvent
1110 _windows
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1112 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1113 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1115 class SashLayoutWindow(SashWindow
):
1117 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1118 def __init__(self
, *args
, **kwargs
):
1120 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1121 long style=wxCLIP_CHILDREN|wxSW_3D,
1122 String name=SashLayoutNameStr) -> SashLayoutWindow
1124 newobj
= _windows
.new_SashLayoutWindow(*args
, **kwargs
)
1125 self
.this
= newobj
.this
1128 self
._setOORInfo
(self
)
1130 def Create(*args
, **kwargs
):
1132 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1133 long style=wxCLIP_CHILDREN|wxSW_3D,
1134 String name=SashLayoutNameStr) -> bool
1136 return _windows
.SashLayoutWindow_Create(*args
, **kwargs
)
1138 def GetAlignment(*args
, **kwargs
):
1139 """GetAlignment() -> int"""
1140 return _windows
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1142 def GetOrientation(*args
, **kwargs
):
1143 """GetOrientation() -> int"""
1144 return _windows
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1146 def SetAlignment(*args
, **kwargs
):
1147 """SetAlignment(int alignment)"""
1148 return _windows
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1150 def SetDefaultSize(*args
, **kwargs
):
1151 """SetDefaultSize(Size size)"""
1152 return _windows
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1154 def SetOrientation(*args
, **kwargs
):
1155 """SetOrientation(int orientation)"""
1156 return _windows
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1159 class SashLayoutWindowPtr(SashLayoutWindow
):
1160 def __init__(self
, this
):
1162 if not hasattr(self
,"thisown"): self
.thisown
= 0
1163 self
.__class
__ = SashLayoutWindow
1164 _windows
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1166 def PreSashLayoutWindow(*args
, **kwargs
):
1167 """PreSashLayoutWindow() -> SashLayoutWindow"""
1168 val
= _windows
.new_PreSashLayoutWindow(*args
, **kwargs
)
1172 class LayoutAlgorithm(core
.Object
):
1174 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1175 def __init__(self
, *args
, **kwargs
):
1176 """__init__() -> LayoutAlgorithm"""
1177 newobj
= _windows
.new_LayoutAlgorithm(*args
, **kwargs
)
1178 self
.this
= newobj
.this
1181 def __del__(self
, destroy
=_windows
.delete_LayoutAlgorithm
):
1184 if self
.thisown
: destroy(self
)
1187 def LayoutMDIFrame(*args
, **kwargs
):
1188 """LayoutMDIFrame(MDIParentFrame frame, Rect rect=None) -> bool"""
1189 return _windows
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1191 def LayoutFrame(*args
, **kwargs
):
1192 """LayoutFrame(Frame frame, Window mainWindow=None) -> bool"""
1193 return _windows
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1195 def LayoutWindow(*args
, **kwargs
):
1196 """LayoutWindow(Window parent, Window mainWindow=None) -> bool"""
1197 return _windows
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1200 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1201 def __init__(self
, this
):
1203 if not hasattr(self
,"thisown"): self
.thisown
= 0
1204 self
.__class
__ = LayoutAlgorithm
1205 _windows
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1207 #---------------------------------------------------------------------------
1209 class PopupWindow(core
.Window
):
1211 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1212 def __init__(self
, *args
, **kwargs
):
1213 """__init__(Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1214 newobj
= _windows
.new_PopupWindow(*args
, **kwargs
)
1215 self
.this
= newobj
.this
1218 self
._setOORInfo
(self
)
1220 def Create(*args
, **kwargs
):
1221 """Create(Window parent, int flags=BORDER_NONE) -> bool"""
1222 return _windows
.PopupWindow_Create(*args
, **kwargs
)
1224 def Position(*args
, **kwargs
):
1225 """Position(Point ptOrigin, Size size)"""
1226 return _windows
.PopupWindow_Position(*args
, **kwargs
)
1229 class PopupWindowPtr(PopupWindow
):
1230 def __init__(self
, this
):
1232 if not hasattr(self
,"thisown"): self
.thisown
= 0
1233 self
.__class
__ = PopupWindow
1234 _windows
.PopupWindow_swigregister(PopupWindowPtr
)
1236 def PrePopupWindow(*args
, **kwargs
):
1237 """PrePopupWindow() -> PopupWindow"""
1238 val
= _windows
.new_PrePopupWindow(*args
, **kwargs
)
1242 #---------------------------------------------------------------------------
1244 class PopupTransientWindow(PopupWindow
):
1246 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1247 def __init__(self
, *args
, **kwargs
):
1248 """__init__(Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1249 newobj
= _windows
.new_PopupTransientWindow(*args
, **kwargs
)
1250 self
.this
= newobj
.this
1253 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, PopupTransientWindow
)
1255 def _setCallbackInfo(*args
, **kwargs
):
1256 """_setCallbackInfo(PyObject self, PyObject _class)"""
1257 return _windows
.PopupTransientWindow__setCallbackInfo(*args
, **kwargs
)
1259 def Popup(*args
, **kwargs
):
1260 """Popup(Window focus=None)"""
1261 return _windows
.PopupTransientWindow_Popup(*args
, **kwargs
)
1263 def Dismiss(*args
, **kwargs
):
1265 return _windows
.PopupTransientWindow_Dismiss(*args
, **kwargs
)
1268 class PopupTransientWindowPtr(PopupTransientWindow
):
1269 def __init__(self
, this
):
1271 if not hasattr(self
,"thisown"): self
.thisown
= 0
1272 self
.__class
__ = PopupTransientWindow
1273 _windows
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1275 def PrePopupTransientWindow(*args
, **kwargs
):
1276 """PrePopupTransientWindow() -> PopupTransientWindow"""
1277 val
= _windows
.new_PrePopupTransientWindow(*args
, **kwargs
)
1281 #---------------------------------------------------------------------------
1283 class TipWindow(PopupTransientWindow
):
1285 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1286 def __init__(self
, *args
, **kwargs
):
1287 """__init__(Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1288 newobj
= _windows
.new_TipWindow(*args
, **kwargs
)
1289 self
.this
= newobj
.this
1292 self
._setOORInfo
(self
)
1294 def SetBoundingRect(*args
, **kwargs
):
1295 """SetBoundingRect(Rect rectBound)"""
1296 return _windows
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1298 def Close(*args
, **kwargs
):
1300 return _windows
.TipWindow_Close(*args
, **kwargs
)
1303 class TipWindowPtr(TipWindow
):
1304 def __init__(self
, this
):
1306 if not hasattr(self
,"thisown"): self
.thisown
= 0
1307 self
.__class
__ = TipWindow
1308 _windows
.TipWindow_swigregister(TipWindowPtr
)
1310 #---------------------------------------------------------------------------
1312 class VScrolledWindow(Panel
):
1314 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1315 def __init__(self
, *args
, **kwargs
):
1317 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1318 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
1320 newobj
= _windows
.new_VScrolledWindow(*args
, **kwargs
)
1321 self
.this
= newobj
.this
1324 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1326 def _setCallbackInfo(*args
, **kwargs
):
1327 """_setCallbackInfo(PyObject self, PyObject _class)"""
1328 return _windows
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1330 def Create(*args
, **kwargs
):
1332 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1333 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
1335 return _windows
.VScrolledWindow_Create(*args
, **kwargs
)
1337 def SetLineCount(*args
, **kwargs
):
1338 """SetLineCount(size_t count)"""
1339 return _windows
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1341 def ScrollToLine(*args
, **kwargs
):
1342 """ScrollToLine(size_t line) -> bool"""
1343 return _windows
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1345 def ScrollLines(*args
, **kwargs
):
1346 """ScrollLines(int lines) -> bool"""
1347 return _windows
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1349 def ScrollPages(*args
, **kwargs
):
1350 """ScrollPages(int pages) -> bool"""
1351 return _windows
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1353 def RefreshLine(*args
, **kwargs
):
1354 """RefreshLine(size_t line)"""
1355 return _windows
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1357 def RefreshLines(*args
, **kwargs
):
1358 """RefreshLines(size_t from, size_t to)"""
1359 return _windows
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1361 def HitTestXT(*args
, **kwargs
):
1362 """HitTestXT(int x, int y) -> int"""
1363 return _windows
.VScrolledWindow_HitTestXT(*args
, **kwargs
)
1365 def HitTest(*args
, **kwargs
):
1366 """HitTest(Point pt) -> int"""
1367 return _windows
.VScrolledWindow_HitTest(*args
, **kwargs
)
1369 def RefreshAll(*args
, **kwargs
):
1371 return _windows
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1373 def GetLineCount(*args
, **kwargs
):
1374 """GetLineCount() -> size_t"""
1375 return _windows
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1377 def GetFirstVisibleLine(*args
, **kwargs
):
1378 """GetFirstVisibleLine() -> size_t"""
1379 return _windows
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1381 def GetLastVisibleLine(*args
, **kwargs
):
1382 """GetLastVisibleLine() -> size_t"""
1383 return _windows
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1385 def IsVisible(*args
, **kwargs
):
1386 """IsVisible(size_t line) -> bool"""
1387 return _windows
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1390 class VScrolledWindowPtr(VScrolledWindow
):
1391 def __init__(self
, this
):
1393 if not hasattr(self
,"thisown"): self
.thisown
= 0
1394 self
.__class
__ = VScrolledWindow
1395 _windows
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
1397 def PreVScrolledWindow(*args
, **kwargs
):
1398 """PreVScrolledWindow() -> VScrolledWindow"""
1399 val
= _windows
.new_PreVScrolledWindow(*args
, **kwargs
)
1403 class VListBox(VScrolledWindow
):
1405 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1406 def __init__(self
, *args
, **kwargs
):
1408 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1409 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
1411 newobj
= _windows
.new_VListBox(*args
, **kwargs
)
1412 self
.this
= newobj
.this
1415 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
1417 def _setCallbackInfo(*args
, **kwargs
):
1418 """_setCallbackInfo(PyObject self, PyObject _class)"""
1419 return _windows
.VListBox__setCallbackInfo(*args
, **kwargs
)
1421 def Create(*args
, **kwargs
):
1423 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1424 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1426 return _windows
.VListBox_Create(*args
, **kwargs
)
1428 def GetItemCount(*args
, **kwargs
):
1429 """GetItemCount() -> size_t"""
1430 return _windows
.VListBox_GetItemCount(*args
, **kwargs
)
1432 def HasMultipleSelection(*args
, **kwargs
):
1433 """HasMultipleSelection() -> bool"""
1434 return _windows
.VListBox_HasMultipleSelection(*args
, **kwargs
)
1436 def GetSelection(*args
, **kwargs
):
1437 """GetSelection() -> int"""
1438 return _windows
.VListBox_GetSelection(*args
, **kwargs
)
1440 def IsCurrent(*args
, **kwargs
):
1441 """IsCurrent(size_t item) -> bool"""
1442 return _windows
.VListBox_IsCurrent(*args
, **kwargs
)
1444 def IsSelected(*args
, **kwargs
):
1445 """IsSelected(size_t item) -> bool"""
1446 return _windows
.VListBox_IsSelected(*args
, **kwargs
)
1448 def GetSelectedCount(*args
, **kwargs
):
1449 """GetSelectedCount() -> size_t"""
1450 return _windows
.VListBox_GetSelectedCount(*args
, **kwargs
)
1452 def GetFirstSelected(*args
, **kwargs
):
1453 """GetFirstSelected(unsigned long cookie) -> int"""
1454 return _windows
.VListBox_GetFirstSelected(*args
, **kwargs
)
1456 def GetNextSelected(*args
, **kwargs
):
1457 """GetNextSelected(unsigned long cookie) -> int"""
1458 return _windows
.VListBox_GetNextSelected(*args
, **kwargs
)
1460 def GetMargins(*args
, **kwargs
):
1461 """GetMargins() -> Point"""
1462 return _windows
.VListBox_GetMargins(*args
, **kwargs
)
1464 def GetSelectionBackground(*args
, **kwargs
):
1465 """GetSelectionBackground() -> Colour"""
1466 return _windows
.VListBox_GetSelectionBackground(*args
, **kwargs
)
1468 def SetItemCount(*args
, **kwargs
):
1469 """SetItemCount(size_t count)"""
1470 return _windows
.VListBox_SetItemCount(*args
, **kwargs
)
1472 def Clear(*args
, **kwargs
):
1474 return _windows
.VListBox_Clear(*args
, **kwargs
)
1476 def SetSelection(*args
, **kwargs
):
1477 """SetSelection(int selection)"""
1478 return _windows
.VListBox_SetSelection(*args
, **kwargs
)
1480 def Select(*args
, **kwargs
):
1481 """Select(size_t item, bool select=True) -> bool"""
1482 return _windows
.VListBox_Select(*args
, **kwargs
)
1484 def SelectRange(*args
, **kwargs
):
1485 """SelectRange(size_t from, size_t to) -> bool"""
1486 return _windows
.VListBox_SelectRange(*args
, **kwargs
)
1488 def Toggle(*args
, **kwargs
):
1489 """Toggle(size_t item)"""
1490 return _windows
.VListBox_Toggle(*args
, **kwargs
)
1492 def SelectAll(*args
, **kwargs
):
1493 """SelectAll() -> bool"""
1494 return _windows
.VListBox_SelectAll(*args
, **kwargs
)
1496 def DeselectAll(*args
, **kwargs
):
1497 """DeselectAll() -> bool"""
1498 return _windows
.VListBox_DeselectAll(*args
, **kwargs
)
1500 def SetMargins(*args
, **kwargs
):
1501 """SetMargins(Point pt)"""
1502 return _windows
.VListBox_SetMargins(*args
, **kwargs
)
1504 def SetMarginsXY(*args
, **kwargs
):
1505 """SetMarginsXY(int x, int y)"""
1506 return _windows
.VListBox_SetMarginsXY(*args
, **kwargs
)
1508 def SetSelectionBackground(*args
, **kwargs
):
1509 """SetSelectionBackground(Colour col)"""
1510 return _windows
.VListBox_SetSelectionBackground(*args
, **kwargs
)
1513 class VListBoxPtr(VListBox
):
1514 def __init__(self
, this
):
1516 if not hasattr(self
,"thisown"): self
.thisown
= 0
1517 self
.__class
__ = VListBox
1518 _windows
.VListBox_swigregister(VListBoxPtr
)
1519 VListBoxNameStr
= cvar
.VListBoxNameStr
1521 def PreVListBox(*args
, **kwargs
):
1522 """PreVListBox() -> VListBox"""
1523 val
= _windows
.new_PreVListBox(*args
, **kwargs
)
1527 class HtmlListBox(VListBox
):
1529 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1530 def __init__(self
, *args
, **kwargs
):
1532 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1533 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
1535 newobj
= _windows
.new_HtmlListBox(*args
, **kwargs
)
1536 self
.this
= newobj
.this
1539 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
1541 def _setCallbackInfo(*args
, **kwargs
):
1542 """_setCallbackInfo(PyObject self, PyObject _class)"""
1543 return _windows
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
1545 def Create(*args
, **kwargs
):
1547 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1548 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1550 return _windows
.HtmlListBox_Create(*args
, **kwargs
)
1552 def RefreshAll(*args
, **kwargs
):
1554 return _windows
.HtmlListBox_RefreshAll(*args
, **kwargs
)
1556 def SetItemCount(*args
, **kwargs
):
1557 """SetItemCount(size_t count)"""
1558 return _windows
.HtmlListBox_SetItemCount(*args
, **kwargs
)
1561 class HtmlListBoxPtr(HtmlListBox
):
1562 def __init__(self
, this
):
1564 if not hasattr(self
,"thisown"): self
.thisown
= 0
1565 self
.__class
__ = HtmlListBox
1566 _windows
.HtmlListBox_swigregister(HtmlListBoxPtr
)
1568 def PreHtmlListBox(*args
, **kwargs
):
1569 """PreHtmlListBox() -> HtmlListBox"""
1570 val
= _windows
.new_PreHtmlListBox(*args
, **kwargs
)
1574 #---------------------------------------------------------------------------
1576 class TaskBarIcon(core
.EvtHandler
):
1578 return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1579 def __init__(self
, *args
, **kwargs
):
1580 """__init__() -> TaskBarIcon"""
1581 newobj
= _windows
.new_TaskBarIcon(*args
, **kwargs
)
1582 self
.this
= newobj
.this
1585 def __del__(self
, destroy
=_windows
.delete_TaskBarIcon
):
1588 if self
.thisown
: destroy(self
)
1591 def IsOk(*args
, **kwargs
):
1592 """IsOk() -> bool"""
1593 return _windows
.TaskBarIcon_IsOk(*args
, **kwargs
)
1595 def IsIconInstalled(*args
, **kwargs
):
1596 """IsIconInstalled() -> bool"""
1597 return _windows
.TaskBarIcon_IsIconInstalled(*args
, **kwargs
)
1599 def SetIcon(*args
, **kwargs
):
1600 """SetIcon(Icon icon, String tooltip=EmptyString) -> bool"""
1601 return _windows
.TaskBarIcon_SetIcon(*args
, **kwargs
)
1603 def RemoveIcon(*args
, **kwargs
):
1604 """RemoveIcon(void ??) -> bool"""
1605 return _windows
.TaskBarIcon_RemoveIcon(*args
, **kwargs
)
1607 def PopupMenu(*args
, **kwargs
):
1608 """PopupMenu(Menu menu) -> bool"""
1609 return _windows
.TaskBarIcon_PopupMenu(*args
, **kwargs
)
1612 class TaskBarIconPtr(TaskBarIcon
):
1613 def __init__(self
, this
):
1615 if not hasattr(self
,"thisown"): self
.thisown
= 0
1616 self
.__class
__ = TaskBarIcon
1617 _windows
.TaskBarIcon_swigregister(TaskBarIconPtr
)
1619 class TaskBarIconEvent(core
.Event
):
1621 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1622 def __init__(self
, *args
, **kwargs
):
1623 """__init__(wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
1624 newobj
= _windows
.new_TaskBarIconEvent(*args
, **kwargs
)
1625 self
.this
= newobj
.this
1629 class TaskBarIconEventPtr(TaskBarIconEvent
):
1630 def __init__(self
, this
):
1632 if not hasattr(self
,"thisown"): self
.thisown
= 0
1633 self
.__class
__ = TaskBarIconEvent
1634 _windows
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
1636 wxEVT_TASKBAR_MOVE
= _windows
.wxEVT_TASKBAR_MOVE
1637 wxEVT_TASKBAR_LEFT_DOWN
= _windows
.wxEVT_TASKBAR_LEFT_DOWN
1638 wxEVT_TASKBAR_LEFT_UP
= _windows
.wxEVT_TASKBAR_LEFT_UP
1639 wxEVT_TASKBAR_RIGHT_DOWN
= _windows
.wxEVT_TASKBAR_RIGHT_DOWN
1640 wxEVT_TASKBAR_RIGHT_UP
= _windows
.wxEVT_TASKBAR_RIGHT_UP
1641 wxEVT_TASKBAR_LEFT_DCLICK
= _windows
.wxEVT_TASKBAR_LEFT_DCLICK
1642 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows
.wxEVT_TASKBAR_RIGHT_DCLICK
1643 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
1644 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
1645 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
1646 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
1647 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
1648 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
1649 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
1651 #---------------------------------------------------------------------------
1653 class ColourData(core
.Object
):
1655 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1656 def __init__(self
, *args
, **kwargs
):
1657 """__init__() -> ColourData"""
1658 newobj
= _windows
.new_ColourData(*args
, **kwargs
)
1659 self
.this
= newobj
.this
1662 def __del__(self
, destroy
=_windows
.delete_ColourData
):
1665 if self
.thisown
: destroy(self
)
1668 def GetChooseFull(*args
, **kwargs
):
1669 """GetChooseFull() -> bool"""
1670 return _windows
.ColourData_GetChooseFull(*args
, **kwargs
)
1672 def GetColour(*args
, **kwargs
):
1673 """GetColour() -> Colour"""
1674 return _windows
.ColourData_GetColour(*args
, **kwargs
)
1676 def GetCustomColour(*args
, **kwargs
):
1677 """GetCustomColour(int i) -> Colour"""
1678 return _windows
.ColourData_GetCustomColour(*args
, **kwargs
)
1680 def SetChooseFull(*args
, **kwargs
):
1681 """SetChooseFull(int flag)"""
1682 return _windows
.ColourData_SetChooseFull(*args
, **kwargs
)
1684 def SetColour(*args
, **kwargs
):
1685 """SetColour(Colour colour)"""
1686 return _windows
.ColourData_SetColour(*args
, **kwargs
)
1688 def SetCustomColour(*args
, **kwargs
):
1689 """SetCustomColour(int i, Colour colour)"""
1690 return _windows
.ColourData_SetCustomColour(*args
, **kwargs
)
1693 class ColourDataPtr(ColourData
):
1694 def __init__(self
, this
):
1696 if not hasattr(self
,"thisown"): self
.thisown
= 0
1697 self
.__class
__ = ColourData
1698 _windows
.ColourData_swigregister(ColourDataPtr
)
1699 FileSelectorPromptStr
= cvar
.FileSelectorPromptStr
1700 DirSelectorPromptStr
= cvar
.DirSelectorPromptStr
1701 DirDialogNameStr
= cvar
.DirDialogNameStr
1702 FileSelectorDefaultWildcardStr
= cvar
.FileSelectorDefaultWildcardStr
1703 GetTextFromUserPromptStr
= cvar
.GetTextFromUserPromptStr
1704 MessageBoxCaptionStr
= cvar
.MessageBoxCaptionStr
1706 class ColourDialog(Dialog
):
1708 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1709 def __init__(self
, *args
, **kwargs
):
1710 """__init__(Window parent, ColourData data=None) -> ColourDialog"""
1711 newobj
= _windows
.new_ColourDialog(*args
, **kwargs
)
1712 self
.this
= newobj
.this
1715 self
._setOORInfo
(self
)
1717 def GetColourData(*args
, **kwargs
):
1718 """GetColourData() -> ColourData"""
1719 return _windows
.ColourDialog_GetColourData(*args
, **kwargs
)
1721 def ShowModal(*args
, **kwargs
):
1722 """ShowModal() -> int"""
1723 return _windows
.ColourDialog_ShowModal(*args
, **kwargs
)
1726 class ColourDialogPtr(ColourDialog
):
1727 def __init__(self
, this
):
1729 if not hasattr(self
,"thisown"): self
.thisown
= 0
1730 self
.__class
__ = ColourDialog
1731 _windows
.ColourDialog_swigregister(ColourDialogPtr
)
1733 class DirDialog(Dialog
):
1735 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1736 def __init__(self
, *args
, **kwargs
):
1738 __init__(Window parent, String message=DirSelectorPromptStr,
1739 String defaultPath=EmptyString, long style=0,
1740 Point pos=DefaultPosition, Size size=DefaultSize,
1741 String name=DirDialogNameStr) -> DirDialog
1743 newobj
= _windows
.new_DirDialog(*args
, **kwargs
)
1744 self
.this
= newobj
.this
1747 self
._setOORInfo
(self
)
1749 def GetPath(*args
, **kwargs
):
1750 """GetPath() -> String"""
1751 return _windows
.DirDialog_GetPath(*args
, **kwargs
)
1753 def GetMessage(*args
, **kwargs
):
1754 """GetMessage() -> String"""
1755 return _windows
.DirDialog_GetMessage(*args
, **kwargs
)
1757 def GetStyle(*args
, **kwargs
):
1758 """GetStyle() -> long"""
1759 return _windows
.DirDialog_GetStyle(*args
, **kwargs
)
1761 def SetMessage(*args
, **kwargs
):
1762 """SetMessage(String message)"""
1763 return _windows
.DirDialog_SetMessage(*args
, **kwargs
)
1765 def SetPath(*args
, **kwargs
):
1766 """SetPath(String path)"""
1767 return _windows
.DirDialog_SetPath(*args
, **kwargs
)
1769 def ShowModal(*args
, **kwargs
):
1770 """ShowModal() -> int"""
1771 return _windows
.DirDialog_ShowModal(*args
, **kwargs
)
1774 class DirDialogPtr(DirDialog
):
1775 def __init__(self
, this
):
1777 if not hasattr(self
,"thisown"): self
.thisown
= 0
1778 self
.__class
__ = DirDialog
1779 _windows
.DirDialog_swigregister(DirDialogPtr
)
1781 class FileDialog(Dialog
):
1783 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1784 def __init__(self
, *args
, **kwargs
):
1786 __init__(Window parent, String message=FileSelectorPromptStr,
1787 String defaultDir=EmptyString, String defaultFile=EmptyString,
1788 String wildcard=FileSelectorDefaultWildcardStr,
1789 long style=0, Point pos=DefaultPosition) -> FileDialog
1791 newobj
= _windows
.new_FileDialog(*args
, **kwargs
)
1792 self
.this
= newobj
.this
1795 self
._setOORInfo
(self
)
1797 def SetMessage(*args
, **kwargs
):
1798 """SetMessage(String message)"""
1799 return _windows
.FileDialog_SetMessage(*args
, **kwargs
)
1801 def SetPath(*args
, **kwargs
):
1802 """SetPath(String path)"""
1803 return _windows
.FileDialog_SetPath(*args
, **kwargs
)
1805 def SetDirectory(*args
, **kwargs
):
1806 """SetDirectory(String dir)"""
1807 return _windows
.FileDialog_SetDirectory(*args
, **kwargs
)
1809 def SetFilename(*args
, **kwargs
):
1810 """SetFilename(String name)"""
1811 return _windows
.FileDialog_SetFilename(*args
, **kwargs
)
1813 def SetWildcard(*args
, **kwargs
):
1814 """SetWildcard(String wildCard)"""
1815 return _windows
.FileDialog_SetWildcard(*args
, **kwargs
)
1817 def SetStyle(*args
, **kwargs
):
1818 """SetStyle(long style)"""
1819 return _windows
.FileDialog_SetStyle(*args
, **kwargs
)
1821 def SetFilterIndex(*args
, **kwargs
):
1822 """SetFilterIndex(int filterIndex)"""
1823 return _windows
.FileDialog_SetFilterIndex(*args
, **kwargs
)
1825 def GetMessage(*args
, **kwargs
):
1826 """GetMessage() -> String"""
1827 return _windows
.FileDialog_GetMessage(*args
, **kwargs
)
1829 def GetPath(*args
, **kwargs
):
1830 """GetPath() -> String"""
1831 return _windows
.FileDialog_GetPath(*args
, **kwargs
)
1833 def GetDirectory(*args
, **kwargs
):
1834 """GetDirectory() -> String"""
1835 return _windows
.FileDialog_GetDirectory(*args
, **kwargs
)
1837 def GetFilename(*args
, **kwargs
):
1838 """GetFilename() -> String"""
1839 return _windows
.FileDialog_GetFilename(*args
, **kwargs
)
1841 def GetWildcard(*args
, **kwargs
):
1842 """GetWildcard() -> String"""
1843 return _windows
.FileDialog_GetWildcard(*args
, **kwargs
)
1845 def GetStyle(*args
, **kwargs
):
1846 """GetStyle() -> long"""
1847 return _windows
.FileDialog_GetStyle(*args
, **kwargs
)
1849 def GetFilterIndex(*args
, **kwargs
):
1850 """GetFilterIndex() -> int"""
1851 return _windows
.FileDialog_GetFilterIndex(*args
, **kwargs
)
1853 def GetFilenames(*args
, **kwargs
):
1854 """GetFilenames() -> PyObject"""
1855 return _windows
.FileDialog_GetFilenames(*args
, **kwargs
)
1857 def GetPaths(*args
, **kwargs
):
1858 """GetPaths() -> PyObject"""
1859 return _windows
.FileDialog_GetPaths(*args
, **kwargs
)
1862 class FileDialogPtr(FileDialog
):
1863 def __init__(self
, this
):
1865 if not hasattr(self
,"thisown"): self
.thisown
= 0
1866 self
.__class
__ = FileDialog
1867 _windows
.FileDialog_swigregister(FileDialogPtr
)
1869 CHOICEDLG_STYLE
= _windows
.CHOICEDLG_STYLE
1870 class MultiChoiceDialog(Dialog
):
1872 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1873 def __init__(self
, *args
, **kwargs
):
1875 __init__(Window parent, String message, String caption, int LCOUNT,
1876 String choices, long style=CHOICEDLG_STYLE,
1877 Point pos=DefaultPosition) -> MultiChoiceDialog
1879 newobj
= _windows
.new_MultiChoiceDialog(*args
, **kwargs
)
1880 self
.this
= newobj
.this
1883 self
._setOORInfo
(self
)
1885 def SetSelections(*args
, **kwargs
):
1886 """SetSelections(wxArrayInt selections)"""
1887 return _windows
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
1889 def GetSelections(*args
, **kwargs
):
1890 """GetSelections() -> PyObject"""
1891 return _windows
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
1894 class MultiChoiceDialogPtr(MultiChoiceDialog
):
1895 def __init__(self
, this
):
1897 if not hasattr(self
,"thisown"): self
.thisown
= 0
1898 self
.__class
__ = MultiChoiceDialog
1899 _windows
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
1901 class SingleChoiceDialog(Dialog
):
1903 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1904 def __init__(self
, *args
, **kwargs
):
1906 __init__(Window parent, String message, String caption, int choices,
1907 String choices_array, long style=CHOICEDLG_STYLE,
1908 Point pos=DefaultPosition) -> SingleChoiceDialog
1910 newobj
= _windows
.new_SingleChoiceDialog(*args
, **kwargs
)
1911 self
.this
= newobj
.this
1914 self
._setOORInfo
(self
)
1916 def GetSelection(*args
, **kwargs
):
1917 """GetSelection() -> int"""
1918 return _windows
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
1920 def GetStringSelection(*args
, **kwargs
):
1921 """GetStringSelection() -> String"""
1922 return _windows
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
1924 def SetSelection(*args
, **kwargs
):
1925 """SetSelection(int sel)"""
1926 return _windows
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
1928 def ShowModal(*args
, **kwargs
):
1929 """ShowModal() -> int"""
1930 return _windows
.SingleChoiceDialog_ShowModal(*args
, **kwargs
)
1933 class SingleChoiceDialogPtr(SingleChoiceDialog
):
1934 def __init__(self
, this
):
1936 if not hasattr(self
,"thisown"): self
.thisown
= 0
1937 self
.__class
__ = SingleChoiceDialog
1938 _windows
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
1940 class TextEntryDialog(Dialog
):
1942 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1943 def __init__(self
, *args
, **kwargs
):
1945 __init__(Window parent, String message, String caption=GetTextFromUserPromptStr,
1946 String defaultValue=EmptyString,
1947 long style=wxOK|wxCANCEL|wxCENTRE, Point pos=DefaultPosition) -> TextEntryDialog
1949 newobj
= _windows
.new_TextEntryDialog(*args
, **kwargs
)
1950 self
.this
= newobj
.this
1953 self
._setOORInfo
(self
)
1955 def GetValue(*args
, **kwargs
):
1956 """GetValue() -> String"""
1957 return _windows
.TextEntryDialog_GetValue(*args
, **kwargs
)
1959 def SetValue(*args
, **kwargs
):
1960 """SetValue(String value)"""
1961 return _windows
.TextEntryDialog_SetValue(*args
, **kwargs
)
1963 def ShowModal(*args
, **kwargs
):
1964 """ShowModal() -> int"""
1965 return _windows
.TextEntryDialog_ShowModal(*args
, **kwargs
)
1968 class TextEntryDialogPtr(TextEntryDialog
):
1969 def __init__(self
, this
):
1971 if not hasattr(self
,"thisown"): self
.thisown
= 0
1972 self
.__class
__ = TextEntryDialog
1973 _windows
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
1975 class FontData(core
.Object
):
1977 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1978 def __init__(self
, *args
, **kwargs
):
1979 """__init__() -> FontData"""
1980 newobj
= _windows
.new_FontData(*args
, **kwargs
)
1981 self
.this
= newobj
.this
1984 def __del__(self
, destroy
=_windows
.delete_FontData
):
1987 if self
.thisown
: destroy(self
)
1990 def EnableEffects(*args
, **kwargs
):
1991 """EnableEffects(bool enable)"""
1992 return _windows
.FontData_EnableEffects(*args
, **kwargs
)
1994 def GetAllowSymbols(*args
, **kwargs
):
1995 """GetAllowSymbols() -> bool"""
1996 return _windows
.FontData_GetAllowSymbols(*args
, **kwargs
)
1998 def GetColour(*args
, **kwargs
):
1999 """GetColour() -> Colour"""
2000 return _windows
.FontData_GetColour(*args
, **kwargs
)
2002 def GetChosenFont(*args
, **kwargs
):
2003 """GetChosenFont() -> Font"""
2004 return _windows
.FontData_GetChosenFont(*args
, **kwargs
)
2006 def GetEnableEffects(*args
, **kwargs
):
2007 """GetEnableEffects() -> bool"""
2008 return _windows
.FontData_GetEnableEffects(*args
, **kwargs
)
2010 def GetInitialFont(*args
, **kwargs
):
2011 """GetInitialFont() -> Font"""
2012 return _windows
.FontData_GetInitialFont(*args
, **kwargs
)
2014 def GetShowHelp(*args
, **kwargs
):
2015 """GetShowHelp() -> bool"""
2016 return _windows
.FontData_GetShowHelp(*args
, **kwargs
)
2018 def SetAllowSymbols(*args
, **kwargs
):
2019 """SetAllowSymbols(bool allowSymbols)"""
2020 return _windows
.FontData_SetAllowSymbols(*args
, **kwargs
)
2022 def SetChosenFont(*args
, **kwargs
):
2023 """SetChosenFont(Font font)"""
2024 return _windows
.FontData_SetChosenFont(*args
, **kwargs
)
2026 def SetColour(*args
, **kwargs
):
2027 """SetColour(Colour colour)"""
2028 return _windows
.FontData_SetColour(*args
, **kwargs
)
2030 def SetInitialFont(*args
, **kwargs
):
2031 """SetInitialFont(Font font)"""
2032 return _windows
.FontData_SetInitialFont(*args
, **kwargs
)
2034 def SetRange(*args
, **kwargs
):
2035 """SetRange(int min, int max)"""
2036 return _windows
.FontData_SetRange(*args
, **kwargs
)
2038 def SetShowHelp(*args
, **kwargs
):
2039 """SetShowHelp(bool showHelp)"""
2040 return _windows
.FontData_SetShowHelp(*args
, **kwargs
)
2043 class FontDataPtr(FontData
):
2044 def __init__(self
, this
):
2046 if not hasattr(self
,"thisown"): self
.thisown
= 0
2047 self
.__class
__ = FontData
2048 _windows
.FontData_swigregister(FontDataPtr
)
2050 class FontDialog(Dialog
):
2052 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2053 def __init__(self
, *args
, **kwargs
):
2054 """__init__(Window parent, FontData data) -> FontDialog"""
2055 newobj
= _windows
.new_FontDialog(*args
, **kwargs
)
2056 self
.this
= newobj
.this
2059 self
._setOORInfo
(self
)
2061 def GetFontData(*args
, **kwargs
):
2062 """GetFontData() -> FontData"""
2063 return _windows
.FontDialog_GetFontData(*args
, **kwargs
)
2065 def ShowModal(*args
, **kwargs
):
2066 """ShowModal() -> int"""
2067 return _windows
.FontDialog_ShowModal(*args
, **kwargs
)
2070 class FontDialogPtr(FontDialog
):
2071 def __init__(self
, this
):
2073 if not hasattr(self
,"thisown"): self
.thisown
= 0
2074 self
.__class
__ = FontDialog
2075 _windows
.FontDialog_swigregister(FontDialogPtr
)
2077 class MessageDialog(Dialog
):
2079 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2080 def __init__(self
, *args
, **kwargs
):
2082 __init__(Window parent, String message, String caption=MessageBoxCaptionStr,
2083 long style=wxOK|wxCANCEL|wxCENTRE,
2084 Point pos=DefaultPosition) -> MessageDialog
2086 newobj
= _windows
.new_MessageDialog(*args
, **kwargs
)
2087 self
.this
= newobj
.this
2090 self
._setOORInfo
(self
)
2092 def ShowModal(*args
, **kwargs
):
2093 """ShowModal() -> int"""
2094 return _windows
.MessageDialog_ShowModal(*args
, **kwargs
)
2097 class MessageDialogPtr(MessageDialog
):
2098 def __init__(self
, this
):
2100 if not hasattr(self
,"thisown"): self
.thisown
= 0
2101 self
.__class
__ = MessageDialog
2102 _windows
.MessageDialog_swigregister(MessageDialogPtr
)
2104 class ProgressDialog(Frame
):
2106 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2107 def __init__(self
, *args
, **kwargs
):
2109 __init__(String title, String message, int maximum=100, Window parent=None,
2110 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
2112 newobj
= _windows
.new_ProgressDialog(*args
, **kwargs
)
2113 self
.this
= newobj
.this
2116 self
._setOORInfo
(self
)
2118 def Update(*args
, **kwargs
):
2119 """Update(int value, String newmsg=EmptyString) -> bool"""
2120 return _windows
.ProgressDialog_Update(*args
, **kwargs
)
2122 def Resume(*args
, **kwargs
):
2124 return _windows
.ProgressDialog_Resume(*args
, **kwargs
)
2127 class ProgressDialogPtr(ProgressDialog
):
2128 def __init__(self
, this
):
2130 if not hasattr(self
,"thisown"): self
.thisown
= 0
2131 self
.__class
__ = ProgressDialog
2132 _windows
.ProgressDialog_swigregister(ProgressDialogPtr
)
2134 FR_DOWN
= _windows
.FR_DOWN
2135 FR_WHOLEWORD
= _windows
.FR_WHOLEWORD
2136 FR_MATCHCASE
= _windows
.FR_MATCHCASE
2137 FR_REPLACEDIALOG
= _windows
.FR_REPLACEDIALOG
2138 FR_NOUPDOWN
= _windows
.FR_NOUPDOWN
2139 FR_NOMATCHCASE
= _windows
.FR_NOMATCHCASE
2140 FR_NOWHOLEWORD
= _windows
.FR_NOWHOLEWORD
2141 wxEVT_COMMAND_FIND
= _windows
.wxEVT_COMMAND_FIND
2142 wxEVT_COMMAND_FIND_NEXT
= _windows
.wxEVT_COMMAND_FIND_NEXT
2143 wxEVT_COMMAND_FIND_REPLACE
= _windows
.wxEVT_COMMAND_FIND_REPLACE
2144 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows
.wxEVT_COMMAND_FIND_REPLACE_ALL
2145 wxEVT_COMMAND_FIND_CLOSE
= _windows
.wxEVT_COMMAND_FIND_CLOSE
2146 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
2147 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
2148 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
2149 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
2150 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
2152 # For backwards compatibility. Should they be removed?
2153 EVT_COMMAND_FIND
= EVT_FIND
2154 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
2155 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
2156 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
2157 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
2159 class FindDialogEvent(core
.CommandEvent
):
2161 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2162 def __init__(self
, *args
, **kwargs
):
2163 """__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent"""
2164 newobj
= _windows
.new_FindDialogEvent(*args
, **kwargs
)
2165 self
.this
= newobj
.this
2168 def GetFlags(*args
, **kwargs
):
2169 """GetFlags() -> int"""
2170 return _windows
.FindDialogEvent_GetFlags(*args
, **kwargs
)
2172 def GetFindString(*args
, **kwargs
):
2173 """GetFindString() -> String"""
2174 return _windows
.FindDialogEvent_GetFindString(*args
, **kwargs
)
2176 def GetReplaceString(*args
, **kwargs
):
2177 """GetReplaceString() -> String"""
2178 return _windows
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
2180 def GetDialog(*args
, **kwargs
):
2181 """GetDialog() -> FindReplaceDialog"""
2182 return _windows
.FindDialogEvent_GetDialog(*args
, **kwargs
)
2184 def SetFlags(*args
, **kwargs
):
2185 """SetFlags(int flags)"""
2186 return _windows
.FindDialogEvent_SetFlags(*args
, **kwargs
)
2188 def SetFindString(*args
, **kwargs
):
2189 """SetFindString(String str)"""
2190 return _windows
.FindDialogEvent_SetFindString(*args
, **kwargs
)
2192 def SetReplaceString(*args
, **kwargs
):
2193 """SetReplaceString(String str)"""
2194 return _windows
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
2197 class FindDialogEventPtr(FindDialogEvent
):
2198 def __init__(self
, this
):
2200 if not hasattr(self
,"thisown"): self
.thisown
= 0
2201 self
.__class
__ = FindDialogEvent
2202 _windows
.FindDialogEvent_swigregister(FindDialogEventPtr
)
2204 class FindReplaceData(core
.Object
):
2206 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2207 def __init__(self
, *args
, **kwargs
):
2208 """__init__(int flags=0) -> FindReplaceData"""
2209 newobj
= _windows
.new_FindReplaceData(*args
, **kwargs
)
2210 self
.this
= newobj
.this
2213 def __del__(self
, destroy
=_windows
.delete_FindReplaceData
):
2216 if self
.thisown
: destroy(self
)
2219 def GetFindString(*args
, **kwargs
):
2220 """GetFindString() -> String"""
2221 return _windows
.FindReplaceData_GetFindString(*args
, **kwargs
)
2223 def GetReplaceString(*args
, **kwargs
):
2224 """GetReplaceString() -> String"""
2225 return _windows
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
2227 def GetFlags(*args
, **kwargs
):
2228 """GetFlags() -> int"""
2229 return _windows
.FindReplaceData_GetFlags(*args
, **kwargs
)
2231 def SetFlags(*args
, **kwargs
):
2232 """SetFlags(int flags)"""
2233 return _windows
.FindReplaceData_SetFlags(*args
, **kwargs
)
2235 def SetFindString(*args
, **kwargs
):
2236 """SetFindString(String str)"""
2237 return _windows
.FindReplaceData_SetFindString(*args
, **kwargs
)
2239 def SetReplaceString(*args
, **kwargs
):
2240 """SetReplaceString(String str)"""
2241 return _windows
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
2244 class FindReplaceDataPtr(FindReplaceData
):
2245 def __init__(self
, this
):
2247 if not hasattr(self
,"thisown"): self
.thisown
= 0
2248 self
.__class
__ = FindReplaceData
2249 _windows
.FindReplaceData_swigregister(FindReplaceDataPtr
)
2251 class FindReplaceDialog(Dialog
):
2253 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2254 def __init__(self
, *args
, **kwargs
):
2256 __init__(Window parent, FindReplaceData data, String title,
2257 int style=0) -> FindReplaceDialog
2259 newobj
= _windows
.new_FindReplaceDialog(*args
, **kwargs
)
2260 self
.this
= newobj
.this
2263 self
._setOORInfo
(self
)
2265 def Create(*args
, **kwargs
):
2267 Create(Window parent, FindReplaceData data, String title,
2268 int style=0) -> bool
2270 return _windows
.FindReplaceDialog_Create(*args
, **kwargs
)
2272 def GetData(*args
, **kwargs
):
2273 """GetData() -> FindReplaceData"""
2274 return _windows
.FindReplaceDialog_GetData(*args
, **kwargs
)
2276 def SetData(*args
, **kwargs
):
2277 """SetData(FindReplaceData data)"""
2278 return _windows
.FindReplaceDialog_SetData(*args
, **kwargs
)
2281 class FindReplaceDialogPtr(FindReplaceDialog
):
2282 def __init__(self
, this
):
2284 if not hasattr(self
,"thisown"): self
.thisown
= 0
2285 self
.__class
__ = FindReplaceDialog
2286 _windows
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
2288 def PreFindReplaceDialog(*args
, **kwargs
):
2289 """PreFindReplaceDialog() -> FindReplaceDialog"""
2290 val
= _windows
.new_PreFindReplaceDialog(*args
, **kwargs
)
2294 #---------------------------------------------------------------------------
2296 IDM_WINDOWTILE
= _windows
.IDM_WINDOWTILE
2297 IDM_WINDOWTILEHOR
= _windows
.IDM_WINDOWTILEHOR
2298 IDM_WINDOWCASCADE
= _windows
.IDM_WINDOWCASCADE
2299 IDM_WINDOWICONS
= _windows
.IDM_WINDOWICONS
2300 IDM_WINDOWNEXT
= _windows
.IDM_WINDOWNEXT
2301 IDM_WINDOWTILEVERT
= _windows
.IDM_WINDOWTILEVERT
2302 FIRST_MDI_CHILD
= _windows
.FIRST_MDI_CHILD
2303 LAST_MDI_CHILD
= _windows
.LAST_MDI_CHILD
2304 class MDIParentFrame(Frame
):
2306 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2307 def __init__(self
, *args
, **kwargs
):
2309 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
2310 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2311 String name=FrameNameStr) -> MDIParentFrame
2313 newobj
= _windows
.new_MDIParentFrame(*args
, **kwargs
)
2314 self
.this
= newobj
.this
2317 self
._setOORInfo
(self
)
2319 def Create(*args
, **kwargs
):
2321 Create(Window parent, int id, String title, Point pos=DefaultPosition,
2322 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2323 String name=FrameNameStr) -> bool
2325 return _windows
.MDIParentFrame_Create(*args
, **kwargs
)
2327 def ActivateNext(*args
, **kwargs
):
2328 """ActivateNext()"""
2329 return _windows
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
2331 def ActivatePrevious(*args
, **kwargs
):
2332 """ActivatePrevious()"""
2333 return _windows
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
2335 def ArrangeIcons(*args
, **kwargs
):
2336 """ArrangeIcons()"""
2337 return _windows
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
2339 def Cascade(*args
, **kwargs
):
2341 return _windows
.MDIParentFrame_Cascade(*args
, **kwargs
)
2343 def GetActiveChild(*args
, **kwargs
):
2344 """GetActiveChild() -> MDIChildFrame"""
2345 return _windows
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
2347 def GetClientWindow(*args
, **kwargs
):
2348 """GetClientWindow() -> MDIClientWindow"""
2349 return _windows
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
2351 def GetToolBar(*args
, **kwargs
):
2352 """GetToolBar() -> Window"""
2353 return _windows
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
2355 def GetWindowMenu(*args
, **kwargs
):
2356 """GetWindowMenu() -> Menu"""
2357 return _windows
.MDIParentFrame_GetWindowMenu(*args
, **kwargs
)
2359 def SetWindowMenu(*args
, **kwargs
):
2360 """SetWindowMenu(Menu menu)"""
2361 return _windows
.MDIParentFrame_SetWindowMenu(*args
, **kwargs
)
2363 def SetToolBar(*args
, **kwargs
):
2364 """SetToolBar(wxToolBar toolbar)"""
2365 return _windows
.MDIParentFrame_SetToolBar(*args
, **kwargs
)
2367 def Tile(*args
, **kwargs
):
2369 return _windows
.MDIParentFrame_Tile(*args
, **kwargs
)
2372 class MDIParentFramePtr(MDIParentFrame
):
2373 def __init__(self
, this
):
2375 if not hasattr(self
,"thisown"): self
.thisown
= 0
2376 self
.__class
__ = MDIParentFrame
2377 _windows
.MDIParentFrame_swigregister(MDIParentFramePtr
)
2379 def PreMDIParentFrame(*args
, **kwargs
):
2380 """PreMDIParentFrame() -> MDIParentFrame"""
2381 val
= _windows
.new_PreMDIParentFrame(*args
, **kwargs
)
2385 class MDIChildFrame(Frame
):
2387 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2388 def __init__(self
, *args
, **kwargs
):
2390 __init__(MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
2391 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
2392 String name=FrameNameStr) -> MDIChildFrame
2394 newobj
= _windows
.new_MDIChildFrame(*args
, **kwargs
)
2395 self
.this
= newobj
.this
2398 self
._setOORInfo
(self
)
2400 def Create(*args
, **kwargs
):
2402 Create(MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
2403 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
2404 String name=FrameNameStr) -> bool
2406 return _windows
.MDIChildFrame_Create(*args
, **kwargs
)
2408 def Activate(*args
, **kwargs
):
2410 return _windows
.MDIChildFrame_Activate(*args
, **kwargs
)
2412 def Maximize(*args
, **kwargs
):
2413 """Maximize(bool maximize)"""
2414 return _windows
.MDIChildFrame_Maximize(*args
, **kwargs
)
2416 def Restore(*args
, **kwargs
):
2418 return _windows
.MDIChildFrame_Restore(*args
, **kwargs
)
2421 class MDIChildFramePtr(MDIChildFrame
):
2422 def __init__(self
, this
):
2424 if not hasattr(self
,"thisown"): self
.thisown
= 0
2425 self
.__class
__ = MDIChildFrame
2426 _windows
.MDIChildFrame_swigregister(MDIChildFramePtr
)
2428 def PreMDIChildFrame(*args
, **kwargs
):
2429 """PreMDIChildFrame() -> MDIChildFrame"""
2430 val
= _windows
.new_PreMDIChildFrame(*args
, **kwargs
)
2434 class MDIClientWindow(core
.Window
):
2436 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2437 def __init__(self
, *args
, **kwargs
):
2438 """__init__(MDIParentFrame parent, long style=0) -> MDIClientWindow"""
2439 newobj
= _windows
.new_MDIClientWindow(*args
, **kwargs
)
2440 self
.this
= newobj
.this
2443 self
._setOORInfo
(self
)
2445 def Create(*args
, **kwargs
):
2446 """Create(MDIParentFrame parent, long style=0) -> bool"""
2447 return _windows
.MDIClientWindow_Create(*args
, **kwargs
)
2450 class MDIClientWindowPtr(MDIClientWindow
):
2451 def __init__(self
, this
):
2453 if not hasattr(self
,"thisown"): self
.thisown
= 0
2454 self
.__class
__ = MDIClientWindow
2455 _windows
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
2457 def PreMDIClientWindow(*args
, **kwargs
):
2458 """PreMDIClientWindow() -> MDIClientWindow"""
2459 val
= _windows
.new_PreMDIClientWindow(*args
, **kwargs
)
2463 #---------------------------------------------------------------------------
2465 class PyWindow(core
.Window
):
2467 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2468 def __init__(self
, *args
, **kwargs
):
2470 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2471 long style=0, String name=PanelNameStr) -> PyWindow
2473 newobj
= _windows
.new_PyWindow(*args
, **kwargs
)
2474 self
.this
= newobj
.this
2477 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
2479 def _setCallbackInfo(*args
, **kwargs
):
2480 """_setCallbackInfo(PyObject self, PyObject _class)"""
2481 return _windows
.PyWindow__setCallbackInfo(*args
, **kwargs
)
2483 def base_DoMoveWindow(*args
, **kwargs
):
2484 """base_DoMoveWindow(int x, int y, int width, int height)"""
2485 return _windows
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
2487 def base_DoSetSize(*args
, **kwargs
):
2488 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2489 return _windows
.PyWindow_base_DoSetSize(*args
, **kwargs
)
2491 def base_DoSetClientSize(*args
, **kwargs
):
2492 """base_DoSetClientSize(int width, int height)"""
2493 return _windows
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
2495 def base_DoSetVirtualSize(*args
, **kwargs
):
2496 """base_DoSetVirtualSize(int x, int y)"""
2497 return _windows
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
2499 def base_DoGetSize(*args
, **kwargs
):
2500 """base_DoGetSize() -> (width, height)"""
2501 return _windows
.PyWindow_base_DoGetSize(*args
, **kwargs
)
2503 def base_DoGetClientSize(*args
, **kwargs
):
2504 """base_DoGetClientSize() -> (width, height)"""
2505 return _windows
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
2507 def base_DoGetPosition(*args
, **kwargs
):
2508 """base_DoGetPosition() -> (x,y)"""
2509 return _windows
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
2511 def base_DoGetVirtualSize(*args
, **kwargs
):
2512 """base_DoGetVirtualSize() -> Size"""
2513 return _windows
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
2515 def base_DoGetBestSize(*args
, **kwargs
):
2516 """base_DoGetBestSize() -> Size"""
2517 return _windows
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
2519 def base_InitDialog(*args
, **kwargs
):
2520 """base_InitDialog()"""
2521 return _windows
.PyWindow_base_InitDialog(*args
, **kwargs
)
2523 def base_TransferDataToWindow(*args
, **kwargs
):
2524 """base_TransferDataToWindow() -> bool"""
2525 return _windows
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
2527 def base_TransferDataFromWindow(*args
, **kwargs
):
2528 """base_TransferDataFromWindow() -> bool"""
2529 return _windows
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
2531 def base_Validate(*args
, **kwargs
):
2532 """base_Validate() -> bool"""
2533 return _windows
.PyWindow_base_Validate(*args
, **kwargs
)
2535 def base_AcceptsFocus(*args
, **kwargs
):
2536 """base_AcceptsFocus() -> bool"""
2537 return _windows
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
2539 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2540 """base_AcceptsFocusFromKeyboard() -> bool"""
2541 return _windows
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2543 def base_GetMaxSize(*args
, **kwargs
):
2544 """base_GetMaxSize() -> Size"""
2545 return _windows
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
2547 def base_AddChild(*args
, **kwargs
):
2548 """base_AddChild(Window child)"""
2549 return _windows
.PyWindow_base_AddChild(*args
, **kwargs
)
2551 def base_RemoveChild(*args
, **kwargs
):
2552 """base_RemoveChild(Window child)"""
2553 return _windows
.PyWindow_base_RemoveChild(*args
, **kwargs
)
2556 class PyWindowPtr(PyWindow
):
2557 def __init__(self
, this
):
2559 if not hasattr(self
,"thisown"): self
.thisown
= 0
2560 self
.__class
__ = PyWindow
2561 _windows
.PyWindow_swigregister(PyWindowPtr
)
2563 class PyPanel(Panel
):
2565 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2566 def __init__(self
, *args
, **kwargs
):
2568 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2569 long style=0, String name=PanelNameStr) -> PyPanel
2571 newobj
= _windows
.new_PyPanel(*args
, **kwargs
)
2572 self
.this
= newobj
.this
2575 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
2577 def _setCallbackInfo(*args
, **kwargs
):
2578 """_setCallbackInfo(PyObject self, PyObject _class)"""
2579 return _windows
.PyPanel__setCallbackInfo(*args
, **kwargs
)
2581 def base_DoMoveWindow(*args
, **kwargs
):
2582 """base_DoMoveWindow(int x, int y, int width, int height)"""
2583 return _windows
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
2585 def base_DoSetSize(*args
, **kwargs
):
2586 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2587 return _windows
.PyPanel_base_DoSetSize(*args
, **kwargs
)
2589 def base_DoSetClientSize(*args
, **kwargs
):
2590 """base_DoSetClientSize(int width, int height)"""
2591 return _windows
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
2593 def base_DoSetVirtualSize(*args
, **kwargs
):
2594 """base_DoSetVirtualSize(int x, int y)"""
2595 return _windows
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
2597 def base_DoGetSize(*args
, **kwargs
):
2598 """base_DoGetSize() -> (width, height)"""
2599 return _windows
.PyPanel_base_DoGetSize(*args
, **kwargs
)
2601 def base_DoGetClientSize(*args
, **kwargs
):
2602 """base_DoGetClientSize() -> (width, height)"""
2603 return _windows
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
2605 def base_DoGetPosition(*args
, **kwargs
):
2606 """base_DoGetPosition() -> (x,y)"""
2607 return _windows
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
2609 def base_DoGetVirtualSize(*args
, **kwargs
):
2610 """base_DoGetVirtualSize() -> Size"""
2611 return _windows
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
2613 def base_DoGetBestSize(*args
, **kwargs
):
2614 """base_DoGetBestSize() -> Size"""
2615 return _windows
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
2617 def base_InitDialog(*args
, **kwargs
):
2618 """base_InitDialog()"""
2619 return _windows
.PyPanel_base_InitDialog(*args
, **kwargs
)
2621 def base_TransferDataToWindow(*args
, **kwargs
):
2622 """base_TransferDataToWindow() -> bool"""
2623 return _windows
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
2625 def base_TransferDataFromWindow(*args
, **kwargs
):
2626 """base_TransferDataFromWindow() -> bool"""
2627 return _windows
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
2629 def base_Validate(*args
, **kwargs
):
2630 """base_Validate() -> bool"""
2631 return _windows
.PyPanel_base_Validate(*args
, **kwargs
)
2633 def base_AcceptsFocus(*args
, **kwargs
):
2634 """base_AcceptsFocus() -> bool"""
2635 return _windows
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
2637 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2638 """base_AcceptsFocusFromKeyboard() -> bool"""
2639 return _windows
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2641 def base_GetMaxSize(*args
, **kwargs
):
2642 """base_GetMaxSize() -> Size"""
2643 return _windows
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
2645 def base_AddChild(*args
, **kwargs
):
2646 """base_AddChild(Window child)"""
2647 return _windows
.PyPanel_base_AddChild(*args
, **kwargs
)
2649 def base_RemoveChild(*args
, **kwargs
):
2650 """base_RemoveChild(Window child)"""
2651 return _windows
.PyPanel_base_RemoveChild(*args
, **kwargs
)
2654 class PyPanelPtr(PyPanel
):
2655 def __init__(self
, this
):
2657 if not hasattr(self
,"thisown"): self
.thisown
= 0
2658 self
.__class
__ = PyPanel
2659 _windows
.PyPanel_swigregister(PyPanelPtr
)
2661 #---------------------------------------------------------------------------
2663 PRINT_MODE_NONE
= _windows
.PRINT_MODE_NONE
2664 PRINT_MODE_PREVIEW
= _windows
.PRINT_MODE_PREVIEW
2665 PRINT_MODE_FILE
= _windows
.PRINT_MODE_FILE
2666 PRINT_MODE_PRINTER
= _windows
.PRINT_MODE_PRINTER
2667 class PrintData(core
.Object
):
2669 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2670 def __init__(self
, *args
, **kwargs
):
2671 """__init__() -> PrintData"""
2672 newobj
= _windows
.new_PrintData(*args
, **kwargs
)
2673 self
.this
= newobj
.this
2676 def __del__(self
, destroy
=_windows
.delete_PrintData
):
2679 if self
.thisown
: destroy(self
)
2682 def GetNoCopies(*args
, **kwargs
):
2683 """GetNoCopies() -> int"""
2684 return _windows
.PrintData_GetNoCopies(*args
, **kwargs
)
2686 def GetCollate(*args
, **kwargs
):
2687 """GetCollate() -> bool"""
2688 return _windows
.PrintData_GetCollate(*args
, **kwargs
)
2690 def GetOrientation(*args
, **kwargs
):
2691 """GetOrientation() -> int"""
2692 return _windows
.PrintData_GetOrientation(*args
, **kwargs
)
2694 def Ok(*args
, **kwargs
):
2696 return _windows
.PrintData_Ok(*args
, **kwargs
)
2698 def GetPrinterName(*args
, **kwargs
):
2699 """GetPrinterName() -> String"""
2700 return _windows
.PrintData_GetPrinterName(*args
, **kwargs
)
2702 def GetColour(*args
, **kwargs
):
2703 """GetColour() -> bool"""
2704 return _windows
.PrintData_GetColour(*args
, **kwargs
)
2706 def GetDuplex(*args
, **kwargs
):
2707 """GetDuplex() -> int"""
2708 return _windows
.PrintData_GetDuplex(*args
, **kwargs
)
2710 def GetPaperId(*args
, **kwargs
):
2711 """GetPaperId() -> int"""
2712 return _windows
.PrintData_GetPaperId(*args
, **kwargs
)
2714 def GetPaperSize(*args
, **kwargs
):
2715 """GetPaperSize() -> Size"""
2716 return _windows
.PrintData_GetPaperSize(*args
, **kwargs
)
2718 def GetQuality(*args
, **kwargs
):
2719 """GetQuality() -> int"""
2720 return _windows
.PrintData_GetQuality(*args
, **kwargs
)
2722 def SetNoCopies(*args
, **kwargs
):
2723 """SetNoCopies(int v)"""
2724 return _windows
.PrintData_SetNoCopies(*args
, **kwargs
)
2726 def SetCollate(*args
, **kwargs
):
2727 """SetCollate(bool flag)"""
2728 return _windows
.PrintData_SetCollate(*args
, **kwargs
)
2730 def SetOrientation(*args
, **kwargs
):
2731 """SetOrientation(int orient)"""
2732 return _windows
.PrintData_SetOrientation(*args
, **kwargs
)
2734 def SetPrinterName(*args
, **kwargs
):
2735 """SetPrinterName(String name)"""
2736 return _windows
.PrintData_SetPrinterName(*args
, **kwargs
)
2738 def SetColour(*args
, **kwargs
):
2739 """SetColour(bool colour)"""
2740 return _windows
.PrintData_SetColour(*args
, **kwargs
)
2742 def SetDuplex(*args
, **kwargs
):
2743 """SetDuplex(int duplex)"""
2744 return _windows
.PrintData_SetDuplex(*args
, **kwargs
)
2746 def SetPaperId(*args
, **kwargs
):
2747 """SetPaperId(int sizeId)"""
2748 return _windows
.PrintData_SetPaperId(*args
, **kwargs
)
2750 def SetPaperSize(*args
, **kwargs
):
2751 """SetPaperSize(Size sz)"""
2752 return _windows
.PrintData_SetPaperSize(*args
, **kwargs
)
2754 def SetQuality(*args
, **kwargs
):
2755 """SetQuality(int quality)"""
2756 return _windows
.PrintData_SetQuality(*args
, **kwargs
)
2758 def GetPrinterCommand(*args
, **kwargs
):
2759 """GetPrinterCommand() -> String"""
2760 return _windows
.PrintData_GetPrinterCommand(*args
, **kwargs
)
2762 def GetPrinterOptions(*args
, **kwargs
):
2763 """GetPrinterOptions() -> String"""
2764 return _windows
.PrintData_GetPrinterOptions(*args
, **kwargs
)
2766 def GetPreviewCommand(*args
, **kwargs
):
2767 """GetPreviewCommand() -> String"""
2768 return _windows
.PrintData_GetPreviewCommand(*args
, **kwargs
)
2770 def GetFilename(*args
, **kwargs
):
2771 """GetFilename() -> String"""
2772 return _windows
.PrintData_GetFilename(*args
, **kwargs
)
2774 def GetFontMetricPath(*args
, **kwargs
):
2775 """GetFontMetricPath() -> String"""
2776 return _windows
.PrintData_GetFontMetricPath(*args
, **kwargs
)
2778 def GetPrinterScaleX(*args
, **kwargs
):
2779 """GetPrinterScaleX() -> double"""
2780 return _windows
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
2782 def GetPrinterScaleY(*args
, **kwargs
):
2783 """GetPrinterScaleY() -> double"""
2784 return _windows
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
2786 def GetPrinterTranslateX(*args
, **kwargs
):
2787 """GetPrinterTranslateX() -> long"""
2788 return _windows
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
2790 def GetPrinterTranslateY(*args
, **kwargs
):
2791 """GetPrinterTranslateY() -> long"""
2792 return _windows
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
2794 def GetPrintMode(*args
, **kwargs
):
2795 """GetPrintMode() -> int"""
2796 return _windows
.PrintData_GetPrintMode(*args
, **kwargs
)
2798 def SetPrinterCommand(*args
, **kwargs
):
2799 """SetPrinterCommand(String command)"""
2800 return _windows
.PrintData_SetPrinterCommand(*args
, **kwargs
)
2802 def SetPrinterOptions(*args
, **kwargs
):
2803 """SetPrinterOptions(String options)"""
2804 return _windows
.PrintData_SetPrinterOptions(*args
, **kwargs
)
2806 def SetPreviewCommand(*args
, **kwargs
):
2807 """SetPreviewCommand(String command)"""
2808 return _windows
.PrintData_SetPreviewCommand(*args
, **kwargs
)
2810 def SetFilename(*args
, **kwargs
):
2811 """SetFilename(String filename)"""
2812 return _windows
.PrintData_SetFilename(*args
, **kwargs
)
2814 def SetFontMetricPath(*args
, **kwargs
):
2815 """SetFontMetricPath(String path)"""
2816 return _windows
.PrintData_SetFontMetricPath(*args
, **kwargs
)
2818 def SetPrinterScaleX(*args
, **kwargs
):
2819 """SetPrinterScaleX(double x)"""
2820 return _windows
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
2822 def SetPrinterScaleY(*args
, **kwargs
):
2823 """SetPrinterScaleY(double y)"""
2824 return _windows
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
2826 def SetPrinterScaling(*args
, **kwargs
):
2827 """SetPrinterScaling(double x, double y)"""
2828 return _windows
.PrintData_SetPrinterScaling(*args
, **kwargs
)
2830 def SetPrinterTranslateX(*args
, **kwargs
):
2831 """SetPrinterTranslateX(long x)"""
2832 return _windows
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
2834 def SetPrinterTranslateY(*args
, **kwargs
):
2835 """SetPrinterTranslateY(long y)"""
2836 return _windows
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
2838 def SetPrinterTranslation(*args
, **kwargs
):
2839 """SetPrinterTranslation(long x, long y)"""
2840 return _windows
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
2842 def SetPrintMode(*args
, **kwargs
):
2843 """SetPrintMode(int printMode)"""
2844 return _windows
.PrintData_SetPrintMode(*args
, **kwargs
)
2846 def __nonzero__(self
): return self
.Ok()
2848 class PrintDataPtr(PrintData
):
2849 def __init__(self
, this
):
2851 if not hasattr(self
,"thisown"): self
.thisown
= 0
2852 self
.__class
__ = PrintData
2853 _windows
.PrintData_swigregister(PrintDataPtr
)
2854 PrintoutTitleStr
= cvar
.PrintoutTitleStr
2855 PreviewCanvasNameStr
= cvar
.PreviewCanvasNameStr
2857 class PageSetupDialogData(core
.Object
):
2859 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2860 def __init__(self
, *args
, **kwargs
):
2861 """__init__() -> PageSetupDialogData"""
2862 newobj
= _windows
.new_PageSetupDialogData(*args
, **kwargs
)
2863 self
.this
= newobj
.this
2866 def __del__(self
, destroy
=_windows
.delete_PageSetupDialogData
):
2869 if self
.thisown
: destroy(self
)
2872 def EnableHelp(*args
, **kwargs
):
2873 """EnableHelp(bool flag)"""
2874 return _windows
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
2876 def EnableMargins(*args
, **kwargs
):
2877 """EnableMargins(bool flag)"""
2878 return _windows
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
2880 def EnableOrientation(*args
, **kwargs
):
2881 """EnableOrientation(bool flag)"""
2882 return _windows
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
2884 def EnablePaper(*args
, **kwargs
):
2885 """EnablePaper(bool flag)"""
2886 return _windows
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
2888 def EnablePrinter(*args
, **kwargs
):
2889 """EnablePrinter(bool flag)"""
2890 return _windows
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
2892 def GetDefaultMinMargins(*args
, **kwargs
):
2893 """GetDefaultMinMargins() -> bool"""
2894 return _windows
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
2896 def GetEnableMargins(*args
, **kwargs
):
2897 """GetEnableMargins() -> bool"""
2898 return _windows
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
2900 def GetEnableOrientation(*args
, **kwargs
):
2901 """GetEnableOrientation() -> bool"""
2902 return _windows
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
2904 def GetEnablePaper(*args
, **kwargs
):
2905 """GetEnablePaper() -> bool"""
2906 return _windows
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
2908 def GetEnablePrinter(*args
, **kwargs
):
2909 """GetEnablePrinter() -> bool"""
2910 return _windows
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
2912 def GetEnableHelp(*args
, **kwargs
):
2913 """GetEnableHelp() -> bool"""
2914 return _windows
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
2916 def GetDefaultInfo(*args
, **kwargs
):
2917 """GetDefaultInfo() -> bool"""
2918 return _windows
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
2920 def GetMarginTopLeft(*args
, **kwargs
):
2921 """GetMarginTopLeft() -> Point"""
2922 return _windows
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
2924 def GetMarginBottomRight(*args
, **kwargs
):
2925 """GetMarginBottomRight() -> Point"""
2926 return _windows
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
2928 def GetMinMarginTopLeft(*args
, **kwargs
):
2929 """GetMinMarginTopLeft() -> Point"""
2930 return _windows
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
2932 def GetMinMarginBottomRight(*args
, **kwargs
):
2933 """GetMinMarginBottomRight() -> Point"""
2934 return _windows
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
2936 def GetPaperId(*args
, **kwargs
):
2937 """GetPaperId() -> int"""
2938 return _windows
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
2940 def GetPaperSize(*args
, **kwargs
):
2941 """GetPaperSize() -> Size"""
2942 return _windows
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
2944 def GetPrintData(*args
, **kwargs
):
2945 """GetPrintData() -> PrintData"""
2946 return _windows
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
2948 def Ok(*args
, **kwargs
):
2950 return _windows
.PageSetupDialogData_Ok(*args
, **kwargs
)
2952 def SetDefaultInfo(*args
, **kwargs
):
2953 """SetDefaultInfo(bool flag)"""
2954 return _windows
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
2956 def SetDefaultMinMargins(*args
, **kwargs
):
2957 """SetDefaultMinMargins(bool flag)"""
2958 return _windows
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
2960 def SetMarginTopLeft(*args
, **kwargs
):
2961 """SetMarginTopLeft(Point pt)"""
2962 return _windows
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
2964 def SetMarginBottomRight(*args
, **kwargs
):
2965 """SetMarginBottomRight(Point pt)"""
2966 return _windows
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
2968 def SetMinMarginTopLeft(*args
, **kwargs
):
2969 """SetMinMarginTopLeft(Point pt)"""
2970 return _windows
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
2972 def SetMinMarginBottomRight(*args
, **kwargs
):
2973 """SetMinMarginBottomRight(Point pt)"""
2974 return _windows
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
2976 def SetPaperId(*args
, **kwargs
):
2977 """SetPaperId(int id)"""
2978 return _windows
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
2980 def SetPaperSize(*args
, **kwargs
):
2981 """SetPaperSize(Size size)"""
2982 return _windows
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
2984 def SetPrintData(*args
, **kwargs
):
2985 """SetPrintData(PrintData printData)"""
2986 return _windows
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
2988 def __nonzero__(self
): return self
.Ok()
2990 class PageSetupDialogDataPtr(PageSetupDialogData
):
2991 def __init__(self
, this
):
2993 if not hasattr(self
,"thisown"): self
.thisown
= 0
2994 self
.__class
__ = PageSetupDialogData
2995 _windows
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
2997 class PageSetupDialog(Dialog
):
2999 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3000 def __init__(self
, *args
, **kwargs
):
3001 """__init__(Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
3002 newobj
= _windows
.new_PageSetupDialog(*args
, **kwargs
)
3003 self
.this
= newobj
.this
3006 self
._setOORInfo
(self
)
3008 def GetPageSetupData(*args
, **kwargs
):
3009 """GetPageSetupData() -> PageSetupDialogData"""
3010 return _windows
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
3012 def ShowModal(*args
, **kwargs
):
3013 """ShowModal() -> int"""
3014 return _windows
.PageSetupDialog_ShowModal(*args
, **kwargs
)
3017 class PageSetupDialogPtr(PageSetupDialog
):
3018 def __init__(self
, this
):
3020 if not hasattr(self
,"thisown"): self
.thisown
= 0
3021 self
.__class
__ = PageSetupDialog
3022 _windows
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
3024 class PrintDialogData(core
.Object
):
3026 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3027 def __init__(self
, *args
, **kwargs
):
3028 """__init__() -> PrintDialogData"""
3029 newobj
= _windows
.new_PrintDialogData(*args
, **kwargs
)
3030 self
.this
= newobj
.this
3033 def __del__(self
, destroy
=_windows
.delete_PrintDialogData
):
3036 if self
.thisown
: destroy(self
)
3039 def GetFromPage(*args
, **kwargs
):
3040 """GetFromPage() -> int"""
3041 return _windows
.PrintDialogData_GetFromPage(*args
, **kwargs
)
3043 def GetToPage(*args
, **kwargs
):
3044 """GetToPage() -> int"""
3045 return _windows
.PrintDialogData_GetToPage(*args
, **kwargs
)
3047 def GetMinPage(*args
, **kwargs
):
3048 """GetMinPage() -> int"""
3049 return _windows
.PrintDialogData_GetMinPage(*args
, **kwargs
)
3051 def GetMaxPage(*args
, **kwargs
):
3052 """GetMaxPage() -> int"""
3053 return _windows
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
3055 def GetNoCopies(*args
, **kwargs
):
3056 """GetNoCopies() -> int"""
3057 return _windows
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
3059 def GetAllPages(*args
, **kwargs
):
3060 """GetAllPages() -> bool"""
3061 return _windows
.PrintDialogData_GetAllPages(*args
, **kwargs
)
3063 def GetSelection(*args
, **kwargs
):
3064 """GetSelection() -> bool"""
3065 return _windows
.PrintDialogData_GetSelection(*args
, **kwargs
)
3067 def GetCollate(*args
, **kwargs
):
3068 """GetCollate() -> bool"""
3069 return _windows
.PrintDialogData_GetCollate(*args
, **kwargs
)
3071 def GetPrintToFile(*args
, **kwargs
):
3072 """GetPrintToFile() -> bool"""
3073 return _windows
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
3075 def GetSetupDialog(*args
, **kwargs
):
3076 """GetSetupDialog() -> bool"""
3077 return _windows
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
3079 def SetFromPage(*args
, **kwargs
):
3080 """SetFromPage(int v)"""
3081 return _windows
.PrintDialogData_SetFromPage(*args
, **kwargs
)
3083 def SetToPage(*args
, **kwargs
):
3084 """SetToPage(int v)"""
3085 return _windows
.PrintDialogData_SetToPage(*args
, **kwargs
)
3087 def SetMinPage(*args
, **kwargs
):
3088 """SetMinPage(int v)"""
3089 return _windows
.PrintDialogData_SetMinPage(*args
, **kwargs
)
3091 def SetMaxPage(*args
, **kwargs
):
3092 """SetMaxPage(int v)"""
3093 return _windows
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
3095 def SetNoCopies(*args
, **kwargs
):
3096 """SetNoCopies(int v)"""
3097 return _windows
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
3099 def SetAllPages(*args
, **kwargs
):
3100 """SetAllPages(bool flag)"""
3101 return _windows
.PrintDialogData_SetAllPages(*args
, **kwargs
)
3103 def SetSelection(*args
, **kwargs
):
3104 """SetSelection(bool flag)"""
3105 return _windows
.PrintDialogData_SetSelection(*args
, **kwargs
)
3107 def SetCollate(*args
, **kwargs
):
3108 """SetCollate(bool flag)"""
3109 return _windows
.PrintDialogData_SetCollate(*args
, **kwargs
)
3111 def SetPrintToFile(*args
, **kwargs
):
3112 """SetPrintToFile(bool flag)"""
3113 return _windows
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
3115 def SetSetupDialog(*args
, **kwargs
):
3116 """SetSetupDialog(bool flag)"""
3117 return _windows
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
3119 def EnablePrintToFile(*args
, **kwargs
):
3120 """EnablePrintToFile(bool flag)"""
3121 return _windows
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
3123 def EnableSelection(*args
, **kwargs
):
3124 """EnableSelection(bool flag)"""
3125 return _windows
.PrintDialogData_EnableSelection(*args
, **kwargs
)
3127 def EnablePageNumbers(*args
, **kwargs
):
3128 """EnablePageNumbers(bool flag)"""
3129 return _windows
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
3131 def EnableHelp(*args
, **kwargs
):
3132 """EnableHelp(bool flag)"""
3133 return _windows
.PrintDialogData_EnableHelp(*args
, **kwargs
)
3135 def GetEnablePrintToFile(*args
, **kwargs
):
3136 """GetEnablePrintToFile() -> bool"""
3137 return _windows
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
3139 def GetEnableSelection(*args
, **kwargs
):
3140 """GetEnableSelection() -> bool"""
3141 return _windows
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
3143 def GetEnablePageNumbers(*args
, **kwargs
):
3144 """GetEnablePageNumbers() -> bool"""
3145 return _windows
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
3147 def GetEnableHelp(*args
, **kwargs
):
3148 """GetEnableHelp() -> bool"""
3149 return _windows
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
3151 def Ok(*args
, **kwargs
):
3153 return _windows
.PrintDialogData_Ok(*args
, **kwargs
)
3155 def GetPrintData(*args
, **kwargs
):
3156 """GetPrintData() -> PrintData"""
3157 return _windows
.PrintDialogData_GetPrintData(*args
, **kwargs
)
3159 def SetPrintData(*args
, **kwargs
):
3160 """SetPrintData(PrintData printData)"""
3161 return _windows
.PrintDialogData_SetPrintData(*args
, **kwargs
)
3163 def __nonzero__(self
): return self
.Ok()
3165 class PrintDialogDataPtr(PrintDialogData
):
3166 def __init__(self
, this
):
3168 if not hasattr(self
,"thisown"): self
.thisown
= 0
3169 self
.__class
__ = PrintDialogData
3170 _windows
.PrintDialogData_swigregister(PrintDialogDataPtr
)
3172 class PrintDialog(Dialog
):
3174 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3175 def __init__(self
, *args
, **kwargs
):
3176 """__init__(Window parent, PrintDialogData data=None) -> PrintDialog"""
3177 newobj
= _windows
.new_PrintDialog(*args
, **kwargs
)
3178 self
.this
= newobj
.this
3181 self
._setOORInfo
(self
)
3183 def GetPrintDialogData(*args
, **kwargs
):
3184 """GetPrintDialogData() -> PrintDialogData"""
3185 return _windows
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
3187 def GetPrintDC(*args
, **kwargs
):
3188 """GetPrintDC() -> DC"""
3189 return _windows
.PrintDialog_GetPrintDC(*args
, **kwargs
)
3191 def ShowModal(*args
, **kwargs
):
3192 """ShowModal() -> int"""
3193 return _windows
.PrintDialog_ShowModal(*args
, **kwargs
)
3196 class PrintDialogPtr(PrintDialog
):
3197 def __init__(self
, this
):
3199 if not hasattr(self
,"thisown"): self
.thisown
= 0
3200 self
.__class
__ = PrintDialog
3201 _windows
.PrintDialog_swigregister(PrintDialogPtr
)
3203 PRINTER_NO_ERROR
= _windows
.PRINTER_NO_ERROR
3204 PRINTER_CANCELLED
= _windows
.PRINTER_CANCELLED
3205 PRINTER_ERROR
= _windows
.PRINTER_ERROR
3206 class Printer(core
.Object
):
3208 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3209 def __init__(self
, *args
, **kwargs
):
3210 """__init__(PrintDialogData data=None) -> Printer"""
3211 newobj
= _windows
.new_Printer(*args
, **kwargs
)
3212 self
.this
= newobj
.this
3215 def __del__(self
, destroy
=_windows
.delete_Printer
):
3218 if self
.thisown
: destroy(self
)
3221 def CreateAbortWindow(*args
, **kwargs
):
3222 """CreateAbortWindow(Window parent, Printout printout)"""
3223 return _windows
.Printer_CreateAbortWindow(*args
, **kwargs
)
3225 def GetPrintDialogData(*args
, **kwargs
):
3226 """GetPrintDialogData() -> PrintDialogData"""
3227 return _windows
.Printer_GetPrintDialogData(*args
, **kwargs
)
3229 def Print(*args
, **kwargs
):
3230 """Print(Window parent, Printout printout, int prompt=True) -> bool"""
3231 return _windows
.Printer_Print(*args
, **kwargs
)
3233 def PrintDialog(*args
, **kwargs
):
3234 """PrintDialog(Window parent) -> DC"""
3235 return _windows
.Printer_PrintDialog(*args
, **kwargs
)
3237 def ReportError(*args
, **kwargs
):
3238 """ReportError(Window parent, Printout printout, String message)"""
3239 return _windows
.Printer_ReportError(*args
, **kwargs
)
3241 def Setup(*args
, **kwargs
):
3242 """Setup(Window parent) -> bool"""
3243 return _windows
.Printer_Setup(*args
, **kwargs
)
3245 def GetAbort(*args
, **kwargs
):
3246 """GetAbort() -> bool"""
3247 return _windows
.Printer_GetAbort(*args
, **kwargs
)
3249 def GetLastError(*args
, **kwargs
):
3250 """Printer.GetLastError() -> int"""
3251 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3253 GetLastError
= staticmethod(GetLastError
)
3255 class PrinterPtr(Printer
):
3256 def __init__(self
, this
):
3258 if not hasattr(self
,"thisown"): self
.thisown
= 0
3259 self
.__class
__ = Printer
3260 _windows
.Printer_swigregister(PrinterPtr
)
3262 def Printer_GetLastError(*args
, **kwargs
):
3263 """Printer_GetLastError() -> int"""
3264 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3266 class Printout(core
.Object
):
3268 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3269 def __init__(self
, *args
, **kwargs
):
3270 """__init__(String title=PrintoutTitleStr) -> Printout"""
3271 newobj
= _windows
.new_Printout(*args
, **kwargs
)
3272 self
.this
= newobj
.this
3275 self
._setCallbackInfo
(self
, Printout
)
3277 def _setCallbackInfo(*args
, **kwargs
):
3278 """_setCallbackInfo(PyObject self, PyObject _class)"""
3279 return _windows
.Printout__setCallbackInfo(*args
, **kwargs
)
3281 def GetTitle(*args
, **kwargs
):
3282 """GetTitle() -> String"""
3283 return _windows
.Printout_GetTitle(*args
, **kwargs
)
3285 def GetDC(*args
, **kwargs
):
3287 return _windows
.Printout_GetDC(*args
, **kwargs
)
3289 def SetDC(*args
, **kwargs
):
3291 return _windows
.Printout_SetDC(*args
, **kwargs
)
3293 def SetPageSizePixels(*args
, **kwargs
):
3294 """SetPageSizePixels(int w, int h)"""
3295 return _windows
.Printout_SetPageSizePixels(*args
, **kwargs
)
3297 def GetPageSizePixels(*args
, **kwargs
):
3298 """GetPageSizePixels() -> (w, h)"""
3299 return _windows
.Printout_GetPageSizePixels(*args
, **kwargs
)
3301 def SetPageSizeMM(*args
, **kwargs
):
3302 """SetPageSizeMM(int w, int h)"""
3303 return _windows
.Printout_SetPageSizeMM(*args
, **kwargs
)
3305 def GetPageSizeMM(*args
, **kwargs
):
3306 """GetPageSizeMM() -> (w, h)"""
3307 return _windows
.Printout_GetPageSizeMM(*args
, **kwargs
)
3309 def SetPPIScreen(*args
, **kwargs
):
3310 """SetPPIScreen(int x, int y)"""
3311 return _windows
.Printout_SetPPIScreen(*args
, **kwargs
)
3313 def GetPPIScreen(*args
, **kwargs
):
3314 """GetPPIScreen() -> (x,y)"""
3315 return _windows
.Printout_GetPPIScreen(*args
, **kwargs
)
3317 def SetPPIPrinter(*args
, **kwargs
):
3318 """SetPPIPrinter(int x, int y)"""
3319 return _windows
.Printout_SetPPIPrinter(*args
, **kwargs
)
3321 def GetPPIPrinter(*args
, **kwargs
):
3322 """GetPPIPrinter() -> (x,y)"""
3323 return _windows
.Printout_GetPPIPrinter(*args
, **kwargs
)
3325 def IsPreview(*args
, **kwargs
):
3326 """IsPreview() -> bool"""
3327 return _windows
.Printout_IsPreview(*args
, **kwargs
)
3329 def SetIsPreview(*args
, **kwargs
):
3330 """SetIsPreview(bool p)"""
3331 return _windows
.Printout_SetIsPreview(*args
, **kwargs
)
3333 def base_OnBeginDocument(*args
, **kwargs
):
3334 """base_OnBeginDocument(int startPage, int endPage) -> bool"""
3335 return _windows
.Printout_base_OnBeginDocument(*args
, **kwargs
)
3337 def base_OnEndDocument(*args
, **kwargs
):
3338 """base_OnEndDocument()"""
3339 return _windows
.Printout_base_OnEndDocument(*args
, **kwargs
)
3341 def base_OnBeginPrinting(*args
, **kwargs
):
3342 """base_OnBeginPrinting()"""
3343 return _windows
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
3345 def base_OnEndPrinting(*args
, **kwargs
):
3346 """base_OnEndPrinting()"""
3347 return _windows
.Printout_base_OnEndPrinting(*args
, **kwargs
)
3349 def base_OnPreparePrinting(*args
, **kwargs
):
3350 """base_OnPreparePrinting()"""
3351 return _windows
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
3353 def base_HasPage(*args
, **kwargs
):
3354 """base_HasPage(int page) -> bool"""
3355 return _windows
.Printout_base_HasPage(*args
, **kwargs
)
3357 def base_GetPageInfo(*args
, **kwargs
):
3358 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
3359 return _windows
.Printout_base_GetPageInfo(*args
, **kwargs
)
3362 class PrintoutPtr(Printout
):
3363 def __init__(self
, this
):
3365 if not hasattr(self
,"thisown"): self
.thisown
= 0
3366 self
.__class
__ = Printout
3367 _windows
.Printout_swigregister(PrintoutPtr
)
3369 class PreviewCanvas(ScrolledWindow
):
3371 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3372 def __init__(self
, *args
, **kwargs
):
3374 __init__(PrintPreview preview, Window parent, Point pos=DefaultPosition,
3375 Size size=DefaultSize, long style=0,
3376 String name=PreviewCanvasNameStr) -> PreviewCanvas
3378 newobj
= _windows
.new_PreviewCanvas(*args
, **kwargs
)
3379 self
.this
= newobj
.this
3382 self
._setOORInfo
(self
)
3385 class PreviewCanvasPtr(PreviewCanvas
):
3386 def __init__(self
, this
):
3388 if not hasattr(self
,"thisown"): self
.thisown
= 0
3389 self
.__class
__ = PreviewCanvas
3390 _windows
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
3392 class PreviewFrame(Frame
):
3394 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3395 def __init__(self
, *args
, **kwargs
):
3397 __init__(PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
3398 Size size=DefaultSize,
3399 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
3401 newobj
= _windows
.new_PreviewFrame(*args
, **kwargs
)
3402 self
.this
= newobj
.this
3405 self
._setOORInfo
(self
)
3407 def Initialize(*args
, **kwargs
):
3409 return _windows
.PreviewFrame_Initialize(*args
, **kwargs
)
3411 def CreateControlBar(*args
, **kwargs
):
3412 """CreateControlBar()"""
3413 return _windows
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
3415 def CreateCanvas(*args
, **kwargs
):
3416 """CreateCanvas()"""
3417 return _windows
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
3419 def GetControlBar(*args
, **kwargs
):
3420 """GetControlBar() -> PreviewControlBar"""
3421 return _windows
.PreviewFrame_GetControlBar(*args
, **kwargs
)
3424 class PreviewFramePtr(PreviewFrame
):
3425 def __init__(self
, this
):
3427 if not hasattr(self
,"thisown"): self
.thisown
= 0
3428 self
.__class
__ = PreviewFrame
3429 _windows
.PreviewFrame_swigregister(PreviewFramePtr
)
3431 PREVIEW_PRINT
= _windows
.PREVIEW_PRINT
3432 PREVIEW_PREVIOUS
= _windows
.PREVIEW_PREVIOUS
3433 PREVIEW_NEXT
= _windows
.PREVIEW_NEXT
3434 PREVIEW_ZOOM
= _windows
.PREVIEW_ZOOM
3435 PREVIEW_FIRST
= _windows
.PREVIEW_FIRST
3436 PREVIEW_LAST
= _windows
.PREVIEW_LAST
3437 PREVIEW_GOTO
= _windows
.PREVIEW_GOTO
3438 PREVIEW_DEFAULT
= _windows
.PREVIEW_DEFAULT
3439 ID_PREVIEW_CLOSE
= _windows
.ID_PREVIEW_CLOSE
3440 ID_PREVIEW_NEXT
= _windows
.ID_PREVIEW_NEXT
3441 ID_PREVIEW_PREVIOUS
= _windows
.ID_PREVIEW_PREVIOUS
3442 ID_PREVIEW_PRINT
= _windows
.ID_PREVIEW_PRINT
3443 ID_PREVIEW_ZOOM
= _windows
.ID_PREVIEW_ZOOM
3444 ID_PREVIEW_FIRST
= _windows
.ID_PREVIEW_FIRST
3445 ID_PREVIEW_LAST
= _windows
.ID_PREVIEW_LAST
3446 ID_PREVIEW_GOTO
= _windows
.ID_PREVIEW_GOTO
3447 class PreviewControlBar(Panel
):
3449 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3450 def __init__(self
, *args
, **kwargs
):
3452 __init__(PrintPreview preview, long buttons, Window parent,
3453 Point pos=DefaultPosition, Size size=DefaultSize,
3454 long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
3456 newobj
= _windows
.new_PreviewControlBar(*args
, **kwargs
)
3457 self
.this
= newobj
.this
3460 self
._setOORInfo
(self
)
3462 def GetZoomControl(*args
, **kwargs
):
3463 """GetZoomControl() -> int"""
3464 return _windows
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
3466 def SetZoomControl(*args
, **kwargs
):
3467 """SetZoomControl(int zoom)"""
3468 return _windows
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
3470 def GetPrintPreview(*args
, **kwargs
):
3471 """GetPrintPreview() -> PrintPreview"""
3472 return _windows
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
3474 def OnNext(*args
, **kwargs
):
3476 return _windows
.PreviewControlBar_OnNext(*args
, **kwargs
)
3478 def OnPrevious(*args
, **kwargs
):
3480 return _windows
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
3482 def OnFirst(*args
, **kwargs
):
3484 return _windows
.PreviewControlBar_OnFirst(*args
, **kwargs
)
3486 def OnLast(*args
, **kwargs
):
3488 return _windows
.PreviewControlBar_OnLast(*args
, **kwargs
)
3490 def OnGoto(*args
, **kwargs
):
3492 return _windows
.PreviewControlBar_OnGoto(*args
, **kwargs
)
3495 class PreviewControlBarPtr(PreviewControlBar
):
3496 def __init__(self
, this
):
3498 if not hasattr(self
,"thisown"): self
.thisown
= 0
3499 self
.__class
__ = PreviewControlBar
3500 _windows
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
3502 class PrintPreview(core
.Object
):
3504 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3505 def __init__(self
, *args
, **kwargs
):
3506 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PrintPreview"""
3507 newobj
= _windows
.new_PrintPreview(*args
, **kwargs
)
3508 self
.this
= newobj
.this
3511 def SetCurrentPage(*args
, **kwargs
):
3512 """SetCurrentPage(int pageNum) -> bool"""
3513 return _windows
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
3515 def GetCurrentPage(*args
, **kwargs
):
3516 """GetCurrentPage() -> int"""
3517 return _windows
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
3519 def SetPrintout(*args
, **kwargs
):
3520 """SetPrintout(Printout printout)"""
3521 return _windows
.PrintPreview_SetPrintout(*args
, **kwargs
)
3523 def GetPrintout(*args
, **kwargs
):
3524 """GetPrintout() -> Printout"""
3525 return _windows
.PrintPreview_GetPrintout(*args
, **kwargs
)
3527 def GetPrintoutForPrinting(*args
, **kwargs
):
3528 """GetPrintoutForPrinting() -> Printout"""
3529 return _windows
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
3531 def SetFrame(*args
, **kwargs
):
3532 """SetFrame(Frame frame)"""
3533 return _windows
.PrintPreview_SetFrame(*args
, **kwargs
)
3535 def SetCanvas(*args
, **kwargs
):
3536 """SetCanvas(PreviewCanvas canvas)"""
3537 return _windows
.PrintPreview_SetCanvas(*args
, **kwargs
)
3539 def GetFrame(*args
, **kwargs
):
3540 """GetFrame() -> Frame"""
3541 return _windows
.PrintPreview_GetFrame(*args
, **kwargs
)
3543 def GetCanvas(*args
, **kwargs
):
3544 """GetCanvas() -> PreviewCanvas"""
3545 return _windows
.PrintPreview_GetCanvas(*args
, **kwargs
)
3547 def PaintPage(*args
, **kwargs
):
3548 """PaintPage(PreviewCanvas canvas, DC dc) -> bool"""
3549 return _windows
.PrintPreview_PaintPage(*args
, **kwargs
)
3551 def DrawBlankPage(*args
, **kwargs
):
3552 """DrawBlankPage(PreviewCanvas canvas, DC dc) -> bool"""
3553 return _windows
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
3555 def RenderPage(*args
, **kwargs
):
3556 """RenderPage(int pageNum) -> bool"""
3557 return _windows
.PrintPreview_RenderPage(*args
, **kwargs
)
3559 def AdjustScrollbars(*args
, **kwargs
):
3560 """AdjustScrollbars(PreviewCanvas canvas)"""
3561 return _windows
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
3563 def GetPrintDialogData(*args
, **kwargs
):
3564 """GetPrintDialogData() -> PrintDialogData"""
3565 return _windows
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
3567 def SetZoom(*args
, **kwargs
):
3568 """SetZoom(int percent)"""
3569 return _windows
.PrintPreview_SetZoom(*args
, **kwargs
)
3571 def GetZoom(*args
, **kwargs
):
3572 """GetZoom() -> int"""
3573 return _windows
.PrintPreview_GetZoom(*args
, **kwargs
)
3575 def GetMaxPage(*args
, **kwargs
):
3576 """GetMaxPage() -> int"""
3577 return _windows
.PrintPreview_GetMaxPage(*args
, **kwargs
)
3579 def GetMinPage(*args
, **kwargs
):
3580 """GetMinPage() -> int"""
3581 return _windows
.PrintPreview_GetMinPage(*args
, **kwargs
)
3583 def Ok(*args
, **kwargs
):
3585 return _windows
.PrintPreview_Ok(*args
, **kwargs
)
3587 def SetOk(*args
, **kwargs
):
3588 """SetOk(bool ok)"""
3589 return _windows
.PrintPreview_SetOk(*args
, **kwargs
)
3591 def Print(*args
, **kwargs
):
3592 """Print(bool interactive) -> bool"""
3593 return _windows
.PrintPreview_Print(*args
, **kwargs
)
3595 def DetermineScaling(*args
, **kwargs
):
3596 """DetermineScaling()"""
3597 return _windows
.PrintPreview_DetermineScaling(*args
, **kwargs
)
3599 def __nonzero__(self
): return self
.Ok()
3601 class PrintPreviewPtr(PrintPreview
):
3602 def __init__(self
, this
):
3604 if not hasattr(self
,"thisown"): self
.thisown
= 0
3605 self
.__class
__ = PrintPreview
3606 _windows
.PrintPreview_swigregister(PrintPreviewPtr
)
3608 class PyPrintPreview(PrintPreview
):
3610 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3611 def __init__(self
, *args
, **kwargs
):
3612 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PyPrintPreview"""
3613 newobj
= _windows
.new_PyPrintPreview(*args
, **kwargs
)
3614 self
.this
= newobj
.this
3617 self
._setCallbackInfo
(self
, PyPrintPreview
)
3619 def _setCallbackInfo(*args
, **kwargs
):
3620 """_setCallbackInfo(PyObject self, PyObject _class)"""
3621 return _windows
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
3623 def base_SetCurrentPage(*args
, **kwargs
):
3624 """base_SetCurrentPage(int pageNum) -> bool"""
3625 return _windows
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
3627 def base_PaintPage(*args
, **kwargs
):
3628 """base_PaintPage(PreviewCanvas canvas, DC dc) -> bool"""
3629 return _windows
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
3631 def base_DrawBlankPage(*args
, **kwargs
):
3632 """base_DrawBlankPage(PreviewCanvas canvas, DC dc) -> bool"""
3633 return _windows
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
3635 def base_RenderPage(*args
, **kwargs
):
3636 """base_RenderPage(int pageNum) -> bool"""
3637 return _windows
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
3639 def base_SetZoom(*args
, **kwargs
):
3640 """base_SetZoom(int percent)"""
3641 return _windows
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
3643 def base_Print(*args
, **kwargs
):
3644 """base_Print(bool interactive) -> bool"""
3645 return _windows
.PyPrintPreview_base_Print(*args
, **kwargs
)
3647 def base_DetermineScaling(*args
, **kwargs
):
3648 """base_DetermineScaling()"""
3649 return _windows
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
3652 class PyPrintPreviewPtr(PyPrintPreview
):
3653 def __init__(self
, this
):
3655 if not hasattr(self
,"thisown"): self
.thisown
= 0
3656 self
.__class
__ = PyPrintPreview
3657 _windows
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
3659 class PyPreviewFrame(PreviewFrame
):
3661 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3662 def __init__(self
, *args
, **kwargs
):
3664 __init__(PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
3665 Size size=DefaultSize,
3666 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
3668 newobj
= _windows
.new_PyPreviewFrame(*args
, **kwargs
)
3669 self
.this
= newobj
.this
3672 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
3674 def _setCallbackInfo(*args
, **kwargs
):
3675 """_setCallbackInfo(PyObject self, PyObject _class)"""
3676 return _windows
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
3678 def SetPreviewCanvas(*args
, **kwargs
):
3679 """SetPreviewCanvas(PreviewCanvas canvas)"""
3680 return _windows
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
3682 def SetControlBar(*args
, **kwargs
):
3683 """SetControlBar(PreviewControlBar bar)"""
3684 return _windows
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
3686 def base_Initialize(*args
, **kwargs
):
3687 """base_Initialize()"""
3688 return _windows
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
3690 def base_CreateCanvas(*args
, **kwargs
):
3691 """base_CreateCanvas()"""
3692 return _windows
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
3694 def base_CreateControlBar(*args
, **kwargs
):
3695 """base_CreateControlBar()"""
3696 return _windows
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
3699 class PyPreviewFramePtr(PyPreviewFrame
):
3700 def __init__(self
, this
):
3702 if not hasattr(self
,"thisown"): self
.thisown
= 0
3703 self
.__class
__ = PyPreviewFrame
3704 _windows
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
3706 class PyPreviewControlBar(PreviewControlBar
):
3708 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3709 def __init__(self
, *args
, **kwargs
):
3711 __init__(PrintPreview preview, long buttons, Window parent,
3712 Point pos=DefaultPosition, Size size=DefaultSize,
3713 long style=0, String name=PanelNameStr) -> PyPreviewControlBar
3715 newobj
= _windows
.new_PyPreviewControlBar(*args
, **kwargs
)
3716 self
.this
= newobj
.this
3719 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
3721 def _setCallbackInfo(*args
, **kwargs
):
3722 """_setCallbackInfo(PyObject self, PyObject _class)"""
3723 return _windows
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
3725 def SetPrintPreview(*args
, **kwargs
):
3726 """SetPrintPreview(PrintPreview preview)"""
3727 return _windows
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
3729 def base_CreateButtons(*args
, **kwargs
):
3730 """base_CreateButtons()"""
3731 return _windows
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
3733 def base_SetZoomControl(*args
, **kwargs
):
3734 """base_SetZoomControl(int zoom)"""
3735 return _windows
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
3738 class PyPreviewControlBarPtr(PyPreviewControlBar
):
3739 def __init__(self
, this
):
3741 if not hasattr(self
,"thisown"): self
.thisown
= 0
3742 self
.__class
__ = PyPreviewControlBar
3743 _windows
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)