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