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 class PopupWindow(core
.Window
):
1255 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1256 def __init__(self
, *args
, **kwargs
):
1257 """__init__(Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1258 newobj
= _windows
.new_PopupWindow(*args
, **kwargs
)
1259 self
.this
= newobj
.this
1263 class PopupWindowPtr(PopupWindow
):
1264 def __init__(self
, this
):
1266 if not hasattr(self
,"thisown"): self
.thisown
= 0
1267 self
.__class
__ = PopupWindow
1268 _windows
.PopupWindow_swigregister(PopupWindowPtr
)
1270 def PrePopupWindow(*args
, **kwargs
):
1271 """PrePopupWindow() -> PopupWindow"""
1272 val
= _windows
.new_PrePopupWindow(*args
, **kwargs
)
1276 class PopupTransientWindow(PopupWindow
):
1279 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1280 def __init__(self
, *args
, **kwargs
):
1281 """__init__(Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1282 newobj
= _windows
.new_PopupTransientWindow(*args
, **kwargs
)
1283 self
.this
= newobj
.this
1287 class PopupTransientWindowPtr(PopupTransientWindow
):
1288 def __init__(self
, this
):
1290 if not hasattr(self
,"thisown"): self
.thisown
= 0
1291 self
.__class
__ = PopupTransientWindow
1292 _windows
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1294 def PrePopupTransientWindow(*args
, **kwargs
):
1295 """PrePopupTransientWindow() -> PopupTransientWindow"""
1296 val
= _windows
.new_PrePopupTransientWindow(*args
, **kwargs
)
1300 #---------------------------------------------------------------------------
1302 class TipWindow(Frame
):
1305 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1306 def __init__(self
, *args
, **kwargs
):
1307 """__init__(Window parent, wxString text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1308 newobj
= _windows
.new_TipWindow(*args
, **kwargs
)
1309 self
.this
= newobj
.this
1312 self
._setOORInfo
(self
)
1314 def SetBoundingRect(*args
, **kwargs
):
1315 """SetBoundingRect(Rect rectBound)"""
1316 return _windows
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1318 def Close(*args
, **kwargs
):
1320 return _windows
.TipWindow_Close(*args
, **kwargs
)
1323 class TipWindowPtr(TipWindow
):
1324 def __init__(self
, this
):
1326 if not hasattr(self
,"thisown"): self
.thisown
= 0
1327 self
.__class
__ = TipWindow
1328 _windows
.TipWindow_swigregister(TipWindowPtr
)
1330 #---------------------------------------------------------------------------
1332 class VScrolledWindow(Panel
):
1335 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1336 def __init__(self
, *args
, **kwargs
):
1337 """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1338 Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> VScrolledWindow"""
1339 newobj
= _windows
.new_VScrolledWindow(*args
, **kwargs
)
1340 self
.this
= newobj
.this
1343 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1345 def _setCallbackInfo(*args
, **kwargs
):
1346 """_setCallbackInfo(PyObject self, PyObject _class)"""
1347 return _windows
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1349 def Create(*args
, **kwargs
):
1350 """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1351 Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> bool"""
1352 return _windows
.VScrolledWindow_Create(*args
, **kwargs
)
1354 def SetLineCount(*args
, **kwargs
):
1355 """SetLineCount(size_t count)"""
1356 return _windows
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1358 def ScrollToLine(*args
, **kwargs
):
1359 """ScrollToLine(size_t line) -> bool"""
1360 return _windows
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1362 def ScrollLines(*args
, **kwargs
):
1363 """ScrollLines(int lines) -> bool"""
1364 return _windows
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1366 def ScrollPages(*args
, **kwargs
):
1367 """ScrollPages(int pages) -> bool"""
1368 return _windows
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1370 def RefreshLine(*args
, **kwargs
):
1371 """RefreshLine(size_t line)"""
1372 return _windows
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1374 def RefreshLines(*args
, **kwargs
):
1375 """RefreshLines(size_t from, size_t to)"""
1376 return _windows
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1378 def HitTestXT(*args
, **kwargs
):
1379 """HitTestXT(int x, int y) -> int"""
1380 return _windows
.VScrolledWindow_HitTestXT(*args
, **kwargs
)
1382 def HitTest(*args
, **kwargs
):
1383 """HitTest(Point pt) -> int"""
1384 return _windows
.VScrolledWindow_HitTest(*args
, **kwargs
)
1386 def RefreshAll(*args
, **kwargs
):
1388 return _windows
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1390 def GetLineCount(*args
, **kwargs
):
1391 """GetLineCount() -> size_t"""
1392 return _windows
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1394 def GetFirstVisibleLine(*args
, **kwargs
):
1395 """GetFirstVisibleLine() -> size_t"""
1396 return _windows
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1398 def GetLastVisibleLine(*args
, **kwargs
):
1399 """GetLastVisibleLine() -> size_t"""
1400 return _windows
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1402 def IsVisible(*args
, **kwargs
):
1403 """IsVisible(size_t line) -> bool"""
1404 return _windows
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1407 class VScrolledWindowPtr(VScrolledWindow
):
1408 def __init__(self
, this
):
1410 if not hasattr(self
,"thisown"): self
.thisown
= 0
1411 self
.__class
__ = VScrolledWindow
1412 _windows
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
1414 def PreVScrolledWindow(*args
, **kwargs
):
1415 """PreVScrolledWindow() -> VScrolledWindow"""
1416 val
= _windows
.new_PreVScrolledWindow(*args
, **kwargs
)
1420 class VListBox(VScrolledWindow
):
1423 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1424 def __init__(self
, *args
, **kwargs
):
1425 """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1426 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> VListBox"""
1427 newobj
= _windows
.new_VListBox(*args
, **kwargs
)
1428 self
.this
= newobj
.this
1431 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
1433 def _setCallbackInfo(*args
, **kwargs
):
1434 """_setCallbackInfo(PyObject self, PyObject _class)"""
1435 return _windows
.VListBox__setCallbackInfo(*args
, **kwargs
)
1437 def Create(*args
, **kwargs
):
1438 """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1439 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool"""
1440 return _windows
.VListBox_Create(*args
, **kwargs
)
1442 def GetItemCount(*args
, **kwargs
):
1443 """GetItemCount() -> size_t"""
1444 return _windows
.VListBox_GetItemCount(*args
, **kwargs
)
1446 def HasMultipleSelection(*args
, **kwargs
):
1447 """HasMultipleSelection() -> bool"""
1448 return _windows
.VListBox_HasMultipleSelection(*args
, **kwargs
)
1450 def GetSelection(*args
, **kwargs
):
1451 """GetSelection() -> int"""
1452 return _windows
.VListBox_GetSelection(*args
, **kwargs
)
1454 def IsCurrent(*args
, **kwargs
):
1455 """IsCurrent(size_t item) -> bool"""
1456 return _windows
.VListBox_IsCurrent(*args
, **kwargs
)
1458 def IsSelected(*args
, **kwargs
):
1459 """IsSelected(size_t item) -> bool"""
1460 return _windows
.VListBox_IsSelected(*args
, **kwargs
)
1462 def GetSelectedCount(*args
, **kwargs
):
1463 """GetSelectedCount() -> size_t"""
1464 return _windows
.VListBox_GetSelectedCount(*args
, **kwargs
)
1466 def GetFirstSelected(*args
, **kwargs
):
1467 """GetFirstSelected(unsigned long cookie) -> int"""
1468 return _windows
.VListBox_GetFirstSelected(*args
, **kwargs
)
1470 def GetNextSelected(*args
, **kwargs
):
1471 """GetNextSelected(unsigned long cookie) -> int"""
1472 return _windows
.VListBox_GetNextSelected(*args
, **kwargs
)
1474 def GetMargins(*args
, **kwargs
):
1475 """GetMargins() -> Point"""
1476 return _windows
.VListBox_GetMargins(*args
, **kwargs
)
1478 def GetSelectionBackground(*args
, **kwargs
):
1479 """GetSelectionBackground() -> wxColour"""
1480 return _windows
.VListBox_GetSelectionBackground(*args
, **kwargs
)
1482 def SetItemCount(*args
, **kwargs
):
1483 """SetItemCount(size_t count)"""
1484 return _windows
.VListBox_SetItemCount(*args
, **kwargs
)
1486 def Clear(*args
, **kwargs
):
1488 return _windows
.VListBox_Clear(*args
, **kwargs
)
1490 def SetSelection(*args
, **kwargs
):
1491 """SetSelection(int selection)"""
1492 return _windows
.VListBox_SetSelection(*args
, **kwargs
)
1494 def Select(*args
, **kwargs
):
1495 """Select(size_t item, bool select=True) -> bool"""
1496 return _windows
.VListBox_Select(*args
, **kwargs
)
1498 def SelectRange(*args
, **kwargs
):
1499 """SelectRange(size_t from, size_t to) -> bool"""
1500 return _windows
.VListBox_SelectRange(*args
, **kwargs
)
1502 def Toggle(*args
, **kwargs
):
1503 """Toggle(size_t item)"""
1504 return _windows
.VListBox_Toggle(*args
, **kwargs
)
1506 def SelectAll(*args
, **kwargs
):
1507 """SelectAll() -> bool"""
1508 return _windows
.VListBox_SelectAll(*args
, **kwargs
)
1510 def DeselectAll(*args
, **kwargs
):
1511 """DeselectAll() -> bool"""
1512 return _windows
.VListBox_DeselectAll(*args
, **kwargs
)
1514 def SetMargins(*args
, **kwargs
):
1515 """SetMargins(Point pt)"""
1516 return _windows
.VListBox_SetMargins(*args
, **kwargs
)
1518 def SetMarginsXY(*args
, **kwargs
):
1519 """SetMarginsXY(int x, int y)"""
1520 return _windows
.VListBox_SetMarginsXY(*args
, **kwargs
)
1522 def SetSelectionBackground(*args
, **kwargs
):
1523 """SetSelectionBackground(wxColour col)"""
1524 return _windows
.VListBox_SetSelectionBackground(*args
, **kwargs
)
1527 class VListBoxPtr(VListBox
):
1528 def __init__(self
, this
):
1530 if not hasattr(self
,"thisown"): self
.thisown
= 0
1531 self
.__class
__ = VListBox
1532 _windows
.VListBox_swigregister(VListBoxPtr
)
1534 def PreVListBox(*args
, **kwargs
):
1535 """PreVListBox() -> VListBox"""
1536 val
= _windows
.new_PreVListBox(*args
, **kwargs
)
1540 class HtmlListBox(VListBox
):
1543 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1544 def __init__(self
, *args
, **kwargs
):
1545 """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1546 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> HtmlListBox"""
1547 newobj
= _windows
.new_HtmlListBox(*args
, **kwargs
)
1548 self
.this
= newobj
.this
1551 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
1553 def _setCallbackInfo(*args
, **kwargs
):
1554 """_setCallbackInfo(PyObject self, PyObject _class)"""
1555 return _windows
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
1557 def Create(*args
, **kwargs
):
1558 """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1559 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool"""
1560 return _windows
.HtmlListBox_Create(*args
, **kwargs
)
1562 def RefreshAll(*args
, **kwargs
):
1564 return _windows
.HtmlListBox_RefreshAll(*args
, **kwargs
)
1566 def SetItemCount(*args
, **kwargs
):
1567 """SetItemCount(size_t count)"""
1568 return _windows
.HtmlListBox_SetItemCount(*args
, **kwargs
)
1571 class HtmlListBoxPtr(HtmlListBox
):
1572 def __init__(self
, this
):
1574 if not hasattr(self
,"thisown"): self
.thisown
= 0
1575 self
.__class
__ = HtmlListBox
1576 _windows
.HtmlListBox_swigregister(HtmlListBoxPtr
)
1578 def PreHtmlListBox(*args
, **kwargs
):
1579 """PreHtmlListBox() -> HtmlListBox"""
1580 val
= _windows
.new_PreHtmlListBox(*args
, **kwargs
)
1584 #---------------------------------------------------------------------------
1586 class TaskBarIcon(core
.EvtHandler
):
1589 return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1590 def __init__(self
, *args
, **kwargs
):
1591 """__init__() -> TaskBarIcon"""
1592 newobj
= _windows
.new_TaskBarIcon(*args
, **kwargs
)
1593 self
.this
= newobj
.this
1596 def __del__(self
, destroy
=_windows
.delete_TaskBarIcon
):
1599 if self
.thisown
: destroy(self
)
1603 class TaskBarIconPtr(TaskBarIcon
):
1604 def __init__(self
, this
):
1606 if not hasattr(self
,"thisown"): self
.thisown
= 0
1607 self
.__class
__ = TaskBarIcon
1608 _windows
.TaskBarIcon_swigregister(TaskBarIconPtr
)
1610 class TaskBarIconEvent(core
.Event
):
1613 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1614 def __init__(self
, *args
, **kwargs
):
1615 """__init__(wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
1616 newobj
= _windows
.new_TaskBarIconEvent(*args
, **kwargs
)
1617 self
.this
= newobj
.this
1621 class TaskBarIconEventPtr(TaskBarIconEvent
):
1622 def __init__(self
, this
):
1624 if not hasattr(self
,"thisown"): self
.thisown
= 0
1625 self
.__class
__ = TaskBarIconEvent
1626 _windows
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
1628 wxEVT_TASKBAR_MOVE
= _windows
.wxEVT_TASKBAR_MOVE
1629 wxEVT_TASKBAR_LEFT_DOWN
= _windows
.wxEVT_TASKBAR_LEFT_DOWN
1630 wxEVT_TASKBAR_LEFT_UP
= _windows
.wxEVT_TASKBAR_LEFT_UP
1631 wxEVT_TASKBAR_RIGHT_DOWN
= _windows
.wxEVT_TASKBAR_RIGHT_DOWN
1632 wxEVT_TASKBAR_RIGHT_UP
= _windows
.wxEVT_TASKBAR_RIGHT_UP
1633 wxEVT_TASKBAR_LEFT_DCLICK
= _windows
.wxEVT_TASKBAR_LEFT_DCLICK
1634 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows
.wxEVT_TASKBAR_RIGHT_DCLICK
1635 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
1636 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
1637 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
1638 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
1639 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
1640 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
1641 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
1643 #---------------------------------------------------------------------------
1645 class ColourData(core
.Object
):
1648 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1649 def __init__(self
, *args
, **kwargs
):
1650 """__init__() -> ColourData"""
1651 newobj
= _windows
.new_ColourData(*args
, **kwargs
)
1652 self
.this
= newobj
.this
1655 def __del__(self
, destroy
=_windows
.delete_ColourData
):
1658 if self
.thisown
: destroy(self
)
1661 def GetChooseFull(*args
, **kwargs
):
1662 """GetChooseFull() -> bool"""
1663 return _windows
.ColourData_GetChooseFull(*args
, **kwargs
)
1665 def GetColour(*args
, **kwargs
):
1666 """GetColour() -> wxColour"""
1667 return _windows
.ColourData_GetColour(*args
, **kwargs
)
1669 def GetCustomColour(*args
, **kwargs
):
1670 """GetCustomColour(int i) -> wxColour"""
1671 return _windows
.ColourData_GetCustomColour(*args
, **kwargs
)
1673 def SetChooseFull(*args
, **kwargs
):
1674 """SetChooseFull(int flag)"""
1675 return _windows
.ColourData_SetChooseFull(*args
, **kwargs
)
1677 def SetColour(*args
, **kwargs
):
1678 """SetColour(wxColour colour)"""
1679 return _windows
.ColourData_SetColour(*args
, **kwargs
)
1681 def SetCustomColour(*args
, **kwargs
):
1682 """SetCustomColour(int i, wxColour colour)"""
1683 return _windows
.ColourData_SetCustomColour(*args
, **kwargs
)
1686 class ColourDataPtr(ColourData
):
1687 def __init__(self
, this
):
1689 if not hasattr(self
,"thisown"): self
.thisown
= 0
1690 self
.__class
__ = ColourData
1691 _windows
.ColourData_swigregister(ColourDataPtr
)
1693 class ColourDialog(Dialog
):
1696 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1697 def __init__(self
, *args
, **kwargs
):
1698 """__init__(Window parent, ColourData data=None) -> ColourDialog"""
1699 newobj
= _windows
.new_ColourDialog(*args
, **kwargs
)
1700 self
.this
= newobj
.this
1703 self
._setOORInfo
(self
)
1705 def GetColourData(*args
, **kwargs
):
1706 """GetColourData() -> ColourData"""
1707 return _windows
.ColourDialog_GetColourData(*args
, **kwargs
)
1709 def ShowModal(*args
, **kwargs
):
1710 """ShowModal() -> int"""
1711 return _windows
.ColourDialog_ShowModal(*args
, **kwargs
)
1714 class ColourDialogPtr(ColourDialog
):
1715 def __init__(self
, this
):
1717 if not hasattr(self
,"thisown"): self
.thisown
= 0
1718 self
.__class
__ = ColourDialog
1719 _windows
.ColourDialog_swigregister(ColourDialogPtr
)
1721 class DirDialog(Dialog
):
1724 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1725 def __init__(self
, *args
, **kwargs
):
1726 """__init__(Window parent, wxString message=wxPyDirSelectorPromptStr,
1727 wxString defaultPath=wxPyEmptyString,
1728 long style=0, Point pos=DefaultPosition, Size size=DefaultSize,
1729 wxString name=wxPyDirDialogNameStr) -> DirDialog"""
1730 newobj
= _windows
.new_DirDialog(*args
, **kwargs
)
1731 self
.this
= newobj
.this
1734 self
._setOORInfo
(self
)
1736 def GetPath(*args
, **kwargs
):
1737 """GetPath() -> wxString"""
1738 return _windows
.DirDialog_GetPath(*args
, **kwargs
)
1740 def GetMessage(*args
, **kwargs
):
1741 """GetMessage() -> wxString"""
1742 return _windows
.DirDialog_GetMessage(*args
, **kwargs
)
1744 def GetStyle(*args
, **kwargs
):
1745 """GetStyle() -> long"""
1746 return _windows
.DirDialog_GetStyle(*args
, **kwargs
)
1748 def SetMessage(*args
, **kwargs
):
1749 """SetMessage(wxString message)"""
1750 return _windows
.DirDialog_SetMessage(*args
, **kwargs
)
1752 def SetPath(*args
, **kwargs
):
1753 """SetPath(wxString path)"""
1754 return _windows
.DirDialog_SetPath(*args
, **kwargs
)
1756 def ShowModal(*args
, **kwargs
):
1757 """ShowModal() -> int"""
1758 return _windows
.DirDialog_ShowModal(*args
, **kwargs
)
1761 class DirDialogPtr(DirDialog
):
1762 def __init__(self
, this
):
1764 if not hasattr(self
,"thisown"): self
.thisown
= 0
1765 self
.__class
__ = DirDialog
1766 _windows
.DirDialog_swigregister(DirDialogPtr
)
1768 class FileDialog(Dialog
):
1771 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1772 def __init__(self
, *args
, **kwargs
):
1773 """__init__(Window parent, wxString message=wxPyFileSelectorPromptStr,
1774 wxString defaultDir=wxPyEmptyString,
1775 wxString defaultFile=wxPyEmptyString, wxString wildcard=wxPyFileSelectorDefaultWildcardStr,
1777 Point pos=DefaultPosition) -> FileDialog"""
1778 newobj
= _windows
.new_FileDialog(*args
, **kwargs
)
1779 self
.this
= newobj
.this
1782 self
._setOORInfo
(self
)
1784 def SetMessage(*args
, **kwargs
):
1785 """SetMessage(wxString message)"""
1786 return _windows
.FileDialog_SetMessage(*args
, **kwargs
)
1788 def SetPath(*args
, **kwargs
):
1789 """SetPath(wxString path)"""
1790 return _windows
.FileDialog_SetPath(*args
, **kwargs
)
1792 def SetDirectory(*args
, **kwargs
):
1793 """SetDirectory(wxString dir)"""
1794 return _windows
.FileDialog_SetDirectory(*args
, **kwargs
)
1796 def SetFilename(*args
, **kwargs
):
1797 """SetFilename(wxString name)"""
1798 return _windows
.FileDialog_SetFilename(*args
, **kwargs
)
1800 def SetWildcard(*args
, **kwargs
):
1801 """SetWildcard(wxString wildCard)"""
1802 return _windows
.FileDialog_SetWildcard(*args
, **kwargs
)
1804 def SetStyle(*args
, **kwargs
):
1805 """SetStyle(long style)"""
1806 return _windows
.FileDialog_SetStyle(*args
, **kwargs
)
1808 def SetFilterIndex(*args
, **kwargs
):
1809 """SetFilterIndex(int filterIndex)"""
1810 return _windows
.FileDialog_SetFilterIndex(*args
, **kwargs
)
1812 def GetMessage(*args
, **kwargs
):
1813 """GetMessage() -> wxString"""
1814 return _windows
.FileDialog_GetMessage(*args
, **kwargs
)
1816 def GetPath(*args
, **kwargs
):
1817 """GetPath() -> wxString"""
1818 return _windows
.FileDialog_GetPath(*args
, **kwargs
)
1820 def GetDirectory(*args
, **kwargs
):
1821 """GetDirectory() -> wxString"""
1822 return _windows
.FileDialog_GetDirectory(*args
, **kwargs
)
1824 def GetFilename(*args
, **kwargs
):
1825 """GetFilename() -> wxString"""
1826 return _windows
.FileDialog_GetFilename(*args
, **kwargs
)
1828 def GetWildcard(*args
, **kwargs
):
1829 """GetWildcard() -> wxString"""
1830 return _windows
.FileDialog_GetWildcard(*args
, **kwargs
)
1832 def GetStyle(*args
, **kwargs
):
1833 """GetStyle() -> long"""
1834 return _windows
.FileDialog_GetStyle(*args
, **kwargs
)
1836 def GetFilterIndex(*args
, **kwargs
):
1837 """GetFilterIndex() -> int"""
1838 return _windows
.FileDialog_GetFilterIndex(*args
, **kwargs
)
1840 def GetFilenames(*args
, **kwargs
):
1841 """GetFilenames() -> PyObject"""
1842 return _windows
.FileDialog_GetFilenames(*args
, **kwargs
)
1844 def GetPaths(*args
, **kwargs
):
1845 """GetPaths() -> PyObject"""
1846 return _windows
.FileDialog_GetPaths(*args
, **kwargs
)
1849 class FileDialogPtr(FileDialog
):
1850 def __init__(self
, this
):
1852 if not hasattr(self
,"thisown"): self
.thisown
= 0
1853 self
.__class
__ = FileDialog
1854 _windows
.FileDialog_swigregister(FileDialogPtr
)
1856 CHOICEDLG_STYLE
= _windows
.CHOICEDLG_STYLE
1857 class MultiChoiceDialog(Dialog
):
1860 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1861 def __init__(self
, *args
, **kwargs
):
1862 """__init__(Window parent, wxString message, wxString caption,
1863 int LCOUNT, wxString choices, long style=CHOICEDLG_STYLE,
1864 Point pos=DefaultPosition) -> MultiChoiceDialog"""
1865 newobj
= _windows
.new_MultiChoiceDialog(*args
, **kwargs
)
1866 self
.this
= newobj
.this
1869 self
._setOORInfo
(self
)
1871 def SetSelections(*args
, **kwargs
):
1872 """SetSelections(wxArrayInt selections)"""
1873 return _windows
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
1875 def GetSelections(*args
, **kwargs
):
1876 """GetSelections() -> PyObject"""
1877 return _windows
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
1880 class MultiChoiceDialogPtr(MultiChoiceDialog
):
1881 def __init__(self
, this
):
1883 if not hasattr(self
,"thisown"): self
.thisown
= 0
1884 self
.__class
__ = MultiChoiceDialog
1885 _windows
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
1887 class SingleChoiceDialog(Dialog
):
1890 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1891 def __init__(self
, *args
, **kwargs
):
1892 """__init__(Window parent, wxString message, wxString caption,
1893 int choices, wxString choices_array, long style=CHOICEDLG_STYLE,
1894 Point pos=DefaultPosition) -> SingleChoiceDialog"""
1895 newobj
= _windows
.new_SingleChoiceDialog(*args
, **kwargs
)
1896 self
.this
= newobj
.this
1899 self
._setOORInfo
(self
)
1901 def GetSelection(*args
, **kwargs
):
1902 """GetSelection() -> int"""
1903 return _windows
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
1905 def GetStringSelection(*args
, **kwargs
):
1906 """GetStringSelection() -> wxString"""
1907 return _windows
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
1909 def SetSelection(*args
, **kwargs
):
1910 """SetSelection(int sel)"""
1911 return _windows
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
1913 def ShowModal(*args
, **kwargs
):
1914 """ShowModal() -> int"""
1915 return _windows
.SingleChoiceDialog_ShowModal(*args
, **kwargs
)
1918 class SingleChoiceDialogPtr(SingleChoiceDialog
):
1919 def __init__(self
, this
):
1921 if not hasattr(self
,"thisown"): self
.thisown
= 0
1922 self
.__class
__ = SingleChoiceDialog
1923 _windows
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
1925 class TextEntryDialog(Dialog
):
1928 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1929 def __init__(self
, *args
, **kwargs
):
1930 """__init__(Window parent, wxString message, wxString caption=wxPyGetTextFromUserPromptStr,
1931 wxString defaultValue=wxPyEmptyString,
1932 long style=wxOK|wxCANCEL|wxCENTRE,
1933 Point pos=DefaultPosition) -> TextEntryDialog"""
1934 newobj
= _windows
.new_TextEntryDialog(*args
, **kwargs
)
1935 self
.this
= newobj
.this
1938 self
._setOORInfo
(self
)
1940 def GetValue(*args
, **kwargs
):
1941 """GetValue() -> wxString"""
1942 return _windows
.TextEntryDialog_GetValue(*args
, **kwargs
)
1944 def SetValue(*args
, **kwargs
):
1945 """SetValue(wxString value)"""
1946 return _windows
.TextEntryDialog_SetValue(*args
, **kwargs
)
1948 def ShowModal(*args
, **kwargs
):
1949 """ShowModal() -> int"""
1950 return _windows
.TextEntryDialog_ShowModal(*args
, **kwargs
)
1953 class TextEntryDialogPtr(TextEntryDialog
):
1954 def __init__(self
, this
):
1956 if not hasattr(self
,"thisown"): self
.thisown
= 0
1957 self
.__class
__ = TextEntryDialog
1958 _windows
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
1960 class FontData(core
.Object
):
1963 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1964 def __init__(self
, *args
, **kwargs
):
1965 """__init__() -> FontData"""
1966 newobj
= _windows
.new_FontData(*args
, **kwargs
)
1967 self
.this
= newobj
.this
1970 def __del__(self
, destroy
=_windows
.delete_FontData
):
1973 if self
.thisown
: destroy(self
)
1976 def EnableEffects(*args
, **kwargs
):
1977 """EnableEffects(bool enable)"""
1978 return _windows
.FontData_EnableEffects(*args
, **kwargs
)
1980 def GetAllowSymbols(*args
, **kwargs
):
1981 """GetAllowSymbols() -> bool"""
1982 return _windows
.FontData_GetAllowSymbols(*args
, **kwargs
)
1984 def GetColour(*args
, **kwargs
):
1985 """GetColour() -> wxColour"""
1986 return _windows
.FontData_GetColour(*args
, **kwargs
)
1988 def GetChosenFont(*args
, **kwargs
):
1989 """GetChosenFont() -> wxFont"""
1990 return _windows
.FontData_GetChosenFont(*args
, **kwargs
)
1992 def GetEnableEffects(*args
, **kwargs
):
1993 """GetEnableEffects() -> bool"""
1994 return _windows
.FontData_GetEnableEffects(*args
, **kwargs
)
1996 def GetInitialFont(*args
, **kwargs
):
1997 """GetInitialFont() -> wxFont"""
1998 return _windows
.FontData_GetInitialFont(*args
, **kwargs
)
2000 def GetShowHelp(*args
, **kwargs
):
2001 """GetShowHelp() -> bool"""
2002 return _windows
.FontData_GetShowHelp(*args
, **kwargs
)
2004 def SetAllowSymbols(*args
, **kwargs
):
2005 """SetAllowSymbols(bool allowSymbols)"""
2006 return _windows
.FontData_SetAllowSymbols(*args
, **kwargs
)
2008 def SetChosenFont(*args
, **kwargs
):
2009 """SetChosenFont(wxFont font)"""
2010 return _windows
.FontData_SetChosenFont(*args
, **kwargs
)
2012 def SetColour(*args
, **kwargs
):
2013 """SetColour(wxColour colour)"""
2014 return _windows
.FontData_SetColour(*args
, **kwargs
)
2016 def SetInitialFont(*args
, **kwargs
):
2017 """SetInitialFont(wxFont font)"""
2018 return _windows
.FontData_SetInitialFont(*args
, **kwargs
)
2020 def SetRange(*args
, **kwargs
):
2021 """SetRange(int min, int max)"""
2022 return _windows
.FontData_SetRange(*args
, **kwargs
)
2024 def SetShowHelp(*args
, **kwargs
):
2025 """SetShowHelp(bool showHelp)"""
2026 return _windows
.FontData_SetShowHelp(*args
, **kwargs
)
2029 class FontDataPtr(FontData
):
2030 def __init__(self
, this
):
2032 if not hasattr(self
,"thisown"): self
.thisown
= 0
2033 self
.__class
__ = FontData
2034 _windows
.FontData_swigregister(FontDataPtr
)
2036 class FontDialog(Dialog
):
2039 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2040 def __init__(self
, *args
, **kwargs
):
2041 """__init__(Window parent, FontData data) -> FontDialog"""
2042 newobj
= _windows
.new_FontDialog(*args
, **kwargs
)
2043 self
.this
= newobj
.this
2046 self
._setOORInfo
(self
)
2048 def GetFontData(*args
, **kwargs
):
2049 """GetFontData() -> FontData"""
2050 return _windows
.FontDialog_GetFontData(*args
, **kwargs
)
2052 def ShowModal(*args
, **kwargs
):
2053 """ShowModal() -> int"""
2054 return _windows
.FontDialog_ShowModal(*args
, **kwargs
)
2057 class FontDialogPtr(FontDialog
):
2058 def __init__(self
, this
):
2060 if not hasattr(self
,"thisown"): self
.thisown
= 0
2061 self
.__class
__ = FontDialog
2062 _windows
.FontDialog_swigregister(FontDialogPtr
)
2064 class MessageDialog(Dialog
):
2067 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2068 def __init__(self
, *args
, **kwargs
):
2069 """__init__(Window parent, wxString message, wxString caption=wxPyMessageBoxCaptionStr,
2070 long style=wxOK|wxCANCEL|wxCENTRE,
2071 Point pos=DefaultPosition) -> MessageDialog"""
2072 newobj
= _windows
.new_MessageDialog(*args
, **kwargs
)
2073 self
.this
= newobj
.this
2076 self
._setOORInfo
(self
)
2078 def ShowModal(*args
, **kwargs
):
2079 """ShowModal() -> int"""
2080 return _windows
.MessageDialog_ShowModal(*args
, **kwargs
)
2083 class MessageDialogPtr(MessageDialog
):
2084 def __init__(self
, this
):
2086 if not hasattr(self
,"thisown"): self
.thisown
= 0
2087 self
.__class
__ = MessageDialog
2088 _windows
.MessageDialog_swigregister(MessageDialogPtr
)
2090 class ProgressDialog(Frame
):
2093 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2094 def __init__(self
, *args
, **kwargs
):
2095 """__init__(wxString title, wxString message, int maximum=100,
2096 Window parent=None, int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog"""
2097 newobj
= _windows
.new_ProgressDialog(*args
, **kwargs
)
2098 self
.this
= newobj
.this
2101 self
._setOORInfo
(self
)
2103 def Update(*args
, **kwargs
):
2104 """Update(int value, wxString newmsg=wxPyEmptyString) -> bool"""
2105 return _windows
.ProgressDialog_Update(*args
, **kwargs
)
2107 def Resume(*args
, **kwargs
):
2109 return _windows
.ProgressDialog_Resume(*args
, **kwargs
)
2112 class ProgressDialogPtr(ProgressDialog
):
2113 def __init__(self
, this
):
2115 if not hasattr(self
,"thisown"): self
.thisown
= 0
2116 self
.__class
__ = ProgressDialog
2117 _windows
.ProgressDialog_swigregister(ProgressDialogPtr
)
2119 FR_DOWN
= _windows
.FR_DOWN
2120 FR_WHOLEWORD
= _windows
.FR_WHOLEWORD
2121 FR_MATCHCASE
= _windows
.FR_MATCHCASE
2122 FR_REPLACEDIALOG
= _windows
.FR_REPLACEDIALOG
2123 FR_NOUPDOWN
= _windows
.FR_NOUPDOWN
2124 FR_NOMATCHCASE
= _windows
.FR_NOMATCHCASE
2125 FR_NOWHOLEWORD
= _windows
.FR_NOWHOLEWORD
2126 wxEVT_COMMAND_FIND
= _windows
.wxEVT_COMMAND_FIND
2127 wxEVT_COMMAND_FIND_NEXT
= _windows
.wxEVT_COMMAND_FIND_NEXT
2128 wxEVT_COMMAND_FIND_REPLACE
= _windows
.wxEVT_COMMAND_FIND_REPLACE
2129 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows
.wxEVT_COMMAND_FIND_REPLACE_ALL
2130 wxEVT_COMMAND_FIND_CLOSE
= _windows
.wxEVT_COMMAND_FIND_CLOSE
2131 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
2132 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
2133 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
2134 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
2135 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
2137 # For backwards compatibility. Should they be removed?
2138 EVT_COMMAND_FIND
= EVT_FIND
2139 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
2140 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
2141 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
2142 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
2144 class FindDialogEvent(core
.CommandEvent
):
2147 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2148 def __init__(self
, *args
, **kwargs
):
2149 """__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent"""
2150 newobj
= _windows
.new_FindDialogEvent(*args
, **kwargs
)
2151 self
.this
= newobj
.this
2154 def GetFlags(*args
, **kwargs
):
2155 """GetFlags() -> int"""
2156 return _windows
.FindDialogEvent_GetFlags(*args
, **kwargs
)
2158 def GetFindString(*args
, **kwargs
):
2159 """GetFindString() -> wxString"""
2160 return _windows
.FindDialogEvent_GetFindString(*args
, **kwargs
)
2162 def GetReplaceString(*args
, **kwargs
):
2163 """GetReplaceString() -> wxString"""
2164 return _windows
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
2166 def GetDialog(*args
, **kwargs
):
2167 """GetDialog() -> FindReplaceDialog"""
2168 return _windows
.FindDialogEvent_GetDialog(*args
, **kwargs
)
2170 def SetFlags(*args
, **kwargs
):
2171 """SetFlags(int flags)"""
2172 return _windows
.FindDialogEvent_SetFlags(*args
, **kwargs
)
2174 def SetFindString(*args
, **kwargs
):
2175 """SetFindString(wxString str)"""
2176 return _windows
.FindDialogEvent_SetFindString(*args
, **kwargs
)
2178 def SetReplaceString(*args
, **kwargs
):
2179 """SetReplaceString(wxString str)"""
2180 return _windows
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
2183 class FindDialogEventPtr(FindDialogEvent
):
2184 def __init__(self
, this
):
2186 if not hasattr(self
,"thisown"): self
.thisown
= 0
2187 self
.__class
__ = FindDialogEvent
2188 _windows
.FindDialogEvent_swigregister(FindDialogEventPtr
)
2190 class FindReplaceData(core
.Object
):
2193 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2194 def __init__(self
, *args
, **kwargs
):
2195 """__init__(int flags=0) -> FindReplaceData"""
2196 newobj
= _windows
.new_FindReplaceData(*args
, **kwargs
)
2197 self
.this
= newobj
.this
2200 def __del__(self
, destroy
=_windows
.delete_FindReplaceData
):
2203 if self
.thisown
: destroy(self
)
2206 def GetFindString(*args
, **kwargs
):
2207 """GetFindString() -> wxString"""
2208 return _windows
.FindReplaceData_GetFindString(*args
, **kwargs
)
2210 def GetReplaceString(*args
, **kwargs
):
2211 """GetReplaceString() -> wxString"""
2212 return _windows
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
2214 def GetFlags(*args
, **kwargs
):
2215 """GetFlags() -> int"""
2216 return _windows
.FindReplaceData_GetFlags(*args
, **kwargs
)
2218 def SetFlags(*args
, **kwargs
):
2219 """SetFlags(int flags)"""
2220 return _windows
.FindReplaceData_SetFlags(*args
, **kwargs
)
2222 def SetFindString(*args
, **kwargs
):
2223 """SetFindString(wxString str)"""
2224 return _windows
.FindReplaceData_SetFindString(*args
, **kwargs
)
2226 def SetReplaceString(*args
, **kwargs
):
2227 """SetReplaceString(wxString str)"""
2228 return _windows
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
2231 class FindReplaceDataPtr(FindReplaceData
):
2232 def __init__(self
, this
):
2234 if not hasattr(self
,"thisown"): self
.thisown
= 0
2235 self
.__class
__ = FindReplaceData
2236 _windows
.FindReplaceData_swigregister(FindReplaceDataPtr
)
2238 class FindReplaceDialog(Dialog
):
2241 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2242 def __init__(self
, *args
, **kwargs
):
2243 """__init__(Window parent, FindReplaceData data, wxString title,
2244 int style=0) -> FindReplaceDialog"""
2245 newobj
= _windows
.new_FindReplaceDialog(*args
, **kwargs
)
2246 self
.this
= newobj
.this
2249 self
._setOORInfo
(self
)
2251 def Create(*args
, **kwargs
):
2252 """Create(Window parent, FindReplaceData data, wxString title,
2253 int style=0) -> bool"""
2254 return _windows
.FindReplaceDialog_Create(*args
, **kwargs
)
2256 def GetData(*args
, **kwargs
):
2257 """GetData() -> FindReplaceData"""
2258 return _windows
.FindReplaceDialog_GetData(*args
, **kwargs
)
2260 def SetData(*args
, **kwargs
):
2261 """SetData(FindReplaceData data)"""
2262 return _windows
.FindReplaceDialog_SetData(*args
, **kwargs
)
2265 class FindReplaceDialogPtr(FindReplaceDialog
):
2266 def __init__(self
, this
):
2268 if not hasattr(self
,"thisown"): self
.thisown
= 0
2269 self
.__class
__ = FindReplaceDialog
2270 _windows
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
2272 def PreFindReplaceDialog(*args
, **kwargs
):
2273 """PreFindReplaceDialog() -> FindReplaceDialog"""
2274 val
= _windows
.new_PreFindReplaceDialog(*args
, **kwargs
)
2278 #---------------------------------------------------------------------------
2280 IDM_WINDOWTILE
= _windows
.IDM_WINDOWTILE
2281 IDM_WINDOWTILEHOR
= _windows
.IDM_WINDOWTILEHOR
2282 IDM_WINDOWCASCADE
= _windows
.IDM_WINDOWCASCADE
2283 IDM_WINDOWICONS
= _windows
.IDM_WINDOWICONS
2284 IDM_WINDOWNEXT
= _windows
.IDM_WINDOWNEXT
2285 IDM_WINDOWTILEVERT
= _windows
.IDM_WINDOWTILEVERT
2286 FIRST_MDI_CHILD
= _windows
.FIRST_MDI_CHILD
2287 LAST_MDI_CHILD
= _windows
.LAST_MDI_CHILD
2288 class MDIParentFrame(Frame
):
2291 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2292 def __init__(self
, *args
, **kwargs
):
2293 """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
2294 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2295 wxString name=wxPyFrameNameStr) -> MDIParentFrame"""
2296 newobj
= _windows
.new_MDIParentFrame(*args
, **kwargs
)
2297 self
.this
= newobj
.this
2300 self
._setOORInfo
(self
)
2302 def Create(*args
, **kwargs
):
2303 """Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
2304 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2305 wxString name=wxPyFrameNameStr) -> bool"""
2306 return _windows
.MDIParentFrame_Create(*args
, **kwargs
)
2308 def ActivateNext(*args
, **kwargs
):
2309 """ActivateNext()"""
2310 return _windows
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
2312 def ActivatePrevious(*args
, **kwargs
):
2313 """ActivatePrevious()"""
2314 return _windows
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
2316 def ArrangeIcons(*args
, **kwargs
):
2317 """ArrangeIcons()"""
2318 return _windows
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
2320 def Cascade(*args
, **kwargs
):
2322 return _windows
.MDIParentFrame_Cascade(*args
, **kwargs
)
2324 def GetActiveChild(*args
, **kwargs
):
2325 """GetActiveChild() -> MDIChildFrame"""
2326 return _windows
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
2328 def GetClientWindow(*args
, **kwargs
):
2329 """GetClientWindow() -> MDIClientWindow"""
2330 return _windows
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
2332 def GetToolBar(*args
, **kwargs
):
2333 """GetToolBar() -> Window"""
2334 return _windows
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
2336 def Tile(*args
, **kwargs
):
2338 return _windows
.MDIParentFrame_Tile(*args
, **kwargs
)
2341 class MDIParentFramePtr(MDIParentFrame
):
2342 def __init__(self
, this
):
2344 if not hasattr(self
,"thisown"): self
.thisown
= 0
2345 self
.__class
__ = MDIParentFrame
2346 _windows
.MDIParentFrame_swigregister(MDIParentFramePtr
)
2348 def PreMDIParentFrame(*args
, **kwargs
):
2349 """PreMDIParentFrame() -> MDIParentFrame"""
2350 val
= _windows
.new_PreMDIParentFrame(*args
, **kwargs
)
2354 class MDIChildFrame(Frame
):
2357 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2358 def __init__(self
, *args
, **kwargs
):
2359 """__init__(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition,
2360 Size size=DefaultSize,
2361 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> MDIChildFrame"""
2362 newobj
= _windows
.new_MDIChildFrame(*args
, **kwargs
)
2363 self
.this
= newobj
.this
2366 self
._setOORInfo
(self
)
2368 def Create(*args
, **kwargs
):
2369 """Create(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition,
2370 Size size=DefaultSize,
2371 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> bool"""
2372 return _windows
.MDIChildFrame_Create(*args
, **kwargs
)
2374 def Activate(*args
, **kwargs
):
2376 return _windows
.MDIChildFrame_Activate(*args
, **kwargs
)
2378 def Maximize(*args
, **kwargs
):
2379 """Maximize(bool maximize)"""
2380 return _windows
.MDIChildFrame_Maximize(*args
, **kwargs
)
2382 def Restore(*args
, **kwargs
):
2384 return _windows
.MDIChildFrame_Restore(*args
, **kwargs
)
2387 class MDIChildFramePtr(MDIChildFrame
):
2388 def __init__(self
, this
):
2390 if not hasattr(self
,"thisown"): self
.thisown
= 0
2391 self
.__class
__ = MDIChildFrame
2392 _windows
.MDIChildFrame_swigregister(MDIChildFramePtr
)
2394 def PreMDIChildFrame(*args
, **kwargs
):
2395 """PreMDIChildFrame() -> MDIChildFrame"""
2396 val
= _windows
.new_PreMDIChildFrame(*args
, **kwargs
)
2400 class MDIClientWindow(core
.Window
):
2403 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2404 def __init__(self
, *args
, **kwargs
):
2405 """__init__(MDIParentFrame parent, long style=0) -> MDIClientWindow"""
2406 newobj
= _windows
.new_MDIClientWindow(*args
, **kwargs
)
2407 self
.this
= newobj
.this
2410 self
._setOORInfo
(self
)
2412 def Create(*args
, **kwargs
):
2413 """Create(MDIParentFrame parent, long style=0) -> bool"""
2414 return _windows
.MDIClientWindow_Create(*args
, **kwargs
)
2417 class MDIClientWindowPtr(MDIClientWindow
):
2418 def __init__(self
, this
):
2420 if not hasattr(self
,"thisown"): self
.thisown
= 0
2421 self
.__class
__ = MDIClientWindow
2422 _windows
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
2424 def PreMDIClientWindow(*args
, **kwargs
):
2425 """PreMDIClientWindow() -> MDIClientWindow"""
2426 val
= _windows
.new_PreMDIClientWindow(*args
, **kwargs
)
2430 #---------------------------------------------------------------------------
2432 class PyWindow(core
.Window
):
2435 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2436 def __init__(self
, *args
, **kwargs
):
2437 """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2438 long style=0, wxString name=PanelNameStr) -> PyWindow"""
2439 newobj
= _windows
.new_PyWindow(*args
, **kwargs
)
2440 self
.this
= newobj
.this
2443 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
2445 def _setCallbackInfo(*args
, **kwargs
):
2446 """_setCallbackInfo(PyObject self, PyObject _class)"""
2447 return _windows
.PyWindow__setCallbackInfo(*args
, **kwargs
)
2449 def base_DoMoveWindow(*args
, **kwargs
):
2450 """base_DoMoveWindow(int x, int y, int width, int height)"""
2451 return _windows
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
2453 def base_DoSetSize(*args
, **kwargs
):
2454 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2455 return _windows
.PyWindow_base_DoSetSize(*args
, **kwargs
)
2457 def base_DoSetClientSize(*args
, **kwargs
):
2458 """base_DoSetClientSize(int width, int height)"""
2459 return _windows
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
2461 def base_DoSetVirtualSize(*args
, **kwargs
):
2462 """base_DoSetVirtualSize(int x, int y)"""
2463 return _windows
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
2465 def base_DoGetSize(*args
, **kwargs
):
2466 """base_DoGetSize() -> (width, height)"""
2467 return _windows
.PyWindow_base_DoGetSize(*args
, **kwargs
)
2469 def base_DoGetClientSize(*args
, **kwargs
):
2470 """base_DoGetClientSize() -> (width, height)"""
2471 return _windows
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
2473 def base_DoGetPosition(*args
, **kwargs
):
2474 """base_DoGetPosition() -> (x,y)"""
2475 return _windows
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
2477 def base_DoGetVirtualSize(*args
, **kwargs
):
2478 """base_DoGetVirtualSize() -> Size"""
2479 return _windows
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
2481 def base_DoGetBestSize(*args
, **kwargs
):
2482 """base_DoGetBestSize() -> Size"""
2483 return _windows
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
2485 def base_InitDialog(*args
, **kwargs
):
2486 """base_InitDialog()"""
2487 return _windows
.PyWindow_base_InitDialog(*args
, **kwargs
)
2489 def base_TransferDataToWindow(*args
, **kwargs
):
2490 """base_TransferDataToWindow() -> bool"""
2491 return _windows
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
2493 def base_TransferDataFromWindow(*args
, **kwargs
):
2494 """base_TransferDataFromWindow() -> bool"""
2495 return _windows
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
2497 def base_Validate(*args
, **kwargs
):
2498 """base_Validate() -> bool"""
2499 return _windows
.PyWindow_base_Validate(*args
, **kwargs
)
2501 def base_AcceptsFocus(*args
, **kwargs
):
2502 """base_AcceptsFocus() -> bool"""
2503 return _windows
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
2505 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2506 """base_AcceptsFocusFromKeyboard() -> bool"""
2507 return _windows
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2509 def base_GetMaxSize(*args
, **kwargs
):
2510 """base_GetMaxSize() -> Size"""
2511 return _windows
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
2513 def base_AddChild(*args
, **kwargs
):
2514 """base_AddChild(Window child)"""
2515 return _windows
.PyWindow_base_AddChild(*args
, **kwargs
)
2517 def base_RemoveChild(*args
, **kwargs
):
2518 """base_RemoveChild(Window child)"""
2519 return _windows
.PyWindow_base_RemoveChild(*args
, **kwargs
)
2522 class PyWindowPtr(PyWindow
):
2523 def __init__(self
, this
):
2525 if not hasattr(self
,"thisown"): self
.thisown
= 0
2526 self
.__class
__ = PyWindow
2527 _windows
.PyWindow_swigregister(PyWindowPtr
)
2529 class PyPanel(Panel
):
2532 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2533 def __init__(self
, *args
, **kwargs
):
2534 """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2535 long style=0, wxString name=PanelNameStr) -> PyPanel"""
2536 newobj
= _windows
.new_PyPanel(*args
, **kwargs
)
2537 self
.this
= newobj
.this
2540 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
2542 def _setCallbackInfo(*args
, **kwargs
):
2543 """_setCallbackInfo(PyObject self, PyObject _class)"""
2544 return _windows
.PyPanel__setCallbackInfo(*args
, **kwargs
)
2546 def base_DoMoveWindow(*args
, **kwargs
):
2547 """base_DoMoveWindow(int x, int y, int width, int height)"""
2548 return _windows
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
2550 def base_DoSetSize(*args
, **kwargs
):
2551 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2552 return _windows
.PyPanel_base_DoSetSize(*args
, **kwargs
)
2554 def base_DoSetClientSize(*args
, **kwargs
):
2555 """base_DoSetClientSize(int width, int height)"""
2556 return _windows
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
2558 def base_DoSetVirtualSize(*args
, **kwargs
):
2559 """base_DoSetVirtualSize(int x, int y)"""
2560 return _windows
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
2562 def base_DoGetSize(*args
, **kwargs
):
2563 """base_DoGetSize() -> (width, height)"""
2564 return _windows
.PyPanel_base_DoGetSize(*args
, **kwargs
)
2566 def base_DoGetClientSize(*args
, **kwargs
):
2567 """base_DoGetClientSize() -> (width, height)"""
2568 return _windows
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
2570 def base_DoGetPosition(*args
, **kwargs
):
2571 """base_DoGetPosition() -> (x,y)"""
2572 return _windows
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
2574 def base_DoGetVirtualSize(*args
, **kwargs
):
2575 """base_DoGetVirtualSize() -> Size"""
2576 return _windows
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
2578 def base_DoGetBestSize(*args
, **kwargs
):
2579 """base_DoGetBestSize() -> Size"""
2580 return _windows
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
2582 def base_InitDialog(*args
, **kwargs
):
2583 """base_InitDialog()"""
2584 return _windows
.PyPanel_base_InitDialog(*args
, **kwargs
)
2586 def base_TransferDataToWindow(*args
, **kwargs
):
2587 """base_TransferDataToWindow() -> bool"""
2588 return _windows
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
2590 def base_TransferDataFromWindow(*args
, **kwargs
):
2591 """base_TransferDataFromWindow() -> bool"""
2592 return _windows
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
2594 def base_Validate(*args
, **kwargs
):
2595 """base_Validate() -> bool"""
2596 return _windows
.PyPanel_base_Validate(*args
, **kwargs
)
2598 def base_AcceptsFocus(*args
, **kwargs
):
2599 """base_AcceptsFocus() -> bool"""
2600 return _windows
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
2602 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2603 """base_AcceptsFocusFromKeyboard() -> bool"""
2604 return _windows
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2606 def base_GetMaxSize(*args
, **kwargs
):
2607 """base_GetMaxSize() -> Size"""
2608 return _windows
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
2610 def base_AddChild(*args
, **kwargs
):
2611 """base_AddChild(Window child)"""
2612 return _windows
.PyPanel_base_AddChild(*args
, **kwargs
)
2614 def base_RemoveChild(*args
, **kwargs
):
2615 """base_RemoveChild(Window child)"""
2616 return _windows
.PyPanel_base_RemoveChild(*args
, **kwargs
)
2619 class PyPanelPtr(PyPanel
):
2620 def __init__(self
, this
):
2622 if not hasattr(self
,"thisown"): self
.thisown
= 0
2623 self
.__class
__ = PyPanel
2624 _windows
.PyPanel_swigregister(PyPanelPtr
)
2626 #---------------------------------------------------------------------------
2628 PRINT_MODE_NONE
= _windows
.PRINT_MODE_NONE
2629 PRINT_MODE_PREVIEW
= _windows
.PRINT_MODE_PREVIEW
2630 PRINT_MODE_FILE
= _windows
.PRINT_MODE_FILE
2631 PRINT_MODE_PRINTER
= _windows
.PRINT_MODE_PRINTER
2632 class PrintData(core
.Object
):
2635 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2636 def __init__(self
, *args
, **kwargs
):
2637 """__init__() -> PrintData"""
2638 newobj
= _windows
.new_PrintData(*args
, **kwargs
)
2639 self
.this
= newobj
.this
2642 def __del__(self
, destroy
=_windows
.delete_PrintData
):
2645 if self
.thisown
: destroy(self
)
2648 def GetNoCopies(*args
, **kwargs
):
2649 """GetNoCopies() -> int"""
2650 return _windows
.PrintData_GetNoCopies(*args
, **kwargs
)
2652 def GetCollate(*args
, **kwargs
):
2653 """GetCollate() -> bool"""
2654 return _windows
.PrintData_GetCollate(*args
, **kwargs
)
2656 def GetOrientation(*args
, **kwargs
):
2657 """GetOrientation() -> int"""
2658 return _windows
.PrintData_GetOrientation(*args
, **kwargs
)
2660 def Ok(*args
, **kwargs
):
2662 return _windows
.PrintData_Ok(*args
, **kwargs
)
2664 def GetPrinterName(*args
, **kwargs
):
2665 """GetPrinterName() -> wxString"""
2666 return _windows
.PrintData_GetPrinterName(*args
, **kwargs
)
2668 def GetColour(*args
, **kwargs
):
2669 """GetColour() -> bool"""
2670 return _windows
.PrintData_GetColour(*args
, **kwargs
)
2672 def GetDuplex(*args
, **kwargs
):
2673 """GetDuplex() -> wxDuplexMode"""
2674 return _windows
.PrintData_GetDuplex(*args
, **kwargs
)
2676 def GetPaperId(*args
, **kwargs
):
2677 """GetPaperId() -> wxPaperSize"""
2678 return _windows
.PrintData_GetPaperId(*args
, **kwargs
)
2680 def GetPaperSize(*args
, **kwargs
):
2681 """GetPaperSize() -> Size"""
2682 return _windows
.PrintData_GetPaperSize(*args
, **kwargs
)
2684 def GetQuality(*args
, **kwargs
):
2685 """GetQuality() -> wxPrintQuality"""
2686 return _windows
.PrintData_GetQuality(*args
, **kwargs
)
2688 def SetNoCopies(*args
, **kwargs
):
2689 """SetNoCopies(int v)"""
2690 return _windows
.PrintData_SetNoCopies(*args
, **kwargs
)
2692 def SetCollate(*args
, **kwargs
):
2693 """SetCollate(bool flag)"""
2694 return _windows
.PrintData_SetCollate(*args
, **kwargs
)
2696 def SetOrientation(*args
, **kwargs
):
2697 """SetOrientation(int orient)"""
2698 return _windows
.PrintData_SetOrientation(*args
, **kwargs
)
2700 def SetPrinterName(*args
, **kwargs
):
2701 """SetPrinterName(wxString name)"""
2702 return _windows
.PrintData_SetPrinterName(*args
, **kwargs
)
2704 def SetColour(*args
, **kwargs
):
2705 """SetColour(bool colour)"""
2706 return _windows
.PrintData_SetColour(*args
, **kwargs
)
2708 def SetDuplex(*args
, **kwargs
):
2709 """SetDuplex(wxDuplexMode duplex)"""
2710 return _windows
.PrintData_SetDuplex(*args
, **kwargs
)
2712 def SetPaperId(*args
, **kwargs
):
2713 """SetPaperId(wxPaperSize sizeId)"""
2714 return _windows
.PrintData_SetPaperId(*args
, **kwargs
)
2716 def SetPaperSize(*args
, **kwargs
):
2717 """SetPaperSize(Size sz)"""
2718 return _windows
.PrintData_SetPaperSize(*args
, **kwargs
)
2720 def SetQuality(*args
, **kwargs
):
2721 """SetQuality(wxPrintQuality quality)"""
2722 return _windows
.PrintData_SetQuality(*args
, **kwargs
)
2724 def GetPrinterCommand(*args
, **kwargs
):
2725 """GetPrinterCommand() -> wxString"""
2726 return _windows
.PrintData_GetPrinterCommand(*args
, **kwargs
)
2728 def GetPrinterOptions(*args
, **kwargs
):
2729 """GetPrinterOptions() -> wxString"""
2730 return _windows
.PrintData_GetPrinterOptions(*args
, **kwargs
)
2732 def GetPreviewCommand(*args
, **kwargs
):
2733 """GetPreviewCommand() -> wxString"""
2734 return _windows
.PrintData_GetPreviewCommand(*args
, **kwargs
)
2736 def GetFilename(*args
, **kwargs
):
2737 """GetFilename() -> wxString"""
2738 return _windows
.PrintData_GetFilename(*args
, **kwargs
)
2740 def GetFontMetricPath(*args
, **kwargs
):
2741 """GetFontMetricPath() -> wxString"""
2742 return _windows
.PrintData_GetFontMetricPath(*args
, **kwargs
)
2744 def GetPrinterScaleX(*args
, **kwargs
):
2745 """GetPrinterScaleX() -> double"""
2746 return _windows
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
2748 def GetPrinterScaleY(*args
, **kwargs
):
2749 """GetPrinterScaleY() -> double"""
2750 return _windows
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
2752 def GetPrinterTranslateX(*args
, **kwargs
):
2753 """GetPrinterTranslateX() -> long"""
2754 return _windows
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
2756 def GetPrinterTranslateY(*args
, **kwargs
):
2757 """GetPrinterTranslateY() -> long"""
2758 return _windows
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
2760 def GetPrintMode(*args
, **kwargs
):
2761 """GetPrintMode() -> wxPrintMode"""
2762 return _windows
.PrintData_GetPrintMode(*args
, **kwargs
)
2764 def SetPrinterCommand(*args
, **kwargs
):
2765 """SetPrinterCommand(wxString command)"""
2766 return _windows
.PrintData_SetPrinterCommand(*args
, **kwargs
)
2768 def SetPrinterOptions(*args
, **kwargs
):
2769 """SetPrinterOptions(wxString options)"""
2770 return _windows
.PrintData_SetPrinterOptions(*args
, **kwargs
)
2772 def SetPreviewCommand(*args
, **kwargs
):
2773 """SetPreviewCommand(wxString command)"""
2774 return _windows
.PrintData_SetPreviewCommand(*args
, **kwargs
)
2776 def SetFilename(*args
, **kwargs
):
2777 """SetFilename(wxString filename)"""
2778 return _windows
.PrintData_SetFilename(*args
, **kwargs
)
2780 def SetFontMetricPath(*args
, **kwargs
):
2781 """SetFontMetricPath(wxString path)"""
2782 return _windows
.PrintData_SetFontMetricPath(*args
, **kwargs
)
2784 def SetPrinterScaleX(*args
, **kwargs
):
2785 """SetPrinterScaleX(double x)"""
2786 return _windows
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
2788 def SetPrinterScaleY(*args
, **kwargs
):
2789 """SetPrinterScaleY(double y)"""
2790 return _windows
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
2792 def SetPrinterScaling(*args
, **kwargs
):
2793 """SetPrinterScaling(double x, double y)"""
2794 return _windows
.PrintData_SetPrinterScaling(*args
, **kwargs
)
2796 def SetPrinterTranslateX(*args
, **kwargs
):
2797 """SetPrinterTranslateX(long x)"""
2798 return _windows
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
2800 def SetPrinterTranslateY(*args
, **kwargs
):
2801 """SetPrinterTranslateY(long y)"""
2802 return _windows
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
2804 def SetPrinterTranslation(*args
, **kwargs
):
2805 """SetPrinterTranslation(long x, long y)"""
2806 return _windows
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
2808 def SetPrintMode(*args
, **kwargs
):
2809 """SetPrintMode(wxPrintMode printMode)"""
2810 return _windows
.PrintData_SetPrintMode(*args
, **kwargs
)
2812 def __nonzero__(self
): return self
.Ok()
2814 class PrintDataPtr(PrintData
):
2815 def __init__(self
, this
):
2817 if not hasattr(self
,"thisown"): self
.thisown
= 0
2818 self
.__class
__ = PrintData
2819 _windows
.PrintData_swigregister(PrintDataPtr
)
2821 class PageSetupDialogData(core
.Object
):
2824 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2825 def __init__(self
, *args
, **kwargs
):
2826 """__init__() -> PageSetupDialogData"""
2827 newobj
= _windows
.new_PageSetupDialogData(*args
, **kwargs
)
2828 self
.this
= newobj
.this
2831 def __del__(self
, destroy
=_windows
.delete_PageSetupDialogData
):
2834 if self
.thisown
: destroy(self
)
2837 def EnableHelp(*args
, **kwargs
):
2838 """EnableHelp(bool flag)"""
2839 return _windows
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
2841 def EnableMargins(*args
, **kwargs
):
2842 """EnableMargins(bool flag)"""
2843 return _windows
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
2845 def EnableOrientation(*args
, **kwargs
):
2846 """EnableOrientation(bool flag)"""
2847 return _windows
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
2849 def EnablePaper(*args
, **kwargs
):
2850 """EnablePaper(bool flag)"""
2851 return _windows
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
2853 def EnablePrinter(*args
, **kwargs
):
2854 """EnablePrinter(bool flag)"""
2855 return _windows
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
2857 def GetDefaultMinMargins(*args
, **kwargs
):
2858 """GetDefaultMinMargins() -> bool"""
2859 return _windows
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
2861 def GetEnableMargins(*args
, **kwargs
):
2862 """GetEnableMargins() -> bool"""
2863 return _windows
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
2865 def GetEnableOrientation(*args
, **kwargs
):
2866 """GetEnableOrientation() -> bool"""
2867 return _windows
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
2869 def GetEnablePaper(*args
, **kwargs
):
2870 """GetEnablePaper() -> bool"""
2871 return _windows
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
2873 def GetEnablePrinter(*args
, **kwargs
):
2874 """GetEnablePrinter() -> bool"""
2875 return _windows
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
2877 def GetEnableHelp(*args
, **kwargs
):
2878 """GetEnableHelp() -> bool"""
2879 return _windows
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
2881 def GetDefaultInfo(*args
, **kwargs
):
2882 """GetDefaultInfo() -> bool"""
2883 return _windows
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
2885 def GetMarginTopLeft(*args
, **kwargs
):
2886 """GetMarginTopLeft() -> Point"""
2887 return _windows
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
2889 def GetMarginBottomRight(*args
, **kwargs
):
2890 """GetMarginBottomRight() -> Point"""
2891 return _windows
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
2893 def GetMinMarginTopLeft(*args
, **kwargs
):
2894 """GetMinMarginTopLeft() -> Point"""
2895 return _windows
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
2897 def GetMinMarginBottomRight(*args
, **kwargs
):
2898 """GetMinMarginBottomRight() -> Point"""
2899 return _windows
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
2901 def GetPaperId(*args
, **kwargs
):
2902 """GetPaperId() -> wxPaperSize"""
2903 return _windows
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
2905 def GetPaperSize(*args
, **kwargs
):
2906 """GetPaperSize() -> Size"""
2907 return _windows
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
2909 def GetPrintData(*args
, **kwargs
):
2910 """GetPrintData() -> PrintData"""
2911 return _windows
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
2913 def Ok(*args
, **kwargs
):
2915 return _windows
.PageSetupDialogData_Ok(*args
, **kwargs
)
2917 def SetDefaultInfo(*args
, **kwargs
):
2918 """SetDefaultInfo(bool flag)"""
2919 return _windows
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
2921 def SetDefaultMinMargins(*args
, **kwargs
):
2922 """SetDefaultMinMargins(bool flag)"""
2923 return _windows
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
2925 def SetMarginTopLeft(*args
, **kwargs
):
2926 """SetMarginTopLeft(Point pt)"""
2927 return _windows
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
2929 def SetMarginBottomRight(*args
, **kwargs
):
2930 """SetMarginBottomRight(Point pt)"""
2931 return _windows
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
2933 def SetMinMarginTopLeft(*args
, **kwargs
):
2934 """SetMinMarginTopLeft(Point pt)"""
2935 return _windows
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
2937 def SetMinMarginBottomRight(*args
, **kwargs
):
2938 """SetMinMarginBottomRight(Point pt)"""
2939 return _windows
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
2941 def SetPaperId(*args
, **kwargs
):
2942 """SetPaperId(wxPaperSize id)"""
2943 return _windows
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
2945 def SetPaperSize(*args
, **kwargs
):
2946 """SetPaperSize(Size size)"""
2947 return _windows
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
2949 def SetPrintData(*args
, **kwargs
):
2950 """SetPrintData(PrintData printData)"""
2951 return _windows
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
2953 def __nonzero__(self
): return self
.Ok()
2955 class PageSetupDialogDataPtr(PageSetupDialogData
):
2956 def __init__(self
, this
):
2958 if not hasattr(self
,"thisown"): self
.thisown
= 0
2959 self
.__class
__ = PageSetupDialogData
2960 _windows
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
2962 class PageSetupDialog(Dialog
):
2965 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2966 def __init__(self
, *args
, **kwargs
):
2967 """__init__(Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
2968 newobj
= _windows
.new_PageSetupDialog(*args
, **kwargs
)
2969 self
.this
= newobj
.this
2972 self
._setOORInfo
(self
)
2974 def GetPageSetupData(*args
, **kwargs
):
2975 """GetPageSetupData() -> PageSetupDialogData"""
2976 return _windows
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
2978 def ShowModal(*args
, **kwargs
):
2979 """ShowModal() -> int"""
2980 return _windows
.PageSetupDialog_ShowModal(*args
, **kwargs
)
2983 class PageSetupDialogPtr(PageSetupDialog
):
2984 def __init__(self
, this
):
2986 if not hasattr(self
,"thisown"): self
.thisown
= 0
2987 self
.__class
__ = PageSetupDialog
2988 _windows
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
2990 class PrintDialogData(core
.Object
):
2993 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2994 def __init__(self
, *args
, **kwargs
):
2995 """__init__() -> PrintDialogData"""
2996 newobj
= _windows
.new_PrintDialogData(*args
, **kwargs
)
2997 self
.this
= newobj
.this
3000 def __del__(self
, destroy
=_windows
.delete_PrintDialogData
):
3003 if self
.thisown
: destroy(self
)
3006 def GetFromPage(*args
, **kwargs
):
3007 """GetFromPage() -> int"""
3008 return _windows
.PrintDialogData_GetFromPage(*args
, **kwargs
)
3010 def GetToPage(*args
, **kwargs
):
3011 """GetToPage() -> int"""
3012 return _windows
.PrintDialogData_GetToPage(*args
, **kwargs
)
3014 def GetMinPage(*args
, **kwargs
):
3015 """GetMinPage() -> int"""
3016 return _windows
.PrintDialogData_GetMinPage(*args
, **kwargs
)
3018 def GetMaxPage(*args
, **kwargs
):
3019 """GetMaxPage() -> int"""
3020 return _windows
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
3022 def GetNoCopies(*args
, **kwargs
):
3023 """GetNoCopies() -> int"""
3024 return _windows
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
3026 def GetAllPages(*args
, **kwargs
):
3027 """GetAllPages() -> bool"""
3028 return _windows
.PrintDialogData_GetAllPages(*args
, **kwargs
)
3030 def GetSelection(*args
, **kwargs
):
3031 """GetSelection() -> bool"""
3032 return _windows
.PrintDialogData_GetSelection(*args
, **kwargs
)
3034 def GetCollate(*args
, **kwargs
):
3035 """GetCollate() -> bool"""
3036 return _windows
.PrintDialogData_GetCollate(*args
, **kwargs
)
3038 def GetPrintToFile(*args
, **kwargs
):
3039 """GetPrintToFile() -> bool"""
3040 return _windows
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
3042 def GetSetupDialog(*args
, **kwargs
):
3043 """GetSetupDialog() -> bool"""
3044 return _windows
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
3046 def SetFromPage(*args
, **kwargs
):
3047 """SetFromPage(int v)"""
3048 return _windows
.PrintDialogData_SetFromPage(*args
, **kwargs
)
3050 def SetToPage(*args
, **kwargs
):
3051 """SetToPage(int v)"""
3052 return _windows
.PrintDialogData_SetToPage(*args
, **kwargs
)
3054 def SetMinPage(*args
, **kwargs
):
3055 """SetMinPage(int v)"""
3056 return _windows
.PrintDialogData_SetMinPage(*args
, **kwargs
)
3058 def SetMaxPage(*args
, **kwargs
):
3059 """SetMaxPage(int v)"""
3060 return _windows
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
3062 def SetNoCopies(*args
, **kwargs
):
3063 """SetNoCopies(int v)"""
3064 return _windows
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
3066 def SetAllPages(*args
, **kwargs
):
3067 """SetAllPages(bool flag)"""
3068 return _windows
.PrintDialogData_SetAllPages(*args
, **kwargs
)
3070 def SetSelection(*args
, **kwargs
):
3071 """SetSelection(bool flag)"""
3072 return _windows
.PrintDialogData_SetSelection(*args
, **kwargs
)
3074 def SetCollate(*args
, **kwargs
):
3075 """SetCollate(bool flag)"""
3076 return _windows
.PrintDialogData_SetCollate(*args
, **kwargs
)
3078 def SetPrintToFile(*args
, **kwargs
):
3079 """SetPrintToFile(bool flag)"""
3080 return _windows
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
3082 def SetSetupDialog(*args
, **kwargs
):
3083 """SetSetupDialog(bool flag)"""
3084 return _windows
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
3086 def EnablePrintToFile(*args
, **kwargs
):
3087 """EnablePrintToFile(bool flag)"""
3088 return _windows
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
3090 def EnableSelection(*args
, **kwargs
):
3091 """EnableSelection(bool flag)"""
3092 return _windows
.PrintDialogData_EnableSelection(*args
, **kwargs
)
3094 def EnablePageNumbers(*args
, **kwargs
):
3095 """EnablePageNumbers(bool flag)"""
3096 return _windows
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
3098 def EnableHelp(*args
, **kwargs
):
3099 """EnableHelp(bool flag)"""
3100 return _windows
.PrintDialogData_EnableHelp(*args
, **kwargs
)
3102 def GetEnablePrintToFile(*args
, **kwargs
):
3103 """GetEnablePrintToFile() -> bool"""
3104 return _windows
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
3106 def GetEnableSelection(*args
, **kwargs
):
3107 """GetEnableSelection() -> bool"""
3108 return _windows
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
3110 def GetEnablePageNumbers(*args
, **kwargs
):
3111 """GetEnablePageNumbers() -> bool"""
3112 return _windows
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
3114 def GetEnableHelp(*args
, **kwargs
):
3115 """GetEnableHelp() -> bool"""
3116 return _windows
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
3118 def Ok(*args
, **kwargs
):
3120 return _windows
.PrintDialogData_Ok(*args
, **kwargs
)
3122 def GetPrintData(*args
, **kwargs
):
3123 """GetPrintData() -> PrintData"""
3124 return _windows
.PrintDialogData_GetPrintData(*args
, **kwargs
)
3126 def SetPrintData(*args
, **kwargs
):
3127 """SetPrintData(PrintData printData)"""
3128 return _windows
.PrintDialogData_SetPrintData(*args
, **kwargs
)
3130 def __nonzero__(self
): return self
.Ok()
3132 class PrintDialogDataPtr(PrintDialogData
):
3133 def __init__(self
, this
):
3135 if not hasattr(self
,"thisown"): self
.thisown
= 0
3136 self
.__class
__ = PrintDialogData
3137 _windows
.PrintDialogData_swigregister(PrintDialogDataPtr
)
3139 class PrintDialog(Dialog
):
3142 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3143 def __init__(self
, *args
, **kwargs
):
3144 """__init__(Window parent, PrintDialogData data=None) -> PrintDialog"""
3145 newobj
= _windows
.new_PrintDialog(*args
, **kwargs
)
3146 self
.this
= newobj
.this
3149 self
._setOORInfo
(self
)
3151 def GetPrintDialogData(*args
, **kwargs
):
3152 """GetPrintDialogData() -> PrintDialogData"""
3153 return _windows
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
3155 def GetPrintDC(*args
, **kwargs
):
3156 """GetPrintDC() -> wxDC"""
3157 return _windows
.PrintDialog_GetPrintDC(*args
, **kwargs
)
3159 def ShowModal(*args
, **kwargs
):
3160 """ShowModal() -> int"""
3161 return _windows
.PrintDialog_ShowModal(*args
, **kwargs
)
3164 class PrintDialogPtr(PrintDialog
):
3165 def __init__(self
, this
):
3167 if not hasattr(self
,"thisown"): self
.thisown
= 0
3168 self
.__class
__ = PrintDialog
3169 _windows
.PrintDialog_swigregister(PrintDialogPtr
)
3171 PRINTER_NO_ERROR
= _windows
.PRINTER_NO_ERROR
3172 PRINTER_CANCELLED
= _windows
.PRINTER_CANCELLED
3173 PRINTER_ERROR
= _windows
.PRINTER_ERROR
3174 class Printer(core
.Object
):
3177 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3178 def __init__(self
, *args
, **kwargs
):
3179 """__init__(PrintDialogData data=None) -> Printer"""
3180 newobj
= _windows
.new_Printer(*args
, **kwargs
)
3181 self
.this
= newobj
.this
3184 def __del__(self
, destroy
=_windows
.delete_Printer
):
3187 if self
.thisown
: destroy(self
)
3190 def CreateAbortWindow(*args
, **kwargs
):
3191 """CreateAbortWindow(Window parent, Printout printout)"""
3192 return _windows
.Printer_CreateAbortWindow(*args
, **kwargs
)
3194 def GetPrintDialogData(*args
, **kwargs
):
3195 """GetPrintDialogData() -> PrintDialogData"""
3196 return _windows
.Printer_GetPrintDialogData(*args
, **kwargs
)
3198 def Print(*args
, **kwargs
):
3199 """Print(Window parent, Printout printout, int prompt=True) -> bool"""
3200 return _windows
.Printer_Print(*args
, **kwargs
)
3202 def PrintDialog(*args
, **kwargs
):
3203 """PrintDialog(Window parent) -> wxDC"""
3204 return _windows
.Printer_PrintDialog(*args
, **kwargs
)
3206 def ReportError(*args
, **kwargs
):
3207 """ReportError(Window parent, Printout printout, wxString message)"""
3208 return _windows
.Printer_ReportError(*args
, **kwargs
)
3210 def Setup(*args
, **kwargs
):
3211 """Setup(Window parent) -> bool"""
3212 return _windows
.Printer_Setup(*args
, **kwargs
)
3214 def GetAbort(*args
, **kwargs
):
3215 """GetAbort() -> bool"""
3216 return _windows
.Printer_GetAbort(*args
, **kwargs
)
3218 def GetLastError(*args
, **kwargs
):
3219 """Printer.GetLastError() -> wxPrinterError"""
3220 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3222 GetLastError
= staticmethod(GetLastError
)
3224 class PrinterPtr(Printer
):
3225 def __init__(self
, this
):
3227 if not hasattr(self
,"thisown"): self
.thisown
= 0
3228 self
.__class
__ = Printer
3229 _windows
.Printer_swigregister(PrinterPtr
)
3231 def Printer_GetLastError(*args
, **kwargs
):
3232 """Printer_GetLastError() -> wxPrinterError"""
3233 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3235 class Printout(core
.Object
):
3238 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3239 def __init__(self
, *args
, **kwargs
):
3240 """__init__(wxString title=wxPyPrintoutTitleStr) -> Printout"""
3241 newobj
= _windows
.new_Printout(*args
, **kwargs
)
3242 self
.this
= newobj
.this
3245 self
._setCallbackInfo
(self
, Printout
)
3247 def _setCallbackInfo(*args
, **kwargs
):
3248 """_setCallbackInfo(PyObject self, PyObject _class)"""
3249 return _windows
.Printout__setCallbackInfo(*args
, **kwargs
)
3251 def GetTitle(*args
, **kwargs
):
3252 """GetTitle() -> wxString"""
3253 return _windows
.Printout_GetTitle(*args
, **kwargs
)
3255 def GetDC(*args
, **kwargs
):
3256 """GetDC() -> wxDC"""
3257 return _windows
.Printout_GetDC(*args
, **kwargs
)
3259 def SetDC(*args
, **kwargs
):
3260 """SetDC(wxDC dc)"""
3261 return _windows
.Printout_SetDC(*args
, **kwargs
)
3263 def SetPageSizePixels(*args
, **kwargs
):
3264 """SetPageSizePixels(int w, int h)"""
3265 return _windows
.Printout_SetPageSizePixels(*args
, **kwargs
)
3267 def GetPageSizePixels(*args
, **kwargs
):
3268 """GetPageSizePixels() -> (w, h)"""
3269 return _windows
.Printout_GetPageSizePixels(*args
, **kwargs
)
3271 def SetPageSizeMM(*args
, **kwargs
):
3272 """SetPageSizeMM(int w, int h)"""
3273 return _windows
.Printout_SetPageSizeMM(*args
, **kwargs
)
3275 def GetPageSizeMM(*args
, **kwargs
):
3276 """GetPageSizeMM() -> (w, h)"""
3277 return _windows
.Printout_GetPageSizeMM(*args
, **kwargs
)
3279 def SetPPIScreen(*args
, **kwargs
):
3280 """SetPPIScreen(int x, int y)"""
3281 return _windows
.Printout_SetPPIScreen(*args
, **kwargs
)
3283 def GetPPIScreen(*args
, **kwargs
):
3284 """GetPPIScreen() -> (x,y)"""
3285 return _windows
.Printout_GetPPIScreen(*args
, **kwargs
)
3287 def SetPPIPrinter(*args
, **kwargs
):
3288 """SetPPIPrinter(int x, int y)"""
3289 return _windows
.Printout_SetPPIPrinter(*args
, **kwargs
)
3291 def GetPPIPrinter(*args
, **kwargs
):
3292 """GetPPIPrinter() -> (x,y)"""
3293 return _windows
.Printout_GetPPIPrinter(*args
, **kwargs
)
3295 def IsPreview(*args
, **kwargs
):
3296 """IsPreview() -> bool"""
3297 return _windows
.Printout_IsPreview(*args
, **kwargs
)
3299 def SetIsPreview(*args
, **kwargs
):
3300 """SetIsPreview(bool p)"""
3301 return _windows
.Printout_SetIsPreview(*args
, **kwargs
)
3303 def base_OnBeginDocument(*args
, **kwargs
):
3304 """base_OnBeginDocument(int startPage, int endPage) -> bool"""
3305 return _windows
.Printout_base_OnBeginDocument(*args
, **kwargs
)
3307 def base_OnEndDocument(*args
, **kwargs
):
3308 """base_OnEndDocument()"""
3309 return _windows
.Printout_base_OnEndDocument(*args
, **kwargs
)
3311 def base_OnBeginPrinting(*args
, **kwargs
):
3312 """base_OnBeginPrinting()"""
3313 return _windows
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
3315 def base_OnEndPrinting(*args
, **kwargs
):
3316 """base_OnEndPrinting()"""
3317 return _windows
.Printout_base_OnEndPrinting(*args
, **kwargs
)
3319 def base_OnPreparePrinting(*args
, **kwargs
):
3320 """base_OnPreparePrinting()"""
3321 return _windows
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
3323 def base_HasPage(*args
, **kwargs
):
3324 """base_HasPage(int page) -> bool"""
3325 return _windows
.Printout_base_HasPage(*args
, **kwargs
)
3327 def base_GetPageInfo(*args
, **kwargs
):
3328 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
3329 return _windows
.Printout_base_GetPageInfo(*args
, **kwargs
)
3332 class PrintoutPtr(Printout
):
3333 def __init__(self
, this
):
3335 if not hasattr(self
,"thisown"): self
.thisown
= 0
3336 self
.__class
__ = Printout
3337 _windows
.Printout_swigregister(PrintoutPtr
)
3339 class PreviewCanvas(ScrolledWindow
):
3342 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3343 def __init__(self
, *args
, **kwargs
):
3344 """__init__(PrintPreview preview, Window parent, Point pos=DefaultPosition,
3345 Size size=DefaultSize, long style=0,
3346 wxString name=wxPyPreviewCanvasNameStr) -> PreviewCanvas"""
3347 newobj
= _windows
.new_PreviewCanvas(*args
, **kwargs
)
3348 self
.this
= newobj
.this
3351 self
._setOORInfo
(self
)
3354 class PreviewCanvasPtr(PreviewCanvas
):
3355 def __init__(self
, this
):
3357 if not hasattr(self
,"thisown"): self
.thisown
= 0
3358 self
.__class
__ = PreviewCanvas
3359 _windows
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
3361 class PreviewFrame(Frame
):
3364 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3365 def __init__(self
, *args
, **kwargs
):
3366 """__init__(PrintPreview preview, Frame parent, wxString title,
3367 Point pos=DefaultPosition, Size size=DefaultSize,
3368 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PreviewFrame"""
3369 newobj
= _windows
.new_PreviewFrame(*args
, **kwargs
)
3370 self
.this
= newobj
.this
3373 self
._setOORInfo
(self
)
3375 def Initialize(*args
, **kwargs
):
3377 return _windows
.PreviewFrame_Initialize(*args
, **kwargs
)
3379 def CreateControlBar(*args
, **kwargs
):
3380 """CreateControlBar()"""
3381 return _windows
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
3383 def CreateCanvas(*args
, **kwargs
):
3384 """CreateCanvas()"""
3385 return _windows
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
3387 def GetControlBar(*args
, **kwargs
):
3388 """GetControlBar() -> PreviewControlBar"""
3389 return _windows
.PreviewFrame_GetControlBar(*args
, **kwargs
)
3392 class PreviewFramePtr(PreviewFrame
):
3393 def __init__(self
, this
):
3395 if not hasattr(self
,"thisown"): self
.thisown
= 0
3396 self
.__class
__ = PreviewFrame
3397 _windows
.PreviewFrame_swigregister(PreviewFramePtr
)
3399 PREVIEW_PRINT
= _windows
.PREVIEW_PRINT
3400 PREVIEW_PREVIOUS
= _windows
.PREVIEW_PREVIOUS
3401 PREVIEW_NEXT
= _windows
.PREVIEW_NEXT
3402 PREVIEW_ZOOM
= _windows
.PREVIEW_ZOOM
3403 PREVIEW_FIRST
= _windows
.PREVIEW_FIRST
3404 PREVIEW_LAST
= _windows
.PREVIEW_LAST
3405 PREVIEW_GOTO
= _windows
.PREVIEW_GOTO
3406 PREVIEW_DEFAULT
= _windows
.PREVIEW_DEFAULT
3407 ID_PREVIEW_CLOSE
= _windows
.ID_PREVIEW_CLOSE
3408 ID_PREVIEW_NEXT
= _windows
.ID_PREVIEW_NEXT
3409 ID_PREVIEW_PREVIOUS
= _windows
.ID_PREVIEW_PREVIOUS
3410 ID_PREVIEW_PRINT
= _windows
.ID_PREVIEW_PRINT
3411 ID_PREVIEW_ZOOM
= _windows
.ID_PREVIEW_ZOOM
3412 ID_PREVIEW_FIRST
= _windows
.ID_PREVIEW_FIRST
3413 ID_PREVIEW_LAST
= _windows
.ID_PREVIEW_LAST
3414 ID_PREVIEW_GOTO
= _windows
.ID_PREVIEW_GOTO
3415 class PreviewControlBar(Panel
):
3418 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3419 def __init__(self
, *args
, **kwargs
):
3420 """__init__(PrintPreview preview, long buttons, Window parent,
3421 Point pos=DefaultPosition, Size size=DefaultSize,
3422 long style=TAB_TRAVERSAL, wxString name=PanelNameStr) -> PreviewControlBar"""
3423 newobj
= _windows
.new_PreviewControlBar(*args
, **kwargs
)
3424 self
.this
= newobj
.this
3427 self
._setOORInfo
(self
)
3429 def GetZoomControl(*args
, **kwargs
):
3430 """GetZoomControl() -> int"""
3431 return _windows
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
3433 def SetZoomControl(*args
, **kwargs
):
3434 """SetZoomControl(int zoom)"""
3435 return _windows
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
3437 def GetPrintPreview(*args
, **kwargs
):
3438 """GetPrintPreview() -> PrintPreview"""
3439 return _windows
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
3441 def OnNext(*args
, **kwargs
):
3443 return _windows
.PreviewControlBar_OnNext(*args
, **kwargs
)
3445 def OnPrevious(*args
, **kwargs
):
3447 return _windows
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
3449 def OnFirst(*args
, **kwargs
):
3451 return _windows
.PreviewControlBar_OnFirst(*args
, **kwargs
)
3453 def OnLast(*args
, **kwargs
):
3455 return _windows
.PreviewControlBar_OnLast(*args
, **kwargs
)
3457 def OnGoto(*args
, **kwargs
):
3459 return _windows
.PreviewControlBar_OnGoto(*args
, **kwargs
)
3462 class PreviewControlBarPtr(PreviewControlBar
):
3463 def __init__(self
, this
):
3465 if not hasattr(self
,"thisown"): self
.thisown
= 0
3466 self
.__class
__ = PreviewControlBar
3467 _windows
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
3469 class PrintPreview(core
.Object
):
3472 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3473 def __init__(self
, *args
, **kwargs
):
3474 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PrintPreview"""
3475 newobj
= _windows
.new_PrintPreview(*args
, **kwargs
)
3476 self
.this
= newobj
.this
3479 def SetCurrentPage(*args
, **kwargs
):
3480 """SetCurrentPage(int pageNum) -> bool"""
3481 return _windows
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
3483 def GetCurrentPage(*args
, **kwargs
):
3484 """GetCurrentPage() -> int"""
3485 return _windows
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
3487 def SetPrintout(*args
, **kwargs
):
3488 """SetPrintout(Printout printout)"""
3489 return _windows
.PrintPreview_SetPrintout(*args
, **kwargs
)
3491 def GetPrintout(*args
, **kwargs
):
3492 """GetPrintout() -> Printout"""
3493 return _windows
.PrintPreview_GetPrintout(*args
, **kwargs
)
3495 def GetPrintoutForPrinting(*args
, **kwargs
):
3496 """GetPrintoutForPrinting() -> Printout"""
3497 return _windows
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
3499 def SetFrame(*args
, **kwargs
):
3500 """SetFrame(Frame frame)"""
3501 return _windows
.PrintPreview_SetFrame(*args
, **kwargs
)
3503 def SetCanvas(*args
, **kwargs
):
3504 """SetCanvas(PreviewCanvas canvas)"""
3505 return _windows
.PrintPreview_SetCanvas(*args
, **kwargs
)
3507 def GetFrame(*args
, **kwargs
):
3508 """GetFrame() -> Frame"""
3509 return _windows
.PrintPreview_GetFrame(*args
, **kwargs
)
3511 def GetCanvas(*args
, **kwargs
):
3512 """GetCanvas() -> PreviewCanvas"""
3513 return _windows
.PrintPreview_GetCanvas(*args
, **kwargs
)
3515 def PaintPage(*args
, **kwargs
):
3516 """PaintPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3517 return _windows
.PrintPreview_PaintPage(*args
, **kwargs
)
3519 def DrawBlankPage(*args
, **kwargs
):
3520 """DrawBlankPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3521 return _windows
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
3523 def RenderPage(*args
, **kwargs
):
3524 """RenderPage(int pageNum) -> bool"""
3525 return _windows
.PrintPreview_RenderPage(*args
, **kwargs
)
3527 def AdjustScrollbars(*args
, **kwargs
):
3528 """AdjustScrollbars(PreviewCanvas canvas)"""
3529 return _windows
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
3531 def GetPrintDialogData(*args
, **kwargs
):
3532 """GetPrintDialogData() -> PrintDialogData"""
3533 return _windows
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
3535 def SetZoom(*args
, **kwargs
):
3536 """SetZoom(int percent)"""
3537 return _windows
.PrintPreview_SetZoom(*args
, **kwargs
)
3539 def GetZoom(*args
, **kwargs
):
3540 """GetZoom() -> int"""
3541 return _windows
.PrintPreview_GetZoom(*args
, **kwargs
)
3543 def GetMaxPage(*args
, **kwargs
):
3544 """GetMaxPage() -> int"""
3545 return _windows
.PrintPreview_GetMaxPage(*args
, **kwargs
)
3547 def GetMinPage(*args
, **kwargs
):
3548 """GetMinPage() -> int"""
3549 return _windows
.PrintPreview_GetMinPage(*args
, **kwargs
)
3551 def Ok(*args
, **kwargs
):
3553 return _windows
.PrintPreview_Ok(*args
, **kwargs
)
3555 def SetOk(*args
, **kwargs
):
3556 """SetOk(bool ok)"""
3557 return _windows
.PrintPreview_SetOk(*args
, **kwargs
)
3559 def Print(*args
, **kwargs
):
3560 """Print(bool interactive) -> bool"""
3561 return _windows
.PrintPreview_Print(*args
, **kwargs
)
3563 def DetermineScaling(*args
, **kwargs
):
3564 """DetermineScaling()"""
3565 return _windows
.PrintPreview_DetermineScaling(*args
, **kwargs
)
3567 def __nonzero__(self
): return self
.Ok()
3569 class PrintPreviewPtr(PrintPreview
):
3570 def __init__(self
, this
):
3572 if not hasattr(self
,"thisown"): self
.thisown
= 0
3573 self
.__class
__ = PrintPreview
3574 _windows
.PrintPreview_swigregister(PrintPreviewPtr
)
3576 class PyPrintPreview(PrintPreview
):
3579 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3580 def __init__(self
, *args
, **kwargs
):
3581 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PyPrintPreview"""
3582 newobj
= _windows
.new_PyPrintPreview(*args
, **kwargs
)
3583 self
.this
= newobj
.this
3586 self
._setCallbackInfo
(self
, PyPrintPreview
)
3588 def _setCallbackInfo(*args
, **kwargs
):
3589 """_setCallbackInfo(PyObject self, PyObject _class)"""
3590 return _windows
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
3592 def base_SetCurrentPage(*args
, **kwargs
):
3593 """base_SetCurrentPage(int pageNum) -> bool"""
3594 return _windows
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
3596 def base_PaintPage(*args
, **kwargs
):
3597 """base_PaintPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3598 return _windows
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
3600 def base_DrawBlankPage(*args
, **kwargs
):
3601 """base_DrawBlankPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3602 return _windows
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
3604 def base_RenderPage(*args
, **kwargs
):
3605 """base_RenderPage(int pageNum) -> bool"""
3606 return _windows
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
3608 def base_SetZoom(*args
, **kwargs
):
3609 """base_SetZoom(int percent)"""
3610 return _windows
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
3612 def base_Print(*args
, **kwargs
):
3613 """base_Print(bool interactive) -> bool"""
3614 return _windows
.PyPrintPreview_base_Print(*args
, **kwargs
)
3616 def base_DetermineScaling(*args
, **kwargs
):
3617 """base_DetermineScaling()"""
3618 return _windows
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
3621 class PyPrintPreviewPtr(PyPrintPreview
):
3622 def __init__(self
, this
):
3624 if not hasattr(self
,"thisown"): self
.thisown
= 0
3625 self
.__class
__ = PyPrintPreview
3626 _windows
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
3628 class PyPreviewFrame(PreviewFrame
):
3631 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3632 def __init__(self
, *args
, **kwargs
):
3633 """__init__(PrintPreview preview, Frame parent, wxString title,
3634 Point pos=DefaultPosition, Size size=DefaultSize,
3635 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PyPreviewFrame"""
3636 newobj
= _windows
.new_PyPreviewFrame(*args
, **kwargs
)
3637 self
.this
= newobj
.this
3640 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
3642 def _setCallbackInfo(*args
, **kwargs
):
3643 """_setCallbackInfo(PyObject self, PyObject _class)"""
3644 return _windows
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
3646 def SetPreviewCanvas(*args
, **kwargs
):
3647 """SetPreviewCanvas(PreviewCanvas canvas)"""
3648 return _windows
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
3650 def SetControlBar(*args
, **kwargs
):
3651 """SetControlBar(PreviewControlBar bar)"""
3652 return _windows
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
3654 def base_Initialize(*args
, **kwargs
):
3655 """base_Initialize()"""
3656 return _windows
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
3658 def base_CreateCanvas(*args
, **kwargs
):
3659 """base_CreateCanvas()"""
3660 return _windows
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
3662 def base_CreateControlBar(*args
, **kwargs
):
3663 """base_CreateControlBar()"""
3664 return _windows
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
3667 class PyPreviewFramePtr(PyPreviewFrame
):
3668 def __init__(self
, this
):
3670 if not hasattr(self
,"thisown"): self
.thisown
= 0
3671 self
.__class
__ = PyPreviewFrame
3672 _windows
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
3674 class PyPreviewControlBar(PreviewControlBar
):
3677 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3678 def __init__(self
, *args
, **kwargs
):
3679 """__init__(PrintPreview preview, long buttons, Window parent,
3680 Point pos=DefaultPosition, Size size=DefaultSize,
3681 long style=0, wxString name=PanelNameStr) -> PyPreviewControlBar"""
3682 newobj
= _windows
.new_PyPreviewControlBar(*args
, **kwargs
)
3683 self
.this
= newobj
.this
3686 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
3688 def _setCallbackInfo(*args
, **kwargs
):
3689 """_setCallbackInfo(PyObject self, PyObject _class)"""
3690 return _windows
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
3692 def SetPrintPreview(*args
, **kwargs
):
3693 """SetPrintPreview(PrintPreview preview)"""
3694 return _windows
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
3696 def base_CreateButtons(*args
, **kwargs
):
3697 """base_CreateButtons()"""
3698 return _windows
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
3700 def base_SetZoomControl(*args
, **kwargs
):
3701 """base_SetZoomControl(int zoom)"""
3702 return _windows
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
3705 class PyPreviewControlBarPtr(PyPreviewControlBar
):
3706 def __init__(self
, this
):
3708 if not hasattr(self
,"thisown"): self
.thisown
= 0
3709 self
.__class
__ = PyPreviewControlBar
3710 _windows
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)