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
):
12 return "<%s.%s; proxy of C++ wxPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
13 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
19 newobj
= _windows
.new_Panel(*args
, **kwargs
)
20 self
.this
= newobj
.this
23 self
._setOORInfo
(self
)
25 def Create(*args
, **kwargs
):
27 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
28 long style=wxTAB_TRAVERSAL|wxNO_BORDER,
29 wxString name=PanelNameStr) -> bool
31 return _windows
.Panel_Create(*args
, **kwargs
)
33 def InitDialog(*args
, **kwargs
):
35 return _windows
.Panel_InitDialog(*args
, **kwargs
)
38 class PanelPtr(Panel
):
39 def __init__(self
, this
):
41 if not hasattr(self
,"thisown"): self
.thisown
= 0
42 self
.__class
__ = Panel
43 _windows
.Panel_swigregister(PanelPtr
)
45 def PrePanel(*args
, **kwargs
):
46 """PrePanel() -> Panel"""
47 val
= _windows
.new_PrePanel(*args
, **kwargs
)
51 #---------------------------------------------------------------------------
53 class ScrolledWindow(Panel
):
55 return "<%s.%s; proxy of C++ wxScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
56 def __init__(self
, *args
, **kwargs
):
58 __init__(Window parent, int id=-1, Point pos=DefaultPosition,
59 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
60 wxString name=PanelNameStr) -> ScrolledWindow
62 newobj
= _windows
.new_ScrolledWindow(*args
, **kwargs
)
63 self
.this
= newobj
.this
66 self
._setOORInfo
(self
)
68 def Create(*args
, **kwargs
):
70 Create(Window parent, int id=-1, Point pos=DefaultPosition,
71 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
72 wxString name=PanelNameStr) -> bool
74 return _windows
.ScrolledWindow_Create(*args
, **kwargs
)
76 def SetScrollbars(*args
, **kwargs
):
78 SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX,
79 int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)
81 return _windows
.ScrolledWindow_SetScrollbars(*args
, **kwargs
)
83 def Scroll(*args
, **kwargs
):
84 """Scroll(int x, int y)"""
85 return _windows
.ScrolledWindow_Scroll(*args
, **kwargs
)
87 def GetScrollPageSize(*args
, **kwargs
):
88 """GetScrollPageSize(int orient) -> int"""
89 return _windows
.ScrolledWindow_GetScrollPageSize(*args
, **kwargs
)
91 def SetScrollPageSize(*args
, **kwargs
):
92 """SetScrollPageSize(int orient, int pageSize)"""
93 return _windows
.ScrolledWindow_SetScrollPageSize(*args
, **kwargs
)
95 def SetScrollRate(*args
, **kwargs
):
96 """SetScrollRate(int xstep, int ystep)"""
97 return _windows
.ScrolledWindow_SetScrollRate(*args
, **kwargs
)
99 def GetScrollPixelsPerUnit(*args
, **kwargs
):
101 GetScrollPixelsPerUnit() -> (xUnit, yUnit)
103 Get the size of one logical unit in physical units.
105 return _windows
.ScrolledWindow_GetScrollPixelsPerUnit(*args
, **kwargs
)
107 def EnableScrolling(*args
, **kwargs
):
108 """EnableScrolling(bool x_scrolling, bool y_scrolling)"""
109 return _windows
.ScrolledWindow_EnableScrolling(*args
, **kwargs
)
111 def GetViewStart(*args
, **kwargs
):
113 GetViewStart() -> (x,y)
117 return _windows
.ScrolledWindow_GetViewStart(*args
, **kwargs
)
119 def SetScale(*args
, **kwargs
):
120 """SetScale(double xs, double ys)"""
121 return _windows
.ScrolledWindow_SetScale(*args
, **kwargs
)
123 def GetScaleX(*args
, **kwargs
):
124 """GetScaleX() -> double"""
125 return _windows
.ScrolledWindow_GetScaleX(*args
, **kwargs
)
127 def GetScaleY(*args
, **kwargs
):
128 """GetScaleY() -> double"""
129 return _windows
.ScrolledWindow_GetScaleY(*args
, **kwargs
)
131 def CalcScrolledPosition(*args
):
133 CalcScrolledPosition(Point pt) -> Point
134 CalcScrolledPosition(int x, int y) -> (sx, sy)
136 Translate between scrolled and unscrolled coordinates.
138 return _windows
.ScrolledWindow_CalcScrolledPosition(*args
)
140 def CalcUnscrolledPosition(*args
):
142 CalcUnscrolledPosition(Point pt) -> Point
143 CalcUnscrolledPosition(int x, int y) -> (ux, uy)
145 Translate between scrolled and unscrolled coordinates.
147 return _windows
.ScrolledWindow_CalcUnscrolledPosition(*args
)
149 def AdjustScrollbars(*args
, **kwargs
):
150 """AdjustScrollbars()"""
151 return _windows
.ScrolledWindow_AdjustScrollbars(*args
, **kwargs
)
153 def CalcScrollInc(*args
, **kwargs
):
154 """CalcScrollInc(ScrollWinEvent event) -> int"""
155 return _windows
.ScrolledWindow_CalcScrollInc(*args
, **kwargs
)
157 def SetTargetWindow(*args
, **kwargs
):
158 """SetTargetWindow(Window target)"""
159 return _windows
.ScrolledWindow_SetTargetWindow(*args
, **kwargs
)
161 def GetTargetWindow(*args
, **kwargs
):
162 """GetTargetWindow() -> Window"""
163 return _windows
.ScrolledWindow_GetTargetWindow(*args
, **kwargs
)
165 def SetTargetRect(*args
, **kwargs
):
166 """SetTargetRect(Rect rect)"""
167 return _windows
.ScrolledWindow_SetTargetRect(*args
, **kwargs
)
169 def GetTargetRect(*args
, **kwargs
):
170 """GetTargetRect() -> Rect"""
171 return _windows
.ScrolledWindow_GetTargetRect(*args
, **kwargs
)
174 class ScrolledWindowPtr(ScrolledWindow
):
175 def __init__(self
, this
):
177 if not hasattr(self
,"thisown"): self
.thisown
= 0
178 self
.__class
__ = ScrolledWindow
179 _windows
.ScrolledWindow_swigregister(ScrolledWindowPtr
)
181 def PreScrolledWindow(*args
, **kwargs
):
182 """PreScrolledWindow() -> ScrolledWindow"""
183 val
= _windows
.new_PreScrolledWindow(*args
, **kwargs
)
187 #---------------------------------------------------------------------------
189 FULLSCREEN_NOMENUBAR
= _windows
.FULLSCREEN_NOMENUBAR
190 FULLSCREEN_NOTOOLBAR
= _windows
.FULLSCREEN_NOTOOLBAR
191 FULLSCREEN_NOSTATUSBAR
= _windows
.FULLSCREEN_NOSTATUSBAR
192 FULLSCREEN_NOBORDER
= _windows
.FULLSCREEN_NOBORDER
193 FULLSCREEN_NOCAPTION
= _windows
.FULLSCREEN_NOCAPTION
194 FULLSCREEN_ALL
= _windows
.FULLSCREEN_ALL
195 TOPLEVEL_EX_DIALOG
= _windows
.TOPLEVEL_EX_DIALOG
196 class TopLevelWindow(core
.Window
):
197 def __init__(self
): raise RuntimeError, "No constructor defined"
199 return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
200 def Maximize(*args
, **kwargs
):
201 """Maximize(bool maximize=True)"""
202 return _windows
.TopLevelWindow_Maximize(*args
, **kwargs
)
204 def Restore(*args
, **kwargs
):
206 return _windows
.TopLevelWindow_Restore(*args
, **kwargs
)
208 def Iconize(*args
, **kwargs
):
209 """Iconize(bool iconize=True)"""
210 return _windows
.TopLevelWindow_Iconize(*args
, **kwargs
)
212 def IsMaximized(*args
, **kwargs
):
213 """IsMaximized() -> bool"""
214 return _windows
.TopLevelWindow_IsMaximized(*args
, **kwargs
)
216 def IsIconized(*args
, **kwargs
):
217 """IsIconized() -> bool"""
218 return _windows
.TopLevelWindow_IsIconized(*args
, **kwargs
)
220 def GetIcon(*args
, **kwargs
):
221 """GetIcon() -> wxIcon"""
222 return _windows
.TopLevelWindow_GetIcon(*args
, **kwargs
)
224 def SetIcon(*args
, **kwargs
):
225 """SetIcon(wxIcon icon)"""
226 return _windows
.TopLevelWindow_SetIcon(*args
, **kwargs
)
228 def SetIcons(*args
, **kwargs
):
229 """SetIcons(wxIconBundle icons)"""
230 return _windows
.TopLevelWindow_SetIcons(*args
, **kwargs
)
232 def ShowFullScreen(*args
, **kwargs
):
233 """ShowFullScreen(bool show, long style=FULLSCREEN_ALL) -> bool"""
234 return _windows
.TopLevelWindow_ShowFullScreen(*args
, **kwargs
)
236 def IsFullScreen(*args
, **kwargs
):
237 """IsFullScreen() -> bool"""
238 return _windows
.TopLevelWindow_IsFullScreen(*args
, **kwargs
)
240 def SetTitle(*args
, **kwargs
):
241 """SetTitle(wxString title)"""
242 return _windows
.TopLevelWindow_SetTitle(*args
, **kwargs
)
244 def GetTitle(*args
, **kwargs
):
245 """GetTitle() -> wxString"""
246 return _windows
.TopLevelWindow_GetTitle(*args
, **kwargs
)
248 def SetShape(*args
, **kwargs
):
249 """SetShape(wxRegion region) -> bool"""
250 return _windows
.TopLevelWindow_SetShape(*args
, **kwargs
)
253 class TopLevelWindowPtr(TopLevelWindow
):
254 def __init__(self
, this
):
256 if not hasattr(self
,"thisown"): self
.thisown
= 0
257 self
.__class
__ = TopLevelWindow
258 _windows
.TopLevelWindow_swigregister(TopLevelWindowPtr
)
260 #---------------------------------------------------------------------------
262 class Frame(TopLevelWindow
):
264 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
265 def __init__(self
, *args
, **kwargs
):
267 __init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
268 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
269 wxString name=wxPyFrameNameStr) -> Frame
271 newobj
= _windows
.new_Frame(*args
, **kwargs
)
272 self
.this
= newobj
.this
275 self
._setOORInfo
(self
)
277 def Create(*args
, **kwargs
):
279 Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
280 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
281 wxString name=wxPyFrameNameStr) -> bool
283 return _windows
.Frame_Create(*args
, **kwargs
)
285 def GetClientAreaOrigin(*args
, **kwargs
):
286 """GetClientAreaOrigin() -> Point"""
287 return _windows
.Frame_GetClientAreaOrigin(*args
, **kwargs
)
289 def SendSizeEvent(*args
, **kwargs
):
290 """SendSizeEvent()"""
291 return _windows
.Frame_SendSizeEvent(*args
, **kwargs
)
293 def SetMenuBar(*args
, **kwargs
):
294 """SetMenuBar(MenuBar menubar)"""
295 return _windows
.Frame_SetMenuBar(*args
, **kwargs
)
297 def GetMenuBar(*args
, **kwargs
):
298 """GetMenuBar() -> MenuBar"""
299 return _windows
.Frame_GetMenuBar(*args
, **kwargs
)
301 def ProcessCommand(*args
, **kwargs
):
302 """ProcessCommand(int winid) -> bool"""
303 return _windows
.Frame_ProcessCommand(*args
, **kwargs
)
305 Command
= ProcessCommand
306 def CreateStatusBar(*args
, **kwargs
):
308 CreateStatusBar(int number=1, long style=ST_SIZEGRIP, int winid=0,
309 wxString name=wxPyStatusLineNameStr) -> StatusBar
311 return _windows
.Frame_CreateStatusBar(*args
, **kwargs
)
313 def GetStatusBar(*args
, **kwargs
):
314 """GetStatusBar() -> StatusBar"""
315 return _windows
.Frame_GetStatusBar(*args
, **kwargs
)
317 def SetStatusBar(*args
, **kwargs
):
318 """SetStatusBar(StatusBar statBar)"""
319 return _windows
.Frame_SetStatusBar(*args
, **kwargs
)
321 def SetStatusText(*args
, **kwargs
):
322 """SetStatusText(wxString text, int number=0)"""
323 return _windows
.Frame_SetStatusText(*args
, **kwargs
)
325 def SetStatusWidths(*args
, **kwargs
):
326 """SetStatusWidths(int widths, int widths_field)"""
327 return _windows
.Frame_SetStatusWidths(*args
, **kwargs
)
329 def PushStatusText(*args
, **kwargs
):
330 """PushStatusText(wxString text, int number=0)"""
331 return _windows
.Frame_PushStatusText(*args
, **kwargs
)
333 def PopStatusText(*args
, **kwargs
):
334 """PopStatusText(int number=0)"""
335 return _windows
.Frame_PopStatusText(*args
, **kwargs
)
337 def SetStatusBarPane(*args
, **kwargs
):
338 """SetStatusBarPane(int n)"""
339 return _windows
.Frame_SetStatusBarPane(*args
, **kwargs
)
341 def GetStatusBarPane(*args
, **kwargs
):
342 """GetStatusBarPane() -> int"""
343 return _windows
.Frame_GetStatusBarPane(*args
, **kwargs
)
345 def CreateToolBar(*args
, **kwargs
):
346 """CreateToolBar(long style=-1, int winid=-1, wxString name=wxPyToolBarNameStr) -> wxToolBar"""
347 return _windows
.Frame_CreateToolBar(*args
, **kwargs
)
349 def GetToolBar(*args
, **kwargs
):
350 """GetToolBar() -> wxToolBar"""
351 return _windows
.Frame_GetToolBar(*args
, **kwargs
)
353 def SetToolBar(*args
, **kwargs
):
354 """SetToolBar(wxToolBar toolbar)"""
355 return _windows
.Frame_SetToolBar(*args
, **kwargs
)
357 def DoGiveHelp(*args
, **kwargs
):
358 """DoGiveHelp(wxString text, bool show)"""
359 return _windows
.Frame_DoGiveHelp(*args
, **kwargs
)
361 def DoMenuUpdates(*args
, **kwargs
):
362 """DoMenuUpdates(Menu menu=None)"""
363 return _windows
.Frame_DoMenuUpdates(*args
, **kwargs
)
366 class FramePtr(Frame
):
367 def __init__(self
, this
):
369 if not hasattr(self
,"thisown"): self
.thisown
= 0
370 self
.__class
__ = Frame
371 _windows
.Frame_swigregister(FramePtr
)
373 def PreFrame(*args
, **kwargs
):
374 """PreFrame() -> Frame"""
375 val
= _windows
.new_PreFrame(*args
, **kwargs
)
379 #---------------------------------------------------------------------------
381 class Dialog(TopLevelWindow
):
383 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
384 def __init__(self
, *args
, **kwargs
):
386 __init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
387 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
388 wxString name=wxPyDialogNameStr) -> Dialog
390 newobj
= _windows
.new_Dialog(*args
, **kwargs
)
391 self
.this
= newobj
.this
394 self
._setOORInfo
(self
)
396 def Create(*args
, **kwargs
):
398 Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
399 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
400 wxString name=wxPyDialogNameStr) -> bool
402 return _windows
.Dialog_Create(*args
, **kwargs
)
404 def SetReturnCode(*args
, **kwargs
):
405 """SetReturnCode(int returnCode)"""
406 return _windows
.Dialog_SetReturnCode(*args
, **kwargs
)
408 def GetReturnCode(*args
, **kwargs
):
409 """GetReturnCode() -> int"""
410 return _windows
.Dialog_GetReturnCode(*args
, **kwargs
)
412 def CreateTextSizer(*args
, **kwargs
):
413 """CreateTextSizer(wxString message) -> Sizer"""
414 return _windows
.Dialog_CreateTextSizer(*args
, **kwargs
)
416 def CreateButtonSizer(*args
, **kwargs
):
417 """CreateButtonSizer(long flags) -> Sizer"""
418 return _windows
.Dialog_CreateButtonSizer(*args
, **kwargs
)
420 def SetModal(*args
, **kwargs
):
421 """SetModal(bool flag)"""
422 return _windows
.Dialog_SetModal(*args
, **kwargs
)
424 def IsModal(*args
, **kwargs
):
425 """IsModal() -> bool"""
426 return _windows
.Dialog_IsModal(*args
, **kwargs
)
428 def ShowModal(*args
, **kwargs
):
429 """ShowModal() -> int"""
430 return _windows
.Dialog_ShowModal(*args
, **kwargs
)
432 def EndModal(*args
, **kwargs
):
433 """EndModal(int retCode)"""
434 return _windows
.Dialog_EndModal(*args
, **kwargs
)
436 def IsModalShowing(*args
, **kwargs
):
437 """IsModalShowing() -> bool"""
438 return _windows
.Dialog_IsModalShowing(*args
, **kwargs
)
441 class DialogPtr(Dialog
):
442 def __init__(self
, this
):
444 if not hasattr(self
,"thisown"): self
.thisown
= 0
445 self
.__class
__ = Dialog
446 _windows
.Dialog_swigregister(DialogPtr
)
448 def PreDialog(*args
, **kwargs
):
449 """PreDialog() -> Dialog"""
450 val
= _windows
.new_PreDialog(*args
, **kwargs
)
454 #---------------------------------------------------------------------------
456 class MiniFrame(Frame
):
458 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
459 def __init__(self
, *args
, **kwargs
):
461 __init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
462 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
463 wxString name=wxPyFrameNameStr) -> MiniFrame
465 newobj
= _windows
.new_MiniFrame(*args
, **kwargs
)
466 self
.this
= newobj
.this
469 self
._setOORInfo
(self
)
471 def Create(*args
, **kwargs
):
473 Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
474 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
475 wxString name=wxPyFrameNameStr) -> bool
477 return _windows
.MiniFrame_Create(*args
, **kwargs
)
480 class MiniFramePtr(MiniFrame
):
481 def __init__(self
, this
):
483 if not hasattr(self
,"thisown"): self
.thisown
= 0
484 self
.__class
__ = MiniFrame
485 _windows
.MiniFrame_swigregister(MiniFramePtr
)
487 def PreMiniFrame(*args
, **kwargs
):
488 """PreMiniFrame() -> MiniFrame"""
489 val
= _windows
.new_PreMiniFrame(*args
, **kwargs
)
493 #---------------------------------------------------------------------------
495 SPLASH_CENTRE_ON_PARENT
= _windows
.SPLASH_CENTRE_ON_PARENT
496 SPLASH_CENTRE_ON_SCREEN
= _windows
.SPLASH_CENTRE_ON_SCREEN
497 SPLASH_NO_CENTRE
= _windows
.SPLASH_NO_CENTRE
498 SPLASH_TIMEOUT
= _windows
.SPLASH_TIMEOUT
499 SPLASH_NO_TIMEOUT
= _windows
.SPLASH_NO_TIMEOUT
500 class SplashScreenWindow(core
.Window
):
502 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
503 def __init__(self
, *args
, **kwargs
):
505 __init__(wxBitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
506 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
508 newobj
= _windows
.new_SplashScreenWindow(*args
, **kwargs
)
509 self
.this
= newobj
.this
512 self
._setOORInfo
(self
)
514 def SetBitmap(*args
, **kwargs
):
515 """SetBitmap(wxBitmap bitmap)"""
516 return _windows
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
518 def GetBitmap(*args
, **kwargs
):
519 """GetBitmap() -> wxBitmap"""
520 return _windows
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
523 class SplashScreenWindowPtr(SplashScreenWindow
):
524 def __init__(self
, this
):
526 if not hasattr(self
,"thisown"): self
.thisown
= 0
527 self
.__class
__ = SplashScreenWindow
528 _windows
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
530 class SplashScreen(Frame
):
532 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
533 def __init__(self
, *args
, **kwargs
):
535 __init__(wxBitmap bitmap, long splashStyle, int milliseconds,
536 Window parent, int id, Point pos=DefaultPosition,
537 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
539 newobj
= _windows
.new_SplashScreen(*args
, **kwargs
)
540 self
.this
= newobj
.this
543 self
._setOORInfo
(self
)
545 def GetSplashStyle(*args
, **kwargs
):
546 """GetSplashStyle() -> long"""
547 return _windows
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
549 def GetSplashWindow(*args
, **kwargs
):
550 """GetSplashWindow() -> SplashScreenWindow"""
551 return _windows
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
553 def GetTimeout(*args
, **kwargs
):
554 """GetTimeout() -> int"""
555 return _windows
.SplashScreen_GetTimeout(*args
, **kwargs
)
558 class SplashScreenPtr(SplashScreen
):
559 def __init__(self
, this
):
561 if not hasattr(self
,"thisown"): self
.thisown
= 0
562 self
.__class
__ = SplashScreen
563 _windows
.SplashScreen_swigregister(SplashScreenPtr
)
565 #---------------------------------------------------------------------------
567 class StatusBar(core
.Window
):
569 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
570 def __init__(self
, *args
, **kwargs
):
571 """__init__(Window parent, int id=-1, long style=ST_SIZEGRIP, wxString name=wxPyStatusLineNameStr) -> StatusBar"""
572 newobj
= _windows
.new_StatusBar(*args
, **kwargs
)
573 self
.this
= newobj
.this
576 self
._setOORInfo
(self
)
578 def Create(*args
, **kwargs
):
579 """Create(Window parent, int id, long style=ST_SIZEGRIP, wxString name=wxPyStatusLineNameStr) -> bool"""
580 return _windows
.StatusBar_Create(*args
, **kwargs
)
582 def SetFieldsCount(*args
, **kwargs
):
583 """SetFieldsCount(int number=1)"""
584 return _windows
.StatusBar_SetFieldsCount(*args
, **kwargs
)
586 def GetFieldsCount(*args
, **kwargs
):
587 """GetFieldsCount() -> int"""
588 return _windows
.StatusBar_GetFieldsCount(*args
, **kwargs
)
590 def SetStatusText(*args
, **kwargs
):
591 """SetStatusText(wxString text, int number=0)"""
592 return _windows
.StatusBar_SetStatusText(*args
, **kwargs
)
594 def GetStatusText(*args
, **kwargs
):
595 """GetStatusText(int number=0) -> wxString"""
596 return _windows
.StatusBar_GetStatusText(*args
, **kwargs
)
598 def PushStatusText(*args
, **kwargs
):
599 """PushStatusText(wxString text, int number=0)"""
600 return _windows
.StatusBar_PushStatusText(*args
, **kwargs
)
602 def PopStatusText(*args
, **kwargs
):
603 """PopStatusText(int number=0)"""
604 return _windows
.StatusBar_PopStatusText(*args
, **kwargs
)
606 def SetStatusWidths(*args
, **kwargs
):
607 """SetStatusWidths(int widths, int widths_field)"""
608 return _windows
.StatusBar_SetStatusWidths(*args
, **kwargs
)
610 def GetFieldRect(*args
, **kwargs
):
611 """GetFieldRect(int i) -> Rect"""
612 return _windows
.StatusBar_GetFieldRect(*args
, **kwargs
)
614 def SetMinHeight(*args
, **kwargs
):
615 """SetMinHeight(int height)"""
616 return _windows
.StatusBar_SetMinHeight(*args
, **kwargs
)
618 def GetBorderX(*args
, **kwargs
):
619 """GetBorderX() -> int"""
620 return _windows
.StatusBar_GetBorderX(*args
, **kwargs
)
622 def GetBorderY(*args
, **kwargs
):
623 """GetBorderY() -> int"""
624 return _windows
.StatusBar_GetBorderY(*args
, **kwargs
)
627 class StatusBarPtr(StatusBar
):
628 def __init__(self
, this
):
630 if not hasattr(self
,"thisown"): self
.thisown
= 0
631 self
.__class
__ = StatusBar
632 _windows
.StatusBar_swigregister(StatusBarPtr
)
634 def PreStatusBar(*args
, **kwargs
):
635 """PreStatusBar() -> StatusBar"""
636 val
= _windows
.new_PreStatusBar(*args
, **kwargs
)
640 #---------------------------------------------------------------------------
642 SP_NOBORDER
= _windows
.SP_NOBORDER
643 SP_NOSASH
= _windows
.SP_NOSASH
644 SP_PERMIT_UNSPLIT
= _windows
.SP_PERMIT_UNSPLIT
645 SP_LIVE_UPDATE
= _windows
.SP_LIVE_UPDATE
646 SP_3DSASH
= _windows
.SP_3DSASH
647 SP_3DBORDER
= _windows
.SP_3DBORDER
648 SP_BORDER
= _windows
.SP_BORDER
649 SP_3D
= _windows
.SP_3D
650 SPLIT_HORIZONTAL
= _windows
.SPLIT_HORIZONTAL
651 SPLIT_VERTICAL
= _windows
.SPLIT_VERTICAL
652 SPLIT_DRAG_NONE
= _windows
.SPLIT_DRAG_NONE
653 SPLIT_DRAG_DRAGGING
= _windows
.SPLIT_DRAG_DRAGGING
654 SPLIT_DRAG_LEFT_DOWN
= _windows
.SPLIT_DRAG_LEFT_DOWN
655 class SplitterWindow(core
.Window
):
657 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
658 def __init__(self
, *args
, **kwargs
):
660 __init__(Window parent, int id, Point point=DefaultPosition,
661 Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> SplitterWindow
663 newobj
= _windows
.new_SplitterWindow(*args
, **kwargs
)
664 self
.this
= newobj
.this
667 self
._setOORInfo
(self
)
669 def Create(*args
, **kwargs
):
671 Create(Window parent, int id, Point point=DefaultPosition,
672 Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> bool
674 return _windows
.SplitterWindow_Create(*args
, **kwargs
)
676 def GetWindow1(*args
, **kwargs
):
677 """GetWindow1() -> Window"""
678 return _windows
.SplitterWindow_GetWindow1(*args
, **kwargs
)
680 def GetWindow2(*args
, **kwargs
):
681 """GetWindow2() -> Window"""
682 return _windows
.SplitterWindow_GetWindow2(*args
, **kwargs
)
684 def SetSplitMode(*args
, **kwargs
):
685 """SetSplitMode(int mode)"""
686 return _windows
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
688 def GetSplitMode(*args
, **kwargs
):
689 """GetSplitMode() -> wxSplitMode"""
690 return _windows
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
692 def Initialize(*args
, **kwargs
):
693 """Initialize(Window window)"""
694 return _windows
.SplitterWindow_Initialize(*args
, **kwargs
)
696 def SplitVertically(*args
, **kwargs
):
697 """SplitVertically(Window window1, Window window2, int sashPosition=0) -> bool"""
698 return _windows
.SplitterWindow_SplitVertically(*args
, **kwargs
)
700 def SplitHorizontally(*args
, **kwargs
):
701 """SplitHorizontally(Window window1, Window window2, int sashPosition=0) -> bool"""
702 return _windows
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
704 def Unsplit(*args
, **kwargs
):
705 """Unsplit(Window toRemove=None) -> bool"""
706 return _windows
.SplitterWindow_Unsplit(*args
, **kwargs
)
708 def ReplaceWindow(*args
, **kwargs
):
709 """ReplaceWindow(Window winOld, Window winNew) -> bool"""
710 return _windows
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
712 def IsSplit(*args
, **kwargs
):
713 """IsSplit() -> bool"""
714 return _windows
.SplitterWindow_IsSplit(*args
, **kwargs
)
716 def SetSashSize(*args
, **kwargs
):
717 """SetSashSize(int width)"""
718 return _windows
.SplitterWindow_SetSashSize(*args
, **kwargs
)
720 def SetBorderSize(*args
, **kwargs
):
721 """SetBorderSize(int width)"""
722 return _windows
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
724 def GetSashSize(*args
, **kwargs
):
725 """GetSashSize() -> int"""
726 return _windows
.SplitterWindow_GetSashSize(*args
, **kwargs
)
728 def GetBorderSize(*args
, **kwargs
):
729 """GetBorderSize() -> int"""
730 return _windows
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
732 def SetSashPosition(*args
, **kwargs
):
733 """SetSashPosition(int position, bool redraw=True)"""
734 return _windows
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
736 def GetSashPosition(*args
, **kwargs
):
737 """GetSashPosition() -> int"""
738 return _windows
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
740 def SetMinimumPaneSize(*args
, **kwargs
):
741 """SetMinimumPaneSize(int min)"""
742 return _windows
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
744 def GetMinimumPaneSize(*args
, **kwargs
):
745 """GetMinimumPaneSize() -> int"""
746 return _windows
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
748 def SashHitTest(*args
, **kwargs
):
749 """SashHitTest(int x, int y, int tolerance=5) -> bool"""
750 return _windows
.SplitterWindow_SashHitTest(*args
, **kwargs
)
752 def SizeWindows(*args
, **kwargs
):
754 return _windows
.SplitterWindow_SizeWindows(*args
, **kwargs
)
756 def SetNeedUpdating(*args
, **kwargs
):
757 """SetNeedUpdating(bool needUpdating)"""
758 return _windows
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
760 def GetNeedUpdating(*args
, **kwargs
):
761 """GetNeedUpdating() -> bool"""
762 return _windows
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
765 class SplitterWindowPtr(SplitterWindow
):
766 def __init__(self
, this
):
768 if not hasattr(self
,"thisown"): self
.thisown
= 0
769 self
.__class
__ = SplitterWindow
770 _windows
.SplitterWindow_swigregister(SplitterWindowPtr
)
772 def PreSplitterWindow(*args
, **kwargs
):
773 """PreSplitterWindow() -> SplitterWindow"""
774 val
= _windows
.new_PreSplitterWindow(*args
, **kwargs
)
778 class SplitterEvent(core
.NotifyEvent
):
780 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
781 def __init__(self
, *args
, **kwargs
):
782 """__init__(wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent"""
783 newobj
= _windows
.new_SplitterEvent(*args
, **kwargs
)
784 self
.this
= newobj
.this
787 def SetSashPosition(*args
, **kwargs
):
788 """SetSashPosition(int pos)"""
789 return _windows
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
791 def GetSashPosition(*args
, **kwargs
):
792 """GetSashPosition() -> int"""
793 return _windows
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
795 def GetWindowBeingRemoved(*args
, **kwargs
):
796 """GetWindowBeingRemoved() -> Window"""
797 return _windows
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
799 def GetX(*args
, **kwargs
):
801 return _windows
.SplitterEvent_GetX(*args
, **kwargs
)
803 def GetY(*args
, **kwargs
):
805 return _windows
.SplitterEvent_GetY(*args
, **kwargs
)
808 class SplitterEventPtr(SplitterEvent
):
809 def __init__(self
, this
):
811 if not hasattr(self
,"thisown"): self
.thisown
= 0
812 self
.__class
__ = SplitterEvent
813 _windows
.SplitterEvent_swigregister(SplitterEventPtr
)
815 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
816 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
817 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
818 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows
.wxEVT_COMMAND_SPLITTER_UNSPLIT
819 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
820 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
821 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
822 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
824 #---------------------------------------------------------------------------
826 SASH_DRAG_NONE
= _windows
.SASH_DRAG_NONE
827 SASH_DRAG_DRAGGING
= _windows
.SASH_DRAG_DRAGGING
828 SASH_DRAG_LEFT_DOWN
= _windows
.SASH_DRAG_LEFT_DOWN
829 SW_NOBORDER
= _windows
.SW_NOBORDER
830 SW_BORDER
= _windows
.SW_BORDER
831 SW_3DSASH
= _windows
.SW_3DSASH
832 SW_3DBORDER
= _windows
.SW_3DBORDER
833 SW_3D
= _windows
.SW_3D
834 SASH_TOP
= _windows
.SASH_TOP
835 SASH_RIGHT
= _windows
.SASH_RIGHT
836 SASH_BOTTOM
= _windows
.SASH_BOTTOM
837 SASH_LEFT
= _windows
.SASH_LEFT
838 SASH_NONE
= _windows
.SASH_NONE
839 class SashWindow(core
.Window
):
841 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
842 def __init__(self
, *args
, **kwargs
):
844 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
845 long style=wxCLIP_CHILDREN|wxSW_3D,
846 wxString name=wxPySashNameStr) -> SashWindow
848 newobj
= _windows
.new_SashWindow(*args
, **kwargs
)
849 self
.this
= newobj
.this
852 self
._setOORInfo
(self
)
854 def Create(*args
, **kwargs
):
856 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
857 long style=wxCLIP_CHILDREN|wxSW_3D,
858 wxString name=wxPySashNameStr) -> bool
860 return _windows
.SashWindow_Create(*args
, **kwargs
)
862 def SetSashVisible(*args
, **kwargs
):
863 """SetSashVisible(wxSashEdgePosition edge, bool sash)"""
864 return _windows
.SashWindow_SetSashVisible(*args
, **kwargs
)
866 def GetSashVisible(*args
, **kwargs
):
867 """GetSashVisible(wxSashEdgePosition edge) -> bool"""
868 return _windows
.SashWindow_GetSashVisible(*args
, **kwargs
)
870 def SetSashBorder(*args
, **kwargs
):
871 """SetSashBorder(wxSashEdgePosition edge, bool border)"""
872 return _windows
.SashWindow_SetSashBorder(*args
, **kwargs
)
874 def HasBorder(*args
, **kwargs
):
875 """HasBorder(wxSashEdgePosition edge) -> bool"""
876 return _windows
.SashWindow_HasBorder(*args
, **kwargs
)
878 def GetEdgeMargin(*args
, **kwargs
):
879 """GetEdgeMargin(wxSashEdgePosition edge) -> int"""
880 return _windows
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
882 def SetDefaultBorderSize(*args
, **kwargs
):
883 """SetDefaultBorderSize(int width)"""
884 return _windows
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
886 def GetDefaultBorderSize(*args
, **kwargs
):
887 """GetDefaultBorderSize() -> int"""
888 return _windows
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
890 def SetExtraBorderSize(*args
, **kwargs
):
891 """SetExtraBorderSize(int width)"""
892 return _windows
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
894 def GetExtraBorderSize(*args
, **kwargs
):
895 """GetExtraBorderSize() -> int"""
896 return _windows
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
898 def SetMinimumSizeX(*args
, **kwargs
):
899 """SetMinimumSizeX(int min)"""
900 return _windows
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
902 def SetMinimumSizeY(*args
, **kwargs
):
903 """SetMinimumSizeY(int min)"""
904 return _windows
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
906 def GetMinimumSizeX(*args
, **kwargs
):
907 """GetMinimumSizeX() -> int"""
908 return _windows
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
910 def GetMinimumSizeY(*args
, **kwargs
):
911 """GetMinimumSizeY() -> int"""
912 return _windows
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
914 def SetMaximumSizeX(*args
, **kwargs
):
915 """SetMaximumSizeX(int max)"""
916 return _windows
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
918 def SetMaximumSizeY(*args
, **kwargs
):
919 """SetMaximumSizeY(int max)"""
920 return _windows
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
922 def GetMaximumSizeX(*args
, **kwargs
):
923 """GetMaximumSizeX() -> int"""
924 return _windows
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
926 def GetMaximumSizeY(*args
, **kwargs
):
927 """GetMaximumSizeY() -> int"""
928 return _windows
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
930 def SashHitTest(*args
, **kwargs
):
931 """SashHitTest(int x, int y, int tolerance=2) -> wxSashEdgePosition"""
932 return _windows
.SashWindow_SashHitTest(*args
, **kwargs
)
934 def SizeWindows(*args
, **kwargs
):
936 return _windows
.SashWindow_SizeWindows(*args
, **kwargs
)
939 class SashWindowPtr(SashWindow
):
940 def __init__(self
, this
):
942 if not hasattr(self
,"thisown"): self
.thisown
= 0
943 self
.__class
__ = SashWindow
944 _windows
.SashWindow_swigregister(SashWindowPtr
)
946 def PreSashWindow(*args
, **kwargs
):
947 """PreSashWindow() -> SashWindow"""
948 val
= _windows
.new_PreSashWindow(*args
, **kwargs
)
952 SASH_STATUS_OK
= _windows
.SASH_STATUS_OK
953 SASH_STATUS_OUT_OF_RANGE
= _windows
.SASH_STATUS_OUT_OF_RANGE
954 class SashEvent(core
.CommandEvent
):
956 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
957 def __init__(self
, *args
, **kwargs
):
958 """__init__(int id=0, wxSashEdgePosition edge=SASH_NONE) -> SashEvent"""
959 newobj
= _windows
.new_SashEvent(*args
, **kwargs
)
960 self
.this
= newobj
.this
963 def SetEdge(*args
, **kwargs
):
964 """SetEdge(wxSashEdgePosition edge)"""
965 return _windows
.SashEvent_SetEdge(*args
, **kwargs
)
967 def GetEdge(*args
, **kwargs
):
968 """GetEdge() -> wxSashEdgePosition"""
969 return _windows
.SashEvent_GetEdge(*args
, **kwargs
)
971 def SetDragRect(*args
, **kwargs
):
972 """SetDragRect(Rect rect)"""
973 return _windows
.SashEvent_SetDragRect(*args
, **kwargs
)
975 def GetDragRect(*args
, **kwargs
):
976 """GetDragRect() -> Rect"""
977 return _windows
.SashEvent_GetDragRect(*args
, **kwargs
)
979 def SetDragStatus(*args
, **kwargs
):
980 """SetDragStatus(wxSashDragStatus status)"""
981 return _windows
.SashEvent_SetDragStatus(*args
, **kwargs
)
983 def GetDragStatus(*args
, **kwargs
):
984 """GetDragStatus() -> wxSashDragStatus"""
985 return _windows
.SashEvent_GetDragStatus(*args
, **kwargs
)
988 class SashEventPtr(SashEvent
):
989 def __init__(self
, this
):
991 if not hasattr(self
,"thisown"): self
.thisown
= 0
992 self
.__class
__ = SashEvent
993 _windows
.SashEvent_swigregister(SashEventPtr
)
995 wxEVT_SASH_DRAGGED
= _windows
.wxEVT_SASH_DRAGGED
996 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
997 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
999 #---------------------------------------------------------------------------
1001 LAYOUT_HORIZONTAL
= _windows
.LAYOUT_HORIZONTAL
1002 LAYOUT_VERTICAL
= _windows
.LAYOUT_VERTICAL
1003 LAYOUT_NONE
= _windows
.LAYOUT_NONE
1004 LAYOUT_TOP
= _windows
.LAYOUT_TOP
1005 LAYOUT_LEFT
= _windows
.LAYOUT_LEFT
1006 LAYOUT_RIGHT
= _windows
.LAYOUT_RIGHT
1007 LAYOUT_BOTTOM
= _windows
.LAYOUT_BOTTOM
1008 LAYOUT_LENGTH_Y
= _windows
.LAYOUT_LENGTH_Y
1009 LAYOUT_LENGTH_X
= _windows
.LAYOUT_LENGTH_X
1010 LAYOUT_MRU_LENGTH
= _windows
.LAYOUT_MRU_LENGTH
1011 LAYOUT_QUERY
= _windows
.LAYOUT_QUERY
1012 wxEVT_QUERY_LAYOUT_INFO
= _windows
.wxEVT_QUERY_LAYOUT_INFO
1013 wxEVT_CALCULATE_LAYOUT
= _windows
.wxEVT_CALCULATE_LAYOUT
1014 class QueryLayoutInfoEvent(core
.Event
):
1016 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1017 def __init__(self
, *args
, **kwargs
):
1018 """__init__(int id=0) -> QueryLayoutInfoEvent"""
1019 newobj
= _windows
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1020 self
.this
= newobj
.this
1023 def SetRequestedLength(*args
, **kwargs
):
1024 """SetRequestedLength(int length)"""
1025 return _windows
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1027 def GetRequestedLength(*args
, **kwargs
):
1028 """GetRequestedLength() -> int"""
1029 return _windows
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1031 def SetFlags(*args
, **kwargs
):
1032 """SetFlags(int flags)"""
1033 return _windows
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1035 def GetFlags(*args
, **kwargs
):
1036 """GetFlags() -> int"""
1037 return _windows
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1039 def SetSize(*args
, **kwargs
):
1040 """SetSize(Size size)"""
1041 return _windows
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1043 def GetSize(*args
, **kwargs
):
1044 """GetSize() -> Size"""
1045 return _windows
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1047 def SetOrientation(*args
, **kwargs
):
1048 """SetOrientation(wxLayoutOrientation orient)"""
1049 return _windows
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1051 def GetOrientation(*args
, **kwargs
):
1052 """GetOrientation() -> wxLayoutOrientation"""
1053 return _windows
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1055 def SetAlignment(*args
, **kwargs
):
1056 """SetAlignment(wxLayoutAlignment align)"""
1057 return _windows
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1059 def GetAlignment(*args
, **kwargs
):
1060 """GetAlignment() -> wxLayoutAlignment"""
1061 return _windows
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1064 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1065 def __init__(self
, this
):
1067 if not hasattr(self
,"thisown"): self
.thisown
= 0
1068 self
.__class
__ = QueryLayoutInfoEvent
1069 _windows
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1071 class CalculateLayoutEvent(core
.Event
):
1073 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1074 def __init__(self
, *args
, **kwargs
):
1075 """__init__(int id=0) -> CalculateLayoutEvent"""
1076 newobj
= _windows
.new_CalculateLayoutEvent(*args
, **kwargs
)
1077 self
.this
= newobj
.this
1080 def SetFlags(*args
, **kwargs
):
1081 """SetFlags(int flags)"""
1082 return _windows
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1084 def GetFlags(*args
, **kwargs
):
1085 """GetFlags() -> int"""
1086 return _windows
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1088 def SetRect(*args
, **kwargs
):
1089 """SetRect(Rect rect)"""
1090 return _windows
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1092 def GetRect(*args
, **kwargs
):
1093 """GetRect() -> Rect"""
1094 return _windows
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1097 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1098 def __init__(self
, this
):
1100 if not hasattr(self
,"thisown"): self
.thisown
= 0
1101 self
.__class
__ = CalculateLayoutEvent
1102 _windows
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1104 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1105 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1107 class SashLayoutWindow(SashWindow
):
1109 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1110 def __init__(self
, *args
, **kwargs
):
1112 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1113 long style=wxCLIP_CHILDREN|wxSW_3D,
1114 wxString name=wxPySashLayoutNameStr) -> SashLayoutWindow
1116 newobj
= _windows
.new_SashLayoutWindow(*args
, **kwargs
)
1117 self
.this
= newobj
.this
1120 self
._setOORInfo
(self
)
1122 def Create(*args
, **kwargs
):
1124 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1125 long style=wxCLIP_CHILDREN|wxSW_3D,
1126 wxString name=wxPySashLayoutNameStr) -> bool
1128 return _windows
.SashLayoutWindow_Create(*args
, **kwargs
)
1130 def GetAlignment(*args
, **kwargs
):
1131 """GetAlignment() -> wxLayoutAlignment"""
1132 return _windows
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1134 def GetOrientation(*args
, **kwargs
):
1135 """GetOrientation() -> wxLayoutOrientation"""
1136 return _windows
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1138 def SetAlignment(*args
, **kwargs
):
1139 """SetAlignment(wxLayoutAlignment alignment)"""
1140 return _windows
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1142 def SetDefaultSize(*args
, **kwargs
):
1143 """SetDefaultSize(Size size)"""
1144 return _windows
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1146 def SetOrientation(*args
, **kwargs
):
1147 """SetOrientation(wxLayoutOrientation orientation)"""
1148 return _windows
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1151 class SashLayoutWindowPtr(SashLayoutWindow
):
1152 def __init__(self
, this
):
1154 if not hasattr(self
,"thisown"): self
.thisown
= 0
1155 self
.__class
__ = SashLayoutWindow
1156 _windows
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1158 def PreSashLayoutWindow(*args
, **kwargs
):
1159 """PreSashLayoutWindow() -> SashLayoutWindow"""
1160 val
= _windows
.new_PreSashLayoutWindow(*args
, **kwargs
)
1164 class LayoutAlgorithm(core
.Object
):
1166 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1167 def __init__(self
, *args
, **kwargs
):
1168 """__init__() -> LayoutAlgorithm"""
1169 newobj
= _windows
.new_LayoutAlgorithm(*args
, **kwargs
)
1170 self
.this
= newobj
.this
1173 def __del__(self
, destroy
=_windows
.delete_LayoutAlgorithm
):
1176 if self
.thisown
: destroy(self
)
1179 def LayoutMDIFrame(*args
, **kwargs
):
1180 """LayoutMDIFrame(MDIParentFrame frame, Rect rect=None) -> bool"""
1181 return _windows
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1183 def LayoutFrame(*args
, **kwargs
):
1184 """LayoutFrame(Frame frame, Window mainWindow=None) -> bool"""
1185 return _windows
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1187 def LayoutWindow(*args
, **kwargs
):
1188 """LayoutWindow(Window parent, Window mainWindow=None) -> bool"""
1189 return _windows
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1192 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1193 def __init__(self
, this
):
1195 if not hasattr(self
,"thisown"): self
.thisown
= 0
1196 self
.__class
__ = LayoutAlgorithm
1197 _windows
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1199 #---------------------------------------------------------------------------
1201 class PopupWindow(core
.Window
):
1203 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1204 def __init__(self
, *args
, **kwargs
):
1205 """__init__(Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1206 newobj
= _windows
.new_PopupWindow(*args
, **kwargs
)
1207 self
.this
= newobj
.this
1210 self
._setOORInfo
(self
)
1212 def Create(*args
, **kwargs
):
1213 """Create(Window parent, int flags=BORDER_NONE) -> bool"""
1214 return _windows
.PopupWindow_Create(*args
, **kwargs
)
1216 def Position(*args
, **kwargs
):
1217 """Position(Point ptOrigin, Size size)"""
1218 return _windows
.PopupWindow_Position(*args
, **kwargs
)
1221 class PopupWindowPtr(PopupWindow
):
1222 def __init__(self
, this
):
1224 if not hasattr(self
,"thisown"): self
.thisown
= 0
1225 self
.__class
__ = PopupWindow
1226 _windows
.PopupWindow_swigregister(PopupWindowPtr
)
1228 def PrePopupWindow(*args
, **kwargs
):
1229 """PrePopupWindow() -> PopupWindow"""
1230 val
= _windows
.new_PrePopupWindow(*args
, **kwargs
)
1234 #---------------------------------------------------------------------------
1236 class PopupTransientWindow(PopupWindow
):
1238 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1239 def __init__(self
, *args
, **kwargs
):
1240 """__init__(Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1241 newobj
= _windows
.new_PopupTransientWindow(*args
, **kwargs
)
1242 self
.this
= newobj
.this
1245 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, PopupTransientWindow
)
1247 def _setCallbackInfo(*args
, **kwargs
):
1248 """_setCallbackInfo(PyObject self, PyObject _class)"""
1249 return _windows
.PopupTransientWindow__setCallbackInfo(*args
, **kwargs
)
1251 def Popup(*args
, **kwargs
):
1252 """Popup(Window focus=None)"""
1253 return _windows
.PopupTransientWindow_Popup(*args
, **kwargs
)
1255 def Dismiss(*args
, **kwargs
):
1257 return _windows
.PopupTransientWindow_Dismiss(*args
, **kwargs
)
1260 class PopupTransientWindowPtr(PopupTransientWindow
):
1261 def __init__(self
, this
):
1263 if not hasattr(self
,"thisown"): self
.thisown
= 0
1264 self
.__class
__ = PopupTransientWindow
1265 _windows
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1267 def PrePopupTransientWindow(*args
, **kwargs
):
1268 """PrePopupTransientWindow() -> PopupTransientWindow"""
1269 val
= _windows
.new_PrePopupTransientWindow(*args
, **kwargs
)
1273 #---------------------------------------------------------------------------
1275 class TipWindow(PopupTransientWindow
):
1277 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1278 def __init__(self
, *args
, **kwargs
):
1279 """__init__(Window parent, wxString text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1280 newobj
= _windows
.new_TipWindow(*args
, **kwargs
)
1281 self
.this
= newobj
.this
1284 self
._setOORInfo
(self
)
1286 def SetBoundingRect(*args
, **kwargs
):
1287 """SetBoundingRect(Rect rectBound)"""
1288 return _windows
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1290 def Close(*args
, **kwargs
):
1292 return _windows
.TipWindow_Close(*args
, **kwargs
)
1295 class TipWindowPtr(TipWindow
):
1296 def __init__(self
, this
):
1298 if not hasattr(self
,"thisown"): self
.thisown
= 0
1299 self
.__class
__ = TipWindow
1300 _windows
.TipWindow_swigregister(TipWindowPtr
)
1302 #---------------------------------------------------------------------------
1304 class VScrolledWindow(Panel
):
1306 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1307 def __init__(self
, *args
, **kwargs
):
1309 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1310 Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> VScrolledWindow
1312 newobj
= _windows
.new_VScrolledWindow(*args
, **kwargs
)
1313 self
.this
= newobj
.this
1316 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1318 def _setCallbackInfo(*args
, **kwargs
):
1319 """_setCallbackInfo(PyObject self, PyObject _class)"""
1320 return _windows
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1322 def Create(*args
, **kwargs
):
1324 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1325 Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> bool
1327 return _windows
.VScrolledWindow_Create(*args
, **kwargs
)
1329 def SetLineCount(*args
, **kwargs
):
1330 """SetLineCount(size_t count)"""
1331 return _windows
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1333 def ScrollToLine(*args
, **kwargs
):
1334 """ScrollToLine(size_t line) -> bool"""
1335 return _windows
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1337 def ScrollLines(*args
, **kwargs
):
1338 """ScrollLines(int lines) -> bool"""
1339 return _windows
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1341 def ScrollPages(*args
, **kwargs
):
1342 """ScrollPages(int pages) -> bool"""
1343 return _windows
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1345 def RefreshLine(*args
, **kwargs
):
1346 """RefreshLine(size_t line)"""
1347 return _windows
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1349 def RefreshLines(*args
, **kwargs
):
1350 """RefreshLines(size_t from, size_t to)"""
1351 return _windows
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1353 def HitTestXT(*args
, **kwargs
):
1354 """HitTestXT(int x, int y) -> int"""
1355 return _windows
.VScrolledWindow_HitTestXT(*args
, **kwargs
)
1357 def HitTest(*args
, **kwargs
):
1358 """HitTest(Point pt) -> int"""
1359 return _windows
.VScrolledWindow_HitTest(*args
, **kwargs
)
1361 def RefreshAll(*args
, **kwargs
):
1363 return _windows
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1365 def GetLineCount(*args
, **kwargs
):
1366 """GetLineCount() -> size_t"""
1367 return _windows
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1369 def GetFirstVisibleLine(*args
, **kwargs
):
1370 """GetFirstVisibleLine() -> size_t"""
1371 return _windows
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1373 def GetLastVisibleLine(*args
, **kwargs
):
1374 """GetLastVisibleLine() -> size_t"""
1375 return _windows
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1377 def IsVisible(*args
, **kwargs
):
1378 """IsVisible(size_t line) -> bool"""
1379 return _windows
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1382 class VScrolledWindowPtr(VScrolledWindow
):
1383 def __init__(self
, this
):
1385 if not hasattr(self
,"thisown"): self
.thisown
= 0
1386 self
.__class
__ = VScrolledWindow
1387 _windows
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
1389 def PreVScrolledWindow(*args
, **kwargs
):
1390 """PreVScrolledWindow() -> VScrolledWindow"""
1391 val
= _windows
.new_PreVScrolledWindow(*args
, **kwargs
)
1395 class VListBox(VScrolledWindow
):
1397 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1398 def __init__(self
, *args
, **kwargs
):
1400 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1401 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> VListBox
1403 newobj
= _windows
.new_VListBox(*args
, **kwargs
)
1404 self
.this
= newobj
.this
1407 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
1409 def _setCallbackInfo(*args
, **kwargs
):
1410 """_setCallbackInfo(PyObject self, PyObject _class)"""
1411 return _windows
.VListBox__setCallbackInfo(*args
, **kwargs
)
1413 def Create(*args
, **kwargs
):
1415 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1416 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool
1418 return _windows
.VListBox_Create(*args
, **kwargs
)
1420 def GetItemCount(*args
, **kwargs
):
1421 """GetItemCount() -> size_t"""
1422 return _windows
.VListBox_GetItemCount(*args
, **kwargs
)
1424 def HasMultipleSelection(*args
, **kwargs
):
1425 """HasMultipleSelection() -> bool"""
1426 return _windows
.VListBox_HasMultipleSelection(*args
, **kwargs
)
1428 def GetSelection(*args
, **kwargs
):
1429 """GetSelection() -> int"""
1430 return _windows
.VListBox_GetSelection(*args
, **kwargs
)
1432 def IsCurrent(*args
, **kwargs
):
1433 """IsCurrent(size_t item) -> bool"""
1434 return _windows
.VListBox_IsCurrent(*args
, **kwargs
)
1436 def IsSelected(*args
, **kwargs
):
1437 """IsSelected(size_t item) -> bool"""
1438 return _windows
.VListBox_IsSelected(*args
, **kwargs
)
1440 def GetSelectedCount(*args
, **kwargs
):
1441 """GetSelectedCount() -> size_t"""
1442 return _windows
.VListBox_GetSelectedCount(*args
, **kwargs
)
1444 def GetFirstSelected(*args
, **kwargs
):
1445 """GetFirstSelected(unsigned long cookie) -> int"""
1446 return _windows
.VListBox_GetFirstSelected(*args
, **kwargs
)
1448 def GetNextSelected(*args
, **kwargs
):
1449 """GetNextSelected(unsigned long cookie) -> int"""
1450 return _windows
.VListBox_GetNextSelected(*args
, **kwargs
)
1452 def GetMargins(*args
, **kwargs
):
1453 """GetMargins() -> Point"""
1454 return _windows
.VListBox_GetMargins(*args
, **kwargs
)
1456 def GetSelectionBackground(*args
, **kwargs
):
1457 """GetSelectionBackground() -> wxColour"""
1458 return _windows
.VListBox_GetSelectionBackground(*args
, **kwargs
)
1460 def SetItemCount(*args
, **kwargs
):
1461 """SetItemCount(size_t count)"""
1462 return _windows
.VListBox_SetItemCount(*args
, **kwargs
)
1464 def Clear(*args
, **kwargs
):
1466 return _windows
.VListBox_Clear(*args
, **kwargs
)
1468 def SetSelection(*args
, **kwargs
):
1469 """SetSelection(int selection)"""
1470 return _windows
.VListBox_SetSelection(*args
, **kwargs
)
1472 def Select(*args
, **kwargs
):
1473 """Select(size_t item, bool select=True) -> bool"""
1474 return _windows
.VListBox_Select(*args
, **kwargs
)
1476 def SelectRange(*args
, **kwargs
):
1477 """SelectRange(size_t from, size_t to) -> bool"""
1478 return _windows
.VListBox_SelectRange(*args
, **kwargs
)
1480 def Toggle(*args
, **kwargs
):
1481 """Toggle(size_t item)"""
1482 return _windows
.VListBox_Toggle(*args
, **kwargs
)
1484 def SelectAll(*args
, **kwargs
):
1485 """SelectAll() -> bool"""
1486 return _windows
.VListBox_SelectAll(*args
, **kwargs
)
1488 def DeselectAll(*args
, **kwargs
):
1489 """DeselectAll() -> bool"""
1490 return _windows
.VListBox_DeselectAll(*args
, **kwargs
)
1492 def SetMargins(*args
, **kwargs
):
1493 """SetMargins(Point pt)"""
1494 return _windows
.VListBox_SetMargins(*args
, **kwargs
)
1496 def SetMarginsXY(*args
, **kwargs
):
1497 """SetMarginsXY(int x, int y)"""
1498 return _windows
.VListBox_SetMarginsXY(*args
, **kwargs
)
1500 def SetSelectionBackground(*args
, **kwargs
):
1501 """SetSelectionBackground(wxColour col)"""
1502 return _windows
.VListBox_SetSelectionBackground(*args
, **kwargs
)
1505 class VListBoxPtr(VListBox
):
1506 def __init__(self
, this
):
1508 if not hasattr(self
,"thisown"): self
.thisown
= 0
1509 self
.__class
__ = VListBox
1510 _windows
.VListBox_swigregister(VListBoxPtr
)
1512 def PreVListBox(*args
, **kwargs
):
1513 """PreVListBox() -> VListBox"""
1514 val
= _windows
.new_PreVListBox(*args
, **kwargs
)
1518 class HtmlListBox(VListBox
):
1520 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1521 def __init__(self
, *args
, **kwargs
):
1523 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1524 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> HtmlListBox
1526 newobj
= _windows
.new_HtmlListBox(*args
, **kwargs
)
1527 self
.this
= newobj
.this
1530 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
1532 def _setCallbackInfo(*args
, **kwargs
):
1533 """_setCallbackInfo(PyObject self, PyObject _class)"""
1534 return _windows
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
1536 def Create(*args
, **kwargs
):
1538 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1539 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool
1541 return _windows
.HtmlListBox_Create(*args
, **kwargs
)
1543 def RefreshAll(*args
, **kwargs
):
1545 return _windows
.HtmlListBox_RefreshAll(*args
, **kwargs
)
1547 def SetItemCount(*args
, **kwargs
):
1548 """SetItemCount(size_t count)"""
1549 return _windows
.HtmlListBox_SetItemCount(*args
, **kwargs
)
1552 class HtmlListBoxPtr(HtmlListBox
):
1553 def __init__(self
, this
):
1555 if not hasattr(self
,"thisown"): self
.thisown
= 0
1556 self
.__class
__ = HtmlListBox
1557 _windows
.HtmlListBox_swigregister(HtmlListBoxPtr
)
1559 def PreHtmlListBox(*args
, **kwargs
):
1560 """PreHtmlListBox() -> HtmlListBox"""
1561 val
= _windows
.new_PreHtmlListBox(*args
, **kwargs
)
1565 #---------------------------------------------------------------------------
1567 class TaskBarIcon(core
.EvtHandler
):
1569 return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1570 def __init__(self
, *args
, **kwargs
):
1571 """__init__() -> TaskBarIcon"""
1572 newobj
= _windows
.new_TaskBarIcon(*args
, **kwargs
)
1573 self
.this
= newobj
.this
1576 def __del__(self
, destroy
=_windows
.delete_TaskBarIcon
):
1579 if self
.thisown
: destroy(self
)
1582 def IsOk(*args
, **kwargs
):
1583 """IsOk() -> bool"""
1584 return _windows
.TaskBarIcon_IsOk(*args
, **kwargs
)
1586 def IsIconInstalled(*args
, **kwargs
):
1587 """IsIconInstalled() -> bool"""
1588 return _windows
.TaskBarIcon_IsIconInstalled(*args
, **kwargs
)
1590 def SetIcon(*args
, **kwargs
):
1591 """SetIcon(wxIcon icon, wxString tooltip=wxPyEmptyString) -> bool"""
1592 return _windows
.TaskBarIcon_SetIcon(*args
, **kwargs
)
1594 def RemoveIcon(*args
, **kwargs
):
1595 """RemoveIcon(void ??) -> bool"""
1596 return _windows
.TaskBarIcon_RemoveIcon(*args
, **kwargs
)
1598 def PopupMenu(*args
, **kwargs
):
1599 """PopupMenu(Menu menu) -> bool"""
1600 return _windows
.TaskBarIcon_PopupMenu(*args
, **kwargs
)
1603 class TaskBarIconPtr(TaskBarIcon
):
1604 def __init__(self
, this
):
1606 if not hasattr(self
,"thisown"): self
.thisown
= 0
1607 self
.__class
__ = TaskBarIcon
1608 _windows
.TaskBarIcon_swigregister(TaskBarIconPtr
)
1610 class TaskBarIconEvent(core
.Event
):
1612 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1613 def __init__(self
, *args
, **kwargs
):
1614 """__init__(wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
1615 newobj
= _windows
.new_TaskBarIconEvent(*args
, **kwargs
)
1616 self
.this
= newobj
.this
1620 class TaskBarIconEventPtr(TaskBarIconEvent
):
1621 def __init__(self
, this
):
1623 if not hasattr(self
,"thisown"): self
.thisown
= 0
1624 self
.__class
__ = TaskBarIconEvent
1625 _windows
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
1627 wxEVT_TASKBAR_MOVE
= _windows
.wxEVT_TASKBAR_MOVE
1628 wxEVT_TASKBAR_LEFT_DOWN
= _windows
.wxEVT_TASKBAR_LEFT_DOWN
1629 wxEVT_TASKBAR_LEFT_UP
= _windows
.wxEVT_TASKBAR_LEFT_UP
1630 wxEVT_TASKBAR_RIGHT_DOWN
= _windows
.wxEVT_TASKBAR_RIGHT_DOWN
1631 wxEVT_TASKBAR_RIGHT_UP
= _windows
.wxEVT_TASKBAR_RIGHT_UP
1632 wxEVT_TASKBAR_LEFT_DCLICK
= _windows
.wxEVT_TASKBAR_LEFT_DCLICK
1633 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows
.wxEVT_TASKBAR_RIGHT_DCLICK
1634 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
1635 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
1636 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
1637 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
1638 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
1639 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
1640 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
1642 #---------------------------------------------------------------------------
1644 class ColourData(core
.Object
):
1646 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1647 def __init__(self
, *args
, **kwargs
):
1648 """__init__() -> ColourData"""
1649 newobj
= _windows
.new_ColourData(*args
, **kwargs
)
1650 self
.this
= newobj
.this
1653 def __del__(self
, destroy
=_windows
.delete_ColourData
):
1656 if self
.thisown
: destroy(self
)
1659 def GetChooseFull(*args
, **kwargs
):
1660 """GetChooseFull() -> bool"""
1661 return _windows
.ColourData_GetChooseFull(*args
, **kwargs
)
1663 def GetColour(*args
, **kwargs
):
1664 """GetColour() -> wxColour"""
1665 return _windows
.ColourData_GetColour(*args
, **kwargs
)
1667 def GetCustomColour(*args
, **kwargs
):
1668 """GetCustomColour(int i) -> wxColour"""
1669 return _windows
.ColourData_GetCustomColour(*args
, **kwargs
)
1671 def SetChooseFull(*args
, **kwargs
):
1672 """SetChooseFull(int flag)"""
1673 return _windows
.ColourData_SetChooseFull(*args
, **kwargs
)
1675 def SetColour(*args
, **kwargs
):
1676 """SetColour(wxColour colour)"""
1677 return _windows
.ColourData_SetColour(*args
, **kwargs
)
1679 def SetCustomColour(*args
, **kwargs
):
1680 """SetCustomColour(int i, wxColour colour)"""
1681 return _windows
.ColourData_SetCustomColour(*args
, **kwargs
)
1684 class ColourDataPtr(ColourData
):
1685 def __init__(self
, this
):
1687 if not hasattr(self
,"thisown"): self
.thisown
= 0
1688 self
.__class
__ = ColourData
1689 _windows
.ColourData_swigregister(ColourDataPtr
)
1691 class ColourDialog(Dialog
):
1693 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1694 def __init__(self
, *args
, **kwargs
):
1695 """__init__(Window parent, ColourData data=None) -> ColourDialog"""
1696 newobj
= _windows
.new_ColourDialog(*args
, **kwargs
)
1697 self
.this
= newobj
.this
1700 self
._setOORInfo
(self
)
1702 def GetColourData(*args
, **kwargs
):
1703 """GetColourData() -> ColourData"""
1704 return _windows
.ColourDialog_GetColourData(*args
, **kwargs
)
1706 def ShowModal(*args
, **kwargs
):
1707 """ShowModal() -> int"""
1708 return _windows
.ColourDialog_ShowModal(*args
, **kwargs
)
1711 class ColourDialogPtr(ColourDialog
):
1712 def __init__(self
, this
):
1714 if not hasattr(self
,"thisown"): self
.thisown
= 0
1715 self
.__class
__ = ColourDialog
1716 _windows
.ColourDialog_swigregister(ColourDialogPtr
)
1718 class DirDialog(Dialog
):
1720 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1721 def __init__(self
, *args
, **kwargs
):
1723 __init__(Window parent, wxString message=wxPyDirSelectorPromptStr,
1724 wxString defaultPath=wxPyEmptyString,
1725 long style=0, Point pos=DefaultPosition, Size size=DefaultSize,
1726 wxString name=wxPyDirDialogNameStr) -> DirDialog
1728 newobj
= _windows
.new_DirDialog(*args
, **kwargs
)
1729 self
.this
= newobj
.this
1732 self
._setOORInfo
(self
)
1734 def GetPath(*args
, **kwargs
):
1735 """GetPath() -> wxString"""
1736 return _windows
.DirDialog_GetPath(*args
, **kwargs
)
1738 def GetMessage(*args
, **kwargs
):
1739 """GetMessage() -> wxString"""
1740 return _windows
.DirDialog_GetMessage(*args
, **kwargs
)
1742 def GetStyle(*args
, **kwargs
):
1743 """GetStyle() -> long"""
1744 return _windows
.DirDialog_GetStyle(*args
, **kwargs
)
1746 def SetMessage(*args
, **kwargs
):
1747 """SetMessage(wxString message)"""
1748 return _windows
.DirDialog_SetMessage(*args
, **kwargs
)
1750 def SetPath(*args
, **kwargs
):
1751 """SetPath(wxString path)"""
1752 return _windows
.DirDialog_SetPath(*args
, **kwargs
)
1754 def ShowModal(*args
, **kwargs
):
1755 """ShowModal() -> int"""
1756 return _windows
.DirDialog_ShowModal(*args
, **kwargs
)
1759 class DirDialogPtr(DirDialog
):
1760 def __init__(self
, this
):
1762 if not hasattr(self
,"thisown"): self
.thisown
= 0
1763 self
.__class
__ = DirDialog
1764 _windows
.DirDialog_swigregister(DirDialogPtr
)
1766 class FileDialog(Dialog
):
1768 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1769 def __init__(self
, *args
, **kwargs
):
1771 __init__(Window parent, wxString message=wxPyFileSelectorPromptStr,
1772 wxString defaultDir=wxPyEmptyString,
1773 wxString defaultFile=wxPyEmptyString, wxString wildcard=wxPyFileSelectorDefaultWildcardStr,
1775 Point pos=DefaultPosition) -> FileDialog
1777 newobj
= _windows
.new_FileDialog(*args
, **kwargs
)
1778 self
.this
= newobj
.this
1781 self
._setOORInfo
(self
)
1783 def SetMessage(*args
, **kwargs
):
1784 """SetMessage(wxString message)"""
1785 return _windows
.FileDialog_SetMessage(*args
, **kwargs
)
1787 def SetPath(*args
, **kwargs
):
1788 """SetPath(wxString path)"""
1789 return _windows
.FileDialog_SetPath(*args
, **kwargs
)
1791 def SetDirectory(*args
, **kwargs
):
1792 """SetDirectory(wxString dir)"""
1793 return _windows
.FileDialog_SetDirectory(*args
, **kwargs
)
1795 def SetFilename(*args
, **kwargs
):
1796 """SetFilename(wxString name)"""
1797 return _windows
.FileDialog_SetFilename(*args
, **kwargs
)
1799 def SetWildcard(*args
, **kwargs
):
1800 """SetWildcard(wxString wildCard)"""
1801 return _windows
.FileDialog_SetWildcard(*args
, **kwargs
)
1803 def SetStyle(*args
, **kwargs
):
1804 """SetStyle(long style)"""
1805 return _windows
.FileDialog_SetStyle(*args
, **kwargs
)
1807 def SetFilterIndex(*args
, **kwargs
):
1808 """SetFilterIndex(int filterIndex)"""
1809 return _windows
.FileDialog_SetFilterIndex(*args
, **kwargs
)
1811 def GetMessage(*args
, **kwargs
):
1812 """GetMessage() -> wxString"""
1813 return _windows
.FileDialog_GetMessage(*args
, **kwargs
)
1815 def GetPath(*args
, **kwargs
):
1816 """GetPath() -> wxString"""
1817 return _windows
.FileDialog_GetPath(*args
, **kwargs
)
1819 def GetDirectory(*args
, **kwargs
):
1820 """GetDirectory() -> wxString"""
1821 return _windows
.FileDialog_GetDirectory(*args
, **kwargs
)
1823 def GetFilename(*args
, **kwargs
):
1824 """GetFilename() -> wxString"""
1825 return _windows
.FileDialog_GetFilename(*args
, **kwargs
)
1827 def GetWildcard(*args
, **kwargs
):
1828 """GetWildcard() -> wxString"""
1829 return _windows
.FileDialog_GetWildcard(*args
, **kwargs
)
1831 def GetStyle(*args
, **kwargs
):
1832 """GetStyle() -> long"""
1833 return _windows
.FileDialog_GetStyle(*args
, **kwargs
)
1835 def GetFilterIndex(*args
, **kwargs
):
1836 """GetFilterIndex() -> int"""
1837 return _windows
.FileDialog_GetFilterIndex(*args
, **kwargs
)
1839 def GetFilenames(*args
, **kwargs
):
1840 """GetFilenames() -> PyObject"""
1841 return _windows
.FileDialog_GetFilenames(*args
, **kwargs
)
1843 def GetPaths(*args
, **kwargs
):
1844 """GetPaths() -> PyObject"""
1845 return _windows
.FileDialog_GetPaths(*args
, **kwargs
)
1848 class FileDialogPtr(FileDialog
):
1849 def __init__(self
, this
):
1851 if not hasattr(self
,"thisown"): self
.thisown
= 0
1852 self
.__class
__ = FileDialog
1853 _windows
.FileDialog_swigregister(FileDialogPtr
)
1855 CHOICEDLG_STYLE
= _windows
.CHOICEDLG_STYLE
1856 class MultiChoiceDialog(Dialog
):
1858 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1859 def __init__(self
, *args
, **kwargs
):
1861 __init__(Window parent, wxString message, wxString caption,
1862 int LCOUNT, wxString choices, long style=CHOICEDLG_STYLE,
1863 Point pos=DefaultPosition) -> MultiChoiceDialog
1865 newobj
= _windows
.new_MultiChoiceDialog(*args
, **kwargs
)
1866 self
.this
= newobj
.this
1869 self
._setOORInfo
(self
)
1871 def SetSelections(*args
, **kwargs
):
1872 """SetSelections(wxArrayInt selections)"""
1873 return _windows
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
1875 def GetSelections(*args
, **kwargs
):
1876 """GetSelections() -> PyObject"""
1877 return _windows
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
1880 class MultiChoiceDialogPtr(MultiChoiceDialog
):
1881 def __init__(self
, this
):
1883 if not hasattr(self
,"thisown"): self
.thisown
= 0
1884 self
.__class
__ = MultiChoiceDialog
1885 _windows
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
1887 class SingleChoiceDialog(Dialog
):
1889 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1890 def __init__(self
, *args
, **kwargs
):
1892 __init__(Window parent, wxString message, wxString caption,
1893 int choices, wxString choices_array, long style=CHOICEDLG_STYLE,
1894 Point pos=DefaultPosition) -> SingleChoiceDialog
1896 newobj
= _windows
.new_SingleChoiceDialog(*args
, **kwargs
)
1897 self
.this
= newobj
.this
1900 self
._setOORInfo
(self
)
1902 def GetSelection(*args
, **kwargs
):
1903 """GetSelection() -> int"""
1904 return _windows
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
1906 def GetStringSelection(*args
, **kwargs
):
1907 """GetStringSelection() -> wxString"""
1908 return _windows
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
1910 def SetSelection(*args
, **kwargs
):
1911 """SetSelection(int sel)"""
1912 return _windows
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
1914 def ShowModal(*args
, **kwargs
):
1915 """ShowModal() -> int"""
1916 return _windows
.SingleChoiceDialog_ShowModal(*args
, **kwargs
)
1919 class SingleChoiceDialogPtr(SingleChoiceDialog
):
1920 def __init__(self
, this
):
1922 if not hasattr(self
,"thisown"): self
.thisown
= 0
1923 self
.__class
__ = SingleChoiceDialog
1924 _windows
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
1926 class TextEntryDialog(Dialog
):
1928 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1929 def __init__(self
, *args
, **kwargs
):
1931 __init__(Window parent, wxString message, wxString caption=wxPyGetTextFromUserPromptStr,
1932 wxString defaultValue=wxPyEmptyString,
1933 long style=wxOK|wxCANCEL|wxCENTRE,
1934 Point pos=DefaultPosition) -> TextEntryDialog
1936 newobj
= _windows
.new_TextEntryDialog(*args
, **kwargs
)
1937 self
.this
= newobj
.this
1940 self
._setOORInfo
(self
)
1942 def GetValue(*args
, **kwargs
):
1943 """GetValue() -> wxString"""
1944 return _windows
.TextEntryDialog_GetValue(*args
, **kwargs
)
1946 def SetValue(*args
, **kwargs
):
1947 """SetValue(wxString value)"""
1948 return _windows
.TextEntryDialog_SetValue(*args
, **kwargs
)
1950 def ShowModal(*args
, **kwargs
):
1951 """ShowModal() -> int"""
1952 return _windows
.TextEntryDialog_ShowModal(*args
, **kwargs
)
1955 class TextEntryDialogPtr(TextEntryDialog
):
1956 def __init__(self
, this
):
1958 if not hasattr(self
,"thisown"): self
.thisown
= 0
1959 self
.__class
__ = TextEntryDialog
1960 _windows
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
1962 class FontData(core
.Object
):
1964 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1965 def __init__(self
, *args
, **kwargs
):
1966 """__init__() -> FontData"""
1967 newobj
= _windows
.new_FontData(*args
, **kwargs
)
1968 self
.this
= newobj
.this
1971 def __del__(self
, destroy
=_windows
.delete_FontData
):
1974 if self
.thisown
: destroy(self
)
1977 def EnableEffects(*args
, **kwargs
):
1978 """EnableEffects(bool enable)"""
1979 return _windows
.FontData_EnableEffects(*args
, **kwargs
)
1981 def GetAllowSymbols(*args
, **kwargs
):
1982 """GetAllowSymbols() -> bool"""
1983 return _windows
.FontData_GetAllowSymbols(*args
, **kwargs
)
1985 def GetColour(*args
, **kwargs
):
1986 """GetColour() -> wxColour"""
1987 return _windows
.FontData_GetColour(*args
, **kwargs
)
1989 def GetChosenFont(*args
, **kwargs
):
1990 """GetChosenFont() -> wxFont"""
1991 return _windows
.FontData_GetChosenFont(*args
, **kwargs
)
1993 def GetEnableEffects(*args
, **kwargs
):
1994 """GetEnableEffects() -> bool"""
1995 return _windows
.FontData_GetEnableEffects(*args
, **kwargs
)
1997 def GetInitialFont(*args
, **kwargs
):
1998 """GetInitialFont() -> wxFont"""
1999 return _windows
.FontData_GetInitialFont(*args
, **kwargs
)
2001 def GetShowHelp(*args
, **kwargs
):
2002 """GetShowHelp() -> bool"""
2003 return _windows
.FontData_GetShowHelp(*args
, **kwargs
)
2005 def SetAllowSymbols(*args
, **kwargs
):
2006 """SetAllowSymbols(bool allowSymbols)"""
2007 return _windows
.FontData_SetAllowSymbols(*args
, **kwargs
)
2009 def SetChosenFont(*args
, **kwargs
):
2010 """SetChosenFont(wxFont font)"""
2011 return _windows
.FontData_SetChosenFont(*args
, **kwargs
)
2013 def SetColour(*args
, **kwargs
):
2014 """SetColour(wxColour colour)"""
2015 return _windows
.FontData_SetColour(*args
, **kwargs
)
2017 def SetInitialFont(*args
, **kwargs
):
2018 """SetInitialFont(wxFont font)"""
2019 return _windows
.FontData_SetInitialFont(*args
, **kwargs
)
2021 def SetRange(*args
, **kwargs
):
2022 """SetRange(int min, int max)"""
2023 return _windows
.FontData_SetRange(*args
, **kwargs
)
2025 def SetShowHelp(*args
, **kwargs
):
2026 """SetShowHelp(bool showHelp)"""
2027 return _windows
.FontData_SetShowHelp(*args
, **kwargs
)
2030 class FontDataPtr(FontData
):
2031 def __init__(self
, this
):
2033 if not hasattr(self
,"thisown"): self
.thisown
= 0
2034 self
.__class
__ = FontData
2035 _windows
.FontData_swigregister(FontDataPtr
)
2037 class FontDialog(Dialog
):
2039 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2040 def __init__(self
, *args
, **kwargs
):
2041 """__init__(Window parent, FontData data) -> FontDialog"""
2042 newobj
= _windows
.new_FontDialog(*args
, **kwargs
)
2043 self
.this
= newobj
.this
2046 self
._setOORInfo
(self
)
2048 def GetFontData(*args
, **kwargs
):
2049 """GetFontData() -> FontData"""
2050 return _windows
.FontDialog_GetFontData(*args
, **kwargs
)
2052 def ShowModal(*args
, **kwargs
):
2053 """ShowModal() -> int"""
2054 return _windows
.FontDialog_ShowModal(*args
, **kwargs
)
2057 class FontDialogPtr(FontDialog
):
2058 def __init__(self
, this
):
2060 if not hasattr(self
,"thisown"): self
.thisown
= 0
2061 self
.__class
__ = FontDialog
2062 _windows
.FontDialog_swigregister(FontDialogPtr
)
2064 class MessageDialog(Dialog
):
2066 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2067 def __init__(self
, *args
, **kwargs
):
2069 __init__(Window parent, wxString message, wxString caption=wxPyMessageBoxCaptionStr,
2070 long style=wxOK|wxCANCEL|wxCENTRE,
2071 Point pos=DefaultPosition) -> MessageDialog
2073 newobj
= _windows
.new_MessageDialog(*args
, **kwargs
)
2074 self
.this
= newobj
.this
2077 self
._setOORInfo
(self
)
2079 def ShowModal(*args
, **kwargs
):
2080 """ShowModal() -> int"""
2081 return _windows
.MessageDialog_ShowModal(*args
, **kwargs
)
2084 class MessageDialogPtr(MessageDialog
):
2085 def __init__(self
, this
):
2087 if not hasattr(self
,"thisown"): self
.thisown
= 0
2088 self
.__class
__ = MessageDialog
2089 _windows
.MessageDialog_swigregister(MessageDialogPtr
)
2091 class ProgressDialog(Frame
):
2093 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2094 def __init__(self
, *args
, **kwargs
):
2096 __init__(wxString title, wxString message, int maximum=100,
2097 Window parent=None, int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
2099 newobj
= _windows
.new_ProgressDialog(*args
, **kwargs
)
2100 self
.this
= newobj
.this
2103 self
._setOORInfo
(self
)
2105 def Update(*args
, **kwargs
):
2106 """Update(int value, wxString newmsg=wxPyEmptyString) -> bool"""
2107 return _windows
.ProgressDialog_Update(*args
, **kwargs
)
2109 def Resume(*args
, **kwargs
):
2111 return _windows
.ProgressDialog_Resume(*args
, **kwargs
)
2114 class ProgressDialogPtr(ProgressDialog
):
2115 def __init__(self
, this
):
2117 if not hasattr(self
,"thisown"): self
.thisown
= 0
2118 self
.__class
__ = ProgressDialog
2119 _windows
.ProgressDialog_swigregister(ProgressDialogPtr
)
2121 FR_DOWN
= _windows
.FR_DOWN
2122 FR_WHOLEWORD
= _windows
.FR_WHOLEWORD
2123 FR_MATCHCASE
= _windows
.FR_MATCHCASE
2124 FR_REPLACEDIALOG
= _windows
.FR_REPLACEDIALOG
2125 FR_NOUPDOWN
= _windows
.FR_NOUPDOWN
2126 FR_NOMATCHCASE
= _windows
.FR_NOMATCHCASE
2127 FR_NOWHOLEWORD
= _windows
.FR_NOWHOLEWORD
2128 wxEVT_COMMAND_FIND
= _windows
.wxEVT_COMMAND_FIND
2129 wxEVT_COMMAND_FIND_NEXT
= _windows
.wxEVT_COMMAND_FIND_NEXT
2130 wxEVT_COMMAND_FIND_REPLACE
= _windows
.wxEVT_COMMAND_FIND_REPLACE
2131 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows
.wxEVT_COMMAND_FIND_REPLACE_ALL
2132 wxEVT_COMMAND_FIND_CLOSE
= _windows
.wxEVT_COMMAND_FIND_CLOSE
2133 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
2134 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
2135 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
2136 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
2137 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
2139 # For backwards compatibility. Should they be removed?
2140 EVT_COMMAND_FIND
= EVT_FIND
2141 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
2142 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
2143 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
2144 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
2146 class FindDialogEvent(core
.CommandEvent
):
2148 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2149 def __init__(self
, *args
, **kwargs
):
2150 """__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent"""
2151 newobj
= _windows
.new_FindDialogEvent(*args
, **kwargs
)
2152 self
.this
= newobj
.this
2155 def GetFlags(*args
, **kwargs
):
2156 """GetFlags() -> int"""
2157 return _windows
.FindDialogEvent_GetFlags(*args
, **kwargs
)
2159 def GetFindString(*args
, **kwargs
):
2160 """GetFindString() -> wxString"""
2161 return _windows
.FindDialogEvent_GetFindString(*args
, **kwargs
)
2163 def GetReplaceString(*args
, **kwargs
):
2164 """GetReplaceString() -> wxString"""
2165 return _windows
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
2167 def GetDialog(*args
, **kwargs
):
2168 """GetDialog() -> FindReplaceDialog"""
2169 return _windows
.FindDialogEvent_GetDialog(*args
, **kwargs
)
2171 def SetFlags(*args
, **kwargs
):
2172 """SetFlags(int flags)"""
2173 return _windows
.FindDialogEvent_SetFlags(*args
, **kwargs
)
2175 def SetFindString(*args
, **kwargs
):
2176 """SetFindString(wxString str)"""
2177 return _windows
.FindDialogEvent_SetFindString(*args
, **kwargs
)
2179 def SetReplaceString(*args
, **kwargs
):
2180 """SetReplaceString(wxString str)"""
2181 return _windows
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
2184 class FindDialogEventPtr(FindDialogEvent
):
2185 def __init__(self
, this
):
2187 if not hasattr(self
,"thisown"): self
.thisown
= 0
2188 self
.__class
__ = FindDialogEvent
2189 _windows
.FindDialogEvent_swigregister(FindDialogEventPtr
)
2191 class FindReplaceData(core
.Object
):
2193 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2194 def __init__(self
, *args
, **kwargs
):
2195 """__init__(int flags=0) -> FindReplaceData"""
2196 newobj
= _windows
.new_FindReplaceData(*args
, **kwargs
)
2197 self
.this
= newobj
.this
2200 def __del__(self
, destroy
=_windows
.delete_FindReplaceData
):
2203 if self
.thisown
: destroy(self
)
2206 def GetFindString(*args
, **kwargs
):
2207 """GetFindString() -> wxString"""
2208 return _windows
.FindReplaceData_GetFindString(*args
, **kwargs
)
2210 def GetReplaceString(*args
, **kwargs
):
2211 """GetReplaceString() -> wxString"""
2212 return _windows
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
2214 def GetFlags(*args
, **kwargs
):
2215 """GetFlags() -> int"""
2216 return _windows
.FindReplaceData_GetFlags(*args
, **kwargs
)
2218 def SetFlags(*args
, **kwargs
):
2219 """SetFlags(int flags)"""
2220 return _windows
.FindReplaceData_SetFlags(*args
, **kwargs
)
2222 def SetFindString(*args
, **kwargs
):
2223 """SetFindString(wxString str)"""
2224 return _windows
.FindReplaceData_SetFindString(*args
, **kwargs
)
2226 def SetReplaceString(*args
, **kwargs
):
2227 """SetReplaceString(wxString str)"""
2228 return _windows
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
2231 class FindReplaceDataPtr(FindReplaceData
):
2232 def __init__(self
, this
):
2234 if not hasattr(self
,"thisown"): self
.thisown
= 0
2235 self
.__class
__ = FindReplaceData
2236 _windows
.FindReplaceData_swigregister(FindReplaceDataPtr
)
2238 class FindReplaceDialog(Dialog
):
2240 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2241 def __init__(self
, *args
, **kwargs
):
2243 __init__(Window parent, FindReplaceData data, wxString title,
2244 int style=0) -> FindReplaceDialog
2246 newobj
= _windows
.new_FindReplaceDialog(*args
, **kwargs
)
2247 self
.this
= newobj
.this
2250 self
._setOORInfo
(self
)
2252 def Create(*args
, **kwargs
):
2254 Create(Window parent, FindReplaceData data, wxString title,
2255 int style=0) -> bool
2257 return _windows
.FindReplaceDialog_Create(*args
, **kwargs
)
2259 def GetData(*args
, **kwargs
):
2260 """GetData() -> FindReplaceData"""
2261 return _windows
.FindReplaceDialog_GetData(*args
, **kwargs
)
2263 def SetData(*args
, **kwargs
):
2264 """SetData(FindReplaceData data)"""
2265 return _windows
.FindReplaceDialog_SetData(*args
, **kwargs
)
2268 class FindReplaceDialogPtr(FindReplaceDialog
):
2269 def __init__(self
, this
):
2271 if not hasattr(self
,"thisown"): self
.thisown
= 0
2272 self
.__class
__ = FindReplaceDialog
2273 _windows
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
2275 def PreFindReplaceDialog(*args
, **kwargs
):
2276 """PreFindReplaceDialog() -> FindReplaceDialog"""
2277 val
= _windows
.new_PreFindReplaceDialog(*args
, **kwargs
)
2281 #---------------------------------------------------------------------------
2283 IDM_WINDOWTILE
= _windows
.IDM_WINDOWTILE
2284 IDM_WINDOWTILEHOR
= _windows
.IDM_WINDOWTILEHOR
2285 IDM_WINDOWCASCADE
= _windows
.IDM_WINDOWCASCADE
2286 IDM_WINDOWICONS
= _windows
.IDM_WINDOWICONS
2287 IDM_WINDOWNEXT
= _windows
.IDM_WINDOWNEXT
2288 IDM_WINDOWTILEVERT
= _windows
.IDM_WINDOWTILEVERT
2289 FIRST_MDI_CHILD
= _windows
.FIRST_MDI_CHILD
2290 LAST_MDI_CHILD
= _windows
.LAST_MDI_CHILD
2291 class MDIParentFrame(Frame
):
2293 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2294 def __init__(self
, *args
, **kwargs
):
2296 __init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
2297 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2298 wxString name=wxPyFrameNameStr) -> MDIParentFrame
2300 newobj
= _windows
.new_MDIParentFrame(*args
, **kwargs
)
2301 self
.this
= newobj
.this
2304 self
._setOORInfo
(self
)
2306 def Create(*args
, **kwargs
):
2308 Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
2309 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2310 wxString name=wxPyFrameNameStr) -> bool
2312 return _windows
.MDIParentFrame_Create(*args
, **kwargs
)
2314 def ActivateNext(*args
, **kwargs
):
2315 """ActivateNext()"""
2316 return _windows
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
2318 def ActivatePrevious(*args
, **kwargs
):
2319 """ActivatePrevious()"""
2320 return _windows
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
2322 def ArrangeIcons(*args
, **kwargs
):
2323 """ArrangeIcons()"""
2324 return _windows
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
2326 def Cascade(*args
, **kwargs
):
2328 return _windows
.MDIParentFrame_Cascade(*args
, **kwargs
)
2330 def GetActiveChild(*args
, **kwargs
):
2331 """GetActiveChild() -> MDIChildFrame"""
2332 return _windows
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
2334 def GetClientWindow(*args
, **kwargs
):
2335 """GetClientWindow() -> MDIClientWindow"""
2336 return _windows
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
2338 def GetToolBar(*args
, **kwargs
):
2339 """GetToolBar() -> Window"""
2340 return _windows
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
2342 def GetWindowMenu(*args
, **kwargs
):
2343 """GetWindowMenu() -> Menu"""
2344 return _windows
.MDIParentFrame_GetWindowMenu(*args
, **kwargs
)
2346 def SetWindowMenu(*args
, **kwargs
):
2347 """SetWindowMenu(Menu menu)"""
2348 return _windows
.MDIParentFrame_SetWindowMenu(*args
, **kwargs
)
2350 def SetToolBar(*args
, **kwargs
):
2351 """SetToolBar(wxToolBar toolbar)"""
2352 return _windows
.MDIParentFrame_SetToolBar(*args
, **kwargs
)
2354 def Tile(*args
, **kwargs
):
2356 return _windows
.MDIParentFrame_Tile(*args
, **kwargs
)
2359 class MDIParentFramePtr(MDIParentFrame
):
2360 def __init__(self
, this
):
2362 if not hasattr(self
,"thisown"): self
.thisown
= 0
2363 self
.__class
__ = MDIParentFrame
2364 _windows
.MDIParentFrame_swigregister(MDIParentFramePtr
)
2366 def PreMDIParentFrame(*args
, **kwargs
):
2367 """PreMDIParentFrame() -> MDIParentFrame"""
2368 val
= _windows
.new_PreMDIParentFrame(*args
, **kwargs
)
2372 class MDIChildFrame(Frame
):
2374 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2375 def __init__(self
, *args
, **kwargs
):
2377 __init__(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition,
2378 Size size=DefaultSize,
2379 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> MDIChildFrame
2381 newobj
= _windows
.new_MDIChildFrame(*args
, **kwargs
)
2382 self
.this
= newobj
.this
2385 self
._setOORInfo
(self
)
2387 def Create(*args
, **kwargs
):
2389 Create(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition,
2390 Size size=DefaultSize,
2391 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> bool
2393 return _windows
.MDIChildFrame_Create(*args
, **kwargs
)
2395 def Activate(*args
, **kwargs
):
2397 return _windows
.MDIChildFrame_Activate(*args
, **kwargs
)
2399 def Maximize(*args
, **kwargs
):
2400 """Maximize(bool maximize)"""
2401 return _windows
.MDIChildFrame_Maximize(*args
, **kwargs
)
2403 def Restore(*args
, **kwargs
):
2405 return _windows
.MDIChildFrame_Restore(*args
, **kwargs
)
2408 class MDIChildFramePtr(MDIChildFrame
):
2409 def __init__(self
, this
):
2411 if not hasattr(self
,"thisown"): self
.thisown
= 0
2412 self
.__class
__ = MDIChildFrame
2413 _windows
.MDIChildFrame_swigregister(MDIChildFramePtr
)
2415 def PreMDIChildFrame(*args
, **kwargs
):
2416 """PreMDIChildFrame() -> MDIChildFrame"""
2417 val
= _windows
.new_PreMDIChildFrame(*args
, **kwargs
)
2421 class MDIClientWindow(core
.Window
):
2423 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2424 def __init__(self
, *args
, **kwargs
):
2425 """__init__(MDIParentFrame parent, long style=0) -> MDIClientWindow"""
2426 newobj
= _windows
.new_MDIClientWindow(*args
, **kwargs
)
2427 self
.this
= newobj
.this
2430 self
._setOORInfo
(self
)
2432 def Create(*args
, **kwargs
):
2433 """Create(MDIParentFrame parent, long style=0) -> bool"""
2434 return _windows
.MDIClientWindow_Create(*args
, **kwargs
)
2437 class MDIClientWindowPtr(MDIClientWindow
):
2438 def __init__(self
, this
):
2440 if not hasattr(self
,"thisown"): self
.thisown
= 0
2441 self
.__class
__ = MDIClientWindow
2442 _windows
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
2444 def PreMDIClientWindow(*args
, **kwargs
):
2445 """PreMDIClientWindow() -> MDIClientWindow"""
2446 val
= _windows
.new_PreMDIClientWindow(*args
, **kwargs
)
2450 #---------------------------------------------------------------------------
2452 class PyWindow(core
.Window
):
2454 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2455 def __init__(self
, *args
, **kwargs
):
2457 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2458 long style=0, wxString name=PanelNameStr) -> PyWindow
2460 newobj
= _windows
.new_PyWindow(*args
, **kwargs
)
2461 self
.this
= newobj
.this
2464 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
2466 def _setCallbackInfo(*args
, **kwargs
):
2467 """_setCallbackInfo(PyObject self, PyObject _class)"""
2468 return _windows
.PyWindow__setCallbackInfo(*args
, **kwargs
)
2470 def base_DoMoveWindow(*args
, **kwargs
):
2471 """base_DoMoveWindow(int x, int y, int width, int height)"""
2472 return _windows
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
2474 def base_DoSetSize(*args
, **kwargs
):
2475 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2476 return _windows
.PyWindow_base_DoSetSize(*args
, **kwargs
)
2478 def base_DoSetClientSize(*args
, **kwargs
):
2479 """base_DoSetClientSize(int width, int height)"""
2480 return _windows
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
2482 def base_DoSetVirtualSize(*args
, **kwargs
):
2483 """base_DoSetVirtualSize(int x, int y)"""
2484 return _windows
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
2486 def base_DoGetSize(*args
, **kwargs
):
2487 """base_DoGetSize() -> (width, height)"""
2488 return _windows
.PyWindow_base_DoGetSize(*args
, **kwargs
)
2490 def base_DoGetClientSize(*args
, **kwargs
):
2491 """base_DoGetClientSize() -> (width, height)"""
2492 return _windows
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
2494 def base_DoGetPosition(*args
, **kwargs
):
2495 """base_DoGetPosition() -> (x,y)"""
2496 return _windows
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
2498 def base_DoGetVirtualSize(*args
, **kwargs
):
2499 """base_DoGetVirtualSize() -> Size"""
2500 return _windows
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
2502 def base_DoGetBestSize(*args
, **kwargs
):
2503 """base_DoGetBestSize() -> Size"""
2504 return _windows
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
2506 def base_InitDialog(*args
, **kwargs
):
2507 """base_InitDialog()"""
2508 return _windows
.PyWindow_base_InitDialog(*args
, **kwargs
)
2510 def base_TransferDataToWindow(*args
, **kwargs
):
2511 """base_TransferDataToWindow() -> bool"""
2512 return _windows
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
2514 def base_TransferDataFromWindow(*args
, **kwargs
):
2515 """base_TransferDataFromWindow() -> bool"""
2516 return _windows
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
2518 def base_Validate(*args
, **kwargs
):
2519 """base_Validate() -> bool"""
2520 return _windows
.PyWindow_base_Validate(*args
, **kwargs
)
2522 def base_AcceptsFocus(*args
, **kwargs
):
2523 """base_AcceptsFocus() -> bool"""
2524 return _windows
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
2526 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2527 """base_AcceptsFocusFromKeyboard() -> bool"""
2528 return _windows
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2530 def base_GetMaxSize(*args
, **kwargs
):
2531 """base_GetMaxSize() -> Size"""
2532 return _windows
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
2534 def base_AddChild(*args
, **kwargs
):
2535 """base_AddChild(Window child)"""
2536 return _windows
.PyWindow_base_AddChild(*args
, **kwargs
)
2538 def base_RemoveChild(*args
, **kwargs
):
2539 """base_RemoveChild(Window child)"""
2540 return _windows
.PyWindow_base_RemoveChild(*args
, **kwargs
)
2543 class PyWindowPtr(PyWindow
):
2544 def __init__(self
, this
):
2546 if not hasattr(self
,"thisown"): self
.thisown
= 0
2547 self
.__class
__ = PyWindow
2548 _windows
.PyWindow_swigregister(PyWindowPtr
)
2550 class PyPanel(Panel
):
2552 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2553 def __init__(self
, *args
, **kwargs
):
2555 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2556 long style=0, wxString name=PanelNameStr) -> PyPanel
2558 newobj
= _windows
.new_PyPanel(*args
, **kwargs
)
2559 self
.this
= newobj
.this
2562 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
2564 def _setCallbackInfo(*args
, **kwargs
):
2565 """_setCallbackInfo(PyObject self, PyObject _class)"""
2566 return _windows
.PyPanel__setCallbackInfo(*args
, **kwargs
)
2568 def base_DoMoveWindow(*args
, **kwargs
):
2569 """base_DoMoveWindow(int x, int y, int width, int height)"""
2570 return _windows
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
2572 def base_DoSetSize(*args
, **kwargs
):
2573 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2574 return _windows
.PyPanel_base_DoSetSize(*args
, **kwargs
)
2576 def base_DoSetClientSize(*args
, **kwargs
):
2577 """base_DoSetClientSize(int width, int height)"""
2578 return _windows
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
2580 def base_DoSetVirtualSize(*args
, **kwargs
):
2581 """base_DoSetVirtualSize(int x, int y)"""
2582 return _windows
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
2584 def base_DoGetSize(*args
, **kwargs
):
2585 """base_DoGetSize() -> (width, height)"""
2586 return _windows
.PyPanel_base_DoGetSize(*args
, **kwargs
)
2588 def base_DoGetClientSize(*args
, **kwargs
):
2589 """base_DoGetClientSize() -> (width, height)"""
2590 return _windows
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
2592 def base_DoGetPosition(*args
, **kwargs
):
2593 """base_DoGetPosition() -> (x,y)"""
2594 return _windows
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
2596 def base_DoGetVirtualSize(*args
, **kwargs
):
2597 """base_DoGetVirtualSize() -> Size"""
2598 return _windows
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
2600 def base_DoGetBestSize(*args
, **kwargs
):
2601 """base_DoGetBestSize() -> Size"""
2602 return _windows
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
2604 def base_InitDialog(*args
, **kwargs
):
2605 """base_InitDialog()"""
2606 return _windows
.PyPanel_base_InitDialog(*args
, **kwargs
)
2608 def base_TransferDataToWindow(*args
, **kwargs
):
2609 """base_TransferDataToWindow() -> bool"""
2610 return _windows
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
2612 def base_TransferDataFromWindow(*args
, **kwargs
):
2613 """base_TransferDataFromWindow() -> bool"""
2614 return _windows
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
2616 def base_Validate(*args
, **kwargs
):
2617 """base_Validate() -> bool"""
2618 return _windows
.PyPanel_base_Validate(*args
, **kwargs
)
2620 def base_AcceptsFocus(*args
, **kwargs
):
2621 """base_AcceptsFocus() -> bool"""
2622 return _windows
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
2624 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2625 """base_AcceptsFocusFromKeyboard() -> bool"""
2626 return _windows
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2628 def base_GetMaxSize(*args
, **kwargs
):
2629 """base_GetMaxSize() -> Size"""
2630 return _windows
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
2632 def base_AddChild(*args
, **kwargs
):
2633 """base_AddChild(Window child)"""
2634 return _windows
.PyPanel_base_AddChild(*args
, **kwargs
)
2636 def base_RemoveChild(*args
, **kwargs
):
2637 """base_RemoveChild(Window child)"""
2638 return _windows
.PyPanel_base_RemoveChild(*args
, **kwargs
)
2641 class PyPanelPtr(PyPanel
):
2642 def __init__(self
, this
):
2644 if not hasattr(self
,"thisown"): self
.thisown
= 0
2645 self
.__class
__ = PyPanel
2646 _windows
.PyPanel_swigregister(PyPanelPtr
)
2648 #---------------------------------------------------------------------------
2650 PRINT_MODE_NONE
= _windows
.PRINT_MODE_NONE
2651 PRINT_MODE_PREVIEW
= _windows
.PRINT_MODE_PREVIEW
2652 PRINT_MODE_FILE
= _windows
.PRINT_MODE_FILE
2653 PRINT_MODE_PRINTER
= _windows
.PRINT_MODE_PRINTER
2654 class PrintData(core
.Object
):
2656 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2657 def __init__(self
, *args
, **kwargs
):
2658 """__init__() -> PrintData"""
2659 newobj
= _windows
.new_PrintData(*args
, **kwargs
)
2660 self
.this
= newobj
.this
2663 def __del__(self
, destroy
=_windows
.delete_PrintData
):
2666 if self
.thisown
: destroy(self
)
2669 def GetNoCopies(*args
, **kwargs
):
2670 """GetNoCopies() -> int"""
2671 return _windows
.PrintData_GetNoCopies(*args
, **kwargs
)
2673 def GetCollate(*args
, **kwargs
):
2674 """GetCollate() -> bool"""
2675 return _windows
.PrintData_GetCollate(*args
, **kwargs
)
2677 def GetOrientation(*args
, **kwargs
):
2678 """GetOrientation() -> int"""
2679 return _windows
.PrintData_GetOrientation(*args
, **kwargs
)
2681 def Ok(*args
, **kwargs
):
2683 return _windows
.PrintData_Ok(*args
, **kwargs
)
2685 def GetPrinterName(*args
, **kwargs
):
2686 """GetPrinterName() -> wxString"""
2687 return _windows
.PrintData_GetPrinterName(*args
, **kwargs
)
2689 def GetColour(*args
, **kwargs
):
2690 """GetColour() -> bool"""
2691 return _windows
.PrintData_GetColour(*args
, **kwargs
)
2693 def GetDuplex(*args
, **kwargs
):
2694 """GetDuplex() -> wxDuplexMode"""
2695 return _windows
.PrintData_GetDuplex(*args
, **kwargs
)
2697 def GetPaperId(*args
, **kwargs
):
2698 """GetPaperId() -> wxPaperSize"""
2699 return _windows
.PrintData_GetPaperId(*args
, **kwargs
)
2701 def GetPaperSize(*args
, **kwargs
):
2702 """GetPaperSize() -> Size"""
2703 return _windows
.PrintData_GetPaperSize(*args
, **kwargs
)
2705 def GetQuality(*args
, **kwargs
):
2706 """GetQuality() -> wxPrintQuality"""
2707 return _windows
.PrintData_GetQuality(*args
, **kwargs
)
2709 def SetNoCopies(*args
, **kwargs
):
2710 """SetNoCopies(int v)"""
2711 return _windows
.PrintData_SetNoCopies(*args
, **kwargs
)
2713 def SetCollate(*args
, **kwargs
):
2714 """SetCollate(bool flag)"""
2715 return _windows
.PrintData_SetCollate(*args
, **kwargs
)
2717 def SetOrientation(*args
, **kwargs
):
2718 """SetOrientation(int orient)"""
2719 return _windows
.PrintData_SetOrientation(*args
, **kwargs
)
2721 def SetPrinterName(*args
, **kwargs
):
2722 """SetPrinterName(wxString name)"""
2723 return _windows
.PrintData_SetPrinterName(*args
, **kwargs
)
2725 def SetColour(*args
, **kwargs
):
2726 """SetColour(bool colour)"""
2727 return _windows
.PrintData_SetColour(*args
, **kwargs
)
2729 def SetDuplex(*args
, **kwargs
):
2730 """SetDuplex(wxDuplexMode duplex)"""
2731 return _windows
.PrintData_SetDuplex(*args
, **kwargs
)
2733 def SetPaperId(*args
, **kwargs
):
2734 """SetPaperId(wxPaperSize sizeId)"""
2735 return _windows
.PrintData_SetPaperId(*args
, **kwargs
)
2737 def SetPaperSize(*args
, **kwargs
):
2738 """SetPaperSize(Size sz)"""
2739 return _windows
.PrintData_SetPaperSize(*args
, **kwargs
)
2741 def SetQuality(*args
, **kwargs
):
2742 """SetQuality(wxPrintQuality quality)"""
2743 return _windows
.PrintData_SetQuality(*args
, **kwargs
)
2745 def GetPrinterCommand(*args
, **kwargs
):
2746 """GetPrinterCommand() -> wxString"""
2747 return _windows
.PrintData_GetPrinterCommand(*args
, **kwargs
)
2749 def GetPrinterOptions(*args
, **kwargs
):
2750 """GetPrinterOptions() -> wxString"""
2751 return _windows
.PrintData_GetPrinterOptions(*args
, **kwargs
)
2753 def GetPreviewCommand(*args
, **kwargs
):
2754 """GetPreviewCommand() -> wxString"""
2755 return _windows
.PrintData_GetPreviewCommand(*args
, **kwargs
)
2757 def GetFilename(*args
, **kwargs
):
2758 """GetFilename() -> wxString"""
2759 return _windows
.PrintData_GetFilename(*args
, **kwargs
)
2761 def GetFontMetricPath(*args
, **kwargs
):
2762 """GetFontMetricPath() -> wxString"""
2763 return _windows
.PrintData_GetFontMetricPath(*args
, **kwargs
)
2765 def GetPrinterScaleX(*args
, **kwargs
):
2766 """GetPrinterScaleX() -> double"""
2767 return _windows
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
2769 def GetPrinterScaleY(*args
, **kwargs
):
2770 """GetPrinterScaleY() -> double"""
2771 return _windows
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
2773 def GetPrinterTranslateX(*args
, **kwargs
):
2774 """GetPrinterTranslateX() -> long"""
2775 return _windows
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
2777 def GetPrinterTranslateY(*args
, **kwargs
):
2778 """GetPrinterTranslateY() -> long"""
2779 return _windows
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
2781 def GetPrintMode(*args
, **kwargs
):
2782 """GetPrintMode() -> wxPrintMode"""
2783 return _windows
.PrintData_GetPrintMode(*args
, **kwargs
)
2785 def SetPrinterCommand(*args
, **kwargs
):
2786 """SetPrinterCommand(wxString command)"""
2787 return _windows
.PrintData_SetPrinterCommand(*args
, **kwargs
)
2789 def SetPrinterOptions(*args
, **kwargs
):
2790 """SetPrinterOptions(wxString options)"""
2791 return _windows
.PrintData_SetPrinterOptions(*args
, **kwargs
)
2793 def SetPreviewCommand(*args
, **kwargs
):
2794 """SetPreviewCommand(wxString command)"""
2795 return _windows
.PrintData_SetPreviewCommand(*args
, **kwargs
)
2797 def SetFilename(*args
, **kwargs
):
2798 """SetFilename(wxString filename)"""
2799 return _windows
.PrintData_SetFilename(*args
, **kwargs
)
2801 def SetFontMetricPath(*args
, **kwargs
):
2802 """SetFontMetricPath(wxString path)"""
2803 return _windows
.PrintData_SetFontMetricPath(*args
, **kwargs
)
2805 def SetPrinterScaleX(*args
, **kwargs
):
2806 """SetPrinterScaleX(double x)"""
2807 return _windows
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
2809 def SetPrinterScaleY(*args
, **kwargs
):
2810 """SetPrinterScaleY(double y)"""
2811 return _windows
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
2813 def SetPrinterScaling(*args
, **kwargs
):
2814 """SetPrinterScaling(double x, double y)"""
2815 return _windows
.PrintData_SetPrinterScaling(*args
, **kwargs
)
2817 def SetPrinterTranslateX(*args
, **kwargs
):
2818 """SetPrinterTranslateX(long x)"""
2819 return _windows
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
2821 def SetPrinterTranslateY(*args
, **kwargs
):
2822 """SetPrinterTranslateY(long y)"""
2823 return _windows
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
2825 def SetPrinterTranslation(*args
, **kwargs
):
2826 """SetPrinterTranslation(long x, long y)"""
2827 return _windows
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
2829 def SetPrintMode(*args
, **kwargs
):
2830 """SetPrintMode(wxPrintMode printMode)"""
2831 return _windows
.PrintData_SetPrintMode(*args
, **kwargs
)
2833 def __nonzero__(self
): return self
.Ok()
2835 class PrintDataPtr(PrintData
):
2836 def __init__(self
, this
):
2838 if not hasattr(self
,"thisown"): self
.thisown
= 0
2839 self
.__class
__ = PrintData
2840 _windows
.PrintData_swigregister(PrintDataPtr
)
2842 class PageSetupDialogData(core
.Object
):
2844 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2845 def __init__(self
, *args
, **kwargs
):
2846 """__init__() -> PageSetupDialogData"""
2847 newobj
= _windows
.new_PageSetupDialogData(*args
, **kwargs
)
2848 self
.this
= newobj
.this
2851 def __del__(self
, destroy
=_windows
.delete_PageSetupDialogData
):
2854 if self
.thisown
: destroy(self
)
2857 def EnableHelp(*args
, **kwargs
):
2858 """EnableHelp(bool flag)"""
2859 return _windows
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
2861 def EnableMargins(*args
, **kwargs
):
2862 """EnableMargins(bool flag)"""
2863 return _windows
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
2865 def EnableOrientation(*args
, **kwargs
):
2866 """EnableOrientation(bool flag)"""
2867 return _windows
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
2869 def EnablePaper(*args
, **kwargs
):
2870 """EnablePaper(bool flag)"""
2871 return _windows
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
2873 def EnablePrinter(*args
, **kwargs
):
2874 """EnablePrinter(bool flag)"""
2875 return _windows
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
2877 def GetDefaultMinMargins(*args
, **kwargs
):
2878 """GetDefaultMinMargins() -> bool"""
2879 return _windows
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
2881 def GetEnableMargins(*args
, **kwargs
):
2882 """GetEnableMargins() -> bool"""
2883 return _windows
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
2885 def GetEnableOrientation(*args
, **kwargs
):
2886 """GetEnableOrientation() -> bool"""
2887 return _windows
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
2889 def GetEnablePaper(*args
, **kwargs
):
2890 """GetEnablePaper() -> bool"""
2891 return _windows
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
2893 def GetEnablePrinter(*args
, **kwargs
):
2894 """GetEnablePrinter() -> bool"""
2895 return _windows
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
2897 def GetEnableHelp(*args
, **kwargs
):
2898 """GetEnableHelp() -> bool"""
2899 return _windows
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
2901 def GetDefaultInfo(*args
, **kwargs
):
2902 """GetDefaultInfo() -> bool"""
2903 return _windows
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
2905 def GetMarginTopLeft(*args
, **kwargs
):
2906 """GetMarginTopLeft() -> Point"""
2907 return _windows
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
2909 def GetMarginBottomRight(*args
, **kwargs
):
2910 """GetMarginBottomRight() -> Point"""
2911 return _windows
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
2913 def GetMinMarginTopLeft(*args
, **kwargs
):
2914 """GetMinMarginTopLeft() -> Point"""
2915 return _windows
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
2917 def GetMinMarginBottomRight(*args
, **kwargs
):
2918 """GetMinMarginBottomRight() -> Point"""
2919 return _windows
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
2921 def GetPaperId(*args
, **kwargs
):
2922 """GetPaperId() -> wxPaperSize"""
2923 return _windows
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
2925 def GetPaperSize(*args
, **kwargs
):
2926 """GetPaperSize() -> Size"""
2927 return _windows
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
2929 def GetPrintData(*args
, **kwargs
):
2930 """GetPrintData() -> PrintData"""
2931 return _windows
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
2933 def Ok(*args
, **kwargs
):
2935 return _windows
.PageSetupDialogData_Ok(*args
, **kwargs
)
2937 def SetDefaultInfo(*args
, **kwargs
):
2938 """SetDefaultInfo(bool flag)"""
2939 return _windows
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
2941 def SetDefaultMinMargins(*args
, **kwargs
):
2942 """SetDefaultMinMargins(bool flag)"""
2943 return _windows
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
2945 def SetMarginTopLeft(*args
, **kwargs
):
2946 """SetMarginTopLeft(Point pt)"""
2947 return _windows
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
2949 def SetMarginBottomRight(*args
, **kwargs
):
2950 """SetMarginBottomRight(Point pt)"""
2951 return _windows
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
2953 def SetMinMarginTopLeft(*args
, **kwargs
):
2954 """SetMinMarginTopLeft(Point pt)"""
2955 return _windows
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
2957 def SetMinMarginBottomRight(*args
, **kwargs
):
2958 """SetMinMarginBottomRight(Point pt)"""
2959 return _windows
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
2961 def SetPaperId(*args
, **kwargs
):
2962 """SetPaperId(wxPaperSize id)"""
2963 return _windows
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
2965 def SetPaperSize(*args
, **kwargs
):
2966 """SetPaperSize(Size size)"""
2967 return _windows
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
2969 def SetPrintData(*args
, **kwargs
):
2970 """SetPrintData(PrintData printData)"""
2971 return _windows
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
2973 def __nonzero__(self
): return self
.Ok()
2975 class PageSetupDialogDataPtr(PageSetupDialogData
):
2976 def __init__(self
, this
):
2978 if not hasattr(self
,"thisown"): self
.thisown
= 0
2979 self
.__class
__ = PageSetupDialogData
2980 _windows
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
2982 class PageSetupDialog(Dialog
):
2984 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2985 def __init__(self
, *args
, **kwargs
):
2986 """__init__(Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
2987 newobj
= _windows
.new_PageSetupDialog(*args
, **kwargs
)
2988 self
.this
= newobj
.this
2991 self
._setOORInfo
(self
)
2993 def GetPageSetupData(*args
, **kwargs
):
2994 """GetPageSetupData() -> PageSetupDialogData"""
2995 return _windows
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
2997 def ShowModal(*args
, **kwargs
):
2998 """ShowModal() -> int"""
2999 return _windows
.PageSetupDialog_ShowModal(*args
, **kwargs
)
3002 class PageSetupDialogPtr(PageSetupDialog
):
3003 def __init__(self
, this
):
3005 if not hasattr(self
,"thisown"): self
.thisown
= 0
3006 self
.__class
__ = PageSetupDialog
3007 _windows
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
3009 class PrintDialogData(core
.Object
):
3011 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3012 def __init__(self
, *args
, **kwargs
):
3013 """__init__() -> PrintDialogData"""
3014 newobj
= _windows
.new_PrintDialogData(*args
, **kwargs
)
3015 self
.this
= newobj
.this
3018 def __del__(self
, destroy
=_windows
.delete_PrintDialogData
):
3021 if self
.thisown
: destroy(self
)
3024 def GetFromPage(*args
, **kwargs
):
3025 """GetFromPage() -> int"""
3026 return _windows
.PrintDialogData_GetFromPage(*args
, **kwargs
)
3028 def GetToPage(*args
, **kwargs
):
3029 """GetToPage() -> int"""
3030 return _windows
.PrintDialogData_GetToPage(*args
, **kwargs
)
3032 def GetMinPage(*args
, **kwargs
):
3033 """GetMinPage() -> int"""
3034 return _windows
.PrintDialogData_GetMinPage(*args
, **kwargs
)
3036 def GetMaxPage(*args
, **kwargs
):
3037 """GetMaxPage() -> int"""
3038 return _windows
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
3040 def GetNoCopies(*args
, **kwargs
):
3041 """GetNoCopies() -> int"""
3042 return _windows
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
3044 def GetAllPages(*args
, **kwargs
):
3045 """GetAllPages() -> bool"""
3046 return _windows
.PrintDialogData_GetAllPages(*args
, **kwargs
)
3048 def GetSelection(*args
, **kwargs
):
3049 """GetSelection() -> bool"""
3050 return _windows
.PrintDialogData_GetSelection(*args
, **kwargs
)
3052 def GetCollate(*args
, **kwargs
):
3053 """GetCollate() -> bool"""
3054 return _windows
.PrintDialogData_GetCollate(*args
, **kwargs
)
3056 def GetPrintToFile(*args
, **kwargs
):
3057 """GetPrintToFile() -> bool"""
3058 return _windows
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
3060 def GetSetupDialog(*args
, **kwargs
):
3061 """GetSetupDialog() -> bool"""
3062 return _windows
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
3064 def SetFromPage(*args
, **kwargs
):
3065 """SetFromPage(int v)"""
3066 return _windows
.PrintDialogData_SetFromPage(*args
, **kwargs
)
3068 def SetToPage(*args
, **kwargs
):
3069 """SetToPage(int v)"""
3070 return _windows
.PrintDialogData_SetToPage(*args
, **kwargs
)
3072 def SetMinPage(*args
, **kwargs
):
3073 """SetMinPage(int v)"""
3074 return _windows
.PrintDialogData_SetMinPage(*args
, **kwargs
)
3076 def SetMaxPage(*args
, **kwargs
):
3077 """SetMaxPage(int v)"""
3078 return _windows
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
3080 def SetNoCopies(*args
, **kwargs
):
3081 """SetNoCopies(int v)"""
3082 return _windows
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
3084 def SetAllPages(*args
, **kwargs
):
3085 """SetAllPages(bool flag)"""
3086 return _windows
.PrintDialogData_SetAllPages(*args
, **kwargs
)
3088 def SetSelection(*args
, **kwargs
):
3089 """SetSelection(bool flag)"""
3090 return _windows
.PrintDialogData_SetSelection(*args
, **kwargs
)
3092 def SetCollate(*args
, **kwargs
):
3093 """SetCollate(bool flag)"""
3094 return _windows
.PrintDialogData_SetCollate(*args
, **kwargs
)
3096 def SetPrintToFile(*args
, **kwargs
):
3097 """SetPrintToFile(bool flag)"""
3098 return _windows
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
3100 def SetSetupDialog(*args
, **kwargs
):
3101 """SetSetupDialog(bool flag)"""
3102 return _windows
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
3104 def EnablePrintToFile(*args
, **kwargs
):
3105 """EnablePrintToFile(bool flag)"""
3106 return _windows
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
3108 def EnableSelection(*args
, **kwargs
):
3109 """EnableSelection(bool flag)"""
3110 return _windows
.PrintDialogData_EnableSelection(*args
, **kwargs
)
3112 def EnablePageNumbers(*args
, **kwargs
):
3113 """EnablePageNumbers(bool flag)"""
3114 return _windows
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
3116 def EnableHelp(*args
, **kwargs
):
3117 """EnableHelp(bool flag)"""
3118 return _windows
.PrintDialogData_EnableHelp(*args
, **kwargs
)
3120 def GetEnablePrintToFile(*args
, **kwargs
):
3121 """GetEnablePrintToFile() -> bool"""
3122 return _windows
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
3124 def GetEnableSelection(*args
, **kwargs
):
3125 """GetEnableSelection() -> bool"""
3126 return _windows
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
3128 def GetEnablePageNumbers(*args
, **kwargs
):
3129 """GetEnablePageNumbers() -> bool"""
3130 return _windows
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
3132 def GetEnableHelp(*args
, **kwargs
):
3133 """GetEnableHelp() -> bool"""
3134 return _windows
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
3136 def Ok(*args
, **kwargs
):
3138 return _windows
.PrintDialogData_Ok(*args
, **kwargs
)
3140 def GetPrintData(*args
, **kwargs
):
3141 """GetPrintData() -> PrintData"""
3142 return _windows
.PrintDialogData_GetPrintData(*args
, **kwargs
)
3144 def SetPrintData(*args
, **kwargs
):
3145 """SetPrintData(PrintData printData)"""
3146 return _windows
.PrintDialogData_SetPrintData(*args
, **kwargs
)
3148 def __nonzero__(self
): return self
.Ok()
3150 class PrintDialogDataPtr(PrintDialogData
):
3151 def __init__(self
, this
):
3153 if not hasattr(self
,"thisown"): self
.thisown
= 0
3154 self
.__class
__ = PrintDialogData
3155 _windows
.PrintDialogData_swigregister(PrintDialogDataPtr
)
3157 class PrintDialog(Dialog
):
3159 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3160 def __init__(self
, *args
, **kwargs
):
3161 """__init__(Window parent, PrintDialogData data=None) -> PrintDialog"""
3162 newobj
= _windows
.new_PrintDialog(*args
, **kwargs
)
3163 self
.this
= newobj
.this
3166 self
._setOORInfo
(self
)
3168 def GetPrintDialogData(*args
, **kwargs
):
3169 """GetPrintDialogData() -> PrintDialogData"""
3170 return _windows
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
3172 def GetPrintDC(*args
, **kwargs
):
3173 """GetPrintDC() -> wxDC"""
3174 return _windows
.PrintDialog_GetPrintDC(*args
, **kwargs
)
3176 def ShowModal(*args
, **kwargs
):
3177 """ShowModal() -> int"""
3178 return _windows
.PrintDialog_ShowModal(*args
, **kwargs
)
3181 class PrintDialogPtr(PrintDialog
):
3182 def __init__(self
, this
):
3184 if not hasattr(self
,"thisown"): self
.thisown
= 0
3185 self
.__class
__ = PrintDialog
3186 _windows
.PrintDialog_swigregister(PrintDialogPtr
)
3188 PRINTER_NO_ERROR
= _windows
.PRINTER_NO_ERROR
3189 PRINTER_CANCELLED
= _windows
.PRINTER_CANCELLED
3190 PRINTER_ERROR
= _windows
.PRINTER_ERROR
3191 class Printer(core
.Object
):
3193 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3194 def __init__(self
, *args
, **kwargs
):
3195 """__init__(PrintDialogData data=None) -> Printer"""
3196 newobj
= _windows
.new_Printer(*args
, **kwargs
)
3197 self
.this
= newobj
.this
3200 def __del__(self
, destroy
=_windows
.delete_Printer
):
3203 if self
.thisown
: destroy(self
)
3206 def CreateAbortWindow(*args
, **kwargs
):
3207 """CreateAbortWindow(Window parent, Printout printout)"""
3208 return _windows
.Printer_CreateAbortWindow(*args
, **kwargs
)
3210 def GetPrintDialogData(*args
, **kwargs
):
3211 """GetPrintDialogData() -> PrintDialogData"""
3212 return _windows
.Printer_GetPrintDialogData(*args
, **kwargs
)
3214 def Print(*args
, **kwargs
):
3215 """Print(Window parent, Printout printout, int prompt=True) -> bool"""
3216 return _windows
.Printer_Print(*args
, **kwargs
)
3218 def PrintDialog(*args
, **kwargs
):
3219 """PrintDialog(Window parent) -> wxDC"""
3220 return _windows
.Printer_PrintDialog(*args
, **kwargs
)
3222 def ReportError(*args
, **kwargs
):
3223 """ReportError(Window parent, Printout printout, wxString message)"""
3224 return _windows
.Printer_ReportError(*args
, **kwargs
)
3226 def Setup(*args
, **kwargs
):
3227 """Setup(Window parent) -> bool"""
3228 return _windows
.Printer_Setup(*args
, **kwargs
)
3230 def GetAbort(*args
, **kwargs
):
3231 """GetAbort() -> bool"""
3232 return _windows
.Printer_GetAbort(*args
, **kwargs
)
3234 def GetLastError(*args
, **kwargs
):
3235 """Printer.GetLastError() -> wxPrinterError"""
3236 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3238 GetLastError
= staticmethod(GetLastError
)
3240 class PrinterPtr(Printer
):
3241 def __init__(self
, this
):
3243 if not hasattr(self
,"thisown"): self
.thisown
= 0
3244 self
.__class
__ = Printer
3245 _windows
.Printer_swigregister(PrinterPtr
)
3247 def Printer_GetLastError(*args
, **kwargs
):
3248 """Printer_GetLastError() -> wxPrinterError"""
3249 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3251 class Printout(core
.Object
):
3253 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3254 def __init__(self
, *args
, **kwargs
):
3255 """__init__(wxString title=wxPyPrintoutTitleStr) -> Printout"""
3256 newobj
= _windows
.new_Printout(*args
, **kwargs
)
3257 self
.this
= newobj
.this
3260 self
._setCallbackInfo
(self
, Printout
)
3262 def _setCallbackInfo(*args
, **kwargs
):
3263 """_setCallbackInfo(PyObject self, PyObject _class)"""
3264 return _windows
.Printout__setCallbackInfo(*args
, **kwargs
)
3266 def GetTitle(*args
, **kwargs
):
3267 """GetTitle() -> wxString"""
3268 return _windows
.Printout_GetTitle(*args
, **kwargs
)
3270 def GetDC(*args
, **kwargs
):
3271 """GetDC() -> wxDC"""
3272 return _windows
.Printout_GetDC(*args
, **kwargs
)
3274 def SetDC(*args
, **kwargs
):
3275 """SetDC(wxDC dc)"""
3276 return _windows
.Printout_SetDC(*args
, **kwargs
)
3278 def SetPageSizePixels(*args
, **kwargs
):
3279 """SetPageSizePixels(int w, int h)"""
3280 return _windows
.Printout_SetPageSizePixels(*args
, **kwargs
)
3282 def GetPageSizePixels(*args
, **kwargs
):
3283 """GetPageSizePixels() -> (w, h)"""
3284 return _windows
.Printout_GetPageSizePixels(*args
, **kwargs
)
3286 def SetPageSizeMM(*args
, **kwargs
):
3287 """SetPageSizeMM(int w, int h)"""
3288 return _windows
.Printout_SetPageSizeMM(*args
, **kwargs
)
3290 def GetPageSizeMM(*args
, **kwargs
):
3291 """GetPageSizeMM() -> (w, h)"""
3292 return _windows
.Printout_GetPageSizeMM(*args
, **kwargs
)
3294 def SetPPIScreen(*args
, **kwargs
):
3295 """SetPPIScreen(int x, int y)"""
3296 return _windows
.Printout_SetPPIScreen(*args
, **kwargs
)
3298 def GetPPIScreen(*args
, **kwargs
):
3299 """GetPPIScreen() -> (x,y)"""
3300 return _windows
.Printout_GetPPIScreen(*args
, **kwargs
)
3302 def SetPPIPrinter(*args
, **kwargs
):
3303 """SetPPIPrinter(int x, int y)"""
3304 return _windows
.Printout_SetPPIPrinter(*args
, **kwargs
)
3306 def GetPPIPrinter(*args
, **kwargs
):
3307 """GetPPIPrinter() -> (x,y)"""
3308 return _windows
.Printout_GetPPIPrinter(*args
, **kwargs
)
3310 def IsPreview(*args
, **kwargs
):
3311 """IsPreview() -> bool"""
3312 return _windows
.Printout_IsPreview(*args
, **kwargs
)
3314 def SetIsPreview(*args
, **kwargs
):
3315 """SetIsPreview(bool p)"""
3316 return _windows
.Printout_SetIsPreview(*args
, **kwargs
)
3318 def base_OnBeginDocument(*args
, **kwargs
):
3319 """base_OnBeginDocument(int startPage, int endPage) -> bool"""
3320 return _windows
.Printout_base_OnBeginDocument(*args
, **kwargs
)
3322 def base_OnEndDocument(*args
, **kwargs
):
3323 """base_OnEndDocument()"""
3324 return _windows
.Printout_base_OnEndDocument(*args
, **kwargs
)
3326 def base_OnBeginPrinting(*args
, **kwargs
):
3327 """base_OnBeginPrinting()"""
3328 return _windows
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
3330 def base_OnEndPrinting(*args
, **kwargs
):
3331 """base_OnEndPrinting()"""
3332 return _windows
.Printout_base_OnEndPrinting(*args
, **kwargs
)
3334 def base_OnPreparePrinting(*args
, **kwargs
):
3335 """base_OnPreparePrinting()"""
3336 return _windows
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
3338 def base_HasPage(*args
, **kwargs
):
3339 """base_HasPage(int page) -> bool"""
3340 return _windows
.Printout_base_HasPage(*args
, **kwargs
)
3342 def base_GetPageInfo(*args
, **kwargs
):
3343 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
3344 return _windows
.Printout_base_GetPageInfo(*args
, **kwargs
)
3347 class PrintoutPtr(Printout
):
3348 def __init__(self
, this
):
3350 if not hasattr(self
,"thisown"): self
.thisown
= 0
3351 self
.__class
__ = Printout
3352 _windows
.Printout_swigregister(PrintoutPtr
)
3354 class PreviewCanvas(ScrolledWindow
):
3356 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3357 def __init__(self
, *args
, **kwargs
):
3359 __init__(PrintPreview preview, Window parent, Point pos=DefaultPosition,
3360 Size size=DefaultSize, long style=0,
3361 wxString name=wxPyPreviewCanvasNameStr) -> PreviewCanvas
3363 newobj
= _windows
.new_PreviewCanvas(*args
, **kwargs
)
3364 self
.this
= newobj
.this
3367 self
._setOORInfo
(self
)
3370 class PreviewCanvasPtr(PreviewCanvas
):
3371 def __init__(self
, this
):
3373 if not hasattr(self
,"thisown"): self
.thisown
= 0
3374 self
.__class
__ = PreviewCanvas
3375 _windows
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
3377 class PreviewFrame(Frame
):
3379 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3380 def __init__(self
, *args
, **kwargs
):
3382 __init__(PrintPreview preview, Frame parent, wxString title,
3383 Point pos=DefaultPosition, Size size=DefaultSize,
3384 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PreviewFrame
3386 newobj
= _windows
.new_PreviewFrame(*args
, **kwargs
)
3387 self
.this
= newobj
.this
3390 self
._setOORInfo
(self
)
3392 def Initialize(*args
, **kwargs
):
3394 return _windows
.PreviewFrame_Initialize(*args
, **kwargs
)
3396 def CreateControlBar(*args
, **kwargs
):
3397 """CreateControlBar()"""
3398 return _windows
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
3400 def CreateCanvas(*args
, **kwargs
):
3401 """CreateCanvas()"""
3402 return _windows
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
3404 def GetControlBar(*args
, **kwargs
):
3405 """GetControlBar() -> PreviewControlBar"""
3406 return _windows
.PreviewFrame_GetControlBar(*args
, **kwargs
)
3409 class PreviewFramePtr(PreviewFrame
):
3410 def __init__(self
, this
):
3412 if not hasattr(self
,"thisown"): self
.thisown
= 0
3413 self
.__class
__ = PreviewFrame
3414 _windows
.PreviewFrame_swigregister(PreviewFramePtr
)
3416 PREVIEW_PRINT
= _windows
.PREVIEW_PRINT
3417 PREVIEW_PREVIOUS
= _windows
.PREVIEW_PREVIOUS
3418 PREVIEW_NEXT
= _windows
.PREVIEW_NEXT
3419 PREVIEW_ZOOM
= _windows
.PREVIEW_ZOOM
3420 PREVIEW_FIRST
= _windows
.PREVIEW_FIRST
3421 PREVIEW_LAST
= _windows
.PREVIEW_LAST
3422 PREVIEW_GOTO
= _windows
.PREVIEW_GOTO
3423 PREVIEW_DEFAULT
= _windows
.PREVIEW_DEFAULT
3424 ID_PREVIEW_CLOSE
= _windows
.ID_PREVIEW_CLOSE
3425 ID_PREVIEW_NEXT
= _windows
.ID_PREVIEW_NEXT
3426 ID_PREVIEW_PREVIOUS
= _windows
.ID_PREVIEW_PREVIOUS
3427 ID_PREVIEW_PRINT
= _windows
.ID_PREVIEW_PRINT
3428 ID_PREVIEW_ZOOM
= _windows
.ID_PREVIEW_ZOOM
3429 ID_PREVIEW_FIRST
= _windows
.ID_PREVIEW_FIRST
3430 ID_PREVIEW_LAST
= _windows
.ID_PREVIEW_LAST
3431 ID_PREVIEW_GOTO
= _windows
.ID_PREVIEW_GOTO
3432 class PreviewControlBar(Panel
):
3434 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3435 def __init__(self
, *args
, **kwargs
):
3437 __init__(PrintPreview preview, long buttons, Window parent,
3438 Point pos=DefaultPosition, Size size=DefaultSize,
3439 long style=TAB_TRAVERSAL, wxString name=PanelNameStr) -> PreviewControlBar
3441 newobj
= _windows
.new_PreviewControlBar(*args
, **kwargs
)
3442 self
.this
= newobj
.this
3445 self
._setOORInfo
(self
)
3447 def GetZoomControl(*args
, **kwargs
):
3448 """GetZoomControl() -> int"""
3449 return _windows
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
3451 def SetZoomControl(*args
, **kwargs
):
3452 """SetZoomControl(int zoom)"""
3453 return _windows
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
3455 def GetPrintPreview(*args
, **kwargs
):
3456 """GetPrintPreview() -> PrintPreview"""
3457 return _windows
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
3459 def OnNext(*args
, **kwargs
):
3461 return _windows
.PreviewControlBar_OnNext(*args
, **kwargs
)
3463 def OnPrevious(*args
, **kwargs
):
3465 return _windows
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
3467 def OnFirst(*args
, **kwargs
):
3469 return _windows
.PreviewControlBar_OnFirst(*args
, **kwargs
)
3471 def OnLast(*args
, **kwargs
):
3473 return _windows
.PreviewControlBar_OnLast(*args
, **kwargs
)
3475 def OnGoto(*args
, **kwargs
):
3477 return _windows
.PreviewControlBar_OnGoto(*args
, **kwargs
)
3480 class PreviewControlBarPtr(PreviewControlBar
):
3481 def __init__(self
, this
):
3483 if not hasattr(self
,"thisown"): self
.thisown
= 0
3484 self
.__class
__ = PreviewControlBar
3485 _windows
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
3487 class PrintPreview(core
.Object
):
3489 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3490 def __init__(self
, *args
, **kwargs
):
3491 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PrintPreview"""
3492 newobj
= _windows
.new_PrintPreview(*args
, **kwargs
)
3493 self
.this
= newobj
.this
3496 def SetCurrentPage(*args
, **kwargs
):
3497 """SetCurrentPage(int pageNum) -> bool"""
3498 return _windows
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
3500 def GetCurrentPage(*args
, **kwargs
):
3501 """GetCurrentPage() -> int"""
3502 return _windows
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
3504 def SetPrintout(*args
, **kwargs
):
3505 """SetPrintout(Printout printout)"""
3506 return _windows
.PrintPreview_SetPrintout(*args
, **kwargs
)
3508 def GetPrintout(*args
, **kwargs
):
3509 """GetPrintout() -> Printout"""
3510 return _windows
.PrintPreview_GetPrintout(*args
, **kwargs
)
3512 def GetPrintoutForPrinting(*args
, **kwargs
):
3513 """GetPrintoutForPrinting() -> Printout"""
3514 return _windows
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
3516 def SetFrame(*args
, **kwargs
):
3517 """SetFrame(Frame frame)"""
3518 return _windows
.PrintPreview_SetFrame(*args
, **kwargs
)
3520 def SetCanvas(*args
, **kwargs
):
3521 """SetCanvas(PreviewCanvas canvas)"""
3522 return _windows
.PrintPreview_SetCanvas(*args
, **kwargs
)
3524 def GetFrame(*args
, **kwargs
):
3525 """GetFrame() -> Frame"""
3526 return _windows
.PrintPreview_GetFrame(*args
, **kwargs
)
3528 def GetCanvas(*args
, **kwargs
):
3529 """GetCanvas() -> PreviewCanvas"""
3530 return _windows
.PrintPreview_GetCanvas(*args
, **kwargs
)
3532 def PaintPage(*args
, **kwargs
):
3533 """PaintPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3534 return _windows
.PrintPreview_PaintPage(*args
, **kwargs
)
3536 def DrawBlankPage(*args
, **kwargs
):
3537 """DrawBlankPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3538 return _windows
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
3540 def RenderPage(*args
, **kwargs
):
3541 """RenderPage(int pageNum) -> bool"""
3542 return _windows
.PrintPreview_RenderPage(*args
, **kwargs
)
3544 def AdjustScrollbars(*args
, **kwargs
):
3545 """AdjustScrollbars(PreviewCanvas canvas)"""
3546 return _windows
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
3548 def GetPrintDialogData(*args
, **kwargs
):
3549 """GetPrintDialogData() -> PrintDialogData"""
3550 return _windows
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
3552 def SetZoom(*args
, **kwargs
):
3553 """SetZoom(int percent)"""
3554 return _windows
.PrintPreview_SetZoom(*args
, **kwargs
)
3556 def GetZoom(*args
, **kwargs
):
3557 """GetZoom() -> int"""
3558 return _windows
.PrintPreview_GetZoom(*args
, **kwargs
)
3560 def GetMaxPage(*args
, **kwargs
):
3561 """GetMaxPage() -> int"""
3562 return _windows
.PrintPreview_GetMaxPage(*args
, **kwargs
)
3564 def GetMinPage(*args
, **kwargs
):
3565 """GetMinPage() -> int"""
3566 return _windows
.PrintPreview_GetMinPage(*args
, **kwargs
)
3568 def Ok(*args
, **kwargs
):
3570 return _windows
.PrintPreview_Ok(*args
, **kwargs
)
3572 def SetOk(*args
, **kwargs
):
3573 """SetOk(bool ok)"""
3574 return _windows
.PrintPreview_SetOk(*args
, **kwargs
)
3576 def Print(*args
, **kwargs
):
3577 """Print(bool interactive) -> bool"""
3578 return _windows
.PrintPreview_Print(*args
, **kwargs
)
3580 def DetermineScaling(*args
, **kwargs
):
3581 """DetermineScaling()"""
3582 return _windows
.PrintPreview_DetermineScaling(*args
, **kwargs
)
3584 def __nonzero__(self
): return self
.Ok()
3586 class PrintPreviewPtr(PrintPreview
):
3587 def __init__(self
, this
):
3589 if not hasattr(self
,"thisown"): self
.thisown
= 0
3590 self
.__class
__ = PrintPreview
3591 _windows
.PrintPreview_swigregister(PrintPreviewPtr
)
3593 class PyPrintPreview(PrintPreview
):
3595 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3596 def __init__(self
, *args
, **kwargs
):
3597 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PyPrintPreview"""
3598 newobj
= _windows
.new_PyPrintPreview(*args
, **kwargs
)
3599 self
.this
= newobj
.this
3602 self
._setCallbackInfo
(self
, PyPrintPreview
)
3604 def _setCallbackInfo(*args
, **kwargs
):
3605 """_setCallbackInfo(PyObject self, PyObject _class)"""
3606 return _windows
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
3608 def base_SetCurrentPage(*args
, **kwargs
):
3609 """base_SetCurrentPage(int pageNum) -> bool"""
3610 return _windows
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
3612 def base_PaintPage(*args
, **kwargs
):
3613 """base_PaintPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3614 return _windows
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
3616 def base_DrawBlankPage(*args
, **kwargs
):
3617 """base_DrawBlankPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3618 return _windows
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
3620 def base_RenderPage(*args
, **kwargs
):
3621 """base_RenderPage(int pageNum) -> bool"""
3622 return _windows
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
3624 def base_SetZoom(*args
, **kwargs
):
3625 """base_SetZoom(int percent)"""
3626 return _windows
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
3628 def base_Print(*args
, **kwargs
):
3629 """base_Print(bool interactive) -> bool"""
3630 return _windows
.PyPrintPreview_base_Print(*args
, **kwargs
)
3632 def base_DetermineScaling(*args
, **kwargs
):
3633 """base_DetermineScaling()"""
3634 return _windows
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
3637 class PyPrintPreviewPtr(PyPrintPreview
):
3638 def __init__(self
, this
):
3640 if not hasattr(self
,"thisown"): self
.thisown
= 0
3641 self
.__class
__ = PyPrintPreview
3642 _windows
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
3644 class PyPreviewFrame(PreviewFrame
):
3646 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3647 def __init__(self
, *args
, **kwargs
):
3649 __init__(PrintPreview preview, Frame parent, wxString title,
3650 Point pos=DefaultPosition, Size size=DefaultSize,
3651 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PyPreviewFrame
3653 newobj
= _windows
.new_PyPreviewFrame(*args
, **kwargs
)
3654 self
.this
= newobj
.this
3657 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
3659 def _setCallbackInfo(*args
, **kwargs
):
3660 """_setCallbackInfo(PyObject self, PyObject _class)"""
3661 return _windows
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
3663 def SetPreviewCanvas(*args
, **kwargs
):
3664 """SetPreviewCanvas(PreviewCanvas canvas)"""
3665 return _windows
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
3667 def SetControlBar(*args
, **kwargs
):
3668 """SetControlBar(PreviewControlBar bar)"""
3669 return _windows
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
3671 def base_Initialize(*args
, **kwargs
):
3672 """base_Initialize()"""
3673 return _windows
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
3675 def base_CreateCanvas(*args
, **kwargs
):
3676 """base_CreateCanvas()"""
3677 return _windows
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
3679 def base_CreateControlBar(*args
, **kwargs
):
3680 """base_CreateControlBar()"""
3681 return _windows
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
3684 class PyPreviewFramePtr(PyPreviewFrame
):
3685 def __init__(self
, this
):
3687 if not hasattr(self
,"thisown"): self
.thisown
= 0
3688 self
.__class
__ = PyPreviewFrame
3689 _windows
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
3691 class PyPreviewControlBar(PreviewControlBar
):
3693 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3694 def __init__(self
, *args
, **kwargs
):
3696 __init__(PrintPreview preview, long buttons, Window parent,
3697 Point pos=DefaultPosition, Size size=DefaultSize,
3698 long style=0, wxString name=PanelNameStr) -> PyPreviewControlBar
3700 newobj
= _windows
.new_PyPreviewControlBar(*args
, **kwargs
)
3701 self
.this
= newobj
.this
3704 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
3706 def _setCallbackInfo(*args
, **kwargs
):
3707 """_setCallbackInfo(PyObject self, PyObject _class)"""
3708 return _windows
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
3710 def SetPrintPreview(*args
, **kwargs
):
3711 """SetPrintPreview(PrintPreview preview)"""
3712 return _windows
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
3714 def base_CreateButtons(*args
, **kwargs
):
3715 """base_CreateButtons()"""
3716 return _windows
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
3718 def base_SetZoomControl(*args
, **kwargs
):
3719 """base_SetZoomControl(int zoom)"""
3720 return _windows
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
3723 class PyPreviewControlBarPtr(PyPreviewControlBar
):
3724 def __init__(self
, this
):
3726 if not hasattr(self
,"thisown"): self
.thisown
= 0
3727 self
.__class
__ = PyPreviewControlBar
3728 _windows
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)