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__(self, 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(self, Window parent, int id=-1, Point pos=DefaultPosition,
28 Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
29 String name=PanelNameStr) -> bool
31 return _windows_
.Panel_Create(*args
, **kwargs
)
33 def InitDialog(*args
, **kwargs
):
37 Sends an EVT_INIT_DIALOG event, whose handler usually transfers data
38 to the dialog via validators.
40 return _windows_
.Panel_InitDialog(*args
, **kwargs
)
42 def GetClassDefaultAttributes(*args
, **kwargs
):
44 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
46 Get the default attributes for this class. This is useful if you want
47 to use the same font or colour in your own control as in a standard
48 control -- which is a much better idea than hard coding specific
49 colours or fonts which might look completely out of place on the
50 user's system, especially if it uses themes.
52 The variant parameter is only relevant under Mac currently and is
53 ignore under other platforms. Under Mac, it will change the size of
54 the returned font. See `wx.Window.SetWindowVariant` for more about
57 return _windows_
.Panel_GetClassDefaultAttributes(*args
, **kwargs
)
59 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
61 class PanelPtr(Panel
):
62 def __init__(self
, this
):
64 if not hasattr(self
,"thisown"): self
.thisown
= 0
65 self
.__class
__ = Panel
66 _windows_
.Panel_swigregister(PanelPtr
)
68 def PrePanel(*args
, **kwargs
):
69 """PrePanel() -> Panel"""
70 val
= _windows_
.new_PrePanel(*args
, **kwargs
)
74 def Panel_GetClassDefaultAttributes(*args
, **kwargs
):
76 Panel_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
78 Get the default attributes for this class. This is useful if you want
79 to use the same font or colour in your own control as in a standard
80 control -- which is a much better idea than hard coding specific
81 colours or fonts which might look completely out of place on the
82 user's system, especially if it uses themes.
84 The variant parameter is only relevant under Mac currently and is
85 ignore under other platforms. Under Mac, it will change the size of
86 the returned font. See `wx.Window.SetWindowVariant` for more about
89 return _windows_
.Panel_GetClassDefaultAttributes(*args
, **kwargs
)
91 #---------------------------------------------------------------------------
93 class ScrolledWindow(Panel
):
95 return "<%s.%s; proxy of C++ wxScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
96 def __init__(self
, *args
, **kwargs
):
98 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
99 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
100 String name=PanelNameStr) -> ScrolledWindow
102 newobj
= _windows_
.new_ScrolledWindow(*args
, **kwargs
)
103 self
.this
= newobj
.this
106 self
._setOORInfo
(self
)
108 def Create(*args
, **kwargs
):
110 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
111 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
112 String name=PanelNameStr) -> bool
114 return _windows_
.ScrolledWindow_Create(*args
, **kwargs
)
116 def SetScrollbars(*args
, **kwargs
):
118 SetScrollbars(self, int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX,
119 int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)
121 return _windows_
.ScrolledWindow_SetScrollbars(*args
, **kwargs
)
123 def Scroll(*args
, **kwargs
):
124 """Scroll(self, int x, int y)"""
125 return _windows_
.ScrolledWindow_Scroll(*args
, **kwargs
)
127 def GetScrollPageSize(*args
, **kwargs
):
128 """GetScrollPageSize(self, int orient) -> int"""
129 return _windows_
.ScrolledWindow_GetScrollPageSize(*args
, **kwargs
)
131 def SetScrollPageSize(*args
, **kwargs
):
132 """SetScrollPageSize(self, int orient, int pageSize)"""
133 return _windows_
.ScrolledWindow_SetScrollPageSize(*args
, **kwargs
)
135 def SetScrollRate(*args
, **kwargs
):
136 """SetScrollRate(self, int xstep, int ystep)"""
137 return _windows_
.ScrolledWindow_SetScrollRate(*args
, **kwargs
)
139 def GetScrollPixelsPerUnit(*args
, **kwargs
):
141 GetScrollPixelsPerUnit() -> (xUnit, yUnit)
143 Get the size of one logical unit in physical units.
145 return _windows_
.ScrolledWindow_GetScrollPixelsPerUnit(*args
, **kwargs
)
147 def EnableScrolling(*args
, **kwargs
):
148 """EnableScrolling(self, bool x_scrolling, bool y_scrolling)"""
149 return _windows_
.ScrolledWindow_EnableScrolling(*args
, **kwargs
)
151 def GetViewStart(*args
, **kwargs
):
153 GetViewStart() -> (x,y)
157 return _windows_
.ScrolledWindow_GetViewStart(*args
, **kwargs
)
159 def SetScale(*args
, **kwargs
):
160 """SetScale(self, double xs, double ys)"""
161 return _windows_
.ScrolledWindow_SetScale(*args
, **kwargs
)
163 def GetScaleX(*args
, **kwargs
):
164 """GetScaleX(self) -> double"""
165 return _windows_
.ScrolledWindow_GetScaleX(*args
, **kwargs
)
167 def GetScaleY(*args
, **kwargs
):
168 """GetScaleY(self) -> double"""
169 return _windows_
.ScrolledWindow_GetScaleY(*args
, **kwargs
)
171 def CalcScrolledPosition(*args
):
173 CalcScrolledPosition(self, Point pt) -> Point
174 CalcScrolledPosition(int x, int y) -> (sx, sy)
176 Translate between scrolled and unscrolled coordinates.
178 return _windows_
.ScrolledWindow_CalcScrolledPosition(*args
)
180 def CalcUnscrolledPosition(*args
):
182 CalcUnscrolledPosition(self, Point pt) -> Point
183 CalcUnscrolledPosition(int x, int y) -> (ux, uy)
185 Translate between scrolled and unscrolled coordinates.
187 return _windows_
.ScrolledWindow_CalcUnscrolledPosition(*args
)
189 def AdjustScrollbars(*args
, **kwargs
):
190 """AdjustScrollbars(self)"""
191 return _windows_
.ScrolledWindow_AdjustScrollbars(*args
, **kwargs
)
193 def CalcScrollInc(*args
, **kwargs
):
194 """CalcScrollInc(self, ScrollWinEvent event) -> int"""
195 return _windows_
.ScrolledWindow_CalcScrollInc(*args
, **kwargs
)
197 def SetTargetWindow(*args
, **kwargs
):
198 """SetTargetWindow(self, Window target)"""
199 return _windows_
.ScrolledWindow_SetTargetWindow(*args
, **kwargs
)
201 def GetTargetWindow(*args
, **kwargs
):
202 """GetTargetWindow(self) -> Window"""
203 return _windows_
.ScrolledWindow_GetTargetWindow(*args
, **kwargs
)
205 def GetClassDefaultAttributes(*args
, **kwargs
):
207 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
209 Get the default attributes for this class. This is useful if you want
210 to use the same font or colour in your own control as in a standard
211 control -- which is a much better idea than hard coding specific
212 colours or fonts which might look completely out of place on the
213 user's system, especially if it uses themes.
215 The variant parameter is only relevant under Mac currently and is
216 ignore under other platforms. Under Mac, it will change the size of
217 the returned font. See `wx.Window.SetWindowVariant` for more about
220 return _windows_
.ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
)
222 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
224 class ScrolledWindowPtr(ScrolledWindow
):
225 def __init__(self
, this
):
227 if not hasattr(self
,"thisown"): self
.thisown
= 0
228 self
.__class
__ = ScrolledWindow
229 _windows_
.ScrolledWindow_swigregister(ScrolledWindowPtr
)
231 def PreScrolledWindow(*args
, **kwargs
):
232 """PreScrolledWindow() -> ScrolledWindow"""
233 val
= _windows_
.new_PreScrolledWindow(*args
, **kwargs
)
237 def ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
):
239 ScrolledWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
241 Get the default attributes for this class. This is useful if you want
242 to use the same font or colour in your own control as in a standard
243 control -- which is a much better idea than hard coding specific
244 colours or fonts which might look completely out of place on the
245 user's system, especially if it uses themes.
247 The variant parameter is only relevant under Mac currently and is
248 ignore under other platforms. Under Mac, it will change the size of
249 the returned font. See `wx.Window.SetWindowVariant` for more about
252 return _windows_
.ScrolledWindow_GetClassDefaultAttributes(*args
, **kwargs
)
254 #---------------------------------------------------------------------------
256 STAY_ON_TOP
= _windows_
.STAY_ON_TOP
257 ICONIZE
= _windows_
.ICONIZE
258 MINIMIZE
= _windows_
.MINIMIZE
259 MAXIMIZE
= _windows_
.MAXIMIZE
260 CLOSE_BOX
= _windows_
.CLOSE_BOX
261 THICK_FRAME
= _windows_
.THICK_FRAME
262 SYSTEM_MENU
= _windows_
.SYSTEM_MENU
263 MINIMIZE_BOX
= _windows_
.MINIMIZE_BOX
264 MAXIMIZE_BOX
= _windows_
.MAXIMIZE_BOX
265 TINY_CAPTION_HORIZ
= _windows_
.TINY_CAPTION_HORIZ
266 TINY_CAPTION_VERT
= _windows_
.TINY_CAPTION_VERT
267 RESIZE_BOX
= _windows_
.RESIZE_BOX
268 RESIZE_BORDER
= _windows_
.RESIZE_BORDER
269 DIALOG_NO_PARENT
= _windows_
.DIALOG_NO_PARENT
270 DEFAULT_FRAME_STYLE
= _windows_
.DEFAULT_FRAME_STYLE
271 DEFAULT_DIALOG_STYLE
= _windows_
.DEFAULT_DIALOG_STYLE
272 FRAME_TOOL_WINDOW
= _windows_
.FRAME_TOOL_WINDOW
273 FRAME_FLOAT_ON_PARENT
= _windows_
.FRAME_FLOAT_ON_PARENT
274 FRAME_NO_WINDOW_MENU
= _windows_
.FRAME_NO_WINDOW_MENU
275 FRAME_NO_TASKBAR
= _windows_
.FRAME_NO_TASKBAR
276 FRAME_SHAPED
= _windows_
.FRAME_SHAPED
277 DIALOG_MODAL
= _windows_
.DIALOG_MODAL
278 DIALOG_MODELESS
= _windows_
.DIALOG_MODELESS
279 USER_COLOURS
= _windows_
.USER_COLOURS
280 NO_3D
= _windows_
.NO_3D
281 FULLSCREEN_NOMENUBAR
= _windows_
.FULLSCREEN_NOMENUBAR
282 FULLSCREEN_NOTOOLBAR
= _windows_
.FULLSCREEN_NOTOOLBAR
283 FULLSCREEN_NOSTATUSBAR
= _windows_
.FULLSCREEN_NOSTATUSBAR
284 FULLSCREEN_NOBORDER
= _windows_
.FULLSCREEN_NOBORDER
285 FULLSCREEN_NOCAPTION
= _windows_
.FULLSCREEN_NOCAPTION
286 FULLSCREEN_ALL
= _windows_
.FULLSCREEN_ALL
287 TOPLEVEL_EX_DIALOG
= _windows_
.TOPLEVEL_EX_DIALOG
288 class TopLevelWindow(_core
.Window
):
289 def __init__(self
): raise RuntimeError, "No constructor defined"
291 return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
292 def Maximize(*args
, **kwargs
):
293 """Maximize(self, bool maximize=True)"""
294 return _windows_
.TopLevelWindow_Maximize(*args
, **kwargs
)
296 def Restore(*args
, **kwargs
):
298 return _windows_
.TopLevelWindow_Restore(*args
, **kwargs
)
300 def Iconize(*args
, **kwargs
):
301 """Iconize(self, bool iconize=True)"""
302 return _windows_
.TopLevelWindow_Iconize(*args
, **kwargs
)
304 def IsMaximized(*args
, **kwargs
):
305 """IsMaximized(self) -> bool"""
306 return _windows_
.TopLevelWindow_IsMaximized(*args
, **kwargs
)
308 def IsIconized(*args
, **kwargs
):
309 """IsIconized(self) -> bool"""
310 return _windows_
.TopLevelWindow_IsIconized(*args
, **kwargs
)
312 def GetIcon(*args
, **kwargs
):
313 """GetIcon(self) -> Icon"""
314 return _windows_
.TopLevelWindow_GetIcon(*args
, **kwargs
)
316 def SetIcon(*args
, **kwargs
):
317 """SetIcon(self, Icon icon)"""
318 return _windows_
.TopLevelWindow_SetIcon(*args
, **kwargs
)
320 def SetIcons(*args
, **kwargs
):
321 """SetIcons(self, wxIconBundle icons)"""
322 return _windows_
.TopLevelWindow_SetIcons(*args
, **kwargs
)
324 def ShowFullScreen(*args
, **kwargs
):
325 """ShowFullScreen(self, bool show, long style=FULLSCREEN_ALL) -> bool"""
326 return _windows_
.TopLevelWindow_ShowFullScreen(*args
, **kwargs
)
328 def IsFullScreen(*args
, **kwargs
):
329 """IsFullScreen(self) -> bool"""
330 return _windows_
.TopLevelWindow_IsFullScreen(*args
, **kwargs
)
332 def SetTitle(*args
, **kwargs
):
334 SetTitle(self, String title)
336 Sets the window's title. Applicable only to frames and dialogs.
338 return _windows_
.TopLevelWindow_SetTitle(*args
, **kwargs
)
340 def GetTitle(*args
, **kwargs
):
342 GetTitle(self) -> String
344 Gets the window's title. Applicable only to frames and dialogs.
346 return _windows_
.TopLevelWindow_GetTitle(*args
, **kwargs
)
348 def SetShape(*args
, **kwargs
):
349 """SetShape(self, Region region) -> bool"""
350 return _windows_
.TopLevelWindow_SetShape(*args
, **kwargs
)
353 class TopLevelWindowPtr(TopLevelWindow
):
354 def __init__(self
, this
):
356 if not hasattr(self
,"thisown"): self
.thisown
= 0
357 self
.__class
__ = TopLevelWindow
358 _windows_
.TopLevelWindow_swigregister(TopLevelWindowPtr
)
359 cvar
= _windows_
.cvar
360 FrameNameStr
= cvar
.FrameNameStr
361 DialogNameStr
= cvar
.DialogNameStr
362 StatusLineNameStr
= cvar
.StatusLineNameStr
363 ToolBarNameStr
= cvar
.ToolBarNameStr
365 #---------------------------------------------------------------------------
367 class Frame(TopLevelWindow
):
369 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
370 def __init__(self
, *args
, **kwargs
):
372 __init__(self, Window parent, int id=-1, String title=EmptyString,
373 Point pos=DefaultPosition, Size size=DefaultSize,
374 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> Frame
376 newobj
= _windows_
.new_Frame(*args
, **kwargs
)
377 self
.this
= newobj
.this
380 self
._setOORInfo
(self
)
382 def Create(*args
, **kwargs
):
384 Create(self, Window parent, int id=-1, String title=EmptyString,
385 Point pos=DefaultPosition, Size size=DefaultSize,
386 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
388 return _windows_
.Frame_Create(*args
, **kwargs
)
390 def GetClientAreaOrigin(*args
, **kwargs
):
392 GetClientAreaOrigin(self) -> Point
394 Get the origin of the client area of the window relative to the
395 window's top left corner (the client area may be shifted because of
396 the borders, scrollbars, other decorations...)
398 return _windows_
.Frame_GetClientAreaOrigin(*args
, **kwargs
)
400 def SendSizeEvent(*args
, **kwargs
):
401 """SendSizeEvent(self)"""
402 return _windows_
.Frame_SendSizeEvent(*args
, **kwargs
)
404 def SetMenuBar(*args
, **kwargs
):
405 """SetMenuBar(self, MenuBar menubar)"""
406 return _windows_
.Frame_SetMenuBar(*args
, **kwargs
)
408 def GetMenuBar(*args
, **kwargs
):
409 """GetMenuBar(self) -> MenuBar"""
410 return _windows_
.Frame_GetMenuBar(*args
, **kwargs
)
412 def ProcessCommand(*args
, **kwargs
):
413 """ProcessCommand(self, int winid) -> bool"""
414 return _windows_
.Frame_ProcessCommand(*args
, **kwargs
)
416 Command
= ProcessCommand
417 def CreateStatusBar(*args
, **kwargs
):
419 CreateStatusBar(self, int number=1, long style=wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE,
420 int winid=0, String name=StatusLineNameStr) -> StatusBar
422 return _windows_
.Frame_CreateStatusBar(*args
, **kwargs
)
424 def GetStatusBar(*args
, **kwargs
):
425 """GetStatusBar(self) -> StatusBar"""
426 return _windows_
.Frame_GetStatusBar(*args
, **kwargs
)
428 def SetStatusBar(*args
, **kwargs
):
429 """SetStatusBar(self, StatusBar statBar)"""
430 return _windows_
.Frame_SetStatusBar(*args
, **kwargs
)
432 def SetStatusText(*args
, **kwargs
):
433 """SetStatusText(self, String text, int number=0)"""
434 return _windows_
.Frame_SetStatusText(*args
, **kwargs
)
436 def SetStatusWidths(*args
, **kwargs
):
437 """SetStatusWidths(self, int widths, int widths_field)"""
438 return _windows_
.Frame_SetStatusWidths(*args
, **kwargs
)
440 def PushStatusText(*args
, **kwargs
):
441 """PushStatusText(self, String text, int number=0)"""
442 return _windows_
.Frame_PushStatusText(*args
, **kwargs
)
444 def PopStatusText(*args
, **kwargs
):
445 """PopStatusText(self, int number=0)"""
446 return _windows_
.Frame_PopStatusText(*args
, **kwargs
)
448 def SetStatusBarPane(*args
, **kwargs
):
449 """SetStatusBarPane(self, int n)"""
450 return _windows_
.Frame_SetStatusBarPane(*args
, **kwargs
)
452 def GetStatusBarPane(*args
, **kwargs
):
453 """GetStatusBarPane(self) -> int"""
454 return _windows_
.Frame_GetStatusBarPane(*args
, **kwargs
)
456 def CreateToolBar(*args
, **kwargs
):
457 """CreateToolBar(self, long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar"""
458 return _windows_
.Frame_CreateToolBar(*args
, **kwargs
)
460 def GetToolBar(*args
, **kwargs
):
461 """GetToolBar(self) -> wxToolBar"""
462 return _windows_
.Frame_GetToolBar(*args
, **kwargs
)
464 def SetToolBar(*args
, **kwargs
):
465 """SetToolBar(self, wxToolBar toolbar)"""
466 return _windows_
.Frame_SetToolBar(*args
, **kwargs
)
468 def DoGiveHelp(*args
, **kwargs
):
469 """DoGiveHelp(self, String text, bool show)"""
470 return _windows_
.Frame_DoGiveHelp(*args
, **kwargs
)
472 def DoMenuUpdates(*args
, **kwargs
):
473 """DoMenuUpdates(self, Menu menu=None)"""
474 return _windows_
.Frame_DoMenuUpdates(*args
, **kwargs
)
476 def GetClassDefaultAttributes(*args
, **kwargs
):
478 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
480 Get the default attributes for this class. This is useful if you want
481 to use the same font or colour in your own control as in a standard
482 control -- which is a much better idea than hard coding specific
483 colours or fonts which might look completely out of place on the
484 user's system, especially if it uses themes.
486 The variant parameter is only relevant under Mac currently and is
487 ignore under other platforms. Under Mac, it will change the size of
488 the returned font. See `wx.Window.SetWindowVariant` for more about
491 return _windows_
.Frame_GetClassDefaultAttributes(*args
, **kwargs
)
493 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
495 class FramePtr(Frame
):
496 def __init__(self
, this
):
498 if not hasattr(self
,"thisown"): self
.thisown
= 0
499 self
.__class
__ = Frame
500 _windows_
.Frame_swigregister(FramePtr
)
502 def PreFrame(*args
, **kwargs
):
503 """PreFrame() -> Frame"""
504 val
= _windows_
.new_PreFrame(*args
, **kwargs
)
508 def Frame_GetClassDefaultAttributes(*args
, **kwargs
):
510 Frame_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
512 Get the default attributes for this class. This is useful if you want
513 to use the same font or colour in your own control as in a standard
514 control -- which is a much better idea than hard coding specific
515 colours or fonts which might look completely out of place on the
516 user's system, especially if it uses themes.
518 The variant parameter is only relevant under Mac currently and is
519 ignore under other platforms. Under Mac, it will change the size of
520 the returned font. See `wx.Window.SetWindowVariant` for more about
523 return _windows_
.Frame_GetClassDefaultAttributes(*args
, **kwargs
)
525 #---------------------------------------------------------------------------
527 class Dialog(TopLevelWindow
):
529 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
530 def __init__(self
, *args
, **kwargs
):
532 __init__(self, Window parent, int id=-1, String title=EmptyString,
533 Point pos=DefaultPosition, Size size=DefaultSize,
534 long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> Dialog
536 newobj
= _windows_
.new_Dialog(*args
, **kwargs
)
537 self
.this
= newobj
.this
540 self
._setOORInfo
(self
)
542 def Create(*args
, **kwargs
):
544 Create(self, Window parent, int id=-1, String title=EmptyString,
545 Point pos=DefaultPosition, Size size=DefaultSize,
546 long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> bool
548 return _windows_
.Dialog_Create(*args
, **kwargs
)
550 def SetReturnCode(*args
, **kwargs
):
551 """SetReturnCode(self, int returnCode)"""
552 return _windows_
.Dialog_SetReturnCode(*args
, **kwargs
)
554 def GetReturnCode(*args
, **kwargs
):
555 """GetReturnCode(self) -> int"""
556 return _windows_
.Dialog_GetReturnCode(*args
, **kwargs
)
558 def CreateTextSizer(*args
, **kwargs
):
559 """CreateTextSizer(self, String message) -> Sizer"""
560 return _windows_
.Dialog_CreateTextSizer(*args
, **kwargs
)
562 def CreateButtonSizer(*args
, **kwargs
):
563 """CreateButtonSizer(self, long flags) -> Sizer"""
564 return _windows_
.Dialog_CreateButtonSizer(*args
, **kwargs
)
566 def IsModal(*args
, **kwargs
):
567 """IsModal(self) -> bool"""
568 return _windows_
.Dialog_IsModal(*args
, **kwargs
)
570 def ShowModal(*args
, **kwargs
):
571 """ShowModal(self) -> int"""
572 return _windows_
.Dialog_ShowModal(*args
, **kwargs
)
574 def EndModal(*args
, **kwargs
):
575 """EndModal(self, int retCode)"""
576 return _windows_
.Dialog_EndModal(*args
, **kwargs
)
578 def GetClassDefaultAttributes(*args
, **kwargs
):
580 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
582 Get the default attributes for this class. This is useful if you want
583 to use the same font or colour in your own control as in a standard
584 control -- which is a much better idea than hard coding specific
585 colours or fonts which might look completely out of place on the
586 user's system, especially if it uses themes.
588 The variant parameter is only relevant under Mac currently and is
589 ignore under other platforms. Under Mac, it will change the size of
590 the returned font. See `wx.Window.SetWindowVariant` for more about
593 return _windows_
.Dialog_GetClassDefaultAttributes(*args
, **kwargs
)
595 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
596 def SendSizeEvent(self
):
597 self
.ProcessEvent(wx
.SizeEvent((-1,-1)))
600 class DialogPtr(Dialog
):
601 def __init__(self
, this
):
603 if not hasattr(self
,"thisown"): self
.thisown
= 0
604 self
.__class
__ = Dialog
605 _windows_
.Dialog_swigregister(DialogPtr
)
607 def PreDialog(*args
, **kwargs
):
608 """PreDialog() -> Dialog"""
609 val
= _windows_
.new_PreDialog(*args
, **kwargs
)
613 def Dialog_GetClassDefaultAttributes(*args
, **kwargs
):
615 Dialog_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
617 Get the default attributes for this class. This is useful if you want
618 to use the same font or colour in your own control as in a standard
619 control -- which is a much better idea than hard coding specific
620 colours or fonts which might look completely out of place on the
621 user's system, especially if it uses themes.
623 The variant parameter is only relevant under Mac currently and is
624 ignore under other platforms. Under Mac, it will change the size of
625 the returned font. See `wx.Window.SetWindowVariant` for more about
628 return _windows_
.Dialog_GetClassDefaultAttributes(*args
, **kwargs
)
630 #---------------------------------------------------------------------------
632 class MiniFrame(Frame
):
634 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
635 def __init__(self
, *args
, **kwargs
):
637 __init__(self, Window parent, int id=-1, String title=EmptyString,
638 Point pos=DefaultPosition, Size size=DefaultSize,
639 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> MiniFrame
641 newobj
= _windows_
.new_MiniFrame(*args
, **kwargs
)
642 self
.this
= newobj
.this
645 self
._setOORInfo
(self
)
647 def Create(*args
, **kwargs
):
649 Create(self, Window parent, int id=-1, String title=EmptyString,
650 Point pos=DefaultPosition, Size size=DefaultSize,
651 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
653 return _windows_
.MiniFrame_Create(*args
, **kwargs
)
656 class MiniFramePtr(MiniFrame
):
657 def __init__(self
, this
):
659 if not hasattr(self
,"thisown"): self
.thisown
= 0
660 self
.__class
__ = MiniFrame
661 _windows_
.MiniFrame_swigregister(MiniFramePtr
)
663 def PreMiniFrame(*args
, **kwargs
):
664 """PreMiniFrame() -> MiniFrame"""
665 val
= _windows_
.new_PreMiniFrame(*args
, **kwargs
)
669 #---------------------------------------------------------------------------
671 SPLASH_CENTRE_ON_PARENT
= _windows_
.SPLASH_CENTRE_ON_PARENT
672 SPLASH_CENTRE_ON_SCREEN
= _windows_
.SPLASH_CENTRE_ON_SCREEN
673 SPLASH_NO_CENTRE
= _windows_
.SPLASH_NO_CENTRE
674 SPLASH_TIMEOUT
= _windows_
.SPLASH_TIMEOUT
675 SPLASH_NO_TIMEOUT
= _windows_
.SPLASH_NO_TIMEOUT
676 class SplashScreenWindow(_core
.Window
):
678 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
679 def __init__(self
, *args
, **kwargs
):
681 __init__(self, Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
682 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
684 newobj
= _windows_
.new_SplashScreenWindow(*args
, **kwargs
)
685 self
.this
= newobj
.this
688 self
._setOORInfo
(self
)
690 def SetBitmap(*args
, **kwargs
):
691 """SetBitmap(self, Bitmap bitmap)"""
692 return _windows_
.SplashScreenWindow_SetBitmap(*args
, **kwargs
)
694 def GetBitmap(*args
, **kwargs
):
695 """GetBitmap(self) -> Bitmap"""
696 return _windows_
.SplashScreenWindow_GetBitmap(*args
, **kwargs
)
699 class SplashScreenWindowPtr(SplashScreenWindow
):
700 def __init__(self
, this
):
702 if not hasattr(self
,"thisown"): self
.thisown
= 0
703 self
.__class
__ = SplashScreenWindow
704 _windows_
.SplashScreenWindow_swigregister(SplashScreenWindowPtr
)
706 class SplashScreen(Frame
):
708 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
709 def __init__(self
, *args
, **kwargs
):
711 __init__(self, Bitmap bitmap, long splashStyle, int milliseconds,
712 Window parent, int id=-1, Point pos=DefaultPosition,
713 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
715 newobj
= _windows_
.new_SplashScreen(*args
, **kwargs
)
716 self
.this
= newobj
.this
719 self
._setOORInfo
(self
)
721 def GetSplashStyle(*args
, **kwargs
):
722 """GetSplashStyle(self) -> long"""
723 return _windows_
.SplashScreen_GetSplashStyle(*args
, **kwargs
)
725 def GetSplashWindow(*args
, **kwargs
):
726 """GetSplashWindow(self) -> SplashScreenWindow"""
727 return _windows_
.SplashScreen_GetSplashWindow(*args
, **kwargs
)
729 def GetTimeout(*args
, **kwargs
):
730 """GetTimeout(self) -> int"""
731 return _windows_
.SplashScreen_GetTimeout(*args
, **kwargs
)
734 class SplashScreenPtr(SplashScreen
):
735 def __init__(self
, this
):
737 if not hasattr(self
,"thisown"): self
.thisown
= 0
738 self
.__class
__ = SplashScreen
739 _windows_
.SplashScreen_swigregister(SplashScreenPtr
)
741 #---------------------------------------------------------------------------
743 class StatusBar(_core
.Window
):
745 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
746 def __init__(self
, *args
, **kwargs
):
748 __init__(self, Window parent, int id=-1, long style=wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE,
749 String name=StatusLineNameStr) -> StatusBar
751 newobj
= _windows_
.new_StatusBar(*args
, **kwargs
)
752 self
.this
= newobj
.this
755 self
._setOORInfo
(self
)
757 def Create(*args
, **kwargs
):
758 """Create(self, Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool"""
759 return _windows_
.StatusBar_Create(*args
, **kwargs
)
761 def SetFieldsCount(*args
, **kwargs
):
762 """SetFieldsCount(self, int number=1)"""
763 return _windows_
.StatusBar_SetFieldsCount(*args
, **kwargs
)
765 def GetFieldsCount(*args
, **kwargs
):
766 """GetFieldsCount(self) -> int"""
767 return _windows_
.StatusBar_GetFieldsCount(*args
, **kwargs
)
769 def SetStatusText(*args
, **kwargs
):
770 """SetStatusText(self, String text, int number=0)"""
771 return _windows_
.StatusBar_SetStatusText(*args
, **kwargs
)
773 def GetStatusText(*args
, **kwargs
):
774 """GetStatusText(self, int number=0) -> String"""
775 return _windows_
.StatusBar_GetStatusText(*args
, **kwargs
)
777 def PushStatusText(*args
, **kwargs
):
778 """PushStatusText(self, String text, int number=0)"""
779 return _windows_
.StatusBar_PushStatusText(*args
, **kwargs
)
781 def PopStatusText(*args
, **kwargs
):
782 """PopStatusText(self, int number=0)"""
783 return _windows_
.StatusBar_PopStatusText(*args
, **kwargs
)
785 def SetStatusWidths(*args
, **kwargs
):
786 """SetStatusWidths(self, int widths, int widths_field)"""
787 return _windows_
.StatusBar_SetStatusWidths(*args
, **kwargs
)
789 def GetFieldRect(*args
, **kwargs
):
790 """GetFieldRect(self, int i) -> Rect"""
791 return _windows_
.StatusBar_GetFieldRect(*args
, **kwargs
)
793 def SetMinHeight(*args
, **kwargs
):
794 """SetMinHeight(self, int height)"""
795 return _windows_
.StatusBar_SetMinHeight(*args
, **kwargs
)
797 def GetBorderX(*args
, **kwargs
):
798 """GetBorderX(self) -> int"""
799 return _windows_
.StatusBar_GetBorderX(*args
, **kwargs
)
801 def GetBorderY(*args
, **kwargs
):
802 """GetBorderY(self) -> int"""
803 return _windows_
.StatusBar_GetBorderY(*args
, **kwargs
)
805 def GetClassDefaultAttributes(*args
, **kwargs
):
807 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
809 Get the default attributes for this class. This is useful if you want
810 to use the same font or colour in your own control as in a standard
811 control -- which is a much better idea than hard coding specific
812 colours or fonts which might look completely out of place on the
813 user's system, especially if it uses themes.
815 The variant parameter is only relevant under Mac currently and is
816 ignore under other platforms. Under Mac, it will change the size of
817 the returned font. See `wx.Window.SetWindowVariant` for more about
820 return _windows_
.StatusBar_GetClassDefaultAttributes(*args
, **kwargs
)
822 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
824 class StatusBarPtr(StatusBar
):
825 def __init__(self
, this
):
827 if not hasattr(self
,"thisown"): self
.thisown
= 0
828 self
.__class
__ = StatusBar
829 _windows_
.StatusBar_swigregister(StatusBarPtr
)
831 def PreStatusBar(*args
, **kwargs
):
832 """PreStatusBar() -> StatusBar"""
833 val
= _windows_
.new_PreStatusBar(*args
, **kwargs
)
837 def StatusBar_GetClassDefaultAttributes(*args
, **kwargs
):
839 StatusBar_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
841 Get the default attributes for this class. This is useful if you want
842 to use the same font or colour in your own control as in a standard
843 control -- which is a much better idea than hard coding specific
844 colours or fonts which might look completely out of place on the
845 user's system, especially if it uses themes.
847 The variant parameter is only relevant under Mac currently and is
848 ignore under other platforms. Under Mac, it will change the size of
849 the returned font. See `wx.Window.SetWindowVariant` for more about
852 return _windows_
.StatusBar_GetClassDefaultAttributes(*args
, **kwargs
)
854 #---------------------------------------------------------------------------
856 SP_NOBORDER
= _windows_
.SP_NOBORDER
857 SP_NOSASH
= _windows_
.SP_NOSASH
858 SP_PERMIT_UNSPLIT
= _windows_
.SP_PERMIT_UNSPLIT
859 SP_LIVE_UPDATE
= _windows_
.SP_LIVE_UPDATE
860 SP_3DSASH
= _windows_
.SP_3DSASH
861 SP_3DBORDER
= _windows_
.SP_3DBORDER
862 SP_NO_XP_THEME
= _windows_
.SP_NO_XP_THEME
863 SP_BORDER
= _windows_
.SP_BORDER
864 SP_3D
= _windows_
.SP_3D
865 SPLIT_HORIZONTAL
= _windows_
.SPLIT_HORIZONTAL
866 SPLIT_VERTICAL
= _windows_
.SPLIT_VERTICAL
867 SPLIT_DRAG_NONE
= _windows_
.SPLIT_DRAG_NONE
868 SPLIT_DRAG_DRAGGING
= _windows_
.SPLIT_DRAG_DRAGGING
869 SPLIT_DRAG_LEFT_DOWN
= _windows_
.SPLIT_DRAG_LEFT_DOWN
870 class SplitterWindow(_core
.Window
):
872 wx.SplitterWindow manages up to two subwindows or panes, with an
873 optional vertical or horizontal split which can be used with the mouse
877 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
878 def __init__(self
, *args
, **kwargs
):
880 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
881 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
883 Constructor. Creates and shows a SplitterWindow.
885 if kwargs
.has_key('point'): kwargs
['pos'] = kwargs
['point'];del kwargs
['point']
886 newobj
= _windows_
.new_SplitterWindow(*args
, **kwargs
)
887 self
.this
= newobj
.this
890 self
._setOORInfo
(self
)
892 def Create(*args
, **kwargs
):
894 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
895 Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool
897 Create the GUI part of the SplitterWindow for the 2-phase create.
899 return _windows_
.SplitterWindow_Create(*args
, **kwargs
)
901 def GetWindow1(*args
, **kwargs
):
903 GetWindow1(self) -> Window
905 Gets the only or left/top pane.
907 return _windows_
.SplitterWindow_GetWindow1(*args
, **kwargs
)
909 def GetWindow2(*args
, **kwargs
):
911 GetWindow2(self) -> Window
913 Gets the right/bottom pane.
915 return _windows_
.SplitterWindow_GetWindow2(*args
, **kwargs
)
917 def SetSplitMode(*args
, **kwargs
):
919 SetSplitMode(self, int mode)
921 Sets the split mode. The mode can be wx.SPLIT_VERTICAL or
922 wx.SPLIT_HORIZONTAL. This only sets the internal variable; does not
925 return _windows_
.SplitterWindow_SetSplitMode(*args
, **kwargs
)
927 def GetSplitMode(*args
, **kwargs
):
929 GetSplitMode(self) -> int
933 return _windows_
.SplitterWindow_GetSplitMode(*args
, **kwargs
)
935 def Initialize(*args
, **kwargs
):
937 Initialize(self, Window window)
939 Initializes the splitter window to have one pane. This should be
940 called if you wish to initially view only a single pane in the
943 return _windows_
.SplitterWindow_Initialize(*args
, **kwargs
)
945 def SplitVertically(*args
, **kwargs
):
947 SplitVertically(self, Window window1, Window window2, int sashPosition=0) -> bool
949 Initializes the left and right panes of the splitter window.
951 return _windows_
.SplitterWindow_SplitVertically(*args
, **kwargs
)
953 def SplitHorizontally(*args
, **kwargs
):
955 SplitHorizontally(self, Window window1, Window window2, int sashPosition=0) -> bool
957 Initializes the top and bottom panes of the splitter window.
959 return _windows_
.SplitterWindow_SplitHorizontally(*args
, **kwargs
)
961 def Unsplit(*args
, **kwargs
):
963 Unsplit(self, Window toRemove=None) -> bool
965 Unsplits the window. Pass the pane to remove, or None to remove the
966 right or bottom pane. Returns True if successful, False otherwise (the
967 window was not split).
969 This function will not actually delete the pane being
970 removed; it sends EVT_SPLITTER_UNSPLIT which can be handled
971 for the desired behaviour. By default, the pane being
972 removed is only hidden.
974 return _windows_
.SplitterWindow_Unsplit(*args
, **kwargs
)
976 def ReplaceWindow(*args
, **kwargs
):
978 ReplaceWindow(self, Window winOld, Window winNew) -> bool
980 This function replaces one of the windows managed by the
981 SplitterWindow with another one. It is in general better to use it
982 instead of calling Unsplit() and then resplitting the window back
983 because it will provoke much less flicker. It is valid to call this
984 function whether the splitter has two windows or only one.
986 Both parameters should be non-None and winOld must specify one of the
987 windows managed by the splitter. If the parameters are incorrect or
988 the window couldn't be replaced, False is returned. Otherwise the
989 function will return True, but please notice that it will not Destroy
990 the replaced window and you may wish to do it yourself.
992 return _windows_
.SplitterWindow_ReplaceWindow(*args
, **kwargs
)
994 def UpdateSize(*args
, **kwargs
):
998 Causes any pending sizing of the sash and child panes to take place
1001 Such resizing normally takes place in idle time, in order to wait for
1002 layout to be completed. However, this can cause unacceptable flicker
1003 as the panes are resized after the window has been shown. To work
1004 around this, you can perform window layout (for example by sending a
1005 size event to the parent window), and then call this function, before
1006 showing the top-level window.
1008 return _windows_
.SplitterWindow_UpdateSize(*args
, **kwargs
)
1010 def IsSplit(*args
, **kwargs
):
1012 IsSplit(self) -> bool
1014 Is the window split?
1016 return _windows_
.SplitterWindow_IsSplit(*args
, **kwargs
)
1018 def SetSashSize(*args
, **kwargs
):
1020 SetSashSize(self, int width)
1024 return _windows_
.SplitterWindow_SetSashSize(*args
, **kwargs
)
1026 def SetBorderSize(*args
, **kwargs
):
1028 SetBorderSize(self, int width)
1030 Sets the border size
1032 return _windows_
.SplitterWindow_SetBorderSize(*args
, **kwargs
)
1034 def GetSashSize(*args
, **kwargs
):
1036 GetSashSize(self) -> int
1040 return _windows_
.SplitterWindow_GetSashSize(*args
, **kwargs
)
1042 def GetBorderSize(*args
, **kwargs
):
1044 GetBorderSize(self) -> int
1046 Gets the border size
1048 return _windows_
.SplitterWindow_GetBorderSize(*args
, **kwargs
)
1050 def SetSashPosition(*args
, **kwargs
):
1052 SetSashPosition(self, int position, bool redraw=True)
1054 Sets the sash position, in pixels. If redraw is Ttrue then the panes
1055 are resized and the sash and border are redrawn.
1057 return _windows_
.SplitterWindow_SetSashPosition(*args
, **kwargs
)
1059 def GetSashPosition(*args
, **kwargs
):
1061 GetSashPosition(self) -> int
1063 Returns the surrent sash position.
1065 return _windows_
.SplitterWindow_GetSashPosition(*args
, **kwargs
)
1067 def SetMinimumPaneSize(*args
, **kwargs
):
1069 SetMinimumPaneSize(self, int min)
1071 Sets the minimum pane size in pixels.
1073 The default minimum pane size is zero, which means that either pane
1074 can be reduced to zero by dragging the sash, thus removing one of the
1075 panes. To prevent this behaviour (and veto out-of-range sash
1076 dragging), set a minimum size, for example 20 pixels. If the
1077 wx.SP_PERMIT_UNSPLIT style is used when a splitter window is created,
1078 the window may be unsplit even if minimum size is non-zero.
1080 return _windows_
.SplitterWindow_SetMinimumPaneSize(*args
, **kwargs
)
1082 def GetMinimumPaneSize(*args
, **kwargs
):
1084 GetMinimumPaneSize(self) -> int
1086 Gets the minimum pane size in pixels.
1088 return _windows_
.SplitterWindow_GetMinimumPaneSize(*args
, **kwargs
)
1090 def SashHitTest(*args
, **kwargs
):
1092 SashHitTest(self, int x, int y, int tolerance=5) -> bool
1094 Tests for x, y over the sash
1096 return _windows_
.SplitterWindow_SashHitTest(*args
, **kwargs
)
1098 def SizeWindows(*args
, **kwargs
):
1104 return _windows_
.SplitterWindow_SizeWindows(*args
, **kwargs
)
1106 def SetNeedUpdating(*args
, **kwargs
):
1107 """SetNeedUpdating(self, bool needUpdating)"""
1108 return _windows_
.SplitterWindow_SetNeedUpdating(*args
, **kwargs
)
1110 def GetNeedUpdating(*args
, **kwargs
):
1111 """GetNeedUpdating(self) -> bool"""
1112 return _windows_
.SplitterWindow_GetNeedUpdating(*args
, **kwargs
)
1114 def GetClassDefaultAttributes(*args
, **kwargs
):
1116 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1118 Get the default attributes for this class. This is useful if you want
1119 to use the same font or colour in your own control as in a standard
1120 control -- which is a much better idea than hard coding specific
1121 colours or fonts which might look completely out of place on the
1122 user's system, especially if it uses themes.
1124 The variant parameter is only relevant under Mac currently and is
1125 ignore under other platforms. Under Mac, it will change the size of
1126 the returned font. See `wx.Window.SetWindowVariant` for more about
1129 return _windows_
.SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1131 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
1133 class SplitterWindowPtr(SplitterWindow
):
1134 def __init__(self
, this
):
1136 if not hasattr(self
,"thisown"): self
.thisown
= 0
1137 self
.__class
__ = SplitterWindow
1138 _windows_
.SplitterWindow_swigregister(SplitterWindowPtr
)
1139 SplitterNameStr
= cvar
.SplitterNameStr
1141 def PreSplitterWindow(*args
, **kwargs
):
1143 PreSplitterWindow() -> SplitterWindow
1145 Precreate a SplitterWindow for 2-phase creation.
1147 val
= _windows_
.new_PreSplitterWindow(*args
, **kwargs
)
1151 def SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
):
1153 SplitterWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1155 Get the default attributes for this class. This is useful if you want
1156 to use the same font or colour in your own control as in a standard
1157 control -- which is a much better idea than hard coding specific
1158 colours or fonts which might look completely out of place on the
1159 user's system, especially if it uses themes.
1161 The variant parameter is only relevant under Mac currently and is
1162 ignore under other platforms. Under Mac, it will change the size of
1163 the returned font. See `wx.Window.SetWindowVariant` for more about
1166 return _windows_
.SplitterWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1168 class SplitterEvent(_core
.NotifyEvent
):
1169 """This class represents the events generated by a splitter control."""
1171 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1172 def __init__(self
, *args
, **kwargs
):
1174 __init__(self, wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent
1176 This class represents the events generated by a splitter control.
1178 newobj
= _windows_
.new_SplitterEvent(*args
, **kwargs
)
1179 self
.this
= newobj
.this
1182 def SetSashPosition(*args
, **kwargs
):
1184 SetSashPosition(self, int pos)
1186 This funciton is only meaningful during EVT_SPLITTER_SASH_POS_CHANGING
1187 and EVT_SPLITTER_SASH_POS_CHANGED events. In the case of _CHANGED
1188 events, sets the the new sash position. In the case of _CHANGING
1189 events, sets the new tracking bar position so visual feedback during
1190 dragging will represent that change that will actually take place. Set
1191 to -1 from the event handler code to prevent repositioning.
1193 return _windows_
.SplitterEvent_SetSashPosition(*args
, **kwargs
)
1195 def GetSashPosition(*args
, **kwargs
):
1197 GetSashPosition(self) -> int
1199 Returns the new sash position while in EVT_SPLITTER_SASH_POS_CHANGING
1200 and EVT_SPLITTER_SASH_POS_CHANGED events.
1202 return _windows_
.SplitterEvent_GetSashPosition(*args
, **kwargs
)
1204 def GetWindowBeingRemoved(*args
, **kwargs
):
1206 GetWindowBeingRemoved(self) -> Window
1208 Returns a pointer to the window being removed when a splitter window
1211 return _windows_
.SplitterEvent_GetWindowBeingRemoved(*args
, **kwargs
)
1213 def GetX(*args
, **kwargs
):
1217 Returns the x coordinate of the double-click point in a
1218 EVT_SPLITTER_DCLICK event.
1220 return _windows_
.SplitterEvent_GetX(*args
, **kwargs
)
1222 def GetY(*args
, **kwargs
):
1226 Returns the y coordinate of the double-click point in a
1227 EVT_SPLITTER_DCLICK event.
1229 return _windows_
.SplitterEvent_GetY(*args
, **kwargs
)
1232 class SplitterEventPtr(SplitterEvent
):
1233 def __init__(self
, this
):
1235 if not hasattr(self
,"thisown"): self
.thisown
= 0
1236 self
.__class
__ = SplitterEvent
1237 _windows_
.SplitterEvent_swigregister(SplitterEventPtr
)
1239 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
1240 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= _windows_
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
1241 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= _windows_
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
1242 wxEVT_COMMAND_SPLITTER_UNSPLIT
= _windows_
.wxEVT_COMMAND_SPLITTER_UNSPLIT
1243 EVT_SPLITTER_SASH_POS_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 1 )
1244 EVT_SPLITTER_SASH_POS_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 1 )
1245 EVT_SPLITTER_DOUBLECLICKED
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 1 )
1246 EVT_SPLITTER_UNSPLIT
= wx
.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT
, 1 )
1247 EVT_SPLITTER_DCLICK
= EVT_SPLITTER_DOUBLECLICKED
1249 #---------------------------------------------------------------------------
1251 SASH_DRAG_NONE
= _windows_
.SASH_DRAG_NONE
1252 SASH_DRAG_DRAGGING
= _windows_
.SASH_DRAG_DRAGGING
1253 SASH_DRAG_LEFT_DOWN
= _windows_
.SASH_DRAG_LEFT_DOWN
1254 SW_NOBORDER
= _windows_
.SW_NOBORDER
1255 SW_BORDER
= _windows_
.SW_BORDER
1256 SW_3DSASH
= _windows_
.SW_3DSASH
1257 SW_3DBORDER
= _windows_
.SW_3DBORDER
1258 SW_3D
= _windows_
.SW_3D
1259 SASH_TOP
= _windows_
.SASH_TOP
1260 SASH_RIGHT
= _windows_
.SASH_RIGHT
1261 SASH_BOTTOM
= _windows_
.SASH_BOTTOM
1262 SASH_LEFT
= _windows_
.SASH_LEFT
1263 SASH_NONE
= _windows_
.SASH_NONE
1264 class SashWindow(_core
.Window
):
1266 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1267 def __init__(self
, *args
, **kwargs
):
1269 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1270 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1271 String name=SashNameStr) -> SashWindow
1273 newobj
= _windows_
.new_SashWindow(*args
, **kwargs
)
1274 self
.this
= newobj
.this
1277 self
._setOORInfo
(self
)
1279 def Create(*args
, **kwargs
):
1281 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1282 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1283 String name=SashNameStr) -> bool
1285 return _windows_
.SashWindow_Create(*args
, **kwargs
)
1287 def SetSashVisible(*args
, **kwargs
):
1288 """SetSashVisible(self, int edge, bool sash)"""
1289 return _windows_
.SashWindow_SetSashVisible(*args
, **kwargs
)
1291 def GetSashVisible(*args
, **kwargs
):
1292 """GetSashVisible(self, int edge) -> bool"""
1293 return _windows_
.SashWindow_GetSashVisible(*args
, **kwargs
)
1295 def SetSashBorder(*args
, **kwargs
):
1296 """SetSashBorder(self, int edge, bool border)"""
1297 return _windows_
.SashWindow_SetSashBorder(*args
, **kwargs
)
1299 def HasBorder(*args
, **kwargs
):
1300 """HasBorder(self, int edge) -> bool"""
1301 return _windows_
.SashWindow_HasBorder(*args
, **kwargs
)
1303 def GetEdgeMargin(*args
, **kwargs
):
1304 """GetEdgeMargin(self, int edge) -> int"""
1305 return _windows_
.SashWindow_GetEdgeMargin(*args
, **kwargs
)
1307 def SetDefaultBorderSize(*args
, **kwargs
):
1308 """SetDefaultBorderSize(self, int width)"""
1309 return _windows_
.SashWindow_SetDefaultBorderSize(*args
, **kwargs
)
1311 def GetDefaultBorderSize(*args
, **kwargs
):
1312 """GetDefaultBorderSize(self) -> int"""
1313 return _windows_
.SashWindow_GetDefaultBorderSize(*args
, **kwargs
)
1315 def SetExtraBorderSize(*args
, **kwargs
):
1316 """SetExtraBorderSize(self, int width)"""
1317 return _windows_
.SashWindow_SetExtraBorderSize(*args
, **kwargs
)
1319 def GetExtraBorderSize(*args
, **kwargs
):
1320 """GetExtraBorderSize(self) -> int"""
1321 return _windows_
.SashWindow_GetExtraBorderSize(*args
, **kwargs
)
1323 def SetMinimumSizeX(*args
, **kwargs
):
1324 """SetMinimumSizeX(self, int min)"""
1325 return _windows_
.SashWindow_SetMinimumSizeX(*args
, **kwargs
)
1327 def SetMinimumSizeY(*args
, **kwargs
):
1328 """SetMinimumSizeY(self, int min)"""
1329 return _windows_
.SashWindow_SetMinimumSizeY(*args
, **kwargs
)
1331 def GetMinimumSizeX(*args
, **kwargs
):
1332 """GetMinimumSizeX(self) -> int"""
1333 return _windows_
.SashWindow_GetMinimumSizeX(*args
, **kwargs
)
1335 def GetMinimumSizeY(*args
, **kwargs
):
1336 """GetMinimumSizeY(self) -> int"""
1337 return _windows_
.SashWindow_GetMinimumSizeY(*args
, **kwargs
)
1339 def SetMaximumSizeX(*args
, **kwargs
):
1340 """SetMaximumSizeX(self, int max)"""
1341 return _windows_
.SashWindow_SetMaximumSizeX(*args
, **kwargs
)
1343 def SetMaximumSizeY(*args
, **kwargs
):
1344 """SetMaximumSizeY(self, int max)"""
1345 return _windows_
.SashWindow_SetMaximumSizeY(*args
, **kwargs
)
1347 def GetMaximumSizeX(*args
, **kwargs
):
1348 """GetMaximumSizeX(self) -> int"""
1349 return _windows_
.SashWindow_GetMaximumSizeX(*args
, **kwargs
)
1351 def GetMaximumSizeY(*args
, **kwargs
):
1352 """GetMaximumSizeY(self) -> int"""
1353 return _windows_
.SashWindow_GetMaximumSizeY(*args
, **kwargs
)
1355 def SashHitTest(*args
, **kwargs
):
1356 """SashHitTest(self, int x, int y, int tolerance=2) -> int"""
1357 return _windows_
.SashWindow_SashHitTest(*args
, **kwargs
)
1359 def SizeWindows(*args
, **kwargs
):
1360 """SizeWindows(self)"""
1361 return _windows_
.SashWindow_SizeWindows(*args
, **kwargs
)
1364 class SashWindowPtr(SashWindow
):
1365 def __init__(self
, this
):
1367 if not hasattr(self
,"thisown"): self
.thisown
= 0
1368 self
.__class
__ = SashWindow
1369 _windows_
.SashWindow_swigregister(SashWindowPtr
)
1370 SashNameStr
= cvar
.SashNameStr
1371 SashLayoutNameStr
= cvar
.SashLayoutNameStr
1373 def PreSashWindow(*args
, **kwargs
):
1374 """PreSashWindow() -> SashWindow"""
1375 val
= _windows_
.new_PreSashWindow(*args
, **kwargs
)
1379 SASH_STATUS_OK
= _windows_
.SASH_STATUS_OK
1380 SASH_STATUS_OUT_OF_RANGE
= _windows_
.SASH_STATUS_OUT_OF_RANGE
1381 class SashEvent(_core
.CommandEvent
):
1383 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1384 def __init__(self
, *args
, **kwargs
):
1385 """__init__(self, int id=0, int edge=SASH_NONE) -> SashEvent"""
1386 newobj
= _windows_
.new_SashEvent(*args
, **kwargs
)
1387 self
.this
= newobj
.this
1390 def SetEdge(*args
, **kwargs
):
1391 """SetEdge(self, int edge)"""
1392 return _windows_
.SashEvent_SetEdge(*args
, **kwargs
)
1394 def GetEdge(*args
, **kwargs
):
1395 """GetEdge(self) -> int"""
1396 return _windows_
.SashEvent_GetEdge(*args
, **kwargs
)
1398 def SetDragRect(*args
, **kwargs
):
1399 """SetDragRect(self, Rect rect)"""
1400 return _windows_
.SashEvent_SetDragRect(*args
, **kwargs
)
1402 def GetDragRect(*args
, **kwargs
):
1403 """GetDragRect(self) -> Rect"""
1404 return _windows_
.SashEvent_GetDragRect(*args
, **kwargs
)
1406 def SetDragStatus(*args
, **kwargs
):
1407 """SetDragStatus(self, int status)"""
1408 return _windows_
.SashEvent_SetDragStatus(*args
, **kwargs
)
1410 def GetDragStatus(*args
, **kwargs
):
1411 """GetDragStatus(self) -> int"""
1412 return _windows_
.SashEvent_GetDragStatus(*args
, **kwargs
)
1415 class SashEventPtr(SashEvent
):
1416 def __init__(self
, this
):
1418 if not hasattr(self
,"thisown"): self
.thisown
= 0
1419 self
.__class
__ = SashEvent
1420 _windows_
.SashEvent_swigregister(SashEventPtr
)
1422 wxEVT_SASH_DRAGGED
= _windows_
.wxEVT_SASH_DRAGGED
1423 EVT_SASH_DRAGGED
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 1 )
1424 EVT_SASH_DRAGGED_RANGE
= wx
.PyEventBinder( wxEVT_SASH_DRAGGED
, 2 )
1426 #---------------------------------------------------------------------------
1428 LAYOUT_HORIZONTAL
= _windows_
.LAYOUT_HORIZONTAL
1429 LAYOUT_VERTICAL
= _windows_
.LAYOUT_VERTICAL
1430 LAYOUT_NONE
= _windows_
.LAYOUT_NONE
1431 LAYOUT_TOP
= _windows_
.LAYOUT_TOP
1432 LAYOUT_LEFT
= _windows_
.LAYOUT_LEFT
1433 LAYOUT_RIGHT
= _windows_
.LAYOUT_RIGHT
1434 LAYOUT_BOTTOM
= _windows_
.LAYOUT_BOTTOM
1435 LAYOUT_LENGTH_Y
= _windows_
.LAYOUT_LENGTH_Y
1436 LAYOUT_LENGTH_X
= _windows_
.LAYOUT_LENGTH_X
1437 LAYOUT_MRU_LENGTH
= _windows_
.LAYOUT_MRU_LENGTH
1438 LAYOUT_QUERY
= _windows_
.LAYOUT_QUERY
1439 wxEVT_QUERY_LAYOUT_INFO
= _windows_
.wxEVT_QUERY_LAYOUT_INFO
1440 wxEVT_CALCULATE_LAYOUT
= _windows_
.wxEVT_CALCULATE_LAYOUT
1441 class QueryLayoutInfoEvent(_core
.Event
):
1443 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1444 def __init__(self
, *args
, **kwargs
):
1445 """__init__(self, int id=0) -> QueryLayoutInfoEvent"""
1446 newobj
= _windows_
.new_QueryLayoutInfoEvent(*args
, **kwargs
)
1447 self
.this
= newobj
.this
1450 def SetRequestedLength(*args
, **kwargs
):
1451 """SetRequestedLength(self, int length)"""
1452 return _windows_
.QueryLayoutInfoEvent_SetRequestedLength(*args
, **kwargs
)
1454 def GetRequestedLength(*args
, **kwargs
):
1455 """GetRequestedLength(self) -> int"""
1456 return _windows_
.QueryLayoutInfoEvent_GetRequestedLength(*args
, **kwargs
)
1458 def SetFlags(*args
, **kwargs
):
1459 """SetFlags(self, int flags)"""
1460 return _windows_
.QueryLayoutInfoEvent_SetFlags(*args
, **kwargs
)
1462 def GetFlags(*args
, **kwargs
):
1463 """GetFlags(self) -> int"""
1464 return _windows_
.QueryLayoutInfoEvent_GetFlags(*args
, **kwargs
)
1466 def SetSize(*args
, **kwargs
):
1467 """SetSize(self, Size size)"""
1468 return _windows_
.QueryLayoutInfoEvent_SetSize(*args
, **kwargs
)
1470 def GetSize(*args
, **kwargs
):
1471 """GetSize(self) -> Size"""
1472 return _windows_
.QueryLayoutInfoEvent_GetSize(*args
, **kwargs
)
1474 def SetOrientation(*args
, **kwargs
):
1475 """SetOrientation(self, int orient)"""
1476 return _windows_
.QueryLayoutInfoEvent_SetOrientation(*args
, **kwargs
)
1478 def GetOrientation(*args
, **kwargs
):
1479 """GetOrientation(self) -> int"""
1480 return _windows_
.QueryLayoutInfoEvent_GetOrientation(*args
, **kwargs
)
1482 def SetAlignment(*args
, **kwargs
):
1483 """SetAlignment(self, int align)"""
1484 return _windows_
.QueryLayoutInfoEvent_SetAlignment(*args
, **kwargs
)
1486 def GetAlignment(*args
, **kwargs
):
1487 """GetAlignment(self) -> int"""
1488 return _windows_
.QueryLayoutInfoEvent_GetAlignment(*args
, **kwargs
)
1491 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent
):
1492 def __init__(self
, this
):
1494 if not hasattr(self
,"thisown"): self
.thisown
= 0
1495 self
.__class
__ = QueryLayoutInfoEvent
1496 _windows_
.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr
)
1498 class CalculateLayoutEvent(_core
.Event
):
1500 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1501 def __init__(self
, *args
, **kwargs
):
1502 """__init__(self, int id=0) -> CalculateLayoutEvent"""
1503 newobj
= _windows_
.new_CalculateLayoutEvent(*args
, **kwargs
)
1504 self
.this
= newobj
.this
1507 def SetFlags(*args
, **kwargs
):
1508 """SetFlags(self, int flags)"""
1509 return _windows_
.CalculateLayoutEvent_SetFlags(*args
, **kwargs
)
1511 def GetFlags(*args
, **kwargs
):
1512 """GetFlags(self) -> int"""
1513 return _windows_
.CalculateLayoutEvent_GetFlags(*args
, **kwargs
)
1515 def SetRect(*args
, **kwargs
):
1516 """SetRect(self, Rect rect)"""
1517 return _windows_
.CalculateLayoutEvent_SetRect(*args
, **kwargs
)
1519 def GetRect(*args
, **kwargs
):
1520 """GetRect(self) -> Rect"""
1521 return _windows_
.CalculateLayoutEvent_GetRect(*args
, **kwargs
)
1524 class CalculateLayoutEventPtr(CalculateLayoutEvent
):
1525 def __init__(self
, this
):
1527 if not hasattr(self
,"thisown"): self
.thisown
= 0
1528 self
.__class
__ = CalculateLayoutEvent
1529 _windows_
.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr
)
1531 EVT_QUERY_LAYOUT_INFO
= wx
.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO
)
1532 EVT_CALCULATE_LAYOUT
= wx
.PyEventBinder( wxEVT_CALCULATE_LAYOUT
)
1534 class SashLayoutWindow(SashWindow
):
1536 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1537 def __init__(self
, *args
, **kwargs
):
1539 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1540 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1541 String name=SashLayoutNameStr) -> SashLayoutWindow
1543 newobj
= _windows_
.new_SashLayoutWindow(*args
, **kwargs
)
1544 self
.this
= newobj
.this
1547 self
._setOORInfo
(self
)
1549 def Create(*args
, **kwargs
):
1551 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1552 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D,
1553 String name=SashLayoutNameStr) -> bool
1555 return _windows_
.SashLayoutWindow_Create(*args
, **kwargs
)
1557 def GetAlignment(*args
, **kwargs
):
1558 """GetAlignment(self) -> int"""
1559 return _windows_
.SashLayoutWindow_GetAlignment(*args
, **kwargs
)
1561 def GetOrientation(*args
, **kwargs
):
1562 """GetOrientation(self) -> int"""
1563 return _windows_
.SashLayoutWindow_GetOrientation(*args
, **kwargs
)
1565 def SetAlignment(*args
, **kwargs
):
1566 """SetAlignment(self, int alignment)"""
1567 return _windows_
.SashLayoutWindow_SetAlignment(*args
, **kwargs
)
1569 def SetDefaultSize(*args
, **kwargs
):
1570 """SetDefaultSize(self, Size size)"""
1571 return _windows_
.SashLayoutWindow_SetDefaultSize(*args
, **kwargs
)
1573 def SetOrientation(*args
, **kwargs
):
1574 """SetOrientation(self, int orientation)"""
1575 return _windows_
.SashLayoutWindow_SetOrientation(*args
, **kwargs
)
1578 class SashLayoutWindowPtr(SashLayoutWindow
):
1579 def __init__(self
, this
):
1581 if not hasattr(self
,"thisown"): self
.thisown
= 0
1582 self
.__class
__ = SashLayoutWindow
1583 _windows_
.SashLayoutWindow_swigregister(SashLayoutWindowPtr
)
1585 def PreSashLayoutWindow(*args
, **kwargs
):
1586 """PreSashLayoutWindow() -> SashLayoutWindow"""
1587 val
= _windows_
.new_PreSashLayoutWindow(*args
, **kwargs
)
1591 class LayoutAlgorithm(_core
.Object
):
1593 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1594 def __init__(self
, *args
, **kwargs
):
1595 """__init__(self) -> LayoutAlgorithm"""
1596 newobj
= _windows_
.new_LayoutAlgorithm(*args
, **kwargs
)
1597 self
.this
= newobj
.this
1600 def __del__(self
, destroy
=_windows_
.delete_LayoutAlgorithm
):
1603 if self
.thisown
: destroy(self
)
1606 def LayoutMDIFrame(*args
, **kwargs
):
1607 """LayoutMDIFrame(self, MDIParentFrame frame, Rect rect=None) -> bool"""
1608 return _windows_
.LayoutAlgorithm_LayoutMDIFrame(*args
, **kwargs
)
1610 def LayoutFrame(*args
, **kwargs
):
1611 """LayoutFrame(self, Frame frame, Window mainWindow=None) -> bool"""
1612 return _windows_
.LayoutAlgorithm_LayoutFrame(*args
, **kwargs
)
1614 def LayoutWindow(*args
, **kwargs
):
1615 """LayoutWindow(self, Window parent, Window mainWindow=None) -> bool"""
1616 return _windows_
.LayoutAlgorithm_LayoutWindow(*args
, **kwargs
)
1619 class LayoutAlgorithmPtr(LayoutAlgorithm
):
1620 def __init__(self
, this
):
1622 if not hasattr(self
,"thisown"): self
.thisown
= 0
1623 self
.__class
__ = LayoutAlgorithm
1624 _windows_
.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr
)
1626 #---------------------------------------------------------------------------
1628 class PopupWindow(_core
.Window
):
1630 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1631 def __init__(self
, *args
, **kwargs
):
1632 """__init__(self, Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1633 newobj
= _windows_
.new_PopupWindow(*args
, **kwargs
)
1634 self
.this
= newobj
.this
1637 self
._setOORInfo
(self
)
1639 def Create(*args
, **kwargs
):
1640 """Create(self, Window parent, int flags=BORDER_NONE) -> bool"""
1641 return _windows_
.PopupWindow_Create(*args
, **kwargs
)
1643 def Position(*args
, **kwargs
):
1644 """Position(self, Point ptOrigin, Size size)"""
1645 return _windows_
.PopupWindow_Position(*args
, **kwargs
)
1648 class PopupWindowPtr(PopupWindow
):
1649 def __init__(self
, this
):
1651 if not hasattr(self
,"thisown"): self
.thisown
= 0
1652 self
.__class
__ = PopupWindow
1653 _windows_
.PopupWindow_swigregister(PopupWindowPtr
)
1655 def PrePopupWindow(*args
, **kwargs
):
1656 """PrePopupWindow() -> PopupWindow"""
1657 val
= _windows_
.new_PrePopupWindow(*args
, **kwargs
)
1661 #---------------------------------------------------------------------------
1663 class PopupTransientWindow(PopupWindow
):
1665 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1666 def __init__(self
, *args
, **kwargs
):
1667 """__init__(self, Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1668 newobj
= _windows_
.new_PopupTransientWindow(*args
, **kwargs
)
1669 self
.this
= newobj
.this
1672 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, PopupTransientWindow
)
1674 def _setCallbackInfo(*args
, **kwargs
):
1675 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1676 return _windows_
.PopupTransientWindow__setCallbackInfo(*args
, **kwargs
)
1678 def Popup(*args
, **kwargs
):
1679 """Popup(self, Window focus=None)"""
1680 return _windows_
.PopupTransientWindow_Popup(*args
, **kwargs
)
1682 def Dismiss(*args
, **kwargs
):
1684 return _windows_
.PopupTransientWindow_Dismiss(*args
, **kwargs
)
1687 class PopupTransientWindowPtr(PopupTransientWindow
):
1688 def __init__(self
, this
):
1690 if not hasattr(self
,"thisown"): self
.thisown
= 0
1691 self
.__class
__ = PopupTransientWindow
1692 _windows_
.PopupTransientWindow_swigregister(PopupTransientWindowPtr
)
1694 def PrePopupTransientWindow(*args
, **kwargs
):
1695 """PrePopupTransientWindow() -> PopupTransientWindow"""
1696 val
= _windows_
.new_PrePopupTransientWindow(*args
, **kwargs
)
1700 #---------------------------------------------------------------------------
1702 class TipWindow(PopupTransientWindow
):
1704 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1705 def __init__(self
, *args
, **kwargs
):
1706 """__init__(self, Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1707 newobj
= _windows_
.new_TipWindow(*args
, **kwargs
)
1708 self
.this
= newobj
.this
1711 self
._setOORInfo
(self
)
1713 def SetBoundingRect(*args
, **kwargs
):
1714 """SetBoundingRect(self, Rect rectBound)"""
1715 return _windows_
.TipWindow_SetBoundingRect(*args
, **kwargs
)
1717 def Close(*args
, **kwargs
):
1719 return _windows_
.TipWindow_Close(*args
, **kwargs
)
1722 class TipWindowPtr(TipWindow
):
1723 def __init__(self
, this
):
1725 if not hasattr(self
,"thisown"): self
.thisown
= 0
1726 self
.__class
__ = TipWindow
1727 _windows_
.TipWindow_swigregister(TipWindowPtr
)
1729 #---------------------------------------------------------------------------
1731 class VScrolledWindow(Panel
):
1733 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1734 def __init__(self
, *args
, **kwargs
):
1736 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1737 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
1739 newobj
= _windows_
.new_VScrolledWindow(*args
, **kwargs
)
1740 self
.this
= newobj
.this
1743 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, VScrolledWindow
)
1745 def _setCallbackInfo(*args
, **kwargs
):
1746 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1747 return _windows_
.VScrolledWindow__setCallbackInfo(*args
, **kwargs
)
1749 def Create(*args
, **kwargs
):
1751 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1752 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
1754 return _windows_
.VScrolledWindow_Create(*args
, **kwargs
)
1756 def SetLineCount(*args
, **kwargs
):
1757 """SetLineCount(self, size_t count)"""
1758 return _windows_
.VScrolledWindow_SetLineCount(*args
, **kwargs
)
1760 def ScrollToLine(*args
, **kwargs
):
1761 """ScrollToLine(self, size_t line) -> bool"""
1762 return _windows_
.VScrolledWindow_ScrollToLine(*args
, **kwargs
)
1764 def ScrollLines(*args
, **kwargs
):
1765 """ScrollLines(self, int lines) -> bool"""
1766 return _windows_
.VScrolledWindow_ScrollLines(*args
, **kwargs
)
1768 def ScrollPages(*args
, **kwargs
):
1770 ScrollPages(self, int pages) -> bool
1772 If the platform and window class supports it, scrolls the window by
1773 the given number of pages down, if pages is positive, or up if pages
1774 is negative. Returns True if the window was scrolled, False if it was
1775 already on top/bottom and nothing was done.
1777 return _windows_
.VScrolledWindow_ScrollPages(*args
, **kwargs
)
1779 def RefreshLine(*args
, **kwargs
):
1780 """RefreshLine(self, size_t line)"""
1781 return _windows_
.VScrolledWindow_RefreshLine(*args
, **kwargs
)
1783 def RefreshLines(*args
, **kwargs
):
1784 """RefreshLines(self, size_t from, size_t to)"""
1785 return _windows_
.VScrolledWindow_RefreshLines(*args
, **kwargs
)
1787 def HitTestXT(*args
, **kwargs
):
1788 """HitTestXT(self, int x, int y) -> int"""
1789 return _windows_
.VScrolledWindow_HitTestXT(*args
, **kwargs
)
1791 def HitTest(*args
, **kwargs
):
1792 """HitTest(self, Point pt) -> int"""
1793 return _windows_
.VScrolledWindow_HitTest(*args
, **kwargs
)
1795 def RefreshAll(*args
, **kwargs
):
1796 """RefreshAll(self)"""
1797 return _windows_
.VScrolledWindow_RefreshAll(*args
, **kwargs
)
1799 def GetLineCount(*args
, **kwargs
):
1800 """GetLineCount(self) -> size_t"""
1801 return _windows_
.VScrolledWindow_GetLineCount(*args
, **kwargs
)
1803 def GetFirstVisibleLine(*args
, **kwargs
):
1804 """GetFirstVisibleLine(self) -> size_t"""
1805 return _windows_
.VScrolledWindow_GetFirstVisibleLine(*args
, **kwargs
)
1807 def GetLastVisibleLine(*args
, **kwargs
):
1808 """GetLastVisibleLine(self) -> size_t"""
1809 return _windows_
.VScrolledWindow_GetLastVisibleLine(*args
, **kwargs
)
1811 def IsVisible(*args
, **kwargs
):
1812 """IsVisible(self, size_t line) -> bool"""
1813 return _windows_
.VScrolledWindow_IsVisible(*args
, **kwargs
)
1816 class VScrolledWindowPtr(VScrolledWindow
):
1817 def __init__(self
, this
):
1819 if not hasattr(self
,"thisown"): self
.thisown
= 0
1820 self
.__class
__ = VScrolledWindow
1821 _windows_
.VScrolledWindow_swigregister(VScrolledWindowPtr
)
1823 def PreVScrolledWindow(*args
, **kwargs
):
1824 """PreVScrolledWindow() -> VScrolledWindow"""
1825 val
= _windows_
.new_PreVScrolledWindow(*args
, **kwargs
)
1829 class VListBox(VScrolledWindow
):
1831 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1832 def __init__(self
, *args
, **kwargs
):
1834 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1835 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
1837 newobj
= _windows_
.new_VListBox(*args
, **kwargs
)
1838 self
.this
= newobj
.this
1841 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, VListBox
)
1843 def _setCallbackInfo(*args
, **kwargs
):
1844 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1845 return _windows_
.VListBox__setCallbackInfo(*args
, **kwargs
)
1847 def Create(*args
, **kwargs
):
1849 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1850 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1852 return _windows_
.VListBox_Create(*args
, **kwargs
)
1854 def GetItemCount(*args
, **kwargs
):
1855 """GetItemCount(self) -> size_t"""
1856 return _windows_
.VListBox_GetItemCount(*args
, **kwargs
)
1858 def HasMultipleSelection(*args
, **kwargs
):
1859 """HasMultipleSelection(self) -> bool"""
1860 return _windows_
.VListBox_HasMultipleSelection(*args
, **kwargs
)
1862 def GetSelection(*args
, **kwargs
):
1863 """GetSelection(self) -> int"""
1864 return _windows_
.VListBox_GetSelection(*args
, **kwargs
)
1866 def IsCurrent(*args
, **kwargs
):
1867 """IsCurrent(self, size_t item) -> bool"""
1868 return _windows_
.VListBox_IsCurrent(*args
, **kwargs
)
1870 def IsSelected(*args
, **kwargs
):
1871 """IsSelected(self, size_t item) -> bool"""
1872 return _windows_
.VListBox_IsSelected(*args
, **kwargs
)
1874 def GetSelectedCount(*args
, **kwargs
):
1875 """GetSelectedCount(self) -> size_t"""
1876 return _windows_
.VListBox_GetSelectedCount(*args
, **kwargs
)
1878 def GetFirstSelected(*args
, **kwargs
):
1879 """GetFirstSelected(self) -> PyObject"""
1880 return _windows_
.VListBox_GetFirstSelected(*args
, **kwargs
)
1882 def GetNextSelected(*args
, **kwargs
):
1883 """GetNextSelected(self, unsigned long cookie) -> PyObject"""
1884 return _windows_
.VListBox_GetNextSelected(*args
, **kwargs
)
1886 def GetMargins(*args
, **kwargs
):
1887 """GetMargins(self) -> Point"""
1888 return _windows_
.VListBox_GetMargins(*args
, **kwargs
)
1890 def GetSelectionBackground(*args
, **kwargs
):
1891 """GetSelectionBackground(self) -> Colour"""
1892 return _windows_
.VListBox_GetSelectionBackground(*args
, **kwargs
)
1894 def SetItemCount(*args
, **kwargs
):
1895 """SetItemCount(self, size_t count)"""
1896 return _windows_
.VListBox_SetItemCount(*args
, **kwargs
)
1898 def Clear(*args
, **kwargs
):
1900 return _windows_
.VListBox_Clear(*args
, **kwargs
)
1902 def SetSelection(*args
, **kwargs
):
1903 """SetSelection(self, int selection)"""
1904 return _windows_
.VListBox_SetSelection(*args
, **kwargs
)
1906 def Select(*args
, **kwargs
):
1907 """Select(self, size_t item, bool select=True) -> bool"""
1908 return _windows_
.VListBox_Select(*args
, **kwargs
)
1910 def SelectRange(*args
, **kwargs
):
1911 """SelectRange(self, size_t from, size_t to) -> bool"""
1912 return _windows_
.VListBox_SelectRange(*args
, **kwargs
)
1914 def Toggle(*args
, **kwargs
):
1915 """Toggle(self, size_t item)"""
1916 return _windows_
.VListBox_Toggle(*args
, **kwargs
)
1918 def SelectAll(*args
, **kwargs
):
1919 """SelectAll(self) -> bool"""
1920 return _windows_
.VListBox_SelectAll(*args
, **kwargs
)
1922 def DeselectAll(*args
, **kwargs
):
1923 """DeselectAll(self) -> bool"""
1924 return _windows_
.VListBox_DeselectAll(*args
, **kwargs
)
1926 def SetMargins(*args
, **kwargs
):
1927 """SetMargins(self, Point pt)"""
1928 return _windows_
.VListBox_SetMargins(*args
, **kwargs
)
1930 def SetMarginsXY(*args
, **kwargs
):
1931 """SetMarginsXY(self, int x, int y)"""
1932 return _windows_
.VListBox_SetMarginsXY(*args
, **kwargs
)
1934 def SetSelectionBackground(*args
, **kwargs
):
1935 """SetSelectionBackground(self, Colour col)"""
1936 return _windows_
.VListBox_SetSelectionBackground(*args
, **kwargs
)
1939 class VListBoxPtr(VListBox
):
1940 def __init__(self
, this
):
1942 if not hasattr(self
,"thisown"): self
.thisown
= 0
1943 self
.__class
__ = VListBox
1944 _windows_
.VListBox_swigregister(VListBoxPtr
)
1945 VListBoxNameStr
= cvar
.VListBoxNameStr
1947 def PreVListBox(*args
, **kwargs
):
1948 """PreVListBox() -> VListBox"""
1949 val
= _windows_
.new_PreVListBox(*args
, **kwargs
)
1953 class HtmlListBox(VListBox
):
1955 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1956 def __init__(self
, *args
, **kwargs
):
1958 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1959 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
1961 newobj
= _windows_
.new_HtmlListBox(*args
, **kwargs
)
1962 self
.this
= newobj
.this
1965 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, HtmlListBox
)
1967 def _setCallbackInfo(*args
, **kwargs
):
1968 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1969 return _windows_
.HtmlListBox__setCallbackInfo(*args
, **kwargs
)
1971 def Create(*args
, **kwargs
):
1973 Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1974 Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
1976 return _windows_
.HtmlListBox_Create(*args
, **kwargs
)
1978 def RefreshAll(*args
, **kwargs
):
1979 """RefreshAll(self)"""
1980 return _windows_
.HtmlListBox_RefreshAll(*args
, **kwargs
)
1982 def SetItemCount(*args
, **kwargs
):
1983 """SetItemCount(self, size_t count)"""
1984 return _windows_
.HtmlListBox_SetItemCount(*args
, **kwargs
)
1986 def GetFileSystem(*args
, **kwargs
):
1987 """GetFileSystem(self) -> FileSystem"""
1988 return _windows_
.HtmlListBox_GetFileSystem(*args
, **kwargs
)
1991 class HtmlListBoxPtr(HtmlListBox
):
1992 def __init__(self
, this
):
1994 if not hasattr(self
,"thisown"): self
.thisown
= 0
1995 self
.__class
__ = HtmlListBox
1996 _windows_
.HtmlListBox_swigregister(HtmlListBoxPtr
)
1998 def PreHtmlListBox(*args
, **kwargs
):
1999 """PreHtmlListBox() -> HtmlListBox"""
2000 val
= _windows_
.new_PreHtmlListBox(*args
, **kwargs
)
2004 #---------------------------------------------------------------------------
2006 class TaskBarIcon(_core
.EvtHandler
):
2008 return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2009 def __init__(self
, *args
, **kwargs
):
2010 """__init__(self) -> TaskBarIcon"""
2011 newobj
= _windows_
.new_TaskBarIcon(*args
, **kwargs
)
2012 self
.this
= newobj
.this
2015 def __del__(self
, destroy
=_windows_
.delete_TaskBarIcon
):
2018 if self
.thisown
: destroy(self
)
2021 def Destroy(*args
, **kwargs
):
2025 Deletes the C++ object this Python object is a proxy for.
2027 return _windows_
.TaskBarIcon_Destroy(*args
, **kwargs
)
2029 def IsOk(*args
, **kwargs
):
2030 """IsOk(self) -> bool"""
2031 return _windows_
.TaskBarIcon_IsOk(*args
, **kwargs
)
2033 def __nonzero__(self
): return self
.IsOk()
2034 def IsIconInstalled(*args
, **kwargs
):
2035 """IsIconInstalled(self) -> bool"""
2036 return _windows_
.TaskBarIcon_IsIconInstalled(*args
, **kwargs
)
2038 def SetIcon(*args
, **kwargs
):
2039 """SetIcon(self, Icon icon, String tooltip=EmptyString) -> bool"""
2040 return _windows_
.TaskBarIcon_SetIcon(*args
, **kwargs
)
2042 def RemoveIcon(*args
, **kwargs
):
2043 """RemoveIcon(self) -> bool"""
2044 return _windows_
.TaskBarIcon_RemoveIcon(*args
, **kwargs
)
2046 def PopupMenu(*args
, **kwargs
):
2047 """PopupMenu(self, Menu menu) -> bool"""
2048 return _windows_
.TaskBarIcon_PopupMenu(*args
, **kwargs
)
2051 class TaskBarIconPtr(TaskBarIcon
):
2052 def __init__(self
, this
):
2054 if not hasattr(self
,"thisown"): self
.thisown
= 0
2055 self
.__class
__ = TaskBarIcon
2056 _windows_
.TaskBarIcon_swigregister(TaskBarIconPtr
)
2058 class TaskBarIconEvent(_core
.Event
):
2060 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2061 def __init__(self
, *args
, **kwargs
):
2062 """__init__(self, wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
2063 newobj
= _windows_
.new_TaskBarIconEvent(*args
, **kwargs
)
2064 self
.this
= newobj
.this
2068 class TaskBarIconEventPtr(TaskBarIconEvent
):
2069 def __init__(self
, this
):
2071 if not hasattr(self
,"thisown"): self
.thisown
= 0
2072 self
.__class
__ = TaskBarIconEvent
2073 _windows_
.TaskBarIconEvent_swigregister(TaskBarIconEventPtr
)
2075 wxEVT_TASKBAR_MOVE
= _windows_
.wxEVT_TASKBAR_MOVE
2076 wxEVT_TASKBAR_LEFT_DOWN
= _windows_
.wxEVT_TASKBAR_LEFT_DOWN
2077 wxEVT_TASKBAR_LEFT_UP
= _windows_
.wxEVT_TASKBAR_LEFT_UP
2078 wxEVT_TASKBAR_RIGHT_DOWN
= _windows_
.wxEVT_TASKBAR_RIGHT_DOWN
2079 wxEVT_TASKBAR_RIGHT_UP
= _windows_
.wxEVT_TASKBAR_RIGHT_UP
2080 wxEVT_TASKBAR_LEFT_DCLICK
= _windows_
.wxEVT_TASKBAR_LEFT_DCLICK
2081 wxEVT_TASKBAR_RIGHT_DCLICK
= _windows_
.wxEVT_TASKBAR_RIGHT_DCLICK
2082 EVT_TASKBAR_MOVE
= wx
.PyEventBinder ( wxEVT_TASKBAR_MOVE
)
2083 EVT_TASKBAR_LEFT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN
)
2084 EVT_TASKBAR_LEFT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP
)
2085 EVT_TASKBAR_RIGHT_DOWN
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN
)
2086 EVT_TASKBAR_RIGHT_UP
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP
)
2087 EVT_TASKBAR_LEFT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK
)
2088 EVT_TASKBAR_RIGHT_DCLICK
= wx
.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK
)
2090 #---------------------------------------------------------------------------
2092 class ColourData(_core
.Object
):
2094 This class holds a variety of information related to the colour
2095 chooser dialog, used to transfer settings and results to and from the
2099 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2100 def __init__(self
, *args
, **kwargs
):
2102 __init__(self) -> ColourData
2104 Constructor, sets default values.
2106 newobj
= _windows_
.new_ColourData(*args
, **kwargs
)
2107 self
.this
= newobj
.this
2110 def __del__(self
, destroy
=_windows_
.delete_ColourData
):
2113 if self
.thisown
: destroy(self
)
2116 def GetChooseFull(*args
, **kwargs
):
2118 GetChooseFull(self) -> bool
2120 Under Windows, determines whether the Windows colour dialog will
2121 display the full dialog with custom colour selection controls. Has no
2122 meaning under other platforms. The default value is true.
2124 return _windows_
.ColourData_GetChooseFull(*args
, **kwargs
)
2126 def GetColour(*args
, **kwargs
):
2128 GetColour(self) -> Colour
2130 Gets the colour (pre)selected by the dialog.
2132 return _windows_
.ColourData_GetColour(*args
, **kwargs
)
2134 def GetCustomColour(*args
, **kwargs
):
2136 GetCustomColour(self, int i) -> Colour
2138 Gets the i'th custom colour associated with the colour dialog. i
2139 should be an integer between 0 and 15. The default custom colours are
2140 all invalid colours.
2142 return _windows_
.ColourData_GetCustomColour(*args
, **kwargs
)
2144 def SetChooseFull(*args
, **kwargs
):
2146 SetChooseFull(self, int flag)
2148 Under Windows, tells the Windows colour dialog to display the full
2149 dialog with custom colour selection controls. Under other platforms,
2150 has no effect. The default value is true.
2152 return _windows_
.ColourData_SetChooseFull(*args
, **kwargs
)
2154 def SetColour(*args
, **kwargs
):
2156 SetColour(self, Colour colour)
2158 Sets the default colour for the colour dialog. The default colour is
2161 return _windows_
.ColourData_SetColour(*args
, **kwargs
)
2163 def SetCustomColour(*args
, **kwargs
):
2165 SetCustomColour(self, int i, Colour colour)
2167 Sets the i'th custom colour for the colour dialog. i should be an
2168 integer between 0 and 15. The default custom colours are all invalid colours.
2170 return _windows_
.ColourData_SetCustomColour(*args
, **kwargs
)
2173 class ColourDataPtr(ColourData
):
2174 def __init__(self
, this
):
2176 if not hasattr(self
,"thisown"): self
.thisown
= 0
2177 self
.__class
__ = ColourData
2178 _windows_
.ColourData_swigregister(ColourDataPtr
)
2179 FileSelectorPromptStr
= cvar
.FileSelectorPromptStr
2180 DirSelectorPromptStr
= cvar
.DirSelectorPromptStr
2181 DirDialogNameStr
= cvar
.DirDialogNameStr
2182 FileSelectorDefaultWildcardStr
= cvar
.FileSelectorDefaultWildcardStr
2183 GetTextFromUserPromptStr
= cvar
.GetTextFromUserPromptStr
2184 MessageBoxCaptionStr
= cvar
.MessageBoxCaptionStr
2186 class ColourDialog(Dialog
):
2187 """This class represents the colour chooser dialog."""
2189 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2190 def __init__(self
, *args
, **kwargs
):
2192 __init__(self, Window parent, ColourData data=None) -> ColourDialog
2194 Constructor. Pass a parent window, and optionally a `wx.ColourData`,
2195 which will be copied to the colour dialog's internal ColourData
2198 newobj
= _windows_
.new_ColourDialog(*args
, **kwargs
)
2199 self
.this
= newobj
.this
2202 self
._setOORInfo
(self
)
2204 def GetColourData(*args
, **kwargs
):
2206 GetColourData(self) -> ColourData
2208 Returns a reference to the `wx.ColourData` used by the dialog.
2210 return _windows_
.ColourDialog_GetColourData(*args
, **kwargs
)
2213 class ColourDialogPtr(ColourDialog
):
2214 def __init__(self
, this
):
2216 if not hasattr(self
,"thisown"): self
.thisown
= 0
2217 self
.__class
__ = ColourDialog
2218 _windows_
.ColourDialog_swigregister(ColourDialogPtr
)
2220 class DirDialog(Dialog
):
2222 wx.DirDialog allows the user to select a directory by browising the
2226 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2227 def __init__(self
, *args
, **kwargs
):
2229 __init__(self, Window parent, String message=DirSelectorPromptStr,
2230 String defaultPath=EmptyString, long style=0,
2231 Point pos=DefaultPosition, Size size=DefaultSize,
2232 String name=DirDialogNameStr) -> DirDialog
2234 Constructor. Use ShowModal method to show the dialog.
2236 newobj
= _windows_
.new_DirDialog(*args
, **kwargs
)
2237 self
.this
= newobj
.this
2240 self
._setOORInfo
(self
)
2242 def GetPath(*args
, **kwargs
):
2244 GetPath(self) -> String
2246 Returns the default or user-selected path.
2248 return _windows_
.DirDialog_GetPath(*args
, **kwargs
)
2250 def GetMessage(*args
, **kwargs
):
2252 GetMessage(self) -> String
2254 Returns the message that will be displayed on the dialog.
2256 return _windows_
.DirDialog_GetMessage(*args
, **kwargs
)
2258 def GetStyle(*args
, **kwargs
):
2260 GetStyle(self) -> long
2262 Returns the dialog style.
2264 return _windows_
.DirDialog_GetStyle(*args
, **kwargs
)
2266 def SetMessage(*args
, **kwargs
):
2268 SetMessage(self, String message)
2270 Sets the message that will be displayed on the dialog.
2272 return _windows_
.DirDialog_SetMessage(*args
, **kwargs
)
2274 def SetPath(*args
, **kwargs
):
2276 SetPath(self, String path)
2278 Sets the default path.
2280 return _windows_
.DirDialog_SetPath(*args
, **kwargs
)
2283 class DirDialogPtr(DirDialog
):
2284 def __init__(self
, this
):
2286 if not hasattr(self
,"thisown"): self
.thisown
= 0
2287 self
.__class
__ = DirDialog
2288 _windows_
.DirDialog_swigregister(DirDialogPtr
)
2290 class FileDialog(Dialog
):
2292 wx.FileDialog allows the user to select one or more files from the
2296 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2297 def __init__(self
, *args
, **kwargs
):
2299 __init__(self, Window parent, String message=FileSelectorPromptStr,
2300 String defaultDir=EmptyString, String defaultFile=EmptyString,
2301 String wildcard=FileSelectorDefaultWildcardStr,
2302 long style=0, Point pos=DefaultPosition) -> FileDialog
2304 Constructor. Use ShowModal method to show the dialog.
2306 newobj
= _windows_
.new_FileDialog(*args
, **kwargs
)
2307 self
.this
= newobj
.this
2310 self
._setOORInfo
(self
)
2312 def SetMessage(*args
, **kwargs
):
2314 SetMessage(self, String message)
2316 Sets the message that will be displayed on the dialog.
2318 return _windows_
.FileDialog_SetMessage(*args
, **kwargs
)
2320 def SetPath(*args
, **kwargs
):
2322 SetPath(self, String path)
2324 Sets the path (the combined directory and filename that will be
2325 returned when the dialog is dismissed).
2327 return _windows_
.FileDialog_SetPath(*args
, **kwargs
)
2329 def SetDirectory(*args
, **kwargs
):
2331 SetDirectory(self, String dir)
2333 Sets the default directory.
2335 return _windows_
.FileDialog_SetDirectory(*args
, **kwargs
)
2337 def SetFilename(*args
, **kwargs
):
2339 SetFilename(self, String name)
2341 Sets the default filename.
2343 return _windows_
.FileDialog_SetFilename(*args
, **kwargs
)
2345 def SetWildcard(*args
, **kwargs
):
2347 SetWildcard(self, String wildCard)
2349 Sets the wildcard, which can contain multiple file types, for
2352 "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
2355 return _windows_
.FileDialog_SetWildcard(*args
, **kwargs
)
2357 def SetStyle(*args
, **kwargs
):
2359 SetStyle(self, long style)
2361 Sets the dialog style.
2363 return _windows_
.FileDialog_SetStyle(*args
, **kwargs
)
2365 def SetFilterIndex(*args
, **kwargs
):
2367 SetFilterIndex(self, int filterIndex)
2369 Sets the default filter index, starting from zero.
2371 return _windows_
.FileDialog_SetFilterIndex(*args
, **kwargs
)
2373 def GetMessage(*args
, **kwargs
):
2375 GetMessage(self) -> String
2377 Returns the message that will be displayed on the dialog.
2379 return _windows_
.FileDialog_GetMessage(*args
, **kwargs
)
2381 def GetPath(*args
, **kwargs
):
2383 GetPath(self) -> String
2385 Returns the full path (directory and filename) of the selected file.
2387 return _windows_
.FileDialog_GetPath(*args
, **kwargs
)
2389 def GetDirectory(*args
, **kwargs
):
2391 GetDirectory(self) -> String
2393 Returns the default directory.
2395 return _windows_
.FileDialog_GetDirectory(*args
, **kwargs
)
2397 def GetFilename(*args
, **kwargs
):
2399 GetFilename(self) -> String
2401 Returns the default filename.
2403 return _windows_
.FileDialog_GetFilename(*args
, **kwargs
)
2405 def GetWildcard(*args
, **kwargs
):
2407 GetWildcard(self) -> String
2409 Returns the file dialog wildcard.
2411 return _windows_
.FileDialog_GetWildcard(*args
, **kwargs
)
2413 def GetStyle(*args
, **kwargs
):
2415 GetStyle(self) -> long
2417 Returns the dialog style.
2419 return _windows_
.FileDialog_GetStyle(*args
, **kwargs
)
2421 def GetFilterIndex(*args
, **kwargs
):
2423 GetFilterIndex(self) -> int
2425 Returns the index into the list of filters supplied, optionally, in
2426 the wildcard parameter. Before the dialog is shown, this is the index
2427 which will be used when the dialog is first displayed. After the
2428 dialog is shown, this is the index selected by the user.
2430 return _windows_
.FileDialog_GetFilterIndex(*args
, **kwargs
)
2432 def GetFilenames(*args
, **kwargs
):
2434 GetFilenames(self) -> PyObject
2436 Returns a list of filenames chosen in the dialog. This function
2437 should only be used with the dialogs which have wx.MULTIPLE style, use
2438 GetFilename for the others.
2440 return _windows_
.FileDialog_GetFilenames(*args
, **kwargs
)
2442 def GetPaths(*args
, **kwargs
):
2444 GetPaths(self) -> PyObject
2446 Fills the array paths with the full paths of the files chosen. This
2447 function should only be used with the dialogs which have wx.MULTIPLE
2448 style, use GetPath for the others.
2450 return _windows_
.FileDialog_GetPaths(*args
, **kwargs
)
2453 class FileDialogPtr(FileDialog
):
2454 def __init__(self
, this
):
2456 if not hasattr(self
,"thisown"): self
.thisown
= 0
2457 self
.__class
__ = FileDialog
2458 _windows_
.FileDialog_swigregister(FileDialogPtr
)
2460 CHOICEDLG_STYLE
= _windows_
.CHOICEDLG_STYLE
2461 class MultiChoiceDialog(Dialog
):
2462 """A simple dialog with a multi selection listbox."""
2464 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2465 def __init__(self
, *args
, **kwargs
):
2467 __init__(Window parent, String message, String caption,
2468 List choices=[], long style=CHOICEDLG_STYLE,
2469 Point pos=DefaultPosition) -> MultiChoiceDialog
2471 Constructor. Use ShowModal method to show the dialog.
2473 newobj
= _windows_
.new_MultiChoiceDialog(*args
, **kwargs
)
2474 self
.this
= newobj
.this
2477 self
._setOORInfo
(self
)
2479 def SetSelections(*args
, **kwargs
):
2481 SetSelections(List selections)
2483 Specify the items in the list that should be selected, using a list of
2486 return _windows_
.MultiChoiceDialog_SetSelections(*args
, **kwargs
)
2488 def GetSelections(*args
, **kwargs
):
2490 GetSelections() -> [selections]
2492 Returns a list of integers representing the items that are selected.
2494 return _windows_
.MultiChoiceDialog_GetSelections(*args
, **kwargs
)
2497 class MultiChoiceDialogPtr(MultiChoiceDialog
):
2498 def __init__(self
, this
):
2500 if not hasattr(self
,"thisown"): self
.thisown
= 0
2501 self
.__class
__ = MultiChoiceDialog
2502 _windows_
.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr
)
2504 class SingleChoiceDialog(Dialog
):
2505 """A simple dialog with a single selection listbox."""
2507 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2508 def __init__(self
, *args
, **kwargs
):
2510 __init__(Window parent, String message, String caption,
2511 List choices=[], long style=CHOICEDLG_STYLE,
2512 Point pos=DefaultPosition) -> SingleChoiceDialog
2514 Constructor. Use ShowModal method to show the dialog.
2516 newobj
= _windows_
.new_SingleChoiceDialog(*args
, **kwargs
)
2517 self
.this
= newobj
.this
2520 self
._setOORInfo
(self
)
2522 def GetSelection(*args
, **kwargs
):
2524 GetSelection(self) -> int
2526 Get the index of teh currently selected item.
2528 return _windows_
.SingleChoiceDialog_GetSelection(*args
, **kwargs
)
2530 def GetStringSelection(*args
, **kwargs
):
2532 GetStringSelection(self) -> String
2534 Returns the string value of the currently selected item
2536 return _windows_
.SingleChoiceDialog_GetStringSelection(*args
, **kwargs
)
2538 def SetSelection(*args
, **kwargs
):
2540 SetSelection(self, int sel)
2542 Set the current selected item to sel
2544 return _windows_
.SingleChoiceDialog_SetSelection(*args
, **kwargs
)
2547 class SingleChoiceDialogPtr(SingleChoiceDialog
):
2548 def __init__(self
, this
):
2550 if not hasattr(self
,"thisown"): self
.thisown
= 0
2551 self
.__class
__ = SingleChoiceDialog
2552 _windows_
.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr
)
2554 class TextEntryDialog(Dialog
):
2555 """A dialog with text control, [ok] and [cancel] buttons"""
2557 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2558 def __init__(self
, *args
, **kwargs
):
2560 __init__(self, Window parent, String message, String caption=GetTextFromUserPromptStr,
2561 String defaultValue=EmptyString,
2562 long style=wxOK|wxCANCEL|wxCENTRE, Point pos=DefaultPosition) -> TextEntryDialog
2564 Constructor. Use ShowModal method to show the dialog.
2566 newobj
= _windows_
.new_TextEntryDialog(*args
, **kwargs
)
2567 self
.this
= newobj
.this
2570 self
._setOORInfo
(self
)
2572 def GetValue(*args
, **kwargs
):
2574 GetValue(self) -> String
2576 Returns the text that the user has entered if the user has pressed OK,
2577 or the original value if the user has pressed Cancel.
2579 return _windows_
.TextEntryDialog_GetValue(*args
, **kwargs
)
2581 def SetValue(*args
, **kwargs
):
2583 SetValue(self, String value)
2585 Sets the default text value.
2587 return _windows_
.TextEntryDialog_SetValue(*args
, **kwargs
)
2590 class TextEntryDialogPtr(TextEntryDialog
):
2591 def __init__(self
, this
):
2593 if not hasattr(self
,"thisown"): self
.thisown
= 0
2594 self
.__class
__ = TextEntryDialog
2595 _windows_
.TextEntryDialog_swigregister(TextEntryDialogPtr
)
2597 class FontData(_core
.Object
):
2599 This class holds a variety of information related to font dialogs and
2600 is used to transfer settings to and results from a `wx.FontDialog`.
2603 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2604 def __init__(self
, *args
, **kwargs
):
2606 __init__(self) -> FontData
2608 This class holds a variety of information related to font dialogs and
2609 is used to transfer settings to and results from a `wx.FontDialog`.
2611 newobj
= _windows_
.new_FontData(*args
, **kwargs
)
2612 self
.this
= newobj
.this
2615 def __del__(self
, destroy
=_windows_
.delete_FontData
):
2618 if self
.thisown
: destroy(self
)
2621 def EnableEffects(*args
, **kwargs
):
2623 EnableEffects(self, bool enable)
2625 Enables or disables 'effects' under MS Windows only. This refers to
2626 the controls for manipulating colour, strikeout and underline
2627 properties. The default value is true.
2629 return _windows_
.FontData_EnableEffects(*args
, **kwargs
)
2631 def GetAllowSymbols(*args
, **kwargs
):
2633 GetAllowSymbols(self) -> bool
2635 Under MS Windows, returns a flag determining whether symbol fonts can
2636 be selected. Has no effect on other platforms. The default value is
2639 return _windows_
.FontData_GetAllowSymbols(*args
, **kwargs
)
2641 def GetColour(*args
, **kwargs
):
2643 GetColour(self) -> Colour
2645 Gets the colour associated with the font dialog. The default value is
2648 return _windows_
.FontData_GetColour(*args
, **kwargs
)
2650 def GetChosenFont(*args
, **kwargs
):
2652 GetChosenFont(self) -> Font
2654 Gets the font chosen by the user.
2656 return _windows_
.FontData_GetChosenFont(*args
, **kwargs
)
2658 def GetEnableEffects(*args
, **kwargs
):
2660 GetEnableEffects(self) -> bool
2662 Determines whether 'effects' are enabled under Windows.
2664 return _windows_
.FontData_GetEnableEffects(*args
, **kwargs
)
2666 def GetInitialFont(*args
, **kwargs
):
2668 GetInitialFont(self) -> Font
2670 Gets the font that will be initially used by the font dialog. This
2671 should have previously been set by the application.
2673 return _windows_
.FontData_GetInitialFont(*args
, **kwargs
)
2675 def GetShowHelp(*args
, **kwargs
):
2677 GetShowHelp(self) -> bool
2679 Returns true if the Help button will be shown (Windows only). The
2680 default value is false.
2682 return _windows_
.FontData_GetShowHelp(*args
, **kwargs
)
2684 def SetAllowSymbols(*args
, **kwargs
):
2686 SetAllowSymbols(self, bool allowSymbols)
2688 Under MS Windows, determines whether symbol fonts can be selected. Has
2689 no effect on other platforms. The default value is true.
2691 return _windows_
.FontData_SetAllowSymbols(*args
, **kwargs
)
2693 def SetChosenFont(*args
, **kwargs
):
2695 SetChosenFont(self, Font font)
2697 Sets the font that will be returned to the user (normally for internal
2700 return _windows_
.FontData_SetChosenFont(*args
, **kwargs
)
2702 def SetColour(*args
, **kwargs
):
2704 SetColour(self, Colour colour)
2706 Sets the colour that will be used for the font foreground colour. The
2707 default colour is black.
2709 return _windows_
.FontData_SetColour(*args
, **kwargs
)
2711 def SetInitialFont(*args
, **kwargs
):
2713 SetInitialFont(self, Font font)
2715 Sets the font that will be initially used by the font dialog.
2717 return _windows_
.FontData_SetInitialFont(*args
, **kwargs
)
2719 def SetRange(*args
, **kwargs
):
2721 SetRange(self, int min, int max)
2723 Sets the valid range for the font point size (Windows only). The
2724 default is 0, 0 (unrestricted range).
2726 return _windows_
.FontData_SetRange(*args
, **kwargs
)
2728 def SetShowHelp(*args
, **kwargs
):
2730 SetShowHelp(self, bool showHelp)
2732 Determines whether the Help button will be displayed in the font
2733 dialog (Windows only). The default value is false.
2735 return _windows_
.FontData_SetShowHelp(*args
, **kwargs
)
2738 class FontDataPtr(FontData
):
2739 def __init__(self
, this
):
2741 if not hasattr(self
,"thisown"): self
.thisown
= 0
2742 self
.__class
__ = FontData
2743 _windows_
.FontData_swigregister(FontDataPtr
)
2745 class FontDialog(Dialog
):
2747 wx.FontDialog allows the user to select a system font and its attributes.
2753 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2754 def __init__(self
, *args
, **kwargs
):
2756 __init__(self, Window parent, FontData data) -> FontDialog
2758 Constructor. Pass a parent window and the `wx.FontData` object to be
2759 used to initialize the dialog controls. Call `ShowModal` to display
2760 the dialog. If ShowModal returns ``wx.ID_OK`` then you can fetch the
2761 results with via the `wx.FontData` returned by `GetFontData`.
2763 newobj
= _windows_
.new_FontDialog(*args
, **kwargs
)
2764 self
.this
= newobj
.this
2767 self
._setOORInfo
(self
)
2769 def GetFontData(*args
, **kwargs
):
2771 GetFontData(self) -> FontData
2773 Returns a reference to the internal `wx.FontData` used by the
2776 return _windows_
.FontDialog_GetFontData(*args
, **kwargs
)
2779 class FontDialogPtr(FontDialog
):
2780 def __init__(self
, this
):
2782 if not hasattr(self
,"thisown"): self
.thisown
= 0
2783 self
.__class
__ = FontDialog
2784 _windows_
.FontDialog_swigregister(FontDialogPtr
)
2786 class MessageDialog(Dialog
):
2788 This class provides a simple dialog that shows a single or multi-line
2789 message, with a choice of OK, Yes, No and/or Cancel buttons.
2792 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2793 def __init__(self
, *args
, **kwargs
):
2795 __init__(self, Window parent, String message, String caption=MessageBoxCaptionStr,
2796 long style=wxOK|wxCANCEL|wxCENTRE,
2797 Point pos=DefaultPosition) -> MessageDialog
2799 Constructor, use `ShowModal` to display the dialog.
2801 newobj
= _windows_
.new_MessageDialog(*args
, **kwargs
)
2802 self
.this
= newobj
.this
2805 self
._setOORInfo
(self
)
2808 class MessageDialogPtr(MessageDialog
):
2809 def __init__(self
, this
):
2811 if not hasattr(self
,"thisown"): self
.thisown
= 0
2812 self
.__class
__ = MessageDialog
2813 _windows_
.MessageDialog_swigregister(MessageDialogPtr
)
2815 class ProgressDialog(Frame
):
2817 A dialog that shows a short message and a progress bar. Optionally, it
2818 can display an ABORT button.
2821 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2822 def __init__(self
, *args
, **kwargs
):
2824 __init__(self, String title, String message, int maximum=100, Window parent=None,
2825 int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
2827 Constructor. Creates the dialog, displays it and disables user input
2828 for other windows, or, if wx.PD_APP_MODAL flag is not given, for its
2831 newobj
= _windows_
.new_ProgressDialog(*args
, **kwargs
)
2832 self
.this
= newobj
.this
2835 self
._setOORInfo
(self
)
2837 def Update(*args
, **kwargs
):
2839 Update(self, int value, String newmsg=EmptyString) -> bool
2841 Updates the dialog, setting the progress bar to the new value and, if
2842 given changes the message above it. The value given should be less
2843 than or equal to the maximum value given to the constructor and the
2844 dialog is closed if it is equal to the maximum. Returns true unless
2845 the Cancel button has been pressed.
2847 If false is returned, the application can either immediately destroy
2848 the dialog or ask the user for the confirmation and if the abort is
2849 not confirmed the dialog may be resumed with Resume function.
2851 return _windows_
.ProgressDialog_Update(*args
, **kwargs
)
2853 def Resume(*args
, **kwargs
):
2857 Can be used to continue with the dialog, after the user had chosen to
2860 return _windows_
.ProgressDialog_Resume(*args
, **kwargs
)
2863 class ProgressDialogPtr(ProgressDialog
):
2864 def __init__(self
, this
):
2866 if not hasattr(self
,"thisown"): self
.thisown
= 0
2867 self
.__class
__ = ProgressDialog
2868 _windows_
.ProgressDialog_swigregister(ProgressDialogPtr
)
2870 FR_DOWN
= _windows_
.FR_DOWN
2871 FR_WHOLEWORD
= _windows_
.FR_WHOLEWORD
2872 FR_MATCHCASE
= _windows_
.FR_MATCHCASE
2873 FR_REPLACEDIALOG
= _windows_
.FR_REPLACEDIALOG
2874 FR_NOUPDOWN
= _windows_
.FR_NOUPDOWN
2875 FR_NOMATCHCASE
= _windows_
.FR_NOMATCHCASE
2876 FR_NOWHOLEWORD
= _windows_
.FR_NOWHOLEWORD
2877 wxEVT_COMMAND_FIND
= _windows_
.wxEVT_COMMAND_FIND
2878 wxEVT_COMMAND_FIND_NEXT
= _windows_
.wxEVT_COMMAND_FIND_NEXT
2879 wxEVT_COMMAND_FIND_REPLACE
= _windows_
.wxEVT_COMMAND_FIND_REPLACE
2880 wxEVT_COMMAND_FIND_REPLACE_ALL
= _windows_
.wxEVT_COMMAND_FIND_REPLACE_ALL
2881 wxEVT_COMMAND_FIND_CLOSE
= _windows_
.wxEVT_COMMAND_FIND_CLOSE
2882 EVT_FIND
= wx
.PyEventBinder( wxEVT_COMMAND_FIND
, 1 )
2883 EVT_FIND_NEXT
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_NEXT
, 1 )
2884 EVT_FIND_REPLACE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE
, 1 )
2885 EVT_FIND_REPLACE_ALL
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL
, 1 )
2886 EVT_FIND_CLOSE
= wx
.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE
, 1 )
2888 # For backwards compatibility. Should they be removed?
2889 EVT_COMMAND_FIND
= EVT_FIND
2890 EVT_COMMAND_FIND_NEXT
= EVT_FIND_NEXT
2891 EVT_COMMAND_FIND_REPLACE
= EVT_FIND_REPLACE
2892 EVT_COMMAND_FIND_REPLACE_ALL
= EVT_FIND_REPLACE_ALL
2893 EVT_COMMAND_FIND_CLOSE
= EVT_FIND_CLOSE
2895 class FindDialogEvent(_core
.CommandEvent
):
2896 """Events for the FindReplaceDialog"""
2898 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2899 def __init__(self
, *args
, **kwargs
):
2901 __init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent
2903 Events for the FindReplaceDialog
2905 newobj
= _windows_
.new_FindDialogEvent(*args
, **kwargs
)
2906 self
.this
= newobj
.this
2909 def GetFlags(*args
, **kwargs
):
2911 GetFlags(self) -> int
2913 Get the currently selected flags: this is the combination of
2914 wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.
2916 return _windows_
.FindDialogEvent_GetFlags(*args
, **kwargs
)
2918 def GetFindString(*args
, **kwargs
):
2920 GetFindString(self) -> String
2922 Return the string to find (never empty).
2924 return _windows_
.FindDialogEvent_GetFindString(*args
, **kwargs
)
2926 def GetReplaceString(*args
, **kwargs
):
2928 GetReplaceString(self) -> String
2930 Return the string to replace the search string with (only for replace
2931 and replace all events).
2933 return _windows_
.FindDialogEvent_GetReplaceString(*args
, **kwargs
)
2935 def GetDialog(*args
, **kwargs
):
2937 GetDialog(self) -> FindReplaceDialog
2939 Return the pointer to the dialog which generated this event.
2941 return _windows_
.FindDialogEvent_GetDialog(*args
, **kwargs
)
2943 def SetFlags(*args
, **kwargs
):
2944 """SetFlags(self, int flags)"""
2945 return _windows_
.FindDialogEvent_SetFlags(*args
, **kwargs
)
2947 def SetFindString(*args
, **kwargs
):
2948 """SetFindString(self, String str)"""
2949 return _windows_
.FindDialogEvent_SetFindString(*args
, **kwargs
)
2951 def SetReplaceString(*args
, **kwargs
):
2952 """SetReplaceString(self, String str)"""
2953 return _windows_
.FindDialogEvent_SetReplaceString(*args
, **kwargs
)
2956 class FindDialogEventPtr(FindDialogEvent
):
2957 def __init__(self
, this
):
2959 if not hasattr(self
,"thisown"): self
.thisown
= 0
2960 self
.__class
__ = FindDialogEvent
2961 _windows_
.FindDialogEvent_swigregister(FindDialogEventPtr
)
2963 class FindReplaceData(_core
.Object
):
2965 wx.FindReplaceData holds the data for wx.FindReplaceDialog. It is used
2966 to initialize the dialog with the default values and will keep the
2967 last values from the dialog when it is closed. It is also updated each
2968 time a `wx.FindDialogEvent` is generated so instead of using the
2969 `wx.FindDialogEvent` methods you can also directly query this object.
2971 Note that all SetXXX() methods may only be called before showing the
2972 dialog and calling them has no effect later.
2975 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2976 def __init__(self
, *args
, **kwargs
):
2978 __init__(self, int flags=0) -> FindReplaceData
2980 Constuctor initializes the flags to default value (0).
2982 newobj
= _windows_
.new_FindReplaceData(*args
, **kwargs
)
2983 self
.this
= newobj
.this
2986 def __del__(self
, destroy
=_windows_
.delete_FindReplaceData
):
2989 if self
.thisown
: destroy(self
)
2992 def GetFindString(*args
, **kwargs
):
2994 GetFindString(self) -> String
2996 Get the string to find.
2998 return _windows_
.FindReplaceData_GetFindString(*args
, **kwargs
)
3000 def GetReplaceString(*args
, **kwargs
):
3002 GetReplaceString(self) -> String
3004 Get the replacement string.
3006 return _windows_
.FindReplaceData_GetReplaceString(*args
, **kwargs
)
3008 def GetFlags(*args
, **kwargs
):
3010 GetFlags(self) -> int
3012 Get the combination of flag values.
3014 return _windows_
.FindReplaceData_GetFlags(*args
, **kwargs
)
3016 def SetFlags(*args
, **kwargs
):
3018 SetFlags(self, int flags)
3020 Set the flags to use to initialize the controls of the dialog.
3022 return _windows_
.FindReplaceData_SetFlags(*args
, **kwargs
)
3024 def SetFindString(*args
, **kwargs
):
3026 SetFindString(self, String str)
3028 Set the string to find (used as initial value by the dialog).
3030 return _windows_
.FindReplaceData_SetFindString(*args
, **kwargs
)
3032 def SetReplaceString(*args
, **kwargs
):
3034 SetReplaceString(self, String str)
3036 Set the replacement string (used as initial value by the dialog).
3038 return _windows_
.FindReplaceData_SetReplaceString(*args
, **kwargs
)
3041 class FindReplaceDataPtr(FindReplaceData
):
3042 def __init__(self
, this
):
3044 if not hasattr(self
,"thisown"): self
.thisown
= 0
3045 self
.__class
__ = FindReplaceData
3046 _windows_
.FindReplaceData_swigregister(FindReplaceDataPtr
)
3048 class FindReplaceDialog(Dialog
):
3050 wx.FindReplaceDialog is a standard modeless dialog which is used to
3051 allow the user to search for some text (and possibly replace it with
3052 something else). The actual searching is supposed to be done in the
3053 owner window which is the parent of this dialog. Note that it means
3054 that unlike for the other standard dialogs this one must have a parent
3055 window. Also note that there is no way to use this dialog in a modal
3056 way; it is always, by design and implementation, modeless.
3059 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3060 def __init__(self
, *args
, **kwargs
):
3062 __init__(self, Window parent, FindReplaceData data, String title,
3063 int style=0) -> FindReplaceDialog
3065 Create a FindReplaceDialog. The parent and data parameters must be
3066 non-None. Use Show to display the dialog.
3068 newobj
= _windows_
.new_FindReplaceDialog(*args
, **kwargs
)
3069 self
.this
= newobj
.this
3072 self
._setOORInfo
(self
)
3074 def Create(*args
, **kwargs
):
3076 Create(self, Window parent, FindReplaceData data, String title,
3077 int style=0) -> bool
3079 Create the dialog, for 2-phase create.
3081 return _windows_
.FindReplaceDialog_Create(*args
, **kwargs
)
3083 def GetData(*args
, **kwargs
):
3085 GetData(self) -> FindReplaceData
3087 Get the FindReplaceData object used by this dialog.
3089 return _windows_
.FindReplaceDialog_GetData(*args
, **kwargs
)
3091 def SetData(*args
, **kwargs
):
3093 SetData(self, FindReplaceData data)
3095 Set the FindReplaceData object used by this dialog.
3097 return _windows_
.FindReplaceDialog_SetData(*args
, **kwargs
)
3100 class FindReplaceDialogPtr(FindReplaceDialog
):
3101 def __init__(self
, this
):
3103 if not hasattr(self
,"thisown"): self
.thisown
= 0
3104 self
.__class
__ = FindReplaceDialog
3105 _windows_
.FindReplaceDialog_swigregister(FindReplaceDialogPtr
)
3107 def PreFindReplaceDialog(*args
, **kwargs
):
3109 PreFindReplaceDialog() -> FindReplaceDialog
3111 Precreate a FindReplaceDialog for 2-phase creation
3113 val
= _windows_
.new_PreFindReplaceDialog(*args
, **kwargs
)
3117 #---------------------------------------------------------------------------
3119 IDM_WINDOWTILE
= _windows_
.IDM_WINDOWTILE
3120 IDM_WINDOWTILEHOR
= _windows_
.IDM_WINDOWTILEHOR
3121 IDM_WINDOWCASCADE
= _windows_
.IDM_WINDOWCASCADE
3122 IDM_WINDOWICONS
= _windows_
.IDM_WINDOWICONS
3123 IDM_WINDOWNEXT
= _windows_
.IDM_WINDOWNEXT
3124 IDM_WINDOWTILEVERT
= _windows_
.IDM_WINDOWTILEVERT
3125 FIRST_MDI_CHILD
= _windows_
.FIRST_MDI_CHILD
3126 LAST_MDI_CHILD
= _windows_
.LAST_MDI_CHILD
3127 class MDIParentFrame(Frame
):
3129 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3130 def __init__(self
, *args
, **kwargs
):
3132 __init__(self, Window parent, int id=-1, String title=EmptyString,
3133 Point pos=DefaultPosition, Size size=DefaultSize,
3134 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3135 String name=FrameNameStr) -> MDIParentFrame
3137 newobj
= _windows_
.new_MDIParentFrame(*args
, **kwargs
)
3138 self
.this
= newobj
.this
3141 self
._setOORInfo
(self
)
3143 def Create(*args
, **kwargs
):
3145 Create(self, Window parent, int id=-1, String title=EmptyString,
3146 Point pos=DefaultPosition, Size size=DefaultSize,
3147 long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
3148 String name=FrameNameStr) -> bool
3150 return _windows_
.MDIParentFrame_Create(*args
, **kwargs
)
3152 def ActivateNext(*args
, **kwargs
):
3153 """ActivateNext(self)"""
3154 return _windows_
.MDIParentFrame_ActivateNext(*args
, **kwargs
)
3156 def ActivatePrevious(*args
, **kwargs
):
3157 """ActivatePrevious(self)"""
3158 return _windows_
.MDIParentFrame_ActivatePrevious(*args
, **kwargs
)
3160 def ArrangeIcons(*args
, **kwargs
):
3161 """ArrangeIcons(self)"""
3162 return _windows_
.MDIParentFrame_ArrangeIcons(*args
, **kwargs
)
3164 def Cascade(*args
, **kwargs
):
3166 return _windows_
.MDIParentFrame_Cascade(*args
, **kwargs
)
3168 def GetActiveChild(*args
, **kwargs
):
3169 """GetActiveChild(self) -> MDIChildFrame"""
3170 return _windows_
.MDIParentFrame_GetActiveChild(*args
, **kwargs
)
3172 def GetClientWindow(*args
, **kwargs
):
3173 """GetClientWindow(self) -> MDIClientWindow"""
3174 return _windows_
.MDIParentFrame_GetClientWindow(*args
, **kwargs
)
3176 def GetToolBar(*args
, **kwargs
):
3177 """GetToolBar(self) -> Window"""
3178 return _windows_
.MDIParentFrame_GetToolBar(*args
, **kwargs
)
3180 def Tile(*args
, **kwargs
):
3182 return _windows_
.MDIParentFrame_Tile(*args
, **kwargs
)
3185 class MDIParentFramePtr(MDIParentFrame
):
3186 def __init__(self
, this
):
3188 if not hasattr(self
,"thisown"): self
.thisown
= 0
3189 self
.__class
__ = MDIParentFrame
3190 _windows_
.MDIParentFrame_swigregister(MDIParentFramePtr
)
3192 def PreMDIParentFrame(*args
, **kwargs
):
3193 """PreMDIParentFrame() -> MDIParentFrame"""
3194 val
= _windows_
.new_PreMDIParentFrame(*args
, **kwargs
)
3198 class MDIChildFrame(Frame
):
3200 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3201 def __init__(self
, *args
, **kwargs
):
3203 __init__(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3204 Point pos=DefaultPosition, Size size=DefaultSize,
3205 long style=DEFAULT_FRAME_STYLE,
3206 String name=FrameNameStr) -> MDIChildFrame
3208 newobj
= _windows_
.new_MDIChildFrame(*args
, **kwargs
)
3209 self
.this
= newobj
.this
3212 self
._setOORInfo
(self
)
3214 def Create(*args
, **kwargs
):
3216 Create(self, MDIParentFrame parent, int id=-1, String title=EmptyString,
3217 Point pos=DefaultPosition, Size size=DefaultSize,
3218 long style=DEFAULT_FRAME_STYLE,
3219 String name=FrameNameStr) -> bool
3221 return _windows_
.MDIChildFrame_Create(*args
, **kwargs
)
3223 def Activate(*args
, **kwargs
):
3224 """Activate(self)"""
3225 return _windows_
.MDIChildFrame_Activate(*args
, **kwargs
)
3227 def Maximize(*args
, **kwargs
):
3228 """Maximize(self, bool maximize)"""
3229 return _windows_
.MDIChildFrame_Maximize(*args
, **kwargs
)
3231 def Restore(*args
, **kwargs
):
3233 return _windows_
.MDIChildFrame_Restore(*args
, **kwargs
)
3236 class MDIChildFramePtr(MDIChildFrame
):
3237 def __init__(self
, this
):
3239 if not hasattr(self
,"thisown"): self
.thisown
= 0
3240 self
.__class
__ = MDIChildFrame
3241 _windows_
.MDIChildFrame_swigregister(MDIChildFramePtr
)
3243 def PreMDIChildFrame(*args
, **kwargs
):
3244 """PreMDIChildFrame() -> MDIChildFrame"""
3245 val
= _windows_
.new_PreMDIChildFrame(*args
, **kwargs
)
3249 class MDIClientWindow(_core
.Window
):
3251 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3252 def __init__(self
, *args
, **kwargs
):
3253 """__init__(self, MDIParentFrame parent, long style=0) -> MDIClientWindow"""
3254 newobj
= _windows_
.new_MDIClientWindow(*args
, **kwargs
)
3255 self
.this
= newobj
.this
3258 self
._setOORInfo
(self
)
3260 def Create(*args
, **kwargs
):
3261 """Create(self, MDIParentFrame parent, long style=0) -> bool"""
3262 return _windows_
.MDIClientWindow_Create(*args
, **kwargs
)
3265 class MDIClientWindowPtr(MDIClientWindow
):
3266 def __init__(self
, this
):
3268 if not hasattr(self
,"thisown"): self
.thisown
= 0
3269 self
.__class
__ = MDIClientWindow
3270 _windows_
.MDIClientWindow_swigregister(MDIClientWindowPtr
)
3272 def PreMDIClientWindow(*args
, **kwargs
):
3273 """PreMDIClientWindow() -> MDIClientWindow"""
3274 val
= _windows_
.new_PreMDIClientWindow(*args
, **kwargs
)
3278 #---------------------------------------------------------------------------
3280 class PyWindow(_core
.Window
):
3282 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3283 def __init__(self
, *args
, **kwargs
):
3285 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3286 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyWindow
3288 newobj
= _windows_
.new_PyWindow(*args
, **kwargs
)
3289 self
.this
= newobj
.this
3292 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyWindow
)
3294 def _setCallbackInfo(*args
, **kwargs
):
3295 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3296 return _windows_
.PyWindow__setCallbackInfo(*args
, **kwargs
)
3298 def SetBestSize(*args
, **kwargs
):
3299 """SetBestSize(self, Size size)"""
3300 return _windows_
.PyWindow_SetBestSize(*args
, **kwargs
)
3302 def base_DoMoveWindow(*args
, **kwargs
):
3303 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3304 return _windows_
.PyWindow_base_DoMoveWindow(*args
, **kwargs
)
3306 def base_DoSetSize(*args
, **kwargs
):
3307 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3308 return _windows_
.PyWindow_base_DoSetSize(*args
, **kwargs
)
3310 def base_DoSetClientSize(*args
, **kwargs
):
3311 """base_DoSetClientSize(self, int width, int height)"""
3312 return _windows_
.PyWindow_base_DoSetClientSize(*args
, **kwargs
)
3314 def base_DoSetVirtualSize(*args
, **kwargs
):
3315 """base_DoSetVirtualSize(self, int x, int y)"""
3316 return _windows_
.PyWindow_base_DoSetVirtualSize(*args
, **kwargs
)
3318 def base_DoGetSize(*args
, **kwargs
):
3319 """base_DoGetSize() -> (width, height)"""
3320 return _windows_
.PyWindow_base_DoGetSize(*args
, **kwargs
)
3322 def base_DoGetClientSize(*args
, **kwargs
):
3323 """base_DoGetClientSize() -> (width, height)"""
3324 return _windows_
.PyWindow_base_DoGetClientSize(*args
, **kwargs
)
3326 def base_DoGetPosition(*args
, **kwargs
):
3327 """base_DoGetPosition() -> (x,y)"""
3328 return _windows_
.PyWindow_base_DoGetPosition(*args
, **kwargs
)
3330 def base_DoGetVirtualSize(*args
, **kwargs
):
3331 """base_DoGetVirtualSize(self) -> Size"""
3332 return _windows_
.PyWindow_base_DoGetVirtualSize(*args
, **kwargs
)
3334 def base_DoGetBestSize(*args
, **kwargs
):
3335 """base_DoGetBestSize(self) -> Size"""
3336 return _windows_
.PyWindow_base_DoGetBestSize(*args
, **kwargs
)
3338 def base_InitDialog(*args
, **kwargs
):
3339 """base_InitDialog(self)"""
3340 return _windows_
.PyWindow_base_InitDialog(*args
, **kwargs
)
3342 def base_TransferDataToWindow(*args
, **kwargs
):
3343 """base_TransferDataToWindow(self) -> bool"""
3344 return _windows_
.PyWindow_base_TransferDataToWindow(*args
, **kwargs
)
3346 def base_TransferDataFromWindow(*args
, **kwargs
):
3347 """base_TransferDataFromWindow(self) -> bool"""
3348 return _windows_
.PyWindow_base_TransferDataFromWindow(*args
, **kwargs
)
3350 def base_Validate(*args
, **kwargs
):
3351 """base_Validate(self) -> bool"""
3352 return _windows_
.PyWindow_base_Validate(*args
, **kwargs
)
3354 def base_AcceptsFocus(*args
, **kwargs
):
3355 """base_AcceptsFocus(self) -> bool"""
3356 return _windows_
.PyWindow_base_AcceptsFocus(*args
, **kwargs
)
3358 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3359 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3360 return _windows_
.PyWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3362 def base_GetMaxSize(*args
, **kwargs
):
3363 """base_GetMaxSize(self) -> Size"""
3364 return _windows_
.PyWindow_base_GetMaxSize(*args
, **kwargs
)
3366 def base_AddChild(*args
, **kwargs
):
3367 """base_AddChild(self, Window child)"""
3368 return _windows_
.PyWindow_base_AddChild(*args
, **kwargs
)
3370 def base_RemoveChild(*args
, **kwargs
):
3371 """base_RemoveChild(self, Window child)"""
3372 return _windows_
.PyWindow_base_RemoveChild(*args
, **kwargs
)
3374 def base_ShouldInheritColours(*args
, **kwargs
):
3375 """base_ShouldInheritColours(self) -> bool"""
3376 return _windows_
.PyWindow_base_ShouldInheritColours(*args
, **kwargs
)
3378 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3379 """base_ApplyParentThemeBackground(self, Colour c)"""
3380 return _windows_
.PyWindow_base_ApplyParentThemeBackground(*args
, **kwargs
)
3382 def base_GetDefaultAttributes(*args
, **kwargs
):
3383 """base_GetDefaultAttributes(self) -> VisualAttributes"""
3384 return _windows_
.PyWindow_base_GetDefaultAttributes(*args
, **kwargs
)
3387 class PyWindowPtr(PyWindow
):
3388 def __init__(self
, this
):
3390 if not hasattr(self
,"thisown"): self
.thisown
= 0
3391 self
.__class
__ = PyWindow
3392 _windows_
.PyWindow_swigregister(PyWindowPtr
)
3394 def PrePyWindow(*args
, **kwargs
):
3395 """PrePyWindow() -> PyWindow"""
3396 val
= _windows_
.new_PrePyWindow(*args
, **kwargs
)
3400 class PyPanel(Panel
):
3402 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3403 def __init__(self
, *args
, **kwargs
):
3405 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3406 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyPanel
3408 newobj
= _windows_
.new_PyPanel(*args
, **kwargs
)
3409 self
.this
= newobj
.this
3412 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3414 def _setCallbackInfo(*args
, **kwargs
):
3415 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3416 return _windows_
.PyPanel__setCallbackInfo(*args
, **kwargs
)
3418 def SetBestSize(*args
, **kwargs
):
3419 """SetBestSize(self, Size size)"""
3420 return _windows_
.PyPanel_SetBestSize(*args
, **kwargs
)
3422 def base_DoMoveWindow(*args
, **kwargs
):
3423 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3424 return _windows_
.PyPanel_base_DoMoveWindow(*args
, **kwargs
)
3426 def base_DoSetSize(*args
, **kwargs
):
3427 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3428 return _windows_
.PyPanel_base_DoSetSize(*args
, **kwargs
)
3430 def base_DoSetClientSize(*args
, **kwargs
):
3431 """base_DoSetClientSize(self, int width, int height)"""
3432 return _windows_
.PyPanel_base_DoSetClientSize(*args
, **kwargs
)
3434 def base_DoSetVirtualSize(*args
, **kwargs
):
3435 """base_DoSetVirtualSize(self, int x, int y)"""
3436 return _windows_
.PyPanel_base_DoSetVirtualSize(*args
, **kwargs
)
3438 def base_DoGetSize(*args
, **kwargs
):
3439 """base_DoGetSize() -> (width, height)"""
3440 return _windows_
.PyPanel_base_DoGetSize(*args
, **kwargs
)
3442 def base_DoGetClientSize(*args
, **kwargs
):
3443 """base_DoGetClientSize() -> (width, height)"""
3444 return _windows_
.PyPanel_base_DoGetClientSize(*args
, **kwargs
)
3446 def base_DoGetPosition(*args
, **kwargs
):
3447 """base_DoGetPosition() -> (x,y)"""
3448 return _windows_
.PyPanel_base_DoGetPosition(*args
, **kwargs
)
3450 def base_DoGetVirtualSize(*args
, **kwargs
):
3451 """base_DoGetVirtualSize(self) -> Size"""
3452 return _windows_
.PyPanel_base_DoGetVirtualSize(*args
, **kwargs
)
3454 def base_DoGetBestSize(*args
, **kwargs
):
3455 """base_DoGetBestSize(self) -> Size"""
3456 return _windows_
.PyPanel_base_DoGetBestSize(*args
, **kwargs
)
3458 def base_InitDialog(*args
, **kwargs
):
3459 """base_InitDialog(self)"""
3460 return _windows_
.PyPanel_base_InitDialog(*args
, **kwargs
)
3462 def base_TransferDataToWindow(*args
, **kwargs
):
3463 """base_TransferDataToWindow(self) -> bool"""
3464 return _windows_
.PyPanel_base_TransferDataToWindow(*args
, **kwargs
)
3466 def base_TransferDataFromWindow(*args
, **kwargs
):
3467 """base_TransferDataFromWindow(self) -> bool"""
3468 return _windows_
.PyPanel_base_TransferDataFromWindow(*args
, **kwargs
)
3470 def base_Validate(*args
, **kwargs
):
3471 """base_Validate(self) -> bool"""
3472 return _windows_
.PyPanel_base_Validate(*args
, **kwargs
)
3474 def base_AcceptsFocus(*args
, **kwargs
):
3475 """base_AcceptsFocus(self) -> bool"""
3476 return _windows_
.PyPanel_base_AcceptsFocus(*args
, **kwargs
)
3478 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3479 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3480 return _windows_
.PyPanel_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3482 def base_GetMaxSize(*args
, **kwargs
):
3483 """base_GetMaxSize(self) -> Size"""
3484 return _windows_
.PyPanel_base_GetMaxSize(*args
, **kwargs
)
3486 def base_AddChild(*args
, **kwargs
):
3487 """base_AddChild(self, Window child)"""
3488 return _windows_
.PyPanel_base_AddChild(*args
, **kwargs
)
3490 def base_RemoveChild(*args
, **kwargs
):
3491 """base_RemoveChild(self, Window child)"""
3492 return _windows_
.PyPanel_base_RemoveChild(*args
, **kwargs
)
3494 def base_ShouldInheritColours(*args
, **kwargs
):
3495 """base_ShouldInheritColours(self) -> bool"""
3496 return _windows_
.PyPanel_base_ShouldInheritColours(*args
, **kwargs
)
3498 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3499 """base_ApplyParentThemeBackground(self, Colour c)"""
3500 return _windows_
.PyPanel_base_ApplyParentThemeBackground(*args
, **kwargs
)
3502 def base_GetDefaultAttributes(*args
, **kwargs
):
3503 """base_GetDefaultAttributes(self) -> VisualAttributes"""
3504 return _windows_
.PyPanel_base_GetDefaultAttributes(*args
, **kwargs
)
3507 class PyPanelPtr(PyPanel
):
3508 def __init__(self
, this
):
3510 if not hasattr(self
,"thisown"): self
.thisown
= 0
3511 self
.__class
__ = PyPanel
3512 _windows_
.PyPanel_swigregister(PyPanelPtr
)
3514 def PrePyPanel(*args
, **kwargs
):
3515 """PrePyPanel() -> PyPanel"""
3516 val
= _windows_
.new_PrePyPanel(*args
, **kwargs
)
3520 class PyScrolledWindow(ScrolledWindow
):
3522 return "<%s.%s; proxy of C++ wxPyScrolledWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3523 def __init__(self
, *args
, **kwargs
):
3525 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
3526 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyScrolledWindow
3528 newobj
= _windows_
.new_PyScrolledWindow(*args
, **kwargs
)
3529 self
.this
= newobj
.this
3532 self
._setOORInfo
(self
); self
._setCallbackInfo
(self
, PyPanel
)
3534 def _setCallbackInfo(*args
, **kwargs
):
3535 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3536 return _windows_
.PyScrolledWindow__setCallbackInfo(*args
, **kwargs
)
3538 def SetBestSize(*args
, **kwargs
):
3539 """SetBestSize(self, Size size)"""
3540 return _windows_
.PyScrolledWindow_SetBestSize(*args
, **kwargs
)
3542 def base_DoMoveWindow(*args
, **kwargs
):
3543 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
3544 return _windows_
.PyScrolledWindow_base_DoMoveWindow(*args
, **kwargs
)
3546 def base_DoSetSize(*args
, **kwargs
):
3547 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
3548 return _windows_
.PyScrolledWindow_base_DoSetSize(*args
, **kwargs
)
3550 def base_DoSetClientSize(*args
, **kwargs
):
3551 """base_DoSetClientSize(self, int width, int height)"""
3552 return _windows_
.PyScrolledWindow_base_DoSetClientSize(*args
, **kwargs
)
3554 def base_DoSetVirtualSize(*args
, **kwargs
):
3555 """base_DoSetVirtualSize(self, int x, int y)"""
3556 return _windows_
.PyScrolledWindow_base_DoSetVirtualSize(*args
, **kwargs
)
3558 def base_DoGetSize(*args
, **kwargs
):
3559 """base_DoGetSize() -> (width, height)"""
3560 return _windows_
.PyScrolledWindow_base_DoGetSize(*args
, **kwargs
)
3562 def base_DoGetClientSize(*args
, **kwargs
):
3563 """base_DoGetClientSize() -> (width, height)"""
3564 return _windows_
.PyScrolledWindow_base_DoGetClientSize(*args
, **kwargs
)
3566 def base_DoGetPosition(*args
, **kwargs
):
3567 """base_DoGetPosition() -> (x,y)"""
3568 return _windows_
.PyScrolledWindow_base_DoGetPosition(*args
, **kwargs
)
3570 def base_DoGetVirtualSize(*args
, **kwargs
):
3571 """base_DoGetVirtualSize(self) -> Size"""
3572 return _windows_
.PyScrolledWindow_base_DoGetVirtualSize(*args
, **kwargs
)
3574 def base_DoGetBestSize(*args
, **kwargs
):
3575 """base_DoGetBestSize(self) -> Size"""
3576 return _windows_
.PyScrolledWindow_base_DoGetBestSize(*args
, **kwargs
)
3578 def base_InitDialog(*args
, **kwargs
):
3579 """base_InitDialog(self)"""
3580 return _windows_
.PyScrolledWindow_base_InitDialog(*args
, **kwargs
)
3582 def base_TransferDataToWindow(*args
, **kwargs
):
3583 """base_TransferDataToWindow(self) -> bool"""
3584 return _windows_
.PyScrolledWindow_base_TransferDataToWindow(*args
, **kwargs
)
3586 def base_TransferDataFromWindow(*args
, **kwargs
):
3587 """base_TransferDataFromWindow(self) -> bool"""
3588 return _windows_
.PyScrolledWindow_base_TransferDataFromWindow(*args
, **kwargs
)
3590 def base_Validate(*args
, **kwargs
):
3591 """base_Validate(self) -> bool"""
3592 return _windows_
.PyScrolledWindow_base_Validate(*args
, **kwargs
)
3594 def base_AcceptsFocus(*args
, **kwargs
):
3595 """base_AcceptsFocus(self) -> bool"""
3596 return _windows_
.PyScrolledWindow_base_AcceptsFocus(*args
, **kwargs
)
3598 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
3599 """base_AcceptsFocusFromKeyboard(self) -> bool"""
3600 return _windows_
.PyScrolledWindow_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
3602 def base_GetMaxSize(*args
, **kwargs
):
3603 """base_GetMaxSize(self) -> Size"""
3604 return _windows_
.PyScrolledWindow_base_GetMaxSize(*args
, **kwargs
)
3606 def base_AddChild(*args
, **kwargs
):
3607 """base_AddChild(self, Window child)"""
3608 return _windows_
.PyScrolledWindow_base_AddChild(*args
, **kwargs
)
3610 def base_RemoveChild(*args
, **kwargs
):
3611 """base_RemoveChild(self, Window child)"""
3612 return _windows_
.PyScrolledWindow_base_RemoveChild(*args
, **kwargs
)
3614 def base_ShouldInheritColours(*args
, **kwargs
):
3615 """base_ShouldInheritColours(self) -> bool"""
3616 return _windows_
.PyScrolledWindow_base_ShouldInheritColours(*args
, **kwargs
)
3618 def base_ApplyParentThemeBackground(*args
, **kwargs
):
3619 """base_ApplyParentThemeBackground(self, Colour c)"""
3620 return _windows_
.PyScrolledWindow_base_ApplyParentThemeBackground(*args
, **kwargs
)
3622 def base_GetDefaultAttributes(*args
, **kwargs
):
3623 """base_GetDefaultAttributes(self) -> VisualAttributes"""
3624 return _windows_
.PyScrolledWindow_base_GetDefaultAttributes(*args
, **kwargs
)
3627 class PyScrolledWindowPtr(PyScrolledWindow
):
3628 def __init__(self
, this
):
3630 if not hasattr(self
,"thisown"): self
.thisown
= 0
3631 self
.__class
__ = PyScrolledWindow
3632 _windows_
.PyScrolledWindow_swigregister(PyScrolledWindowPtr
)
3634 def PrePyScrolledWindow(*args
, **kwargs
):
3635 """PrePyScrolledWindow() -> PyScrolledWindow"""
3636 val
= _windows_
.new_PrePyScrolledWindow(*args
, **kwargs
)
3640 #---------------------------------------------------------------------------
3642 PRINT_MODE_NONE
= _windows_
.PRINT_MODE_NONE
3643 PRINT_MODE_PREVIEW
= _windows_
.PRINT_MODE_PREVIEW
3644 PRINT_MODE_FILE
= _windows_
.PRINT_MODE_FILE
3645 PRINT_MODE_PRINTER
= _windows_
.PRINT_MODE_PRINTER
3646 PRINT_MODE_STREAM
= _windows_
.PRINT_MODE_STREAM
3647 class PrintData(_core
.Object
):
3649 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3650 def __init__(self
, *args
):
3652 __init__(self) -> PrintData
3653 __init__(self, PrintData data) -> PrintData
3655 newobj
= _windows_
.new_PrintData(*args
)
3656 self
.this
= newobj
.this
3659 def __del__(self
, destroy
=_windows_
.delete_PrintData
):
3662 if self
.thisown
: destroy(self
)
3665 def GetNoCopies(*args
, **kwargs
):
3666 """GetNoCopies(self) -> int"""
3667 return _windows_
.PrintData_GetNoCopies(*args
, **kwargs
)
3669 def GetCollate(*args
, **kwargs
):
3670 """GetCollate(self) -> bool"""
3671 return _windows_
.PrintData_GetCollate(*args
, **kwargs
)
3673 def GetOrientation(*args
, **kwargs
):
3674 """GetOrientation(self) -> int"""
3675 return _windows_
.PrintData_GetOrientation(*args
, **kwargs
)
3677 def Ok(*args
, **kwargs
):
3678 """Ok(self) -> bool"""
3679 return _windows_
.PrintData_Ok(*args
, **kwargs
)
3681 def GetPrinterName(*args
, **kwargs
):
3682 """GetPrinterName(self) -> String"""
3683 return _windows_
.PrintData_GetPrinterName(*args
, **kwargs
)
3685 def GetColour(*args
, **kwargs
):
3686 """GetColour(self) -> bool"""
3687 return _windows_
.PrintData_GetColour(*args
, **kwargs
)
3689 def GetDuplex(*args
, **kwargs
):
3690 """GetDuplex(self) -> int"""
3691 return _windows_
.PrintData_GetDuplex(*args
, **kwargs
)
3693 def GetPaperId(*args
, **kwargs
):
3694 """GetPaperId(self) -> int"""
3695 return _windows_
.PrintData_GetPaperId(*args
, **kwargs
)
3697 def GetPaperSize(*args
, **kwargs
):
3698 """GetPaperSize(self) -> Size"""
3699 return _windows_
.PrintData_GetPaperSize(*args
, **kwargs
)
3701 def GetQuality(*args
, **kwargs
):
3702 """GetQuality(self) -> int"""
3703 return _windows_
.PrintData_GetQuality(*args
, **kwargs
)
3705 def SetNoCopies(*args
, **kwargs
):
3706 """SetNoCopies(self, int v)"""
3707 return _windows_
.PrintData_SetNoCopies(*args
, **kwargs
)
3709 def SetCollate(*args
, **kwargs
):
3710 """SetCollate(self, bool flag)"""
3711 return _windows_
.PrintData_SetCollate(*args
, **kwargs
)
3713 def SetOrientation(*args
, **kwargs
):
3714 """SetOrientation(self, int orient)"""
3715 return _windows_
.PrintData_SetOrientation(*args
, **kwargs
)
3717 def SetPrinterName(*args
, **kwargs
):
3718 """SetPrinterName(self, String name)"""
3719 return _windows_
.PrintData_SetPrinterName(*args
, **kwargs
)
3721 def SetColour(*args
, **kwargs
):
3722 """SetColour(self, bool colour)"""
3723 return _windows_
.PrintData_SetColour(*args
, **kwargs
)
3725 def SetDuplex(*args
, **kwargs
):
3726 """SetDuplex(self, int duplex)"""
3727 return _windows_
.PrintData_SetDuplex(*args
, **kwargs
)
3729 def SetPaperId(*args
, **kwargs
):
3730 """SetPaperId(self, int sizeId)"""
3731 return _windows_
.PrintData_SetPaperId(*args
, **kwargs
)
3733 def SetPaperSize(*args
, **kwargs
):
3734 """SetPaperSize(self, Size sz)"""
3735 return _windows_
.PrintData_SetPaperSize(*args
, **kwargs
)
3737 def SetQuality(*args
, **kwargs
):
3738 """SetQuality(self, int quality)"""
3739 return _windows_
.PrintData_SetQuality(*args
, **kwargs
)
3741 def GetPrinterCommand(*args
, **kwargs
):
3742 """GetPrinterCommand(self) -> String"""
3743 return _windows_
.PrintData_GetPrinterCommand(*args
, **kwargs
)
3745 def GetPrinterOptions(*args
, **kwargs
):
3746 """GetPrinterOptions(self) -> String"""
3747 return _windows_
.PrintData_GetPrinterOptions(*args
, **kwargs
)
3749 def GetPreviewCommand(*args
, **kwargs
):
3750 """GetPreviewCommand(self) -> String"""
3751 return _windows_
.PrintData_GetPreviewCommand(*args
, **kwargs
)
3753 def GetFilename(*args
, **kwargs
):
3754 """GetFilename(self) -> String"""
3755 return _windows_
.PrintData_GetFilename(*args
, **kwargs
)
3757 def GetFontMetricPath(*args
, **kwargs
):
3758 """GetFontMetricPath(self) -> String"""
3759 return _windows_
.PrintData_GetFontMetricPath(*args
, **kwargs
)
3761 def GetPrinterScaleX(*args
, **kwargs
):
3762 """GetPrinterScaleX(self) -> double"""
3763 return _windows_
.PrintData_GetPrinterScaleX(*args
, **kwargs
)
3765 def GetPrinterScaleY(*args
, **kwargs
):
3766 """GetPrinterScaleY(self) -> double"""
3767 return _windows_
.PrintData_GetPrinterScaleY(*args
, **kwargs
)
3769 def GetPrinterTranslateX(*args
, **kwargs
):
3770 """GetPrinterTranslateX(self) -> long"""
3771 return _windows_
.PrintData_GetPrinterTranslateX(*args
, **kwargs
)
3773 def GetPrinterTranslateY(*args
, **kwargs
):
3774 """GetPrinterTranslateY(self) -> long"""
3775 return _windows_
.PrintData_GetPrinterTranslateY(*args
, **kwargs
)
3777 def GetPrintMode(*args
, **kwargs
):
3778 """GetPrintMode(self) -> int"""
3779 return _windows_
.PrintData_GetPrintMode(*args
, **kwargs
)
3781 def SetPrinterCommand(*args
, **kwargs
):
3782 """SetPrinterCommand(self, String command)"""
3783 return _windows_
.PrintData_SetPrinterCommand(*args
, **kwargs
)
3785 def SetPrinterOptions(*args
, **kwargs
):
3786 """SetPrinterOptions(self, String options)"""
3787 return _windows_
.PrintData_SetPrinterOptions(*args
, **kwargs
)
3789 def SetPreviewCommand(*args
, **kwargs
):
3790 """SetPreviewCommand(self, String command)"""
3791 return _windows_
.PrintData_SetPreviewCommand(*args
, **kwargs
)
3793 def SetFilename(*args
, **kwargs
):
3794 """SetFilename(self, String filename)"""
3795 return _windows_
.PrintData_SetFilename(*args
, **kwargs
)
3797 def SetFontMetricPath(*args
, **kwargs
):
3798 """SetFontMetricPath(self, String path)"""
3799 return _windows_
.PrintData_SetFontMetricPath(*args
, **kwargs
)
3801 def SetPrinterScaleX(*args
, **kwargs
):
3802 """SetPrinterScaleX(self, double x)"""
3803 return _windows_
.PrintData_SetPrinterScaleX(*args
, **kwargs
)
3805 def SetPrinterScaleY(*args
, **kwargs
):
3806 """SetPrinterScaleY(self, double y)"""
3807 return _windows_
.PrintData_SetPrinterScaleY(*args
, **kwargs
)
3809 def SetPrinterScaling(*args
, **kwargs
):
3810 """SetPrinterScaling(self, double x, double y)"""
3811 return _windows_
.PrintData_SetPrinterScaling(*args
, **kwargs
)
3813 def SetPrinterTranslateX(*args
, **kwargs
):
3814 """SetPrinterTranslateX(self, long x)"""
3815 return _windows_
.PrintData_SetPrinterTranslateX(*args
, **kwargs
)
3817 def SetPrinterTranslateY(*args
, **kwargs
):
3818 """SetPrinterTranslateY(self, long y)"""
3819 return _windows_
.PrintData_SetPrinterTranslateY(*args
, **kwargs
)
3821 def SetPrinterTranslation(*args
, **kwargs
):
3822 """SetPrinterTranslation(self, long x, long y)"""
3823 return _windows_
.PrintData_SetPrinterTranslation(*args
, **kwargs
)
3825 def SetPrintMode(*args
, **kwargs
):
3826 """SetPrintMode(self, int printMode)"""
3827 return _windows_
.PrintData_SetPrintMode(*args
, **kwargs
)
3829 def GetOutputStream(*args
, **kwargs
):
3830 """GetOutputStream(self) -> OutputStream"""
3831 return _windows_
.PrintData_GetOutputStream(*args
, **kwargs
)
3833 def SetOutputStream(*args
, **kwargs
):
3834 """SetOutputStream(self, OutputStream outputstream)"""
3835 return _windows_
.PrintData_SetOutputStream(*args
, **kwargs
)
3837 def __nonzero__(self
): return self
.Ok()
3839 class PrintDataPtr(PrintData
):
3840 def __init__(self
, this
):
3842 if not hasattr(self
,"thisown"): self
.thisown
= 0
3843 self
.__class
__ = PrintData
3844 _windows_
.PrintData_swigregister(PrintDataPtr
)
3845 PrintoutTitleStr
= cvar
.PrintoutTitleStr
3846 PreviewCanvasNameStr
= cvar
.PreviewCanvasNameStr
3848 class PageSetupDialogData(_core
.Object
):
3850 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3851 def __init__(self
, *args
):
3853 __init__(self) -> PageSetupDialogData
3854 __init__(self, PageSetupDialogData data) -> PageSetupDialogData
3856 newobj
= _windows_
.new_PageSetupDialogData(*args
)
3857 self
.this
= newobj
.this
3860 def __del__(self
, destroy
=_windows_
.delete_PageSetupDialogData
):
3863 if self
.thisown
: destroy(self
)
3866 def EnableHelp(*args
, **kwargs
):
3867 """EnableHelp(self, bool flag)"""
3868 return _windows_
.PageSetupDialogData_EnableHelp(*args
, **kwargs
)
3870 def EnableMargins(*args
, **kwargs
):
3871 """EnableMargins(self, bool flag)"""
3872 return _windows_
.PageSetupDialogData_EnableMargins(*args
, **kwargs
)
3874 def EnableOrientation(*args
, **kwargs
):
3875 """EnableOrientation(self, bool flag)"""
3876 return _windows_
.PageSetupDialogData_EnableOrientation(*args
, **kwargs
)
3878 def EnablePaper(*args
, **kwargs
):
3879 """EnablePaper(self, bool flag)"""
3880 return _windows_
.PageSetupDialogData_EnablePaper(*args
, **kwargs
)
3882 def EnablePrinter(*args
, **kwargs
):
3883 """EnablePrinter(self, bool flag)"""
3884 return _windows_
.PageSetupDialogData_EnablePrinter(*args
, **kwargs
)
3886 def GetDefaultMinMargins(*args
, **kwargs
):
3887 """GetDefaultMinMargins(self) -> bool"""
3888 return _windows_
.PageSetupDialogData_GetDefaultMinMargins(*args
, **kwargs
)
3890 def GetEnableMargins(*args
, **kwargs
):
3891 """GetEnableMargins(self) -> bool"""
3892 return _windows_
.PageSetupDialogData_GetEnableMargins(*args
, **kwargs
)
3894 def GetEnableOrientation(*args
, **kwargs
):
3895 """GetEnableOrientation(self) -> bool"""
3896 return _windows_
.PageSetupDialogData_GetEnableOrientation(*args
, **kwargs
)
3898 def GetEnablePaper(*args
, **kwargs
):
3899 """GetEnablePaper(self) -> bool"""
3900 return _windows_
.PageSetupDialogData_GetEnablePaper(*args
, **kwargs
)
3902 def GetEnablePrinter(*args
, **kwargs
):
3903 """GetEnablePrinter(self) -> bool"""
3904 return _windows_
.PageSetupDialogData_GetEnablePrinter(*args
, **kwargs
)
3906 def GetEnableHelp(*args
, **kwargs
):
3907 """GetEnableHelp(self) -> bool"""
3908 return _windows_
.PageSetupDialogData_GetEnableHelp(*args
, **kwargs
)
3910 def GetDefaultInfo(*args
, **kwargs
):
3911 """GetDefaultInfo(self) -> bool"""
3912 return _windows_
.PageSetupDialogData_GetDefaultInfo(*args
, **kwargs
)
3914 def GetMarginTopLeft(*args
, **kwargs
):
3915 """GetMarginTopLeft(self) -> Point"""
3916 return _windows_
.PageSetupDialogData_GetMarginTopLeft(*args
, **kwargs
)
3918 def GetMarginBottomRight(*args
, **kwargs
):
3919 """GetMarginBottomRight(self) -> Point"""
3920 return _windows_
.PageSetupDialogData_GetMarginBottomRight(*args
, **kwargs
)
3922 def GetMinMarginTopLeft(*args
, **kwargs
):
3923 """GetMinMarginTopLeft(self) -> Point"""
3924 return _windows_
.PageSetupDialogData_GetMinMarginTopLeft(*args
, **kwargs
)
3926 def GetMinMarginBottomRight(*args
, **kwargs
):
3927 """GetMinMarginBottomRight(self) -> Point"""
3928 return _windows_
.PageSetupDialogData_GetMinMarginBottomRight(*args
, **kwargs
)
3930 def GetPaperId(*args
, **kwargs
):
3931 """GetPaperId(self) -> int"""
3932 return _windows_
.PageSetupDialogData_GetPaperId(*args
, **kwargs
)
3934 def GetPaperSize(*args
, **kwargs
):
3935 """GetPaperSize(self) -> Size"""
3936 return _windows_
.PageSetupDialogData_GetPaperSize(*args
, **kwargs
)
3938 def GetPrintData(*args
, **kwargs
):
3939 """GetPrintData(self) -> PrintData"""
3940 return _windows_
.PageSetupDialogData_GetPrintData(*args
, **kwargs
)
3942 def Ok(*args
, **kwargs
):
3943 """Ok(self) -> bool"""
3944 return _windows_
.PageSetupDialogData_Ok(*args
, **kwargs
)
3946 def SetDefaultInfo(*args
, **kwargs
):
3947 """SetDefaultInfo(self, bool flag)"""
3948 return _windows_
.PageSetupDialogData_SetDefaultInfo(*args
, **kwargs
)
3950 def SetDefaultMinMargins(*args
, **kwargs
):
3951 """SetDefaultMinMargins(self, bool flag)"""
3952 return _windows_
.PageSetupDialogData_SetDefaultMinMargins(*args
, **kwargs
)
3954 def SetMarginTopLeft(*args
, **kwargs
):
3955 """SetMarginTopLeft(self, Point pt)"""
3956 return _windows_
.PageSetupDialogData_SetMarginTopLeft(*args
, **kwargs
)
3958 def SetMarginBottomRight(*args
, **kwargs
):
3959 """SetMarginBottomRight(self, Point pt)"""
3960 return _windows_
.PageSetupDialogData_SetMarginBottomRight(*args
, **kwargs
)
3962 def SetMinMarginTopLeft(*args
, **kwargs
):
3963 """SetMinMarginTopLeft(self, Point pt)"""
3964 return _windows_
.PageSetupDialogData_SetMinMarginTopLeft(*args
, **kwargs
)
3966 def SetMinMarginBottomRight(*args
, **kwargs
):
3967 """SetMinMarginBottomRight(self, Point pt)"""
3968 return _windows_
.PageSetupDialogData_SetMinMarginBottomRight(*args
, **kwargs
)
3970 def SetPaperId(*args
, **kwargs
):
3971 """SetPaperId(self, int id)"""
3972 return _windows_
.PageSetupDialogData_SetPaperId(*args
, **kwargs
)
3974 def SetPaperSize(*args
, **kwargs
):
3975 """SetPaperSize(self, Size size)"""
3976 return _windows_
.PageSetupDialogData_SetPaperSize(*args
, **kwargs
)
3978 def SetPrintData(*args
, **kwargs
):
3979 """SetPrintData(self, PrintData printData)"""
3980 return _windows_
.PageSetupDialogData_SetPrintData(*args
, **kwargs
)
3982 def __nonzero__(self
): return self
.Ok()
3984 class PageSetupDialogDataPtr(PageSetupDialogData
):
3985 def __init__(self
, this
):
3987 if not hasattr(self
,"thisown"): self
.thisown
= 0
3988 self
.__class
__ = PageSetupDialogData
3989 _windows_
.PageSetupDialogData_swigregister(PageSetupDialogDataPtr
)
3991 class PageSetupDialog(Dialog
):
3993 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3994 def __init__(self
, *args
, **kwargs
):
3995 """__init__(self, Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
3996 newobj
= _windows_
.new_PageSetupDialog(*args
, **kwargs
)
3997 self
.this
= newobj
.this
4000 self
._setOORInfo
(self
)
4002 def GetPageSetupData(*args
, **kwargs
):
4003 """GetPageSetupData(self) -> PageSetupDialogData"""
4004 return _windows_
.PageSetupDialog_GetPageSetupData(*args
, **kwargs
)
4006 def ShowModal(*args
, **kwargs
):
4007 """ShowModal(self) -> int"""
4008 return _windows_
.PageSetupDialog_ShowModal(*args
, **kwargs
)
4011 class PageSetupDialogPtr(PageSetupDialog
):
4012 def __init__(self
, this
):
4014 if not hasattr(self
,"thisown"): self
.thisown
= 0
4015 self
.__class
__ = PageSetupDialog
4016 _windows_
.PageSetupDialog_swigregister(PageSetupDialogPtr
)
4018 class PrintDialogData(_core
.Object
):
4020 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4021 def __init__(self
, *args
):
4023 __init__(self) -> PrintDialogData
4024 __init__(self, PrintData printData) -> PrintDialogData
4026 newobj
= _windows_
.new_PrintDialogData(*args
)
4027 self
.this
= newobj
.this
4030 def __del__(self
, destroy
=_windows_
.delete_PrintDialogData
):
4033 if self
.thisown
: destroy(self
)
4036 def GetFromPage(*args
, **kwargs
):
4037 """GetFromPage(self) -> int"""
4038 return _windows_
.PrintDialogData_GetFromPage(*args
, **kwargs
)
4040 def GetToPage(*args
, **kwargs
):
4041 """GetToPage(self) -> int"""
4042 return _windows_
.PrintDialogData_GetToPage(*args
, **kwargs
)
4044 def GetMinPage(*args
, **kwargs
):
4045 """GetMinPage(self) -> int"""
4046 return _windows_
.PrintDialogData_GetMinPage(*args
, **kwargs
)
4048 def GetMaxPage(*args
, **kwargs
):
4049 """GetMaxPage(self) -> int"""
4050 return _windows_
.PrintDialogData_GetMaxPage(*args
, **kwargs
)
4052 def GetNoCopies(*args
, **kwargs
):
4053 """GetNoCopies(self) -> int"""
4054 return _windows_
.PrintDialogData_GetNoCopies(*args
, **kwargs
)
4056 def GetAllPages(*args
, **kwargs
):
4057 """GetAllPages(self) -> bool"""
4058 return _windows_
.PrintDialogData_GetAllPages(*args
, **kwargs
)
4060 def GetSelection(*args
, **kwargs
):
4061 """GetSelection(self) -> bool"""
4062 return _windows_
.PrintDialogData_GetSelection(*args
, **kwargs
)
4064 def GetCollate(*args
, **kwargs
):
4065 """GetCollate(self) -> bool"""
4066 return _windows_
.PrintDialogData_GetCollate(*args
, **kwargs
)
4068 def GetPrintToFile(*args
, **kwargs
):
4069 """GetPrintToFile(self) -> bool"""
4070 return _windows_
.PrintDialogData_GetPrintToFile(*args
, **kwargs
)
4072 def GetSetupDialog(*args
, **kwargs
):
4073 """GetSetupDialog(self) -> bool"""
4074 return _windows_
.PrintDialogData_GetSetupDialog(*args
, **kwargs
)
4076 def SetFromPage(*args
, **kwargs
):
4077 """SetFromPage(self, int v)"""
4078 return _windows_
.PrintDialogData_SetFromPage(*args
, **kwargs
)
4080 def SetToPage(*args
, **kwargs
):
4081 """SetToPage(self, int v)"""
4082 return _windows_
.PrintDialogData_SetToPage(*args
, **kwargs
)
4084 def SetMinPage(*args
, **kwargs
):
4085 """SetMinPage(self, int v)"""
4086 return _windows_
.PrintDialogData_SetMinPage(*args
, **kwargs
)
4088 def SetMaxPage(*args
, **kwargs
):
4089 """SetMaxPage(self, int v)"""
4090 return _windows_
.PrintDialogData_SetMaxPage(*args
, **kwargs
)
4092 def SetNoCopies(*args
, **kwargs
):
4093 """SetNoCopies(self, int v)"""
4094 return _windows_
.PrintDialogData_SetNoCopies(*args
, **kwargs
)
4096 def SetAllPages(*args
, **kwargs
):
4097 """SetAllPages(self, bool flag)"""
4098 return _windows_
.PrintDialogData_SetAllPages(*args
, **kwargs
)
4100 def SetSelection(*args
, **kwargs
):
4101 """SetSelection(self, bool flag)"""
4102 return _windows_
.PrintDialogData_SetSelection(*args
, **kwargs
)
4104 def SetCollate(*args
, **kwargs
):
4105 """SetCollate(self, bool flag)"""
4106 return _windows_
.PrintDialogData_SetCollate(*args
, **kwargs
)
4108 def SetPrintToFile(*args
, **kwargs
):
4109 """SetPrintToFile(self, bool flag)"""
4110 return _windows_
.PrintDialogData_SetPrintToFile(*args
, **kwargs
)
4112 def SetSetupDialog(*args
, **kwargs
):
4113 """SetSetupDialog(self, bool flag)"""
4114 return _windows_
.PrintDialogData_SetSetupDialog(*args
, **kwargs
)
4116 def EnablePrintToFile(*args
, **kwargs
):
4117 """EnablePrintToFile(self, bool flag)"""
4118 return _windows_
.PrintDialogData_EnablePrintToFile(*args
, **kwargs
)
4120 def EnableSelection(*args
, **kwargs
):
4121 """EnableSelection(self, bool flag)"""
4122 return _windows_
.PrintDialogData_EnableSelection(*args
, **kwargs
)
4124 def EnablePageNumbers(*args
, **kwargs
):
4125 """EnablePageNumbers(self, bool flag)"""
4126 return _windows_
.PrintDialogData_EnablePageNumbers(*args
, **kwargs
)
4128 def EnableHelp(*args
, **kwargs
):
4129 """EnableHelp(self, bool flag)"""
4130 return _windows_
.PrintDialogData_EnableHelp(*args
, **kwargs
)
4132 def GetEnablePrintToFile(*args
, **kwargs
):
4133 """GetEnablePrintToFile(self) -> bool"""
4134 return _windows_
.PrintDialogData_GetEnablePrintToFile(*args
, **kwargs
)
4136 def GetEnableSelection(*args
, **kwargs
):
4137 """GetEnableSelection(self) -> bool"""
4138 return _windows_
.PrintDialogData_GetEnableSelection(*args
, **kwargs
)
4140 def GetEnablePageNumbers(*args
, **kwargs
):
4141 """GetEnablePageNumbers(self) -> bool"""
4142 return _windows_
.PrintDialogData_GetEnablePageNumbers(*args
, **kwargs
)
4144 def GetEnableHelp(*args
, **kwargs
):
4145 """GetEnableHelp(self) -> bool"""
4146 return _windows_
.PrintDialogData_GetEnableHelp(*args
, **kwargs
)
4148 def Ok(*args
, **kwargs
):
4149 """Ok(self) -> bool"""
4150 return _windows_
.PrintDialogData_Ok(*args
, **kwargs
)
4152 def GetPrintData(*args
, **kwargs
):
4153 """GetPrintData(self) -> PrintData"""
4154 return _windows_
.PrintDialogData_GetPrintData(*args
, **kwargs
)
4156 def SetPrintData(*args
, **kwargs
):
4157 """SetPrintData(self, PrintData printData)"""
4158 return _windows_
.PrintDialogData_SetPrintData(*args
, **kwargs
)
4160 def __nonzero__(self
): return self
.Ok()
4162 class PrintDialogDataPtr(PrintDialogData
):
4163 def __init__(self
, this
):
4165 if not hasattr(self
,"thisown"): self
.thisown
= 0
4166 self
.__class
__ = PrintDialogData
4167 _windows_
.PrintDialogData_swigregister(PrintDialogDataPtr
)
4169 class PrintDialog(Dialog
):
4171 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4172 def __init__(self
, *args
, **kwargs
):
4173 """__init__(self, Window parent, PrintDialogData data=None) -> PrintDialog"""
4174 newobj
= _windows_
.new_PrintDialog(*args
, **kwargs
)
4175 self
.this
= newobj
.this
4178 self
._setOORInfo
(self
)
4180 def GetPrintDialogData(*args
, **kwargs
):
4181 """GetPrintDialogData(self) -> PrintDialogData"""
4182 return _windows_
.PrintDialog_GetPrintDialogData(*args
, **kwargs
)
4184 def GetPrintDC(*args
, **kwargs
):
4185 """GetPrintDC(self) -> DC"""
4186 return _windows_
.PrintDialog_GetPrintDC(*args
, **kwargs
)
4188 def ShowModal(*args
, **kwargs
):
4189 """ShowModal(self) -> int"""
4190 return _windows_
.PrintDialog_ShowModal(*args
, **kwargs
)
4193 class PrintDialogPtr(PrintDialog
):
4194 def __init__(self
, this
):
4196 if not hasattr(self
,"thisown"): self
.thisown
= 0
4197 self
.__class
__ = PrintDialog
4198 _windows_
.PrintDialog_swigregister(PrintDialogPtr
)
4200 PRINTER_NO_ERROR
= _windows_
.PRINTER_NO_ERROR
4201 PRINTER_CANCELLED
= _windows_
.PRINTER_CANCELLED
4202 PRINTER_ERROR
= _windows_
.PRINTER_ERROR
4203 class Printer(_core
.Object
):
4205 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4206 def __init__(self
, *args
, **kwargs
):
4207 """__init__(self, PrintDialogData data=None) -> Printer"""
4208 newobj
= _windows_
.new_Printer(*args
, **kwargs
)
4209 self
.this
= newobj
.this
4212 def __del__(self
, destroy
=_windows_
.delete_Printer
):
4215 if self
.thisown
: destroy(self
)
4218 def CreateAbortWindow(*args
, **kwargs
):
4219 """CreateAbortWindow(self, Window parent, Printout printout)"""
4220 return _windows_
.Printer_CreateAbortWindow(*args
, **kwargs
)
4222 def GetPrintDialogData(*args
, **kwargs
):
4223 """GetPrintDialogData(self) -> PrintDialogData"""
4224 return _windows_
.Printer_GetPrintDialogData(*args
, **kwargs
)
4226 def Print(*args
, **kwargs
):
4227 """Print(self, Window parent, Printout printout, int prompt=True) -> bool"""
4228 return _windows_
.Printer_Print(*args
, **kwargs
)
4230 def PrintDialog(*args
, **kwargs
):
4231 """PrintDialog(self, Window parent) -> DC"""
4232 return _windows_
.Printer_PrintDialog(*args
, **kwargs
)
4234 def ReportError(*args
, **kwargs
):
4235 """ReportError(self, Window parent, Printout printout, String message)"""
4236 return _windows_
.Printer_ReportError(*args
, **kwargs
)
4238 def Setup(*args
, **kwargs
):
4239 """Setup(self, Window parent) -> bool"""
4240 return _windows_
.Printer_Setup(*args
, **kwargs
)
4242 def GetAbort(*args
, **kwargs
):
4243 """GetAbort(self) -> bool"""
4244 return _windows_
.Printer_GetAbort(*args
, **kwargs
)
4246 def GetLastError(*args
, **kwargs
):
4247 """GetLastError() -> int"""
4248 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4250 GetLastError
= staticmethod(GetLastError
)
4252 class PrinterPtr(Printer
):
4253 def __init__(self
, this
):
4255 if not hasattr(self
,"thisown"): self
.thisown
= 0
4256 self
.__class
__ = Printer
4257 _windows_
.Printer_swigregister(PrinterPtr
)
4259 def Printer_GetLastError(*args
, **kwargs
):
4260 """Printer_GetLastError() -> int"""
4261 return _windows_
.Printer_GetLastError(*args
, **kwargs
)
4263 class Printout(_core
.Object
):
4265 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4266 def __init__(self
, *args
, **kwargs
):
4267 """__init__(self, String title=PrintoutTitleStr) -> Printout"""
4268 newobj
= _windows_
.new_Printout(*args
, **kwargs
)
4269 self
.this
= newobj
.this
4272 self
._setCallbackInfo
(self
, Printout
)
4274 def _setCallbackInfo(*args
, **kwargs
):
4275 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4276 return _windows_
.Printout__setCallbackInfo(*args
, **kwargs
)
4278 def GetTitle(*args
, **kwargs
):
4279 """GetTitle(self) -> String"""
4280 return _windows_
.Printout_GetTitle(*args
, **kwargs
)
4282 def GetDC(*args
, **kwargs
):
4283 """GetDC(self) -> DC"""
4284 return _windows_
.Printout_GetDC(*args
, **kwargs
)
4286 def SetDC(*args
, **kwargs
):
4287 """SetDC(self, DC dc)"""
4288 return _windows_
.Printout_SetDC(*args
, **kwargs
)
4290 def SetPageSizePixels(*args
, **kwargs
):
4291 """SetPageSizePixels(self, int w, int h)"""
4292 return _windows_
.Printout_SetPageSizePixels(*args
, **kwargs
)
4294 def GetPageSizePixels(*args
, **kwargs
):
4295 """GetPageSizePixels() -> (w, h)"""
4296 return _windows_
.Printout_GetPageSizePixels(*args
, **kwargs
)
4298 def SetPageSizeMM(*args
, **kwargs
):
4299 """SetPageSizeMM(self, int w, int h)"""
4300 return _windows_
.Printout_SetPageSizeMM(*args
, **kwargs
)
4302 def GetPageSizeMM(*args
, **kwargs
):
4303 """GetPageSizeMM() -> (w, h)"""
4304 return _windows_
.Printout_GetPageSizeMM(*args
, **kwargs
)
4306 def SetPPIScreen(*args
, **kwargs
):
4307 """SetPPIScreen(self, int x, int y)"""
4308 return _windows_
.Printout_SetPPIScreen(*args
, **kwargs
)
4310 def GetPPIScreen(*args
, **kwargs
):
4311 """GetPPIScreen() -> (x,y)"""
4312 return _windows_
.Printout_GetPPIScreen(*args
, **kwargs
)
4314 def SetPPIPrinter(*args
, **kwargs
):
4315 """SetPPIPrinter(self, int x, int y)"""
4316 return _windows_
.Printout_SetPPIPrinter(*args
, **kwargs
)
4318 def GetPPIPrinter(*args
, **kwargs
):
4319 """GetPPIPrinter() -> (x,y)"""
4320 return _windows_
.Printout_GetPPIPrinter(*args
, **kwargs
)
4322 def IsPreview(*args
, **kwargs
):
4323 """IsPreview(self) -> bool"""
4324 return _windows_
.Printout_IsPreview(*args
, **kwargs
)
4326 def SetIsPreview(*args
, **kwargs
):
4327 """SetIsPreview(self, bool p)"""
4328 return _windows_
.Printout_SetIsPreview(*args
, **kwargs
)
4330 def base_OnBeginDocument(*args
, **kwargs
):
4331 """base_OnBeginDocument(self, int startPage, int endPage) -> bool"""
4332 return _windows_
.Printout_base_OnBeginDocument(*args
, **kwargs
)
4334 def base_OnEndDocument(*args
, **kwargs
):
4335 """base_OnEndDocument(self)"""
4336 return _windows_
.Printout_base_OnEndDocument(*args
, **kwargs
)
4338 def base_OnBeginPrinting(*args
, **kwargs
):
4339 """base_OnBeginPrinting(self)"""
4340 return _windows_
.Printout_base_OnBeginPrinting(*args
, **kwargs
)
4342 def base_OnEndPrinting(*args
, **kwargs
):
4343 """base_OnEndPrinting(self)"""
4344 return _windows_
.Printout_base_OnEndPrinting(*args
, **kwargs
)
4346 def base_OnPreparePrinting(*args
, **kwargs
):
4347 """base_OnPreparePrinting(self)"""
4348 return _windows_
.Printout_base_OnPreparePrinting(*args
, **kwargs
)
4350 def base_HasPage(*args
, **kwargs
):
4351 """base_HasPage(self, int page) -> bool"""
4352 return _windows_
.Printout_base_HasPage(*args
, **kwargs
)
4354 def base_GetPageInfo(*args
, **kwargs
):
4355 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
4356 return _windows_
.Printout_base_GetPageInfo(*args
, **kwargs
)
4359 class PrintoutPtr(Printout
):
4360 def __init__(self
, this
):
4362 if not hasattr(self
,"thisown"): self
.thisown
= 0
4363 self
.__class
__ = Printout
4364 _windows_
.Printout_swigregister(PrintoutPtr
)
4366 class PreviewCanvas(ScrolledWindow
):
4368 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4369 def __init__(self
, *args
, **kwargs
):
4371 __init__(self, PrintPreview preview, Window parent, Point pos=DefaultPosition,
4372 Size size=DefaultSize, long style=0,
4373 String name=PreviewCanvasNameStr) -> PreviewCanvas
4375 newobj
= _windows_
.new_PreviewCanvas(*args
, **kwargs
)
4376 self
.this
= newobj
.this
4379 self
._setOORInfo
(self
)
4382 class PreviewCanvasPtr(PreviewCanvas
):
4383 def __init__(self
, this
):
4385 if not hasattr(self
,"thisown"): self
.thisown
= 0
4386 self
.__class
__ = PreviewCanvas
4387 _windows_
.PreviewCanvas_swigregister(PreviewCanvasPtr
)
4389 class PreviewFrame(Frame
):
4391 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4392 def __init__(self
, *args
, **kwargs
):
4394 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4395 Size size=DefaultSize,
4396 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
4398 newobj
= _windows_
.new_PreviewFrame(*args
, **kwargs
)
4399 self
.this
= newobj
.this
4402 self
._setOORInfo
(self
)
4404 def Initialize(*args
, **kwargs
):
4405 """Initialize(self)"""
4406 return _windows_
.PreviewFrame_Initialize(*args
, **kwargs
)
4408 def CreateControlBar(*args
, **kwargs
):
4409 """CreateControlBar(self)"""
4410 return _windows_
.PreviewFrame_CreateControlBar(*args
, **kwargs
)
4412 def CreateCanvas(*args
, **kwargs
):
4413 """CreateCanvas(self)"""
4414 return _windows_
.PreviewFrame_CreateCanvas(*args
, **kwargs
)
4416 def GetControlBar(*args
, **kwargs
):
4417 """GetControlBar(self) -> PreviewControlBar"""
4418 return _windows_
.PreviewFrame_GetControlBar(*args
, **kwargs
)
4421 class PreviewFramePtr(PreviewFrame
):
4422 def __init__(self
, this
):
4424 if not hasattr(self
,"thisown"): self
.thisown
= 0
4425 self
.__class
__ = PreviewFrame
4426 _windows_
.PreviewFrame_swigregister(PreviewFramePtr
)
4428 PREVIEW_PRINT
= _windows_
.PREVIEW_PRINT
4429 PREVIEW_PREVIOUS
= _windows_
.PREVIEW_PREVIOUS
4430 PREVIEW_NEXT
= _windows_
.PREVIEW_NEXT
4431 PREVIEW_ZOOM
= _windows_
.PREVIEW_ZOOM
4432 PREVIEW_FIRST
= _windows_
.PREVIEW_FIRST
4433 PREVIEW_LAST
= _windows_
.PREVIEW_LAST
4434 PREVIEW_GOTO
= _windows_
.PREVIEW_GOTO
4435 PREVIEW_DEFAULT
= _windows_
.PREVIEW_DEFAULT
4436 ID_PREVIEW_CLOSE
= _windows_
.ID_PREVIEW_CLOSE
4437 ID_PREVIEW_NEXT
= _windows_
.ID_PREVIEW_NEXT
4438 ID_PREVIEW_PREVIOUS
= _windows_
.ID_PREVIEW_PREVIOUS
4439 ID_PREVIEW_PRINT
= _windows_
.ID_PREVIEW_PRINT
4440 ID_PREVIEW_ZOOM
= _windows_
.ID_PREVIEW_ZOOM
4441 ID_PREVIEW_FIRST
= _windows_
.ID_PREVIEW_FIRST
4442 ID_PREVIEW_LAST
= _windows_
.ID_PREVIEW_LAST
4443 ID_PREVIEW_GOTO
= _windows_
.ID_PREVIEW_GOTO
4444 class PreviewControlBar(Panel
):
4446 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4447 def __init__(self
, *args
, **kwargs
):
4449 __init__(self, PrintPreview preview, long buttons, Window parent,
4450 Point pos=DefaultPosition, Size size=DefaultSize,
4451 long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
4453 newobj
= _windows_
.new_PreviewControlBar(*args
, **kwargs
)
4454 self
.this
= newobj
.this
4457 self
._setOORInfo
(self
)
4459 def GetZoomControl(*args
, **kwargs
):
4460 """GetZoomControl(self) -> int"""
4461 return _windows_
.PreviewControlBar_GetZoomControl(*args
, **kwargs
)
4463 def SetZoomControl(*args
, **kwargs
):
4464 """SetZoomControl(self, int zoom)"""
4465 return _windows_
.PreviewControlBar_SetZoomControl(*args
, **kwargs
)
4467 def GetPrintPreview(*args
, **kwargs
):
4468 """GetPrintPreview(self) -> PrintPreview"""
4469 return _windows_
.PreviewControlBar_GetPrintPreview(*args
, **kwargs
)
4471 def OnNext(*args
, **kwargs
):
4473 return _windows_
.PreviewControlBar_OnNext(*args
, **kwargs
)
4475 def OnPrevious(*args
, **kwargs
):
4476 """OnPrevious(self)"""
4477 return _windows_
.PreviewControlBar_OnPrevious(*args
, **kwargs
)
4479 def OnFirst(*args
, **kwargs
):
4481 return _windows_
.PreviewControlBar_OnFirst(*args
, **kwargs
)
4483 def OnLast(*args
, **kwargs
):
4485 return _windows_
.PreviewControlBar_OnLast(*args
, **kwargs
)
4487 def OnGoto(*args
, **kwargs
):
4489 return _windows_
.PreviewControlBar_OnGoto(*args
, **kwargs
)
4492 class PreviewControlBarPtr(PreviewControlBar
):
4493 def __init__(self
, this
):
4495 if not hasattr(self
,"thisown"): self
.thisown
= 0
4496 self
.__class
__ = PreviewControlBar
4497 _windows_
.PreviewControlBar_swigregister(PreviewControlBarPtr
)
4499 class PrintPreview(_core
.Object
):
4501 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4502 def __init__(self
, *args
):
4504 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview
4505 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview
4507 newobj
= _windows_
.new_PrintPreview(*args
)
4508 self
.this
= newobj
.this
4511 def SetCurrentPage(*args
, **kwargs
):
4512 """SetCurrentPage(self, int pageNum) -> bool"""
4513 return _windows_
.PrintPreview_SetCurrentPage(*args
, **kwargs
)
4515 def GetCurrentPage(*args
, **kwargs
):
4516 """GetCurrentPage(self) -> int"""
4517 return _windows_
.PrintPreview_GetCurrentPage(*args
, **kwargs
)
4519 def SetPrintout(*args
, **kwargs
):
4520 """SetPrintout(self, Printout printout)"""
4521 return _windows_
.PrintPreview_SetPrintout(*args
, **kwargs
)
4523 def GetPrintout(*args
, **kwargs
):
4524 """GetPrintout(self) -> Printout"""
4525 return _windows_
.PrintPreview_GetPrintout(*args
, **kwargs
)
4527 def GetPrintoutForPrinting(*args
, **kwargs
):
4528 """GetPrintoutForPrinting(self) -> Printout"""
4529 return _windows_
.PrintPreview_GetPrintoutForPrinting(*args
, **kwargs
)
4531 def SetFrame(*args
, **kwargs
):
4532 """SetFrame(self, Frame frame)"""
4533 return _windows_
.PrintPreview_SetFrame(*args
, **kwargs
)
4535 def SetCanvas(*args
, **kwargs
):
4536 """SetCanvas(self, PreviewCanvas canvas)"""
4537 return _windows_
.PrintPreview_SetCanvas(*args
, **kwargs
)
4539 def GetFrame(*args
, **kwargs
):
4540 """GetFrame(self) -> Frame"""
4541 return _windows_
.PrintPreview_GetFrame(*args
, **kwargs
)
4543 def GetCanvas(*args
, **kwargs
):
4544 """GetCanvas(self) -> PreviewCanvas"""
4545 return _windows_
.PrintPreview_GetCanvas(*args
, **kwargs
)
4547 def PaintPage(*args
, **kwargs
):
4548 """PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4549 return _windows_
.PrintPreview_PaintPage(*args
, **kwargs
)
4551 def DrawBlankPage(*args
, **kwargs
):
4552 """DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4553 return _windows_
.PrintPreview_DrawBlankPage(*args
, **kwargs
)
4555 def RenderPage(*args
, **kwargs
):
4556 """RenderPage(self, int pageNum) -> bool"""
4557 return _windows_
.PrintPreview_RenderPage(*args
, **kwargs
)
4559 def AdjustScrollbars(*args
, **kwargs
):
4560 """AdjustScrollbars(self, PreviewCanvas canvas)"""
4561 return _windows_
.PrintPreview_AdjustScrollbars(*args
, **kwargs
)
4563 def GetPrintDialogData(*args
, **kwargs
):
4564 """GetPrintDialogData(self) -> PrintDialogData"""
4565 return _windows_
.PrintPreview_GetPrintDialogData(*args
, **kwargs
)
4567 def SetZoom(*args
, **kwargs
):
4568 """SetZoom(self, int percent)"""
4569 return _windows_
.PrintPreview_SetZoom(*args
, **kwargs
)
4571 def GetZoom(*args
, **kwargs
):
4572 """GetZoom(self) -> int"""
4573 return _windows_
.PrintPreview_GetZoom(*args
, **kwargs
)
4575 def GetMaxPage(*args
, **kwargs
):
4576 """GetMaxPage(self) -> int"""
4577 return _windows_
.PrintPreview_GetMaxPage(*args
, **kwargs
)
4579 def GetMinPage(*args
, **kwargs
):
4580 """GetMinPage(self) -> int"""
4581 return _windows_
.PrintPreview_GetMinPage(*args
, **kwargs
)
4583 def Ok(*args
, **kwargs
):
4584 """Ok(self) -> bool"""
4585 return _windows_
.PrintPreview_Ok(*args
, **kwargs
)
4587 def SetOk(*args
, **kwargs
):
4588 """SetOk(self, bool ok)"""
4589 return _windows_
.PrintPreview_SetOk(*args
, **kwargs
)
4591 def Print(*args
, **kwargs
):
4592 """Print(self, bool interactive) -> bool"""
4593 return _windows_
.PrintPreview_Print(*args
, **kwargs
)
4595 def DetermineScaling(*args
, **kwargs
):
4596 """DetermineScaling(self)"""
4597 return _windows_
.PrintPreview_DetermineScaling(*args
, **kwargs
)
4599 def __nonzero__(self
): return self
.Ok()
4601 class PrintPreviewPtr(PrintPreview
):
4602 def __init__(self
, this
):
4604 if not hasattr(self
,"thisown"): self
.thisown
= 0
4605 self
.__class
__ = PrintPreview
4606 _windows_
.PrintPreview_swigregister(PrintPreviewPtr
)
4608 class PyPrintPreview(PrintPreview
):
4610 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4611 def __init__(self
, *args
):
4613 __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview
4614 __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview
4616 newobj
= _windows_
.new_PyPrintPreview(*args
)
4617 self
.this
= newobj
.this
4620 self
._setCallbackInfo
(self
, PyPrintPreview
)
4622 def _setCallbackInfo(*args
, **kwargs
):
4623 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4624 return _windows_
.PyPrintPreview__setCallbackInfo(*args
, **kwargs
)
4626 def base_SetCurrentPage(*args
, **kwargs
):
4627 """base_SetCurrentPage(self, int pageNum) -> bool"""
4628 return _windows_
.PyPrintPreview_base_SetCurrentPage(*args
, **kwargs
)
4630 def base_PaintPage(*args
, **kwargs
):
4631 """base_PaintPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4632 return _windows_
.PyPrintPreview_base_PaintPage(*args
, **kwargs
)
4634 def base_DrawBlankPage(*args
, **kwargs
):
4635 """base_DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool"""
4636 return _windows_
.PyPrintPreview_base_DrawBlankPage(*args
, **kwargs
)
4638 def base_RenderPage(*args
, **kwargs
):
4639 """base_RenderPage(self, int pageNum) -> bool"""
4640 return _windows_
.PyPrintPreview_base_RenderPage(*args
, **kwargs
)
4642 def base_SetZoom(*args
, **kwargs
):
4643 """base_SetZoom(self, int percent)"""
4644 return _windows_
.PyPrintPreview_base_SetZoom(*args
, **kwargs
)
4646 def base_Print(*args
, **kwargs
):
4647 """base_Print(self, bool interactive) -> bool"""
4648 return _windows_
.PyPrintPreview_base_Print(*args
, **kwargs
)
4650 def base_DetermineScaling(*args
, **kwargs
):
4651 """base_DetermineScaling(self)"""
4652 return _windows_
.PyPrintPreview_base_DetermineScaling(*args
, **kwargs
)
4655 class PyPrintPreviewPtr(PyPrintPreview
):
4656 def __init__(self
, this
):
4658 if not hasattr(self
,"thisown"): self
.thisown
= 0
4659 self
.__class
__ = PyPrintPreview
4660 _windows_
.PyPrintPreview_swigregister(PyPrintPreviewPtr
)
4662 class PyPreviewFrame(PreviewFrame
):
4664 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4665 def __init__(self
, *args
, **kwargs
):
4667 __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition,
4668 Size size=DefaultSize,
4669 long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
4671 newobj
= _windows_
.new_PyPreviewFrame(*args
, **kwargs
)
4672 self
.this
= newobj
.this
4675 self
._setCallbackInfo
(self
, PyPreviewFrame
); self
._setOORInfo
(self
)
4677 def _setCallbackInfo(*args
, **kwargs
):
4678 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4679 return _windows_
.PyPreviewFrame__setCallbackInfo(*args
, **kwargs
)
4681 def SetPreviewCanvas(*args
, **kwargs
):
4682 """SetPreviewCanvas(self, PreviewCanvas canvas)"""
4683 return _windows_
.PyPreviewFrame_SetPreviewCanvas(*args
, **kwargs
)
4685 def SetControlBar(*args
, **kwargs
):
4686 """SetControlBar(self, PreviewControlBar bar)"""
4687 return _windows_
.PyPreviewFrame_SetControlBar(*args
, **kwargs
)
4689 def base_Initialize(*args
, **kwargs
):
4690 """base_Initialize(self)"""
4691 return _windows_
.PyPreviewFrame_base_Initialize(*args
, **kwargs
)
4693 def base_CreateCanvas(*args
, **kwargs
):
4694 """base_CreateCanvas(self)"""
4695 return _windows_
.PyPreviewFrame_base_CreateCanvas(*args
, **kwargs
)
4697 def base_CreateControlBar(*args
, **kwargs
):
4698 """base_CreateControlBar(self)"""
4699 return _windows_
.PyPreviewFrame_base_CreateControlBar(*args
, **kwargs
)
4702 class PyPreviewFramePtr(PyPreviewFrame
):
4703 def __init__(self
, this
):
4705 if not hasattr(self
,"thisown"): self
.thisown
= 0
4706 self
.__class
__ = PyPreviewFrame
4707 _windows_
.PyPreviewFrame_swigregister(PyPreviewFramePtr
)
4709 class PyPreviewControlBar(PreviewControlBar
):
4711 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4712 def __init__(self
, *args
, **kwargs
):
4714 __init__(self, PrintPreview preview, long buttons, Window parent,
4715 Point pos=DefaultPosition, Size size=DefaultSize,
4716 long style=0, String name=PanelNameStr) -> PyPreviewControlBar
4718 newobj
= _windows_
.new_PyPreviewControlBar(*args
, **kwargs
)
4719 self
.this
= newobj
.this
4722 self
._setCallbackInfo
(self
, PyPreviewControlBar
); self
._setOORInfo
(self
)
4724 def _setCallbackInfo(*args
, **kwargs
):
4725 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
4726 return _windows_
.PyPreviewControlBar__setCallbackInfo(*args
, **kwargs
)
4728 def SetPrintPreview(*args
, **kwargs
):
4729 """SetPrintPreview(self, PrintPreview preview)"""
4730 return _windows_
.PyPreviewControlBar_SetPrintPreview(*args
, **kwargs
)
4732 def base_CreateButtons(*args
, **kwargs
):
4733 """base_CreateButtons(self)"""
4734 return _windows_
.PyPreviewControlBar_base_CreateButtons(*args
, **kwargs
)
4736 def base_SetZoomControl(*args
, **kwargs
):
4737 """base_SetZoomControl(self, int zoom)"""
4738 return _windows_
.PyPreviewControlBar_base_SetZoomControl(*args
, **kwargs
)
4741 class PyPreviewControlBarPtr(PyPreviewControlBar
):
4742 def __init__(self
, this
):
4744 if not hasattr(self
,"thisown"): self
.thisown
= 0
4745 self
.__class
__ = PyPreviewControlBar
4746 _windows_
.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr
)