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 String 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 String 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 String 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 String 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() -> Icon"""
222 return _windows
.TopLevelWindow_GetIcon(*args
, **kwargs
)
224 def SetIcon(*args
, **kwargs
):
225 """SetIcon(Icon 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(String title)"""
242 return _windows
.TopLevelWindow_SetTitle(*args
, **kwargs
)
244 def GetTitle(*args
, **kwargs
):
245 """GetTitle() -> String"""
246 return _windows
.TopLevelWindow_GetTitle(*args
, **kwargs
)
248 def SetShape(*args
, **kwargs
):
249 """SetShape(Region 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 FrameNameStr
= cvar
.FrameNameStr
261 DialogNameStr
= cvar
.DialogNameStr
262 StatusLineNameStr
= cvar
.StatusLineNameStr
263 ToolBarNameStr
= cvar
.ToolBarNameStr
265 #---------------------------------------------------------------------------
267 class Frame(TopLevelWindow
):
269 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
270 def __init__(self
, *args
, **kwargs
):
272 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
273 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
274 String name=FrameNameStr) -> Frame
276 newobj
= _windows
.new_Frame(*args
, **kwargs
)
277 self
.this
= newobj
.this
280 self
._setOORInfo
(self
)
282 def Create(*args
, **kwargs
):
284 Create(Window parent, int id, String title, Point pos=DefaultPosition,
285 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
286 String name=FrameNameStr) -> bool
288 return _windows
.Frame_Create(*args
, **kwargs
)
290 def GetClientAreaOrigin(*args
, **kwargs
):
291 """GetClientAreaOrigin() -> Point"""
292 return _windows
.Frame_GetClientAreaOrigin(*args
, **kwargs
)
294 def SendSizeEvent(*args
, **kwargs
):
295 """SendSizeEvent()"""
296 return _windows
.Frame_SendSizeEvent(*args
, **kwargs
)
298 def SetMenuBar(*args
, **kwargs
):
299 """SetMenuBar(MenuBar menubar)"""
300 return _windows
.Frame_SetMenuBar(*args
, **kwargs
)
302 def GetMenuBar(*args
, **kwargs
):
303 """GetMenuBar() -> MenuBar"""
304 return _windows
.Frame_GetMenuBar(*args
, **kwargs
)
306 def ProcessCommand(*args
, **kwargs
):
307 """ProcessCommand(int winid) -> bool"""
308 return _windows
.Frame_ProcessCommand(*args
, **kwargs
)
310 Command
= ProcessCommand
311 def CreateStatusBar(*args
, **kwargs
):
313 CreateStatusBar(int number=1, long style=ST_SIZEGRIP, int winid=0,
314 String name=StatusLineNameStr) -> StatusBar
316 return _windows
.Frame_CreateStatusBar(*args
, **kwargs
)
318 def GetStatusBar(*args
, **kwargs
):
319 """GetStatusBar() -> StatusBar"""
320 return _windows
.Frame_GetStatusBar(*args
, **kwargs
)
322 def SetStatusBar(*args
, **kwargs
):
323 """SetStatusBar(StatusBar statBar)"""
324 return _windows
.Frame_SetStatusBar(*args
, **kwargs
)
326 def SetStatusText(*args
, **kwargs
):
327 """SetStatusText(String text, int number=0)"""
328 return _windows
.Frame_SetStatusText(*args
, **kwargs
)
330 def SetStatusWidths(*args
, **kwargs
):
331 """SetStatusWidths(int widths, int widths_field)"""
332 return _windows
.Frame_SetStatusWidths(*args
, **kwargs
)
334 def PushStatusText(*args
, **kwargs
):
335 """PushStatusText(String text, int number=0)"""
336 return _windows
.Frame_PushStatusText(*args
, **kwargs
)
338 def PopStatusText(*args
, **kwargs
):
339 """PopStatusText(int number=0)"""
340 return _windows
.Frame_PopStatusText(*args
, **kwargs
)
342 def SetStatusBarPane(*args
, **kwargs
):
343 """SetStatusBarPane(int n)"""
344 return _windows
.Frame_SetStatusBarPane(*args
, **kwargs
)
346 def GetStatusBarPane(*args
, **kwargs
):
347 """GetStatusBarPane() -> int"""
348 return _windows
.Frame_GetStatusBarPane(*args
, **kwargs
)
350 def CreateToolBar(*args
, **kwargs
):
351 """CreateToolBar(long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar"""
352 return _windows
.Frame_CreateToolBar(*args
, **kwargs
)
354 def GetToolBar(*args
, **kwargs
):
355 """GetToolBar() -> wxToolBar"""
356 return _windows
.Frame_GetToolBar(*args
, **kwargs
)
358 def SetToolBar(*args
, **kwargs
):
359 """SetToolBar(wxToolBar toolbar)"""
360 return _windows
.Frame_SetToolBar(*args
, **kwargs
)
362 def DoGiveHelp(*args
, **kwargs
):
363 """DoGiveHelp(String text, bool show)"""
364 return _windows
.Frame_DoGiveHelp(*args
, **kwargs
)
366 def DoMenuUpdates(*args
, **kwargs
):
367 """DoMenuUpdates(Menu menu=None)"""
368 return _windows
.Frame_DoMenuUpdates(*args
, **kwargs
)
371 class FramePtr(Frame
):
372 def __init__(self
, this
):
374 if not hasattr(self
,"thisown"): self
.thisown
= 0
375 self
.__class
__ = Frame
376 _windows
.Frame_swigregister(FramePtr
)
378 def PreFrame(*args
, **kwargs
):
379 """PreFrame() -> Frame"""
380 val
= _windows
.new_PreFrame(*args
, **kwargs
)
384 #---------------------------------------------------------------------------
386 class Dialog(TopLevelWindow
):
388 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
389 def __init__(self
, *args
, **kwargs
):
391 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
392 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
393 String name=DialogNameStr) -> Dialog
395 newobj
= _windows
.new_Dialog(*args
, **kwargs
)
396 self
.this
= newobj
.this
399 self
._setOORInfo
(self
)
401 def Create(*args
, **kwargs
):
403 Create(Window parent, int id, String title, Point pos=DefaultPosition,
404 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
405 String name=DialogNameStr) -> bool
407 return _windows
.Dialog_Create(*args
, **kwargs
)
409 def SetReturnCode(*args
, **kwargs
):
410 """SetReturnCode(int returnCode)"""
411 return _windows
.Dialog_SetReturnCode(*args
, **kwargs
)
413 def GetReturnCode(*args
, **kwargs
):
414 """GetReturnCode() -> int"""
415 return _windows
.Dialog_GetReturnCode(*args
, **kwargs
)
417 def CreateTextSizer(*args
, **kwargs
):
418 """CreateTextSizer(String message) -> Sizer"""
419 return _windows
.Dialog_CreateTextSizer(*args
, **kwargs
)
421 def CreateButtonSizer(*args
, **kwargs
):
422 """CreateButtonSizer(long flags) -> Sizer"""
423 return _windows
.Dialog_CreateButtonSizer(*args
, **kwargs
)
425 def IsModal(*args
, **kwargs
):
426 """IsModal() -> bool"""
427 return _windows
.Dialog_IsModal(*args
, **kwargs
)
429 def ShowModal(*args
, **kwargs
):
430 """ShowModal() -> int"""
431 return _windows
.Dialog_ShowModal(*args
, **kwargs
)
433 def EndModal(*args
, **kwargs
):
434 """EndModal(int retCode)"""
435 return _windows
.Dialog_EndModal(*args
, **kwargs
)
437 def IsModalShowing(*args
, **kwargs
):
438 """IsModalShowing() -> bool"""
439 return _windows
.Dialog_IsModalShowing(*args
, **kwargs
)
442 class DialogPtr(Dialog
):
443 def __init__(self
, this
):
445 if not hasattr(self
,"thisown"): self
.thisown
= 0
446 self
.__class
__ = Dialog
447 _windows
.Dialog_swigregister(DialogPtr
)
449 def PreDialog(*args
, **kwargs
):
450 """PreDialog() -> Dialog"""
451 val
= _windows
.new_PreDialog(*args
, **kwargs
)
455 #---------------------------------------------------------------------------
457 class MiniFrame(Frame
):
459 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
460 def __init__(self
, *args
, **kwargs
):
462 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
463 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
464 String name=FrameNameStr) -> MiniFrame
466 newobj
= _windows
.new_MiniFrame(*args
, **kwargs
)
467 self
.this
= newobj
.this
470 self
._setOORInfo
(self
)
472 def Create(*args
, **kwargs
):
474 Create(Window parent, int id, String title, Point pos=DefaultPosition,
475 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
476 String name=FrameNameStr) -> bool
478 return _windows
.MiniFrame_Create(*args
, **kwargs
)
481 class MiniFramePtr(MiniFrame
):
482 def __init__(self
, this
):
484 if not hasattr(self
,"thisown"): self
.thisown
= 0
485 self
.__class
__ = MiniFrame
486 _windows
.MiniFrame_swigregister(MiniFramePtr
)
488 def PreMiniFrame(*args
, **kwargs
):
489 """PreMiniFrame() -> MiniFrame"""
490 val
= _windows
.new_PreMiniFrame(*args
, **kwargs
)
494 #---------------------------------------------------------------------------
496 SPLASH_CENTRE_ON_PARENT
= _windows
.SPLASH_CENTRE_ON_PARENT
497 SPLASH_CENTRE_ON_SCREEN
= _windows
.SPLASH_CENTRE_ON_SCREEN
498 SPLASH_NO_CENTRE
= _windows
.SPLASH_NO_CENTRE
499 SPLASH_TIMEOUT
= _windows
.SPLASH_TIMEOUT
500 SPLASH_NO_TIMEOUT
= _windows
.SPLASH_NO_TIMEOUT
501 class SplashScreenWindow(core
.Window
):
503 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
504 def __init__(self
, *args
, **kwargs
):
506 __init__(Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
507 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
509 newobj
= _windows
.new_SplashScreenWindow(*args
, **kwargs
)
510 self
.this
= newobj
.this
513 self
._setOORInfo
(self
)
515 def SetBitmap(*args
, **kwargs
):
516 """SetBitmap(Bitmap bitmap)"""
517 return _windows
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
519 def GetBitmap(*args
, **kwargs
):
520 """GetBitmap() -> Bitmap"""
521 return _windows
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
524 class SplashScreenWindowPtr(SplashScreenWindow
):
525 def __init__(self
, this
):
527 if not hasattr(self
,"thisown"): self
.thisown
= 0
528 self
.__class
__ = SplashScreenWindow
529 _windows
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
531 class SplashScreen(Frame
):
533 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
534 def __init__(self
, *args
, **kwargs
):
536 __init__(Bitmap bitmap, long splashStyle, int milliseconds,
537 Window parent, int id, Point pos=DefaultPosition,
538 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
540 newobj
= _windows
.new_SplashScreen(*args
, **kwargs
)
541 self
.this
= newobj
.this
544 self
._setOORInfo
(self
)
546 def GetSplashStyle(*args
, **kwargs
):
547 """GetSplashStyle() -> long"""
548 return _windows
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
550 def GetSplashWindow(*args
, **kwargs
):
551 """GetSplashWindow() -> SplashScreenWindow"""
552 return _windows
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
554 def GetTimeout(*args
, **kwargs
):
555 """GetTimeout() -> int"""
556 return _windows
.SplashScreen_GetTimeout(*args
, **kwargs
)
559 class SplashScreenPtr(SplashScreen
):
560 def __init__(self
, this
):
562 if not hasattr(self
,"thisown"): self
.thisown
= 0
563 self
.__class
__ = SplashScreen
564 _windows
.SplashScreen_swigregister(SplashScreenPtr
)
566 #---------------------------------------------------------------------------
568 class StatusBar(core
.Window
):
570 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
571 def __init__(self
, *args
, **kwargs
):
572 """__init__(Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> StatusBar"""
573 newobj
= _windows
.new_StatusBar(*args
, **kwargs
)
574 self
.this
= newobj
.this
577 self
._setOORInfo
(self
)
579 def Create(*args
, **kwargs
):
580 """Create(Window parent, int id, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
581 return _windows
.StatusBar_Create(*args
, **kwargs
)
583 def SetFieldsCount(*args
, **kwargs
):
584 """SetFieldsCount(int number=1)"""
585 return _windows
.StatusBar_SetFieldsCount(*args
, **kwargs
)
587 def GetFieldsCount(*args
, **kwargs
):
588 """GetFieldsCount() -> int"""
589 return _windows
.StatusBar_GetFieldsCount(*args
, **kwargs
)
591 def SetStatusText(*args
, **kwargs
):
592 """SetStatusText(String text, int number=0)"""
593 return _windows
.StatusBar_SetStatusText(*args
, **kwargs
)
595 def GetStatusText(*args
, **kwargs
):
596 """GetStatusText(int number=0) -> String"""
597 return _windows
.StatusBar_GetStatusText(*args
, **kwargs
)
599 def PushStatusText(*args
, **kwargs
):
600 """PushStatusText(String text, int number=0)"""
601 return _windows
.StatusBar_PushStatusText(*args
, **kwargs
)
603 def PopStatusText(*args
, **kwargs
):
604 """PopStatusText(int number=0)"""
605 return _windows
.StatusBar_PopStatusText(*args
, **kwargs
)
607 def SetStatusWidths(*args
, **kwargs
):
608 """SetStatusWidths(int widths, int widths_field)"""
609 return _windows
.StatusBar_SetStatusWidths(*args
, **kwargs
)
611 def GetFieldRect(*args
, **kwargs
):
612 """GetFieldRect(int i) -> Rect"""
613 return _windows
.StatusBar_GetFieldRect(*args
, **kwargs
)
615 def SetMinHeight(*args
, **kwargs
):
616 """SetMinHeight(int height)"""
617 return _windows
.StatusBar_SetMinHeight(*args
, **kwargs
)
619 def GetBorderX(*args
, **kwargs
):
620 """GetBorderX() -> int"""
621 return _windows
.StatusBar_GetBorderX(*args
, **kwargs
)
623 def GetBorderY(*args
, **kwargs
):
624 """GetBorderY() -> int"""
625 return _windows
.StatusBar_GetBorderY(*args
, **kwargs
)
628 class StatusBarPtr(StatusBar
):
629 def __init__(self
, this
):
631 if not hasattr(self
,"thisown"): self
.thisown
= 0
632 self
.__class
__ = StatusBar
633 _windows
.StatusBar_swigregister(StatusBarPtr
)
635 def PreStatusBar(*args
, **kwargs
):
636 """PreStatusBar() -> StatusBar"""
637 val
= _windows
.new_PreStatusBar(*args
, **kwargs
)
641 #---------------------------------------------------------------------------
643 SP_NOBORDER
= _windows
.SP_NOBORDER
644 SP_NOSASH
= _windows
.SP_NOSASH
645 SP_PERMIT_UNSPLIT
= _windows
.SP_PERMIT_UNSPLIT
646 SP_LIVE_UPDATE
= _windows
.SP_LIVE_UPDATE
647 SP_3DSASH
= _windows
.SP_3DSASH
648 SP_3DBORDER
= _windows
.SP_3DBORDER
649 SP_BORDER
= _windows
.SP_BORDER
650 SP_3D
= _windows
.SP_3D
651 SPLIT_HORIZONTAL
= _windows
.SPLIT_HORIZONTAL
652 SPLIT_VERTICAL
= _windows
.SPLIT_VERTICAL
653 SPLIT_DRAG_NONE
= _windows
.SPLIT_DRAG_NONE
654 SPLIT_DRAG_DRAGGING
= _windows
.SPLIT_DRAG_DRAGGING
655 SPLIT_DRAG_LEFT_DOWN
= _windows
.SPLIT_DRAG_LEFT_DOWN
656 class SplitterWindow(core
.Window
):
658 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
659 def __init__(self
, *args
, **kwargs
):
661 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
662 long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
664 if kwargs
.has_key('point'): kwargs
['pos'] = kwargs
['point']
665 newobj
= _windows
.new_SplitterWindow(*args
, **kwargs
)
666 self
.this
= newobj
.this
669 self
._setOORInfo
(self
)
671 def Create(*args
, **kwargs
):
673 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
674 long style=SP_3D, String name=SplitterNameStr) -> bool
676 return _windows
.SplitterWindow_Create(*args
, **kwargs
)
678 def GetWindow1(*args
, **kwargs
):
679 """GetWindow1() -> Window"""
680 return _windows
.SplitterWindow_GetWindow1(*args
, **kwargs
)
682 def GetWindow2(*args
, **kwargs
):
683 """GetWindow2() -> Window"""
684 return _windows
.SplitterWindow_GetWindow2(*args
, **kwargs
)
686 def SetSplitMode(*args
, **kwargs
):
687 """SetSplitMode(int mode)"""
688 return _windows
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
690 def GetSplitMode(*args
, **kwargs
):
691 """GetSplitMode() -> int"""
692 return _windows
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
694 def Initialize(*args
, **kwargs
):
695 """Initialize(Window window)"""
696 return _windows
.SplitterWindow_Initialize(*args
, **kwargs
)
698 def SplitVertically(*args
, **kwargs
):
699 """SplitVertically(Window window1, Window window2, int sashPosition=0) -> bool"""
700 return _windows
.SplitterWindow_SplitVertically(*args
, **kwargs
)
702 def SplitHorizontally(*args
, **kwargs
):
703 """SplitHorizontally(Window window1, Window window2, int sashPosition=0) -> bool"""
704 return _windows
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
706 def Unsplit(*args
, **kwargs
):
707 """Unsplit(Window toRemove=None) -> bool"""
708 return _windows
.SplitterWindow_Unsplit(*args
, **kwargs
)
710 def ReplaceWindow(*args
, **kwargs
):
711 """ReplaceWindow(Window winOld, Window winNew) -> bool"""
712 return _windows
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
714 def IsSplit(*args
, **kwargs
):
715 """IsSplit() -> bool"""
716 return _windows
.SplitterWindow_IsSplit(*args
, **kwargs
)
718 def SetSashSize(*args
, **kwargs
):
719 """SetSashSize(int width)"""
720 return _windows
.SplitterWindow_SetSashSize(*args
, **kwargs
)
722 def SetBorderSize(*args
, **kwargs
):
723 """SetBorderSize(int width)"""
724 return _windows
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
726 def GetSashSize(*args
, **kwargs
):
727 """GetSashSize() -> int"""
728 return _windows
.SplitterWindow_GetSashSize(*args
, **kwargs
)
730 def GetBorderSize(*args
, **kwargs
):
731 """GetBorderSize() -> int"""
732 return _windows
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
734 def SetSashPosition(*args
, **kwargs
):
735 """SetSashPosition(int position, bool redraw=True)"""
736 return _windows
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
738 def GetSashPosition(*args
, **kwargs
):
739 """GetSashPosition() -> int"""
740 return _windows
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
742 def SetMinimumPaneSize(*args
, **kwargs
):
743 """SetMinimumPaneSize(int min)"""
744 return _windows
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
746 def GetMinimumPaneSize(*args
, **kwargs
):
747 """GetMinimumPaneSize() -> int"""
748 return _windows
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
750 def SashHitTest(*args
, **kwargs
):
751 """SashHitTest(int x, int y, int tolerance=5) -> bool"""
752 return _windows
.SplitterWindow_SashHitTest(*args
, **kwargs
)
754 def SizeWindows(*args
, **kwargs
):
756 return _windows
.SplitterWindow_SizeWindows(*args
, **kwargs
)
758 def SetNeedUpdating(*args
, **kwargs
):
759 """SetNeedUpdating(bool needUpdating)"""
760 return _windows
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
762 def GetNeedUpdating(*args
, **kwargs
):
763 """GetNeedUpdating() -> bool"""
764 return _windows
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
767 class SplitterWindowPtr(SplitterWindow
):
768 def __init__(self
, this
):
770 if not hasattr(self
,"thisown"): self
.thisown
= 0
771 self
.__class
__ = SplitterWindow
772 _windows
.SplitterWindow_swigregister(SplitterWindowPtr
)
773 SplitterNameStr
= cvar
.SplitterNameStr
775 def PreSplitterWindow(*args
, **kwargs
):
776 """PreSplitterWindow() -> SplitterWindow"""
777 val
= _windows
.new_PreSplitterWindow(*args
, **kwargs
)
781 class SplitterEvent(core
.NotifyEvent
):
783 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
784 def __init__(self
, *args
, **kwargs
):
785 """__init__(wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent"""
786 newobj
= _windows
.new_SplitterEvent(*args
, **kwargs
)
787 self
.this
= newobj
.this
790 def SetSashPosition(*args
, **kwargs
):
791 """SetSashPosition(int pos)"""
792 return _windows
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
794 def GetSashPosition(*args
, **kwargs
):
795 """GetSashPosition() -> int"""
796 return _windows
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
798 def GetWindowBeingRemoved(*args
, **kwargs
):
799 """GetWindowBeingRemoved() -> Window"""
800 return _windows
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
802 def GetX(*args
, **kwargs
):
804 return _windows
.SplitterEvent_GetX(*args
, **kwargs
)
806 def GetY(*args
, **kwargs
):
808 return _windows
.SplitterEvent_GetY(*args
, **kwargs
)
811 class SplitterEventPtr(SplitterEvent
):
812 def __init__(self
, this
):
814 if not hasattr(self
,"thisown"): self
.thisown
= 0
815 self
.__class
__ = SplitterEvent
816 _windows
.SplitterEvent_swigregister(SplitterEventPtr
)
818 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
819 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
820 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
821 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows
.wxEVT_COMMAND_SPLITTER_UNSPLIT
822 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
823 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
824 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
825 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
827 #---------------------------------------------------------------------------
829 SASH_DRAG_NONE
= _windows
.SASH_DRAG_NONE
830 SASH_DRAG_DRAGGING
= _windows
.SASH_DRAG_DRAGGING
831 SASH_DRAG_LEFT_DOWN
= _windows
.SASH_DRAG_LEFT_DOWN
832 SW_NOBORDER
= _windows
.SW_NOBORDER
833 SW_BORDER
= _windows
.SW_BORDER
834 SW_3DSASH
= _windows
.SW_3DSASH
835 SW_3DBORDER
= _windows
.SW_3DBORDER
836 SW_3D
= _windows
.SW_3D
837 SASH_TOP
= _windows
.SASH_TOP
838 SASH_RIGHT
= _windows
.SASH_RIGHT
839 SASH_BOTTOM
= _windows
.SASH_BOTTOM
840 SASH_LEFT
= _windows
.SASH_LEFT
841 SASH_NONE
= _windows
.SASH_NONE
842 class SashWindow(core
.Window
):
844 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
845 def __init__(self
, *args
, **kwargs
):
847 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
848 long style=wxCLIP_CHILDREN|wxSW_3D,
849 String name=SashNameStr) -> SashWindow
851 newobj
= _windows
.new_SashWindow(*args
, **kwargs
)
852 self
.this
= newobj
.this
855 self
._setOORInfo
(self
)
857 def Create(*args
, **kwargs
):
859 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
860 long style=wxCLIP_CHILDREN|wxSW_3D,
861 String name=SashNameStr) -> bool
863 return _windows
.SashWindow_Create(*args
, **kwargs
)
865 def SetSashVisible(*args
, **kwargs
):
866 """SetSashVisible(int edge, bool sash)"""
867 return _windows
.SashWindow_SetSashVisible(*args
, **kwargs
)
869 def GetSashVisible(*args
, **kwargs
):
870 """GetSashVisible(int edge) -> bool"""
871 return _windows
.SashWindow_GetSashVisible(*args
, **kwargs
)
873 def SetSashBorder(*args
, **kwargs
):
874 """SetSashBorder(int edge, bool border)"""
875 return _windows
.SashWindow_SetSashBorder(*args
, **kwargs
)
877 def HasBorder(*args
, **kwargs
):
878 """HasBorder(int edge) -> bool"""
879 return _windows
.SashWindow_HasBorder(*args
, **kwargs
)
881 def GetEdgeMargin(*args
, **kwargs
):
882 """GetEdgeMargin(int edge) -> int"""
883 return _windows
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
885 def SetDefaultBorderSize(*args
, **kwargs
):
886 """SetDefaultBorderSize(int width)"""
887 return _windows
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
889 def GetDefaultBorderSize(*args
, **kwargs
):
890 """GetDefaultBorderSize() -> int"""
891 return _windows
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
893 def SetExtraBorderSize(*args
, **kwargs
):
894 """SetExtraBorderSize(int width)"""
895 return _windows
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
897 def GetExtraBorderSize(*args
, **kwargs
):
898 """GetExtraBorderSize() -> int"""
899 return _windows
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
901 def SetMinimumSizeX(*args
, **kwargs
):
902 """SetMinimumSizeX(int min)"""
903 return _windows
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
905 def SetMinimumSizeY(*args
, **kwargs
):
906 """SetMinimumSizeY(int min)"""
907 return _windows
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
909 def GetMinimumSizeX(*args
, **kwargs
):
910 """GetMinimumSizeX() -> int"""
911 return _windows
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
913 def GetMinimumSizeY(*args
, **kwargs
):
914 """GetMinimumSizeY() -> int"""
915 return _windows
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
917 def SetMaximumSizeX(*args
, **kwargs
):
918 """SetMaximumSizeX(int max)"""
919 return _windows
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
921 def SetMaximumSizeY(*args
, **kwargs
):
922 """SetMaximumSizeY(int max)"""
923 return _windows
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
925 def GetMaximumSizeX(*args
, **kwargs
):
926 """GetMaximumSizeX() -> int"""
927 return _windows
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
929 def GetMaximumSizeY(*args
, **kwargs
):
930 """GetMaximumSizeY() -> int"""
931 return _windows
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
933 def SashHitTest(*args
, **kwargs
):
934 """SashHitTest(int x, int y, int tolerance=2) -> int"""
935 return _windows
.SashWindow_SashHitTest(*args
, **kwargs
)
937 def SizeWindows(*args
, **kwargs
):
939 return _windows
.SashWindow_SizeWindows(*args
, **kwargs
)
942 class SashWindowPtr(SashWindow
):
943 def __init__(self
, this
):
945 if not hasattr(self
,"thisown"): self
.thisown
= 0
946 self
.__class
__ = SashWindow
947 _windows
.SashWindow_swigregister(SashWindowPtr
)
948 SashNameStr
= cvar
.SashNameStr
949 SashLayoutNameStr
= cvar
.SashLayoutNameStr
951 def PreSashWindow(*args
, **kwargs
):
952 """PreSashWindow() -> SashWindow"""
953 val
= _windows
.new_PreSashWindow(*args
, **kwargs
)
957 SASH_STATUS_OK
= _windows
.SASH_STATUS_OK
958 SASH_STATUS_OUT_OF_RANGE
= _windows
.SASH_STATUS_OUT_OF_RANGE
959 class SashEvent(core
.CommandEvent
):
961 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
962 def __init__(self
, *args
, **kwargs
):
963 """__init__(int id=0, int edge=SASH_NONE) -> SashEvent"""
964 newobj
= _windows
.new_SashEvent(*args
, **kwargs
)
965 self
.this
= newobj
.this
968 def SetEdge(*args
, **kwargs
):
969 """SetEdge(int edge)"""
970 return _windows
.SashEvent_SetEdge(*args
, **kwargs
)
972 def GetEdge(*args
, **kwargs
):
973 """GetEdge() -> int"""
974 return _windows
.SashEvent_GetEdge(*args
, **kwargs
)
976 def SetDragRect(*args
, **kwargs
):
977 """SetDragRect(Rect rect)"""
978 return _windows
.SashEvent_SetDragRect(*args
, **kwargs
)
980 def GetDragRect(*args
, **kwargs
):
981 """GetDragRect() -> Rect"""
982 return _windows
.SashEvent_GetDragRect(*args
, **kwargs
)
984 def SetDragStatus(*args
, **kwargs
):
985 """SetDragStatus(int status)"""
986 return _windows
.SashEvent_SetDragStatus(*args
, **kwargs
)
988 def GetDragStatus(*args
, **kwargs
):
989 """GetDragStatus() -> int"""
990 return _windows
.SashEvent_GetDragStatus(*args
, **kwargs
)
993 class SashEventPtr(SashEvent
):
994 def __init__(self
, this
):
996 if not hasattr(self
,"thisown"): self
.thisown
= 0
997 self
.__class
__ = SashEvent
998 _windows
.SashEvent_swigregister(SashEventPtr
)
1000 wxEVT_SASH_DRAGGED
= _windows
.wxEVT_SASH_DRAGGED
1001 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
1002 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
1004 #---------------------------------------------------------------------------
1006 LAYOUT_HORIZONTAL
= _windows
.LAYOUT_HORIZONTAL
1007 LAYOUT_VERTICAL
= _windows
.LAYOUT_VERTICAL
1008 LAYOUT_NONE
= _windows
.LAYOUT_NONE
1009 LAYOUT_TOP
= _windows
.LAYOUT_TOP
1010 LAYOUT_LEFT
= _windows
.LAYOUT_LEFT
1011 LAYOUT_RIGHT
= _windows
.LAYOUT_RIGHT
1012 LAYOUT_BOTTOM
= _windows
.LAYOUT_BOTTOM
1013 LAYOUT_LENGTH_Y
= _windows
.LAYOUT_LENGTH_Y
1014 LAYOUT_LENGTH_X
= _windows
.LAYOUT_LENGTH_X
1015 LAYOUT_MRU_LENGTH
= _windows
.LAYOUT_MRU_LENGTH
1016 LAYOUT_QUERY
= _windows
.LAYOUT_QUERY
1017 wxEVT_QUERY_LAYOUT_INFO
= _windows
.wxEVT_QUERY_LAYOUT_INFO
1018 wxEVT_CALCULATE_LAYOUT
= _windows
.wxEVT_CALCULATE_LAYOUT
1019 class QueryLayoutInfoEvent(core
.Event
):
1021 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1022 def __init__(self
, *args
, **kwargs
):
1023 """__init__(int id=0) -> QueryLayoutInfoEvent"""
1024 newobj
= _windows
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1025 self
.this
= newobj
.this
1028 def SetRequestedLength(*args
, **kwargs
):
1029 """SetRequestedLength(int length)"""
1030 return _windows
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1032 def GetRequestedLength(*args
, **kwargs
):
1033 """GetRequestedLength() -> int"""
1034 return _windows
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1036 def SetFlags(*args
, **kwargs
):
1037 """SetFlags(int flags)"""
1038 return _windows
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1040 def GetFlags(*args
, **kwargs
):
1041 """GetFlags() -> int"""
1042 return _windows
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1044 def SetSize(*args
, **kwargs
):
1045 """SetSize(Size size)"""
1046 return _windows
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1048 def GetSize(*args
, **kwargs
):
1049 """GetSize() -> Size"""
1050 return _windows
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1052 def SetOrientation(*args
, **kwargs
):
1053 """SetOrientation(int orient)"""
1054 return _windows
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1056 def GetOrientation(*args
, **kwargs
):
1057 """GetOrientation() -> int"""
1058 return _windows
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1060 def SetAlignment(*args
, **kwargs
):
1061 """SetAlignment(int align)"""
1062 return _windows
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1064 def GetAlignment(*args
, **kwargs
):
1065 """GetAlignment() -> int"""
1066 return _windows
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1069 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1070 def __init__(self
, this
):
1072 if not hasattr(self
,"thisown"): self
.thisown
= 0
1073 self
.__class
__ = QueryLayoutInfoEvent
1074 _windows
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1076 class CalculateLayoutEvent(core
.Event
):
1078 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1079 def __init__(self
, *args
, **kwargs
):
1080 """__init__(int id=0) -> CalculateLayoutEvent"""
1081 newobj
= _windows
.new_CalculateLayoutEvent(*args
, **kwargs
)
1082 self
.this
= newobj
.this
1085 def SetFlags(*args
, **kwargs
):
1086 """SetFlags(int flags)"""
1087 return _windows
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1089 def GetFlags(*args
, **kwargs
):
1090 """GetFlags() -> int"""
1091 return _windows
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1093 def SetRect(*args
, **kwargs
):
1094 """SetRect(Rect rect)"""
1095 return _windows
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1097 def GetRect(*args
, **kwargs
):
1098 """GetRect() -> Rect"""
1099 return _windows
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1102 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1103 def __init__(self
, this
):
1105 if not hasattr(self
,"thisown"): self
.thisown
= 0
1106 self
.__class
__ = CalculateLayoutEvent
1107 _windows
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1109 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1110 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1112 class SashLayoutWindow(SashWindow
):
1114 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1115 def __init__(self
, *args
, **kwargs
):
1117 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1118 long style=wxCLIP_CHILDREN|wxSW_3D,
1119 String name=SashLayoutNameStr) -> SashLayoutWindow
1121 newobj
= _windows
.new_SashLayoutWindow(*args
, **kwargs
)
1122 self
.this
= newobj
.this
1125 self
._setOORInfo
(self
)
1127 def Create(*args
, **kwargs
):
1129 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1130 long style=wxCLIP_CHILDREN|wxSW_3D,
1131 String name=SashLayoutNameStr) -> bool
1133 return _windows
.SashLayoutWindow_Create(*args
, **kwargs
)
1135 def GetAlignment(*args
, **kwargs
):
1136 """GetAlignment() -> int"""
1137 return _windows
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1139 def GetOrientation(*args
, **kwargs
):
1140 """GetOrientation() -> int"""
1141 return _windows
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1143 def SetAlignment(*args
, **kwargs
):
1144 """SetAlignment(int alignment)"""
1145 return _windows
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1147 def SetDefaultSize(*args
, **kwargs
):
1148 """SetDefaultSize(Size size)"""
1149 return _windows
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1151 def SetOrientation(*args
, **kwargs
):
1152 """SetOrientation(int orientation)"""
1153 return _windows
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1156 class SashLayoutWindowPtr(SashLayoutWindow
):
1157 def __init__(self
, this
):
1159 if not hasattr(self
,"thisown"): self
.thisown
= 0
1160 self
.__class
__ = SashLayoutWindow
1161 _windows
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1163 def PreSashLayoutWindow(*args
, **kwargs
):
1164 """PreSashLayoutWindow() -> SashLayoutWindow"""
1165 val
= _windows
.new_PreSashLayoutWindow(*args
, **kwargs
)
1169 class LayoutAlgorithm(core
.Object
):
1171 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1172 def __init__(self
, *args
, **kwargs
):
1173 """__init__() -> LayoutAlgorithm"""
1174 newobj
= _windows
.new_LayoutAlgorithm(*args
, **kwargs
)
1175 self
.this
= newobj
.this
1178 def __del__(self
, destroy
=_windows
.delete_LayoutAlgorithm
):
1181 if self
.thisown
: destroy(self
)
1184 def LayoutMDIFrame(*args
, **kwargs
):
1185 """LayoutMDIFrame(MDIParentFrame frame, Rect rect=None) -> bool"""
1186 return _windows
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1188 def LayoutFrame(*args
, **kwargs
):
1189 """LayoutFrame(Frame frame, Window mainWindow=None) -> bool"""
1190 return _windows
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1192 def LayoutWindow(*args
, **kwargs
):
1193 """LayoutWindow(Window parent, Window mainWindow=None) -> bool"""
1194 return _windows
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1197 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1198 def __init__(self
, this
):
1200 if not hasattr(self
,"thisown"): self
.thisown
= 0
1201 self
.__class
__ = LayoutAlgorithm
1202 _windows
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1204 class PopupWindow(core
.Window
):
1206 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1207 def __init__(self
, *args
, **kwargs
):
1208 """__init__(Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1209 newobj
= _windows
.new_PopupWindow(*args
, **kwargs
)
1210 self
.this
= newobj
.this
1214 class PopupWindowPtr(PopupWindow
):
1215 def __init__(self
, this
):
1217 if not hasattr(self
,"thisown"): self
.thisown
= 0
1218 self
.__class
__ = PopupWindow
1219 _windows
.PopupWindow_swigregister(PopupWindowPtr
)
1221 def PrePopupWindow(*args
, **kwargs
):
1222 """PrePopupWindow() -> PopupWindow"""
1223 val
= _windows
.new_PrePopupWindow(*args
, **kwargs
)
1227 class PopupTransientWindow(PopupWindow
):
1229 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1230 def __init__(self
, *args
, **kwargs
):
1231 """__init__(Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1232 newobj
= _windows
.new_PopupTransientWindow(*args
, **kwargs
)
1233 self
.this
= newobj
.this
1237 class PopupTransientWindowPtr(PopupTransientWindow
):
1238 def __init__(self
, this
):
1240 if not hasattr(self
,"thisown"): self
.thisown
= 0
1241 self
.__class
__ = PopupTransientWindow
1242 _windows
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1244 def PrePopupTransientWindow(*args
, **kwargs
):
1245 """PrePopupTransientWindow() -> PopupTransientWindow"""
1246 val
= _windows
.new_PrePopupTransientWindow(*args
, **kwargs
)
1250 #---------------------------------------------------------------------------
1252 class TipWindow(Frame
):
1254 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1255 def __init__(self
, *args
, **kwargs
):
1256 """__init__(Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1257 newobj
= _windows
.new_TipWindow(*args
, **kwargs
)
1258 self
.this
= newobj
.this
1261 self
._setOORInfo
(self
)
1263 def SetBoundingRect(*args
, **kwargs
):
1264 """SetBoundingRect(Rect rectBound)"""
1265 return _windows
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1267 def Close(*args
, **kwargs
):
1269 return _windows
.TipWindow_Close(*args
, **kwargs
)
1272 class TipWindowPtr(TipWindow
):
1273 def __init__(self
, this
):
1275 if not hasattr(self
,"thisown"): self
.thisown
= 0
1276 self
.__class
__ = TipWindow
1277 _windows
.TipWindow_swigregister(TipWindowPtr
)
1279 #---------------------------------------------------------------------------
1281 class VScrolledWindow(Panel
):
1283 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1284 def __init__(self
, *args
, **kwargs
):
1286 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1287 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
1289 newobj
= _windows
.new_VScrolledWindow(*args
, **kwargs
)
1290 self
.this
= newobj
.this
1293 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1295 def _setCallbackInfo(*args
, **kwargs
):
1296 """_setCallbackInfo(PyObject self, PyObject _class)"""
1297 return _windows
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1299 def Create(*args
, **kwargs
):
1301 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1302 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
1304 return _windows
.VScrolledWindow_Create(*args
, **kwargs
)
1306 def SetLineCount(*args
, **kwargs
):
1307 """SetLineCount(size_t count)"""
1308 return _windows
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1310 def ScrollToLine(*args
, **kwargs
):
1311 """ScrollToLine(size_t line) -> bool"""
1312 return _windows
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1314 def ScrollLines(*args
, **kwargs
):
1315 """ScrollLines(int lines) -> bool"""
1316 return _windows
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1318 def ScrollPages(*args
, **kwargs
):
1319 """ScrollPages(int pages) -> bool"""
1320 return _windows
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1322 def RefreshLine(*args
, **kwargs
):
1323 """RefreshLine(size_t line)"""
1324 return _windows
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1326 def RefreshLines(*args
, **kwargs
):
1327 """RefreshLines(size_t from, size_t to)"""
1328 return _windows
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1330 def HitTestXT(*args
, **kwargs
):
1331 """HitTestXT(int x, int y) -> int"""
1332 return _windows
.VScrolledWindow_HitTestXT(*args
, **kwargs
)
1334 def HitTest(*args
, **kwargs
):
1335 """HitTest(Point pt) -> int"""
1336 return _windows
.VScrolledWindow_HitTest(*args
, **kwargs
)
1338 def RefreshAll(*args
, **kwargs
):
1340 return _windows
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1342 def GetLineCount(*args
, **kwargs
):
1343 """GetLineCount() -> size_t"""
1344 return _windows
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1346 def GetFirstVisibleLine(*args
, **kwargs
):
1347 """GetFirstVisibleLine() -> size_t"""
1348 return _windows
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1350 def GetLastVisibleLine(*args
, **kwargs
):
1351 """GetLastVisibleLine() -> size_t"""
1352 return _windows
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1354 def IsVisible(*args
, **kwargs
):
1355 """IsVisible(size_t line) -> bool"""
1356 return _windows
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1359 class VScrolledWindowPtr(VScrolledWindow
):
1360 def __init__(self
, this
):
1362 if not hasattr(self
,"thisown"): self
.thisown
= 0
1363 self
.__class
__ = VScrolledWindow
1364 _windows
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
1366 def PreVScrolledWindow(*args
, **kwargs
):
1367 """PreVScrolledWindow() -> VScrolledWindow"""
1368 val
= _windows
.new_PreVScrolledWindow(*args
, **kwargs
)
1372 class VListBox(VScrolledWindow
):
1374 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1375 def __init__(self
, *args
, **kwargs
):
1377 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1378 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
1380 newobj
= _windows
.new_VListBox(*args
, **kwargs
)
1381 self
.this
= newobj
.this
1384 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
1386 def _setCallbackInfo(*args
, **kwargs
):
1387 """_setCallbackInfo(PyObject self, PyObject _class)"""
1388 return _windows
.VListBox__setCallbackInfo(*args
, **kwargs
)
1390 def Create(*args
, **kwargs
):
1392 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1393 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1395 return _windows
.VListBox_Create(*args
, **kwargs
)
1397 def GetItemCount(*args
, **kwargs
):
1398 """GetItemCount() -> size_t"""
1399 return _windows
.VListBox_GetItemCount(*args
, **kwargs
)
1401 def HasMultipleSelection(*args
, **kwargs
):
1402 """HasMultipleSelection() -> bool"""
1403 return _windows
.VListBox_HasMultipleSelection(*args
, **kwargs
)
1405 def GetSelection(*args
, **kwargs
):
1406 """GetSelection() -> int"""
1407 return _windows
.VListBox_GetSelection(*args
, **kwargs
)
1409 def IsCurrent(*args
, **kwargs
):
1410 """IsCurrent(size_t item) -> bool"""
1411 return _windows
.VListBox_IsCurrent(*args
, **kwargs
)
1413 def IsSelected(*args
, **kwargs
):
1414 """IsSelected(size_t item) -> bool"""
1415 return _windows
.VListBox_IsSelected(*args
, **kwargs
)
1417 def GetSelectedCount(*args
, **kwargs
):
1418 """GetSelectedCount() -> size_t"""
1419 return _windows
.VListBox_GetSelectedCount(*args
, **kwargs
)
1421 def GetFirstSelected(*args
, **kwargs
):
1422 """GetFirstSelected(unsigned long cookie) -> int"""
1423 return _windows
.VListBox_GetFirstSelected(*args
, **kwargs
)
1425 def GetNextSelected(*args
, **kwargs
):
1426 """GetNextSelected(unsigned long cookie) -> int"""
1427 return _windows
.VListBox_GetNextSelected(*args
, **kwargs
)
1429 def GetMargins(*args
, **kwargs
):
1430 """GetMargins() -> Point"""
1431 return _windows
.VListBox_GetMargins(*args
, **kwargs
)
1433 def GetSelectionBackground(*args
, **kwargs
):
1434 """GetSelectionBackground() -> Colour"""
1435 return _windows
.VListBox_GetSelectionBackground(*args
, **kwargs
)
1437 def SetItemCount(*args
, **kwargs
):
1438 """SetItemCount(size_t count)"""
1439 return _windows
.VListBox_SetItemCount(*args
, **kwargs
)
1441 def Clear(*args
, **kwargs
):
1443 return _windows
.VListBox_Clear(*args
, **kwargs
)
1445 def SetSelection(*args
, **kwargs
):
1446 """SetSelection(int selection)"""
1447 return _windows
.VListBox_SetSelection(*args
, **kwargs
)
1449 def Select(*args
, **kwargs
):
1450 """Select(size_t item, bool select=True) -> bool"""
1451 return _windows
.VListBox_Select(*args
, **kwargs
)
1453 def SelectRange(*args
, **kwargs
):
1454 """SelectRange(size_t from, size_t to) -> bool"""
1455 return _windows
.VListBox_SelectRange(*args
, **kwargs
)
1457 def Toggle(*args
, **kwargs
):
1458 """Toggle(size_t item)"""
1459 return _windows
.VListBox_Toggle(*args
, **kwargs
)
1461 def SelectAll(*args
, **kwargs
):
1462 """SelectAll() -> bool"""
1463 return _windows
.VListBox_SelectAll(*args
, **kwargs
)
1465 def DeselectAll(*args
, **kwargs
):
1466 """DeselectAll() -> bool"""
1467 return _windows
.VListBox_DeselectAll(*args
, **kwargs
)
1469 def SetMargins(*args
, **kwargs
):
1470 """SetMargins(Point pt)"""
1471 return _windows
.VListBox_SetMargins(*args
, **kwargs
)
1473 def SetMarginsXY(*args
, **kwargs
):
1474 """SetMarginsXY(int x, int y)"""
1475 return _windows
.VListBox_SetMarginsXY(*args
, **kwargs
)
1477 def SetSelectionBackground(*args
, **kwargs
):
1478 """SetSelectionBackground(Colour col)"""
1479 return _windows
.VListBox_SetSelectionBackground(*args
, **kwargs
)
1482 class VListBoxPtr(VListBox
):
1483 def __init__(self
, this
):
1485 if not hasattr(self
,"thisown"): self
.thisown
= 0
1486 self
.__class
__ = VListBox
1487 _windows
.VListBox_swigregister(VListBoxPtr
)
1488 VListBoxNameStr
= cvar
.VListBoxNameStr
1490 def PreVListBox(*args
, **kwargs
):
1491 """PreVListBox() -> VListBox"""
1492 val
= _windows
.new_PreVListBox(*args
, **kwargs
)
1496 class HtmlListBox(VListBox
):
1498 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1499 def __init__(self
, *args
, **kwargs
):
1501 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1502 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
1504 newobj
= _windows
.new_HtmlListBox(*args
, **kwargs
)
1505 self
.this
= newobj
.this
1508 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
1510 def _setCallbackInfo(*args
, **kwargs
):
1511 """_setCallbackInfo(PyObject self, PyObject _class)"""
1512 return _windows
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
1514 def Create(*args
, **kwargs
):
1516 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1517 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1519 return _windows
.HtmlListBox_Create(*args
, **kwargs
)
1521 def RefreshAll(*args
, **kwargs
):
1523 return _windows
.HtmlListBox_RefreshAll(*args
, **kwargs
)
1525 def SetItemCount(*args
, **kwargs
):
1526 """SetItemCount(size_t count)"""
1527 return _windows
.HtmlListBox_SetItemCount(*args
, **kwargs
)
1530 class HtmlListBoxPtr(HtmlListBox
):
1531 def __init__(self
, this
):
1533 if not hasattr(self
,"thisown"): self
.thisown
= 0
1534 self
.__class
__ = HtmlListBox
1535 _windows
.HtmlListBox_swigregister(HtmlListBoxPtr
)
1537 def PreHtmlListBox(*args
, **kwargs
):
1538 """PreHtmlListBox() -> HtmlListBox"""
1539 val
= _windows
.new_PreHtmlListBox(*args
, **kwargs
)
1543 #---------------------------------------------------------------------------
1545 class TaskBarIcon(core
.EvtHandler
):
1547 return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1548 def __init__(self
, *args
, **kwargs
):
1549 """__init__() -> TaskBarIcon"""
1550 newobj
= _windows
.new_TaskBarIcon(*args
, **kwargs
)
1551 self
.this
= newobj
.this
1554 def __del__(self
, destroy
=_windows
.delete_TaskBarIcon
):
1557 if self
.thisown
: destroy(self
)
1561 class TaskBarIconPtr(TaskBarIcon
):
1562 def __init__(self
, this
):
1564 if not hasattr(self
,"thisown"): self
.thisown
= 0
1565 self
.__class
__ = TaskBarIcon
1566 _windows
.TaskBarIcon_swigregister(TaskBarIconPtr
)
1568 class TaskBarIconEvent(core
.Event
):
1570 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1571 def __init__(self
, *args
, **kwargs
):
1572 """__init__(wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
1573 newobj
= _windows
.new_TaskBarIconEvent(*args
, **kwargs
)
1574 self
.this
= newobj
.this
1578 class TaskBarIconEventPtr(TaskBarIconEvent
):
1579 def __init__(self
, this
):
1581 if not hasattr(self
,"thisown"): self
.thisown
= 0
1582 self
.__class
__ = TaskBarIconEvent
1583 _windows
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
1585 wxEVT_TASKBAR_MOVE
= _windows
.wxEVT_TASKBAR_MOVE
1586 wxEVT_TASKBAR_LEFT_DOWN
= _windows
.wxEVT_TASKBAR_LEFT_DOWN
1587 wxEVT_TASKBAR_LEFT_UP
= _windows
.wxEVT_TASKBAR_LEFT_UP
1588 wxEVT_TASKBAR_RIGHT_DOWN
= _windows
.wxEVT_TASKBAR_RIGHT_DOWN
1589 wxEVT_TASKBAR_RIGHT_UP
= _windows
.wxEVT_TASKBAR_RIGHT_UP
1590 wxEVT_TASKBAR_LEFT_DCLICK
= _windows
.wxEVT_TASKBAR_LEFT_DCLICK
1591 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows
.wxEVT_TASKBAR_RIGHT_DCLICK
1592 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
1593 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
1594 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
1595 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
1596 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
1597 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
1598 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
1600 #---------------------------------------------------------------------------
1602 class ColourData(core
.Object
):
1604 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1605 def __init__(self
, *args
, **kwargs
):
1606 """__init__() -> ColourData"""
1607 newobj
= _windows
.new_ColourData(*args
, **kwargs
)
1608 self
.this
= newobj
.this
1611 def __del__(self
, destroy
=_windows
.delete_ColourData
):
1614 if self
.thisown
: destroy(self
)
1617 def GetChooseFull(*args
, **kwargs
):
1618 """GetChooseFull() -> bool"""
1619 return _windows
.ColourData_GetChooseFull(*args
, **kwargs
)
1621 def GetColour(*args
, **kwargs
):
1622 """GetColour() -> Colour"""
1623 return _windows
.ColourData_GetColour(*args
, **kwargs
)
1625 def GetCustomColour(*args
, **kwargs
):
1626 """GetCustomColour(int i) -> Colour"""
1627 return _windows
.ColourData_GetCustomColour(*args
, **kwargs
)
1629 def SetChooseFull(*args
, **kwargs
):
1630 """SetChooseFull(int flag)"""
1631 return _windows
.ColourData_SetChooseFull(*args
, **kwargs
)
1633 def SetColour(*args
, **kwargs
):
1634 """SetColour(Colour colour)"""
1635 return _windows
.ColourData_SetColour(*args
, **kwargs
)
1637 def SetCustomColour(*args
, **kwargs
):
1638 """SetCustomColour(int i, Colour colour)"""
1639 return _windows
.ColourData_SetCustomColour(*args
, **kwargs
)
1642 class ColourDataPtr(ColourData
):
1643 def __init__(self
, this
):
1645 if not hasattr(self
,"thisown"): self
.thisown
= 0
1646 self
.__class
__ = ColourData
1647 _windows
.ColourData_swigregister(ColourDataPtr
)
1648 FileSelectorPromptStr
= cvar
.FileSelectorPromptStr
1649 DirSelectorPromptStr
= cvar
.DirSelectorPromptStr
1650 DirDialogNameStr
= cvar
.DirDialogNameStr
1651 FileSelectorDefaultWildcardStr
= cvar
.FileSelectorDefaultWildcardStr
1652 GetTextFromUserPromptStr
= cvar
.GetTextFromUserPromptStr
1653 MessageBoxCaptionStr
= cvar
.MessageBoxCaptionStr
1655 class ColourDialog(Dialog
):
1657 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1658 def __init__(self
, *args
, **kwargs
):
1659 """__init__(Window parent, ColourData data=None) -> ColourDialog"""
1660 newobj
= _windows
.new_ColourDialog(*args
, **kwargs
)
1661 self
.this
= newobj
.this
1664 self
._setOORInfo
(self
)
1666 def GetColourData(*args
, **kwargs
):
1667 """GetColourData() -> ColourData"""
1668 return _windows
.ColourDialog_GetColourData(*args
, **kwargs
)
1670 def ShowModal(*args
, **kwargs
):
1671 """ShowModal() -> int"""
1672 return _windows
.ColourDialog_ShowModal(*args
, **kwargs
)
1675 class ColourDialogPtr(ColourDialog
):
1676 def __init__(self
, this
):
1678 if not hasattr(self
,"thisown"): self
.thisown
= 0
1679 self
.__class
__ = ColourDialog
1680 _windows
.ColourDialog_swigregister(ColourDialogPtr
)
1682 class DirDialog(Dialog
):
1684 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1685 def __init__(self
, *args
, **kwargs
):
1687 __init__(Window parent, String message=DirSelectorPromptStr,
1688 String defaultPath=EmptyString, long style=0,
1689 Point pos=DefaultPosition, Size size=DefaultSize,
1690 String name=DirDialogNameStr) -> DirDialog
1692 newobj
= _windows
.new_DirDialog(*args
, **kwargs
)
1693 self
.this
= newobj
.this
1696 self
._setOORInfo
(self
)
1698 def GetPath(*args
, **kwargs
):
1699 """GetPath() -> String"""
1700 return _windows
.DirDialog_GetPath(*args
, **kwargs
)
1702 def GetMessage(*args
, **kwargs
):
1703 """GetMessage() -> String"""
1704 return _windows
.DirDialog_GetMessage(*args
, **kwargs
)
1706 def GetStyle(*args
, **kwargs
):
1707 """GetStyle() -> long"""
1708 return _windows
.DirDialog_GetStyle(*args
, **kwargs
)
1710 def SetMessage(*args
, **kwargs
):
1711 """SetMessage(String message)"""
1712 return _windows
.DirDialog_SetMessage(*args
, **kwargs
)
1714 def SetPath(*args
, **kwargs
):
1715 """SetPath(String path)"""
1716 return _windows
.DirDialog_SetPath(*args
, **kwargs
)
1718 def ShowModal(*args
, **kwargs
):
1719 """ShowModal() -> int"""
1720 return _windows
.DirDialog_ShowModal(*args
, **kwargs
)
1723 class DirDialogPtr(DirDialog
):
1724 def __init__(self
, this
):
1726 if not hasattr(self
,"thisown"): self
.thisown
= 0
1727 self
.__class
__ = DirDialog
1728 _windows
.DirDialog_swigregister(DirDialogPtr
)
1730 class FileDialog(Dialog
):
1732 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1733 def __init__(self
, *args
, **kwargs
):
1735 __init__(Window parent, String message=FileSelectorPromptStr,
1736 String defaultDir=EmptyString, String defaultFile=EmptyString,
1737 String wildcard=FileSelectorDefaultWildcardStr,
1738 long style=0, Point pos=DefaultPosition) -> FileDialog
1740 newobj
= _windows
.new_FileDialog(*args
, **kwargs
)
1741 self
.this
= newobj
.this
1744 self
._setOORInfo
(self
)
1746 def SetMessage(*args
, **kwargs
):
1747 """SetMessage(String message)"""
1748 return _windows
.FileDialog_SetMessage(*args
, **kwargs
)
1750 def SetPath(*args
, **kwargs
):
1751 """SetPath(String path)"""
1752 return _windows
.FileDialog_SetPath(*args
, **kwargs
)
1754 def SetDirectory(*args
, **kwargs
):
1755 """SetDirectory(String dir)"""
1756 return _windows
.FileDialog_SetDirectory(*args
, **kwargs
)
1758 def SetFilename(*args
, **kwargs
):
1759 """SetFilename(String name)"""
1760 return _windows
.FileDialog_SetFilename(*args
, **kwargs
)
1762 def SetWildcard(*args
, **kwargs
):
1763 """SetWildcard(String wildCard)"""
1764 return _windows
.FileDialog_SetWildcard(*args
, **kwargs
)
1766 def SetStyle(*args
, **kwargs
):
1767 """SetStyle(long style)"""
1768 return _windows
.FileDialog_SetStyle(*args
, **kwargs
)
1770 def SetFilterIndex(*args
, **kwargs
):
1771 """SetFilterIndex(int filterIndex)"""
1772 return _windows
.FileDialog_SetFilterIndex(*args
, **kwargs
)
1774 def GetMessage(*args
, **kwargs
):
1775 """GetMessage() -> String"""
1776 return _windows
.FileDialog_GetMessage(*args
, **kwargs
)
1778 def GetPath(*args
, **kwargs
):
1779 """GetPath() -> String"""
1780 return _windows
.FileDialog_GetPath(*args
, **kwargs
)
1782 def GetDirectory(*args
, **kwargs
):
1783 """GetDirectory() -> String"""
1784 return _windows
.FileDialog_GetDirectory(*args
, **kwargs
)
1786 def GetFilename(*args
, **kwargs
):
1787 """GetFilename() -> String"""
1788 return _windows
.FileDialog_GetFilename(*args
, **kwargs
)
1790 def GetWildcard(*args
, **kwargs
):
1791 """GetWildcard() -> String"""
1792 return _windows
.FileDialog_GetWildcard(*args
, **kwargs
)
1794 def GetStyle(*args
, **kwargs
):
1795 """GetStyle() -> long"""
1796 return _windows
.FileDialog_GetStyle(*args
, **kwargs
)
1798 def GetFilterIndex(*args
, **kwargs
):
1799 """GetFilterIndex() -> int"""
1800 return _windows
.FileDialog_GetFilterIndex(*args
, **kwargs
)
1802 def GetFilenames(*args
, **kwargs
):
1803 """GetFilenames() -> PyObject"""
1804 return _windows
.FileDialog_GetFilenames(*args
, **kwargs
)
1806 def GetPaths(*args
, **kwargs
):
1807 """GetPaths() -> PyObject"""
1808 return _windows
.FileDialog_GetPaths(*args
, **kwargs
)
1811 class FileDialogPtr(FileDialog
):
1812 def __init__(self
, this
):
1814 if not hasattr(self
,"thisown"): self
.thisown
= 0
1815 self
.__class
__ = FileDialog
1816 _windows
.FileDialog_swigregister(FileDialogPtr
)
1818 CHOICEDLG_STYLE
= _windows
.CHOICEDLG_STYLE
1819 class MultiChoiceDialog(Dialog
):
1821 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1822 def __init__(self
, *args
, **kwargs
):
1824 __init__(Window parent, String message, String caption, int choices=0,
1825 String choices_array, long style=CHOICEDLG_STYLE,
1826 Point pos=DefaultPosition) -> MultiChoiceDialog
1828 newobj
= _windows
.new_MultiChoiceDialog(*args
, **kwargs
)
1829 self
.this
= newobj
.this
1832 self
._setOORInfo
(self
)
1834 def SetSelections(*args
, **kwargs
):
1835 """SetSelections(wxArrayInt selections)"""
1836 return _windows
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
1838 def GetSelections(*args
, **kwargs
):
1839 """GetSelections() -> PyObject"""
1840 return _windows
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
1843 class MultiChoiceDialogPtr(MultiChoiceDialog
):
1844 def __init__(self
, this
):
1846 if not hasattr(self
,"thisown"): self
.thisown
= 0
1847 self
.__class
__ = MultiChoiceDialog
1848 _windows
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
1850 class SingleChoiceDialog(Dialog
):
1852 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1853 def __init__(self
, *args
, **kwargs
):
1855 __init__(Window parent, String message, String caption, int choices,
1856 String choices_array, long style=CHOICEDLG_STYLE,
1857 Point pos=DefaultPosition) -> SingleChoiceDialog
1859 newobj
= _windows
.new_SingleChoiceDialog(*args
, **kwargs
)
1860 self
.this
= newobj
.this
1863 self
._setOORInfo
(self
)
1865 def GetSelection(*args
, **kwargs
):
1866 """GetSelection() -> int"""
1867 return _windows
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
1869 def GetStringSelection(*args
, **kwargs
):
1870 """GetStringSelection() -> String"""
1871 return _windows
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
1873 def SetSelection(*args
, **kwargs
):
1874 """SetSelection(int sel)"""
1875 return _windows
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
1877 def ShowModal(*args
, **kwargs
):
1878 """ShowModal() -> int"""
1879 return _windows
.SingleChoiceDialog_ShowModal(*args
, **kwargs
)
1882 class SingleChoiceDialogPtr(SingleChoiceDialog
):
1883 def __init__(self
, this
):
1885 if not hasattr(self
,"thisown"): self
.thisown
= 0
1886 self
.__class
__ = SingleChoiceDialog
1887 _windows
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
1889 class TextEntryDialog(Dialog
):
1891 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1892 def __init__(self
, *args
, **kwargs
):
1894 __init__(Window parent, String message, String caption=GetTextFromUserPromptStr,
1895 String defaultValue=EmptyString,
1896 long style=wxOK|wxCANCEL|wxCENTRE, Point pos=DefaultPosition) -> TextEntryDialog
1898 newobj
= _windows
.new_TextEntryDialog(*args
, **kwargs
)
1899 self
.this
= newobj
.this
1902 self
._setOORInfo
(self
)
1904 def GetValue(*args
, **kwargs
):
1905 """GetValue() -> String"""
1906 return _windows
.TextEntryDialog_GetValue(*args
, **kwargs
)
1908 def SetValue(*args
, **kwargs
):
1909 """SetValue(String value)"""
1910 return _windows
.TextEntryDialog_SetValue(*args
, **kwargs
)
1912 def ShowModal(*args
, **kwargs
):
1913 """ShowModal() -> int"""
1914 return _windows
.TextEntryDialog_ShowModal(*args
, **kwargs
)
1917 class TextEntryDialogPtr(TextEntryDialog
):
1918 def __init__(self
, this
):
1920 if not hasattr(self
,"thisown"): self
.thisown
= 0
1921 self
.__class
__ = TextEntryDialog
1922 _windows
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
1924 class FontData(core
.Object
):
1926 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1927 def __init__(self
, *args
, **kwargs
):
1928 """__init__() -> FontData"""
1929 newobj
= _windows
.new_FontData(*args
, **kwargs
)
1930 self
.this
= newobj
.this
1933 def __del__(self
, destroy
=_windows
.delete_FontData
):
1936 if self
.thisown
: destroy(self
)
1939 def EnableEffects(*args
, **kwargs
):
1940 """EnableEffects(bool enable)"""
1941 return _windows
.FontData_EnableEffects(*args
, **kwargs
)
1943 def GetAllowSymbols(*args
, **kwargs
):
1944 """GetAllowSymbols() -> bool"""
1945 return _windows
.FontData_GetAllowSymbols(*args
, **kwargs
)
1947 def GetColour(*args
, **kwargs
):
1948 """GetColour() -> Colour"""
1949 return _windows
.FontData_GetColour(*args
, **kwargs
)
1951 def GetChosenFont(*args
, **kwargs
):
1952 """GetChosenFont() -> Font"""
1953 return _windows
.FontData_GetChosenFont(*args
, **kwargs
)
1955 def GetEnableEffects(*args
, **kwargs
):
1956 """GetEnableEffects() -> bool"""
1957 return _windows
.FontData_GetEnableEffects(*args
, **kwargs
)
1959 def GetInitialFont(*args
, **kwargs
):
1960 """GetInitialFont() -> Font"""
1961 return _windows
.FontData_GetInitialFont(*args
, **kwargs
)
1963 def GetShowHelp(*args
, **kwargs
):
1964 """GetShowHelp() -> bool"""
1965 return _windows
.FontData_GetShowHelp(*args
, **kwargs
)
1967 def SetAllowSymbols(*args
, **kwargs
):
1968 """SetAllowSymbols(bool allowSymbols)"""
1969 return _windows
.FontData_SetAllowSymbols(*args
, **kwargs
)
1971 def SetChosenFont(*args
, **kwargs
):
1972 """SetChosenFont(Font font)"""
1973 return _windows
.FontData_SetChosenFont(*args
, **kwargs
)
1975 def SetColour(*args
, **kwargs
):
1976 """SetColour(Colour colour)"""
1977 return _windows
.FontData_SetColour(*args
, **kwargs
)
1979 def SetInitialFont(*args
, **kwargs
):
1980 """SetInitialFont(Font font)"""
1981 return _windows
.FontData_SetInitialFont(*args
, **kwargs
)
1983 def SetRange(*args
, **kwargs
):
1984 """SetRange(int min, int max)"""
1985 return _windows
.FontData_SetRange(*args
, **kwargs
)
1987 def SetShowHelp(*args
, **kwargs
):
1988 """SetShowHelp(bool showHelp)"""
1989 return _windows
.FontData_SetShowHelp(*args
, **kwargs
)
1992 class FontDataPtr(FontData
):
1993 def __init__(self
, this
):
1995 if not hasattr(self
,"thisown"): self
.thisown
= 0
1996 self
.__class
__ = FontData
1997 _windows
.FontData_swigregister(FontDataPtr
)
1999 class FontDialog(Dialog
):
2001 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2002 def __init__(self
, *args
, **kwargs
):
2003 """__init__(Window parent, FontData data) -> FontDialog"""
2004 newobj
= _windows
.new_FontDialog(*args
, **kwargs
)
2005 self
.this
= newobj
.this
2008 self
._setOORInfo
(self
)
2010 def GetFontData(*args
, **kwargs
):
2011 """GetFontData() -> FontData"""
2012 return _windows
.FontDialog_GetFontData(*args
, **kwargs
)
2014 def ShowModal(*args
, **kwargs
):
2015 """ShowModal() -> int"""
2016 return _windows
.FontDialog_ShowModal(*args
, **kwargs
)
2019 class FontDialogPtr(FontDialog
):
2020 def __init__(self
, this
):
2022 if not hasattr(self
,"thisown"): self
.thisown
= 0
2023 self
.__class
__ = FontDialog
2024 _windows
.FontDialog_swigregister(FontDialogPtr
)
2026 class MessageDialog(Dialog
):
2028 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2029 def __init__(self
, *args
, **kwargs
):
2031 __init__(Window parent, String message, String caption=MessageBoxCaptionStr,
2032 long style=wxOK|wxCANCEL|wxCENTRE,
2033 Point pos=DefaultPosition) -> MessageDialog
2035 newobj
= _windows
.new_MessageDialog(*args
, **kwargs
)
2036 self
.this
= newobj
.this
2039 self
._setOORInfo
(self
)
2041 def ShowModal(*args
, **kwargs
):
2042 """ShowModal() -> int"""
2043 return _windows
.MessageDialog_ShowModal(*args
, **kwargs
)
2046 class MessageDialogPtr(MessageDialog
):
2047 def __init__(self
, this
):
2049 if not hasattr(self
,"thisown"): self
.thisown
= 0
2050 self
.__class
__ = MessageDialog
2051 _windows
.MessageDialog_swigregister(MessageDialogPtr
)
2053 class ProgressDialog(Frame
):
2055 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2056 def __init__(self
, *args
, **kwargs
):
2058 __init__(String title, String message, int maximum=100, Window parent=None,
2059 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
2061 newobj
= _windows
.new_ProgressDialog(*args
, **kwargs
)
2062 self
.this
= newobj
.this
2065 self
._setOORInfo
(self
)
2067 def Update(*args
, **kwargs
):
2068 """Update(int value, String newmsg=EmptyString) -> bool"""
2069 return _windows
.ProgressDialog_Update(*args
, **kwargs
)
2071 def Resume(*args
, **kwargs
):
2073 return _windows
.ProgressDialog_Resume(*args
, **kwargs
)
2076 class ProgressDialogPtr(ProgressDialog
):
2077 def __init__(self
, this
):
2079 if not hasattr(self
,"thisown"): self
.thisown
= 0
2080 self
.__class
__ = ProgressDialog
2081 _windows
.ProgressDialog_swigregister(ProgressDialogPtr
)
2083 FR_DOWN
= _windows
.FR_DOWN
2084 FR_WHOLEWORD
= _windows
.FR_WHOLEWORD
2085 FR_MATCHCASE
= _windows
.FR_MATCHCASE
2086 FR_REPLACEDIALOG
= _windows
.FR_REPLACEDIALOG
2087 FR_NOUPDOWN
= _windows
.FR_NOUPDOWN
2088 FR_NOMATCHCASE
= _windows
.FR_NOMATCHCASE
2089 FR_NOWHOLEWORD
= _windows
.FR_NOWHOLEWORD
2090 wxEVT_COMMAND_FIND
= _windows
.wxEVT_COMMAND_FIND
2091 wxEVT_COMMAND_FIND_NEXT
= _windows
.wxEVT_COMMAND_FIND_NEXT
2092 wxEVT_COMMAND_FIND_REPLACE
= _windows
.wxEVT_COMMAND_FIND_REPLACE
2093 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows
.wxEVT_COMMAND_FIND_REPLACE_ALL
2094 wxEVT_COMMAND_FIND_CLOSE
= _windows
.wxEVT_COMMAND_FIND_CLOSE
2095 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
2096 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
2097 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
2098 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
2099 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
2101 # For backwards compatibility. Should they be removed?
2102 EVT_COMMAND_FIND
= EVT_FIND
2103 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
2104 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
2105 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
2106 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
2108 class FindDialogEvent(core
.CommandEvent
):
2110 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2111 def __init__(self
, *args
, **kwargs
):
2112 """__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent"""
2113 newobj
= _windows
.new_FindDialogEvent(*args
, **kwargs
)
2114 self
.this
= newobj
.this
2117 def GetFlags(*args
, **kwargs
):
2118 """GetFlags() -> int"""
2119 return _windows
.FindDialogEvent_GetFlags(*args
, **kwargs
)
2121 def GetFindString(*args
, **kwargs
):
2122 """GetFindString() -> String"""
2123 return _windows
.FindDialogEvent_GetFindString(*args
, **kwargs
)
2125 def GetReplaceString(*args
, **kwargs
):
2126 """GetReplaceString() -> String"""
2127 return _windows
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
2129 def GetDialog(*args
, **kwargs
):
2130 """GetDialog() -> FindReplaceDialog"""
2131 return _windows
.FindDialogEvent_GetDialog(*args
, **kwargs
)
2133 def SetFlags(*args
, **kwargs
):
2134 """SetFlags(int flags)"""
2135 return _windows
.FindDialogEvent_SetFlags(*args
, **kwargs
)
2137 def SetFindString(*args
, **kwargs
):
2138 """SetFindString(String str)"""
2139 return _windows
.FindDialogEvent_SetFindString(*args
, **kwargs
)
2141 def SetReplaceString(*args
, **kwargs
):
2142 """SetReplaceString(String str)"""
2143 return _windows
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
2146 class FindDialogEventPtr(FindDialogEvent
):
2147 def __init__(self
, this
):
2149 if not hasattr(self
,"thisown"): self
.thisown
= 0
2150 self
.__class
__ = FindDialogEvent
2151 _windows
.FindDialogEvent_swigregister(FindDialogEventPtr
)
2153 class FindReplaceData(core
.Object
):
2155 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2156 def __init__(self
, *args
, **kwargs
):
2157 """__init__(int flags=0) -> FindReplaceData"""
2158 newobj
= _windows
.new_FindReplaceData(*args
, **kwargs
)
2159 self
.this
= newobj
.this
2162 def __del__(self
, destroy
=_windows
.delete_FindReplaceData
):
2165 if self
.thisown
: destroy(self
)
2168 def GetFindString(*args
, **kwargs
):
2169 """GetFindString() -> String"""
2170 return _windows
.FindReplaceData_GetFindString(*args
, **kwargs
)
2172 def GetReplaceString(*args
, **kwargs
):
2173 """GetReplaceString() -> String"""
2174 return _windows
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
2176 def GetFlags(*args
, **kwargs
):
2177 """GetFlags() -> int"""
2178 return _windows
.FindReplaceData_GetFlags(*args
, **kwargs
)
2180 def SetFlags(*args
, **kwargs
):
2181 """SetFlags(int flags)"""
2182 return _windows
.FindReplaceData_SetFlags(*args
, **kwargs
)
2184 def SetFindString(*args
, **kwargs
):
2185 """SetFindString(String str)"""
2186 return _windows
.FindReplaceData_SetFindString(*args
, **kwargs
)
2188 def SetReplaceString(*args
, **kwargs
):
2189 """SetReplaceString(String str)"""
2190 return _windows
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
2193 class FindReplaceDataPtr(FindReplaceData
):
2194 def __init__(self
, this
):
2196 if not hasattr(self
,"thisown"): self
.thisown
= 0
2197 self
.__class
__ = FindReplaceData
2198 _windows
.FindReplaceData_swigregister(FindReplaceDataPtr
)
2200 class FindReplaceDialog(Dialog
):
2202 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2203 def __init__(self
, *args
, **kwargs
):
2205 __init__(Window parent, FindReplaceData data, String title,
2206 int style=0) -> FindReplaceDialog
2208 newobj
= _windows
.new_FindReplaceDialog(*args
, **kwargs
)
2209 self
.this
= newobj
.this
2212 self
._setOORInfo
(self
)
2214 def Create(*args
, **kwargs
):
2216 Create(Window parent, FindReplaceData data, String title,
2217 int style=0) -> bool
2219 return _windows
.FindReplaceDialog_Create(*args
, **kwargs
)
2221 def GetData(*args
, **kwargs
):
2222 """GetData() -> FindReplaceData"""
2223 return _windows
.FindReplaceDialog_GetData(*args
, **kwargs
)
2225 def SetData(*args
, **kwargs
):
2226 """SetData(FindReplaceData data)"""
2227 return _windows
.FindReplaceDialog_SetData(*args
, **kwargs
)
2230 class FindReplaceDialogPtr(FindReplaceDialog
):
2231 def __init__(self
, this
):
2233 if not hasattr(self
,"thisown"): self
.thisown
= 0
2234 self
.__class
__ = FindReplaceDialog
2235 _windows
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
2237 def PreFindReplaceDialog(*args
, **kwargs
):
2238 """PreFindReplaceDialog() -> FindReplaceDialog"""
2239 val
= _windows
.new_PreFindReplaceDialog(*args
, **kwargs
)
2243 #---------------------------------------------------------------------------
2245 IDM_WINDOWTILE
= _windows
.IDM_WINDOWTILE
2246 IDM_WINDOWTILEHOR
= _windows
.IDM_WINDOWTILEHOR
2247 IDM_WINDOWCASCADE
= _windows
.IDM_WINDOWCASCADE
2248 IDM_WINDOWICONS
= _windows
.IDM_WINDOWICONS
2249 IDM_WINDOWNEXT
= _windows
.IDM_WINDOWNEXT
2250 IDM_WINDOWTILEVERT
= _windows
.IDM_WINDOWTILEVERT
2251 FIRST_MDI_CHILD
= _windows
.FIRST_MDI_CHILD
2252 LAST_MDI_CHILD
= _windows
.LAST_MDI_CHILD
2253 class MDIParentFrame(Frame
):
2255 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2256 def __init__(self
, *args
, **kwargs
):
2258 __init__(Window parent, int id, String title, Point pos=DefaultPosition,
2259 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2260 String name=FrameNameStr) -> MDIParentFrame
2262 newobj
= _windows
.new_MDIParentFrame(*args
, **kwargs
)
2263 self
.this
= newobj
.this
2266 self
._setOORInfo
(self
)
2268 def Create(*args
, **kwargs
):
2270 Create(Window parent, int id, String title, Point pos=DefaultPosition,
2271 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2272 String name=FrameNameStr) -> bool
2274 return _windows
.MDIParentFrame_Create(*args
, **kwargs
)
2276 def ActivateNext(*args
, **kwargs
):
2277 """ActivateNext()"""
2278 return _windows
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
2280 def ActivatePrevious(*args
, **kwargs
):
2281 """ActivatePrevious()"""
2282 return _windows
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
2284 def ArrangeIcons(*args
, **kwargs
):
2285 """ArrangeIcons()"""
2286 return _windows
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
2288 def Cascade(*args
, **kwargs
):
2290 return _windows
.MDIParentFrame_Cascade(*args
, **kwargs
)
2292 def GetActiveChild(*args
, **kwargs
):
2293 """GetActiveChild() -> MDIChildFrame"""
2294 return _windows
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
2296 def GetClientWindow(*args
, **kwargs
):
2297 """GetClientWindow() -> MDIClientWindow"""
2298 return _windows
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
2300 def GetToolBar(*args
, **kwargs
):
2301 """GetToolBar() -> Window"""
2302 return _windows
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
2304 def Tile(*args
, **kwargs
):
2306 return _windows
.MDIParentFrame_Tile(*args
, **kwargs
)
2309 class MDIParentFramePtr(MDIParentFrame
):
2310 def __init__(self
, this
):
2312 if not hasattr(self
,"thisown"): self
.thisown
= 0
2313 self
.__class
__ = MDIParentFrame
2314 _windows
.MDIParentFrame_swigregister(MDIParentFramePtr
)
2316 def PreMDIParentFrame(*args
, **kwargs
):
2317 """PreMDIParentFrame() -> MDIParentFrame"""
2318 val
= _windows
.new_PreMDIParentFrame(*args
, **kwargs
)
2322 class MDIChildFrame(Frame
):
2324 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2325 def __init__(self
, *args
, **kwargs
):
2327 __init__(MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
2328 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
2329 String name=FrameNameStr) -> MDIChildFrame
2331 newobj
= _windows
.new_MDIChildFrame(*args
, **kwargs
)
2332 self
.this
= newobj
.this
2335 self
._setOORInfo
(self
)
2337 def Create(*args
, **kwargs
):
2339 Create(MDIParentFrame parent, int id, String title, Point pos=DefaultPosition,
2340 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
2341 String name=FrameNameStr) -> bool
2343 return _windows
.MDIChildFrame_Create(*args
, **kwargs
)
2345 def Activate(*args
, **kwargs
):
2347 return _windows
.MDIChildFrame_Activate(*args
, **kwargs
)
2349 def Maximize(*args
, **kwargs
):
2350 """Maximize(bool maximize)"""
2351 return _windows
.MDIChildFrame_Maximize(*args
, **kwargs
)
2353 def Restore(*args
, **kwargs
):
2355 return _windows
.MDIChildFrame_Restore(*args
, **kwargs
)
2358 class MDIChildFramePtr(MDIChildFrame
):
2359 def __init__(self
, this
):
2361 if not hasattr(self
,"thisown"): self
.thisown
= 0
2362 self
.__class
__ = MDIChildFrame
2363 _windows
.MDIChildFrame_swigregister(MDIChildFramePtr
)
2365 def PreMDIChildFrame(*args
, **kwargs
):
2366 """PreMDIChildFrame() -> MDIChildFrame"""
2367 val
= _windows
.new_PreMDIChildFrame(*args
, **kwargs
)
2371 class MDIClientWindow(core
.Window
):
2373 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2374 def __init__(self
, *args
, **kwargs
):
2375 """__init__(MDIParentFrame parent, long style=0) -> MDIClientWindow"""
2376 newobj
= _windows
.new_MDIClientWindow(*args
, **kwargs
)
2377 self
.this
= newobj
.this
2380 self
._setOORInfo
(self
)
2382 def Create(*args
, **kwargs
):
2383 """Create(MDIParentFrame parent, long style=0) -> bool"""
2384 return _windows
.MDIClientWindow_Create(*args
, **kwargs
)
2387 class MDIClientWindowPtr(MDIClientWindow
):
2388 def __init__(self
, this
):
2390 if not hasattr(self
,"thisown"): self
.thisown
= 0
2391 self
.__class
__ = MDIClientWindow
2392 _windows
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
2394 def PreMDIClientWindow(*args
, **kwargs
):
2395 """PreMDIClientWindow() -> MDIClientWindow"""
2396 val
= _windows
.new_PreMDIClientWindow(*args
, **kwargs
)
2400 #---------------------------------------------------------------------------
2402 class PyWindow(core
.Window
):
2404 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2405 def __init__(self
, *args
, **kwargs
):
2407 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2408 long style=0, String name=PanelNameStr) -> PyWindow
2410 newobj
= _windows
.new_PyWindow(*args
, **kwargs
)
2411 self
.this
= newobj
.this
2414 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
2416 def _setCallbackInfo(*args
, **kwargs
):
2417 """_setCallbackInfo(PyObject self, PyObject _class)"""
2418 return _windows
.PyWindow__setCallbackInfo(*args
, **kwargs
)
2420 def base_DoMoveWindow(*args
, **kwargs
):
2421 """base_DoMoveWindow(int x, int y, int width, int height)"""
2422 return _windows
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
2424 def base_DoSetSize(*args
, **kwargs
):
2425 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2426 return _windows
.PyWindow_base_DoSetSize(*args
, **kwargs
)
2428 def base_DoSetClientSize(*args
, **kwargs
):
2429 """base_DoSetClientSize(int width, int height)"""
2430 return _windows
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
2432 def base_DoSetVirtualSize(*args
, **kwargs
):
2433 """base_DoSetVirtualSize(int x, int y)"""
2434 return _windows
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
2436 def base_DoGetSize(*args
, **kwargs
):
2437 """base_DoGetSize() -> (width, height)"""
2438 return _windows
.PyWindow_base_DoGetSize(*args
, **kwargs
)
2440 def base_DoGetClientSize(*args
, **kwargs
):
2441 """base_DoGetClientSize() -> (width, height)"""
2442 return _windows
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
2444 def base_DoGetPosition(*args
, **kwargs
):
2445 """base_DoGetPosition() -> (x,y)"""
2446 return _windows
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
2448 def base_DoGetVirtualSize(*args
, **kwargs
):
2449 """base_DoGetVirtualSize() -> Size"""
2450 return _windows
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
2452 def base_DoGetBestSize(*args
, **kwargs
):
2453 """base_DoGetBestSize() -> Size"""
2454 return _windows
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
2456 def base_InitDialog(*args
, **kwargs
):
2457 """base_InitDialog()"""
2458 return _windows
.PyWindow_base_InitDialog(*args
, **kwargs
)
2460 def base_TransferDataToWindow(*args
, **kwargs
):
2461 """base_TransferDataToWindow() -> bool"""
2462 return _windows
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
2464 def base_TransferDataFromWindow(*args
, **kwargs
):
2465 """base_TransferDataFromWindow() -> bool"""
2466 return _windows
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
2468 def base_Validate(*args
, **kwargs
):
2469 """base_Validate() -> bool"""
2470 return _windows
.PyWindow_base_Validate(*args
, **kwargs
)
2472 def base_AcceptsFocus(*args
, **kwargs
):
2473 """base_AcceptsFocus() -> bool"""
2474 return _windows
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
2476 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2477 """base_AcceptsFocusFromKeyboard() -> bool"""
2478 return _windows
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2480 def base_GetMaxSize(*args
, **kwargs
):
2481 """base_GetMaxSize() -> Size"""
2482 return _windows
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
2484 def base_AddChild(*args
, **kwargs
):
2485 """base_AddChild(Window child)"""
2486 return _windows
.PyWindow_base_AddChild(*args
, **kwargs
)
2488 def base_RemoveChild(*args
, **kwargs
):
2489 """base_RemoveChild(Window child)"""
2490 return _windows
.PyWindow_base_RemoveChild(*args
, **kwargs
)
2493 class PyWindowPtr(PyWindow
):
2494 def __init__(self
, this
):
2496 if not hasattr(self
,"thisown"): self
.thisown
= 0
2497 self
.__class
__ = PyWindow
2498 _windows
.PyWindow_swigregister(PyWindowPtr
)
2500 class PyPanel(Panel
):
2502 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2503 def __init__(self
, *args
, **kwargs
):
2505 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2506 long style=0, String name=PanelNameStr) -> PyPanel
2508 newobj
= _windows
.new_PyPanel(*args
, **kwargs
)
2509 self
.this
= newobj
.this
2512 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
2514 def _setCallbackInfo(*args
, **kwargs
):
2515 """_setCallbackInfo(PyObject self, PyObject _class)"""
2516 return _windows
.PyPanel__setCallbackInfo(*args
, **kwargs
)
2518 def base_DoMoveWindow(*args
, **kwargs
):
2519 """base_DoMoveWindow(int x, int y, int width, int height)"""
2520 return _windows
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
2522 def base_DoSetSize(*args
, **kwargs
):
2523 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2524 return _windows
.PyPanel_base_DoSetSize(*args
, **kwargs
)
2526 def base_DoSetClientSize(*args
, **kwargs
):
2527 """base_DoSetClientSize(int width, int height)"""
2528 return _windows
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
2530 def base_DoSetVirtualSize(*args
, **kwargs
):
2531 """base_DoSetVirtualSize(int x, int y)"""
2532 return _windows
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
2534 def base_DoGetSize(*args
, **kwargs
):
2535 """base_DoGetSize() -> (width, height)"""
2536 return _windows
.PyPanel_base_DoGetSize(*args
, **kwargs
)
2538 def base_DoGetClientSize(*args
, **kwargs
):
2539 """base_DoGetClientSize() -> (width, height)"""
2540 return _windows
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
2542 def base_DoGetPosition(*args
, **kwargs
):
2543 """base_DoGetPosition() -> (x,y)"""
2544 return _windows
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
2546 def base_DoGetVirtualSize(*args
, **kwargs
):
2547 """base_DoGetVirtualSize() -> Size"""
2548 return _windows
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
2550 def base_DoGetBestSize(*args
, **kwargs
):
2551 """base_DoGetBestSize() -> Size"""
2552 return _windows
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
2554 def base_InitDialog(*args
, **kwargs
):
2555 """base_InitDialog()"""
2556 return _windows
.PyPanel_base_InitDialog(*args
, **kwargs
)
2558 def base_TransferDataToWindow(*args
, **kwargs
):
2559 """base_TransferDataToWindow() -> bool"""
2560 return _windows
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
2562 def base_TransferDataFromWindow(*args
, **kwargs
):
2563 """base_TransferDataFromWindow() -> bool"""
2564 return _windows
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
2566 def base_Validate(*args
, **kwargs
):
2567 """base_Validate() -> bool"""
2568 return _windows
.PyPanel_base_Validate(*args
, **kwargs
)
2570 def base_AcceptsFocus(*args
, **kwargs
):
2571 """base_AcceptsFocus() -> bool"""
2572 return _windows
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
2574 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
2575 """base_AcceptsFocusFromKeyboard() -> bool"""
2576 return _windows
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
2578 def base_GetMaxSize(*args
, **kwargs
):
2579 """base_GetMaxSize() -> Size"""
2580 return _windows
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
2582 def base_AddChild(*args
, **kwargs
):
2583 """base_AddChild(Window child)"""
2584 return _windows
.PyPanel_base_AddChild(*args
, **kwargs
)
2586 def base_RemoveChild(*args
, **kwargs
):
2587 """base_RemoveChild(Window child)"""
2588 return _windows
.PyPanel_base_RemoveChild(*args
, **kwargs
)
2591 class PyPanelPtr(PyPanel
):
2592 def __init__(self
, this
):
2594 if not hasattr(self
,"thisown"): self
.thisown
= 0
2595 self
.__class
__ = PyPanel
2596 _windows
.PyPanel_swigregister(PyPanelPtr
)
2598 #---------------------------------------------------------------------------
2600 PRINT_MODE_NONE
= _windows
.PRINT_MODE_NONE
2601 PRINT_MODE_PREVIEW
= _windows
.PRINT_MODE_PREVIEW
2602 PRINT_MODE_FILE
= _windows
.PRINT_MODE_FILE
2603 PRINT_MODE_PRINTER
= _windows
.PRINT_MODE_PRINTER
2604 class PrintData(core
.Object
):
2606 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2607 def __init__(self
, *args
, **kwargs
):
2608 """__init__() -> PrintData"""
2609 newobj
= _windows
.new_PrintData(*args
, **kwargs
)
2610 self
.this
= newobj
.this
2613 def __del__(self
, destroy
=_windows
.delete_PrintData
):
2616 if self
.thisown
: destroy(self
)
2619 def GetNoCopies(*args
, **kwargs
):
2620 """GetNoCopies() -> int"""
2621 return _windows
.PrintData_GetNoCopies(*args
, **kwargs
)
2623 def GetCollate(*args
, **kwargs
):
2624 """GetCollate() -> bool"""
2625 return _windows
.PrintData_GetCollate(*args
, **kwargs
)
2627 def GetOrientation(*args
, **kwargs
):
2628 """GetOrientation() -> int"""
2629 return _windows
.PrintData_GetOrientation(*args
, **kwargs
)
2631 def Ok(*args
, **kwargs
):
2633 return _windows
.PrintData_Ok(*args
, **kwargs
)
2635 def GetPrinterName(*args
, **kwargs
):
2636 """GetPrinterName() -> String"""
2637 return _windows
.PrintData_GetPrinterName(*args
, **kwargs
)
2639 def GetColour(*args
, **kwargs
):
2640 """GetColour() -> bool"""
2641 return _windows
.PrintData_GetColour(*args
, **kwargs
)
2643 def GetDuplex(*args
, **kwargs
):
2644 """GetDuplex() -> int"""
2645 return _windows
.PrintData_GetDuplex(*args
, **kwargs
)
2647 def GetPaperId(*args
, **kwargs
):
2648 """GetPaperId() -> int"""
2649 return _windows
.PrintData_GetPaperId(*args
, **kwargs
)
2651 def GetPaperSize(*args
, **kwargs
):
2652 """GetPaperSize() -> Size"""
2653 return _windows
.PrintData_GetPaperSize(*args
, **kwargs
)
2655 def GetQuality(*args
, **kwargs
):
2656 """GetQuality() -> int"""
2657 return _windows
.PrintData_GetQuality(*args
, **kwargs
)
2659 def SetNoCopies(*args
, **kwargs
):
2660 """SetNoCopies(int v)"""
2661 return _windows
.PrintData_SetNoCopies(*args
, **kwargs
)
2663 def SetCollate(*args
, **kwargs
):
2664 """SetCollate(bool flag)"""
2665 return _windows
.PrintData_SetCollate(*args
, **kwargs
)
2667 def SetOrientation(*args
, **kwargs
):
2668 """SetOrientation(int orient)"""
2669 return _windows
.PrintData_SetOrientation(*args
, **kwargs
)
2671 def SetPrinterName(*args
, **kwargs
):
2672 """SetPrinterName(String name)"""
2673 return _windows
.PrintData_SetPrinterName(*args
, **kwargs
)
2675 def SetColour(*args
, **kwargs
):
2676 """SetColour(bool colour)"""
2677 return _windows
.PrintData_SetColour(*args
, **kwargs
)
2679 def SetDuplex(*args
, **kwargs
):
2680 """SetDuplex(int duplex)"""
2681 return _windows
.PrintData_SetDuplex(*args
, **kwargs
)
2683 def SetPaperId(*args
, **kwargs
):
2684 """SetPaperId(int sizeId)"""
2685 return _windows
.PrintData_SetPaperId(*args
, **kwargs
)
2687 def SetPaperSize(*args
, **kwargs
):
2688 """SetPaperSize(Size sz)"""
2689 return _windows
.PrintData_SetPaperSize(*args
, **kwargs
)
2691 def SetQuality(*args
, **kwargs
):
2692 """SetQuality(int quality)"""
2693 return _windows
.PrintData_SetQuality(*args
, **kwargs
)
2695 def GetPrinterCommand(*args
, **kwargs
):
2696 """GetPrinterCommand() -> String"""
2697 return _windows
.PrintData_GetPrinterCommand(*args
, **kwargs
)
2699 def GetPrinterOptions(*args
, **kwargs
):
2700 """GetPrinterOptions() -> String"""
2701 return _windows
.PrintData_GetPrinterOptions(*args
, **kwargs
)
2703 def GetPreviewCommand(*args
, **kwargs
):
2704 """GetPreviewCommand() -> String"""
2705 return _windows
.PrintData_GetPreviewCommand(*args
, **kwargs
)
2707 def GetFilename(*args
, **kwargs
):
2708 """GetFilename() -> String"""
2709 return _windows
.PrintData_GetFilename(*args
, **kwargs
)
2711 def GetFontMetricPath(*args
, **kwargs
):
2712 """GetFontMetricPath() -> String"""
2713 return _windows
.PrintData_GetFontMetricPath(*args
, **kwargs
)
2715 def GetPrinterScaleX(*args
, **kwargs
):
2716 """GetPrinterScaleX() -> double"""
2717 return _windows
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
2719 def GetPrinterScaleY(*args
, **kwargs
):
2720 """GetPrinterScaleY() -> double"""
2721 return _windows
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
2723 def GetPrinterTranslateX(*args
, **kwargs
):
2724 """GetPrinterTranslateX() -> long"""
2725 return _windows
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
2727 def GetPrinterTranslateY(*args
, **kwargs
):
2728 """GetPrinterTranslateY() -> long"""
2729 return _windows
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
2731 def GetPrintMode(*args
, **kwargs
):
2732 """GetPrintMode() -> int"""
2733 return _windows
.PrintData_GetPrintMode(*args
, **kwargs
)
2735 def SetPrinterCommand(*args
, **kwargs
):
2736 """SetPrinterCommand(String command)"""
2737 return _windows
.PrintData_SetPrinterCommand(*args
, **kwargs
)
2739 def SetPrinterOptions(*args
, **kwargs
):
2740 """SetPrinterOptions(String options)"""
2741 return _windows
.PrintData_SetPrinterOptions(*args
, **kwargs
)
2743 def SetPreviewCommand(*args
, **kwargs
):
2744 """SetPreviewCommand(String command)"""
2745 return _windows
.PrintData_SetPreviewCommand(*args
, **kwargs
)
2747 def SetFilename(*args
, **kwargs
):
2748 """SetFilename(String filename)"""
2749 return _windows
.PrintData_SetFilename(*args
, **kwargs
)
2751 def SetFontMetricPath(*args
, **kwargs
):
2752 """SetFontMetricPath(String path)"""
2753 return _windows
.PrintData_SetFontMetricPath(*args
, **kwargs
)
2755 def SetPrinterScaleX(*args
, **kwargs
):
2756 """SetPrinterScaleX(double x)"""
2757 return _windows
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
2759 def SetPrinterScaleY(*args
, **kwargs
):
2760 """SetPrinterScaleY(double y)"""
2761 return _windows
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
2763 def SetPrinterScaling(*args
, **kwargs
):
2764 """SetPrinterScaling(double x, double y)"""
2765 return _windows
.PrintData_SetPrinterScaling(*args
, **kwargs
)
2767 def SetPrinterTranslateX(*args
, **kwargs
):
2768 """SetPrinterTranslateX(long x)"""
2769 return _windows
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
2771 def SetPrinterTranslateY(*args
, **kwargs
):
2772 """SetPrinterTranslateY(long y)"""
2773 return _windows
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
2775 def SetPrinterTranslation(*args
, **kwargs
):
2776 """SetPrinterTranslation(long x, long y)"""
2777 return _windows
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
2779 def SetPrintMode(*args
, **kwargs
):
2780 """SetPrintMode(int printMode)"""
2781 return _windows
.PrintData_SetPrintMode(*args
, **kwargs
)
2783 def __nonzero__(self
): return self
.Ok()
2785 class PrintDataPtr(PrintData
):
2786 def __init__(self
, this
):
2788 if not hasattr(self
,"thisown"): self
.thisown
= 0
2789 self
.__class
__ = PrintData
2790 _windows
.PrintData_swigregister(PrintDataPtr
)
2791 PrintoutTitleStr
= cvar
.PrintoutTitleStr
2792 PreviewCanvasNameStr
= cvar
.PreviewCanvasNameStr
2794 class PageSetupDialogData(core
.Object
):
2796 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2797 def __init__(self
, *args
, **kwargs
):
2798 """__init__() -> PageSetupDialogData"""
2799 newobj
= _windows
.new_PageSetupDialogData(*args
, **kwargs
)
2800 self
.this
= newobj
.this
2803 def __del__(self
, destroy
=_windows
.delete_PageSetupDialogData
):
2806 if self
.thisown
: destroy(self
)
2809 def EnableHelp(*args
, **kwargs
):
2810 """EnableHelp(bool flag)"""
2811 return _windows
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
2813 def EnableMargins(*args
, **kwargs
):
2814 """EnableMargins(bool flag)"""
2815 return _windows
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
2817 def EnableOrientation(*args
, **kwargs
):
2818 """EnableOrientation(bool flag)"""
2819 return _windows
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
2821 def EnablePaper(*args
, **kwargs
):
2822 """EnablePaper(bool flag)"""
2823 return _windows
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
2825 def EnablePrinter(*args
, **kwargs
):
2826 """EnablePrinter(bool flag)"""
2827 return _windows
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
2829 def GetDefaultMinMargins(*args
, **kwargs
):
2830 """GetDefaultMinMargins() -> bool"""
2831 return _windows
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
2833 def GetEnableMargins(*args
, **kwargs
):
2834 """GetEnableMargins() -> bool"""
2835 return _windows
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
2837 def GetEnableOrientation(*args
, **kwargs
):
2838 """GetEnableOrientation() -> bool"""
2839 return _windows
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
2841 def GetEnablePaper(*args
, **kwargs
):
2842 """GetEnablePaper() -> bool"""
2843 return _windows
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
2845 def GetEnablePrinter(*args
, **kwargs
):
2846 """GetEnablePrinter() -> bool"""
2847 return _windows
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
2849 def GetEnableHelp(*args
, **kwargs
):
2850 """GetEnableHelp() -> bool"""
2851 return _windows
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
2853 def GetDefaultInfo(*args
, **kwargs
):
2854 """GetDefaultInfo() -> bool"""
2855 return _windows
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
2857 def GetMarginTopLeft(*args
, **kwargs
):
2858 """GetMarginTopLeft() -> Point"""
2859 return _windows
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
2861 def GetMarginBottomRight(*args
, **kwargs
):
2862 """GetMarginBottomRight() -> Point"""
2863 return _windows
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
2865 def GetMinMarginTopLeft(*args
, **kwargs
):
2866 """GetMinMarginTopLeft() -> Point"""
2867 return _windows
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
2869 def GetMinMarginBottomRight(*args
, **kwargs
):
2870 """GetMinMarginBottomRight() -> Point"""
2871 return _windows
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
2873 def GetPaperId(*args
, **kwargs
):
2874 """GetPaperId() -> int"""
2875 return _windows
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
2877 def GetPaperSize(*args
, **kwargs
):
2878 """GetPaperSize() -> Size"""
2879 return _windows
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
2881 def GetPrintData(*args
, **kwargs
):
2882 """GetPrintData() -> PrintData"""
2883 return _windows
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
2885 def Ok(*args
, **kwargs
):
2887 return _windows
.PageSetupDialogData_Ok(*args
, **kwargs
)
2889 def SetDefaultInfo(*args
, **kwargs
):
2890 """SetDefaultInfo(bool flag)"""
2891 return _windows
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
2893 def SetDefaultMinMargins(*args
, **kwargs
):
2894 """SetDefaultMinMargins(bool flag)"""
2895 return _windows
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
2897 def SetMarginTopLeft(*args
, **kwargs
):
2898 """SetMarginTopLeft(Point pt)"""
2899 return _windows
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
2901 def SetMarginBottomRight(*args
, **kwargs
):
2902 """SetMarginBottomRight(Point pt)"""
2903 return _windows
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
2905 def SetMinMarginTopLeft(*args
, **kwargs
):
2906 """SetMinMarginTopLeft(Point pt)"""
2907 return _windows
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
2909 def SetMinMarginBottomRight(*args
, **kwargs
):
2910 """SetMinMarginBottomRight(Point pt)"""
2911 return _windows
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
2913 def SetPaperId(*args
, **kwargs
):
2914 """SetPaperId(int id)"""
2915 return _windows
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
2917 def SetPaperSize(*args
, **kwargs
):
2918 """SetPaperSize(Size size)"""
2919 return _windows
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
2921 def SetPrintData(*args
, **kwargs
):
2922 """SetPrintData(PrintData printData)"""
2923 return _windows
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
2925 def __nonzero__(self
): return self
.Ok()
2927 class PageSetupDialogDataPtr(PageSetupDialogData
):
2928 def __init__(self
, this
):
2930 if not hasattr(self
,"thisown"): self
.thisown
= 0
2931 self
.__class
__ = PageSetupDialogData
2932 _windows
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
2934 class PageSetupDialog(Dialog
):
2936 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2937 def __init__(self
, *args
, **kwargs
):
2938 """__init__(Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
2939 newobj
= _windows
.new_PageSetupDialog(*args
, **kwargs
)
2940 self
.this
= newobj
.this
2943 self
._setOORInfo
(self
)
2945 def GetPageSetupData(*args
, **kwargs
):
2946 """GetPageSetupData() -> PageSetupDialogData"""
2947 return _windows
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
2949 def ShowModal(*args
, **kwargs
):
2950 """ShowModal() -> int"""
2951 return _windows
.PageSetupDialog_ShowModal(*args
, **kwargs
)
2954 class PageSetupDialogPtr(PageSetupDialog
):
2955 def __init__(self
, this
):
2957 if not hasattr(self
,"thisown"): self
.thisown
= 0
2958 self
.__class
__ = PageSetupDialog
2959 _windows
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
2961 class PrintDialogData(core
.Object
):
2963 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2964 def __init__(self
, *args
, **kwargs
):
2965 """__init__() -> PrintDialogData"""
2966 newobj
= _windows
.new_PrintDialogData(*args
, **kwargs
)
2967 self
.this
= newobj
.this
2970 def __del__(self
, destroy
=_windows
.delete_PrintDialogData
):
2973 if self
.thisown
: destroy(self
)
2976 def GetFromPage(*args
, **kwargs
):
2977 """GetFromPage() -> int"""
2978 return _windows
.PrintDialogData_GetFromPage(*args
, **kwargs
)
2980 def GetToPage(*args
, **kwargs
):
2981 """GetToPage() -> int"""
2982 return _windows
.PrintDialogData_GetToPage(*args
, **kwargs
)
2984 def GetMinPage(*args
, **kwargs
):
2985 """GetMinPage() -> int"""
2986 return _windows
.PrintDialogData_GetMinPage(*args
, **kwargs
)
2988 def GetMaxPage(*args
, **kwargs
):
2989 """GetMaxPage() -> int"""
2990 return _windows
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
2992 def GetNoCopies(*args
, **kwargs
):
2993 """GetNoCopies() -> int"""
2994 return _windows
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
2996 def GetAllPages(*args
, **kwargs
):
2997 """GetAllPages() -> bool"""
2998 return _windows
.PrintDialogData_GetAllPages(*args
, **kwargs
)
3000 def GetSelection(*args
, **kwargs
):
3001 """GetSelection() -> bool"""
3002 return _windows
.PrintDialogData_GetSelection(*args
, **kwargs
)
3004 def GetCollate(*args
, **kwargs
):
3005 """GetCollate() -> bool"""
3006 return _windows
.PrintDialogData_GetCollate(*args
, **kwargs
)
3008 def GetPrintToFile(*args
, **kwargs
):
3009 """GetPrintToFile() -> bool"""
3010 return _windows
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
3012 def GetSetupDialog(*args
, **kwargs
):
3013 """GetSetupDialog() -> bool"""
3014 return _windows
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
3016 def SetFromPage(*args
, **kwargs
):
3017 """SetFromPage(int v)"""
3018 return _windows
.PrintDialogData_SetFromPage(*args
, **kwargs
)
3020 def SetToPage(*args
, **kwargs
):
3021 """SetToPage(int v)"""
3022 return _windows
.PrintDialogData_SetToPage(*args
, **kwargs
)
3024 def SetMinPage(*args
, **kwargs
):
3025 """SetMinPage(int v)"""
3026 return _windows
.PrintDialogData_SetMinPage(*args
, **kwargs
)
3028 def SetMaxPage(*args
, **kwargs
):
3029 """SetMaxPage(int v)"""
3030 return _windows
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
3032 def SetNoCopies(*args
, **kwargs
):
3033 """SetNoCopies(int v)"""
3034 return _windows
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
3036 def SetAllPages(*args
, **kwargs
):
3037 """SetAllPages(bool flag)"""
3038 return _windows
.PrintDialogData_SetAllPages(*args
, **kwargs
)
3040 def SetSelection(*args
, **kwargs
):
3041 """SetSelection(bool flag)"""
3042 return _windows
.PrintDialogData_SetSelection(*args
, **kwargs
)
3044 def SetCollate(*args
, **kwargs
):
3045 """SetCollate(bool flag)"""
3046 return _windows
.PrintDialogData_SetCollate(*args
, **kwargs
)
3048 def SetPrintToFile(*args
, **kwargs
):
3049 """SetPrintToFile(bool flag)"""
3050 return _windows
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
3052 def SetSetupDialog(*args
, **kwargs
):
3053 """SetSetupDialog(bool flag)"""
3054 return _windows
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
3056 def EnablePrintToFile(*args
, **kwargs
):
3057 """EnablePrintToFile(bool flag)"""
3058 return _windows
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
3060 def EnableSelection(*args
, **kwargs
):
3061 """EnableSelection(bool flag)"""
3062 return _windows
.PrintDialogData_EnableSelection(*args
, **kwargs
)
3064 def EnablePageNumbers(*args
, **kwargs
):
3065 """EnablePageNumbers(bool flag)"""
3066 return _windows
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
3068 def EnableHelp(*args
, **kwargs
):
3069 """EnableHelp(bool flag)"""
3070 return _windows
.PrintDialogData_EnableHelp(*args
, **kwargs
)
3072 def GetEnablePrintToFile(*args
, **kwargs
):
3073 """GetEnablePrintToFile() -> bool"""
3074 return _windows
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
3076 def GetEnableSelection(*args
, **kwargs
):
3077 """GetEnableSelection() -> bool"""
3078 return _windows
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
3080 def GetEnablePageNumbers(*args
, **kwargs
):
3081 """GetEnablePageNumbers() -> bool"""
3082 return _windows
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
3084 def GetEnableHelp(*args
, **kwargs
):
3085 """GetEnableHelp() -> bool"""
3086 return _windows
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
3088 def Ok(*args
, **kwargs
):
3090 return _windows
.PrintDialogData_Ok(*args
, **kwargs
)
3092 def GetPrintData(*args
, **kwargs
):
3093 """GetPrintData() -> PrintData"""
3094 return _windows
.PrintDialogData_GetPrintData(*args
, **kwargs
)
3096 def SetPrintData(*args
, **kwargs
):
3097 """SetPrintData(PrintData printData)"""
3098 return _windows
.PrintDialogData_SetPrintData(*args
, **kwargs
)
3100 def __nonzero__(self
): return self
.Ok()
3102 class PrintDialogDataPtr(PrintDialogData
):
3103 def __init__(self
, this
):
3105 if not hasattr(self
,"thisown"): self
.thisown
= 0
3106 self
.__class
__ = PrintDialogData
3107 _windows
.PrintDialogData_swigregister(PrintDialogDataPtr
)
3109 class PrintDialog(Dialog
):
3111 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3112 def __init__(self
, *args
, **kwargs
):
3113 """__init__(Window parent, PrintDialogData data=None) -> PrintDialog"""
3114 newobj
= _windows
.new_PrintDialog(*args
, **kwargs
)
3115 self
.this
= newobj
.this
3118 self
._setOORInfo
(self
)
3120 def GetPrintDialogData(*args
, **kwargs
):
3121 """GetPrintDialogData() -> PrintDialogData"""
3122 return _windows
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
3124 def GetPrintDC(*args
, **kwargs
):
3125 """GetPrintDC() -> DC"""
3126 return _windows
.PrintDialog_GetPrintDC(*args
, **kwargs
)
3128 def ShowModal(*args
, **kwargs
):
3129 """ShowModal() -> int"""
3130 return _windows
.PrintDialog_ShowModal(*args
, **kwargs
)
3133 class PrintDialogPtr(PrintDialog
):
3134 def __init__(self
, this
):
3136 if not hasattr(self
,"thisown"): self
.thisown
= 0
3137 self
.__class
__ = PrintDialog
3138 _windows
.PrintDialog_swigregister(PrintDialogPtr
)
3140 PRINTER_NO_ERROR
= _windows
.PRINTER_NO_ERROR
3141 PRINTER_CANCELLED
= _windows
.PRINTER_CANCELLED
3142 PRINTER_ERROR
= _windows
.PRINTER_ERROR
3143 class Printer(core
.Object
):
3145 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3146 def __init__(self
, *args
, **kwargs
):
3147 """__init__(PrintDialogData data=None) -> Printer"""
3148 newobj
= _windows
.new_Printer(*args
, **kwargs
)
3149 self
.this
= newobj
.this
3152 def __del__(self
, destroy
=_windows
.delete_Printer
):
3155 if self
.thisown
: destroy(self
)
3158 def CreateAbortWindow(*args
, **kwargs
):
3159 """CreateAbortWindow(Window parent, Printout printout)"""
3160 return _windows
.Printer_CreateAbortWindow(*args
, **kwargs
)
3162 def GetPrintDialogData(*args
, **kwargs
):
3163 """GetPrintDialogData() -> PrintDialogData"""
3164 return _windows
.Printer_GetPrintDialogData(*args
, **kwargs
)
3166 def Print(*args
, **kwargs
):
3167 """Print(Window parent, Printout printout, int prompt=True) -> bool"""
3168 return _windows
.Printer_Print(*args
, **kwargs
)
3170 def PrintDialog(*args
, **kwargs
):
3171 """PrintDialog(Window parent) -> DC"""
3172 return _windows
.Printer_PrintDialog(*args
, **kwargs
)
3174 def ReportError(*args
, **kwargs
):
3175 """ReportError(Window parent, Printout printout, String message)"""
3176 return _windows
.Printer_ReportError(*args
, **kwargs
)
3178 def Setup(*args
, **kwargs
):
3179 """Setup(Window parent) -> bool"""
3180 return _windows
.Printer_Setup(*args
, **kwargs
)
3182 def GetAbort(*args
, **kwargs
):
3183 """GetAbort() -> bool"""
3184 return _windows
.Printer_GetAbort(*args
, **kwargs
)
3186 def GetLastError(*args
, **kwargs
):
3187 """GetLastError() -> int"""
3188 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3190 GetLastError
= staticmethod(GetLastError
)
3192 class PrinterPtr(Printer
):
3193 def __init__(self
, this
):
3195 if not hasattr(self
,"thisown"): self
.thisown
= 0
3196 self
.__class
__ = Printer
3197 _windows
.Printer_swigregister(PrinterPtr
)
3199 def Printer_GetLastError(*args
, **kwargs
):
3200 """Printer_GetLastError() -> int"""
3201 return _windows
.Printer_GetLastError(*args
, **kwargs
)
3203 class Printout(core
.Object
):
3205 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3206 def __init__(self
, *args
, **kwargs
):
3207 """__init__(String title=PrintoutTitleStr) -> Printout"""
3208 newobj
= _windows
.new_Printout(*args
, **kwargs
)
3209 self
.this
= newobj
.this
3212 self
._setCallbackInfo
(self
, Printout
)
3214 def _setCallbackInfo(*args
, **kwargs
):
3215 """_setCallbackInfo(PyObject self, PyObject _class)"""
3216 return _windows
.Printout__setCallbackInfo(*args
, **kwargs
)
3218 def GetTitle(*args
, **kwargs
):
3219 """GetTitle() -> String"""
3220 return _windows
.Printout_GetTitle(*args
, **kwargs
)
3222 def GetDC(*args
, **kwargs
):
3224 return _windows
.Printout_GetDC(*args
, **kwargs
)
3226 def SetDC(*args
, **kwargs
):
3228 return _windows
.Printout_SetDC(*args
, **kwargs
)
3230 def SetPageSizePixels(*args
, **kwargs
):
3231 """SetPageSizePixels(int w, int h)"""
3232 return _windows
.Printout_SetPageSizePixels(*args
, **kwargs
)
3234 def GetPageSizePixels(*args
, **kwargs
):
3235 """GetPageSizePixels() -> (w, h)"""
3236 return _windows
.Printout_GetPageSizePixels(*args
, **kwargs
)
3238 def SetPageSizeMM(*args
, **kwargs
):
3239 """SetPageSizeMM(int w, int h)"""
3240 return _windows
.Printout_SetPageSizeMM(*args
, **kwargs
)
3242 def GetPageSizeMM(*args
, **kwargs
):
3243 """GetPageSizeMM() -> (w, h)"""
3244 return _windows
.Printout_GetPageSizeMM(*args
, **kwargs
)
3246 def SetPPIScreen(*args
, **kwargs
):
3247 """SetPPIScreen(int x, int y)"""
3248 return _windows
.Printout_SetPPIScreen(*args
, **kwargs
)
3250 def GetPPIScreen(*args
, **kwargs
):
3251 """GetPPIScreen() -> (x,y)"""
3252 return _windows
.Printout_GetPPIScreen(*args
, **kwargs
)
3254 def SetPPIPrinter(*args
, **kwargs
):
3255 """SetPPIPrinter(int x, int y)"""
3256 return _windows
.Printout_SetPPIPrinter(*args
, **kwargs
)
3258 def GetPPIPrinter(*args
, **kwargs
):
3259 """GetPPIPrinter() -> (x,y)"""
3260 return _windows
.Printout_GetPPIPrinter(*args
, **kwargs
)
3262 def IsPreview(*args
, **kwargs
):
3263 """IsPreview() -> bool"""
3264 return _windows
.Printout_IsPreview(*args
, **kwargs
)
3266 def SetIsPreview(*args
, **kwargs
):
3267 """SetIsPreview(bool p)"""
3268 return _windows
.Printout_SetIsPreview(*args
, **kwargs
)
3270 def base_OnBeginDocument(*args
, **kwargs
):
3271 """base_OnBeginDocument(int startPage, int endPage) -> bool"""
3272 return _windows
.Printout_base_OnBeginDocument(*args
, **kwargs
)
3274 def base_OnEndDocument(*args
, **kwargs
):
3275 """base_OnEndDocument()"""
3276 return _windows
.Printout_base_OnEndDocument(*args
, **kwargs
)
3278 def base_OnBeginPrinting(*args
, **kwargs
):
3279 """base_OnBeginPrinting()"""
3280 return _windows
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
3282 def base_OnEndPrinting(*args
, **kwargs
):
3283 """base_OnEndPrinting()"""
3284 return _windows
.Printout_base_OnEndPrinting(*args
, **kwargs
)
3286 def base_OnPreparePrinting(*args
, **kwargs
):
3287 """base_OnPreparePrinting()"""
3288 return _windows
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
3290 def base_HasPage(*args
, **kwargs
):
3291 """base_HasPage(int page) -> bool"""
3292 return _windows
.Printout_base_HasPage(*args
, **kwargs
)
3294 def base_GetPageInfo(*args
, **kwargs
):
3295 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
3296 return _windows
.Printout_base_GetPageInfo(*args
, **kwargs
)
3299 class PrintoutPtr(Printout
):
3300 def __init__(self
, this
):
3302 if not hasattr(self
,"thisown"): self
.thisown
= 0
3303 self
.__class
__ = Printout
3304 _windows
.Printout_swigregister(PrintoutPtr
)
3306 class PreviewCanvas(ScrolledWindow
):
3308 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3309 def __init__(self
, *args
, **kwargs
):
3311 __init__(PrintPreview preview, Window parent, Point pos=DefaultPosition,
3312 Size size=DefaultSize, long style=0,
3313 String name=PreviewCanvasNameStr) -> PreviewCanvas
3315 newobj
= _windows
.new_PreviewCanvas(*args
, **kwargs
)
3316 self
.this
= newobj
.this
3319 self
._setOORInfo
(self
)
3322 class PreviewCanvasPtr(PreviewCanvas
):
3323 def __init__(self
, this
):
3325 if not hasattr(self
,"thisown"): self
.thisown
= 0
3326 self
.__class
__ = PreviewCanvas
3327 _windows
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
3329 class PreviewFrame(Frame
):
3331 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3332 def __init__(self
, *args
, **kwargs
):
3334 __init__(PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
3335 Size size=DefaultSize,
3336 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
3338 newobj
= _windows
.new_PreviewFrame(*args
, **kwargs
)
3339 self
.this
= newobj
.this
3342 self
._setOORInfo
(self
)
3344 def Initialize(*args
, **kwargs
):
3346 return _windows
.PreviewFrame_Initialize(*args
, **kwargs
)
3348 def CreateControlBar(*args
, **kwargs
):
3349 """CreateControlBar()"""
3350 return _windows
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
3352 def CreateCanvas(*args
, **kwargs
):
3353 """CreateCanvas()"""
3354 return _windows
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
3356 def GetControlBar(*args
, **kwargs
):
3357 """GetControlBar() -> PreviewControlBar"""
3358 return _windows
.PreviewFrame_GetControlBar(*args
, **kwargs
)
3361 class PreviewFramePtr(PreviewFrame
):
3362 def __init__(self
, this
):
3364 if not hasattr(self
,"thisown"): self
.thisown
= 0
3365 self
.__class
__ = PreviewFrame
3366 _windows
.PreviewFrame_swigregister(PreviewFramePtr
)
3368 PREVIEW_PRINT
= _windows
.PREVIEW_PRINT
3369 PREVIEW_PREVIOUS
= _windows
.PREVIEW_PREVIOUS
3370 PREVIEW_NEXT
= _windows
.PREVIEW_NEXT
3371 PREVIEW_ZOOM
= _windows
.PREVIEW_ZOOM
3372 PREVIEW_FIRST
= _windows
.PREVIEW_FIRST
3373 PREVIEW_LAST
= _windows
.PREVIEW_LAST
3374 PREVIEW_GOTO
= _windows
.PREVIEW_GOTO
3375 PREVIEW_DEFAULT
= _windows
.PREVIEW_DEFAULT
3376 ID_PREVIEW_CLOSE
= _windows
.ID_PREVIEW_CLOSE
3377 ID_PREVIEW_NEXT
= _windows
.ID_PREVIEW_NEXT
3378 ID_PREVIEW_PREVIOUS
= _windows
.ID_PREVIEW_PREVIOUS
3379 ID_PREVIEW_PRINT
= _windows
.ID_PREVIEW_PRINT
3380 ID_PREVIEW_ZOOM
= _windows
.ID_PREVIEW_ZOOM
3381 ID_PREVIEW_FIRST
= _windows
.ID_PREVIEW_FIRST
3382 ID_PREVIEW_LAST
= _windows
.ID_PREVIEW_LAST
3383 ID_PREVIEW_GOTO
= _windows
.ID_PREVIEW_GOTO
3384 class PreviewControlBar(Panel
):
3386 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3387 def __init__(self
, *args
, **kwargs
):
3389 __init__(PrintPreview preview, long buttons, Window parent,
3390 Point pos=DefaultPosition, Size size=DefaultSize,
3391 long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
3393 newobj
= _windows
.new_PreviewControlBar(*args
, **kwargs
)
3394 self
.this
= newobj
.this
3397 self
._setOORInfo
(self
)
3399 def GetZoomControl(*args
, **kwargs
):
3400 """GetZoomControl() -> int"""
3401 return _windows
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
3403 def SetZoomControl(*args
, **kwargs
):
3404 """SetZoomControl(int zoom)"""
3405 return _windows
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
3407 def GetPrintPreview(*args
, **kwargs
):
3408 """GetPrintPreview() -> PrintPreview"""
3409 return _windows
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
3411 def OnNext(*args
, **kwargs
):
3413 return _windows
.PreviewControlBar_OnNext(*args
, **kwargs
)
3415 def OnPrevious(*args
, **kwargs
):
3417 return _windows
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
3419 def OnFirst(*args
, **kwargs
):
3421 return _windows
.PreviewControlBar_OnFirst(*args
, **kwargs
)
3423 def OnLast(*args
, **kwargs
):
3425 return _windows
.PreviewControlBar_OnLast(*args
, **kwargs
)
3427 def OnGoto(*args
, **kwargs
):
3429 return _windows
.PreviewControlBar_OnGoto(*args
, **kwargs
)
3432 class PreviewControlBarPtr(PreviewControlBar
):
3433 def __init__(self
, this
):
3435 if not hasattr(self
,"thisown"): self
.thisown
= 0
3436 self
.__class
__ = PreviewControlBar
3437 _windows
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
3439 class PrintPreview(core
.Object
):
3441 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3442 def __init__(self
, *args
, **kwargs
):
3443 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PrintPreview"""
3444 newobj
= _windows
.new_PrintPreview(*args
, **kwargs
)
3445 self
.this
= newobj
.this
3448 def SetCurrentPage(*args
, **kwargs
):
3449 """SetCurrentPage(int pageNum) -> bool"""
3450 return _windows
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
3452 def GetCurrentPage(*args
, **kwargs
):
3453 """GetCurrentPage() -> int"""
3454 return _windows
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
3456 def SetPrintout(*args
, **kwargs
):
3457 """SetPrintout(Printout printout)"""
3458 return _windows
.PrintPreview_SetPrintout(*args
, **kwargs
)
3460 def GetPrintout(*args
, **kwargs
):
3461 """GetPrintout() -> Printout"""
3462 return _windows
.PrintPreview_GetPrintout(*args
, **kwargs
)
3464 def GetPrintoutForPrinting(*args
, **kwargs
):
3465 """GetPrintoutForPrinting() -> Printout"""
3466 return _windows
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
3468 def SetFrame(*args
, **kwargs
):
3469 """SetFrame(Frame frame)"""
3470 return _windows
.PrintPreview_SetFrame(*args
, **kwargs
)
3472 def SetCanvas(*args
, **kwargs
):
3473 """SetCanvas(PreviewCanvas canvas)"""
3474 return _windows
.PrintPreview_SetCanvas(*args
, **kwargs
)
3476 def GetFrame(*args
, **kwargs
):
3477 """GetFrame() -> Frame"""
3478 return _windows
.PrintPreview_GetFrame(*args
, **kwargs
)
3480 def GetCanvas(*args
, **kwargs
):
3481 """GetCanvas() -> PreviewCanvas"""
3482 return _windows
.PrintPreview_GetCanvas(*args
, **kwargs
)
3484 def PaintPage(*args
, **kwargs
):
3485 """PaintPage(PreviewCanvas canvas, DC dc) -> bool"""
3486 return _windows
.PrintPreview_PaintPage(*args
, **kwargs
)
3488 def DrawBlankPage(*args
, **kwargs
):
3489 """DrawBlankPage(PreviewCanvas canvas, DC dc) -> bool"""
3490 return _windows
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
3492 def RenderPage(*args
, **kwargs
):
3493 """RenderPage(int pageNum) -> bool"""
3494 return _windows
.PrintPreview_RenderPage(*args
, **kwargs
)
3496 def AdjustScrollbars(*args
, **kwargs
):
3497 """AdjustScrollbars(PreviewCanvas canvas)"""
3498 return _windows
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
3500 def GetPrintDialogData(*args
, **kwargs
):
3501 """GetPrintDialogData() -> PrintDialogData"""
3502 return _windows
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
3504 def SetZoom(*args
, **kwargs
):
3505 """SetZoom(int percent)"""
3506 return _windows
.PrintPreview_SetZoom(*args
, **kwargs
)
3508 def GetZoom(*args
, **kwargs
):
3509 """GetZoom() -> int"""
3510 return _windows
.PrintPreview_GetZoom(*args
, **kwargs
)
3512 def GetMaxPage(*args
, **kwargs
):
3513 """GetMaxPage() -> int"""
3514 return _windows
.PrintPreview_GetMaxPage(*args
, **kwargs
)
3516 def GetMinPage(*args
, **kwargs
):
3517 """GetMinPage() -> int"""
3518 return _windows
.PrintPreview_GetMinPage(*args
, **kwargs
)
3520 def Ok(*args
, **kwargs
):
3522 return _windows
.PrintPreview_Ok(*args
, **kwargs
)
3524 def SetOk(*args
, **kwargs
):
3525 """SetOk(bool ok)"""
3526 return _windows
.PrintPreview_SetOk(*args
, **kwargs
)
3528 def Print(*args
, **kwargs
):
3529 """Print(bool interactive) -> bool"""
3530 return _windows
.PrintPreview_Print(*args
, **kwargs
)
3532 def DetermineScaling(*args
, **kwargs
):
3533 """DetermineScaling()"""
3534 return _windows
.PrintPreview_DetermineScaling(*args
, **kwargs
)
3536 def __nonzero__(self
): return self
.Ok()
3538 class PrintPreviewPtr(PrintPreview
):
3539 def __init__(self
, this
):
3541 if not hasattr(self
,"thisown"): self
.thisown
= 0
3542 self
.__class
__ = PrintPreview
3543 _windows
.PrintPreview_swigregister(PrintPreviewPtr
)
3545 class PyPrintPreview(PrintPreview
):
3547 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3548 def __init__(self
, *args
, **kwargs
):
3549 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PyPrintPreview"""
3550 newobj
= _windows
.new_PyPrintPreview(*args
, **kwargs
)
3551 self
.this
= newobj
.this
3554 self
._setCallbackInfo
(self
, PyPrintPreview
)
3556 def _setCallbackInfo(*args
, **kwargs
):
3557 """_setCallbackInfo(PyObject self, PyObject _class)"""
3558 return _windows
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
3560 def base_SetCurrentPage(*args
, **kwargs
):
3561 """base_SetCurrentPage(int pageNum) -> bool"""
3562 return _windows
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
3564 def base_PaintPage(*args
, **kwargs
):
3565 """base_PaintPage(PreviewCanvas canvas, DC dc) -> bool"""
3566 return _windows
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
3568 def base_DrawBlankPage(*args
, **kwargs
):
3569 """base_DrawBlankPage(PreviewCanvas canvas, DC dc) -> bool"""
3570 return _windows
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
3572 def base_RenderPage(*args
, **kwargs
):
3573 """base_RenderPage(int pageNum) -> bool"""
3574 return _windows
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
3576 def base_SetZoom(*args
, **kwargs
):
3577 """base_SetZoom(int percent)"""
3578 return _windows
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
3580 def base_Print(*args
, **kwargs
):
3581 """base_Print(bool interactive) -> bool"""
3582 return _windows
.PyPrintPreview_base_Print(*args
, **kwargs
)
3584 def base_DetermineScaling(*args
, **kwargs
):
3585 """base_DetermineScaling()"""
3586 return _windows
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
3589 class PyPrintPreviewPtr(PyPrintPreview
):
3590 def __init__(self
, this
):
3592 if not hasattr(self
,"thisown"): self
.thisown
= 0
3593 self
.__class
__ = PyPrintPreview
3594 _windows
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
3596 class PyPreviewFrame(PreviewFrame
):
3598 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3599 def __init__(self
, *args
, **kwargs
):
3601 __init__(PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
3602 Size size=DefaultSize,
3603 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
3605 newobj
= _windows
.new_PyPreviewFrame(*args
, **kwargs
)
3606 self
.this
= newobj
.this
3609 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
3611 def _setCallbackInfo(*args
, **kwargs
):
3612 """_setCallbackInfo(PyObject self, PyObject _class)"""
3613 return _windows
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
3615 def SetPreviewCanvas(*args
, **kwargs
):
3616 """SetPreviewCanvas(PreviewCanvas canvas)"""
3617 return _windows
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
3619 def SetControlBar(*args
, **kwargs
):
3620 """SetControlBar(PreviewControlBar bar)"""
3621 return _windows
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
3623 def base_Initialize(*args
, **kwargs
):
3624 """base_Initialize()"""
3625 return _windows
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
3627 def base_CreateCanvas(*args
, **kwargs
):
3628 """base_CreateCanvas()"""
3629 return _windows
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
3631 def base_CreateControlBar(*args
, **kwargs
):
3632 """base_CreateControlBar()"""
3633 return _windows
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
3636 class PyPreviewFramePtr(PyPreviewFrame
):
3637 def __init__(self
, this
):
3639 if not hasattr(self
,"thisown"): self
.thisown
= 0
3640 self
.__class
__ = PyPreviewFrame
3641 _windows
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
3643 class PyPreviewControlBar(PreviewControlBar
):
3645 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3646 def __init__(self
, *args
, **kwargs
):
3648 __init__(PrintPreview preview, long buttons, Window parent,
3649 Point pos=DefaultPosition, Size size=DefaultSize,
3650 long style=0, String name=PanelNameStr) -> PyPreviewControlBar
3652 newobj
= _windows
.new_PyPreviewControlBar(*args
, **kwargs
)
3653 self
.this
= newobj
.this
3656 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
3658 def _setCallbackInfo(*args
, **kwargs
):
3659 """_setCallbackInfo(PyObject self, PyObject _class)"""
3660 return _windows
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
3662 def SetPrintPreview(*args
, **kwargs
):
3663 """SetPrintPreview(PrintPreview preview)"""
3664 return _windows
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
3666 def base_CreateButtons(*args
, **kwargs
):
3667 """base_CreateButtons()"""
3668 return _windows
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
3670 def base_SetZoomControl(*args
, **kwargs
):
3671 """base_SetZoomControl(int zoom)"""
3672 return _windows
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
3675 class PyPreviewControlBarPtr(PyPreviewControlBar
):
3676 def __init__(self
, this
):
3678 if not hasattr(self
,"thisown"): self
.thisown
= 0
3679 self
.__class
__ = PyPreviewControlBar
3680 _windows
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)