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
)
145 def SetTargetRect(*args
, **kwargs
):
146 """SetTargetRect(Rect rect)"""
147 return _windows
.ScrolledWindow_SetTargetRect(*args
, **kwargs
)
149 def GetTargetRect(*args
, **kwargs
):
150 """GetTargetRect() -> Rect"""
151 return _windows
.ScrolledWindow_GetTargetRect(*args
, **kwargs
)
154 class ScrolledWindowPtr(ScrolledWindow
):
155 def __init__(self
, this
):
157 if not hasattr(self
,"thisown"): self
.thisown
= 0
158 self
.__class
__ = ScrolledWindow
159 _windows
.ScrolledWindow_swigregister(ScrolledWindowPtr
)
161 def PreScrolledWindow(*args
, **kwargs
):
162 """PreScrolledWindow() -> ScrolledWindow"""
163 val
= _windows
.new_PreScrolledWindow(*args
, **kwargs
)
167 #---------------------------------------------------------------------------
169 class AcceleratorEntry(object):
172 return "<%s.%s; proxy of C++ wxAcceleratorEntry instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
173 def __init__(self
, *args
, **kwargs
):
174 """__init__(int flags=0, int keyCode=0, int cmd=0, MenuItem item=None) -> AcceleratorEntry"""
175 newobj
= _windows
.new_AcceleratorEntry(*args
, **kwargs
)
176 self
.this
= newobj
.this
179 def __del__(self
, destroy
=_windows
.delete_AcceleratorEntry
):
182 if self
.thisown
: destroy(self
)
185 def Set(*args
, **kwargs
):
186 """Set(int flags, int keyCode, int cmd, MenuItem item=None)"""
187 return _windows
.AcceleratorEntry_Set(*args
, **kwargs
)
189 def SetMenuItem(*args
, **kwargs
):
190 """SetMenuItem(MenuItem item)"""
191 return _windows
.AcceleratorEntry_SetMenuItem(*args
, **kwargs
)
193 def GetMenuItem(*args
, **kwargs
):
194 """GetMenuItem() -> MenuItem"""
195 return _windows
.AcceleratorEntry_GetMenuItem(*args
, **kwargs
)
197 def GetFlags(*args
, **kwargs
):
198 """GetFlags() -> int"""
199 return _windows
.AcceleratorEntry_GetFlags(*args
, **kwargs
)
201 def GetKeyCode(*args
, **kwargs
):
202 """GetKeyCode() -> int"""
203 return _windows
.AcceleratorEntry_GetKeyCode(*args
, **kwargs
)
205 def GetCommand(*args
, **kwargs
):
206 """GetCommand() -> int"""
207 return _windows
.AcceleratorEntry_GetCommand(*args
, **kwargs
)
210 class AcceleratorEntryPtr(AcceleratorEntry
):
211 def __init__(self
, this
):
213 if not hasattr(self
,"thisown"): self
.thisown
= 0
214 self
.__class
__ = AcceleratorEntry
215 _windows
.AcceleratorEntry_swigregister(AcceleratorEntryPtr
)
217 class AcceleratorTable(core
.Object
):
220 return "<%s.%s; proxy of C++ wxAcceleratorTable instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
221 def __init__(self
, *args
, **kwargs
):
222 """__init__(int n, AcceleratorEntry entries) -> AcceleratorTable"""
223 newobj
= _windows
.new_AcceleratorTable(*args
, **kwargs
)
224 self
.this
= newobj
.this
227 def __del__(self
, destroy
=_windows
.delete_AcceleratorTable
):
230 if self
.thisown
: destroy(self
)
233 def Ok(*args
, **kwargs
):
235 return _windows
.AcceleratorTable_Ok(*args
, **kwargs
)
238 class AcceleratorTablePtr(AcceleratorTable
):
239 def __init__(self
, this
):
241 if not hasattr(self
,"thisown"): self
.thisown
= 0
242 self
.__class
__ = AcceleratorTable
243 _windows
.AcceleratorTable_swigregister(AcceleratorTablePtr
)
246 def GetAccelFromString(*args
, **kwargs
):
247 """GetAccelFromString(wxString label) -> AcceleratorEntry"""
248 return _windows
.GetAccelFromString(*args
, **kwargs
)
249 #---------------------------------------------------------------------------
251 FULLSCREEN_NOMENUBAR
= _windows
.FULLSCREEN_NOMENUBAR
252 FULLSCREEN_NOTOOLBAR
= _windows
.FULLSCREEN_NOTOOLBAR
253 FULLSCREEN_NOSTATUSBAR
= _windows
.FULLSCREEN_NOSTATUSBAR
254 FULLSCREEN_NOBORDER
= _windows
.FULLSCREEN_NOBORDER
255 FULLSCREEN_NOCAPTION
= _windows
.FULLSCREEN_NOCAPTION
256 FULLSCREEN_ALL
= _windows
.FULLSCREEN_ALL
257 TOPLEVEL_EX_DIALOG
= _windows
.TOPLEVEL_EX_DIALOG
258 class TopLevelWindow(core
.Window
):
260 def __init__(self
): raise RuntimeError, "No constructor defined"
262 return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
263 def Maximize(*args
, **kwargs
):
264 """Maximize(bool maximize=True)"""
265 return _windows
.TopLevelWindow_Maximize(*args
, **kwargs
)
267 def Restore(*args
, **kwargs
):
269 return _windows
.TopLevelWindow_Restore(*args
, **kwargs
)
271 def Iconize(*args
, **kwargs
):
272 """Iconize(bool iconize=True)"""
273 return _windows
.TopLevelWindow_Iconize(*args
, **kwargs
)
275 def IsMaximized(*args
, **kwargs
):
276 """IsMaximized() -> bool"""
277 return _windows
.TopLevelWindow_IsMaximized(*args
, **kwargs
)
279 def IsIconized(*args
, **kwargs
):
280 """IsIconized() -> bool"""
281 return _windows
.TopLevelWindow_IsIconized(*args
, **kwargs
)
283 def GetIcon(*args
, **kwargs
):
284 """GetIcon() -> wxIcon"""
285 return _windows
.TopLevelWindow_GetIcon(*args
, **kwargs
)
287 def SetIcon(*args
, **kwargs
):
288 """SetIcon(wxIcon icon)"""
289 return _windows
.TopLevelWindow_SetIcon(*args
, **kwargs
)
291 def SetIcons(*args
, **kwargs
):
292 """SetIcons(wxIconBundle icons)"""
293 return _windows
.TopLevelWindow_SetIcons(*args
, **kwargs
)
295 def ShowFullScreen(*args
, **kwargs
):
296 """ShowFullScreen(bool show, long style=FULLSCREEN_ALL) -> bool"""
297 return _windows
.TopLevelWindow_ShowFullScreen(*args
, **kwargs
)
299 def IsFullScreen(*args
, **kwargs
):
300 """IsFullScreen() -> bool"""
301 return _windows
.TopLevelWindow_IsFullScreen(*args
, **kwargs
)
303 def SetTitle(*args
, **kwargs
):
304 """SetTitle(wxString title)"""
305 return _windows
.TopLevelWindow_SetTitle(*args
, **kwargs
)
307 def GetTitle(*args
, **kwargs
):
308 """GetTitle() -> wxString"""
309 return _windows
.TopLevelWindow_GetTitle(*args
, **kwargs
)
311 def SetShape(*args
, **kwargs
):
312 """SetShape(wxRegion region) -> bool"""
313 return _windows
.TopLevelWindow_SetShape(*args
, **kwargs
)
316 class TopLevelWindowPtr(TopLevelWindow
):
317 def __init__(self
, this
):
319 if not hasattr(self
,"thisown"): self
.thisown
= 0
320 self
.__class
__ = TopLevelWindow
321 _windows
.TopLevelWindow_swigregister(TopLevelWindowPtr
)
323 NullAcceleratorTable
= cvar
.NullAcceleratorTable
325 #---------------------------------------------------------------------------
327 class Frame(TopLevelWindow
):
330 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
331 def __init__(self
, *args
, **kwargs
):
332 """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
333 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
334 wxString name=wxPyFrameNameStr) -> Frame"""
335 newobj
= _windows
.new_Frame(*args
, **kwargs
)
336 self
.this
= newobj
.this
339 self
._setOORInfo
(self
)
341 def Create(*args
, **kwargs
):
342 """Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
343 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
344 wxString name=wxPyFrameNameStr) -> bool"""
345 return _windows
.Frame_Create(*args
, **kwargs
)
347 def GetClientAreaOrigin(*args
, **kwargs
):
348 """GetClientAreaOrigin() -> Point"""
349 return _windows
.Frame_GetClientAreaOrigin(*args
, **kwargs
)
351 def SendSizeEvent(*args
, **kwargs
):
352 """SendSizeEvent()"""
353 return _windows
.Frame_SendSizeEvent(*args
, **kwargs
)
355 def SetMenuBar(*args
, **kwargs
):
356 """SetMenuBar(MenuBar menubar)"""
357 return _windows
.Frame_SetMenuBar(*args
, **kwargs
)
359 def GetMenuBar(*args
, **kwargs
):
360 """GetMenuBar() -> MenuBar"""
361 return _windows
.Frame_GetMenuBar(*args
, **kwargs
)
363 def ProcessCommand(*args
, **kwargs
):
364 """ProcessCommand(int winid) -> bool"""
365 return _windows
.Frame_ProcessCommand(*args
, **kwargs
)
367 Command
= ProcessCommand
368 def CreateStatusBar(*args
, **kwargs
):
369 """CreateStatusBar(int number=1, long style=ST_SIZEGRIP, int winid=0,
370 wxString name=wxPyStatusLineNameStr) -> StatusBar"""
371 return _windows
.Frame_CreateStatusBar(*args
, **kwargs
)
373 def GetStatusBar(*args
, **kwargs
):
374 """GetStatusBar() -> StatusBar"""
375 return _windows
.Frame_GetStatusBar(*args
, **kwargs
)
377 def SetStatusBar(*args
, **kwargs
):
378 """SetStatusBar(StatusBar statBar)"""
379 return _windows
.Frame_SetStatusBar(*args
, **kwargs
)
381 def SetStatusText(*args
, **kwargs
):
382 """SetStatusText(wxString text, int number=0)"""
383 return _windows
.Frame_SetStatusText(*args
, **kwargs
)
385 def SetStatusWidths(*args
, **kwargs
):
386 """SetStatusWidths(int widths, int widths_field)"""
387 return _windows
.Frame_SetStatusWidths(*args
, **kwargs
)
389 def PushStatusText(*args
, **kwargs
):
390 """PushStatusText(wxString text, int number=0)"""
391 return _windows
.Frame_PushStatusText(*args
, **kwargs
)
393 def PopStatusText(*args
, **kwargs
):
394 """PopStatusText(int number=0)"""
395 return _windows
.Frame_PopStatusText(*args
, **kwargs
)
397 def SetStatusBarPane(*args
, **kwargs
):
398 """SetStatusBarPane(int n)"""
399 return _windows
.Frame_SetStatusBarPane(*args
, **kwargs
)
401 def GetStatusBarPane(*args
, **kwargs
):
402 """GetStatusBarPane() -> int"""
403 return _windows
.Frame_GetStatusBarPane(*args
, **kwargs
)
405 def CreateToolBar(*args
, **kwargs
):
406 """CreateToolBar(long style=-1, int winid=-1, wxString name=wxPyToolBarNameStr) -> wxToolBar"""
407 return _windows
.Frame_CreateToolBar(*args
, **kwargs
)
409 def GetToolBar(*args
, **kwargs
):
410 """GetToolBar() -> wxToolBar"""
411 return _windows
.Frame_GetToolBar(*args
, **kwargs
)
413 def SetToolBar(*args
, **kwargs
):
414 """SetToolBar(wxToolBar toolbar)"""
415 return _windows
.Frame_SetToolBar(*args
, **kwargs
)
417 def DoGiveHelp(*args
, **kwargs
):
418 """DoGiveHelp(wxString text, bool show)"""
419 return _windows
.Frame_DoGiveHelp(*args
, **kwargs
)
421 def DoMenuUpdates(*args
, **kwargs
):
422 """DoMenuUpdates(Menu menu=None)"""
423 return _windows
.Frame_DoMenuUpdates(*args
, **kwargs
)
426 class FramePtr(Frame
):
427 def __init__(self
, this
):
429 if not hasattr(self
,"thisown"): self
.thisown
= 0
430 self
.__class
__ = Frame
431 _windows
.Frame_swigregister(FramePtr
)
433 def PreFrame(*args
, **kwargs
):
434 """PreFrame() -> Frame"""
435 val
= _windows
.new_PreFrame(*args
, **kwargs
)
439 #---------------------------------------------------------------------------
441 class Dialog(TopLevelWindow
):
444 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
445 def __init__(self
, *args
, **kwargs
):
446 """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
447 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
448 wxString name=wxPyDialogNameStr) -> Dialog"""
449 newobj
= _windows
.new_Dialog(*args
, **kwargs
)
450 self
.this
= newobj
.this
453 self
._setOORInfo
(self
)
455 def Create(*args
, **kwargs
):
456 """Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
457 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
458 wxString name=wxPyDialogNameStr) -> bool"""
459 return _windows
.Dialog_Create(*args
, **kwargs
)
461 def SetReturnCode(*args
, **kwargs
):
462 """SetReturnCode(int returnCode)"""
463 return _windows
.Dialog_SetReturnCode(*args
, **kwargs
)
465 def GetReturnCode(*args
, **kwargs
):
466 """GetReturnCode() -> int"""
467 return _windows
.Dialog_GetReturnCode(*args
, **kwargs
)
469 def CreateTextSizer(*args
, **kwargs
):
470 """CreateTextSizer(wxString message) -> Sizer"""
471 return _windows
.Dialog_CreateTextSizer(*args
, **kwargs
)
473 def CreateButtonSizer(*args
, **kwargs
):
474 """CreateButtonSizer(long flags) -> Sizer"""
475 return _windows
.Dialog_CreateButtonSizer(*args
, **kwargs
)
477 def SetModal(*args
, **kwargs
):
478 """SetModal(bool flag)"""
479 return _windows
.Dialog_SetModal(*args
, **kwargs
)
481 def IsModal(*args
, **kwargs
):
482 """IsModal() -> bool"""
483 return _windows
.Dialog_IsModal(*args
, **kwargs
)
485 def ShowModal(*args
, **kwargs
):
486 """ShowModal() -> int"""
487 return _windows
.Dialog_ShowModal(*args
, **kwargs
)
489 def EndModal(*args
, **kwargs
):
490 """EndModal(int retCode)"""
491 return _windows
.Dialog_EndModal(*args
, **kwargs
)
493 def IsModalShowing(*args
, **kwargs
):
494 """IsModalShowing() -> bool"""
495 return _windows
.Dialog_IsModalShowing(*args
, **kwargs
)
498 class DialogPtr(Dialog
):
499 def __init__(self
, this
):
501 if not hasattr(self
,"thisown"): self
.thisown
= 0
502 self
.__class
__ = Dialog
503 _windows
.Dialog_swigregister(DialogPtr
)
505 def PreDialog(*args
, **kwargs
):
506 """PreDialog() -> Dialog"""
507 val
= _windows
.new_PreDialog(*args
, **kwargs
)
511 #---------------------------------------------------------------------------
513 class MiniFrame(Frame
):
516 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
517 def __init__(self
, *args
, **kwargs
):
518 """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
519 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
520 wxString name=wxPyFrameNameStr) -> MiniFrame"""
521 newobj
= _windows
.new_MiniFrame(*args
, **kwargs
)
522 self
.this
= newobj
.this
525 self
._setOORInfo
(self
)
527 def Create(*args
, **kwargs
):
528 """Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
529 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
530 wxString name=wxPyFrameNameStr) -> bool"""
531 return _windows
.MiniFrame_Create(*args
, **kwargs
)
534 class MiniFramePtr(MiniFrame
):
535 def __init__(self
, this
):
537 if not hasattr(self
,"thisown"): self
.thisown
= 0
538 self
.__class
__ = MiniFrame
539 _windows
.MiniFrame_swigregister(MiniFramePtr
)
541 def PreMiniFrame(*args
, **kwargs
):
542 """PreMiniFrame() -> MiniFrame"""
543 val
= _windows
.new_PreMiniFrame(*args
, **kwargs
)
547 #---------------------------------------------------------------------------
549 SPLASH_CENTRE_ON_PARENT
= _windows
.SPLASH_CENTRE_ON_PARENT
550 SPLASH_CENTRE_ON_SCREEN
= _windows
.SPLASH_CENTRE_ON_SCREEN
551 SPLASH_NO_CENTRE
= _windows
.SPLASH_NO_CENTRE
552 SPLASH_TIMEOUT
= _windows
.SPLASH_TIMEOUT
553 SPLASH_NO_TIMEOUT
= _windows
.SPLASH_NO_TIMEOUT
554 class SplashScreenWindow(core
.Window
):
557 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
558 def __init__(self
, *args
, **kwargs
):
559 """__init__(wxBitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
560 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow"""
561 newobj
= _windows
.new_SplashScreenWindow(*args
, **kwargs
)
562 self
.this
= newobj
.this
565 self
._setOORInfo
(self
)
567 def SetBitmap(*args
, **kwargs
):
568 """SetBitmap(wxBitmap bitmap)"""
569 return _windows
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
571 def GetBitmap(*args
, **kwargs
):
572 """GetBitmap() -> wxBitmap"""
573 return _windows
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
576 class SplashScreenWindowPtr(SplashScreenWindow
):
577 def __init__(self
, this
):
579 if not hasattr(self
,"thisown"): self
.thisown
= 0
580 self
.__class
__ = SplashScreenWindow
581 _windows
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
583 class SplashScreen(Frame
):
586 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
587 def __init__(self
, *args
, **kwargs
):
588 """__init__(wxBitmap bitmap, long splashStyle, int milliseconds,
589 Window parent, int id, Point pos=DefaultPosition,
590 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen"""
591 newobj
= _windows
.new_SplashScreen(*args
, **kwargs
)
592 self
.this
= newobj
.this
595 self
._setOORInfo
(self
)
597 def GetSplashStyle(*args
, **kwargs
):
598 """GetSplashStyle() -> long"""
599 return _windows
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
601 def GetSplashWindow(*args
, **kwargs
):
602 """GetSplashWindow() -> SplashScreenWindow"""
603 return _windows
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
605 def GetTimeout(*args
, **kwargs
):
606 """GetTimeout() -> int"""
607 return _windows
.SplashScreen_GetTimeout(*args
, **kwargs
)
610 class SplashScreenPtr(SplashScreen
):
611 def __init__(self
, this
):
613 if not hasattr(self
,"thisown"): self
.thisown
= 0
614 self
.__class
__ = SplashScreen
615 _windows
.SplashScreen_swigregister(SplashScreenPtr
)
617 #---------------------------------------------------------------------------
619 class StatusBar(core
.Window
):
622 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
623 def __init__(self
, *args
, **kwargs
):
624 """__init__(Window parent, int id=-1, long style=ST_SIZEGRIP, wxString name=wxPyStatusLineNameStr) -> StatusBar"""
625 newobj
= _windows
.new_StatusBar(*args
, **kwargs
)
626 self
.this
= newobj
.this
629 self
._setOORInfo
(self
)
631 def Create(*args
, **kwargs
):
632 """Create(Window parent, int id, long style=ST_SIZEGRIP, wxString name=wxPyStatusLineNameStr) -> bool"""
633 return _windows
.StatusBar_Create(*args
, **kwargs
)
635 def SetFieldsCount(*args
, **kwargs
):
636 """SetFieldsCount(int number=1)"""
637 return _windows
.StatusBar_SetFieldsCount(*args
, **kwargs
)
639 def GetFieldsCount(*args
, **kwargs
):
640 """GetFieldsCount() -> int"""
641 return _windows
.StatusBar_GetFieldsCount(*args
, **kwargs
)
643 def SetStatusText(*args
, **kwargs
):
644 """SetStatusText(wxString text, int number=0)"""
645 return _windows
.StatusBar_SetStatusText(*args
, **kwargs
)
647 def GetStatusText(*args
, **kwargs
):
648 """GetStatusText(int number=0) -> wxString"""
649 return _windows
.StatusBar_GetStatusText(*args
, **kwargs
)
651 def PushStatusText(*args
, **kwargs
):
652 """PushStatusText(wxString text, int number=0)"""
653 return _windows
.StatusBar_PushStatusText(*args
, **kwargs
)
655 def PopStatusText(*args
, **kwargs
):
656 """PopStatusText(int number=0)"""
657 return _windows
.StatusBar_PopStatusText(*args
, **kwargs
)
659 def SetStatusWidths(*args
, **kwargs
):
660 """SetStatusWidths(int widths, int widths_field)"""
661 return _windows
.StatusBar_SetStatusWidths(*args
, **kwargs
)
663 def GetFieldRect(*args
, **kwargs
):
664 """GetFieldRect(int i, Rect rect) -> bool"""
665 return _windows
.StatusBar_GetFieldRect(*args
, **kwargs
)
667 def SetMinHeight(*args
, **kwargs
):
668 """SetMinHeight(int height)"""
669 return _windows
.StatusBar_SetMinHeight(*args
, **kwargs
)
671 def GetBorderX(*args
, **kwargs
):
672 """GetBorderX() -> int"""
673 return _windows
.StatusBar_GetBorderX(*args
, **kwargs
)
675 def GetBorderY(*args
, **kwargs
):
676 """GetBorderY() -> int"""
677 return _windows
.StatusBar_GetBorderY(*args
, **kwargs
)
680 class StatusBarPtr(StatusBar
):
681 def __init__(self
, this
):
683 if not hasattr(self
,"thisown"): self
.thisown
= 0
684 self
.__class
__ = StatusBar
685 _windows
.StatusBar_swigregister(StatusBarPtr
)
687 def PreStatusBar(*args
, **kwargs
):
688 """PreStatusBar() -> StatusBar"""
689 val
= _windows
.new_PreStatusBar(*args
, **kwargs
)
693 #---------------------------------------------------------------------------
695 SP_NOBORDER
= _windows
.SP_NOBORDER
696 SP_NOSASH
= _windows
.SP_NOSASH
697 SP_PERMIT_UNSPLIT
= _windows
.SP_PERMIT_UNSPLIT
698 SP_LIVE_UPDATE
= _windows
.SP_LIVE_UPDATE
699 SP_3DSASH
= _windows
.SP_3DSASH
700 SP_3DBORDER
= _windows
.SP_3DBORDER
701 SP_BORDER
= _windows
.SP_BORDER
702 SP_3D
= _windows
.SP_3D
703 SPLIT_HORIZONTAL
= _windows
.SPLIT_HORIZONTAL
704 SPLIT_VERTICAL
= _windows
.SPLIT_VERTICAL
705 SPLIT_DRAG_NONE
= _windows
.SPLIT_DRAG_NONE
706 SPLIT_DRAG_DRAGGING
= _windows
.SPLIT_DRAG_DRAGGING
707 SPLIT_DRAG_LEFT_DOWN
= _windows
.SPLIT_DRAG_LEFT_DOWN
708 class SplitterWindow(core
.Window
):
711 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
712 def __init__(self
, *args
, **kwargs
):
713 """__init__(Window parent, int id, Point point=DefaultPosition,
714 Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> SplitterWindow"""
715 newobj
= _windows
.new_SplitterWindow(*args
, **kwargs
)
716 self
.this
= newobj
.this
719 self
._setOORInfo
(self
)
721 def Create(*args
, **kwargs
):
722 """Create(Window parent, int id, Point point=DefaultPosition,
723 Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> bool"""
724 return _windows
.SplitterWindow_Create(*args
, **kwargs
)
726 def GetWindow1(*args
, **kwargs
):
727 """GetWindow1() -> Window"""
728 return _windows
.SplitterWindow_GetWindow1(*args
, **kwargs
)
730 def GetWindow2(*args
, **kwargs
):
731 """GetWindow2() -> Window"""
732 return _windows
.SplitterWindow_GetWindow2(*args
, **kwargs
)
734 def SetSplitMode(*args
, **kwargs
):
735 """SetSplitMode(int mode)"""
736 return _windows
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
738 def GetSplitMode(*args
, **kwargs
):
739 """GetSplitMode() -> wxSplitMode"""
740 return _windows
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
742 def Initialize(*args
, **kwargs
):
743 """Initialize(Window window)"""
744 return _windows
.SplitterWindow_Initialize(*args
, **kwargs
)
746 def SplitVertically(*args
, **kwargs
):
747 """SplitVertically(Window window1, Window window2, int sashPosition=0) -> bool"""
748 return _windows
.SplitterWindow_SplitVertically(*args
, **kwargs
)
750 def SplitHorizontally(*args
, **kwargs
):
751 """SplitHorizontally(Window window1, Window window2, int sashPosition=0) -> bool"""
752 return _windows
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
754 def Unsplit(*args
, **kwargs
):
755 """Unsplit(Window toRemove=None) -> bool"""
756 return _windows
.SplitterWindow_Unsplit(*args
, **kwargs
)
758 def ReplaceWindow(*args
, **kwargs
):
759 """ReplaceWindow(Window winOld, Window winNew) -> bool"""
760 return _windows
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
762 def IsSplit(*args
, **kwargs
):
763 """IsSplit() -> bool"""
764 return _windows
.SplitterWindow_IsSplit(*args
, **kwargs
)
766 def SetSashSize(*args
, **kwargs
):
767 """SetSashSize(int width)"""
768 return _windows
.SplitterWindow_SetSashSize(*args
, **kwargs
)
770 def SetBorderSize(*args
, **kwargs
):
771 """SetBorderSize(int width)"""
772 return _windows
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
774 def GetSashSize(*args
, **kwargs
):
775 """GetSashSize() -> int"""
776 return _windows
.SplitterWindow_GetSashSize(*args
, **kwargs
)
778 def GetBorderSize(*args
, **kwargs
):
779 """GetBorderSize() -> int"""
780 return _windows
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
782 def SetSashPosition(*args
, **kwargs
):
783 """SetSashPosition(int position, bool redraw=True)"""
784 return _windows
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
786 def GetSashPosition(*args
, **kwargs
):
787 """GetSashPosition() -> int"""
788 return _windows
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
790 def SetMinimumPaneSize(*args
, **kwargs
):
791 """SetMinimumPaneSize(int min)"""
792 return _windows
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
794 def GetMinimumPaneSize(*args
, **kwargs
):
795 """GetMinimumPaneSize() -> int"""
796 return _windows
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
798 def SashHitTest(*args
, **kwargs
):
799 """SashHitTest(int x, int y, int tolerance=5) -> bool"""
800 return _windows
.SplitterWindow_SashHitTest(*args
, **kwargs
)
802 def SizeWindows(*args
, **kwargs
):
804 return _windows
.SplitterWindow_SizeWindows(*args
, **kwargs
)
806 def SetNeedUpdating(*args
, **kwargs
):
807 """SetNeedUpdating(bool needUpdating)"""
808 return _windows
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
810 def GetNeedUpdating(*args
, **kwargs
):
811 """GetNeedUpdating() -> bool"""
812 return _windows
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
815 class SplitterWindowPtr(SplitterWindow
):
816 def __init__(self
, this
):
818 if not hasattr(self
,"thisown"): self
.thisown
= 0
819 self
.__class
__ = SplitterWindow
820 _windows
.SplitterWindow_swigregister(SplitterWindowPtr
)
822 def PreSplitterWindow(*args
, **kwargs
):
823 """PreSplitterWindow() -> SplitterWindow"""
824 val
= _windows
.new_PreSplitterWindow(*args
, **kwargs
)
828 class SplitterEvent(core
.NotifyEvent
):
831 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
832 def __init__(self
, *args
, **kwargs
):
833 """__init__(wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent"""
834 newobj
= _windows
.new_SplitterEvent(*args
, **kwargs
)
835 self
.this
= newobj
.this
838 def SetSashPosition(*args
, **kwargs
):
839 """SetSashPosition(int pos)"""
840 return _windows
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
842 def GetSashPosition(*args
, **kwargs
):
843 """GetSashPosition() -> int"""
844 return _windows
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
846 def GetWindowBeingRemoved(*args
, **kwargs
):
847 """GetWindowBeingRemoved() -> Window"""
848 return _windows
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
850 def GetX(*args
, **kwargs
):
852 return _windows
.SplitterEvent_GetX(*args
, **kwargs
)
854 def GetY(*args
, **kwargs
):
856 return _windows
.SplitterEvent_GetY(*args
, **kwargs
)
859 class SplitterEventPtr(SplitterEvent
):
860 def __init__(self
, this
):
862 if not hasattr(self
,"thisown"): self
.thisown
= 0
863 self
.__class
__ = SplitterEvent
864 _windows
.SplitterEvent_swigregister(SplitterEventPtr
)
866 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
867 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
868 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
869 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows
.wxEVT_COMMAND_SPLITTER_UNSPLIT
870 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
871 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
872 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
873 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
875 #---------------------------------------------------------------------------
877 SASH_DRAG_NONE
= _windows
.SASH_DRAG_NONE
878 SASH_DRAG_DRAGGING
= _windows
.SASH_DRAG_DRAGGING
879 SASH_DRAG_LEFT_DOWN
= _windows
.SASH_DRAG_LEFT_DOWN
880 SW_NOBORDER
= _windows
.SW_NOBORDER
881 SW_BORDER
= _windows
.SW_BORDER
882 SW_3DSASH
= _windows
.SW_3DSASH
883 SW_3DBORDER
= _windows
.SW_3DBORDER
884 SW_3D
= _windows
.SW_3D
885 SASH_TOP
= _windows
.SASH_TOP
886 SASH_RIGHT
= _windows
.SASH_RIGHT
887 SASH_BOTTOM
= _windows
.SASH_BOTTOM
888 SASH_LEFT
= _windows
.SASH_LEFT
889 SASH_NONE
= _windows
.SASH_NONE
890 class SashWindow(core
.Window
):
893 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
894 def __init__(self
, *args
, **kwargs
):
895 """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
896 long style=wxCLIP_CHILDREN|wxSW_3D,
897 wxString name=wxPySashNameStr) -> SashWindow"""
898 newobj
= _windows
.new_SashWindow(*args
, **kwargs
)
899 self
.this
= newobj
.this
902 self
._setOORInfo
(self
)
904 def Create(*args
, **kwargs
):
905 """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
906 long style=wxCLIP_CHILDREN|wxSW_3D,
907 wxString name=wxPySashNameStr) -> bool"""
908 return _windows
.SashWindow_Create(*args
, **kwargs
)
910 def SetSashVisible(*args
, **kwargs
):
911 """SetSashVisible(wxSashEdgePosition edge, bool sash)"""
912 return _windows
.SashWindow_SetSashVisible(*args
, **kwargs
)
914 def GetSashVisible(*args
, **kwargs
):
915 """GetSashVisible(wxSashEdgePosition edge) -> bool"""
916 return _windows
.SashWindow_GetSashVisible(*args
, **kwargs
)
918 def SetSashBorder(*args
, **kwargs
):
919 """SetSashBorder(wxSashEdgePosition edge, bool border)"""
920 return _windows
.SashWindow_SetSashBorder(*args
, **kwargs
)
922 def HasBorder(*args
, **kwargs
):
923 """HasBorder(wxSashEdgePosition edge) -> bool"""
924 return _windows
.SashWindow_HasBorder(*args
, **kwargs
)
926 def GetEdgeMargin(*args
, **kwargs
):
927 """GetEdgeMargin(wxSashEdgePosition edge) -> int"""
928 return _windows
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
930 def SetDefaultBorderSize(*args
, **kwargs
):
931 """SetDefaultBorderSize(int width)"""
932 return _windows
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
934 def GetDefaultBorderSize(*args
, **kwargs
):
935 """GetDefaultBorderSize() -> int"""
936 return _windows
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
938 def SetExtraBorderSize(*args
, **kwargs
):
939 """SetExtraBorderSize(int width)"""
940 return _windows
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
942 def GetExtraBorderSize(*args
, **kwargs
):
943 """GetExtraBorderSize() -> int"""
944 return _windows
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
946 def SetMinimumSizeX(*args
, **kwargs
):
947 """SetMinimumSizeX(int min)"""
948 return _windows
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
950 def SetMinimumSizeY(*args
, **kwargs
):
951 """SetMinimumSizeY(int min)"""
952 return _windows
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
954 def GetMinimumSizeX(*args
, **kwargs
):
955 """GetMinimumSizeX() -> int"""
956 return _windows
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
958 def GetMinimumSizeY(*args
, **kwargs
):
959 """GetMinimumSizeY() -> int"""
960 return _windows
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
962 def SetMaximumSizeX(*args
, **kwargs
):
963 """SetMaximumSizeX(int max)"""
964 return _windows
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
966 def SetMaximumSizeY(*args
, **kwargs
):
967 """SetMaximumSizeY(int max)"""
968 return _windows
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
970 def GetMaximumSizeX(*args
, **kwargs
):
971 """GetMaximumSizeX() -> int"""
972 return _windows
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
974 def GetMaximumSizeY(*args
, **kwargs
):
975 """GetMaximumSizeY() -> int"""
976 return _windows
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
978 def SashHitTest(*args
, **kwargs
):
979 """SashHitTest(int x, int y, int tolerance=2) -> wxSashEdgePosition"""
980 return _windows
.SashWindow_SashHitTest(*args
, **kwargs
)
982 def SizeWindows(*args
, **kwargs
):
984 return _windows
.SashWindow_SizeWindows(*args
, **kwargs
)
987 class SashWindowPtr(SashWindow
):
988 def __init__(self
, this
):
990 if not hasattr(self
,"thisown"): self
.thisown
= 0
991 self
.__class
__ = SashWindow
992 _windows
.SashWindow_swigregister(SashWindowPtr
)
994 def PreSashWindow(*args
, **kwargs
):
995 """PreSashWindow() -> SashWindow"""
996 val
= _windows
.new_PreSashWindow(*args
, **kwargs
)
1000 SASH_STATUS_OK
= _windows
.SASH_STATUS_OK
1001 SASH_STATUS_OUT_OF_RANGE
= _windows
.SASH_STATUS_OUT_OF_RANGE
1002 class SashEvent(core
.CommandEvent
):
1005 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1006 def __init__(self
, *args
, **kwargs
):
1007 """__init__(int id=0, wxSashEdgePosition edge=SASH_NONE) -> SashEvent"""
1008 newobj
= _windows
.new_SashEvent(*args
, **kwargs
)
1009 self
.this
= newobj
.this
1012 def SetEdge(*args
, **kwargs
):
1013 """SetEdge(wxSashEdgePosition edge)"""
1014 return _windows
.SashEvent_SetEdge(*args
, **kwargs
)
1016 def GetEdge(*args
, **kwargs
):
1017 """GetEdge() -> wxSashEdgePosition"""
1018 return _windows
.SashEvent_GetEdge(*args
, **kwargs
)
1020 def SetDragRect(*args
, **kwargs
):
1021 """SetDragRect(Rect rect)"""
1022 return _windows
.SashEvent_SetDragRect(*args
, **kwargs
)
1024 def GetDragRect(*args
, **kwargs
):
1025 """GetDragRect() -> Rect"""
1026 return _windows
.SashEvent_GetDragRect(*args
, **kwargs
)
1028 def SetDragStatus(*args
, **kwargs
):
1029 """SetDragStatus(wxSashDragStatus status)"""
1030 return _windows
.SashEvent_SetDragStatus(*args
, **kwargs
)
1032 def GetDragStatus(*args
, **kwargs
):
1033 """GetDragStatus() -> wxSashDragStatus"""
1034 return _windows
.SashEvent_GetDragStatus(*args
, **kwargs
)
1037 class SashEventPtr(SashEvent
):
1038 def __init__(self
, this
):
1040 if not hasattr(self
,"thisown"): self
.thisown
= 0
1041 self
.__class
__ = SashEvent
1042 _windows
.SashEvent_swigregister(SashEventPtr
)
1044 wxEVT_SASH_DRAGGED
= _windows
.wxEVT_SASH_DRAGGED
1045 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
1046 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
1048 #---------------------------------------------------------------------------
1050 LAYOUT_HORIZONTAL
= _windows
.LAYOUT_HORIZONTAL
1051 LAYOUT_VERTICAL
= _windows
.LAYOUT_VERTICAL
1052 LAYOUT_NONE
= _windows
.LAYOUT_NONE
1053 LAYOUT_TOP
= _windows
.LAYOUT_TOP
1054 LAYOUT_LEFT
= _windows
.LAYOUT_LEFT
1055 LAYOUT_RIGHT
= _windows
.LAYOUT_RIGHT
1056 LAYOUT_BOTTOM
= _windows
.LAYOUT_BOTTOM
1057 LAYOUT_LENGTH_Y
= _windows
.LAYOUT_LENGTH_Y
1058 LAYOUT_LENGTH_X
= _windows
.LAYOUT_LENGTH_X
1059 LAYOUT_MRU_LENGTH
= _windows
.LAYOUT_MRU_LENGTH
1060 LAYOUT_QUERY
= _windows
.LAYOUT_QUERY
1061 wxEVT_QUERY_LAYOUT_INFO
= _windows
.wxEVT_QUERY_LAYOUT_INFO
1062 wxEVT_CALCULATE_LAYOUT
= _windows
.wxEVT_CALCULATE_LAYOUT
1063 class QueryLayoutInfoEvent(core
.Event
):
1066 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1067 def __init__(self
, *args
, **kwargs
):
1068 """__init__(int id=0) -> QueryLayoutInfoEvent"""
1069 newobj
= _windows
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1070 self
.this
= newobj
.this
1073 def SetRequestedLength(*args
, **kwargs
):
1074 """SetRequestedLength(int length)"""
1075 return _windows
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1077 def GetRequestedLength(*args
, **kwargs
):
1078 """GetRequestedLength() -> int"""
1079 return _windows
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1081 def SetFlags(*args
, **kwargs
):
1082 """SetFlags(int flags)"""
1083 return _windows
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1085 def GetFlags(*args
, **kwargs
):
1086 """GetFlags() -> int"""
1087 return _windows
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1089 def SetSize(*args
, **kwargs
):
1090 """SetSize(Size size)"""
1091 return _windows
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1093 def GetSize(*args
, **kwargs
):
1094 """GetSize() -> Size"""
1095 return _windows
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1097 def SetOrientation(*args
, **kwargs
):
1098 """SetOrientation(wxLayoutOrientation orient)"""
1099 return _windows
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1101 def GetOrientation(*args
, **kwargs
):
1102 """GetOrientation() -> wxLayoutOrientation"""
1103 return _windows
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1105 def SetAlignment(*args
, **kwargs
):
1106 """SetAlignment(wxLayoutAlignment align)"""
1107 return _windows
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1109 def GetAlignment(*args
, **kwargs
):
1110 """GetAlignment() -> wxLayoutAlignment"""
1111 return _windows
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1114 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1115 def __init__(self
, this
):
1117 if not hasattr(self
,"thisown"): self
.thisown
= 0
1118 self
.__class
__ = QueryLayoutInfoEvent
1119 _windows
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1121 class CalculateLayoutEvent(core
.Event
):
1124 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1125 def __init__(self
, *args
, **kwargs
):
1126 """__init__(int id=0) -> CalculateLayoutEvent"""
1127 newobj
= _windows
.new_CalculateLayoutEvent(*args
, **kwargs
)
1128 self
.this
= newobj
.this
1131 def SetFlags(*args
, **kwargs
):
1132 """SetFlags(int flags)"""
1133 return _windows
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1135 def GetFlags(*args
, **kwargs
):
1136 """GetFlags() -> int"""
1137 return _windows
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1139 def SetRect(*args
, **kwargs
):
1140 """SetRect(Rect rect)"""
1141 return _windows
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1143 def GetRect(*args
, **kwargs
):
1144 """GetRect() -> Rect"""
1145 return _windows
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1148 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1149 def __init__(self
, this
):
1151 if not hasattr(self
,"thisown"): self
.thisown
= 0
1152 self
.__class
__ = CalculateLayoutEvent
1153 _windows
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1155 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1156 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1158 class SashLayoutWindow(SashWindow
):
1161 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1162 def __init__(self
, *args
, **kwargs
):
1163 """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1164 long style=wxCLIP_CHILDREN|wxSW_3D,
1165 wxString name=wxPySashLayoutNameStr) -> SashLayoutWindow"""
1166 newobj
= _windows
.new_SashLayoutWindow(*args
, **kwargs
)
1167 self
.this
= newobj
.this
1170 self
._setOORInfo
(self
)
1172 def Create(*args
, **kwargs
):
1173 """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1174 long style=wxCLIP_CHILDREN|wxSW_3D,
1175 wxString name=wxPySashLayoutNameStr) -> bool"""
1176 return _windows
.SashLayoutWindow_Create(*args
, **kwargs
)
1178 def GetAlignment(*args
, **kwargs
):
1179 """GetAlignment() -> wxLayoutAlignment"""
1180 return _windows
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1182 def GetOrientation(*args
, **kwargs
):
1183 """GetOrientation() -> wxLayoutOrientation"""
1184 return _windows
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1186 def SetAlignment(*args
, **kwargs
):
1187 """SetAlignment(wxLayoutAlignment alignment)"""
1188 return _windows
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1190 def SetDefaultSize(*args
, **kwargs
):
1191 """SetDefaultSize(Size size)"""
1192 return _windows
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1194 def SetOrientation(*args
, **kwargs
):
1195 """SetOrientation(wxLayoutOrientation orientation)"""
1196 return _windows
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1199 class SashLayoutWindowPtr(SashLayoutWindow
):
1200 def __init__(self
, this
):
1202 if not hasattr(self
,"thisown"): self
.thisown
= 0
1203 self
.__class
__ = SashLayoutWindow
1204 _windows
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1206 def PreSashLayoutWindow(*args
, **kwargs
):
1207 """PreSashLayoutWindow() -> SashLayoutWindow"""
1208 val
= _windows
.new_PreSashLayoutWindow(*args
, **kwargs
)
1212 class LayoutAlgorithm(core
.Object
):
1215 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1216 def __init__(self
, *args
, **kwargs
):
1217 """__init__() -> LayoutAlgorithm"""
1218 newobj
= _windows
.new_LayoutAlgorithm(*args
, **kwargs
)
1219 self
.this
= newobj
.this
1222 def __del__(self
, destroy
=_windows
.delete_LayoutAlgorithm
):
1225 if self
.thisown
: destroy(self
)
1228 def LayoutMDIFrame(*args
, **kwargs
):
1229 """LayoutMDIFrame(MDIParentFrame frame, Rect rect=None) -> bool"""
1230 return _windows
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1232 def LayoutFrame(*args
, **kwargs
):
1233 """LayoutFrame(Frame frame, Window mainWindow=None) -> bool"""
1234 return _windows
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1236 def LayoutWindow(*args
, **kwargs
):
1237 """LayoutWindow(Window parent, Window mainWindow=None) -> bool"""
1238 return _windows
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1241 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1242 def __init__(self
, this
):
1244 if not hasattr(self
,"thisown"): self
.thisown
= 0
1245 self
.__class
__ = LayoutAlgorithm
1246 _windows
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1248 class PopupWindow(core
.Window
):
1251 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1252 def __init__(self
, *args
, **kwargs
):
1253 """__init__(Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1254 newobj
= _windows
.new_PopupWindow(*args
, **kwargs
)
1255 self
.this
= newobj
.this
1259 class PopupWindowPtr(PopupWindow
):
1260 def __init__(self
, this
):
1262 if not hasattr(self
,"thisown"): self
.thisown
= 0
1263 self
.__class
__ = PopupWindow
1264 _windows
.PopupWindow_swigregister(PopupWindowPtr
)
1266 def PrePopupWindow(*args
, **kwargs
):
1267 """PrePopupWindow() -> PopupWindow"""
1268 val
= _windows
.new_PrePopupWindow(*args
, **kwargs
)
1272 class PopupTransientWindow(PopupWindow
):
1275 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1276 def __init__(self
, *args
, **kwargs
):
1277 """__init__(Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1278 newobj
= _windows
.new_PopupTransientWindow(*args
, **kwargs
)
1279 self
.this
= newobj
.this
1283 class PopupTransientWindowPtr(PopupTransientWindow
):
1284 def __init__(self
, this
):
1286 if not hasattr(self
,"thisown"): self
.thisown
= 0
1287 self
.__class
__ = PopupTransientWindow
1288 _windows
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1290 def PrePopupTransientWindow(*args
, **kwargs
):
1291 """PrePopupTransientWindow() -> PopupTransientWindow"""
1292 val
= _windows
.new_PrePopupTransientWindow(*args
, **kwargs
)
1296 #---------------------------------------------------------------------------
1298 class TipWindow(Frame
):
1301 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1302 def __init__(self
, *args
, **kwargs
):
1303 """__init__(Window parent, wxString text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1304 newobj
= _windows
.new_TipWindow(*args
, **kwargs
)
1305 self
.this
= newobj
.this
1308 self
._setOORInfo
(self
)
1310 def SetBoundingRect(*args
, **kwargs
):
1311 """SetBoundingRect(Rect rectBound)"""
1312 return _windows
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1314 def Close(*args
, **kwargs
):
1316 return _windows
.TipWindow_Close(*args
, **kwargs
)
1319 class TipWindowPtr(TipWindow
):
1320 def __init__(self
, this
):
1322 if not hasattr(self
,"thisown"): self
.thisown
= 0
1323 self
.__class
__ = TipWindow
1324 _windows
.TipWindow_swigregister(TipWindowPtr
)
1326 #---------------------------------------------------------------------------
1328 class VScrolledWindow(Panel
):
1331 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1332 def __init__(self
, *args
, **kwargs
):
1333 """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1334 Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> VScrolledWindow"""
1335 newobj
= _windows
.new_VScrolledWindow(*args
, **kwargs
)
1336 self
.this
= newobj
.this
1339 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1341 def _setCallbackInfo(*args
, **kwargs
):
1342 """_setCallbackInfo(PyObject self, PyObject _class)"""
1343 return _windows
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1345 def Create(*args
, **kwargs
):
1346 """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1347 Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> bool"""
1348 return _windows
.VScrolledWindow_Create(*args
, **kwargs
)
1350 def SetLineCount(*args
, **kwargs
):
1351 """SetLineCount(size_t count)"""
1352 return _windows
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1354 def ScrollToLine(*args
, **kwargs
):
1355 """ScrollToLine(size_t line) -> bool"""
1356 return _windows
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1358 def ScrollLines(*args
, **kwargs
):
1359 """ScrollLines(int lines) -> bool"""
1360 return _windows
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1362 def ScrollPages(*args
, **kwargs
):
1363 """ScrollPages(int pages) -> bool"""
1364 return _windows
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1366 def RefreshLine(*args
, **kwargs
):
1367 """RefreshLine(size_t line)"""
1368 return _windows
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1370 def RefreshLines(*args
, **kwargs
):
1371 """RefreshLines(size_t from, size_t to)"""
1372 return _windows
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1374 def HitTestXT(*args
, **kwargs
):
1375 """HitTestXT(int x, int y) -> int"""
1376 return _windows
.VScrolledWindow_HitTestXT(*args
, **kwargs
)
1378 def HitTest(*args
, **kwargs
):
1379 """HitTest(Point pt) -> int"""
1380 return _windows
.VScrolledWindow_HitTest(*args
, **kwargs
)
1382 def RefreshAll(*args
, **kwargs
):
1384 return _windows
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1386 def GetLineCount(*args
, **kwargs
):
1387 """GetLineCount() -> size_t"""
1388 return _windows
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1390 def GetFirstVisibleLine(*args
, **kwargs
):
1391 """GetFirstVisibleLine() -> size_t"""
1392 return _windows
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1394 def GetLastVisibleLine(*args
, **kwargs
):
1395 """GetLastVisibleLine() -> size_t"""
1396 return _windows
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1398 def IsVisible(*args
, **kwargs
):
1399 """IsVisible(size_t line) -> bool"""
1400 return _windows
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1403 class VScrolledWindowPtr(VScrolledWindow
):
1404 def __init__(self
, this
):
1406 if not hasattr(self
,"thisown"): self
.thisown
= 0
1407 self
.__class
__ = VScrolledWindow
1408 _windows
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
1410 def PreVScrolledWindow(*args
, **kwargs
):
1411 """PreVScrolledWindow() -> VScrolledWindow"""
1412 val
= _windows
.new_PreVScrolledWindow(*args
, **kwargs
)
1416 class VListBox(VScrolledWindow
):
1419 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1420 def __init__(self
, *args
, **kwargs
):
1421 """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1422 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> VListBox"""
1423 newobj
= _windows
.new_VListBox(*args
, **kwargs
)
1424 self
.this
= newobj
.this
1427 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
1429 def _setCallbackInfo(*args
, **kwargs
):
1430 """_setCallbackInfo(PyObject self, PyObject _class)"""
1431 return _windows
.VListBox__setCallbackInfo(*args
, **kwargs
)
1433 def Create(*args
, **kwargs
):
1434 """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1435 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool"""
1436 return _windows
.VListBox_Create(*args
, **kwargs
)
1438 def GetItemCount(*args
, **kwargs
):
1439 """GetItemCount() -> size_t"""
1440 return _windows
.VListBox_GetItemCount(*args
, **kwargs
)
1442 def HasMultipleSelection(*args
, **kwargs
):
1443 """HasMultipleSelection() -> bool"""
1444 return _windows
.VListBox_HasMultipleSelection(*args
, **kwargs
)
1446 def GetSelection(*args
, **kwargs
):
1447 """GetSelection() -> int"""
1448 return _windows
.VListBox_GetSelection(*args
, **kwargs
)
1450 def IsCurrent(*args
, **kwargs
):
1451 """IsCurrent(size_t item) -> bool"""
1452 return _windows
.VListBox_IsCurrent(*args
, **kwargs
)
1454 def IsSelected(*args
, **kwargs
):
1455 """IsSelected(size_t item) -> bool"""
1456 return _windows
.VListBox_IsSelected(*args
, **kwargs
)
1458 def GetSelectedCount(*args
, **kwargs
):
1459 """GetSelectedCount() -> size_t"""
1460 return _windows
.VListBox_GetSelectedCount(*args
, **kwargs
)
1462 def GetFirstSelected(*args
, **kwargs
):
1463 """GetFirstSelected(unsigned long cookie) -> int"""
1464 return _windows
.VListBox_GetFirstSelected(*args
, **kwargs
)
1466 def GetNextSelected(*args
, **kwargs
):
1467 """GetNextSelected(unsigned long cookie) -> int"""
1468 return _windows
.VListBox_GetNextSelected(*args
, **kwargs
)
1470 def GetMargins(*args
, **kwargs
):
1471 """GetMargins() -> Point"""
1472 return _windows
.VListBox_GetMargins(*args
, **kwargs
)
1474 def GetSelectionBackground(*args
, **kwargs
):
1475 """GetSelectionBackground() -> wxColour"""
1476 return _windows
.VListBox_GetSelectionBackground(*args
, **kwargs
)
1478 def SetItemCount(*args
, **kwargs
):
1479 """SetItemCount(size_t count)"""
1480 return _windows
.VListBox_SetItemCount(*args
, **kwargs
)
1482 def Clear(*args
, **kwargs
):
1484 return _windows
.VListBox_Clear(*args
, **kwargs
)
1486 def SetSelection(*args
, **kwargs
):
1487 """SetSelection(int selection)"""
1488 return _windows
.VListBox_SetSelection(*args
, **kwargs
)
1490 def Select(*args
, **kwargs
):
1491 """Select(size_t item, bool select=True) -> bool"""
1492 return _windows
.VListBox_Select(*args
, **kwargs
)
1494 def SelectRange(*args
, **kwargs
):
1495 """SelectRange(size_t from, size_t to) -> bool"""
1496 return _windows
.VListBox_SelectRange(*args
, **kwargs
)
1498 def Toggle(*args
, **kwargs
):
1499 """Toggle(size_t item)"""
1500 return _windows
.VListBox_Toggle(*args
, **kwargs
)
1502 def SelectAll(*args
, **kwargs
):
1503 """SelectAll() -> bool"""
1504 return _windows
.VListBox_SelectAll(*args
, **kwargs
)
1506 def DeselectAll(*args
, **kwargs
):
1507 """DeselectAll() -> bool"""
1508 return _windows
.VListBox_DeselectAll(*args
, **kwargs
)
1510 def SetMargins(*args
, **kwargs
):
1511 """SetMargins(Point pt)"""
1512 return _windows
.VListBox_SetMargins(*args
, **kwargs
)
1514 def SetMarginsXY(*args
, **kwargs
):
1515 """SetMarginsXY(int x, int y)"""
1516 return _windows
.VListBox_SetMarginsXY(*args
, **kwargs
)
1518 def SetSelectionBackground(*args
, **kwargs
):
1519 """SetSelectionBackground(wxColour col)"""
1520 return _windows
.VListBox_SetSelectionBackground(*args
, **kwargs
)
1523 class VListBoxPtr(VListBox
):
1524 def __init__(self
, this
):
1526 if not hasattr(self
,"thisown"): self
.thisown
= 0
1527 self
.__class
__ = VListBox
1528 _windows
.VListBox_swigregister(VListBoxPtr
)
1530 def PreVListBox(*args
, **kwargs
):
1531 """PreVListBox() -> VListBox"""
1532 val
= _windows
.new_PreVListBox(*args
, **kwargs
)
1536 class HtmlListBox(VListBox
):
1539 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1540 def __init__(self
, *args
, **kwargs
):
1541 """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1542 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> HtmlListBox"""
1543 newobj
= _windows
.new_HtmlListBox(*args
, **kwargs
)
1544 self
.this
= newobj
.this
1547 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
1549 def _setCallbackInfo(*args
, **kwargs
):
1550 """_setCallbackInfo(PyObject self, PyObject _class)"""
1551 return _windows
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
1553 def Create(*args
, **kwargs
):
1554 """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1555 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool"""
1556 return _windows
.HtmlListBox_Create(*args
, **kwargs
)
1558 def RefreshAll(*args
, **kwargs
):
1560 return _windows
.HtmlListBox_RefreshAll(*args
, **kwargs
)
1562 def SetItemCount(*args
, **kwargs
):
1563 """SetItemCount(size_t count)"""
1564 return _windows
.HtmlListBox_SetItemCount(*args
, **kwargs
)
1567 class HtmlListBoxPtr(HtmlListBox
):
1568 def __init__(self
, this
):
1570 if not hasattr(self
,"thisown"): self
.thisown
= 0
1571 self
.__class
__ = HtmlListBox
1572 _windows
.HtmlListBox_swigregister(HtmlListBoxPtr
)
1574 def PreHtmlListBox(*args
, **kwargs
):
1575 """PreHtmlListBox() -> HtmlListBox"""
1576 val
= _windows
.new_PreHtmlListBox(*args
, **kwargs
)
1580 #---------------------------------------------------------------------------
1582 class TaskBarIcon(core
.EvtHandler
):
1585 return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1586 def __init__(self
, *args
, **kwargs
):
1587 """__init__() -> TaskBarIcon"""
1588 newobj
= _windows
.new_TaskBarIcon(*args
, **kwargs
)
1589 self
.this
= newobj
.this
1592 def __del__(self
, destroy
=_windows
.delete_TaskBarIcon
):
1595 if self
.thisown
: destroy(self
)
1599 class TaskBarIconPtr(TaskBarIcon
):
1600 def __init__(self
, this
):
1602 if not hasattr(self
,"thisown"): self
.thisown
= 0
1603 self
.__class
__ = TaskBarIcon
1604 _windows
.TaskBarIcon_swigregister(TaskBarIconPtr
)
1606 class TaskBarIconEvent(core
.Event
):
1609 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1610 def __init__(self
, *args
, **kwargs
):
1611 """__init__(wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
1612 newobj
= _windows
.new_TaskBarIconEvent(*args
, **kwargs
)
1613 self
.this
= newobj
.this
1617 class TaskBarIconEventPtr(TaskBarIconEvent
):
1618 def __init__(self
, this
):
1620 if not hasattr(self
,"thisown"): self
.thisown
= 0
1621 self
.__class
__ = TaskBarIconEvent
1622 _windows
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
1624 wxEVT_TASKBAR_MOVE
= _windows
.wxEVT_TASKBAR_MOVE
1625 wxEVT_TASKBAR_LEFT_DOWN
= _windows
.wxEVT_TASKBAR_LEFT_DOWN
1626 wxEVT_TASKBAR_LEFT_UP
= _windows
.wxEVT_TASKBAR_LEFT_UP
1627 wxEVT_TASKBAR_RIGHT_DOWN
= _windows
.wxEVT_TASKBAR_RIGHT_DOWN
1628 wxEVT_TASKBAR_RIGHT_UP
= _windows
.wxEVT_TASKBAR_RIGHT_UP
1629 wxEVT_TASKBAR_LEFT_DCLICK
= _windows
.wxEVT_TASKBAR_LEFT_DCLICK
1630 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows
.wxEVT_TASKBAR_RIGHT_DCLICK
1631 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
1632 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
1633 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
1634 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
1635 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
1636 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
1637 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
1639 #---------------------------------------------------------------------------
1641 class ColourData(core
.Object
):
1644 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1645 def __init__(self
, *args
, **kwargs
):
1646 """__init__() -> ColourData"""
1647 newobj
= _windows
.new_ColourData(*args
, **kwargs
)
1648 self
.this
= newobj
.this
1651 def __del__(self
, destroy
=_windows
.delete_ColourData
):
1654 if self
.thisown
: destroy(self
)
1657 def GetChooseFull(*args
, **kwargs
):
1658 """GetChooseFull() -> bool"""
1659 return _windows
.ColourData_GetChooseFull(*args
, **kwargs
)
1661 def GetColour(*args
, **kwargs
):
1662 """GetColour() -> wxColour"""
1663 return _windows
.ColourData_GetColour(*args
, **kwargs
)
1665 def GetCustomColour(*args
, **kwargs
):
1666 """GetCustomColour(int i) -> wxColour"""
1667 return _windows
.ColourData_GetCustomColour(*args
, **kwargs
)
1669 def SetChooseFull(*args
, **kwargs
):
1670 """SetChooseFull(int flag)"""
1671 return _windows
.ColourData_SetChooseFull(*args
, **kwargs
)
1673 def SetColour(*args
, **kwargs
):
1674 """SetColour(wxColour colour)"""
1675 return _windows
.ColourData_SetColour(*args
, **kwargs
)
1677 def SetCustomColour(*args
, **kwargs
):
1678 """SetCustomColour(int i, wxColour colour)"""
1679 return _windows
.ColourData_SetCustomColour(*args
, **kwargs
)
1682 class ColourDataPtr(ColourData
):
1683 def __init__(self
, this
):
1685 if not hasattr(self
,"thisown"): self
.thisown
= 0
1686 self
.__class
__ = ColourData
1687 _windows
.ColourData_swigregister(ColourDataPtr
)
1689 class ColourDialog(Dialog
):
1692 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1693 def __init__(self
, *args
, **kwargs
):
1694 """__init__(Window parent, ColourData data=None) -> ColourDialog"""
1695 newobj
= _windows
.new_ColourDialog(*args
, **kwargs
)
1696 self
.this
= newobj
.this
1699 self
._setOORInfo
(self
)
1701 def GetColourData(*args
, **kwargs
):
1702 """GetColourData() -> ColourData"""
1703 return _windows
.ColourDialog_GetColourData(*args
, **kwargs
)
1705 def ShowModal(*args
, **kwargs
):
1706 """ShowModal() -> int"""
1707 return _windows
.ColourDialog_ShowModal(*args
, **kwargs
)
1710 class ColourDialogPtr(ColourDialog
):
1711 def __init__(self
, this
):
1713 if not hasattr(self
,"thisown"): self
.thisown
= 0
1714 self
.__class
__ = ColourDialog
1715 _windows
.ColourDialog_swigregister(ColourDialogPtr
)
1717 class DirDialog(Dialog
):
1720 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1721 def __init__(self
, *args
, **kwargs
):
1722 """__init__(Window parent, wxString message=wxPyDirSelectorPromptStr,
1723 wxString defaultPath=wxPyEmptyString,
1724 long style=0, Point pos=DefaultPosition, Size size=DefaultSize,
1725 wxString name=wxPyDirDialogNameStr) -> DirDialog"""
1726 newobj
= _windows
.new_DirDialog(*args
, **kwargs
)
1727 self
.this
= newobj
.this
1730 self
._setOORInfo
(self
)
1732 def GetPath(*args
, **kwargs
):
1733 """GetPath() -> wxString"""
1734 return _windows
.DirDialog_GetPath(*args
, **kwargs
)
1736 def GetMessage(*args
, **kwargs
):
1737 """GetMessage() -> wxString"""
1738 return _windows
.DirDialog_GetMessage(*args
, **kwargs
)
1740 def GetStyle(*args
, **kwargs
):
1741 """GetStyle() -> long"""
1742 return _windows
.DirDialog_GetStyle(*args
, **kwargs
)
1744 def SetMessage(*args
, **kwargs
):
1745 """SetMessage(wxString message)"""
1746 return _windows
.DirDialog_SetMessage(*args
, **kwargs
)
1748 def SetPath(*args
, **kwargs
):
1749 """SetPath(wxString path)"""
1750 return _windows
.DirDialog_SetPath(*args
, **kwargs
)
1752 def ShowModal(*args
, **kwargs
):
1753 """ShowModal() -> int"""
1754 return _windows
.DirDialog_ShowModal(*args
, **kwargs
)
1757 class DirDialogPtr(DirDialog
):
1758 def __init__(self
, this
):
1760 if not hasattr(self
,"thisown"): self
.thisown
= 0
1761 self
.__class
__ = DirDialog
1762 _windows
.DirDialog_swigregister(DirDialogPtr
)
1764 class FileDialog(Dialog
):
1767 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1768 def __init__(self
, *args
, **kwargs
):
1769 """__init__(Window parent, wxString message=wxPyFileSelectorPromptStr,
1770 wxString defaultDir=wxPyEmptyString,
1771 wxString defaultFile=wxPyEmptyString, wxString wildcard=wxPyFileSelectorDefaultWildcardStr,
1773 Point pos=DefaultPosition) -> FileDialog"""
1774 newobj
= _windows
.new_FileDialog(*args
, **kwargs
)
1775 self
.this
= newobj
.this
1778 self
._setOORInfo
(self
)
1780 def SetMessage(*args
, **kwargs
):
1781 """SetMessage(wxString message)"""
1782 return _windows
.FileDialog_SetMessage(*args
, **kwargs
)
1784 def SetPath(*args
, **kwargs
):
1785 """SetPath(wxString path)"""
1786 return _windows
.FileDialog_SetPath(*args
, **kwargs
)
1788 def SetDirectory(*args
, **kwargs
):
1789 """SetDirectory(wxString dir)"""
1790 return _windows
.FileDialog_SetDirectory(*args
, **kwargs
)
1792 def SetFilename(*args
, **kwargs
):
1793 """SetFilename(wxString name)"""
1794 return _windows
.FileDialog_SetFilename(*args
, **kwargs
)
1796 def SetWildcard(*args
, **kwargs
):
1797 """SetWildcard(wxString wildCard)"""
1798 return _windows
.FileDialog_SetWildcard(*args
, **kwargs
)
1800 def SetStyle(*args
, **kwargs
):
1801 """SetStyle(long style)"""
1802 return _windows
.FileDialog_SetStyle(*args
, **kwargs
)
1804 def SetFilterIndex(*args
, **kwargs
):
1805 """SetFilterIndex(int filterIndex)"""
1806 return _windows
.FileDialog_SetFilterIndex(*args
, **kwargs
)
1808 def GetMessage(*args
, **kwargs
):
1809 """GetMessage() -> wxString"""
1810 return _windows
.FileDialog_GetMessage(*args
, **kwargs
)
1812 def GetPath(*args
, **kwargs
):
1813 """GetPath() -> wxString"""
1814 return _windows
.FileDialog_GetPath(*args
, **kwargs
)
1816 def GetDirectory(*args
, **kwargs
):
1817 """GetDirectory() -> wxString"""
1818 return _windows
.FileDialog_GetDirectory(*args
, **kwargs
)
1820 def GetFilename(*args
, **kwargs
):
1821 """GetFilename() -> wxString"""
1822 return _windows
.FileDialog_GetFilename(*args
, **kwargs
)
1824 def GetWildcard(*args
, **kwargs
):
1825 """GetWildcard() -> wxString"""
1826 return _windows
.FileDialog_GetWildcard(*args
, **kwargs
)
1828 def GetStyle(*args
, **kwargs
):
1829 """GetStyle() -> long"""
1830 return _windows
.FileDialog_GetStyle(*args
, **kwargs
)
1832 def GetFilterIndex(*args
, **kwargs
):
1833 """GetFilterIndex() -> int"""
1834 return _windows
.FileDialog_GetFilterIndex(*args
, **kwargs
)
1836 def GetFilenames(*args
, **kwargs
):
1837 """GetFilenames() -> PyObject"""
1838 return _windows
.FileDialog_GetFilenames(*args
, **kwargs
)
1840 def GetPaths(*args
, **kwargs
):
1841 """GetPaths() -> PyObject"""
1842 return _windows
.FileDialog_GetPaths(*args
, **kwargs
)
1845 class FileDialogPtr(FileDialog
):
1846 def __init__(self
, this
):
1848 if not hasattr(self
,"thisown"): self
.thisown
= 0
1849 self
.__class
__ = FileDialog
1850 _windows
.FileDialog_swigregister(FileDialogPtr
)
1852 CHOICEDLG_STYLE
= _windows
.CHOICEDLG_STYLE
1853 class MultiChoiceDialog(Dialog
):
1856 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1857 def __init__(self
, *args
, **kwargs
):
1858 """__init__(Window parent, wxString message, wxString caption,
1859 int LCOUNT, wxString choices, long style=CHOICEDLG_STYLE,
1860 Point pos=DefaultPosition) -> MultiChoiceDialog"""
1861 newobj
= _windows
.new_MultiChoiceDialog(*args
, **kwargs
)
1862 self
.this
= newobj
.this
1865 self
._setOORInfo
(self
)
1867 def SetSelections(*args
, **kwargs
):
1868 """SetSelections(wxArrayInt selections)"""
1869 return _windows
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
1871 def GetSelections(*args
, **kwargs
):
1872 """GetSelections() -> PyObject"""
1873 return _windows
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
1876 class MultiChoiceDialogPtr(MultiChoiceDialog
):
1877 def __init__(self
, this
):
1879 if not hasattr(self
,"thisown"): self
.thisown
= 0
1880 self
.__class
__ = MultiChoiceDialog
1881 _windows
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
1883 class SingleChoiceDialog(Dialog
):
1886 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1887 def __init__(self
, *args
, **kwargs
):
1888 """__init__(Window parent, wxString message, wxString caption,
1889 int choices, wxString choices_array, long style=CHOICEDLG_STYLE,
1890 Point pos=DefaultPosition) -> SingleChoiceDialog"""
1891 newobj
= _windows
.new_SingleChoiceDialog(*args
, **kwargs
)
1892 self
.this
= newobj
.this
1895 self
._setOORInfo
(self
)
1897 def GetSelection(*args
, **kwargs
):
1898 """GetSelection() -> int"""
1899 return _windows
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
1901 def GetStringSelection(*args
, **kwargs
):
1902 """GetStringSelection() -> wxString"""
1903 return _windows
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
1905 def SetSelection(*args
, **kwargs
):
1906 """SetSelection(int sel)"""
1907 return _windows
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
1909 def ShowModal(*args
, **kwargs
):
1910 """ShowModal() -> int"""
1911 return _windows
.SingleChoiceDialog_ShowModal(*args
, **kwargs
)
1914 class SingleChoiceDialogPtr(SingleChoiceDialog
):
1915 def __init__(self
, this
):
1917 if not hasattr(self
,"thisown"): self
.thisown
= 0
1918 self
.__class
__ = SingleChoiceDialog
1919 _windows
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
1921 class TextEntryDialog(Dialog
):
1924 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1925 def __init__(self
, *args
, **kwargs
):
1926 """__init__(Window parent, wxString message, wxString caption=wxPyGetTextFromUserPromptStr,
1927 wxString defaultValue=wxPyEmptyString,
1928 long style=wxOK|wxCANCEL|wxCENTRE,
1929 Point pos=DefaultPosition) -> TextEntryDialog"""
1930 newobj
= _windows
.new_TextEntryDialog(*args
, **kwargs
)
1931 self
.this
= newobj
.this
1934 self
._setOORInfo
(self
)
1936 def GetValue(*args
, **kwargs
):
1937 """GetValue() -> wxString"""
1938 return _windows
.TextEntryDialog_GetValue(*args
, **kwargs
)
1940 def SetValue(*args
, **kwargs
):
1941 """SetValue(wxString value)"""
1942 return _windows
.TextEntryDialog_SetValue(*args
, **kwargs
)
1944 def ShowModal(*args
, **kwargs
):
1945 """ShowModal() -> int"""
1946 return _windows
.TextEntryDialog_ShowModal(*args
, **kwargs
)
1949 class TextEntryDialogPtr(TextEntryDialog
):
1950 def __init__(self
, this
):
1952 if not hasattr(self
,"thisown"): self
.thisown
= 0
1953 self
.__class
__ = TextEntryDialog
1954 _windows
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
1956 class FontData(core
.Object
):
1959 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1960 def __init__(self
, *args
, **kwargs
):
1961 """__init__() -> FontData"""
1962 newobj
= _windows
.new_FontData(*args
, **kwargs
)
1963 self
.this
= newobj
.this
1966 def __del__(self
, destroy
=_windows
.delete_FontData
):
1969 if self
.thisown
: destroy(self
)
1972 def EnableEffects(*args
, **kwargs
):
1973 """EnableEffects(bool enable)"""
1974 return _windows
.FontData_EnableEffects(*args
, **kwargs
)
1976 def GetAllowSymbols(*args
, **kwargs
):
1977 """GetAllowSymbols() -> bool"""
1978 return _windows
.FontData_GetAllowSymbols(*args
, **kwargs
)
1980 def GetColour(*args
, **kwargs
):
1981 """GetColour() -> wxColour"""
1982 return _windows
.FontData_GetColour(*args
, **kwargs
)
1984 def GetChosenFont(*args
, **kwargs
):
1985 """GetChosenFont() -> wxFont"""
1986 return _windows
.FontData_GetChosenFont(*args
, **kwargs
)
1988 def GetEnableEffects(*args
, **kwargs
):
1989 """GetEnableEffects() -> bool"""
1990 return _windows
.FontData_GetEnableEffects(*args
, **kwargs
)
1992 def GetInitialFont(*args
, **kwargs
):
1993 """GetInitialFont() -> wxFont"""
1994 return _windows
.FontData_GetInitialFont(*args
, **kwargs
)
1996 def GetShowHelp(*args
, **kwargs
):
1997 """GetShowHelp() -> bool"""
1998 return _windows
.FontData_GetShowHelp(*args
, **kwargs
)
2000 def SetAllowSymbols(*args
, **kwargs
):
2001 """SetAllowSymbols(bool allowSymbols)"""
2002 return _windows
.FontData_SetAllowSymbols(*args
, **kwargs
)
2004 def SetChosenFont(*args
, **kwargs
):
2005 """SetChosenFont(wxFont font)"""
2006 return _windows
.FontData_SetChosenFont(*args
, **kwargs
)
2008 def SetColour(*args
, **kwargs
):
2009 """SetColour(wxColour colour)"""
2010 return _windows
.FontData_SetColour(*args
, **kwargs
)
2012 def SetInitialFont(*args
, **kwargs
):
2013 """SetInitialFont(wxFont font)"""
2014 return _windows
.FontData_SetInitialFont(*args
, **kwargs
)
2016 def SetRange(*args
, **kwargs
):
2017 """SetRange(int min, int max)"""
2018 return _windows
.FontData_SetRange(*args
, **kwargs
)
2020 def SetShowHelp(*args
, **kwargs
):
2021 """SetShowHelp(bool showHelp)"""
2022 return _windows
.FontData_SetShowHelp(*args
, **kwargs
)
2025 class FontDataPtr(FontData
):
2026 def __init__(self
, this
):
2028 if not hasattr(self
,"thisown"): self
.thisown
= 0
2029 self
.__class
__ = FontData
2030 _windows
.FontData_swigregister(FontDataPtr
)
2032 class FontDialog(Dialog
):
2035 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2036 def __init__(self
, *args
, **kwargs
):
2037 """__init__(Window parent, FontData data) -> FontDialog"""
2038 newobj
= _windows
.new_FontDialog(*args
, **kwargs
)
2039 self
.this
= newobj
.this
2042 self
._setOORInfo
(self
)
2044 def GetFontData(*args
, **kwargs
):
2045 """GetFontData() -> FontData"""
2046 return _windows
.FontDialog_GetFontData(*args
, **kwargs
)
2048 def ShowModal(*args
, **kwargs
):
2049 """ShowModal() -> int"""
2050 return _windows
.FontDialog_ShowModal(*args
, **kwargs
)
2053 class FontDialogPtr(FontDialog
):
2054 def __init__(self
, this
):
2056 if not hasattr(self
,"thisown"): self
.thisown
= 0
2057 self
.__class
__ = FontDialog
2058 _windows
.FontDialog_swigregister(FontDialogPtr
)
2060 class MessageDialog(Dialog
):
2063 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2064 def __init__(self
, *args
, **kwargs
):
2065 """__init__(Window parent, wxString message, wxString caption=wxPyMessageBoxCaptionStr,
2066 long style=wxOK|wxCANCEL|wxCENTRE,
2067 Point pos=DefaultPosition) -> MessageDialog"""
2068 newobj
= _windows
.new_MessageDialog(*args
, **kwargs
)
2069 self
.this
= newobj
.this
2072 self
._setOORInfo
(self
)
2074 def ShowModal(*args
, **kwargs
):
2075 """ShowModal() -> int"""
2076 return _windows
.MessageDialog_ShowModal(*args
, **kwargs
)
2079 class MessageDialogPtr(MessageDialog
):
2080 def __init__(self
, this
):
2082 if not hasattr(self
,"thisown"): self
.thisown
= 0
2083 self
.__class
__ = MessageDialog
2084 _windows
.MessageDialog_swigregister(MessageDialogPtr
)
2086 class ProgressDialog(Frame
):
2089 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2090 def __init__(self
, *args
, **kwargs
):
2091 """__init__(wxString title, wxString message, int maximum=100,
2092 Window parent=None, int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog"""
2093 newobj
= _windows
.new_ProgressDialog(*args
, **kwargs
)
2094 self
.this
= newobj
.this
2097 self
._setOORInfo
(self
)
2099 def Update(*args
, **kwargs
):
2100 """Update(int value, wxString newmsg=wxPyEmptyString) -> bool"""
2101 return _windows
.ProgressDialog_Update(*args
, **kwargs
)
2103 def Resume(*args
, **kwargs
):
2105 return _windows
.ProgressDialog_Resume(*args
, **kwargs
)
2108 class ProgressDialogPtr(ProgressDialog
):
2109 def __init__(self
, this
):
2111 if not hasattr(self
,"thisown"): self
.thisown
= 0
2112 self
.__class
__ = ProgressDialog
2113 _windows
.ProgressDialog_swigregister(ProgressDialogPtr
)
2115 FR_DOWN
= _windows
.FR_DOWN
2116 FR_WHOLEWORD
= _windows
.FR_WHOLEWORD
2117 FR_MATCHCASE
= _windows
.FR_MATCHCASE
2118 FR_REPLACEDIALOG
= _windows
.FR_REPLACEDIALOG
2119 FR_NOUPDOWN
= _windows
.FR_NOUPDOWN
2120 FR_NOMATCHCASE
= _windows
.FR_NOMATCHCASE
2121 FR_NOWHOLEWORD
= _windows
.FR_NOWHOLEWORD
2122 wxEVT_COMMAND_FIND
= _windows
.wxEVT_COMMAND_FIND
2123 wxEVT_COMMAND_FIND_NEXT
= _windows
.wxEVT_COMMAND_FIND_NEXT
2124 wxEVT_COMMAND_FIND_REPLACE
= _windows
.wxEVT_COMMAND_FIND_REPLACE
2125 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows
.wxEVT_COMMAND_FIND_REPLACE_ALL
2126 wxEVT_COMMAND_FIND_CLOSE
= _windows
.wxEVT_COMMAND_FIND_CLOSE
2127 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
2128 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
2129 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
2130 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
2131 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
2133 # For backwards compatibility. Should they be removed?
2134 EVT_COMMAND_FIND
= EVT_FIND
2135 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
2136 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
2137 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
2138 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
2140 class FindDialogEvent(core
.CommandEvent
):
2143 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2144 def __init__(self
, *args
, **kwargs
):
2145 """__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent"""
2146 newobj
= _windows
.new_FindDialogEvent(*args
, **kwargs
)
2147 self
.this
= newobj
.this
2150 def GetFlags(*args
, **kwargs
):
2151 """GetFlags() -> int"""
2152 return _windows
.FindDialogEvent_GetFlags(*args
, **kwargs
)
2154 def GetFindString(*args
, **kwargs
):
2155 """GetFindString() -> wxString"""
2156 return _windows
.FindDialogEvent_GetFindString(*args
, **kwargs
)
2158 def GetReplaceString(*args
, **kwargs
):
2159 """GetReplaceString() -> wxString"""
2160 return _windows
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
2162 def GetDialog(*args
, **kwargs
):
2163 """GetDialog() -> FindReplaceDialog"""
2164 return _windows
.FindDialogEvent_GetDialog(*args
, **kwargs
)
2166 def SetFlags(*args
, **kwargs
):
2167 """SetFlags(int flags)"""
2168 return _windows
.FindDialogEvent_SetFlags(*args
, **kwargs
)
2170 def SetFindString(*args
, **kwargs
):
2171 """SetFindString(wxString str)"""
2172 return _windows
.FindDialogEvent_SetFindString(*args
, **kwargs
)
2174 def SetReplaceString(*args
, **kwargs
):
2175 """SetReplaceString(wxString str)"""
2176 return _windows
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
2179 class FindDialogEventPtr(FindDialogEvent
):
2180 def __init__(self
, this
):
2182 if not hasattr(self
,"thisown"): self
.thisown
= 0
2183 self
.__class
__ = FindDialogEvent
2184 _windows
.FindDialogEvent_swigregister(FindDialogEventPtr
)
2186 class FindReplaceData(core
.Object
):
2189 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2190 def __init__(self
, *args
, **kwargs
):
2191 """__init__(int flags=0) -> FindReplaceData"""
2192 newobj
= _windows
.new_FindReplaceData(*args
, **kwargs
)
2193 self
.this
= newobj
.this
2196 def __del__(self
, destroy
=_windows
.delete_FindReplaceData
):
2199 if self
.thisown
: destroy(self
)
2202 def GetFindString(*args
, **kwargs
):
2203 """GetFindString() -> wxString"""
2204 return _windows
.FindReplaceData_GetFindString(*args
, **kwargs
)
2206 def GetReplaceString(*args
, **kwargs
):
2207 """GetReplaceString() -> wxString"""
2208 return _windows
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
2210 def GetFlags(*args
, **kwargs
):
2211 """GetFlags() -> int"""
2212 return _windows
.FindReplaceData_GetFlags(*args
, **kwargs
)
2214 def SetFlags(*args
, **kwargs
):
2215 """SetFlags(int flags)"""
2216 return _windows
.FindReplaceData_SetFlags(*args
, **kwargs
)
2218 def SetFindString(*args
, **kwargs
):
2219 """SetFindString(wxString str)"""
2220 return _windows
.FindReplaceData_SetFindString(*args
, **kwargs
)
2222 def SetReplaceString(*args
, **kwargs
):
2223 """SetReplaceString(wxString str)"""
2224 return _windows
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
2227 class FindReplaceDataPtr(FindReplaceData
):
2228 def __init__(self
, this
):
2230 if not hasattr(self
,"thisown"): self
.thisown
= 0
2231 self
.__class
__ = FindReplaceData
2232 _windows
.FindReplaceData_swigregister(FindReplaceDataPtr
)
2234 class FindReplaceDialog(Dialog
):
2237 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2238 def __init__(self
, *args
, **kwargs
):
2239 """__init__(Window parent, FindReplaceData data, wxString title,
2240 int style=0) -> FindReplaceDialog"""
2241 newobj
= _windows
.new_FindReplaceDialog(*args
, **kwargs
)
2242 self
.this
= newobj
.this
2245 self
._setOORInfo
(self
)
2247 def Create(*args
, **kwargs
):
2248 """Create(Window parent, FindReplaceData data, wxString title,
2249 int style=0) -> bool"""
2250 return _windows
.FindReplaceDialog_Create(*args
, **kwargs
)
2252 def GetData(*args
, **kwargs
):
2253 """GetData() -> FindReplaceData"""
2254 return _windows
.FindReplaceDialog_GetData(*args
, **kwargs
)
2256 def SetData(*args
, **kwargs
):
2257 """SetData(FindReplaceData data)"""
2258 return _windows
.FindReplaceDialog_SetData(*args
, **kwargs
)
2261 class FindReplaceDialogPtr(FindReplaceDialog
):
2262 def __init__(self
, this
):
2264 if not hasattr(self
,"thisown"): self
.thisown
= 0
2265 self
.__class
__ = FindReplaceDialog
2266 _windows
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
2268 def PreFindReplaceDialog(*args
, **kwargs
):
2269 """PreFindReplaceDialog() -> FindReplaceDialog"""
2270 val
= _windows
.new_PreFindReplaceDialog(*args
, **kwargs
)
2274 #---------------------------------------------------------------------------
2276 IDM_WINDOWTILE
= _windows
.IDM_WINDOWTILE
2277 IDM_WINDOWTILEHOR
= _windows
.IDM_WINDOWTILEHOR
2278 IDM_WINDOWCASCADE
= _windows
.IDM_WINDOWCASCADE
2279 IDM_WINDOWICONS
= _windows
.IDM_WINDOWICONS
2280 IDM_WINDOWNEXT
= _windows
.IDM_WINDOWNEXT
2281 IDM_WINDOWTILEVERT
= _windows
.IDM_WINDOWTILEVERT
2282 FIRST_MDI_CHILD
= _windows
.FIRST_MDI_CHILD
2283 LAST_MDI_CHILD
= _windows
.LAST_MDI_CHILD
2284 class MDIParentFrame(Frame
):
2287 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2288 def __init__(self
, *args
, **kwargs
):
2289 """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
2290 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2291 wxString name=wxPyFrameNameStr) -> MDIParentFrame"""
2292 newobj
= _windows
.new_MDIParentFrame(*args
, **kwargs
)
2293 self
.this
= newobj
.this
2296 self
._setOORInfo
(self
)
2298 def Create(*args
, **kwargs
):
2299 """Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
2300 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2301 wxString name=wxPyFrameNameStr) -> bool"""
2302 return _windows
.MDIParentFrame_Create(*args
, **kwargs
)
2304 def ActivateNext(*args
, **kwargs
):
2305 """ActivateNext()"""
2306 return _windows
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
2308 def ActivatePrevious(*args
, **kwargs
):
2309 """ActivatePrevious()"""
2310 return _windows
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
2312 def ArrangeIcons(*args
, **kwargs
):
2313 """ArrangeIcons()"""
2314 return _windows
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
2316 def Cascade(*args
, **kwargs
):
2318 return _windows
.MDIParentFrame_Cascade(*args
, **kwargs
)
2320 def GetActiveChild(*args
, **kwargs
):
2321 """GetActiveChild() -> MDIChildFrame"""
2322 return _windows
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
2324 def GetClientWindow(*args
, **kwargs
):
2325 """GetClientWindow() -> MDIClientWindow"""
2326 return _windows
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
2328 def GetToolBar(*args
, **kwargs
):
2329 """GetToolBar() -> Window"""
2330 return _windows
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
2332 def Tile(*args
, **kwargs
):
2334 return _windows
.MDIParentFrame_Tile(*args
, **kwargs
)
2337 class MDIParentFramePtr(MDIParentFrame
):
2338 def __init__(self
, this
):
2340 if not hasattr(self
,"thisown"): self
.thisown
= 0
2341 self
.__class
__ = MDIParentFrame
2342 _windows
.MDIParentFrame_swigregister(MDIParentFramePtr
)
2344 def PreMDIParentFrame(*args
, **kwargs
):
2345 """PreMDIParentFrame() -> MDIParentFrame"""
2346 val
= _windows
.new_PreMDIParentFrame(*args
, **kwargs
)
2350 class MDIChildFrame(Frame
):
2353 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2354 def __init__(self
, *args
, **kwargs
):
2355 """__init__(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition,
2356 Size size=DefaultSize,
2357 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> MDIChildFrame"""
2358 newobj
= _windows
.new_MDIChildFrame(*args
, **kwargs
)
2359 self
.this
= newobj
.this
2362 self
._setOORInfo
(self
)
2364 def Create(*args
, **kwargs
):
2365 """Create(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition,
2366 Size size=DefaultSize,
2367 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> bool"""
2368 return _windows
.MDIChildFrame_Create(*args
, **kwargs
)
2370 def Activate(*args
, **kwargs
):
2372 return _windows
.MDIChildFrame_Activate(*args
, **kwargs
)
2374 def Maximize(*args
, **kwargs
):
2375 """Maximize(bool maximize)"""
2376 return _windows
.MDIChildFrame_Maximize(*args
, **kwargs
)
2378 def Restore(*args
, **kwargs
):
2380 return _windows
.MDIChildFrame_Restore(*args
, **kwargs
)
2383 class MDIChildFramePtr(MDIChildFrame
):
2384 def __init__(self
, this
):
2386 if not hasattr(self
,"thisown"): self
.thisown
= 0
2387 self
.__class
__ = MDIChildFrame
2388 _windows
.MDIChildFrame_swigregister(MDIChildFramePtr
)
2390 def PreMDIChildFrame(*args
, **kwargs
):
2391 """PreMDIChildFrame() -> MDIChildFrame"""
2392 val
= _windows
.new_PreMDIChildFrame(*args
, **kwargs
)
2396 class MDIClientWindow(core
.Window
):
2399 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2400 def __init__(self
, *args
, **kwargs
):
2401 """__init__(MDIParentFrame parent, long style=0) -> MDIClientWindow"""
2402 newobj
= _windows
.new_MDIClientWindow(*args
, **kwargs
)
2403 self
.this
= newobj
.this
2406 self
._setOORInfo
(self
)
2408 def Create(*args
, **kwargs
):
2409 """Create(MDIParentFrame parent, long style=0) -> bool"""
2410 return _windows
.MDIClientWindow_Create(*args
, **kwargs
)
2413 class MDIClientWindowPtr(MDIClientWindow
):
2414 def __init__(self
, this
):
2416 if not hasattr(self
,"thisown"): self
.thisown
= 0
2417 self
.__class
__ = MDIClientWindow
2418 _windows
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
2420 def PreMDIClientWindow(*args
, **kwargs
):
2421 """PreMDIClientWindow() -> MDIClientWindow"""
2422 val
= _windows
.new_PreMDIClientWindow(*args
, **kwargs
)
2426 #---------------------------------------------------------------------------
2428 class PyWindow(core
.Window
):
2431 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2432 def __init__(self
, *args
, **kwargs
):
2433 """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2434 long style=0, wxString name=PanelNameStr) -> PyWindow"""
2435 newobj
= _windows
.new_PyWindow(*args
, **kwargs
)
2436 self
.this
= newobj
.this
2439 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
2441 def _setCallbackInfo(*args
, **kwargs
):
2442 """_setCallbackInfo(PyObject self, PyObject _class)"""
2443 return _windows
.PyWindow__setCallbackInfo(*args
, **kwargs
)
2445 def base_DoMoveWindow(*args
, **kwargs
):
2446 """base_DoMoveWindow(int x, int y, int width, int height)"""
2447 return _windows
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
2449 def base_DoSetSize(*args
, **kwargs
):
2450 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2451 return _windows
.PyWindow_base_DoSetSize(*args
, **kwargs
)
2453 def base_DoSetClientSize(*args
, **kwargs
):
2454 """base_DoSetClientSize(int width, int height)"""
2455 return _windows
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
2457 def base_DoSetVirtualSize(*args
, **kwargs
):
2458 """base_DoSetVirtualSize(int x, int y)"""
2459 return _windows
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
2461 def base_DoGetSize(*args
, **kwargs
):
2462 """base_DoGetSize(int OUTPUT, int OUTPUT)"""
2463 return _windows
.PyWindow_base_DoGetSize(*args
, **kwargs
)
2465 def base_DoGetClientSize(*args
, **kwargs
):
2466 """base_DoGetClientSize(int OUTPUT, int OUTPUT)"""
2467 return _windows
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
2469 def base_DoGetPosition(*args
, **kwargs
):
2470 """base_DoGetPosition(int OUTPUT, int OUTPUT)"""
2471 return _windows
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
2473 def base_DoGetVirtualSize(*args
, **kwargs
):
2474 """base_DoGetVirtualSize() -> Size"""
2475 return _windows
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
2477 def base_DoGetBestSize(*args
, **kwargs
):
2478 """base_DoGetBestSize() -> Size"""
2479 return _windows
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
2481 def base_InitDialog(*args
, **kwargs
):
2482 """base_InitDialog()"""
2483 return _windows
.PyWindow_base_InitDialog(*args
, **kwargs
)
2485 def base_TransferDataToWindow(*args
, **kwargs
):
2486 """base_TransferDataToWindow() -> bool"""
2487 return _windows
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
2489 def base_TransferDataFromWindow(*args
, **kwargs
):
2490 """base_TransferDataFromWindow() -> bool"""
2491 return _windows
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
2493 def base_Validate(*args
, **kwargs
):
2494 """base_Validate() -> bool"""
2495 return _windows
.PyWindow_base_Validate(*args
, **kwargs
)
2497 def base_AcceptsFocus(*args
, **kwargs
):
2498 """base_AcceptsFocus() -> bool"""
2499 return _windows
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
2501 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2502 """base_AcceptsFocusFromKeyboard() -> bool"""
2503 return _windows
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2505 def base_GetMaxSize(*args
, **kwargs
):
2506 """base_GetMaxSize() -> Size"""
2507 return _windows
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
2509 def base_AddChild(*args
, **kwargs
):
2510 """base_AddChild(Window child)"""
2511 return _windows
.PyWindow_base_AddChild(*args
, **kwargs
)
2513 def base_RemoveChild(*args
, **kwargs
):
2514 """base_RemoveChild(Window child)"""
2515 return _windows
.PyWindow_base_RemoveChild(*args
, **kwargs
)
2518 class PyWindowPtr(PyWindow
):
2519 def __init__(self
, this
):
2521 if not hasattr(self
,"thisown"): self
.thisown
= 0
2522 self
.__class
__ = PyWindow
2523 _windows
.PyWindow_swigregister(PyWindowPtr
)
2525 class PyPanel(Panel
):
2528 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2529 def __init__(self
, *args
, **kwargs
):
2530 """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2531 long style=0, wxString name=PanelNameStr) -> PyPanel"""
2532 newobj
= _windows
.new_PyPanel(*args
, **kwargs
)
2533 self
.this
= newobj
.this
2536 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
2538 def _setCallbackInfo(*args
, **kwargs
):
2539 """_setCallbackInfo(PyObject self, PyObject _class)"""
2540 return _windows
.PyPanel__setCallbackInfo(*args
, **kwargs
)
2542 def base_DoMoveWindow(*args
, **kwargs
):
2543 """base_DoMoveWindow(int x, int y, int width, int height)"""
2544 return _windows
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
2546 def base_DoSetSize(*args
, **kwargs
):
2547 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2548 return _windows
.PyPanel_base_DoSetSize(*args
, **kwargs
)
2550 def base_DoSetClientSize(*args
, **kwargs
):
2551 """base_DoSetClientSize(int width, int height)"""
2552 return _windows
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
2554 def base_DoSetVirtualSize(*args
, **kwargs
):
2555 """base_DoSetVirtualSize(int x, int y)"""
2556 return _windows
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
2558 def base_DoGetSize(*args
, **kwargs
):
2559 """base_DoGetSize(int OUTPUT, int OUTPUT)"""
2560 return _windows
.PyPanel_base_DoGetSize(*args
, **kwargs
)
2562 def base_DoGetClientSize(*args
, **kwargs
):
2563 """base_DoGetClientSize(int OUTPUT, int OUTPUT)"""
2564 return _windows
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
2566 def base_DoGetPosition(*args
, **kwargs
):
2567 """base_DoGetPosition(int OUTPUT, int OUTPUT)"""
2568 return _windows
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
2570 def base_DoGetVirtualSize(*args
, **kwargs
):
2571 """base_DoGetVirtualSize() -> Size"""
2572 return _windows
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
2574 def base_DoGetBestSize(*args
, **kwargs
):
2575 """base_DoGetBestSize() -> Size"""
2576 return _windows
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
2578 def base_InitDialog(*args
, **kwargs
):
2579 """base_InitDialog()"""
2580 return _windows
.PyPanel_base_InitDialog(*args
, **kwargs
)
2582 def base_TransferDataToWindow(*args
, **kwargs
):
2583 """base_TransferDataToWindow() -> bool"""
2584 return _windows
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
2586 def base_TransferDataFromWindow(*args
, **kwargs
):
2587 """base_TransferDataFromWindow() -> bool"""
2588 return _windows
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
2590 def base_Validate(*args
, **kwargs
):
2591 """base_Validate() -> bool"""
2592 return _windows
.PyPanel_base_Validate(*args
, **kwargs
)
2594 def base_AcceptsFocus(*args
, **kwargs
):
2595 """base_AcceptsFocus() -> bool"""
2596 return _windows
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
2598 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2599 """base_AcceptsFocusFromKeyboard() -> bool"""
2600 return _windows
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2602 def base_GetMaxSize(*args
, **kwargs
):
2603 """base_GetMaxSize() -> Size"""
2604 return _windows
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
2606 def base_AddChild(*args
, **kwargs
):
2607 """base_AddChild(Window child)"""
2608 return _windows
.PyPanel_base_AddChild(*args
, **kwargs
)
2610 def base_RemoveChild(*args
, **kwargs
):
2611 """base_RemoveChild(Window child)"""
2612 return _windows
.PyPanel_base_RemoveChild(*args
, **kwargs
)
2615 class PyPanelPtr(PyPanel
):
2616 def __init__(self
, this
):
2618 if not hasattr(self
,"thisown"): self
.thisown
= 0
2619 self
.__class
__ = PyPanel
2620 _windows
.PyPanel_swigregister(PyPanelPtr
)
2622 #---------------------------------------------------------------------------
2624 PRINT_MODE_NONE
= _windows
.PRINT_MODE_NONE
2625 PRINT_MODE_PREVIEW
= _windows
.PRINT_MODE_PREVIEW
2626 PRINT_MODE_FILE
= _windows
.PRINT_MODE_FILE
2627 PRINT_MODE_PRINTER
= _windows
.PRINT_MODE_PRINTER
2628 class PrintData(core
.Object
):
2631 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2632 def __init__(self
, *args
, **kwargs
):
2633 """__init__() -> PrintData"""
2634 newobj
= _windows
.new_PrintData(*args
, **kwargs
)
2635 self
.this
= newobj
.this
2638 def __del__(self
, destroy
=_windows
.delete_PrintData
):
2641 if self
.thisown
: destroy(self
)
2644 def GetNoCopies(*args
, **kwargs
):
2645 """GetNoCopies() -> int"""
2646 return _windows
.PrintData_GetNoCopies(*args
, **kwargs
)
2648 def GetCollate(*args
, **kwargs
):
2649 """GetCollate() -> bool"""
2650 return _windows
.PrintData_GetCollate(*args
, **kwargs
)
2652 def GetOrientation(*args
, **kwargs
):
2653 """GetOrientation() -> int"""
2654 return _windows
.PrintData_GetOrientation(*args
, **kwargs
)
2656 def Ok(*args
, **kwargs
):
2658 return _windows
.PrintData_Ok(*args
, **kwargs
)
2660 def GetPrinterName(*args
, **kwargs
):
2661 """GetPrinterName() -> wxString"""
2662 return _windows
.PrintData_GetPrinterName(*args
, **kwargs
)
2664 def GetColour(*args
, **kwargs
):
2665 """GetColour() -> bool"""
2666 return _windows
.PrintData_GetColour(*args
, **kwargs
)
2668 def GetDuplex(*args
, **kwargs
):
2669 """GetDuplex() -> wxDuplexMode"""
2670 return _windows
.PrintData_GetDuplex(*args
, **kwargs
)
2672 def GetPaperId(*args
, **kwargs
):
2673 """GetPaperId() -> wxPaperSize"""
2674 return _windows
.PrintData_GetPaperId(*args
, **kwargs
)
2676 def GetPaperSize(*args
, **kwargs
):
2677 """GetPaperSize() -> Size"""
2678 return _windows
.PrintData_GetPaperSize(*args
, **kwargs
)
2680 def GetQuality(*args
, **kwargs
):
2681 """GetQuality() -> wxPrintQuality"""
2682 return _windows
.PrintData_GetQuality(*args
, **kwargs
)
2684 def SetNoCopies(*args
, **kwargs
):
2685 """SetNoCopies(int v)"""
2686 return _windows
.PrintData_SetNoCopies(*args
, **kwargs
)
2688 def SetCollate(*args
, **kwargs
):
2689 """SetCollate(bool flag)"""
2690 return _windows
.PrintData_SetCollate(*args
, **kwargs
)
2692 def SetOrientation(*args
, **kwargs
):
2693 """SetOrientation(int orient)"""
2694 return _windows
.PrintData_SetOrientation(*args
, **kwargs
)
2696 def SetPrinterName(*args
, **kwargs
):
2697 """SetPrinterName(wxString name)"""
2698 return _windows
.PrintData_SetPrinterName(*args
, **kwargs
)
2700 def SetColour(*args
, **kwargs
):
2701 """SetColour(bool colour)"""
2702 return _windows
.PrintData_SetColour(*args
, **kwargs
)
2704 def SetDuplex(*args
, **kwargs
):
2705 """SetDuplex(wxDuplexMode duplex)"""
2706 return _windows
.PrintData_SetDuplex(*args
, **kwargs
)
2708 def SetPaperId(*args
, **kwargs
):
2709 """SetPaperId(wxPaperSize sizeId)"""
2710 return _windows
.PrintData_SetPaperId(*args
, **kwargs
)
2712 def SetPaperSize(*args
, **kwargs
):
2713 """SetPaperSize(Size sz)"""
2714 return _windows
.PrintData_SetPaperSize(*args
, **kwargs
)
2716 def SetQuality(*args
, **kwargs
):
2717 """SetQuality(wxPrintQuality quality)"""
2718 return _windows
.PrintData_SetQuality(*args
, **kwargs
)
2720 def GetPrinterCommand(*args
, **kwargs
):
2721 """GetPrinterCommand() -> wxString"""
2722 return _windows
.PrintData_GetPrinterCommand(*args
, **kwargs
)
2724 def GetPrinterOptions(*args
, **kwargs
):
2725 """GetPrinterOptions() -> wxString"""
2726 return _windows
.PrintData_GetPrinterOptions(*args
, **kwargs
)
2728 def GetPreviewCommand(*args
, **kwargs
):
2729 """GetPreviewCommand() -> wxString"""
2730 return _windows
.PrintData_GetPreviewCommand(*args
, **kwargs
)
2732 def GetFilename(*args
, **kwargs
):
2733 """GetFilename() -> wxString"""
2734 return _windows
.PrintData_GetFilename(*args
, **kwargs
)
2736 def GetFontMetricPath(*args
, **kwargs
):
2737 """GetFontMetricPath() -> wxString"""
2738 return _windows
.PrintData_GetFontMetricPath(*args
, **kwargs
)
2740 def GetPrinterScaleX(*args
, **kwargs
):
2741 """GetPrinterScaleX() -> double"""
2742 return _windows
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
2744 def GetPrinterScaleY(*args
, **kwargs
):
2745 """GetPrinterScaleY() -> double"""
2746 return _windows
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
2748 def GetPrinterTranslateX(*args
, **kwargs
):
2749 """GetPrinterTranslateX() -> long"""
2750 return _windows
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
2752 def GetPrinterTranslateY(*args
, **kwargs
):
2753 """GetPrinterTranslateY() -> long"""
2754 return _windows
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
2756 def GetPrintMode(*args
, **kwargs
):
2757 """GetPrintMode() -> wxPrintMode"""
2758 return _windows
.PrintData_GetPrintMode(*args
, **kwargs
)
2760 def SetPrinterCommand(*args
, **kwargs
):
2761 """SetPrinterCommand(wxString command)"""
2762 return _windows
.PrintData_SetPrinterCommand(*args
, **kwargs
)
2764 def SetPrinterOptions(*args
, **kwargs
):
2765 """SetPrinterOptions(wxString options)"""
2766 return _windows
.PrintData_SetPrinterOptions(*args
, **kwargs
)
2768 def SetPreviewCommand(*args
, **kwargs
):
2769 """SetPreviewCommand(wxString command)"""
2770 return _windows
.PrintData_SetPreviewCommand(*args
, **kwargs
)
2772 def SetFilename(*args
, **kwargs
):
2773 """SetFilename(wxString filename)"""
2774 return _windows
.PrintData_SetFilename(*args
, **kwargs
)
2776 def SetFontMetricPath(*args
, **kwargs
):
2777 """SetFontMetricPath(wxString path)"""
2778 return _windows
.PrintData_SetFontMetricPath(*args
, **kwargs
)
2780 def SetPrinterScaleX(*args
, **kwargs
):
2781 """SetPrinterScaleX(double x)"""
2782 return _windows
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
2784 def SetPrinterScaleY(*args
, **kwargs
):
2785 """SetPrinterScaleY(double y)"""
2786 return _windows
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
2788 def SetPrinterScaling(*args
, **kwargs
):
2789 """SetPrinterScaling(double x, double y)"""
2790 return _windows
.PrintData_SetPrinterScaling(*args
, **kwargs
)
2792 def SetPrinterTranslateX(*args
, **kwargs
):
2793 """SetPrinterTranslateX(long x)"""
2794 return _windows
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
2796 def SetPrinterTranslateY(*args
, **kwargs
):
2797 """SetPrinterTranslateY(long y)"""
2798 return _windows
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
2800 def SetPrinterTranslation(*args
, **kwargs
):
2801 """SetPrinterTranslation(long x, long y)"""
2802 return _windows
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
2804 def SetPrintMode(*args
, **kwargs
):
2805 """SetPrintMode(wxPrintMode printMode)"""
2806 return _windows
.PrintData_SetPrintMode(*args
, **kwargs
)
2808 def __nonzero__(self
): return self
.Ok()
2810 class PrintDataPtr(PrintData
):
2811 def __init__(self
, this
):
2813 if not hasattr(self
,"thisown"): self
.thisown
= 0
2814 self
.__class
__ = PrintData
2815 _windows
.PrintData_swigregister(PrintDataPtr
)
2817 class PageSetupDialogData(core
.Object
):
2820 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2821 def __init__(self
, *args
, **kwargs
):
2822 """__init__() -> PageSetupDialogData"""
2823 newobj
= _windows
.new_PageSetupDialogData(*args
, **kwargs
)
2824 self
.this
= newobj
.this
2827 def __del__(self
, destroy
=_windows
.delete_PageSetupDialogData
):
2830 if self
.thisown
: destroy(self
)
2833 def EnableHelp(*args
, **kwargs
):
2834 """EnableHelp(bool flag)"""
2835 return _windows
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
2837 def EnableMargins(*args
, **kwargs
):
2838 """EnableMargins(bool flag)"""
2839 return _windows
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
2841 def EnableOrientation(*args
, **kwargs
):
2842 """EnableOrientation(bool flag)"""
2843 return _windows
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
2845 def EnablePaper(*args
, **kwargs
):
2846 """EnablePaper(bool flag)"""
2847 return _windows
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
2849 def EnablePrinter(*args
, **kwargs
):
2850 """EnablePrinter(bool flag)"""
2851 return _windows
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
2853 def GetDefaultMinMargins(*args
, **kwargs
):
2854 """GetDefaultMinMargins() -> bool"""
2855 return _windows
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
2857 def GetEnableMargins(*args
, **kwargs
):
2858 """GetEnableMargins() -> bool"""
2859 return _windows
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
2861 def GetEnableOrientation(*args
, **kwargs
):
2862 """GetEnableOrientation() -> bool"""
2863 return _windows
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
2865 def GetEnablePaper(*args
, **kwargs
):
2866 """GetEnablePaper() -> bool"""
2867 return _windows
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
2869 def GetEnablePrinter(*args
, **kwargs
):
2870 """GetEnablePrinter() -> bool"""
2871 return _windows
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
2873 def GetEnableHelp(*args
, **kwargs
):
2874 """GetEnableHelp() -> bool"""
2875 return _windows
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
2877 def GetDefaultInfo(*args
, **kwargs
):
2878 """GetDefaultInfo() -> bool"""
2879 return _windows
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
2881 def GetMarginTopLeft(*args
, **kwargs
):
2882 """GetMarginTopLeft() -> Point"""
2883 return _windows
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
2885 def GetMarginBottomRight(*args
, **kwargs
):
2886 """GetMarginBottomRight() -> Point"""
2887 return _windows
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
2889 def GetMinMarginTopLeft(*args
, **kwargs
):
2890 """GetMinMarginTopLeft() -> Point"""
2891 return _windows
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
2893 def GetMinMarginBottomRight(*args
, **kwargs
):
2894 """GetMinMarginBottomRight() -> Point"""
2895 return _windows
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
2897 def GetPaperId(*args
, **kwargs
):
2898 """GetPaperId() -> wxPaperSize"""
2899 return _windows
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
2901 def GetPaperSize(*args
, **kwargs
):
2902 """GetPaperSize() -> Size"""
2903 return _windows
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
2905 def GetPrintData(*args
, **kwargs
):
2906 """GetPrintData() -> PrintData"""
2907 return _windows
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
2909 def Ok(*args
, **kwargs
):
2911 return _windows
.PageSetupDialogData_Ok(*args
, **kwargs
)
2913 def SetDefaultInfo(*args
, **kwargs
):
2914 """SetDefaultInfo(bool flag)"""
2915 return _windows
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
2917 def SetDefaultMinMargins(*args
, **kwargs
):
2918 """SetDefaultMinMargins(bool flag)"""
2919 return _windows
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
2921 def SetMarginTopLeft(*args
, **kwargs
):
2922 """SetMarginTopLeft(Point pt)"""
2923 return _windows
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
2925 def SetMarginBottomRight(*args
, **kwargs
):
2926 """SetMarginBottomRight(Point pt)"""
2927 return _windows
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
2929 def SetMinMarginTopLeft(*args
, **kwargs
):
2930 """SetMinMarginTopLeft(Point pt)"""
2931 return _windows
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
2933 def SetMinMarginBottomRight(*args
, **kwargs
):
2934 """SetMinMarginBottomRight(Point pt)"""
2935 return _windows
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
2937 def SetPaperId(*args
, **kwargs
):
2938 """SetPaperId(wxPaperSize id)"""
2939 return _windows
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
2941 def SetPaperSize(*args
, **kwargs
):
2942 """SetPaperSize(Size size)"""
2943 return _windows
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
2945 def SetPrintData(*args
, **kwargs
):
2946 """SetPrintData(PrintData printData)"""
2947 return _windows
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
2949 def __nonzero__(self
): return self
.Ok()
2951 class PageSetupDialogDataPtr(PageSetupDialogData
):
2952 def __init__(self
, this
):
2954 if not hasattr(self
,"thisown"): self
.thisown
= 0
2955 self
.__class
__ = PageSetupDialogData
2956 _windows
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
2958 class PageSetupDialog(Dialog
):
2961 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2962 def __init__(self
, *args
, **kwargs
):
2963 """__init__(Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
2964 newobj
= _windows
.new_PageSetupDialog(*args
, **kwargs
)
2965 self
.this
= newobj
.this
2968 self
._setOORInfo
(self
)
2970 def GetPageSetupData(*args
, **kwargs
):
2971 """GetPageSetupData() -> PageSetupDialogData"""
2972 return _windows
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
2974 def ShowModal(*args
, **kwargs
):
2975 """ShowModal() -> int"""
2976 return _windows
.PageSetupDialog_ShowModal(*args
, **kwargs
)
2979 class PageSetupDialogPtr(PageSetupDialog
):
2980 def __init__(self
, this
):
2982 if not hasattr(self
,"thisown"): self
.thisown
= 0
2983 self
.__class
__ = PageSetupDialog
2984 _windows
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
2986 class PrintDialogData(core
.Object
):
2989 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2990 def __init__(self
, *args
, **kwargs
):
2991 """__init__() -> PrintDialogData"""
2992 newobj
= _windows
.new_PrintDialogData(*args
, **kwargs
)
2993 self
.this
= newobj
.this
2996 def __del__(self
, destroy
=_windows
.delete_PrintDialogData
):
2999 if self
.thisown
: destroy(self
)
3002 def GetFromPage(*args
, **kwargs
):
3003 """GetFromPage() -> int"""
3004 return _windows
.PrintDialogData_GetFromPage(*args
, **kwargs
)
3006 def GetToPage(*args
, **kwargs
):
3007 """GetToPage() -> int"""
3008 return _windows
.PrintDialogData_GetToPage(*args
, **kwargs
)
3010 def GetMinPage(*args
, **kwargs
):
3011 """GetMinPage() -> int"""
3012 return _windows
.PrintDialogData_GetMinPage(*args
, **kwargs
)
3014 def GetMaxPage(*args
, **kwargs
):
3015 """GetMaxPage() -> int"""
3016 return _windows
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
3018 def GetNoCopies(*args
, **kwargs
):
3019 """GetNoCopies() -> int"""
3020 return _windows
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
3022 def GetAllPages(*args
, **kwargs
):
3023 """GetAllPages() -> bool"""
3024 return _windows
.PrintDialogData_GetAllPages(*args
, **kwargs
)
3026 def GetSelection(*args
, **kwargs
):
3027 """GetSelection() -> bool"""
3028 return _windows
.PrintDialogData_GetSelection(*args
, **kwargs
)
3030 def GetCollate(*args
, **kwargs
):
3031 """GetCollate() -> bool"""
3032 return _windows
.PrintDialogData_GetCollate(*args
, **kwargs
)
3034 def GetPrintToFile(*args
, **kwargs
):
3035 """GetPrintToFile() -> bool"""
3036 return _windows
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
3038 def GetSetupDialog(*args
, **kwargs
):
3039 """GetSetupDialog() -> bool"""
3040 return _windows
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
3042 def SetFromPage(*args
, **kwargs
):
3043 """SetFromPage(int v)"""
3044 return _windows
.PrintDialogData_SetFromPage(*args
, **kwargs
)
3046 def SetToPage(*args
, **kwargs
):
3047 """SetToPage(int v)"""
3048 return _windows
.PrintDialogData_SetToPage(*args
, **kwargs
)
3050 def SetMinPage(*args
, **kwargs
):
3051 """SetMinPage(int v)"""
3052 return _windows
.PrintDialogData_SetMinPage(*args
, **kwargs
)
3054 def SetMaxPage(*args
, **kwargs
):
3055 """SetMaxPage(int v)"""
3056 return _windows
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
3058 def SetNoCopies(*args
, **kwargs
):
3059 """SetNoCopies(int v)"""
3060 return _windows
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
3062 def SetAllPages(*args
, **kwargs
):
3063 """SetAllPages(bool flag)"""
3064 return _windows
.PrintDialogData_SetAllPages(*args
, **kwargs
)
3066 def SetSelection(*args
, **kwargs
):
3067 """SetSelection(bool flag)"""
3068 return _windows
.PrintDialogData_SetSelection(*args
, **kwargs
)
3070 def SetCollate(*args
, **kwargs
):
3071 """SetCollate(bool flag)"""
3072 return _windows
.PrintDialogData_SetCollate(*args
, **kwargs
)
3074 def SetPrintToFile(*args
, **kwargs
):
3075 """SetPrintToFile(bool flag)"""
3076 return _windows
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
3078 def SetSetupDialog(*args
, **kwargs
):
3079 """SetSetupDialog(bool flag)"""
3080 return _windows
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
3082 def EnablePrintToFile(*args
, **kwargs
):
3083 """EnablePrintToFile(bool flag)"""
3084 return _windows
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
3086 def EnableSelection(*args
, **kwargs
):
3087 """EnableSelection(bool flag)"""
3088 return _windows
.PrintDialogData_EnableSelection(*args
, **kwargs
)
3090 def EnablePageNumbers(*args
, **kwargs
):
3091 """EnablePageNumbers(bool flag)"""
3092 return _windows
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
3094 def EnableHelp(*args
, **kwargs
):
3095 """EnableHelp(bool flag)"""
3096 return _windows
.PrintDialogData_EnableHelp(*args
, **kwargs
)
3098 def GetEnablePrintToFile(*args
, **kwargs
):
3099 """GetEnablePrintToFile() -> bool"""
3100 return _windows
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
3102 def GetEnableSelection(*args
, **kwargs
):
3103 """GetEnableSelection() -> bool"""
3104 return _windows
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
3106 def GetEnablePageNumbers(*args
, **kwargs
):
3107 """GetEnablePageNumbers() -> bool"""
3108 return _windows
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
3110 def GetEnableHelp(*args
, **kwargs
):
3111 """GetEnableHelp() -> bool"""
3112 return _windows
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
3114 def Ok(*args
, **kwargs
):
3116 return _windows
.PrintDialogData_Ok(*args
, **kwargs
)
3118 def GetPrintData(*args
, **kwargs
):
3119 """GetPrintData() -> PrintData"""
3120 return _windows
.PrintDialogData_GetPrintData(*args
, **kwargs
)
3122 def SetPrintData(*args
, **kwargs
):
3123 """SetPrintData(PrintData printData)"""
3124 return _windows
.PrintDialogData_SetPrintData(*args
, **kwargs
)
3126 def __nonzero__(self
): return self
.Ok()
3128 class PrintDialogDataPtr(PrintDialogData
):
3129 def __init__(self
, this
):
3131 if not hasattr(self
,"thisown"): self
.thisown
= 0
3132 self
.__class
__ = PrintDialogData
3133 _windows
.PrintDialogData_swigregister(PrintDialogDataPtr
)
3135 class PrintDialog(Dialog
):
3138 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3139 def __init__(self
, *args
, **kwargs
):
3140 """__init__(Window parent, PrintDialogData data=None) -> PrintDialog"""
3141 newobj
= _windows
.new_PrintDialog(*args
, **kwargs
)
3142 self
.this
= newobj
.this
3145 self
._setOORInfo
(self
)
3147 def GetPrintDialogData(*args
, **kwargs
):
3148 """GetPrintDialogData() -> PrintDialogData"""
3149 return _windows
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
3151 def GetPrintDC(*args
, **kwargs
):
3152 """GetPrintDC() -> wxDC"""
3153 return _windows
.PrintDialog_GetPrintDC(*args
, **kwargs
)
3155 def ShowModal(*args
, **kwargs
):
3156 """ShowModal() -> int"""
3157 return _windows
.PrintDialog_ShowModal(*args
, **kwargs
)
3160 class PrintDialogPtr(PrintDialog
):
3161 def __init__(self
, this
):
3163 if not hasattr(self
,"thisown"): self
.thisown
= 0
3164 self
.__class
__ = PrintDialog
3165 _windows
.PrintDialog_swigregister(PrintDialogPtr
)
3167 PRINTER_NO_ERROR
= _windows
.PRINTER_NO_ERROR
3168 PRINTER_CANCELLED
= _windows
.PRINTER_CANCELLED
3169 PRINTER_ERROR
= _windows
.PRINTER_ERROR
3170 class Printer(core
.Object
):
3173 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3174 def __init__(self
, *args
, **kwargs
):
3175 """__init__(PrintDialogData data=None) -> Printer"""
3176 newobj
= _windows
.new_Printer(*args
, **kwargs
)
3177 self
.this
= newobj
.this
3180 def __del__(self
, destroy
=_windows
.delete_Printer
):
3183 if self
.thisown
: destroy(self
)
3186 def CreateAbortWindow(*args
, **kwargs
):
3187 """CreateAbortWindow(Window parent, Printout printout)"""
3188 return _windows
.Printer_CreateAbortWindow(*args
, **kwargs
)
3190 def GetPrintDialogData(*args
, **kwargs
):
3191 """GetPrintDialogData() -> PrintDialogData"""
3192 return _windows
.Printer_GetPrintDialogData(*args
, **kwargs
)
3194 def Print(*args
, **kwargs
):
3195 """Print(Window parent, Printout printout, int prompt=True) -> bool"""
3196 return _windows
.Printer_Print(*args
, **kwargs
)
3198 def PrintDialog(*args
, **kwargs
):
3199 """PrintDialog(Window parent) -> wxDC"""
3200 return _windows
.Printer_PrintDialog(*args
, **kwargs
)
3202 def ReportError(*args
, **kwargs
):
3203 """ReportError(Window parent, Printout printout, wxString message)"""
3204 return _windows
.Printer_ReportError(*args
, **kwargs
)
3206 def Setup(*args
, **kwargs
):
3207 """Setup(Window parent) -> bool"""
3208 return _windows
.Printer_Setup(*args
, **kwargs
)
3210 def GetAbort(*args
, **kwargs
):
3211 """GetAbort() -> bool"""
3212 return _windows
.Printer_GetAbort(*args
, **kwargs
)
3214 def GetLastError(*args
, **kwargs
):
3215 """Printer.GetLastError() -> wxPrinterError"""
3216 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3218 GetLastError
= staticmethod(GetLastError
)
3220 class PrinterPtr(Printer
):
3221 def __init__(self
, this
):
3223 if not hasattr(self
,"thisown"): self
.thisown
= 0
3224 self
.__class
__ = Printer
3225 _windows
.Printer_swigregister(PrinterPtr
)
3227 def Printer_GetLastError(*args
, **kwargs
):
3228 """Printer_GetLastError() -> wxPrinterError"""
3229 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3231 class Printout(core
.Object
):
3234 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3235 def __init__(self
, *args
, **kwargs
):
3236 """__init__(wxString title=wxPyPrintoutTitleStr) -> Printout"""
3237 newobj
= _windows
.new_Printout(*args
, **kwargs
)
3238 self
.this
= newobj
.this
3241 self
._setCallbackInfo
(self
, Printout
)
3243 def _setCallbackInfo(*args
, **kwargs
):
3244 """_setCallbackInfo(PyObject self, PyObject _class)"""
3245 return _windows
.Printout__setCallbackInfo(*args
, **kwargs
)
3247 def GetTitle(*args
, **kwargs
):
3248 """GetTitle() -> wxString"""
3249 return _windows
.Printout_GetTitle(*args
, **kwargs
)
3251 def GetDC(*args
, **kwargs
):
3252 """GetDC() -> wxDC"""
3253 return _windows
.Printout_GetDC(*args
, **kwargs
)
3255 def SetDC(*args
, **kwargs
):
3256 """SetDC(wxDC dc)"""
3257 return _windows
.Printout_SetDC(*args
, **kwargs
)
3259 def GetPageSizePixels(*args
, **kwargs
):
3260 """GetPageSizePixels(int OUTPUT, int OUTPUT)"""
3261 return _windows
.Printout_GetPageSizePixels(*args
, **kwargs
)
3263 def SetPageSizePixels(*args
, **kwargs
):
3264 """SetPageSizePixels(int w, int h)"""
3265 return _windows
.Printout_SetPageSizePixels(*args
, **kwargs
)
3267 def SetPageSizeMM(*args
, **kwargs
):
3268 """SetPageSizeMM(int w, int h)"""
3269 return _windows
.Printout_SetPageSizeMM(*args
, **kwargs
)
3271 def GetPageSizeMM(*args
, **kwargs
):
3272 """GetPageSizeMM(int OUTPUT, int OUTPUT)"""
3273 return _windows
.Printout_GetPageSizeMM(*args
, **kwargs
)
3275 def SetPPIScreen(*args
, **kwargs
):
3276 """SetPPIScreen(int x, int y)"""
3277 return _windows
.Printout_SetPPIScreen(*args
, **kwargs
)
3279 def GetPPIScreen(*args
, **kwargs
):
3280 """GetPPIScreen(int OUTPUT, int OUTPUT)"""
3281 return _windows
.Printout_GetPPIScreen(*args
, **kwargs
)
3283 def SetPPIPrinter(*args
, **kwargs
):
3284 """SetPPIPrinter(int x, int y)"""
3285 return _windows
.Printout_SetPPIPrinter(*args
, **kwargs
)
3287 def GetPPIPrinter(*args
, **kwargs
):
3288 """GetPPIPrinter(int OUTPUT, int OUTPUT)"""
3289 return _windows
.Printout_GetPPIPrinter(*args
, **kwargs
)
3291 def IsPreview(*args
, **kwargs
):
3292 """IsPreview() -> bool"""
3293 return _windows
.Printout_IsPreview(*args
, **kwargs
)
3295 def SetIsPreview(*args
, **kwargs
):
3296 """SetIsPreview(bool p)"""
3297 return _windows
.Printout_SetIsPreview(*args
, **kwargs
)
3299 def base_OnBeginDocument(*args
, **kwargs
):
3300 """base_OnBeginDocument(int startPage, int endPage) -> bool"""
3301 return _windows
.Printout_base_OnBeginDocument(*args
, **kwargs
)
3303 def base_OnEndDocument(*args
, **kwargs
):
3304 """base_OnEndDocument()"""
3305 return _windows
.Printout_base_OnEndDocument(*args
, **kwargs
)
3307 def base_OnBeginPrinting(*args
, **kwargs
):
3308 """base_OnBeginPrinting()"""
3309 return _windows
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
3311 def base_OnEndPrinting(*args
, **kwargs
):
3312 """base_OnEndPrinting()"""
3313 return _windows
.Printout_base_OnEndPrinting(*args
, **kwargs
)
3315 def base_OnPreparePrinting(*args
, **kwargs
):
3316 """base_OnPreparePrinting()"""
3317 return _windows
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
3319 def base_GetPageInfo(*args
, **kwargs
):
3320 """base_GetPageInfo(int OUTPUT, int OUTPUT, int OUTPUT, int OUTPUT)"""
3321 return _windows
.Printout_base_GetPageInfo(*args
, **kwargs
)
3323 def base_HasPage(*args
, **kwargs
):
3324 """base_HasPage(int page) -> bool"""
3325 return _windows
.Printout_base_HasPage(*args
, **kwargs
)
3328 class PrintoutPtr(Printout
):
3329 def __init__(self
, this
):
3331 if not hasattr(self
,"thisown"): self
.thisown
= 0
3332 self
.__class
__ = Printout
3333 _windows
.Printout_swigregister(PrintoutPtr
)
3335 class PreviewCanvas(ScrolledWindow
):
3338 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3339 def __init__(self
, *args
, **kwargs
):
3340 """__init__(PrintPreview preview, Window parent, Point pos=DefaultPosition,
3341 Size size=DefaultSize, long style=0,
3342 wxString name=wxPyPreviewCanvasNameStr) -> PreviewCanvas"""
3343 newobj
= _windows
.new_PreviewCanvas(*args
, **kwargs
)
3344 self
.this
= newobj
.this
3347 self
._self
._setOORInfo
(self
)
3350 class PreviewCanvasPtr(PreviewCanvas
):
3351 def __init__(self
, this
):
3353 if not hasattr(self
,"thisown"): self
.thisown
= 0
3354 self
.__class
__ = PreviewCanvas
3355 _windows
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
3357 class PreviewFrame(Frame
):
3360 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3361 def __init__(self
, *args
, **kwargs
):
3362 """__init__(PrintPreview preview, Frame parent, wxString title,
3363 Point pos=DefaultPosition, Size size=DefaultSize,
3364 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PreviewFrame"""
3365 newobj
= _windows
.new_PreviewFrame(*args
, **kwargs
)
3366 self
.this
= newobj
.this
3369 self
._self
._setOORInfo
(self
)
3371 def Initialize(*args
, **kwargs
):
3373 return _windows
.PreviewFrame_Initialize(*args
, **kwargs
)
3375 def CreateControlBar(*args
, **kwargs
):
3376 """CreateControlBar()"""
3377 return _windows
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
3379 def CreateCanvas(*args
, **kwargs
):
3380 """CreateCanvas()"""
3381 return _windows
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
3383 def GetControlBar(*args
, **kwargs
):
3384 """GetControlBar() -> PreviewControlBar"""
3385 return _windows
.PreviewFrame_GetControlBar(*args
, **kwargs
)
3388 class PreviewFramePtr(PreviewFrame
):
3389 def __init__(self
, this
):
3391 if not hasattr(self
,"thisown"): self
.thisown
= 0
3392 self
.__class
__ = PreviewFrame
3393 _windows
.PreviewFrame_swigregister(PreviewFramePtr
)
3395 PREVIEW_PRINT
= _windows
.PREVIEW_PRINT
3396 PREVIEW_PREVIOUS
= _windows
.PREVIEW_PREVIOUS
3397 PREVIEW_NEXT
= _windows
.PREVIEW_NEXT
3398 PREVIEW_ZOOM
= _windows
.PREVIEW_ZOOM
3399 PREVIEW_FIRST
= _windows
.PREVIEW_FIRST
3400 PREVIEW_LAST
= _windows
.PREVIEW_LAST
3401 PREVIEW_GOTO
= _windows
.PREVIEW_GOTO
3402 PREVIEW_DEFAULT
= _windows
.PREVIEW_DEFAULT
3403 ID_PREVIEW_CLOSE
= _windows
.ID_PREVIEW_CLOSE
3404 ID_PREVIEW_NEXT
= _windows
.ID_PREVIEW_NEXT
3405 ID_PREVIEW_PREVIOUS
= _windows
.ID_PREVIEW_PREVIOUS
3406 ID_PREVIEW_PRINT
= _windows
.ID_PREVIEW_PRINT
3407 ID_PREVIEW_ZOOM
= _windows
.ID_PREVIEW_ZOOM
3408 ID_PREVIEW_FIRST
= _windows
.ID_PREVIEW_FIRST
3409 ID_PREVIEW_LAST
= _windows
.ID_PREVIEW_LAST
3410 ID_PREVIEW_GOTO
= _windows
.ID_PREVIEW_GOTO
3411 class PreviewControlBar(Panel
):
3414 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3415 def __init__(self
, *args
, **kwargs
):
3416 """__init__(PrintPreview preview, long buttons, Window parent,
3417 Point pos=DefaultPosition, Size size=DefaultSize,
3418 long style=TAB_TRAVERSAL, wxString name=PanelNameStr) -> PreviewControlBar"""
3419 newobj
= _windows
.new_PreviewControlBar(*args
, **kwargs
)
3420 self
.this
= newobj
.this
3423 self
._self
._setOORInfo
(self
)
3425 def GetZoomControl(*args
, **kwargs
):
3426 """GetZoomControl() -> int"""
3427 return _windows
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
3429 def SetZoomControl(*args
, **kwargs
):
3430 """SetZoomControl(int zoom)"""
3431 return _windows
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
3433 def GetPrintPreview(*args
, **kwargs
):
3434 """GetPrintPreview() -> PrintPreview"""
3435 return _windows
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
3437 def OnNext(*args
, **kwargs
):
3439 return _windows
.PreviewControlBar_OnNext(*args
, **kwargs
)
3441 def OnPrevious(*args
, **kwargs
):
3443 return _windows
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
3445 def OnFirst(*args
, **kwargs
):
3447 return _windows
.PreviewControlBar_OnFirst(*args
, **kwargs
)
3449 def OnLast(*args
, **kwargs
):
3451 return _windows
.PreviewControlBar_OnLast(*args
, **kwargs
)
3453 def OnGoto(*args
, **kwargs
):
3455 return _windows
.PreviewControlBar_OnGoto(*args
, **kwargs
)
3458 class PreviewControlBarPtr(PreviewControlBar
):
3459 def __init__(self
, this
):
3461 if not hasattr(self
,"thisown"): self
.thisown
= 0
3462 self
.__class
__ = PreviewControlBar
3463 _windows
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
3465 class PrintPreview(core
.Object
):
3468 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3469 def __init__(self
, *args
, **kwargs
):
3470 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PrintPreview"""
3471 newobj
= _windows
.new_PrintPreview(*args
, **kwargs
)
3472 self
.this
= newobj
.this
3475 def SetCurrentPage(*args
, **kwargs
):
3476 """SetCurrentPage(int pageNum) -> bool"""
3477 return _windows
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
3479 def GetCurrentPage(*args
, **kwargs
):
3480 """GetCurrentPage() -> int"""
3481 return _windows
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
3483 def SetPrintout(*args
, **kwargs
):
3484 """SetPrintout(Printout printout)"""
3485 return _windows
.PrintPreview_SetPrintout(*args
, **kwargs
)
3487 def GetPrintout(*args
, **kwargs
):
3488 """GetPrintout() -> Printout"""
3489 return _windows
.PrintPreview_GetPrintout(*args
, **kwargs
)
3491 def GetPrintoutForPrinting(*args
, **kwargs
):
3492 """GetPrintoutForPrinting() -> Printout"""
3493 return _windows
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
3495 def SetFrame(*args
, **kwargs
):
3496 """SetFrame(Frame frame)"""
3497 return _windows
.PrintPreview_SetFrame(*args
, **kwargs
)
3499 def SetCanvas(*args
, **kwargs
):
3500 """SetCanvas(PreviewCanvas canvas)"""
3501 return _windows
.PrintPreview_SetCanvas(*args
, **kwargs
)
3503 def GetFrame(*args
, **kwargs
):
3504 """GetFrame() -> Frame"""
3505 return _windows
.PrintPreview_GetFrame(*args
, **kwargs
)
3507 def GetCanvas(*args
, **kwargs
):
3508 """GetCanvas() -> PreviewCanvas"""
3509 return _windows
.PrintPreview_GetCanvas(*args
, **kwargs
)
3511 def PaintPage(*args
, **kwargs
):
3512 """PaintPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3513 return _windows
.PrintPreview_PaintPage(*args
, **kwargs
)
3515 def DrawBlankPage(*args
, **kwargs
):
3516 """DrawBlankPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3517 return _windows
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
3519 def RenderPage(*args
, **kwargs
):
3520 """RenderPage(int pageNum) -> bool"""
3521 return _windows
.PrintPreview_RenderPage(*args
, **kwargs
)
3523 def AdjustScrollbars(*args
, **kwargs
):
3524 """AdjustScrollbars(PreviewCanvas canvas)"""
3525 return _windows
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
3527 def GetPrintDialogData(*args
, **kwargs
):
3528 """GetPrintDialogData() -> PrintDialogData"""
3529 return _windows
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
3531 def SetZoom(*args
, **kwargs
):
3532 """SetZoom(int percent)"""
3533 return _windows
.PrintPreview_SetZoom(*args
, **kwargs
)
3535 def GetZoom(*args
, **kwargs
):
3536 """GetZoom() -> int"""
3537 return _windows
.PrintPreview_GetZoom(*args
, **kwargs
)
3539 def GetMaxPage(*args
, **kwargs
):
3540 """GetMaxPage() -> int"""
3541 return _windows
.PrintPreview_GetMaxPage(*args
, **kwargs
)
3543 def GetMinPage(*args
, **kwargs
):
3544 """GetMinPage() -> int"""
3545 return _windows
.PrintPreview_GetMinPage(*args
, **kwargs
)
3547 def Ok(*args
, **kwargs
):
3549 return _windows
.PrintPreview_Ok(*args
, **kwargs
)
3551 def SetOk(*args
, **kwargs
):
3552 """SetOk(bool ok)"""
3553 return _windows
.PrintPreview_SetOk(*args
, **kwargs
)
3555 def Print(*args
, **kwargs
):
3556 """Print(bool interactive) -> bool"""
3557 return _windows
.PrintPreview_Print(*args
, **kwargs
)
3559 def DetermineScaling(*args
, **kwargs
):
3560 """DetermineScaling()"""
3561 return _windows
.PrintPreview_DetermineScaling(*args
, **kwargs
)
3563 def __nonzero__(self
): return self
.Ok()
3565 class PrintPreviewPtr(PrintPreview
):
3566 def __init__(self
, this
):
3568 if not hasattr(self
,"thisown"): self
.thisown
= 0
3569 self
.__class
__ = PrintPreview
3570 _windows
.PrintPreview_swigregister(PrintPreviewPtr
)
3572 class PyPrintPreview(PrintPreview
):
3575 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3576 def __init__(self
, *args
, **kwargs
):
3577 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PyPrintPreview"""
3578 newobj
= _windows
.new_PyPrintPreview(*args
, **kwargs
)
3579 self
.this
= newobj
.this
3582 self
._setCallbackInfo
(self
, PyPrintPreview
)
3584 def _setCallbackInfo(*args
, **kwargs
):
3585 """_setCallbackInfo(PyObject self, PyObject _class)"""
3586 return _windows
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
3588 def base_SetCurrentPage(*args
, **kwargs
):
3589 """base_SetCurrentPage(int pageNum) -> bool"""
3590 return _windows
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
3592 def base_PaintPage(*args
, **kwargs
):
3593 """base_PaintPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3594 return _windows
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
3596 def base_DrawBlankPage(*args
, **kwargs
):
3597 """base_DrawBlankPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3598 return _windows
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
3600 def base_RenderPage(*args
, **kwargs
):
3601 """base_RenderPage(int pageNum) -> bool"""
3602 return _windows
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
3604 def base_SetZoom(*args
, **kwargs
):
3605 """base_SetZoom(int percent)"""
3606 return _windows
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
3608 def base_Print(*args
, **kwargs
):
3609 """base_Print(bool interactive) -> bool"""
3610 return _windows
.PyPrintPreview_base_Print(*args
, **kwargs
)
3612 def base_DetermineScaling(*args
, **kwargs
):
3613 """base_DetermineScaling()"""
3614 return _windows
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
3617 class PyPrintPreviewPtr(PyPrintPreview
):
3618 def __init__(self
, this
):
3620 if not hasattr(self
,"thisown"): self
.thisown
= 0
3621 self
.__class
__ = PyPrintPreview
3622 _windows
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
3624 class PyPreviewFrame(PreviewFrame
):
3627 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3628 def __init__(self
, *args
, **kwargs
):
3629 """__init__(PrintPreview preview, Frame parent, wxString title,
3630 Point pos=DefaultPosition, Size size=DefaultSize,
3631 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PyPreviewFrame"""
3632 newobj
= _windows
.new_PyPreviewFrame(*args
, **kwargs
)
3633 self
.this
= newobj
.this
3636 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
3638 def _setCallbackInfo(*args
, **kwargs
):
3639 """_setCallbackInfo(PyObject self, PyObject _class)"""
3640 return _windows
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
3642 def SetPreviewCanvas(*args
, **kwargs
):
3643 """SetPreviewCanvas(PreviewCanvas canvas)"""
3644 return _windows
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
3646 def SetControlBar(*args
, **kwargs
):
3647 """SetControlBar(PreviewControlBar bar)"""
3648 return _windows
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
3650 def base_Initialize(*args
, **kwargs
):
3651 """base_Initialize()"""
3652 return _windows
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
3654 def base_CreateCanvas(*args
, **kwargs
):
3655 """base_CreateCanvas()"""
3656 return _windows
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
3658 def base_CreateControlBar(*args
, **kwargs
):
3659 """base_CreateControlBar()"""
3660 return _windows
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
3663 class PyPreviewFramePtr(PyPreviewFrame
):
3664 def __init__(self
, this
):
3666 if not hasattr(self
,"thisown"): self
.thisown
= 0
3667 self
.__class
__ = PyPreviewFrame
3668 _windows
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
3670 class PyPreviewControlBar(PreviewControlBar
):
3673 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3674 def __init__(self
, *args
, **kwargs
):
3675 """__init__(PrintPreview preview, long buttons, Window parent,
3676 Point pos=DefaultPosition, Size size=DefaultSize,
3677 long style=0, wxString name=PanelNameStr) -> PyPreviewControlBar"""
3678 newobj
= _windows
.new_PyPreviewControlBar(*args
, **kwargs
)
3679 self
.this
= newobj
.this
3682 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
3684 def _setCallbackInfo(*args
, **kwargs
):
3685 """_setCallbackInfo(PyObject self, PyObject _class)"""
3686 return _windows
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
3688 def SetPrintPreview(*args
, **kwargs
):
3689 """SetPrintPreview(PrintPreview preview)"""
3690 return _windows
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
3692 def base_CreateButtons(*args
, **kwargs
):
3693 """base_CreateButtons()"""
3694 return _windows
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
3696 def base_SetZoomControl(*args
, **kwargs
):
3697 """base_SetZoomControl(int zoom)"""
3698 return _windows
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
3701 class PyPreviewControlBarPtr(PyPreviewControlBar
):
3702 def __init__(self
, this
):
3704 if not hasattr(self
,"thisown"): self
.thisown
= 0
3705 self
.__class
__ = PyPreviewControlBar
3706 _windows
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)