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