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