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