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
):
13 return "<%s.%s; proxy of C++ wxPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
14 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 wxString name=PanelNameStr) -> Panel"""
18 newobj
= _windows
.new_Panel(*args
, **kwargs
)
19 self
.this
= newobj
.this
22 self
._setOORInfo
(self
)
24 def Create(*args
, **kwargs
):
25 """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
26 long style=wxTAB_TRAVERSAL|wxNO_BORDER,
27 wxString name=PanelNameStr) -> bool"""
28 return _windows
.Panel_Create(*args
, **kwargs
)
30 def InitDialog(*args
, **kwargs
):
32 return _windows
.Panel_InitDialog(*args
, **kwargs
)
35 class PanelPtr(Panel
):
36 def __init__(self
, this
):
38 if not hasattr(self
,"thisown"): self
.thisown
= 0
39 self
.__class
__ = Panel
40 _windows
.Panel_swigregister(PanelPtr
)
42 def PrePanel(*args
, **kwargs
):
43 """PrePanel() -> Panel"""
44 val
= _windows
.new_PrePanel(*args
, **kwargs
)
48 #---------------------------------------------------------------------------
50 class ScrolledWindow(Panel
):
53 return "<%s.%s; proxy of C++ wxScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
54 def __init__(self
, *args
, **kwargs
):
55 """__init__(Window parent, int id=-1, Point pos=DefaultPosition,
56 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
57 wxString name=PanelNameStr) -> ScrolledWindow"""
58 newobj
= _windows
.new_ScrolledWindow(*args
, **kwargs
)
59 self
.this
= newobj
.this
62 self
._setOORInfo
(self
)
64 def Create(*args
, **kwargs
):
65 """Create(Window parent, int id=-1, Point pos=DefaultPosition,
66 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
67 wxString name=PanelNameStr) -> bool"""
68 return _windows
.ScrolledWindow_Create(*args
, **kwargs
)
70 def SetScrollbars(*args
, **kwargs
):
71 """SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX,
72 int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)"""
73 return _windows
.ScrolledWindow_SetScrollbars(*args
, **kwargs
)
75 def Scroll(*args
, **kwargs
):
76 """Scroll(int x, int y)"""
77 return _windows
.ScrolledWindow_Scroll(*args
, **kwargs
)
79 def GetScrollPageSize(*args
, **kwargs
):
80 """GetScrollPageSize(int orient) -> int"""
81 return _windows
.ScrolledWindow_GetScrollPageSize(*args
, **kwargs
)
83 def SetScrollPageSize(*args
, **kwargs
):
84 """SetScrollPageSize(int orient, int pageSize)"""
85 return _windows
.ScrolledWindow_SetScrollPageSize(*args
, **kwargs
)
87 def SetScrollRate(*args
, **kwargs
):
88 """SetScrollRate(int xstep, int ystep)"""
89 return _windows
.ScrolledWindow_SetScrollRate(*args
, **kwargs
)
91 def GetScrollPixelsPerUnit(*args
, **kwargs
):
92 """GetScrollPixelsPerUnit() -> (xUnit, yUnit)
94 Get the size of one logical unit in physical units."""
95 return _windows
.ScrolledWindow_GetScrollPixelsPerUnit(*args
, **kwargs
)
97 def EnableScrolling(*args
, **kwargs
):
98 """EnableScrolling(bool x_scrolling, bool y_scrolling)"""
99 return _windows
.ScrolledWindow_EnableScrolling(*args
, **kwargs
)
101 def GetViewStart(*args
, **kwargs
):
102 """GetViewStart() -> (x,y)
104 Get the view start"""
105 return _windows
.ScrolledWindow_GetViewStart(*args
, **kwargs
)
107 def SetScale(*args
, **kwargs
):
108 """SetScale(double xs, double ys)"""
109 return _windows
.ScrolledWindow_SetScale(*args
, **kwargs
)
111 def GetScaleX(*args
, **kwargs
):
112 """GetScaleX() -> double"""
113 return _windows
.ScrolledWindow_GetScaleX(*args
, **kwargs
)
115 def GetScaleY(*args
, **kwargs
):
116 """GetScaleY() -> double"""
117 return _windows
.ScrolledWindow_GetScaleY(*args
, **kwargs
)
119 def CalcScrolledPosition(*args
):
120 """CalcScrolledPosition(Point pt) -> Point
121 CalcScrolledPosition(int x, int y) -> (sx, sy)
123 Translate between scrolled and unscrolled coordinates."""
124 return _windows
.ScrolledWindow_CalcScrolledPosition(*args
)
126 def CalcUnscrolledPosition(*args
):
127 """CalcUnscrolledPosition(Point pt) -> Point
128 CalcUnscrolledPosition(int x, int y) -> (ux, uy)
130 Translate between scrolled and unscrolled coordinates."""
131 return _windows
.ScrolledWindow_CalcUnscrolledPosition(*args
)
133 def AdjustScrollbars(*args
, **kwargs
):
134 """AdjustScrollbars()"""
135 return _windows
.ScrolledWindow_AdjustScrollbars(*args
, **kwargs
)
137 def CalcScrollInc(*args
, **kwargs
):
138 """CalcScrollInc(ScrollWinEvent event) -> int"""
139 return _windows
.ScrolledWindow_CalcScrollInc(*args
, **kwargs
)
141 def SetTargetWindow(*args
, **kwargs
):
142 """SetTargetWindow(Window target)"""
143 return _windows
.ScrolledWindow_SetTargetWindow(*args
, **kwargs
)
145 def GetTargetWindow(*args
, **kwargs
):
146 """GetTargetWindow() -> Window"""
147 return _windows
.ScrolledWindow_GetTargetWindow(*args
, **kwargs
)
149 def SetTargetRect(*args
, **kwargs
):
150 """SetTargetRect(Rect rect)"""
151 return _windows
.ScrolledWindow_SetTargetRect(*args
, **kwargs
)
153 def GetTargetRect(*args
, **kwargs
):
154 """GetTargetRect() -> Rect"""
155 return _windows
.ScrolledWindow_GetTargetRect(*args
, **kwargs
)
158 class ScrolledWindowPtr(ScrolledWindow
):
159 def __init__(self
, this
):
161 if not hasattr(self
,"thisown"): self
.thisown
= 0
162 self
.__class
__ = ScrolledWindow
163 _windows
.ScrolledWindow_swigregister(ScrolledWindowPtr
)
165 def PreScrolledWindow(*args
, **kwargs
):
166 """PreScrolledWindow() -> ScrolledWindow"""
167 val
= _windows
.new_PreScrolledWindow(*args
, **kwargs
)
171 #---------------------------------------------------------------------------
173 class AcceleratorEntry(object):
176 return "<%s.%s; proxy of C++ wxAcceleratorEntry instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
177 def __init__(self
, *args
, **kwargs
):
178 """__init__(int flags=0, int keyCode=0, int cmd=0, MenuItem item=None) -> AcceleratorEntry"""
179 newobj
= _windows
.new_AcceleratorEntry(*args
, **kwargs
)
180 self
.this
= newobj
.this
183 def __del__(self
, destroy
=_windows
.delete_AcceleratorEntry
):
186 if self
.thisown
: destroy(self
)
189 def Set(*args
, **kwargs
):
190 """Set(int flags, int keyCode, int cmd, MenuItem item=None)"""
191 return _windows
.AcceleratorEntry_Set(*args
, **kwargs
)
193 def SetMenuItem(*args
, **kwargs
):
194 """SetMenuItem(MenuItem item)"""
195 return _windows
.AcceleratorEntry_SetMenuItem(*args
, **kwargs
)
197 def GetMenuItem(*args
, **kwargs
):
198 """GetMenuItem() -> MenuItem"""
199 return _windows
.AcceleratorEntry_GetMenuItem(*args
, **kwargs
)
201 def GetFlags(*args
, **kwargs
):
202 """GetFlags() -> int"""
203 return _windows
.AcceleratorEntry_GetFlags(*args
, **kwargs
)
205 def GetKeyCode(*args
, **kwargs
):
206 """GetKeyCode() -> int"""
207 return _windows
.AcceleratorEntry_GetKeyCode(*args
, **kwargs
)
209 def GetCommand(*args
, **kwargs
):
210 """GetCommand() -> int"""
211 return _windows
.AcceleratorEntry_GetCommand(*args
, **kwargs
)
214 class AcceleratorEntryPtr(AcceleratorEntry
):
215 def __init__(self
, this
):
217 if not hasattr(self
,"thisown"): self
.thisown
= 0
218 self
.__class
__ = AcceleratorEntry
219 _windows
.AcceleratorEntry_swigregister(AcceleratorEntryPtr
)
221 class AcceleratorTable(core
.Object
):
224 return "<%s.%s; proxy of C++ wxAcceleratorTable instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
225 def __init__(self
, *args
, **kwargs
):
226 """__init__(int n, AcceleratorEntry entries) -> AcceleratorTable"""
227 newobj
= _windows
.new_AcceleratorTable(*args
, **kwargs
)
228 self
.this
= newobj
.this
231 def __del__(self
, destroy
=_windows
.delete_AcceleratorTable
):
234 if self
.thisown
: destroy(self
)
237 def Ok(*args
, **kwargs
):
239 return _windows
.AcceleratorTable_Ok(*args
, **kwargs
)
242 class AcceleratorTablePtr(AcceleratorTable
):
243 def __init__(self
, this
):
245 if not hasattr(self
,"thisown"): self
.thisown
= 0
246 self
.__class
__ = AcceleratorTable
247 _windows
.AcceleratorTable_swigregister(AcceleratorTablePtr
)
250 def GetAccelFromString(*args
, **kwargs
):
251 """GetAccelFromString(wxString label) -> AcceleratorEntry"""
252 return _windows
.GetAccelFromString(*args
, **kwargs
)
253 #---------------------------------------------------------------------------
255 FULLSCREEN_NOMENUBAR
= _windows
.FULLSCREEN_NOMENUBAR
256 FULLSCREEN_NOTOOLBAR
= _windows
.FULLSCREEN_NOTOOLBAR
257 FULLSCREEN_NOSTATUSBAR
= _windows
.FULLSCREEN_NOSTATUSBAR
258 FULLSCREEN_NOBORDER
= _windows
.FULLSCREEN_NOBORDER
259 FULLSCREEN_NOCAPTION
= _windows
.FULLSCREEN_NOCAPTION
260 FULLSCREEN_ALL
= _windows
.FULLSCREEN_ALL
261 TOPLEVEL_EX_DIALOG
= _windows
.TOPLEVEL_EX_DIALOG
262 class TopLevelWindow(core
.Window
):
264 def __init__(self
): raise RuntimeError, "No constructor defined"
266 return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
267 def Maximize(*args
, **kwargs
):
268 """Maximize(bool maximize=True)"""
269 return _windows
.TopLevelWindow_Maximize(*args
, **kwargs
)
271 def Restore(*args
, **kwargs
):
273 return _windows
.TopLevelWindow_Restore(*args
, **kwargs
)
275 def Iconize(*args
, **kwargs
):
276 """Iconize(bool iconize=True)"""
277 return _windows
.TopLevelWindow_Iconize(*args
, **kwargs
)
279 def IsMaximized(*args
, **kwargs
):
280 """IsMaximized() -> bool"""
281 return _windows
.TopLevelWindow_IsMaximized(*args
, **kwargs
)
283 def IsIconized(*args
, **kwargs
):
284 """IsIconized() -> bool"""
285 return _windows
.TopLevelWindow_IsIconized(*args
, **kwargs
)
287 def GetIcon(*args
, **kwargs
):
288 """GetIcon() -> wxIcon"""
289 return _windows
.TopLevelWindow_GetIcon(*args
, **kwargs
)
291 def SetIcon(*args
, **kwargs
):
292 """SetIcon(wxIcon icon)"""
293 return _windows
.TopLevelWindow_SetIcon(*args
, **kwargs
)
295 def SetIcons(*args
, **kwargs
):
296 """SetIcons(wxIconBundle icons)"""
297 return _windows
.TopLevelWindow_SetIcons(*args
, **kwargs
)
299 def ShowFullScreen(*args
, **kwargs
):
300 """ShowFullScreen(bool show, long style=FULLSCREEN_ALL) -> bool"""
301 return _windows
.TopLevelWindow_ShowFullScreen(*args
, **kwargs
)
303 def IsFullScreen(*args
, **kwargs
):
304 """IsFullScreen() -> bool"""
305 return _windows
.TopLevelWindow_IsFullScreen(*args
, **kwargs
)
307 def SetTitle(*args
, **kwargs
):
308 """SetTitle(wxString title)"""
309 return _windows
.TopLevelWindow_SetTitle(*args
, **kwargs
)
311 def GetTitle(*args
, **kwargs
):
312 """GetTitle() -> wxString"""
313 return _windows
.TopLevelWindow_GetTitle(*args
, **kwargs
)
315 def SetShape(*args
, **kwargs
):
316 """SetShape(wxRegion region) -> bool"""
317 return _windows
.TopLevelWindow_SetShape(*args
, **kwargs
)
320 class TopLevelWindowPtr(TopLevelWindow
):
321 def __init__(self
, this
):
323 if not hasattr(self
,"thisown"): self
.thisown
= 0
324 self
.__class
__ = TopLevelWindow
325 _windows
.TopLevelWindow_swigregister(TopLevelWindowPtr
)
327 NullAcceleratorTable
= cvar
.NullAcceleratorTable
329 #---------------------------------------------------------------------------
331 class Frame(TopLevelWindow
):
334 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
335 def __init__(self
, *args
, **kwargs
):
336 """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
337 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
338 wxString name=wxPyFrameNameStr) -> Frame"""
339 newobj
= _windows
.new_Frame(*args
, **kwargs
)
340 self
.this
= newobj
.this
343 self
._setOORInfo
(self
)
345 def Create(*args
, **kwargs
):
346 """Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
347 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
348 wxString name=wxPyFrameNameStr) -> bool"""
349 return _windows
.Frame_Create(*args
, **kwargs
)
351 def GetClientAreaOrigin(*args
, **kwargs
):
352 """GetClientAreaOrigin() -> Point"""
353 return _windows
.Frame_GetClientAreaOrigin(*args
, **kwargs
)
355 def SendSizeEvent(*args
, **kwargs
):
356 """SendSizeEvent()"""
357 return _windows
.Frame_SendSizeEvent(*args
, **kwargs
)
359 def SetMenuBar(*args
, **kwargs
):
360 """SetMenuBar(MenuBar menubar)"""
361 return _windows
.Frame_SetMenuBar(*args
, **kwargs
)
363 def GetMenuBar(*args
, **kwargs
):
364 """GetMenuBar() -> MenuBar"""
365 return _windows
.Frame_GetMenuBar(*args
, **kwargs
)
367 def ProcessCommand(*args
, **kwargs
):
368 """ProcessCommand(int winid) -> bool"""
369 return _windows
.Frame_ProcessCommand(*args
, **kwargs
)
371 Command
= ProcessCommand
372 def CreateStatusBar(*args
, **kwargs
):
373 """CreateStatusBar(int number=1, long style=ST_SIZEGRIP, int winid=0,
374 wxString name=wxPyStatusLineNameStr) -> StatusBar"""
375 return _windows
.Frame_CreateStatusBar(*args
, **kwargs
)
377 def GetStatusBar(*args
, **kwargs
):
378 """GetStatusBar() -> StatusBar"""
379 return _windows
.Frame_GetStatusBar(*args
, **kwargs
)
381 def SetStatusBar(*args
, **kwargs
):
382 """SetStatusBar(StatusBar statBar)"""
383 return _windows
.Frame_SetStatusBar(*args
, **kwargs
)
385 def SetStatusText(*args
, **kwargs
):
386 """SetStatusText(wxString text, int number=0)"""
387 return _windows
.Frame_SetStatusText(*args
, **kwargs
)
389 def SetStatusWidths(*args
, **kwargs
):
390 """SetStatusWidths(int widths, int widths_field)"""
391 return _windows
.Frame_SetStatusWidths(*args
, **kwargs
)
393 def PushStatusText(*args
, **kwargs
):
394 """PushStatusText(wxString text, int number=0)"""
395 return _windows
.Frame_PushStatusText(*args
, **kwargs
)
397 def PopStatusText(*args
, **kwargs
):
398 """PopStatusText(int number=0)"""
399 return _windows
.Frame_PopStatusText(*args
, **kwargs
)
401 def SetStatusBarPane(*args
, **kwargs
):
402 """SetStatusBarPane(int n)"""
403 return _windows
.Frame_SetStatusBarPane(*args
, **kwargs
)
405 def GetStatusBarPane(*args
, **kwargs
):
406 """GetStatusBarPane() -> int"""
407 return _windows
.Frame_GetStatusBarPane(*args
, **kwargs
)
409 def CreateToolBar(*args
, **kwargs
):
410 """CreateToolBar(long style=-1, int winid=-1, wxString name=wxPyToolBarNameStr) -> wxToolBar"""
411 return _windows
.Frame_CreateToolBar(*args
, **kwargs
)
413 def GetToolBar(*args
, **kwargs
):
414 """GetToolBar() -> wxToolBar"""
415 return _windows
.Frame_GetToolBar(*args
, **kwargs
)
417 def SetToolBar(*args
, **kwargs
):
418 """SetToolBar(wxToolBar toolbar)"""
419 return _windows
.Frame_SetToolBar(*args
, **kwargs
)
421 def DoGiveHelp(*args
, **kwargs
):
422 """DoGiveHelp(wxString text, bool show)"""
423 return _windows
.Frame_DoGiveHelp(*args
, **kwargs
)
425 def DoMenuUpdates(*args
, **kwargs
):
426 """DoMenuUpdates(Menu menu=None)"""
427 return _windows
.Frame_DoMenuUpdates(*args
, **kwargs
)
430 class FramePtr(Frame
):
431 def __init__(self
, this
):
433 if not hasattr(self
,"thisown"): self
.thisown
= 0
434 self
.__class
__ = Frame
435 _windows
.Frame_swigregister(FramePtr
)
437 def PreFrame(*args
, **kwargs
):
438 """PreFrame() -> Frame"""
439 val
= _windows
.new_PreFrame(*args
, **kwargs
)
443 #---------------------------------------------------------------------------
445 class Dialog(TopLevelWindow
):
448 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
449 def __init__(self
, *args
, **kwargs
):
450 """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
451 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
452 wxString name=wxPyDialogNameStr) -> Dialog"""
453 newobj
= _windows
.new_Dialog(*args
, **kwargs
)
454 self
.this
= newobj
.this
457 self
._setOORInfo
(self
)
459 def Create(*args
, **kwargs
):
460 """Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
461 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
462 wxString name=wxPyDialogNameStr) -> bool"""
463 return _windows
.Dialog_Create(*args
, **kwargs
)
465 def SetReturnCode(*args
, **kwargs
):
466 """SetReturnCode(int returnCode)"""
467 return _windows
.Dialog_SetReturnCode(*args
, **kwargs
)
469 def GetReturnCode(*args
, **kwargs
):
470 """GetReturnCode() -> int"""
471 return _windows
.Dialog_GetReturnCode(*args
, **kwargs
)
473 def CreateTextSizer(*args
, **kwargs
):
474 """CreateTextSizer(wxString message) -> Sizer"""
475 return _windows
.Dialog_CreateTextSizer(*args
, **kwargs
)
477 def CreateButtonSizer(*args
, **kwargs
):
478 """CreateButtonSizer(long flags) -> Sizer"""
479 return _windows
.Dialog_CreateButtonSizer(*args
, **kwargs
)
481 def SetModal(*args
, **kwargs
):
482 """SetModal(bool flag)"""
483 return _windows
.Dialog_SetModal(*args
, **kwargs
)
485 def IsModal(*args
, **kwargs
):
486 """IsModal() -> bool"""
487 return _windows
.Dialog_IsModal(*args
, **kwargs
)
489 def ShowModal(*args
, **kwargs
):
490 """ShowModal() -> int"""
491 return _windows
.Dialog_ShowModal(*args
, **kwargs
)
493 def EndModal(*args
, **kwargs
):
494 """EndModal(int retCode)"""
495 return _windows
.Dialog_EndModal(*args
, **kwargs
)
497 def IsModalShowing(*args
, **kwargs
):
498 """IsModalShowing() -> bool"""
499 return _windows
.Dialog_IsModalShowing(*args
, **kwargs
)
502 class DialogPtr(Dialog
):
503 def __init__(self
, this
):
505 if not hasattr(self
,"thisown"): self
.thisown
= 0
506 self
.__class
__ = Dialog
507 _windows
.Dialog_swigregister(DialogPtr
)
509 def PreDialog(*args
, **kwargs
):
510 """PreDialog() -> Dialog"""
511 val
= _windows
.new_PreDialog(*args
, **kwargs
)
515 #---------------------------------------------------------------------------
517 class MiniFrame(Frame
):
520 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
521 def __init__(self
, *args
, **kwargs
):
522 """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
523 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
524 wxString name=wxPyFrameNameStr) -> MiniFrame"""
525 newobj
= _windows
.new_MiniFrame(*args
, **kwargs
)
526 self
.this
= newobj
.this
529 self
._setOORInfo
(self
)
531 def Create(*args
, **kwargs
):
532 """Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
533 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
534 wxString name=wxPyFrameNameStr) -> bool"""
535 return _windows
.MiniFrame_Create(*args
, **kwargs
)
538 class MiniFramePtr(MiniFrame
):
539 def __init__(self
, this
):
541 if not hasattr(self
,"thisown"): self
.thisown
= 0
542 self
.__class
__ = MiniFrame
543 _windows
.MiniFrame_swigregister(MiniFramePtr
)
545 def PreMiniFrame(*args
, **kwargs
):
546 """PreMiniFrame() -> MiniFrame"""
547 val
= _windows
.new_PreMiniFrame(*args
, **kwargs
)
551 #---------------------------------------------------------------------------
553 SPLASH_CENTRE_ON_PARENT
= _windows
.SPLASH_CENTRE_ON_PARENT
554 SPLASH_CENTRE_ON_SCREEN
= _windows
.SPLASH_CENTRE_ON_SCREEN
555 SPLASH_NO_CENTRE
= _windows
.SPLASH_NO_CENTRE
556 SPLASH_TIMEOUT
= _windows
.SPLASH_TIMEOUT
557 SPLASH_NO_TIMEOUT
= _windows
.SPLASH_NO_TIMEOUT
558 class SplashScreenWindow(core
.Window
):
561 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
562 def __init__(self
, *args
, **kwargs
):
563 """__init__(wxBitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
564 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow"""
565 newobj
= _windows
.new_SplashScreenWindow(*args
, **kwargs
)
566 self
.this
= newobj
.this
569 self
._setOORInfo
(self
)
571 def SetBitmap(*args
, **kwargs
):
572 """SetBitmap(wxBitmap bitmap)"""
573 return _windows
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
575 def GetBitmap(*args
, **kwargs
):
576 """GetBitmap() -> wxBitmap"""
577 return _windows
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
580 class SplashScreenWindowPtr(SplashScreenWindow
):
581 def __init__(self
, this
):
583 if not hasattr(self
,"thisown"): self
.thisown
= 0
584 self
.__class
__ = SplashScreenWindow
585 _windows
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
587 class SplashScreen(Frame
):
590 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
591 def __init__(self
, *args
, **kwargs
):
592 """__init__(wxBitmap bitmap, long splashStyle, int milliseconds,
593 Window parent, int id, Point pos=DefaultPosition,
594 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen"""
595 newobj
= _windows
.new_SplashScreen(*args
, **kwargs
)
596 self
.this
= newobj
.this
599 self
._setOORInfo
(self
)
601 def GetSplashStyle(*args
, **kwargs
):
602 """GetSplashStyle() -> long"""
603 return _windows
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
605 def GetSplashWindow(*args
, **kwargs
):
606 """GetSplashWindow() -> SplashScreenWindow"""
607 return _windows
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
609 def GetTimeout(*args
, **kwargs
):
610 """GetTimeout() -> int"""
611 return _windows
.SplashScreen_GetTimeout(*args
, **kwargs
)
614 class SplashScreenPtr(SplashScreen
):
615 def __init__(self
, this
):
617 if not hasattr(self
,"thisown"): self
.thisown
= 0
618 self
.__class
__ = SplashScreen
619 _windows
.SplashScreen_swigregister(SplashScreenPtr
)
621 #---------------------------------------------------------------------------
623 class StatusBar(core
.Window
):
626 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
627 def __init__(self
, *args
, **kwargs
):
628 """__init__(Window parent, int id=-1, long style=ST_SIZEGRIP, wxString name=wxPyStatusLineNameStr) -> StatusBar"""
629 newobj
= _windows
.new_StatusBar(*args
, **kwargs
)
630 self
.this
= newobj
.this
633 self
._setOORInfo
(self
)
635 def Create(*args
, **kwargs
):
636 """Create(Window parent, int id, long style=ST_SIZEGRIP, wxString name=wxPyStatusLineNameStr) -> bool"""
637 return _windows
.StatusBar_Create(*args
, **kwargs
)
639 def SetFieldsCount(*args
, **kwargs
):
640 """SetFieldsCount(int number=1)"""
641 return _windows
.StatusBar_SetFieldsCount(*args
, **kwargs
)
643 def GetFieldsCount(*args
, **kwargs
):
644 """GetFieldsCount() -> int"""
645 return _windows
.StatusBar_GetFieldsCount(*args
, **kwargs
)
647 def SetStatusText(*args
, **kwargs
):
648 """SetStatusText(wxString text, int number=0)"""
649 return _windows
.StatusBar_SetStatusText(*args
, **kwargs
)
651 def GetStatusText(*args
, **kwargs
):
652 """GetStatusText(int number=0) -> wxString"""
653 return _windows
.StatusBar_GetStatusText(*args
, **kwargs
)
655 def PushStatusText(*args
, **kwargs
):
656 """PushStatusText(wxString text, int number=0)"""
657 return _windows
.StatusBar_PushStatusText(*args
, **kwargs
)
659 def PopStatusText(*args
, **kwargs
):
660 """PopStatusText(int number=0)"""
661 return _windows
.StatusBar_PopStatusText(*args
, **kwargs
)
663 def SetStatusWidths(*args
, **kwargs
):
664 """SetStatusWidths(int widths, int widths_field)"""
665 return _windows
.StatusBar_SetStatusWidths(*args
, **kwargs
)
667 def GetFieldRect(*args
, **kwargs
):
668 """GetFieldRect(int i) -> Rect"""
669 return _windows
.StatusBar_GetFieldRect(*args
, **kwargs
)
671 def SetMinHeight(*args
, **kwargs
):
672 """SetMinHeight(int height)"""
673 return _windows
.StatusBar_SetMinHeight(*args
, **kwargs
)
675 def GetBorderX(*args
, **kwargs
):
676 """GetBorderX() -> int"""
677 return _windows
.StatusBar_GetBorderX(*args
, **kwargs
)
679 def GetBorderY(*args
, **kwargs
):
680 """GetBorderY() -> int"""
681 return _windows
.StatusBar_GetBorderY(*args
, **kwargs
)
684 class StatusBarPtr(StatusBar
):
685 def __init__(self
, this
):
687 if not hasattr(self
,"thisown"): self
.thisown
= 0
688 self
.__class
__ = StatusBar
689 _windows
.StatusBar_swigregister(StatusBarPtr
)
691 def PreStatusBar(*args
, **kwargs
):
692 """PreStatusBar() -> StatusBar"""
693 val
= _windows
.new_PreStatusBar(*args
, **kwargs
)
697 #---------------------------------------------------------------------------
699 SP_NOBORDER
= _windows
.SP_NOBORDER
700 SP_NOSASH
= _windows
.SP_NOSASH
701 SP_PERMIT_UNSPLIT
= _windows
.SP_PERMIT_UNSPLIT
702 SP_LIVE_UPDATE
= _windows
.SP_LIVE_UPDATE
703 SP_3DSASH
= _windows
.SP_3DSASH
704 SP_3DBORDER
= _windows
.SP_3DBORDER
705 SP_BORDER
= _windows
.SP_BORDER
706 SP_3D
= _windows
.SP_3D
707 SPLIT_HORIZONTAL
= _windows
.SPLIT_HORIZONTAL
708 SPLIT_VERTICAL
= _windows
.SPLIT_VERTICAL
709 SPLIT_DRAG_NONE
= _windows
.SPLIT_DRAG_NONE
710 SPLIT_DRAG_DRAGGING
= _windows
.SPLIT_DRAG_DRAGGING
711 SPLIT_DRAG_LEFT_DOWN
= _windows
.SPLIT_DRAG_LEFT_DOWN
712 class SplitterWindow(core
.Window
):
715 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
716 def __init__(self
, *args
, **kwargs
):
717 """__init__(Window parent, int id, Point point=DefaultPosition,
718 Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> SplitterWindow"""
719 newobj
= _windows
.new_SplitterWindow(*args
, **kwargs
)
720 self
.this
= newobj
.this
723 self
._setOORInfo
(self
)
725 def Create(*args
, **kwargs
):
726 """Create(Window parent, int id, Point point=DefaultPosition,
727 Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> bool"""
728 return _windows
.SplitterWindow_Create(*args
, **kwargs
)
730 def GetWindow1(*args
, **kwargs
):
731 """GetWindow1() -> Window"""
732 return _windows
.SplitterWindow_GetWindow1(*args
, **kwargs
)
734 def GetWindow2(*args
, **kwargs
):
735 """GetWindow2() -> Window"""
736 return _windows
.SplitterWindow_GetWindow2(*args
, **kwargs
)
738 def SetSplitMode(*args
, **kwargs
):
739 """SetSplitMode(int mode)"""
740 return _windows
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
742 def GetSplitMode(*args
, **kwargs
):
743 """GetSplitMode() -> wxSplitMode"""
744 return _windows
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
746 def Initialize(*args
, **kwargs
):
747 """Initialize(Window window)"""
748 return _windows
.SplitterWindow_Initialize(*args
, **kwargs
)
750 def SplitVertically(*args
, **kwargs
):
751 """SplitVertically(Window window1, Window window2, int sashPosition=0) -> bool"""
752 return _windows
.SplitterWindow_SplitVertically(*args
, **kwargs
)
754 def SplitHorizontally(*args
, **kwargs
):
755 """SplitHorizontally(Window window1, Window window2, int sashPosition=0) -> bool"""
756 return _windows
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
758 def Unsplit(*args
, **kwargs
):
759 """Unsplit(Window toRemove=None) -> bool"""
760 return _windows
.SplitterWindow_Unsplit(*args
, **kwargs
)
762 def ReplaceWindow(*args
, **kwargs
):
763 """ReplaceWindow(Window winOld, Window winNew) -> bool"""
764 return _windows
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
766 def IsSplit(*args
, **kwargs
):
767 """IsSplit() -> bool"""
768 return _windows
.SplitterWindow_IsSplit(*args
, **kwargs
)
770 def SetSashSize(*args
, **kwargs
):
771 """SetSashSize(int width)"""
772 return _windows
.SplitterWindow_SetSashSize(*args
, **kwargs
)
774 def SetBorderSize(*args
, **kwargs
):
775 """SetBorderSize(int width)"""
776 return _windows
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
778 def GetSashSize(*args
, **kwargs
):
779 """GetSashSize() -> int"""
780 return _windows
.SplitterWindow_GetSashSize(*args
, **kwargs
)
782 def GetBorderSize(*args
, **kwargs
):
783 """GetBorderSize() -> int"""
784 return _windows
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
786 def SetSashPosition(*args
, **kwargs
):
787 """SetSashPosition(int position, bool redraw=True)"""
788 return _windows
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
790 def GetSashPosition(*args
, **kwargs
):
791 """GetSashPosition() -> int"""
792 return _windows
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
794 def SetMinimumPaneSize(*args
, **kwargs
):
795 """SetMinimumPaneSize(int min)"""
796 return _windows
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
798 def GetMinimumPaneSize(*args
, **kwargs
):
799 """GetMinimumPaneSize() -> int"""
800 return _windows
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
802 def SashHitTest(*args
, **kwargs
):
803 """SashHitTest(int x, int y, int tolerance=5) -> bool"""
804 return _windows
.SplitterWindow_SashHitTest(*args
, **kwargs
)
806 def SizeWindows(*args
, **kwargs
):
808 return _windows
.SplitterWindow_SizeWindows(*args
, **kwargs
)
810 def SetNeedUpdating(*args
, **kwargs
):
811 """SetNeedUpdating(bool needUpdating)"""
812 return _windows
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
814 def GetNeedUpdating(*args
, **kwargs
):
815 """GetNeedUpdating() -> bool"""
816 return _windows
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
819 class SplitterWindowPtr(SplitterWindow
):
820 def __init__(self
, this
):
822 if not hasattr(self
,"thisown"): self
.thisown
= 0
823 self
.__class
__ = SplitterWindow
824 _windows
.SplitterWindow_swigregister(SplitterWindowPtr
)
826 def PreSplitterWindow(*args
, **kwargs
):
827 """PreSplitterWindow() -> SplitterWindow"""
828 val
= _windows
.new_PreSplitterWindow(*args
, **kwargs
)
832 class SplitterEvent(core
.NotifyEvent
):
835 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
836 def __init__(self
, *args
, **kwargs
):
837 """__init__(wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent"""
838 newobj
= _windows
.new_SplitterEvent(*args
, **kwargs
)
839 self
.this
= newobj
.this
842 def SetSashPosition(*args
, **kwargs
):
843 """SetSashPosition(int pos)"""
844 return _windows
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
846 def GetSashPosition(*args
, **kwargs
):
847 """GetSashPosition() -> int"""
848 return _windows
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
850 def GetWindowBeingRemoved(*args
, **kwargs
):
851 """GetWindowBeingRemoved() -> Window"""
852 return _windows
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
854 def GetX(*args
, **kwargs
):
856 return _windows
.SplitterEvent_GetX(*args
, **kwargs
)
858 def GetY(*args
, **kwargs
):
860 return _windows
.SplitterEvent_GetY(*args
, **kwargs
)
863 class SplitterEventPtr(SplitterEvent
):
864 def __init__(self
, this
):
866 if not hasattr(self
,"thisown"): self
.thisown
= 0
867 self
.__class
__ = SplitterEvent
868 _windows
.SplitterEvent_swigregister(SplitterEventPtr
)
870 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
871 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
872 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
873 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows
.wxEVT_COMMAND_SPLITTER_UNSPLIT
874 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
875 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
876 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
877 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
879 #---------------------------------------------------------------------------
881 SASH_DRAG_NONE
= _windows
.SASH_DRAG_NONE
882 SASH_DRAG_DRAGGING
= _windows
.SASH_DRAG_DRAGGING
883 SASH_DRAG_LEFT_DOWN
= _windows
.SASH_DRAG_LEFT_DOWN
884 SW_NOBORDER
= _windows
.SW_NOBORDER
885 SW_BORDER
= _windows
.SW_BORDER
886 SW_3DSASH
= _windows
.SW_3DSASH
887 SW_3DBORDER
= _windows
.SW_3DBORDER
888 SW_3D
= _windows
.SW_3D
889 SASH_TOP
= _windows
.SASH_TOP
890 SASH_RIGHT
= _windows
.SASH_RIGHT
891 SASH_BOTTOM
= _windows
.SASH_BOTTOM
892 SASH_LEFT
= _windows
.SASH_LEFT
893 SASH_NONE
= _windows
.SASH_NONE
894 class SashWindow(core
.Window
):
897 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
898 def __init__(self
, *args
, **kwargs
):
899 """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
900 long style=wxCLIP_CHILDREN|wxSW_3D,
901 wxString name=wxPySashNameStr) -> SashWindow"""
902 newobj
= _windows
.new_SashWindow(*args
, **kwargs
)
903 self
.this
= newobj
.this
906 self
._setOORInfo
(self
)
908 def Create(*args
, **kwargs
):
909 """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
910 long style=wxCLIP_CHILDREN|wxSW_3D,
911 wxString name=wxPySashNameStr) -> bool"""
912 return _windows
.SashWindow_Create(*args
, **kwargs
)
914 def SetSashVisible(*args
, **kwargs
):
915 """SetSashVisible(wxSashEdgePosition edge, bool sash)"""
916 return _windows
.SashWindow_SetSashVisible(*args
, **kwargs
)
918 def GetSashVisible(*args
, **kwargs
):
919 """GetSashVisible(wxSashEdgePosition edge) -> bool"""
920 return _windows
.SashWindow_GetSashVisible(*args
, **kwargs
)
922 def SetSashBorder(*args
, **kwargs
):
923 """SetSashBorder(wxSashEdgePosition edge, bool border)"""
924 return _windows
.SashWindow_SetSashBorder(*args
, **kwargs
)
926 def HasBorder(*args
, **kwargs
):
927 """HasBorder(wxSashEdgePosition edge) -> bool"""
928 return _windows
.SashWindow_HasBorder(*args
, **kwargs
)
930 def GetEdgeMargin(*args
, **kwargs
):
931 """GetEdgeMargin(wxSashEdgePosition edge) -> int"""
932 return _windows
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
934 def SetDefaultBorderSize(*args
, **kwargs
):
935 """SetDefaultBorderSize(int width)"""
936 return _windows
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
938 def GetDefaultBorderSize(*args
, **kwargs
):
939 """GetDefaultBorderSize() -> int"""
940 return _windows
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
942 def SetExtraBorderSize(*args
, **kwargs
):
943 """SetExtraBorderSize(int width)"""
944 return _windows
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
946 def GetExtraBorderSize(*args
, **kwargs
):
947 """GetExtraBorderSize() -> int"""
948 return _windows
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
950 def SetMinimumSizeX(*args
, **kwargs
):
951 """SetMinimumSizeX(int min)"""
952 return _windows
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
954 def SetMinimumSizeY(*args
, **kwargs
):
955 """SetMinimumSizeY(int min)"""
956 return _windows
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
958 def GetMinimumSizeX(*args
, **kwargs
):
959 """GetMinimumSizeX() -> int"""
960 return _windows
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
962 def GetMinimumSizeY(*args
, **kwargs
):
963 """GetMinimumSizeY() -> int"""
964 return _windows
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
966 def SetMaximumSizeX(*args
, **kwargs
):
967 """SetMaximumSizeX(int max)"""
968 return _windows
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
970 def SetMaximumSizeY(*args
, **kwargs
):
971 """SetMaximumSizeY(int max)"""
972 return _windows
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
974 def GetMaximumSizeX(*args
, **kwargs
):
975 """GetMaximumSizeX() -> int"""
976 return _windows
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
978 def GetMaximumSizeY(*args
, **kwargs
):
979 """GetMaximumSizeY() -> int"""
980 return _windows
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
982 def SashHitTest(*args
, **kwargs
):
983 """SashHitTest(int x, int y, int tolerance=2) -> wxSashEdgePosition"""
984 return _windows
.SashWindow_SashHitTest(*args
, **kwargs
)
986 def SizeWindows(*args
, **kwargs
):
988 return _windows
.SashWindow_SizeWindows(*args
, **kwargs
)
991 class SashWindowPtr(SashWindow
):
992 def __init__(self
, this
):
994 if not hasattr(self
,"thisown"): self
.thisown
= 0
995 self
.__class
__ = SashWindow
996 _windows
.SashWindow_swigregister(SashWindowPtr
)
998 def PreSashWindow(*args
, **kwargs
):
999 """PreSashWindow() -> SashWindow"""
1000 val
= _windows
.new_PreSashWindow(*args
, **kwargs
)
1004 SASH_STATUS_OK
= _windows
.SASH_STATUS_OK
1005 SASH_STATUS_OUT_OF_RANGE
= _windows
.SASH_STATUS_OUT_OF_RANGE
1006 class SashEvent(core
.CommandEvent
):
1009 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1010 def __init__(self
, *args
, **kwargs
):
1011 """__init__(int id=0, wxSashEdgePosition edge=SASH_NONE) -> SashEvent"""
1012 newobj
= _windows
.new_SashEvent(*args
, **kwargs
)
1013 self
.this
= newobj
.this
1016 def SetEdge(*args
, **kwargs
):
1017 """SetEdge(wxSashEdgePosition edge)"""
1018 return _windows
.SashEvent_SetEdge(*args
, **kwargs
)
1020 def GetEdge(*args
, **kwargs
):
1021 """GetEdge() -> wxSashEdgePosition"""
1022 return _windows
.SashEvent_GetEdge(*args
, **kwargs
)
1024 def SetDragRect(*args
, **kwargs
):
1025 """SetDragRect(Rect rect)"""
1026 return _windows
.SashEvent_SetDragRect(*args
, **kwargs
)
1028 def GetDragRect(*args
, **kwargs
):
1029 """GetDragRect() -> Rect"""
1030 return _windows
.SashEvent_GetDragRect(*args
, **kwargs
)
1032 def SetDragStatus(*args
, **kwargs
):
1033 """SetDragStatus(wxSashDragStatus status)"""
1034 return _windows
.SashEvent_SetDragStatus(*args
, **kwargs
)
1036 def GetDragStatus(*args
, **kwargs
):
1037 """GetDragStatus() -> wxSashDragStatus"""
1038 return _windows
.SashEvent_GetDragStatus(*args
, **kwargs
)
1041 class SashEventPtr(SashEvent
):
1042 def __init__(self
, this
):
1044 if not hasattr(self
,"thisown"): self
.thisown
= 0
1045 self
.__class
__ = SashEvent
1046 _windows
.SashEvent_swigregister(SashEventPtr
)
1048 wxEVT_SASH_DRAGGED
= _windows
.wxEVT_SASH_DRAGGED
1049 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
1050 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
1052 #---------------------------------------------------------------------------
1054 LAYOUT_HORIZONTAL
= _windows
.LAYOUT_HORIZONTAL
1055 LAYOUT_VERTICAL
= _windows
.LAYOUT_VERTICAL
1056 LAYOUT_NONE
= _windows
.LAYOUT_NONE
1057 LAYOUT_TOP
= _windows
.LAYOUT_TOP
1058 LAYOUT_LEFT
= _windows
.LAYOUT_LEFT
1059 LAYOUT_RIGHT
= _windows
.LAYOUT_RIGHT
1060 LAYOUT_BOTTOM
= _windows
.LAYOUT_BOTTOM
1061 LAYOUT_LENGTH_Y
= _windows
.LAYOUT_LENGTH_Y
1062 LAYOUT_LENGTH_X
= _windows
.LAYOUT_LENGTH_X
1063 LAYOUT_MRU_LENGTH
= _windows
.LAYOUT_MRU_LENGTH
1064 LAYOUT_QUERY
= _windows
.LAYOUT_QUERY
1065 wxEVT_QUERY_LAYOUT_INFO
= _windows
.wxEVT_QUERY_LAYOUT_INFO
1066 wxEVT_CALCULATE_LAYOUT
= _windows
.wxEVT_CALCULATE_LAYOUT
1067 class QueryLayoutInfoEvent(core
.Event
):
1070 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1071 def __init__(self
, *args
, **kwargs
):
1072 """__init__(int id=0) -> QueryLayoutInfoEvent"""
1073 newobj
= _windows
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1074 self
.this
= newobj
.this
1077 def SetRequestedLength(*args
, **kwargs
):
1078 """SetRequestedLength(int length)"""
1079 return _windows
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1081 def GetRequestedLength(*args
, **kwargs
):
1082 """GetRequestedLength() -> int"""
1083 return _windows
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1085 def SetFlags(*args
, **kwargs
):
1086 """SetFlags(int flags)"""
1087 return _windows
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1089 def GetFlags(*args
, **kwargs
):
1090 """GetFlags() -> int"""
1091 return _windows
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1093 def SetSize(*args
, **kwargs
):
1094 """SetSize(Size size)"""
1095 return _windows
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1097 def GetSize(*args
, **kwargs
):
1098 """GetSize() -> Size"""
1099 return _windows
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1101 def SetOrientation(*args
, **kwargs
):
1102 """SetOrientation(wxLayoutOrientation orient)"""
1103 return _windows
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1105 def GetOrientation(*args
, **kwargs
):
1106 """GetOrientation() -> wxLayoutOrientation"""
1107 return _windows
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1109 def SetAlignment(*args
, **kwargs
):
1110 """SetAlignment(wxLayoutAlignment align)"""
1111 return _windows
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1113 def GetAlignment(*args
, **kwargs
):
1114 """GetAlignment() -> wxLayoutAlignment"""
1115 return _windows
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1118 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1119 def __init__(self
, this
):
1121 if not hasattr(self
,"thisown"): self
.thisown
= 0
1122 self
.__class
__ = QueryLayoutInfoEvent
1123 _windows
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1125 class CalculateLayoutEvent(core
.Event
):
1128 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1129 def __init__(self
, *args
, **kwargs
):
1130 """__init__(int id=0) -> CalculateLayoutEvent"""
1131 newobj
= _windows
.new_CalculateLayoutEvent(*args
, **kwargs
)
1132 self
.this
= newobj
.this
1135 def SetFlags(*args
, **kwargs
):
1136 """SetFlags(int flags)"""
1137 return _windows
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1139 def GetFlags(*args
, **kwargs
):
1140 """GetFlags() -> int"""
1141 return _windows
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1143 def SetRect(*args
, **kwargs
):
1144 """SetRect(Rect rect)"""
1145 return _windows
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1147 def GetRect(*args
, **kwargs
):
1148 """GetRect() -> Rect"""
1149 return _windows
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1152 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1153 def __init__(self
, this
):
1155 if not hasattr(self
,"thisown"): self
.thisown
= 0
1156 self
.__class
__ = CalculateLayoutEvent
1157 _windows
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1159 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1160 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1162 class SashLayoutWindow(SashWindow
):
1165 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1166 def __init__(self
, *args
, **kwargs
):
1167 """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1168 long style=wxCLIP_CHILDREN|wxSW_3D,
1169 wxString name=wxPySashLayoutNameStr) -> SashLayoutWindow"""
1170 newobj
= _windows
.new_SashLayoutWindow(*args
, **kwargs
)
1171 self
.this
= newobj
.this
1174 self
._setOORInfo
(self
)
1176 def Create(*args
, **kwargs
):
1177 """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1178 long style=wxCLIP_CHILDREN|wxSW_3D,
1179 wxString name=wxPySashLayoutNameStr) -> bool"""
1180 return _windows
.SashLayoutWindow_Create(*args
, **kwargs
)
1182 def GetAlignment(*args
, **kwargs
):
1183 """GetAlignment() -> wxLayoutAlignment"""
1184 return _windows
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1186 def GetOrientation(*args
, **kwargs
):
1187 """GetOrientation() -> wxLayoutOrientation"""
1188 return _windows
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1190 def SetAlignment(*args
, **kwargs
):
1191 """SetAlignment(wxLayoutAlignment alignment)"""
1192 return _windows
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1194 def SetDefaultSize(*args
, **kwargs
):
1195 """SetDefaultSize(Size size)"""
1196 return _windows
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1198 def SetOrientation(*args
, **kwargs
):
1199 """SetOrientation(wxLayoutOrientation orientation)"""
1200 return _windows
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1203 class SashLayoutWindowPtr(SashLayoutWindow
):
1204 def __init__(self
, this
):
1206 if not hasattr(self
,"thisown"): self
.thisown
= 0
1207 self
.__class
__ = SashLayoutWindow
1208 _windows
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1210 def PreSashLayoutWindow(*args
, **kwargs
):
1211 """PreSashLayoutWindow() -> SashLayoutWindow"""
1212 val
= _windows
.new_PreSashLayoutWindow(*args
, **kwargs
)
1216 class LayoutAlgorithm(core
.Object
):
1219 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1220 def __init__(self
, *args
, **kwargs
):
1221 """__init__() -> LayoutAlgorithm"""
1222 newobj
= _windows
.new_LayoutAlgorithm(*args
, **kwargs
)
1223 self
.this
= newobj
.this
1226 def __del__(self
, destroy
=_windows
.delete_LayoutAlgorithm
):
1229 if self
.thisown
: destroy(self
)
1232 def LayoutMDIFrame(*args
, **kwargs
):
1233 """LayoutMDIFrame(MDIParentFrame frame, Rect rect=None) -> bool"""
1234 return _windows
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1236 def LayoutFrame(*args
, **kwargs
):
1237 """LayoutFrame(Frame frame, Window mainWindow=None) -> bool"""
1238 return _windows
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1240 def LayoutWindow(*args
, **kwargs
):
1241 """LayoutWindow(Window parent, Window mainWindow=None) -> bool"""
1242 return _windows
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1245 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1246 def __init__(self
, this
):
1248 if not hasattr(self
,"thisown"): self
.thisown
= 0
1249 self
.__class
__ = LayoutAlgorithm
1250 _windows
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1252 #---------------------------------------------------------------------------
1254 class PopupWindow(core
.Window
):
1257 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1258 def __init__(self
, *args
, **kwargs
):
1259 """__init__(Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1260 newobj
= _windows
.new_PopupWindow(*args
, **kwargs
)
1261 self
.this
= newobj
.this
1264 self
._setOORInfo
(self
)
1266 def Create(*args
, **kwargs
):
1267 """Create(Window parent, int flags=BORDER_NONE) -> bool"""
1268 return _windows
.PopupWindow_Create(*args
, **kwargs
)
1270 def Position(*args
, **kwargs
):
1271 """Position(Point ptOrigin, Size size)"""
1272 return _windows
.PopupWindow_Position(*args
, **kwargs
)
1275 class PopupWindowPtr(PopupWindow
):
1276 def __init__(self
, this
):
1278 if not hasattr(self
,"thisown"): self
.thisown
= 0
1279 self
.__class
__ = PopupWindow
1280 _windows
.PopupWindow_swigregister(PopupWindowPtr
)
1282 def PrePopupWindow(*args
, **kwargs
):
1283 """PrePopupWindow() -> PopupWindow"""
1284 val
= _windows
.new_PrePopupWindow(*args
, **kwargs
)
1288 #---------------------------------------------------------------------------
1290 class PopupTransientWindow(PopupWindow
):
1293 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1294 def __init__(self
, *args
, **kwargs
):
1295 """__init__(Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1296 newobj
= _windows
.new_PopupTransientWindow(*args
, **kwargs
)
1297 self
.this
= newobj
.this
1300 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, PopupTransientWindow
)
1302 def _setCallbackInfo(*args
, **kwargs
):
1303 """_setCallbackInfo(PyObject self, PyObject _class)"""
1304 return _windows
.PopupTransientWindow__setCallbackInfo(*args
, **kwargs
)
1306 def Popup(*args
, **kwargs
):
1307 """Popup(Window focus=None)"""
1308 return _windows
.PopupTransientWindow_Popup(*args
, **kwargs
)
1310 def Dismiss(*args
, **kwargs
):
1312 return _windows
.PopupTransientWindow_Dismiss(*args
, **kwargs
)
1315 class PopupTransientWindowPtr(PopupTransientWindow
):
1316 def __init__(self
, this
):
1318 if not hasattr(self
,"thisown"): self
.thisown
= 0
1319 self
.__class
__ = PopupTransientWindow
1320 _windows
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1322 def PrePopupTransientWindow(*args
, **kwargs
):
1323 """PrePopupTransientWindow() -> PopupTransientWindow"""
1324 val
= _windows
.new_PrePopupTransientWindow(*args
, **kwargs
)
1328 #---------------------------------------------------------------------------
1330 class TipWindow(PopupTransientWindow
):
1333 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1334 def __init__(self
, *args
, **kwargs
):
1335 """__init__(Window parent, wxString text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1336 newobj
= _windows
.new_TipWindow(*args
, **kwargs
)
1337 self
.this
= newobj
.this
1340 self
._setOORInfo
(self
)
1342 def SetBoundingRect(*args
, **kwargs
):
1343 """SetBoundingRect(Rect rectBound)"""
1344 return _windows
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1346 def Close(*args
, **kwargs
):
1348 return _windows
.TipWindow_Close(*args
, **kwargs
)
1351 class TipWindowPtr(TipWindow
):
1352 def __init__(self
, this
):
1354 if not hasattr(self
,"thisown"): self
.thisown
= 0
1355 self
.__class
__ = TipWindow
1356 _windows
.TipWindow_swigregister(TipWindowPtr
)
1358 #---------------------------------------------------------------------------
1360 class VScrolledWindow(Panel
):
1363 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1364 def __init__(self
, *args
, **kwargs
):
1365 """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1366 Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> VScrolledWindow"""
1367 newobj
= _windows
.new_VScrolledWindow(*args
, **kwargs
)
1368 self
.this
= newobj
.this
1371 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1373 def _setCallbackInfo(*args
, **kwargs
):
1374 """_setCallbackInfo(PyObject self, PyObject _class)"""
1375 return _windows
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1377 def Create(*args
, **kwargs
):
1378 """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1379 Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> bool"""
1380 return _windows
.VScrolledWindow_Create(*args
, **kwargs
)
1382 def SetLineCount(*args
, **kwargs
):
1383 """SetLineCount(size_t count)"""
1384 return _windows
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1386 def ScrollToLine(*args
, **kwargs
):
1387 """ScrollToLine(size_t line) -> bool"""
1388 return _windows
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1390 def ScrollLines(*args
, **kwargs
):
1391 """ScrollLines(int lines) -> bool"""
1392 return _windows
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1394 def ScrollPages(*args
, **kwargs
):
1395 """ScrollPages(int pages) -> bool"""
1396 return _windows
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1398 def RefreshLine(*args
, **kwargs
):
1399 """RefreshLine(size_t line)"""
1400 return _windows
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1402 def RefreshLines(*args
, **kwargs
):
1403 """RefreshLines(size_t from, size_t to)"""
1404 return _windows
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1406 def HitTestXT(*args
, **kwargs
):
1407 """HitTestXT(int x, int y) -> int"""
1408 return _windows
.VScrolledWindow_HitTestXT(*args
, **kwargs
)
1410 def HitTest(*args
, **kwargs
):
1411 """HitTest(Point pt) -> int"""
1412 return _windows
.VScrolledWindow_HitTest(*args
, **kwargs
)
1414 def RefreshAll(*args
, **kwargs
):
1416 return _windows
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1418 def GetLineCount(*args
, **kwargs
):
1419 """GetLineCount() -> size_t"""
1420 return _windows
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1422 def GetFirstVisibleLine(*args
, **kwargs
):
1423 """GetFirstVisibleLine() -> size_t"""
1424 return _windows
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1426 def GetLastVisibleLine(*args
, **kwargs
):
1427 """GetLastVisibleLine() -> size_t"""
1428 return _windows
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1430 def IsVisible(*args
, **kwargs
):
1431 """IsVisible(size_t line) -> bool"""
1432 return _windows
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1435 class VScrolledWindowPtr(VScrolledWindow
):
1436 def __init__(self
, this
):
1438 if not hasattr(self
,"thisown"): self
.thisown
= 0
1439 self
.__class
__ = VScrolledWindow
1440 _windows
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
1442 def PreVScrolledWindow(*args
, **kwargs
):
1443 """PreVScrolledWindow() -> VScrolledWindow"""
1444 val
= _windows
.new_PreVScrolledWindow(*args
, **kwargs
)
1448 class VListBox(VScrolledWindow
):
1451 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1452 def __init__(self
, *args
, **kwargs
):
1453 """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1454 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> VListBox"""
1455 newobj
= _windows
.new_VListBox(*args
, **kwargs
)
1456 self
.this
= newobj
.this
1459 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
1461 def _setCallbackInfo(*args
, **kwargs
):
1462 """_setCallbackInfo(PyObject self, PyObject _class)"""
1463 return _windows
.VListBox__setCallbackInfo(*args
, **kwargs
)
1465 def Create(*args
, **kwargs
):
1466 """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1467 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool"""
1468 return _windows
.VListBox_Create(*args
, **kwargs
)
1470 def GetItemCount(*args
, **kwargs
):
1471 """GetItemCount() -> size_t"""
1472 return _windows
.VListBox_GetItemCount(*args
, **kwargs
)
1474 def HasMultipleSelection(*args
, **kwargs
):
1475 """HasMultipleSelection() -> bool"""
1476 return _windows
.VListBox_HasMultipleSelection(*args
, **kwargs
)
1478 def GetSelection(*args
, **kwargs
):
1479 """GetSelection() -> int"""
1480 return _windows
.VListBox_GetSelection(*args
, **kwargs
)
1482 def IsCurrent(*args
, **kwargs
):
1483 """IsCurrent(size_t item) -> bool"""
1484 return _windows
.VListBox_IsCurrent(*args
, **kwargs
)
1486 def IsSelected(*args
, **kwargs
):
1487 """IsSelected(size_t item) -> bool"""
1488 return _windows
.VListBox_IsSelected(*args
, **kwargs
)
1490 def GetSelectedCount(*args
, **kwargs
):
1491 """GetSelectedCount() -> size_t"""
1492 return _windows
.VListBox_GetSelectedCount(*args
, **kwargs
)
1494 def GetFirstSelected(*args
, **kwargs
):
1495 """GetFirstSelected(unsigned long cookie) -> int"""
1496 return _windows
.VListBox_GetFirstSelected(*args
, **kwargs
)
1498 def GetNextSelected(*args
, **kwargs
):
1499 """GetNextSelected(unsigned long cookie) -> int"""
1500 return _windows
.VListBox_GetNextSelected(*args
, **kwargs
)
1502 def GetMargins(*args
, **kwargs
):
1503 """GetMargins() -> Point"""
1504 return _windows
.VListBox_GetMargins(*args
, **kwargs
)
1506 def GetSelectionBackground(*args
, **kwargs
):
1507 """GetSelectionBackground() -> wxColour"""
1508 return _windows
.VListBox_GetSelectionBackground(*args
, **kwargs
)
1510 def SetItemCount(*args
, **kwargs
):
1511 """SetItemCount(size_t count)"""
1512 return _windows
.VListBox_SetItemCount(*args
, **kwargs
)
1514 def Clear(*args
, **kwargs
):
1516 return _windows
.VListBox_Clear(*args
, **kwargs
)
1518 def SetSelection(*args
, **kwargs
):
1519 """SetSelection(int selection)"""
1520 return _windows
.VListBox_SetSelection(*args
, **kwargs
)
1522 def Select(*args
, **kwargs
):
1523 """Select(size_t item, bool select=True) -> bool"""
1524 return _windows
.VListBox_Select(*args
, **kwargs
)
1526 def SelectRange(*args
, **kwargs
):
1527 """SelectRange(size_t from, size_t to) -> bool"""
1528 return _windows
.VListBox_SelectRange(*args
, **kwargs
)
1530 def Toggle(*args
, **kwargs
):
1531 """Toggle(size_t item)"""
1532 return _windows
.VListBox_Toggle(*args
, **kwargs
)
1534 def SelectAll(*args
, **kwargs
):
1535 """SelectAll() -> bool"""
1536 return _windows
.VListBox_SelectAll(*args
, **kwargs
)
1538 def DeselectAll(*args
, **kwargs
):
1539 """DeselectAll() -> bool"""
1540 return _windows
.VListBox_DeselectAll(*args
, **kwargs
)
1542 def SetMargins(*args
, **kwargs
):
1543 """SetMargins(Point pt)"""
1544 return _windows
.VListBox_SetMargins(*args
, **kwargs
)
1546 def SetMarginsXY(*args
, **kwargs
):
1547 """SetMarginsXY(int x, int y)"""
1548 return _windows
.VListBox_SetMarginsXY(*args
, **kwargs
)
1550 def SetSelectionBackground(*args
, **kwargs
):
1551 """SetSelectionBackground(wxColour col)"""
1552 return _windows
.VListBox_SetSelectionBackground(*args
, **kwargs
)
1555 class VListBoxPtr(VListBox
):
1556 def __init__(self
, this
):
1558 if not hasattr(self
,"thisown"): self
.thisown
= 0
1559 self
.__class
__ = VListBox
1560 _windows
.VListBox_swigregister(VListBoxPtr
)
1562 def PreVListBox(*args
, **kwargs
):
1563 """PreVListBox() -> VListBox"""
1564 val
= _windows
.new_PreVListBox(*args
, **kwargs
)
1568 class HtmlListBox(VListBox
):
1571 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1572 def __init__(self
, *args
, **kwargs
):
1573 """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1574 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> HtmlListBox"""
1575 newobj
= _windows
.new_HtmlListBox(*args
, **kwargs
)
1576 self
.this
= newobj
.this
1579 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
1581 def _setCallbackInfo(*args
, **kwargs
):
1582 """_setCallbackInfo(PyObject self, PyObject _class)"""
1583 return _windows
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
1585 def Create(*args
, **kwargs
):
1586 """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1587 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool"""
1588 return _windows
.HtmlListBox_Create(*args
, **kwargs
)
1590 def RefreshAll(*args
, **kwargs
):
1592 return _windows
.HtmlListBox_RefreshAll(*args
, **kwargs
)
1594 def SetItemCount(*args
, **kwargs
):
1595 """SetItemCount(size_t count)"""
1596 return _windows
.HtmlListBox_SetItemCount(*args
, **kwargs
)
1599 class HtmlListBoxPtr(HtmlListBox
):
1600 def __init__(self
, this
):
1602 if not hasattr(self
,"thisown"): self
.thisown
= 0
1603 self
.__class
__ = HtmlListBox
1604 _windows
.HtmlListBox_swigregister(HtmlListBoxPtr
)
1606 def PreHtmlListBox(*args
, **kwargs
):
1607 """PreHtmlListBox() -> HtmlListBox"""
1608 val
= _windows
.new_PreHtmlListBox(*args
, **kwargs
)
1612 #---------------------------------------------------------------------------
1614 class TaskBarIcon(core
.EvtHandler
):
1617 return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1618 def __init__(self
, *args
, **kwargs
):
1619 """__init__() -> TaskBarIcon"""
1620 newobj
= _windows
.new_TaskBarIcon(*args
, **kwargs
)
1621 self
.this
= newobj
.this
1624 def __del__(self
, destroy
=_windows
.delete_TaskBarIcon
):
1627 if self
.thisown
: destroy(self
)
1630 def IsOk(*args
, **kwargs
):
1631 """IsOk() -> bool"""
1632 return _windows
.TaskBarIcon_IsOk(*args
, **kwargs
)
1634 def IsIconInstalled(*args
, **kwargs
):
1635 """IsIconInstalled() -> bool"""
1636 return _windows
.TaskBarIcon_IsIconInstalled(*args
, **kwargs
)
1638 def SetIcon(*args
, **kwargs
):
1639 """SetIcon(wxIcon icon, wxString tooltip=wxPyEmptyString) -> bool"""
1640 return _windows
.TaskBarIcon_SetIcon(*args
, **kwargs
)
1642 def RemoveIcon(*args
, **kwargs
):
1643 """RemoveIcon(void ??) -> bool"""
1644 return _windows
.TaskBarIcon_RemoveIcon(*args
, **kwargs
)
1646 def PopupMenu(*args
, **kwargs
):
1647 """PopupMenu(Menu menu) -> bool"""
1648 return _windows
.TaskBarIcon_PopupMenu(*args
, **kwargs
)
1651 class TaskBarIconPtr(TaskBarIcon
):
1652 def __init__(self
, this
):
1654 if not hasattr(self
,"thisown"): self
.thisown
= 0
1655 self
.__class
__ = TaskBarIcon
1656 _windows
.TaskBarIcon_swigregister(TaskBarIconPtr
)
1658 class TaskBarIconEvent(core
.Event
):
1661 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1662 def __init__(self
, *args
, **kwargs
):
1663 """__init__(wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
1664 newobj
= _windows
.new_TaskBarIconEvent(*args
, **kwargs
)
1665 self
.this
= newobj
.this
1669 class TaskBarIconEventPtr(TaskBarIconEvent
):
1670 def __init__(self
, this
):
1672 if not hasattr(self
,"thisown"): self
.thisown
= 0
1673 self
.__class
__ = TaskBarIconEvent
1674 _windows
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
1676 wxEVT_TASKBAR_MOVE
= _windows
.wxEVT_TASKBAR_MOVE
1677 wxEVT_TASKBAR_LEFT_DOWN
= _windows
.wxEVT_TASKBAR_LEFT_DOWN
1678 wxEVT_TASKBAR_LEFT_UP
= _windows
.wxEVT_TASKBAR_LEFT_UP
1679 wxEVT_TASKBAR_RIGHT_DOWN
= _windows
.wxEVT_TASKBAR_RIGHT_DOWN
1680 wxEVT_TASKBAR_RIGHT_UP
= _windows
.wxEVT_TASKBAR_RIGHT_UP
1681 wxEVT_TASKBAR_LEFT_DCLICK
= _windows
.wxEVT_TASKBAR_LEFT_DCLICK
1682 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows
.wxEVT_TASKBAR_RIGHT_DCLICK
1683 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
1684 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
1685 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
1686 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
1687 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
1688 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
1689 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
1691 #---------------------------------------------------------------------------
1693 class ColourData(core
.Object
):
1696 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1697 def __init__(self
, *args
, **kwargs
):
1698 """__init__() -> ColourData"""
1699 newobj
= _windows
.new_ColourData(*args
, **kwargs
)
1700 self
.this
= newobj
.this
1703 def __del__(self
, destroy
=_windows
.delete_ColourData
):
1706 if self
.thisown
: destroy(self
)
1709 def GetChooseFull(*args
, **kwargs
):
1710 """GetChooseFull() -> bool"""
1711 return _windows
.ColourData_GetChooseFull(*args
, **kwargs
)
1713 def GetColour(*args
, **kwargs
):
1714 """GetColour() -> wxColour"""
1715 return _windows
.ColourData_GetColour(*args
, **kwargs
)
1717 def GetCustomColour(*args
, **kwargs
):
1718 """GetCustomColour(int i) -> wxColour"""
1719 return _windows
.ColourData_GetCustomColour(*args
, **kwargs
)
1721 def SetChooseFull(*args
, **kwargs
):
1722 """SetChooseFull(int flag)"""
1723 return _windows
.ColourData_SetChooseFull(*args
, **kwargs
)
1725 def SetColour(*args
, **kwargs
):
1726 """SetColour(wxColour colour)"""
1727 return _windows
.ColourData_SetColour(*args
, **kwargs
)
1729 def SetCustomColour(*args
, **kwargs
):
1730 """SetCustomColour(int i, wxColour colour)"""
1731 return _windows
.ColourData_SetCustomColour(*args
, **kwargs
)
1734 class ColourDataPtr(ColourData
):
1735 def __init__(self
, this
):
1737 if not hasattr(self
,"thisown"): self
.thisown
= 0
1738 self
.__class
__ = ColourData
1739 _windows
.ColourData_swigregister(ColourDataPtr
)
1741 class ColourDialog(Dialog
):
1744 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1745 def __init__(self
, *args
, **kwargs
):
1746 """__init__(Window parent, ColourData data=None) -> ColourDialog"""
1747 newobj
= _windows
.new_ColourDialog(*args
, **kwargs
)
1748 self
.this
= newobj
.this
1751 self
._setOORInfo
(self
)
1753 def GetColourData(*args
, **kwargs
):
1754 """GetColourData() -> ColourData"""
1755 return _windows
.ColourDialog_GetColourData(*args
, **kwargs
)
1757 def ShowModal(*args
, **kwargs
):
1758 """ShowModal() -> int"""
1759 return _windows
.ColourDialog_ShowModal(*args
, **kwargs
)
1762 class ColourDialogPtr(ColourDialog
):
1763 def __init__(self
, this
):
1765 if not hasattr(self
,"thisown"): self
.thisown
= 0
1766 self
.__class
__ = ColourDialog
1767 _windows
.ColourDialog_swigregister(ColourDialogPtr
)
1769 class DirDialog(Dialog
):
1772 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1773 def __init__(self
, *args
, **kwargs
):
1774 """__init__(Window parent, wxString message=wxPyDirSelectorPromptStr,
1775 wxString defaultPath=wxPyEmptyString,
1776 long style=0, Point pos=DefaultPosition, Size size=DefaultSize,
1777 wxString name=wxPyDirDialogNameStr) -> DirDialog"""
1778 newobj
= _windows
.new_DirDialog(*args
, **kwargs
)
1779 self
.this
= newobj
.this
1782 self
._setOORInfo
(self
)
1784 def GetPath(*args
, **kwargs
):
1785 """GetPath() -> wxString"""
1786 return _windows
.DirDialog_GetPath(*args
, **kwargs
)
1788 def GetMessage(*args
, **kwargs
):
1789 """GetMessage() -> wxString"""
1790 return _windows
.DirDialog_GetMessage(*args
, **kwargs
)
1792 def GetStyle(*args
, **kwargs
):
1793 """GetStyle() -> long"""
1794 return _windows
.DirDialog_GetStyle(*args
, **kwargs
)
1796 def SetMessage(*args
, **kwargs
):
1797 """SetMessage(wxString message)"""
1798 return _windows
.DirDialog_SetMessage(*args
, **kwargs
)
1800 def SetPath(*args
, **kwargs
):
1801 """SetPath(wxString path)"""
1802 return _windows
.DirDialog_SetPath(*args
, **kwargs
)
1804 def ShowModal(*args
, **kwargs
):
1805 """ShowModal() -> int"""
1806 return _windows
.DirDialog_ShowModal(*args
, **kwargs
)
1809 class DirDialogPtr(DirDialog
):
1810 def __init__(self
, this
):
1812 if not hasattr(self
,"thisown"): self
.thisown
= 0
1813 self
.__class
__ = DirDialog
1814 _windows
.DirDialog_swigregister(DirDialogPtr
)
1816 class FileDialog(Dialog
):
1819 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1820 def __init__(self
, *args
, **kwargs
):
1821 """__init__(Window parent, wxString message=wxPyFileSelectorPromptStr,
1822 wxString defaultDir=wxPyEmptyString,
1823 wxString defaultFile=wxPyEmptyString, wxString wildcard=wxPyFileSelectorDefaultWildcardStr,
1825 Point pos=DefaultPosition) -> FileDialog"""
1826 newobj
= _windows
.new_FileDialog(*args
, **kwargs
)
1827 self
.this
= newobj
.this
1830 self
._setOORInfo
(self
)
1832 def SetMessage(*args
, **kwargs
):
1833 """SetMessage(wxString message)"""
1834 return _windows
.FileDialog_SetMessage(*args
, **kwargs
)
1836 def SetPath(*args
, **kwargs
):
1837 """SetPath(wxString path)"""
1838 return _windows
.FileDialog_SetPath(*args
, **kwargs
)
1840 def SetDirectory(*args
, **kwargs
):
1841 """SetDirectory(wxString dir)"""
1842 return _windows
.FileDialog_SetDirectory(*args
, **kwargs
)
1844 def SetFilename(*args
, **kwargs
):
1845 """SetFilename(wxString name)"""
1846 return _windows
.FileDialog_SetFilename(*args
, **kwargs
)
1848 def SetWildcard(*args
, **kwargs
):
1849 """SetWildcard(wxString wildCard)"""
1850 return _windows
.FileDialog_SetWildcard(*args
, **kwargs
)
1852 def SetStyle(*args
, **kwargs
):
1853 """SetStyle(long style)"""
1854 return _windows
.FileDialog_SetStyle(*args
, **kwargs
)
1856 def SetFilterIndex(*args
, **kwargs
):
1857 """SetFilterIndex(int filterIndex)"""
1858 return _windows
.FileDialog_SetFilterIndex(*args
, **kwargs
)
1860 def GetMessage(*args
, **kwargs
):
1861 """GetMessage() -> wxString"""
1862 return _windows
.FileDialog_GetMessage(*args
, **kwargs
)
1864 def GetPath(*args
, **kwargs
):
1865 """GetPath() -> wxString"""
1866 return _windows
.FileDialog_GetPath(*args
, **kwargs
)
1868 def GetDirectory(*args
, **kwargs
):
1869 """GetDirectory() -> wxString"""
1870 return _windows
.FileDialog_GetDirectory(*args
, **kwargs
)
1872 def GetFilename(*args
, **kwargs
):
1873 """GetFilename() -> wxString"""
1874 return _windows
.FileDialog_GetFilename(*args
, **kwargs
)
1876 def GetWildcard(*args
, **kwargs
):
1877 """GetWildcard() -> wxString"""
1878 return _windows
.FileDialog_GetWildcard(*args
, **kwargs
)
1880 def GetStyle(*args
, **kwargs
):
1881 """GetStyle() -> long"""
1882 return _windows
.FileDialog_GetStyle(*args
, **kwargs
)
1884 def GetFilterIndex(*args
, **kwargs
):
1885 """GetFilterIndex() -> int"""
1886 return _windows
.FileDialog_GetFilterIndex(*args
, **kwargs
)
1888 def GetFilenames(*args
, **kwargs
):
1889 """GetFilenames() -> PyObject"""
1890 return _windows
.FileDialog_GetFilenames(*args
, **kwargs
)
1892 def GetPaths(*args
, **kwargs
):
1893 """GetPaths() -> PyObject"""
1894 return _windows
.FileDialog_GetPaths(*args
, **kwargs
)
1897 class FileDialogPtr(FileDialog
):
1898 def __init__(self
, this
):
1900 if not hasattr(self
,"thisown"): self
.thisown
= 0
1901 self
.__class
__ = FileDialog
1902 _windows
.FileDialog_swigregister(FileDialogPtr
)
1904 CHOICEDLG_STYLE
= _windows
.CHOICEDLG_STYLE
1905 class MultiChoiceDialog(Dialog
):
1908 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1909 def __init__(self
, *args
, **kwargs
):
1910 """__init__(Window parent, wxString message, wxString caption,
1911 int LCOUNT, wxString choices, long style=CHOICEDLG_STYLE,
1912 Point pos=DefaultPosition) -> MultiChoiceDialog"""
1913 newobj
= _windows
.new_MultiChoiceDialog(*args
, **kwargs
)
1914 self
.this
= newobj
.this
1917 self
._setOORInfo
(self
)
1919 def SetSelections(*args
, **kwargs
):
1920 """SetSelections(wxArrayInt selections)"""
1921 return _windows
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
1923 def GetSelections(*args
, **kwargs
):
1924 """GetSelections() -> PyObject"""
1925 return _windows
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
1928 class MultiChoiceDialogPtr(MultiChoiceDialog
):
1929 def __init__(self
, this
):
1931 if not hasattr(self
,"thisown"): self
.thisown
= 0
1932 self
.__class
__ = MultiChoiceDialog
1933 _windows
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
1935 class SingleChoiceDialog(Dialog
):
1938 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1939 def __init__(self
, *args
, **kwargs
):
1940 """__init__(Window parent, wxString message, wxString caption,
1941 int choices, wxString choices_array, long style=CHOICEDLG_STYLE,
1942 Point pos=DefaultPosition) -> SingleChoiceDialog"""
1943 newobj
= _windows
.new_SingleChoiceDialog(*args
, **kwargs
)
1944 self
.this
= newobj
.this
1947 self
._setOORInfo
(self
)
1949 def GetSelection(*args
, **kwargs
):
1950 """GetSelection() -> int"""
1951 return _windows
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
1953 def GetStringSelection(*args
, **kwargs
):
1954 """GetStringSelection() -> wxString"""
1955 return _windows
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
1957 def SetSelection(*args
, **kwargs
):
1958 """SetSelection(int sel)"""
1959 return _windows
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
1961 def ShowModal(*args
, **kwargs
):
1962 """ShowModal() -> int"""
1963 return _windows
.SingleChoiceDialog_ShowModal(*args
, **kwargs
)
1966 class SingleChoiceDialogPtr(SingleChoiceDialog
):
1967 def __init__(self
, this
):
1969 if not hasattr(self
,"thisown"): self
.thisown
= 0
1970 self
.__class
__ = SingleChoiceDialog
1971 _windows
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
1973 class TextEntryDialog(Dialog
):
1976 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1977 def __init__(self
, *args
, **kwargs
):
1978 """__init__(Window parent, wxString message, wxString caption=wxPyGetTextFromUserPromptStr,
1979 wxString defaultValue=wxPyEmptyString,
1980 long style=wxOK|wxCANCEL|wxCENTRE,
1981 Point pos=DefaultPosition) -> TextEntryDialog"""
1982 newobj
= _windows
.new_TextEntryDialog(*args
, **kwargs
)
1983 self
.this
= newobj
.this
1986 self
._setOORInfo
(self
)
1988 def GetValue(*args
, **kwargs
):
1989 """GetValue() -> wxString"""
1990 return _windows
.TextEntryDialog_GetValue(*args
, **kwargs
)
1992 def SetValue(*args
, **kwargs
):
1993 """SetValue(wxString value)"""
1994 return _windows
.TextEntryDialog_SetValue(*args
, **kwargs
)
1996 def ShowModal(*args
, **kwargs
):
1997 """ShowModal() -> int"""
1998 return _windows
.TextEntryDialog_ShowModal(*args
, **kwargs
)
2001 class TextEntryDialogPtr(TextEntryDialog
):
2002 def __init__(self
, this
):
2004 if not hasattr(self
,"thisown"): self
.thisown
= 0
2005 self
.__class
__ = TextEntryDialog
2006 _windows
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
2008 class FontData(core
.Object
):
2011 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2012 def __init__(self
, *args
, **kwargs
):
2013 """__init__() -> FontData"""
2014 newobj
= _windows
.new_FontData(*args
, **kwargs
)
2015 self
.this
= newobj
.this
2018 def __del__(self
, destroy
=_windows
.delete_FontData
):
2021 if self
.thisown
: destroy(self
)
2024 def EnableEffects(*args
, **kwargs
):
2025 """EnableEffects(bool enable)"""
2026 return _windows
.FontData_EnableEffects(*args
, **kwargs
)
2028 def GetAllowSymbols(*args
, **kwargs
):
2029 """GetAllowSymbols() -> bool"""
2030 return _windows
.FontData_GetAllowSymbols(*args
, **kwargs
)
2032 def GetColour(*args
, **kwargs
):
2033 """GetColour() -> wxColour"""
2034 return _windows
.FontData_GetColour(*args
, **kwargs
)
2036 def GetChosenFont(*args
, **kwargs
):
2037 """GetChosenFont() -> wxFont"""
2038 return _windows
.FontData_GetChosenFont(*args
, **kwargs
)
2040 def GetEnableEffects(*args
, **kwargs
):
2041 """GetEnableEffects() -> bool"""
2042 return _windows
.FontData_GetEnableEffects(*args
, **kwargs
)
2044 def GetInitialFont(*args
, **kwargs
):
2045 """GetInitialFont() -> wxFont"""
2046 return _windows
.FontData_GetInitialFont(*args
, **kwargs
)
2048 def GetShowHelp(*args
, **kwargs
):
2049 """GetShowHelp() -> bool"""
2050 return _windows
.FontData_GetShowHelp(*args
, **kwargs
)
2052 def SetAllowSymbols(*args
, **kwargs
):
2053 """SetAllowSymbols(bool allowSymbols)"""
2054 return _windows
.FontData_SetAllowSymbols(*args
, **kwargs
)
2056 def SetChosenFont(*args
, **kwargs
):
2057 """SetChosenFont(wxFont font)"""
2058 return _windows
.FontData_SetChosenFont(*args
, **kwargs
)
2060 def SetColour(*args
, **kwargs
):
2061 """SetColour(wxColour colour)"""
2062 return _windows
.FontData_SetColour(*args
, **kwargs
)
2064 def SetInitialFont(*args
, **kwargs
):
2065 """SetInitialFont(wxFont font)"""
2066 return _windows
.FontData_SetInitialFont(*args
, **kwargs
)
2068 def SetRange(*args
, **kwargs
):
2069 """SetRange(int min, int max)"""
2070 return _windows
.FontData_SetRange(*args
, **kwargs
)
2072 def SetShowHelp(*args
, **kwargs
):
2073 """SetShowHelp(bool showHelp)"""
2074 return _windows
.FontData_SetShowHelp(*args
, **kwargs
)
2077 class FontDataPtr(FontData
):
2078 def __init__(self
, this
):
2080 if not hasattr(self
,"thisown"): self
.thisown
= 0
2081 self
.__class
__ = FontData
2082 _windows
.FontData_swigregister(FontDataPtr
)
2084 class FontDialog(Dialog
):
2087 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2088 def __init__(self
, *args
, **kwargs
):
2089 """__init__(Window parent, FontData data) -> FontDialog"""
2090 newobj
= _windows
.new_FontDialog(*args
, **kwargs
)
2091 self
.this
= newobj
.this
2094 self
._setOORInfo
(self
)
2096 def GetFontData(*args
, **kwargs
):
2097 """GetFontData() -> FontData"""
2098 return _windows
.FontDialog_GetFontData(*args
, **kwargs
)
2100 def ShowModal(*args
, **kwargs
):
2101 """ShowModal() -> int"""
2102 return _windows
.FontDialog_ShowModal(*args
, **kwargs
)
2105 class FontDialogPtr(FontDialog
):
2106 def __init__(self
, this
):
2108 if not hasattr(self
,"thisown"): self
.thisown
= 0
2109 self
.__class
__ = FontDialog
2110 _windows
.FontDialog_swigregister(FontDialogPtr
)
2112 class MessageDialog(Dialog
):
2115 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2116 def __init__(self
, *args
, **kwargs
):
2117 """__init__(Window parent, wxString message, wxString caption=wxPyMessageBoxCaptionStr,
2118 long style=wxOK|wxCANCEL|wxCENTRE,
2119 Point pos=DefaultPosition) -> MessageDialog"""
2120 newobj
= _windows
.new_MessageDialog(*args
, **kwargs
)
2121 self
.this
= newobj
.this
2124 self
._setOORInfo
(self
)
2126 def ShowModal(*args
, **kwargs
):
2127 """ShowModal() -> int"""
2128 return _windows
.MessageDialog_ShowModal(*args
, **kwargs
)
2131 class MessageDialogPtr(MessageDialog
):
2132 def __init__(self
, this
):
2134 if not hasattr(self
,"thisown"): self
.thisown
= 0
2135 self
.__class
__ = MessageDialog
2136 _windows
.MessageDialog_swigregister(MessageDialogPtr
)
2138 class ProgressDialog(Frame
):
2141 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2142 def __init__(self
, *args
, **kwargs
):
2143 """__init__(wxString title, wxString message, int maximum=100,
2144 Window parent=None, int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog"""
2145 newobj
= _windows
.new_ProgressDialog(*args
, **kwargs
)
2146 self
.this
= newobj
.this
2149 self
._setOORInfo
(self
)
2151 def Update(*args
, **kwargs
):
2152 """Update(int value, wxString newmsg=wxPyEmptyString) -> bool"""
2153 return _windows
.ProgressDialog_Update(*args
, **kwargs
)
2155 def Resume(*args
, **kwargs
):
2157 return _windows
.ProgressDialog_Resume(*args
, **kwargs
)
2160 class ProgressDialogPtr(ProgressDialog
):
2161 def __init__(self
, this
):
2163 if not hasattr(self
,"thisown"): self
.thisown
= 0
2164 self
.__class
__ = ProgressDialog
2165 _windows
.ProgressDialog_swigregister(ProgressDialogPtr
)
2167 FR_DOWN
= _windows
.FR_DOWN
2168 FR_WHOLEWORD
= _windows
.FR_WHOLEWORD
2169 FR_MATCHCASE
= _windows
.FR_MATCHCASE
2170 FR_REPLACEDIALOG
= _windows
.FR_REPLACEDIALOG
2171 FR_NOUPDOWN
= _windows
.FR_NOUPDOWN
2172 FR_NOMATCHCASE
= _windows
.FR_NOMATCHCASE
2173 FR_NOWHOLEWORD
= _windows
.FR_NOWHOLEWORD
2174 wxEVT_COMMAND_FIND
= _windows
.wxEVT_COMMAND_FIND
2175 wxEVT_COMMAND_FIND_NEXT
= _windows
.wxEVT_COMMAND_FIND_NEXT
2176 wxEVT_COMMAND_FIND_REPLACE
= _windows
.wxEVT_COMMAND_FIND_REPLACE
2177 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows
.wxEVT_COMMAND_FIND_REPLACE_ALL
2178 wxEVT_COMMAND_FIND_CLOSE
= _windows
.wxEVT_COMMAND_FIND_CLOSE
2179 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
2180 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
2181 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
2182 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
2183 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
2185 # For backwards compatibility. Should they be removed?
2186 EVT_COMMAND_FIND
= EVT_FIND
2187 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
2188 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
2189 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
2190 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
2192 class FindDialogEvent(core
.CommandEvent
):
2195 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2196 def __init__(self
, *args
, **kwargs
):
2197 """__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent"""
2198 newobj
= _windows
.new_FindDialogEvent(*args
, **kwargs
)
2199 self
.this
= newobj
.this
2202 def GetFlags(*args
, **kwargs
):
2203 """GetFlags() -> int"""
2204 return _windows
.FindDialogEvent_GetFlags(*args
, **kwargs
)
2206 def GetFindString(*args
, **kwargs
):
2207 """GetFindString() -> wxString"""
2208 return _windows
.FindDialogEvent_GetFindString(*args
, **kwargs
)
2210 def GetReplaceString(*args
, **kwargs
):
2211 """GetReplaceString() -> wxString"""
2212 return _windows
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
2214 def GetDialog(*args
, **kwargs
):
2215 """GetDialog() -> FindReplaceDialog"""
2216 return _windows
.FindDialogEvent_GetDialog(*args
, **kwargs
)
2218 def SetFlags(*args
, **kwargs
):
2219 """SetFlags(int flags)"""
2220 return _windows
.FindDialogEvent_SetFlags(*args
, **kwargs
)
2222 def SetFindString(*args
, **kwargs
):
2223 """SetFindString(wxString str)"""
2224 return _windows
.FindDialogEvent_SetFindString(*args
, **kwargs
)
2226 def SetReplaceString(*args
, **kwargs
):
2227 """SetReplaceString(wxString str)"""
2228 return _windows
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
2231 class FindDialogEventPtr(FindDialogEvent
):
2232 def __init__(self
, this
):
2234 if not hasattr(self
,"thisown"): self
.thisown
= 0
2235 self
.__class
__ = FindDialogEvent
2236 _windows
.FindDialogEvent_swigregister(FindDialogEventPtr
)
2238 class FindReplaceData(core
.Object
):
2241 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2242 def __init__(self
, *args
, **kwargs
):
2243 """__init__(int flags=0) -> FindReplaceData"""
2244 newobj
= _windows
.new_FindReplaceData(*args
, **kwargs
)
2245 self
.this
= newobj
.this
2248 def __del__(self
, destroy
=_windows
.delete_FindReplaceData
):
2251 if self
.thisown
: destroy(self
)
2254 def GetFindString(*args
, **kwargs
):
2255 """GetFindString() -> wxString"""
2256 return _windows
.FindReplaceData_GetFindString(*args
, **kwargs
)
2258 def GetReplaceString(*args
, **kwargs
):
2259 """GetReplaceString() -> wxString"""
2260 return _windows
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
2262 def GetFlags(*args
, **kwargs
):
2263 """GetFlags() -> int"""
2264 return _windows
.FindReplaceData_GetFlags(*args
, **kwargs
)
2266 def SetFlags(*args
, **kwargs
):
2267 """SetFlags(int flags)"""
2268 return _windows
.FindReplaceData_SetFlags(*args
, **kwargs
)
2270 def SetFindString(*args
, **kwargs
):
2271 """SetFindString(wxString str)"""
2272 return _windows
.FindReplaceData_SetFindString(*args
, **kwargs
)
2274 def SetReplaceString(*args
, **kwargs
):
2275 """SetReplaceString(wxString str)"""
2276 return _windows
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
2279 class FindReplaceDataPtr(FindReplaceData
):
2280 def __init__(self
, this
):
2282 if not hasattr(self
,"thisown"): self
.thisown
= 0
2283 self
.__class
__ = FindReplaceData
2284 _windows
.FindReplaceData_swigregister(FindReplaceDataPtr
)
2286 class FindReplaceDialog(Dialog
):
2289 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2290 def __init__(self
, *args
, **kwargs
):
2291 """__init__(Window parent, FindReplaceData data, wxString title,
2292 int style=0) -> FindReplaceDialog"""
2293 newobj
= _windows
.new_FindReplaceDialog(*args
, **kwargs
)
2294 self
.this
= newobj
.this
2297 self
._setOORInfo
(self
)
2299 def Create(*args
, **kwargs
):
2300 """Create(Window parent, FindReplaceData data, wxString title,
2301 int style=0) -> bool"""
2302 return _windows
.FindReplaceDialog_Create(*args
, **kwargs
)
2304 def GetData(*args
, **kwargs
):
2305 """GetData() -> FindReplaceData"""
2306 return _windows
.FindReplaceDialog_GetData(*args
, **kwargs
)
2308 def SetData(*args
, **kwargs
):
2309 """SetData(FindReplaceData data)"""
2310 return _windows
.FindReplaceDialog_SetData(*args
, **kwargs
)
2313 class FindReplaceDialogPtr(FindReplaceDialog
):
2314 def __init__(self
, this
):
2316 if not hasattr(self
,"thisown"): self
.thisown
= 0
2317 self
.__class
__ = FindReplaceDialog
2318 _windows
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
2320 def PreFindReplaceDialog(*args
, **kwargs
):
2321 """PreFindReplaceDialog() -> FindReplaceDialog"""
2322 val
= _windows
.new_PreFindReplaceDialog(*args
, **kwargs
)
2326 #---------------------------------------------------------------------------
2328 IDM_WINDOWTILE
= _windows
.IDM_WINDOWTILE
2329 IDM_WINDOWTILEHOR
= _windows
.IDM_WINDOWTILEHOR
2330 IDM_WINDOWCASCADE
= _windows
.IDM_WINDOWCASCADE
2331 IDM_WINDOWICONS
= _windows
.IDM_WINDOWICONS
2332 IDM_WINDOWNEXT
= _windows
.IDM_WINDOWNEXT
2333 IDM_WINDOWTILEVERT
= _windows
.IDM_WINDOWTILEVERT
2334 FIRST_MDI_CHILD
= _windows
.FIRST_MDI_CHILD
2335 LAST_MDI_CHILD
= _windows
.LAST_MDI_CHILD
2336 class MDIParentFrame(Frame
):
2339 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2340 def __init__(self
, *args
, **kwargs
):
2341 """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
2342 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2343 wxString name=wxPyFrameNameStr) -> MDIParentFrame"""
2344 newobj
= _windows
.new_MDIParentFrame(*args
, **kwargs
)
2345 self
.this
= newobj
.this
2348 self
._setOORInfo
(self
)
2350 def Create(*args
, **kwargs
):
2351 """Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
2352 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2353 wxString name=wxPyFrameNameStr) -> bool"""
2354 return _windows
.MDIParentFrame_Create(*args
, **kwargs
)
2356 def ActivateNext(*args
, **kwargs
):
2357 """ActivateNext()"""
2358 return _windows
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
2360 def ActivatePrevious(*args
, **kwargs
):
2361 """ActivatePrevious()"""
2362 return _windows
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
2364 def ArrangeIcons(*args
, **kwargs
):
2365 """ArrangeIcons()"""
2366 return _windows
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
2368 def Cascade(*args
, **kwargs
):
2370 return _windows
.MDIParentFrame_Cascade(*args
, **kwargs
)
2372 def GetActiveChild(*args
, **kwargs
):
2373 """GetActiveChild() -> MDIChildFrame"""
2374 return _windows
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
2376 def GetClientWindow(*args
, **kwargs
):
2377 """GetClientWindow() -> MDIClientWindow"""
2378 return _windows
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
2380 def GetToolBar(*args
, **kwargs
):
2381 """GetToolBar() -> Window"""
2382 return _windows
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
2384 def GetWindowMenu(*args
, **kwargs
):
2385 """GetWindowMenu() -> Menu"""
2386 return _windows
.MDIParentFrame_GetWindowMenu(*args
, **kwargs
)
2388 def SetWindowMenu(*args
, **kwargs
):
2389 """SetWindowMenu(Menu menu)"""
2390 return _windows
.MDIParentFrame_SetWindowMenu(*args
, **kwargs
)
2392 def SetToolBar(*args
, **kwargs
):
2393 """SetToolBar(wxToolBar toolbar)"""
2394 return _windows
.MDIParentFrame_SetToolBar(*args
, **kwargs
)
2396 def Tile(*args
, **kwargs
):
2398 return _windows
.MDIParentFrame_Tile(*args
, **kwargs
)
2401 class MDIParentFramePtr(MDIParentFrame
):
2402 def __init__(self
, this
):
2404 if not hasattr(self
,"thisown"): self
.thisown
= 0
2405 self
.__class
__ = MDIParentFrame
2406 _windows
.MDIParentFrame_swigregister(MDIParentFramePtr
)
2408 def PreMDIParentFrame(*args
, **kwargs
):
2409 """PreMDIParentFrame() -> MDIParentFrame"""
2410 val
= _windows
.new_PreMDIParentFrame(*args
, **kwargs
)
2414 class MDIChildFrame(Frame
):
2417 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2418 def __init__(self
, *args
, **kwargs
):
2419 """__init__(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition,
2420 Size size=DefaultSize,
2421 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> MDIChildFrame"""
2422 newobj
= _windows
.new_MDIChildFrame(*args
, **kwargs
)
2423 self
.this
= newobj
.this
2426 self
._setOORInfo
(self
)
2428 def Create(*args
, **kwargs
):
2429 """Create(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition,
2430 Size size=DefaultSize,
2431 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> bool"""
2432 return _windows
.MDIChildFrame_Create(*args
, **kwargs
)
2434 def Activate(*args
, **kwargs
):
2436 return _windows
.MDIChildFrame_Activate(*args
, **kwargs
)
2438 def Maximize(*args
, **kwargs
):
2439 """Maximize(bool maximize)"""
2440 return _windows
.MDIChildFrame_Maximize(*args
, **kwargs
)
2442 def Restore(*args
, **kwargs
):
2444 return _windows
.MDIChildFrame_Restore(*args
, **kwargs
)
2447 class MDIChildFramePtr(MDIChildFrame
):
2448 def __init__(self
, this
):
2450 if not hasattr(self
,"thisown"): self
.thisown
= 0
2451 self
.__class
__ = MDIChildFrame
2452 _windows
.MDIChildFrame_swigregister(MDIChildFramePtr
)
2454 def PreMDIChildFrame(*args
, **kwargs
):
2455 """PreMDIChildFrame() -> MDIChildFrame"""
2456 val
= _windows
.new_PreMDIChildFrame(*args
, **kwargs
)
2460 class MDIClientWindow(core
.Window
):
2463 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2464 def __init__(self
, *args
, **kwargs
):
2465 """__init__(MDIParentFrame parent, long style=0) -> MDIClientWindow"""
2466 newobj
= _windows
.new_MDIClientWindow(*args
, **kwargs
)
2467 self
.this
= newobj
.this
2470 self
._setOORInfo
(self
)
2472 def Create(*args
, **kwargs
):
2473 """Create(MDIParentFrame parent, long style=0) -> bool"""
2474 return _windows
.MDIClientWindow_Create(*args
, **kwargs
)
2477 class MDIClientWindowPtr(MDIClientWindow
):
2478 def __init__(self
, this
):
2480 if not hasattr(self
,"thisown"): self
.thisown
= 0
2481 self
.__class
__ = MDIClientWindow
2482 _windows
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
2484 def PreMDIClientWindow(*args
, **kwargs
):
2485 """PreMDIClientWindow() -> MDIClientWindow"""
2486 val
= _windows
.new_PreMDIClientWindow(*args
, **kwargs
)
2490 #---------------------------------------------------------------------------
2492 class PyWindow(core
.Window
):
2495 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2496 def __init__(self
, *args
, **kwargs
):
2497 """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2498 long style=0, wxString name=PanelNameStr) -> PyWindow"""
2499 newobj
= _windows
.new_PyWindow(*args
, **kwargs
)
2500 self
.this
= newobj
.this
2503 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
2505 def _setCallbackInfo(*args
, **kwargs
):
2506 """_setCallbackInfo(PyObject self, PyObject _class)"""
2507 return _windows
.PyWindow__setCallbackInfo(*args
, **kwargs
)
2509 def base_DoMoveWindow(*args
, **kwargs
):
2510 """base_DoMoveWindow(int x, int y, int width, int height)"""
2511 return _windows
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
2513 def base_DoSetSize(*args
, **kwargs
):
2514 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2515 return _windows
.PyWindow_base_DoSetSize(*args
, **kwargs
)
2517 def base_DoSetClientSize(*args
, **kwargs
):
2518 """base_DoSetClientSize(int width, int height)"""
2519 return _windows
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
2521 def base_DoSetVirtualSize(*args
, **kwargs
):
2522 """base_DoSetVirtualSize(int x, int y)"""
2523 return _windows
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
2525 def base_DoGetSize(*args
, **kwargs
):
2526 """base_DoGetSize() -> (width, height)"""
2527 return _windows
.PyWindow_base_DoGetSize(*args
, **kwargs
)
2529 def base_DoGetClientSize(*args
, **kwargs
):
2530 """base_DoGetClientSize() -> (width, height)"""
2531 return _windows
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
2533 def base_DoGetPosition(*args
, **kwargs
):
2534 """base_DoGetPosition() -> (x,y)"""
2535 return _windows
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
2537 def base_DoGetVirtualSize(*args
, **kwargs
):
2538 """base_DoGetVirtualSize() -> Size"""
2539 return _windows
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
2541 def base_DoGetBestSize(*args
, **kwargs
):
2542 """base_DoGetBestSize() -> Size"""
2543 return _windows
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
2545 def base_InitDialog(*args
, **kwargs
):
2546 """base_InitDialog()"""
2547 return _windows
.PyWindow_base_InitDialog(*args
, **kwargs
)
2549 def base_TransferDataToWindow(*args
, **kwargs
):
2550 """base_TransferDataToWindow() -> bool"""
2551 return _windows
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
2553 def base_TransferDataFromWindow(*args
, **kwargs
):
2554 """base_TransferDataFromWindow() -> bool"""
2555 return _windows
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
2557 def base_Validate(*args
, **kwargs
):
2558 """base_Validate() -> bool"""
2559 return _windows
.PyWindow_base_Validate(*args
, **kwargs
)
2561 def base_AcceptsFocus(*args
, **kwargs
):
2562 """base_AcceptsFocus() -> bool"""
2563 return _windows
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
2565 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2566 """base_AcceptsFocusFromKeyboard() -> bool"""
2567 return _windows
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2569 def base_GetMaxSize(*args
, **kwargs
):
2570 """base_GetMaxSize() -> Size"""
2571 return _windows
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
2573 def base_AddChild(*args
, **kwargs
):
2574 """base_AddChild(Window child)"""
2575 return _windows
.PyWindow_base_AddChild(*args
, **kwargs
)
2577 def base_RemoveChild(*args
, **kwargs
):
2578 """base_RemoveChild(Window child)"""
2579 return _windows
.PyWindow_base_RemoveChild(*args
, **kwargs
)
2582 class PyWindowPtr(PyWindow
):
2583 def __init__(self
, this
):
2585 if not hasattr(self
,"thisown"): self
.thisown
= 0
2586 self
.__class
__ = PyWindow
2587 _windows
.PyWindow_swigregister(PyWindowPtr
)
2589 class PyPanel(Panel
):
2592 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2593 def __init__(self
, *args
, **kwargs
):
2594 """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2595 long style=0, wxString name=PanelNameStr) -> PyPanel"""
2596 newobj
= _windows
.new_PyPanel(*args
, **kwargs
)
2597 self
.this
= newobj
.this
2600 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
2602 def _setCallbackInfo(*args
, **kwargs
):
2603 """_setCallbackInfo(PyObject self, PyObject _class)"""
2604 return _windows
.PyPanel__setCallbackInfo(*args
, **kwargs
)
2606 def base_DoMoveWindow(*args
, **kwargs
):
2607 """base_DoMoveWindow(int x, int y, int width, int height)"""
2608 return _windows
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
2610 def base_DoSetSize(*args
, **kwargs
):
2611 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2612 return _windows
.PyPanel_base_DoSetSize(*args
, **kwargs
)
2614 def base_DoSetClientSize(*args
, **kwargs
):
2615 """base_DoSetClientSize(int width, int height)"""
2616 return _windows
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
2618 def base_DoSetVirtualSize(*args
, **kwargs
):
2619 """base_DoSetVirtualSize(int x, int y)"""
2620 return _windows
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
2622 def base_DoGetSize(*args
, **kwargs
):
2623 """base_DoGetSize() -> (width, height)"""
2624 return _windows
.PyPanel_base_DoGetSize(*args
, **kwargs
)
2626 def base_DoGetClientSize(*args
, **kwargs
):
2627 """base_DoGetClientSize() -> (width, height)"""
2628 return _windows
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
2630 def base_DoGetPosition(*args
, **kwargs
):
2631 """base_DoGetPosition() -> (x,y)"""
2632 return _windows
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
2634 def base_DoGetVirtualSize(*args
, **kwargs
):
2635 """base_DoGetVirtualSize() -> Size"""
2636 return _windows
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
2638 def base_DoGetBestSize(*args
, **kwargs
):
2639 """base_DoGetBestSize() -> Size"""
2640 return _windows
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
2642 def base_InitDialog(*args
, **kwargs
):
2643 """base_InitDialog()"""
2644 return _windows
.PyPanel_base_InitDialog(*args
, **kwargs
)
2646 def base_TransferDataToWindow(*args
, **kwargs
):
2647 """base_TransferDataToWindow() -> bool"""
2648 return _windows
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
2650 def base_TransferDataFromWindow(*args
, **kwargs
):
2651 """base_TransferDataFromWindow() -> bool"""
2652 return _windows
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
2654 def base_Validate(*args
, **kwargs
):
2655 """base_Validate() -> bool"""
2656 return _windows
.PyPanel_base_Validate(*args
, **kwargs
)
2658 def base_AcceptsFocus(*args
, **kwargs
):
2659 """base_AcceptsFocus() -> bool"""
2660 return _windows
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
2662 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2663 """base_AcceptsFocusFromKeyboard() -> bool"""
2664 return _windows
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2666 def base_GetMaxSize(*args
, **kwargs
):
2667 """base_GetMaxSize() -> Size"""
2668 return _windows
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
2670 def base_AddChild(*args
, **kwargs
):
2671 """base_AddChild(Window child)"""
2672 return _windows
.PyPanel_base_AddChild(*args
, **kwargs
)
2674 def base_RemoveChild(*args
, **kwargs
):
2675 """base_RemoveChild(Window child)"""
2676 return _windows
.PyPanel_base_RemoveChild(*args
, **kwargs
)
2679 class PyPanelPtr(PyPanel
):
2680 def __init__(self
, this
):
2682 if not hasattr(self
,"thisown"): self
.thisown
= 0
2683 self
.__class
__ = PyPanel
2684 _windows
.PyPanel_swigregister(PyPanelPtr
)
2686 #---------------------------------------------------------------------------
2688 PRINT_MODE_NONE
= _windows
.PRINT_MODE_NONE
2689 PRINT_MODE_PREVIEW
= _windows
.PRINT_MODE_PREVIEW
2690 PRINT_MODE_FILE
= _windows
.PRINT_MODE_FILE
2691 PRINT_MODE_PRINTER
= _windows
.PRINT_MODE_PRINTER
2692 class PrintData(core
.Object
):
2695 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2696 def __init__(self
, *args
, **kwargs
):
2697 """__init__() -> PrintData"""
2698 newobj
= _windows
.new_PrintData(*args
, **kwargs
)
2699 self
.this
= newobj
.this
2702 def __del__(self
, destroy
=_windows
.delete_PrintData
):
2705 if self
.thisown
: destroy(self
)
2708 def GetNoCopies(*args
, **kwargs
):
2709 """GetNoCopies() -> int"""
2710 return _windows
.PrintData_GetNoCopies(*args
, **kwargs
)
2712 def GetCollate(*args
, **kwargs
):
2713 """GetCollate() -> bool"""
2714 return _windows
.PrintData_GetCollate(*args
, **kwargs
)
2716 def GetOrientation(*args
, **kwargs
):
2717 """GetOrientation() -> int"""
2718 return _windows
.PrintData_GetOrientation(*args
, **kwargs
)
2720 def Ok(*args
, **kwargs
):
2722 return _windows
.PrintData_Ok(*args
, **kwargs
)
2724 def GetPrinterName(*args
, **kwargs
):
2725 """GetPrinterName() -> wxString"""
2726 return _windows
.PrintData_GetPrinterName(*args
, **kwargs
)
2728 def GetColour(*args
, **kwargs
):
2729 """GetColour() -> bool"""
2730 return _windows
.PrintData_GetColour(*args
, **kwargs
)
2732 def GetDuplex(*args
, **kwargs
):
2733 """GetDuplex() -> wxDuplexMode"""
2734 return _windows
.PrintData_GetDuplex(*args
, **kwargs
)
2736 def GetPaperId(*args
, **kwargs
):
2737 """GetPaperId() -> wxPaperSize"""
2738 return _windows
.PrintData_GetPaperId(*args
, **kwargs
)
2740 def GetPaperSize(*args
, **kwargs
):
2741 """GetPaperSize() -> Size"""
2742 return _windows
.PrintData_GetPaperSize(*args
, **kwargs
)
2744 def GetQuality(*args
, **kwargs
):
2745 """GetQuality() -> wxPrintQuality"""
2746 return _windows
.PrintData_GetQuality(*args
, **kwargs
)
2748 def SetNoCopies(*args
, **kwargs
):
2749 """SetNoCopies(int v)"""
2750 return _windows
.PrintData_SetNoCopies(*args
, **kwargs
)
2752 def SetCollate(*args
, **kwargs
):
2753 """SetCollate(bool flag)"""
2754 return _windows
.PrintData_SetCollate(*args
, **kwargs
)
2756 def SetOrientation(*args
, **kwargs
):
2757 """SetOrientation(int orient)"""
2758 return _windows
.PrintData_SetOrientation(*args
, **kwargs
)
2760 def SetPrinterName(*args
, **kwargs
):
2761 """SetPrinterName(wxString name)"""
2762 return _windows
.PrintData_SetPrinterName(*args
, **kwargs
)
2764 def SetColour(*args
, **kwargs
):
2765 """SetColour(bool colour)"""
2766 return _windows
.PrintData_SetColour(*args
, **kwargs
)
2768 def SetDuplex(*args
, **kwargs
):
2769 """SetDuplex(wxDuplexMode duplex)"""
2770 return _windows
.PrintData_SetDuplex(*args
, **kwargs
)
2772 def SetPaperId(*args
, **kwargs
):
2773 """SetPaperId(wxPaperSize sizeId)"""
2774 return _windows
.PrintData_SetPaperId(*args
, **kwargs
)
2776 def SetPaperSize(*args
, **kwargs
):
2777 """SetPaperSize(Size sz)"""
2778 return _windows
.PrintData_SetPaperSize(*args
, **kwargs
)
2780 def SetQuality(*args
, **kwargs
):
2781 """SetQuality(wxPrintQuality quality)"""
2782 return _windows
.PrintData_SetQuality(*args
, **kwargs
)
2784 def GetPrinterCommand(*args
, **kwargs
):
2785 """GetPrinterCommand() -> wxString"""
2786 return _windows
.PrintData_GetPrinterCommand(*args
, **kwargs
)
2788 def GetPrinterOptions(*args
, **kwargs
):
2789 """GetPrinterOptions() -> wxString"""
2790 return _windows
.PrintData_GetPrinterOptions(*args
, **kwargs
)
2792 def GetPreviewCommand(*args
, **kwargs
):
2793 """GetPreviewCommand() -> wxString"""
2794 return _windows
.PrintData_GetPreviewCommand(*args
, **kwargs
)
2796 def GetFilename(*args
, **kwargs
):
2797 """GetFilename() -> wxString"""
2798 return _windows
.PrintData_GetFilename(*args
, **kwargs
)
2800 def GetFontMetricPath(*args
, **kwargs
):
2801 """GetFontMetricPath() -> wxString"""
2802 return _windows
.PrintData_GetFontMetricPath(*args
, **kwargs
)
2804 def GetPrinterScaleX(*args
, **kwargs
):
2805 """GetPrinterScaleX() -> double"""
2806 return _windows
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
2808 def GetPrinterScaleY(*args
, **kwargs
):
2809 """GetPrinterScaleY() -> double"""
2810 return _windows
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
2812 def GetPrinterTranslateX(*args
, **kwargs
):
2813 """GetPrinterTranslateX() -> long"""
2814 return _windows
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
2816 def GetPrinterTranslateY(*args
, **kwargs
):
2817 """GetPrinterTranslateY() -> long"""
2818 return _windows
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
2820 def GetPrintMode(*args
, **kwargs
):
2821 """GetPrintMode() -> wxPrintMode"""
2822 return _windows
.PrintData_GetPrintMode(*args
, **kwargs
)
2824 def SetPrinterCommand(*args
, **kwargs
):
2825 """SetPrinterCommand(wxString command)"""
2826 return _windows
.PrintData_SetPrinterCommand(*args
, **kwargs
)
2828 def SetPrinterOptions(*args
, **kwargs
):
2829 """SetPrinterOptions(wxString options)"""
2830 return _windows
.PrintData_SetPrinterOptions(*args
, **kwargs
)
2832 def SetPreviewCommand(*args
, **kwargs
):
2833 """SetPreviewCommand(wxString command)"""
2834 return _windows
.PrintData_SetPreviewCommand(*args
, **kwargs
)
2836 def SetFilename(*args
, **kwargs
):
2837 """SetFilename(wxString filename)"""
2838 return _windows
.PrintData_SetFilename(*args
, **kwargs
)
2840 def SetFontMetricPath(*args
, **kwargs
):
2841 """SetFontMetricPath(wxString path)"""
2842 return _windows
.PrintData_SetFontMetricPath(*args
, **kwargs
)
2844 def SetPrinterScaleX(*args
, **kwargs
):
2845 """SetPrinterScaleX(double x)"""
2846 return _windows
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
2848 def SetPrinterScaleY(*args
, **kwargs
):
2849 """SetPrinterScaleY(double y)"""
2850 return _windows
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
2852 def SetPrinterScaling(*args
, **kwargs
):
2853 """SetPrinterScaling(double x, double y)"""
2854 return _windows
.PrintData_SetPrinterScaling(*args
, **kwargs
)
2856 def SetPrinterTranslateX(*args
, **kwargs
):
2857 """SetPrinterTranslateX(long x)"""
2858 return _windows
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
2860 def SetPrinterTranslateY(*args
, **kwargs
):
2861 """SetPrinterTranslateY(long y)"""
2862 return _windows
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
2864 def SetPrinterTranslation(*args
, **kwargs
):
2865 """SetPrinterTranslation(long x, long y)"""
2866 return _windows
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
2868 def SetPrintMode(*args
, **kwargs
):
2869 """SetPrintMode(wxPrintMode printMode)"""
2870 return _windows
.PrintData_SetPrintMode(*args
, **kwargs
)
2872 def __nonzero__(self
): return self
.Ok()
2874 class PrintDataPtr(PrintData
):
2875 def __init__(self
, this
):
2877 if not hasattr(self
,"thisown"): self
.thisown
= 0
2878 self
.__class
__ = PrintData
2879 _windows
.PrintData_swigregister(PrintDataPtr
)
2881 class PageSetupDialogData(core
.Object
):
2884 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2885 def __init__(self
, *args
, **kwargs
):
2886 """__init__() -> PageSetupDialogData"""
2887 newobj
= _windows
.new_PageSetupDialogData(*args
, **kwargs
)
2888 self
.this
= newobj
.this
2891 def __del__(self
, destroy
=_windows
.delete_PageSetupDialogData
):
2894 if self
.thisown
: destroy(self
)
2897 def EnableHelp(*args
, **kwargs
):
2898 """EnableHelp(bool flag)"""
2899 return _windows
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
2901 def EnableMargins(*args
, **kwargs
):
2902 """EnableMargins(bool flag)"""
2903 return _windows
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
2905 def EnableOrientation(*args
, **kwargs
):
2906 """EnableOrientation(bool flag)"""
2907 return _windows
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
2909 def EnablePaper(*args
, **kwargs
):
2910 """EnablePaper(bool flag)"""
2911 return _windows
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
2913 def EnablePrinter(*args
, **kwargs
):
2914 """EnablePrinter(bool flag)"""
2915 return _windows
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
2917 def GetDefaultMinMargins(*args
, **kwargs
):
2918 """GetDefaultMinMargins() -> bool"""
2919 return _windows
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
2921 def GetEnableMargins(*args
, **kwargs
):
2922 """GetEnableMargins() -> bool"""
2923 return _windows
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
2925 def GetEnableOrientation(*args
, **kwargs
):
2926 """GetEnableOrientation() -> bool"""
2927 return _windows
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
2929 def GetEnablePaper(*args
, **kwargs
):
2930 """GetEnablePaper() -> bool"""
2931 return _windows
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
2933 def GetEnablePrinter(*args
, **kwargs
):
2934 """GetEnablePrinter() -> bool"""
2935 return _windows
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
2937 def GetEnableHelp(*args
, **kwargs
):
2938 """GetEnableHelp() -> bool"""
2939 return _windows
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
2941 def GetDefaultInfo(*args
, **kwargs
):
2942 """GetDefaultInfo() -> bool"""
2943 return _windows
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
2945 def GetMarginTopLeft(*args
, **kwargs
):
2946 """GetMarginTopLeft() -> Point"""
2947 return _windows
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
2949 def GetMarginBottomRight(*args
, **kwargs
):
2950 """GetMarginBottomRight() -> Point"""
2951 return _windows
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
2953 def GetMinMarginTopLeft(*args
, **kwargs
):
2954 """GetMinMarginTopLeft() -> Point"""
2955 return _windows
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
2957 def GetMinMarginBottomRight(*args
, **kwargs
):
2958 """GetMinMarginBottomRight() -> Point"""
2959 return _windows
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
2961 def GetPaperId(*args
, **kwargs
):
2962 """GetPaperId() -> wxPaperSize"""
2963 return _windows
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
2965 def GetPaperSize(*args
, **kwargs
):
2966 """GetPaperSize() -> Size"""
2967 return _windows
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
2969 def GetPrintData(*args
, **kwargs
):
2970 """GetPrintData() -> PrintData"""
2971 return _windows
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
2973 def Ok(*args
, **kwargs
):
2975 return _windows
.PageSetupDialogData_Ok(*args
, **kwargs
)
2977 def SetDefaultInfo(*args
, **kwargs
):
2978 """SetDefaultInfo(bool flag)"""
2979 return _windows
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
2981 def SetDefaultMinMargins(*args
, **kwargs
):
2982 """SetDefaultMinMargins(bool flag)"""
2983 return _windows
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
2985 def SetMarginTopLeft(*args
, **kwargs
):
2986 """SetMarginTopLeft(Point pt)"""
2987 return _windows
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
2989 def SetMarginBottomRight(*args
, **kwargs
):
2990 """SetMarginBottomRight(Point pt)"""
2991 return _windows
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
2993 def SetMinMarginTopLeft(*args
, **kwargs
):
2994 """SetMinMarginTopLeft(Point pt)"""
2995 return _windows
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
2997 def SetMinMarginBottomRight(*args
, **kwargs
):
2998 """SetMinMarginBottomRight(Point pt)"""
2999 return _windows
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
3001 def SetPaperId(*args
, **kwargs
):
3002 """SetPaperId(wxPaperSize id)"""
3003 return _windows
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
3005 def SetPaperSize(*args
, **kwargs
):
3006 """SetPaperSize(Size size)"""
3007 return _windows
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
3009 def SetPrintData(*args
, **kwargs
):
3010 """SetPrintData(PrintData printData)"""
3011 return _windows
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
3013 def __nonzero__(self
): return self
.Ok()
3015 class PageSetupDialogDataPtr(PageSetupDialogData
):
3016 def __init__(self
, this
):
3018 if not hasattr(self
,"thisown"): self
.thisown
= 0
3019 self
.__class
__ = PageSetupDialogData
3020 _windows
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
3022 class PageSetupDialog(Dialog
):
3025 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3026 def __init__(self
, *args
, **kwargs
):
3027 """__init__(Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
3028 newobj
= _windows
.new_PageSetupDialog(*args
, **kwargs
)
3029 self
.this
= newobj
.this
3032 self
._setOORInfo
(self
)
3034 def GetPageSetupData(*args
, **kwargs
):
3035 """GetPageSetupData() -> PageSetupDialogData"""
3036 return _windows
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
3038 def ShowModal(*args
, **kwargs
):
3039 """ShowModal() -> int"""
3040 return _windows
.PageSetupDialog_ShowModal(*args
, **kwargs
)
3043 class PageSetupDialogPtr(PageSetupDialog
):
3044 def __init__(self
, this
):
3046 if not hasattr(self
,"thisown"): self
.thisown
= 0
3047 self
.__class
__ = PageSetupDialog
3048 _windows
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
3050 class PrintDialogData(core
.Object
):
3053 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3054 def __init__(self
, *args
, **kwargs
):
3055 """__init__() -> PrintDialogData"""
3056 newobj
= _windows
.new_PrintDialogData(*args
, **kwargs
)
3057 self
.this
= newobj
.this
3060 def __del__(self
, destroy
=_windows
.delete_PrintDialogData
):
3063 if self
.thisown
: destroy(self
)
3066 def GetFromPage(*args
, **kwargs
):
3067 """GetFromPage() -> int"""
3068 return _windows
.PrintDialogData_GetFromPage(*args
, **kwargs
)
3070 def GetToPage(*args
, **kwargs
):
3071 """GetToPage() -> int"""
3072 return _windows
.PrintDialogData_GetToPage(*args
, **kwargs
)
3074 def GetMinPage(*args
, **kwargs
):
3075 """GetMinPage() -> int"""
3076 return _windows
.PrintDialogData_GetMinPage(*args
, **kwargs
)
3078 def GetMaxPage(*args
, **kwargs
):
3079 """GetMaxPage() -> int"""
3080 return _windows
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
3082 def GetNoCopies(*args
, **kwargs
):
3083 """GetNoCopies() -> int"""
3084 return _windows
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
3086 def GetAllPages(*args
, **kwargs
):
3087 """GetAllPages() -> bool"""
3088 return _windows
.PrintDialogData_GetAllPages(*args
, **kwargs
)
3090 def GetSelection(*args
, **kwargs
):
3091 """GetSelection() -> bool"""
3092 return _windows
.PrintDialogData_GetSelection(*args
, **kwargs
)
3094 def GetCollate(*args
, **kwargs
):
3095 """GetCollate() -> bool"""
3096 return _windows
.PrintDialogData_GetCollate(*args
, **kwargs
)
3098 def GetPrintToFile(*args
, **kwargs
):
3099 """GetPrintToFile() -> bool"""
3100 return _windows
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
3102 def GetSetupDialog(*args
, **kwargs
):
3103 """GetSetupDialog() -> bool"""
3104 return _windows
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
3106 def SetFromPage(*args
, **kwargs
):
3107 """SetFromPage(int v)"""
3108 return _windows
.PrintDialogData_SetFromPage(*args
, **kwargs
)
3110 def SetToPage(*args
, **kwargs
):
3111 """SetToPage(int v)"""
3112 return _windows
.PrintDialogData_SetToPage(*args
, **kwargs
)
3114 def SetMinPage(*args
, **kwargs
):
3115 """SetMinPage(int v)"""
3116 return _windows
.PrintDialogData_SetMinPage(*args
, **kwargs
)
3118 def SetMaxPage(*args
, **kwargs
):
3119 """SetMaxPage(int v)"""
3120 return _windows
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
3122 def SetNoCopies(*args
, **kwargs
):
3123 """SetNoCopies(int v)"""
3124 return _windows
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
3126 def SetAllPages(*args
, **kwargs
):
3127 """SetAllPages(bool flag)"""
3128 return _windows
.PrintDialogData_SetAllPages(*args
, **kwargs
)
3130 def SetSelection(*args
, **kwargs
):
3131 """SetSelection(bool flag)"""
3132 return _windows
.PrintDialogData_SetSelection(*args
, **kwargs
)
3134 def SetCollate(*args
, **kwargs
):
3135 """SetCollate(bool flag)"""
3136 return _windows
.PrintDialogData_SetCollate(*args
, **kwargs
)
3138 def SetPrintToFile(*args
, **kwargs
):
3139 """SetPrintToFile(bool flag)"""
3140 return _windows
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
3142 def SetSetupDialog(*args
, **kwargs
):
3143 """SetSetupDialog(bool flag)"""
3144 return _windows
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
3146 def EnablePrintToFile(*args
, **kwargs
):
3147 """EnablePrintToFile(bool flag)"""
3148 return _windows
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
3150 def EnableSelection(*args
, **kwargs
):
3151 """EnableSelection(bool flag)"""
3152 return _windows
.PrintDialogData_EnableSelection(*args
, **kwargs
)
3154 def EnablePageNumbers(*args
, **kwargs
):
3155 """EnablePageNumbers(bool flag)"""
3156 return _windows
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
3158 def EnableHelp(*args
, **kwargs
):
3159 """EnableHelp(bool flag)"""
3160 return _windows
.PrintDialogData_EnableHelp(*args
, **kwargs
)
3162 def GetEnablePrintToFile(*args
, **kwargs
):
3163 """GetEnablePrintToFile() -> bool"""
3164 return _windows
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
3166 def GetEnableSelection(*args
, **kwargs
):
3167 """GetEnableSelection() -> bool"""
3168 return _windows
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
3170 def GetEnablePageNumbers(*args
, **kwargs
):
3171 """GetEnablePageNumbers() -> bool"""
3172 return _windows
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
3174 def GetEnableHelp(*args
, **kwargs
):
3175 """GetEnableHelp() -> bool"""
3176 return _windows
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
3178 def Ok(*args
, **kwargs
):
3180 return _windows
.PrintDialogData_Ok(*args
, **kwargs
)
3182 def GetPrintData(*args
, **kwargs
):
3183 """GetPrintData() -> PrintData"""
3184 return _windows
.PrintDialogData_GetPrintData(*args
, **kwargs
)
3186 def SetPrintData(*args
, **kwargs
):
3187 """SetPrintData(PrintData printData)"""
3188 return _windows
.PrintDialogData_SetPrintData(*args
, **kwargs
)
3190 def __nonzero__(self
): return self
.Ok()
3192 class PrintDialogDataPtr(PrintDialogData
):
3193 def __init__(self
, this
):
3195 if not hasattr(self
,"thisown"): self
.thisown
= 0
3196 self
.__class
__ = PrintDialogData
3197 _windows
.PrintDialogData_swigregister(PrintDialogDataPtr
)
3199 class PrintDialog(Dialog
):
3202 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3203 def __init__(self
, *args
, **kwargs
):
3204 """__init__(Window parent, PrintDialogData data=None) -> PrintDialog"""
3205 newobj
= _windows
.new_PrintDialog(*args
, **kwargs
)
3206 self
.this
= newobj
.this
3209 self
._setOORInfo
(self
)
3211 def GetPrintDialogData(*args
, **kwargs
):
3212 """GetPrintDialogData() -> PrintDialogData"""
3213 return _windows
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
3215 def GetPrintDC(*args
, **kwargs
):
3216 """GetPrintDC() -> wxDC"""
3217 return _windows
.PrintDialog_GetPrintDC(*args
, **kwargs
)
3219 def ShowModal(*args
, **kwargs
):
3220 """ShowModal() -> int"""
3221 return _windows
.PrintDialog_ShowModal(*args
, **kwargs
)
3224 class PrintDialogPtr(PrintDialog
):
3225 def __init__(self
, this
):
3227 if not hasattr(self
,"thisown"): self
.thisown
= 0
3228 self
.__class
__ = PrintDialog
3229 _windows
.PrintDialog_swigregister(PrintDialogPtr
)
3231 PRINTER_NO_ERROR
= _windows
.PRINTER_NO_ERROR
3232 PRINTER_CANCELLED
= _windows
.PRINTER_CANCELLED
3233 PRINTER_ERROR
= _windows
.PRINTER_ERROR
3234 class Printer(core
.Object
):
3237 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3238 def __init__(self
, *args
, **kwargs
):
3239 """__init__(PrintDialogData data=None) -> Printer"""
3240 newobj
= _windows
.new_Printer(*args
, **kwargs
)
3241 self
.this
= newobj
.this
3244 def __del__(self
, destroy
=_windows
.delete_Printer
):
3247 if self
.thisown
: destroy(self
)
3250 def CreateAbortWindow(*args
, **kwargs
):
3251 """CreateAbortWindow(Window parent, Printout printout)"""
3252 return _windows
.Printer_CreateAbortWindow(*args
, **kwargs
)
3254 def GetPrintDialogData(*args
, **kwargs
):
3255 """GetPrintDialogData() -> PrintDialogData"""
3256 return _windows
.Printer_GetPrintDialogData(*args
, **kwargs
)
3258 def Print(*args
, **kwargs
):
3259 """Print(Window parent, Printout printout, int prompt=True) -> bool"""
3260 return _windows
.Printer_Print(*args
, **kwargs
)
3262 def PrintDialog(*args
, **kwargs
):
3263 """PrintDialog(Window parent) -> wxDC"""
3264 return _windows
.Printer_PrintDialog(*args
, **kwargs
)
3266 def ReportError(*args
, **kwargs
):
3267 """ReportError(Window parent, Printout printout, wxString message)"""
3268 return _windows
.Printer_ReportError(*args
, **kwargs
)
3270 def Setup(*args
, **kwargs
):
3271 """Setup(Window parent) -> bool"""
3272 return _windows
.Printer_Setup(*args
, **kwargs
)
3274 def GetAbort(*args
, **kwargs
):
3275 """GetAbort() -> bool"""
3276 return _windows
.Printer_GetAbort(*args
, **kwargs
)
3278 def GetLastError(*args
, **kwargs
):
3279 """Printer.GetLastError() -> wxPrinterError"""
3280 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3282 GetLastError
= staticmethod(GetLastError
)
3284 class PrinterPtr(Printer
):
3285 def __init__(self
, this
):
3287 if not hasattr(self
,"thisown"): self
.thisown
= 0
3288 self
.__class
__ = Printer
3289 _windows
.Printer_swigregister(PrinterPtr
)
3291 def Printer_GetLastError(*args
, **kwargs
):
3292 """Printer_GetLastError() -> wxPrinterError"""
3293 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3295 class Printout(core
.Object
):
3298 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3299 def __init__(self
, *args
, **kwargs
):
3300 """__init__(wxString title=wxPyPrintoutTitleStr) -> Printout"""
3301 newobj
= _windows
.new_Printout(*args
, **kwargs
)
3302 self
.this
= newobj
.this
3305 self
._setCallbackInfo
(self
, Printout
)
3307 def _setCallbackInfo(*args
, **kwargs
):
3308 """_setCallbackInfo(PyObject self, PyObject _class)"""
3309 return _windows
.Printout__setCallbackInfo(*args
, **kwargs
)
3311 def GetTitle(*args
, **kwargs
):
3312 """GetTitle() -> wxString"""
3313 return _windows
.Printout_GetTitle(*args
, **kwargs
)
3315 def GetDC(*args
, **kwargs
):
3316 """GetDC() -> wxDC"""
3317 return _windows
.Printout_GetDC(*args
, **kwargs
)
3319 def SetDC(*args
, **kwargs
):
3320 """SetDC(wxDC dc)"""
3321 return _windows
.Printout_SetDC(*args
, **kwargs
)
3323 def SetPageSizePixels(*args
, **kwargs
):
3324 """SetPageSizePixels(int w, int h)"""
3325 return _windows
.Printout_SetPageSizePixels(*args
, **kwargs
)
3327 def GetPageSizePixels(*args
, **kwargs
):
3328 """GetPageSizePixels() -> (w, h)"""
3329 return _windows
.Printout_GetPageSizePixels(*args
, **kwargs
)
3331 def SetPageSizeMM(*args
, **kwargs
):
3332 """SetPageSizeMM(int w, int h)"""
3333 return _windows
.Printout_SetPageSizeMM(*args
, **kwargs
)
3335 def GetPageSizeMM(*args
, **kwargs
):
3336 """GetPageSizeMM() -> (w, h)"""
3337 return _windows
.Printout_GetPageSizeMM(*args
, **kwargs
)
3339 def SetPPIScreen(*args
, **kwargs
):
3340 """SetPPIScreen(int x, int y)"""
3341 return _windows
.Printout_SetPPIScreen(*args
, **kwargs
)
3343 def GetPPIScreen(*args
, **kwargs
):
3344 """GetPPIScreen() -> (x,y)"""
3345 return _windows
.Printout_GetPPIScreen(*args
, **kwargs
)
3347 def SetPPIPrinter(*args
, **kwargs
):
3348 """SetPPIPrinter(int x, int y)"""
3349 return _windows
.Printout_SetPPIPrinter(*args
, **kwargs
)
3351 def GetPPIPrinter(*args
, **kwargs
):
3352 """GetPPIPrinter() -> (x,y)"""
3353 return _windows
.Printout_GetPPIPrinter(*args
, **kwargs
)
3355 def IsPreview(*args
, **kwargs
):
3356 """IsPreview() -> bool"""
3357 return _windows
.Printout_IsPreview(*args
, **kwargs
)
3359 def SetIsPreview(*args
, **kwargs
):
3360 """SetIsPreview(bool p)"""
3361 return _windows
.Printout_SetIsPreview(*args
, **kwargs
)
3363 def base_OnBeginDocument(*args
, **kwargs
):
3364 """base_OnBeginDocument(int startPage, int endPage) -> bool"""
3365 return _windows
.Printout_base_OnBeginDocument(*args
, **kwargs
)
3367 def base_OnEndDocument(*args
, **kwargs
):
3368 """base_OnEndDocument()"""
3369 return _windows
.Printout_base_OnEndDocument(*args
, **kwargs
)
3371 def base_OnBeginPrinting(*args
, **kwargs
):
3372 """base_OnBeginPrinting()"""
3373 return _windows
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
3375 def base_OnEndPrinting(*args
, **kwargs
):
3376 """base_OnEndPrinting()"""
3377 return _windows
.Printout_base_OnEndPrinting(*args
, **kwargs
)
3379 def base_OnPreparePrinting(*args
, **kwargs
):
3380 """base_OnPreparePrinting()"""
3381 return _windows
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
3383 def base_HasPage(*args
, **kwargs
):
3384 """base_HasPage(int page) -> bool"""
3385 return _windows
.Printout_base_HasPage(*args
, **kwargs
)
3387 def base_GetPageInfo(*args
, **kwargs
):
3388 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
3389 return _windows
.Printout_base_GetPageInfo(*args
, **kwargs
)
3392 class PrintoutPtr(Printout
):
3393 def __init__(self
, this
):
3395 if not hasattr(self
,"thisown"): self
.thisown
= 0
3396 self
.__class
__ = Printout
3397 _windows
.Printout_swigregister(PrintoutPtr
)
3399 class PreviewCanvas(ScrolledWindow
):
3402 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3403 def __init__(self
, *args
, **kwargs
):
3404 """__init__(PrintPreview preview, Window parent, Point pos=DefaultPosition,
3405 Size size=DefaultSize, long style=0,
3406 wxString name=wxPyPreviewCanvasNameStr) -> PreviewCanvas"""
3407 newobj
= _windows
.new_PreviewCanvas(*args
, **kwargs
)
3408 self
.this
= newobj
.this
3411 self
._setOORInfo
(self
)
3414 class PreviewCanvasPtr(PreviewCanvas
):
3415 def __init__(self
, this
):
3417 if not hasattr(self
,"thisown"): self
.thisown
= 0
3418 self
.__class
__ = PreviewCanvas
3419 _windows
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
3421 class PreviewFrame(Frame
):
3424 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3425 def __init__(self
, *args
, **kwargs
):
3426 """__init__(PrintPreview preview, Frame parent, wxString title,
3427 Point pos=DefaultPosition, Size size=DefaultSize,
3428 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PreviewFrame"""
3429 newobj
= _windows
.new_PreviewFrame(*args
, **kwargs
)
3430 self
.this
= newobj
.this
3433 self
._setOORInfo
(self
)
3435 def Initialize(*args
, **kwargs
):
3437 return _windows
.PreviewFrame_Initialize(*args
, **kwargs
)
3439 def CreateControlBar(*args
, **kwargs
):
3440 """CreateControlBar()"""
3441 return _windows
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
3443 def CreateCanvas(*args
, **kwargs
):
3444 """CreateCanvas()"""
3445 return _windows
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
3447 def GetControlBar(*args
, **kwargs
):
3448 """GetControlBar() -> PreviewControlBar"""
3449 return _windows
.PreviewFrame_GetControlBar(*args
, **kwargs
)
3452 class PreviewFramePtr(PreviewFrame
):
3453 def __init__(self
, this
):
3455 if not hasattr(self
,"thisown"): self
.thisown
= 0
3456 self
.__class
__ = PreviewFrame
3457 _windows
.PreviewFrame_swigregister(PreviewFramePtr
)
3459 PREVIEW_PRINT
= _windows
.PREVIEW_PRINT
3460 PREVIEW_PREVIOUS
= _windows
.PREVIEW_PREVIOUS
3461 PREVIEW_NEXT
= _windows
.PREVIEW_NEXT
3462 PREVIEW_ZOOM
= _windows
.PREVIEW_ZOOM
3463 PREVIEW_FIRST
= _windows
.PREVIEW_FIRST
3464 PREVIEW_LAST
= _windows
.PREVIEW_LAST
3465 PREVIEW_GOTO
= _windows
.PREVIEW_GOTO
3466 PREVIEW_DEFAULT
= _windows
.PREVIEW_DEFAULT
3467 ID_PREVIEW_CLOSE
= _windows
.ID_PREVIEW_CLOSE
3468 ID_PREVIEW_NEXT
= _windows
.ID_PREVIEW_NEXT
3469 ID_PREVIEW_PREVIOUS
= _windows
.ID_PREVIEW_PREVIOUS
3470 ID_PREVIEW_PRINT
= _windows
.ID_PREVIEW_PRINT
3471 ID_PREVIEW_ZOOM
= _windows
.ID_PREVIEW_ZOOM
3472 ID_PREVIEW_FIRST
= _windows
.ID_PREVIEW_FIRST
3473 ID_PREVIEW_LAST
= _windows
.ID_PREVIEW_LAST
3474 ID_PREVIEW_GOTO
= _windows
.ID_PREVIEW_GOTO
3475 class PreviewControlBar(Panel
):
3478 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3479 def __init__(self
, *args
, **kwargs
):
3480 """__init__(PrintPreview preview, long buttons, Window parent,
3481 Point pos=DefaultPosition, Size size=DefaultSize,
3482 long style=TAB_TRAVERSAL, wxString name=PanelNameStr) -> PreviewControlBar"""
3483 newobj
= _windows
.new_PreviewControlBar(*args
, **kwargs
)
3484 self
.this
= newobj
.this
3487 self
._setOORInfo
(self
)
3489 def GetZoomControl(*args
, **kwargs
):
3490 """GetZoomControl() -> int"""
3491 return _windows
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
3493 def SetZoomControl(*args
, **kwargs
):
3494 """SetZoomControl(int zoom)"""
3495 return _windows
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
3497 def GetPrintPreview(*args
, **kwargs
):
3498 """GetPrintPreview() -> PrintPreview"""
3499 return _windows
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
3501 def OnNext(*args
, **kwargs
):
3503 return _windows
.PreviewControlBar_OnNext(*args
, **kwargs
)
3505 def OnPrevious(*args
, **kwargs
):
3507 return _windows
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
3509 def OnFirst(*args
, **kwargs
):
3511 return _windows
.PreviewControlBar_OnFirst(*args
, **kwargs
)
3513 def OnLast(*args
, **kwargs
):
3515 return _windows
.PreviewControlBar_OnLast(*args
, **kwargs
)
3517 def OnGoto(*args
, **kwargs
):
3519 return _windows
.PreviewControlBar_OnGoto(*args
, **kwargs
)
3522 class PreviewControlBarPtr(PreviewControlBar
):
3523 def __init__(self
, this
):
3525 if not hasattr(self
,"thisown"): self
.thisown
= 0
3526 self
.__class
__ = PreviewControlBar
3527 _windows
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
3529 class PrintPreview(core
.Object
):
3532 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3533 def __init__(self
, *args
, **kwargs
):
3534 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PrintPreview"""
3535 newobj
= _windows
.new_PrintPreview(*args
, **kwargs
)
3536 self
.this
= newobj
.this
3539 def SetCurrentPage(*args
, **kwargs
):
3540 """SetCurrentPage(int pageNum) -> bool"""
3541 return _windows
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
3543 def GetCurrentPage(*args
, **kwargs
):
3544 """GetCurrentPage() -> int"""
3545 return _windows
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
3547 def SetPrintout(*args
, **kwargs
):
3548 """SetPrintout(Printout printout)"""
3549 return _windows
.PrintPreview_SetPrintout(*args
, **kwargs
)
3551 def GetPrintout(*args
, **kwargs
):
3552 """GetPrintout() -> Printout"""
3553 return _windows
.PrintPreview_GetPrintout(*args
, **kwargs
)
3555 def GetPrintoutForPrinting(*args
, **kwargs
):
3556 """GetPrintoutForPrinting() -> Printout"""
3557 return _windows
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
3559 def SetFrame(*args
, **kwargs
):
3560 """SetFrame(Frame frame)"""
3561 return _windows
.PrintPreview_SetFrame(*args
, **kwargs
)
3563 def SetCanvas(*args
, **kwargs
):
3564 """SetCanvas(PreviewCanvas canvas)"""
3565 return _windows
.PrintPreview_SetCanvas(*args
, **kwargs
)
3567 def GetFrame(*args
, **kwargs
):
3568 """GetFrame() -> Frame"""
3569 return _windows
.PrintPreview_GetFrame(*args
, **kwargs
)
3571 def GetCanvas(*args
, **kwargs
):
3572 """GetCanvas() -> PreviewCanvas"""
3573 return _windows
.PrintPreview_GetCanvas(*args
, **kwargs
)
3575 def PaintPage(*args
, **kwargs
):
3576 """PaintPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3577 return _windows
.PrintPreview_PaintPage(*args
, **kwargs
)
3579 def DrawBlankPage(*args
, **kwargs
):
3580 """DrawBlankPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3581 return _windows
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
3583 def RenderPage(*args
, **kwargs
):
3584 """RenderPage(int pageNum) -> bool"""
3585 return _windows
.PrintPreview_RenderPage(*args
, **kwargs
)
3587 def AdjustScrollbars(*args
, **kwargs
):
3588 """AdjustScrollbars(PreviewCanvas canvas)"""
3589 return _windows
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
3591 def GetPrintDialogData(*args
, **kwargs
):
3592 """GetPrintDialogData() -> PrintDialogData"""
3593 return _windows
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
3595 def SetZoom(*args
, **kwargs
):
3596 """SetZoom(int percent)"""
3597 return _windows
.PrintPreview_SetZoom(*args
, **kwargs
)
3599 def GetZoom(*args
, **kwargs
):
3600 """GetZoom() -> int"""
3601 return _windows
.PrintPreview_GetZoom(*args
, **kwargs
)
3603 def GetMaxPage(*args
, **kwargs
):
3604 """GetMaxPage() -> int"""
3605 return _windows
.PrintPreview_GetMaxPage(*args
, **kwargs
)
3607 def GetMinPage(*args
, **kwargs
):
3608 """GetMinPage() -> int"""
3609 return _windows
.PrintPreview_GetMinPage(*args
, **kwargs
)
3611 def Ok(*args
, **kwargs
):
3613 return _windows
.PrintPreview_Ok(*args
, **kwargs
)
3615 def SetOk(*args
, **kwargs
):
3616 """SetOk(bool ok)"""
3617 return _windows
.PrintPreview_SetOk(*args
, **kwargs
)
3619 def Print(*args
, **kwargs
):
3620 """Print(bool interactive) -> bool"""
3621 return _windows
.PrintPreview_Print(*args
, **kwargs
)
3623 def DetermineScaling(*args
, **kwargs
):
3624 """DetermineScaling()"""
3625 return _windows
.PrintPreview_DetermineScaling(*args
, **kwargs
)
3627 def __nonzero__(self
): return self
.Ok()
3629 class PrintPreviewPtr(PrintPreview
):
3630 def __init__(self
, this
):
3632 if not hasattr(self
,"thisown"): self
.thisown
= 0
3633 self
.__class
__ = PrintPreview
3634 _windows
.PrintPreview_swigregister(PrintPreviewPtr
)
3636 class PyPrintPreview(PrintPreview
):
3639 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3640 def __init__(self
, *args
, **kwargs
):
3641 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PyPrintPreview"""
3642 newobj
= _windows
.new_PyPrintPreview(*args
, **kwargs
)
3643 self
.this
= newobj
.this
3646 self
._setCallbackInfo
(self
, PyPrintPreview
)
3648 def _setCallbackInfo(*args
, **kwargs
):
3649 """_setCallbackInfo(PyObject self, PyObject _class)"""
3650 return _windows
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
3652 def base_SetCurrentPage(*args
, **kwargs
):
3653 """base_SetCurrentPage(int pageNum) -> bool"""
3654 return _windows
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
3656 def base_PaintPage(*args
, **kwargs
):
3657 """base_PaintPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3658 return _windows
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
3660 def base_DrawBlankPage(*args
, **kwargs
):
3661 """base_DrawBlankPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3662 return _windows
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
3664 def base_RenderPage(*args
, **kwargs
):
3665 """base_RenderPage(int pageNum) -> bool"""
3666 return _windows
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
3668 def base_SetZoom(*args
, **kwargs
):
3669 """base_SetZoom(int percent)"""
3670 return _windows
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
3672 def base_Print(*args
, **kwargs
):
3673 """base_Print(bool interactive) -> bool"""
3674 return _windows
.PyPrintPreview_base_Print(*args
, **kwargs
)
3676 def base_DetermineScaling(*args
, **kwargs
):
3677 """base_DetermineScaling()"""
3678 return _windows
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
3681 class PyPrintPreviewPtr(PyPrintPreview
):
3682 def __init__(self
, this
):
3684 if not hasattr(self
,"thisown"): self
.thisown
= 0
3685 self
.__class
__ = PyPrintPreview
3686 _windows
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
3688 class PyPreviewFrame(PreviewFrame
):
3691 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3692 def __init__(self
, *args
, **kwargs
):
3693 """__init__(PrintPreview preview, Frame parent, wxString title,
3694 Point pos=DefaultPosition, Size size=DefaultSize,
3695 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PyPreviewFrame"""
3696 newobj
= _windows
.new_PyPreviewFrame(*args
, **kwargs
)
3697 self
.this
= newobj
.this
3700 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
3702 def _setCallbackInfo(*args
, **kwargs
):
3703 """_setCallbackInfo(PyObject self, PyObject _class)"""
3704 return _windows
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
3706 def SetPreviewCanvas(*args
, **kwargs
):
3707 """SetPreviewCanvas(PreviewCanvas canvas)"""
3708 return _windows
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
3710 def SetControlBar(*args
, **kwargs
):
3711 """SetControlBar(PreviewControlBar bar)"""
3712 return _windows
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
3714 def base_Initialize(*args
, **kwargs
):
3715 """base_Initialize()"""
3716 return _windows
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
3718 def base_CreateCanvas(*args
, **kwargs
):
3719 """base_CreateCanvas()"""
3720 return _windows
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
3722 def base_CreateControlBar(*args
, **kwargs
):
3723 """base_CreateControlBar()"""
3724 return _windows
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
3727 class PyPreviewFramePtr(PyPreviewFrame
):
3728 def __init__(self
, this
):
3730 if not hasattr(self
,"thisown"): self
.thisown
= 0
3731 self
.__class
__ = PyPreviewFrame
3732 _windows
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
3734 class PyPreviewControlBar(PreviewControlBar
):
3737 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3738 def __init__(self
, *args
, **kwargs
):
3739 """__init__(PrintPreview preview, long buttons, Window parent,
3740 Point pos=DefaultPosition, Size size=DefaultSize,
3741 long style=0, wxString name=PanelNameStr) -> PyPreviewControlBar"""
3742 newobj
= _windows
.new_PyPreviewControlBar(*args
, **kwargs
)
3743 self
.this
= newobj
.this
3746 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
3748 def _setCallbackInfo(*args
, **kwargs
):
3749 """_setCallbackInfo(PyObject self, PyObject _class)"""
3750 return _windows
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
3752 def SetPrintPreview(*args
, **kwargs
):
3753 """SetPrintPreview(PrintPreview preview)"""
3754 return _windows
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
3756 def base_CreateButtons(*args
, **kwargs
):
3757 """base_CreateButtons()"""
3758 return _windows
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
3760 def base_SetZoomControl(*args
, **kwargs
):
3761 """base_SetZoomControl(int zoom)"""
3762 return _windows
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
3765 class PyPreviewControlBarPtr(PyPreviewControlBar
):
3766 def __init__(self
, this
):
3768 if not hasattr(self
,"thisown"): self
.thisown
= 0
3769 self
.__class
__ = PyPreviewControlBar
3770 _windows
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)