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