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