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