1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
8 #---------------------------------------------------------------------------
10 class Panel(core
.Window
):
13 return "<%s.%s; proxy of C++ wxPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
14 def __init__(self
, *args
, **kwargs
):
15 """__init__(Window parent, int id=-1, Point pos=DefaultPosition,
16 Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
17 wxString name=PanelNameStr) -> Panel"""
18 newobj
= _windows
.new_Panel(*args
, **kwargs
)
19 self
.this
= newobj
.this
22 self
._setOORInfo
(self
)
24 def Create(*args
, **kwargs
):
25 """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
26 long style=wxTAB_TRAVERSAL|wxNO_BORDER,
27 wxString name=PanelNameStr) -> bool"""
28 return _windows
.Panel_Create(*args
, **kwargs
)
30 def InitDialog(*args
, **kwargs
):
32 return _windows
.Panel_InitDialog(*args
, **kwargs
)
35 class PanelPtr(Panel
):
36 def __init__(self
, this
):
38 if not hasattr(self
,"thisown"): self
.thisown
= 0
39 self
.__class
__ = Panel
40 _windows
.Panel_swigregister(PanelPtr
)
42 def PrePanel(*args
, **kwargs
):
43 """PrePanel() -> Panel"""
44 val
= _windows
.new_PrePanel(*args
, **kwargs
)
48 #---------------------------------------------------------------------------
50 class ScrolledWindow(Panel
):
53 return "<%s.%s; proxy of C++ wxScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
54 def __init__(self
, *args
, **kwargs
):
55 """__init__(Window parent, int id=-1, Point pos=DefaultPosition,
56 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
57 wxString name=PanelNameStr) -> ScrolledWindow"""
58 newobj
= _windows
.new_ScrolledWindow(*args
, **kwargs
)
59 self
.this
= newobj
.this
62 self
._setOORInfo
(self
)
64 def Create(*args
, **kwargs
):
65 """Create(Window parent, int id=-1, Point pos=DefaultPosition,
66 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
67 wxString name=PanelNameStr) -> bool"""
68 return _windows
.ScrolledWindow_Create(*args
, **kwargs
)
70 def SetScrollbars(*args
, **kwargs
):
71 """SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX,
72 int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)"""
73 return _windows
.ScrolledWindow_SetScrollbars(*args
, **kwargs
)
75 def Scroll(*args
, **kwargs
):
76 """Scroll(int x, int y)"""
77 return _windows
.ScrolledWindow_Scroll(*args
, **kwargs
)
79 def GetScrollPageSize(*args
, **kwargs
):
80 """GetScrollPageSize(int orient) -> int"""
81 return _windows
.ScrolledWindow_GetScrollPageSize(*args
, **kwargs
)
83 def SetScrollPageSize(*args
, **kwargs
):
84 """SetScrollPageSize(int orient, int pageSize)"""
85 return _windows
.ScrolledWindow_SetScrollPageSize(*args
, **kwargs
)
87 def SetScrollRate(*args
, **kwargs
):
88 """SetScrollRate(int xstep, int ystep)"""
89 return _windows
.ScrolledWindow_SetScrollRate(*args
, **kwargs
)
91 def GetScrollPixelsPerUnit(*args
, **kwargs
):
92 """GetScrollPixelsPerUnit() -> (xUnit, yUnit)
94 Get the size of one logical unit in physical units."""
95 return _windows
.ScrolledWindow_GetScrollPixelsPerUnit(*args
, **kwargs
)
97 def EnableScrolling(*args
, **kwargs
):
98 """EnableScrolling(bool x_scrolling, bool y_scrolling)"""
99 return _windows
.ScrolledWindow_EnableScrolling(*args
, **kwargs
)
101 def GetViewStart(*args
, **kwargs
):
102 """GetViewStart() -> (x,y)
104 Get the view start"""
105 return _windows
.ScrolledWindow_GetViewStart(*args
, **kwargs
)
107 def SetScale(*args
, **kwargs
):
108 """SetScale(double xs, double ys)"""
109 return _windows
.ScrolledWindow_SetScale(*args
, **kwargs
)
111 def GetScaleX(*args
, **kwargs
):
112 """GetScaleX() -> double"""
113 return _windows
.ScrolledWindow_GetScaleX(*args
, **kwargs
)
115 def GetScaleY(*args
, **kwargs
):
116 """GetScaleY() -> double"""
117 return _windows
.ScrolledWindow_GetScaleY(*args
, **kwargs
)
119 def CalcScrolledPosition(*args
):
120 """CalcScrolledPosition(Point pt) -> Point
121 CalcScrolledPosition(int x, int y) -> (sx, sy)
123 Translate between scrolled and unscrolled coordinates."""
124 return _windows
.ScrolledWindow_CalcScrolledPosition(*args
)
126 def CalcUnscrolledPosition(*args
):
127 """CalcUnscrolledPosition(Point pt) -> Point
128 CalcUnscrolledPosition(int x, int y) -> (ux, uy)
130 Translate between scrolled and unscrolled coordinates."""
131 return _windows
.ScrolledWindow_CalcUnscrolledPosition(*args
)
133 def AdjustScrollbars(*args
, **kwargs
):
134 """AdjustScrollbars()"""
135 return _windows
.ScrolledWindow_AdjustScrollbars(*args
, **kwargs
)
137 def CalcScrollInc(*args
, **kwargs
):
138 """CalcScrollInc(ScrollWinEvent event) -> int"""
139 return _windows
.ScrolledWindow_CalcScrollInc(*args
, **kwargs
)
141 def SetTargetWindow(*args
, **kwargs
):
142 """SetTargetWindow(Window target)"""
143 return _windows
.ScrolledWindow_SetTargetWindow(*args
, **kwargs
)
145 def GetTargetWindow(*args
, **kwargs
):
146 """GetTargetWindow() -> Window"""
147 return _windows
.ScrolledWindow_GetTargetWindow(*args
, **kwargs
)
150 class ScrolledWindowPtr(ScrolledWindow
):
151 def __init__(self
, this
):
153 if not hasattr(self
,"thisown"): self
.thisown
= 0
154 self
.__class
__ = ScrolledWindow
155 _windows
.ScrolledWindow_swigregister(ScrolledWindowPtr
)
157 def PreScrolledWindow(*args
, **kwargs
):
158 """PreScrolledWindow() -> ScrolledWindow"""
159 val
= _windows
.new_PreScrolledWindow(*args
, **kwargs
)
163 #---------------------------------------------------------------------------
165 FULLSCREEN_NOMENUBAR
= _windows
.FULLSCREEN_NOMENUBAR
166 FULLSCREEN_NOTOOLBAR
= _windows
.FULLSCREEN_NOTOOLBAR
167 FULLSCREEN_NOSTATUSBAR
= _windows
.FULLSCREEN_NOSTATUSBAR
168 FULLSCREEN_NOBORDER
= _windows
.FULLSCREEN_NOBORDER
169 FULLSCREEN_NOCAPTION
= _windows
.FULLSCREEN_NOCAPTION
170 FULLSCREEN_ALL
= _windows
.FULLSCREEN_ALL
171 TOPLEVEL_EX_DIALOG
= _windows
.TOPLEVEL_EX_DIALOG
172 class TopLevelWindow(core
.Window
):
174 def __init__(self
): raise RuntimeError, "No constructor defined"
176 return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
177 def Maximize(*args
, **kwargs
):
178 """Maximize(bool maximize=True)"""
179 return _windows
.TopLevelWindow_Maximize(*args
, **kwargs
)
181 def Restore(*args
, **kwargs
):
183 return _windows
.TopLevelWindow_Restore(*args
, **kwargs
)
185 def Iconize(*args
, **kwargs
):
186 """Iconize(bool iconize=True)"""
187 return _windows
.TopLevelWindow_Iconize(*args
, **kwargs
)
189 def IsMaximized(*args
, **kwargs
):
190 """IsMaximized() -> bool"""
191 return _windows
.TopLevelWindow_IsMaximized(*args
, **kwargs
)
193 def IsIconized(*args
, **kwargs
):
194 """IsIconized() -> bool"""
195 return _windows
.TopLevelWindow_IsIconized(*args
, **kwargs
)
197 def GetIcon(*args
, **kwargs
):
198 """GetIcon() -> wxIcon"""
199 return _windows
.TopLevelWindow_GetIcon(*args
, **kwargs
)
201 def SetIcon(*args
, **kwargs
):
202 """SetIcon(wxIcon icon)"""
203 return _windows
.TopLevelWindow_SetIcon(*args
, **kwargs
)
205 def SetIcons(*args
, **kwargs
):
206 """SetIcons(wxIconBundle icons)"""
207 return _windows
.TopLevelWindow_SetIcons(*args
, **kwargs
)
209 def ShowFullScreen(*args
, **kwargs
):
210 """ShowFullScreen(bool show, long style=FULLSCREEN_ALL) -> bool"""
211 return _windows
.TopLevelWindow_ShowFullScreen(*args
, **kwargs
)
213 def IsFullScreen(*args
, **kwargs
):
214 """IsFullScreen() -> bool"""
215 return _windows
.TopLevelWindow_IsFullScreen(*args
, **kwargs
)
217 def SetTitle(*args
, **kwargs
):
218 """SetTitle(wxString title)"""
219 return _windows
.TopLevelWindow_SetTitle(*args
, **kwargs
)
221 def GetTitle(*args
, **kwargs
):
222 """GetTitle() -> wxString"""
223 return _windows
.TopLevelWindow_GetTitle(*args
, **kwargs
)
225 def SetShape(*args
, **kwargs
):
226 """SetShape(wxRegion region) -> bool"""
227 return _windows
.TopLevelWindow_SetShape(*args
, **kwargs
)
230 class TopLevelWindowPtr(TopLevelWindow
):
231 def __init__(self
, this
):
233 if not hasattr(self
,"thisown"): self
.thisown
= 0
234 self
.__class
__ = TopLevelWindow
235 _windows
.TopLevelWindow_swigregister(TopLevelWindowPtr
)
237 #---------------------------------------------------------------------------
239 class Frame(TopLevelWindow
):
242 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
243 def __init__(self
, *args
, **kwargs
):
244 """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
245 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
246 wxString name=wxPyFrameNameStr) -> Frame"""
247 newobj
= _windows
.new_Frame(*args
, **kwargs
)
248 self
.this
= newobj
.this
251 self
._setOORInfo
(self
)
253 def Create(*args
, **kwargs
):
254 """Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
255 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
256 wxString name=wxPyFrameNameStr) -> bool"""
257 return _windows
.Frame_Create(*args
, **kwargs
)
259 def GetClientAreaOrigin(*args
, **kwargs
):
260 """GetClientAreaOrigin() -> Point"""
261 return _windows
.Frame_GetClientAreaOrigin(*args
, **kwargs
)
263 def SendSizeEvent(*args
, **kwargs
):
264 """SendSizeEvent()"""
265 return _windows
.Frame_SendSizeEvent(*args
, **kwargs
)
267 def SetMenuBar(*args
, **kwargs
):
268 """SetMenuBar(MenuBar menubar)"""
269 return _windows
.Frame_SetMenuBar(*args
, **kwargs
)
271 def GetMenuBar(*args
, **kwargs
):
272 """GetMenuBar() -> MenuBar"""
273 return _windows
.Frame_GetMenuBar(*args
, **kwargs
)
275 def ProcessCommand(*args
, **kwargs
):
276 """ProcessCommand(int winid) -> bool"""
277 return _windows
.Frame_ProcessCommand(*args
, **kwargs
)
279 Command
= ProcessCommand
280 def CreateStatusBar(*args
, **kwargs
):
281 """CreateStatusBar(int number=1, long style=ST_SIZEGRIP, int winid=0,
282 wxString name=wxPyStatusLineNameStr) -> StatusBar"""
283 return _windows
.Frame_CreateStatusBar(*args
, **kwargs
)
285 def GetStatusBar(*args
, **kwargs
):
286 """GetStatusBar() -> StatusBar"""
287 return _windows
.Frame_GetStatusBar(*args
, **kwargs
)
289 def SetStatusBar(*args
, **kwargs
):
290 """SetStatusBar(StatusBar statBar)"""
291 return _windows
.Frame_SetStatusBar(*args
, **kwargs
)
293 def SetStatusText(*args
, **kwargs
):
294 """SetStatusText(wxString text, int number=0)"""
295 return _windows
.Frame_SetStatusText(*args
, **kwargs
)
297 def SetStatusWidths(*args
, **kwargs
):
298 """SetStatusWidths(int widths, int widths_field)"""
299 return _windows
.Frame_SetStatusWidths(*args
, **kwargs
)
301 def PushStatusText(*args
, **kwargs
):
302 """PushStatusText(wxString text, int number=0)"""
303 return _windows
.Frame_PushStatusText(*args
, **kwargs
)
305 def PopStatusText(*args
, **kwargs
):
306 """PopStatusText(int number=0)"""
307 return _windows
.Frame_PopStatusText(*args
, **kwargs
)
309 def SetStatusBarPane(*args
, **kwargs
):
310 """SetStatusBarPane(int n)"""
311 return _windows
.Frame_SetStatusBarPane(*args
, **kwargs
)
313 def GetStatusBarPane(*args
, **kwargs
):
314 """GetStatusBarPane() -> int"""
315 return _windows
.Frame_GetStatusBarPane(*args
, **kwargs
)
317 def CreateToolBar(*args
, **kwargs
):
318 """CreateToolBar(long style=-1, int winid=-1, wxString name=wxPyToolBarNameStr) -> wxToolBar"""
319 return _windows
.Frame_CreateToolBar(*args
, **kwargs
)
321 def GetToolBar(*args
, **kwargs
):
322 """GetToolBar() -> wxToolBar"""
323 return _windows
.Frame_GetToolBar(*args
, **kwargs
)
325 def SetToolBar(*args
, **kwargs
):
326 """SetToolBar(wxToolBar toolbar)"""
327 return _windows
.Frame_SetToolBar(*args
, **kwargs
)
329 def DoGiveHelp(*args
, **kwargs
):
330 """DoGiveHelp(wxString text, bool show)"""
331 return _windows
.Frame_DoGiveHelp(*args
, **kwargs
)
333 def DoMenuUpdates(*args
, **kwargs
):
334 """DoMenuUpdates(Menu menu=None)"""
335 return _windows
.Frame_DoMenuUpdates(*args
, **kwargs
)
338 class FramePtr(Frame
):
339 def __init__(self
, this
):
341 if not hasattr(self
,"thisown"): self
.thisown
= 0
342 self
.__class
__ = Frame
343 _windows
.Frame_swigregister(FramePtr
)
345 def PreFrame(*args
, **kwargs
):
346 """PreFrame() -> Frame"""
347 val
= _windows
.new_PreFrame(*args
, **kwargs
)
351 #---------------------------------------------------------------------------
353 class Dialog(TopLevelWindow
):
356 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
357 def __init__(self
, *args
, **kwargs
):
358 """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
359 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
360 wxString name=wxPyDialogNameStr) -> Dialog"""
361 newobj
= _windows
.new_Dialog(*args
, **kwargs
)
362 self
.this
= newobj
.this
365 self
._setOORInfo
(self
)
367 def Create(*args
, **kwargs
):
368 """Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
369 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
370 wxString name=wxPyDialogNameStr) -> bool"""
371 return _windows
.Dialog_Create(*args
, **kwargs
)
373 def SetReturnCode(*args
, **kwargs
):
374 """SetReturnCode(int returnCode)"""
375 return _windows
.Dialog_SetReturnCode(*args
, **kwargs
)
377 def GetReturnCode(*args
, **kwargs
):
378 """GetReturnCode() -> int"""
379 return _windows
.Dialog_GetReturnCode(*args
, **kwargs
)
381 def CreateTextSizer(*args
, **kwargs
):
382 """CreateTextSizer(wxString message) -> Sizer"""
383 return _windows
.Dialog_CreateTextSizer(*args
, **kwargs
)
385 def CreateButtonSizer(*args
, **kwargs
):
386 """CreateButtonSizer(long flags) -> Sizer"""
387 return _windows
.Dialog_CreateButtonSizer(*args
, **kwargs
)
389 def SetModal(*args
, **kwargs
):
390 """SetModal(bool flag)"""
391 return _windows
.Dialog_SetModal(*args
, **kwargs
)
393 def IsModal(*args
, **kwargs
):
394 """IsModal() -> bool"""
395 return _windows
.Dialog_IsModal(*args
, **kwargs
)
397 def ShowModal(*args
, **kwargs
):
398 """ShowModal() -> int"""
399 return _windows
.Dialog_ShowModal(*args
, **kwargs
)
401 def EndModal(*args
, **kwargs
):
402 """EndModal(int retCode)"""
403 return _windows
.Dialog_EndModal(*args
, **kwargs
)
405 def IsModalShowing(*args
, **kwargs
):
406 """IsModalShowing() -> bool"""
407 return _windows
.Dialog_IsModalShowing(*args
, **kwargs
)
410 class DialogPtr(Dialog
):
411 def __init__(self
, this
):
413 if not hasattr(self
,"thisown"): self
.thisown
= 0
414 self
.__class
__ = Dialog
415 _windows
.Dialog_swigregister(DialogPtr
)
417 def PreDialog(*args
, **kwargs
):
418 """PreDialog() -> Dialog"""
419 val
= _windows
.new_PreDialog(*args
, **kwargs
)
423 #---------------------------------------------------------------------------
425 class MiniFrame(Frame
):
428 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
429 def __init__(self
, *args
, **kwargs
):
430 """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
431 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
432 wxString name=wxPyFrameNameStr) -> MiniFrame"""
433 newobj
= _windows
.new_MiniFrame(*args
, **kwargs
)
434 self
.this
= newobj
.this
437 self
._setOORInfo
(self
)
439 def Create(*args
, **kwargs
):
440 """Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
441 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
442 wxString name=wxPyFrameNameStr) -> bool"""
443 return _windows
.MiniFrame_Create(*args
, **kwargs
)
446 class MiniFramePtr(MiniFrame
):
447 def __init__(self
, this
):
449 if not hasattr(self
,"thisown"): self
.thisown
= 0
450 self
.__class
__ = MiniFrame
451 _windows
.MiniFrame_swigregister(MiniFramePtr
)
453 def PreMiniFrame(*args
, **kwargs
):
454 """PreMiniFrame() -> MiniFrame"""
455 val
= _windows
.new_PreMiniFrame(*args
, **kwargs
)
459 #---------------------------------------------------------------------------
461 SPLASH_CENTRE_ON_PARENT
= _windows
.SPLASH_CENTRE_ON_PARENT
462 SPLASH_CENTRE_ON_SCREEN
= _windows
.SPLASH_CENTRE_ON_SCREEN
463 SPLASH_NO_CENTRE
= _windows
.SPLASH_NO_CENTRE
464 SPLASH_TIMEOUT
= _windows
.SPLASH_TIMEOUT
465 SPLASH_NO_TIMEOUT
= _windows
.SPLASH_NO_TIMEOUT
466 class SplashScreenWindow(core
.Window
):
469 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
470 def __init__(self
, *args
, **kwargs
):
471 """__init__(wxBitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
472 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow"""
473 newobj
= _windows
.new_SplashScreenWindow(*args
, **kwargs
)
474 self
.this
= newobj
.this
477 self
._setOORInfo
(self
)
479 def SetBitmap(*args
, **kwargs
):
480 """SetBitmap(wxBitmap bitmap)"""
481 return _windows
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
483 def GetBitmap(*args
, **kwargs
):
484 """GetBitmap() -> wxBitmap"""
485 return _windows
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
488 class SplashScreenWindowPtr(SplashScreenWindow
):
489 def __init__(self
, this
):
491 if not hasattr(self
,"thisown"): self
.thisown
= 0
492 self
.__class
__ = SplashScreenWindow
493 _windows
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
495 class SplashScreen(Frame
):
498 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
499 def __init__(self
, *args
, **kwargs
):
500 """__init__(wxBitmap bitmap, long splashStyle, int milliseconds,
501 Window parent, int id, Point pos=DefaultPosition,
502 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen"""
503 newobj
= _windows
.new_SplashScreen(*args
, **kwargs
)
504 self
.this
= newobj
.this
507 self
._setOORInfo
(self
)
509 def GetSplashStyle(*args
, **kwargs
):
510 """GetSplashStyle() -> long"""
511 return _windows
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
513 def GetSplashWindow(*args
, **kwargs
):
514 """GetSplashWindow() -> SplashScreenWindow"""
515 return _windows
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
517 def GetTimeout(*args
, **kwargs
):
518 """GetTimeout() -> int"""
519 return _windows
.SplashScreen_GetTimeout(*args
, **kwargs
)
522 class SplashScreenPtr(SplashScreen
):
523 def __init__(self
, this
):
525 if not hasattr(self
,"thisown"): self
.thisown
= 0
526 self
.__class
__ = SplashScreen
527 _windows
.SplashScreen_swigregister(SplashScreenPtr
)
529 #---------------------------------------------------------------------------
531 class StatusBar(core
.Window
):
534 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
535 def __init__(self
, *args
, **kwargs
):
536 """__init__(Window parent, int id=-1, long style=ST_SIZEGRIP, wxString name=wxPyStatusLineNameStr) -> StatusBar"""
537 newobj
= _windows
.new_StatusBar(*args
, **kwargs
)
538 self
.this
= newobj
.this
541 self
._setOORInfo
(self
)
543 def Create(*args
, **kwargs
):
544 """Create(Window parent, int id, long style=ST_SIZEGRIP, wxString name=wxPyStatusLineNameStr) -> bool"""
545 return _windows
.StatusBar_Create(*args
, **kwargs
)
547 def SetFieldsCount(*args
, **kwargs
):
548 """SetFieldsCount(int number=1)"""
549 return _windows
.StatusBar_SetFieldsCount(*args
, **kwargs
)
551 def GetFieldsCount(*args
, **kwargs
):
552 """GetFieldsCount() -> int"""
553 return _windows
.StatusBar_GetFieldsCount(*args
, **kwargs
)
555 def SetStatusText(*args
, **kwargs
):
556 """SetStatusText(wxString text, int number=0)"""
557 return _windows
.StatusBar_SetStatusText(*args
, **kwargs
)
559 def GetStatusText(*args
, **kwargs
):
560 """GetStatusText(int number=0) -> wxString"""
561 return _windows
.StatusBar_GetStatusText(*args
, **kwargs
)
563 def PushStatusText(*args
, **kwargs
):
564 """PushStatusText(wxString text, int number=0)"""
565 return _windows
.StatusBar_PushStatusText(*args
, **kwargs
)
567 def PopStatusText(*args
, **kwargs
):
568 """PopStatusText(int number=0)"""
569 return _windows
.StatusBar_PopStatusText(*args
, **kwargs
)
571 def SetStatusWidths(*args
, **kwargs
):
572 """SetStatusWidths(int widths, int widths_field)"""
573 return _windows
.StatusBar_SetStatusWidths(*args
, **kwargs
)
575 def GetFieldRect(*args
, **kwargs
):
576 """GetFieldRect(int i) -> Rect"""
577 return _windows
.StatusBar_GetFieldRect(*args
, **kwargs
)
579 def SetMinHeight(*args
, **kwargs
):
580 """SetMinHeight(int height)"""
581 return _windows
.StatusBar_SetMinHeight(*args
, **kwargs
)
583 def GetBorderX(*args
, **kwargs
):
584 """GetBorderX() -> int"""
585 return _windows
.StatusBar_GetBorderX(*args
, **kwargs
)
587 def GetBorderY(*args
, **kwargs
):
588 """GetBorderY() -> int"""
589 return _windows
.StatusBar_GetBorderY(*args
, **kwargs
)
592 class StatusBarPtr(StatusBar
):
593 def __init__(self
, this
):
595 if not hasattr(self
,"thisown"): self
.thisown
= 0
596 self
.__class
__ = StatusBar
597 _windows
.StatusBar_swigregister(StatusBarPtr
)
599 def PreStatusBar(*args
, **kwargs
):
600 """PreStatusBar() -> StatusBar"""
601 val
= _windows
.new_PreStatusBar(*args
, **kwargs
)
605 #---------------------------------------------------------------------------
607 SP_NOBORDER
= _windows
.SP_NOBORDER
608 SP_NOSASH
= _windows
.SP_NOSASH
609 SP_PERMIT_UNSPLIT
= _windows
.SP_PERMIT_UNSPLIT
610 SP_LIVE_UPDATE
= _windows
.SP_LIVE_UPDATE
611 SP_3DSASH
= _windows
.SP_3DSASH
612 SP_3DBORDER
= _windows
.SP_3DBORDER
613 SP_BORDER
= _windows
.SP_BORDER
614 SP_3D
= _windows
.SP_3D
615 SPLIT_HORIZONTAL
= _windows
.SPLIT_HORIZONTAL
616 SPLIT_VERTICAL
= _windows
.SPLIT_VERTICAL
617 SPLIT_DRAG_NONE
= _windows
.SPLIT_DRAG_NONE
618 SPLIT_DRAG_DRAGGING
= _windows
.SPLIT_DRAG_DRAGGING
619 SPLIT_DRAG_LEFT_DOWN
= _windows
.SPLIT_DRAG_LEFT_DOWN
620 class SplitterWindow(core
.Window
):
623 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
624 def __init__(self
, *args
, **kwargs
):
625 """__init__(Window parent, int id, Point point=DefaultPosition,
626 Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> SplitterWindow"""
627 newobj
= _windows
.new_SplitterWindow(*args
, **kwargs
)
628 self
.this
= newobj
.this
631 self
._setOORInfo
(self
)
633 def Create(*args
, **kwargs
):
634 """Create(Window parent, int id, Point point=DefaultPosition,
635 Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> bool"""
636 return _windows
.SplitterWindow_Create(*args
, **kwargs
)
638 def GetWindow1(*args
, **kwargs
):
639 """GetWindow1() -> Window"""
640 return _windows
.SplitterWindow_GetWindow1(*args
, **kwargs
)
642 def GetWindow2(*args
, **kwargs
):
643 """GetWindow2() -> Window"""
644 return _windows
.SplitterWindow_GetWindow2(*args
, **kwargs
)
646 def SetSplitMode(*args
, **kwargs
):
647 """SetSplitMode(int mode)"""
648 return _windows
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
650 def GetSplitMode(*args
, **kwargs
):
651 """GetSplitMode() -> wxSplitMode"""
652 return _windows
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
654 def Initialize(*args
, **kwargs
):
655 """Initialize(Window window)"""
656 return _windows
.SplitterWindow_Initialize(*args
, **kwargs
)
658 def SplitVertically(*args
, **kwargs
):
659 """SplitVertically(Window window1, Window window2, int sashPosition=0) -> bool"""
660 return _windows
.SplitterWindow_SplitVertically(*args
, **kwargs
)
662 def SplitHorizontally(*args
, **kwargs
):
663 """SplitHorizontally(Window window1, Window window2, int sashPosition=0) -> bool"""
664 return _windows
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
666 def Unsplit(*args
, **kwargs
):
667 """Unsplit(Window toRemove=None) -> bool"""
668 return _windows
.SplitterWindow_Unsplit(*args
, **kwargs
)
670 def ReplaceWindow(*args
, **kwargs
):
671 """ReplaceWindow(Window winOld, Window winNew) -> bool"""
672 return _windows
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
674 def IsSplit(*args
, **kwargs
):
675 """IsSplit() -> bool"""
676 return _windows
.SplitterWindow_IsSplit(*args
, **kwargs
)
678 def SetSashSize(*args
, **kwargs
):
679 """SetSashSize(int width)"""
680 return _windows
.SplitterWindow_SetSashSize(*args
, **kwargs
)
682 def SetBorderSize(*args
, **kwargs
):
683 """SetBorderSize(int width)"""
684 return _windows
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
686 def GetSashSize(*args
, **kwargs
):
687 """GetSashSize() -> int"""
688 return _windows
.SplitterWindow_GetSashSize(*args
, **kwargs
)
690 def GetBorderSize(*args
, **kwargs
):
691 """GetBorderSize() -> int"""
692 return _windows
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
694 def SetSashPosition(*args
, **kwargs
):
695 """SetSashPosition(int position, bool redraw=True)"""
696 return _windows
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
698 def GetSashPosition(*args
, **kwargs
):
699 """GetSashPosition() -> int"""
700 return _windows
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
702 def SetMinimumPaneSize(*args
, **kwargs
):
703 """SetMinimumPaneSize(int min)"""
704 return _windows
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
706 def GetMinimumPaneSize(*args
, **kwargs
):
707 """GetMinimumPaneSize() -> int"""
708 return _windows
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
710 def SashHitTest(*args
, **kwargs
):
711 """SashHitTest(int x, int y, int tolerance=5) -> bool"""
712 return _windows
.SplitterWindow_SashHitTest(*args
, **kwargs
)
714 def SizeWindows(*args
, **kwargs
):
716 return _windows
.SplitterWindow_SizeWindows(*args
, **kwargs
)
718 def SetNeedUpdating(*args
, **kwargs
):
719 """SetNeedUpdating(bool needUpdating)"""
720 return _windows
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
722 def GetNeedUpdating(*args
, **kwargs
):
723 """GetNeedUpdating() -> bool"""
724 return _windows
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
727 class SplitterWindowPtr(SplitterWindow
):
728 def __init__(self
, this
):
730 if not hasattr(self
,"thisown"): self
.thisown
= 0
731 self
.__class
__ = SplitterWindow
732 _windows
.SplitterWindow_swigregister(SplitterWindowPtr
)
734 def PreSplitterWindow(*args
, **kwargs
):
735 """PreSplitterWindow() -> SplitterWindow"""
736 val
= _windows
.new_PreSplitterWindow(*args
, **kwargs
)
740 class SplitterEvent(core
.NotifyEvent
):
743 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
744 def __init__(self
, *args
, **kwargs
):
745 """__init__(wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent"""
746 newobj
= _windows
.new_SplitterEvent(*args
, **kwargs
)
747 self
.this
= newobj
.this
750 def SetSashPosition(*args
, **kwargs
):
751 """SetSashPosition(int pos)"""
752 return _windows
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
754 def GetSashPosition(*args
, **kwargs
):
755 """GetSashPosition() -> int"""
756 return _windows
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
758 def GetWindowBeingRemoved(*args
, **kwargs
):
759 """GetWindowBeingRemoved() -> Window"""
760 return _windows
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
762 def GetX(*args
, **kwargs
):
764 return _windows
.SplitterEvent_GetX(*args
, **kwargs
)
766 def GetY(*args
, **kwargs
):
768 return _windows
.SplitterEvent_GetY(*args
, **kwargs
)
771 class SplitterEventPtr(SplitterEvent
):
772 def __init__(self
, this
):
774 if not hasattr(self
,"thisown"): self
.thisown
= 0
775 self
.__class
__ = SplitterEvent
776 _windows
.SplitterEvent_swigregister(SplitterEventPtr
)
778 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
779 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
780 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
781 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows
.wxEVT_COMMAND_SPLITTER_UNSPLIT
782 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
783 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
784 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
785 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
787 #---------------------------------------------------------------------------
789 SASH_DRAG_NONE
= _windows
.SASH_DRAG_NONE
790 SASH_DRAG_DRAGGING
= _windows
.SASH_DRAG_DRAGGING
791 SASH_DRAG_LEFT_DOWN
= _windows
.SASH_DRAG_LEFT_DOWN
792 SW_NOBORDER
= _windows
.SW_NOBORDER
793 SW_BORDER
= _windows
.SW_BORDER
794 SW_3DSASH
= _windows
.SW_3DSASH
795 SW_3DBORDER
= _windows
.SW_3DBORDER
796 SW_3D
= _windows
.SW_3D
797 SASH_TOP
= _windows
.SASH_TOP
798 SASH_RIGHT
= _windows
.SASH_RIGHT
799 SASH_BOTTOM
= _windows
.SASH_BOTTOM
800 SASH_LEFT
= _windows
.SASH_LEFT
801 SASH_NONE
= _windows
.SASH_NONE
802 class SashWindow(core
.Window
):
805 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
806 def __init__(self
, *args
, **kwargs
):
807 """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
808 long style=wxCLIP_CHILDREN|wxSW_3D,
809 wxString name=wxPySashNameStr) -> SashWindow"""
810 newobj
= _windows
.new_SashWindow(*args
, **kwargs
)
811 self
.this
= newobj
.this
814 self
._setOORInfo
(self
)
816 def Create(*args
, **kwargs
):
817 """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
818 long style=wxCLIP_CHILDREN|wxSW_3D,
819 wxString name=wxPySashNameStr) -> bool"""
820 return _windows
.SashWindow_Create(*args
, **kwargs
)
822 def SetSashVisible(*args
, **kwargs
):
823 """SetSashVisible(wxSashEdgePosition edge, bool sash)"""
824 return _windows
.SashWindow_SetSashVisible(*args
, **kwargs
)
826 def GetSashVisible(*args
, **kwargs
):
827 """GetSashVisible(wxSashEdgePosition edge) -> bool"""
828 return _windows
.SashWindow_GetSashVisible(*args
, **kwargs
)
830 def SetSashBorder(*args
, **kwargs
):
831 """SetSashBorder(wxSashEdgePosition edge, bool border)"""
832 return _windows
.SashWindow_SetSashBorder(*args
, **kwargs
)
834 def HasBorder(*args
, **kwargs
):
835 """HasBorder(wxSashEdgePosition edge) -> bool"""
836 return _windows
.SashWindow_HasBorder(*args
, **kwargs
)
838 def GetEdgeMargin(*args
, **kwargs
):
839 """GetEdgeMargin(wxSashEdgePosition edge) -> int"""
840 return _windows
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
842 def SetDefaultBorderSize(*args
, **kwargs
):
843 """SetDefaultBorderSize(int width)"""
844 return _windows
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
846 def GetDefaultBorderSize(*args
, **kwargs
):
847 """GetDefaultBorderSize() -> int"""
848 return _windows
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
850 def SetExtraBorderSize(*args
, **kwargs
):
851 """SetExtraBorderSize(int width)"""
852 return _windows
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
854 def GetExtraBorderSize(*args
, **kwargs
):
855 """GetExtraBorderSize() -> int"""
856 return _windows
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
858 def SetMinimumSizeX(*args
, **kwargs
):
859 """SetMinimumSizeX(int min)"""
860 return _windows
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
862 def SetMinimumSizeY(*args
, **kwargs
):
863 """SetMinimumSizeY(int min)"""
864 return _windows
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
866 def GetMinimumSizeX(*args
, **kwargs
):
867 """GetMinimumSizeX() -> int"""
868 return _windows
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
870 def GetMinimumSizeY(*args
, **kwargs
):
871 """GetMinimumSizeY() -> int"""
872 return _windows
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
874 def SetMaximumSizeX(*args
, **kwargs
):
875 """SetMaximumSizeX(int max)"""
876 return _windows
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
878 def SetMaximumSizeY(*args
, **kwargs
):
879 """SetMaximumSizeY(int max)"""
880 return _windows
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
882 def GetMaximumSizeX(*args
, **kwargs
):
883 """GetMaximumSizeX() -> int"""
884 return _windows
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
886 def GetMaximumSizeY(*args
, **kwargs
):
887 """GetMaximumSizeY() -> int"""
888 return _windows
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
890 def SashHitTest(*args
, **kwargs
):
891 """SashHitTest(int x, int y, int tolerance=2) -> wxSashEdgePosition"""
892 return _windows
.SashWindow_SashHitTest(*args
, **kwargs
)
894 def SizeWindows(*args
, **kwargs
):
896 return _windows
.SashWindow_SizeWindows(*args
, **kwargs
)
899 class SashWindowPtr(SashWindow
):
900 def __init__(self
, this
):
902 if not hasattr(self
,"thisown"): self
.thisown
= 0
903 self
.__class
__ = SashWindow
904 _windows
.SashWindow_swigregister(SashWindowPtr
)
906 def PreSashWindow(*args
, **kwargs
):
907 """PreSashWindow() -> SashWindow"""
908 val
= _windows
.new_PreSashWindow(*args
, **kwargs
)
912 SASH_STATUS_OK
= _windows
.SASH_STATUS_OK
913 SASH_STATUS_OUT_OF_RANGE
= _windows
.SASH_STATUS_OUT_OF_RANGE
914 class SashEvent(core
.CommandEvent
):
917 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
918 def __init__(self
, *args
, **kwargs
):
919 """__init__(int id=0, wxSashEdgePosition edge=SASH_NONE) -> SashEvent"""
920 newobj
= _windows
.new_SashEvent(*args
, **kwargs
)
921 self
.this
= newobj
.this
924 def SetEdge(*args
, **kwargs
):
925 """SetEdge(wxSashEdgePosition edge)"""
926 return _windows
.SashEvent_SetEdge(*args
, **kwargs
)
928 def GetEdge(*args
, **kwargs
):
929 """GetEdge() -> wxSashEdgePosition"""
930 return _windows
.SashEvent_GetEdge(*args
, **kwargs
)
932 def SetDragRect(*args
, **kwargs
):
933 """SetDragRect(Rect rect)"""
934 return _windows
.SashEvent_SetDragRect(*args
, **kwargs
)
936 def GetDragRect(*args
, **kwargs
):
937 """GetDragRect() -> Rect"""
938 return _windows
.SashEvent_GetDragRect(*args
, **kwargs
)
940 def SetDragStatus(*args
, **kwargs
):
941 """SetDragStatus(wxSashDragStatus status)"""
942 return _windows
.SashEvent_SetDragStatus(*args
, **kwargs
)
944 def GetDragStatus(*args
, **kwargs
):
945 """GetDragStatus() -> wxSashDragStatus"""
946 return _windows
.SashEvent_GetDragStatus(*args
, **kwargs
)
949 class SashEventPtr(SashEvent
):
950 def __init__(self
, this
):
952 if not hasattr(self
,"thisown"): self
.thisown
= 0
953 self
.__class
__ = SashEvent
954 _windows
.SashEvent_swigregister(SashEventPtr
)
956 wxEVT_SASH_DRAGGED
= _windows
.wxEVT_SASH_DRAGGED
957 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
958 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
960 #---------------------------------------------------------------------------
962 LAYOUT_HORIZONTAL
= _windows
.LAYOUT_HORIZONTAL
963 LAYOUT_VERTICAL
= _windows
.LAYOUT_VERTICAL
964 LAYOUT_NONE
= _windows
.LAYOUT_NONE
965 LAYOUT_TOP
= _windows
.LAYOUT_TOP
966 LAYOUT_LEFT
= _windows
.LAYOUT_LEFT
967 LAYOUT_RIGHT
= _windows
.LAYOUT_RIGHT
968 LAYOUT_BOTTOM
= _windows
.LAYOUT_BOTTOM
969 LAYOUT_LENGTH_Y
= _windows
.LAYOUT_LENGTH_Y
970 LAYOUT_LENGTH_X
= _windows
.LAYOUT_LENGTH_X
971 LAYOUT_MRU_LENGTH
= _windows
.LAYOUT_MRU_LENGTH
972 LAYOUT_QUERY
= _windows
.LAYOUT_QUERY
973 wxEVT_QUERY_LAYOUT_INFO
= _windows
.wxEVT_QUERY_LAYOUT_INFO
974 wxEVT_CALCULATE_LAYOUT
= _windows
.wxEVT_CALCULATE_LAYOUT
975 class QueryLayoutInfoEvent(core
.Event
):
978 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
979 def __init__(self
, *args
, **kwargs
):
980 """__init__(int id=0) -> QueryLayoutInfoEvent"""
981 newobj
= _windows
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
982 self
.this
= newobj
.this
985 def SetRequestedLength(*args
, **kwargs
):
986 """SetRequestedLength(int length)"""
987 return _windows
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
989 def GetRequestedLength(*args
, **kwargs
):
990 """GetRequestedLength() -> int"""
991 return _windows
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
993 def SetFlags(*args
, **kwargs
):
994 """SetFlags(int flags)"""
995 return _windows
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
997 def GetFlags(*args
, **kwargs
):
998 """GetFlags() -> int"""
999 return _windows
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1001 def SetSize(*args
, **kwargs
):
1002 """SetSize(Size size)"""
1003 return _windows
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1005 def GetSize(*args
, **kwargs
):
1006 """GetSize() -> Size"""
1007 return _windows
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1009 def SetOrientation(*args
, **kwargs
):
1010 """SetOrientation(wxLayoutOrientation orient)"""
1011 return _windows
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1013 def GetOrientation(*args
, **kwargs
):
1014 """GetOrientation() -> wxLayoutOrientation"""
1015 return _windows
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1017 def SetAlignment(*args
, **kwargs
):
1018 """SetAlignment(wxLayoutAlignment align)"""
1019 return _windows
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1021 def GetAlignment(*args
, **kwargs
):
1022 """GetAlignment() -> wxLayoutAlignment"""
1023 return _windows
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1026 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1027 def __init__(self
, this
):
1029 if not hasattr(self
,"thisown"): self
.thisown
= 0
1030 self
.__class
__ = QueryLayoutInfoEvent
1031 _windows
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1033 class CalculateLayoutEvent(core
.Event
):
1036 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1037 def __init__(self
, *args
, **kwargs
):
1038 """__init__(int id=0) -> CalculateLayoutEvent"""
1039 newobj
= _windows
.new_CalculateLayoutEvent(*args
, **kwargs
)
1040 self
.this
= newobj
.this
1043 def SetFlags(*args
, **kwargs
):
1044 """SetFlags(int flags)"""
1045 return _windows
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1047 def GetFlags(*args
, **kwargs
):
1048 """GetFlags() -> int"""
1049 return _windows
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1051 def SetRect(*args
, **kwargs
):
1052 """SetRect(Rect rect)"""
1053 return _windows
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1055 def GetRect(*args
, **kwargs
):
1056 """GetRect() -> Rect"""
1057 return _windows
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1060 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1061 def __init__(self
, this
):
1063 if not hasattr(self
,"thisown"): self
.thisown
= 0
1064 self
.__class
__ = CalculateLayoutEvent
1065 _windows
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1067 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1068 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1070 class SashLayoutWindow(SashWindow
):
1073 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1074 def __init__(self
, *args
, **kwargs
):
1075 """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1076 long style=wxCLIP_CHILDREN|wxSW_3D,
1077 wxString name=wxPySashLayoutNameStr) -> SashLayoutWindow"""
1078 newobj
= _windows
.new_SashLayoutWindow(*args
, **kwargs
)
1079 self
.this
= newobj
.this
1082 self
._setOORInfo
(self
)
1084 def Create(*args
, **kwargs
):
1085 """Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1086 long style=wxCLIP_CHILDREN|wxSW_3D,
1087 wxString name=wxPySashLayoutNameStr) -> bool"""
1088 return _windows
.SashLayoutWindow_Create(*args
, **kwargs
)
1090 def GetAlignment(*args
, **kwargs
):
1091 """GetAlignment() -> wxLayoutAlignment"""
1092 return _windows
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1094 def GetOrientation(*args
, **kwargs
):
1095 """GetOrientation() -> wxLayoutOrientation"""
1096 return _windows
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1098 def SetAlignment(*args
, **kwargs
):
1099 """SetAlignment(wxLayoutAlignment alignment)"""
1100 return _windows
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1102 def SetDefaultSize(*args
, **kwargs
):
1103 """SetDefaultSize(Size size)"""
1104 return _windows
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1106 def SetOrientation(*args
, **kwargs
):
1107 """SetOrientation(wxLayoutOrientation orientation)"""
1108 return _windows
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1111 class SashLayoutWindowPtr(SashLayoutWindow
):
1112 def __init__(self
, this
):
1114 if not hasattr(self
,"thisown"): self
.thisown
= 0
1115 self
.__class
__ = SashLayoutWindow
1116 _windows
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1118 def PreSashLayoutWindow(*args
, **kwargs
):
1119 """PreSashLayoutWindow() -> SashLayoutWindow"""
1120 val
= _windows
.new_PreSashLayoutWindow(*args
, **kwargs
)
1124 class LayoutAlgorithm(core
.Object
):
1127 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1128 def __init__(self
, *args
, **kwargs
):
1129 """__init__() -> LayoutAlgorithm"""
1130 newobj
= _windows
.new_LayoutAlgorithm(*args
, **kwargs
)
1131 self
.this
= newobj
.this
1134 def __del__(self
, destroy
=_windows
.delete_LayoutAlgorithm
):
1137 if self
.thisown
: destroy(self
)
1140 def LayoutMDIFrame(*args
, **kwargs
):
1141 """LayoutMDIFrame(MDIParentFrame frame, Rect rect=None) -> bool"""
1142 return _windows
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1144 def LayoutFrame(*args
, **kwargs
):
1145 """LayoutFrame(Frame frame, Window mainWindow=None) -> bool"""
1146 return _windows
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1148 def LayoutWindow(*args
, **kwargs
):
1149 """LayoutWindow(Window parent, Window mainWindow=None) -> bool"""
1150 return _windows
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1153 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1154 def __init__(self
, this
):
1156 if not hasattr(self
,"thisown"): self
.thisown
= 0
1157 self
.__class
__ = LayoutAlgorithm
1158 _windows
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1160 #---------------------------------------------------------------------------
1162 class PopupWindow(core
.Window
):
1165 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1166 def __init__(self
, *args
, **kwargs
):
1167 """__init__(Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1168 newobj
= _windows
.new_PopupWindow(*args
, **kwargs
)
1169 self
.this
= newobj
.this
1172 self
._setOORInfo
(self
)
1174 def Create(*args
, **kwargs
):
1175 """Create(Window parent, int flags=BORDER_NONE) -> bool"""
1176 return _windows
.PopupWindow_Create(*args
, **kwargs
)
1178 def Position(*args
, **kwargs
):
1179 """Position(Point ptOrigin, Size size)"""
1180 return _windows
.PopupWindow_Position(*args
, **kwargs
)
1183 class PopupWindowPtr(PopupWindow
):
1184 def __init__(self
, this
):
1186 if not hasattr(self
,"thisown"): self
.thisown
= 0
1187 self
.__class
__ = PopupWindow
1188 _windows
.PopupWindow_swigregister(PopupWindowPtr
)
1190 def PrePopupWindow(*args
, **kwargs
):
1191 """PrePopupWindow() -> PopupWindow"""
1192 val
= _windows
.new_PrePopupWindow(*args
, **kwargs
)
1196 #---------------------------------------------------------------------------
1198 class PopupTransientWindow(PopupWindow
):
1201 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1202 def __init__(self
, *args
, **kwargs
):
1203 """__init__(Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1204 newobj
= _windows
.new_PopupTransientWindow(*args
, **kwargs
)
1205 self
.this
= newobj
.this
1208 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, PopupTransientWindow
)
1210 def _setCallbackInfo(*args
, **kwargs
):
1211 """_setCallbackInfo(PyObject self, PyObject _class)"""
1212 return _windows
.PopupTransientWindow__setCallbackInfo(*args
, **kwargs
)
1214 def Popup(*args
, **kwargs
):
1215 """Popup(Window focus=None)"""
1216 return _windows
.PopupTransientWindow_Popup(*args
, **kwargs
)
1218 def Dismiss(*args
, **kwargs
):
1220 return _windows
.PopupTransientWindow_Dismiss(*args
, **kwargs
)
1223 class PopupTransientWindowPtr(PopupTransientWindow
):
1224 def __init__(self
, this
):
1226 if not hasattr(self
,"thisown"): self
.thisown
= 0
1227 self
.__class
__ = PopupTransientWindow
1228 _windows
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1230 def PrePopupTransientWindow(*args
, **kwargs
):
1231 """PrePopupTransientWindow() -> PopupTransientWindow"""
1232 val
= _windows
.new_PrePopupTransientWindow(*args
, **kwargs
)
1236 #---------------------------------------------------------------------------
1238 class TipWindow(PopupTransientWindow
):
1241 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1242 def __init__(self
, *args
, **kwargs
):
1243 """__init__(Window parent, wxString text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1244 newobj
= _windows
.new_TipWindow(*args
, **kwargs
)
1245 self
.this
= newobj
.this
1248 self
._setOORInfo
(self
)
1250 def SetBoundingRect(*args
, **kwargs
):
1251 """SetBoundingRect(Rect rectBound)"""
1252 return _windows
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1254 def Close(*args
, **kwargs
):
1256 return _windows
.TipWindow_Close(*args
, **kwargs
)
1259 class TipWindowPtr(TipWindow
):
1260 def __init__(self
, this
):
1262 if not hasattr(self
,"thisown"): self
.thisown
= 0
1263 self
.__class
__ = TipWindow
1264 _windows
.TipWindow_swigregister(TipWindowPtr
)
1266 #---------------------------------------------------------------------------
1268 class VScrolledWindow(Panel
):
1271 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1272 def __init__(self
, *args
, **kwargs
):
1273 """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1274 Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> VScrolledWindow"""
1275 newobj
= _windows
.new_VScrolledWindow(*args
, **kwargs
)
1276 self
.this
= newobj
.this
1279 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1281 def _setCallbackInfo(*args
, **kwargs
):
1282 """_setCallbackInfo(PyObject self, PyObject _class)"""
1283 return _windows
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1285 def Create(*args
, **kwargs
):
1286 """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1287 Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> bool"""
1288 return _windows
.VScrolledWindow_Create(*args
, **kwargs
)
1290 def SetLineCount(*args
, **kwargs
):
1291 """SetLineCount(size_t count)"""
1292 return _windows
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1294 def ScrollToLine(*args
, **kwargs
):
1295 """ScrollToLine(size_t line) -> bool"""
1296 return _windows
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1298 def ScrollLines(*args
, **kwargs
):
1299 """ScrollLines(int lines) -> bool"""
1300 return _windows
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1302 def ScrollPages(*args
, **kwargs
):
1303 """ScrollPages(int pages) -> bool"""
1304 return _windows
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1306 def RefreshLine(*args
, **kwargs
):
1307 """RefreshLine(size_t line)"""
1308 return _windows
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1310 def RefreshLines(*args
, **kwargs
):
1311 """RefreshLines(size_t from, size_t to)"""
1312 return _windows
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1314 def HitTestXT(*args
, **kwargs
):
1315 """HitTestXT(int x, int y) -> int"""
1316 return _windows
.VScrolledWindow_HitTestXT(*args
, **kwargs
)
1318 def HitTest(*args
, **kwargs
):
1319 """HitTest(Point pt) -> int"""
1320 return _windows
.VScrolledWindow_HitTest(*args
, **kwargs
)
1322 def RefreshAll(*args
, **kwargs
):
1324 return _windows
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1326 def GetLineCount(*args
, **kwargs
):
1327 """GetLineCount() -> size_t"""
1328 return _windows
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1330 def GetFirstVisibleLine(*args
, **kwargs
):
1331 """GetFirstVisibleLine() -> size_t"""
1332 return _windows
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1334 def GetLastVisibleLine(*args
, **kwargs
):
1335 """GetLastVisibleLine() -> size_t"""
1336 return _windows
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1338 def IsVisible(*args
, **kwargs
):
1339 """IsVisible(size_t line) -> bool"""
1340 return _windows
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1343 class VScrolledWindowPtr(VScrolledWindow
):
1344 def __init__(self
, this
):
1346 if not hasattr(self
,"thisown"): self
.thisown
= 0
1347 self
.__class
__ = VScrolledWindow
1348 _windows
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
1350 def PreVScrolledWindow(*args
, **kwargs
):
1351 """PreVScrolledWindow() -> VScrolledWindow"""
1352 val
= _windows
.new_PreVScrolledWindow(*args
, **kwargs
)
1356 class VListBox(VScrolledWindow
):
1359 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1360 def __init__(self
, *args
, **kwargs
):
1361 """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1362 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> VListBox"""
1363 newobj
= _windows
.new_VListBox(*args
, **kwargs
)
1364 self
.this
= newobj
.this
1367 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
1369 def _setCallbackInfo(*args
, **kwargs
):
1370 """_setCallbackInfo(PyObject self, PyObject _class)"""
1371 return _windows
.VListBox__setCallbackInfo(*args
, **kwargs
)
1373 def Create(*args
, **kwargs
):
1374 """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1375 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool"""
1376 return _windows
.VListBox_Create(*args
, **kwargs
)
1378 def GetItemCount(*args
, **kwargs
):
1379 """GetItemCount() -> size_t"""
1380 return _windows
.VListBox_GetItemCount(*args
, **kwargs
)
1382 def HasMultipleSelection(*args
, **kwargs
):
1383 """HasMultipleSelection() -> bool"""
1384 return _windows
.VListBox_HasMultipleSelection(*args
, **kwargs
)
1386 def GetSelection(*args
, **kwargs
):
1387 """GetSelection() -> int"""
1388 return _windows
.VListBox_GetSelection(*args
, **kwargs
)
1390 def IsCurrent(*args
, **kwargs
):
1391 """IsCurrent(size_t item) -> bool"""
1392 return _windows
.VListBox_IsCurrent(*args
, **kwargs
)
1394 def IsSelected(*args
, **kwargs
):
1395 """IsSelected(size_t item) -> bool"""
1396 return _windows
.VListBox_IsSelected(*args
, **kwargs
)
1398 def GetSelectedCount(*args
, **kwargs
):
1399 """GetSelectedCount() -> size_t"""
1400 return _windows
.VListBox_GetSelectedCount(*args
, **kwargs
)
1402 def GetFirstSelected(*args
, **kwargs
):
1403 """GetFirstSelected(unsigned long cookie) -> int"""
1404 return _windows
.VListBox_GetFirstSelected(*args
, **kwargs
)
1406 def GetNextSelected(*args
, **kwargs
):
1407 """GetNextSelected(unsigned long cookie) -> int"""
1408 return _windows
.VListBox_GetNextSelected(*args
, **kwargs
)
1410 def GetMargins(*args
, **kwargs
):
1411 """GetMargins() -> Point"""
1412 return _windows
.VListBox_GetMargins(*args
, **kwargs
)
1414 def GetSelectionBackground(*args
, **kwargs
):
1415 """GetSelectionBackground() -> wxColour"""
1416 return _windows
.VListBox_GetSelectionBackground(*args
, **kwargs
)
1418 def SetItemCount(*args
, **kwargs
):
1419 """SetItemCount(size_t count)"""
1420 return _windows
.VListBox_SetItemCount(*args
, **kwargs
)
1422 def Clear(*args
, **kwargs
):
1424 return _windows
.VListBox_Clear(*args
, **kwargs
)
1426 def SetSelection(*args
, **kwargs
):
1427 """SetSelection(int selection)"""
1428 return _windows
.VListBox_SetSelection(*args
, **kwargs
)
1430 def Select(*args
, **kwargs
):
1431 """Select(size_t item, bool select=True) -> bool"""
1432 return _windows
.VListBox_Select(*args
, **kwargs
)
1434 def SelectRange(*args
, **kwargs
):
1435 """SelectRange(size_t from, size_t to) -> bool"""
1436 return _windows
.VListBox_SelectRange(*args
, **kwargs
)
1438 def Toggle(*args
, **kwargs
):
1439 """Toggle(size_t item)"""
1440 return _windows
.VListBox_Toggle(*args
, **kwargs
)
1442 def SelectAll(*args
, **kwargs
):
1443 """SelectAll() -> bool"""
1444 return _windows
.VListBox_SelectAll(*args
, **kwargs
)
1446 def DeselectAll(*args
, **kwargs
):
1447 """DeselectAll() -> bool"""
1448 return _windows
.VListBox_DeselectAll(*args
, **kwargs
)
1450 def SetMargins(*args
, **kwargs
):
1451 """SetMargins(Point pt)"""
1452 return _windows
.VListBox_SetMargins(*args
, **kwargs
)
1454 def SetMarginsXY(*args
, **kwargs
):
1455 """SetMarginsXY(int x, int y)"""
1456 return _windows
.VListBox_SetMarginsXY(*args
, **kwargs
)
1458 def SetSelectionBackground(*args
, **kwargs
):
1459 """SetSelectionBackground(wxColour col)"""
1460 return _windows
.VListBox_SetSelectionBackground(*args
, **kwargs
)
1463 class VListBoxPtr(VListBox
):
1464 def __init__(self
, this
):
1466 if not hasattr(self
,"thisown"): self
.thisown
= 0
1467 self
.__class
__ = VListBox
1468 _windows
.VListBox_swigregister(VListBoxPtr
)
1470 def PreVListBox(*args
, **kwargs
):
1471 """PreVListBox() -> VListBox"""
1472 val
= _windows
.new_PreVListBox(*args
, **kwargs
)
1476 class HtmlListBox(VListBox
):
1479 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1480 def __init__(self
, *args
, **kwargs
):
1481 """__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1482 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> HtmlListBox"""
1483 newobj
= _windows
.new_HtmlListBox(*args
, **kwargs
)
1484 self
.this
= newobj
.this
1487 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
1489 def _setCallbackInfo(*args
, **kwargs
):
1490 """_setCallbackInfo(PyObject self, PyObject _class)"""
1491 return _windows
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
1493 def Create(*args
, **kwargs
):
1494 """Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1495 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool"""
1496 return _windows
.HtmlListBox_Create(*args
, **kwargs
)
1498 def RefreshAll(*args
, **kwargs
):
1500 return _windows
.HtmlListBox_RefreshAll(*args
, **kwargs
)
1502 def SetItemCount(*args
, **kwargs
):
1503 """SetItemCount(size_t count)"""
1504 return _windows
.HtmlListBox_SetItemCount(*args
, **kwargs
)
1507 class HtmlListBoxPtr(HtmlListBox
):
1508 def __init__(self
, this
):
1510 if not hasattr(self
,"thisown"): self
.thisown
= 0
1511 self
.__class
__ = HtmlListBox
1512 _windows
.HtmlListBox_swigregister(HtmlListBoxPtr
)
1514 def PreHtmlListBox(*args
, **kwargs
):
1515 """PreHtmlListBox() -> HtmlListBox"""
1516 val
= _windows
.new_PreHtmlListBox(*args
, **kwargs
)
1520 #---------------------------------------------------------------------------
1522 class TaskBarIcon(core
.EvtHandler
):
1525 return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1526 def __init__(self
, *args
, **kwargs
):
1527 """__init__() -> TaskBarIcon"""
1528 newobj
= _windows
.new_TaskBarIcon(*args
, **kwargs
)
1529 self
.this
= newobj
.this
1532 def __del__(self
, destroy
=_windows
.delete_TaskBarIcon
):
1535 if self
.thisown
: destroy(self
)
1538 def IsOk(*args
, **kwargs
):
1539 """IsOk() -> bool"""
1540 return _windows
.TaskBarIcon_IsOk(*args
, **kwargs
)
1542 def IsIconInstalled(*args
, **kwargs
):
1543 """IsIconInstalled() -> bool"""
1544 return _windows
.TaskBarIcon_IsIconInstalled(*args
, **kwargs
)
1546 def SetIcon(*args
, **kwargs
):
1547 """SetIcon(wxIcon icon, wxString tooltip=wxPyEmptyString) -> bool"""
1548 return _windows
.TaskBarIcon_SetIcon(*args
, **kwargs
)
1550 def RemoveIcon(*args
, **kwargs
):
1551 """RemoveIcon(void ??) -> bool"""
1552 return _windows
.TaskBarIcon_RemoveIcon(*args
, **kwargs
)
1554 def PopupMenu(*args
, **kwargs
):
1555 """PopupMenu(Menu menu) -> bool"""
1556 return _windows
.TaskBarIcon_PopupMenu(*args
, **kwargs
)
1559 class TaskBarIconPtr(TaskBarIcon
):
1560 def __init__(self
, this
):
1562 if not hasattr(self
,"thisown"): self
.thisown
= 0
1563 self
.__class
__ = TaskBarIcon
1564 _windows
.TaskBarIcon_swigregister(TaskBarIconPtr
)
1566 class TaskBarIconEvent(core
.Event
):
1569 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1570 def __init__(self
, *args
, **kwargs
):
1571 """__init__(wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
1572 newobj
= _windows
.new_TaskBarIconEvent(*args
, **kwargs
)
1573 self
.this
= newobj
.this
1577 class TaskBarIconEventPtr(TaskBarIconEvent
):
1578 def __init__(self
, this
):
1580 if not hasattr(self
,"thisown"): self
.thisown
= 0
1581 self
.__class
__ = TaskBarIconEvent
1582 _windows
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
1584 wxEVT_TASKBAR_MOVE
= _windows
.wxEVT_TASKBAR_MOVE
1585 wxEVT_TASKBAR_LEFT_DOWN
= _windows
.wxEVT_TASKBAR_LEFT_DOWN
1586 wxEVT_TASKBAR_LEFT_UP
= _windows
.wxEVT_TASKBAR_LEFT_UP
1587 wxEVT_TASKBAR_RIGHT_DOWN
= _windows
.wxEVT_TASKBAR_RIGHT_DOWN
1588 wxEVT_TASKBAR_RIGHT_UP
= _windows
.wxEVT_TASKBAR_RIGHT_UP
1589 wxEVT_TASKBAR_LEFT_DCLICK
= _windows
.wxEVT_TASKBAR_LEFT_DCLICK
1590 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows
.wxEVT_TASKBAR_RIGHT_DCLICK
1591 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
1592 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
1593 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
1594 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
1595 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
1596 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
1597 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
1599 #---------------------------------------------------------------------------
1601 class ColourData(core
.Object
):
1604 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1605 def __init__(self
, *args
, **kwargs
):
1606 """__init__() -> ColourData"""
1607 newobj
= _windows
.new_ColourData(*args
, **kwargs
)
1608 self
.this
= newobj
.this
1611 def __del__(self
, destroy
=_windows
.delete_ColourData
):
1614 if self
.thisown
: destroy(self
)
1617 def GetChooseFull(*args
, **kwargs
):
1618 """GetChooseFull() -> bool"""
1619 return _windows
.ColourData_GetChooseFull(*args
, **kwargs
)
1621 def GetColour(*args
, **kwargs
):
1622 """GetColour() -> wxColour"""
1623 return _windows
.ColourData_GetColour(*args
, **kwargs
)
1625 def GetCustomColour(*args
, **kwargs
):
1626 """GetCustomColour(int i) -> wxColour"""
1627 return _windows
.ColourData_GetCustomColour(*args
, **kwargs
)
1629 def SetChooseFull(*args
, **kwargs
):
1630 """SetChooseFull(int flag)"""
1631 return _windows
.ColourData_SetChooseFull(*args
, **kwargs
)
1633 def SetColour(*args
, **kwargs
):
1634 """SetColour(wxColour colour)"""
1635 return _windows
.ColourData_SetColour(*args
, **kwargs
)
1637 def SetCustomColour(*args
, **kwargs
):
1638 """SetCustomColour(int i, wxColour colour)"""
1639 return _windows
.ColourData_SetCustomColour(*args
, **kwargs
)
1642 class ColourDataPtr(ColourData
):
1643 def __init__(self
, this
):
1645 if not hasattr(self
,"thisown"): self
.thisown
= 0
1646 self
.__class
__ = ColourData
1647 _windows
.ColourData_swigregister(ColourDataPtr
)
1649 class ColourDialog(Dialog
):
1652 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1653 def __init__(self
, *args
, **kwargs
):
1654 """__init__(Window parent, ColourData data=None) -> ColourDialog"""
1655 newobj
= _windows
.new_ColourDialog(*args
, **kwargs
)
1656 self
.this
= newobj
.this
1659 self
._setOORInfo
(self
)
1661 def GetColourData(*args
, **kwargs
):
1662 """GetColourData() -> ColourData"""
1663 return _windows
.ColourDialog_GetColourData(*args
, **kwargs
)
1665 def ShowModal(*args
, **kwargs
):
1666 """ShowModal() -> int"""
1667 return _windows
.ColourDialog_ShowModal(*args
, **kwargs
)
1670 class ColourDialogPtr(ColourDialog
):
1671 def __init__(self
, this
):
1673 if not hasattr(self
,"thisown"): self
.thisown
= 0
1674 self
.__class
__ = ColourDialog
1675 _windows
.ColourDialog_swigregister(ColourDialogPtr
)
1677 class DirDialog(Dialog
):
1680 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1681 def __init__(self
, *args
, **kwargs
):
1682 """__init__(Window parent, wxString message=wxPyDirSelectorPromptStr,
1683 wxString defaultPath=wxPyEmptyString,
1684 long style=0, Point pos=DefaultPosition, Size size=DefaultSize,
1685 wxString name=wxPyDirDialogNameStr) -> DirDialog"""
1686 newobj
= _windows
.new_DirDialog(*args
, **kwargs
)
1687 self
.this
= newobj
.this
1690 self
._setOORInfo
(self
)
1692 def GetPath(*args
, **kwargs
):
1693 """GetPath() -> wxString"""
1694 return _windows
.DirDialog_GetPath(*args
, **kwargs
)
1696 def GetMessage(*args
, **kwargs
):
1697 """GetMessage() -> wxString"""
1698 return _windows
.DirDialog_GetMessage(*args
, **kwargs
)
1700 def GetStyle(*args
, **kwargs
):
1701 """GetStyle() -> long"""
1702 return _windows
.DirDialog_GetStyle(*args
, **kwargs
)
1704 def SetMessage(*args
, **kwargs
):
1705 """SetMessage(wxString message)"""
1706 return _windows
.DirDialog_SetMessage(*args
, **kwargs
)
1708 def SetPath(*args
, **kwargs
):
1709 """SetPath(wxString path)"""
1710 return _windows
.DirDialog_SetPath(*args
, **kwargs
)
1712 def ShowModal(*args
, **kwargs
):
1713 """ShowModal() -> int"""
1714 return _windows
.DirDialog_ShowModal(*args
, **kwargs
)
1717 class DirDialogPtr(DirDialog
):
1718 def __init__(self
, this
):
1720 if not hasattr(self
,"thisown"): self
.thisown
= 0
1721 self
.__class
__ = DirDialog
1722 _windows
.DirDialog_swigregister(DirDialogPtr
)
1724 class FileDialog(Dialog
):
1727 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1728 def __init__(self
, *args
, **kwargs
):
1729 """__init__(Window parent, wxString message=wxPyFileSelectorPromptStr,
1730 wxString defaultDir=wxPyEmptyString,
1731 wxString defaultFile=wxPyEmptyString, wxString wildcard=wxPyFileSelectorDefaultWildcardStr,
1733 Point pos=DefaultPosition) -> FileDialog"""
1734 newobj
= _windows
.new_FileDialog(*args
, **kwargs
)
1735 self
.this
= newobj
.this
1738 self
._setOORInfo
(self
)
1740 def SetMessage(*args
, **kwargs
):
1741 """SetMessage(wxString message)"""
1742 return _windows
.FileDialog_SetMessage(*args
, **kwargs
)
1744 def SetPath(*args
, **kwargs
):
1745 """SetPath(wxString path)"""
1746 return _windows
.FileDialog_SetPath(*args
, **kwargs
)
1748 def SetDirectory(*args
, **kwargs
):
1749 """SetDirectory(wxString dir)"""
1750 return _windows
.FileDialog_SetDirectory(*args
, **kwargs
)
1752 def SetFilename(*args
, **kwargs
):
1753 """SetFilename(wxString name)"""
1754 return _windows
.FileDialog_SetFilename(*args
, **kwargs
)
1756 def SetWildcard(*args
, **kwargs
):
1757 """SetWildcard(wxString wildCard)"""
1758 return _windows
.FileDialog_SetWildcard(*args
, **kwargs
)
1760 def SetStyle(*args
, **kwargs
):
1761 """SetStyle(long style)"""
1762 return _windows
.FileDialog_SetStyle(*args
, **kwargs
)
1764 def SetFilterIndex(*args
, **kwargs
):
1765 """SetFilterIndex(int filterIndex)"""
1766 return _windows
.FileDialog_SetFilterIndex(*args
, **kwargs
)
1768 def GetMessage(*args
, **kwargs
):
1769 """GetMessage() -> wxString"""
1770 return _windows
.FileDialog_GetMessage(*args
, **kwargs
)
1772 def GetPath(*args
, **kwargs
):
1773 """GetPath() -> wxString"""
1774 return _windows
.FileDialog_GetPath(*args
, **kwargs
)
1776 def GetDirectory(*args
, **kwargs
):
1777 """GetDirectory() -> wxString"""
1778 return _windows
.FileDialog_GetDirectory(*args
, **kwargs
)
1780 def GetFilename(*args
, **kwargs
):
1781 """GetFilename() -> wxString"""
1782 return _windows
.FileDialog_GetFilename(*args
, **kwargs
)
1784 def GetWildcard(*args
, **kwargs
):
1785 """GetWildcard() -> wxString"""
1786 return _windows
.FileDialog_GetWildcard(*args
, **kwargs
)
1788 def GetStyle(*args
, **kwargs
):
1789 """GetStyle() -> long"""
1790 return _windows
.FileDialog_GetStyle(*args
, **kwargs
)
1792 def GetFilterIndex(*args
, **kwargs
):
1793 """GetFilterIndex() -> int"""
1794 return _windows
.FileDialog_GetFilterIndex(*args
, **kwargs
)
1796 def GetFilenames(*args
, **kwargs
):
1797 """GetFilenames() -> PyObject"""
1798 return _windows
.FileDialog_GetFilenames(*args
, **kwargs
)
1800 def GetPaths(*args
, **kwargs
):
1801 """GetPaths() -> PyObject"""
1802 return _windows
.FileDialog_GetPaths(*args
, **kwargs
)
1805 class FileDialogPtr(FileDialog
):
1806 def __init__(self
, this
):
1808 if not hasattr(self
,"thisown"): self
.thisown
= 0
1809 self
.__class
__ = FileDialog
1810 _windows
.FileDialog_swigregister(FileDialogPtr
)
1812 CHOICEDLG_STYLE
= _windows
.CHOICEDLG_STYLE
1813 class MultiChoiceDialog(Dialog
):
1816 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1817 def __init__(self
, *args
, **kwargs
):
1818 """__init__(Window parent, wxString message, wxString caption,
1819 int LCOUNT, wxString choices, long style=CHOICEDLG_STYLE,
1820 Point pos=DefaultPosition) -> MultiChoiceDialog"""
1821 newobj
= _windows
.new_MultiChoiceDialog(*args
, **kwargs
)
1822 self
.this
= newobj
.this
1825 self
._setOORInfo
(self
)
1827 def SetSelections(*args
, **kwargs
):
1828 """SetSelections(wxArrayInt selections)"""
1829 return _windows
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
1831 def GetSelections(*args
, **kwargs
):
1832 """GetSelections() -> PyObject"""
1833 return _windows
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
1836 class MultiChoiceDialogPtr(MultiChoiceDialog
):
1837 def __init__(self
, this
):
1839 if not hasattr(self
,"thisown"): self
.thisown
= 0
1840 self
.__class
__ = MultiChoiceDialog
1841 _windows
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
1843 class SingleChoiceDialog(Dialog
):
1846 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1847 def __init__(self
, *args
, **kwargs
):
1848 """__init__(Window parent, wxString message, wxString caption,
1849 int choices, wxString choices_array, long style=CHOICEDLG_STYLE,
1850 Point pos=DefaultPosition) -> SingleChoiceDialog"""
1851 newobj
= _windows
.new_SingleChoiceDialog(*args
, **kwargs
)
1852 self
.this
= newobj
.this
1855 self
._setOORInfo
(self
)
1857 def GetSelection(*args
, **kwargs
):
1858 """GetSelection() -> int"""
1859 return _windows
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
1861 def GetStringSelection(*args
, **kwargs
):
1862 """GetStringSelection() -> wxString"""
1863 return _windows
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
1865 def SetSelection(*args
, **kwargs
):
1866 """SetSelection(int sel)"""
1867 return _windows
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
1869 def ShowModal(*args
, **kwargs
):
1870 """ShowModal() -> int"""
1871 return _windows
.SingleChoiceDialog_ShowModal(*args
, **kwargs
)
1874 class SingleChoiceDialogPtr(SingleChoiceDialog
):
1875 def __init__(self
, this
):
1877 if not hasattr(self
,"thisown"): self
.thisown
= 0
1878 self
.__class
__ = SingleChoiceDialog
1879 _windows
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
1881 class TextEntryDialog(Dialog
):
1884 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1885 def __init__(self
, *args
, **kwargs
):
1886 """__init__(Window parent, wxString message, wxString caption=wxPyGetTextFromUserPromptStr,
1887 wxString defaultValue=wxPyEmptyString,
1888 long style=wxOK|wxCANCEL|wxCENTRE,
1889 Point pos=DefaultPosition) -> TextEntryDialog"""
1890 newobj
= _windows
.new_TextEntryDialog(*args
, **kwargs
)
1891 self
.this
= newobj
.this
1894 self
._setOORInfo
(self
)
1896 def GetValue(*args
, **kwargs
):
1897 """GetValue() -> wxString"""
1898 return _windows
.TextEntryDialog_GetValue(*args
, **kwargs
)
1900 def SetValue(*args
, **kwargs
):
1901 """SetValue(wxString value)"""
1902 return _windows
.TextEntryDialog_SetValue(*args
, **kwargs
)
1904 def ShowModal(*args
, **kwargs
):
1905 """ShowModal() -> int"""
1906 return _windows
.TextEntryDialog_ShowModal(*args
, **kwargs
)
1909 class TextEntryDialogPtr(TextEntryDialog
):
1910 def __init__(self
, this
):
1912 if not hasattr(self
,"thisown"): self
.thisown
= 0
1913 self
.__class
__ = TextEntryDialog
1914 _windows
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
1916 class FontData(core
.Object
):
1919 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1920 def __init__(self
, *args
, **kwargs
):
1921 """__init__() -> FontData"""
1922 newobj
= _windows
.new_FontData(*args
, **kwargs
)
1923 self
.this
= newobj
.this
1926 def __del__(self
, destroy
=_windows
.delete_FontData
):
1929 if self
.thisown
: destroy(self
)
1932 def EnableEffects(*args
, **kwargs
):
1933 """EnableEffects(bool enable)"""
1934 return _windows
.FontData_EnableEffects(*args
, **kwargs
)
1936 def GetAllowSymbols(*args
, **kwargs
):
1937 """GetAllowSymbols() -> bool"""
1938 return _windows
.FontData_GetAllowSymbols(*args
, **kwargs
)
1940 def GetColour(*args
, **kwargs
):
1941 """GetColour() -> wxColour"""
1942 return _windows
.FontData_GetColour(*args
, **kwargs
)
1944 def GetChosenFont(*args
, **kwargs
):
1945 """GetChosenFont() -> wxFont"""
1946 return _windows
.FontData_GetChosenFont(*args
, **kwargs
)
1948 def GetEnableEffects(*args
, **kwargs
):
1949 """GetEnableEffects() -> bool"""
1950 return _windows
.FontData_GetEnableEffects(*args
, **kwargs
)
1952 def GetInitialFont(*args
, **kwargs
):
1953 """GetInitialFont() -> wxFont"""
1954 return _windows
.FontData_GetInitialFont(*args
, **kwargs
)
1956 def GetShowHelp(*args
, **kwargs
):
1957 """GetShowHelp() -> bool"""
1958 return _windows
.FontData_GetShowHelp(*args
, **kwargs
)
1960 def SetAllowSymbols(*args
, **kwargs
):
1961 """SetAllowSymbols(bool allowSymbols)"""
1962 return _windows
.FontData_SetAllowSymbols(*args
, **kwargs
)
1964 def SetChosenFont(*args
, **kwargs
):
1965 """SetChosenFont(wxFont font)"""
1966 return _windows
.FontData_SetChosenFont(*args
, **kwargs
)
1968 def SetColour(*args
, **kwargs
):
1969 """SetColour(wxColour colour)"""
1970 return _windows
.FontData_SetColour(*args
, **kwargs
)
1972 def SetInitialFont(*args
, **kwargs
):
1973 """SetInitialFont(wxFont font)"""
1974 return _windows
.FontData_SetInitialFont(*args
, **kwargs
)
1976 def SetRange(*args
, **kwargs
):
1977 """SetRange(int min, int max)"""
1978 return _windows
.FontData_SetRange(*args
, **kwargs
)
1980 def SetShowHelp(*args
, **kwargs
):
1981 """SetShowHelp(bool showHelp)"""
1982 return _windows
.FontData_SetShowHelp(*args
, **kwargs
)
1985 class FontDataPtr(FontData
):
1986 def __init__(self
, this
):
1988 if not hasattr(self
,"thisown"): self
.thisown
= 0
1989 self
.__class
__ = FontData
1990 _windows
.FontData_swigregister(FontDataPtr
)
1992 class FontDialog(Dialog
):
1995 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1996 def __init__(self
, *args
, **kwargs
):
1997 """__init__(Window parent, FontData data) -> FontDialog"""
1998 newobj
= _windows
.new_FontDialog(*args
, **kwargs
)
1999 self
.this
= newobj
.this
2002 self
._setOORInfo
(self
)
2004 def GetFontData(*args
, **kwargs
):
2005 """GetFontData() -> FontData"""
2006 return _windows
.FontDialog_GetFontData(*args
, **kwargs
)
2008 def ShowModal(*args
, **kwargs
):
2009 """ShowModal() -> int"""
2010 return _windows
.FontDialog_ShowModal(*args
, **kwargs
)
2013 class FontDialogPtr(FontDialog
):
2014 def __init__(self
, this
):
2016 if not hasattr(self
,"thisown"): self
.thisown
= 0
2017 self
.__class
__ = FontDialog
2018 _windows
.FontDialog_swigregister(FontDialogPtr
)
2020 class MessageDialog(Dialog
):
2023 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2024 def __init__(self
, *args
, **kwargs
):
2025 """__init__(Window parent, wxString message, wxString caption=wxPyMessageBoxCaptionStr,
2026 long style=wxOK|wxCANCEL|wxCENTRE,
2027 Point pos=DefaultPosition) -> MessageDialog"""
2028 newobj
= _windows
.new_MessageDialog(*args
, **kwargs
)
2029 self
.this
= newobj
.this
2032 self
._setOORInfo
(self
)
2034 def ShowModal(*args
, **kwargs
):
2035 """ShowModal() -> int"""
2036 return _windows
.MessageDialog_ShowModal(*args
, **kwargs
)
2039 class MessageDialogPtr(MessageDialog
):
2040 def __init__(self
, this
):
2042 if not hasattr(self
,"thisown"): self
.thisown
= 0
2043 self
.__class
__ = MessageDialog
2044 _windows
.MessageDialog_swigregister(MessageDialogPtr
)
2046 class ProgressDialog(Frame
):
2049 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2050 def __init__(self
, *args
, **kwargs
):
2051 """__init__(wxString title, wxString message, int maximum=100,
2052 Window parent=None, int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog"""
2053 newobj
= _windows
.new_ProgressDialog(*args
, **kwargs
)
2054 self
.this
= newobj
.this
2057 self
._setOORInfo
(self
)
2059 def Update(*args
, **kwargs
):
2060 """Update(int value, wxString newmsg=wxPyEmptyString) -> bool"""
2061 return _windows
.ProgressDialog_Update(*args
, **kwargs
)
2063 def Resume(*args
, **kwargs
):
2065 return _windows
.ProgressDialog_Resume(*args
, **kwargs
)
2068 class ProgressDialogPtr(ProgressDialog
):
2069 def __init__(self
, this
):
2071 if not hasattr(self
,"thisown"): self
.thisown
= 0
2072 self
.__class
__ = ProgressDialog
2073 _windows
.ProgressDialog_swigregister(ProgressDialogPtr
)
2075 FR_DOWN
= _windows
.FR_DOWN
2076 FR_WHOLEWORD
= _windows
.FR_WHOLEWORD
2077 FR_MATCHCASE
= _windows
.FR_MATCHCASE
2078 FR_REPLACEDIALOG
= _windows
.FR_REPLACEDIALOG
2079 FR_NOUPDOWN
= _windows
.FR_NOUPDOWN
2080 FR_NOMATCHCASE
= _windows
.FR_NOMATCHCASE
2081 FR_NOWHOLEWORD
= _windows
.FR_NOWHOLEWORD
2082 wxEVT_COMMAND_FIND
= _windows
.wxEVT_COMMAND_FIND
2083 wxEVT_COMMAND_FIND_NEXT
= _windows
.wxEVT_COMMAND_FIND_NEXT
2084 wxEVT_COMMAND_FIND_REPLACE
= _windows
.wxEVT_COMMAND_FIND_REPLACE
2085 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows
.wxEVT_COMMAND_FIND_REPLACE_ALL
2086 wxEVT_COMMAND_FIND_CLOSE
= _windows
.wxEVT_COMMAND_FIND_CLOSE
2087 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
2088 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
2089 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
2090 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
2091 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
2093 # For backwards compatibility. Should they be removed?
2094 EVT_COMMAND_FIND
= EVT_FIND
2095 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
2096 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
2097 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
2098 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
2100 class FindDialogEvent(core
.CommandEvent
):
2103 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2104 def __init__(self
, *args
, **kwargs
):
2105 """__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent"""
2106 newobj
= _windows
.new_FindDialogEvent(*args
, **kwargs
)
2107 self
.this
= newobj
.this
2110 def GetFlags(*args
, **kwargs
):
2111 """GetFlags() -> int"""
2112 return _windows
.FindDialogEvent_GetFlags(*args
, **kwargs
)
2114 def GetFindString(*args
, **kwargs
):
2115 """GetFindString() -> wxString"""
2116 return _windows
.FindDialogEvent_GetFindString(*args
, **kwargs
)
2118 def GetReplaceString(*args
, **kwargs
):
2119 """GetReplaceString() -> wxString"""
2120 return _windows
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
2122 def GetDialog(*args
, **kwargs
):
2123 """GetDialog() -> FindReplaceDialog"""
2124 return _windows
.FindDialogEvent_GetDialog(*args
, **kwargs
)
2126 def SetFlags(*args
, **kwargs
):
2127 """SetFlags(int flags)"""
2128 return _windows
.FindDialogEvent_SetFlags(*args
, **kwargs
)
2130 def SetFindString(*args
, **kwargs
):
2131 """SetFindString(wxString str)"""
2132 return _windows
.FindDialogEvent_SetFindString(*args
, **kwargs
)
2134 def SetReplaceString(*args
, **kwargs
):
2135 """SetReplaceString(wxString str)"""
2136 return _windows
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
2139 class FindDialogEventPtr(FindDialogEvent
):
2140 def __init__(self
, this
):
2142 if not hasattr(self
,"thisown"): self
.thisown
= 0
2143 self
.__class
__ = FindDialogEvent
2144 _windows
.FindDialogEvent_swigregister(FindDialogEventPtr
)
2146 class FindReplaceData(core
.Object
):
2149 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2150 def __init__(self
, *args
, **kwargs
):
2151 """__init__(int flags=0) -> FindReplaceData"""
2152 newobj
= _windows
.new_FindReplaceData(*args
, **kwargs
)
2153 self
.this
= newobj
.this
2156 def __del__(self
, destroy
=_windows
.delete_FindReplaceData
):
2159 if self
.thisown
: destroy(self
)
2162 def GetFindString(*args
, **kwargs
):
2163 """GetFindString() -> wxString"""
2164 return _windows
.FindReplaceData_GetFindString(*args
, **kwargs
)
2166 def GetReplaceString(*args
, **kwargs
):
2167 """GetReplaceString() -> wxString"""
2168 return _windows
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
2170 def GetFlags(*args
, **kwargs
):
2171 """GetFlags() -> int"""
2172 return _windows
.FindReplaceData_GetFlags(*args
, **kwargs
)
2174 def SetFlags(*args
, **kwargs
):
2175 """SetFlags(int flags)"""
2176 return _windows
.FindReplaceData_SetFlags(*args
, **kwargs
)
2178 def SetFindString(*args
, **kwargs
):
2179 """SetFindString(wxString str)"""
2180 return _windows
.FindReplaceData_SetFindString(*args
, **kwargs
)
2182 def SetReplaceString(*args
, **kwargs
):
2183 """SetReplaceString(wxString str)"""
2184 return _windows
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
2187 class FindReplaceDataPtr(FindReplaceData
):
2188 def __init__(self
, this
):
2190 if not hasattr(self
,"thisown"): self
.thisown
= 0
2191 self
.__class
__ = FindReplaceData
2192 _windows
.FindReplaceData_swigregister(FindReplaceDataPtr
)
2194 class FindReplaceDialog(Dialog
):
2197 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2198 def __init__(self
, *args
, **kwargs
):
2199 """__init__(Window parent, FindReplaceData data, wxString title,
2200 int style=0) -> FindReplaceDialog"""
2201 newobj
= _windows
.new_FindReplaceDialog(*args
, **kwargs
)
2202 self
.this
= newobj
.this
2205 self
._setOORInfo
(self
)
2207 def Create(*args
, **kwargs
):
2208 """Create(Window parent, FindReplaceData data, wxString title,
2209 int style=0) -> bool"""
2210 return _windows
.FindReplaceDialog_Create(*args
, **kwargs
)
2212 def GetData(*args
, **kwargs
):
2213 """GetData() -> FindReplaceData"""
2214 return _windows
.FindReplaceDialog_GetData(*args
, **kwargs
)
2216 def SetData(*args
, **kwargs
):
2217 """SetData(FindReplaceData data)"""
2218 return _windows
.FindReplaceDialog_SetData(*args
, **kwargs
)
2221 class FindReplaceDialogPtr(FindReplaceDialog
):
2222 def __init__(self
, this
):
2224 if not hasattr(self
,"thisown"): self
.thisown
= 0
2225 self
.__class
__ = FindReplaceDialog
2226 _windows
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
2228 def PreFindReplaceDialog(*args
, **kwargs
):
2229 """PreFindReplaceDialog() -> FindReplaceDialog"""
2230 val
= _windows
.new_PreFindReplaceDialog(*args
, **kwargs
)
2234 #---------------------------------------------------------------------------
2236 IDM_WINDOWTILE
= _windows
.IDM_WINDOWTILE
2237 IDM_WINDOWTILEHOR
= _windows
.IDM_WINDOWTILEHOR
2238 IDM_WINDOWCASCADE
= _windows
.IDM_WINDOWCASCADE
2239 IDM_WINDOWICONS
= _windows
.IDM_WINDOWICONS
2240 IDM_WINDOWNEXT
= _windows
.IDM_WINDOWNEXT
2241 IDM_WINDOWTILEVERT
= _windows
.IDM_WINDOWTILEVERT
2242 FIRST_MDI_CHILD
= _windows
.FIRST_MDI_CHILD
2243 LAST_MDI_CHILD
= _windows
.LAST_MDI_CHILD
2244 class MDIParentFrame(Frame
):
2247 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2248 def __init__(self
, *args
, **kwargs
):
2249 """__init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
2250 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2251 wxString name=wxPyFrameNameStr) -> MDIParentFrame"""
2252 newobj
= _windows
.new_MDIParentFrame(*args
, **kwargs
)
2253 self
.this
= newobj
.this
2256 self
._setOORInfo
(self
)
2258 def Create(*args
, **kwargs
):
2259 """Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
2260 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2261 wxString name=wxPyFrameNameStr) -> bool"""
2262 return _windows
.MDIParentFrame_Create(*args
, **kwargs
)
2264 def ActivateNext(*args
, **kwargs
):
2265 """ActivateNext()"""
2266 return _windows
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
2268 def ActivatePrevious(*args
, **kwargs
):
2269 """ActivatePrevious()"""
2270 return _windows
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
2272 def ArrangeIcons(*args
, **kwargs
):
2273 """ArrangeIcons()"""
2274 return _windows
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
2276 def Cascade(*args
, **kwargs
):
2278 return _windows
.MDIParentFrame_Cascade(*args
, **kwargs
)
2280 def GetActiveChild(*args
, **kwargs
):
2281 """GetActiveChild() -> MDIChildFrame"""
2282 return _windows
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
2284 def GetClientWindow(*args
, **kwargs
):
2285 """GetClientWindow() -> MDIClientWindow"""
2286 return _windows
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
2288 def GetToolBar(*args
, **kwargs
):
2289 """GetToolBar() -> Window"""
2290 return _windows
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
2292 def Tile(*args
, **kwargs
):
2294 return _windows
.MDIParentFrame_Tile(*args
, **kwargs
)
2297 class MDIParentFramePtr(MDIParentFrame
):
2298 def __init__(self
, this
):
2300 if not hasattr(self
,"thisown"): self
.thisown
= 0
2301 self
.__class
__ = MDIParentFrame
2302 _windows
.MDIParentFrame_swigregister(MDIParentFramePtr
)
2304 def PreMDIParentFrame(*args
, **kwargs
):
2305 """PreMDIParentFrame() -> MDIParentFrame"""
2306 val
= _windows
.new_PreMDIParentFrame(*args
, **kwargs
)
2310 class MDIChildFrame(Frame
):
2313 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2314 def __init__(self
, *args
, **kwargs
):
2315 """__init__(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition,
2316 Size size=DefaultSize,
2317 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> MDIChildFrame"""
2318 newobj
= _windows
.new_MDIChildFrame(*args
, **kwargs
)
2319 self
.this
= newobj
.this
2322 self
._setOORInfo
(self
)
2324 def Create(*args
, **kwargs
):
2325 """Create(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition,
2326 Size size=DefaultSize,
2327 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> bool"""
2328 return _windows
.MDIChildFrame_Create(*args
, **kwargs
)
2330 def Activate(*args
, **kwargs
):
2332 return _windows
.MDIChildFrame_Activate(*args
, **kwargs
)
2334 def Maximize(*args
, **kwargs
):
2335 """Maximize(bool maximize)"""
2336 return _windows
.MDIChildFrame_Maximize(*args
, **kwargs
)
2338 def Restore(*args
, **kwargs
):
2340 return _windows
.MDIChildFrame_Restore(*args
, **kwargs
)
2343 class MDIChildFramePtr(MDIChildFrame
):
2344 def __init__(self
, this
):
2346 if not hasattr(self
,"thisown"): self
.thisown
= 0
2347 self
.__class
__ = MDIChildFrame
2348 _windows
.MDIChildFrame_swigregister(MDIChildFramePtr
)
2350 def PreMDIChildFrame(*args
, **kwargs
):
2351 """PreMDIChildFrame() -> MDIChildFrame"""
2352 val
= _windows
.new_PreMDIChildFrame(*args
, **kwargs
)
2356 class MDIClientWindow(core
.Window
):
2359 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2360 def __init__(self
, *args
, **kwargs
):
2361 """__init__(MDIParentFrame parent, long style=0) -> MDIClientWindow"""
2362 newobj
= _windows
.new_MDIClientWindow(*args
, **kwargs
)
2363 self
.this
= newobj
.this
2366 self
._setOORInfo
(self
)
2368 def Create(*args
, **kwargs
):
2369 """Create(MDIParentFrame parent, long style=0) -> bool"""
2370 return _windows
.MDIClientWindow_Create(*args
, **kwargs
)
2373 class MDIClientWindowPtr(MDIClientWindow
):
2374 def __init__(self
, this
):
2376 if not hasattr(self
,"thisown"): self
.thisown
= 0
2377 self
.__class
__ = MDIClientWindow
2378 _windows
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
2380 def PreMDIClientWindow(*args
, **kwargs
):
2381 """PreMDIClientWindow() -> MDIClientWindow"""
2382 val
= _windows
.new_PreMDIClientWindow(*args
, **kwargs
)
2386 #---------------------------------------------------------------------------
2388 class PyWindow(core
.Window
):
2391 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2392 def __init__(self
, *args
, **kwargs
):
2393 """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2394 long style=0, wxString name=PanelNameStr) -> PyWindow"""
2395 newobj
= _windows
.new_PyWindow(*args
, **kwargs
)
2396 self
.this
= newobj
.this
2399 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
2401 def _setCallbackInfo(*args
, **kwargs
):
2402 """_setCallbackInfo(PyObject self, PyObject _class)"""
2403 return _windows
.PyWindow__setCallbackInfo(*args
, **kwargs
)
2405 def base_DoMoveWindow(*args
, **kwargs
):
2406 """base_DoMoveWindow(int x, int y, int width, int height)"""
2407 return _windows
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
2409 def base_DoSetSize(*args
, **kwargs
):
2410 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2411 return _windows
.PyWindow_base_DoSetSize(*args
, **kwargs
)
2413 def base_DoSetClientSize(*args
, **kwargs
):
2414 """base_DoSetClientSize(int width, int height)"""
2415 return _windows
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
2417 def base_DoSetVirtualSize(*args
, **kwargs
):
2418 """base_DoSetVirtualSize(int x, int y)"""
2419 return _windows
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
2421 def base_DoGetSize(*args
, **kwargs
):
2422 """base_DoGetSize() -> (width, height)"""
2423 return _windows
.PyWindow_base_DoGetSize(*args
, **kwargs
)
2425 def base_DoGetClientSize(*args
, **kwargs
):
2426 """base_DoGetClientSize() -> (width, height)"""
2427 return _windows
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
2429 def base_DoGetPosition(*args
, **kwargs
):
2430 """base_DoGetPosition() -> (x,y)"""
2431 return _windows
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
2433 def base_DoGetVirtualSize(*args
, **kwargs
):
2434 """base_DoGetVirtualSize() -> Size"""
2435 return _windows
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
2437 def base_DoGetBestSize(*args
, **kwargs
):
2438 """base_DoGetBestSize() -> Size"""
2439 return _windows
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
2441 def base_InitDialog(*args
, **kwargs
):
2442 """base_InitDialog()"""
2443 return _windows
.PyWindow_base_InitDialog(*args
, **kwargs
)
2445 def base_TransferDataToWindow(*args
, **kwargs
):
2446 """base_TransferDataToWindow() -> bool"""
2447 return _windows
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
2449 def base_TransferDataFromWindow(*args
, **kwargs
):
2450 """base_TransferDataFromWindow() -> bool"""
2451 return _windows
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
2453 def base_Validate(*args
, **kwargs
):
2454 """base_Validate() -> bool"""
2455 return _windows
.PyWindow_base_Validate(*args
, **kwargs
)
2457 def base_AcceptsFocus(*args
, **kwargs
):
2458 """base_AcceptsFocus() -> bool"""
2459 return _windows
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
2461 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2462 """base_AcceptsFocusFromKeyboard() -> bool"""
2463 return _windows
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2465 def base_GetMaxSize(*args
, **kwargs
):
2466 """base_GetMaxSize() -> Size"""
2467 return _windows
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
2469 def base_AddChild(*args
, **kwargs
):
2470 """base_AddChild(Window child)"""
2471 return _windows
.PyWindow_base_AddChild(*args
, **kwargs
)
2473 def base_RemoveChild(*args
, **kwargs
):
2474 """base_RemoveChild(Window child)"""
2475 return _windows
.PyWindow_base_RemoveChild(*args
, **kwargs
)
2478 class PyWindowPtr(PyWindow
):
2479 def __init__(self
, this
):
2481 if not hasattr(self
,"thisown"): self
.thisown
= 0
2482 self
.__class
__ = PyWindow
2483 _windows
.PyWindow_swigregister(PyWindowPtr
)
2485 class PyPanel(Panel
):
2488 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2489 def __init__(self
, *args
, **kwargs
):
2490 """__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2491 long style=0, wxString name=PanelNameStr) -> PyPanel"""
2492 newobj
= _windows
.new_PyPanel(*args
, **kwargs
)
2493 self
.this
= newobj
.this
2496 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
2498 def _setCallbackInfo(*args
, **kwargs
):
2499 """_setCallbackInfo(PyObject self, PyObject _class)"""
2500 return _windows
.PyPanel__setCallbackInfo(*args
, **kwargs
)
2502 def base_DoMoveWindow(*args
, **kwargs
):
2503 """base_DoMoveWindow(int x, int y, int width, int height)"""
2504 return _windows
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
2506 def base_DoSetSize(*args
, **kwargs
):
2507 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2508 return _windows
.PyPanel_base_DoSetSize(*args
, **kwargs
)
2510 def base_DoSetClientSize(*args
, **kwargs
):
2511 """base_DoSetClientSize(int width, int height)"""
2512 return _windows
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
2514 def base_DoSetVirtualSize(*args
, **kwargs
):
2515 """base_DoSetVirtualSize(int x, int y)"""
2516 return _windows
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
2518 def base_DoGetSize(*args
, **kwargs
):
2519 """base_DoGetSize() -> (width, height)"""
2520 return _windows
.PyPanel_base_DoGetSize(*args
, **kwargs
)
2522 def base_DoGetClientSize(*args
, **kwargs
):
2523 """base_DoGetClientSize() -> (width, height)"""
2524 return _windows
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
2526 def base_DoGetPosition(*args
, **kwargs
):
2527 """base_DoGetPosition() -> (x,y)"""
2528 return _windows
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
2530 def base_DoGetVirtualSize(*args
, **kwargs
):
2531 """base_DoGetVirtualSize() -> Size"""
2532 return _windows
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
2534 def base_DoGetBestSize(*args
, **kwargs
):
2535 """base_DoGetBestSize() -> Size"""
2536 return _windows
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
2538 def base_InitDialog(*args
, **kwargs
):
2539 """base_InitDialog()"""
2540 return _windows
.PyPanel_base_InitDialog(*args
, **kwargs
)
2542 def base_TransferDataToWindow(*args
, **kwargs
):
2543 """base_TransferDataToWindow() -> bool"""
2544 return _windows
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
2546 def base_TransferDataFromWindow(*args
, **kwargs
):
2547 """base_TransferDataFromWindow() -> bool"""
2548 return _windows
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
2550 def base_Validate(*args
, **kwargs
):
2551 """base_Validate() -> bool"""
2552 return _windows
.PyPanel_base_Validate(*args
, **kwargs
)
2554 def base_AcceptsFocus(*args
, **kwargs
):
2555 """base_AcceptsFocus() -> bool"""
2556 return _windows
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
2558 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2559 """base_AcceptsFocusFromKeyboard() -> bool"""
2560 return _windows
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2562 def base_GetMaxSize(*args
, **kwargs
):
2563 """base_GetMaxSize() -> Size"""
2564 return _windows
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
2566 def base_AddChild(*args
, **kwargs
):
2567 """base_AddChild(Window child)"""
2568 return _windows
.PyPanel_base_AddChild(*args
, **kwargs
)
2570 def base_RemoveChild(*args
, **kwargs
):
2571 """base_RemoveChild(Window child)"""
2572 return _windows
.PyPanel_base_RemoveChild(*args
, **kwargs
)
2575 class PyPanelPtr(PyPanel
):
2576 def __init__(self
, this
):
2578 if not hasattr(self
,"thisown"): self
.thisown
= 0
2579 self
.__class
__ = PyPanel
2580 _windows
.PyPanel_swigregister(PyPanelPtr
)
2582 #---------------------------------------------------------------------------
2584 PRINT_MODE_NONE
= _windows
.PRINT_MODE_NONE
2585 PRINT_MODE_PREVIEW
= _windows
.PRINT_MODE_PREVIEW
2586 PRINT_MODE_FILE
= _windows
.PRINT_MODE_FILE
2587 PRINT_MODE_PRINTER
= _windows
.PRINT_MODE_PRINTER
2588 class PrintData(core
.Object
):
2591 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2592 def __init__(self
, *args
, **kwargs
):
2593 """__init__() -> PrintData"""
2594 newobj
= _windows
.new_PrintData(*args
, **kwargs
)
2595 self
.this
= newobj
.this
2598 def __del__(self
, destroy
=_windows
.delete_PrintData
):
2601 if self
.thisown
: destroy(self
)
2604 def GetNoCopies(*args
, **kwargs
):
2605 """GetNoCopies() -> int"""
2606 return _windows
.PrintData_GetNoCopies(*args
, **kwargs
)
2608 def GetCollate(*args
, **kwargs
):
2609 """GetCollate() -> bool"""
2610 return _windows
.PrintData_GetCollate(*args
, **kwargs
)
2612 def GetOrientation(*args
, **kwargs
):
2613 """GetOrientation() -> int"""
2614 return _windows
.PrintData_GetOrientation(*args
, **kwargs
)
2616 def Ok(*args
, **kwargs
):
2618 return _windows
.PrintData_Ok(*args
, **kwargs
)
2620 def GetPrinterName(*args
, **kwargs
):
2621 """GetPrinterName() -> wxString"""
2622 return _windows
.PrintData_GetPrinterName(*args
, **kwargs
)
2624 def GetColour(*args
, **kwargs
):
2625 """GetColour() -> bool"""
2626 return _windows
.PrintData_GetColour(*args
, **kwargs
)
2628 def GetDuplex(*args
, **kwargs
):
2629 """GetDuplex() -> wxDuplexMode"""
2630 return _windows
.PrintData_GetDuplex(*args
, **kwargs
)
2632 def GetPaperId(*args
, **kwargs
):
2633 """GetPaperId() -> wxPaperSize"""
2634 return _windows
.PrintData_GetPaperId(*args
, **kwargs
)
2636 def GetPaperSize(*args
, **kwargs
):
2637 """GetPaperSize() -> Size"""
2638 return _windows
.PrintData_GetPaperSize(*args
, **kwargs
)
2640 def GetQuality(*args
, **kwargs
):
2641 """GetQuality() -> wxPrintQuality"""
2642 return _windows
.PrintData_GetQuality(*args
, **kwargs
)
2644 def SetNoCopies(*args
, **kwargs
):
2645 """SetNoCopies(int v)"""
2646 return _windows
.PrintData_SetNoCopies(*args
, **kwargs
)
2648 def SetCollate(*args
, **kwargs
):
2649 """SetCollate(bool flag)"""
2650 return _windows
.PrintData_SetCollate(*args
, **kwargs
)
2652 def SetOrientation(*args
, **kwargs
):
2653 """SetOrientation(int orient)"""
2654 return _windows
.PrintData_SetOrientation(*args
, **kwargs
)
2656 def SetPrinterName(*args
, **kwargs
):
2657 """SetPrinterName(wxString name)"""
2658 return _windows
.PrintData_SetPrinterName(*args
, **kwargs
)
2660 def SetColour(*args
, **kwargs
):
2661 """SetColour(bool colour)"""
2662 return _windows
.PrintData_SetColour(*args
, **kwargs
)
2664 def SetDuplex(*args
, **kwargs
):
2665 """SetDuplex(wxDuplexMode duplex)"""
2666 return _windows
.PrintData_SetDuplex(*args
, **kwargs
)
2668 def SetPaperId(*args
, **kwargs
):
2669 """SetPaperId(wxPaperSize sizeId)"""
2670 return _windows
.PrintData_SetPaperId(*args
, **kwargs
)
2672 def SetPaperSize(*args
, **kwargs
):
2673 """SetPaperSize(Size sz)"""
2674 return _windows
.PrintData_SetPaperSize(*args
, **kwargs
)
2676 def SetQuality(*args
, **kwargs
):
2677 """SetQuality(wxPrintQuality quality)"""
2678 return _windows
.PrintData_SetQuality(*args
, **kwargs
)
2680 def GetPrinterCommand(*args
, **kwargs
):
2681 """GetPrinterCommand() -> wxString"""
2682 return _windows
.PrintData_GetPrinterCommand(*args
, **kwargs
)
2684 def GetPrinterOptions(*args
, **kwargs
):
2685 """GetPrinterOptions() -> wxString"""
2686 return _windows
.PrintData_GetPrinterOptions(*args
, **kwargs
)
2688 def GetPreviewCommand(*args
, **kwargs
):
2689 """GetPreviewCommand() -> wxString"""
2690 return _windows
.PrintData_GetPreviewCommand(*args
, **kwargs
)
2692 def GetFilename(*args
, **kwargs
):
2693 """GetFilename() -> wxString"""
2694 return _windows
.PrintData_GetFilename(*args
, **kwargs
)
2696 def GetFontMetricPath(*args
, **kwargs
):
2697 """GetFontMetricPath() -> wxString"""
2698 return _windows
.PrintData_GetFontMetricPath(*args
, **kwargs
)
2700 def GetPrinterScaleX(*args
, **kwargs
):
2701 """GetPrinterScaleX() -> double"""
2702 return _windows
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
2704 def GetPrinterScaleY(*args
, **kwargs
):
2705 """GetPrinterScaleY() -> double"""
2706 return _windows
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
2708 def GetPrinterTranslateX(*args
, **kwargs
):
2709 """GetPrinterTranslateX() -> long"""
2710 return _windows
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
2712 def GetPrinterTranslateY(*args
, **kwargs
):
2713 """GetPrinterTranslateY() -> long"""
2714 return _windows
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
2716 def GetPrintMode(*args
, **kwargs
):
2717 """GetPrintMode() -> wxPrintMode"""
2718 return _windows
.PrintData_GetPrintMode(*args
, **kwargs
)
2720 def SetPrinterCommand(*args
, **kwargs
):
2721 """SetPrinterCommand(wxString command)"""
2722 return _windows
.PrintData_SetPrinterCommand(*args
, **kwargs
)
2724 def SetPrinterOptions(*args
, **kwargs
):
2725 """SetPrinterOptions(wxString options)"""
2726 return _windows
.PrintData_SetPrinterOptions(*args
, **kwargs
)
2728 def SetPreviewCommand(*args
, **kwargs
):
2729 """SetPreviewCommand(wxString command)"""
2730 return _windows
.PrintData_SetPreviewCommand(*args
, **kwargs
)
2732 def SetFilename(*args
, **kwargs
):
2733 """SetFilename(wxString filename)"""
2734 return _windows
.PrintData_SetFilename(*args
, **kwargs
)
2736 def SetFontMetricPath(*args
, **kwargs
):
2737 """SetFontMetricPath(wxString path)"""
2738 return _windows
.PrintData_SetFontMetricPath(*args
, **kwargs
)
2740 def SetPrinterScaleX(*args
, **kwargs
):
2741 """SetPrinterScaleX(double x)"""
2742 return _windows
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
2744 def SetPrinterScaleY(*args
, **kwargs
):
2745 """SetPrinterScaleY(double y)"""
2746 return _windows
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
2748 def SetPrinterScaling(*args
, **kwargs
):
2749 """SetPrinterScaling(double x, double y)"""
2750 return _windows
.PrintData_SetPrinterScaling(*args
, **kwargs
)
2752 def SetPrinterTranslateX(*args
, **kwargs
):
2753 """SetPrinterTranslateX(long x)"""
2754 return _windows
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
2756 def SetPrinterTranslateY(*args
, **kwargs
):
2757 """SetPrinterTranslateY(long y)"""
2758 return _windows
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
2760 def SetPrinterTranslation(*args
, **kwargs
):
2761 """SetPrinterTranslation(long x, long y)"""
2762 return _windows
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
2764 def SetPrintMode(*args
, **kwargs
):
2765 """SetPrintMode(wxPrintMode printMode)"""
2766 return _windows
.PrintData_SetPrintMode(*args
, **kwargs
)
2768 def __nonzero__(self
): return self
.Ok()
2770 class PrintDataPtr(PrintData
):
2771 def __init__(self
, this
):
2773 if not hasattr(self
,"thisown"): self
.thisown
= 0
2774 self
.__class
__ = PrintData
2775 _windows
.PrintData_swigregister(PrintDataPtr
)
2777 class PageSetupDialogData(core
.Object
):
2780 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2781 def __init__(self
, *args
, **kwargs
):
2782 """__init__() -> PageSetupDialogData"""
2783 newobj
= _windows
.new_PageSetupDialogData(*args
, **kwargs
)
2784 self
.this
= newobj
.this
2787 def __del__(self
, destroy
=_windows
.delete_PageSetupDialogData
):
2790 if self
.thisown
: destroy(self
)
2793 def EnableHelp(*args
, **kwargs
):
2794 """EnableHelp(bool flag)"""
2795 return _windows
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
2797 def EnableMargins(*args
, **kwargs
):
2798 """EnableMargins(bool flag)"""
2799 return _windows
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
2801 def EnableOrientation(*args
, **kwargs
):
2802 """EnableOrientation(bool flag)"""
2803 return _windows
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
2805 def EnablePaper(*args
, **kwargs
):
2806 """EnablePaper(bool flag)"""
2807 return _windows
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
2809 def EnablePrinter(*args
, **kwargs
):
2810 """EnablePrinter(bool flag)"""
2811 return _windows
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
2813 def GetDefaultMinMargins(*args
, **kwargs
):
2814 """GetDefaultMinMargins() -> bool"""
2815 return _windows
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
2817 def GetEnableMargins(*args
, **kwargs
):
2818 """GetEnableMargins() -> bool"""
2819 return _windows
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
2821 def GetEnableOrientation(*args
, **kwargs
):
2822 """GetEnableOrientation() -> bool"""
2823 return _windows
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
2825 def GetEnablePaper(*args
, **kwargs
):
2826 """GetEnablePaper() -> bool"""
2827 return _windows
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
2829 def GetEnablePrinter(*args
, **kwargs
):
2830 """GetEnablePrinter() -> bool"""
2831 return _windows
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
2833 def GetEnableHelp(*args
, **kwargs
):
2834 """GetEnableHelp() -> bool"""
2835 return _windows
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
2837 def GetDefaultInfo(*args
, **kwargs
):
2838 """GetDefaultInfo() -> bool"""
2839 return _windows
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
2841 def GetMarginTopLeft(*args
, **kwargs
):
2842 """GetMarginTopLeft() -> Point"""
2843 return _windows
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
2845 def GetMarginBottomRight(*args
, **kwargs
):
2846 """GetMarginBottomRight() -> Point"""
2847 return _windows
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
2849 def GetMinMarginTopLeft(*args
, **kwargs
):
2850 """GetMinMarginTopLeft() -> Point"""
2851 return _windows
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
2853 def GetMinMarginBottomRight(*args
, **kwargs
):
2854 """GetMinMarginBottomRight() -> Point"""
2855 return _windows
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
2857 def GetPaperId(*args
, **kwargs
):
2858 """GetPaperId() -> wxPaperSize"""
2859 return _windows
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
2861 def GetPaperSize(*args
, **kwargs
):
2862 """GetPaperSize() -> Size"""
2863 return _windows
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
2865 def GetPrintData(*args
, **kwargs
):
2866 """GetPrintData() -> PrintData"""
2867 return _windows
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
2869 def Ok(*args
, **kwargs
):
2871 return _windows
.PageSetupDialogData_Ok(*args
, **kwargs
)
2873 def SetDefaultInfo(*args
, **kwargs
):
2874 """SetDefaultInfo(bool flag)"""
2875 return _windows
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
2877 def SetDefaultMinMargins(*args
, **kwargs
):
2878 """SetDefaultMinMargins(bool flag)"""
2879 return _windows
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
2881 def SetMarginTopLeft(*args
, **kwargs
):
2882 """SetMarginTopLeft(Point pt)"""
2883 return _windows
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
2885 def SetMarginBottomRight(*args
, **kwargs
):
2886 """SetMarginBottomRight(Point pt)"""
2887 return _windows
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
2889 def SetMinMarginTopLeft(*args
, **kwargs
):
2890 """SetMinMarginTopLeft(Point pt)"""
2891 return _windows
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
2893 def SetMinMarginBottomRight(*args
, **kwargs
):
2894 """SetMinMarginBottomRight(Point pt)"""
2895 return _windows
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
2897 def SetPaperId(*args
, **kwargs
):
2898 """SetPaperId(wxPaperSize id)"""
2899 return _windows
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
2901 def SetPaperSize(*args
, **kwargs
):
2902 """SetPaperSize(Size size)"""
2903 return _windows
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
2905 def SetPrintData(*args
, **kwargs
):
2906 """SetPrintData(PrintData printData)"""
2907 return _windows
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
2909 def __nonzero__(self
): return self
.Ok()
2911 class PageSetupDialogDataPtr(PageSetupDialogData
):
2912 def __init__(self
, this
):
2914 if not hasattr(self
,"thisown"): self
.thisown
= 0
2915 self
.__class
__ = PageSetupDialogData
2916 _windows
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
2918 class PageSetupDialog(Dialog
):
2921 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2922 def __init__(self
, *args
, **kwargs
):
2923 """__init__(Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
2924 newobj
= _windows
.new_PageSetupDialog(*args
, **kwargs
)
2925 self
.this
= newobj
.this
2928 self
._setOORInfo
(self
)
2930 def GetPageSetupData(*args
, **kwargs
):
2931 """GetPageSetupData() -> PageSetupDialogData"""
2932 return _windows
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
2934 def ShowModal(*args
, **kwargs
):
2935 """ShowModal() -> int"""
2936 return _windows
.PageSetupDialog_ShowModal(*args
, **kwargs
)
2939 class PageSetupDialogPtr(PageSetupDialog
):
2940 def __init__(self
, this
):
2942 if not hasattr(self
,"thisown"): self
.thisown
= 0
2943 self
.__class
__ = PageSetupDialog
2944 _windows
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
2946 class PrintDialogData(core
.Object
):
2949 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2950 def __init__(self
, *args
, **kwargs
):
2951 """__init__() -> PrintDialogData"""
2952 newobj
= _windows
.new_PrintDialogData(*args
, **kwargs
)
2953 self
.this
= newobj
.this
2956 def __del__(self
, destroy
=_windows
.delete_PrintDialogData
):
2959 if self
.thisown
: destroy(self
)
2962 def GetFromPage(*args
, **kwargs
):
2963 """GetFromPage() -> int"""
2964 return _windows
.PrintDialogData_GetFromPage(*args
, **kwargs
)
2966 def GetToPage(*args
, **kwargs
):
2967 """GetToPage() -> int"""
2968 return _windows
.PrintDialogData_GetToPage(*args
, **kwargs
)
2970 def GetMinPage(*args
, **kwargs
):
2971 """GetMinPage() -> int"""
2972 return _windows
.PrintDialogData_GetMinPage(*args
, **kwargs
)
2974 def GetMaxPage(*args
, **kwargs
):
2975 """GetMaxPage() -> int"""
2976 return _windows
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
2978 def GetNoCopies(*args
, **kwargs
):
2979 """GetNoCopies() -> int"""
2980 return _windows
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
2982 def GetAllPages(*args
, **kwargs
):
2983 """GetAllPages() -> bool"""
2984 return _windows
.PrintDialogData_GetAllPages(*args
, **kwargs
)
2986 def GetSelection(*args
, **kwargs
):
2987 """GetSelection() -> bool"""
2988 return _windows
.PrintDialogData_GetSelection(*args
, **kwargs
)
2990 def GetCollate(*args
, **kwargs
):
2991 """GetCollate() -> bool"""
2992 return _windows
.PrintDialogData_GetCollate(*args
, **kwargs
)
2994 def GetPrintToFile(*args
, **kwargs
):
2995 """GetPrintToFile() -> bool"""
2996 return _windows
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
2998 def GetSetupDialog(*args
, **kwargs
):
2999 """GetSetupDialog() -> bool"""
3000 return _windows
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
3002 def SetFromPage(*args
, **kwargs
):
3003 """SetFromPage(int v)"""
3004 return _windows
.PrintDialogData_SetFromPage(*args
, **kwargs
)
3006 def SetToPage(*args
, **kwargs
):
3007 """SetToPage(int v)"""
3008 return _windows
.PrintDialogData_SetToPage(*args
, **kwargs
)
3010 def SetMinPage(*args
, **kwargs
):
3011 """SetMinPage(int v)"""
3012 return _windows
.PrintDialogData_SetMinPage(*args
, **kwargs
)
3014 def SetMaxPage(*args
, **kwargs
):
3015 """SetMaxPage(int v)"""
3016 return _windows
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
3018 def SetNoCopies(*args
, **kwargs
):
3019 """SetNoCopies(int v)"""
3020 return _windows
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
3022 def SetAllPages(*args
, **kwargs
):
3023 """SetAllPages(bool flag)"""
3024 return _windows
.PrintDialogData_SetAllPages(*args
, **kwargs
)
3026 def SetSelection(*args
, **kwargs
):
3027 """SetSelection(bool flag)"""
3028 return _windows
.PrintDialogData_SetSelection(*args
, **kwargs
)
3030 def SetCollate(*args
, **kwargs
):
3031 """SetCollate(bool flag)"""
3032 return _windows
.PrintDialogData_SetCollate(*args
, **kwargs
)
3034 def SetPrintToFile(*args
, **kwargs
):
3035 """SetPrintToFile(bool flag)"""
3036 return _windows
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
3038 def SetSetupDialog(*args
, **kwargs
):
3039 """SetSetupDialog(bool flag)"""
3040 return _windows
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
3042 def EnablePrintToFile(*args
, **kwargs
):
3043 """EnablePrintToFile(bool flag)"""
3044 return _windows
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
3046 def EnableSelection(*args
, **kwargs
):
3047 """EnableSelection(bool flag)"""
3048 return _windows
.PrintDialogData_EnableSelection(*args
, **kwargs
)
3050 def EnablePageNumbers(*args
, **kwargs
):
3051 """EnablePageNumbers(bool flag)"""
3052 return _windows
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
3054 def EnableHelp(*args
, **kwargs
):
3055 """EnableHelp(bool flag)"""
3056 return _windows
.PrintDialogData_EnableHelp(*args
, **kwargs
)
3058 def GetEnablePrintToFile(*args
, **kwargs
):
3059 """GetEnablePrintToFile() -> bool"""
3060 return _windows
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
3062 def GetEnableSelection(*args
, **kwargs
):
3063 """GetEnableSelection() -> bool"""
3064 return _windows
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
3066 def GetEnablePageNumbers(*args
, **kwargs
):
3067 """GetEnablePageNumbers() -> bool"""
3068 return _windows
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
3070 def GetEnableHelp(*args
, **kwargs
):
3071 """GetEnableHelp() -> bool"""
3072 return _windows
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
3074 def Ok(*args
, **kwargs
):
3076 return _windows
.PrintDialogData_Ok(*args
, **kwargs
)
3078 def GetPrintData(*args
, **kwargs
):
3079 """GetPrintData() -> PrintData"""
3080 return _windows
.PrintDialogData_GetPrintData(*args
, **kwargs
)
3082 def SetPrintData(*args
, **kwargs
):
3083 """SetPrintData(PrintData printData)"""
3084 return _windows
.PrintDialogData_SetPrintData(*args
, **kwargs
)
3086 def __nonzero__(self
): return self
.Ok()
3088 class PrintDialogDataPtr(PrintDialogData
):
3089 def __init__(self
, this
):
3091 if not hasattr(self
,"thisown"): self
.thisown
= 0
3092 self
.__class
__ = PrintDialogData
3093 _windows
.PrintDialogData_swigregister(PrintDialogDataPtr
)
3095 class PrintDialog(Dialog
):
3098 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3099 def __init__(self
, *args
, **kwargs
):
3100 """__init__(Window parent, PrintDialogData data=None) -> PrintDialog"""
3101 newobj
= _windows
.new_PrintDialog(*args
, **kwargs
)
3102 self
.this
= newobj
.this
3105 self
._setOORInfo
(self
)
3107 def GetPrintDialogData(*args
, **kwargs
):
3108 """GetPrintDialogData() -> PrintDialogData"""
3109 return _windows
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
3111 def GetPrintDC(*args
, **kwargs
):
3112 """GetPrintDC() -> wxDC"""
3113 return _windows
.PrintDialog_GetPrintDC(*args
, **kwargs
)
3115 def ShowModal(*args
, **kwargs
):
3116 """ShowModal() -> int"""
3117 return _windows
.PrintDialog_ShowModal(*args
, **kwargs
)
3120 class PrintDialogPtr(PrintDialog
):
3121 def __init__(self
, this
):
3123 if not hasattr(self
,"thisown"): self
.thisown
= 0
3124 self
.__class
__ = PrintDialog
3125 _windows
.PrintDialog_swigregister(PrintDialogPtr
)
3127 PRINTER_NO_ERROR
= _windows
.PRINTER_NO_ERROR
3128 PRINTER_CANCELLED
= _windows
.PRINTER_CANCELLED
3129 PRINTER_ERROR
= _windows
.PRINTER_ERROR
3130 class Printer(core
.Object
):
3133 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3134 def __init__(self
, *args
, **kwargs
):
3135 """__init__(PrintDialogData data=None) -> Printer"""
3136 newobj
= _windows
.new_Printer(*args
, **kwargs
)
3137 self
.this
= newobj
.this
3140 def __del__(self
, destroy
=_windows
.delete_Printer
):
3143 if self
.thisown
: destroy(self
)
3146 def CreateAbortWindow(*args
, **kwargs
):
3147 """CreateAbortWindow(Window parent, Printout printout)"""
3148 return _windows
.Printer_CreateAbortWindow(*args
, **kwargs
)
3150 def GetPrintDialogData(*args
, **kwargs
):
3151 """GetPrintDialogData() -> PrintDialogData"""
3152 return _windows
.Printer_GetPrintDialogData(*args
, **kwargs
)
3154 def Print(*args
, **kwargs
):
3155 """Print(Window parent, Printout printout, int prompt=True) -> bool"""
3156 return _windows
.Printer_Print(*args
, **kwargs
)
3158 def PrintDialog(*args
, **kwargs
):
3159 """PrintDialog(Window parent) -> wxDC"""
3160 return _windows
.Printer_PrintDialog(*args
, **kwargs
)
3162 def ReportError(*args
, **kwargs
):
3163 """ReportError(Window parent, Printout printout, wxString message)"""
3164 return _windows
.Printer_ReportError(*args
, **kwargs
)
3166 def Setup(*args
, **kwargs
):
3167 """Setup(Window parent) -> bool"""
3168 return _windows
.Printer_Setup(*args
, **kwargs
)
3170 def GetAbort(*args
, **kwargs
):
3171 """GetAbort() -> bool"""
3172 return _windows
.Printer_GetAbort(*args
, **kwargs
)
3174 def GetLastError(*args
, **kwargs
):
3175 """Printer.GetLastError() -> wxPrinterError"""
3176 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3178 GetLastError
= staticmethod(GetLastError
)
3180 class PrinterPtr(Printer
):
3181 def __init__(self
, this
):
3183 if not hasattr(self
,"thisown"): self
.thisown
= 0
3184 self
.__class
__ = Printer
3185 _windows
.Printer_swigregister(PrinterPtr
)
3187 def Printer_GetLastError(*args
, **kwargs
):
3188 """Printer_GetLastError() -> wxPrinterError"""
3189 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3191 class Printout(core
.Object
):
3194 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3195 def __init__(self
, *args
, **kwargs
):
3196 """__init__(wxString title=wxPyPrintoutTitleStr) -> Printout"""
3197 newobj
= _windows
.new_Printout(*args
, **kwargs
)
3198 self
.this
= newobj
.this
3201 self
._setCallbackInfo
(self
, Printout
)
3203 def _setCallbackInfo(*args
, **kwargs
):
3204 """_setCallbackInfo(PyObject self, PyObject _class)"""
3205 return _windows
.Printout__setCallbackInfo(*args
, **kwargs
)
3207 def GetTitle(*args
, **kwargs
):
3208 """GetTitle() -> wxString"""
3209 return _windows
.Printout_GetTitle(*args
, **kwargs
)
3211 def GetDC(*args
, **kwargs
):
3212 """GetDC() -> wxDC"""
3213 return _windows
.Printout_GetDC(*args
, **kwargs
)
3215 def SetDC(*args
, **kwargs
):
3216 """SetDC(wxDC dc)"""
3217 return _windows
.Printout_SetDC(*args
, **kwargs
)
3219 def SetPageSizePixels(*args
, **kwargs
):
3220 """SetPageSizePixels(int w, int h)"""
3221 return _windows
.Printout_SetPageSizePixels(*args
, **kwargs
)
3223 def GetPageSizePixels(*args
, **kwargs
):
3224 """GetPageSizePixels() -> (w, h)"""
3225 return _windows
.Printout_GetPageSizePixels(*args
, **kwargs
)
3227 def SetPageSizeMM(*args
, **kwargs
):
3228 """SetPageSizeMM(int w, int h)"""
3229 return _windows
.Printout_SetPageSizeMM(*args
, **kwargs
)
3231 def GetPageSizeMM(*args
, **kwargs
):
3232 """GetPageSizeMM() -> (w, h)"""
3233 return _windows
.Printout_GetPageSizeMM(*args
, **kwargs
)
3235 def SetPPIScreen(*args
, **kwargs
):
3236 """SetPPIScreen(int x, int y)"""
3237 return _windows
.Printout_SetPPIScreen(*args
, **kwargs
)
3239 def GetPPIScreen(*args
, **kwargs
):
3240 """GetPPIScreen() -> (x,y)"""
3241 return _windows
.Printout_GetPPIScreen(*args
, **kwargs
)
3243 def SetPPIPrinter(*args
, **kwargs
):
3244 """SetPPIPrinter(int x, int y)"""
3245 return _windows
.Printout_SetPPIPrinter(*args
, **kwargs
)
3247 def GetPPIPrinter(*args
, **kwargs
):
3248 """GetPPIPrinter() -> (x,y)"""
3249 return _windows
.Printout_GetPPIPrinter(*args
, **kwargs
)
3251 def IsPreview(*args
, **kwargs
):
3252 """IsPreview() -> bool"""
3253 return _windows
.Printout_IsPreview(*args
, **kwargs
)
3255 def SetIsPreview(*args
, **kwargs
):
3256 """SetIsPreview(bool p)"""
3257 return _windows
.Printout_SetIsPreview(*args
, **kwargs
)
3259 def base_OnBeginDocument(*args
, **kwargs
):
3260 """base_OnBeginDocument(int startPage, int endPage) -> bool"""
3261 return _windows
.Printout_base_OnBeginDocument(*args
, **kwargs
)
3263 def base_OnEndDocument(*args
, **kwargs
):
3264 """base_OnEndDocument()"""
3265 return _windows
.Printout_base_OnEndDocument(*args
, **kwargs
)
3267 def base_OnBeginPrinting(*args
, **kwargs
):
3268 """base_OnBeginPrinting()"""
3269 return _windows
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
3271 def base_OnEndPrinting(*args
, **kwargs
):
3272 """base_OnEndPrinting()"""
3273 return _windows
.Printout_base_OnEndPrinting(*args
, **kwargs
)
3275 def base_OnPreparePrinting(*args
, **kwargs
):
3276 """base_OnPreparePrinting()"""
3277 return _windows
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
3279 def base_HasPage(*args
, **kwargs
):
3280 """base_HasPage(int page) -> bool"""
3281 return _windows
.Printout_base_HasPage(*args
, **kwargs
)
3283 def base_GetPageInfo(*args
, **kwargs
):
3284 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
3285 return _windows
.Printout_base_GetPageInfo(*args
, **kwargs
)
3288 class PrintoutPtr(Printout
):
3289 def __init__(self
, this
):
3291 if not hasattr(self
,"thisown"): self
.thisown
= 0
3292 self
.__class
__ = Printout
3293 _windows
.Printout_swigregister(PrintoutPtr
)
3295 class PreviewCanvas(ScrolledWindow
):
3298 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3299 def __init__(self
, *args
, **kwargs
):
3300 """__init__(PrintPreview preview, Window parent, Point pos=DefaultPosition,
3301 Size size=DefaultSize, long style=0,
3302 wxString name=wxPyPreviewCanvasNameStr) -> PreviewCanvas"""
3303 newobj
= _windows
.new_PreviewCanvas(*args
, **kwargs
)
3304 self
.this
= newobj
.this
3307 self
._setOORInfo
(self
)
3310 class PreviewCanvasPtr(PreviewCanvas
):
3311 def __init__(self
, this
):
3313 if not hasattr(self
,"thisown"): self
.thisown
= 0
3314 self
.__class
__ = PreviewCanvas
3315 _windows
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
3317 class PreviewFrame(Frame
):
3320 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3321 def __init__(self
, *args
, **kwargs
):
3322 """__init__(PrintPreview preview, Frame parent, wxString title,
3323 Point pos=DefaultPosition, Size size=DefaultSize,
3324 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PreviewFrame"""
3325 newobj
= _windows
.new_PreviewFrame(*args
, **kwargs
)
3326 self
.this
= newobj
.this
3329 self
._setOORInfo
(self
)
3331 def Initialize(*args
, **kwargs
):
3333 return _windows
.PreviewFrame_Initialize(*args
, **kwargs
)
3335 def CreateControlBar(*args
, **kwargs
):
3336 """CreateControlBar()"""
3337 return _windows
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
3339 def CreateCanvas(*args
, **kwargs
):
3340 """CreateCanvas()"""
3341 return _windows
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
3343 def GetControlBar(*args
, **kwargs
):
3344 """GetControlBar() -> PreviewControlBar"""
3345 return _windows
.PreviewFrame_GetControlBar(*args
, **kwargs
)
3348 class PreviewFramePtr(PreviewFrame
):
3349 def __init__(self
, this
):
3351 if not hasattr(self
,"thisown"): self
.thisown
= 0
3352 self
.__class
__ = PreviewFrame
3353 _windows
.PreviewFrame_swigregister(PreviewFramePtr
)
3355 PREVIEW_PRINT
= _windows
.PREVIEW_PRINT
3356 PREVIEW_PREVIOUS
= _windows
.PREVIEW_PREVIOUS
3357 PREVIEW_NEXT
= _windows
.PREVIEW_NEXT
3358 PREVIEW_ZOOM
= _windows
.PREVIEW_ZOOM
3359 PREVIEW_FIRST
= _windows
.PREVIEW_FIRST
3360 PREVIEW_LAST
= _windows
.PREVIEW_LAST
3361 PREVIEW_GOTO
= _windows
.PREVIEW_GOTO
3362 PREVIEW_DEFAULT
= _windows
.PREVIEW_DEFAULT
3363 ID_PREVIEW_CLOSE
= _windows
.ID_PREVIEW_CLOSE
3364 ID_PREVIEW_NEXT
= _windows
.ID_PREVIEW_NEXT
3365 ID_PREVIEW_PREVIOUS
= _windows
.ID_PREVIEW_PREVIOUS
3366 ID_PREVIEW_PRINT
= _windows
.ID_PREVIEW_PRINT
3367 ID_PREVIEW_ZOOM
= _windows
.ID_PREVIEW_ZOOM
3368 ID_PREVIEW_FIRST
= _windows
.ID_PREVIEW_FIRST
3369 ID_PREVIEW_LAST
= _windows
.ID_PREVIEW_LAST
3370 ID_PREVIEW_GOTO
= _windows
.ID_PREVIEW_GOTO
3371 class PreviewControlBar(Panel
):
3374 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3375 def __init__(self
, *args
, **kwargs
):
3376 """__init__(PrintPreview preview, long buttons, Window parent,
3377 Point pos=DefaultPosition, Size size=DefaultSize,
3378 long style=TAB_TRAVERSAL, wxString name=PanelNameStr) -> PreviewControlBar"""
3379 newobj
= _windows
.new_PreviewControlBar(*args
, **kwargs
)
3380 self
.this
= newobj
.this
3383 self
._setOORInfo
(self
)
3385 def GetZoomControl(*args
, **kwargs
):
3386 """GetZoomControl() -> int"""
3387 return _windows
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
3389 def SetZoomControl(*args
, **kwargs
):
3390 """SetZoomControl(int zoom)"""
3391 return _windows
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
3393 def GetPrintPreview(*args
, **kwargs
):
3394 """GetPrintPreview() -> PrintPreview"""
3395 return _windows
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
3397 def OnNext(*args
, **kwargs
):
3399 return _windows
.PreviewControlBar_OnNext(*args
, **kwargs
)
3401 def OnPrevious(*args
, **kwargs
):
3403 return _windows
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
3405 def OnFirst(*args
, **kwargs
):
3407 return _windows
.PreviewControlBar_OnFirst(*args
, **kwargs
)
3409 def OnLast(*args
, **kwargs
):
3411 return _windows
.PreviewControlBar_OnLast(*args
, **kwargs
)
3413 def OnGoto(*args
, **kwargs
):
3415 return _windows
.PreviewControlBar_OnGoto(*args
, **kwargs
)
3418 class PreviewControlBarPtr(PreviewControlBar
):
3419 def __init__(self
, this
):
3421 if not hasattr(self
,"thisown"): self
.thisown
= 0
3422 self
.__class
__ = PreviewControlBar
3423 _windows
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
3425 class PrintPreview(core
.Object
):
3428 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3429 def __init__(self
, *args
, **kwargs
):
3430 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PrintPreview"""
3431 newobj
= _windows
.new_PrintPreview(*args
, **kwargs
)
3432 self
.this
= newobj
.this
3435 def SetCurrentPage(*args
, **kwargs
):
3436 """SetCurrentPage(int pageNum) -> bool"""
3437 return _windows
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
3439 def GetCurrentPage(*args
, **kwargs
):
3440 """GetCurrentPage() -> int"""
3441 return _windows
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
3443 def SetPrintout(*args
, **kwargs
):
3444 """SetPrintout(Printout printout)"""
3445 return _windows
.PrintPreview_SetPrintout(*args
, **kwargs
)
3447 def GetPrintout(*args
, **kwargs
):
3448 """GetPrintout() -> Printout"""
3449 return _windows
.PrintPreview_GetPrintout(*args
, **kwargs
)
3451 def GetPrintoutForPrinting(*args
, **kwargs
):
3452 """GetPrintoutForPrinting() -> Printout"""
3453 return _windows
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
3455 def SetFrame(*args
, **kwargs
):
3456 """SetFrame(Frame frame)"""
3457 return _windows
.PrintPreview_SetFrame(*args
, **kwargs
)
3459 def SetCanvas(*args
, **kwargs
):
3460 """SetCanvas(PreviewCanvas canvas)"""
3461 return _windows
.PrintPreview_SetCanvas(*args
, **kwargs
)
3463 def GetFrame(*args
, **kwargs
):
3464 """GetFrame() -> Frame"""
3465 return _windows
.PrintPreview_GetFrame(*args
, **kwargs
)
3467 def GetCanvas(*args
, **kwargs
):
3468 """GetCanvas() -> PreviewCanvas"""
3469 return _windows
.PrintPreview_GetCanvas(*args
, **kwargs
)
3471 def PaintPage(*args
, **kwargs
):
3472 """PaintPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3473 return _windows
.PrintPreview_PaintPage(*args
, **kwargs
)
3475 def DrawBlankPage(*args
, **kwargs
):
3476 """DrawBlankPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3477 return _windows
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
3479 def RenderPage(*args
, **kwargs
):
3480 """RenderPage(int pageNum) -> bool"""
3481 return _windows
.PrintPreview_RenderPage(*args
, **kwargs
)
3483 def AdjustScrollbars(*args
, **kwargs
):
3484 """AdjustScrollbars(PreviewCanvas canvas)"""
3485 return _windows
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
3487 def GetPrintDialogData(*args
, **kwargs
):
3488 """GetPrintDialogData() -> PrintDialogData"""
3489 return _windows
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
3491 def SetZoom(*args
, **kwargs
):
3492 """SetZoom(int percent)"""
3493 return _windows
.PrintPreview_SetZoom(*args
, **kwargs
)
3495 def GetZoom(*args
, **kwargs
):
3496 """GetZoom() -> int"""
3497 return _windows
.PrintPreview_GetZoom(*args
, **kwargs
)
3499 def GetMaxPage(*args
, **kwargs
):
3500 """GetMaxPage() -> int"""
3501 return _windows
.PrintPreview_GetMaxPage(*args
, **kwargs
)
3503 def GetMinPage(*args
, **kwargs
):
3504 """GetMinPage() -> int"""
3505 return _windows
.PrintPreview_GetMinPage(*args
, **kwargs
)
3507 def Ok(*args
, **kwargs
):
3509 return _windows
.PrintPreview_Ok(*args
, **kwargs
)
3511 def SetOk(*args
, **kwargs
):
3512 """SetOk(bool ok)"""
3513 return _windows
.PrintPreview_SetOk(*args
, **kwargs
)
3515 def Print(*args
, **kwargs
):
3516 """Print(bool interactive) -> bool"""
3517 return _windows
.PrintPreview_Print(*args
, **kwargs
)
3519 def DetermineScaling(*args
, **kwargs
):
3520 """DetermineScaling()"""
3521 return _windows
.PrintPreview_DetermineScaling(*args
, **kwargs
)
3523 def __nonzero__(self
): return self
.Ok()
3525 class PrintPreviewPtr(PrintPreview
):
3526 def __init__(self
, this
):
3528 if not hasattr(self
,"thisown"): self
.thisown
= 0
3529 self
.__class
__ = PrintPreview
3530 _windows
.PrintPreview_swigregister(PrintPreviewPtr
)
3532 class PyPrintPreview(PrintPreview
):
3535 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3536 def __init__(self
, *args
, **kwargs
):
3537 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PyPrintPreview"""
3538 newobj
= _windows
.new_PyPrintPreview(*args
, **kwargs
)
3539 self
.this
= newobj
.this
3542 self
._setCallbackInfo
(self
, PyPrintPreview
)
3544 def _setCallbackInfo(*args
, **kwargs
):
3545 """_setCallbackInfo(PyObject self, PyObject _class)"""
3546 return _windows
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
3548 def base_SetCurrentPage(*args
, **kwargs
):
3549 """base_SetCurrentPage(int pageNum) -> bool"""
3550 return _windows
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
3552 def base_PaintPage(*args
, **kwargs
):
3553 """base_PaintPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3554 return _windows
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
3556 def base_DrawBlankPage(*args
, **kwargs
):
3557 """base_DrawBlankPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3558 return _windows
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
3560 def base_RenderPage(*args
, **kwargs
):
3561 """base_RenderPage(int pageNum) -> bool"""
3562 return _windows
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
3564 def base_SetZoom(*args
, **kwargs
):
3565 """base_SetZoom(int percent)"""
3566 return _windows
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
3568 def base_Print(*args
, **kwargs
):
3569 """base_Print(bool interactive) -> bool"""
3570 return _windows
.PyPrintPreview_base_Print(*args
, **kwargs
)
3572 def base_DetermineScaling(*args
, **kwargs
):
3573 """base_DetermineScaling()"""
3574 return _windows
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
3577 class PyPrintPreviewPtr(PyPrintPreview
):
3578 def __init__(self
, this
):
3580 if not hasattr(self
,"thisown"): self
.thisown
= 0
3581 self
.__class
__ = PyPrintPreview
3582 _windows
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
3584 class PyPreviewFrame(PreviewFrame
):
3587 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3588 def __init__(self
, *args
, **kwargs
):
3589 """__init__(PrintPreview preview, Frame parent, wxString title,
3590 Point pos=DefaultPosition, Size size=DefaultSize,
3591 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PyPreviewFrame"""
3592 newobj
= _windows
.new_PyPreviewFrame(*args
, **kwargs
)
3593 self
.this
= newobj
.this
3596 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
3598 def _setCallbackInfo(*args
, **kwargs
):
3599 """_setCallbackInfo(PyObject self, PyObject _class)"""
3600 return _windows
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
3602 def SetPreviewCanvas(*args
, **kwargs
):
3603 """SetPreviewCanvas(PreviewCanvas canvas)"""
3604 return _windows
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
3606 def SetControlBar(*args
, **kwargs
):
3607 """SetControlBar(PreviewControlBar bar)"""
3608 return _windows
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
3610 def base_Initialize(*args
, **kwargs
):
3611 """base_Initialize()"""
3612 return _windows
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
3614 def base_CreateCanvas(*args
, **kwargs
):
3615 """base_CreateCanvas()"""
3616 return _windows
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
3618 def base_CreateControlBar(*args
, **kwargs
):
3619 """base_CreateControlBar()"""
3620 return _windows
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
3623 class PyPreviewFramePtr(PyPreviewFrame
):
3624 def __init__(self
, this
):
3626 if not hasattr(self
,"thisown"): self
.thisown
= 0
3627 self
.__class
__ = PyPreviewFrame
3628 _windows
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
3630 class PyPreviewControlBar(PreviewControlBar
):
3633 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3634 def __init__(self
, *args
, **kwargs
):
3635 """__init__(PrintPreview preview, long buttons, Window parent,
3636 Point pos=DefaultPosition, Size size=DefaultSize,
3637 long style=0, wxString name=PanelNameStr) -> PyPreviewControlBar"""
3638 newobj
= _windows
.new_PyPreviewControlBar(*args
, **kwargs
)
3639 self
.this
= newobj
.this
3642 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
3644 def _setCallbackInfo(*args
, **kwargs
):
3645 """_setCallbackInfo(PyObject self, PyObject _class)"""
3646 return _windows
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
3648 def SetPrintPreview(*args
, **kwargs
):
3649 """SetPrintPreview(PrintPreview preview)"""
3650 return _windows
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
3652 def base_CreateButtons(*args
, **kwargs
):
3653 """base_CreateButtons()"""
3654 return _windows
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
3656 def base_SetZoomControl(*args
, **kwargs
):
3657 """base_SetZoomControl(int zoom)"""
3658 return _windows
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
3661 class PyPreviewControlBarPtr(PyPreviewControlBar
):
3662 def __init__(self
, this
):
3664 if not hasattr(self
,"thisown"): self
.thisown
= 0
3665 self
.__class
__ = PyPreviewControlBar
3666 _windows
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)