1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
8 #---------------------------------------------------------------------------
10 class Panel(core
.Window
):
12 return "<%s.%s; proxy of C++ wxPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
13 def __init__(self
, *args
, **kwargs
):
15 __init__(Window parent, int id=-1, Point pos=DefaultPosition,
16 Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
17 String name=PanelNameStr) -> Panel
19 newobj
= _windows
.new_Panel(*args
, **kwargs
)
20 self
.this
= newobj
.this
23 self
._setOORInfo
(self
)
25 def Create(*args
, **kwargs
):
27 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
28 long style=wxTAB_TRAVERSAL|wxNO_BORDER,
29 String name=PanelNameStr) -> bool
31 return _windows
.Panel_Create(*args
, **kwargs
)
33 def InitDialog(*args
, **kwargs
):
35 return _windows
.Panel_InitDialog(*args
, **kwargs
)
38 class PanelPtr(Panel
):
39 def __init__(self
, this
):
41 if not hasattr(self
,"thisown"): self
.thisown
= 0
42 self
.__class
__ = Panel
43 _windows
.Panel_swigregister(PanelPtr
)
45 def PrePanel(*args
, **kwargs
):
46 """PrePanel() -> Panel"""
47 val
= _windows
.new_PrePanel(*args
, **kwargs
)
51 #---------------------------------------------------------------------------
53 class ScrolledWindow(Panel
):
55 return "<%s.%s; proxy of C++ wxScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
56 def __init__(self
, *args
, **kwargs
):
58 __init__(Window parent, int id=-1, Point pos=DefaultPosition,
59 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
60 String name=PanelNameStr) -> ScrolledWindow
62 newobj
= _windows
.new_ScrolledWindow(*args
, **kwargs
)
63 self
.this
= newobj
.this
66 self
._setOORInfo
(self
)
68 def Create(*args
, **kwargs
):
70 Create(Window parent, int id=-1, Point pos=DefaultPosition,
71 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
72 String name=PanelNameStr) -> bool
74 return _windows
.ScrolledWindow_Create(*args
, **kwargs
)
76 def SetScrollbars(*args
, **kwargs
):
78 SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX,
79 int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)
81 return _windows
.ScrolledWindow_SetScrollbars(*args
, **kwargs
)
83 def Scroll(*args
, **kwargs
):
84 """Scroll(int x, int y)"""
85 return _windows
.ScrolledWindow_Scroll(*args
, **kwargs
)
87 def GetScrollPageSize(*args
, **kwargs
):
88 """GetScrollPageSize(int orient) -> int"""
89 return _windows
.ScrolledWindow_GetScrollPageSize(*args
, **kwargs
)
91 def SetScrollPageSize(*args
, **kwargs
):
92 """SetScrollPageSize(int orient, int pageSize)"""
93 return _windows
.ScrolledWindow_SetScrollPageSize(*args
, **kwargs
)
95 def SetScrollRate(*args
, **kwargs
):
96 """SetScrollRate(int xstep, int ystep)"""
97 return _windows
.ScrolledWindow_SetScrollRate(*args
, **kwargs
)
99 def GetScrollPixelsPerUnit(*args
, **kwargs
):
101 GetScrollPixelsPerUnit() -> (xUnit, yUnit)
103 Get the size of one logical unit in physical units.
105 return _windows
.ScrolledWindow_GetScrollPixelsPerUnit(*args
, **kwargs
)
107 def EnableScrolling(*args
, **kwargs
):
108 """EnableScrolling(bool x_scrolling, bool y_scrolling)"""
109 return _windows
.ScrolledWindow_EnableScrolling(*args
, **kwargs
)
111 def GetViewStart(*args
, **kwargs
):
113 GetViewStart() -> (x,y)
117 return _windows
.ScrolledWindow_GetViewStart(*args
, **kwargs
)
119 def SetScale(*args
, **kwargs
):
120 """SetScale(double xs, double ys)"""
121 return _windows
.ScrolledWindow_SetScale(*args
, **kwargs
)
123 def GetScaleX(*args
, **kwargs
):
124 """GetScaleX() -> double"""
125 return _windows
.ScrolledWindow_GetScaleX(*args
, **kwargs
)
127 def GetScaleY(*args
, **kwargs
):
128 """GetScaleY() -> double"""
129 return _windows
.ScrolledWindow_GetScaleY(*args
, **kwargs
)
131 def CalcScrolledPosition(*args
):
133 CalcScrolledPosition(Point pt) -> Point
134 CalcScrolledPosition(int x, int y) -> (sx, sy)
136 Translate between scrolled and unscrolled coordinates.
138 return _windows
.ScrolledWindow_CalcScrolledPosition(*args
)
140 def CalcUnscrolledPosition(*args
):
142 CalcUnscrolledPosition(Point pt) -> Point
143 CalcUnscrolledPosition(int x, int y) -> (ux, uy)
145 Translate between scrolled and unscrolled coordinates.
147 return _windows
.ScrolledWindow_CalcUnscrolledPosition(*args
)
149 def AdjustScrollbars(*args
, **kwargs
):
150 """AdjustScrollbars()"""
151 return _windows
.ScrolledWindow_AdjustScrollbars(*args
, **kwargs
)
153 def CalcScrollInc(*args
, **kwargs
):
154 """CalcScrollInc(ScrollWinEvent event) -> int"""
155 return _windows
.ScrolledWindow_CalcScrollInc(*args
, **kwargs
)
157 def SetTargetWindow(*args
, **kwargs
):
158 """SetTargetWindow(Window target)"""
159 return _windows
.ScrolledWindow_SetTargetWindow(*args
, **kwargs
)
161 def GetTargetWindow(*args
, **kwargs
):
162 """GetTargetWindow() -> Window"""
163 return _windows
.ScrolledWindow_GetTargetWindow(*args
, **kwargs
)
165 def SetTargetRect(*args
, **kwargs
):
166 """SetTargetRect(Rect rect)"""
167 return _windows
.ScrolledWindow_SetTargetRect(*args
, **kwargs
)
169 def GetTargetRect(*args
, **kwargs
):
170 """GetTargetRect() -> Rect"""
171 return _windows
.ScrolledWindow_GetTargetRect(*args
, **kwargs
)
174 class ScrolledWindowPtr(ScrolledWindow
):
175 def __init__(self
, this
):
177 if not hasattr(self
,"thisown"): self
.thisown
= 0
178 self
.__class
__ = ScrolledWindow
179 _windows
.ScrolledWindow_swigregister(ScrolledWindowPtr
)
181 def PreScrolledWindow(*args
, **kwargs
):
182 """PreScrolledWindow() -> ScrolledWindow"""
183 val
= _windows
.new_PreScrolledWindow(*args
, **kwargs
)
187 #---------------------------------------------------------------------------
189 FULLSCREEN_NOMENUBAR
= _windows
.FULLSCREEN_NOMENUBAR
190 FULLSCREEN_NOTOOLBAR
= _windows
.FULLSCREEN_NOTOOLBAR
191 FULLSCREEN_NOSTATUSBAR
= _windows
.FULLSCREEN_NOSTATUSBAR
192 FULLSCREEN_NOBORDER
= _windows
.FULLSCREEN_NOBORDER
193 FULLSCREEN_NOCAPTION
= _windows
.FULLSCREEN_NOCAPTION
194 FULLSCREEN_ALL
= _windows
.FULLSCREEN_ALL
195 TOPLEVEL_EX_DIALOG
= _windows
.TOPLEVEL_EX_DIALOG
196 class TopLevelWindow(core
.Window
):
197 def __init__(self
): raise RuntimeError, "No constructor defined"
199 return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
200 def Maximize(*args
, **kwargs
):
201 """Maximize(bool maximize=True)"""
202 return _windows
.TopLevelWindow_Maximize(*args
, **kwargs
)
204 def Restore(*args
, **kwargs
):
206 return _windows
.TopLevelWindow_Restore(*args
, **kwargs
)
208 def Iconize(*args
, **kwargs
):
209 """Iconize(bool iconize=True)"""
210 return _windows
.TopLevelWindow_Iconize(*args
, **kwargs
)
212 def IsMaximized(*args
, **kwargs
):
213 """IsMaximized() -> bool"""
214 return _windows
.TopLevelWindow_IsMaximized(*args
, **kwargs
)
216 def IsIconized(*args
, **kwargs
):
217 """IsIconized() -> bool"""
218 return _windows
.TopLevelWindow_IsIconized(*args
, **kwargs
)
220 def GetIcon(*args
, **kwargs
):
221 """GetIcon() -> Icon"""
222 return _windows
.TopLevelWindow_GetIcon(*args
, **kwargs
)
224 def SetIcon(*args
, **kwargs
):
225 """SetIcon(Icon icon)"""
226 return _windows
.TopLevelWindow_SetIcon(*args
, **kwargs
)
228 def SetIcons(*args
, **kwargs
):
229 """SetIcons(wxIconBundle icons)"""
230 return _windows
.TopLevelWindow_SetIcons(*args
, **kwargs
)
232 def ShowFullScreen(*args
, **kwargs
):
233 """ShowFullScreen(bool show, long style=FULLSCREEN_ALL) -> bool"""
234 return _windows
.TopLevelWindow_ShowFullScreen(*args
, **kwargs
)
236 def IsFullScreen(*args
, **kwargs
):
237 """IsFullScreen() -> bool"""
238 return _windows
.TopLevelWindow_IsFullScreen(*args
, **kwargs
)
240 def SetTitle(*args
, **kwargs
):
241 """SetTitle(String title)"""
242 return _windows
.TopLevelWindow_SetTitle(*args
, **kwargs
)
244 def GetTitle(*args
, **kwargs
):
245 """GetTitle() -> String"""
246 return _windows
.TopLevelWindow_GetTitle(*args
, **kwargs
)
248 def SetShape(*args
, **kwargs
):
249 """SetShape(Region region) -> bool"""
250 return _windows
.TopLevelWindow_SetShape(*args
, **kwargs
)
253 class TopLevelWindowPtr(TopLevelWindow
):
254 def __init__(self
, this
):
256 if not hasattr(self
,"thisown"): self
.thisown
= 0
257 self
.__class
__ = TopLevelWindow
258 _windows
.TopLevelWindow_swigregister(TopLevelWindowPtr
)
260 FrameNameStr
= cvar
.FrameNameStr
261 DialogNameStr
= cvar
.DialogNameStr
262 StatusLineNameStr
= cvar
.StatusLineNameStr
263 ToolBarNameStr
= cvar
.ToolBarNameStr
265 #---------------------------------------------------------------------------
267 class Frame(TopLevelWindow
):
269 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
270 def __init__(self
, *args
, **kwargs
):
272 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
273 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
274 String name=FrameNameStr) -> Frame
276 newobj
= _windows
.new_Frame(*args
, **kwargs
)
277 self
.this
= newobj
.this
280 self
._setOORInfo
(self
)
282 def Create(*args
, **kwargs
):
284 Create(Window parent, int id, String title, Point pos=DefaultPosition,
285 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
286 String name=FrameNameStr) -> bool
288 return _windows
.Frame_Create(*args
, **kwargs
)
290 def GetClientAreaOrigin(*args
, **kwargs
):
291 """GetClientAreaOrigin() -> Point"""
292 return _windows
.Frame_GetClientAreaOrigin(*args
, **kwargs
)
294 def SendSizeEvent(*args
, **kwargs
):
295 """SendSizeEvent()"""
296 return _windows
.Frame_SendSizeEvent(*args
, **kwargs
)
298 def SetMenuBar(*args
, **kwargs
):
299 """SetMenuBar(MenuBar menubar)"""
300 return _windows
.Frame_SetMenuBar(*args
, **kwargs
)
302 def GetMenuBar(*args
, **kwargs
):
303 """GetMenuBar() -> MenuBar"""
304 return _windows
.Frame_GetMenuBar(*args
, **kwargs
)
306 def ProcessCommand(*args
, **kwargs
):
307 """ProcessCommand(int winid) -> bool"""
308 return _windows
.Frame_ProcessCommand(*args
, **kwargs
)
310 Command
= ProcessCommand
311 def CreateStatusBar(*args
, **kwargs
):
313 CreateStatusBar(int number=1, long style=ST_SIZEGRIP, int winid=0,
314 String name=StatusLineNameStr) -> StatusBar
316 return _windows
.Frame_CreateStatusBar(*args
, **kwargs
)
318 def GetStatusBar(*args
, **kwargs
):
319 """GetStatusBar() -> StatusBar"""
320 return _windows
.Frame_GetStatusBar(*args
, **kwargs
)
322 def SetStatusBar(*args
, **kwargs
):
323 """SetStatusBar(StatusBar statBar)"""
324 return _windows
.Frame_SetStatusBar(*args
, **kwargs
)
326 def SetStatusText(*args
, **kwargs
):
327 """SetStatusText(String text, int number=0)"""
328 return _windows
.Frame_SetStatusText(*args
, **kwargs
)
330 def SetStatusWidths(*args
, **kwargs
):
331 """SetStatusWidths(int widths, int widths_field)"""
332 return _windows
.Frame_SetStatusWidths(*args
, **kwargs
)
334 def PushStatusText(*args
, **kwargs
):
335 """PushStatusText(String text, int number=0)"""
336 return _windows
.Frame_PushStatusText(*args
, **kwargs
)
338 def PopStatusText(*args
, **kwargs
):
339 """PopStatusText(int number=0)"""
340 return _windows
.Frame_PopStatusText(*args
, **kwargs
)
342 def SetStatusBarPane(*args
, **kwargs
):
343 """SetStatusBarPane(int n)"""
344 return _windows
.Frame_SetStatusBarPane(*args
, **kwargs
)
346 def GetStatusBarPane(*args
, **kwargs
):
347 """GetStatusBarPane() -> int"""
348 return _windows
.Frame_GetStatusBarPane(*args
, **kwargs
)
350 def CreateToolBar(*args
, **kwargs
):
351 """CreateToolBar(long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar"""
352 return _windows
.Frame_CreateToolBar(*args
, **kwargs
)
354 def GetToolBar(*args
, **kwargs
):
355 """GetToolBar() -> wxToolBar"""
356 return _windows
.Frame_GetToolBar(*args
, **kwargs
)
358 def SetToolBar(*args
, **kwargs
):
359 """SetToolBar(wxToolBar toolbar)"""
360 return _windows
.Frame_SetToolBar(*args
, **kwargs
)
362 def DoGiveHelp(*args
, **kwargs
):
363 """DoGiveHelp(String text, bool show)"""
364 return _windows
.Frame_DoGiveHelp(*args
, **kwargs
)
366 def DoMenuUpdates(*args
, **kwargs
):
367 """DoMenuUpdates(Menu menu=None)"""
368 return _windows
.Frame_DoMenuUpdates(*args
, **kwargs
)
371 class FramePtr(Frame
):
372 def __init__(self
, this
):
374 if not hasattr(self
,"thisown"): self
.thisown
= 0
375 self
.__class
__ = Frame
376 _windows
.Frame_swigregister(FramePtr
)
378 def PreFrame(*args
, **kwargs
):
379 """PreFrame() -> Frame"""
380 val
= _windows
.new_PreFrame(*args
, **kwargs
)
384 #---------------------------------------------------------------------------
386 class Dialog(TopLevelWindow
):
388 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
389 def __init__(self
, *args
, **kwargs
):
391 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
392 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
393 String name=DialogNameStr) -> Dialog
395 newobj
= _windows
.new_Dialog(*args
, **kwargs
)
396 self
.this
= newobj
.this
399 self
._setOORInfo
(self
)
401 def Create(*args
, **kwargs
):
403 Create(Window parent, int id, String title, Point pos=DefaultPosition,
404 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
405 String name=DialogNameStr) -> bool
407 return _windows
.Dialog_Create(*args
, **kwargs
)
409 def SetReturnCode(*args
, **kwargs
):
410 """SetReturnCode(int returnCode)"""
411 return _windows
.Dialog_SetReturnCode(*args
, **kwargs
)
413 def GetReturnCode(*args
, **kwargs
):
414 """GetReturnCode() -> int"""
415 return _windows
.Dialog_GetReturnCode(*args
, **kwargs
)
417 def CreateTextSizer(*args
, **kwargs
):
418 """CreateTextSizer(String message) -> Sizer"""
419 return _windows
.Dialog_CreateTextSizer(*args
, **kwargs
)
421 def CreateButtonSizer(*args
, **kwargs
):
422 """CreateButtonSizer(long flags) -> Sizer"""
423 return _windows
.Dialog_CreateButtonSizer(*args
, **kwargs
)
425 def SetModal(*args
, **kwargs
):
426 """SetModal(bool flag)"""
427 return _windows
.Dialog_SetModal(*args
, **kwargs
)
429 def IsModal(*args
, **kwargs
):
430 """IsModal() -> bool"""
431 return _windows
.Dialog_IsModal(*args
, **kwargs
)
433 def ShowModal(*args
, **kwargs
):
434 """ShowModal() -> int"""
435 return _windows
.Dialog_ShowModal(*args
, **kwargs
)
437 def EndModal(*args
, **kwargs
):
438 """EndModal(int retCode)"""
439 return _windows
.Dialog_EndModal(*args
, **kwargs
)
441 def IsModalShowing(*args
, **kwargs
):
442 """IsModalShowing() -> bool"""
443 return _windows
.Dialog_IsModalShowing(*args
, **kwargs
)
446 class DialogPtr(Dialog
):
447 def __init__(self
, this
):
449 if not hasattr(self
,"thisown"): self
.thisown
= 0
450 self
.__class
__ = Dialog
451 _windows
.Dialog_swigregister(DialogPtr
)
453 def PreDialog(*args
, **kwargs
):
454 """PreDialog() -> Dialog"""
455 val
= _windows
.new_PreDialog(*args
, **kwargs
)
459 #---------------------------------------------------------------------------
461 class MiniFrame(Frame
):
463 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
464 def __init__(self
, *args
, **kwargs
):
466 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
467 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
468 String name=FrameNameStr) -> MiniFrame
470 newobj
= _windows
.new_MiniFrame(*args
, **kwargs
)
471 self
.this
= newobj
.this
474 self
._setOORInfo
(self
)
476 def Create(*args
, **kwargs
):
478 Create(Window parent, int id, String title, Point pos=DefaultPosition,
479 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
480 String name=FrameNameStr) -> bool
482 return _windows
.MiniFrame_Create(*args
, **kwargs
)
485 class MiniFramePtr(MiniFrame
):
486 def __init__(self
, this
):
488 if not hasattr(self
,"thisown"): self
.thisown
= 0
489 self
.__class
__ = MiniFrame
490 _windows
.MiniFrame_swigregister(MiniFramePtr
)
492 def PreMiniFrame(*args
, **kwargs
):
493 """PreMiniFrame() -> MiniFrame"""
494 val
= _windows
.new_PreMiniFrame(*args
, **kwargs
)
498 #---------------------------------------------------------------------------
500 SPLASH_CENTRE_ON_PARENT
= _windows
.SPLASH_CENTRE_ON_PARENT
501 SPLASH_CENTRE_ON_SCREEN
= _windows
.SPLASH_CENTRE_ON_SCREEN
502 SPLASH_NO_CENTRE
= _windows
.SPLASH_NO_CENTRE
503 SPLASH_TIMEOUT
= _windows
.SPLASH_TIMEOUT
504 SPLASH_NO_TIMEOUT
= _windows
.SPLASH_NO_TIMEOUT
505 class SplashScreenWindow(core
.Window
):
507 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
508 def __init__(self
, *args
, **kwargs
):
510 __init__(Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
511 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
513 newobj
= _windows
.new_SplashScreenWindow(*args
, **kwargs
)
514 self
.this
= newobj
.this
517 self
._setOORInfo
(self
)
519 def SetBitmap(*args
, **kwargs
):
520 """SetBitmap(Bitmap bitmap)"""
521 return _windows
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
523 def GetBitmap(*args
, **kwargs
):
524 """GetBitmap() -> Bitmap"""
525 return _windows
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
528 class SplashScreenWindowPtr(SplashScreenWindow
):
529 def __init__(self
, this
):
531 if not hasattr(self
,"thisown"): self
.thisown
= 0
532 self
.__class
__ = SplashScreenWindow
533 _windows
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
535 class SplashScreen(Frame
):
537 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
538 def __init__(self
, *args
, **kwargs
):
540 __init__(Bitmap bitmap, long splashStyle, int milliseconds,
541 Window parent, int id, Point pos=DefaultPosition,
542 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
544 newobj
= _windows
.new_SplashScreen(*args
, **kwargs
)
545 self
.this
= newobj
.this
548 self
._setOORInfo
(self
)
550 def GetSplashStyle(*args
, **kwargs
):
551 """GetSplashStyle() -> long"""
552 return _windows
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
554 def GetSplashWindow(*args
, **kwargs
):
555 """GetSplashWindow() -> SplashScreenWindow"""
556 return _windows
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
558 def GetTimeout(*args
, **kwargs
):
559 """GetTimeout() -> int"""
560 return _windows
.SplashScreen_GetTimeout(*args
, **kwargs
)
563 class SplashScreenPtr(SplashScreen
):
564 def __init__(self
, this
):
566 if not hasattr(self
,"thisown"): self
.thisown
= 0
567 self
.__class
__ = SplashScreen
568 _windows
.SplashScreen_swigregister(SplashScreenPtr
)
570 #---------------------------------------------------------------------------
572 class StatusBar(core
.Window
):
574 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
575 def __init__(self
, *args
, **kwargs
):
576 """__init__(Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> StatusBar"""
577 newobj
= _windows
.new_StatusBar(*args
, **kwargs
)
578 self
.this
= newobj
.this
581 self
._setOORInfo
(self
)
583 def Create(*args
, **kwargs
):
584 """Create(Window parent, int id, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
585 return _windows
.StatusBar_Create(*args
, **kwargs
)
587 def SetFieldsCount(*args
, **kwargs
):
588 """SetFieldsCount(int number=1)"""
589 return _windows
.StatusBar_SetFieldsCount(*args
, **kwargs
)
591 def GetFieldsCount(*args
, **kwargs
):
592 """GetFieldsCount() -> int"""
593 return _windows
.StatusBar_GetFieldsCount(*args
, **kwargs
)
595 def SetStatusText(*args
, **kwargs
):
596 """SetStatusText(String text, int number=0)"""
597 return _windows
.StatusBar_SetStatusText(*args
, **kwargs
)
599 def GetStatusText(*args
, **kwargs
):
600 """GetStatusText(int number=0) -> String"""
601 return _windows
.StatusBar_GetStatusText(*args
, **kwargs
)
603 def PushStatusText(*args
, **kwargs
):
604 """PushStatusText(String text, int number=0)"""
605 return _windows
.StatusBar_PushStatusText(*args
, **kwargs
)
607 def PopStatusText(*args
, **kwargs
):
608 """PopStatusText(int number=0)"""
609 return _windows
.StatusBar_PopStatusText(*args
, **kwargs
)
611 def SetStatusWidths(*args
, **kwargs
):
612 """SetStatusWidths(int widths, int widths_field)"""
613 return _windows
.StatusBar_SetStatusWidths(*args
, **kwargs
)
615 def GetFieldRect(*args
, **kwargs
):
616 """GetFieldRect(int i) -> Rect"""
617 return _windows
.StatusBar_GetFieldRect(*args
, **kwargs
)
619 def SetMinHeight(*args
, **kwargs
):
620 """SetMinHeight(int height)"""
621 return _windows
.StatusBar_SetMinHeight(*args
, **kwargs
)
623 def GetBorderX(*args
, **kwargs
):
624 """GetBorderX() -> int"""
625 return _windows
.StatusBar_GetBorderX(*args
, **kwargs
)
627 def GetBorderY(*args
, **kwargs
):
628 """GetBorderY() -> int"""
629 return _windows
.StatusBar_GetBorderY(*args
, **kwargs
)
632 class StatusBarPtr(StatusBar
):
633 def __init__(self
, this
):
635 if not hasattr(self
,"thisown"): self
.thisown
= 0
636 self
.__class
__ = StatusBar
637 _windows
.StatusBar_swigregister(StatusBarPtr
)
639 def PreStatusBar(*args
, **kwargs
):
640 """PreStatusBar() -> StatusBar"""
641 val
= _windows
.new_PreStatusBar(*args
, **kwargs
)
645 #---------------------------------------------------------------------------
647 SP_NOBORDER
= _windows
.SP_NOBORDER
648 SP_NOSASH
= _windows
.SP_NOSASH
649 SP_PERMIT_UNSPLIT
= _windows
.SP_PERMIT_UNSPLIT
650 SP_LIVE_UPDATE
= _windows
.SP_LIVE_UPDATE
651 SP_3DSASH
= _windows
.SP_3DSASH
652 SP_3DBORDER
= _windows
.SP_3DBORDER
653 SP_BORDER
= _windows
.SP_BORDER
654 SP_3D
= _windows
.SP_3D
655 SPLIT_HORIZONTAL
= _windows
.SPLIT_HORIZONTAL
656 SPLIT_VERTICAL
= _windows
.SPLIT_VERTICAL
657 SPLIT_DRAG_NONE
= _windows
.SPLIT_DRAG_NONE
658 SPLIT_DRAG_DRAGGING
= _windows
.SPLIT_DRAG_DRAGGING
659 SPLIT_DRAG_LEFT_DOWN
= _windows
.SPLIT_DRAG_LEFT_DOWN
660 class SplitterWindow(core
.Window
):
662 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
663 def __init__(self
, *args
, **kwargs
):
665 __init__(Window parent, int id, Point point=DefaultPosition,
666 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
668 newobj
= _windows
.new_SplitterWindow(*args
, **kwargs
)
669 self
.this
= newobj
.this
672 self
._setOORInfo
(self
)
674 def Create(*args
, **kwargs
):
676 Create(Window parent, int id, Point point=DefaultPosition,
677 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool
679 return _windows
.SplitterWindow_Create(*args
, **kwargs
)
681 def GetWindow1(*args
, **kwargs
):
682 """GetWindow1() -> Window"""
683 return _windows
.SplitterWindow_GetWindow1(*args
, **kwargs
)
685 def GetWindow2(*args
, **kwargs
):
686 """GetWindow2() -> Window"""
687 return _windows
.SplitterWindow_GetWindow2(*args
, **kwargs
)
689 def SetSplitMode(*args
, **kwargs
):
690 """SetSplitMode(int mode)"""
691 return _windows
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
693 def GetSplitMode(*args
, **kwargs
):
694 """GetSplitMode() -> int"""
695 return _windows
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
697 def Initialize(*args
, **kwargs
):
698 """Initialize(Window window)"""
699 return _windows
.SplitterWindow_Initialize(*args
, **kwargs
)
701 def SplitVertically(*args
, **kwargs
):
702 """SplitVertically(Window window1, Window window2, int sashPosition=0) -> bool"""
703 return _windows
.SplitterWindow_SplitVertically(*args
, **kwargs
)
705 def SplitHorizontally(*args
, **kwargs
):
706 """SplitHorizontally(Window window1, Window window2, int sashPosition=0) -> bool"""
707 return _windows
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
709 def Unsplit(*args
, **kwargs
):
710 """Unsplit(Window toRemove=None) -> bool"""
711 return _windows
.SplitterWindow_Unsplit(*args
, **kwargs
)
713 def ReplaceWindow(*args
, **kwargs
):
714 """ReplaceWindow(Window winOld, Window winNew) -> bool"""
715 return _windows
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
717 def IsSplit(*args
, **kwargs
):
718 """IsSplit() -> bool"""
719 return _windows
.SplitterWindow_IsSplit(*args
, **kwargs
)
721 def SetSashSize(*args
, **kwargs
):
722 """SetSashSize(int width)"""
723 return _windows
.SplitterWindow_SetSashSize(*args
, **kwargs
)
725 def SetBorderSize(*args
, **kwargs
):
726 """SetBorderSize(int width)"""
727 return _windows
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
729 def GetSashSize(*args
, **kwargs
):
730 """GetSashSize() -> int"""
731 return _windows
.SplitterWindow_GetSashSize(*args
, **kwargs
)
733 def GetBorderSize(*args
, **kwargs
):
734 """GetBorderSize() -> int"""
735 return _windows
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
737 def SetSashPosition(*args
, **kwargs
):
738 """SetSashPosition(int position, bool redraw=True)"""
739 return _windows
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
741 def GetSashPosition(*args
, **kwargs
):
742 """GetSashPosition() -> int"""
743 return _windows
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
745 def SetMinimumPaneSize(*args
, **kwargs
):
746 """SetMinimumPaneSize(int min)"""
747 return _windows
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
749 def GetMinimumPaneSize(*args
, **kwargs
):
750 """GetMinimumPaneSize() -> int"""
751 return _windows
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
753 def SashHitTest(*args
, **kwargs
):
754 """SashHitTest(int x, int y, int tolerance=5) -> bool"""
755 return _windows
.SplitterWindow_SashHitTest(*args
, **kwargs
)
757 def SizeWindows(*args
, **kwargs
):
759 return _windows
.SplitterWindow_SizeWindows(*args
, **kwargs
)
761 def SetNeedUpdating(*args
, **kwargs
):
762 """SetNeedUpdating(bool needUpdating)"""
763 return _windows
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
765 def GetNeedUpdating(*args
, **kwargs
):
766 """GetNeedUpdating() -> bool"""
767 return _windows
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
770 class SplitterWindowPtr(SplitterWindow
):
771 def __init__(self
, this
):
773 if not hasattr(self
,"thisown"): self
.thisown
= 0
774 self
.__class
__ = SplitterWindow
775 _windows
.SplitterWindow_swigregister(SplitterWindowPtr
)
776 SplitterNameStr
= cvar
.SplitterNameStr
778 def PreSplitterWindow(*args
, **kwargs
):
779 """PreSplitterWindow() -> SplitterWindow"""
780 val
= _windows
.new_PreSplitterWindow(*args
, **kwargs
)
784 class SplitterEvent(core
.NotifyEvent
):
786 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
787 def __init__(self
, *args
, **kwargs
):
788 """__init__(wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent"""
789 newobj
= _windows
.new_SplitterEvent(*args
, **kwargs
)
790 self
.this
= newobj
.this
793 def SetSashPosition(*args
, **kwargs
):
794 """SetSashPosition(int pos)"""
795 return _windows
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
797 def GetSashPosition(*args
, **kwargs
):
798 """GetSashPosition() -> int"""
799 return _windows
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
801 def GetWindowBeingRemoved(*args
, **kwargs
):
802 """GetWindowBeingRemoved() -> Window"""
803 return _windows
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
805 def GetX(*args
, **kwargs
):
807 return _windows
.SplitterEvent_GetX(*args
, **kwargs
)
809 def GetY(*args
, **kwargs
):
811 return _windows
.SplitterEvent_GetY(*args
, **kwargs
)
814 class SplitterEventPtr(SplitterEvent
):
815 def __init__(self
, this
):
817 if not hasattr(self
,"thisown"): self
.thisown
= 0
818 self
.__class
__ = SplitterEvent
819 _windows
.SplitterEvent_swigregister(SplitterEventPtr
)
821 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
822 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
823 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
824 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows
.wxEVT_COMMAND_SPLITTER_UNSPLIT
825 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
826 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
827 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
828 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
830 #---------------------------------------------------------------------------
832 SASH_DRAG_NONE
= _windows
.SASH_DRAG_NONE
833 SASH_DRAG_DRAGGING
= _windows
.SASH_DRAG_DRAGGING
834 SASH_DRAG_LEFT_DOWN
= _windows
.SASH_DRAG_LEFT_DOWN
835 SW_NOBORDER
= _windows
.SW_NOBORDER
836 SW_BORDER
= _windows
.SW_BORDER
837 SW_3DSASH
= _windows
.SW_3DSASH
838 SW_3DBORDER
= _windows
.SW_3DBORDER
839 SW_3D
= _windows
.SW_3D
840 SASH_TOP
= _windows
.SASH_TOP
841 SASH_RIGHT
= _windows
.SASH_RIGHT
842 SASH_BOTTOM
= _windows
.SASH_BOTTOM
843 SASH_LEFT
= _windows
.SASH_LEFT
844 SASH_NONE
= _windows
.SASH_NONE
845 class SashWindow(core
.Window
):
847 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
848 def __init__(self
, *args
, **kwargs
):
850 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
851 long style=wxCLIP_CHILDREN|wxSW_3D,
852 String name=SashNameStr) -> SashWindow
854 newobj
= _windows
.new_SashWindow(*args
, **kwargs
)
855 self
.this
= newobj
.this
858 self
._setOORInfo
(self
)
860 def Create(*args
, **kwargs
):
862 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
863 long style=wxCLIP_CHILDREN|wxSW_3D,
864 String name=SashNameStr) -> bool
866 return _windows
.SashWindow_Create(*args
, **kwargs
)
868 def SetSashVisible(*args
, **kwargs
):
869 """SetSashVisible(int edge, bool sash)"""
870 return _windows
.SashWindow_SetSashVisible(*args
, **kwargs
)
872 def GetSashVisible(*args
, **kwargs
):
873 """GetSashVisible(int edge) -> bool"""
874 return _windows
.SashWindow_GetSashVisible(*args
, **kwargs
)
876 def SetSashBorder(*args
, **kwargs
):
877 """SetSashBorder(int edge, bool border)"""
878 return _windows
.SashWindow_SetSashBorder(*args
, **kwargs
)
880 def HasBorder(*args
, **kwargs
):
881 """HasBorder(int edge) -> bool"""
882 return _windows
.SashWindow_HasBorder(*args
, **kwargs
)
884 def GetEdgeMargin(*args
, **kwargs
):
885 """GetEdgeMargin(int edge) -> int"""
886 return _windows
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
888 def SetDefaultBorderSize(*args
, **kwargs
):
889 """SetDefaultBorderSize(int width)"""
890 return _windows
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
892 def GetDefaultBorderSize(*args
, **kwargs
):
893 """GetDefaultBorderSize() -> int"""
894 return _windows
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
896 def SetExtraBorderSize(*args
, **kwargs
):
897 """SetExtraBorderSize(int width)"""
898 return _windows
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
900 def GetExtraBorderSize(*args
, **kwargs
):
901 """GetExtraBorderSize() -> int"""
902 return _windows
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
904 def SetMinimumSizeX(*args
, **kwargs
):
905 """SetMinimumSizeX(int min)"""
906 return _windows
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
908 def SetMinimumSizeY(*args
, **kwargs
):
909 """SetMinimumSizeY(int min)"""
910 return _windows
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
912 def GetMinimumSizeX(*args
, **kwargs
):
913 """GetMinimumSizeX() -> int"""
914 return _windows
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
916 def GetMinimumSizeY(*args
, **kwargs
):
917 """GetMinimumSizeY() -> int"""
918 return _windows
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
920 def SetMaximumSizeX(*args
, **kwargs
):
921 """SetMaximumSizeX(int max)"""
922 return _windows
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
924 def SetMaximumSizeY(*args
, **kwargs
):
925 """SetMaximumSizeY(int max)"""
926 return _windows
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
928 def GetMaximumSizeX(*args
, **kwargs
):
929 """GetMaximumSizeX() -> int"""
930 return _windows
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
932 def GetMaximumSizeY(*args
, **kwargs
):
933 """GetMaximumSizeY() -> int"""
934 return _windows
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
936 def SashHitTest(*args
, **kwargs
):
937 """SashHitTest(int x, int y, int tolerance=2) -> int"""
938 return _windows
.SashWindow_SashHitTest(*args
, **kwargs
)
940 def SizeWindows(*args
, **kwargs
):
942 return _windows
.SashWindow_SizeWindows(*args
, **kwargs
)
945 class SashWindowPtr(SashWindow
):
946 def __init__(self
, this
):
948 if not hasattr(self
,"thisown"): self
.thisown
= 0
949 self
.__class
__ = SashWindow
950 _windows
.SashWindow_swigregister(SashWindowPtr
)
951 SashNameStr
= cvar
.SashNameStr
952 SashLayoutNameStr
= cvar
.SashLayoutNameStr
954 def PreSashWindow(*args
, **kwargs
):
955 """PreSashWindow() -> SashWindow"""
956 val
= _windows
.new_PreSashWindow(*args
, **kwargs
)
960 SASH_STATUS_OK
= _windows
.SASH_STATUS_OK
961 SASH_STATUS_OUT_OF_RANGE
= _windows
.SASH_STATUS_OUT_OF_RANGE
962 class SashEvent(core
.CommandEvent
):
964 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
965 def __init__(self
, *args
, **kwargs
):
966 """__init__(int id=0, int edge=SASH_NONE) -> SashEvent"""
967 newobj
= _windows
.new_SashEvent(*args
, **kwargs
)
968 self
.this
= newobj
.this
971 def SetEdge(*args
, **kwargs
):
972 """SetEdge(int edge)"""
973 return _windows
.SashEvent_SetEdge(*args
, **kwargs
)
975 def GetEdge(*args
, **kwargs
):
976 """GetEdge() -> int"""
977 return _windows
.SashEvent_GetEdge(*args
, **kwargs
)
979 def SetDragRect(*args
, **kwargs
):
980 """SetDragRect(Rect rect)"""
981 return _windows
.SashEvent_SetDragRect(*args
, **kwargs
)
983 def GetDragRect(*args
, **kwargs
):
984 """GetDragRect() -> Rect"""
985 return _windows
.SashEvent_GetDragRect(*args
, **kwargs
)
987 def SetDragStatus(*args
, **kwargs
):
988 """SetDragStatus(int status)"""
989 return _windows
.SashEvent_SetDragStatus(*args
, **kwargs
)
991 def GetDragStatus(*args
, **kwargs
):
992 """GetDragStatus() -> int"""
993 return _windows
.SashEvent_GetDragStatus(*args
, **kwargs
)
996 class SashEventPtr(SashEvent
):
997 def __init__(self
, this
):
999 if not hasattr(self
,"thisown"): self
.thisown
= 0
1000 self
.__class
__ = SashEvent
1001 _windows
.SashEvent_swigregister(SashEventPtr
)
1003 wxEVT_SASH_DRAGGED
= _windows
.wxEVT_SASH_DRAGGED
1004 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
1005 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
1007 #---------------------------------------------------------------------------
1009 LAYOUT_HORIZONTAL
= _windows
.LAYOUT_HORIZONTAL
1010 LAYOUT_VERTICAL
= _windows
.LAYOUT_VERTICAL
1011 LAYOUT_NONE
= _windows
.LAYOUT_NONE
1012 LAYOUT_TOP
= _windows
.LAYOUT_TOP
1013 LAYOUT_LEFT
= _windows
.LAYOUT_LEFT
1014 LAYOUT_RIGHT
= _windows
.LAYOUT_RIGHT
1015 LAYOUT_BOTTOM
= _windows
.LAYOUT_BOTTOM
1016 LAYOUT_LENGTH_Y
= _windows
.LAYOUT_LENGTH_Y
1017 LAYOUT_LENGTH_X
= _windows
.LAYOUT_LENGTH_X
1018 LAYOUT_MRU_LENGTH
= _windows
.LAYOUT_MRU_LENGTH
1019 LAYOUT_QUERY
= _windows
.LAYOUT_QUERY
1020 wxEVT_QUERY_LAYOUT_INFO
= _windows
.wxEVT_QUERY_LAYOUT_INFO
1021 wxEVT_CALCULATE_LAYOUT
= _windows
.wxEVT_CALCULATE_LAYOUT
1022 class QueryLayoutInfoEvent(core
.Event
):
1024 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1025 def __init__(self
, *args
, **kwargs
):
1026 """__init__(int id=0) -> QueryLayoutInfoEvent"""
1027 newobj
= _windows
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1028 self
.this
= newobj
.this
1031 def SetRequestedLength(*args
, **kwargs
):
1032 """SetRequestedLength(int length)"""
1033 return _windows
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1035 def GetRequestedLength(*args
, **kwargs
):
1036 """GetRequestedLength() -> int"""
1037 return _windows
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1039 def SetFlags(*args
, **kwargs
):
1040 """SetFlags(int flags)"""
1041 return _windows
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1043 def GetFlags(*args
, **kwargs
):
1044 """GetFlags() -> int"""
1045 return _windows
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1047 def SetSize(*args
, **kwargs
):
1048 """SetSize(Size size)"""
1049 return _windows
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1051 def GetSize(*args
, **kwargs
):
1052 """GetSize() -> Size"""
1053 return _windows
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1055 def SetOrientation(*args
, **kwargs
):
1056 """SetOrientation(int orient)"""
1057 return _windows
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1059 def GetOrientation(*args
, **kwargs
):
1060 """GetOrientation() -> int"""
1061 return _windows
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1063 def SetAlignment(*args
, **kwargs
):
1064 """SetAlignment(int align)"""
1065 return _windows
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1067 def GetAlignment(*args
, **kwargs
):
1068 """GetAlignment() -> int"""
1069 return _windows
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1072 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1073 def __init__(self
, this
):
1075 if not hasattr(self
,"thisown"): self
.thisown
= 0
1076 self
.__class
__ = QueryLayoutInfoEvent
1077 _windows
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1079 class CalculateLayoutEvent(core
.Event
):
1081 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1082 def __init__(self
, *args
, **kwargs
):
1083 """__init__(int id=0) -> CalculateLayoutEvent"""
1084 newobj
= _windows
.new_CalculateLayoutEvent(*args
, **kwargs
)
1085 self
.this
= newobj
.this
1088 def SetFlags(*args
, **kwargs
):
1089 """SetFlags(int flags)"""
1090 return _windows
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1092 def GetFlags(*args
, **kwargs
):
1093 """GetFlags() -> int"""
1094 return _windows
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1096 def SetRect(*args
, **kwargs
):
1097 """SetRect(Rect rect)"""
1098 return _windows
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1100 def GetRect(*args
, **kwargs
):
1101 """GetRect() -> Rect"""
1102 return _windows
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1105 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1106 def __init__(self
, this
):
1108 if not hasattr(self
,"thisown"): self
.thisown
= 0
1109 self
.__class
__ = CalculateLayoutEvent
1110 _windows
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1112 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1113 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1115 class SashLayoutWindow(SashWindow
):
1117 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1118 def __init__(self
, *args
, **kwargs
):
1120 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1121 long style=wxCLIP_CHILDREN|wxSW_3D,
1122 String name=SashLayoutNameStr) -> SashLayoutWindow
1124 newobj
= _windows
.new_SashLayoutWindow(*args
, **kwargs
)
1125 self
.this
= newobj
.this
1128 self
._setOORInfo
(self
)
1130 def Create(*args
, **kwargs
):
1132 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1133 long style=wxCLIP_CHILDREN|wxSW_3D,
1134 String name=SashLayoutNameStr) -> bool
1136 return _windows
.SashLayoutWindow_Create(*args
, **kwargs
)
1138 def GetAlignment(*args
, **kwargs
):
1139 """GetAlignment() -> int"""
1140 return _windows
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1142 def GetOrientation(*args
, **kwargs
):
1143 """GetOrientation() -> int"""
1144 return _windows
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1146 def SetAlignment(*args
, **kwargs
):
1147 """SetAlignment(int alignment)"""
1148 return _windows
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1150 def SetDefaultSize(*args
, **kwargs
):
1151 """SetDefaultSize(Size size)"""
1152 return _windows
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1154 def SetOrientation(*args
, **kwargs
):
1155 """SetOrientation(int orientation)"""
1156 return _windows
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1159 class SashLayoutWindowPtr(SashLayoutWindow
):
1160 def __init__(self
, this
):
1162 if not hasattr(self
,"thisown"): self
.thisown
= 0
1163 self
.__class
__ = SashLayoutWindow
1164 _windows
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1166 def PreSashLayoutWindow(*args
, **kwargs
):
1167 """PreSashLayoutWindow() -> SashLayoutWindow"""
1168 val
= _windows
.new_PreSashLayoutWindow(*args
, **kwargs
)
1172 class LayoutAlgorithm(core
.Object
):
1174 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1175 def __init__(self
, *args
, **kwargs
):
1176 """__init__() -> LayoutAlgorithm"""
1177 newobj
= _windows
.new_LayoutAlgorithm(*args
, **kwargs
)
1178 self
.this
= newobj
.this
1181 def __del__(self
, destroy
=_windows
.delete_LayoutAlgorithm
):
1184 if self
.thisown
: destroy(self
)
1187 def LayoutMDIFrame(*args
, **kwargs
):
1188 """LayoutMDIFrame(MDIParentFrame frame, Rect rect=None) -> bool"""
1189 return _windows
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1191 def LayoutFrame(*args
, **kwargs
):
1192 """LayoutFrame(Frame frame, Window mainWindow=None) -> bool"""
1193 return _windows
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1195 def LayoutWindow(*args
, **kwargs
):
1196 """LayoutWindow(Window parent, Window mainWindow=None) -> bool"""
1197 return _windows
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1200 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1201 def __init__(self
, this
):
1203 if not hasattr(self
,"thisown"): self
.thisown
= 0
1204 self
.__class
__ = LayoutAlgorithm
1205 _windows
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1207 class PopupWindow(core
.Window
):
1209 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1210 def __init__(self
, *args
, **kwargs
):
1211 """__init__(Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1212 newobj
= _windows
.new_PopupWindow(*args
, **kwargs
)
1213 self
.this
= newobj
.this
1217 class PopupWindowPtr(PopupWindow
):
1218 def __init__(self
, this
):
1220 if not hasattr(self
,"thisown"): self
.thisown
= 0
1221 self
.__class
__ = PopupWindow
1222 _windows
.PopupWindow_swigregister(PopupWindowPtr
)
1224 def PrePopupWindow(*args
, **kwargs
):
1225 """PrePopupWindow() -> PopupWindow"""
1226 val
= _windows
.new_PrePopupWindow(*args
, **kwargs
)
1230 class PopupTransientWindow(PopupWindow
):
1232 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1233 def __init__(self
, *args
, **kwargs
):
1234 """__init__(Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1235 newobj
= _windows
.new_PopupTransientWindow(*args
, **kwargs
)
1236 self
.this
= newobj
.this
1240 class PopupTransientWindowPtr(PopupTransientWindow
):
1241 def __init__(self
, this
):
1243 if not hasattr(self
,"thisown"): self
.thisown
= 0
1244 self
.__class
__ = PopupTransientWindow
1245 _windows
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1247 def PrePopupTransientWindow(*args
, **kwargs
):
1248 """PrePopupTransientWindow() -> PopupTransientWindow"""
1249 val
= _windows
.new_PrePopupTransientWindow(*args
, **kwargs
)
1253 #---------------------------------------------------------------------------
1255 class TipWindow(Frame
):
1257 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1258 def __init__(self
, *args
, **kwargs
):
1259 """__init__(Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1260 newobj
= _windows
.new_TipWindow(*args
, **kwargs
)
1261 self
.this
= newobj
.this
1264 self
._setOORInfo
(self
)
1266 def SetBoundingRect(*args
, **kwargs
):
1267 """SetBoundingRect(Rect rectBound)"""
1268 return _windows
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1270 def Close(*args
, **kwargs
):
1272 return _windows
.TipWindow_Close(*args
, **kwargs
)
1275 class TipWindowPtr(TipWindow
):
1276 def __init__(self
, this
):
1278 if not hasattr(self
,"thisown"): self
.thisown
= 0
1279 self
.__class
__ = TipWindow
1280 _windows
.TipWindow_swigregister(TipWindowPtr
)
1282 #---------------------------------------------------------------------------
1284 class VScrolledWindow(Panel
):
1286 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1287 def __init__(self
, *args
, **kwargs
):
1289 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1290 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
1292 newobj
= _windows
.new_VScrolledWindow(*args
, **kwargs
)
1293 self
.this
= newobj
.this
1296 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1298 def _setCallbackInfo(*args
, **kwargs
):
1299 """_setCallbackInfo(PyObject self, PyObject _class)"""
1300 return _windows
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1302 def Create(*args
, **kwargs
):
1304 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1305 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
1307 return _windows
.VScrolledWindow_Create(*args
, **kwargs
)
1309 def SetLineCount(*args
, **kwargs
):
1310 """SetLineCount(size_t count)"""
1311 return _windows
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1313 def ScrollToLine(*args
, **kwargs
):
1314 """ScrollToLine(size_t line) -> bool"""
1315 return _windows
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1317 def ScrollLines(*args
, **kwargs
):
1318 """ScrollLines(int lines) -> bool"""
1319 return _windows
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1321 def ScrollPages(*args
, **kwargs
):
1322 """ScrollPages(int pages) -> bool"""
1323 return _windows
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1325 def RefreshLine(*args
, **kwargs
):
1326 """RefreshLine(size_t line)"""
1327 return _windows
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1329 def RefreshLines(*args
, **kwargs
):
1330 """RefreshLines(size_t from, size_t to)"""
1331 return _windows
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1333 def HitTestXT(*args
, **kwargs
):
1334 """HitTestXT(int x, int y) -> int"""
1335 return _windows
.VScrolledWindow_HitTestXT(*args
, **kwargs
)
1337 def HitTest(*args
, **kwargs
):
1338 """HitTest(Point pt) -> int"""
1339 return _windows
.VScrolledWindow_HitTest(*args
, **kwargs
)
1341 def RefreshAll(*args
, **kwargs
):
1343 return _windows
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1345 def GetLineCount(*args
, **kwargs
):
1346 """GetLineCount() -> size_t"""
1347 return _windows
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1349 def GetFirstVisibleLine(*args
, **kwargs
):
1350 """GetFirstVisibleLine() -> size_t"""
1351 return _windows
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1353 def GetLastVisibleLine(*args
, **kwargs
):
1354 """GetLastVisibleLine() -> size_t"""
1355 return _windows
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1357 def IsVisible(*args
, **kwargs
):
1358 """IsVisible(size_t line) -> bool"""
1359 return _windows
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1362 class VScrolledWindowPtr(VScrolledWindow
):
1363 def __init__(self
, this
):
1365 if not hasattr(self
,"thisown"): self
.thisown
= 0
1366 self
.__class
__ = VScrolledWindow
1367 _windows
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
1369 def PreVScrolledWindow(*args
, **kwargs
):
1370 """PreVScrolledWindow() -> VScrolledWindow"""
1371 val
= _windows
.new_PreVScrolledWindow(*args
, **kwargs
)
1375 class VListBox(VScrolledWindow
):
1377 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1378 def __init__(self
, *args
, **kwargs
):
1380 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1381 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
1383 newobj
= _windows
.new_VListBox(*args
, **kwargs
)
1384 self
.this
= newobj
.this
1387 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
1389 def _setCallbackInfo(*args
, **kwargs
):
1390 """_setCallbackInfo(PyObject self, PyObject _class)"""
1391 return _windows
.VListBox__setCallbackInfo(*args
, **kwargs
)
1393 def Create(*args
, **kwargs
):
1395 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1396 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1398 return _windows
.VListBox_Create(*args
, **kwargs
)
1400 def GetItemCount(*args
, **kwargs
):
1401 """GetItemCount() -> size_t"""
1402 return _windows
.VListBox_GetItemCount(*args
, **kwargs
)
1404 def HasMultipleSelection(*args
, **kwargs
):
1405 """HasMultipleSelection() -> bool"""
1406 return _windows
.VListBox_HasMultipleSelection(*args
, **kwargs
)
1408 def GetSelection(*args
, **kwargs
):
1409 """GetSelection() -> int"""
1410 return _windows
.VListBox_GetSelection(*args
, **kwargs
)
1412 def IsCurrent(*args
, **kwargs
):
1413 """IsCurrent(size_t item) -> bool"""
1414 return _windows
.VListBox_IsCurrent(*args
, **kwargs
)
1416 def IsSelected(*args
, **kwargs
):
1417 """IsSelected(size_t item) -> bool"""
1418 return _windows
.VListBox_IsSelected(*args
, **kwargs
)
1420 def GetSelectedCount(*args
, **kwargs
):
1421 """GetSelectedCount() -> size_t"""
1422 return _windows
.VListBox_GetSelectedCount(*args
, **kwargs
)
1424 def GetFirstSelected(*args
, **kwargs
):
1425 """GetFirstSelected(unsigned long cookie) -> int"""
1426 return _windows
.VListBox_GetFirstSelected(*args
, **kwargs
)
1428 def GetNextSelected(*args
, **kwargs
):
1429 """GetNextSelected(unsigned long cookie) -> int"""
1430 return _windows
.VListBox_GetNextSelected(*args
, **kwargs
)
1432 def GetMargins(*args
, **kwargs
):
1433 """GetMargins() -> Point"""
1434 return _windows
.VListBox_GetMargins(*args
, **kwargs
)
1436 def GetSelectionBackground(*args
, **kwargs
):
1437 """GetSelectionBackground() -> Colour"""
1438 return _windows
.VListBox_GetSelectionBackground(*args
, **kwargs
)
1440 def SetItemCount(*args
, **kwargs
):
1441 """SetItemCount(size_t count)"""
1442 return _windows
.VListBox_SetItemCount(*args
, **kwargs
)
1444 def Clear(*args
, **kwargs
):
1446 return _windows
.VListBox_Clear(*args
, **kwargs
)
1448 def SetSelection(*args
, **kwargs
):
1449 """SetSelection(int selection)"""
1450 return _windows
.VListBox_SetSelection(*args
, **kwargs
)
1452 def Select(*args
, **kwargs
):
1453 """Select(size_t item, bool select=True) -> bool"""
1454 return _windows
.VListBox_Select(*args
, **kwargs
)
1456 def SelectRange(*args
, **kwargs
):
1457 """SelectRange(size_t from, size_t to) -> bool"""
1458 return _windows
.VListBox_SelectRange(*args
, **kwargs
)
1460 def Toggle(*args
, **kwargs
):
1461 """Toggle(size_t item)"""
1462 return _windows
.VListBox_Toggle(*args
, **kwargs
)
1464 def SelectAll(*args
, **kwargs
):
1465 """SelectAll() -> bool"""
1466 return _windows
.VListBox_SelectAll(*args
, **kwargs
)
1468 def DeselectAll(*args
, **kwargs
):
1469 """DeselectAll() -> bool"""
1470 return _windows
.VListBox_DeselectAll(*args
, **kwargs
)
1472 def SetMargins(*args
, **kwargs
):
1473 """SetMargins(Point pt)"""
1474 return _windows
.VListBox_SetMargins(*args
, **kwargs
)
1476 def SetMarginsXY(*args
, **kwargs
):
1477 """SetMarginsXY(int x, int y)"""
1478 return _windows
.VListBox_SetMarginsXY(*args
, **kwargs
)
1480 def SetSelectionBackground(*args
, **kwargs
):
1481 """SetSelectionBackground(Colour col)"""
1482 return _windows
.VListBox_SetSelectionBackground(*args
, **kwargs
)
1485 class VListBoxPtr(VListBox
):
1486 def __init__(self
, this
):
1488 if not hasattr(self
,"thisown"): self
.thisown
= 0
1489 self
.__class
__ = VListBox
1490 _windows
.VListBox_swigregister(VListBoxPtr
)
1491 VListBoxNameStr
= cvar
.VListBoxNameStr
1493 def PreVListBox(*args
, **kwargs
):
1494 """PreVListBox() -> VListBox"""
1495 val
= _windows
.new_PreVListBox(*args
, **kwargs
)
1499 class HtmlListBox(VListBox
):
1501 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1502 def __init__(self
, *args
, **kwargs
):
1504 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1505 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
1507 newobj
= _windows
.new_HtmlListBox(*args
, **kwargs
)
1508 self
.this
= newobj
.this
1511 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
1513 def _setCallbackInfo(*args
, **kwargs
):
1514 """_setCallbackInfo(PyObject self, PyObject _class)"""
1515 return _windows
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
1517 def Create(*args
, **kwargs
):
1519 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1520 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1522 return _windows
.HtmlListBox_Create(*args
, **kwargs
)
1524 def RefreshAll(*args
, **kwargs
):
1526 return _windows
.HtmlListBox_RefreshAll(*args
, **kwargs
)
1528 def SetItemCount(*args
, **kwargs
):
1529 """SetItemCount(size_t count)"""
1530 return _windows
.HtmlListBox_SetItemCount(*args
, **kwargs
)
1533 class HtmlListBoxPtr(HtmlListBox
):
1534 def __init__(self
, this
):
1536 if not hasattr(self
,"thisown"): self
.thisown
= 0
1537 self
.__class
__ = HtmlListBox
1538 _windows
.HtmlListBox_swigregister(HtmlListBoxPtr
)
1540 def PreHtmlListBox(*args
, **kwargs
):
1541 """PreHtmlListBox() -> HtmlListBox"""
1542 val
= _windows
.new_PreHtmlListBox(*args
, **kwargs
)
1546 #---------------------------------------------------------------------------
1548 class TaskBarIcon(core
.EvtHandler
):
1550 return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1551 def __init__(self
, *args
, **kwargs
):
1552 """__init__() -> TaskBarIcon"""
1553 newobj
= _windows
.new_TaskBarIcon(*args
, **kwargs
)
1554 self
.this
= newobj
.this
1557 def __del__(self
, destroy
=_windows
.delete_TaskBarIcon
):
1560 if self
.thisown
: destroy(self
)
1564 class TaskBarIconPtr(TaskBarIcon
):
1565 def __init__(self
, this
):
1567 if not hasattr(self
,"thisown"): self
.thisown
= 0
1568 self
.__class
__ = TaskBarIcon
1569 _windows
.TaskBarIcon_swigregister(TaskBarIconPtr
)
1571 class TaskBarIconEvent(core
.Event
):
1573 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1574 def __init__(self
, *args
, **kwargs
):
1575 """__init__(wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
1576 newobj
= _windows
.new_TaskBarIconEvent(*args
, **kwargs
)
1577 self
.this
= newobj
.this
1581 class TaskBarIconEventPtr(TaskBarIconEvent
):
1582 def __init__(self
, this
):
1584 if not hasattr(self
,"thisown"): self
.thisown
= 0
1585 self
.__class
__ = TaskBarIconEvent
1586 _windows
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
1588 wxEVT_TASKBAR_MOVE
= _windows
.wxEVT_TASKBAR_MOVE
1589 wxEVT_TASKBAR_LEFT_DOWN
= _windows
.wxEVT_TASKBAR_LEFT_DOWN
1590 wxEVT_TASKBAR_LEFT_UP
= _windows
.wxEVT_TASKBAR_LEFT_UP
1591 wxEVT_TASKBAR_RIGHT_DOWN
= _windows
.wxEVT_TASKBAR_RIGHT_DOWN
1592 wxEVT_TASKBAR_RIGHT_UP
= _windows
.wxEVT_TASKBAR_RIGHT_UP
1593 wxEVT_TASKBAR_LEFT_DCLICK
= _windows
.wxEVT_TASKBAR_LEFT_DCLICK
1594 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows
.wxEVT_TASKBAR_RIGHT_DCLICK
1595 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
1596 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
1597 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
1598 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
1599 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
1600 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
1601 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
1603 #---------------------------------------------------------------------------
1605 class ColourData(core
.Object
):
1607 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1608 def __init__(self
, *args
, **kwargs
):
1609 """__init__() -> ColourData"""
1610 newobj
= _windows
.new_ColourData(*args
, **kwargs
)
1611 self
.this
= newobj
.this
1614 def __del__(self
, destroy
=_windows
.delete_ColourData
):
1617 if self
.thisown
: destroy(self
)
1620 def GetChooseFull(*args
, **kwargs
):
1621 """GetChooseFull() -> bool"""
1622 return _windows
.ColourData_GetChooseFull(*args
, **kwargs
)
1624 def GetColour(*args
, **kwargs
):
1625 """GetColour() -> Colour"""
1626 return _windows
.ColourData_GetColour(*args
, **kwargs
)
1628 def GetCustomColour(*args
, **kwargs
):
1629 """GetCustomColour(int i) -> Colour"""
1630 return _windows
.ColourData_GetCustomColour(*args
, **kwargs
)
1632 def SetChooseFull(*args
, **kwargs
):
1633 """SetChooseFull(int flag)"""
1634 return _windows
.ColourData_SetChooseFull(*args
, **kwargs
)
1636 def SetColour(*args
, **kwargs
):
1637 """SetColour(Colour colour)"""
1638 return _windows
.ColourData_SetColour(*args
, **kwargs
)
1640 def SetCustomColour(*args
, **kwargs
):
1641 """SetCustomColour(int i, Colour colour)"""
1642 return _windows
.ColourData_SetCustomColour(*args
, **kwargs
)
1645 class ColourDataPtr(ColourData
):
1646 def __init__(self
, this
):
1648 if not hasattr(self
,"thisown"): self
.thisown
= 0
1649 self
.__class
__ = ColourData
1650 _windows
.ColourData_swigregister(ColourDataPtr
)
1651 FileSelectorPromptStr
= cvar
.FileSelectorPromptStr
1652 DirSelectorPromptStr
= cvar
.DirSelectorPromptStr
1653 DirDialogNameStr
= cvar
.DirDialogNameStr
1654 FileSelectorDefaultWildcardStr
= cvar
.FileSelectorDefaultWildcardStr
1655 GetTextFromUserPromptStr
= cvar
.GetTextFromUserPromptStr
1656 MessageBoxCaptionStr
= cvar
.MessageBoxCaptionStr
1658 class ColourDialog(Dialog
):
1660 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1661 def __init__(self
, *args
, **kwargs
):
1662 """__init__(Window parent, ColourData data=None) -> ColourDialog"""
1663 newobj
= _windows
.new_ColourDialog(*args
, **kwargs
)
1664 self
.this
= newobj
.this
1667 self
._setOORInfo
(self
)
1669 def GetColourData(*args
, **kwargs
):
1670 """GetColourData() -> ColourData"""
1671 return _windows
.ColourDialog_GetColourData(*args
, **kwargs
)
1673 def ShowModal(*args
, **kwargs
):
1674 """ShowModal() -> int"""
1675 return _windows
.ColourDialog_ShowModal(*args
, **kwargs
)
1678 class ColourDialogPtr(ColourDialog
):
1679 def __init__(self
, this
):
1681 if not hasattr(self
,"thisown"): self
.thisown
= 0
1682 self
.__class
__ = ColourDialog
1683 _windows
.ColourDialog_swigregister(ColourDialogPtr
)
1685 class DirDialog(Dialog
):
1687 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1688 def __init__(self
, *args
, **kwargs
):
1690 __init__(Window parent, String message=DirSelectorPromptStr,
1691 String defaultPath=EmptyString, long style=0,
1692 Point pos=DefaultPosition, Size size=DefaultSize,
1693 String name=DirDialogNameStr) -> DirDialog
1695 newobj
= _windows
.new_DirDialog(*args
, **kwargs
)
1696 self
.this
= newobj
.this
1699 self
._setOORInfo
(self
)
1701 def GetPath(*args
, **kwargs
):
1702 """GetPath() -> String"""
1703 return _windows
.DirDialog_GetPath(*args
, **kwargs
)
1705 def GetMessage(*args
, **kwargs
):
1706 """GetMessage() -> String"""
1707 return _windows
.DirDialog_GetMessage(*args
, **kwargs
)
1709 def GetStyle(*args
, **kwargs
):
1710 """GetStyle() -> long"""
1711 return _windows
.DirDialog_GetStyle(*args
, **kwargs
)
1713 def SetMessage(*args
, **kwargs
):
1714 """SetMessage(String message)"""
1715 return _windows
.DirDialog_SetMessage(*args
, **kwargs
)
1717 def SetPath(*args
, **kwargs
):
1718 """SetPath(String path)"""
1719 return _windows
.DirDialog_SetPath(*args
, **kwargs
)
1721 def ShowModal(*args
, **kwargs
):
1722 """ShowModal() -> int"""
1723 return _windows
.DirDialog_ShowModal(*args
, **kwargs
)
1726 class DirDialogPtr(DirDialog
):
1727 def __init__(self
, this
):
1729 if not hasattr(self
,"thisown"): self
.thisown
= 0
1730 self
.__class
__ = DirDialog
1731 _windows
.DirDialog_swigregister(DirDialogPtr
)
1733 class FileDialog(Dialog
):
1735 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1736 def __init__(self
, *args
, **kwargs
):
1738 __init__(Window parent, String message=FileSelectorPromptStr,
1739 String defaultDir=EmptyString, String defaultFile=EmptyString,
1740 String wildcard=FileSelectorDefaultWildcardStr,
1741 long style=0, Point pos=DefaultPosition) -> FileDialog
1743 newobj
= _windows
.new_FileDialog(*args
, **kwargs
)
1744 self
.this
= newobj
.this
1747 self
._setOORInfo
(self
)
1749 def SetMessage(*args
, **kwargs
):
1750 """SetMessage(String message)"""
1751 return _windows
.FileDialog_SetMessage(*args
, **kwargs
)
1753 def SetPath(*args
, **kwargs
):
1754 """SetPath(String path)"""
1755 return _windows
.FileDialog_SetPath(*args
, **kwargs
)
1757 def SetDirectory(*args
, **kwargs
):
1758 """SetDirectory(String dir)"""
1759 return _windows
.FileDialog_SetDirectory(*args
, **kwargs
)
1761 def SetFilename(*args
, **kwargs
):
1762 """SetFilename(String name)"""
1763 return _windows
.FileDialog_SetFilename(*args
, **kwargs
)
1765 def SetWildcard(*args
, **kwargs
):
1766 """SetWildcard(String wildCard)"""
1767 return _windows
.FileDialog_SetWildcard(*args
, **kwargs
)
1769 def SetStyle(*args
, **kwargs
):
1770 """SetStyle(long style)"""
1771 return _windows
.FileDialog_SetStyle(*args
, **kwargs
)
1773 def SetFilterIndex(*args
, **kwargs
):
1774 """SetFilterIndex(int filterIndex)"""
1775 return _windows
.FileDialog_SetFilterIndex(*args
, **kwargs
)
1777 def GetMessage(*args
, **kwargs
):
1778 """GetMessage() -> String"""
1779 return _windows
.FileDialog_GetMessage(*args
, **kwargs
)
1781 def GetPath(*args
, **kwargs
):
1782 """GetPath() -> String"""
1783 return _windows
.FileDialog_GetPath(*args
, **kwargs
)
1785 def GetDirectory(*args
, **kwargs
):
1786 """GetDirectory() -> String"""
1787 return _windows
.FileDialog_GetDirectory(*args
, **kwargs
)
1789 def GetFilename(*args
, **kwargs
):
1790 """GetFilename() -> String"""
1791 return _windows
.FileDialog_GetFilename(*args
, **kwargs
)
1793 def GetWildcard(*args
, **kwargs
):
1794 """GetWildcard() -> String"""
1795 return _windows
.FileDialog_GetWildcard(*args
, **kwargs
)
1797 def GetStyle(*args
, **kwargs
):
1798 """GetStyle() -> long"""
1799 return _windows
.FileDialog_GetStyle(*args
, **kwargs
)
1801 def GetFilterIndex(*args
, **kwargs
):
1802 """GetFilterIndex() -> int"""
1803 return _windows
.FileDialog_GetFilterIndex(*args
, **kwargs
)
1805 def GetFilenames(*args
, **kwargs
):
1806 """GetFilenames() -> PyObject"""
1807 return _windows
.FileDialog_GetFilenames(*args
, **kwargs
)
1809 def GetPaths(*args
, **kwargs
):
1810 """GetPaths() -> PyObject"""
1811 return _windows
.FileDialog_GetPaths(*args
, **kwargs
)
1814 class FileDialogPtr(FileDialog
):
1815 def __init__(self
, this
):
1817 if not hasattr(self
,"thisown"): self
.thisown
= 0
1818 self
.__class
__ = FileDialog
1819 _windows
.FileDialog_swigregister(FileDialogPtr
)
1821 CHOICEDLG_STYLE
= _windows
.CHOICEDLG_STYLE
1822 class MultiChoiceDialog(Dialog
):
1824 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1825 def __init__(self
, *args
, **kwargs
):
1827 __init__(Window parent, String message, String caption, int LCOUNT,
1828 String choices, long style=CHOICEDLG_STYLE,
1829 Point pos=DefaultPosition) -> MultiChoiceDialog
1831 newobj
= _windows
.new_MultiChoiceDialog(*args
, **kwargs
)
1832 self
.this
= newobj
.this
1835 self
._setOORInfo
(self
)
1837 def SetSelections(*args
, **kwargs
):
1838 """SetSelections(wxArrayInt selections)"""
1839 return _windows
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
1841 def GetSelections(*args
, **kwargs
):
1842 """GetSelections() -> PyObject"""
1843 return _windows
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
1846 class MultiChoiceDialogPtr(MultiChoiceDialog
):
1847 def __init__(self
, this
):
1849 if not hasattr(self
,"thisown"): self
.thisown
= 0
1850 self
.__class
__ = MultiChoiceDialog
1851 _windows
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
1853 class SingleChoiceDialog(Dialog
):
1855 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1856 def __init__(self
, *args
, **kwargs
):
1858 __init__(Window parent, String message, String caption, int choices,
1859 String choices_array, long style=CHOICEDLG_STYLE,
1860 Point pos=DefaultPosition) -> SingleChoiceDialog
1862 newobj
= _windows
.new_SingleChoiceDialog(*args
, **kwargs
)
1863 self
.this
= newobj
.this
1866 self
._setOORInfo
(self
)
1868 def GetSelection(*args
, **kwargs
):
1869 """GetSelection() -> int"""
1870 return _windows
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
1872 def GetStringSelection(*args
, **kwargs
):
1873 """GetStringSelection() -> String"""
1874 return _windows
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
1876 def SetSelection(*args
, **kwargs
):
1877 """SetSelection(int sel)"""
1878 return _windows
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
1880 def ShowModal(*args
, **kwargs
):
1881 """ShowModal() -> int"""
1882 return _windows
.SingleChoiceDialog_ShowModal(*args
, **kwargs
)
1885 class SingleChoiceDialogPtr(SingleChoiceDialog
):
1886 def __init__(self
, this
):
1888 if not hasattr(self
,"thisown"): self
.thisown
= 0
1889 self
.__class
__ = SingleChoiceDialog
1890 _windows
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
1892 class TextEntryDialog(Dialog
):
1894 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1895 def __init__(self
, *args
, **kwargs
):
1897 __init__(Window parent, String message, String caption=GetTextFromUserPromptStr,
1898 String defaultValue=EmptyString,
1899 long style=wxOK|wxCANCEL|wxCENTRE, Point pos=DefaultPosition) -> TextEntryDialog
1901 newobj
= _windows
.new_TextEntryDialog(*args
, **kwargs
)
1902 self
.this
= newobj
.this
1905 self
._setOORInfo
(self
)
1907 def GetValue(*args
, **kwargs
):
1908 """GetValue() -> String"""
1909 return _windows
.TextEntryDialog_GetValue(*args
, **kwargs
)
1911 def SetValue(*args
, **kwargs
):
1912 """SetValue(String value)"""
1913 return _windows
.TextEntryDialog_SetValue(*args
, **kwargs
)
1915 def ShowModal(*args
, **kwargs
):
1916 """ShowModal() -> int"""
1917 return _windows
.TextEntryDialog_ShowModal(*args
, **kwargs
)
1920 class TextEntryDialogPtr(TextEntryDialog
):
1921 def __init__(self
, this
):
1923 if not hasattr(self
,"thisown"): self
.thisown
= 0
1924 self
.__class
__ = TextEntryDialog
1925 _windows
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
1927 class FontData(core
.Object
):
1929 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1930 def __init__(self
, *args
, **kwargs
):
1931 """__init__() -> FontData"""
1932 newobj
= _windows
.new_FontData(*args
, **kwargs
)
1933 self
.this
= newobj
.this
1936 def __del__(self
, destroy
=_windows
.delete_FontData
):
1939 if self
.thisown
: destroy(self
)
1942 def EnableEffects(*args
, **kwargs
):
1943 """EnableEffects(bool enable)"""
1944 return _windows
.FontData_EnableEffects(*args
, **kwargs
)
1946 def GetAllowSymbols(*args
, **kwargs
):
1947 """GetAllowSymbols() -> bool"""
1948 return _windows
.FontData_GetAllowSymbols(*args
, **kwargs
)
1950 def GetColour(*args
, **kwargs
):
1951 """GetColour() -> Colour"""
1952 return _windows
.FontData_GetColour(*args
, **kwargs
)
1954 def GetChosenFont(*args
, **kwargs
):
1955 """GetChosenFont() -> Font"""
1956 return _windows
.FontData_GetChosenFont(*args
, **kwargs
)
1958 def GetEnableEffects(*args
, **kwargs
):
1959 """GetEnableEffects() -> bool"""
1960 return _windows
.FontData_GetEnableEffects(*args
, **kwargs
)
1962 def GetInitialFont(*args
, **kwargs
):
1963 """GetInitialFont() -> Font"""
1964 return _windows
.FontData_GetInitialFont(*args
, **kwargs
)
1966 def GetShowHelp(*args
, **kwargs
):
1967 """GetShowHelp() -> bool"""
1968 return _windows
.FontData_GetShowHelp(*args
, **kwargs
)
1970 def SetAllowSymbols(*args
, **kwargs
):
1971 """SetAllowSymbols(bool allowSymbols)"""
1972 return _windows
.FontData_SetAllowSymbols(*args
, **kwargs
)
1974 def SetChosenFont(*args
, **kwargs
):
1975 """SetChosenFont(Font font)"""
1976 return _windows
.FontData_SetChosenFont(*args
, **kwargs
)
1978 def SetColour(*args
, **kwargs
):
1979 """SetColour(Colour colour)"""
1980 return _windows
.FontData_SetColour(*args
, **kwargs
)
1982 def SetInitialFont(*args
, **kwargs
):
1983 """SetInitialFont(Font font)"""
1984 return _windows
.FontData_SetInitialFont(*args
, **kwargs
)
1986 def SetRange(*args
, **kwargs
):
1987 """SetRange(int min, int max)"""
1988 return _windows
.FontData_SetRange(*args
, **kwargs
)
1990 def SetShowHelp(*args
, **kwargs
):
1991 """SetShowHelp(bool showHelp)"""
1992 return _windows
.FontData_SetShowHelp(*args
, **kwargs
)
1995 class FontDataPtr(FontData
):
1996 def __init__(self
, this
):
1998 if not hasattr(self
,"thisown"): self
.thisown
= 0
1999 self
.__class
__ = FontData
2000 _windows
.FontData_swigregister(FontDataPtr
)
2002 class FontDialog(Dialog
):
2004 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2005 def __init__(self
, *args
, **kwargs
):
2006 """__init__(Window parent, FontData data) -> FontDialog"""
2007 newobj
= _windows
.new_FontDialog(*args
, **kwargs
)
2008 self
.this
= newobj
.this
2011 self
._setOORInfo
(self
)
2013 def GetFontData(*args
, **kwargs
):
2014 """GetFontData() -> FontData"""
2015 return _windows
.FontDialog_GetFontData(*args
, **kwargs
)
2017 def ShowModal(*args
, **kwargs
):
2018 """ShowModal() -> int"""
2019 return _windows
.FontDialog_ShowModal(*args
, **kwargs
)
2022 class FontDialogPtr(FontDialog
):
2023 def __init__(self
, this
):
2025 if not hasattr(self
,"thisown"): self
.thisown
= 0
2026 self
.__class
__ = FontDialog
2027 _windows
.FontDialog_swigregister(FontDialogPtr
)
2029 class MessageDialog(Dialog
):
2031 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2032 def __init__(self
, *args
, **kwargs
):
2034 __init__(Window parent, String message, String caption=MessageBoxCaptionStr,
2035 long style=wxOK|wxCANCEL|wxCENTRE,
2036 Point pos=DefaultPosition) -> MessageDialog
2038 newobj
= _windows
.new_MessageDialog(*args
, **kwargs
)
2039 self
.this
= newobj
.this
2042 self
._setOORInfo
(self
)
2044 def ShowModal(*args
, **kwargs
):
2045 """ShowModal() -> int"""
2046 return _windows
.MessageDialog_ShowModal(*args
, **kwargs
)
2049 class MessageDialogPtr(MessageDialog
):
2050 def __init__(self
, this
):
2052 if not hasattr(self
,"thisown"): self
.thisown
= 0
2053 self
.__class
__ = MessageDialog
2054 _windows
.MessageDialog_swigregister(MessageDialogPtr
)
2056 class ProgressDialog(Frame
):
2058 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2059 def __init__(self
, *args
, **kwargs
):
2061 __init__(String title, String message, int maximum=100, Window parent=None,
2062 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
2064 newobj
= _windows
.new_ProgressDialog(*args
, **kwargs
)
2065 self
.this
= newobj
.this
2068 self
._setOORInfo
(self
)
2070 def Update(*args
, **kwargs
):
2071 """Update(int value, String newmsg=EmptyString) -> bool"""
2072 return _windows
.ProgressDialog_Update(*args
, **kwargs
)
2074 def Resume(*args
, **kwargs
):
2076 return _windows
.ProgressDialog_Resume(*args
, **kwargs
)
2079 class ProgressDialogPtr(ProgressDialog
):
2080 def __init__(self
, this
):
2082 if not hasattr(self
,"thisown"): self
.thisown
= 0
2083 self
.__class
__ = ProgressDialog
2084 _windows
.ProgressDialog_swigregister(ProgressDialogPtr
)
2086 FR_DOWN
= _windows
.FR_DOWN
2087 FR_WHOLEWORD
= _windows
.FR_WHOLEWORD
2088 FR_MATCHCASE
= _windows
.FR_MATCHCASE
2089 FR_REPLACEDIALOG
= _windows
.FR_REPLACEDIALOG
2090 FR_NOUPDOWN
= _windows
.FR_NOUPDOWN
2091 FR_NOMATCHCASE
= _windows
.FR_NOMATCHCASE
2092 FR_NOWHOLEWORD
= _windows
.FR_NOWHOLEWORD
2093 wxEVT_COMMAND_FIND
= _windows
.wxEVT_COMMAND_FIND
2094 wxEVT_COMMAND_FIND_NEXT
= _windows
.wxEVT_COMMAND_FIND_NEXT
2095 wxEVT_COMMAND_FIND_REPLACE
= _windows
.wxEVT_COMMAND_FIND_REPLACE
2096 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows
.wxEVT_COMMAND_FIND_REPLACE_ALL
2097 wxEVT_COMMAND_FIND_CLOSE
= _windows
.wxEVT_COMMAND_FIND_CLOSE
2098 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
2099 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
2100 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
2101 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
2102 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
2104 # For backwards compatibility. Should they be removed?
2105 EVT_COMMAND_FIND
= EVT_FIND
2106 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
2107 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
2108 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
2109 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
2111 class FindDialogEvent(core
.CommandEvent
):
2113 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2114 def __init__(self
, *args
, **kwargs
):
2115 """__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent"""
2116 newobj
= _windows
.new_FindDialogEvent(*args
, **kwargs
)
2117 self
.this
= newobj
.this
2120 def GetFlags(*args
, **kwargs
):
2121 """GetFlags() -> int"""
2122 return _windows
.FindDialogEvent_GetFlags(*args
, **kwargs
)
2124 def GetFindString(*args
, **kwargs
):
2125 """GetFindString() -> String"""
2126 return _windows
.FindDialogEvent_GetFindString(*args
, **kwargs
)
2128 def GetReplaceString(*args
, **kwargs
):
2129 """GetReplaceString() -> String"""
2130 return _windows
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
2132 def GetDialog(*args
, **kwargs
):
2133 """GetDialog() -> FindReplaceDialog"""
2134 return _windows
.FindDialogEvent_GetDialog(*args
, **kwargs
)
2136 def SetFlags(*args
, **kwargs
):
2137 """SetFlags(int flags)"""
2138 return _windows
.FindDialogEvent_SetFlags(*args
, **kwargs
)
2140 def SetFindString(*args
, **kwargs
):
2141 """SetFindString(String str)"""
2142 return _windows
.FindDialogEvent_SetFindString(*args
, **kwargs
)
2144 def SetReplaceString(*args
, **kwargs
):
2145 """SetReplaceString(String str)"""
2146 return _windows
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
2149 class FindDialogEventPtr(FindDialogEvent
):
2150 def __init__(self
, this
):
2152 if not hasattr(self
,"thisown"): self
.thisown
= 0
2153 self
.__class
__ = FindDialogEvent
2154 _windows
.FindDialogEvent_swigregister(FindDialogEventPtr
)
2156 class FindReplaceData(core
.Object
):
2158 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2159 def __init__(self
, *args
, **kwargs
):
2160 """__init__(int flags=0) -> FindReplaceData"""
2161 newobj
= _windows
.new_FindReplaceData(*args
, **kwargs
)
2162 self
.this
= newobj
.this
2165 def __del__(self
, destroy
=_windows
.delete_FindReplaceData
):
2168 if self
.thisown
: destroy(self
)
2171 def GetFindString(*args
, **kwargs
):
2172 """GetFindString() -> String"""
2173 return _windows
.FindReplaceData_GetFindString(*args
, **kwargs
)
2175 def GetReplaceString(*args
, **kwargs
):
2176 """GetReplaceString() -> String"""
2177 return _windows
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
2179 def GetFlags(*args
, **kwargs
):
2180 """GetFlags() -> int"""
2181 return _windows
.FindReplaceData_GetFlags(*args
, **kwargs
)
2183 def SetFlags(*args
, **kwargs
):
2184 """SetFlags(int flags)"""
2185 return _windows
.FindReplaceData_SetFlags(*args
, **kwargs
)
2187 def SetFindString(*args
, **kwargs
):
2188 """SetFindString(String str)"""
2189 return _windows
.FindReplaceData_SetFindString(*args
, **kwargs
)
2191 def SetReplaceString(*args
, **kwargs
):
2192 """SetReplaceString(String str)"""
2193 return _windows
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
2196 class FindReplaceDataPtr(FindReplaceData
):
2197 def __init__(self
, this
):
2199 if not hasattr(self
,"thisown"): self
.thisown
= 0
2200 self
.__class
__ = FindReplaceData
2201 _windows
.FindReplaceData_swigregister(FindReplaceDataPtr
)
2203 class FindReplaceDialog(Dialog
):
2205 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2206 def __init__(self
, *args
, **kwargs
):
2208 __init__(Window parent, FindReplaceData data, String title,
2209 int style=0) -> FindReplaceDialog
2211 newobj
= _windows
.new_FindReplaceDialog(*args
, **kwargs
)
2212 self
.this
= newobj
.this
2215 self
._setOORInfo
(self
)
2217 def Create(*args
, **kwargs
):
2219 Create(Window parent, FindReplaceData data, String title,
2220 int style=0) -> bool
2222 return _windows
.FindReplaceDialog_Create(*args
, **kwargs
)
2224 def GetData(*args
, **kwargs
):
2225 """GetData() -> FindReplaceData"""
2226 return _windows
.FindReplaceDialog_GetData(*args
, **kwargs
)
2228 def SetData(*args
, **kwargs
):
2229 """SetData(FindReplaceData data)"""
2230 return _windows
.FindReplaceDialog_SetData(*args
, **kwargs
)
2233 class FindReplaceDialogPtr(FindReplaceDialog
):
2234 def __init__(self
, this
):
2236 if not hasattr(self
,"thisown"): self
.thisown
= 0
2237 self
.__class
__ = FindReplaceDialog
2238 _windows
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
2240 def PreFindReplaceDialog(*args
, **kwargs
):
2241 """PreFindReplaceDialog() -> FindReplaceDialog"""
2242 val
= _windows
.new_PreFindReplaceDialog(*args
, **kwargs
)
2246 #---------------------------------------------------------------------------
2248 IDM_WINDOWTILE
= _windows
.IDM_WINDOWTILE
2249 IDM_WINDOWTILEHOR
= _windows
.IDM_WINDOWTILEHOR
2250 IDM_WINDOWCASCADE
= _windows
.IDM_WINDOWCASCADE
2251 IDM_WINDOWICONS
= _windows
.IDM_WINDOWICONS
2252 IDM_WINDOWNEXT
= _windows
.IDM_WINDOWNEXT
2253 IDM_WINDOWTILEVERT
= _windows
.IDM_WINDOWTILEVERT
2254 FIRST_MDI_CHILD
= _windows
.FIRST_MDI_CHILD
2255 LAST_MDI_CHILD
= _windows
.LAST_MDI_CHILD
2256 class MDIParentFrame(Frame
):
2258 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2259 def __init__(self
, *args
, **kwargs
):
2261 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
2262 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2263 String name=FrameNameStr) -> MDIParentFrame
2265 newobj
= _windows
.new_MDIParentFrame(*args
, **kwargs
)
2266 self
.this
= newobj
.this
2269 self
._setOORInfo
(self
)
2271 def Create(*args
, **kwargs
):
2273 Create(Window parent, int id, String title, Point pos=DefaultPosition,
2274 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2275 String name=FrameNameStr) -> bool
2277 return _windows
.MDIParentFrame_Create(*args
, **kwargs
)
2279 def ActivateNext(*args
, **kwargs
):
2280 """ActivateNext()"""
2281 return _windows
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
2283 def ActivatePrevious(*args
, **kwargs
):
2284 """ActivatePrevious()"""
2285 return _windows
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
2287 def ArrangeIcons(*args
, **kwargs
):
2288 """ArrangeIcons()"""
2289 return _windows
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
2291 def Cascade(*args
, **kwargs
):
2293 return _windows
.MDIParentFrame_Cascade(*args
, **kwargs
)
2295 def GetActiveChild(*args
, **kwargs
):
2296 """GetActiveChild() -> MDIChildFrame"""
2297 return _windows
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
2299 def GetClientWindow(*args
, **kwargs
):
2300 """GetClientWindow() -> MDIClientWindow"""
2301 return _windows
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
2303 def GetToolBar(*args
, **kwargs
):
2304 """GetToolBar() -> Window"""
2305 return _windows
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
2307 def Tile(*args
, **kwargs
):
2309 return _windows
.MDIParentFrame_Tile(*args
, **kwargs
)
2312 class MDIParentFramePtr(MDIParentFrame
):
2313 def __init__(self
, this
):
2315 if not hasattr(self
,"thisown"): self
.thisown
= 0
2316 self
.__class
__ = MDIParentFrame
2317 _windows
.MDIParentFrame_swigregister(MDIParentFramePtr
)
2319 def PreMDIParentFrame(*args
, **kwargs
):
2320 """PreMDIParentFrame() -> MDIParentFrame"""
2321 val
= _windows
.new_PreMDIParentFrame(*args
, **kwargs
)
2325 class MDIChildFrame(Frame
):
2327 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2328 def __init__(self
, *args
, **kwargs
):
2330 __init__(MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
2331 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
2332 String name=FrameNameStr) -> MDIChildFrame
2334 newobj
= _windows
.new_MDIChildFrame(*args
, **kwargs
)
2335 self
.this
= newobj
.this
2338 self
._setOORInfo
(self
)
2340 def Create(*args
, **kwargs
):
2342 Create(MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
2343 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
2344 String name=FrameNameStr) -> bool
2346 return _windows
.MDIChildFrame_Create(*args
, **kwargs
)
2348 def Activate(*args
, **kwargs
):
2350 return _windows
.MDIChildFrame_Activate(*args
, **kwargs
)
2352 def Maximize(*args
, **kwargs
):
2353 """Maximize(bool maximize)"""
2354 return _windows
.MDIChildFrame_Maximize(*args
, **kwargs
)
2356 def Restore(*args
, **kwargs
):
2358 return _windows
.MDIChildFrame_Restore(*args
, **kwargs
)
2361 class MDIChildFramePtr(MDIChildFrame
):
2362 def __init__(self
, this
):
2364 if not hasattr(self
,"thisown"): self
.thisown
= 0
2365 self
.__class
__ = MDIChildFrame
2366 _windows
.MDIChildFrame_swigregister(MDIChildFramePtr
)
2368 def PreMDIChildFrame(*args
, **kwargs
):
2369 """PreMDIChildFrame() -> MDIChildFrame"""
2370 val
= _windows
.new_PreMDIChildFrame(*args
, **kwargs
)
2374 class MDIClientWindow(core
.Window
):
2376 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2377 def __init__(self
, *args
, **kwargs
):
2378 """__init__(MDIParentFrame parent, long style=0) -> MDIClientWindow"""
2379 newobj
= _windows
.new_MDIClientWindow(*args
, **kwargs
)
2380 self
.this
= newobj
.this
2383 self
._setOORInfo
(self
)
2385 def Create(*args
, **kwargs
):
2386 """Create(MDIParentFrame parent, long style=0) -> bool"""
2387 return _windows
.MDIClientWindow_Create(*args
, **kwargs
)
2390 class MDIClientWindowPtr(MDIClientWindow
):
2391 def __init__(self
, this
):
2393 if not hasattr(self
,"thisown"): self
.thisown
= 0
2394 self
.__class
__ = MDIClientWindow
2395 _windows
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
2397 def PreMDIClientWindow(*args
, **kwargs
):
2398 """PreMDIClientWindow() -> MDIClientWindow"""
2399 val
= _windows
.new_PreMDIClientWindow(*args
, **kwargs
)
2403 #---------------------------------------------------------------------------
2405 class PyWindow(core
.Window
):
2407 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2408 def __init__(self
, *args
, **kwargs
):
2410 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2411 long style=0, String name=PanelNameStr) -> PyWindow
2413 newobj
= _windows
.new_PyWindow(*args
, **kwargs
)
2414 self
.this
= newobj
.this
2417 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
2419 def _setCallbackInfo(*args
, **kwargs
):
2420 """_setCallbackInfo(PyObject self, PyObject _class)"""
2421 return _windows
.PyWindow__setCallbackInfo(*args
, **kwargs
)
2423 def base_DoMoveWindow(*args
, **kwargs
):
2424 """base_DoMoveWindow(int x, int y, int width, int height)"""
2425 return _windows
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
2427 def base_DoSetSize(*args
, **kwargs
):
2428 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2429 return _windows
.PyWindow_base_DoSetSize(*args
, **kwargs
)
2431 def base_DoSetClientSize(*args
, **kwargs
):
2432 """base_DoSetClientSize(int width, int height)"""
2433 return _windows
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
2435 def base_DoSetVirtualSize(*args
, **kwargs
):
2436 """base_DoSetVirtualSize(int x, int y)"""
2437 return _windows
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
2439 def base_DoGetSize(*args
, **kwargs
):
2440 """base_DoGetSize() -> (width, height)"""
2441 return _windows
.PyWindow_base_DoGetSize(*args
, **kwargs
)
2443 def base_DoGetClientSize(*args
, **kwargs
):
2444 """base_DoGetClientSize() -> (width, height)"""
2445 return _windows
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
2447 def base_DoGetPosition(*args
, **kwargs
):
2448 """base_DoGetPosition() -> (x,y)"""
2449 return _windows
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
2451 def base_DoGetVirtualSize(*args
, **kwargs
):
2452 """base_DoGetVirtualSize() -> Size"""
2453 return _windows
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
2455 def base_DoGetBestSize(*args
, **kwargs
):
2456 """base_DoGetBestSize() -> Size"""
2457 return _windows
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
2459 def base_InitDialog(*args
, **kwargs
):
2460 """base_InitDialog()"""
2461 return _windows
.PyWindow_base_InitDialog(*args
, **kwargs
)
2463 def base_TransferDataToWindow(*args
, **kwargs
):
2464 """base_TransferDataToWindow() -> bool"""
2465 return _windows
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
2467 def base_TransferDataFromWindow(*args
, **kwargs
):
2468 """base_TransferDataFromWindow() -> bool"""
2469 return _windows
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
2471 def base_Validate(*args
, **kwargs
):
2472 """base_Validate() -> bool"""
2473 return _windows
.PyWindow_base_Validate(*args
, **kwargs
)
2475 def base_AcceptsFocus(*args
, **kwargs
):
2476 """base_AcceptsFocus() -> bool"""
2477 return _windows
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
2479 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2480 """base_AcceptsFocusFromKeyboard() -> bool"""
2481 return _windows
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2483 def base_GetMaxSize(*args
, **kwargs
):
2484 """base_GetMaxSize() -> Size"""
2485 return _windows
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
2487 def base_AddChild(*args
, **kwargs
):
2488 """base_AddChild(Window child)"""
2489 return _windows
.PyWindow_base_AddChild(*args
, **kwargs
)
2491 def base_RemoveChild(*args
, **kwargs
):
2492 """base_RemoveChild(Window child)"""
2493 return _windows
.PyWindow_base_RemoveChild(*args
, **kwargs
)
2496 class PyWindowPtr(PyWindow
):
2497 def __init__(self
, this
):
2499 if not hasattr(self
,"thisown"): self
.thisown
= 0
2500 self
.__class
__ = PyWindow
2501 _windows
.PyWindow_swigregister(PyWindowPtr
)
2503 class PyPanel(Panel
):
2505 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2506 def __init__(self
, *args
, **kwargs
):
2508 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2509 long style=0, String name=PanelNameStr) -> PyPanel
2511 newobj
= _windows
.new_PyPanel(*args
, **kwargs
)
2512 self
.this
= newobj
.this
2515 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
2517 def _setCallbackInfo(*args
, **kwargs
):
2518 """_setCallbackInfo(PyObject self, PyObject _class)"""
2519 return _windows
.PyPanel__setCallbackInfo(*args
, **kwargs
)
2521 def base_DoMoveWindow(*args
, **kwargs
):
2522 """base_DoMoveWindow(int x, int y, int width, int height)"""
2523 return _windows
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
2525 def base_DoSetSize(*args
, **kwargs
):
2526 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2527 return _windows
.PyPanel_base_DoSetSize(*args
, **kwargs
)
2529 def base_DoSetClientSize(*args
, **kwargs
):
2530 """base_DoSetClientSize(int width, int height)"""
2531 return _windows
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
2533 def base_DoSetVirtualSize(*args
, **kwargs
):
2534 """base_DoSetVirtualSize(int x, int y)"""
2535 return _windows
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
2537 def base_DoGetSize(*args
, **kwargs
):
2538 """base_DoGetSize() -> (width, height)"""
2539 return _windows
.PyPanel_base_DoGetSize(*args
, **kwargs
)
2541 def base_DoGetClientSize(*args
, **kwargs
):
2542 """base_DoGetClientSize() -> (width, height)"""
2543 return _windows
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
2545 def base_DoGetPosition(*args
, **kwargs
):
2546 """base_DoGetPosition() -> (x,y)"""
2547 return _windows
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
2549 def base_DoGetVirtualSize(*args
, **kwargs
):
2550 """base_DoGetVirtualSize() -> Size"""
2551 return _windows
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
2553 def base_DoGetBestSize(*args
, **kwargs
):
2554 """base_DoGetBestSize() -> Size"""
2555 return _windows
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
2557 def base_InitDialog(*args
, **kwargs
):
2558 """base_InitDialog()"""
2559 return _windows
.PyPanel_base_InitDialog(*args
, **kwargs
)
2561 def base_TransferDataToWindow(*args
, **kwargs
):
2562 """base_TransferDataToWindow() -> bool"""
2563 return _windows
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
2565 def base_TransferDataFromWindow(*args
, **kwargs
):
2566 """base_TransferDataFromWindow() -> bool"""
2567 return _windows
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
2569 def base_Validate(*args
, **kwargs
):
2570 """base_Validate() -> bool"""
2571 return _windows
.PyPanel_base_Validate(*args
, **kwargs
)
2573 def base_AcceptsFocus(*args
, **kwargs
):
2574 """base_AcceptsFocus() -> bool"""
2575 return _windows
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
2577 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2578 """base_AcceptsFocusFromKeyboard() -> bool"""
2579 return _windows
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2581 def base_GetMaxSize(*args
, **kwargs
):
2582 """base_GetMaxSize() -> Size"""
2583 return _windows
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
2585 def base_AddChild(*args
, **kwargs
):
2586 """base_AddChild(Window child)"""
2587 return _windows
.PyPanel_base_AddChild(*args
, **kwargs
)
2589 def base_RemoveChild(*args
, **kwargs
):
2590 """base_RemoveChild(Window child)"""
2591 return _windows
.PyPanel_base_RemoveChild(*args
, **kwargs
)
2594 class PyPanelPtr(PyPanel
):
2595 def __init__(self
, this
):
2597 if not hasattr(self
,"thisown"): self
.thisown
= 0
2598 self
.__class
__ = PyPanel
2599 _windows
.PyPanel_swigregister(PyPanelPtr
)
2601 #---------------------------------------------------------------------------
2603 PRINT_MODE_NONE
= _windows
.PRINT_MODE_NONE
2604 PRINT_MODE_PREVIEW
= _windows
.PRINT_MODE_PREVIEW
2605 PRINT_MODE_FILE
= _windows
.PRINT_MODE_FILE
2606 PRINT_MODE_PRINTER
= _windows
.PRINT_MODE_PRINTER
2607 class PrintData(core
.Object
):
2609 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2610 def __init__(self
, *args
, **kwargs
):
2611 """__init__() -> PrintData"""
2612 newobj
= _windows
.new_PrintData(*args
, **kwargs
)
2613 self
.this
= newobj
.this
2616 def __del__(self
, destroy
=_windows
.delete_PrintData
):
2619 if self
.thisown
: destroy(self
)
2622 def GetNoCopies(*args
, **kwargs
):
2623 """GetNoCopies() -> int"""
2624 return _windows
.PrintData_GetNoCopies(*args
, **kwargs
)
2626 def GetCollate(*args
, **kwargs
):
2627 """GetCollate() -> bool"""
2628 return _windows
.PrintData_GetCollate(*args
, **kwargs
)
2630 def GetOrientation(*args
, **kwargs
):
2631 """GetOrientation() -> int"""
2632 return _windows
.PrintData_GetOrientation(*args
, **kwargs
)
2634 def Ok(*args
, **kwargs
):
2636 return _windows
.PrintData_Ok(*args
, **kwargs
)
2638 def GetPrinterName(*args
, **kwargs
):
2639 """GetPrinterName() -> String"""
2640 return _windows
.PrintData_GetPrinterName(*args
, **kwargs
)
2642 def GetColour(*args
, **kwargs
):
2643 """GetColour() -> bool"""
2644 return _windows
.PrintData_GetColour(*args
, **kwargs
)
2646 def GetDuplex(*args
, **kwargs
):
2647 """GetDuplex() -> int"""
2648 return _windows
.PrintData_GetDuplex(*args
, **kwargs
)
2650 def GetPaperId(*args
, **kwargs
):
2651 """GetPaperId() -> int"""
2652 return _windows
.PrintData_GetPaperId(*args
, **kwargs
)
2654 def GetPaperSize(*args
, **kwargs
):
2655 """GetPaperSize() -> Size"""
2656 return _windows
.PrintData_GetPaperSize(*args
, **kwargs
)
2658 def GetQuality(*args
, **kwargs
):
2659 """GetQuality() -> int"""
2660 return _windows
.PrintData_GetQuality(*args
, **kwargs
)
2662 def SetNoCopies(*args
, **kwargs
):
2663 """SetNoCopies(int v)"""
2664 return _windows
.PrintData_SetNoCopies(*args
, **kwargs
)
2666 def SetCollate(*args
, **kwargs
):
2667 """SetCollate(bool flag)"""
2668 return _windows
.PrintData_SetCollate(*args
, **kwargs
)
2670 def SetOrientation(*args
, **kwargs
):
2671 """SetOrientation(int orient)"""
2672 return _windows
.PrintData_SetOrientation(*args
, **kwargs
)
2674 def SetPrinterName(*args
, **kwargs
):
2675 """SetPrinterName(String name)"""
2676 return _windows
.PrintData_SetPrinterName(*args
, **kwargs
)
2678 def SetColour(*args
, **kwargs
):
2679 """SetColour(bool colour)"""
2680 return _windows
.PrintData_SetColour(*args
, **kwargs
)
2682 def SetDuplex(*args
, **kwargs
):
2683 """SetDuplex(int duplex)"""
2684 return _windows
.PrintData_SetDuplex(*args
, **kwargs
)
2686 def SetPaperId(*args
, **kwargs
):
2687 """SetPaperId(int sizeId)"""
2688 return _windows
.PrintData_SetPaperId(*args
, **kwargs
)
2690 def SetPaperSize(*args
, **kwargs
):
2691 """SetPaperSize(Size sz)"""
2692 return _windows
.PrintData_SetPaperSize(*args
, **kwargs
)
2694 def SetQuality(*args
, **kwargs
):
2695 """SetQuality(int quality)"""
2696 return _windows
.PrintData_SetQuality(*args
, **kwargs
)
2698 def GetPrinterCommand(*args
, **kwargs
):
2699 """GetPrinterCommand() -> String"""
2700 return _windows
.PrintData_GetPrinterCommand(*args
, **kwargs
)
2702 def GetPrinterOptions(*args
, **kwargs
):
2703 """GetPrinterOptions() -> String"""
2704 return _windows
.PrintData_GetPrinterOptions(*args
, **kwargs
)
2706 def GetPreviewCommand(*args
, **kwargs
):
2707 """GetPreviewCommand() -> String"""
2708 return _windows
.PrintData_GetPreviewCommand(*args
, **kwargs
)
2710 def GetFilename(*args
, **kwargs
):
2711 """GetFilename() -> String"""
2712 return _windows
.PrintData_GetFilename(*args
, **kwargs
)
2714 def GetFontMetricPath(*args
, **kwargs
):
2715 """GetFontMetricPath() -> String"""
2716 return _windows
.PrintData_GetFontMetricPath(*args
, **kwargs
)
2718 def GetPrinterScaleX(*args
, **kwargs
):
2719 """GetPrinterScaleX() -> double"""
2720 return _windows
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
2722 def GetPrinterScaleY(*args
, **kwargs
):
2723 """GetPrinterScaleY() -> double"""
2724 return _windows
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
2726 def GetPrinterTranslateX(*args
, **kwargs
):
2727 """GetPrinterTranslateX() -> long"""
2728 return _windows
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
2730 def GetPrinterTranslateY(*args
, **kwargs
):
2731 """GetPrinterTranslateY() -> long"""
2732 return _windows
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
2734 def GetPrintMode(*args
, **kwargs
):
2735 """GetPrintMode() -> int"""
2736 return _windows
.PrintData_GetPrintMode(*args
, **kwargs
)
2738 def SetPrinterCommand(*args
, **kwargs
):
2739 """SetPrinterCommand(String command)"""
2740 return _windows
.PrintData_SetPrinterCommand(*args
, **kwargs
)
2742 def SetPrinterOptions(*args
, **kwargs
):
2743 """SetPrinterOptions(String options)"""
2744 return _windows
.PrintData_SetPrinterOptions(*args
, **kwargs
)
2746 def SetPreviewCommand(*args
, **kwargs
):
2747 """SetPreviewCommand(String command)"""
2748 return _windows
.PrintData_SetPreviewCommand(*args
, **kwargs
)
2750 def SetFilename(*args
, **kwargs
):
2751 """SetFilename(String filename)"""
2752 return _windows
.PrintData_SetFilename(*args
, **kwargs
)
2754 def SetFontMetricPath(*args
, **kwargs
):
2755 """SetFontMetricPath(String path)"""
2756 return _windows
.PrintData_SetFontMetricPath(*args
, **kwargs
)
2758 def SetPrinterScaleX(*args
, **kwargs
):
2759 """SetPrinterScaleX(double x)"""
2760 return _windows
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
2762 def SetPrinterScaleY(*args
, **kwargs
):
2763 """SetPrinterScaleY(double y)"""
2764 return _windows
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
2766 def SetPrinterScaling(*args
, **kwargs
):
2767 """SetPrinterScaling(double x, double y)"""
2768 return _windows
.PrintData_SetPrinterScaling(*args
, **kwargs
)
2770 def SetPrinterTranslateX(*args
, **kwargs
):
2771 """SetPrinterTranslateX(long x)"""
2772 return _windows
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
2774 def SetPrinterTranslateY(*args
, **kwargs
):
2775 """SetPrinterTranslateY(long y)"""
2776 return _windows
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
2778 def SetPrinterTranslation(*args
, **kwargs
):
2779 """SetPrinterTranslation(long x, long y)"""
2780 return _windows
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
2782 def SetPrintMode(*args
, **kwargs
):
2783 """SetPrintMode(int printMode)"""
2784 return _windows
.PrintData_SetPrintMode(*args
, **kwargs
)
2786 def __nonzero__(self
): return self
.Ok()
2788 class PrintDataPtr(PrintData
):
2789 def __init__(self
, this
):
2791 if not hasattr(self
,"thisown"): self
.thisown
= 0
2792 self
.__class
__ = PrintData
2793 _windows
.PrintData_swigregister(PrintDataPtr
)
2794 PrintoutTitleStr
= cvar
.PrintoutTitleStr
2795 PreviewCanvasNameStr
= cvar
.PreviewCanvasNameStr
2797 class PageSetupDialogData(core
.Object
):
2799 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2800 def __init__(self
, *args
, **kwargs
):
2801 """__init__() -> PageSetupDialogData"""
2802 newobj
= _windows
.new_PageSetupDialogData(*args
, **kwargs
)
2803 self
.this
= newobj
.this
2806 def __del__(self
, destroy
=_windows
.delete_PageSetupDialogData
):
2809 if self
.thisown
: destroy(self
)
2812 def EnableHelp(*args
, **kwargs
):
2813 """EnableHelp(bool flag)"""
2814 return _windows
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
2816 def EnableMargins(*args
, **kwargs
):
2817 """EnableMargins(bool flag)"""
2818 return _windows
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
2820 def EnableOrientation(*args
, **kwargs
):
2821 """EnableOrientation(bool flag)"""
2822 return _windows
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
2824 def EnablePaper(*args
, **kwargs
):
2825 """EnablePaper(bool flag)"""
2826 return _windows
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
2828 def EnablePrinter(*args
, **kwargs
):
2829 """EnablePrinter(bool flag)"""
2830 return _windows
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
2832 def GetDefaultMinMargins(*args
, **kwargs
):
2833 """GetDefaultMinMargins() -> bool"""
2834 return _windows
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
2836 def GetEnableMargins(*args
, **kwargs
):
2837 """GetEnableMargins() -> bool"""
2838 return _windows
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
2840 def GetEnableOrientation(*args
, **kwargs
):
2841 """GetEnableOrientation() -> bool"""
2842 return _windows
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
2844 def GetEnablePaper(*args
, **kwargs
):
2845 """GetEnablePaper() -> bool"""
2846 return _windows
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
2848 def GetEnablePrinter(*args
, **kwargs
):
2849 """GetEnablePrinter() -> bool"""
2850 return _windows
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
2852 def GetEnableHelp(*args
, **kwargs
):
2853 """GetEnableHelp() -> bool"""
2854 return _windows
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
2856 def GetDefaultInfo(*args
, **kwargs
):
2857 """GetDefaultInfo() -> bool"""
2858 return _windows
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
2860 def GetMarginTopLeft(*args
, **kwargs
):
2861 """GetMarginTopLeft() -> Point"""
2862 return _windows
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
2864 def GetMarginBottomRight(*args
, **kwargs
):
2865 """GetMarginBottomRight() -> Point"""
2866 return _windows
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
2868 def GetMinMarginTopLeft(*args
, **kwargs
):
2869 """GetMinMarginTopLeft() -> Point"""
2870 return _windows
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
2872 def GetMinMarginBottomRight(*args
, **kwargs
):
2873 """GetMinMarginBottomRight() -> Point"""
2874 return _windows
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
2876 def GetPaperId(*args
, **kwargs
):
2877 """GetPaperId() -> int"""
2878 return _windows
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
2880 def GetPaperSize(*args
, **kwargs
):
2881 """GetPaperSize() -> Size"""
2882 return _windows
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
2884 def GetPrintData(*args
, **kwargs
):
2885 """GetPrintData() -> PrintData"""
2886 return _windows
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
2888 def Ok(*args
, **kwargs
):
2890 return _windows
.PageSetupDialogData_Ok(*args
, **kwargs
)
2892 def SetDefaultInfo(*args
, **kwargs
):
2893 """SetDefaultInfo(bool flag)"""
2894 return _windows
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
2896 def SetDefaultMinMargins(*args
, **kwargs
):
2897 """SetDefaultMinMargins(bool flag)"""
2898 return _windows
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
2900 def SetMarginTopLeft(*args
, **kwargs
):
2901 """SetMarginTopLeft(Point pt)"""
2902 return _windows
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
2904 def SetMarginBottomRight(*args
, **kwargs
):
2905 """SetMarginBottomRight(Point pt)"""
2906 return _windows
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
2908 def SetMinMarginTopLeft(*args
, **kwargs
):
2909 """SetMinMarginTopLeft(Point pt)"""
2910 return _windows
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
2912 def SetMinMarginBottomRight(*args
, **kwargs
):
2913 """SetMinMarginBottomRight(Point pt)"""
2914 return _windows
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
2916 def SetPaperId(*args
, **kwargs
):
2917 """SetPaperId(int id)"""
2918 return _windows
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
2920 def SetPaperSize(*args
, **kwargs
):
2921 """SetPaperSize(Size size)"""
2922 return _windows
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
2924 def SetPrintData(*args
, **kwargs
):
2925 """SetPrintData(PrintData printData)"""
2926 return _windows
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
2928 def __nonzero__(self
): return self
.Ok()
2930 class PageSetupDialogDataPtr(PageSetupDialogData
):
2931 def __init__(self
, this
):
2933 if not hasattr(self
,"thisown"): self
.thisown
= 0
2934 self
.__class
__ = PageSetupDialogData
2935 _windows
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
2937 class PageSetupDialog(Dialog
):
2939 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2940 def __init__(self
, *args
, **kwargs
):
2941 """__init__(Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
2942 newobj
= _windows
.new_PageSetupDialog(*args
, **kwargs
)
2943 self
.this
= newobj
.this
2946 self
._setOORInfo
(self
)
2948 def GetPageSetupData(*args
, **kwargs
):
2949 """GetPageSetupData() -> PageSetupDialogData"""
2950 return _windows
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
2952 def ShowModal(*args
, **kwargs
):
2953 """ShowModal() -> int"""
2954 return _windows
.PageSetupDialog_ShowModal(*args
, **kwargs
)
2957 class PageSetupDialogPtr(PageSetupDialog
):
2958 def __init__(self
, this
):
2960 if not hasattr(self
,"thisown"): self
.thisown
= 0
2961 self
.__class
__ = PageSetupDialog
2962 _windows
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
2964 class PrintDialogData(core
.Object
):
2966 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2967 def __init__(self
, *args
, **kwargs
):
2968 """__init__() -> PrintDialogData"""
2969 newobj
= _windows
.new_PrintDialogData(*args
, **kwargs
)
2970 self
.this
= newobj
.this
2973 def __del__(self
, destroy
=_windows
.delete_PrintDialogData
):
2976 if self
.thisown
: destroy(self
)
2979 def GetFromPage(*args
, **kwargs
):
2980 """GetFromPage() -> int"""
2981 return _windows
.PrintDialogData_GetFromPage(*args
, **kwargs
)
2983 def GetToPage(*args
, **kwargs
):
2984 """GetToPage() -> int"""
2985 return _windows
.PrintDialogData_GetToPage(*args
, **kwargs
)
2987 def GetMinPage(*args
, **kwargs
):
2988 """GetMinPage() -> int"""
2989 return _windows
.PrintDialogData_GetMinPage(*args
, **kwargs
)
2991 def GetMaxPage(*args
, **kwargs
):
2992 """GetMaxPage() -> int"""
2993 return _windows
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
2995 def GetNoCopies(*args
, **kwargs
):
2996 """GetNoCopies() -> int"""
2997 return _windows
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
2999 def GetAllPages(*args
, **kwargs
):
3000 """GetAllPages() -> bool"""
3001 return _windows
.PrintDialogData_GetAllPages(*args
, **kwargs
)
3003 def GetSelection(*args
, **kwargs
):
3004 """GetSelection() -> bool"""
3005 return _windows
.PrintDialogData_GetSelection(*args
, **kwargs
)
3007 def GetCollate(*args
, **kwargs
):
3008 """GetCollate() -> bool"""
3009 return _windows
.PrintDialogData_GetCollate(*args
, **kwargs
)
3011 def GetPrintToFile(*args
, **kwargs
):
3012 """GetPrintToFile() -> bool"""
3013 return _windows
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
3015 def GetSetupDialog(*args
, **kwargs
):
3016 """GetSetupDialog() -> bool"""
3017 return _windows
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
3019 def SetFromPage(*args
, **kwargs
):
3020 """SetFromPage(int v)"""
3021 return _windows
.PrintDialogData_SetFromPage(*args
, **kwargs
)
3023 def SetToPage(*args
, **kwargs
):
3024 """SetToPage(int v)"""
3025 return _windows
.PrintDialogData_SetToPage(*args
, **kwargs
)
3027 def SetMinPage(*args
, **kwargs
):
3028 """SetMinPage(int v)"""
3029 return _windows
.PrintDialogData_SetMinPage(*args
, **kwargs
)
3031 def SetMaxPage(*args
, **kwargs
):
3032 """SetMaxPage(int v)"""
3033 return _windows
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
3035 def SetNoCopies(*args
, **kwargs
):
3036 """SetNoCopies(int v)"""
3037 return _windows
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
3039 def SetAllPages(*args
, **kwargs
):
3040 """SetAllPages(bool flag)"""
3041 return _windows
.PrintDialogData_SetAllPages(*args
, **kwargs
)
3043 def SetSelection(*args
, **kwargs
):
3044 """SetSelection(bool flag)"""
3045 return _windows
.PrintDialogData_SetSelection(*args
, **kwargs
)
3047 def SetCollate(*args
, **kwargs
):
3048 """SetCollate(bool flag)"""
3049 return _windows
.PrintDialogData_SetCollate(*args
, **kwargs
)
3051 def SetPrintToFile(*args
, **kwargs
):
3052 """SetPrintToFile(bool flag)"""
3053 return _windows
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
3055 def SetSetupDialog(*args
, **kwargs
):
3056 """SetSetupDialog(bool flag)"""
3057 return _windows
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
3059 def EnablePrintToFile(*args
, **kwargs
):
3060 """EnablePrintToFile(bool flag)"""
3061 return _windows
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
3063 def EnableSelection(*args
, **kwargs
):
3064 """EnableSelection(bool flag)"""
3065 return _windows
.PrintDialogData_EnableSelection(*args
, **kwargs
)
3067 def EnablePageNumbers(*args
, **kwargs
):
3068 """EnablePageNumbers(bool flag)"""
3069 return _windows
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
3071 def EnableHelp(*args
, **kwargs
):
3072 """EnableHelp(bool flag)"""
3073 return _windows
.PrintDialogData_EnableHelp(*args
, **kwargs
)
3075 def GetEnablePrintToFile(*args
, **kwargs
):
3076 """GetEnablePrintToFile() -> bool"""
3077 return _windows
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
3079 def GetEnableSelection(*args
, **kwargs
):
3080 """GetEnableSelection() -> bool"""
3081 return _windows
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
3083 def GetEnablePageNumbers(*args
, **kwargs
):
3084 """GetEnablePageNumbers() -> bool"""
3085 return _windows
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
3087 def GetEnableHelp(*args
, **kwargs
):
3088 """GetEnableHelp() -> bool"""
3089 return _windows
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
3091 def Ok(*args
, **kwargs
):
3093 return _windows
.PrintDialogData_Ok(*args
, **kwargs
)
3095 def GetPrintData(*args
, **kwargs
):
3096 """GetPrintData() -> PrintData"""
3097 return _windows
.PrintDialogData_GetPrintData(*args
, **kwargs
)
3099 def SetPrintData(*args
, **kwargs
):
3100 """SetPrintData(PrintData printData)"""
3101 return _windows
.PrintDialogData_SetPrintData(*args
, **kwargs
)
3103 def __nonzero__(self
): return self
.Ok()
3105 class PrintDialogDataPtr(PrintDialogData
):
3106 def __init__(self
, this
):
3108 if not hasattr(self
,"thisown"): self
.thisown
= 0
3109 self
.__class
__ = PrintDialogData
3110 _windows
.PrintDialogData_swigregister(PrintDialogDataPtr
)
3112 class PrintDialog(Dialog
):
3114 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3115 def __init__(self
, *args
, **kwargs
):
3116 """__init__(Window parent, PrintDialogData data=None) -> PrintDialog"""
3117 newobj
= _windows
.new_PrintDialog(*args
, **kwargs
)
3118 self
.this
= newobj
.this
3121 self
._setOORInfo
(self
)
3123 def GetPrintDialogData(*args
, **kwargs
):
3124 """GetPrintDialogData() -> PrintDialogData"""
3125 return _windows
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
3127 def GetPrintDC(*args
, **kwargs
):
3128 """GetPrintDC() -> DC"""
3129 return _windows
.PrintDialog_GetPrintDC(*args
, **kwargs
)
3131 def ShowModal(*args
, **kwargs
):
3132 """ShowModal() -> int"""
3133 return _windows
.PrintDialog_ShowModal(*args
, **kwargs
)
3136 class PrintDialogPtr(PrintDialog
):
3137 def __init__(self
, this
):
3139 if not hasattr(self
,"thisown"): self
.thisown
= 0
3140 self
.__class
__ = PrintDialog
3141 _windows
.PrintDialog_swigregister(PrintDialogPtr
)
3143 PRINTER_NO_ERROR
= _windows
.PRINTER_NO_ERROR
3144 PRINTER_CANCELLED
= _windows
.PRINTER_CANCELLED
3145 PRINTER_ERROR
= _windows
.PRINTER_ERROR
3146 class Printer(core
.Object
):
3148 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3149 def __init__(self
, *args
, **kwargs
):
3150 """__init__(PrintDialogData data=None) -> Printer"""
3151 newobj
= _windows
.new_Printer(*args
, **kwargs
)
3152 self
.this
= newobj
.this
3155 def __del__(self
, destroy
=_windows
.delete_Printer
):
3158 if self
.thisown
: destroy(self
)
3161 def CreateAbortWindow(*args
, **kwargs
):
3162 """CreateAbortWindow(Window parent, Printout printout)"""
3163 return _windows
.Printer_CreateAbortWindow(*args
, **kwargs
)
3165 def GetPrintDialogData(*args
, **kwargs
):
3166 """GetPrintDialogData() -> PrintDialogData"""
3167 return _windows
.Printer_GetPrintDialogData(*args
, **kwargs
)
3169 def Print(*args
, **kwargs
):
3170 """Print(Window parent, Printout printout, int prompt=True) -> bool"""
3171 return _windows
.Printer_Print(*args
, **kwargs
)
3173 def PrintDialog(*args
, **kwargs
):
3174 """PrintDialog(Window parent) -> DC"""
3175 return _windows
.Printer_PrintDialog(*args
, **kwargs
)
3177 def ReportError(*args
, **kwargs
):
3178 """ReportError(Window parent, Printout printout, String message)"""
3179 return _windows
.Printer_ReportError(*args
, **kwargs
)
3181 def Setup(*args
, **kwargs
):
3182 """Setup(Window parent) -> bool"""
3183 return _windows
.Printer_Setup(*args
, **kwargs
)
3185 def GetAbort(*args
, **kwargs
):
3186 """GetAbort() -> bool"""
3187 return _windows
.Printer_GetAbort(*args
, **kwargs
)
3189 def GetLastError(*args
, **kwargs
):
3190 """Printer.GetLastError() -> int"""
3191 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3193 GetLastError
= staticmethod(GetLastError
)
3195 class PrinterPtr(Printer
):
3196 def __init__(self
, this
):
3198 if not hasattr(self
,"thisown"): self
.thisown
= 0
3199 self
.__class
__ = Printer
3200 _windows
.Printer_swigregister(PrinterPtr
)
3202 def Printer_GetLastError(*args
, **kwargs
):
3203 """Printer_GetLastError() -> int"""
3204 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3206 class Printout(core
.Object
):
3208 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3209 def __init__(self
, *args
, **kwargs
):
3210 """__init__(String title=PrintoutTitleStr) -> Printout"""
3211 newobj
= _windows
.new_Printout(*args
, **kwargs
)
3212 self
.this
= newobj
.this
3215 self
._setCallbackInfo
(self
, Printout
)
3217 def _setCallbackInfo(*args
, **kwargs
):
3218 """_setCallbackInfo(PyObject self, PyObject _class)"""
3219 return _windows
.Printout__setCallbackInfo(*args
, **kwargs
)
3221 def GetTitle(*args
, **kwargs
):
3222 """GetTitle() -> String"""
3223 return _windows
.Printout_GetTitle(*args
, **kwargs
)
3225 def GetDC(*args
, **kwargs
):
3227 return _windows
.Printout_GetDC(*args
, **kwargs
)
3229 def SetDC(*args
, **kwargs
):
3231 return _windows
.Printout_SetDC(*args
, **kwargs
)
3233 def SetPageSizePixels(*args
, **kwargs
):
3234 """SetPageSizePixels(int w, int h)"""
3235 return _windows
.Printout_SetPageSizePixels(*args
, **kwargs
)
3237 def GetPageSizePixels(*args
, **kwargs
):
3238 """GetPageSizePixels() -> (w, h)"""
3239 return _windows
.Printout_GetPageSizePixels(*args
, **kwargs
)
3241 def SetPageSizeMM(*args
, **kwargs
):
3242 """SetPageSizeMM(int w, int h)"""
3243 return _windows
.Printout_SetPageSizeMM(*args
, **kwargs
)
3245 def GetPageSizeMM(*args
, **kwargs
):
3246 """GetPageSizeMM() -> (w, h)"""
3247 return _windows
.Printout_GetPageSizeMM(*args
, **kwargs
)
3249 def SetPPIScreen(*args
, **kwargs
):
3250 """SetPPIScreen(int x, int y)"""
3251 return _windows
.Printout_SetPPIScreen(*args
, **kwargs
)
3253 def GetPPIScreen(*args
, **kwargs
):
3254 """GetPPIScreen() -> (x,y)"""
3255 return _windows
.Printout_GetPPIScreen(*args
, **kwargs
)
3257 def SetPPIPrinter(*args
, **kwargs
):
3258 """SetPPIPrinter(int x, int y)"""
3259 return _windows
.Printout_SetPPIPrinter(*args
, **kwargs
)
3261 def GetPPIPrinter(*args
, **kwargs
):
3262 """GetPPIPrinter() -> (x,y)"""
3263 return _windows
.Printout_GetPPIPrinter(*args
, **kwargs
)
3265 def IsPreview(*args
, **kwargs
):
3266 """IsPreview() -> bool"""
3267 return _windows
.Printout_IsPreview(*args
, **kwargs
)
3269 def SetIsPreview(*args
, **kwargs
):
3270 """SetIsPreview(bool p)"""
3271 return _windows
.Printout_SetIsPreview(*args
, **kwargs
)
3273 def base_OnBeginDocument(*args
, **kwargs
):
3274 """base_OnBeginDocument(int startPage, int endPage) -> bool"""
3275 return _windows
.Printout_base_OnBeginDocument(*args
, **kwargs
)
3277 def base_OnEndDocument(*args
, **kwargs
):
3278 """base_OnEndDocument()"""
3279 return _windows
.Printout_base_OnEndDocument(*args
, **kwargs
)
3281 def base_OnBeginPrinting(*args
, **kwargs
):
3282 """base_OnBeginPrinting()"""
3283 return _windows
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
3285 def base_OnEndPrinting(*args
, **kwargs
):
3286 """base_OnEndPrinting()"""
3287 return _windows
.Printout_base_OnEndPrinting(*args
, **kwargs
)
3289 def base_OnPreparePrinting(*args
, **kwargs
):
3290 """base_OnPreparePrinting()"""
3291 return _windows
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
3293 def base_HasPage(*args
, **kwargs
):
3294 """base_HasPage(int page) -> bool"""
3295 return _windows
.Printout_base_HasPage(*args
, **kwargs
)
3297 def base_GetPageInfo(*args
, **kwargs
):
3298 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
3299 return _windows
.Printout_base_GetPageInfo(*args
, **kwargs
)
3302 class PrintoutPtr(Printout
):
3303 def __init__(self
, this
):
3305 if not hasattr(self
,"thisown"): self
.thisown
= 0
3306 self
.__class
__ = Printout
3307 _windows
.Printout_swigregister(PrintoutPtr
)
3309 class PreviewCanvas(ScrolledWindow
):
3311 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3312 def __init__(self
, *args
, **kwargs
):
3314 __init__(PrintPreview preview, Window parent, Point pos=DefaultPosition,
3315 Size size=DefaultSize, long style=0,
3316 String name=PreviewCanvasNameStr) -> PreviewCanvas
3318 newobj
= _windows
.new_PreviewCanvas(*args
, **kwargs
)
3319 self
.this
= newobj
.this
3322 self
._setOORInfo
(self
)
3325 class PreviewCanvasPtr(PreviewCanvas
):
3326 def __init__(self
, this
):
3328 if not hasattr(self
,"thisown"): self
.thisown
= 0
3329 self
.__class
__ = PreviewCanvas
3330 _windows
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
3332 class PreviewFrame(Frame
):
3334 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3335 def __init__(self
, *args
, **kwargs
):
3337 __init__(PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
3338 Size size=DefaultSize,
3339 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
3341 newobj
= _windows
.new_PreviewFrame(*args
, **kwargs
)
3342 self
.this
= newobj
.this
3345 self
._setOORInfo
(self
)
3347 def Initialize(*args
, **kwargs
):
3349 return _windows
.PreviewFrame_Initialize(*args
, **kwargs
)
3351 def CreateControlBar(*args
, **kwargs
):
3352 """CreateControlBar()"""
3353 return _windows
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
3355 def CreateCanvas(*args
, **kwargs
):
3356 """CreateCanvas()"""
3357 return _windows
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
3359 def GetControlBar(*args
, **kwargs
):
3360 """GetControlBar() -> PreviewControlBar"""
3361 return _windows
.PreviewFrame_GetControlBar(*args
, **kwargs
)
3364 class PreviewFramePtr(PreviewFrame
):
3365 def __init__(self
, this
):
3367 if not hasattr(self
,"thisown"): self
.thisown
= 0
3368 self
.__class
__ = PreviewFrame
3369 _windows
.PreviewFrame_swigregister(PreviewFramePtr
)
3371 PREVIEW_PRINT
= _windows
.PREVIEW_PRINT
3372 PREVIEW_PREVIOUS
= _windows
.PREVIEW_PREVIOUS
3373 PREVIEW_NEXT
= _windows
.PREVIEW_NEXT
3374 PREVIEW_ZOOM
= _windows
.PREVIEW_ZOOM
3375 PREVIEW_FIRST
= _windows
.PREVIEW_FIRST
3376 PREVIEW_LAST
= _windows
.PREVIEW_LAST
3377 PREVIEW_GOTO
= _windows
.PREVIEW_GOTO
3378 PREVIEW_DEFAULT
= _windows
.PREVIEW_DEFAULT
3379 ID_PREVIEW_CLOSE
= _windows
.ID_PREVIEW_CLOSE
3380 ID_PREVIEW_NEXT
= _windows
.ID_PREVIEW_NEXT
3381 ID_PREVIEW_PREVIOUS
= _windows
.ID_PREVIEW_PREVIOUS
3382 ID_PREVIEW_PRINT
= _windows
.ID_PREVIEW_PRINT
3383 ID_PREVIEW_ZOOM
= _windows
.ID_PREVIEW_ZOOM
3384 ID_PREVIEW_FIRST
= _windows
.ID_PREVIEW_FIRST
3385 ID_PREVIEW_LAST
= _windows
.ID_PREVIEW_LAST
3386 ID_PREVIEW_GOTO
= _windows
.ID_PREVIEW_GOTO
3387 class PreviewControlBar(Panel
):
3389 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3390 def __init__(self
, *args
, **kwargs
):
3392 __init__(PrintPreview preview, long buttons, Window parent,
3393 Point pos=DefaultPosition, Size size=DefaultSize,
3394 long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
3396 newobj
= _windows
.new_PreviewControlBar(*args
, **kwargs
)
3397 self
.this
= newobj
.this
3400 self
._setOORInfo
(self
)
3402 def GetZoomControl(*args
, **kwargs
):
3403 """GetZoomControl() -> int"""
3404 return _windows
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
3406 def SetZoomControl(*args
, **kwargs
):
3407 """SetZoomControl(int zoom)"""
3408 return _windows
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
3410 def GetPrintPreview(*args
, **kwargs
):
3411 """GetPrintPreview() -> PrintPreview"""
3412 return _windows
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
3414 def OnNext(*args
, **kwargs
):
3416 return _windows
.PreviewControlBar_OnNext(*args
, **kwargs
)
3418 def OnPrevious(*args
, **kwargs
):
3420 return _windows
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
3422 def OnFirst(*args
, **kwargs
):
3424 return _windows
.PreviewControlBar_OnFirst(*args
, **kwargs
)
3426 def OnLast(*args
, **kwargs
):
3428 return _windows
.PreviewControlBar_OnLast(*args
, **kwargs
)
3430 def OnGoto(*args
, **kwargs
):
3432 return _windows
.PreviewControlBar_OnGoto(*args
, **kwargs
)
3435 class PreviewControlBarPtr(PreviewControlBar
):
3436 def __init__(self
, this
):
3438 if not hasattr(self
,"thisown"): self
.thisown
= 0
3439 self
.__class
__ = PreviewControlBar
3440 _windows
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
3442 class PrintPreview(core
.Object
):
3444 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3445 def __init__(self
, *args
, **kwargs
):
3446 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PrintPreview"""
3447 newobj
= _windows
.new_PrintPreview(*args
, **kwargs
)
3448 self
.this
= newobj
.this
3451 def SetCurrentPage(*args
, **kwargs
):
3452 """SetCurrentPage(int pageNum) -> bool"""
3453 return _windows
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
3455 def GetCurrentPage(*args
, **kwargs
):
3456 """GetCurrentPage() -> int"""
3457 return _windows
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
3459 def SetPrintout(*args
, **kwargs
):
3460 """SetPrintout(Printout printout)"""
3461 return _windows
.PrintPreview_SetPrintout(*args
, **kwargs
)
3463 def GetPrintout(*args
, **kwargs
):
3464 """GetPrintout() -> Printout"""
3465 return _windows
.PrintPreview_GetPrintout(*args
, **kwargs
)
3467 def GetPrintoutForPrinting(*args
, **kwargs
):
3468 """GetPrintoutForPrinting() -> Printout"""
3469 return _windows
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
3471 def SetFrame(*args
, **kwargs
):
3472 """SetFrame(Frame frame)"""
3473 return _windows
.PrintPreview_SetFrame(*args
, **kwargs
)
3475 def SetCanvas(*args
, **kwargs
):
3476 """SetCanvas(PreviewCanvas canvas)"""
3477 return _windows
.PrintPreview_SetCanvas(*args
, **kwargs
)
3479 def GetFrame(*args
, **kwargs
):
3480 """GetFrame() -> Frame"""
3481 return _windows
.PrintPreview_GetFrame(*args
, **kwargs
)
3483 def GetCanvas(*args
, **kwargs
):
3484 """GetCanvas() -> PreviewCanvas"""
3485 return _windows
.PrintPreview_GetCanvas(*args
, **kwargs
)
3487 def PaintPage(*args
, **kwargs
):
3488 """PaintPage(PreviewCanvas canvas, DC dc) -> bool"""
3489 return _windows
.PrintPreview_PaintPage(*args
, **kwargs
)
3491 def DrawBlankPage(*args
, **kwargs
):
3492 """DrawBlankPage(PreviewCanvas canvas, DC dc) -> bool"""
3493 return _windows
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
3495 def RenderPage(*args
, **kwargs
):
3496 """RenderPage(int pageNum) -> bool"""
3497 return _windows
.PrintPreview_RenderPage(*args
, **kwargs
)
3499 def AdjustScrollbars(*args
, **kwargs
):
3500 """AdjustScrollbars(PreviewCanvas canvas)"""
3501 return _windows
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
3503 def GetPrintDialogData(*args
, **kwargs
):
3504 """GetPrintDialogData() -> PrintDialogData"""
3505 return _windows
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
3507 def SetZoom(*args
, **kwargs
):
3508 """SetZoom(int percent)"""
3509 return _windows
.PrintPreview_SetZoom(*args
, **kwargs
)
3511 def GetZoom(*args
, **kwargs
):
3512 """GetZoom() -> int"""
3513 return _windows
.PrintPreview_GetZoom(*args
, **kwargs
)
3515 def GetMaxPage(*args
, **kwargs
):
3516 """GetMaxPage() -> int"""
3517 return _windows
.PrintPreview_GetMaxPage(*args
, **kwargs
)
3519 def GetMinPage(*args
, **kwargs
):
3520 """GetMinPage() -> int"""
3521 return _windows
.PrintPreview_GetMinPage(*args
, **kwargs
)
3523 def Ok(*args
, **kwargs
):
3525 return _windows
.PrintPreview_Ok(*args
, **kwargs
)
3527 def SetOk(*args
, **kwargs
):
3528 """SetOk(bool ok)"""
3529 return _windows
.PrintPreview_SetOk(*args
, **kwargs
)
3531 def Print(*args
, **kwargs
):
3532 """Print(bool interactive) -> bool"""
3533 return _windows
.PrintPreview_Print(*args
, **kwargs
)
3535 def DetermineScaling(*args
, **kwargs
):
3536 """DetermineScaling()"""
3537 return _windows
.PrintPreview_DetermineScaling(*args
, **kwargs
)
3539 def __nonzero__(self
): return self
.Ok()
3541 class PrintPreviewPtr(PrintPreview
):
3542 def __init__(self
, this
):
3544 if not hasattr(self
,"thisown"): self
.thisown
= 0
3545 self
.__class
__ = PrintPreview
3546 _windows
.PrintPreview_swigregister(PrintPreviewPtr
)
3548 class PyPrintPreview(PrintPreview
):
3550 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3551 def __init__(self
, *args
, **kwargs
):
3552 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PyPrintPreview"""
3553 newobj
= _windows
.new_PyPrintPreview(*args
, **kwargs
)
3554 self
.this
= newobj
.this
3557 self
._setCallbackInfo
(self
, PyPrintPreview
)
3559 def _setCallbackInfo(*args
, **kwargs
):
3560 """_setCallbackInfo(PyObject self, PyObject _class)"""
3561 return _windows
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
3563 def base_SetCurrentPage(*args
, **kwargs
):
3564 """base_SetCurrentPage(int pageNum) -> bool"""
3565 return _windows
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
3567 def base_PaintPage(*args
, **kwargs
):
3568 """base_PaintPage(PreviewCanvas canvas, DC dc) -> bool"""
3569 return _windows
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
3571 def base_DrawBlankPage(*args
, **kwargs
):
3572 """base_DrawBlankPage(PreviewCanvas canvas, DC dc) -> bool"""
3573 return _windows
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
3575 def base_RenderPage(*args
, **kwargs
):
3576 """base_RenderPage(int pageNum) -> bool"""
3577 return _windows
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
3579 def base_SetZoom(*args
, **kwargs
):
3580 """base_SetZoom(int percent)"""
3581 return _windows
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
3583 def base_Print(*args
, **kwargs
):
3584 """base_Print(bool interactive) -> bool"""
3585 return _windows
.PyPrintPreview_base_Print(*args
, **kwargs
)
3587 def base_DetermineScaling(*args
, **kwargs
):
3588 """base_DetermineScaling()"""
3589 return _windows
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
3592 class PyPrintPreviewPtr(PyPrintPreview
):
3593 def __init__(self
, this
):
3595 if not hasattr(self
,"thisown"): self
.thisown
= 0
3596 self
.__class
__ = PyPrintPreview
3597 _windows
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
3599 class PyPreviewFrame(PreviewFrame
):
3601 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3602 def __init__(self
, *args
, **kwargs
):
3604 __init__(PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
3605 Size size=DefaultSize,
3606 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
3608 newobj
= _windows
.new_PyPreviewFrame(*args
, **kwargs
)
3609 self
.this
= newobj
.this
3612 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
3614 def _setCallbackInfo(*args
, **kwargs
):
3615 """_setCallbackInfo(PyObject self, PyObject _class)"""
3616 return _windows
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
3618 def SetPreviewCanvas(*args
, **kwargs
):
3619 """SetPreviewCanvas(PreviewCanvas canvas)"""
3620 return _windows
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
3622 def SetControlBar(*args
, **kwargs
):
3623 """SetControlBar(PreviewControlBar bar)"""
3624 return _windows
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
3626 def base_Initialize(*args
, **kwargs
):
3627 """base_Initialize()"""
3628 return _windows
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
3630 def base_CreateCanvas(*args
, **kwargs
):
3631 """base_CreateCanvas()"""
3632 return _windows
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
3634 def base_CreateControlBar(*args
, **kwargs
):
3635 """base_CreateControlBar()"""
3636 return _windows
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
3639 class PyPreviewFramePtr(PyPreviewFrame
):
3640 def __init__(self
, this
):
3642 if not hasattr(self
,"thisown"): self
.thisown
= 0
3643 self
.__class
__ = PyPreviewFrame
3644 _windows
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
3646 class PyPreviewControlBar(PreviewControlBar
):
3648 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3649 def __init__(self
, *args
, **kwargs
):
3651 __init__(PrintPreview preview, long buttons, Window parent,
3652 Point pos=DefaultPosition, Size size=DefaultSize,
3653 long style=0, String name=PanelNameStr) -> PyPreviewControlBar
3655 newobj
= _windows
.new_PyPreviewControlBar(*args
, **kwargs
)
3656 self
.this
= newobj
.this
3659 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
3661 def _setCallbackInfo(*args
, **kwargs
):
3662 """_setCallbackInfo(PyObject self, PyObject _class)"""
3663 return _windows
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
3665 def SetPrintPreview(*args
, **kwargs
):
3666 """SetPrintPreview(PrintPreview preview)"""
3667 return _windows
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
3669 def base_CreateButtons(*args
, **kwargs
):
3670 """base_CreateButtons()"""
3671 return _windows
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
3673 def base_SetZoomControl(*args
, **kwargs
):
3674 """base_SetZoomControl(int zoom)"""
3675 return _windows
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
3678 class PyPreviewControlBarPtr(PyPreviewControlBar
):
3679 def __init__(self
, this
):
3681 if not hasattr(self
,"thisown"): self
.thisown
= 0
3682 self
.__class
__ = PyPreviewControlBar
3683 _windows
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)