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
)
150 class ScrolledWindowPtr(ScrolledWindow
):
151 def __init__(self
, this
):
153 if not hasattr(self
,"thisown"): self
.thisown
= 0
154 self
.__class
__ = ScrolledWindow
155 _windows
.ScrolledWindow_swigregister(ScrolledWindowPtr
)
157 def PreScrolledWindow(*args
, **kwargs
):
158 """PreScrolledWindow() -> ScrolledWindow"""
159 val
= _windows
.new_PreScrolledWindow(*args
, **kwargs
)
163 #---------------------------------------------------------------------------
165 class AcceleratorEntry(object):
168 return "<%s.%s; proxy of C++ wxAcceleratorEntry instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
169 def __init__(self
, *args
, **kwargs
):
170 """__init__(int flags=0, int keyCode=0, int cmd=0, MenuItem item=None) -> AcceleratorEntry"""
171 newobj
= _windows
.new_AcceleratorEntry(*args
, **kwargs
)
172 self
.this
= newobj
.this
175 def __del__(self
, destroy
=_windows
.delete_AcceleratorEntry
):
178 if self
.thisown
: destroy(self
)
181 def Set(*args
, **kwargs
):
182 """Set(int flags, int keyCode, int cmd, MenuItem item=None)"""
183 return _windows
.AcceleratorEntry_Set(*args
, **kwargs
)
185 def SetMenuItem(*args
, **kwargs
):
186 """SetMenuItem(MenuItem item)"""
187 return _windows
.AcceleratorEntry_SetMenuItem(*args
, **kwargs
)
189 def GetMenuItem(*args
, **kwargs
):
190 """GetMenuItem() -> MenuItem"""
191 return _windows
.AcceleratorEntry_GetMenuItem(*args
, **kwargs
)
193 def GetFlags(*args
, **kwargs
):
194 """GetFlags() -> int"""
195 return _windows
.AcceleratorEntry_GetFlags(*args
, **kwargs
)
197 def GetKeyCode(*args
, **kwargs
):
198 """GetKeyCode() -> int"""
199 return _windows
.AcceleratorEntry_GetKeyCode(*args
, **kwargs
)
201 def GetCommand(*args
, **kwargs
):
202 """GetCommand() -> int"""
203 return _windows
.AcceleratorEntry_GetCommand(*args
, **kwargs
)
206 class AcceleratorEntryPtr(AcceleratorEntry
):
207 def __init__(self
, this
):
209 if not hasattr(self
,"thisown"): self
.thisown
= 0
210 self
.__class
__ = AcceleratorEntry
211 _windows
.AcceleratorEntry_swigregister(AcceleratorEntryPtr
)
213 class AcceleratorTable(core
.Object
):
216 return "<%s.%s; proxy of C++ wxAcceleratorTable instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
217 def __init__(self
, *args
, **kwargs
):
218 """__init__(int n, AcceleratorEntry entries) -> AcceleratorTable"""
219 newobj
= _windows
.new_AcceleratorTable(*args
, **kwargs
)
220 self
.this
= newobj
.this
223 def __del__(self
, destroy
=_windows
.delete_AcceleratorTable
):
226 if self
.thisown
: destroy(self
)
229 def Ok(*args
, **kwargs
):
231 return _windows
.AcceleratorTable_Ok(*args
, **kwargs
)
234 class AcceleratorTablePtr(AcceleratorTable
):
235 def __init__(self
, this
):
237 if not hasattr(self
,"thisown"): self
.thisown
= 0
238 self
.__class
__ = AcceleratorTable
239 _windows
.AcceleratorTable_swigregister(AcceleratorTablePtr
)
242 def GetAccelFromString(*args
, **kwargs
):
243 """GetAccelFromString(wxString label) -> AcceleratorEntry"""
244 return _windows
.GetAccelFromString(*args
, **kwargs
)
245 #---------------------------------------------------------------------------
247 FULLSCREEN_NOMENUBAR
= _windows
.FULLSCREEN_NOMENUBAR
248 FULLSCREEN_NOTOOLBAR
= _windows
.FULLSCREEN_NOTOOLBAR
249 FULLSCREEN_NOSTATUSBAR
= _windows
.FULLSCREEN_NOSTATUSBAR
250 FULLSCREEN_NOBORDER
= _windows
.FULLSCREEN_NOBORDER
251 FULLSCREEN_NOCAPTION
= _windows
.FULLSCREEN_NOCAPTION
252 FULLSCREEN_ALL
= _windows
.FULLSCREEN_ALL
253 TOPLEVEL_EX_DIALOG
= _windows
.TOPLEVEL_EX_DIALOG
254 class TopLevelWindow(core
.Window
):
256 def __init__(self
): raise RuntimeError, "No constructor defined"
258 return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
259 def Maximize(*args
, **kwargs
):
260 """Maximize(bool maximize=True)"""
261 return _windows
.TopLevelWindow_Maximize(*args
, **kwargs
)
263 def Restore(*args
, **kwargs
):
265 return _windows
.TopLevelWindow_Restore(*args
, **kwargs
)
267 def Iconize(*args
, **kwargs
):
268 """Iconize(bool iconize=True)"""
269 return _windows
.TopLevelWindow_Iconize(*args
, **kwargs
)
271 def IsMaximized(*args
, **kwargs
):
272 """IsMaximized() -> bool"""
273 return _windows
.TopLevelWindow_IsMaximized(*args
, **kwargs
)
275 def IsIconized(*args
, **kwargs
):
276 """IsIconized() -> bool"""
277 return _windows
.TopLevelWindow_IsIconized(*args
, **kwargs
)
279 def GetIcon(*args
, **kwargs
):
280 """GetIcon() -> wxIcon"""
281 return _windows
.TopLevelWindow_GetIcon(*args
, **kwargs
)
283 def SetIcon(*args
, **kwargs
):
284 """SetIcon(wxIcon icon)"""
285 return _windows
.TopLevelWindow_SetIcon(*args
, **kwargs
)
287 def SetIcons(*args
, **kwargs
):
288 """SetIcons(wxIconBundle icons)"""
289 return _windows
.TopLevelWindow_SetIcons(*args
, **kwargs
)
291 def ShowFullScreen(*args
, **kwargs
):
292 """ShowFullScreen(bool show, long style=FULLSCREEN_ALL) -> bool"""
293 return _windows
.TopLevelWindow_ShowFullScreen(*args
, **kwargs
)
295 def IsFullScreen(*args
, **kwargs
):
296 """IsFullScreen() -> bool"""
297 return _windows
.TopLevelWindow_IsFullScreen(*args
, **kwargs
)
299 def SetTitle(*args
, **kwargs
):
300 """SetTitle(wxString title)"""
301 return _windows
.TopLevelWindow_SetTitle(*args
, **kwargs
)
303 def GetTitle(*args
, **kwargs
):
304 """GetTitle() -> wxString"""
305 return _windows
.TopLevelWindow_GetTitle(*args
, **kwargs
)
307 def SetShape(*args
, **kwargs
):
308 """SetShape(wxRegion region) -> bool"""
309 return _windows
.TopLevelWindow_SetShape(*args
, **kwargs
)
312 class TopLevelWindowPtr(TopLevelWindow
):
313 def __init__(self
, this
):
315 if not hasattr(self
,"thisown"): self
.thisown
= 0
316 self
.__class
__ = TopLevelWindow
317 _windows
.TopLevelWindow_swigregister(TopLevelWindowPtr
)
319 NullAcceleratorTable
= cvar
.NullAcceleratorTable
321 #---------------------------------------------------------------------------
323 class Frame(TopLevelWindow
):
326 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
327 def __init__(self
, *args
, **kwargs
):
328 """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
329 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
330 wxString name=wxPyFrameNameStr) -> Frame"""
331 newobj
= _windows
.new_Frame(*args
, **kwargs
)
332 self
.this
= newobj
.this
335 self
._setOORInfo
(self
)
337 def Create(*args
, **kwargs
):
338 """Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
339 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
340 wxString name=wxPyFrameNameStr) -> bool"""
341 return _windows
.Frame_Create(*args
, **kwargs
)
343 def GetClientAreaOrigin(*args
, **kwargs
):
344 """GetClientAreaOrigin() -> Point"""
345 return _windows
.Frame_GetClientAreaOrigin(*args
, **kwargs
)
347 def SendSizeEvent(*args
, **kwargs
):
348 """SendSizeEvent()"""
349 return _windows
.Frame_SendSizeEvent(*args
, **kwargs
)
351 def SetMenuBar(*args
, **kwargs
):
352 """SetMenuBar(MenuBar menubar)"""
353 return _windows
.Frame_SetMenuBar(*args
, **kwargs
)
355 def GetMenuBar(*args
, **kwargs
):
356 """GetMenuBar() -> MenuBar"""
357 return _windows
.Frame_GetMenuBar(*args
, **kwargs
)
359 def ProcessCommand(*args
, **kwargs
):
360 """ProcessCommand(int winid) -> bool"""
361 return _windows
.Frame_ProcessCommand(*args
, **kwargs
)
363 Command
= ProcessCommand
364 def CreateStatusBar(*args
, **kwargs
):
365 """CreateStatusBar(int number=1, long style=ST_SIZEGRIP, int winid=0,
366 wxString name=wxPyStatusLineNameStr) -> StatusBar"""
367 return _windows
.Frame_CreateStatusBar(*args
, **kwargs
)
369 def GetStatusBar(*args
, **kwargs
):
370 """GetStatusBar() -> StatusBar"""
371 return _windows
.Frame_GetStatusBar(*args
, **kwargs
)
373 def SetStatusBar(*args
, **kwargs
):
374 """SetStatusBar(StatusBar statBar)"""
375 return _windows
.Frame_SetStatusBar(*args
, **kwargs
)
377 def SetStatusText(*args
, **kwargs
):
378 """SetStatusText(wxString text, int number=0)"""
379 return _windows
.Frame_SetStatusText(*args
, **kwargs
)
381 def SetStatusWidths(*args
, **kwargs
):
382 """SetStatusWidths(int widths, int widths_field)"""
383 return _windows
.Frame_SetStatusWidths(*args
, **kwargs
)
385 def PushStatusText(*args
, **kwargs
):
386 """PushStatusText(wxString text, int number=0)"""
387 return _windows
.Frame_PushStatusText(*args
, **kwargs
)
389 def PopStatusText(*args
, **kwargs
):
390 """PopStatusText(int number=0)"""
391 return _windows
.Frame_PopStatusText(*args
, **kwargs
)
393 def SetStatusBarPane(*args
, **kwargs
):
394 """SetStatusBarPane(int n)"""
395 return _windows
.Frame_SetStatusBarPane(*args
, **kwargs
)
397 def GetStatusBarPane(*args
, **kwargs
):
398 """GetStatusBarPane() -> int"""
399 return _windows
.Frame_GetStatusBarPane(*args
, **kwargs
)
401 def CreateToolBar(*args
, **kwargs
):
402 """CreateToolBar(long style=-1, int winid=-1, wxString name=wxPyToolBarNameStr) -> wxToolBar"""
403 return _windows
.Frame_CreateToolBar(*args
, **kwargs
)
405 def GetToolBar(*args
, **kwargs
):
406 """GetToolBar() -> wxToolBar"""
407 return _windows
.Frame_GetToolBar(*args
, **kwargs
)
409 def SetToolBar(*args
, **kwargs
):
410 """SetToolBar(wxToolBar toolbar)"""
411 return _windows
.Frame_SetToolBar(*args
, **kwargs
)
413 def DoGiveHelp(*args
, **kwargs
):
414 """DoGiveHelp(wxString text, bool show)"""
415 return _windows
.Frame_DoGiveHelp(*args
, **kwargs
)
417 def DoMenuUpdates(*args
, **kwargs
):
418 """DoMenuUpdates(Menu menu=None)"""
419 return _windows
.Frame_DoMenuUpdates(*args
, **kwargs
)
422 class FramePtr(Frame
):
423 def __init__(self
, this
):
425 if not hasattr(self
,"thisown"): self
.thisown
= 0
426 self
.__class
__ = Frame
427 _windows
.Frame_swigregister(FramePtr
)
429 def PreFrame(*args
, **kwargs
):
430 """PreFrame() -> Frame"""
431 val
= _windows
.new_PreFrame(*args
, **kwargs
)
435 #---------------------------------------------------------------------------
437 class Dialog(TopLevelWindow
):
440 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
441 def __init__(self
, *args
, **kwargs
):
442 """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
443 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
444 wxString name=wxPyDialogNameStr) -> Dialog"""
445 newobj
= _windows
.new_Dialog(*args
, **kwargs
)
446 self
.this
= newobj
.this
449 self
._setOORInfo
(self
)
451 def Create(*args
, **kwargs
):
452 """Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
453 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
454 wxString name=wxPyDialogNameStr) -> bool"""
455 return _windows
.Dialog_Create(*args
, **kwargs
)
457 def SetReturnCode(*args
, **kwargs
):
458 """SetReturnCode(int returnCode)"""
459 return _windows
.Dialog_SetReturnCode(*args
, **kwargs
)
461 def GetReturnCode(*args
, **kwargs
):
462 """GetReturnCode() -> int"""
463 return _windows
.Dialog_GetReturnCode(*args
, **kwargs
)
465 def CreateTextSizer(*args
, **kwargs
):
466 """CreateTextSizer(wxString message) -> Sizer"""
467 return _windows
.Dialog_CreateTextSizer(*args
, **kwargs
)
469 def CreateButtonSizer(*args
, **kwargs
):
470 """CreateButtonSizer(long flags) -> Sizer"""
471 return _windows
.Dialog_CreateButtonSizer(*args
, **kwargs
)
473 def SetModal(*args
, **kwargs
):
474 """SetModal(bool flag)"""
475 return _windows
.Dialog_SetModal(*args
, **kwargs
)
477 def IsModal(*args
, **kwargs
):
478 """IsModal() -> bool"""
479 return _windows
.Dialog_IsModal(*args
, **kwargs
)
481 def ShowModal(*args
, **kwargs
):
482 """ShowModal() -> int"""
483 return _windows
.Dialog_ShowModal(*args
, **kwargs
)
485 def EndModal(*args
, **kwargs
):
486 """EndModal(int retCode)"""
487 return _windows
.Dialog_EndModal(*args
, **kwargs
)
489 def IsModalShowing(*args
, **kwargs
):
490 """IsModalShowing() -> bool"""
491 return _windows
.Dialog_IsModalShowing(*args
, **kwargs
)
494 class DialogPtr(Dialog
):
495 def __init__(self
, this
):
497 if not hasattr(self
,"thisown"): self
.thisown
= 0
498 self
.__class
__ = Dialog
499 _windows
.Dialog_swigregister(DialogPtr
)
501 def PreDialog(*args
, **kwargs
):
502 """PreDialog() -> Dialog"""
503 val
= _windows
.new_PreDialog(*args
, **kwargs
)
507 #---------------------------------------------------------------------------
509 class MiniFrame(Frame
):
512 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
513 def __init__(self
, *args
, **kwargs
):
514 """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
515 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
516 wxString name=wxPyFrameNameStr) -> MiniFrame"""
517 newobj
= _windows
.new_MiniFrame(*args
, **kwargs
)
518 self
.this
= newobj
.this
521 self
._setOORInfo
(self
)
523 def Create(*args
, **kwargs
):
524 """Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
525 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
526 wxString name=wxPyFrameNameStr) -> bool"""
527 return _windows
.MiniFrame_Create(*args
, **kwargs
)
530 class MiniFramePtr(MiniFrame
):
531 def __init__(self
, this
):
533 if not hasattr(self
,"thisown"): self
.thisown
= 0
534 self
.__class
__ = MiniFrame
535 _windows
.MiniFrame_swigregister(MiniFramePtr
)
537 def PreMiniFrame(*args
, **kwargs
):
538 """PreMiniFrame() -> MiniFrame"""
539 val
= _windows
.new_PreMiniFrame(*args
, **kwargs
)
543 #---------------------------------------------------------------------------
545 SPLASH_CENTRE_ON_PARENT
= _windows
.SPLASH_CENTRE_ON_PARENT
546 SPLASH_CENTRE_ON_SCREEN
= _windows
.SPLASH_CENTRE_ON_SCREEN
547 SPLASH_NO_CENTRE
= _windows
.SPLASH_NO_CENTRE
548 SPLASH_TIMEOUT
= _windows
.SPLASH_TIMEOUT
549 SPLASH_NO_TIMEOUT
= _windows
.SPLASH_NO_TIMEOUT
550 class SplashScreenWindow(core
.Window
):
553 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
554 def __init__(self
, *args
, **kwargs
):
555 """__init__(wxBitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
556 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow"""
557 newobj
= _windows
.new_SplashScreenWindow(*args
, **kwargs
)
558 self
.this
= newobj
.this
561 self
._setOORInfo
(self
)
563 def SetBitmap(*args
, **kwargs
):
564 """SetBitmap(wxBitmap bitmap)"""
565 return _windows
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
567 def GetBitmap(*args
, **kwargs
):
568 """GetBitmap() -> wxBitmap"""
569 return _windows
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
572 class SplashScreenWindowPtr(SplashScreenWindow
):
573 def __init__(self
, this
):
575 if not hasattr(self
,"thisown"): self
.thisown
= 0
576 self
.__class
__ = SplashScreenWindow
577 _windows
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
579 class SplashScreen(Frame
):
582 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
583 def __init__(self
, *args
, **kwargs
):
584 """__init__(wxBitmap bitmap, long splashStyle, int milliseconds,
585 Window parent, int id, Point pos=DefaultPosition,
586 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen"""
587 newobj
= _windows
.new_SplashScreen(*args
, **kwargs
)
588 self
.this
= newobj
.this
591 self
._setOORInfo
(self
)
593 def GetSplashStyle(*args
, **kwargs
):
594 """GetSplashStyle() -> long"""
595 return _windows
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
597 def GetSplashWindow(*args
, **kwargs
):
598 """GetSplashWindow() -> SplashScreenWindow"""
599 return _windows
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
601 def GetTimeout(*args
, **kwargs
):
602 """GetTimeout() -> int"""
603 return _windows
.SplashScreen_GetTimeout(*args
, **kwargs
)
606 class SplashScreenPtr(SplashScreen
):
607 def __init__(self
, this
):
609 if not hasattr(self
,"thisown"): self
.thisown
= 0
610 self
.__class
__ = SplashScreen
611 _windows
.SplashScreen_swigregister(SplashScreenPtr
)
613 #---------------------------------------------------------------------------
615 class StatusBar(core
.Window
):
618 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
619 def __init__(self
, *args
, **kwargs
):
620 """__init__(Window parent, int id=-1, long style=ST_SIZEGRIP, wxString name=wxPyStatusLineNameStr) -> StatusBar"""
621 newobj
= _windows
.new_StatusBar(*args
, **kwargs
)
622 self
.this
= newobj
.this
625 self
._setOORInfo
(self
)
627 def Create(*args
, **kwargs
):
628 """Create(Window parent, int id, long style=ST_SIZEGRIP, wxString name=wxPyStatusLineNameStr) -> bool"""
629 return _windows
.StatusBar_Create(*args
, **kwargs
)
631 def SetFieldsCount(*args
, **kwargs
):
632 """SetFieldsCount(int number=1)"""
633 return _windows
.StatusBar_SetFieldsCount(*args
, **kwargs
)
635 def GetFieldsCount(*args
, **kwargs
):
636 """GetFieldsCount() -> int"""
637 return _windows
.StatusBar_GetFieldsCount(*args
, **kwargs
)
639 def SetStatusText(*args
, **kwargs
):
640 """SetStatusText(wxString text, int number=0)"""
641 return _windows
.StatusBar_SetStatusText(*args
, **kwargs
)
643 def GetStatusText(*args
, **kwargs
):
644 """GetStatusText(int number=0) -> wxString"""
645 return _windows
.StatusBar_GetStatusText(*args
, **kwargs
)
647 def PushStatusText(*args
, **kwargs
):
648 """PushStatusText(wxString text, int number=0)"""
649 return _windows
.StatusBar_PushStatusText(*args
, **kwargs
)
651 def PopStatusText(*args
, **kwargs
):
652 """PopStatusText(int number=0)"""
653 return _windows
.StatusBar_PopStatusText(*args
, **kwargs
)
655 def SetStatusWidths(*args
, **kwargs
):
656 """SetStatusWidths(int widths, int widths_field)"""
657 return _windows
.StatusBar_SetStatusWidths(*args
, **kwargs
)
659 def GetFieldRect(*args
, **kwargs
):
660 """GetFieldRect(int i) -> Rect"""
661 return _windows
.StatusBar_GetFieldRect(*args
, **kwargs
)
663 def SetMinHeight(*args
, **kwargs
):
664 """SetMinHeight(int height)"""
665 return _windows
.StatusBar_SetMinHeight(*args
, **kwargs
)
667 def GetBorderX(*args
, **kwargs
):
668 """GetBorderX() -> int"""
669 return _windows
.StatusBar_GetBorderX(*args
, **kwargs
)
671 def GetBorderY(*args
, **kwargs
):
672 """GetBorderY() -> int"""
673 return _windows
.StatusBar_GetBorderY(*args
, **kwargs
)
676 class StatusBarPtr(StatusBar
):
677 def __init__(self
, this
):
679 if not hasattr(self
,"thisown"): self
.thisown
= 0
680 self
.__class
__ = StatusBar
681 _windows
.StatusBar_swigregister(StatusBarPtr
)
683 def PreStatusBar(*args
, **kwargs
):
684 """PreStatusBar() -> StatusBar"""
685 val
= _windows
.new_PreStatusBar(*args
, **kwargs
)
689 #---------------------------------------------------------------------------
691 SP_NOBORDER
= _windows
.SP_NOBORDER
692 SP_NOSASH
= _windows
.SP_NOSASH
693 SP_PERMIT_UNSPLIT
= _windows
.SP_PERMIT_UNSPLIT
694 SP_LIVE_UPDATE
= _windows
.SP_LIVE_UPDATE
695 SP_3DSASH
= _windows
.SP_3DSASH
696 SP_3DBORDER
= _windows
.SP_3DBORDER
697 SP_BORDER
= _windows
.SP_BORDER
698 SP_3D
= _windows
.SP_3D
699 SPLIT_HORIZONTAL
= _windows
.SPLIT_HORIZONTAL
700 SPLIT_VERTICAL
= _windows
.SPLIT_VERTICAL
701 SPLIT_DRAG_NONE
= _windows
.SPLIT_DRAG_NONE
702 SPLIT_DRAG_DRAGGING
= _windows
.SPLIT_DRAG_DRAGGING
703 SPLIT_DRAG_LEFT_DOWN
= _windows
.SPLIT_DRAG_LEFT_DOWN
704 class SplitterWindow(core
.Window
):
707 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
708 def __init__(self
, *args
, **kwargs
):
709 """__init__(Window parent, int id, Point point=DefaultPosition,
710 Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> SplitterWindow"""
711 newobj
= _windows
.new_SplitterWindow(*args
, **kwargs
)
712 self
.this
= newobj
.this
715 self
._setOORInfo
(self
)
717 def Create(*args
, **kwargs
):
718 """Create(Window parent, int id, Point point=DefaultPosition,
719 Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> bool"""
720 return _windows
.SplitterWindow_Create(*args
, **kwargs
)
722 def GetWindow1(*args
, **kwargs
):
723 """GetWindow1() -> Window"""
724 return _windows
.SplitterWindow_GetWindow1(*args
, **kwargs
)
726 def GetWindow2(*args
, **kwargs
):
727 """GetWindow2() -> Window"""
728 return _windows
.SplitterWindow_GetWindow2(*args
, **kwargs
)
730 def SetSplitMode(*args
, **kwargs
):
731 """SetSplitMode(int mode)"""
732 return _windows
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
734 def GetSplitMode(*args
, **kwargs
):
735 """GetSplitMode() -> wxSplitMode"""
736 return _windows
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
738 def Initialize(*args
, **kwargs
):
739 """Initialize(Window window)"""
740 return _windows
.SplitterWindow_Initialize(*args
, **kwargs
)
742 def SplitVertically(*args
, **kwargs
):
743 """SplitVertically(Window window1, Window window2, int sashPosition=0) -> bool"""
744 return _windows
.SplitterWindow_SplitVertically(*args
, **kwargs
)
746 def SplitHorizontally(*args
, **kwargs
):
747 """SplitHorizontally(Window window1, Window window2, int sashPosition=0) -> bool"""
748 return _windows
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
750 def Unsplit(*args
, **kwargs
):
751 """Unsplit(Window toRemove=None) -> bool"""
752 return _windows
.SplitterWindow_Unsplit(*args
, **kwargs
)
754 def ReplaceWindow(*args
, **kwargs
):
755 """ReplaceWindow(Window winOld, Window winNew) -> bool"""
756 return _windows
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
758 def IsSplit(*args
, **kwargs
):
759 """IsSplit() -> bool"""
760 return _windows
.SplitterWindow_IsSplit(*args
, **kwargs
)
762 def SetSashSize(*args
, **kwargs
):
763 """SetSashSize(int width)"""
764 return _windows
.SplitterWindow_SetSashSize(*args
, **kwargs
)
766 def SetBorderSize(*args
, **kwargs
):
767 """SetBorderSize(int width)"""
768 return _windows
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
770 def GetSashSize(*args
, **kwargs
):
771 """GetSashSize() -> int"""
772 return _windows
.SplitterWindow_GetSashSize(*args
, **kwargs
)
774 def GetBorderSize(*args
, **kwargs
):
775 """GetBorderSize() -> int"""
776 return _windows
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
778 def SetSashPosition(*args
, **kwargs
):
779 """SetSashPosition(int position, bool redraw=True)"""
780 return _windows
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
782 def GetSashPosition(*args
, **kwargs
):
783 """GetSashPosition() -> int"""
784 return _windows
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
786 def SetMinimumPaneSize(*args
, **kwargs
):
787 """SetMinimumPaneSize(int min)"""
788 return _windows
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
790 def GetMinimumPaneSize(*args
, **kwargs
):
791 """GetMinimumPaneSize() -> int"""
792 return _windows
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
794 def SashHitTest(*args
, **kwargs
):
795 """SashHitTest(int x, int y, int tolerance=5) -> bool"""
796 return _windows
.SplitterWindow_SashHitTest(*args
, **kwargs
)
798 def SizeWindows(*args
, **kwargs
):
800 return _windows
.SplitterWindow_SizeWindows(*args
, **kwargs
)
802 def SetNeedUpdating(*args
, **kwargs
):
803 """SetNeedUpdating(bool needUpdating)"""
804 return _windows
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
806 def GetNeedUpdating(*args
, **kwargs
):
807 """GetNeedUpdating() -> bool"""
808 return _windows
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
811 class SplitterWindowPtr(SplitterWindow
):
812 def __init__(self
, this
):
814 if not hasattr(self
,"thisown"): self
.thisown
= 0
815 self
.__class
__ = SplitterWindow
816 _windows
.SplitterWindow_swigregister(SplitterWindowPtr
)
818 def PreSplitterWindow(*args
, **kwargs
):
819 """PreSplitterWindow() -> SplitterWindow"""
820 val
= _windows
.new_PreSplitterWindow(*args
, **kwargs
)
824 class SplitterEvent(core
.NotifyEvent
):
827 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
828 def __init__(self
, *args
, **kwargs
):
829 """__init__(wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent"""
830 newobj
= _windows
.new_SplitterEvent(*args
, **kwargs
)
831 self
.this
= newobj
.this
834 def SetSashPosition(*args
, **kwargs
):
835 """SetSashPosition(int pos)"""
836 return _windows
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
838 def GetSashPosition(*args
, **kwargs
):
839 """GetSashPosition() -> int"""
840 return _windows
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
842 def GetWindowBeingRemoved(*args
, **kwargs
):
843 """GetWindowBeingRemoved() -> Window"""
844 return _windows
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
846 def GetX(*args
, **kwargs
):
848 return _windows
.SplitterEvent_GetX(*args
, **kwargs
)
850 def GetY(*args
, **kwargs
):
852 return _windows
.SplitterEvent_GetY(*args
, **kwargs
)
855 class SplitterEventPtr(SplitterEvent
):
856 def __init__(self
, this
):
858 if not hasattr(self
,"thisown"): self
.thisown
= 0
859 self
.__class
__ = SplitterEvent
860 _windows
.SplitterEvent_swigregister(SplitterEventPtr
)
862 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
863 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
864 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
865 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows
.wxEVT_COMMAND_SPLITTER_UNSPLIT
866 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
867 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
868 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
869 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
871 #---------------------------------------------------------------------------
873 SASH_DRAG_NONE
= _windows
.SASH_DRAG_NONE
874 SASH_DRAG_DRAGGING
= _windows
.SASH_DRAG_DRAGGING
875 SASH_DRAG_LEFT_DOWN
= _windows
.SASH_DRAG_LEFT_DOWN
876 SW_NOBORDER
= _windows
.SW_NOBORDER
877 SW_BORDER
= _windows
.SW_BORDER
878 SW_3DSASH
= _windows
.SW_3DSASH
879 SW_3DBORDER
= _windows
.SW_3DBORDER
880 SW_3D
= _windows
.SW_3D
881 SASH_TOP
= _windows
.SASH_TOP
882 SASH_RIGHT
= _windows
.SASH_RIGHT
883 SASH_BOTTOM
= _windows
.SASH_BOTTOM
884 SASH_LEFT
= _windows
.SASH_LEFT
885 SASH_NONE
= _windows
.SASH_NONE
886 class SashWindow(core
.Window
):
889 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
890 def __init__(self
, *args
, **kwargs
):
891 """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
892 long style=wxCLIP_CHILDREN|wxSW_3D,
893 wxString name=wxPySashNameStr) -> SashWindow"""
894 newobj
= _windows
.new_SashWindow(*args
, **kwargs
)
895 self
.this
= newobj
.this
898 self
._setOORInfo
(self
)
900 def Create(*args
, **kwargs
):
901 """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
902 long style=wxCLIP_CHILDREN|wxSW_3D,
903 wxString name=wxPySashNameStr) -> bool"""
904 return _windows
.SashWindow_Create(*args
, **kwargs
)
906 def SetSashVisible(*args
, **kwargs
):
907 """SetSashVisible(wxSashEdgePosition edge, bool sash)"""
908 return _windows
.SashWindow_SetSashVisible(*args
, **kwargs
)
910 def GetSashVisible(*args
, **kwargs
):
911 """GetSashVisible(wxSashEdgePosition edge) -> bool"""
912 return _windows
.SashWindow_GetSashVisible(*args
, **kwargs
)
914 def SetSashBorder(*args
, **kwargs
):
915 """SetSashBorder(wxSashEdgePosition edge, bool border)"""
916 return _windows
.SashWindow_SetSashBorder(*args
, **kwargs
)
918 def HasBorder(*args
, **kwargs
):
919 """HasBorder(wxSashEdgePosition edge) -> bool"""
920 return _windows
.SashWindow_HasBorder(*args
, **kwargs
)
922 def GetEdgeMargin(*args
, **kwargs
):
923 """GetEdgeMargin(wxSashEdgePosition edge) -> int"""
924 return _windows
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
926 def SetDefaultBorderSize(*args
, **kwargs
):
927 """SetDefaultBorderSize(int width)"""
928 return _windows
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
930 def GetDefaultBorderSize(*args
, **kwargs
):
931 """GetDefaultBorderSize() -> int"""
932 return _windows
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
934 def SetExtraBorderSize(*args
, **kwargs
):
935 """SetExtraBorderSize(int width)"""
936 return _windows
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
938 def GetExtraBorderSize(*args
, **kwargs
):
939 """GetExtraBorderSize() -> int"""
940 return _windows
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
942 def SetMinimumSizeX(*args
, **kwargs
):
943 """SetMinimumSizeX(int min)"""
944 return _windows
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
946 def SetMinimumSizeY(*args
, **kwargs
):
947 """SetMinimumSizeY(int min)"""
948 return _windows
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
950 def GetMinimumSizeX(*args
, **kwargs
):
951 """GetMinimumSizeX() -> int"""
952 return _windows
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
954 def GetMinimumSizeY(*args
, **kwargs
):
955 """GetMinimumSizeY() -> int"""
956 return _windows
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
958 def SetMaximumSizeX(*args
, **kwargs
):
959 """SetMaximumSizeX(int max)"""
960 return _windows
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
962 def SetMaximumSizeY(*args
, **kwargs
):
963 """SetMaximumSizeY(int max)"""
964 return _windows
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
966 def GetMaximumSizeX(*args
, **kwargs
):
967 """GetMaximumSizeX() -> int"""
968 return _windows
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
970 def GetMaximumSizeY(*args
, **kwargs
):
971 """GetMaximumSizeY() -> int"""
972 return _windows
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
974 def SashHitTest(*args
, **kwargs
):
975 """SashHitTest(int x, int y, int tolerance=2) -> wxSashEdgePosition"""
976 return _windows
.SashWindow_SashHitTest(*args
, **kwargs
)
978 def SizeWindows(*args
, **kwargs
):
980 return _windows
.SashWindow_SizeWindows(*args
, **kwargs
)
983 class SashWindowPtr(SashWindow
):
984 def __init__(self
, this
):
986 if not hasattr(self
,"thisown"): self
.thisown
= 0
987 self
.__class
__ = SashWindow
988 _windows
.SashWindow_swigregister(SashWindowPtr
)
990 def PreSashWindow(*args
, **kwargs
):
991 """PreSashWindow() -> SashWindow"""
992 val
= _windows
.new_PreSashWindow(*args
, **kwargs
)
996 SASH_STATUS_OK
= _windows
.SASH_STATUS_OK
997 SASH_STATUS_OUT_OF_RANGE
= _windows
.SASH_STATUS_OUT_OF_RANGE
998 class SashEvent(core
.CommandEvent
):
1001 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1002 def __init__(self
, *args
, **kwargs
):
1003 """__init__(int id=0, wxSashEdgePosition edge=SASH_NONE) -> SashEvent"""
1004 newobj
= _windows
.new_SashEvent(*args
, **kwargs
)
1005 self
.this
= newobj
.this
1008 def SetEdge(*args
, **kwargs
):
1009 """SetEdge(wxSashEdgePosition edge)"""
1010 return _windows
.SashEvent_SetEdge(*args
, **kwargs
)
1012 def GetEdge(*args
, **kwargs
):
1013 """GetEdge() -> wxSashEdgePosition"""
1014 return _windows
.SashEvent_GetEdge(*args
, **kwargs
)
1016 def SetDragRect(*args
, **kwargs
):
1017 """SetDragRect(Rect rect)"""
1018 return _windows
.SashEvent_SetDragRect(*args
, **kwargs
)
1020 def GetDragRect(*args
, **kwargs
):
1021 """GetDragRect() -> Rect"""
1022 return _windows
.SashEvent_GetDragRect(*args
, **kwargs
)
1024 def SetDragStatus(*args
, **kwargs
):
1025 """SetDragStatus(wxSashDragStatus status)"""
1026 return _windows
.SashEvent_SetDragStatus(*args
, **kwargs
)
1028 def GetDragStatus(*args
, **kwargs
):
1029 """GetDragStatus() -> wxSashDragStatus"""
1030 return _windows
.SashEvent_GetDragStatus(*args
, **kwargs
)
1033 class SashEventPtr(SashEvent
):
1034 def __init__(self
, this
):
1036 if not hasattr(self
,"thisown"): self
.thisown
= 0
1037 self
.__class
__ = SashEvent
1038 _windows
.SashEvent_swigregister(SashEventPtr
)
1040 wxEVT_SASH_DRAGGED
= _windows
.wxEVT_SASH_DRAGGED
1041 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
1042 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
1044 #---------------------------------------------------------------------------
1046 LAYOUT_HORIZONTAL
= _windows
.LAYOUT_HORIZONTAL
1047 LAYOUT_VERTICAL
= _windows
.LAYOUT_VERTICAL
1048 LAYOUT_NONE
= _windows
.LAYOUT_NONE
1049 LAYOUT_TOP
= _windows
.LAYOUT_TOP
1050 LAYOUT_LEFT
= _windows
.LAYOUT_LEFT
1051 LAYOUT_RIGHT
= _windows
.LAYOUT_RIGHT
1052 LAYOUT_BOTTOM
= _windows
.LAYOUT_BOTTOM
1053 LAYOUT_LENGTH_Y
= _windows
.LAYOUT_LENGTH_Y
1054 LAYOUT_LENGTH_X
= _windows
.LAYOUT_LENGTH_X
1055 LAYOUT_MRU_LENGTH
= _windows
.LAYOUT_MRU_LENGTH
1056 LAYOUT_QUERY
= _windows
.LAYOUT_QUERY
1057 wxEVT_QUERY_LAYOUT_INFO
= _windows
.wxEVT_QUERY_LAYOUT_INFO
1058 wxEVT_CALCULATE_LAYOUT
= _windows
.wxEVT_CALCULATE_LAYOUT
1059 class QueryLayoutInfoEvent(core
.Event
):
1062 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1063 def __init__(self
, *args
, **kwargs
):
1064 """__init__(int id=0) -> QueryLayoutInfoEvent"""
1065 newobj
= _windows
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1066 self
.this
= newobj
.this
1069 def SetRequestedLength(*args
, **kwargs
):
1070 """SetRequestedLength(int length)"""
1071 return _windows
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1073 def GetRequestedLength(*args
, **kwargs
):
1074 """GetRequestedLength() -> int"""
1075 return _windows
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1077 def SetFlags(*args
, **kwargs
):
1078 """SetFlags(int flags)"""
1079 return _windows
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1081 def GetFlags(*args
, **kwargs
):
1082 """GetFlags() -> int"""
1083 return _windows
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1085 def SetSize(*args
, **kwargs
):
1086 """SetSize(Size size)"""
1087 return _windows
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1089 def GetSize(*args
, **kwargs
):
1090 """GetSize() -> Size"""
1091 return _windows
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1093 def SetOrientation(*args
, **kwargs
):
1094 """SetOrientation(wxLayoutOrientation orient)"""
1095 return _windows
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1097 def GetOrientation(*args
, **kwargs
):
1098 """GetOrientation() -> wxLayoutOrientation"""
1099 return _windows
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1101 def SetAlignment(*args
, **kwargs
):
1102 """SetAlignment(wxLayoutAlignment align)"""
1103 return _windows
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1105 def GetAlignment(*args
, **kwargs
):
1106 """GetAlignment() -> wxLayoutAlignment"""
1107 return _windows
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1110 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1111 def __init__(self
, this
):
1113 if not hasattr(self
,"thisown"): self
.thisown
= 0
1114 self
.__class
__ = QueryLayoutInfoEvent
1115 _windows
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1117 class CalculateLayoutEvent(core
.Event
):
1120 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1121 def __init__(self
, *args
, **kwargs
):
1122 """__init__(int id=0) -> CalculateLayoutEvent"""
1123 newobj
= _windows
.new_CalculateLayoutEvent(*args
, **kwargs
)
1124 self
.this
= newobj
.this
1127 def SetFlags(*args
, **kwargs
):
1128 """SetFlags(int flags)"""
1129 return _windows
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1131 def GetFlags(*args
, **kwargs
):
1132 """GetFlags() -> int"""
1133 return _windows
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1135 def SetRect(*args
, **kwargs
):
1136 """SetRect(Rect rect)"""
1137 return _windows
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1139 def GetRect(*args
, **kwargs
):
1140 """GetRect() -> Rect"""
1141 return _windows
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1144 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1145 def __init__(self
, this
):
1147 if not hasattr(self
,"thisown"): self
.thisown
= 0
1148 self
.__class
__ = CalculateLayoutEvent
1149 _windows
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1151 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1152 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1154 class SashLayoutWindow(SashWindow
):
1157 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1158 def __init__(self
, *args
, **kwargs
):
1159 """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1160 long style=wxCLIP_CHILDREN|wxSW_3D,
1161 wxString name=wxPySashLayoutNameStr) -> SashLayoutWindow"""
1162 newobj
= _windows
.new_SashLayoutWindow(*args
, **kwargs
)
1163 self
.this
= newobj
.this
1166 self
._setOORInfo
(self
)
1168 def Create(*args
, **kwargs
):
1169 """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1170 long style=wxCLIP_CHILDREN|wxSW_3D,
1171 wxString name=wxPySashLayoutNameStr) -> bool"""
1172 return _windows
.SashLayoutWindow_Create(*args
, **kwargs
)
1174 def GetAlignment(*args
, **kwargs
):
1175 """GetAlignment() -> wxLayoutAlignment"""
1176 return _windows
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1178 def GetOrientation(*args
, **kwargs
):
1179 """GetOrientation() -> wxLayoutOrientation"""
1180 return _windows
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1182 def SetAlignment(*args
, **kwargs
):
1183 """SetAlignment(wxLayoutAlignment alignment)"""
1184 return _windows
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1186 def SetDefaultSize(*args
, **kwargs
):
1187 """SetDefaultSize(Size size)"""
1188 return _windows
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1190 def SetOrientation(*args
, **kwargs
):
1191 """SetOrientation(wxLayoutOrientation orientation)"""
1192 return _windows
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1195 class SashLayoutWindowPtr(SashLayoutWindow
):
1196 def __init__(self
, this
):
1198 if not hasattr(self
,"thisown"): self
.thisown
= 0
1199 self
.__class
__ = SashLayoutWindow
1200 _windows
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1202 def PreSashLayoutWindow(*args
, **kwargs
):
1203 """PreSashLayoutWindow() -> SashLayoutWindow"""
1204 val
= _windows
.new_PreSashLayoutWindow(*args
, **kwargs
)
1208 class LayoutAlgorithm(core
.Object
):
1211 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1212 def __init__(self
, *args
, **kwargs
):
1213 """__init__() -> LayoutAlgorithm"""
1214 newobj
= _windows
.new_LayoutAlgorithm(*args
, **kwargs
)
1215 self
.this
= newobj
.this
1218 def __del__(self
, destroy
=_windows
.delete_LayoutAlgorithm
):
1221 if self
.thisown
: destroy(self
)
1224 def LayoutMDIFrame(*args
, **kwargs
):
1225 """LayoutMDIFrame(MDIParentFrame frame, Rect rect=None) -> bool"""
1226 return _windows
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1228 def LayoutFrame(*args
, **kwargs
):
1229 """LayoutFrame(Frame frame, Window mainWindow=None) -> bool"""
1230 return _windows
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1232 def LayoutWindow(*args
, **kwargs
):
1233 """LayoutWindow(Window parent, Window mainWindow=None) -> bool"""
1234 return _windows
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1237 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1238 def __init__(self
, this
):
1240 if not hasattr(self
,"thisown"): self
.thisown
= 0
1241 self
.__class
__ = LayoutAlgorithm
1242 _windows
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1244 #---------------------------------------------------------------------------
1246 class PopupWindow(core
.Window
):
1249 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1250 def __init__(self
, *args
, **kwargs
):
1251 """__init__(Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1252 newobj
= _windows
.new_PopupWindow(*args
, **kwargs
)
1253 self
.this
= newobj
.this
1256 self
._setOORInfo
(self
)
1258 def Create(*args
, **kwargs
):
1259 """Create(Window parent, int flags=BORDER_NONE) -> bool"""
1260 return _windows
.PopupWindow_Create(*args
, **kwargs
)
1262 def Position(*args
, **kwargs
):
1263 """Position(Point ptOrigin, Size size)"""
1264 return _windows
.PopupWindow_Position(*args
, **kwargs
)
1267 class PopupWindowPtr(PopupWindow
):
1268 def __init__(self
, this
):
1270 if not hasattr(self
,"thisown"): self
.thisown
= 0
1271 self
.__class
__ = PopupWindow
1272 _windows
.PopupWindow_swigregister(PopupWindowPtr
)
1274 def PrePopupWindow(*args
, **kwargs
):
1275 """PrePopupWindow() -> PopupWindow"""
1276 val
= _windows
.new_PrePopupWindow(*args
, **kwargs
)
1280 #---------------------------------------------------------------------------
1282 class PopupTransientWindow(PopupWindow
):
1285 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1286 def __init__(self
, *args
, **kwargs
):
1287 """__init__(Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1288 newobj
= _windows
.new_PopupTransientWindow(*args
, **kwargs
)
1289 self
.this
= newobj
.this
1292 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, PopupTransientWindow
)
1294 def _setCallbackInfo(*args
, **kwargs
):
1295 """_setCallbackInfo(PyObject self, PyObject _class)"""
1296 return _windows
.PopupTransientWindow__setCallbackInfo(*args
, **kwargs
)
1298 def Popup(*args
, **kwargs
):
1299 """Popup(Window focus=None)"""
1300 return _windows
.PopupTransientWindow_Popup(*args
, **kwargs
)
1302 def Dismiss(*args
, **kwargs
):
1304 return _windows
.PopupTransientWindow_Dismiss(*args
, **kwargs
)
1307 class PopupTransientWindowPtr(PopupTransientWindow
):
1308 def __init__(self
, this
):
1310 if not hasattr(self
,"thisown"): self
.thisown
= 0
1311 self
.__class
__ = PopupTransientWindow
1312 _windows
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1314 def PrePopupTransientWindow(*args
, **kwargs
):
1315 """PrePopupTransientWindow() -> PopupTransientWindow"""
1316 val
= _windows
.new_PrePopupTransientWindow(*args
, **kwargs
)
1320 #---------------------------------------------------------------------------
1322 class TipWindow(PopupTransientWindow
):
1325 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1326 def __init__(self
, *args
, **kwargs
):
1327 """__init__(Window parent, wxString text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1328 newobj
= _windows
.new_TipWindow(*args
, **kwargs
)
1329 self
.this
= newobj
.this
1332 self
._setOORInfo
(self
)
1334 def SetBoundingRect(*args
, **kwargs
):
1335 """SetBoundingRect(Rect rectBound)"""
1336 return _windows
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1338 def Close(*args
, **kwargs
):
1340 return _windows
.TipWindow_Close(*args
, **kwargs
)
1343 class TipWindowPtr(TipWindow
):
1344 def __init__(self
, this
):
1346 if not hasattr(self
,"thisown"): self
.thisown
= 0
1347 self
.__class
__ = TipWindow
1348 _windows
.TipWindow_swigregister(TipWindowPtr
)
1350 #---------------------------------------------------------------------------
1352 class VScrolledWindow(Panel
):
1355 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1356 def __init__(self
, *args
, **kwargs
):
1357 """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1358 Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> VScrolledWindow"""
1359 newobj
= _windows
.new_VScrolledWindow(*args
, **kwargs
)
1360 self
.this
= newobj
.this
1363 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1365 def _setCallbackInfo(*args
, **kwargs
):
1366 """_setCallbackInfo(PyObject self, PyObject _class)"""
1367 return _windows
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1369 def Create(*args
, **kwargs
):
1370 """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1371 Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> bool"""
1372 return _windows
.VScrolledWindow_Create(*args
, **kwargs
)
1374 def SetLineCount(*args
, **kwargs
):
1375 """SetLineCount(size_t count)"""
1376 return _windows
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1378 def ScrollToLine(*args
, **kwargs
):
1379 """ScrollToLine(size_t line) -> bool"""
1380 return _windows
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1382 def ScrollLines(*args
, **kwargs
):
1383 """ScrollLines(int lines) -> bool"""
1384 return _windows
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1386 def ScrollPages(*args
, **kwargs
):
1387 """ScrollPages(int pages) -> bool"""
1388 return _windows
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1390 def RefreshLine(*args
, **kwargs
):
1391 """RefreshLine(size_t line)"""
1392 return _windows
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1394 def RefreshLines(*args
, **kwargs
):
1395 """RefreshLines(size_t from, size_t to)"""
1396 return _windows
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1398 def HitTestXT(*args
, **kwargs
):
1399 """HitTestXT(int x, int y) -> int"""
1400 return _windows
.VScrolledWindow_HitTestXT(*args
, **kwargs
)
1402 def HitTest(*args
, **kwargs
):
1403 """HitTest(Point pt) -> int"""
1404 return _windows
.VScrolledWindow_HitTest(*args
, **kwargs
)
1406 def RefreshAll(*args
, **kwargs
):
1408 return _windows
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1410 def GetLineCount(*args
, **kwargs
):
1411 """GetLineCount() -> size_t"""
1412 return _windows
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1414 def GetFirstVisibleLine(*args
, **kwargs
):
1415 """GetFirstVisibleLine() -> size_t"""
1416 return _windows
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1418 def GetLastVisibleLine(*args
, **kwargs
):
1419 """GetLastVisibleLine() -> size_t"""
1420 return _windows
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1422 def IsVisible(*args
, **kwargs
):
1423 """IsVisible(size_t line) -> bool"""
1424 return _windows
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1427 class VScrolledWindowPtr(VScrolledWindow
):
1428 def __init__(self
, this
):
1430 if not hasattr(self
,"thisown"): self
.thisown
= 0
1431 self
.__class
__ = VScrolledWindow
1432 _windows
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
1434 def PreVScrolledWindow(*args
, **kwargs
):
1435 """PreVScrolledWindow() -> VScrolledWindow"""
1436 val
= _windows
.new_PreVScrolledWindow(*args
, **kwargs
)
1440 class VListBox(VScrolledWindow
):
1443 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1444 def __init__(self
, *args
, **kwargs
):
1445 """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1446 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> VListBox"""
1447 newobj
= _windows
.new_VListBox(*args
, **kwargs
)
1448 self
.this
= newobj
.this
1451 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
1453 def _setCallbackInfo(*args
, **kwargs
):
1454 """_setCallbackInfo(PyObject self, PyObject _class)"""
1455 return _windows
.VListBox__setCallbackInfo(*args
, **kwargs
)
1457 def Create(*args
, **kwargs
):
1458 """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1459 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool"""
1460 return _windows
.VListBox_Create(*args
, **kwargs
)
1462 def GetItemCount(*args
, **kwargs
):
1463 """GetItemCount() -> size_t"""
1464 return _windows
.VListBox_GetItemCount(*args
, **kwargs
)
1466 def HasMultipleSelection(*args
, **kwargs
):
1467 """HasMultipleSelection() -> bool"""
1468 return _windows
.VListBox_HasMultipleSelection(*args
, **kwargs
)
1470 def GetSelection(*args
, **kwargs
):
1471 """GetSelection() -> int"""
1472 return _windows
.VListBox_GetSelection(*args
, **kwargs
)
1474 def IsCurrent(*args
, **kwargs
):
1475 """IsCurrent(size_t item) -> bool"""
1476 return _windows
.VListBox_IsCurrent(*args
, **kwargs
)
1478 def IsSelected(*args
, **kwargs
):
1479 """IsSelected(size_t item) -> bool"""
1480 return _windows
.VListBox_IsSelected(*args
, **kwargs
)
1482 def GetSelectedCount(*args
, **kwargs
):
1483 """GetSelectedCount() -> size_t"""
1484 return _windows
.VListBox_GetSelectedCount(*args
, **kwargs
)
1486 def GetFirstSelected(*args
, **kwargs
):
1487 """GetFirstSelected(unsigned long cookie) -> int"""
1488 return _windows
.VListBox_GetFirstSelected(*args
, **kwargs
)
1490 def GetNextSelected(*args
, **kwargs
):
1491 """GetNextSelected(unsigned long cookie) -> int"""
1492 return _windows
.VListBox_GetNextSelected(*args
, **kwargs
)
1494 def GetMargins(*args
, **kwargs
):
1495 """GetMargins() -> Point"""
1496 return _windows
.VListBox_GetMargins(*args
, **kwargs
)
1498 def GetSelectionBackground(*args
, **kwargs
):
1499 """GetSelectionBackground() -> wxColour"""
1500 return _windows
.VListBox_GetSelectionBackground(*args
, **kwargs
)
1502 def SetItemCount(*args
, **kwargs
):
1503 """SetItemCount(size_t count)"""
1504 return _windows
.VListBox_SetItemCount(*args
, **kwargs
)
1506 def Clear(*args
, **kwargs
):
1508 return _windows
.VListBox_Clear(*args
, **kwargs
)
1510 def SetSelection(*args
, **kwargs
):
1511 """SetSelection(int selection)"""
1512 return _windows
.VListBox_SetSelection(*args
, **kwargs
)
1514 def Select(*args
, **kwargs
):
1515 """Select(size_t item, bool select=True) -> bool"""
1516 return _windows
.VListBox_Select(*args
, **kwargs
)
1518 def SelectRange(*args
, **kwargs
):
1519 """SelectRange(size_t from, size_t to) -> bool"""
1520 return _windows
.VListBox_SelectRange(*args
, **kwargs
)
1522 def Toggle(*args
, **kwargs
):
1523 """Toggle(size_t item)"""
1524 return _windows
.VListBox_Toggle(*args
, **kwargs
)
1526 def SelectAll(*args
, **kwargs
):
1527 """SelectAll() -> bool"""
1528 return _windows
.VListBox_SelectAll(*args
, **kwargs
)
1530 def DeselectAll(*args
, **kwargs
):
1531 """DeselectAll() -> bool"""
1532 return _windows
.VListBox_DeselectAll(*args
, **kwargs
)
1534 def SetMargins(*args
, **kwargs
):
1535 """SetMargins(Point pt)"""
1536 return _windows
.VListBox_SetMargins(*args
, **kwargs
)
1538 def SetMarginsXY(*args
, **kwargs
):
1539 """SetMarginsXY(int x, int y)"""
1540 return _windows
.VListBox_SetMarginsXY(*args
, **kwargs
)
1542 def SetSelectionBackground(*args
, **kwargs
):
1543 """SetSelectionBackground(wxColour col)"""
1544 return _windows
.VListBox_SetSelectionBackground(*args
, **kwargs
)
1547 class VListBoxPtr(VListBox
):
1548 def __init__(self
, this
):
1550 if not hasattr(self
,"thisown"): self
.thisown
= 0
1551 self
.__class
__ = VListBox
1552 _windows
.VListBox_swigregister(VListBoxPtr
)
1554 def PreVListBox(*args
, **kwargs
):
1555 """PreVListBox() -> VListBox"""
1556 val
= _windows
.new_PreVListBox(*args
, **kwargs
)
1560 class HtmlListBox(VListBox
):
1563 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1564 def __init__(self
, *args
, **kwargs
):
1565 """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1566 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> HtmlListBox"""
1567 newobj
= _windows
.new_HtmlListBox(*args
, **kwargs
)
1568 self
.this
= newobj
.this
1571 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
1573 def _setCallbackInfo(*args
, **kwargs
):
1574 """_setCallbackInfo(PyObject self, PyObject _class)"""
1575 return _windows
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
1577 def Create(*args
, **kwargs
):
1578 """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1579 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool"""
1580 return _windows
.HtmlListBox_Create(*args
, **kwargs
)
1582 def RefreshAll(*args
, **kwargs
):
1584 return _windows
.HtmlListBox_RefreshAll(*args
, **kwargs
)
1586 def SetItemCount(*args
, **kwargs
):
1587 """SetItemCount(size_t count)"""
1588 return _windows
.HtmlListBox_SetItemCount(*args
, **kwargs
)
1591 class HtmlListBoxPtr(HtmlListBox
):
1592 def __init__(self
, this
):
1594 if not hasattr(self
,"thisown"): self
.thisown
= 0
1595 self
.__class
__ = HtmlListBox
1596 _windows
.HtmlListBox_swigregister(HtmlListBoxPtr
)
1598 def PreHtmlListBox(*args
, **kwargs
):
1599 """PreHtmlListBox() -> HtmlListBox"""
1600 val
= _windows
.new_PreHtmlListBox(*args
, **kwargs
)
1604 #---------------------------------------------------------------------------
1606 class TaskBarIcon(core
.EvtHandler
):
1609 return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1610 def __init__(self
, *args
, **kwargs
):
1611 """__init__() -> TaskBarIcon"""
1612 newobj
= _windows
.new_TaskBarIcon(*args
, **kwargs
)
1613 self
.this
= newobj
.this
1616 def __del__(self
, destroy
=_windows
.delete_TaskBarIcon
):
1619 if self
.thisown
: destroy(self
)
1622 def IsOk(*args
, **kwargs
):
1623 """IsOk() -> bool"""
1624 return _windows
.TaskBarIcon_IsOk(*args
, **kwargs
)
1626 def IsIconInstalled(*args
, **kwargs
):
1627 """IsIconInstalled() -> bool"""
1628 return _windows
.TaskBarIcon_IsIconInstalled(*args
, **kwargs
)
1630 def SetIcon(*args
, **kwargs
):
1631 """SetIcon(wxIcon icon, wxString tooltip=wxPyEmptyString) -> bool"""
1632 return _windows
.TaskBarIcon_SetIcon(*args
, **kwargs
)
1634 def RemoveIcon(*args
, **kwargs
):
1635 """RemoveIcon(void ??) -> bool"""
1636 return _windows
.TaskBarIcon_RemoveIcon(*args
, **kwargs
)
1638 def PopupMenu(*args
, **kwargs
):
1639 """PopupMenu(Menu menu) -> bool"""
1640 return _windows
.TaskBarIcon_PopupMenu(*args
, **kwargs
)
1643 class TaskBarIconPtr(TaskBarIcon
):
1644 def __init__(self
, this
):
1646 if not hasattr(self
,"thisown"): self
.thisown
= 0
1647 self
.__class
__ = TaskBarIcon
1648 _windows
.TaskBarIcon_swigregister(TaskBarIconPtr
)
1650 class TaskBarIconEvent(core
.Event
):
1653 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1654 def __init__(self
, *args
, **kwargs
):
1655 """__init__(wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
1656 newobj
= _windows
.new_TaskBarIconEvent(*args
, **kwargs
)
1657 self
.this
= newobj
.this
1661 class TaskBarIconEventPtr(TaskBarIconEvent
):
1662 def __init__(self
, this
):
1664 if not hasattr(self
,"thisown"): self
.thisown
= 0
1665 self
.__class
__ = TaskBarIconEvent
1666 _windows
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
1668 wxEVT_TASKBAR_MOVE
= _windows
.wxEVT_TASKBAR_MOVE
1669 wxEVT_TASKBAR_LEFT_DOWN
= _windows
.wxEVT_TASKBAR_LEFT_DOWN
1670 wxEVT_TASKBAR_LEFT_UP
= _windows
.wxEVT_TASKBAR_LEFT_UP
1671 wxEVT_TASKBAR_RIGHT_DOWN
= _windows
.wxEVT_TASKBAR_RIGHT_DOWN
1672 wxEVT_TASKBAR_RIGHT_UP
= _windows
.wxEVT_TASKBAR_RIGHT_UP
1673 wxEVT_TASKBAR_LEFT_DCLICK
= _windows
.wxEVT_TASKBAR_LEFT_DCLICK
1674 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows
.wxEVT_TASKBAR_RIGHT_DCLICK
1675 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
1676 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
1677 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
1678 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
1679 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
1680 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
1681 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
1683 #---------------------------------------------------------------------------
1685 class ColourData(core
.Object
):
1688 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1689 def __init__(self
, *args
, **kwargs
):
1690 """__init__() -> ColourData"""
1691 newobj
= _windows
.new_ColourData(*args
, **kwargs
)
1692 self
.this
= newobj
.this
1695 def __del__(self
, destroy
=_windows
.delete_ColourData
):
1698 if self
.thisown
: destroy(self
)
1701 def GetChooseFull(*args
, **kwargs
):
1702 """GetChooseFull() -> bool"""
1703 return _windows
.ColourData_GetChooseFull(*args
, **kwargs
)
1705 def GetColour(*args
, **kwargs
):
1706 """GetColour() -> wxColour"""
1707 return _windows
.ColourData_GetColour(*args
, **kwargs
)
1709 def GetCustomColour(*args
, **kwargs
):
1710 """GetCustomColour(int i) -> wxColour"""
1711 return _windows
.ColourData_GetCustomColour(*args
, **kwargs
)
1713 def SetChooseFull(*args
, **kwargs
):
1714 """SetChooseFull(int flag)"""
1715 return _windows
.ColourData_SetChooseFull(*args
, **kwargs
)
1717 def SetColour(*args
, **kwargs
):
1718 """SetColour(wxColour colour)"""
1719 return _windows
.ColourData_SetColour(*args
, **kwargs
)
1721 def SetCustomColour(*args
, **kwargs
):
1722 """SetCustomColour(int i, wxColour colour)"""
1723 return _windows
.ColourData_SetCustomColour(*args
, **kwargs
)
1726 class ColourDataPtr(ColourData
):
1727 def __init__(self
, this
):
1729 if not hasattr(self
,"thisown"): self
.thisown
= 0
1730 self
.__class
__ = ColourData
1731 _windows
.ColourData_swigregister(ColourDataPtr
)
1733 class ColourDialog(Dialog
):
1736 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1737 def __init__(self
, *args
, **kwargs
):
1738 """__init__(Window parent, ColourData data=None) -> ColourDialog"""
1739 newobj
= _windows
.new_ColourDialog(*args
, **kwargs
)
1740 self
.this
= newobj
.this
1743 self
._setOORInfo
(self
)
1745 def GetColourData(*args
, **kwargs
):
1746 """GetColourData() -> ColourData"""
1747 return _windows
.ColourDialog_GetColourData(*args
, **kwargs
)
1749 def ShowModal(*args
, **kwargs
):
1750 """ShowModal() -> int"""
1751 return _windows
.ColourDialog_ShowModal(*args
, **kwargs
)
1754 class ColourDialogPtr(ColourDialog
):
1755 def __init__(self
, this
):
1757 if not hasattr(self
,"thisown"): self
.thisown
= 0
1758 self
.__class
__ = ColourDialog
1759 _windows
.ColourDialog_swigregister(ColourDialogPtr
)
1761 class DirDialog(Dialog
):
1764 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1765 def __init__(self
, *args
, **kwargs
):
1766 """__init__(Window parent, wxString message=wxPyDirSelectorPromptStr,
1767 wxString defaultPath=wxPyEmptyString,
1768 long style=0, Point pos=DefaultPosition, Size size=DefaultSize,
1769 wxString name=wxPyDirDialogNameStr) -> DirDialog"""
1770 newobj
= _windows
.new_DirDialog(*args
, **kwargs
)
1771 self
.this
= newobj
.this
1774 self
._setOORInfo
(self
)
1776 def GetPath(*args
, **kwargs
):
1777 """GetPath() -> wxString"""
1778 return _windows
.DirDialog_GetPath(*args
, **kwargs
)
1780 def GetMessage(*args
, **kwargs
):
1781 """GetMessage() -> wxString"""
1782 return _windows
.DirDialog_GetMessage(*args
, **kwargs
)
1784 def GetStyle(*args
, **kwargs
):
1785 """GetStyle() -> long"""
1786 return _windows
.DirDialog_GetStyle(*args
, **kwargs
)
1788 def SetMessage(*args
, **kwargs
):
1789 """SetMessage(wxString message)"""
1790 return _windows
.DirDialog_SetMessage(*args
, **kwargs
)
1792 def SetPath(*args
, **kwargs
):
1793 """SetPath(wxString path)"""
1794 return _windows
.DirDialog_SetPath(*args
, **kwargs
)
1796 def ShowModal(*args
, **kwargs
):
1797 """ShowModal() -> int"""
1798 return _windows
.DirDialog_ShowModal(*args
, **kwargs
)
1801 class DirDialogPtr(DirDialog
):
1802 def __init__(self
, this
):
1804 if not hasattr(self
,"thisown"): self
.thisown
= 0
1805 self
.__class
__ = DirDialog
1806 _windows
.DirDialog_swigregister(DirDialogPtr
)
1808 class FileDialog(Dialog
):
1811 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1812 def __init__(self
, *args
, **kwargs
):
1813 """__init__(Window parent, wxString message=wxPyFileSelectorPromptStr,
1814 wxString defaultDir=wxPyEmptyString,
1815 wxString defaultFile=wxPyEmptyString, wxString wildcard=wxPyFileSelectorDefaultWildcardStr,
1817 Point pos=DefaultPosition) -> FileDialog"""
1818 newobj
= _windows
.new_FileDialog(*args
, **kwargs
)
1819 self
.this
= newobj
.this
1822 self
._setOORInfo
(self
)
1824 def SetMessage(*args
, **kwargs
):
1825 """SetMessage(wxString message)"""
1826 return _windows
.FileDialog_SetMessage(*args
, **kwargs
)
1828 def SetPath(*args
, **kwargs
):
1829 """SetPath(wxString path)"""
1830 return _windows
.FileDialog_SetPath(*args
, **kwargs
)
1832 def SetDirectory(*args
, **kwargs
):
1833 """SetDirectory(wxString dir)"""
1834 return _windows
.FileDialog_SetDirectory(*args
, **kwargs
)
1836 def SetFilename(*args
, **kwargs
):
1837 """SetFilename(wxString name)"""
1838 return _windows
.FileDialog_SetFilename(*args
, **kwargs
)
1840 def SetWildcard(*args
, **kwargs
):
1841 """SetWildcard(wxString wildCard)"""
1842 return _windows
.FileDialog_SetWildcard(*args
, **kwargs
)
1844 def SetStyle(*args
, **kwargs
):
1845 """SetStyle(long style)"""
1846 return _windows
.FileDialog_SetStyle(*args
, **kwargs
)
1848 def SetFilterIndex(*args
, **kwargs
):
1849 """SetFilterIndex(int filterIndex)"""
1850 return _windows
.FileDialog_SetFilterIndex(*args
, **kwargs
)
1852 def GetMessage(*args
, **kwargs
):
1853 """GetMessage() -> wxString"""
1854 return _windows
.FileDialog_GetMessage(*args
, **kwargs
)
1856 def GetPath(*args
, **kwargs
):
1857 """GetPath() -> wxString"""
1858 return _windows
.FileDialog_GetPath(*args
, **kwargs
)
1860 def GetDirectory(*args
, **kwargs
):
1861 """GetDirectory() -> wxString"""
1862 return _windows
.FileDialog_GetDirectory(*args
, **kwargs
)
1864 def GetFilename(*args
, **kwargs
):
1865 """GetFilename() -> wxString"""
1866 return _windows
.FileDialog_GetFilename(*args
, **kwargs
)
1868 def GetWildcard(*args
, **kwargs
):
1869 """GetWildcard() -> wxString"""
1870 return _windows
.FileDialog_GetWildcard(*args
, **kwargs
)
1872 def GetStyle(*args
, **kwargs
):
1873 """GetStyle() -> long"""
1874 return _windows
.FileDialog_GetStyle(*args
, **kwargs
)
1876 def GetFilterIndex(*args
, **kwargs
):
1877 """GetFilterIndex() -> int"""
1878 return _windows
.FileDialog_GetFilterIndex(*args
, **kwargs
)
1880 def GetFilenames(*args
, **kwargs
):
1881 """GetFilenames() -> PyObject"""
1882 return _windows
.FileDialog_GetFilenames(*args
, **kwargs
)
1884 def GetPaths(*args
, **kwargs
):
1885 """GetPaths() -> PyObject"""
1886 return _windows
.FileDialog_GetPaths(*args
, **kwargs
)
1889 class FileDialogPtr(FileDialog
):
1890 def __init__(self
, this
):
1892 if not hasattr(self
,"thisown"): self
.thisown
= 0
1893 self
.__class
__ = FileDialog
1894 _windows
.FileDialog_swigregister(FileDialogPtr
)
1896 CHOICEDLG_STYLE
= _windows
.CHOICEDLG_STYLE
1897 class MultiChoiceDialog(Dialog
):
1900 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1901 def __init__(self
, *args
, **kwargs
):
1902 """__init__(Window parent, wxString message, wxString caption,
1903 int LCOUNT, wxString choices, long style=CHOICEDLG_STYLE,
1904 Point pos=DefaultPosition) -> MultiChoiceDialog"""
1905 newobj
= _windows
.new_MultiChoiceDialog(*args
, **kwargs
)
1906 self
.this
= newobj
.this
1909 self
._setOORInfo
(self
)
1911 def SetSelections(*args
, **kwargs
):
1912 """SetSelections(wxArrayInt selections)"""
1913 return _windows
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
1915 def GetSelections(*args
, **kwargs
):
1916 """GetSelections() -> PyObject"""
1917 return _windows
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
1920 class MultiChoiceDialogPtr(MultiChoiceDialog
):
1921 def __init__(self
, this
):
1923 if not hasattr(self
,"thisown"): self
.thisown
= 0
1924 self
.__class
__ = MultiChoiceDialog
1925 _windows
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
1927 class SingleChoiceDialog(Dialog
):
1930 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1931 def __init__(self
, *args
, **kwargs
):
1932 """__init__(Window parent, wxString message, wxString caption,
1933 int choices, wxString choices_array, long style=CHOICEDLG_STYLE,
1934 Point pos=DefaultPosition) -> SingleChoiceDialog"""
1935 newobj
= _windows
.new_SingleChoiceDialog(*args
, **kwargs
)
1936 self
.this
= newobj
.this
1939 self
._setOORInfo
(self
)
1941 def GetSelection(*args
, **kwargs
):
1942 """GetSelection() -> int"""
1943 return _windows
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
1945 def GetStringSelection(*args
, **kwargs
):
1946 """GetStringSelection() -> wxString"""
1947 return _windows
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
1949 def SetSelection(*args
, **kwargs
):
1950 """SetSelection(int sel)"""
1951 return _windows
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
1953 def ShowModal(*args
, **kwargs
):
1954 """ShowModal() -> int"""
1955 return _windows
.SingleChoiceDialog_ShowModal(*args
, **kwargs
)
1958 class SingleChoiceDialogPtr(SingleChoiceDialog
):
1959 def __init__(self
, this
):
1961 if not hasattr(self
,"thisown"): self
.thisown
= 0
1962 self
.__class
__ = SingleChoiceDialog
1963 _windows
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
1965 class TextEntryDialog(Dialog
):
1968 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1969 def __init__(self
, *args
, **kwargs
):
1970 """__init__(Window parent, wxString message, wxString caption=wxPyGetTextFromUserPromptStr,
1971 wxString defaultValue=wxPyEmptyString,
1972 long style=wxOK|wxCANCEL|wxCENTRE,
1973 Point pos=DefaultPosition) -> TextEntryDialog"""
1974 newobj
= _windows
.new_TextEntryDialog(*args
, **kwargs
)
1975 self
.this
= newobj
.this
1978 self
._setOORInfo
(self
)
1980 def GetValue(*args
, **kwargs
):
1981 """GetValue() -> wxString"""
1982 return _windows
.TextEntryDialog_GetValue(*args
, **kwargs
)
1984 def SetValue(*args
, **kwargs
):
1985 """SetValue(wxString value)"""
1986 return _windows
.TextEntryDialog_SetValue(*args
, **kwargs
)
1988 def ShowModal(*args
, **kwargs
):
1989 """ShowModal() -> int"""
1990 return _windows
.TextEntryDialog_ShowModal(*args
, **kwargs
)
1993 class TextEntryDialogPtr(TextEntryDialog
):
1994 def __init__(self
, this
):
1996 if not hasattr(self
,"thisown"): self
.thisown
= 0
1997 self
.__class
__ = TextEntryDialog
1998 _windows
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
2000 class FontData(core
.Object
):
2003 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2004 def __init__(self
, *args
, **kwargs
):
2005 """__init__() -> FontData"""
2006 newobj
= _windows
.new_FontData(*args
, **kwargs
)
2007 self
.this
= newobj
.this
2010 def __del__(self
, destroy
=_windows
.delete_FontData
):
2013 if self
.thisown
: destroy(self
)
2016 def EnableEffects(*args
, **kwargs
):
2017 """EnableEffects(bool enable)"""
2018 return _windows
.FontData_EnableEffects(*args
, **kwargs
)
2020 def GetAllowSymbols(*args
, **kwargs
):
2021 """GetAllowSymbols() -> bool"""
2022 return _windows
.FontData_GetAllowSymbols(*args
, **kwargs
)
2024 def GetColour(*args
, **kwargs
):
2025 """GetColour() -> wxColour"""
2026 return _windows
.FontData_GetColour(*args
, **kwargs
)
2028 def GetChosenFont(*args
, **kwargs
):
2029 """GetChosenFont() -> wxFont"""
2030 return _windows
.FontData_GetChosenFont(*args
, **kwargs
)
2032 def GetEnableEffects(*args
, **kwargs
):
2033 """GetEnableEffects() -> bool"""
2034 return _windows
.FontData_GetEnableEffects(*args
, **kwargs
)
2036 def GetInitialFont(*args
, **kwargs
):
2037 """GetInitialFont() -> wxFont"""
2038 return _windows
.FontData_GetInitialFont(*args
, **kwargs
)
2040 def GetShowHelp(*args
, **kwargs
):
2041 """GetShowHelp() -> bool"""
2042 return _windows
.FontData_GetShowHelp(*args
, **kwargs
)
2044 def SetAllowSymbols(*args
, **kwargs
):
2045 """SetAllowSymbols(bool allowSymbols)"""
2046 return _windows
.FontData_SetAllowSymbols(*args
, **kwargs
)
2048 def SetChosenFont(*args
, **kwargs
):
2049 """SetChosenFont(wxFont font)"""
2050 return _windows
.FontData_SetChosenFont(*args
, **kwargs
)
2052 def SetColour(*args
, **kwargs
):
2053 """SetColour(wxColour colour)"""
2054 return _windows
.FontData_SetColour(*args
, **kwargs
)
2056 def SetInitialFont(*args
, **kwargs
):
2057 """SetInitialFont(wxFont font)"""
2058 return _windows
.FontData_SetInitialFont(*args
, **kwargs
)
2060 def SetRange(*args
, **kwargs
):
2061 """SetRange(int min, int max)"""
2062 return _windows
.FontData_SetRange(*args
, **kwargs
)
2064 def SetShowHelp(*args
, **kwargs
):
2065 """SetShowHelp(bool showHelp)"""
2066 return _windows
.FontData_SetShowHelp(*args
, **kwargs
)
2069 class FontDataPtr(FontData
):
2070 def __init__(self
, this
):
2072 if not hasattr(self
,"thisown"): self
.thisown
= 0
2073 self
.__class
__ = FontData
2074 _windows
.FontData_swigregister(FontDataPtr
)
2076 class FontDialog(Dialog
):
2079 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2080 def __init__(self
, *args
, **kwargs
):
2081 """__init__(Window parent, FontData data) -> FontDialog"""
2082 newobj
= _windows
.new_FontDialog(*args
, **kwargs
)
2083 self
.this
= newobj
.this
2086 self
._setOORInfo
(self
)
2088 def GetFontData(*args
, **kwargs
):
2089 """GetFontData() -> FontData"""
2090 return _windows
.FontDialog_GetFontData(*args
, **kwargs
)
2092 def ShowModal(*args
, **kwargs
):
2093 """ShowModal() -> int"""
2094 return _windows
.FontDialog_ShowModal(*args
, **kwargs
)
2097 class FontDialogPtr(FontDialog
):
2098 def __init__(self
, this
):
2100 if not hasattr(self
,"thisown"): self
.thisown
= 0
2101 self
.__class
__ = FontDialog
2102 _windows
.FontDialog_swigregister(FontDialogPtr
)
2104 class MessageDialog(Dialog
):
2107 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2108 def __init__(self
, *args
, **kwargs
):
2109 """__init__(Window parent, wxString message, wxString caption=wxPyMessageBoxCaptionStr,
2110 long style=wxOK|wxCANCEL|wxCENTRE,
2111 Point pos=DefaultPosition) -> MessageDialog"""
2112 newobj
= _windows
.new_MessageDialog(*args
, **kwargs
)
2113 self
.this
= newobj
.this
2116 self
._setOORInfo
(self
)
2118 def ShowModal(*args
, **kwargs
):
2119 """ShowModal() -> int"""
2120 return _windows
.MessageDialog_ShowModal(*args
, **kwargs
)
2123 class MessageDialogPtr(MessageDialog
):
2124 def __init__(self
, this
):
2126 if not hasattr(self
,"thisown"): self
.thisown
= 0
2127 self
.__class
__ = MessageDialog
2128 _windows
.MessageDialog_swigregister(MessageDialogPtr
)
2130 class ProgressDialog(Frame
):
2133 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2134 def __init__(self
, *args
, **kwargs
):
2135 """__init__(wxString title, wxString message, int maximum=100,
2136 Window parent=None, int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog"""
2137 newobj
= _windows
.new_ProgressDialog(*args
, **kwargs
)
2138 self
.this
= newobj
.this
2141 self
._setOORInfo
(self
)
2143 def Update(*args
, **kwargs
):
2144 """Update(int value, wxString newmsg=wxPyEmptyString) -> bool"""
2145 return _windows
.ProgressDialog_Update(*args
, **kwargs
)
2147 def Resume(*args
, **kwargs
):
2149 return _windows
.ProgressDialog_Resume(*args
, **kwargs
)
2152 class ProgressDialogPtr(ProgressDialog
):
2153 def __init__(self
, this
):
2155 if not hasattr(self
,"thisown"): self
.thisown
= 0
2156 self
.__class
__ = ProgressDialog
2157 _windows
.ProgressDialog_swigregister(ProgressDialogPtr
)
2159 FR_DOWN
= _windows
.FR_DOWN
2160 FR_WHOLEWORD
= _windows
.FR_WHOLEWORD
2161 FR_MATCHCASE
= _windows
.FR_MATCHCASE
2162 FR_REPLACEDIALOG
= _windows
.FR_REPLACEDIALOG
2163 FR_NOUPDOWN
= _windows
.FR_NOUPDOWN
2164 FR_NOMATCHCASE
= _windows
.FR_NOMATCHCASE
2165 FR_NOWHOLEWORD
= _windows
.FR_NOWHOLEWORD
2166 wxEVT_COMMAND_FIND
= _windows
.wxEVT_COMMAND_FIND
2167 wxEVT_COMMAND_FIND_NEXT
= _windows
.wxEVT_COMMAND_FIND_NEXT
2168 wxEVT_COMMAND_FIND_REPLACE
= _windows
.wxEVT_COMMAND_FIND_REPLACE
2169 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows
.wxEVT_COMMAND_FIND_REPLACE_ALL
2170 wxEVT_COMMAND_FIND_CLOSE
= _windows
.wxEVT_COMMAND_FIND_CLOSE
2171 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
2172 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
2173 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
2174 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
2175 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
2177 # For backwards compatibility. Should they be removed?
2178 EVT_COMMAND_FIND
= EVT_FIND
2179 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
2180 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
2181 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
2182 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
2184 class FindDialogEvent(core
.CommandEvent
):
2187 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2188 def __init__(self
, *args
, **kwargs
):
2189 """__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent"""
2190 newobj
= _windows
.new_FindDialogEvent(*args
, **kwargs
)
2191 self
.this
= newobj
.this
2194 def GetFlags(*args
, **kwargs
):
2195 """GetFlags() -> int"""
2196 return _windows
.FindDialogEvent_GetFlags(*args
, **kwargs
)
2198 def GetFindString(*args
, **kwargs
):
2199 """GetFindString() -> wxString"""
2200 return _windows
.FindDialogEvent_GetFindString(*args
, **kwargs
)
2202 def GetReplaceString(*args
, **kwargs
):
2203 """GetReplaceString() -> wxString"""
2204 return _windows
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
2206 def GetDialog(*args
, **kwargs
):
2207 """GetDialog() -> FindReplaceDialog"""
2208 return _windows
.FindDialogEvent_GetDialog(*args
, **kwargs
)
2210 def SetFlags(*args
, **kwargs
):
2211 """SetFlags(int flags)"""
2212 return _windows
.FindDialogEvent_SetFlags(*args
, **kwargs
)
2214 def SetFindString(*args
, **kwargs
):
2215 """SetFindString(wxString str)"""
2216 return _windows
.FindDialogEvent_SetFindString(*args
, **kwargs
)
2218 def SetReplaceString(*args
, **kwargs
):
2219 """SetReplaceString(wxString str)"""
2220 return _windows
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
2223 class FindDialogEventPtr(FindDialogEvent
):
2224 def __init__(self
, this
):
2226 if not hasattr(self
,"thisown"): self
.thisown
= 0
2227 self
.__class
__ = FindDialogEvent
2228 _windows
.FindDialogEvent_swigregister(FindDialogEventPtr
)
2230 class FindReplaceData(core
.Object
):
2233 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2234 def __init__(self
, *args
, **kwargs
):
2235 """__init__(int flags=0) -> FindReplaceData"""
2236 newobj
= _windows
.new_FindReplaceData(*args
, **kwargs
)
2237 self
.this
= newobj
.this
2240 def __del__(self
, destroy
=_windows
.delete_FindReplaceData
):
2243 if self
.thisown
: destroy(self
)
2246 def GetFindString(*args
, **kwargs
):
2247 """GetFindString() -> wxString"""
2248 return _windows
.FindReplaceData_GetFindString(*args
, **kwargs
)
2250 def GetReplaceString(*args
, **kwargs
):
2251 """GetReplaceString() -> wxString"""
2252 return _windows
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
2254 def GetFlags(*args
, **kwargs
):
2255 """GetFlags() -> int"""
2256 return _windows
.FindReplaceData_GetFlags(*args
, **kwargs
)
2258 def SetFlags(*args
, **kwargs
):
2259 """SetFlags(int flags)"""
2260 return _windows
.FindReplaceData_SetFlags(*args
, **kwargs
)
2262 def SetFindString(*args
, **kwargs
):
2263 """SetFindString(wxString str)"""
2264 return _windows
.FindReplaceData_SetFindString(*args
, **kwargs
)
2266 def SetReplaceString(*args
, **kwargs
):
2267 """SetReplaceString(wxString str)"""
2268 return _windows
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
2271 class FindReplaceDataPtr(FindReplaceData
):
2272 def __init__(self
, this
):
2274 if not hasattr(self
,"thisown"): self
.thisown
= 0
2275 self
.__class
__ = FindReplaceData
2276 _windows
.FindReplaceData_swigregister(FindReplaceDataPtr
)
2278 class FindReplaceDialog(Dialog
):
2281 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2282 def __init__(self
, *args
, **kwargs
):
2283 """__init__(Window parent, FindReplaceData data, wxString title,
2284 int style=0) -> FindReplaceDialog"""
2285 newobj
= _windows
.new_FindReplaceDialog(*args
, **kwargs
)
2286 self
.this
= newobj
.this
2289 self
._setOORInfo
(self
)
2291 def Create(*args
, **kwargs
):
2292 """Create(Window parent, FindReplaceData data, wxString title,
2293 int style=0) -> bool"""
2294 return _windows
.FindReplaceDialog_Create(*args
, **kwargs
)
2296 def GetData(*args
, **kwargs
):
2297 """GetData() -> FindReplaceData"""
2298 return _windows
.FindReplaceDialog_GetData(*args
, **kwargs
)
2300 def SetData(*args
, **kwargs
):
2301 """SetData(FindReplaceData data)"""
2302 return _windows
.FindReplaceDialog_SetData(*args
, **kwargs
)
2305 class FindReplaceDialogPtr(FindReplaceDialog
):
2306 def __init__(self
, this
):
2308 if not hasattr(self
,"thisown"): self
.thisown
= 0
2309 self
.__class
__ = FindReplaceDialog
2310 _windows
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
2312 def PreFindReplaceDialog(*args
, **kwargs
):
2313 """PreFindReplaceDialog() -> FindReplaceDialog"""
2314 val
= _windows
.new_PreFindReplaceDialog(*args
, **kwargs
)
2318 #---------------------------------------------------------------------------
2320 IDM_WINDOWTILE
= _windows
.IDM_WINDOWTILE
2321 IDM_WINDOWTILEHOR
= _windows
.IDM_WINDOWTILEHOR
2322 IDM_WINDOWCASCADE
= _windows
.IDM_WINDOWCASCADE
2323 IDM_WINDOWICONS
= _windows
.IDM_WINDOWICONS
2324 IDM_WINDOWNEXT
= _windows
.IDM_WINDOWNEXT
2325 IDM_WINDOWTILEVERT
= _windows
.IDM_WINDOWTILEVERT
2326 FIRST_MDI_CHILD
= _windows
.FIRST_MDI_CHILD
2327 LAST_MDI_CHILD
= _windows
.LAST_MDI_CHILD
2328 class MDIParentFrame(Frame
):
2331 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2332 def __init__(self
, *args
, **kwargs
):
2333 """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
2334 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2335 wxString name=wxPyFrameNameStr) -> MDIParentFrame"""
2336 newobj
= _windows
.new_MDIParentFrame(*args
, **kwargs
)
2337 self
.this
= newobj
.this
2340 self
._setOORInfo
(self
)
2342 def Create(*args
, **kwargs
):
2343 """Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
2344 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2345 wxString name=wxPyFrameNameStr) -> bool"""
2346 return _windows
.MDIParentFrame_Create(*args
, **kwargs
)
2348 def ActivateNext(*args
, **kwargs
):
2349 """ActivateNext()"""
2350 return _windows
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
2352 def ActivatePrevious(*args
, **kwargs
):
2353 """ActivatePrevious()"""
2354 return _windows
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
2356 def ArrangeIcons(*args
, **kwargs
):
2357 """ArrangeIcons()"""
2358 return _windows
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
2360 def Cascade(*args
, **kwargs
):
2362 return _windows
.MDIParentFrame_Cascade(*args
, **kwargs
)
2364 def GetActiveChild(*args
, **kwargs
):
2365 """GetActiveChild() -> MDIChildFrame"""
2366 return _windows
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
2368 def GetClientWindow(*args
, **kwargs
):
2369 """GetClientWindow() -> MDIClientWindow"""
2370 return _windows
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
2372 def GetToolBar(*args
, **kwargs
):
2373 """GetToolBar() -> Window"""
2374 return _windows
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
2376 def Tile(*args
, **kwargs
):
2378 return _windows
.MDIParentFrame_Tile(*args
, **kwargs
)
2381 class MDIParentFramePtr(MDIParentFrame
):
2382 def __init__(self
, this
):
2384 if not hasattr(self
,"thisown"): self
.thisown
= 0
2385 self
.__class
__ = MDIParentFrame
2386 _windows
.MDIParentFrame_swigregister(MDIParentFramePtr
)
2388 def PreMDIParentFrame(*args
, **kwargs
):
2389 """PreMDIParentFrame() -> MDIParentFrame"""
2390 val
= _windows
.new_PreMDIParentFrame(*args
, **kwargs
)
2394 class MDIChildFrame(Frame
):
2397 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2398 def __init__(self
, *args
, **kwargs
):
2399 """__init__(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition,
2400 Size size=DefaultSize,
2401 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> MDIChildFrame"""
2402 newobj
= _windows
.new_MDIChildFrame(*args
, **kwargs
)
2403 self
.this
= newobj
.this
2406 self
._setOORInfo
(self
)
2408 def Create(*args
, **kwargs
):
2409 """Create(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition,
2410 Size size=DefaultSize,
2411 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> bool"""
2412 return _windows
.MDIChildFrame_Create(*args
, **kwargs
)
2414 def Activate(*args
, **kwargs
):
2416 return _windows
.MDIChildFrame_Activate(*args
, **kwargs
)
2418 def Maximize(*args
, **kwargs
):
2419 """Maximize(bool maximize)"""
2420 return _windows
.MDIChildFrame_Maximize(*args
, **kwargs
)
2422 def Restore(*args
, **kwargs
):
2424 return _windows
.MDIChildFrame_Restore(*args
, **kwargs
)
2427 class MDIChildFramePtr(MDIChildFrame
):
2428 def __init__(self
, this
):
2430 if not hasattr(self
,"thisown"): self
.thisown
= 0
2431 self
.__class
__ = MDIChildFrame
2432 _windows
.MDIChildFrame_swigregister(MDIChildFramePtr
)
2434 def PreMDIChildFrame(*args
, **kwargs
):
2435 """PreMDIChildFrame() -> MDIChildFrame"""
2436 val
= _windows
.new_PreMDIChildFrame(*args
, **kwargs
)
2440 class MDIClientWindow(core
.Window
):
2443 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2444 def __init__(self
, *args
, **kwargs
):
2445 """__init__(MDIParentFrame parent, long style=0) -> MDIClientWindow"""
2446 newobj
= _windows
.new_MDIClientWindow(*args
, **kwargs
)
2447 self
.this
= newobj
.this
2450 self
._setOORInfo
(self
)
2452 def Create(*args
, **kwargs
):
2453 """Create(MDIParentFrame parent, long style=0) -> bool"""
2454 return _windows
.MDIClientWindow_Create(*args
, **kwargs
)
2457 class MDIClientWindowPtr(MDIClientWindow
):
2458 def __init__(self
, this
):
2460 if not hasattr(self
,"thisown"): self
.thisown
= 0
2461 self
.__class
__ = MDIClientWindow
2462 _windows
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
2464 def PreMDIClientWindow(*args
, **kwargs
):
2465 """PreMDIClientWindow() -> MDIClientWindow"""
2466 val
= _windows
.new_PreMDIClientWindow(*args
, **kwargs
)
2470 #---------------------------------------------------------------------------
2472 class PyWindow(core
.Window
):
2475 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2476 def __init__(self
, *args
, **kwargs
):
2477 """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2478 long style=0, wxString name=PanelNameStr) -> PyWindow"""
2479 newobj
= _windows
.new_PyWindow(*args
, **kwargs
)
2480 self
.this
= newobj
.this
2483 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
2485 def _setCallbackInfo(*args
, **kwargs
):
2486 """_setCallbackInfo(PyObject self, PyObject _class)"""
2487 return _windows
.PyWindow__setCallbackInfo(*args
, **kwargs
)
2489 def base_DoMoveWindow(*args
, **kwargs
):
2490 """base_DoMoveWindow(int x, int y, int width, int height)"""
2491 return _windows
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
2493 def base_DoSetSize(*args
, **kwargs
):
2494 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2495 return _windows
.PyWindow_base_DoSetSize(*args
, **kwargs
)
2497 def base_DoSetClientSize(*args
, **kwargs
):
2498 """base_DoSetClientSize(int width, int height)"""
2499 return _windows
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
2501 def base_DoSetVirtualSize(*args
, **kwargs
):
2502 """base_DoSetVirtualSize(int x, int y)"""
2503 return _windows
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
2505 def base_DoGetSize(*args
, **kwargs
):
2506 """base_DoGetSize() -> (width, height)"""
2507 return _windows
.PyWindow_base_DoGetSize(*args
, **kwargs
)
2509 def base_DoGetClientSize(*args
, **kwargs
):
2510 """base_DoGetClientSize() -> (width, height)"""
2511 return _windows
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
2513 def base_DoGetPosition(*args
, **kwargs
):
2514 """base_DoGetPosition() -> (x,y)"""
2515 return _windows
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
2517 def base_DoGetVirtualSize(*args
, **kwargs
):
2518 """base_DoGetVirtualSize() -> Size"""
2519 return _windows
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
2521 def base_DoGetBestSize(*args
, **kwargs
):
2522 """base_DoGetBestSize() -> Size"""
2523 return _windows
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
2525 def base_InitDialog(*args
, **kwargs
):
2526 """base_InitDialog()"""
2527 return _windows
.PyWindow_base_InitDialog(*args
, **kwargs
)
2529 def base_TransferDataToWindow(*args
, **kwargs
):
2530 """base_TransferDataToWindow() -> bool"""
2531 return _windows
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
2533 def base_TransferDataFromWindow(*args
, **kwargs
):
2534 """base_TransferDataFromWindow() -> bool"""
2535 return _windows
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
2537 def base_Validate(*args
, **kwargs
):
2538 """base_Validate() -> bool"""
2539 return _windows
.PyWindow_base_Validate(*args
, **kwargs
)
2541 def base_AcceptsFocus(*args
, **kwargs
):
2542 """base_AcceptsFocus() -> bool"""
2543 return _windows
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
2545 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2546 """base_AcceptsFocusFromKeyboard() -> bool"""
2547 return _windows
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2549 def base_GetMaxSize(*args
, **kwargs
):
2550 """base_GetMaxSize() -> Size"""
2551 return _windows
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
2553 def base_AddChild(*args
, **kwargs
):
2554 """base_AddChild(Window child)"""
2555 return _windows
.PyWindow_base_AddChild(*args
, **kwargs
)
2557 def base_RemoveChild(*args
, **kwargs
):
2558 """base_RemoveChild(Window child)"""
2559 return _windows
.PyWindow_base_RemoveChild(*args
, **kwargs
)
2562 class PyWindowPtr(PyWindow
):
2563 def __init__(self
, this
):
2565 if not hasattr(self
,"thisown"): self
.thisown
= 0
2566 self
.__class
__ = PyWindow
2567 _windows
.PyWindow_swigregister(PyWindowPtr
)
2569 class PyPanel(Panel
):
2572 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2573 def __init__(self
, *args
, **kwargs
):
2574 """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2575 long style=0, wxString name=PanelNameStr) -> PyPanel"""
2576 newobj
= _windows
.new_PyPanel(*args
, **kwargs
)
2577 self
.this
= newobj
.this
2580 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
2582 def _setCallbackInfo(*args
, **kwargs
):
2583 """_setCallbackInfo(PyObject self, PyObject _class)"""
2584 return _windows
.PyPanel__setCallbackInfo(*args
, **kwargs
)
2586 def base_DoMoveWindow(*args
, **kwargs
):
2587 """base_DoMoveWindow(int x, int y, int width, int height)"""
2588 return _windows
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
2590 def base_DoSetSize(*args
, **kwargs
):
2591 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2592 return _windows
.PyPanel_base_DoSetSize(*args
, **kwargs
)
2594 def base_DoSetClientSize(*args
, **kwargs
):
2595 """base_DoSetClientSize(int width, int height)"""
2596 return _windows
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
2598 def base_DoSetVirtualSize(*args
, **kwargs
):
2599 """base_DoSetVirtualSize(int x, int y)"""
2600 return _windows
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
2602 def base_DoGetSize(*args
, **kwargs
):
2603 """base_DoGetSize() -> (width, height)"""
2604 return _windows
.PyPanel_base_DoGetSize(*args
, **kwargs
)
2606 def base_DoGetClientSize(*args
, **kwargs
):
2607 """base_DoGetClientSize() -> (width, height)"""
2608 return _windows
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
2610 def base_DoGetPosition(*args
, **kwargs
):
2611 """base_DoGetPosition() -> (x,y)"""
2612 return _windows
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
2614 def base_DoGetVirtualSize(*args
, **kwargs
):
2615 """base_DoGetVirtualSize() -> Size"""
2616 return _windows
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
2618 def base_DoGetBestSize(*args
, **kwargs
):
2619 """base_DoGetBestSize() -> Size"""
2620 return _windows
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
2622 def base_InitDialog(*args
, **kwargs
):
2623 """base_InitDialog()"""
2624 return _windows
.PyPanel_base_InitDialog(*args
, **kwargs
)
2626 def base_TransferDataToWindow(*args
, **kwargs
):
2627 """base_TransferDataToWindow() -> bool"""
2628 return _windows
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
2630 def base_TransferDataFromWindow(*args
, **kwargs
):
2631 """base_TransferDataFromWindow() -> bool"""
2632 return _windows
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
2634 def base_Validate(*args
, **kwargs
):
2635 """base_Validate() -> bool"""
2636 return _windows
.PyPanel_base_Validate(*args
, **kwargs
)
2638 def base_AcceptsFocus(*args
, **kwargs
):
2639 """base_AcceptsFocus() -> bool"""
2640 return _windows
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
2642 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2643 """base_AcceptsFocusFromKeyboard() -> bool"""
2644 return _windows
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2646 def base_GetMaxSize(*args
, **kwargs
):
2647 """base_GetMaxSize() -> Size"""
2648 return _windows
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
2650 def base_AddChild(*args
, **kwargs
):
2651 """base_AddChild(Window child)"""
2652 return _windows
.PyPanel_base_AddChild(*args
, **kwargs
)
2654 def base_RemoveChild(*args
, **kwargs
):
2655 """base_RemoveChild(Window child)"""
2656 return _windows
.PyPanel_base_RemoveChild(*args
, **kwargs
)
2659 class PyPanelPtr(PyPanel
):
2660 def __init__(self
, this
):
2662 if not hasattr(self
,"thisown"): self
.thisown
= 0
2663 self
.__class
__ = PyPanel
2664 _windows
.PyPanel_swigregister(PyPanelPtr
)
2666 #---------------------------------------------------------------------------
2668 PRINT_MODE_NONE
= _windows
.PRINT_MODE_NONE
2669 PRINT_MODE_PREVIEW
= _windows
.PRINT_MODE_PREVIEW
2670 PRINT_MODE_FILE
= _windows
.PRINT_MODE_FILE
2671 PRINT_MODE_PRINTER
= _windows
.PRINT_MODE_PRINTER
2672 class PrintData(core
.Object
):
2675 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2676 def __init__(self
, *args
, **kwargs
):
2677 """__init__() -> PrintData"""
2678 newobj
= _windows
.new_PrintData(*args
, **kwargs
)
2679 self
.this
= newobj
.this
2682 def __del__(self
, destroy
=_windows
.delete_PrintData
):
2685 if self
.thisown
: destroy(self
)
2688 def GetNoCopies(*args
, **kwargs
):
2689 """GetNoCopies() -> int"""
2690 return _windows
.PrintData_GetNoCopies(*args
, **kwargs
)
2692 def GetCollate(*args
, **kwargs
):
2693 """GetCollate() -> bool"""
2694 return _windows
.PrintData_GetCollate(*args
, **kwargs
)
2696 def GetOrientation(*args
, **kwargs
):
2697 """GetOrientation() -> int"""
2698 return _windows
.PrintData_GetOrientation(*args
, **kwargs
)
2700 def Ok(*args
, **kwargs
):
2702 return _windows
.PrintData_Ok(*args
, **kwargs
)
2704 def GetPrinterName(*args
, **kwargs
):
2705 """GetPrinterName() -> wxString"""
2706 return _windows
.PrintData_GetPrinterName(*args
, **kwargs
)
2708 def GetColour(*args
, **kwargs
):
2709 """GetColour() -> bool"""
2710 return _windows
.PrintData_GetColour(*args
, **kwargs
)
2712 def GetDuplex(*args
, **kwargs
):
2713 """GetDuplex() -> wxDuplexMode"""
2714 return _windows
.PrintData_GetDuplex(*args
, **kwargs
)
2716 def GetPaperId(*args
, **kwargs
):
2717 """GetPaperId() -> wxPaperSize"""
2718 return _windows
.PrintData_GetPaperId(*args
, **kwargs
)
2720 def GetPaperSize(*args
, **kwargs
):
2721 """GetPaperSize() -> Size"""
2722 return _windows
.PrintData_GetPaperSize(*args
, **kwargs
)
2724 def GetQuality(*args
, **kwargs
):
2725 """GetQuality() -> wxPrintQuality"""
2726 return _windows
.PrintData_GetQuality(*args
, **kwargs
)
2728 def SetNoCopies(*args
, **kwargs
):
2729 """SetNoCopies(int v)"""
2730 return _windows
.PrintData_SetNoCopies(*args
, **kwargs
)
2732 def SetCollate(*args
, **kwargs
):
2733 """SetCollate(bool flag)"""
2734 return _windows
.PrintData_SetCollate(*args
, **kwargs
)
2736 def SetOrientation(*args
, **kwargs
):
2737 """SetOrientation(int orient)"""
2738 return _windows
.PrintData_SetOrientation(*args
, **kwargs
)
2740 def SetPrinterName(*args
, **kwargs
):
2741 """SetPrinterName(wxString name)"""
2742 return _windows
.PrintData_SetPrinterName(*args
, **kwargs
)
2744 def SetColour(*args
, **kwargs
):
2745 """SetColour(bool colour)"""
2746 return _windows
.PrintData_SetColour(*args
, **kwargs
)
2748 def SetDuplex(*args
, **kwargs
):
2749 """SetDuplex(wxDuplexMode duplex)"""
2750 return _windows
.PrintData_SetDuplex(*args
, **kwargs
)
2752 def SetPaperId(*args
, **kwargs
):
2753 """SetPaperId(wxPaperSize sizeId)"""
2754 return _windows
.PrintData_SetPaperId(*args
, **kwargs
)
2756 def SetPaperSize(*args
, **kwargs
):
2757 """SetPaperSize(Size sz)"""
2758 return _windows
.PrintData_SetPaperSize(*args
, **kwargs
)
2760 def SetQuality(*args
, **kwargs
):
2761 """SetQuality(wxPrintQuality quality)"""
2762 return _windows
.PrintData_SetQuality(*args
, **kwargs
)
2764 def GetPrinterCommand(*args
, **kwargs
):
2765 """GetPrinterCommand() -> wxString"""
2766 return _windows
.PrintData_GetPrinterCommand(*args
, **kwargs
)
2768 def GetPrinterOptions(*args
, **kwargs
):
2769 """GetPrinterOptions() -> wxString"""
2770 return _windows
.PrintData_GetPrinterOptions(*args
, **kwargs
)
2772 def GetPreviewCommand(*args
, **kwargs
):
2773 """GetPreviewCommand() -> wxString"""
2774 return _windows
.PrintData_GetPreviewCommand(*args
, **kwargs
)
2776 def GetFilename(*args
, **kwargs
):
2777 """GetFilename() -> wxString"""
2778 return _windows
.PrintData_GetFilename(*args
, **kwargs
)
2780 def GetFontMetricPath(*args
, **kwargs
):
2781 """GetFontMetricPath() -> wxString"""
2782 return _windows
.PrintData_GetFontMetricPath(*args
, **kwargs
)
2784 def GetPrinterScaleX(*args
, **kwargs
):
2785 """GetPrinterScaleX() -> double"""
2786 return _windows
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
2788 def GetPrinterScaleY(*args
, **kwargs
):
2789 """GetPrinterScaleY() -> double"""
2790 return _windows
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
2792 def GetPrinterTranslateX(*args
, **kwargs
):
2793 """GetPrinterTranslateX() -> long"""
2794 return _windows
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
2796 def GetPrinterTranslateY(*args
, **kwargs
):
2797 """GetPrinterTranslateY() -> long"""
2798 return _windows
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
2800 def GetPrintMode(*args
, **kwargs
):
2801 """GetPrintMode() -> wxPrintMode"""
2802 return _windows
.PrintData_GetPrintMode(*args
, **kwargs
)
2804 def SetPrinterCommand(*args
, **kwargs
):
2805 """SetPrinterCommand(wxString command)"""
2806 return _windows
.PrintData_SetPrinterCommand(*args
, **kwargs
)
2808 def SetPrinterOptions(*args
, **kwargs
):
2809 """SetPrinterOptions(wxString options)"""
2810 return _windows
.PrintData_SetPrinterOptions(*args
, **kwargs
)
2812 def SetPreviewCommand(*args
, **kwargs
):
2813 """SetPreviewCommand(wxString command)"""
2814 return _windows
.PrintData_SetPreviewCommand(*args
, **kwargs
)
2816 def SetFilename(*args
, **kwargs
):
2817 """SetFilename(wxString filename)"""
2818 return _windows
.PrintData_SetFilename(*args
, **kwargs
)
2820 def SetFontMetricPath(*args
, **kwargs
):
2821 """SetFontMetricPath(wxString path)"""
2822 return _windows
.PrintData_SetFontMetricPath(*args
, **kwargs
)
2824 def SetPrinterScaleX(*args
, **kwargs
):
2825 """SetPrinterScaleX(double x)"""
2826 return _windows
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
2828 def SetPrinterScaleY(*args
, **kwargs
):
2829 """SetPrinterScaleY(double y)"""
2830 return _windows
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
2832 def SetPrinterScaling(*args
, **kwargs
):
2833 """SetPrinterScaling(double x, double y)"""
2834 return _windows
.PrintData_SetPrinterScaling(*args
, **kwargs
)
2836 def SetPrinterTranslateX(*args
, **kwargs
):
2837 """SetPrinterTranslateX(long x)"""
2838 return _windows
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
2840 def SetPrinterTranslateY(*args
, **kwargs
):
2841 """SetPrinterTranslateY(long y)"""
2842 return _windows
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
2844 def SetPrinterTranslation(*args
, **kwargs
):
2845 """SetPrinterTranslation(long x, long y)"""
2846 return _windows
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
2848 def SetPrintMode(*args
, **kwargs
):
2849 """SetPrintMode(wxPrintMode printMode)"""
2850 return _windows
.PrintData_SetPrintMode(*args
, **kwargs
)
2852 def __nonzero__(self
): return self
.Ok()
2854 class PrintDataPtr(PrintData
):
2855 def __init__(self
, this
):
2857 if not hasattr(self
,"thisown"): self
.thisown
= 0
2858 self
.__class
__ = PrintData
2859 _windows
.PrintData_swigregister(PrintDataPtr
)
2861 class PageSetupDialogData(core
.Object
):
2864 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2865 def __init__(self
, *args
, **kwargs
):
2866 """__init__() -> PageSetupDialogData"""
2867 newobj
= _windows
.new_PageSetupDialogData(*args
, **kwargs
)
2868 self
.this
= newobj
.this
2871 def __del__(self
, destroy
=_windows
.delete_PageSetupDialogData
):
2874 if self
.thisown
: destroy(self
)
2877 def EnableHelp(*args
, **kwargs
):
2878 """EnableHelp(bool flag)"""
2879 return _windows
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
2881 def EnableMargins(*args
, **kwargs
):
2882 """EnableMargins(bool flag)"""
2883 return _windows
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
2885 def EnableOrientation(*args
, **kwargs
):
2886 """EnableOrientation(bool flag)"""
2887 return _windows
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
2889 def EnablePaper(*args
, **kwargs
):
2890 """EnablePaper(bool flag)"""
2891 return _windows
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
2893 def EnablePrinter(*args
, **kwargs
):
2894 """EnablePrinter(bool flag)"""
2895 return _windows
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
2897 def GetDefaultMinMargins(*args
, **kwargs
):
2898 """GetDefaultMinMargins() -> bool"""
2899 return _windows
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
2901 def GetEnableMargins(*args
, **kwargs
):
2902 """GetEnableMargins() -> bool"""
2903 return _windows
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
2905 def GetEnableOrientation(*args
, **kwargs
):
2906 """GetEnableOrientation() -> bool"""
2907 return _windows
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
2909 def GetEnablePaper(*args
, **kwargs
):
2910 """GetEnablePaper() -> bool"""
2911 return _windows
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
2913 def GetEnablePrinter(*args
, **kwargs
):
2914 """GetEnablePrinter() -> bool"""
2915 return _windows
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
2917 def GetEnableHelp(*args
, **kwargs
):
2918 """GetEnableHelp() -> bool"""
2919 return _windows
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
2921 def GetDefaultInfo(*args
, **kwargs
):
2922 """GetDefaultInfo() -> bool"""
2923 return _windows
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
2925 def GetMarginTopLeft(*args
, **kwargs
):
2926 """GetMarginTopLeft() -> Point"""
2927 return _windows
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
2929 def GetMarginBottomRight(*args
, **kwargs
):
2930 """GetMarginBottomRight() -> Point"""
2931 return _windows
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
2933 def GetMinMarginTopLeft(*args
, **kwargs
):
2934 """GetMinMarginTopLeft() -> Point"""
2935 return _windows
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
2937 def GetMinMarginBottomRight(*args
, **kwargs
):
2938 """GetMinMarginBottomRight() -> Point"""
2939 return _windows
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
2941 def GetPaperId(*args
, **kwargs
):
2942 """GetPaperId() -> wxPaperSize"""
2943 return _windows
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
2945 def GetPaperSize(*args
, **kwargs
):
2946 """GetPaperSize() -> Size"""
2947 return _windows
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
2949 def GetPrintData(*args
, **kwargs
):
2950 """GetPrintData() -> PrintData"""
2951 return _windows
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
2953 def Ok(*args
, **kwargs
):
2955 return _windows
.PageSetupDialogData_Ok(*args
, **kwargs
)
2957 def SetDefaultInfo(*args
, **kwargs
):
2958 """SetDefaultInfo(bool flag)"""
2959 return _windows
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
2961 def SetDefaultMinMargins(*args
, **kwargs
):
2962 """SetDefaultMinMargins(bool flag)"""
2963 return _windows
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
2965 def SetMarginTopLeft(*args
, **kwargs
):
2966 """SetMarginTopLeft(Point pt)"""
2967 return _windows
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
2969 def SetMarginBottomRight(*args
, **kwargs
):
2970 """SetMarginBottomRight(Point pt)"""
2971 return _windows
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
2973 def SetMinMarginTopLeft(*args
, **kwargs
):
2974 """SetMinMarginTopLeft(Point pt)"""
2975 return _windows
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
2977 def SetMinMarginBottomRight(*args
, **kwargs
):
2978 """SetMinMarginBottomRight(Point pt)"""
2979 return _windows
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
2981 def SetPaperId(*args
, **kwargs
):
2982 """SetPaperId(wxPaperSize id)"""
2983 return _windows
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
2985 def SetPaperSize(*args
, **kwargs
):
2986 """SetPaperSize(Size size)"""
2987 return _windows
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
2989 def SetPrintData(*args
, **kwargs
):
2990 """SetPrintData(PrintData printData)"""
2991 return _windows
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
2993 def __nonzero__(self
): return self
.Ok()
2995 class PageSetupDialogDataPtr(PageSetupDialogData
):
2996 def __init__(self
, this
):
2998 if not hasattr(self
,"thisown"): self
.thisown
= 0
2999 self
.__class
__ = PageSetupDialogData
3000 _windows
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
3002 class PageSetupDialog(Dialog
):
3005 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3006 def __init__(self
, *args
, **kwargs
):
3007 """__init__(Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
3008 newobj
= _windows
.new_PageSetupDialog(*args
, **kwargs
)
3009 self
.this
= newobj
.this
3012 self
._setOORInfo
(self
)
3014 def GetPageSetupData(*args
, **kwargs
):
3015 """GetPageSetupData() -> PageSetupDialogData"""
3016 return _windows
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
3018 def ShowModal(*args
, **kwargs
):
3019 """ShowModal() -> int"""
3020 return _windows
.PageSetupDialog_ShowModal(*args
, **kwargs
)
3023 class PageSetupDialogPtr(PageSetupDialog
):
3024 def __init__(self
, this
):
3026 if not hasattr(self
,"thisown"): self
.thisown
= 0
3027 self
.__class
__ = PageSetupDialog
3028 _windows
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
3030 class PrintDialogData(core
.Object
):
3033 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3034 def __init__(self
, *args
, **kwargs
):
3035 """__init__() -> PrintDialogData"""
3036 newobj
= _windows
.new_PrintDialogData(*args
, **kwargs
)
3037 self
.this
= newobj
.this
3040 def __del__(self
, destroy
=_windows
.delete_PrintDialogData
):
3043 if self
.thisown
: destroy(self
)
3046 def GetFromPage(*args
, **kwargs
):
3047 """GetFromPage() -> int"""
3048 return _windows
.PrintDialogData_GetFromPage(*args
, **kwargs
)
3050 def GetToPage(*args
, **kwargs
):
3051 """GetToPage() -> int"""
3052 return _windows
.PrintDialogData_GetToPage(*args
, **kwargs
)
3054 def GetMinPage(*args
, **kwargs
):
3055 """GetMinPage() -> int"""
3056 return _windows
.PrintDialogData_GetMinPage(*args
, **kwargs
)
3058 def GetMaxPage(*args
, **kwargs
):
3059 """GetMaxPage() -> int"""
3060 return _windows
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
3062 def GetNoCopies(*args
, **kwargs
):
3063 """GetNoCopies() -> int"""
3064 return _windows
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
3066 def GetAllPages(*args
, **kwargs
):
3067 """GetAllPages() -> bool"""
3068 return _windows
.PrintDialogData_GetAllPages(*args
, **kwargs
)
3070 def GetSelection(*args
, **kwargs
):
3071 """GetSelection() -> bool"""
3072 return _windows
.PrintDialogData_GetSelection(*args
, **kwargs
)
3074 def GetCollate(*args
, **kwargs
):
3075 """GetCollate() -> bool"""
3076 return _windows
.PrintDialogData_GetCollate(*args
, **kwargs
)
3078 def GetPrintToFile(*args
, **kwargs
):
3079 """GetPrintToFile() -> bool"""
3080 return _windows
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
3082 def GetSetupDialog(*args
, **kwargs
):
3083 """GetSetupDialog() -> bool"""
3084 return _windows
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
3086 def SetFromPage(*args
, **kwargs
):
3087 """SetFromPage(int v)"""
3088 return _windows
.PrintDialogData_SetFromPage(*args
, **kwargs
)
3090 def SetToPage(*args
, **kwargs
):
3091 """SetToPage(int v)"""
3092 return _windows
.PrintDialogData_SetToPage(*args
, **kwargs
)
3094 def SetMinPage(*args
, **kwargs
):
3095 """SetMinPage(int v)"""
3096 return _windows
.PrintDialogData_SetMinPage(*args
, **kwargs
)
3098 def SetMaxPage(*args
, **kwargs
):
3099 """SetMaxPage(int v)"""
3100 return _windows
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
3102 def SetNoCopies(*args
, **kwargs
):
3103 """SetNoCopies(int v)"""
3104 return _windows
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
3106 def SetAllPages(*args
, **kwargs
):
3107 """SetAllPages(bool flag)"""
3108 return _windows
.PrintDialogData_SetAllPages(*args
, **kwargs
)
3110 def SetSelection(*args
, **kwargs
):
3111 """SetSelection(bool flag)"""
3112 return _windows
.PrintDialogData_SetSelection(*args
, **kwargs
)
3114 def SetCollate(*args
, **kwargs
):
3115 """SetCollate(bool flag)"""
3116 return _windows
.PrintDialogData_SetCollate(*args
, **kwargs
)
3118 def SetPrintToFile(*args
, **kwargs
):
3119 """SetPrintToFile(bool flag)"""
3120 return _windows
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
3122 def SetSetupDialog(*args
, **kwargs
):
3123 """SetSetupDialog(bool flag)"""
3124 return _windows
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
3126 def EnablePrintToFile(*args
, **kwargs
):
3127 """EnablePrintToFile(bool flag)"""
3128 return _windows
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
3130 def EnableSelection(*args
, **kwargs
):
3131 """EnableSelection(bool flag)"""
3132 return _windows
.PrintDialogData_EnableSelection(*args
, **kwargs
)
3134 def EnablePageNumbers(*args
, **kwargs
):
3135 """EnablePageNumbers(bool flag)"""
3136 return _windows
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
3138 def EnableHelp(*args
, **kwargs
):
3139 """EnableHelp(bool flag)"""
3140 return _windows
.PrintDialogData_EnableHelp(*args
, **kwargs
)
3142 def GetEnablePrintToFile(*args
, **kwargs
):
3143 """GetEnablePrintToFile() -> bool"""
3144 return _windows
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
3146 def GetEnableSelection(*args
, **kwargs
):
3147 """GetEnableSelection() -> bool"""
3148 return _windows
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
3150 def GetEnablePageNumbers(*args
, **kwargs
):
3151 """GetEnablePageNumbers() -> bool"""
3152 return _windows
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
3154 def GetEnableHelp(*args
, **kwargs
):
3155 """GetEnableHelp() -> bool"""
3156 return _windows
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
3158 def Ok(*args
, **kwargs
):
3160 return _windows
.PrintDialogData_Ok(*args
, **kwargs
)
3162 def GetPrintData(*args
, **kwargs
):
3163 """GetPrintData() -> PrintData"""
3164 return _windows
.PrintDialogData_GetPrintData(*args
, **kwargs
)
3166 def SetPrintData(*args
, **kwargs
):
3167 """SetPrintData(PrintData printData)"""
3168 return _windows
.PrintDialogData_SetPrintData(*args
, **kwargs
)
3170 def __nonzero__(self
): return self
.Ok()
3172 class PrintDialogDataPtr(PrintDialogData
):
3173 def __init__(self
, this
):
3175 if not hasattr(self
,"thisown"): self
.thisown
= 0
3176 self
.__class
__ = PrintDialogData
3177 _windows
.PrintDialogData_swigregister(PrintDialogDataPtr
)
3179 class PrintDialog(Dialog
):
3182 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3183 def __init__(self
, *args
, **kwargs
):
3184 """__init__(Window parent, PrintDialogData data=None) -> PrintDialog"""
3185 newobj
= _windows
.new_PrintDialog(*args
, **kwargs
)
3186 self
.this
= newobj
.this
3189 self
._setOORInfo
(self
)
3191 def GetPrintDialogData(*args
, **kwargs
):
3192 """GetPrintDialogData() -> PrintDialogData"""
3193 return _windows
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
3195 def GetPrintDC(*args
, **kwargs
):
3196 """GetPrintDC() -> wxDC"""
3197 return _windows
.PrintDialog_GetPrintDC(*args
, **kwargs
)
3199 def ShowModal(*args
, **kwargs
):
3200 """ShowModal() -> int"""
3201 return _windows
.PrintDialog_ShowModal(*args
, **kwargs
)
3204 class PrintDialogPtr(PrintDialog
):
3205 def __init__(self
, this
):
3207 if not hasattr(self
,"thisown"): self
.thisown
= 0
3208 self
.__class
__ = PrintDialog
3209 _windows
.PrintDialog_swigregister(PrintDialogPtr
)
3211 PRINTER_NO_ERROR
= _windows
.PRINTER_NO_ERROR
3212 PRINTER_CANCELLED
= _windows
.PRINTER_CANCELLED
3213 PRINTER_ERROR
= _windows
.PRINTER_ERROR
3214 class Printer(core
.Object
):
3217 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3218 def __init__(self
, *args
, **kwargs
):
3219 """__init__(PrintDialogData data=None) -> Printer"""
3220 newobj
= _windows
.new_Printer(*args
, **kwargs
)
3221 self
.this
= newobj
.this
3224 def __del__(self
, destroy
=_windows
.delete_Printer
):
3227 if self
.thisown
: destroy(self
)
3230 def CreateAbortWindow(*args
, **kwargs
):
3231 """CreateAbortWindow(Window parent, Printout printout)"""
3232 return _windows
.Printer_CreateAbortWindow(*args
, **kwargs
)
3234 def GetPrintDialogData(*args
, **kwargs
):
3235 """GetPrintDialogData() -> PrintDialogData"""
3236 return _windows
.Printer_GetPrintDialogData(*args
, **kwargs
)
3238 def Print(*args
, **kwargs
):
3239 """Print(Window parent, Printout printout, int prompt=True) -> bool"""
3240 return _windows
.Printer_Print(*args
, **kwargs
)
3242 def PrintDialog(*args
, **kwargs
):
3243 """PrintDialog(Window parent) -> wxDC"""
3244 return _windows
.Printer_PrintDialog(*args
, **kwargs
)
3246 def ReportError(*args
, **kwargs
):
3247 """ReportError(Window parent, Printout printout, wxString message)"""
3248 return _windows
.Printer_ReportError(*args
, **kwargs
)
3250 def Setup(*args
, **kwargs
):
3251 """Setup(Window parent) -> bool"""
3252 return _windows
.Printer_Setup(*args
, **kwargs
)
3254 def GetAbort(*args
, **kwargs
):
3255 """GetAbort() -> bool"""
3256 return _windows
.Printer_GetAbort(*args
, **kwargs
)
3258 def GetLastError(*args
, **kwargs
):
3259 """Printer.GetLastError() -> wxPrinterError"""
3260 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3262 GetLastError
= staticmethod(GetLastError
)
3264 class PrinterPtr(Printer
):
3265 def __init__(self
, this
):
3267 if not hasattr(self
,"thisown"): self
.thisown
= 0
3268 self
.__class
__ = Printer
3269 _windows
.Printer_swigregister(PrinterPtr
)
3271 def Printer_GetLastError(*args
, **kwargs
):
3272 """Printer_GetLastError() -> wxPrinterError"""
3273 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3275 class Printout(core
.Object
):
3278 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3279 def __init__(self
, *args
, **kwargs
):
3280 """__init__(wxString title=wxPyPrintoutTitleStr) -> Printout"""
3281 newobj
= _windows
.new_Printout(*args
, **kwargs
)
3282 self
.this
= newobj
.this
3285 self
._setCallbackInfo
(self
, Printout
)
3287 def _setCallbackInfo(*args
, **kwargs
):
3288 """_setCallbackInfo(PyObject self, PyObject _class)"""
3289 return _windows
.Printout__setCallbackInfo(*args
, **kwargs
)
3291 def GetTitle(*args
, **kwargs
):
3292 """GetTitle() -> wxString"""
3293 return _windows
.Printout_GetTitle(*args
, **kwargs
)
3295 def GetDC(*args
, **kwargs
):
3296 """GetDC() -> wxDC"""
3297 return _windows
.Printout_GetDC(*args
, **kwargs
)
3299 def SetDC(*args
, **kwargs
):
3300 """SetDC(wxDC dc)"""
3301 return _windows
.Printout_SetDC(*args
, **kwargs
)
3303 def SetPageSizePixels(*args
, **kwargs
):
3304 """SetPageSizePixels(int w, int h)"""
3305 return _windows
.Printout_SetPageSizePixels(*args
, **kwargs
)
3307 def GetPageSizePixels(*args
, **kwargs
):
3308 """GetPageSizePixels() -> (w, h)"""
3309 return _windows
.Printout_GetPageSizePixels(*args
, **kwargs
)
3311 def SetPageSizeMM(*args
, **kwargs
):
3312 """SetPageSizeMM(int w, int h)"""
3313 return _windows
.Printout_SetPageSizeMM(*args
, **kwargs
)
3315 def GetPageSizeMM(*args
, **kwargs
):
3316 """GetPageSizeMM() -> (w, h)"""
3317 return _windows
.Printout_GetPageSizeMM(*args
, **kwargs
)
3319 def SetPPIScreen(*args
, **kwargs
):
3320 """SetPPIScreen(int x, int y)"""
3321 return _windows
.Printout_SetPPIScreen(*args
, **kwargs
)
3323 def GetPPIScreen(*args
, **kwargs
):
3324 """GetPPIScreen() -> (x,y)"""
3325 return _windows
.Printout_GetPPIScreen(*args
, **kwargs
)
3327 def SetPPIPrinter(*args
, **kwargs
):
3328 """SetPPIPrinter(int x, int y)"""
3329 return _windows
.Printout_SetPPIPrinter(*args
, **kwargs
)
3331 def GetPPIPrinter(*args
, **kwargs
):
3332 """GetPPIPrinter() -> (x,y)"""
3333 return _windows
.Printout_GetPPIPrinter(*args
, **kwargs
)
3335 def IsPreview(*args
, **kwargs
):
3336 """IsPreview() -> bool"""
3337 return _windows
.Printout_IsPreview(*args
, **kwargs
)
3339 def SetIsPreview(*args
, **kwargs
):
3340 """SetIsPreview(bool p)"""
3341 return _windows
.Printout_SetIsPreview(*args
, **kwargs
)
3343 def base_OnBeginDocument(*args
, **kwargs
):
3344 """base_OnBeginDocument(int startPage, int endPage) -> bool"""
3345 return _windows
.Printout_base_OnBeginDocument(*args
, **kwargs
)
3347 def base_OnEndDocument(*args
, **kwargs
):
3348 """base_OnEndDocument()"""
3349 return _windows
.Printout_base_OnEndDocument(*args
, **kwargs
)
3351 def base_OnBeginPrinting(*args
, **kwargs
):
3352 """base_OnBeginPrinting()"""
3353 return _windows
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
3355 def base_OnEndPrinting(*args
, **kwargs
):
3356 """base_OnEndPrinting()"""
3357 return _windows
.Printout_base_OnEndPrinting(*args
, **kwargs
)
3359 def base_OnPreparePrinting(*args
, **kwargs
):
3360 """base_OnPreparePrinting()"""
3361 return _windows
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
3363 def base_HasPage(*args
, **kwargs
):
3364 """base_HasPage(int page) -> bool"""
3365 return _windows
.Printout_base_HasPage(*args
, **kwargs
)
3367 def base_GetPageInfo(*args
, **kwargs
):
3368 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
3369 return _windows
.Printout_base_GetPageInfo(*args
, **kwargs
)
3372 class PrintoutPtr(Printout
):
3373 def __init__(self
, this
):
3375 if not hasattr(self
,"thisown"): self
.thisown
= 0
3376 self
.__class
__ = Printout
3377 _windows
.Printout_swigregister(PrintoutPtr
)
3379 class PreviewCanvas(ScrolledWindow
):
3382 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3383 def __init__(self
, *args
, **kwargs
):
3384 """__init__(PrintPreview preview, Window parent, Point pos=DefaultPosition,
3385 Size size=DefaultSize, long style=0,
3386 wxString name=wxPyPreviewCanvasNameStr) -> PreviewCanvas"""
3387 newobj
= _windows
.new_PreviewCanvas(*args
, **kwargs
)
3388 self
.this
= newobj
.this
3391 self
._self
._setOORInfo
(self
)
3394 class PreviewCanvasPtr(PreviewCanvas
):
3395 def __init__(self
, this
):
3397 if not hasattr(self
,"thisown"): self
.thisown
= 0
3398 self
.__class
__ = PreviewCanvas
3399 _windows
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
3401 class PreviewFrame(Frame
):
3404 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3405 def __init__(self
, *args
, **kwargs
):
3406 """__init__(PrintPreview preview, Frame parent, wxString title,
3407 Point pos=DefaultPosition, Size size=DefaultSize,
3408 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PreviewFrame"""
3409 newobj
= _windows
.new_PreviewFrame(*args
, **kwargs
)
3410 self
.this
= newobj
.this
3413 self
._self
._setOORInfo
(self
)
3415 def Initialize(*args
, **kwargs
):
3417 return _windows
.PreviewFrame_Initialize(*args
, **kwargs
)
3419 def CreateControlBar(*args
, **kwargs
):
3420 """CreateControlBar()"""
3421 return _windows
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
3423 def CreateCanvas(*args
, **kwargs
):
3424 """CreateCanvas()"""
3425 return _windows
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
3427 def GetControlBar(*args
, **kwargs
):
3428 """GetControlBar() -> PreviewControlBar"""
3429 return _windows
.PreviewFrame_GetControlBar(*args
, **kwargs
)
3432 class PreviewFramePtr(PreviewFrame
):
3433 def __init__(self
, this
):
3435 if not hasattr(self
,"thisown"): self
.thisown
= 0
3436 self
.__class
__ = PreviewFrame
3437 _windows
.PreviewFrame_swigregister(PreviewFramePtr
)
3439 PREVIEW_PRINT
= _windows
.PREVIEW_PRINT
3440 PREVIEW_PREVIOUS
= _windows
.PREVIEW_PREVIOUS
3441 PREVIEW_NEXT
= _windows
.PREVIEW_NEXT
3442 PREVIEW_ZOOM
= _windows
.PREVIEW_ZOOM
3443 PREVIEW_FIRST
= _windows
.PREVIEW_FIRST
3444 PREVIEW_LAST
= _windows
.PREVIEW_LAST
3445 PREVIEW_GOTO
= _windows
.PREVIEW_GOTO
3446 PREVIEW_DEFAULT
= _windows
.PREVIEW_DEFAULT
3447 ID_PREVIEW_CLOSE
= _windows
.ID_PREVIEW_CLOSE
3448 ID_PREVIEW_NEXT
= _windows
.ID_PREVIEW_NEXT
3449 ID_PREVIEW_PREVIOUS
= _windows
.ID_PREVIEW_PREVIOUS
3450 ID_PREVIEW_PRINT
= _windows
.ID_PREVIEW_PRINT
3451 ID_PREVIEW_ZOOM
= _windows
.ID_PREVIEW_ZOOM
3452 ID_PREVIEW_FIRST
= _windows
.ID_PREVIEW_FIRST
3453 ID_PREVIEW_LAST
= _windows
.ID_PREVIEW_LAST
3454 ID_PREVIEW_GOTO
= _windows
.ID_PREVIEW_GOTO
3455 class PreviewControlBar(Panel
):
3458 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3459 def __init__(self
, *args
, **kwargs
):
3460 """__init__(PrintPreview preview, long buttons, Window parent,
3461 Point pos=DefaultPosition, Size size=DefaultSize,
3462 long style=TAB_TRAVERSAL, wxString name=PanelNameStr) -> PreviewControlBar"""
3463 newobj
= _windows
.new_PreviewControlBar(*args
, **kwargs
)
3464 self
.this
= newobj
.this
3467 self
._self
._setOORInfo
(self
)
3469 def GetZoomControl(*args
, **kwargs
):
3470 """GetZoomControl() -> int"""
3471 return _windows
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
3473 def SetZoomControl(*args
, **kwargs
):
3474 """SetZoomControl(int zoom)"""
3475 return _windows
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
3477 def GetPrintPreview(*args
, **kwargs
):
3478 """GetPrintPreview() -> PrintPreview"""
3479 return _windows
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
3481 def OnNext(*args
, **kwargs
):
3483 return _windows
.PreviewControlBar_OnNext(*args
, **kwargs
)
3485 def OnPrevious(*args
, **kwargs
):
3487 return _windows
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
3489 def OnFirst(*args
, **kwargs
):
3491 return _windows
.PreviewControlBar_OnFirst(*args
, **kwargs
)
3493 def OnLast(*args
, **kwargs
):
3495 return _windows
.PreviewControlBar_OnLast(*args
, **kwargs
)
3497 def OnGoto(*args
, **kwargs
):
3499 return _windows
.PreviewControlBar_OnGoto(*args
, **kwargs
)
3502 class PreviewControlBarPtr(PreviewControlBar
):
3503 def __init__(self
, this
):
3505 if not hasattr(self
,"thisown"): self
.thisown
= 0
3506 self
.__class
__ = PreviewControlBar
3507 _windows
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
3509 class PrintPreview(core
.Object
):
3512 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3513 def __init__(self
, *args
, **kwargs
):
3514 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PrintPreview"""
3515 newobj
= _windows
.new_PrintPreview(*args
, **kwargs
)
3516 self
.this
= newobj
.this
3519 def SetCurrentPage(*args
, **kwargs
):
3520 """SetCurrentPage(int pageNum) -> bool"""
3521 return _windows
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
3523 def GetCurrentPage(*args
, **kwargs
):
3524 """GetCurrentPage() -> int"""
3525 return _windows
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
3527 def SetPrintout(*args
, **kwargs
):
3528 """SetPrintout(Printout printout)"""
3529 return _windows
.PrintPreview_SetPrintout(*args
, **kwargs
)
3531 def GetPrintout(*args
, **kwargs
):
3532 """GetPrintout() -> Printout"""
3533 return _windows
.PrintPreview_GetPrintout(*args
, **kwargs
)
3535 def GetPrintoutForPrinting(*args
, **kwargs
):
3536 """GetPrintoutForPrinting() -> Printout"""
3537 return _windows
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
3539 def SetFrame(*args
, **kwargs
):
3540 """SetFrame(Frame frame)"""
3541 return _windows
.PrintPreview_SetFrame(*args
, **kwargs
)
3543 def SetCanvas(*args
, **kwargs
):
3544 """SetCanvas(PreviewCanvas canvas)"""
3545 return _windows
.PrintPreview_SetCanvas(*args
, **kwargs
)
3547 def GetFrame(*args
, **kwargs
):
3548 """GetFrame() -> Frame"""
3549 return _windows
.PrintPreview_GetFrame(*args
, **kwargs
)
3551 def GetCanvas(*args
, **kwargs
):
3552 """GetCanvas() -> PreviewCanvas"""
3553 return _windows
.PrintPreview_GetCanvas(*args
, **kwargs
)
3555 def PaintPage(*args
, **kwargs
):
3556 """PaintPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3557 return _windows
.PrintPreview_PaintPage(*args
, **kwargs
)
3559 def DrawBlankPage(*args
, **kwargs
):
3560 """DrawBlankPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3561 return _windows
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
3563 def RenderPage(*args
, **kwargs
):
3564 """RenderPage(int pageNum) -> bool"""
3565 return _windows
.PrintPreview_RenderPage(*args
, **kwargs
)
3567 def AdjustScrollbars(*args
, **kwargs
):
3568 """AdjustScrollbars(PreviewCanvas canvas)"""
3569 return _windows
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
3571 def GetPrintDialogData(*args
, **kwargs
):
3572 """GetPrintDialogData() -> PrintDialogData"""
3573 return _windows
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
3575 def SetZoom(*args
, **kwargs
):
3576 """SetZoom(int percent)"""
3577 return _windows
.PrintPreview_SetZoom(*args
, **kwargs
)
3579 def GetZoom(*args
, **kwargs
):
3580 """GetZoom() -> int"""
3581 return _windows
.PrintPreview_GetZoom(*args
, **kwargs
)
3583 def GetMaxPage(*args
, **kwargs
):
3584 """GetMaxPage() -> int"""
3585 return _windows
.PrintPreview_GetMaxPage(*args
, **kwargs
)
3587 def GetMinPage(*args
, **kwargs
):
3588 """GetMinPage() -> int"""
3589 return _windows
.PrintPreview_GetMinPage(*args
, **kwargs
)
3591 def Ok(*args
, **kwargs
):
3593 return _windows
.PrintPreview_Ok(*args
, **kwargs
)
3595 def SetOk(*args
, **kwargs
):
3596 """SetOk(bool ok)"""
3597 return _windows
.PrintPreview_SetOk(*args
, **kwargs
)
3599 def Print(*args
, **kwargs
):
3600 """Print(bool interactive) -> bool"""
3601 return _windows
.PrintPreview_Print(*args
, **kwargs
)
3603 def DetermineScaling(*args
, **kwargs
):
3604 """DetermineScaling()"""
3605 return _windows
.PrintPreview_DetermineScaling(*args
, **kwargs
)
3607 def __nonzero__(self
): return self
.Ok()
3609 class PrintPreviewPtr(PrintPreview
):
3610 def __init__(self
, this
):
3612 if not hasattr(self
,"thisown"): self
.thisown
= 0
3613 self
.__class
__ = PrintPreview
3614 _windows
.PrintPreview_swigregister(PrintPreviewPtr
)
3616 class PyPrintPreview(PrintPreview
):
3619 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3620 def __init__(self
, *args
, **kwargs
):
3621 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PyPrintPreview"""
3622 newobj
= _windows
.new_PyPrintPreview(*args
, **kwargs
)
3623 self
.this
= newobj
.this
3626 self
._setCallbackInfo
(self
, PyPrintPreview
)
3628 def _setCallbackInfo(*args
, **kwargs
):
3629 """_setCallbackInfo(PyObject self, PyObject _class)"""
3630 return _windows
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
3632 def base_SetCurrentPage(*args
, **kwargs
):
3633 """base_SetCurrentPage(int pageNum) -> bool"""
3634 return _windows
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
3636 def base_PaintPage(*args
, **kwargs
):
3637 """base_PaintPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3638 return _windows
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
3640 def base_DrawBlankPage(*args
, **kwargs
):
3641 """base_DrawBlankPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3642 return _windows
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
3644 def base_RenderPage(*args
, **kwargs
):
3645 """base_RenderPage(int pageNum) -> bool"""
3646 return _windows
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
3648 def base_SetZoom(*args
, **kwargs
):
3649 """base_SetZoom(int percent)"""
3650 return _windows
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
3652 def base_Print(*args
, **kwargs
):
3653 """base_Print(bool interactive) -> bool"""
3654 return _windows
.PyPrintPreview_base_Print(*args
, **kwargs
)
3656 def base_DetermineScaling(*args
, **kwargs
):
3657 """base_DetermineScaling()"""
3658 return _windows
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
3661 class PyPrintPreviewPtr(PyPrintPreview
):
3662 def __init__(self
, this
):
3664 if not hasattr(self
,"thisown"): self
.thisown
= 0
3665 self
.__class
__ = PyPrintPreview
3666 _windows
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
3668 class PyPreviewFrame(PreviewFrame
):
3671 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3672 def __init__(self
, *args
, **kwargs
):
3673 """__init__(PrintPreview preview, Frame parent, wxString title,
3674 Point pos=DefaultPosition, Size size=DefaultSize,
3675 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PyPreviewFrame"""
3676 newobj
= _windows
.new_PyPreviewFrame(*args
, **kwargs
)
3677 self
.this
= newobj
.this
3680 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
3682 def _setCallbackInfo(*args
, **kwargs
):
3683 """_setCallbackInfo(PyObject self, PyObject _class)"""
3684 return _windows
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
3686 def SetPreviewCanvas(*args
, **kwargs
):
3687 """SetPreviewCanvas(PreviewCanvas canvas)"""
3688 return _windows
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
3690 def SetControlBar(*args
, **kwargs
):
3691 """SetControlBar(PreviewControlBar bar)"""
3692 return _windows
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
3694 def base_Initialize(*args
, **kwargs
):
3695 """base_Initialize()"""
3696 return _windows
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
3698 def base_CreateCanvas(*args
, **kwargs
):
3699 """base_CreateCanvas()"""
3700 return _windows
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
3702 def base_CreateControlBar(*args
, **kwargs
):
3703 """base_CreateControlBar()"""
3704 return _windows
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
3707 class PyPreviewFramePtr(PyPreviewFrame
):
3708 def __init__(self
, this
):
3710 if not hasattr(self
,"thisown"): self
.thisown
= 0
3711 self
.__class
__ = PyPreviewFrame
3712 _windows
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
3714 class PyPreviewControlBar(PreviewControlBar
):
3717 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3718 def __init__(self
, *args
, **kwargs
):
3719 """__init__(PrintPreview preview, long buttons, Window parent,
3720 Point pos=DefaultPosition, Size size=DefaultSize,
3721 long style=0, wxString name=PanelNameStr) -> PyPreviewControlBar"""
3722 newobj
= _windows
.new_PyPreviewControlBar(*args
, **kwargs
)
3723 self
.this
= newobj
.this
3726 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
3728 def _setCallbackInfo(*args
, **kwargs
):
3729 """_setCallbackInfo(PyObject self, PyObject _class)"""
3730 return _windows
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
3732 def SetPrintPreview(*args
, **kwargs
):
3733 """SetPrintPreview(PrintPreview preview)"""
3734 return _windows
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
3736 def base_CreateButtons(*args
, **kwargs
):
3737 """base_CreateButtons()"""
3738 return _windows
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
3740 def base_SetZoomControl(*args
, **kwargs
):
3741 """base_SetZoomControl(int zoom)"""
3742 return _windows
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
3745 class PyPreviewControlBarPtr(PyPreviewControlBar
):
3746 def __init__(self
, this
):
3748 if not hasattr(self
,"thisown"): self
.thisown
= 0
3749 self
.__class
__ = PyPreviewControlBar
3750 _windows
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)