]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/windows.py
reSWIGged
[wxWidgets.git] / wxPython / src / msw / windows.py
1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
3
4 import _windows
5
6 import core
7 wx = core
8 #---------------------------------------------------------------------------
9
10 class Panel(core.Window):
11 def __repr__(self):
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):
14 """
15 __init__(Window parent, int id=-1, Point pos=DefaultPosition,
16 Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
17 wxString name=PanelNameStr) -> Panel
18 """
19 newobj = _windows.new_Panel(*args, **kwargs)
20 self.this = newobj.this
21 self.thisown = 1
22 del newobj.thisown
23 self._setOORInfo(self)
24
25 def Create(*args, **kwargs):
26 """
27 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
28 long style=wxTAB_TRAVERSAL|wxNO_BORDER,
29 wxString name=PanelNameStr) -> bool
30 """
31 return _windows.Panel_Create(*args, **kwargs)
32
33 def InitDialog(*args, **kwargs):
34 """InitDialog()"""
35 return _windows.Panel_InitDialog(*args, **kwargs)
36
37
38 class PanelPtr(Panel):
39 def __init__(self, this):
40 self.this = this
41 if not hasattr(self,"thisown"): self.thisown = 0
42 self.__class__ = Panel
43 _windows.Panel_swigregister(PanelPtr)
44
45 def PrePanel(*args, **kwargs):
46 """PrePanel() -> Panel"""
47 val = _windows.new_PrePanel(*args, **kwargs)
48 val.thisown = 1
49 return val
50
51 #---------------------------------------------------------------------------
52
53 class ScrolledWindow(Panel):
54 def __repr__(self):
55 return "<%s.%s; proxy of C++ wxScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
56 def __init__(self, *args, **kwargs):
57 """
58 __init__(Window parent, int id=-1, Point pos=DefaultPosition,
59 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
60 wxString name=PanelNameStr) -> ScrolledWindow
61 """
62 newobj = _windows.new_ScrolledWindow(*args, **kwargs)
63 self.this = newobj.this
64 self.thisown = 1
65 del newobj.thisown
66 self._setOORInfo(self)
67
68 def Create(*args, **kwargs):
69 """
70 Create(Window parent, int id=-1, Point pos=DefaultPosition,
71 Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
72 wxString name=PanelNameStr) -> bool
73 """
74 return _windows.ScrolledWindow_Create(*args, **kwargs)
75
76 def SetScrollbars(*args, **kwargs):
77 """
78 SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX,
79 int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)
80 """
81 return _windows.ScrolledWindow_SetScrollbars(*args, **kwargs)
82
83 def Scroll(*args, **kwargs):
84 """Scroll(int x, int y)"""
85 return _windows.ScrolledWindow_Scroll(*args, **kwargs)
86
87 def GetScrollPageSize(*args, **kwargs):
88 """GetScrollPageSize(int orient) -> int"""
89 return _windows.ScrolledWindow_GetScrollPageSize(*args, **kwargs)
90
91 def SetScrollPageSize(*args, **kwargs):
92 """SetScrollPageSize(int orient, int pageSize)"""
93 return _windows.ScrolledWindow_SetScrollPageSize(*args, **kwargs)
94
95 def SetScrollRate(*args, **kwargs):
96 """SetScrollRate(int xstep, int ystep)"""
97 return _windows.ScrolledWindow_SetScrollRate(*args, **kwargs)
98
99 def GetScrollPixelsPerUnit(*args, **kwargs):
100 """
101 GetScrollPixelsPerUnit() -> (xUnit, yUnit)
102
103 Get the size of one logical unit in physical units.
104 """
105 return _windows.ScrolledWindow_GetScrollPixelsPerUnit(*args, **kwargs)
106
107 def EnableScrolling(*args, **kwargs):
108 """EnableScrolling(bool x_scrolling, bool y_scrolling)"""
109 return _windows.ScrolledWindow_EnableScrolling(*args, **kwargs)
110
111 def GetViewStart(*args, **kwargs):
112 """
113 GetViewStart() -> (x,y)
114
115 Get the view start
116 """
117 return _windows.ScrolledWindow_GetViewStart(*args, **kwargs)
118
119 def SetScale(*args, **kwargs):
120 """SetScale(double xs, double ys)"""
121 return _windows.ScrolledWindow_SetScale(*args, **kwargs)
122
123 def GetScaleX(*args, **kwargs):
124 """GetScaleX() -> double"""
125 return _windows.ScrolledWindow_GetScaleX(*args, **kwargs)
126
127 def GetScaleY(*args, **kwargs):
128 """GetScaleY() -> double"""
129 return _windows.ScrolledWindow_GetScaleY(*args, **kwargs)
130
131 def CalcScrolledPosition(*args):
132 """
133 CalcScrolledPosition(Point pt) -> Point
134 CalcScrolledPosition(int x, int y) -> (sx, sy)
135
136 Translate between scrolled and unscrolled coordinates.
137 """
138 return _windows.ScrolledWindow_CalcScrolledPosition(*args)
139
140 def CalcUnscrolledPosition(*args):
141 """
142 CalcUnscrolledPosition(Point pt) -> Point
143 CalcUnscrolledPosition(int x, int y) -> (ux, uy)
144
145 Translate between scrolled and unscrolled coordinates.
146 """
147 return _windows.ScrolledWindow_CalcUnscrolledPosition(*args)
148
149 def AdjustScrollbars(*args, **kwargs):
150 """AdjustScrollbars()"""
151 return _windows.ScrolledWindow_AdjustScrollbars(*args, **kwargs)
152
153 def CalcScrollInc(*args, **kwargs):
154 """CalcScrollInc(ScrollWinEvent event) -> int"""
155 return _windows.ScrolledWindow_CalcScrollInc(*args, **kwargs)
156
157 def SetTargetWindow(*args, **kwargs):
158 """SetTargetWindow(Window target)"""
159 return _windows.ScrolledWindow_SetTargetWindow(*args, **kwargs)
160
161 def GetTargetWindow(*args, **kwargs):
162 """GetTargetWindow() -> Window"""
163 return _windows.ScrolledWindow_GetTargetWindow(*args, **kwargs)
164
165 def SetTargetRect(*args, **kwargs):
166 """SetTargetRect(Rect rect)"""
167 return _windows.ScrolledWindow_SetTargetRect(*args, **kwargs)
168
169 def GetTargetRect(*args, **kwargs):
170 """GetTargetRect() -> Rect"""
171 return _windows.ScrolledWindow_GetTargetRect(*args, **kwargs)
172
173
174 class ScrolledWindowPtr(ScrolledWindow):
175 def __init__(self, this):
176 self.this = this
177 if not hasattr(self,"thisown"): self.thisown = 0
178 self.__class__ = ScrolledWindow
179 _windows.ScrolledWindow_swigregister(ScrolledWindowPtr)
180
181 def PreScrolledWindow(*args, **kwargs):
182 """PreScrolledWindow() -> ScrolledWindow"""
183 val = _windows.new_PreScrolledWindow(*args, **kwargs)
184 val.thisown = 1
185 return val
186
187 #---------------------------------------------------------------------------
188
189 FULLSCREEN_NOMENUBAR = _windows.FULLSCREEN_NOMENUBAR
190 FULLSCREEN_NOTOOLBAR = _windows.FULLSCREEN_NOTOOLBAR
191 FULLSCREEN_NOSTATUSBAR = _windows.FULLSCREEN_NOSTATUSBAR
192 FULLSCREEN_NOBORDER = _windows.FULLSCREEN_NOBORDER
193 FULLSCREEN_NOCAPTION = _windows.FULLSCREEN_NOCAPTION
194 FULLSCREEN_ALL = _windows.FULLSCREEN_ALL
195 TOPLEVEL_EX_DIALOG = _windows.TOPLEVEL_EX_DIALOG
196 class TopLevelWindow(core.Window):
197 def __init__(self): raise RuntimeError, "No constructor defined"
198 def __repr__(self):
199 return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
200 def Maximize(*args, **kwargs):
201 """Maximize(bool maximize=True)"""
202 return _windows.TopLevelWindow_Maximize(*args, **kwargs)
203
204 def Restore(*args, **kwargs):
205 """Restore()"""
206 return _windows.TopLevelWindow_Restore(*args, **kwargs)
207
208 def Iconize(*args, **kwargs):
209 """Iconize(bool iconize=True)"""
210 return _windows.TopLevelWindow_Iconize(*args, **kwargs)
211
212 def IsMaximized(*args, **kwargs):
213 """IsMaximized() -> bool"""
214 return _windows.TopLevelWindow_IsMaximized(*args, **kwargs)
215
216 def IsIconized(*args, **kwargs):
217 """IsIconized() -> bool"""
218 return _windows.TopLevelWindow_IsIconized(*args, **kwargs)
219
220 def GetIcon(*args, **kwargs):
221 """GetIcon() -> wxIcon"""
222 return _windows.TopLevelWindow_GetIcon(*args, **kwargs)
223
224 def SetIcon(*args, **kwargs):
225 """SetIcon(wxIcon icon)"""
226 return _windows.TopLevelWindow_SetIcon(*args, **kwargs)
227
228 def SetIcons(*args, **kwargs):
229 """SetIcons(wxIconBundle icons)"""
230 return _windows.TopLevelWindow_SetIcons(*args, **kwargs)
231
232 def ShowFullScreen(*args, **kwargs):
233 """ShowFullScreen(bool show, long style=FULLSCREEN_ALL) -> bool"""
234 return _windows.TopLevelWindow_ShowFullScreen(*args, **kwargs)
235
236 def IsFullScreen(*args, **kwargs):
237 """IsFullScreen() -> bool"""
238 return _windows.TopLevelWindow_IsFullScreen(*args, **kwargs)
239
240 def SetTitle(*args, **kwargs):
241 """SetTitle(wxString title)"""
242 return _windows.TopLevelWindow_SetTitle(*args, **kwargs)
243
244 def GetTitle(*args, **kwargs):
245 """GetTitle() -> wxString"""
246 return _windows.TopLevelWindow_GetTitle(*args, **kwargs)
247
248 def SetShape(*args, **kwargs):
249 """SetShape(wxRegion region) -> bool"""
250 return _windows.TopLevelWindow_SetShape(*args, **kwargs)
251
252
253 class TopLevelWindowPtr(TopLevelWindow):
254 def __init__(self, this):
255 self.this = this
256 if not hasattr(self,"thisown"): self.thisown = 0
257 self.__class__ = TopLevelWindow
258 _windows.TopLevelWindow_swigregister(TopLevelWindowPtr)
259
260 #---------------------------------------------------------------------------
261
262 class Frame(TopLevelWindow):
263 def __repr__(self):
264 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
265 def __init__(self, *args, **kwargs):
266 """
267 __init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
268 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
269 wxString name=wxPyFrameNameStr) -> Frame
270 """
271 newobj = _windows.new_Frame(*args, **kwargs)
272 self.this = newobj.this
273 self.thisown = 1
274 del newobj.thisown
275 self._setOORInfo(self)
276
277 def Create(*args, **kwargs):
278 """
279 Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
280 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
281 wxString name=wxPyFrameNameStr) -> bool
282 """
283 return _windows.Frame_Create(*args, **kwargs)
284
285 def GetClientAreaOrigin(*args, **kwargs):
286 """GetClientAreaOrigin() -> Point"""
287 return _windows.Frame_GetClientAreaOrigin(*args, **kwargs)
288
289 def SendSizeEvent(*args, **kwargs):
290 """SendSizeEvent()"""
291 return _windows.Frame_SendSizeEvent(*args, **kwargs)
292
293 def SetMenuBar(*args, **kwargs):
294 """SetMenuBar(MenuBar menubar)"""
295 return _windows.Frame_SetMenuBar(*args, **kwargs)
296
297 def GetMenuBar(*args, **kwargs):
298 """GetMenuBar() -> MenuBar"""
299 return _windows.Frame_GetMenuBar(*args, **kwargs)
300
301 def ProcessCommand(*args, **kwargs):
302 """ProcessCommand(int winid) -> bool"""
303 return _windows.Frame_ProcessCommand(*args, **kwargs)
304
305 Command = ProcessCommand
306 def CreateStatusBar(*args, **kwargs):
307 """
308 CreateStatusBar(int number=1, long style=ST_SIZEGRIP, int winid=0,
309 wxString name=wxPyStatusLineNameStr) -> StatusBar
310 """
311 return _windows.Frame_CreateStatusBar(*args, **kwargs)
312
313 def GetStatusBar(*args, **kwargs):
314 """GetStatusBar() -> StatusBar"""
315 return _windows.Frame_GetStatusBar(*args, **kwargs)
316
317 def SetStatusBar(*args, **kwargs):
318 """SetStatusBar(StatusBar statBar)"""
319 return _windows.Frame_SetStatusBar(*args, **kwargs)
320
321 def SetStatusText(*args, **kwargs):
322 """SetStatusText(wxString text, int number=0)"""
323 return _windows.Frame_SetStatusText(*args, **kwargs)
324
325 def SetStatusWidths(*args, **kwargs):
326 """SetStatusWidths(int widths, int widths_field)"""
327 return _windows.Frame_SetStatusWidths(*args, **kwargs)
328
329 def PushStatusText(*args, **kwargs):
330 """PushStatusText(wxString text, int number=0)"""
331 return _windows.Frame_PushStatusText(*args, **kwargs)
332
333 def PopStatusText(*args, **kwargs):
334 """PopStatusText(int number=0)"""
335 return _windows.Frame_PopStatusText(*args, **kwargs)
336
337 def SetStatusBarPane(*args, **kwargs):
338 """SetStatusBarPane(int n)"""
339 return _windows.Frame_SetStatusBarPane(*args, **kwargs)
340
341 def GetStatusBarPane(*args, **kwargs):
342 """GetStatusBarPane() -> int"""
343 return _windows.Frame_GetStatusBarPane(*args, **kwargs)
344
345 def CreateToolBar(*args, **kwargs):
346 """CreateToolBar(long style=-1, int winid=-1, wxString name=wxPyToolBarNameStr) -> wxToolBar"""
347 return _windows.Frame_CreateToolBar(*args, **kwargs)
348
349 def GetToolBar(*args, **kwargs):
350 """GetToolBar() -> wxToolBar"""
351 return _windows.Frame_GetToolBar(*args, **kwargs)
352
353 def SetToolBar(*args, **kwargs):
354 """SetToolBar(wxToolBar toolbar)"""
355 return _windows.Frame_SetToolBar(*args, **kwargs)
356
357 def DoGiveHelp(*args, **kwargs):
358 """DoGiveHelp(wxString text, bool show)"""
359 return _windows.Frame_DoGiveHelp(*args, **kwargs)
360
361 def DoMenuUpdates(*args, **kwargs):
362 """DoMenuUpdates(Menu menu=None)"""
363 return _windows.Frame_DoMenuUpdates(*args, **kwargs)
364
365
366 class FramePtr(Frame):
367 def __init__(self, this):
368 self.this = this
369 if not hasattr(self,"thisown"): self.thisown = 0
370 self.__class__ = Frame
371 _windows.Frame_swigregister(FramePtr)
372
373 def PreFrame(*args, **kwargs):
374 """PreFrame() -> Frame"""
375 val = _windows.new_PreFrame(*args, **kwargs)
376 val.thisown = 1
377 return val
378
379 #---------------------------------------------------------------------------
380
381 class Dialog(TopLevelWindow):
382 def __repr__(self):
383 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
384 def __init__(self, *args, **kwargs):
385 """
386 __init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
387 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
388 wxString name=wxPyDialogNameStr) -> Dialog
389 """
390 newobj = _windows.new_Dialog(*args, **kwargs)
391 self.this = newobj.this
392 self.thisown = 1
393 del newobj.thisown
394 self._setOORInfo(self)
395
396 def Create(*args, **kwargs):
397 """
398 Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
399 Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE,
400 wxString name=wxPyDialogNameStr) -> bool
401 """
402 return _windows.Dialog_Create(*args, **kwargs)
403
404 def SetReturnCode(*args, **kwargs):
405 """SetReturnCode(int returnCode)"""
406 return _windows.Dialog_SetReturnCode(*args, **kwargs)
407
408 def GetReturnCode(*args, **kwargs):
409 """GetReturnCode() -> int"""
410 return _windows.Dialog_GetReturnCode(*args, **kwargs)
411
412 def CreateTextSizer(*args, **kwargs):
413 """CreateTextSizer(wxString message) -> Sizer"""
414 return _windows.Dialog_CreateTextSizer(*args, **kwargs)
415
416 def CreateButtonSizer(*args, **kwargs):
417 """CreateButtonSizer(long flags) -> Sizer"""
418 return _windows.Dialog_CreateButtonSizer(*args, **kwargs)
419
420 def SetModal(*args, **kwargs):
421 """SetModal(bool flag)"""
422 return _windows.Dialog_SetModal(*args, **kwargs)
423
424 def IsModal(*args, **kwargs):
425 """IsModal() -> bool"""
426 return _windows.Dialog_IsModal(*args, **kwargs)
427
428 def ShowModal(*args, **kwargs):
429 """ShowModal() -> int"""
430 return _windows.Dialog_ShowModal(*args, **kwargs)
431
432 def EndModal(*args, **kwargs):
433 """EndModal(int retCode)"""
434 return _windows.Dialog_EndModal(*args, **kwargs)
435
436 def IsModalShowing(*args, **kwargs):
437 """IsModalShowing() -> bool"""
438 return _windows.Dialog_IsModalShowing(*args, **kwargs)
439
440
441 class DialogPtr(Dialog):
442 def __init__(self, this):
443 self.this = this
444 if not hasattr(self,"thisown"): self.thisown = 0
445 self.__class__ = Dialog
446 _windows.Dialog_swigregister(DialogPtr)
447
448 def PreDialog(*args, **kwargs):
449 """PreDialog() -> Dialog"""
450 val = _windows.new_PreDialog(*args, **kwargs)
451 val.thisown = 1
452 return val
453
454 #---------------------------------------------------------------------------
455
456 class MiniFrame(Frame):
457 def __repr__(self):
458 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
459 def __init__(self, *args, **kwargs):
460 """
461 __init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
462 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
463 wxString name=wxPyFrameNameStr) -> MiniFrame
464 """
465 newobj = _windows.new_MiniFrame(*args, **kwargs)
466 self.this = newobj.this
467 self.thisown = 1
468 del newobj.thisown
469 self._setOORInfo(self)
470
471 def Create(*args, **kwargs):
472 """
473 Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
474 Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE,
475 wxString name=wxPyFrameNameStr) -> bool
476 """
477 return _windows.MiniFrame_Create(*args, **kwargs)
478
479
480 class MiniFramePtr(MiniFrame):
481 def __init__(self, this):
482 self.this = this
483 if not hasattr(self,"thisown"): self.thisown = 0
484 self.__class__ = MiniFrame
485 _windows.MiniFrame_swigregister(MiniFramePtr)
486
487 def PreMiniFrame(*args, **kwargs):
488 """PreMiniFrame() -> MiniFrame"""
489 val = _windows.new_PreMiniFrame(*args, **kwargs)
490 val.thisown = 1
491 return val
492
493 #---------------------------------------------------------------------------
494
495 SPLASH_CENTRE_ON_PARENT = _windows.SPLASH_CENTRE_ON_PARENT
496 SPLASH_CENTRE_ON_SCREEN = _windows.SPLASH_CENTRE_ON_SCREEN
497 SPLASH_NO_CENTRE = _windows.SPLASH_NO_CENTRE
498 SPLASH_TIMEOUT = _windows.SPLASH_TIMEOUT
499 SPLASH_NO_TIMEOUT = _windows.SPLASH_NO_TIMEOUT
500 class SplashScreenWindow(core.Window):
501 def __repr__(self):
502 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
503 def __init__(self, *args, **kwargs):
504 """
505 __init__(wxBitmap bitmap, Window parent, int id, Point pos=DefaultPosition,
506 Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
507 """
508 newobj = _windows.new_SplashScreenWindow(*args, **kwargs)
509 self.this = newobj.this
510 self.thisown = 1
511 del newobj.thisown
512 self._setOORInfo(self)
513
514 def SetBitmap(*args, **kwargs):
515 """SetBitmap(wxBitmap bitmap)"""
516 return _windows.SplashScreenWindow_SetBitmap(*args, **kwargs)
517
518 def GetBitmap(*args, **kwargs):
519 """GetBitmap() -> wxBitmap"""
520 return _windows.SplashScreenWindow_GetBitmap(*args, **kwargs)
521
522
523 class SplashScreenWindowPtr(SplashScreenWindow):
524 def __init__(self, this):
525 self.this = this
526 if not hasattr(self,"thisown"): self.thisown = 0
527 self.__class__ = SplashScreenWindow
528 _windows.SplashScreenWindow_swigregister(SplashScreenWindowPtr)
529
530 class SplashScreen(Frame):
531 def __repr__(self):
532 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
533 def __init__(self, *args, **kwargs):
534 """
535 __init__(wxBitmap bitmap, long splashStyle, int milliseconds,
536 Window parent, int id, Point pos=DefaultPosition,
537 Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
538 """
539 newobj = _windows.new_SplashScreen(*args, **kwargs)
540 self.this = newobj.this
541 self.thisown = 1
542 del newobj.thisown
543 self._setOORInfo(self)
544
545 def GetSplashStyle(*args, **kwargs):
546 """GetSplashStyle() -> long"""
547 return _windows.SplashScreen_GetSplashStyle(*args, **kwargs)
548
549 def GetSplashWindow(*args, **kwargs):
550 """GetSplashWindow() -> SplashScreenWindow"""
551 return _windows.SplashScreen_GetSplashWindow(*args, **kwargs)
552
553 def GetTimeout(*args, **kwargs):
554 """GetTimeout() -> int"""
555 return _windows.SplashScreen_GetTimeout(*args, **kwargs)
556
557
558 class SplashScreenPtr(SplashScreen):
559 def __init__(self, this):
560 self.this = this
561 if not hasattr(self,"thisown"): self.thisown = 0
562 self.__class__ = SplashScreen
563 _windows.SplashScreen_swigregister(SplashScreenPtr)
564
565 #---------------------------------------------------------------------------
566
567 class StatusBar(core.Window):
568 def __repr__(self):
569 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
570 def __init__(self, *args, **kwargs):
571 """__init__(Window parent, int id=-1, long style=ST_SIZEGRIP, wxString name=wxPyStatusLineNameStr) -> StatusBar"""
572 newobj = _windows.new_StatusBar(*args, **kwargs)
573 self.this = newobj.this
574 self.thisown = 1
575 del newobj.thisown
576 self._setOORInfo(self)
577
578 def Create(*args, **kwargs):
579 """Create(Window parent, int id, long style=ST_SIZEGRIP, wxString name=wxPyStatusLineNameStr) -> bool"""
580 return _windows.StatusBar_Create(*args, **kwargs)
581
582 def SetFieldsCount(*args, **kwargs):
583 """SetFieldsCount(int number=1)"""
584 return _windows.StatusBar_SetFieldsCount(*args, **kwargs)
585
586 def GetFieldsCount(*args, **kwargs):
587 """GetFieldsCount() -> int"""
588 return _windows.StatusBar_GetFieldsCount(*args, **kwargs)
589
590 def SetStatusText(*args, **kwargs):
591 """SetStatusText(wxString text, int number=0)"""
592 return _windows.StatusBar_SetStatusText(*args, **kwargs)
593
594 def GetStatusText(*args, **kwargs):
595 """GetStatusText(int number=0) -> wxString"""
596 return _windows.StatusBar_GetStatusText(*args, **kwargs)
597
598 def PushStatusText(*args, **kwargs):
599 """PushStatusText(wxString text, int number=0)"""
600 return _windows.StatusBar_PushStatusText(*args, **kwargs)
601
602 def PopStatusText(*args, **kwargs):
603 """PopStatusText(int number=0)"""
604 return _windows.StatusBar_PopStatusText(*args, **kwargs)
605
606 def SetStatusWidths(*args, **kwargs):
607 """SetStatusWidths(int widths, int widths_field)"""
608 return _windows.StatusBar_SetStatusWidths(*args, **kwargs)
609
610 def GetFieldRect(*args, **kwargs):
611 """GetFieldRect(int i) -> Rect"""
612 return _windows.StatusBar_GetFieldRect(*args, **kwargs)
613
614 def SetMinHeight(*args, **kwargs):
615 """SetMinHeight(int height)"""
616 return _windows.StatusBar_SetMinHeight(*args, **kwargs)
617
618 def GetBorderX(*args, **kwargs):
619 """GetBorderX() -> int"""
620 return _windows.StatusBar_GetBorderX(*args, **kwargs)
621
622 def GetBorderY(*args, **kwargs):
623 """GetBorderY() -> int"""
624 return _windows.StatusBar_GetBorderY(*args, **kwargs)
625
626
627 class StatusBarPtr(StatusBar):
628 def __init__(self, this):
629 self.this = this
630 if not hasattr(self,"thisown"): self.thisown = 0
631 self.__class__ = StatusBar
632 _windows.StatusBar_swigregister(StatusBarPtr)
633
634 def PreStatusBar(*args, **kwargs):
635 """PreStatusBar() -> StatusBar"""
636 val = _windows.new_PreStatusBar(*args, **kwargs)
637 val.thisown = 1
638 return val
639
640 #---------------------------------------------------------------------------
641
642 SP_NOBORDER = _windows.SP_NOBORDER
643 SP_NOSASH = _windows.SP_NOSASH
644 SP_PERMIT_UNSPLIT = _windows.SP_PERMIT_UNSPLIT
645 SP_LIVE_UPDATE = _windows.SP_LIVE_UPDATE
646 SP_3DSASH = _windows.SP_3DSASH
647 SP_3DBORDER = _windows.SP_3DBORDER
648 SP_BORDER = _windows.SP_BORDER
649 SP_3D = _windows.SP_3D
650 SPLIT_HORIZONTAL = _windows.SPLIT_HORIZONTAL
651 SPLIT_VERTICAL = _windows.SPLIT_VERTICAL
652 SPLIT_DRAG_NONE = _windows.SPLIT_DRAG_NONE
653 SPLIT_DRAG_DRAGGING = _windows.SPLIT_DRAG_DRAGGING
654 SPLIT_DRAG_LEFT_DOWN = _windows.SPLIT_DRAG_LEFT_DOWN
655 class SplitterWindow(core.Window):
656 def __repr__(self):
657 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
658 def __init__(self, *args, **kwargs):
659 """
660 __init__(Window parent, int id, Point point=DefaultPosition,
661 Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> SplitterWindow
662 """
663 newobj = _windows.new_SplitterWindow(*args, **kwargs)
664 self.this = newobj.this
665 self.thisown = 1
666 del newobj.thisown
667 self._setOORInfo(self)
668
669 def Create(*args, **kwargs):
670 """
671 Create(Window parent, int id, Point point=DefaultPosition,
672 Size size=DefaultSize, long style=SP_3D, wxString name=wxPySplitterNameStr) -> bool
673 """
674 return _windows.SplitterWindow_Create(*args, **kwargs)
675
676 def GetWindow1(*args, **kwargs):
677 """GetWindow1() -> Window"""
678 return _windows.SplitterWindow_GetWindow1(*args, **kwargs)
679
680 def GetWindow2(*args, **kwargs):
681 """GetWindow2() -> Window"""
682 return _windows.SplitterWindow_GetWindow2(*args, **kwargs)
683
684 def SetSplitMode(*args, **kwargs):
685 """SetSplitMode(int mode)"""
686 return _windows.SplitterWindow_SetSplitMode(*args, **kwargs)
687
688 def GetSplitMode(*args, **kwargs):
689 """GetSplitMode() -> wxSplitMode"""
690 return _windows.SplitterWindow_GetSplitMode(*args, **kwargs)
691
692 def Initialize(*args, **kwargs):
693 """Initialize(Window window)"""
694 return _windows.SplitterWindow_Initialize(*args, **kwargs)
695
696 def SplitVertically(*args, **kwargs):
697 """SplitVertically(Window window1, Window window2, int sashPosition=0) -> bool"""
698 return _windows.SplitterWindow_SplitVertically(*args, **kwargs)
699
700 def SplitHorizontally(*args, **kwargs):
701 """SplitHorizontally(Window window1, Window window2, int sashPosition=0) -> bool"""
702 return _windows.SplitterWindow_SplitHorizontally(*args, **kwargs)
703
704 def Unsplit(*args, **kwargs):
705 """Unsplit(Window toRemove=None) -> bool"""
706 return _windows.SplitterWindow_Unsplit(*args, **kwargs)
707
708 def ReplaceWindow(*args, **kwargs):
709 """ReplaceWindow(Window winOld, Window winNew) -> bool"""
710 return _windows.SplitterWindow_ReplaceWindow(*args, **kwargs)
711
712 def IsSplit(*args, **kwargs):
713 """IsSplit() -> bool"""
714 return _windows.SplitterWindow_IsSplit(*args, **kwargs)
715
716 def SetSashSize(*args, **kwargs):
717 """SetSashSize(int width)"""
718 return _windows.SplitterWindow_SetSashSize(*args, **kwargs)
719
720 def SetBorderSize(*args, **kwargs):
721 """SetBorderSize(int width)"""
722 return _windows.SplitterWindow_SetBorderSize(*args, **kwargs)
723
724 def GetSashSize(*args, **kwargs):
725 """GetSashSize() -> int"""
726 return _windows.SplitterWindow_GetSashSize(*args, **kwargs)
727
728 def GetBorderSize(*args, **kwargs):
729 """GetBorderSize() -> int"""
730 return _windows.SplitterWindow_GetBorderSize(*args, **kwargs)
731
732 def SetSashPosition(*args, **kwargs):
733 """SetSashPosition(int position, bool redraw=True)"""
734 return _windows.SplitterWindow_SetSashPosition(*args, **kwargs)
735
736 def GetSashPosition(*args, **kwargs):
737 """GetSashPosition() -> int"""
738 return _windows.SplitterWindow_GetSashPosition(*args, **kwargs)
739
740 def SetMinimumPaneSize(*args, **kwargs):
741 """SetMinimumPaneSize(int min)"""
742 return _windows.SplitterWindow_SetMinimumPaneSize(*args, **kwargs)
743
744 def GetMinimumPaneSize(*args, **kwargs):
745 """GetMinimumPaneSize() -> int"""
746 return _windows.SplitterWindow_GetMinimumPaneSize(*args, **kwargs)
747
748 def SashHitTest(*args, **kwargs):
749 """SashHitTest(int x, int y, int tolerance=5) -> bool"""
750 return _windows.SplitterWindow_SashHitTest(*args, **kwargs)
751
752 def SizeWindows(*args, **kwargs):
753 """SizeWindows()"""
754 return _windows.SplitterWindow_SizeWindows(*args, **kwargs)
755
756 def SetNeedUpdating(*args, **kwargs):
757 """SetNeedUpdating(bool needUpdating)"""
758 return _windows.SplitterWindow_SetNeedUpdating(*args, **kwargs)
759
760 def GetNeedUpdating(*args, **kwargs):
761 """GetNeedUpdating() -> bool"""
762 return _windows.SplitterWindow_GetNeedUpdating(*args, **kwargs)
763
764
765 class SplitterWindowPtr(SplitterWindow):
766 def __init__(self, this):
767 self.this = this
768 if not hasattr(self,"thisown"): self.thisown = 0
769 self.__class__ = SplitterWindow
770 _windows.SplitterWindow_swigregister(SplitterWindowPtr)
771
772 def PreSplitterWindow(*args, **kwargs):
773 """PreSplitterWindow() -> SplitterWindow"""
774 val = _windows.new_PreSplitterWindow(*args, **kwargs)
775 val.thisown = 1
776 return val
777
778 class SplitterEvent(core.NotifyEvent):
779 def __repr__(self):
780 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
781 def __init__(self, *args, **kwargs):
782 """__init__(wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent"""
783 newobj = _windows.new_SplitterEvent(*args, **kwargs)
784 self.this = newobj.this
785 self.thisown = 1
786 del newobj.thisown
787 def SetSashPosition(*args, **kwargs):
788 """SetSashPosition(int pos)"""
789 return _windows.SplitterEvent_SetSashPosition(*args, **kwargs)
790
791 def GetSashPosition(*args, **kwargs):
792 """GetSashPosition() -> int"""
793 return _windows.SplitterEvent_GetSashPosition(*args, **kwargs)
794
795 def GetWindowBeingRemoved(*args, **kwargs):
796 """GetWindowBeingRemoved() -> Window"""
797 return _windows.SplitterEvent_GetWindowBeingRemoved(*args, **kwargs)
798
799 def GetX(*args, **kwargs):
800 """GetX() -> int"""
801 return _windows.SplitterEvent_GetX(*args, **kwargs)
802
803 def GetY(*args, **kwargs):
804 """GetY() -> int"""
805 return _windows.SplitterEvent_GetY(*args, **kwargs)
806
807
808 class SplitterEventPtr(SplitterEvent):
809 def __init__(self, this):
810 self.this = this
811 if not hasattr(self,"thisown"): self.thisown = 0
812 self.__class__ = SplitterEvent
813 _windows.SplitterEvent_swigregister(SplitterEventPtr)
814
815 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED = _windows.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
816 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING = _windows.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
817 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED = _windows.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
818 wxEVT_COMMAND_SPLITTER_UNSPLIT = _windows.wxEVT_COMMAND_SPLITTER_UNSPLIT
819 EVT_SPLITTER_SASH_POS_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 1 )
820 EVT_SPLITTER_SASH_POS_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 1 )
821 EVT_SPLITTER_DOUBLECLICKED = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 1 )
822 EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 )
823
824 #---------------------------------------------------------------------------
825
826 SASH_DRAG_NONE = _windows.SASH_DRAG_NONE
827 SASH_DRAG_DRAGGING = _windows.SASH_DRAG_DRAGGING
828 SASH_DRAG_LEFT_DOWN = _windows.SASH_DRAG_LEFT_DOWN
829 SW_NOBORDER = _windows.SW_NOBORDER
830 SW_BORDER = _windows.SW_BORDER
831 SW_3DSASH = _windows.SW_3DSASH
832 SW_3DBORDER = _windows.SW_3DBORDER
833 SW_3D = _windows.SW_3D
834 SASH_TOP = _windows.SASH_TOP
835 SASH_RIGHT = _windows.SASH_RIGHT
836 SASH_BOTTOM = _windows.SASH_BOTTOM
837 SASH_LEFT = _windows.SASH_LEFT
838 SASH_NONE = _windows.SASH_NONE
839 class SashWindow(core.Window):
840 def __repr__(self):
841 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
842 def __init__(self, *args, **kwargs):
843 """
844 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
845 long style=wxCLIP_CHILDREN|wxSW_3D,
846 wxString name=wxPySashNameStr) -> SashWindow
847 """
848 newobj = _windows.new_SashWindow(*args, **kwargs)
849 self.this = newobj.this
850 self.thisown = 1
851 del newobj.thisown
852 self._setOORInfo(self)
853
854 def Create(*args, **kwargs):
855 """
856 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
857 long style=wxCLIP_CHILDREN|wxSW_3D,
858 wxString name=wxPySashNameStr) -> bool
859 """
860 return _windows.SashWindow_Create(*args, **kwargs)
861
862 def SetSashVisible(*args, **kwargs):
863 """SetSashVisible(wxSashEdgePosition edge, bool sash)"""
864 return _windows.SashWindow_SetSashVisible(*args, **kwargs)
865
866 def GetSashVisible(*args, **kwargs):
867 """GetSashVisible(wxSashEdgePosition edge) -> bool"""
868 return _windows.SashWindow_GetSashVisible(*args, **kwargs)
869
870 def SetSashBorder(*args, **kwargs):
871 """SetSashBorder(wxSashEdgePosition edge, bool border)"""
872 return _windows.SashWindow_SetSashBorder(*args, **kwargs)
873
874 def HasBorder(*args, **kwargs):
875 """HasBorder(wxSashEdgePosition edge) -> bool"""
876 return _windows.SashWindow_HasBorder(*args, **kwargs)
877
878 def GetEdgeMargin(*args, **kwargs):
879 """GetEdgeMargin(wxSashEdgePosition edge) -> int"""
880 return _windows.SashWindow_GetEdgeMargin(*args, **kwargs)
881
882 def SetDefaultBorderSize(*args, **kwargs):
883 """SetDefaultBorderSize(int width)"""
884 return _windows.SashWindow_SetDefaultBorderSize(*args, **kwargs)
885
886 def GetDefaultBorderSize(*args, **kwargs):
887 """GetDefaultBorderSize() -> int"""
888 return _windows.SashWindow_GetDefaultBorderSize(*args, **kwargs)
889
890 def SetExtraBorderSize(*args, **kwargs):
891 """SetExtraBorderSize(int width)"""
892 return _windows.SashWindow_SetExtraBorderSize(*args, **kwargs)
893
894 def GetExtraBorderSize(*args, **kwargs):
895 """GetExtraBorderSize() -> int"""
896 return _windows.SashWindow_GetExtraBorderSize(*args, **kwargs)
897
898 def SetMinimumSizeX(*args, **kwargs):
899 """SetMinimumSizeX(int min)"""
900 return _windows.SashWindow_SetMinimumSizeX(*args, **kwargs)
901
902 def SetMinimumSizeY(*args, **kwargs):
903 """SetMinimumSizeY(int min)"""
904 return _windows.SashWindow_SetMinimumSizeY(*args, **kwargs)
905
906 def GetMinimumSizeX(*args, **kwargs):
907 """GetMinimumSizeX() -> int"""
908 return _windows.SashWindow_GetMinimumSizeX(*args, **kwargs)
909
910 def GetMinimumSizeY(*args, **kwargs):
911 """GetMinimumSizeY() -> int"""
912 return _windows.SashWindow_GetMinimumSizeY(*args, **kwargs)
913
914 def SetMaximumSizeX(*args, **kwargs):
915 """SetMaximumSizeX(int max)"""
916 return _windows.SashWindow_SetMaximumSizeX(*args, **kwargs)
917
918 def SetMaximumSizeY(*args, **kwargs):
919 """SetMaximumSizeY(int max)"""
920 return _windows.SashWindow_SetMaximumSizeY(*args, **kwargs)
921
922 def GetMaximumSizeX(*args, **kwargs):
923 """GetMaximumSizeX() -> int"""
924 return _windows.SashWindow_GetMaximumSizeX(*args, **kwargs)
925
926 def GetMaximumSizeY(*args, **kwargs):
927 """GetMaximumSizeY() -> int"""
928 return _windows.SashWindow_GetMaximumSizeY(*args, **kwargs)
929
930 def SashHitTest(*args, **kwargs):
931 """SashHitTest(int x, int y, int tolerance=2) -> wxSashEdgePosition"""
932 return _windows.SashWindow_SashHitTest(*args, **kwargs)
933
934 def SizeWindows(*args, **kwargs):
935 """SizeWindows()"""
936 return _windows.SashWindow_SizeWindows(*args, **kwargs)
937
938
939 class SashWindowPtr(SashWindow):
940 def __init__(self, this):
941 self.this = this
942 if not hasattr(self,"thisown"): self.thisown = 0
943 self.__class__ = SashWindow
944 _windows.SashWindow_swigregister(SashWindowPtr)
945
946 def PreSashWindow(*args, **kwargs):
947 """PreSashWindow() -> SashWindow"""
948 val = _windows.new_PreSashWindow(*args, **kwargs)
949 val.thisown = 1
950 return val
951
952 SASH_STATUS_OK = _windows.SASH_STATUS_OK
953 SASH_STATUS_OUT_OF_RANGE = _windows.SASH_STATUS_OUT_OF_RANGE
954 class SashEvent(core.CommandEvent):
955 def __repr__(self):
956 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
957 def __init__(self, *args, **kwargs):
958 """__init__(int id=0, wxSashEdgePosition edge=SASH_NONE) -> SashEvent"""
959 newobj = _windows.new_SashEvent(*args, **kwargs)
960 self.this = newobj.this
961 self.thisown = 1
962 del newobj.thisown
963 def SetEdge(*args, **kwargs):
964 """SetEdge(wxSashEdgePosition edge)"""
965 return _windows.SashEvent_SetEdge(*args, **kwargs)
966
967 def GetEdge(*args, **kwargs):
968 """GetEdge() -> wxSashEdgePosition"""
969 return _windows.SashEvent_GetEdge(*args, **kwargs)
970
971 def SetDragRect(*args, **kwargs):
972 """SetDragRect(Rect rect)"""
973 return _windows.SashEvent_SetDragRect(*args, **kwargs)
974
975 def GetDragRect(*args, **kwargs):
976 """GetDragRect() -> Rect"""
977 return _windows.SashEvent_GetDragRect(*args, **kwargs)
978
979 def SetDragStatus(*args, **kwargs):
980 """SetDragStatus(wxSashDragStatus status)"""
981 return _windows.SashEvent_SetDragStatus(*args, **kwargs)
982
983 def GetDragStatus(*args, **kwargs):
984 """GetDragStatus() -> wxSashDragStatus"""
985 return _windows.SashEvent_GetDragStatus(*args, **kwargs)
986
987
988 class SashEventPtr(SashEvent):
989 def __init__(self, this):
990 self.this = this
991 if not hasattr(self,"thisown"): self.thisown = 0
992 self.__class__ = SashEvent
993 _windows.SashEvent_swigregister(SashEventPtr)
994
995 wxEVT_SASH_DRAGGED = _windows.wxEVT_SASH_DRAGGED
996 EVT_SASH_DRAGGED = wx.PyEventBinder( wxEVT_SASH_DRAGGED, 1 )
997 EVT_SASH_DRAGGED_RANGE = wx.PyEventBinder( wxEVT_SASH_DRAGGED, 2 )
998
999 #---------------------------------------------------------------------------
1000
1001 LAYOUT_HORIZONTAL = _windows.LAYOUT_HORIZONTAL
1002 LAYOUT_VERTICAL = _windows.LAYOUT_VERTICAL
1003 LAYOUT_NONE = _windows.LAYOUT_NONE
1004 LAYOUT_TOP = _windows.LAYOUT_TOP
1005 LAYOUT_LEFT = _windows.LAYOUT_LEFT
1006 LAYOUT_RIGHT = _windows.LAYOUT_RIGHT
1007 LAYOUT_BOTTOM = _windows.LAYOUT_BOTTOM
1008 LAYOUT_LENGTH_Y = _windows.LAYOUT_LENGTH_Y
1009 LAYOUT_LENGTH_X = _windows.LAYOUT_LENGTH_X
1010 LAYOUT_MRU_LENGTH = _windows.LAYOUT_MRU_LENGTH
1011 LAYOUT_QUERY = _windows.LAYOUT_QUERY
1012 wxEVT_QUERY_LAYOUT_INFO = _windows.wxEVT_QUERY_LAYOUT_INFO
1013 wxEVT_CALCULATE_LAYOUT = _windows.wxEVT_CALCULATE_LAYOUT
1014 class QueryLayoutInfoEvent(core.Event):
1015 def __repr__(self):
1016 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1017 def __init__(self, *args, **kwargs):
1018 """__init__(int id=0) -> QueryLayoutInfoEvent"""
1019 newobj = _windows.new_QueryLayoutInfoEvent(*args, **kwargs)
1020 self.this = newobj.this
1021 self.thisown = 1
1022 del newobj.thisown
1023 def SetRequestedLength(*args, **kwargs):
1024 """SetRequestedLength(int length)"""
1025 return _windows.QueryLayoutInfoEvent_SetRequestedLength(*args, **kwargs)
1026
1027 def GetRequestedLength(*args, **kwargs):
1028 """GetRequestedLength() -> int"""
1029 return _windows.QueryLayoutInfoEvent_GetRequestedLength(*args, **kwargs)
1030
1031 def SetFlags(*args, **kwargs):
1032 """SetFlags(int flags)"""
1033 return _windows.QueryLayoutInfoEvent_SetFlags(*args, **kwargs)
1034
1035 def GetFlags(*args, **kwargs):
1036 """GetFlags() -> int"""
1037 return _windows.QueryLayoutInfoEvent_GetFlags(*args, **kwargs)
1038
1039 def SetSize(*args, **kwargs):
1040 """SetSize(Size size)"""
1041 return _windows.QueryLayoutInfoEvent_SetSize(*args, **kwargs)
1042
1043 def GetSize(*args, **kwargs):
1044 """GetSize() -> Size"""
1045 return _windows.QueryLayoutInfoEvent_GetSize(*args, **kwargs)
1046
1047 def SetOrientation(*args, **kwargs):
1048 """SetOrientation(wxLayoutOrientation orient)"""
1049 return _windows.QueryLayoutInfoEvent_SetOrientation(*args, **kwargs)
1050
1051 def GetOrientation(*args, **kwargs):
1052 """GetOrientation() -> wxLayoutOrientation"""
1053 return _windows.QueryLayoutInfoEvent_GetOrientation(*args, **kwargs)
1054
1055 def SetAlignment(*args, **kwargs):
1056 """SetAlignment(wxLayoutAlignment align)"""
1057 return _windows.QueryLayoutInfoEvent_SetAlignment(*args, **kwargs)
1058
1059 def GetAlignment(*args, **kwargs):
1060 """GetAlignment() -> wxLayoutAlignment"""
1061 return _windows.QueryLayoutInfoEvent_GetAlignment(*args, **kwargs)
1062
1063
1064 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent):
1065 def __init__(self, this):
1066 self.this = this
1067 if not hasattr(self,"thisown"): self.thisown = 0
1068 self.__class__ = QueryLayoutInfoEvent
1069 _windows.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr)
1070
1071 class CalculateLayoutEvent(core.Event):
1072 def __repr__(self):
1073 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1074 def __init__(self, *args, **kwargs):
1075 """__init__(int id=0) -> CalculateLayoutEvent"""
1076 newobj = _windows.new_CalculateLayoutEvent(*args, **kwargs)
1077 self.this = newobj.this
1078 self.thisown = 1
1079 del newobj.thisown
1080 def SetFlags(*args, **kwargs):
1081 """SetFlags(int flags)"""
1082 return _windows.CalculateLayoutEvent_SetFlags(*args, **kwargs)
1083
1084 def GetFlags(*args, **kwargs):
1085 """GetFlags() -> int"""
1086 return _windows.CalculateLayoutEvent_GetFlags(*args, **kwargs)
1087
1088 def SetRect(*args, **kwargs):
1089 """SetRect(Rect rect)"""
1090 return _windows.CalculateLayoutEvent_SetRect(*args, **kwargs)
1091
1092 def GetRect(*args, **kwargs):
1093 """GetRect() -> Rect"""
1094 return _windows.CalculateLayoutEvent_GetRect(*args, **kwargs)
1095
1096
1097 class CalculateLayoutEventPtr(CalculateLayoutEvent):
1098 def __init__(self, this):
1099 self.this = this
1100 if not hasattr(self,"thisown"): self.thisown = 0
1101 self.__class__ = CalculateLayoutEvent
1102 _windows.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr)
1103
1104 EVT_QUERY_LAYOUT_INFO = wx.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO )
1105 EVT_CALCULATE_LAYOUT = wx.PyEventBinder( wxEVT_CALCULATE_LAYOUT )
1106
1107 class SashLayoutWindow(SashWindow):
1108 def __repr__(self):
1109 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1110 def __init__(self, *args, **kwargs):
1111 """
1112 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1113 long style=wxCLIP_CHILDREN|wxSW_3D,
1114 wxString name=wxPySashLayoutNameStr) -> SashLayoutWindow
1115 """
1116 newobj = _windows.new_SashLayoutWindow(*args, **kwargs)
1117 self.this = newobj.this
1118 self.thisown = 1
1119 del newobj.thisown
1120 self._setOORInfo(self)
1121
1122 def Create(*args, **kwargs):
1123 """
1124 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1125 long style=wxCLIP_CHILDREN|wxSW_3D,
1126 wxString name=wxPySashLayoutNameStr) -> bool
1127 """
1128 return _windows.SashLayoutWindow_Create(*args, **kwargs)
1129
1130 def GetAlignment(*args, **kwargs):
1131 """GetAlignment() -> wxLayoutAlignment"""
1132 return _windows.SashLayoutWindow_GetAlignment(*args, **kwargs)
1133
1134 def GetOrientation(*args, **kwargs):
1135 """GetOrientation() -> wxLayoutOrientation"""
1136 return _windows.SashLayoutWindow_GetOrientation(*args, **kwargs)
1137
1138 def SetAlignment(*args, **kwargs):
1139 """SetAlignment(wxLayoutAlignment alignment)"""
1140 return _windows.SashLayoutWindow_SetAlignment(*args, **kwargs)
1141
1142 def SetDefaultSize(*args, **kwargs):
1143 """SetDefaultSize(Size size)"""
1144 return _windows.SashLayoutWindow_SetDefaultSize(*args, **kwargs)
1145
1146 def SetOrientation(*args, **kwargs):
1147 """SetOrientation(wxLayoutOrientation orientation)"""
1148 return _windows.SashLayoutWindow_SetOrientation(*args, **kwargs)
1149
1150
1151 class SashLayoutWindowPtr(SashLayoutWindow):
1152 def __init__(self, this):
1153 self.this = this
1154 if not hasattr(self,"thisown"): self.thisown = 0
1155 self.__class__ = SashLayoutWindow
1156 _windows.SashLayoutWindow_swigregister(SashLayoutWindowPtr)
1157
1158 def PreSashLayoutWindow(*args, **kwargs):
1159 """PreSashLayoutWindow() -> SashLayoutWindow"""
1160 val = _windows.new_PreSashLayoutWindow(*args, **kwargs)
1161 val.thisown = 1
1162 return val
1163
1164 class LayoutAlgorithm(core.Object):
1165 def __repr__(self):
1166 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1167 def __init__(self, *args, **kwargs):
1168 """__init__() -> LayoutAlgorithm"""
1169 newobj = _windows.new_LayoutAlgorithm(*args, **kwargs)
1170 self.this = newobj.this
1171 self.thisown = 1
1172 del newobj.thisown
1173 def __del__(self, destroy=_windows.delete_LayoutAlgorithm):
1174 """__del__()"""
1175 try:
1176 if self.thisown: destroy(self)
1177 except: pass
1178
1179 def LayoutMDIFrame(*args, **kwargs):
1180 """LayoutMDIFrame(MDIParentFrame frame, Rect rect=None) -> bool"""
1181 return _windows.LayoutAlgorithm_LayoutMDIFrame(*args, **kwargs)
1182
1183 def LayoutFrame(*args, **kwargs):
1184 """LayoutFrame(Frame frame, Window mainWindow=None) -> bool"""
1185 return _windows.LayoutAlgorithm_LayoutFrame(*args, **kwargs)
1186
1187 def LayoutWindow(*args, **kwargs):
1188 """LayoutWindow(Window parent, Window mainWindow=None) -> bool"""
1189 return _windows.LayoutAlgorithm_LayoutWindow(*args, **kwargs)
1190
1191
1192 class LayoutAlgorithmPtr(LayoutAlgorithm):
1193 def __init__(self, this):
1194 self.this = this
1195 if not hasattr(self,"thisown"): self.thisown = 0
1196 self.__class__ = LayoutAlgorithm
1197 _windows.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr)
1198
1199 #---------------------------------------------------------------------------
1200
1201 class PopupWindow(core.Window):
1202 def __repr__(self):
1203 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1204 def __init__(self, *args, **kwargs):
1205 """__init__(Window parent, int flags=BORDER_NONE) -> PopupWindow"""
1206 newobj = _windows.new_PopupWindow(*args, **kwargs)
1207 self.this = newobj.this
1208 self.thisown = 1
1209 del newobj.thisown
1210 self._setOORInfo(self)
1211
1212 def Create(*args, **kwargs):
1213 """Create(Window parent, int flags=BORDER_NONE) -> bool"""
1214 return _windows.PopupWindow_Create(*args, **kwargs)
1215
1216 def Position(*args, **kwargs):
1217 """Position(Point ptOrigin, Size size)"""
1218 return _windows.PopupWindow_Position(*args, **kwargs)
1219
1220
1221 class PopupWindowPtr(PopupWindow):
1222 def __init__(self, this):
1223 self.this = this
1224 if not hasattr(self,"thisown"): self.thisown = 0
1225 self.__class__ = PopupWindow
1226 _windows.PopupWindow_swigregister(PopupWindowPtr)
1227
1228 def PrePopupWindow(*args, **kwargs):
1229 """PrePopupWindow() -> PopupWindow"""
1230 val = _windows.new_PrePopupWindow(*args, **kwargs)
1231 val.thisown = 1
1232 return val
1233
1234 #---------------------------------------------------------------------------
1235
1236 class PopupTransientWindow(PopupWindow):
1237 def __repr__(self):
1238 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1239 def __init__(self, *args, **kwargs):
1240 """__init__(Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
1241 newobj = _windows.new_PopupTransientWindow(*args, **kwargs)
1242 self.this = newobj.this
1243 self.thisown = 1
1244 del newobj.thisown
1245 self._setOORInfo(self);self._setCallbackInfo(self, PopupTransientWindow)
1246
1247 def _setCallbackInfo(*args, **kwargs):
1248 """_setCallbackInfo(PyObject self, PyObject _class)"""
1249 return _windows.PopupTransientWindow__setCallbackInfo(*args, **kwargs)
1250
1251 def Popup(*args, **kwargs):
1252 """Popup(Window focus=None)"""
1253 return _windows.PopupTransientWindow_Popup(*args, **kwargs)
1254
1255 def Dismiss(*args, **kwargs):
1256 """Dismiss()"""
1257 return _windows.PopupTransientWindow_Dismiss(*args, **kwargs)
1258
1259
1260 class PopupTransientWindowPtr(PopupTransientWindow):
1261 def __init__(self, this):
1262 self.this = this
1263 if not hasattr(self,"thisown"): self.thisown = 0
1264 self.__class__ = PopupTransientWindow
1265 _windows.PopupTransientWindow_swigregister(PopupTransientWindowPtr)
1266
1267 def PrePopupTransientWindow(*args, **kwargs):
1268 """PrePopupTransientWindow() -> PopupTransientWindow"""
1269 val = _windows.new_PrePopupTransientWindow(*args, **kwargs)
1270 val.thisown = 1
1271 return val
1272
1273 #---------------------------------------------------------------------------
1274
1275 class TipWindow(PopupTransientWindow):
1276 def __repr__(self):
1277 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1278 def __init__(self, *args, **kwargs):
1279 """__init__(Window parent, wxString text, int maxLength=100, Rect rectBound=None) -> TipWindow"""
1280 newobj = _windows.new_TipWindow(*args, **kwargs)
1281 self.this = newobj.this
1282 self.thisown = 1
1283 del newobj.thisown
1284 self._setOORInfo(self)
1285
1286 def SetBoundingRect(*args, **kwargs):
1287 """SetBoundingRect(Rect rectBound)"""
1288 return _windows.TipWindow_SetBoundingRect(*args, **kwargs)
1289
1290 def Close(*args, **kwargs):
1291 """Close()"""
1292 return _windows.TipWindow_Close(*args, **kwargs)
1293
1294
1295 class TipWindowPtr(TipWindow):
1296 def __init__(self, this):
1297 self.this = this
1298 if not hasattr(self,"thisown"): self.thisown = 0
1299 self.__class__ = TipWindow
1300 _windows.TipWindow_swigregister(TipWindowPtr)
1301
1302 #---------------------------------------------------------------------------
1303
1304 class VScrolledWindow(Panel):
1305 def __repr__(self):
1306 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1307 def __init__(self, *args, **kwargs):
1308 """
1309 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1310 Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> VScrolledWindow
1311 """
1312 newobj = _windows.new_VScrolledWindow(*args, **kwargs)
1313 self.this = newobj.this
1314 self.thisown = 1
1315 del newobj.thisown
1316 self._setOORInfo(self); self._setCallbackInfo(self, VScrolledWindow)
1317
1318 def _setCallbackInfo(*args, **kwargs):
1319 """_setCallbackInfo(PyObject self, PyObject _class)"""
1320 return _windows.VScrolledWindow__setCallbackInfo(*args, **kwargs)
1321
1322 def Create(*args, **kwargs):
1323 """
1324 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1325 Size size=DefaultSize, long style=0, wxString name=PanelNameStr) -> bool
1326 """
1327 return _windows.VScrolledWindow_Create(*args, **kwargs)
1328
1329 def SetLineCount(*args, **kwargs):
1330 """SetLineCount(size_t count)"""
1331 return _windows.VScrolledWindow_SetLineCount(*args, **kwargs)
1332
1333 def ScrollToLine(*args, **kwargs):
1334 """ScrollToLine(size_t line) -> bool"""
1335 return _windows.VScrolledWindow_ScrollToLine(*args, **kwargs)
1336
1337 def ScrollLines(*args, **kwargs):
1338 """ScrollLines(int lines) -> bool"""
1339 return _windows.VScrolledWindow_ScrollLines(*args, **kwargs)
1340
1341 def ScrollPages(*args, **kwargs):
1342 """ScrollPages(int pages) -> bool"""
1343 return _windows.VScrolledWindow_ScrollPages(*args, **kwargs)
1344
1345 def RefreshLine(*args, **kwargs):
1346 """RefreshLine(size_t line)"""
1347 return _windows.VScrolledWindow_RefreshLine(*args, **kwargs)
1348
1349 def RefreshLines(*args, **kwargs):
1350 """RefreshLines(size_t from, size_t to)"""
1351 return _windows.VScrolledWindow_RefreshLines(*args, **kwargs)
1352
1353 def HitTestXT(*args, **kwargs):
1354 """HitTestXT(int x, int y) -> int"""
1355 return _windows.VScrolledWindow_HitTestXT(*args, **kwargs)
1356
1357 def HitTest(*args, **kwargs):
1358 """HitTest(Point pt) -> int"""
1359 return _windows.VScrolledWindow_HitTest(*args, **kwargs)
1360
1361 def RefreshAll(*args, **kwargs):
1362 """RefreshAll()"""
1363 return _windows.VScrolledWindow_RefreshAll(*args, **kwargs)
1364
1365 def GetLineCount(*args, **kwargs):
1366 """GetLineCount() -> size_t"""
1367 return _windows.VScrolledWindow_GetLineCount(*args, **kwargs)
1368
1369 def GetFirstVisibleLine(*args, **kwargs):
1370 """GetFirstVisibleLine() -> size_t"""
1371 return _windows.VScrolledWindow_GetFirstVisibleLine(*args, **kwargs)
1372
1373 def GetLastVisibleLine(*args, **kwargs):
1374 """GetLastVisibleLine() -> size_t"""
1375 return _windows.VScrolledWindow_GetLastVisibleLine(*args, **kwargs)
1376
1377 def IsVisible(*args, **kwargs):
1378 """IsVisible(size_t line) -> bool"""
1379 return _windows.VScrolledWindow_IsVisible(*args, **kwargs)
1380
1381
1382 class VScrolledWindowPtr(VScrolledWindow):
1383 def __init__(self, this):
1384 self.this = this
1385 if not hasattr(self,"thisown"): self.thisown = 0
1386 self.__class__ = VScrolledWindow
1387 _windows.VScrolledWindow_swigregister(VScrolledWindowPtr)
1388
1389 def PreVScrolledWindow(*args, **kwargs):
1390 """PreVScrolledWindow() -> VScrolledWindow"""
1391 val = _windows.new_PreVScrolledWindow(*args, **kwargs)
1392 val.thisown = 1
1393 return val
1394
1395 class VListBox(VScrolledWindow):
1396 def __repr__(self):
1397 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1398 def __init__(self, *args, **kwargs):
1399 """
1400 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1401 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> VListBox
1402 """
1403 newobj = _windows.new_VListBox(*args, **kwargs)
1404 self.this = newobj.this
1405 self.thisown = 1
1406 del newobj.thisown
1407 self._setOORInfo(self);self._setCallbackInfo(self, VListBox)
1408
1409 def _setCallbackInfo(*args, **kwargs):
1410 """_setCallbackInfo(PyObject self, PyObject _class)"""
1411 return _windows.VListBox__setCallbackInfo(*args, **kwargs)
1412
1413 def Create(*args, **kwargs):
1414 """
1415 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1416 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool
1417 """
1418 return _windows.VListBox_Create(*args, **kwargs)
1419
1420 def GetItemCount(*args, **kwargs):
1421 """GetItemCount() -> size_t"""
1422 return _windows.VListBox_GetItemCount(*args, **kwargs)
1423
1424 def HasMultipleSelection(*args, **kwargs):
1425 """HasMultipleSelection() -> bool"""
1426 return _windows.VListBox_HasMultipleSelection(*args, **kwargs)
1427
1428 def GetSelection(*args, **kwargs):
1429 """GetSelection() -> int"""
1430 return _windows.VListBox_GetSelection(*args, **kwargs)
1431
1432 def IsCurrent(*args, **kwargs):
1433 """IsCurrent(size_t item) -> bool"""
1434 return _windows.VListBox_IsCurrent(*args, **kwargs)
1435
1436 def IsSelected(*args, **kwargs):
1437 """IsSelected(size_t item) -> bool"""
1438 return _windows.VListBox_IsSelected(*args, **kwargs)
1439
1440 def GetSelectedCount(*args, **kwargs):
1441 """GetSelectedCount() -> size_t"""
1442 return _windows.VListBox_GetSelectedCount(*args, **kwargs)
1443
1444 def GetFirstSelected(*args, **kwargs):
1445 """GetFirstSelected(unsigned long cookie) -> int"""
1446 return _windows.VListBox_GetFirstSelected(*args, **kwargs)
1447
1448 def GetNextSelected(*args, **kwargs):
1449 """GetNextSelected(unsigned long cookie) -> int"""
1450 return _windows.VListBox_GetNextSelected(*args, **kwargs)
1451
1452 def GetMargins(*args, **kwargs):
1453 """GetMargins() -> Point"""
1454 return _windows.VListBox_GetMargins(*args, **kwargs)
1455
1456 def GetSelectionBackground(*args, **kwargs):
1457 """GetSelectionBackground() -> wxColour"""
1458 return _windows.VListBox_GetSelectionBackground(*args, **kwargs)
1459
1460 def SetItemCount(*args, **kwargs):
1461 """SetItemCount(size_t count)"""
1462 return _windows.VListBox_SetItemCount(*args, **kwargs)
1463
1464 def Clear(*args, **kwargs):
1465 """Clear()"""
1466 return _windows.VListBox_Clear(*args, **kwargs)
1467
1468 def SetSelection(*args, **kwargs):
1469 """SetSelection(int selection)"""
1470 return _windows.VListBox_SetSelection(*args, **kwargs)
1471
1472 def Select(*args, **kwargs):
1473 """Select(size_t item, bool select=True) -> bool"""
1474 return _windows.VListBox_Select(*args, **kwargs)
1475
1476 def SelectRange(*args, **kwargs):
1477 """SelectRange(size_t from, size_t to) -> bool"""
1478 return _windows.VListBox_SelectRange(*args, **kwargs)
1479
1480 def Toggle(*args, **kwargs):
1481 """Toggle(size_t item)"""
1482 return _windows.VListBox_Toggle(*args, **kwargs)
1483
1484 def SelectAll(*args, **kwargs):
1485 """SelectAll() -> bool"""
1486 return _windows.VListBox_SelectAll(*args, **kwargs)
1487
1488 def DeselectAll(*args, **kwargs):
1489 """DeselectAll() -> bool"""
1490 return _windows.VListBox_DeselectAll(*args, **kwargs)
1491
1492 def SetMargins(*args, **kwargs):
1493 """SetMargins(Point pt)"""
1494 return _windows.VListBox_SetMargins(*args, **kwargs)
1495
1496 def SetMarginsXY(*args, **kwargs):
1497 """SetMarginsXY(int x, int y)"""
1498 return _windows.VListBox_SetMarginsXY(*args, **kwargs)
1499
1500 def SetSelectionBackground(*args, **kwargs):
1501 """SetSelectionBackground(wxColour col)"""
1502 return _windows.VListBox_SetSelectionBackground(*args, **kwargs)
1503
1504
1505 class VListBoxPtr(VListBox):
1506 def __init__(self, this):
1507 self.this = this
1508 if not hasattr(self,"thisown"): self.thisown = 0
1509 self.__class__ = VListBox
1510 _windows.VListBox_swigregister(VListBoxPtr)
1511
1512 def PreVListBox(*args, **kwargs):
1513 """PreVListBox() -> VListBox"""
1514 val = _windows.new_PreVListBox(*args, **kwargs)
1515 val.thisown = 1
1516 return val
1517
1518 class HtmlListBox(VListBox):
1519 def __repr__(self):
1520 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1521 def __init__(self, *args, **kwargs):
1522 """
1523 __init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1524 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> HtmlListBox
1525 """
1526 newobj = _windows.new_HtmlListBox(*args, **kwargs)
1527 self.this = newobj.this
1528 self.thisown = 1
1529 del newobj.thisown
1530 self._setOORInfo(self);self._setCallbackInfo(self, HtmlListBox)
1531
1532 def _setCallbackInfo(*args, **kwargs):
1533 """_setCallbackInfo(PyObject self, PyObject _class)"""
1534 return _windows.HtmlListBox__setCallbackInfo(*args, **kwargs)
1535
1536 def Create(*args, **kwargs):
1537 """
1538 Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1539 Size size=DefaultSize, long style=0, wxString name=wxPyVListBoxNameStr) -> bool
1540 """
1541 return _windows.HtmlListBox_Create(*args, **kwargs)
1542
1543 def RefreshAll(*args, **kwargs):
1544 """RefreshAll()"""
1545 return _windows.HtmlListBox_RefreshAll(*args, **kwargs)
1546
1547 def SetItemCount(*args, **kwargs):
1548 """SetItemCount(size_t count)"""
1549 return _windows.HtmlListBox_SetItemCount(*args, **kwargs)
1550
1551
1552 class HtmlListBoxPtr(HtmlListBox):
1553 def __init__(self, this):
1554 self.this = this
1555 if not hasattr(self,"thisown"): self.thisown = 0
1556 self.__class__ = HtmlListBox
1557 _windows.HtmlListBox_swigregister(HtmlListBoxPtr)
1558
1559 def PreHtmlListBox(*args, **kwargs):
1560 """PreHtmlListBox() -> HtmlListBox"""
1561 val = _windows.new_PreHtmlListBox(*args, **kwargs)
1562 val.thisown = 1
1563 return val
1564
1565 #---------------------------------------------------------------------------
1566
1567 class TaskBarIcon(core.EvtHandler):
1568 def __repr__(self):
1569 return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1570 def __init__(self, *args, **kwargs):
1571 """__init__() -> TaskBarIcon"""
1572 newobj = _windows.new_TaskBarIcon(*args, **kwargs)
1573 self.this = newobj.this
1574 self.thisown = 1
1575 del newobj.thisown
1576 def __del__(self, destroy=_windows.delete_TaskBarIcon):
1577 """__del__()"""
1578 try:
1579 if self.thisown: destroy(self)
1580 except: pass
1581
1582 def IsOk(*args, **kwargs):
1583 """IsOk() -> bool"""
1584 return _windows.TaskBarIcon_IsOk(*args, **kwargs)
1585
1586 def IsIconInstalled(*args, **kwargs):
1587 """IsIconInstalled() -> bool"""
1588 return _windows.TaskBarIcon_IsIconInstalled(*args, **kwargs)
1589
1590 def SetIcon(*args, **kwargs):
1591 """SetIcon(wxIcon icon, wxString tooltip=wxPyEmptyString) -> bool"""
1592 return _windows.TaskBarIcon_SetIcon(*args, **kwargs)
1593
1594 def RemoveIcon(*args, **kwargs):
1595 """RemoveIcon(void ??) -> bool"""
1596 return _windows.TaskBarIcon_RemoveIcon(*args, **kwargs)
1597
1598 def PopupMenu(*args, **kwargs):
1599 """PopupMenu(Menu menu) -> bool"""
1600 return _windows.TaskBarIcon_PopupMenu(*args, **kwargs)
1601
1602
1603 class TaskBarIconPtr(TaskBarIcon):
1604 def __init__(self, this):
1605 self.this = this
1606 if not hasattr(self,"thisown"): self.thisown = 0
1607 self.__class__ = TaskBarIcon
1608 _windows.TaskBarIcon_swigregister(TaskBarIconPtr)
1609
1610 class TaskBarIconEvent(core.Event):
1611 def __repr__(self):
1612 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1613 def __init__(self, *args, **kwargs):
1614 """__init__(wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
1615 newobj = _windows.new_TaskBarIconEvent(*args, **kwargs)
1616 self.this = newobj.this
1617 self.thisown = 1
1618 del newobj.thisown
1619
1620 class TaskBarIconEventPtr(TaskBarIconEvent):
1621 def __init__(self, this):
1622 self.this = this
1623 if not hasattr(self,"thisown"): self.thisown = 0
1624 self.__class__ = TaskBarIconEvent
1625 _windows.TaskBarIconEvent_swigregister(TaskBarIconEventPtr)
1626
1627 wxEVT_TASKBAR_MOVE = _windows.wxEVT_TASKBAR_MOVE
1628 wxEVT_TASKBAR_LEFT_DOWN = _windows.wxEVT_TASKBAR_LEFT_DOWN
1629 wxEVT_TASKBAR_LEFT_UP = _windows.wxEVT_TASKBAR_LEFT_UP
1630 wxEVT_TASKBAR_RIGHT_DOWN = _windows.wxEVT_TASKBAR_RIGHT_DOWN
1631 wxEVT_TASKBAR_RIGHT_UP = _windows.wxEVT_TASKBAR_RIGHT_UP
1632 wxEVT_TASKBAR_LEFT_DCLICK = _windows.wxEVT_TASKBAR_LEFT_DCLICK
1633 wxEVT_TASKBAR_RIGHT_DCLICK = _windows.wxEVT_TASKBAR_RIGHT_DCLICK
1634 EVT_TASKBAR_MOVE = wx.PyEventBinder ( wxEVT_TASKBAR_MOVE )
1635 EVT_TASKBAR_LEFT_DOWN = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN )
1636 EVT_TASKBAR_LEFT_UP = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP )
1637 EVT_TASKBAR_RIGHT_DOWN = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN )
1638 EVT_TASKBAR_RIGHT_UP = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP )
1639 EVT_TASKBAR_LEFT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK )
1640 EVT_TASKBAR_RIGHT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK )
1641
1642 #---------------------------------------------------------------------------
1643
1644 class ColourData(core.Object):
1645 def __repr__(self):
1646 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1647 def __init__(self, *args, **kwargs):
1648 """__init__() -> ColourData"""
1649 newobj = _windows.new_ColourData(*args, **kwargs)
1650 self.this = newobj.this
1651 self.thisown = 1
1652 del newobj.thisown
1653 def __del__(self, destroy=_windows.delete_ColourData):
1654 """__del__()"""
1655 try:
1656 if self.thisown: destroy(self)
1657 except: pass
1658
1659 def GetChooseFull(*args, **kwargs):
1660 """GetChooseFull() -> bool"""
1661 return _windows.ColourData_GetChooseFull(*args, **kwargs)
1662
1663 def GetColour(*args, **kwargs):
1664 """GetColour() -> wxColour"""
1665 return _windows.ColourData_GetColour(*args, **kwargs)
1666
1667 def GetCustomColour(*args, **kwargs):
1668 """GetCustomColour(int i) -> wxColour"""
1669 return _windows.ColourData_GetCustomColour(*args, **kwargs)
1670
1671 def SetChooseFull(*args, **kwargs):
1672 """SetChooseFull(int flag)"""
1673 return _windows.ColourData_SetChooseFull(*args, **kwargs)
1674
1675 def SetColour(*args, **kwargs):
1676 """SetColour(wxColour colour)"""
1677 return _windows.ColourData_SetColour(*args, **kwargs)
1678
1679 def SetCustomColour(*args, **kwargs):
1680 """SetCustomColour(int i, wxColour colour)"""
1681 return _windows.ColourData_SetCustomColour(*args, **kwargs)
1682
1683
1684 class ColourDataPtr(ColourData):
1685 def __init__(self, this):
1686 self.this = this
1687 if not hasattr(self,"thisown"): self.thisown = 0
1688 self.__class__ = ColourData
1689 _windows.ColourData_swigregister(ColourDataPtr)
1690
1691 class ColourDialog(Dialog):
1692 def __repr__(self):
1693 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1694 def __init__(self, *args, **kwargs):
1695 """__init__(Window parent, ColourData data=None) -> ColourDialog"""
1696 newobj = _windows.new_ColourDialog(*args, **kwargs)
1697 self.this = newobj.this
1698 self.thisown = 1
1699 del newobj.thisown
1700 self._setOORInfo(self)
1701
1702 def GetColourData(*args, **kwargs):
1703 """GetColourData() -> ColourData"""
1704 return _windows.ColourDialog_GetColourData(*args, **kwargs)
1705
1706 def ShowModal(*args, **kwargs):
1707 """ShowModal() -> int"""
1708 return _windows.ColourDialog_ShowModal(*args, **kwargs)
1709
1710
1711 class ColourDialogPtr(ColourDialog):
1712 def __init__(self, this):
1713 self.this = this
1714 if not hasattr(self,"thisown"): self.thisown = 0
1715 self.__class__ = ColourDialog
1716 _windows.ColourDialog_swigregister(ColourDialogPtr)
1717
1718 class DirDialog(Dialog):
1719 def __repr__(self):
1720 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1721 def __init__(self, *args, **kwargs):
1722 """
1723 __init__(Window parent, wxString message=wxPyDirSelectorPromptStr,
1724 wxString defaultPath=wxPyEmptyString,
1725 long style=0, Point pos=DefaultPosition, Size size=DefaultSize,
1726 wxString name=wxPyDirDialogNameStr) -> DirDialog
1727 """
1728 newobj = _windows.new_DirDialog(*args, **kwargs)
1729 self.this = newobj.this
1730 self.thisown = 1
1731 del newobj.thisown
1732 self._setOORInfo(self)
1733
1734 def GetPath(*args, **kwargs):
1735 """GetPath() -> wxString"""
1736 return _windows.DirDialog_GetPath(*args, **kwargs)
1737
1738 def GetMessage(*args, **kwargs):
1739 """GetMessage() -> wxString"""
1740 return _windows.DirDialog_GetMessage(*args, **kwargs)
1741
1742 def GetStyle(*args, **kwargs):
1743 """GetStyle() -> long"""
1744 return _windows.DirDialog_GetStyle(*args, **kwargs)
1745
1746 def SetMessage(*args, **kwargs):
1747 """SetMessage(wxString message)"""
1748 return _windows.DirDialog_SetMessage(*args, **kwargs)
1749
1750 def SetPath(*args, **kwargs):
1751 """SetPath(wxString path)"""
1752 return _windows.DirDialog_SetPath(*args, **kwargs)
1753
1754 def ShowModal(*args, **kwargs):
1755 """ShowModal() -> int"""
1756 return _windows.DirDialog_ShowModal(*args, **kwargs)
1757
1758
1759 class DirDialogPtr(DirDialog):
1760 def __init__(self, this):
1761 self.this = this
1762 if not hasattr(self,"thisown"): self.thisown = 0
1763 self.__class__ = DirDialog
1764 _windows.DirDialog_swigregister(DirDialogPtr)
1765
1766 class FileDialog(Dialog):
1767 def __repr__(self):
1768 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1769 def __init__(self, *args, **kwargs):
1770 """
1771 __init__(Window parent, wxString message=wxPyFileSelectorPromptStr,
1772 wxString defaultDir=wxPyEmptyString,
1773 wxString defaultFile=wxPyEmptyString, wxString wildcard=wxPyFileSelectorDefaultWildcardStr,
1774 long style=0,
1775 Point pos=DefaultPosition) -> FileDialog
1776 """
1777 newobj = _windows.new_FileDialog(*args, **kwargs)
1778 self.this = newobj.this
1779 self.thisown = 1
1780 del newobj.thisown
1781 self._setOORInfo(self)
1782
1783 def SetMessage(*args, **kwargs):
1784 """SetMessage(wxString message)"""
1785 return _windows.FileDialog_SetMessage(*args, **kwargs)
1786
1787 def SetPath(*args, **kwargs):
1788 """SetPath(wxString path)"""
1789 return _windows.FileDialog_SetPath(*args, **kwargs)
1790
1791 def SetDirectory(*args, **kwargs):
1792 """SetDirectory(wxString dir)"""
1793 return _windows.FileDialog_SetDirectory(*args, **kwargs)
1794
1795 def SetFilename(*args, **kwargs):
1796 """SetFilename(wxString name)"""
1797 return _windows.FileDialog_SetFilename(*args, **kwargs)
1798
1799 def SetWildcard(*args, **kwargs):
1800 """SetWildcard(wxString wildCard)"""
1801 return _windows.FileDialog_SetWildcard(*args, **kwargs)
1802
1803 def SetStyle(*args, **kwargs):
1804 """SetStyle(long style)"""
1805 return _windows.FileDialog_SetStyle(*args, **kwargs)
1806
1807 def SetFilterIndex(*args, **kwargs):
1808 """SetFilterIndex(int filterIndex)"""
1809 return _windows.FileDialog_SetFilterIndex(*args, **kwargs)
1810
1811 def GetMessage(*args, **kwargs):
1812 """GetMessage() -> wxString"""
1813 return _windows.FileDialog_GetMessage(*args, **kwargs)
1814
1815 def GetPath(*args, **kwargs):
1816 """GetPath() -> wxString"""
1817 return _windows.FileDialog_GetPath(*args, **kwargs)
1818
1819 def GetDirectory(*args, **kwargs):
1820 """GetDirectory() -> wxString"""
1821 return _windows.FileDialog_GetDirectory(*args, **kwargs)
1822
1823 def GetFilename(*args, **kwargs):
1824 """GetFilename() -> wxString"""
1825 return _windows.FileDialog_GetFilename(*args, **kwargs)
1826
1827 def GetWildcard(*args, **kwargs):
1828 """GetWildcard() -> wxString"""
1829 return _windows.FileDialog_GetWildcard(*args, **kwargs)
1830
1831 def GetStyle(*args, **kwargs):
1832 """GetStyle() -> long"""
1833 return _windows.FileDialog_GetStyle(*args, **kwargs)
1834
1835 def GetFilterIndex(*args, **kwargs):
1836 """GetFilterIndex() -> int"""
1837 return _windows.FileDialog_GetFilterIndex(*args, **kwargs)
1838
1839 def GetFilenames(*args, **kwargs):
1840 """GetFilenames() -> PyObject"""
1841 return _windows.FileDialog_GetFilenames(*args, **kwargs)
1842
1843 def GetPaths(*args, **kwargs):
1844 """GetPaths() -> PyObject"""
1845 return _windows.FileDialog_GetPaths(*args, **kwargs)
1846
1847
1848 class FileDialogPtr(FileDialog):
1849 def __init__(self, this):
1850 self.this = this
1851 if not hasattr(self,"thisown"): self.thisown = 0
1852 self.__class__ = FileDialog
1853 _windows.FileDialog_swigregister(FileDialogPtr)
1854
1855 CHOICEDLG_STYLE = _windows.CHOICEDLG_STYLE
1856 class MultiChoiceDialog(Dialog):
1857 def __repr__(self):
1858 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1859 def __init__(self, *args, **kwargs):
1860 """
1861 __init__(Window parent, wxString message, wxString caption,
1862 int LCOUNT, wxString choices, long style=CHOICEDLG_STYLE,
1863 Point pos=DefaultPosition) -> MultiChoiceDialog
1864 """
1865 newobj = _windows.new_MultiChoiceDialog(*args, **kwargs)
1866 self.this = newobj.this
1867 self.thisown = 1
1868 del newobj.thisown
1869 self._setOORInfo(self)
1870
1871 def SetSelections(*args, **kwargs):
1872 """SetSelections(wxArrayInt selections)"""
1873 return _windows.MultiChoiceDialog_SetSelections(*args, **kwargs)
1874
1875 def GetSelections(*args, **kwargs):
1876 """GetSelections() -> PyObject"""
1877 return _windows.MultiChoiceDialog_GetSelections(*args, **kwargs)
1878
1879
1880 class MultiChoiceDialogPtr(MultiChoiceDialog):
1881 def __init__(self, this):
1882 self.this = this
1883 if not hasattr(self,"thisown"): self.thisown = 0
1884 self.__class__ = MultiChoiceDialog
1885 _windows.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr)
1886
1887 class SingleChoiceDialog(Dialog):
1888 def __repr__(self):
1889 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1890 def __init__(self, *args, **kwargs):
1891 """
1892 __init__(Window parent, wxString message, wxString caption,
1893 int choices, wxString choices_array, long style=CHOICEDLG_STYLE,
1894 Point pos=DefaultPosition) -> SingleChoiceDialog
1895 """
1896 newobj = _windows.new_SingleChoiceDialog(*args, **kwargs)
1897 self.this = newobj.this
1898 self.thisown = 1
1899 del newobj.thisown
1900 self._setOORInfo(self)
1901
1902 def GetSelection(*args, **kwargs):
1903 """GetSelection() -> int"""
1904 return _windows.SingleChoiceDialog_GetSelection(*args, **kwargs)
1905
1906 def GetStringSelection(*args, **kwargs):
1907 """GetStringSelection() -> wxString"""
1908 return _windows.SingleChoiceDialog_GetStringSelection(*args, **kwargs)
1909
1910 def SetSelection(*args, **kwargs):
1911 """SetSelection(int sel)"""
1912 return _windows.SingleChoiceDialog_SetSelection(*args, **kwargs)
1913
1914 def ShowModal(*args, **kwargs):
1915 """ShowModal() -> int"""
1916 return _windows.SingleChoiceDialog_ShowModal(*args, **kwargs)
1917
1918
1919 class SingleChoiceDialogPtr(SingleChoiceDialog):
1920 def __init__(self, this):
1921 self.this = this
1922 if not hasattr(self,"thisown"): self.thisown = 0
1923 self.__class__ = SingleChoiceDialog
1924 _windows.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr)
1925
1926 class TextEntryDialog(Dialog):
1927 def __repr__(self):
1928 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1929 def __init__(self, *args, **kwargs):
1930 """
1931 __init__(Window parent, wxString message, wxString caption=wxPyGetTextFromUserPromptStr,
1932 wxString defaultValue=wxPyEmptyString,
1933 long style=wxOK|wxCANCEL|wxCENTRE,
1934 Point pos=DefaultPosition) -> TextEntryDialog
1935 """
1936 newobj = _windows.new_TextEntryDialog(*args, **kwargs)
1937 self.this = newobj.this
1938 self.thisown = 1
1939 del newobj.thisown
1940 self._setOORInfo(self)
1941
1942 def GetValue(*args, **kwargs):
1943 """GetValue() -> wxString"""
1944 return _windows.TextEntryDialog_GetValue(*args, **kwargs)
1945
1946 def SetValue(*args, **kwargs):
1947 """SetValue(wxString value)"""
1948 return _windows.TextEntryDialog_SetValue(*args, **kwargs)
1949
1950 def ShowModal(*args, **kwargs):
1951 """ShowModal() -> int"""
1952 return _windows.TextEntryDialog_ShowModal(*args, **kwargs)
1953
1954
1955 class TextEntryDialogPtr(TextEntryDialog):
1956 def __init__(self, this):
1957 self.this = this
1958 if not hasattr(self,"thisown"): self.thisown = 0
1959 self.__class__ = TextEntryDialog
1960 _windows.TextEntryDialog_swigregister(TextEntryDialogPtr)
1961
1962 class FontData(core.Object):
1963 def __repr__(self):
1964 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1965 def __init__(self, *args, **kwargs):
1966 """__init__() -> FontData"""
1967 newobj = _windows.new_FontData(*args, **kwargs)
1968 self.this = newobj.this
1969 self.thisown = 1
1970 del newobj.thisown
1971 def __del__(self, destroy=_windows.delete_FontData):
1972 """__del__()"""
1973 try:
1974 if self.thisown: destroy(self)
1975 except: pass
1976
1977 def EnableEffects(*args, **kwargs):
1978 """EnableEffects(bool enable)"""
1979 return _windows.FontData_EnableEffects(*args, **kwargs)
1980
1981 def GetAllowSymbols(*args, **kwargs):
1982 """GetAllowSymbols() -> bool"""
1983 return _windows.FontData_GetAllowSymbols(*args, **kwargs)
1984
1985 def GetColour(*args, **kwargs):
1986 """GetColour() -> wxColour"""
1987 return _windows.FontData_GetColour(*args, **kwargs)
1988
1989 def GetChosenFont(*args, **kwargs):
1990 """GetChosenFont() -> wxFont"""
1991 return _windows.FontData_GetChosenFont(*args, **kwargs)
1992
1993 def GetEnableEffects(*args, **kwargs):
1994 """GetEnableEffects() -> bool"""
1995 return _windows.FontData_GetEnableEffects(*args, **kwargs)
1996
1997 def GetInitialFont(*args, **kwargs):
1998 """GetInitialFont() -> wxFont"""
1999 return _windows.FontData_GetInitialFont(*args, **kwargs)
2000
2001 def GetShowHelp(*args, **kwargs):
2002 """GetShowHelp() -> bool"""
2003 return _windows.FontData_GetShowHelp(*args, **kwargs)
2004
2005 def SetAllowSymbols(*args, **kwargs):
2006 """SetAllowSymbols(bool allowSymbols)"""
2007 return _windows.FontData_SetAllowSymbols(*args, **kwargs)
2008
2009 def SetChosenFont(*args, **kwargs):
2010 """SetChosenFont(wxFont font)"""
2011 return _windows.FontData_SetChosenFont(*args, **kwargs)
2012
2013 def SetColour(*args, **kwargs):
2014 """SetColour(wxColour colour)"""
2015 return _windows.FontData_SetColour(*args, **kwargs)
2016
2017 def SetInitialFont(*args, **kwargs):
2018 """SetInitialFont(wxFont font)"""
2019 return _windows.FontData_SetInitialFont(*args, **kwargs)
2020
2021 def SetRange(*args, **kwargs):
2022 """SetRange(int min, int max)"""
2023 return _windows.FontData_SetRange(*args, **kwargs)
2024
2025 def SetShowHelp(*args, **kwargs):
2026 """SetShowHelp(bool showHelp)"""
2027 return _windows.FontData_SetShowHelp(*args, **kwargs)
2028
2029
2030 class FontDataPtr(FontData):
2031 def __init__(self, this):
2032 self.this = this
2033 if not hasattr(self,"thisown"): self.thisown = 0
2034 self.__class__ = FontData
2035 _windows.FontData_swigregister(FontDataPtr)
2036
2037 class FontDialog(Dialog):
2038 def __repr__(self):
2039 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
2040 def __init__(self, *args, **kwargs):
2041 """__init__(Window parent, FontData data) -> FontDialog"""
2042 newobj = _windows.new_FontDialog(*args, **kwargs)
2043 self.this = newobj.this
2044 self.thisown = 1
2045 del newobj.thisown
2046 self._setOORInfo(self)
2047
2048 def GetFontData(*args, **kwargs):
2049 """GetFontData() -> FontData"""
2050 return _windows.FontDialog_GetFontData(*args, **kwargs)
2051
2052 def ShowModal(*args, **kwargs):
2053 """ShowModal() -> int"""
2054 return _windows.FontDialog_ShowModal(*args, **kwargs)
2055
2056
2057 class FontDialogPtr(FontDialog):
2058 def __init__(self, this):
2059 self.this = this
2060 if not hasattr(self,"thisown"): self.thisown = 0
2061 self.__class__ = FontDialog
2062 _windows.FontDialog_swigregister(FontDialogPtr)
2063
2064 class MessageDialog(Dialog):
2065 def __repr__(self):
2066 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
2067 def __init__(self, *args, **kwargs):
2068 """
2069 __init__(Window parent, wxString message, wxString caption=wxPyMessageBoxCaptionStr,
2070 long style=wxOK|wxCANCEL|wxCENTRE,
2071 Point pos=DefaultPosition) -> MessageDialog
2072 """
2073 newobj = _windows.new_MessageDialog(*args, **kwargs)
2074 self.this = newobj.this
2075 self.thisown = 1
2076 del newobj.thisown
2077 self._setOORInfo(self)
2078
2079 def ShowModal(*args, **kwargs):
2080 """ShowModal() -> int"""
2081 return _windows.MessageDialog_ShowModal(*args, **kwargs)
2082
2083
2084 class MessageDialogPtr(MessageDialog):
2085 def __init__(self, this):
2086 self.this = this
2087 if not hasattr(self,"thisown"): self.thisown = 0
2088 self.__class__ = MessageDialog
2089 _windows.MessageDialog_swigregister(MessageDialogPtr)
2090
2091 class ProgressDialog(Frame):
2092 def __repr__(self):
2093 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
2094 def __init__(self, *args, **kwargs):
2095 """
2096 __init__(wxString title, wxString message, int maximum=100,
2097 Window parent=None, int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
2098 """
2099 newobj = _windows.new_ProgressDialog(*args, **kwargs)
2100 self.this = newobj.this
2101 self.thisown = 1
2102 del newobj.thisown
2103 self._setOORInfo(self)
2104
2105 def Update(*args, **kwargs):
2106 """Update(int value, wxString newmsg=wxPyEmptyString) -> bool"""
2107 return _windows.ProgressDialog_Update(*args, **kwargs)
2108
2109 def Resume(*args, **kwargs):
2110 """Resume()"""
2111 return _windows.ProgressDialog_Resume(*args, **kwargs)
2112
2113
2114 class ProgressDialogPtr(ProgressDialog):
2115 def __init__(self, this):
2116 self.this = this
2117 if not hasattr(self,"thisown"): self.thisown = 0
2118 self.__class__ = ProgressDialog
2119 _windows.ProgressDialog_swigregister(ProgressDialogPtr)
2120
2121 FR_DOWN = _windows.FR_DOWN
2122 FR_WHOLEWORD = _windows.FR_WHOLEWORD
2123 FR_MATCHCASE = _windows.FR_MATCHCASE
2124 FR_REPLACEDIALOG = _windows.FR_REPLACEDIALOG
2125 FR_NOUPDOWN = _windows.FR_NOUPDOWN
2126 FR_NOMATCHCASE = _windows.FR_NOMATCHCASE
2127 FR_NOWHOLEWORD = _windows.FR_NOWHOLEWORD
2128 wxEVT_COMMAND_FIND = _windows.wxEVT_COMMAND_FIND
2129 wxEVT_COMMAND_FIND_NEXT = _windows.wxEVT_COMMAND_FIND_NEXT
2130 wxEVT_COMMAND_FIND_REPLACE = _windows.wxEVT_COMMAND_FIND_REPLACE
2131 wxEVT_COMMAND_FIND_REPLACE_ALL = _windows.wxEVT_COMMAND_FIND_REPLACE_ALL
2132 wxEVT_COMMAND_FIND_CLOSE = _windows.wxEVT_COMMAND_FIND_CLOSE
2133 EVT_FIND = wx.PyEventBinder( wxEVT_COMMAND_FIND, 1 )
2134 EVT_FIND_NEXT = wx.PyEventBinder( wxEVT_COMMAND_FIND_NEXT, 1 )
2135 EVT_FIND_REPLACE = wx.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE, 1 )
2136 EVT_FIND_REPLACE_ALL = wx.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL, 1 )
2137 EVT_FIND_CLOSE = wx.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE, 1 )
2138
2139 # For backwards compatibility. Should they be removed?
2140 EVT_COMMAND_FIND = EVT_FIND
2141 EVT_COMMAND_FIND_NEXT = EVT_FIND_NEXT
2142 EVT_COMMAND_FIND_REPLACE = EVT_FIND_REPLACE
2143 EVT_COMMAND_FIND_REPLACE_ALL = EVT_FIND_REPLACE_ALL
2144 EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE
2145
2146 class FindDialogEvent(core.CommandEvent):
2147 def __repr__(self):
2148 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
2149 def __init__(self, *args, **kwargs):
2150 """__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent"""
2151 newobj = _windows.new_FindDialogEvent(*args, **kwargs)
2152 self.this = newobj.this
2153 self.thisown = 1
2154 del newobj.thisown
2155 def GetFlags(*args, **kwargs):
2156 """GetFlags() -> int"""
2157 return _windows.FindDialogEvent_GetFlags(*args, **kwargs)
2158
2159 def GetFindString(*args, **kwargs):
2160 """GetFindString() -> wxString"""
2161 return _windows.FindDialogEvent_GetFindString(*args, **kwargs)
2162
2163 def GetReplaceString(*args, **kwargs):
2164 """GetReplaceString() -> wxString"""
2165 return _windows.FindDialogEvent_GetReplaceString(*args, **kwargs)
2166
2167 def GetDialog(*args, **kwargs):
2168 """GetDialog() -> FindReplaceDialog"""
2169 return _windows.FindDialogEvent_GetDialog(*args, **kwargs)
2170
2171 def SetFlags(*args, **kwargs):
2172 """SetFlags(int flags)"""
2173 return _windows.FindDialogEvent_SetFlags(*args, **kwargs)
2174
2175 def SetFindString(*args, **kwargs):
2176 """SetFindString(wxString str)"""
2177 return _windows.FindDialogEvent_SetFindString(*args, **kwargs)
2178
2179 def SetReplaceString(*args, **kwargs):
2180 """SetReplaceString(wxString str)"""
2181 return _windows.FindDialogEvent_SetReplaceString(*args, **kwargs)
2182
2183
2184 class FindDialogEventPtr(FindDialogEvent):
2185 def __init__(self, this):
2186 self.this = this
2187 if not hasattr(self,"thisown"): self.thisown = 0
2188 self.__class__ = FindDialogEvent
2189 _windows.FindDialogEvent_swigregister(FindDialogEventPtr)
2190
2191 class FindReplaceData(core.Object):
2192 def __repr__(self):
2193 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
2194 def __init__(self, *args, **kwargs):
2195 """__init__(int flags=0) -> FindReplaceData"""
2196 newobj = _windows.new_FindReplaceData(*args, **kwargs)
2197 self.this = newobj.this
2198 self.thisown = 1
2199 del newobj.thisown
2200 def __del__(self, destroy=_windows.delete_FindReplaceData):
2201 """__del__()"""
2202 try:
2203 if self.thisown: destroy(self)
2204 except: pass
2205
2206 def GetFindString(*args, **kwargs):
2207 """GetFindString() -> wxString"""
2208 return _windows.FindReplaceData_GetFindString(*args, **kwargs)
2209
2210 def GetReplaceString(*args, **kwargs):
2211 """GetReplaceString() -> wxString"""
2212 return _windows.FindReplaceData_GetReplaceString(*args, **kwargs)
2213
2214 def GetFlags(*args, **kwargs):
2215 """GetFlags() -> int"""
2216 return _windows.FindReplaceData_GetFlags(*args, **kwargs)
2217
2218 def SetFlags(*args, **kwargs):
2219 """SetFlags(int flags)"""
2220 return _windows.FindReplaceData_SetFlags(*args, **kwargs)
2221
2222 def SetFindString(*args, **kwargs):
2223 """SetFindString(wxString str)"""
2224 return _windows.FindReplaceData_SetFindString(*args, **kwargs)
2225
2226 def SetReplaceString(*args, **kwargs):
2227 """SetReplaceString(wxString str)"""
2228 return _windows.FindReplaceData_SetReplaceString(*args, **kwargs)
2229
2230
2231 class FindReplaceDataPtr(FindReplaceData):
2232 def __init__(self, this):
2233 self.this = this
2234 if not hasattr(self,"thisown"): self.thisown = 0
2235 self.__class__ = FindReplaceData
2236 _windows.FindReplaceData_swigregister(FindReplaceDataPtr)
2237
2238 class FindReplaceDialog(Dialog):
2239 def __repr__(self):
2240 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
2241 def __init__(self, *args, **kwargs):
2242 """
2243 __init__(Window parent, FindReplaceData data, wxString title,
2244 int style=0) -> FindReplaceDialog
2245 """
2246 newobj = _windows.new_FindReplaceDialog(*args, **kwargs)
2247 self.this = newobj.this
2248 self.thisown = 1
2249 del newobj.thisown
2250 self._setOORInfo(self)
2251
2252 def Create(*args, **kwargs):
2253 """
2254 Create(Window parent, FindReplaceData data, wxString title,
2255 int style=0) -> bool
2256 """
2257 return _windows.FindReplaceDialog_Create(*args, **kwargs)
2258
2259 def GetData(*args, **kwargs):
2260 """GetData() -> FindReplaceData"""
2261 return _windows.FindReplaceDialog_GetData(*args, **kwargs)
2262
2263 def SetData(*args, **kwargs):
2264 """SetData(FindReplaceData data)"""
2265 return _windows.FindReplaceDialog_SetData(*args, **kwargs)
2266
2267
2268 class FindReplaceDialogPtr(FindReplaceDialog):
2269 def __init__(self, this):
2270 self.this = this
2271 if not hasattr(self,"thisown"): self.thisown = 0
2272 self.__class__ = FindReplaceDialog
2273 _windows.FindReplaceDialog_swigregister(FindReplaceDialogPtr)
2274
2275 def PreFindReplaceDialog(*args, **kwargs):
2276 """PreFindReplaceDialog() -> FindReplaceDialog"""
2277 val = _windows.new_PreFindReplaceDialog(*args, **kwargs)
2278 val.thisown = 1
2279 return val
2280
2281 #---------------------------------------------------------------------------
2282
2283 IDM_WINDOWTILE = _windows.IDM_WINDOWTILE
2284 IDM_WINDOWTILEHOR = _windows.IDM_WINDOWTILEHOR
2285 IDM_WINDOWCASCADE = _windows.IDM_WINDOWCASCADE
2286 IDM_WINDOWICONS = _windows.IDM_WINDOWICONS
2287 IDM_WINDOWNEXT = _windows.IDM_WINDOWNEXT
2288 IDM_WINDOWTILEVERT = _windows.IDM_WINDOWTILEVERT
2289 FIRST_MDI_CHILD = _windows.FIRST_MDI_CHILD
2290 LAST_MDI_CHILD = _windows.LAST_MDI_CHILD
2291 class MDIParentFrame(Frame):
2292 def __repr__(self):
2293 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
2294 def __init__(self, *args, **kwargs):
2295 """
2296 __init__(Window parent, int id, wxString title, Point pos=DefaultPosition,
2297 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2298 wxString name=wxPyFrameNameStr) -> MDIParentFrame
2299 """
2300 newobj = _windows.new_MDIParentFrame(*args, **kwargs)
2301 self.this = newobj.this
2302 self.thisown = 1
2303 del newobj.thisown
2304 self._setOORInfo(self)
2305
2306 def Create(*args, **kwargs):
2307 """
2308 Create(Window parent, int id, wxString title, Point pos=DefaultPosition,
2309 Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL,
2310 wxString name=wxPyFrameNameStr) -> bool
2311 """
2312 return _windows.MDIParentFrame_Create(*args, **kwargs)
2313
2314 def ActivateNext(*args, **kwargs):
2315 """ActivateNext()"""
2316 return _windows.MDIParentFrame_ActivateNext(*args, **kwargs)
2317
2318 def ActivatePrevious(*args, **kwargs):
2319 """ActivatePrevious()"""
2320 return _windows.MDIParentFrame_ActivatePrevious(*args, **kwargs)
2321
2322 def ArrangeIcons(*args, **kwargs):
2323 """ArrangeIcons()"""
2324 return _windows.MDIParentFrame_ArrangeIcons(*args, **kwargs)
2325
2326 def Cascade(*args, **kwargs):
2327 """Cascade()"""
2328 return _windows.MDIParentFrame_Cascade(*args, **kwargs)
2329
2330 def GetActiveChild(*args, **kwargs):
2331 """GetActiveChild() -> MDIChildFrame"""
2332 return _windows.MDIParentFrame_GetActiveChild(*args, **kwargs)
2333
2334 def GetClientWindow(*args, **kwargs):
2335 """GetClientWindow() -> MDIClientWindow"""
2336 return _windows.MDIParentFrame_GetClientWindow(*args, **kwargs)
2337
2338 def GetToolBar(*args, **kwargs):
2339 """GetToolBar() -> Window"""
2340 return _windows.MDIParentFrame_GetToolBar(*args, **kwargs)
2341
2342 def GetWindowMenu(*args, **kwargs):
2343 """GetWindowMenu() -> Menu"""
2344 return _windows.MDIParentFrame_GetWindowMenu(*args, **kwargs)
2345
2346 def SetWindowMenu(*args, **kwargs):
2347 """SetWindowMenu(Menu menu)"""
2348 return _windows.MDIParentFrame_SetWindowMenu(*args, **kwargs)
2349
2350 def SetToolBar(*args, **kwargs):
2351 """SetToolBar(wxToolBar toolbar)"""
2352 return _windows.MDIParentFrame_SetToolBar(*args, **kwargs)
2353
2354 def Tile(*args, **kwargs):
2355 """Tile()"""
2356 return _windows.MDIParentFrame_Tile(*args, **kwargs)
2357
2358
2359 class MDIParentFramePtr(MDIParentFrame):
2360 def __init__(self, this):
2361 self.this = this
2362 if not hasattr(self,"thisown"): self.thisown = 0
2363 self.__class__ = MDIParentFrame
2364 _windows.MDIParentFrame_swigregister(MDIParentFramePtr)
2365
2366 def PreMDIParentFrame(*args, **kwargs):
2367 """PreMDIParentFrame() -> MDIParentFrame"""
2368 val = _windows.new_PreMDIParentFrame(*args, **kwargs)
2369 val.thisown = 1
2370 return val
2371
2372 class MDIChildFrame(Frame):
2373 def __repr__(self):
2374 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
2375 def __init__(self, *args, **kwargs):
2376 """
2377 __init__(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition,
2378 Size size=DefaultSize,
2379 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> MDIChildFrame
2380 """
2381 newobj = _windows.new_MDIChildFrame(*args, **kwargs)
2382 self.this = newobj.this
2383 self.thisown = 1
2384 del newobj.thisown
2385 self._setOORInfo(self)
2386
2387 def Create(*args, **kwargs):
2388 """
2389 Create(MDIParentFrame parent, int id, wxString title, Point pos=DefaultPosition,
2390 Size size=DefaultSize,
2391 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> bool
2392 """
2393 return _windows.MDIChildFrame_Create(*args, **kwargs)
2394
2395 def Activate(*args, **kwargs):
2396 """Activate()"""
2397 return _windows.MDIChildFrame_Activate(*args, **kwargs)
2398
2399 def Maximize(*args, **kwargs):
2400 """Maximize(bool maximize)"""
2401 return _windows.MDIChildFrame_Maximize(*args, **kwargs)
2402
2403 def Restore(*args, **kwargs):
2404 """Restore()"""
2405 return _windows.MDIChildFrame_Restore(*args, **kwargs)
2406
2407
2408 class MDIChildFramePtr(MDIChildFrame):
2409 def __init__(self, this):
2410 self.this = this
2411 if not hasattr(self,"thisown"): self.thisown = 0
2412 self.__class__ = MDIChildFrame
2413 _windows.MDIChildFrame_swigregister(MDIChildFramePtr)
2414
2415 def PreMDIChildFrame(*args, **kwargs):
2416 """PreMDIChildFrame() -> MDIChildFrame"""
2417 val = _windows.new_PreMDIChildFrame(*args, **kwargs)
2418 val.thisown = 1
2419 return val
2420
2421 class MDIClientWindow(core.Window):
2422 def __repr__(self):
2423 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
2424 def __init__(self, *args, **kwargs):
2425 """__init__(MDIParentFrame parent, long style=0) -> MDIClientWindow"""
2426 newobj = _windows.new_MDIClientWindow(*args, **kwargs)
2427 self.this = newobj.this
2428 self.thisown = 1
2429 del newobj.thisown
2430 self._setOORInfo(self)
2431
2432 def Create(*args, **kwargs):
2433 """Create(MDIParentFrame parent, long style=0) -> bool"""
2434 return _windows.MDIClientWindow_Create(*args, **kwargs)
2435
2436
2437 class MDIClientWindowPtr(MDIClientWindow):
2438 def __init__(self, this):
2439 self.this = this
2440 if not hasattr(self,"thisown"): self.thisown = 0
2441 self.__class__ = MDIClientWindow
2442 _windows.MDIClientWindow_swigregister(MDIClientWindowPtr)
2443
2444 def PreMDIClientWindow(*args, **kwargs):
2445 """PreMDIClientWindow() -> MDIClientWindow"""
2446 val = _windows.new_PreMDIClientWindow(*args, **kwargs)
2447 val.thisown = 1
2448 return val
2449
2450 #---------------------------------------------------------------------------
2451
2452 class PyWindow(core.Window):
2453 def __repr__(self):
2454 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
2455 def __init__(self, *args, **kwargs):
2456 """
2457 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2458 long style=0, wxString name=PanelNameStr) -> PyWindow
2459 """
2460 newobj = _windows.new_PyWindow(*args, **kwargs)
2461 self.this = newobj.this
2462 self.thisown = 1
2463 del newobj.thisown
2464 self._setOORInfo(self); self._setCallbackInfo(self, PyWindow)
2465
2466 def _setCallbackInfo(*args, **kwargs):
2467 """_setCallbackInfo(PyObject self, PyObject _class)"""
2468 return _windows.PyWindow__setCallbackInfo(*args, **kwargs)
2469
2470 def base_DoMoveWindow(*args, **kwargs):
2471 """base_DoMoveWindow(int x, int y, int width, int height)"""
2472 return _windows.PyWindow_base_DoMoveWindow(*args, **kwargs)
2473
2474 def base_DoSetSize(*args, **kwargs):
2475 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2476 return _windows.PyWindow_base_DoSetSize(*args, **kwargs)
2477
2478 def base_DoSetClientSize(*args, **kwargs):
2479 """base_DoSetClientSize(int width, int height)"""
2480 return _windows.PyWindow_base_DoSetClientSize(*args, **kwargs)
2481
2482 def base_DoSetVirtualSize(*args, **kwargs):
2483 """base_DoSetVirtualSize(int x, int y)"""
2484 return _windows.PyWindow_base_DoSetVirtualSize(*args, **kwargs)
2485
2486 def base_DoGetSize(*args, **kwargs):
2487 """base_DoGetSize() -> (width, height)"""
2488 return _windows.PyWindow_base_DoGetSize(*args, **kwargs)
2489
2490 def base_DoGetClientSize(*args, **kwargs):
2491 """base_DoGetClientSize() -> (width, height)"""
2492 return _windows.PyWindow_base_DoGetClientSize(*args, **kwargs)
2493
2494 def base_DoGetPosition(*args, **kwargs):
2495 """base_DoGetPosition() -> (x,y)"""
2496 return _windows.PyWindow_base_DoGetPosition(*args, **kwargs)
2497
2498 def base_DoGetVirtualSize(*args, **kwargs):
2499 """base_DoGetVirtualSize() -> Size"""
2500 return _windows.PyWindow_base_DoGetVirtualSize(*args, **kwargs)
2501
2502 def base_DoGetBestSize(*args, **kwargs):
2503 """base_DoGetBestSize() -> Size"""
2504 return _windows.PyWindow_base_DoGetBestSize(*args, **kwargs)
2505
2506 def base_InitDialog(*args, **kwargs):
2507 """base_InitDialog()"""
2508 return _windows.PyWindow_base_InitDialog(*args, **kwargs)
2509
2510 def base_TransferDataToWindow(*args, **kwargs):
2511 """base_TransferDataToWindow() -> bool"""
2512 return _windows.PyWindow_base_TransferDataToWindow(*args, **kwargs)
2513
2514 def base_TransferDataFromWindow(*args, **kwargs):
2515 """base_TransferDataFromWindow() -> bool"""
2516 return _windows.PyWindow_base_TransferDataFromWindow(*args, **kwargs)
2517
2518 def base_Validate(*args, **kwargs):
2519 """base_Validate() -> bool"""
2520 return _windows.PyWindow_base_Validate(*args, **kwargs)
2521
2522 def base_AcceptsFocus(*args, **kwargs):
2523 """base_AcceptsFocus() -> bool"""
2524 return _windows.PyWindow_base_AcceptsFocus(*args, **kwargs)
2525
2526 def base_AcceptsFocusFromKeyboard(*args, **kwargs):
2527 """base_AcceptsFocusFromKeyboard() -> bool"""
2528 return _windows.PyWindow_base_AcceptsFocusFromKeyboard(*args, **kwargs)
2529
2530 def base_GetMaxSize(*args, **kwargs):
2531 """base_GetMaxSize() -> Size"""
2532 return _windows.PyWindow_base_GetMaxSize(*args, **kwargs)
2533
2534 def base_AddChild(*args, **kwargs):
2535 """base_AddChild(Window child)"""
2536 return _windows.PyWindow_base_AddChild(*args, **kwargs)
2537
2538 def base_RemoveChild(*args, **kwargs):
2539 """base_RemoveChild(Window child)"""
2540 return _windows.PyWindow_base_RemoveChild(*args, **kwargs)
2541
2542
2543 class PyWindowPtr(PyWindow):
2544 def __init__(self, this):
2545 self.this = this
2546 if not hasattr(self,"thisown"): self.thisown = 0
2547 self.__class__ = PyWindow
2548 _windows.PyWindow_swigregister(PyWindowPtr)
2549
2550 class PyPanel(Panel):
2551 def __repr__(self):
2552 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
2553 def __init__(self, *args, **kwargs):
2554 """
2555 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
2556 long style=0, wxString name=PanelNameStr) -> PyPanel
2557 """
2558 newobj = _windows.new_PyPanel(*args, **kwargs)
2559 self.this = newobj.this
2560 self.thisown = 1
2561 del newobj.thisown
2562 self._setOORInfo(self); self._setCallbackInfo(self, PyPanel)
2563
2564 def _setCallbackInfo(*args, **kwargs):
2565 """_setCallbackInfo(PyObject self, PyObject _class)"""
2566 return _windows.PyPanel__setCallbackInfo(*args, **kwargs)
2567
2568 def base_DoMoveWindow(*args, **kwargs):
2569 """base_DoMoveWindow(int x, int y, int width, int height)"""
2570 return _windows.PyPanel_base_DoMoveWindow(*args, **kwargs)
2571
2572 def base_DoSetSize(*args, **kwargs):
2573 """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
2574 return _windows.PyPanel_base_DoSetSize(*args, **kwargs)
2575
2576 def base_DoSetClientSize(*args, **kwargs):
2577 """base_DoSetClientSize(int width, int height)"""
2578 return _windows.PyPanel_base_DoSetClientSize(*args, **kwargs)
2579
2580 def base_DoSetVirtualSize(*args, **kwargs):
2581 """base_DoSetVirtualSize(int x, int y)"""
2582 return _windows.PyPanel_base_DoSetVirtualSize(*args, **kwargs)
2583
2584 def base_DoGetSize(*args, **kwargs):
2585 """base_DoGetSize() -> (width, height)"""
2586 return _windows.PyPanel_base_DoGetSize(*args, **kwargs)
2587
2588 def base_DoGetClientSize(*args, **kwargs):
2589 """base_DoGetClientSize() -> (width, height)"""
2590 return _windows.PyPanel_base_DoGetClientSize(*args, **kwargs)
2591
2592 def base_DoGetPosition(*args, **kwargs):
2593 """base_DoGetPosition() -> (x,y)"""
2594 return _windows.PyPanel_base_DoGetPosition(*args, **kwargs)
2595
2596 def base_DoGetVirtualSize(*args, **kwargs):
2597 """base_DoGetVirtualSize() -> Size"""
2598 return _windows.PyPanel_base_DoGetVirtualSize(*args, **kwargs)
2599
2600 def base_DoGetBestSize(*args, **kwargs):
2601 """base_DoGetBestSize() -> Size"""
2602 return _windows.PyPanel_base_DoGetBestSize(*args, **kwargs)
2603
2604 def base_InitDialog(*args, **kwargs):
2605 """base_InitDialog()"""
2606 return _windows.PyPanel_base_InitDialog(*args, **kwargs)
2607
2608 def base_TransferDataToWindow(*args, **kwargs):
2609 """base_TransferDataToWindow() -> bool"""
2610 return _windows.PyPanel_base_TransferDataToWindow(*args, **kwargs)
2611
2612 def base_TransferDataFromWindow(*args, **kwargs):
2613 """base_TransferDataFromWindow() -> bool"""
2614 return _windows.PyPanel_base_TransferDataFromWindow(*args, **kwargs)
2615
2616 def base_Validate(*args, **kwargs):
2617 """base_Validate() -> bool"""
2618 return _windows.PyPanel_base_Validate(*args, **kwargs)
2619
2620 def base_AcceptsFocus(*args, **kwargs):
2621 """base_AcceptsFocus() -> bool"""
2622 return _windows.PyPanel_base_AcceptsFocus(*args, **kwargs)
2623
2624 def base_AcceptsFocusFromKeyboard(*args, **kwargs):
2625 """base_AcceptsFocusFromKeyboard() -> bool"""
2626 return _windows.PyPanel_base_AcceptsFocusFromKeyboard(*args, **kwargs)
2627
2628 def base_GetMaxSize(*args, **kwargs):
2629 """base_GetMaxSize() -> Size"""
2630 return _windows.PyPanel_base_GetMaxSize(*args, **kwargs)
2631
2632 def base_AddChild(*args, **kwargs):
2633 """base_AddChild(Window child)"""
2634 return _windows.PyPanel_base_AddChild(*args, **kwargs)
2635
2636 def base_RemoveChild(*args, **kwargs):
2637 """base_RemoveChild(Window child)"""
2638 return _windows.PyPanel_base_RemoveChild(*args, **kwargs)
2639
2640
2641 class PyPanelPtr(PyPanel):
2642 def __init__(self, this):
2643 self.this = this
2644 if not hasattr(self,"thisown"): self.thisown = 0
2645 self.__class__ = PyPanel
2646 _windows.PyPanel_swigregister(PyPanelPtr)
2647
2648 #---------------------------------------------------------------------------
2649
2650 PRINT_MODE_NONE = _windows.PRINT_MODE_NONE
2651 PRINT_MODE_PREVIEW = _windows.PRINT_MODE_PREVIEW
2652 PRINT_MODE_FILE = _windows.PRINT_MODE_FILE
2653 PRINT_MODE_PRINTER = _windows.PRINT_MODE_PRINTER
2654 class PrintData(core.Object):
2655 def __repr__(self):
2656 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
2657 def __init__(self, *args, **kwargs):
2658 """__init__() -> PrintData"""
2659 newobj = _windows.new_PrintData(*args, **kwargs)
2660 self.this = newobj.this
2661 self.thisown = 1
2662 del newobj.thisown
2663 def __del__(self, destroy=_windows.delete_PrintData):
2664 """__del__()"""
2665 try:
2666 if self.thisown: destroy(self)
2667 except: pass
2668
2669 def GetNoCopies(*args, **kwargs):
2670 """GetNoCopies() -> int"""
2671 return _windows.PrintData_GetNoCopies(*args, **kwargs)
2672
2673 def GetCollate(*args, **kwargs):
2674 """GetCollate() -> bool"""
2675 return _windows.PrintData_GetCollate(*args, **kwargs)
2676
2677 def GetOrientation(*args, **kwargs):
2678 """GetOrientation() -> int"""
2679 return _windows.PrintData_GetOrientation(*args, **kwargs)
2680
2681 def Ok(*args, **kwargs):
2682 """Ok() -> bool"""
2683 return _windows.PrintData_Ok(*args, **kwargs)
2684
2685 def GetPrinterName(*args, **kwargs):
2686 """GetPrinterName() -> wxString"""
2687 return _windows.PrintData_GetPrinterName(*args, **kwargs)
2688
2689 def GetColour(*args, **kwargs):
2690 """GetColour() -> bool"""
2691 return _windows.PrintData_GetColour(*args, **kwargs)
2692
2693 def GetDuplex(*args, **kwargs):
2694 """GetDuplex() -> wxDuplexMode"""
2695 return _windows.PrintData_GetDuplex(*args, **kwargs)
2696
2697 def GetPaperId(*args, **kwargs):
2698 """GetPaperId() -> wxPaperSize"""
2699 return _windows.PrintData_GetPaperId(*args, **kwargs)
2700
2701 def GetPaperSize(*args, **kwargs):
2702 """GetPaperSize() -> Size"""
2703 return _windows.PrintData_GetPaperSize(*args, **kwargs)
2704
2705 def GetQuality(*args, **kwargs):
2706 """GetQuality() -> wxPrintQuality"""
2707 return _windows.PrintData_GetQuality(*args, **kwargs)
2708
2709 def SetNoCopies(*args, **kwargs):
2710 """SetNoCopies(int v)"""
2711 return _windows.PrintData_SetNoCopies(*args, **kwargs)
2712
2713 def SetCollate(*args, **kwargs):
2714 """SetCollate(bool flag)"""
2715 return _windows.PrintData_SetCollate(*args, **kwargs)
2716
2717 def SetOrientation(*args, **kwargs):
2718 """SetOrientation(int orient)"""
2719 return _windows.PrintData_SetOrientation(*args, **kwargs)
2720
2721 def SetPrinterName(*args, **kwargs):
2722 """SetPrinterName(wxString name)"""
2723 return _windows.PrintData_SetPrinterName(*args, **kwargs)
2724
2725 def SetColour(*args, **kwargs):
2726 """SetColour(bool colour)"""
2727 return _windows.PrintData_SetColour(*args, **kwargs)
2728
2729 def SetDuplex(*args, **kwargs):
2730 """SetDuplex(wxDuplexMode duplex)"""
2731 return _windows.PrintData_SetDuplex(*args, **kwargs)
2732
2733 def SetPaperId(*args, **kwargs):
2734 """SetPaperId(wxPaperSize sizeId)"""
2735 return _windows.PrintData_SetPaperId(*args, **kwargs)
2736
2737 def SetPaperSize(*args, **kwargs):
2738 """SetPaperSize(Size sz)"""
2739 return _windows.PrintData_SetPaperSize(*args, **kwargs)
2740
2741 def SetQuality(*args, **kwargs):
2742 """SetQuality(wxPrintQuality quality)"""
2743 return _windows.PrintData_SetQuality(*args, **kwargs)
2744
2745 def GetPrinterCommand(*args, **kwargs):
2746 """GetPrinterCommand() -> wxString"""
2747 return _windows.PrintData_GetPrinterCommand(*args, **kwargs)
2748
2749 def GetPrinterOptions(*args, **kwargs):
2750 """GetPrinterOptions() -> wxString"""
2751 return _windows.PrintData_GetPrinterOptions(*args, **kwargs)
2752
2753 def GetPreviewCommand(*args, **kwargs):
2754 """GetPreviewCommand() -> wxString"""
2755 return _windows.PrintData_GetPreviewCommand(*args, **kwargs)
2756
2757 def GetFilename(*args, **kwargs):
2758 """GetFilename() -> wxString"""
2759 return _windows.PrintData_GetFilename(*args, **kwargs)
2760
2761 def GetFontMetricPath(*args, **kwargs):
2762 """GetFontMetricPath() -> wxString"""
2763 return _windows.PrintData_GetFontMetricPath(*args, **kwargs)
2764
2765 def GetPrinterScaleX(*args, **kwargs):
2766 """GetPrinterScaleX() -> double"""
2767 return _windows.PrintData_GetPrinterScaleX(*args, **kwargs)
2768
2769 def GetPrinterScaleY(*args, **kwargs):
2770 """GetPrinterScaleY() -> double"""
2771 return _windows.PrintData_GetPrinterScaleY(*args, **kwargs)
2772
2773 def GetPrinterTranslateX(*args, **kwargs):
2774 """GetPrinterTranslateX() -> long"""
2775 return _windows.PrintData_GetPrinterTranslateX(*args, **kwargs)
2776
2777 def GetPrinterTranslateY(*args, **kwargs):
2778 """GetPrinterTranslateY() -> long"""
2779 return _windows.PrintData_GetPrinterTranslateY(*args, **kwargs)
2780
2781 def GetPrintMode(*args, **kwargs):
2782 """GetPrintMode() -> wxPrintMode"""
2783 return _windows.PrintData_GetPrintMode(*args, **kwargs)
2784
2785 def SetPrinterCommand(*args, **kwargs):
2786 """SetPrinterCommand(wxString command)"""
2787 return _windows.PrintData_SetPrinterCommand(*args, **kwargs)
2788
2789 def SetPrinterOptions(*args, **kwargs):
2790 """SetPrinterOptions(wxString options)"""
2791 return _windows.PrintData_SetPrinterOptions(*args, **kwargs)
2792
2793 def SetPreviewCommand(*args, **kwargs):
2794 """SetPreviewCommand(wxString command)"""
2795 return _windows.PrintData_SetPreviewCommand(*args, **kwargs)
2796
2797 def SetFilename(*args, **kwargs):
2798 """SetFilename(wxString filename)"""
2799 return _windows.PrintData_SetFilename(*args, **kwargs)
2800
2801 def SetFontMetricPath(*args, **kwargs):
2802 """SetFontMetricPath(wxString path)"""
2803 return _windows.PrintData_SetFontMetricPath(*args, **kwargs)
2804
2805 def SetPrinterScaleX(*args, **kwargs):
2806 """SetPrinterScaleX(double x)"""
2807 return _windows.PrintData_SetPrinterScaleX(*args, **kwargs)
2808
2809 def SetPrinterScaleY(*args, **kwargs):
2810 """SetPrinterScaleY(double y)"""
2811 return _windows.PrintData_SetPrinterScaleY(*args, **kwargs)
2812
2813 def SetPrinterScaling(*args, **kwargs):
2814 """SetPrinterScaling(double x, double y)"""
2815 return _windows.PrintData_SetPrinterScaling(*args, **kwargs)
2816
2817 def SetPrinterTranslateX(*args, **kwargs):
2818 """SetPrinterTranslateX(long x)"""
2819 return _windows.PrintData_SetPrinterTranslateX(*args, **kwargs)
2820
2821 def SetPrinterTranslateY(*args, **kwargs):
2822 """SetPrinterTranslateY(long y)"""
2823 return _windows.PrintData_SetPrinterTranslateY(*args, **kwargs)
2824
2825 def SetPrinterTranslation(*args, **kwargs):
2826 """SetPrinterTranslation(long x, long y)"""
2827 return _windows.PrintData_SetPrinterTranslation(*args, **kwargs)
2828
2829 def SetPrintMode(*args, **kwargs):
2830 """SetPrintMode(wxPrintMode printMode)"""
2831 return _windows.PrintData_SetPrintMode(*args, **kwargs)
2832
2833 def __nonzero__(self): return self.Ok()
2834
2835 class PrintDataPtr(PrintData):
2836 def __init__(self, this):
2837 self.this = this
2838 if not hasattr(self,"thisown"): self.thisown = 0
2839 self.__class__ = PrintData
2840 _windows.PrintData_swigregister(PrintDataPtr)
2841
2842 class PageSetupDialogData(core.Object):
2843 def __repr__(self):
2844 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
2845 def __init__(self, *args, **kwargs):
2846 """__init__() -> PageSetupDialogData"""
2847 newobj = _windows.new_PageSetupDialogData(*args, **kwargs)
2848 self.this = newobj.this
2849 self.thisown = 1
2850 del newobj.thisown
2851 def __del__(self, destroy=_windows.delete_PageSetupDialogData):
2852 """__del__()"""
2853 try:
2854 if self.thisown: destroy(self)
2855 except: pass
2856
2857 def EnableHelp(*args, **kwargs):
2858 """EnableHelp(bool flag)"""
2859 return _windows.PageSetupDialogData_EnableHelp(*args, **kwargs)
2860
2861 def EnableMargins(*args, **kwargs):
2862 """EnableMargins(bool flag)"""
2863 return _windows.PageSetupDialogData_EnableMargins(*args, **kwargs)
2864
2865 def EnableOrientation(*args, **kwargs):
2866 """EnableOrientation(bool flag)"""
2867 return _windows.PageSetupDialogData_EnableOrientation(*args, **kwargs)
2868
2869 def EnablePaper(*args, **kwargs):
2870 """EnablePaper(bool flag)"""
2871 return _windows.PageSetupDialogData_EnablePaper(*args, **kwargs)
2872
2873 def EnablePrinter(*args, **kwargs):
2874 """EnablePrinter(bool flag)"""
2875 return _windows.PageSetupDialogData_EnablePrinter(*args, **kwargs)
2876
2877 def GetDefaultMinMargins(*args, **kwargs):
2878 """GetDefaultMinMargins() -> bool"""
2879 return _windows.PageSetupDialogData_GetDefaultMinMargins(*args, **kwargs)
2880
2881 def GetEnableMargins(*args, **kwargs):
2882 """GetEnableMargins() -> bool"""
2883 return _windows.PageSetupDialogData_GetEnableMargins(*args, **kwargs)
2884
2885 def GetEnableOrientation(*args, **kwargs):
2886 """GetEnableOrientation() -> bool"""
2887 return _windows.PageSetupDialogData_GetEnableOrientation(*args, **kwargs)
2888
2889 def GetEnablePaper(*args, **kwargs):
2890 """GetEnablePaper() -> bool"""
2891 return _windows.PageSetupDialogData_GetEnablePaper(*args, **kwargs)
2892
2893 def GetEnablePrinter(*args, **kwargs):
2894 """GetEnablePrinter() -> bool"""
2895 return _windows.PageSetupDialogData_GetEnablePrinter(*args, **kwargs)
2896
2897 def GetEnableHelp(*args, **kwargs):
2898 """GetEnableHelp() -> bool"""
2899 return _windows.PageSetupDialogData_GetEnableHelp(*args, **kwargs)
2900
2901 def GetDefaultInfo(*args, **kwargs):
2902 """GetDefaultInfo() -> bool"""
2903 return _windows.PageSetupDialogData_GetDefaultInfo(*args, **kwargs)
2904
2905 def GetMarginTopLeft(*args, **kwargs):
2906 """GetMarginTopLeft() -> Point"""
2907 return _windows.PageSetupDialogData_GetMarginTopLeft(*args, **kwargs)
2908
2909 def GetMarginBottomRight(*args, **kwargs):
2910 """GetMarginBottomRight() -> Point"""
2911 return _windows.PageSetupDialogData_GetMarginBottomRight(*args, **kwargs)
2912
2913 def GetMinMarginTopLeft(*args, **kwargs):
2914 """GetMinMarginTopLeft() -> Point"""
2915 return _windows.PageSetupDialogData_GetMinMarginTopLeft(*args, **kwargs)
2916
2917 def GetMinMarginBottomRight(*args, **kwargs):
2918 """GetMinMarginBottomRight() -> Point"""
2919 return _windows.PageSetupDialogData_GetMinMarginBottomRight(*args, **kwargs)
2920
2921 def GetPaperId(*args, **kwargs):
2922 """GetPaperId() -> wxPaperSize"""
2923 return _windows.PageSetupDialogData_GetPaperId(*args, **kwargs)
2924
2925 def GetPaperSize(*args, **kwargs):
2926 """GetPaperSize() -> Size"""
2927 return _windows.PageSetupDialogData_GetPaperSize(*args, **kwargs)
2928
2929 def GetPrintData(*args, **kwargs):
2930 """GetPrintData() -> PrintData"""
2931 return _windows.PageSetupDialogData_GetPrintData(*args, **kwargs)
2932
2933 def Ok(*args, **kwargs):
2934 """Ok() -> bool"""
2935 return _windows.PageSetupDialogData_Ok(*args, **kwargs)
2936
2937 def SetDefaultInfo(*args, **kwargs):
2938 """SetDefaultInfo(bool flag)"""
2939 return _windows.PageSetupDialogData_SetDefaultInfo(*args, **kwargs)
2940
2941 def SetDefaultMinMargins(*args, **kwargs):
2942 """SetDefaultMinMargins(bool flag)"""
2943 return _windows.PageSetupDialogData_SetDefaultMinMargins(*args, **kwargs)
2944
2945 def SetMarginTopLeft(*args, **kwargs):
2946 """SetMarginTopLeft(Point pt)"""
2947 return _windows.PageSetupDialogData_SetMarginTopLeft(*args, **kwargs)
2948
2949 def SetMarginBottomRight(*args, **kwargs):
2950 """SetMarginBottomRight(Point pt)"""
2951 return _windows.PageSetupDialogData_SetMarginBottomRight(*args, **kwargs)
2952
2953 def SetMinMarginTopLeft(*args, **kwargs):
2954 """SetMinMarginTopLeft(Point pt)"""
2955 return _windows.PageSetupDialogData_SetMinMarginTopLeft(*args, **kwargs)
2956
2957 def SetMinMarginBottomRight(*args, **kwargs):
2958 """SetMinMarginBottomRight(Point pt)"""
2959 return _windows.PageSetupDialogData_SetMinMarginBottomRight(*args, **kwargs)
2960
2961 def SetPaperId(*args, **kwargs):
2962 """SetPaperId(wxPaperSize id)"""
2963 return _windows.PageSetupDialogData_SetPaperId(*args, **kwargs)
2964
2965 def SetPaperSize(*args, **kwargs):
2966 """SetPaperSize(Size size)"""
2967 return _windows.PageSetupDialogData_SetPaperSize(*args, **kwargs)
2968
2969 def SetPrintData(*args, **kwargs):
2970 """SetPrintData(PrintData printData)"""
2971 return _windows.PageSetupDialogData_SetPrintData(*args, **kwargs)
2972
2973 def __nonzero__(self): return self.Ok()
2974
2975 class PageSetupDialogDataPtr(PageSetupDialogData):
2976 def __init__(self, this):
2977 self.this = this
2978 if not hasattr(self,"thisown"): self.thisown = 0
2979 self.__class__ = PageSetupDialogData
2980 _windows.PageSetupDialogData_swigregister(PageSetupDialogDataPtr)
2981
2982 class PageSetupDialog(Dialog):
2983 def __repr__(self):
2984 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
2985 def __init__(self, *args, **kwargs):
2986 """__init__(Window parent, PageSetupDialogData data=None) -> PageSetupDialog"""
2987 newobj = _windows.new_PageSetupDialog(*args, **kwargs)
2988 self.this = newobj.this
2989 self.thisown = 1
2990 del newobj.thisown
2991 self._setOORInfo(self)
2992
2993 def GetPageSetupData(*args, **kwargs):
2994 """GetPageSetupData() -> PageSetupDialogData"""
2995 return _windows.PageSetupDialog_GetPageSetupData(*args, **kwargs)
2996
2997 def ShowModal(*args, **kwargs):
2998 """ShowModal() -> int"""
2999 return _windows.PageSetupDialog_ShowModal(*args, **kwargs)
3000
3001
3002 class PageSetupDialogPtr(PageSetupDialog):
3003 def __init__(self, this):
3004 self.this = this
3005 if not hasattr(self,"thisown"): self.thisown = 0
3006 self.__class__ = PageSetupDialog
3007 _windows.PageSetupDialog_swigregister(PageSetupDialogPtr)
3008
3009 class PrintDialogData(core.Object):
3010 def __repr__(self):
3011 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
3012 def __init__(self, *args, **kwargs):
3013 """__init__() -> PrintDialogData"""
3014 newobj = _windows.new_PrintDialogData(*args, **kwargs)
3015 self.this = newobj.this
3016 self.thisown = 1
3017 del newobj.thisown
3018 def __del__(self, destroy=_windows.delete_PrintDialogData):
3019 """__del__()"""
3020 try:
3021 if self.thisown: destroy(self)
3022 except: pass
3023
3024 def GetFromPage(*args, **kwargs):
3025 """GetFromPage() -> int"""
3026 return _windows.PrintDialogData_GetFromPage(*args, **kwargs)
3027
3028 def GetToPage(*args, **kwargs):
3029 """GetToPage() -> int"""
3030 return _windows.PrintDialogData_GetToPage(*args, **kwargs)
3031
3032 def GetMinPage(*args, **kwargs):
3033 """GetMinPage() -> int"""
3034 return _windows.PrintDialogData_GetMinPage(*args, **kwargs)
3035
3036 def GetMaxPage(*args, **kwargs):
3037 """GetMaxPage() -> int"""
3038 return _windows.PrintDialogData_GetMaxPage(*args, **kwargs)
3039
3040 def GetNoCopies(*args, **kwargs):
3041 """GetNoCopies() -> int"""
3042 return _windows.PrintDialogData_GetNoCopies(*args, **kwargs)
3043
3044 def GetAllPages(*args, **kwargs):
3045 """GetAllPages() -> bool"""
3046 return _windows.PrintDialogData_GetAllPages(*args, **kwargs)
3047
3048 def GetSelection(*args, **kwargs):
3049 """GetSelection() -> bool"""
3050 return _windows.PrintDialogData_GetSelection(*args, **kwargs)
3051
3052 def GetCollate(*args, **kwargs):
3053 """GetCollate() -> bool"""
3054 return _windows.PrintDialogData_GetCollate(*args, **kwargs)
3055
3056 def GetPrintToFile(*args, **kwargs):
3057 """GetPrintToFile() -> bool"""
3058 return _windows.PrintDialogData_GetPrintToFile(*args, **kwargs)
3059
3060 def GetSetupDialog(*args, **kwargs):
3061 """GetSetupDialog() -> bool"""
3062 return _windows.PrintDialogData_GetSetupDialog(*args, **kwargs)
3063
3064 def SetFromPage(*args, **kwargs):
3065 """SetFromPage(int v)"""
3066 return _windows.PrintDialogData_SetFromPage(*args, **kwargs)
3067
3068 def SetToPage(*args, **kwargs):
3069 """SetToPage(int v)"""
3070 return _windows.PrintDialogData_SetToPage(*args, **kwargs)
3071
3072 def SetMinPage(*args, **kwargs):
3073 """SetMinPage(int v)"""
3074 return _windows.PrintDialogData_SetMinPage(*args, **kwargs)
3075
3076 def SetMaxPage(*args, **kwargs):
3077 """SetMaxPage(int v)"""
3078 return _windows.PrintDialogData_SetMaxPage(*args, **kwargs)
3079
3080 def SetNoCopies(*args, **kwargs):
3081 """SetNoCopies(int v)"""
3082 return _windows.PrintDialogData_SetNoCopies(*args, **kwargs)
3083
3084 def SetAllPages(*args, **kwargs):
3085 """SetAllPages(bool flag)"""
3086 return _windows.PrintDialogData_SetAllPages(*args, **kwargs)
3087
3088 def SetSelection(*args, **kwargs):
3089 """SetSelection(bool flag)"""
3090 return _windows.PrintDialogData_SetSelection(*args, **kwargs)
3091
3092 def SetCollate(*args, **kwargs):
3093 """SetCollate(bool flag)"""
3094 return _windows.PrintDialogData_SetCollate(*args, **kwargs)
3095
3096 def SetPrintToFile(*args, **kwargs):
3097 """SetPrintToFile(bool flag)"""
3098 return _windows.PrintDialogData_SetPrintToFile(*args, **kwargs)
3099
3100 def SetSetupDialog(*args, **kwargs):
3101 """SetSetupDialog(bool flag)"""
3102 return _windows.PrintDialogData_SetSetupDialog(*args, **kwargs)
3103
3104 def EnablePrintToFile(*args, **kwargs):
3105 """EnablePrintToFile(bool flag)"""
3106 return _windows.PrintDialogData_EnablePrintToFile(*args, **kwargs)
3107
3108 def EnableSelection(*args, **kwargs):
3109 """EnableSelection(bool flag)"""
3110 return _windows.PrintDialogData_EnableSelection(*args, **kwargs)
3111
3112 def EnablePageNumbers(*args, **kwargs):
3113 """EnablePageNumbers(bool flag)"""
3114 return _windows.PrintDialogData_EnablePageNumbers(*args, **kwargs)
3115
3116 def EnableHelp(*args, **kwargs):
3117 """EnableHelp(bool flag)"""
3118 return _windows.PrintDialogData_EnableHelp(*args, **kwargs)
3119
3120 def GetEnablePrintToFile(*args, **kwargs):
3121 """GetEnablePrintToFile() -> bool"""
3122 return _windows.PrintDialogData_GetEnablePrintToFile(*args, **kwargs)
3123
3124 def GetEnableSelection(*args, **kwargs):
3125 """GetEnableSelection() -> bool"""
3126 return _windows.PrintDialogData_GetEnableSelection(*args, **kwargs)
3127
3128 def GetEnablePageNumbers(*args, **kwargs):
3129 """GetEnablePageNumbers() -> bool"""
3130 return _windows.PrintDialogData_GetEnablePageNumbers(*args, **kwargs)
3131
3132 def GetEnableHelp(*args, **kwargs):
3133 """GetEnableHelp() -> bool"""
3134 return _windows.PrintDialogData_GetEnableHelp(*args, **kwargs)
3135
3136 def Ok(*args, **kwargs):
3137 """Ok() -> bool"""
3138 return _windows.PrintDialogData_Ok(*args, **kwargs)
3139
3140 def GetPrintData(*args, **kwargs):
3141 """GetPrintData() -> PrintData"""
3142 return _windows.PrintDialogData_GetPrintData(*args, **kwargs)
3143
3144 def SetPrintData(*args, **kwargs):
3145 """SetPrintData(PrintData printData)"""
3146 return _windows.PrintDialogData_SetPrintData(*args, **kwargs)
3147
3148 def __nonzero__(self): return self.Ok()
3149
3150 class PrintDialogDataPtr(PrintDialogData):
3151 def __init__(self, this):
3152 self.this = this
3153 if not hasattr(self,"thisown"): self.thisown = 0
3154 self.__class__ = PrintDialogData
3155 _windows.PrintDialogData_swigregister(PrintDialogDataPtr)
3156
3157 class PrintDialog(Dialog):
3158 def __repr__(self):
3159 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
3160 def __init__(self, *args, **kwargs):
3161 """__init__(Window parent, PrintDialogData data=None) -> PrintDialog"""
3162 newobj = _windows.new_PrintDialog(*args, **kwargs)
3163 self.this = newobj.this
3164 self.thisown = 1
3165 del newobj.thisown
3166 self._setOORInfo(self)
3167
3168 def GetPrintDialogData(*args, **kwargs):
3169 """GetPrintDialogData() -> PrintDialogData"""
3170 return _windows.PrintDialog_GetPrintDialogData(*args, **kwargs)
3171
3172 def GetPrintDC(*args, **kwargs):
3173 """GetPrintDC() -> wxDC"""
3174 return _windows.PrintDialog_GetPrintDC(*args, **kwargs)
3175
3176 def ShowModal(*args, **kwargs):
3177 """ShowModal() -> int"""
3178 return _windows.PrintDialog_ShowModal(*args, **kwargs)
3179
3180
3181 class PrintDialogPtr(PrintDialog):
3182 def __init__(self, this):
3183 self.this = this
3184 if not hasattr(self,"thisown"): self.thisown = 0
3185 self.__class__ = PrintDialog
3186 _windows.PrintDialog_swigregister(PrintDialogPtr)
3187
3188 PRINTER_NO_ERROR = _windows.PRINTER_NO_ERROR
3189 PRINTER_CANCELLED = _windows.PRINTER_CANCELLED
3190 PRINTER_ERROR = _windows.PRINTER_ERROR
3191 class Printer(core.Object):
3192 def __repr__(self):
3193 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
3194 def __init__(self, *args, **kwargs):
3195 """__init__(PrintDialogData data=None) -> Printer"""
3196 newobj = _windows.new_Printer(*args, **kwargs)
3197 self.this = newobj.this
3198 self.thisown = 1
3199 del newobj.thisown
3200 def __del__(self, destroy=_windows.delete_Printer):
3201 """__del__()"""
3202 try:
3203 if self.thisown: destroy(self)
3204 except: pass
3205
3206 def CreateAbortWindow(*args, **kwargs):
3207 """CreateAbortWindow(Window parent, Printout printout)"""
3208 return _windows.Printer_CreateAbortWindow(*args, **kwargs)
3209
3210 def GetPrintDialogData(*args, **kwargs):
3211 """GetPrintDialogData() -> PrintDialogData"""
3212 return _windows.Printer_GetPrintDialogData(*args, **kwargs)
3213
3214 def Print(*args, **kwargs):
3215 """Print(Window parent, Printout printout, int prompt=True) -> bool"""
3216 return _windows.Printer_Print(*args, **kwargs)
3217
3218 def PrintDialog(*args, **kwargs):
3219 """PrintDialog(Window parent) -> wxDC"""
3220 return _windows.Printer_PrintDialog(*args, **kwargs)
3221
3222 def ReportError(*args, **kwargs):
3223 """ReportError(Window parent, Printout printout, wxString message)"""
3224 return _windows.Printer_ReportError(*args, **kwargs)
3225
3226 def Setup(*args, **kwargs):
3227 """Setup(Window parent) -> bool"""
3228 return _windows.Printer_Setup(*args, **kwargs)
3229
3230 def GetAbort(*args, **kwargs):
3231 """GetAbort() -> bool"""
3232 return _windows.Printer_GetAbort(*args, **kwargs)
3233
3234 def GetLastError(*args, **kwargs):
3235 """Printer.GetLastError() -> wxPrinterError"""
3236 return _windows.Printer_GetLastError(*args, **kwargs)
3237
3238 GetLastError = staticmethod(GetLastError)
3239
3240 class PrinterPtr(Printer):
3241 def __init__(self, this):
3242 self.this = this
3243 if not hasattr(self,"thisown"): self.thisown = 0
3244 self.__class__ = Printer
3245 _windows.Printer_swigregister(PrinterPtr)
3246
3247 def Printer_GetLastError(*args, **kwargs):
3248 """Printer_GetLastError() -> wxPrinterError"""
3249 return _windows.Printer_GetLastError(*args, **kwargs)
3250
3251 class Printout(core.Object):
3252 def __repr__(self):
3253 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
3254 def __init__(self, *args, **kwargs):
3255 """__init__(wxString title=wxPyPrintoutTitleStr) -> Printout"""
3256 newobj = _windows.new_Printout(*args, **kwargs)
3257 self.this = newobj.this
3258 self.thisown = 1
3259 del newobj.thisown
3260 self._setCallbackInfo(self, Printout)
3261
3262 def _setCallbackInfo(*args, **kwargs):
3263 """_setCallbackInfo(PyObject self, PyObject _class)"""
3264 return _windows.Printout__setCallbackInfo(*args, **kwargs)
3265
3266 def GetTitle(*args, **kwargs):
3267 """GetTitle() -> wxString"""
3268 return _windows.Printout_GetTitle(*args, **kwargs)
3269
3270 def GetDC(*args, **kwargs):
3271 """GetDC() -> wxDC"""
3272 return _windows.Printout_GetDC(*args, **kwargs)
3273
3274 def SetDC(*args, **kwargs):
3275 """SetDC(wxDC dc)"""
3276 return _windows.Printout_SetDC(*args, **kwargs)
3277
3278 def SetPageSizePixels(*args, **kwargs):
3279 """SetPageSizePixels(int w, int h)"""
3280 return _windows.Printout_SetPageSizePixels(*args, **kwargs)
3281
3282 def GetPageSizePixels(*args, **kwargs):
3283 """GetPageSizePixels() -> (w, h)"""
3284 return _windows.Printout_GetPageSizePixels(*args, **kwargs)
3285
3286 def SetPageSizeMM(*args, **kwargs):
3287 """SetPageSizeMM(int w, int h)"""
3288 return _windows.Printout_SetPageSizeMM(*args, **kwargs)
3289
3290 def GetPageSizeMM(*args, **kwargs):
3291 """GetPageSizeMM() -> (w, h)"""
3292 return _windows.Printout_GetPageSizeMM(*args, **kwargs)
3293
3294 def SetPPIScreen(*args, **kwargs):
3295 """SetPPIScreen(int x, int y)"""
3296 return _windows.Printout_SetPPIScreen(*args, **kwargs)
3297
3298 def GetPPIScreen(*args, **kwargs):
3299 """GetPPIScreen() -> (x,y)"""
3300 return _windows.Printout_GetPPIScreen(*args, **kwargs)
3301
3302 def SetPPIPrinter(*args, **kwargs):
3303 """SetPPIPrinter(int x, int y)"""
3304 return _windows.Printout_SetPPIPrinter(*args, **kwargs)
3305
3306 def GetPPIPrinter(*args, **kwargs):
3307 """GetPPIPrinter() -> (x,y)"""
3308 return _windows.Printout_GetPPIPrinter(*args, **kwargs)
3309
3310 def IsPreview(*args, **kwargs):
3311 """IsPreview() -> bool"""
3312 return _windows.Printout_IsPreview(*args, **kwargs)
3313
3314 def SetIsPreview(*args, **kwargs):
3315 """SetIsPreview(bool p)"""
3316 return _windows.Printout_SetIsPreview(*args, **kwargs)
3317
3318 def base_OnBeginDocument(*args, **kwargs):
3319 """base_OnBeginDocument(int startPage, int endPage) -> bool"""
3320 return _windows.Printout_base_OnBeginDocument(*args, **kwargs)
3321
3322 def base_OnEndDocument(*args, **kwargs):
3323 """base_OnEndDocument()"""
3324 return _windows.Printout_base_OnEndDocument(*args, **kwargs)
3325
3326 def base_OnBeginPrinting(*args, **kwargs):
3327 """base_OnBeginPrinting()"""
3328 return _windows.Printout_base_OnBeginPrinting(*args, **kwargs)
3329
3330 def base_OnEndPrinting(*args, **kwargs):
3331 """base_OnEndPrinting()"""
3332 return _windows.Printout_base_OnEndPrinting(*args, **kwargs)
3333
3334 def base_OnPreparePrinting(*args, **kwargs):
3335 """base_OnPreparePrinting()"""
3336 return _windows.Printout_base_OnPreparePrinting(*args, **kwargs)
3337
3338 def base_HasPage(*args, **kwargs):
3339 """base_HasPage(int page) -> bool"""
3340 return _windows.Printout_base_HasPage(*args, **kwargs)
3341
3342 def base_GetPageInfo(*args, **kwargs):
3343 """base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)"""
3344 return _windows.Printout_base_GetPageInfo(*args, **kwargs)
3345
3346
3347 class PrintoutPtr(Printout):
3348 def __init__(self, this):
3349 self.this = this
3350 if not hasattr(self,"thisown"): self.thisown = 0
3351 self.__class__ = Printout
3352 _windows.Printout_swigregister(PrintoutPtr)
3353
3354 class PreviewCanvas(ScrolledWindow):
3355 def __repr__(self):
3356 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
3357 def __init__(self, *args, **kwargs):
3358 """
3359 __init__(PrintPreview preview, Window parent, Point pos=DefaultPosition,
3360 Size size=DefaultSize, long style=0,
3361 wxString name=wxPyPreviewCanvasNameStr) -> PreviewCanvas
3362 """
3363 newobj = _windows.new_PreviewCanvas(*args, **kwargs)
3364 self.this = newobj.this
3365 self.thisown = 1
3366 del newobj.thisown
3367 self._setOORInfo(self)
3368
3369
3370 class PreviewCanvasPtr(PreviewCanvas):
3371 def __init__(self, this):
3372 self.this = this
3373 if not hasattr(self,"thisown"): self.thisown = 0
3374 self.__class__ = PreviewCanvas
3375 _windows.PreviewCanvas_swigregister(PreviewCanvasPtr)
3376
3377 class PreviewFrame(Frame):
3378 def __repr__(self):
3379 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
3380 def __init__(self, *args, **kwargs):
3381 """
3382 __init__(PrintPreview preview, Frame parent, wxString title,
3383 Point pos=DefaultPosition, Size size=DefaultSize,
3384 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PreviewFrame
3385 """
3386 newobj = _windows.new_PreviewFrame(*args, **kwargs)
3387 self.this = newobj.this
3388 self.thisown = 1
3389 del newobj.thisown
3390 self._setOORInfo(self)
3391
3392 def Initialize(*args, **kwargs):
3393 """Initialize()"""
3394 return _windows.PreviewFrame_Initialize(*args, **kwargs)
3395
3396 def CreateControlBar(*args, **kwargs):
3397 """CreateControlBar()"""
3398 return _windows.PreviewFrame_CreateControlBar(*args, **kwargs)
3399
3400 def CreateCanvas(*args, **kwargs):
3401 """CreateCanvas()"""
3402 return _windows.PreviewFrame_CreateCanvas(*args, **kwargs)
3403
3404 def GetControlBar(*args, **kwargs):
3405 """GetControlBar() -> PreviewControlBar"""
3406 return _windows.PreviewFrame_GetControlBar(*args, **kwargs)
3407
3408
3409 class PreviewFramePtr(PreviewFrame):
3410 def __init__(self, this):
3411 self.this = this
3412 if not hasattr(self,"thisown"): self.thisown = 0
3413 self.__class__ = PreviewFrame
3414 _windows.PreviewFrame_swigregister(PreviewFramePtr)
3415
3416 PREVIEW_PRINT = _windows.PREVIEW_PRINT
3417 PREVIEW_PREVIOUS = _windows.PREVIEW_PREVIOUS
3418 PREVIEW_NEXT = _windows.PREVIEW_NEXT
3419 PREVIEW_ZOOM = _windows.PREVIEW_ZOOM
3420 PREVIEW_FIRST = _windows.PREVIEW_FIRST
3421 PREVIEW_LAST = _windows.PREVIEW_LAST
3422 PREVIEW_GOTO = _windows.PREVIEW_GOTO
3423 PREVIEW_DEFAULT = _windows.PREVIEW_DEFAULT
3424 ID_PREVIEW_CLOSE = _windows.ID_PREVIEW_CLOSE
3425 ID_PREVIEW_NEXT = _windows.ID_PREVIEW_NEXT
3426 ID_PREVIEW_PREVIOUS = _windows.ID_PREVIEW_PREVIOUS
3427 ID_PREVIEW_PRINT = _windows.ID_PREVIEW_PRINT
3428 ID_PREVIEW_ZOOM = _windows.ID_PREVIEW_ZOOM
3429 ID_PREVIEW_FIRST = _windows.ID_PREVIEW_FIRST
3430 ID_PREVIEW_LAST = _windows.ID_PREVIEW_LAST
3431 ID_PREVIEW_GOTO = _windows.ID_PREVIEW_GOTO
3432 class PreviewControlBar(Panel):
3433 def __repr__(self):
3434 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
3435 def __init__(self, *args, **kwargs):
3436 """
3437 __init__(PrintPreview preview, long buttons, Window parent,
3438 Point pos=DefaultPosition, Size size=DefaultSize,
3439 long style=TAB_TRAVERSAL, wxString name=PanelNameStr) -> PreviewControlBar
3440 """
3441 newobj = _windows.new_PreviewControlBar(*args, **kwargs)
3442 self.this = newobj.this
3443 self.thisown = 1
3444 del newobj.thisown
3445 self._setOORInfo(self)
3446
3447 def GetZoomControl(*args, **kwargs):
3448 """GetZoomControl() -> int"""
3449 return _windows.PreviewControlBar_GetZoomControl(*args, **kwargs)
3450
3451 def SetZoomControl(*args, **kwargs):
3452 """SetZoomControl(int zoom)"""
3453 return _windows.PreviewControlBar_SetZoomControl(*args, **kwargs)
3454
3455 def GetPrintPreview(*args, **kwargs):
3456 """GetPrintPreview() -> PrintPreview"""
3457 return _windows.PreviewControlBar_GetPrintPreview(*args, **kwargs)
3458
3459 def OnNext(*args, **kwargs):
3460 """OnNext()"""
3461 return _windows.PreviewControlBar_OnNext(*args, **kwargs)
3462
3463 def OnPrevious(*args, **kwargs):
3464 """OnPrevious()"""
3465 return _windows.PreviewControlBar_OnPrevious(*args, **kwargs)
3466
3467 def OnFirst(*args, **kwargs):
3468 """OnFirst()"""
3469 return _windows.PreviewControlBar_OnFirst(*args, **kwargs)
3470
3471 def OnLast(*args, **kwargs):
3472 """OnLast()"""
3473 return _windows.PreviewControlBar_OnLast(*args, **kwargs)
3474
3475 def OnGoto(*args, **kwargs):
3476 """OnGoto()"""
3477 return _windows.PreviewControlBar_OnGoto(*args, **kwargs)
3478
3479
3480 class PreviewControlBarPtr(PreviewControlBar):
3481 def __init__(self, this):
3482 self.this = this
3483 if not hasattr(self,"thisown"): self.thisown = 0
3484 self.__class__ = PreviewControlBar
3485 _windows.PreviewControlBar_swigregister(PreviewControlBarPtr)
3486
3487 class PrintPreview(core.Object):
3488 def __repr__(self):
3489 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
3490 def __init__(self, *args, **kwargs):
3491 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PrintPreview"""
3492 newobj = _windows.new_PrintPreview(*args, **kwargs)
3493 self.this = newobj.this
3494 self.thisown = 1
3495 del newobj.thisown
3496 def SetCurrentPage(*args, **kwargs):
3497 """SetCurrentPage(int pageNum) -> bool"""
3498 return _windows.PrintPreview_SetCurrentPage(*args, **kwargs)
3499
3500 def GetCurrentPage(*args, **kwargs):
3501 """GetCurrentPage() -> int"""
3502 return _windows.PrintPreview_GetCurrentPage(*args, **kwargs)
3503
3504 def SetPrintout(*args, **kwargs):
3505 """SetPrintout(Printout printout)"""
3506 return _windows.PrintPreview_SetPrintout(*args, **kwargs)
3507
3508 def GetPrintout(*args, **kwargs):
3509 """GetPrintout() -> Printout"""
3510 return _windows.PrintPreview_GetPrintout(*args, **kwargs)
3511
3512 def GetPrintoutForPrinting(*args, **kwargs):
3513 """GetPrintoutForPrinting() -> Printout"""
3514 return _windows.PrintPreview_GetPrintoutForPrinting(*args, **kwargs)
3515
3516 def SetFrame(*args, **kwargs):
3517 """SetFrame(Frame frame)"""
3518 return _windows.PrintPreview_SetFrame(*args, **kwargs)
3519
3520 def SetCanvas(*args, **kwargs):
3521 """SetCanvas(PreviewCanvas canvas)"""
3522 return _windows.PrintPreview_SetCanvas(*args, **kwargs)
3523
3524 def GetFrame(*args, **kwargs):
3525 """GetFrame() -> Frame"""
3526 return _windows.PrintPreview_GetFrame(*args, **kwargs)
3527
3528 def GetCanvas(*args, **kwargs):
3529 """GetCanvas() -> PreviewCanvas"""
3530 return _windows.PrintPreview_GetCanvas(*args, **kwargs)
3531
3532 def PaintPage(*args, **kwargs):
3533 """PaintPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3534 return _windows.PrintPreview_PaintPage(*args, **kwargs)
3535
3536 def DrawBlankPage(*args, **kwargs):
3537 """DrawBlankPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3538 return _windows.PrintPreview_DrawBlankPage(*args, **kwargs)
3539
3540 def RenderPage(*args, **kwargs):
3541 """RenderPage(int pageNum) -> bool"""
3542 return _windows.PrintPreview_RenderPage(*args, **kwargs)
3543
3544 def AdjustScrollbars(*args, **kwargs):
3545 """AdjustScrollbars(PreviewCanvas canvas)"""
3546 return _windows.PrintPreview_AdjustScrollbars(*args, **kwargs)
3547
3548 def GetPrintDialogData(*args, **kwargs):
3549 """GetPrintDialogData() -> PrintDialogData"""
3550 return _windows.PrintPreview_GetPrintDialogData(*args, **kwargs)
3551
3552 def SetZoom(*args, **kwargs):
3553 """SetZoom(int percent)"""
3554 return _windows.PrintPreview_SetZoom(*args, **kwargs)
3555
3556 def GetZoom(*args, **kwargs):
3557 """GetZoom() -> int"""
3558 return _windows.PrintPreview_GetZoom(*args, **kwargs)
3559
3560 def GetMaxPage(*args, **kwargs):
3561 """GetMaxPage() -> int"""
3562 return _windows.PrintPreview_GetMaxPage(*args, **kwargs)
3563
3564 def GetMinPage(*args, **kwargs):
3565 """GetMinPage() -> int"""
3566 return _windows.PrintPreview_GetMinPage(*args, **kwargs)
3567
3568 def Ok(*args, **kwargs):
3569 """Ok() -> bool"""
3570 return _windows.PrintPreview_Ok(*args, **kwargs)
3571
3572 def SetOk(*args, **kwargs):
3573 """SetOk(bool ok)"""
3574 return _windows.PrintPreview_SetOk(*args, **kwargs)
3575
3576 def Print(*args, **kwargs):
3577 """Print(bool interactive) -> bool"""
3578 return _windows.PrintPreview_Print(*args, **kwargs)
3579
3580 def DetermineScaling(*args, **kwargs):
3581 """DetermineScaling()"""
3582 return _windows.PrintPreview_DetermineScaling(*args, **kwargs)
3583
3584 def __nonzero__(self): return self.Ok()
3585
3586 class PrintPreviewPtr(PrintPreview):
3587 def __init__(self, this):
3588 self.this = this
3589 if not hasattr(self,"thisown"): self.thisown = 0
3590 self.__class__ = PrintPreview
3591 _windows.PrintPreview_swigregister(PrintPreviewPtr)
3592
3593 class PyPrintPreview(PrintPreview):
3594 def __repr__(self):
3595 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
3596 def __init__(self, *args, **kwargs):
3597 """__init__(Printout printout, Printout printoutForPrinting, PrintData data=None) -> PyPrintPreview"""
3598 newobj = _windows.new_PyPrintPreview(*args, **kwargs)
3599 self.this = newobj.this
3600 self.thisown = 1
3601 del newobj.thisown
3602 self._setCallbackInfo(self, PyPrintPreview)
3603
3604 def _setCallbackInfo(*args, **kwargs):
3605 """_setCallbackInfo(PyObject self, PyObject _class)"""
3606 return _windows.PyPrintPreview__setCallbackInfo(*args, **kwargs)
3607
3608 def base_SetCurrentPage(*args, **kwargs):
3609 """base_SetCurrentPage(int pageNum) -> bool"""
3610 return _windows.PyPrintPreview_base_SetCurrentPage(*args, **kwargs)
3611
3612 def base_PaintPage(*args, **kwargs):
3613 """base_PaintPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3614 return _windows.PyPrintPreview_base_PaintPage(*args, **kwargs)
3615
3616 def base_DrawBlankPage(*args, **kwargs):
3617 """base_DrawBlankPage(PreviewCanvas canvas, wxDC dc) -> bool"""
3618 return _windows.PyPrintPreview_base_DrawBlankPage(*args, **kwargs)
3619
3620 def base_RenderPage(*args, **kwargs):
3621 """base_RenderPage(int pageNum) -> bool"""
3622 return _windows.PyPrintPreview_base_RenderPage(*args, **kwargs)
3623
3624 def base_SetZoom(*args, **kwargs):
3625 """base_SetZoom(int percent)"""
3626 return _windows.PyPrintPreview_base_SetZoom(*args, **kwargs)
3627
3628 def base_Print(*args, **kwargs):
3629 """base_Print(bool interactive) -> bool"""
3630 return _windows.PyPrintPreview_base_Print(*args, **kwargs)
3631
3632 def base_DetermineScaling(*args, **kwargs):
3633 """base_DetermineScaling()"""
3634 return _windows.PyPrintPreview_base_DetermineScaling(*args, **kwargs)
3635
3636
3637 class PyPrintPreviewPtr(PyPrintPreview):
3638 def __init__(self, this):
3639 self.this = this
3640 if not hasattr(self,"thisown"): self.thisown = 0
3641 self.__class__ = PyPrintPreview
3642 _windows.PyPrintPreview_swigregister(PyPrintPreviewPtr)
3643
3644 class PyPreviewFrame(PreviewFrame):
3645 def __repr__(self):
3646 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
3647 def __init__(self, *args, **kwargs):
3648 """
3649 __init__(PrintPreview preview, Frame parent, wxString title,
3650 Point pos=DefaultPosition, Size size=DefaultSize,
3651 long style=DEFAULT_FRAME_STYLE, wxString name=wxPyFrameNameStr) -> PyPreviewFrame
3652 """
3653 newobj = _windows.new_PyPreviewFrame(*args, **kwargs)
3654 self.this = newobj.this
3655 self.thisown = 1
3656 del newobj.thisown
3657 self._setCallbackInfo(self, PyPreviewFrame); self._setOORInfo(self)
3658
3659 def _setCallbackInfo(*args, **kwargs):
3660 """_setCallbackInfo(PyObject self, PyObject _class)"""
3661 return _windows.PyPreviewFrame__setCallbackInfo(*args, **kwargs)
3662
3663 def SetPreviewCanvas(*args, **kwargs):
3664 """SetPreviewCanvas(PreviewCanvas canvas)"""
3665 return _windows.PyPreviewFrame_SetPreviewCanvas(*args, **kwargs)
3666
3667 def SetControlBar(*args, **kwargs):
3668 """SetControlBar(PreviewControlBar bar)"""
3669 return _windows.PyPreviewFrame_SetControlBar(*args, **kwargs)
3670
3671 def base_Initialize(*args, **kwargs):
3672 """base_Initialize()"""
3673 return _windows.PyPreviewFrame_base_Initialize(*args, **kwargs)
3674
3675 def base_CreateCanvas(*args, **kwargs):
3676 """base_CreateCanvas()"""
3677 return _windows.PyPreviewFrame_base_CreateCanvas(*args, **kwargs)
3678
3679 def base_CreateControlBar(*args, **kwargs):
3680 """base_CreateControlBar()"""
3681 return _windows.PyPreviewFrame_base_CreateControlBar(*args, **kwargs)
3682
3683
3684 class PyPreviewFramePtr(PyPreviewFrame):
3685 def __init__(self, this):
3686 self.this = this
3687 if not hasattr(self,"thisown"): self.thisown = 0
3688 self.__class__ = PyPreviewFrame
3689 _windows.PyPreviewFrame_swigregister(PyPreviewFramePtr)
3690
3691 class PyPreviewControlBar(PreviewControlBar):
3692 def __repr__(self):
3693 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
3694 def __init__(self, *args, **kwargs):
3695 """
3696 __init__(PrintPreview preview, long buttons, Window parent,
3697 Point pos=DefaultPosition, Size size=DefaultSize,
3698 long style=0, wxString name=PanelNameStr) -> PyPreviewControlBar
3699 """
3700 newobj = _windows.new_PyPreviewControlBar(*args, **kwargs)
3701 self.this = newobj.this
3702 self.thisown = 1
3703 del newobj.thisown
3704 self._setCallbackInfo(self, PyPreviewControlBar); self._setOORInfo(self)
3705
3706 def _setCallbackInfo(*args, **kwargs):
3707 """_setCallbackInfo(PyObject self, PyObject _class)"""
3708 return _windows.PyPreviewControlBar__setCallbackInfo(*args, **kwargs)
3709
3710 def SetPrintPreview(*args, **kwargs):
3711 """SetPrintPreview(PrintPreview preview)"""
3712 return _windows.PyPreviewControlBar_SetPrintPreview(*args, **kwargs)
3713
3714 def base_CreateButtons(*args, **kwargs):
3715 """base_CreateButtons()"""
3716 return _windows.PyPreviewControlBar_base_CreateButtons(*args, **kwargs)
3717
3718 def base_SetZoomControl(*args, **kwargs):
3719 """base_SetZoomControl(int zoom)"""
3720 return _windows.PyPreviewControlBar_base_SetZoomControl(*args, **kwargs)
3721
3722
3723 class PyPreviewControlBarPtr(PyPreviewControlBar):
3724 def __init__(self, this):
3725 self.this = this
3726 if not hasattr(self,"thisown"): self.thisown = 0
3727 self.__class__ = PyPreviewControlBar
3728 _windows.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr)
3729
3730