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