]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/windows.py
Merged the wxPy_newswig branch into the HEAD branch (main trunk)
[wxWidgets.git] / wxPython / src / gtk / windows.py
1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
3
4 import _windows
5
6 import core
7 wx = core
8 #---------------------------------------------------------------------------
9
10 class Panel(core.Window):
11 def __init__(self, *args, **kwargs):
12 newobj = _windows.new_Panel(*args, **kwargs)
13 self.this = newobj.this
14 self.thisown = 1
15 del newobj.thisown
16 self._setOORInfo(self)
17 def Create(*args, **kwargs): return _windows.Panel_Create(*args, **kwargs)
18 def InitDialog(*args, **kwargs): return _windows.Panel_InitDialog(*args, **kwargs)
19 def __repr__(self):
20 return "<%s.%s; proxy of C++ wxPanel instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
21
22 class PanelPtr(Panel):
23 def __init__(self, this):
24 self.this = this
25 if not hasattr(self,"thisown"): self.thisown = 0
26 self.__class__ = Panel
27 _windows.Panel_swigregister(PanelPtr)
28
29 def PrePanel(*args, **kwargs):
30 val = _windows.new_PrePanel(*args, **kwargs)
31 val.thisown = 1
32 return val
33
34 #---------------------------------------------------------------------------
35
36 class ScrolledWindow(Panel):
37 def __init__(self, *args, **kwargs):
38 newobj = _windows.new_ScrolledWindow(*args, **kwargs)
39 self.this = newobj.this
40 self.thisown = 1
41 del newobj.thisown
42 self._setOORInfo(self)
43 def Create(*args, **kwargs): return _windows.ScrolledWindow_Create(*args, **kwargs)
44 def SetScrollbars(*args, **kwargs): return _windows.ScrolledWindow_SetScrollbars(*args, **kwargs)
45 def Scroll(*args, **kwargs): return _windows.ScrolledWindow_Scroll(*args, **kwargs)
46 def GetScrollPageSize(*args, **kwargs): return _windows.ScrolledWindow_GetScrollPageSize(*args, **kwargs)
47 def SetScrollPageSize(*args, **kwargs): return _windows.ScrolledWindow_SetScrollPageSize(*args, **kwargs)
48 def SetScrollRate(*args, **kwargs): return _windows.ScrolledWindow_SetScrollRate(*args, **kwargs)
49 def GetScrollPixelsPerUnit(*args, **kwargs): return _windows.ScrolledWindow_GetScrollPixelsPerUnit(*args, **kwargs)
50 def EnableScrolling(*args, **kwargs): return _windows.ScrolledWindow_EnableScrolling(*args, **kwargs)
51 def GetViewStart(*args, **kwargs): return _windows.ScrolledWindow_GetViewStart(*args, **kwargs)
52 def SetScale(*args, **kwargs): return _windows.ScrolledWindow_SetScale(*args, **kwargs)
53 def GetScaleX(*args, **kwargs): return _windows.ScrolledWindow_GetScaleX(*args, **kwargs)
54 def GetScaleY(*args, **kwargs): return _windows.ScrolledWindow_GetScaleY(*args, **kwargs)
55 def CalcScrolledPosition(*args): return _windows.ScrolledWindow_CalcScrolledPosition(*args)
56 def CalcUnscrolledPosition(*args): return _windows.ScrolledWindow_CalcUnscrolledPosition(*args)
57 def AdjustScrollbars(*args, **kwargs): return _windows.ScrolledWindow_AdjustScrollbars(*args, **kwargs)
58 def CalcScrollInc(*args, **kwargs): return _windows.ScrolledWindow_CalcScrollInc(*args, **kwargs)
59 def SetTargetWindow(*args, **kwargs): return _windows.ScrolledWindow_SetTargetWindow(*args, **kwargs)
60 def GetTargetWindow(*args, **kwargs): return _windows.ScrolledWindow_GetTargetWindow(*args, **kwargs)
61 def __repr__(self):
62 return "<%s.%s; proxy of C++ wxScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
63
64 class ScrolledWindowPtr(ScrolledWindow):
65 def __init__(self, this):
66 self.this = this
67 if not hasattr(self,"thisown"): self.thisown = 0
68 self.__class__ = ScrolledWindow
69 _windows.ScrolledWindow_swigregister(ScrolledWindowPtr)
70
71 def PreScrolledWindow(*args, **kwargs):
72 val = _windows.new_PreScrolledWindow(*args, **kwargs)
73 val.thisown = 1
74 return val
75
76 #---------------------------------------------------------------------------
77
78 class AcceleratorEntry(object):
79 def __init__(self, *args, **kwargs):
80 newobj = _windows.new_AcceleratorEntry(*args, **kwargs)
81 self.this = newobj.this
82 self.thisown = 1
83 del newobj.thisown
84 def __del__(self, destroy=_windows.delete_AcceleratorEntry):
85 try:
86 if self.thisown: destroy(self)
87 except: pass
88 def Set(*args, **kwargs): return _windows.AcceleratorEntry_Set(*args, **kwargs)
89 def SetMenuItem(*args, **kwargs): return _windows.AcceleratorEntry_SetMenuItem(*args, **kwargs)
90 def GetMenuItem(*args, **kwargs): return _windows.AcceleratorEntry_GetMenuItem(*args, **kwargs)
91 def GetFlags(*args, **kwargs): return _windows.AcceleratorEntry_GetFlags(*args, **kwargs)
92 def GetKeyCode(*args, **kwargs): return _windows.AcceleratorEntry_GetKeyCode(*args, **kwargs)
93 def GetCommand(*args, **kwargs): return _windows.AcceleratorEntry_GetCommand(*args, **kwargs)
94 def __repr__(self):
95 return "<%s.%s; proxy of C++ wxAcceleratorEntry instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
96
97 class AcceleratorEntryPtr(AcceleratorEntry):
98 def __init__(self, this):
99 self.this = this
100 if not hasattr(self,"thisown"): self.thisown = 0
101 self.__class__ = AcceleratorEntry
102 _windows.AcceleratorEntry_swigregister(AcceleratorEntryPtr)
103
104 class AcceleratorTable(core.Object):
105 def __init__(self, *args, **kwargs):
106 newobj = _windows.new_AcceleratorTable(*args, **kwargs)
107 self.this = newobj.this
108 self.thisown = 1
109 del newobj.thisown
110 def __del__(self, destroy=_windows.delete_AcceleratorTable):
111 try:
112 if self.thisown: destroy(self)
113 except: pass
114 def Ok(*args, **kwargs): return _windows.AcceleratorTable_Ok(*args, **kwargs)
115 def __repr__(self):
116 return "<%s.%s; proxy of C++ wxAcceleratorTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
117
118 class AcceleratorTablePtr(AcceleratorTable):
119 def __init__(self, this):
120 self.this = this
121 if not hasattr(self,"thisown"): self.thisown = 0
122 self.__class__ = AcceleratorTable
123 _windows.AcceleratorTable_swigregister(AcceleratorTablePtr)
124
125
126 GetAccelFromString = _windows.GetAccelFromString
127 #---------------------------------------------------------------------------
128
129 FULLSCREEN_NOMENUBAR = _windows.FULLSCREEN_NOMENUBAR
130 FULLSCREEN_NOTOOLBAR = _windows.FULLSCREEN_NOTOOLBAR
131 FULLSCREEN_NOSTATUSBAR = _windows.FULLSCREEN_NOSTATUSBAR
132 FULLSCREEN_NOBORDER = _windows.FULLSCREEN_NOBORDER
133 FULLSCREEN_NOCAPTION = _windows.FULLSCREEN_NOCAPTION
134 FULLSCREEN_ALL = _windows.FULLSCREEN_ALL
135 TOPLEVEL_EX_DIALOG = _windows.TOPLEVEL_EX_DIALOG
136 class TopLevelWindow(core.Window):
137 def Maximize(*args, **kwargs): return _windows.TopLevelWindow_Maximize(*args, **kwargs)
138 def Restore(*args, **kwargs): return _windows.TopLevelWindow_Restore(*args, **kwargs)
139 def Iconize(*args, **kwargs): return _windows.TopLevelWindow_Iconize(*args, **kwargs)
140 def IsMaximized(*args, **kwargs): return _windows.TopLevelWindow_IsMaximized(*args, **kwargs)
141 def IsIconized(*args, **kwargs): return _windows.TopLevelWindow_IsIconized(*args, **kwargs)
142 def GetIcon(*args, **kwargs): return _windows.TopLevelWindow_GetIcon(*args, **kwargs)
143 def SetIcon(*args, **kwargs): return _windows.TopLevelWindow_SetIcon(*args, **kwargs)
144 def SetIcons(*args, **kwargs): return _windows.TopLevelWindow_SetIcons(*args, **kwargs)
145 def ShowFullScreen(*args, **kwargs): return _windows.TopLevelWindow_ShowFullScreen(*args, **kwargs)
146 def IsFullScreen(*args, **kwargs): return _windows.TopLevelWindow_IsFullScreen(*args, **kwargs)
147 def SetTitle(*args, **kwargs): return _windows.TopLevelWindow_SetTitle(*args, **kwargs)
148 def GetTitle(*args, **kwargs): return _windows.TopLevelWindow_GetTitle(*args, **kwargs)
149 def SetShape(*args, **kwargs): return _windows.TopLevelWindow_SetShape(*args, **kwargs)
150 def __init__(self): raise RuntimeError, "No constructor defined"
151 def __repr__(self):
152 return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
153
154 class TopLevelWindowPtr(TopLevelWindow):
155 def __init__(self, this):
156 self.this = this
157 if not hasattr(self,"thisown"): self.thisown = 0
158 self.__class__ = TopLevelWindow
159 _windows.TopLevelWindow_swigregister(TopLevelWindowPtr)
160 cvar = _windows.cvar
161 NullAcceleratorTable = cvar.NullAcceleratorTable
162
163 #---------------------------------------------------------------------------
164
165 class Frame(TopLevelWindow):
166 def __init__(self, *args, **kwargs):
167 newobj = _windows.new_Frame(*args, **kwargs)
168 self.this = newobj.this
169 self.thisown = 1
170 del newobj.thisown
171 self._setOORInfo(self)
172 def Create(*args, **kwargs): return _windows.Frame_Create(*args, **kwargs)
173 def GetClientAreaOrigin(*args, **kwargs): return _windows.Frame_GetClientAreaOrigin(*args, **kwargs)
174 def SendSizeEvent(*args, **kwargs): return _windows.Frame_SendSizeEvent(*args, **kwargs)
175 def SetMenuBar(*args, **kwargs): return _windows.Frame_SetMenuBar(*args, **kwargs)
176 def GetMenuBar(*args, **kwargs): return _windows.Frame_GetMenuBar(*args, **kwargs)
177 def ProcessCommand(*args, **kwargs): return _windows.Frame_ProcessCommand(*args, **kwargs)
178 Command = ProcessCommand
179 def CreateStatusBar(*args, **kwargs): return _windows.Frame_CreateStatusBar(*args, **kwargs)
180 def GetStatusBar(*args, **kwargs): return _windows.Frame_GetStatusBar(*args, **kwargs)
181 def SetStatusBar(*args, **kwargs): return _windows.Frame_SetStatusBar(*args, **kwargs)
182 def SetStatusText(*args, **kwargs): return _windows.Frame_SetStatusText(*args, **kwargs)
183 def SetStatusWidths(*args, **kwargs): return _windows.Frame_SetStatusWidths(*args, **kwargs)
184 def PushStatusText(*args, **kwargs): return _windows.Frame_PushStatusText(*args, **kwargs)
185 def PopStatusText(*args, **kwargs): return _windows.Frame_PopStatusText(*args, **kwargs)
186 def SetStatusBarPane(*args, **kwargs): return _windows.Frame_SetStatusBarPane(*args, **kwargs)
187 def GetStatusBarPane(*args, **kwargs): return _windows.Frame_GetStatusBarPane(*args, **kwargs)
188 def CreateToolBar(*args, **kwargs): return _windows.Frame_CreateToolBar(*args, **kwargs)
189 def GetToolBar(*args, **kwargs): return _windows.Frame_GetToolBar(*args, **kwargs)
190 def SetToolBar(*args, **kwargs): return _windows.Frame_SetToolBar(*args, **kwargs)
191 def DoGiveHelp(*args, **kwargs): return _windows.Frame_DoGiveHelp(*args, **kwargs)
192 def DoMenuUpdates(*args, **kwargs): return _windows.Frame_DoMenuUpdates(*args, **kwargs)
193 def __repr__(self):
194 return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
195
196 class FramePtr(Frame):
197 def __init__(self, this):
198 self.this = this
199 if not hasattr(self,"thisown"): self.thisown = 0
200 self.__class__ = Frame
201 _windows.Frame_swigregister(FramePtr)
202
203 def PreFrame(*args, **kwargs):
204 val = _windows.new_PreFrame(*args, **kwargs)
205 val.thisown = 1
206 return val
207
208 #---------------------------------------------------------------------------
209
210 class Dialog(TopLevelWindow):
211 def __init__(self, *args, **kwargs):
212 newobj = _windows.new_Dialog(*args, **kwargs)
213 self.this = newobj.this
214 self.thisown = 1
215 del newobj.thisown
216 self._setOORInfo(self)
217 def Create(*args, **kwargs): return _windows.Dialog_Create(*args, **kwargs)
218 def SetReturnCode(*args, **kwargs): return _windows.Dialog_SetReturnCode(*args, **kwargs)
219 def GetReturnCode(*args, **kwargs): return _windows.Dialog_GetReturnCode(*args, **kwargs)
220 def CreateTextSizer(*args, **kwargs): return _windows.Dialog_CreateTextSizer(*args, **kwargs)
221 def CreateButtonSizer(*args, **kwargs): return _windows.Dialog_CreateButtonSizer(*args, **kwargs)
222 def SetModal(*args, **kwargs): return _windows.Dialog_SetModal(*args, **kwargs)
223 def IsModal(*args, **kwargs): return _windows.Dialog_IsModal(*args, **kwargs)
224 def ShowModal(*args, **kwargs): return _windows.Dialog_ShowModal(*args, **kwargs)
225 def EndModal(*args, **kwargs): return _windows.Dialog_EndModal(*args, **kwargs)
226 def IsModalShowing(*args, **kwargs): return _windows.Dialog_IsModalShowing(*args, **kwargs)
227 def __repr__(self):
228 return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
229
230 class DialogPtr(Dialog):
231 def __init__(self, this):
232 self.this = this
233 if not hasattr(self,"thisown"): self.thisown = 0
234 self.__class__ = Dialog
235 _windows.Dialog_swigregister(DialogPtr)
236
237 def PreDialog(*args, **kwargs):
238 val = _windows.new_PreDialog(*args, **kwargs)
239 val.thisown = 1
240 return val
241
242 #---------------------------------------------------------------------------
243
244 class MiniFrame(Frame):
245 def __init__(self, *args, **kwargs):
246 newobj = _windows.new_MiniFrame(*args, **kwargs)
247 self.this = newobj.this
248 self.thisown = 1
249 del newobj.thisown
250 self._setOORInfo(self)
251 def Create(*args, **kwargs): return _windows.MiniFrame_Create(*args, **kwargs)
252 def __repr__(self):
253 return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
254
255 class MiniFramePtr(MiniFrame):
256 def __init__(self, this):
257 self.this = this
258 if not hasattr(self,"thisown"): self.thisown = 0
259 self.__class__ = MiniFrame
260 _windows.MiniFrame_swigregister(MiniFramePtr)
261
262 def PreMiniFrame(*args, **kwargs):
263 val = _windows.new_PreMiniFrame(*args, **kwargs)
264 val.thisown = 1
265 return val
266
267 #---------------------------------------------------------------------------
268
269 SPLASH_CENTRE_ON_PARENT = _windows.SPLASH_CENTRE_ON_PARENT
270 SPLASH_CENTRE_ON_SCREEN = _windows.SPLASH_CENTRE_ON_SCREEN
271 SPLASH_NO_CENTRE = _windows.SPLASH_NO_CENTRE
272 SPLASH_TIMEOUT = _windows.SPLASH_TIMEOUT
273 SPLASH_NO_TIMEOUT = _windows.SPLASH_NO_TIMEOUT
274 class SplashScreenWindow(core.Window):
275 def __init__(self, *args, **kwargs):
276 newobj = _windows.new_SplashScreenWindow(*args, **kwargs)
277 self.this = newobj.this
278 self.thisown = 1
279 del newobj.thisown
280 self._setOORInfo(self)
281 def SetBitmap(*args, **kwargs): return _windows.SplashScreenWindow_SetBitmap(*args, **kwargs)
282 def GetBitmap(*args, **kwargs): return _windows.SplashScreenWindow_GetBitmap(*args, **kwargs)
283 def __repr__(self):
284 return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
285
286 class SplashScreenWindowPtr(SplashScreenWindow):
287 def __init__(self, this):
288 self.this = this
289 if not hasattr(self,"thisown"): self.thisown = 0
290 self.__class__ = SplashScreenWindow
291 _windows.SplashScreenWindow_swigregister(SplashScreenWindowPtr)
292
293 class SplashScreen(Frame):
294 def __init__(self, *args, **kwargs):
295 newobj = _windows.new_SplashScreen(*args, **kwargs)
296 self.this = newobj.this
297 self.thisown = 1
298 del newobj.thisown
299 self._setOORInfo(self)
300 def GetSplashStyle(*args, **kwargs): return _windows.SplashScreen_GetSplashStyle(*args, **kwargs)
301 def GetSplashWindow(*args, **kwargs): return _windows.SplashScreen_GetSplashWindow(*args, **kwargs)
302 def GetTimeout(*args, **kwargs): return _windows.SplashScreen_GetTimeout(*args, **kwargs)
303 def __repr__(self):
304 return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
305
306 class SplashScreenPtr(SplashScreen):
307 def __init__(self, this):
308 self.this = this
309 if not hasattr(self,"thisown"): self.thisown = 0
310 self.__class__ = SplashScreen
311 _windows.SplashScreen_swigregister(SplashScreenPtr)
312
313 #---------------------------------------------------------------------------
314
315 class StatusBar(core.Window):
316 def __init__(self, *args, **kwargs):
317 newobj = _windows.new_StatusBar(*args, **kwargs)
318 self.this = newobj.this
319 self.thisown = 1
320 del newobj.thisown
321 self._setOORInfo(self)
322 def Create(*args, **kwargs): return _windows.StatusBar_Create(*args, **kwargs)
323 def SetFieldsCount(*args, **kwargs): return _windows.StatusBar_SetFieldsCount(*args, **kwargs)
324 def GetFieldsCount(*args, **kwargs): return _windows.StatusBar_GetFieldsCount(*args, **kwargs)
325 def SetStatusText(*args, **kwargs): return _windows.StatusBar_SetStatusText(*args, **kwargs)
326 def GetStatusText(*args, **kwargs): return _windows.StatusBar_GetStatusText(*args, **kwargs)
327 def PushStatusText(*args, **kwargs): return _windows.StatusBar_PushStatusText(*args, **kwargs)
328 def PopStatusText(*args, **kwargs): return _windows.StatusBar_PopStatusText(*args, **kwargs)
329 def SetStatusWidths(*args, **kwargs): return _windows.StatusBar_SetStatusWidths(*args, **kwargs)
330 def GetFieldRect(*args, **kwargs): return _windows.StatusBar_GetFieldRect(*args, **kwargs)
331 def SetMinHeight(*args, **kwargs): return _windows.StatusBar_SetMinHeight(*args, **kwargs)
332 def GetBorderX(*args, **kwargs): return _windows.StatusBar_GetBorderX(*args, **kwargs)
333 def GetBorderY(*args, **kwargs): return _windows.StatusBar_GetBorderY(*args, **kwargs)
334 def __repr__(self):
335 return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
336
337 class StatusBarPtr(StatusBar):
338 def __init__(self, this):
339 self.this = this
340 if not hasattr(self,"thisown"): self.thisown = 0
341 self.__class__ = StatusBar
342 _windows.StatusBar_swigregister(StatusBarPtr)
343
344 def PreStatusBar(*args, **kwargs):
345 val = _windows.new_PreStatusBar(*args, **kwargs)
346 val.thisown = 1
347 return val
348
349 #---------------------------------------------------------------------------
350
351 SP_NOBORDER = _windows.SP_NOBORDER
352 SP_NOSASH = _windows.SP_NOSASH
353 SP_PERMIT_UNSPLIT = _windows.SP_PERMIT_UNSPLIT
354 SP_LIVE_UPDATE = _windows.SP_LIVE_UPDATE
355 SP_3DSASH = _windows.SP_3DSASH
356 SP_3DBORDER = _windows.SP_3DBORDER
357 SP_BORDER = _windows.SP_BORDER
358 SP_3D = _windows.SP_3D
359 SPLIT_HORIZONTAL = _windows.SPLIT_HORIZONTAL
360 SPLIT_VERTICAL = _windows.SPLIT_VERTICAL
361 SPLIT_DRAG_NONE = _windows.SPLIT_DRAG_NONE
362 SPLIT_DRAG_DRAGGING = _windows.SPLIT_DRAG_DRAGGING
363 SPLIT_DRAG_LEFT_DOWN = _windows.SPLIT_DRAG_LEFT_DOWN
364 class SplitterWindow(core.Window):
365 def __init__(self, *args, **kwargs):
366 newobj = _windows.new_SplitterWindow(*args, **kwargs)
367 self.this = newobj.this
368 self.thisown = 1
369 del newobj.thisown
370 self._setOORInfo(self)
371 def Create(*args, **kwargs): return _windows.SplitterWindow_Create(*args, **kwargs)
372 def GetWindow1(*args, **kwargs): return _windows.SplitterWindow_GetWindow1(*args, **kwargs)
373 def GetWindow2(*args, **kwargs): return _windows.SplitterWindow_GetWindow2(*args, **kwargs)
374 def SetSplitMode(*args, **kwargs): return _windows.SplitterWindow_SetSplitMode(*args, **kwargs)
375 def GetSplitMode(*args, **kwargs): return _windows.SplitterWindow_GetSplitMode(*args, **kwargs)
376 def Initialize(*args, **kwargs): return _windows.SplitterWindow_Initialize(*args, **kwargs)
377 def SplitVertically(*args, **kwargs): return _windows.SplitterWindow_SplitVertically(*args, **kwargs)
378 def SplitHorizontally(*args, **kwargs): return _windows.SplitterWindow_SplitHorizontally(*args, **kwargs)
379 def Unsplit(*args, **kwargs): return _windows.SplitterWindow_Unsplit(*args, **kwargs)
380 def ReplaceWindow(*args, **kwargs): return _windows.SplitterWindow_ReplaceWindow(*args, **kwargs)
381 def IsSplit(*args, **kwargs): return _windows.SplitterWindow_IsSplit(*args, **kwargs)
382 def SetSashSize(*args, **kwargs): return _windows.SplitterWindow_SetSashSize(*args, **kwargs)
383 def SetBorderSize(*args, **kwargs): return _windows.SplitterWindow_SetBorderSize(*args, **kwargs)
384 def GetSashSize(*args, **kwargs): return _windows.SplitterWindow_GetSashSize(*args, **kwargs)
385 def GetBorderSize(*args, **kwargs): return _windows.SplitterWindow_GetBorderSize(*args, **kwargs)
386 def SetSashPosition(*args, **kwargs): return _windows.SplitterWindow_SetSashPosition(*args, **kwargs)
387 def GetSashPosition(*args, **kwargs): return _windows.SplitterWindow_GetSashPosition(*args, **kwargs)
388 def SetMinimumPaneSize(*args, **kwargs): return _windows.SplitterWindow_SetMinimumPaneSize(*args, **kwargs)
389 def GetMinimumPaneSize(*args, **kwargs): return _windows.SplitterWindow_GetMinimumPaneSize(*args, **kwargs)
390 def SashHitTest(*args, **kwargs): return _windows.SplitterWindow_SashHitTest(*args, **kwargs)
391 def SizeWindows(*args, **kwargs): return _windows.SplitterWindow_SizeWindows(*args, **kwargs)
392 def SetNeedUpdating(*args, **kwargs): return _windows.SplitterWindow_SetNeedUpdating(*args, **kwargs)
393 def GetNeedUpdating(*args, **kwargs): return _windows.SplitterWindow_GetNeedUpdating(*args, **kwargs)
394 def __repr__(self):
395 return "<%s.%s; proxy of C++ wxSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
396
397 class SplitterWindowPtr(SplitterWindow):
398 def __init__(self, this):
399 self.this = this
400 if not hasattr(self,"thisown"): self.thisown = 0
401 self.__class__ = SplitterWindow
402 _windows.SplitterWindow_swigregister(SplitterWindowPtr)
403
404 def PreSplitterWindow(*args, **kwargs):
405 val = _windows.new_PreSplitterWindow(*args, **kwargs)
406 val.thisown = 1
407 return val
408
409 class SplitterEvent(core.NotifyEvent):
410 def __init__(self, *args, **kwargs):
411 newobj = _windows.new_SplitterEvent(*args, **kwargs)
412 self.this = newobj.this
413 self.thisown = 1
414 del newobj.thisown
415 def SetSashPosition(*args, **kwargs): return _windows.SplitterEvent_SetSashPosition(*args, **kwargs)
416 def GetSashPosition(*args, **kwargs): return _windows.SplitterEvent_GetSashPosition(*args, **kwargs)
417 def GetWindowBeingRemoved(*args, **kwargs): return _windows.SplitterEvent_GetWindowBeingRemoved(*args, **kwargs)
418 def GetX(*args, **kwargs): return _windows.SplitterEvent_GetX(*args, **kwargs)
419 def GetY(*args, **kwargs): return _windows.SplitterEvent_GetY(*args, **kwargs)
420 def __repr__(self):
421 return "<%s.%s; proxy of C++ wxSplitterEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
422
423 class SplitterEventPtr(SplitterEvent):
424 def __init__(self, this):
425 self.this = this
426 if not hasattr(self,"thisown"): self.thisown = 0
427 self.__class__ = SplitterEvent
428 _windows.SplitterEvent_swigregister(SplitterEventPtr)
429
430 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED = _windows.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
431 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING = _windows.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
432 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED = _windows.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
433 wxEVT_COMMAND_SPLITTER_UNSPLIT = _windows.wxEVT_COMMAND_SPLITTER_UNSPLIT
434 EVT_SPLITTER_SASH_POS_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 1 )
435 EVT_SPLITTER_SASH_POS_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 1 )
436 EVT_SPLITTER_DOUBLECLICKED = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 1 )
437 EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 )
438
439 #---------------------------------------------------------------------------
440
441 SASH_DRAG_NONE = _windows.SASH_DRAG_NONE
442 SASH_DRAG_DRAGGING = _windows.SASH_DRAG_DRAGGING
443 SASH_DRAG_LEFT_DOWN = _windows.SASH_DRAG_LEFT_DOWN
444 SW_NOBORDER = _windows.SW_NOBORDER
445 SW_BORDER = _windows.SW_BORDER
446 SW_3DSASH = _windows.SW_3DSASH
447 SW_3DBORDER = _windows.SW_3DBORDER
448 SW_3D = _windows.SW_3D
449 SASH_TOP = _windows.SASH_TOP
450 SASH_RIGHT = _windows.SASH_RIGHT
451 SASH_BOTTOM = _windows.SASH_BOTTOM
452 SASH_LEFT = _windows.SASH_LEFT
453 SASH_NONE = _windows.SASH_NONE
454 class SashWindow(core.Window):
455 def __init__(self, *args, **kwargs):
456 newobj = _windows.new_SashWindow(*args, **kwargs)
457 self.this = newobj.this
458 self.thisown = 1
459 del newobj.thisown
460 self._setOORInfo(self)
461 def Create(*args, **kwargs): return _windows.SashWindow_Create(*args, **kwargs)
462 def SetSashVisible(*args, **kwargs): return _windows.SashWindow_SetSashVisible(*args, **kwargs)
463 def GetSashVisible(*args, **kwargs): return _windows.SashWindow_GetSashVisible(*args, **kwargs)
464 def SetSashBorder(*args, **kwargs): return _windows.SashWindow_SetSashBorder(*args, **kwargs)
465 def HasBorder(*args, **kwargs): return _windows.SashWindow_HasBorder(*args, **kwargs)
466 def GetEdgeMargin(*args, **kwargs): return _windows.SashWindow_GetEdgeMargin(*args, **kwargs)
467 def SetDefaultBorderSize(*args, **kwargs): return _windows.SashWindow_SetDefaultBorderSize(*args, **kwargs)
468 def GetDefaultBorderSize(*args, **kwargs): return _windows.SashWindow_GetDefaultBorderSize(*args, **kwargs)
469 def SetExtraBorderSize(*args, **kwargs): return _windows.SashWindow_SetExtraBorderSize(*args, **kwargs)
470 def GetExtraBorderSize(*args, **kwargs): return _windows.SashWindow_GetExtraBorderSize(*args, **kwargs)
471 def SetMinimumSizeX(*args, **kwargs): return _windows.SashWindow_SetMinimumSizeX(*args, **kwargs)
472 def SetMinimumSizeY(*args, **kwargs): return _windows.SashWindow_SetMinimumSizeY(*args, **kwargs)
473 def GetMinimumSizeX(*args, **kwargs): return _windows.SashWindow_GetMinimumSizeX(*args, **kwargs)
474 def GetMinimumSizeY(*args, **kwargs): return _windows.SashWindow_GetMinimumSizeY(*args, **kwargs)
475 def SetMaximumSizeX(*args, **kwargs): return _windows.SashWindow_SetMaximumSizeX(*args, **kwargs)
476 def SetMaximumSizeY(*args, **kwargs): return _windows.SashWindow_SetMaximumSizeY(*args, **kwargs)
477 def GetMaximumSizeX(*args, **kwargs): return _windows.SashWindow_GetMaximumSizeX(*args, **kwargs)
478 def GetMaximumSizeY(*args, **kwargs): return _windows.SashWindow_GetMaximumSizeY(*args, **kwargs)
479 def SashHitTest(*args, **kwargs): return _windows.SashWindow_SashHitTest(*args, **kwargs)
480 def SizeWindows(*args, **kwargs): return _windows.SashWindow_SizeWindows(*args, **kwargs)
481 def __repr__(self):
482 return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
483
484 class SashWindowPtr(SashWindow):
485 def __init__(self, this):
486 self.this = this
487 if not hasattr(self,"thisown"): self.thisown = 0
488 self.__class__ = SashWindow
489 _windows.SashWindow_swigregister(SashWindowPtr)
490
491 def PreSashWindow(*args, **kwargs):
492 val = _windows.new_PreSashWindow(*args, **kwargs)
493 val.thisown = 1
494 return val
495
496 SASH_STATUS_OK = _windows.SASH_STATUS_OK
497 SASH_STATUS_OUT_OF_RANGE = _windows.SASH_STATUS_OUT_OF_RANGE
498 class SashEvent(core.CommandEvent):
499 def __init__(self, *args, **kwargs):
500 newobj = _windows.new_SashEvent(*args, **kwargs)
501 self.this = newobj.this
502 self.thisown = 1
503 del newobj.thisown
504 def SetEdge(*args, **kwargs): return _windows.SashEvent_SetEdge(*args, **kwargs)
505 def GetEdge(*args, **kwargs): return _windows.SashEvent_GetEdge(*args, **kwargs)
506 def SetDragRect(*args, **kwargs): return _windows.SashEvent_SetDragRect(*args, **kwargs)
507 def GetDragRect(*args, **kwargs): return _windows.SashEvent_GetDragRect(*args, **kwargs)
508 def SetDragStatus(*args, **kwargs): return _windows.SashEvent_SetDragStatus(*args, **kwargs)
509 def GetDragStatus(*args, **kwargs): return _windows.SashEvent_GetDragStatus(*args, **kwargs)
510 def __repr__(self):
511 return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
512
513 class SashEventPtr(SashEvent):
514 def __init__(self, this):
515 self.this = this
516 if not hasattr(self,"thisown"): self.thisown = 0
517 self.__class__ = SashEvent
518 _windows.SashEvent_swigregister(SashEventPtr)
519
520 wxEVT_SASH_DRAGGED = _windows.wxEVT_SASH_DRAGGED
521 EVT_SASH_DRAGGED = wx.PyEventBinder( wxEVT_SASH_DRAGGED, 1 )
522 EVT_SASH_DRAGGED_RANGE = wx.PyEventBinder( wxEVT_SASH_DRAGGED, 2 )
523
524 #---------------------------------------------------------------------------
525
526 LAYOUT_HORIZONTAL = _windows.LAYOUT_HORIZONTAL
527 LAYOUT_VERTICAL = _windows.LAYOUT_VERTICAL
528 LAYOUT_NONE = _windows.LAYOUT_NONE
529 LAYOUT_TOP = _windows.LAYOUT_TOP
530 LAYOUT_LEFT = _windows.LAYOUT_LEFT
531 LAYOUT_RIGHT = _windows.LAYOUT_RIGHT
532 LAYOUT_BOTTOM = _windows.LAYOUT_BOTTOM
533 LAYOUT_LENGTH_Y = _windows.LAYOUT_LENGTH_Y
534 LAYOUT_LENGTH_X = _windows.LAYOUT_LENGTH_X
535 LAYOUT_MRU_LENGTH = _windows.LAYOUT_MRU_LENGTH
536 LAYOUT_QUERY = _windows.LAYOUT_QUERY
537 wxEVT_QUERY_LAYOUT_INFO = _windows.wxEVT_QUERY_LAYOUT_INFO
538 wxEVT_CALCULATE_LAYOUT = _windows.wxEVT_CALCULATE_LAYOUT
539 class QueryLayoutInfoEvent(core.Event):
540 def __init__(self, *args, **kwargs):
541 newobj = _windows.new_QueryLayoutInfoEvent(*args, **kwargs)
542 self.this = newobj.this
543 self.thisown = 1
544 del newobj.thisown
545 def SetRequestedLength(*args, **kwargs): return _windows.QueryLayoutInfoEvent_SetRequestedLength(*args, **kwargs)
546 def GetRequestedLength(*args, **kwargs): return _windows.QueryLayoutInfoEvent_GetRequestedLength(*args, **kwargs)
547 def SetFlags(*args, **kwargs): return _windows.QueryLayoutInfoEvent_SetFlags(*args, **kwargs)
548 def GetFlags(*args, **kwargs): return _windows.QueryLayoutInfoEvent_GetFlags(*args, **kwargs)
549 def SetSize(*args, **kwargs): return _windows.QueryLayoutInfoEvent_SetSize(*args, **kwargs)
550 def GetSize(*args, **kwargs): return _windows.QueryLayoutInfoEvent_GetSize(*args, **kwargs)
551 def SetOrientation(*args, **kwargs): return _windows.QueryLayoutInfoEvent_SetOrientation(*args, **kwargs)
552 def GetOrientation(*args, **kwargs): return _windows.QueryLayoutInfoEvent_GetOrientation(*args, **kwargs)
553 def SetAlignment(*args, **kwargs): return _windows.QueryLayoutInfoEvent_SetAlignment(*args, **kwargs)
554 def GetAlignment(*args, **kwargs): return _windows.QueryLayoutInfoEvent_GetAlignment(*args, **kwargs)
555 def __repr__(self):
556 return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
557
558 class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent):
559 def __init__(self, this):
560 self.this = this
561 if not hasattr(self,"thisown"): self.thisown = 0
562 self.__class__ = QueryLayoutInfoEvent
563 _windows.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr)
564
565 class CalculateLayoutEvent(core.Event):
566 def __init__(self, *args, **kwargs):
567 newobj = _windows.new_CalculateLayoutEvent(*args, **kwargs)
568 self.this = newobj.this
569 self.thisown = 1
570 del newobj.thisown
571 def SetFlags(*args, **kwargs): return _windows.CalculateLayoutEvent_SetFlags(*args, **kwargs)
572 def GetFlags(*args, **kwargs): return _windows.CalculateLayoutEvent_GetFlags(*args, **kwargs)
573 def SetRect(*args, **kwargs): return _windows.CalculateLayoutEvent_SetRect(*args, **kwargs)
574 def GetRect(*args, **kwargs): return _windows.CalculateLayoutEvent_GetRect(*args, **kwargs)
575 def __repr__(self):
576 return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
577
578 class CalculateLayoutEventPtr(CalculateLayoutEvent):
579 def __init__(self, this):
580 self.this = this
581 if not hasattr(self,"thisown"): self.thisown = 0
582 self.__class__ = CalculateLayoutEvent
583 _windows.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr)
584
585 EVT_QUERY_LAYOUT_INFO = wx.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO )
586 EVT_CALCULATE_LAYOUT = wx.PyEventBinder( wxEVT_CALCULATE_LAYOUT )
587
588 class SashLayoutWindow(SashWindow):
589 def __init__(self, *args, **kwargs):
590 newobj = _windows.new_SashLayoutWindow(*args, **kwargs)
591 self.this = newobj.this
592 self.thisown = 1
593 del newobj.thisown
594 self._setOORInfo(self)
595 def Create(*args, **kwargs): return _windows.SashLayoutWindow_Create(*args, **kwargs)
596 def GetAlignment(*args, **kwargs): return _windows.SashLayoutWindow_GetAlignment(*args, **kwargs)
597 def GetOrientation(*args, **kwargs): return _windows.SashLayoutWindow_GetOrientation(*args, **kwargs)
598 def SetAlignment(*args, **kwargs): return _windows.SashLayoutWindow_SetAlignment(*args, **kwargs)
599 def SetDefaultSize(*args, **kwargs): return _windows.SashLayoutWindow_SetDefaultSize(*args, **kwargs)
600 def SetOrientation(*args, **kwargs): return _windows.SashLayoutWindow_SetOrientation(*args, **kwargs)
601 def __repr__(self):
602 return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
603
604 class SashLayoutWindowPtr(SashLayoutWindow):
605 def __init__(self, this):
606 self.this = this
607 if not hasattr(self,"thisown"): self.thisown = 0
608 self.__class__ = SashLayoutWindow
609 _windows.SashLayoutWindow_swigregister(SashLayoutWindowPtr)
610
611 def PreSashLayoutWindow(*args, **kwargs):
612 val = _windows.new_PreSashLayoutWindow(*args, **kwargs)
613 val.thisown = 1
614 return val
615
616 class LayoutAlgorithm(core.Object):
617 def __init__(self, *args, **kwargs):
618 newobj = _windows.new_LayoutAlgorithm(*args, **kwargs)
619 self.this = newobj.this
620 self.thisown = 1
621 del newobj.thisown
622 def __del__(self, destroy=_windows.delete_LayoutAlgorithm):
623 try:
624 if self.thisown: destroy(self)
625 except: pass
626 def LayoutMDIFrame(*args, **kwargs): return _windows.LayoutAlgorithm_LayoutMDIFrame(*args, **kwargs)
627 def LayoutFrame(*args, **kwargs): return _windows.LayoutAlgorithm_LayoutFrame(*args, **kwargs)
628 def LayoutWindow(*args, **kwargs): return _windows.LayoutAlgorithm_LayoutWindow(*args, **kwargs)
629 def __repr__(self):
630 return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
631
632 class LayoutAlgorithmPtr(LayoutAlgorithm):
633 def __init__(self, this):
634 self.this = this
635 if not hasattr(self,"thisown"): self.thisown = 0
636 self.__class__ = LayoutAlgorithm
637 _windows.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr)
638
639 #---------------------------------------------------------------------------
640
641 class PopupWindow(core.Window):
642 def __init__(self, *args, **kwargs):
643 newobj = _windows.new_PopupWindow(*args, **kwargs)
644 self.this = newobj.this
645 self.thisown = 1
646 del newobj.thisown
647 self._setOORInfo(self)
648 def Create(*args, **kwargs): return _windows.PopupWindow_Create(*args, **kwargs)
649 def Position(*args, **kwargs): return _windows.PopupWindow_Position(*args, **kwargs)
650 def __repr__(self):
651 return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
652
653 class PopupWindowPtr(PopupWindow):
654 def __init__(self, this):
655 self.this = this
656 if not hasattr(self,"thisown"): self.thisown = 0
657 self.__class__ = PopupWindow
658 _windows.PopupWindow_swigregister(PopupWindowPtr)
659
660 def PrePopupWindow(*args, **kwargs):
661 val = _windows.new_PrePopupWindow(*args, **kwargs)
662 val.thisown = 1
663 return val
664
665 #---------------------------------------------------------------------------
666
667 class PopupTransientWindow(PopupWindow):
668 def __init__(self, *args, **kwargs):
669 newobj = _windows.new_PopupTransientWindow(*args, **kwargs)
670 self.this = newobj.this
671 self.thisown = 1
672 del newobj.thisown
673 self._setOORInfo(self);self._setCallbackInfo(self, PopupTransientWindow)
674 def _setCallbackInfo(*args, **kwargs): return _windows.PopupTransientWindow__setCallbackInfo(*args, **kwargs)
675 def Popup(*args, **kwargs): return _windows.PopupTransientWindow_Popup(*args, **kwargs)
676 def Dismiss(*args, **kwargs): return _windows.PopupTransientWindow_Dismiss(*args, **kwargs)
677 def __repr__(self):
678 return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
679
680 class PopupTransientWindowPtr(PopupTransientWindow):
681 def __init__(self, this):
682 self.this = this
683 if not hasattr(self,"thisown"): self.thisown = 0
684 self.__class__ = PopupTransientWindow
685 _windows.PopupTransientWindow_swigregister(PopupTransientWindowPtr)
686
687 def PrePopupTransientWindow(*args, **kwargs):
688 val = _windows.new_PrePopupTransientWindow(*args, **kwargs)
689 val.thisown = 1
690 return val
691
692 #---------------------------------------------------------------------------
693
694 class TipWindow(PopupTransientWindow):
695 def __init__(self, *args, **kwargs):
696 newobj = _windows.new_TipWindow(*args, **kwargs)
697 self.this = newobj.this
698 self.thisown = 1
699 del newobj.thisown
700 self._setOORInfo(self)
701 def SetBoundingRect(*args, **kwargs): return _windows.TipWindow_SetBoundingRect(*args, **kwargs)
702 def Close(*args, **kwargs): return _windows.TipWindow_Close(*args, **kwargs)
703 def __repr__(self):
704 return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
705
706 class TipWindowPtr(TipWindow):
707 def __init__(self, this):
708 self.this = this
709 if not hasattr(self,"thisown"): self.thisown = 0
710 self.__class__ = TipWindow
711 _windows.TipWindow_swigregister(TipWindowPtr)
712
713 #---------------------------------------------------------------------------
714
715 class VScrolledWindow(Panel):
716 def __init__(self, *args, **kwargs):
717 newobj = _windows.new_VScrolledWindow(*args, **kwargs)
718 self.this = newobj.this
719 self.thisown = 1
720 del newobj.thisown
721 self._setOORInfo(self); self._setCallbackInfo(self, VScrolledWindow)
722 def _setCallbackInfo(*args, **kwargs): return _windows.VScrolledWindow__setCallbackInfo(*args, **kwargs)
723 def Create(*args, **kwargs): return _windows.VScrolledWindow_Create(*args, **kwargs)
724 def SetLineCount(*args, **kwargs): return _windows.VScrolledWindow_SetLineCount(*args, **kwargs)
725 def ScrollToLine(*args, **kwargs): return _windows.VScrolledWindow_ScrollToLine(*args, **kwargs)
726 def ScrollLines(*args, **kwargs): return _windows.VScrolledWindow_ScrollLines(*args, **kwargs)
727 def ScrollPages(*args, **kwargs): return _windows.VScrolledWindow_ScrollPages(*args, **kwargs)
728 def RefreshLine(*args, **kwargs): return _windows.VScrolledWindow_RefreshLine(*args, **kwargs)
729 def RefreshLines(*args, **kwargs): return _windows.VScrolledWindow_RefreshLines(*args, **kwargs)
730 def HitTestXT(*args, **kwargs): return _windows.VScrolledWindow_HitTestXT(*args, **kwargs)
731 def HitTest(*args, **kwargs): return _windows.VScrolledWindow_HitTest(*args, **kwargs)
732 def RefreshAll(*args, **kwargs): return _windows.VScrolledWindow_RefreshAll(*args, **kwargs)
733 def GetLineCount(*args, **kwargs): return _windows.VScrolledWindow_GetLineCount(*args, **kwargs)
734 def GetFirstVisibleLine(*args, **kwargs): return _windows.VScrolledWindow_GetFirstVisibleLine(*args, **kwargs)
735 def GetLastVisibleLine(*args, **kwargs): return _windows.VScrolledWindow_GetLastVisibleLine(*args, **kwargs)
736 def IsVisible(*args, **kwargs): return _windows.VScrolledWindow_IsVisible(*args, **kwargs)
737 def __repr__(self):
738 return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
739
740 class VScrolledWindowPtr(VScrolledWindow):
741 def __init__(self, this):
742 self.this = this
743 if not hasattr(self,"thisown"): self.thisown = 0
744 self.__class__ = VScrolledWindow
745 _windows.VScrolledWindow_swigregister(VScrolledWindowPtr)
746
747 def PreVScrolledWindow(*args, **kwargs):
748 val = _windows.new_PreVScrolledWindow(*args, **kwargs)
749 val.thisown = 1
750 return val
751
752 class VListBox(VScrolledWindow):
753 def __init__(self, *args, **kwargs):
754 newobj = _windows.new_VListBox(*args, **kwargs)
755 self.this = newobj.this
756 self.thisown = 1
757 del newobj.thisown
758 self._setOORInfo(self);self._setCallbackInfo(self, VListBox)
759 def _setCallbackInfo(*args, **kwargs): return _windows.VListBox__setCallbackInfo(*args, **kwargs)
760 def Create(*args, **kwargs): return _windows.VListBox_Create(*args, **kwargs)
761 def GetItemCount(*args, **kwargs): return _windows.VListBox_GetItemCount(*args, **kwargs)
762 def HasMultipleSelection(*args, **kwargs): return _windows.VListBox_HasMultipleSelection(*args, **kwargs)
763 def GetSelection(*args, **kwargs): return _windows.VListBox_GetSelection(*args, **kwargs)
764 def IsCurrent(*args, **kwargs): return _windows.VListBox_IsCurrent(*args, **kwargs)
765 def IsSelected(*args, **kwargs): return _windows.VListBox_IsSelected(*args, **kwargs)
766 def GetSelectedCount(*args, **kwargs): return _windows.VListBox_GetSelectedCount(*args, **kwargs)
767 def GetFirstSelected(*args, **kwargs): return _windows.VListBox_GetFirstSelected(*args, **kwargs)
768 def GetNextSelected(*args, **kwargs): return _windows.VListBox_GetNextSelected(*args, **kwargs)
769 def GetMargins(*args, **kwargs): return _windows.VListBox_GetMargins(*args, **kwargs)
770 def GetSelectionBackground(*args, **kwargs): return _windows.VListBox_GetSelectionBackground(*args, **kwargs)
771 def SetItemCount(*args, **kwargs): return _windows.VListBox_SetItemCount(*args, **kwargs)
772 def Clear(*args, **kwargs): return _windows.VListBox_Clear(*args, **kwargs)
773 def SetSelection(*args, **kwargs): return _windows.VListBox_SetSelection(*args, **kwargs)
774 def Select(*args, **kwargs): return _windows.VListBox_Select(*args, **kwargs)
775 def SelectRange(*args, **kwargs): return _windows.VListBox_SelectRange(*args, **kwargs)
776 def Toggle(*args, **kwargs): return _windows.VListBox_Toggle(*args, **kwargs)
777 def SelectAll(*args, **kwargs): return _windows.VListBox_SelectAll(*args, **kwargs)
778 def DeselectAll(*args, **kwargs): return _windows.VListBox_DeselectAll(*args, **kwargs)
779 def SetMargins(*args, **kwargs): return _windows.VListBox_SetMargins(*args, **kwargs)
780 def SetMarginsXY(*args, **kwargs): return _windows.VListBox_SetMarginsXY(*args, **kwargs)
781 def SetSelectionBackground(*args, **kwargs): return _windows.VListBox_SetSelectionBackground(*args, **kwargs)
782 def __repr__(self):
783 return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
784
785 class VListBoxPtr(VListBox):
786 def __init__(self, this):
787 self.this = this
788 if not hasattr(self,"thisown"): self.thisown = 0
789 self.__class__ = VListBox
790 _windows.VListBox_swigregister(VListBoxPtr)
791
792 def PreVListBox(*args, **kwargs):
793 val = _windows.new_PreVListBox(*args, **kwargs)
794 val.thisown = 1
795 return val
796
797 class HtmlListBox(VListBox):
798 def __init__(self, *args, **kwargs):
799 newobj = _windows.new_HtmlListBox(*args, **kwargs)
800 self.this = newobj.this
801 self.thisown = 1
802 del newobj.thisown
803 self._setOORInfo(self);self._setCallbackInfo(self, HtmlListBox)
804 def _setCallbackInfo(*args, **kwargs): return _windows.HtmlListBox__setCallbackInfo(*args, **kwargs)
805 def Create(*args, **kwargs): return _windows.HtmlListBox_Create(*args, **kwargs)
806 def RefreshAll(*args, **kwargs): return _windows.HtmlListBox_RefreshAll(*args, **kwargs)
807 def SetItemCount(*args, **kwargs): return _windows.HtmlListBox_SetItemCount(*args, **kwargs)
808 def __repr__(self):
809 return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
810
811 class HtmlListBoxPtr(HtmlListBox):
812 def __init__(self, this):
813 self.this = this
814 if not hasattr(self,"thisown"): self.thisown = 0
815 self.__class__ = HtmlListBox
816 _windows.HtmlListBox_swigregister(HtmlListBoxPtr)
817
818 def PreHtmlListBox(*args, **kwargs):
819 val = _windows.new_PreHtmlListBox(*args, **kwargs)
820 val.thisown = 1
821 return val
822
823 #---------------------------------------------------------------------------
824
825 class TaskBarIcon(core.EvtHandler):
826 def __init__(self, *args, **kwargs):
827 newobj = _windows.new_TaskBarIcon(*args, **kwargs)
828 self.this = newobj.this
829 self.thisown = 1
830 del newobj.thisown
831 def __del__(self, destroy=_windows.delete_TaskBarIcon):
832 try:
833 if self.thisown: destroy(self)
834 except: pass
835 def IsOk(*args, **kwargs): return _windows.TaskBarIcon_IsOk(*args, **kwargs)
836 def IsIconInstalled(*args, **kwargs): return _windows.TaskBarIcon_IsIconInstalled(*args, **kwargs)
837 def SetIcon(*args, **kwargs): return _windows.TaskBarIcon_SetIcon(*args, **kwargs)
838 def RemoveIcon(*args, **kwargs): return _windows.TaskBarIcon_RemoveIcon(*args, **kwargs)
839 def PopupMenu(*args, **kwargs): return _windows.TaskBarIcon_PopupMenu(*args, **kwargs)
840 def __repr__(self):
841 return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
842
843 class TaskBarIconPtr(TaskBarIcon):
844 def __init__(self, this):
845 self.this = this
846 if not hasattr(self,"thisown"): self.thisown = 0
847 self.__class__ = TaskBarIcon
848 _windows.TaskBarIcon_swigregister(TaskBarIconPtr)
849
850 class TaskBarIconEvent(core.Event):
851 def __init__(self, *args, **kwargs):
852 newobj = _windows.new_TaskBarIconEvent(*args, **kwargs)
853 self.this = newobj.this
854 self.thisown = 1
855 del newobj.thisown
856 def __repr__(self):
857 return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
858
859 class TaskBarIconEventPtr(TaskBarIconEvent):
860 def __init__(self, this):
861 self.this = this
862 if not hasattr(self,"thisown"): self.thisown = 0
863 self.__class__ = TaskBarIconEvent
864 _windows.TaskBarIconEvent_swigregister(TaskBarIconEventPtr)
865
866 wxEVT_TASKBAR_MOVE = _windows.wxEVT_TASKBAR_MOVE
867 wxEVT_TASKBAR_LEFT_DOWN = _windows.wxEVT_TASKBAR_LEFT_DOWN
868 wxEVT_TASKBAR_LEFT_UP = _windows.wxEVT_TASKBAR_LEFT_UP
869 wxEVT_TASKBAR_RIGHT_DOWN = _windows.wxEVT_TASKBAR_RIGHT_DOWN
870 wxEVT_TASKBAR_RIGHT_UP = _windows.wxEVT_TASKBAR_RIGHT_UP
871 wxEVT_TASKBAR_LEFT_DCLICK = _windows.wxEVT_TASKBAR_LEFT_DCLICK
872 wxEVT_TASKBAR_RIGHT_DCLICK = _windows.wxEVT_TASKBAR_RIGHT_DCLICK
873 EVT_TASKBAR_MOVE = wx.PyEventBinder ( wxEVT_TASKBAR_MOVE )
874 EVT_TASKBAR_LEFT_DOWN = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN )
875 EVT_TASKBAR_LEFT_UP = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP )
876 EVT_TASKBAR_RIGHT_DOWN = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DOWN )
877 EVT_TASKBAR_RIGHT_UP = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP )
878 EVT_TASKBAR_LEFT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK )
879 EVT_TASKBAR_RIGHT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK )
880
881 #---------------------------------------------------------------------------
882
883 class ColourData(core.Object):
884 def __init__(self, *args, **kwargs):
885 newobj = _windows.new_ColourData(*args, **kwargs)
886 self.this = newobj.this
887 self.thisown = 1
888 del newobj.thisown
889 def __del__(self, destroy=_windows.delete_ColourData):
890 try:
891 if self.thisown: destroy(self)
892 except: pass
893 def GetChooseFull(*args, **kwargs): return _windows.ColourData_GetChooseFull(*args, **kwargs)
894 def GetColour(*args, **kwargs): return _windows.ColourData_GetColour(*args, **kwargs)
895 def GetCustomColour(*args, **kwargs): return _windows.ColourData_GetCustomColour(*args, **kwargs)
896 def SetChooseFull(*args, **kwargs): return _windows.ColourData_SetChooseFull(*args, **kwargs)
897 def SetColour(*args, **kwargs): return _windows.ColourData_SetColour(*args, **kwargs)
898 def SetCustomColour(*args, **kwargs): return _windows.ColourData_SetCustomColour(*args, **kwargs)
899 def __repr__(self):
900 return "<%s.%s; proxy of C++ wxColourData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
901
902 class ColourDataPtr(ColourData):
903 def __init__(self, this):
904 self.this = this
905 if not hasattr(self,"thisown"): self.thisown = 0
906 self.__class__ = ColourData
907 _windows.ColourData_swigregister(ColourDataPtr)
908
909 class ColourDialog(Dialog):
910 def __init__(self, *args, **kwargs):
911 newobj = _windows.new_ColourDialog(*args, **kwargs)
912 self.this = newobj.this
913 self.thisown = 1
914 del newobj.thisown
915 self._setOORInfo(self)
916 def GetColourData(*args, **kwargs): return _windows.ColourDialog_GetColourData(*args, **kwargs)
917 def ShowModal(*args, **kwargs): return _windows.ColourDialog_ShowModal(*args, **kwargs)
918 def __repr__(self):
919 return "<%s.%s; proxy of C++ wxColourDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
920
921 class ColourDialogPtr(ColourDialog):
922 def __init__(self, this):
923 self.this = this
924 if not hasattr(self,"thisown"): self.thisown = 0
925 self.__class__ = ColourDialog
926 _windows.ColourDialog_swigregister(ColourDialogPtr)
927
928 class DirDialog(Dialog):
929 def __init__(self, *args, **kwargs):
930 newobj = _windows.new_DirDialog(*args, **kwargs)
931 self.this = newobj.this
932 self.thisown = 1
933 del newobj.thisown
934 self._setOORInfo(self)
935 def GetPath(*args, **kwargs): return _windows.DirDialog_GetPath(*args, **kwargs)
936 def GetMessage(*args, **kwargs): return _windows.DirDialog_GetMessage(*args, **kwargs)
937 def GetStyle(*args, **kwargs): return _windows.DirDialog_GetStyle(*args, **kwargs)
938 def SetMessage(*args, **kwargs): return _windows.DirDialog_SetMessage(*args, **kwargs)
939 def SetPath(*args, **kwargs): return _windows.DirDialog_SetPath(*args, **kwargs)
940 def ShowModal(*args, **kwargs): return _windows.DirDialog_ShowModal(*args, **kwargs)
941 def __repr__(self):
942 return "<%s.%s; proxy of C++ wxDirDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
943
944 class DirDialogPtr(DirDialog):
945 def __init__(self, this):
946 self.this = this
947 if not hasattr(self,"thisown"): self.thisown = 0
948 self.__class__ = DirDialog
949 _windows.DirDialog_swigregister(DirDialogPtr)
950
951 class FileDialog(Dialog):
952 def __init__(self, *args, **kwargs):
953 newobj = _windows.new_FileDialog(*args, **kwargs)
954 self.this = newobj.this
955 self.thisown = 1
956 del newobj.thisown
957 self._setOORInfo(self)
958 def SetMessage(*args, **kwargs): return _windows.FileDialog_SetMessage(*args, **kwargs)
959 def SetPath(*args, **kwargs): return _windows.FileDialog_SetPath(*args, **kwargs)
960 def SetDirectory(*args, **kwargs): return _windows.FileDialog_SetDirectory(*args, **kwargs)
961 def SetFilename(*args, **kwargs): return _windows.FileDialog_SetFilename(*args, **kwargs)
962 def SetWildcard(*args, **kwargs): return _windows.FileDialog_SetWildcard(*args, **kwargs)
963 def SetStyle(*args, **kwargs): return _windows.FileDialog_SetStyle(*args, **kwargs)
964 def SetFilterIndex(*args, **kwargs): return _windows.FileDialog_SetFilterIndex(*args, **kwargs)
965 def GetMessage(*args, **kwargs): return _windows.FileDialog_GetMessage(*args, **kwargs)
966 def GetPath(*args, **kwargs): return _windows.FileDialog_GetPath(*args, **kwargs)
967 def GetDirectory(*args, **kwargs): return _windows.FileDialog_GetDirectory(*args, **kwargs)
968 def GetFilename(*args, **kwargs): return _windows.FileDialog_GetFilename(*args, **kwargs)
969 def GetWildcard(*args, **kwargs): return _windows.FileDialog_GetWildcard(*args, **kwargs)
970 def GetStyle(*args, **kwargs): return _windows.FileDialog_GetStyle(*args, **kwargs)
971 def GetFilterIndex(*args, **kwargs): return _windows.FileDialog_GetFilterIndex(*args, **kwargs)
972 def GetFilenames(*args, **kwargs): return _windows.FileDialog_GetFilenames(*args, **kwargs)
973 def GetPaths(*args, **kwargs): return _windows.FileDialog_GetPaths(*args, **kwargs)
974 def __repr__(self):
975 return "<%s.%s; proxy of C++ wxFileDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
976
977 class FileDialogPtr(FileDialog):
978 def __init__(self, this):
979 self.this = this
980 if not hasattr(self,"thisown"): self.thisown = 0
981 self.__class__ = FileDialog
982 _windows.FileDialog_swigregister(FileDialogPtr)
983
984 CHOICEDLG_STYLE = _windows.CHOICEDLG_STYLE
985 class MultiChoiceDialog(Dialog):
986 def __init__(self, *args, **kwargs):
987 newobj = _windows.new_MultiChoiceDialog(*args, **kwargs)
988 self.this = newobj.this
989 self.thisown = 1
990 del newobj.thisown
991 self._setOORInfo(self)
992 def SetSelections(*args, **kwargs): return _windows.MultiChoiceDialog_SetSelections(*args, **kwargs)
993 def GetSelections(*args, **kwargs): return _windows.MultiChoiceDialog_GetSelections(*args, **kwargs)
994 def __repr__(self):
995 return "<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
996
997 class MultiChoiceDialogPtr(MultiChoiceDialog):
998 def __init__(self, this):
999 self.this = this
1000 if not hasattr(self,"thisown"): self.thisown = 0
1001 self.__class__ = MultiChoiceDialog
1002 _windows.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr)
1003
1004 class SingleChoiceDialog(Dialog):
1005 def __init__(self, *args, **kwargs):
1006 newobj = _windows.new_SingleChoiceDialog(*args, **kwargs)
1007 self.this = newobj.this
1008 self.thisown = 1
1009 del newobj.thisown
1010 self._setOORInfo(self)
1011 def GetSelection(*args, **kwargs): return _windows.SingleChoiceDialog_GetSelection(*args, **kwargs)
1012 def GetStringSelection(*args, **kwargs): return _windows.SingleChoiceDialog_GetStringSelection(*args, **kwargs)
1013 def SetSelection(*args, **kwargs): return _windows.SingleChoiceDialog_SetSelection(*args, **kwargs)
1014 def ShowModal(*args, **kwargs): return _windows.SingleChoiceDialog_ShowModal(*args, **kwargs)
1015 def __repr__(self):
1016 return "<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1017
1018 class SingleChoiceDialogPtr(SingleChoiceDialog):
1019 def __init__(self, this):
1020 self.this = this
1021 if not hasattr(self,"thisown"): self.thisown = 0
1022 self.__class__ = SingleChoiceDialog
1023 _windows.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr)
1024
1025 class TextEntryDialog(Dialog):
1026 def __init__(self, *args, **kwargs):
1027 newobj = _windows.new_TextEntryDialog(*args, **kwargs)
1028 self.this = newobj.this
1029 self.thisown = 1
1030 del newobj.thisown
1031 self._setOORInfo(self)
1032 def GetValue(*args, **kwargs): return _windows.TextEntryDialog_GetValue(*args, **kwargs)
1033 def SetValue(*args, **kwargs): return _windows.TextEntryDialog_SetValue(*args, **kwargs)
1034 def ShowModal(*args, **kwargs): return _windows.TextEntryDialog_ShowModal(*args, **kwargs)
1035 def __repr__(self):
1036 return "<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1037
1038 class TextEntryDialogPtr(TextEntryDialog):
1039 def __init__(self, this):
1040 self.this = this
1041 if not hasattr(self,"thisown"): self.thisown = 0
1042 self.__class__ = TextEntryDialog
1043 _windows.TextEntryDialog_swigregister(TextEntryDialogPtr)
1044
1045 class FontData(core.Object):
1046 def __init__(self, *args, **kwargs):
1047 newobj = _windows.new_FontData(*args, **kwargs)
1048 self.this = newobj.this
1049 self.thisown = 1
1050 del newobj.thisown
1051 def __del__(self, destroy=_windows.delete_FontData):
1052 try:
1053 if self.thisown: destroy(self)
1054 except: pass
1055 def EnableEffects(*args, **kwargs): return _windows.FontData_EnableEffects(*args, **kwargs)
1056 def GetAllowSymbols(*args, **kwargs): return _windows.FontData_GetAllowSymbols(*args, **kwargs)
1057 def GetColour(*args, **kwargs): return _windows.FontData_GetColour(*args, **kwargs)
1058 def GetChosenFont(*args, **kwargs): return _windows.FontData_GetChosenFont(*args, **kwargs)
1059 def GetEnableEffects(*args, **kwargs): return _windows.FontData_GetEnableEffects(*args, **kwargs)
1060 def GetInitialFont(*args, **kwargs): return _windows.FontData_GetInitialFont(*args, **kwargs)
1061 def GetShowHelp(*args, **kwargs): return _windows.FontData_GetShowHelp(*args, **kwargs)
1062 def SetAllowSymbols(*args, **kwargs): return _windows.FontData_SetAllowSymbols(*args, **kwargs)
1063 def SetChosenFont(*args, **kwargs): return _windows.FontData_SetChosenFont(*args, **kwargs)
1064 def SetColour(*args, **kwargs): return _windows.FontData_SetColour(*args, **kwargs)
1065 def SetInitialFont(*args, **kwargs): return _windows.FontData_SetInitialFont(*args, **kwargs)
1066 def SetRange(*args, **kwargs): return _windows.FontData_SetRange(*args, **kwargs)
1067 def SetShowHelp(*args, **kwargs): return _windows.FontData_SetShowHelp(*args, **kwargs)
1068 def __repr__(self):
1069 return "<%s.%s; proxy of C++ wxFontData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1070
1071 class FontDataPtr(FontData):
1072 def __init__(self, this):
1073 self.this = this
1074 if not hasattr(self,"thisown"): self.thisown = 0
1075 self.__class__ = FontData
1076 _windows.FontData_swigregister(FontDataPtr)
1077
1078 class FontDialog(Dialog):
1079 def __init__(self, *args, **kwargs):
1080 newobj = _windows.new_FontDialog(*args, **kwargs)
1081 self.this = newobj.this
1082 self.thisown = 1
1083 del newobj.thisown
1084 self._setOORInfo(self)
1085 def GetFontData(*args, **kwargs): return _windows.FontDialog_GetFontData(*args, **kwargs)
1086 def ShowModal(*args, **kwargs): return _windows.FontDialog_ShowModal(*args, **kwargs)
1087 def __repr__(self):
1088 return "<%s.%s; proxy of C++ wxFontDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1089
1090 class FontDialogPtr(FontDialog):
1091 def __init__(self, this):
1092 self.this = this
1093 if not hasattr(self,"thisown"): self.thisown = 0
1094 self.__class__ = FontDialog
1095 _windows.FontDialog_swigregister(FontDialogPtr)
1096
1097 class MessageDialog(Dialog):
1098 def __init__(self, *args, **kwargs):
1099 newobj = _windows.new_MessageDialog(*args, **kwargs)
1100 self.this = newobj.this
1101 self.thisown = 1
1102 del newobj.thisown
1103 self._setOORInfo(self)
1104 def ShowModal(*args, **kwargs): return _windows.MessageDialog_ShowModal(*args, **kwargs)
1105 def __repr__(self):
1106 return "<%s.%s; proxy of C++ wxMessageDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1107
1108 class MessageDialogPtr(MessageDialog):
1109 def __init__(self, this):
1110 self.this = this
1111 if not hasattr(self,"thisown"): self.thisown = 0
1112 self.__class__ = MessageDialog
1113 _windows.MessageDialog_swigregister(MessageDialogPtr)
1114
1115 class ProgressDialog(Frame):
1116 def __init__(self, *args, **kwargs):
1117 newobj = _windows.new_ProgressDialog(*args, **kwargs)
1118 self.this = newobj.this
1119 self.thisown = 1
1120 del newobj.thisown
1121 self._setOORInfo(self)
1122 def Update(*args, **kwargs): return _windows.ProgressDialog_Update(*args, **kwargs)
1123 def Resume(*args, **kwargs): return _windows.ProgressDialog_Resume(*args, **kwargs)
1124 def __repr__(self):
1125 return "<%s.%s; proxy of C++ wxProgressDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1126
1127 class ProgressDialogPtr(ProgressDialog):
1128 def __init__(self, this):
1129 self.this = this
1130 if not hasattr(self,"thisown"): self.thisown = 0
1131 self.__class__ = ProgressDialog
1132 _windows.ProgressDialog_swigregister(ProgressDialogPtr)
1133
1134 FR_DOWN = _windows.FR_DOWN
1135 FR_WHOLEWORD = _windows.FR_WHOLEWORD
1136 FR_MATCHCASE = _windows.FR_MATCHCASE
1137 FR_REPLACEDIALOG = _windows.FR_REPLACEDIALOG
1138 FR_NOUPDOWN = _windows.FR_NOUPDOWN
1139 FR_NOMATCHCASE = _windows.FR_NOMATCHCASE
1140 FR_NOWHOLEWORD = _windows.FR_NOWHOLEWORD
1141 wxEVT_COMMAND_FIND = _windows.wxEVT_COMMAND_FIND
1142 wxEVT_COMMAND_FIND_NEXT = _windows.wxEVT_COMMAND_FIND_NEXT
1143 wxEVT_COMMAND_FIND_REPLACE = _windows.wxEVT_COMMAND_FIND_REPLACE
1144 wxEVT_COMMAND_FIND_REPLACE_ALL = _windows.wxEVT_COMMAND_FIND_REPLACE_ALL
1145 wxEVT_COMMAND_FIND_CLOSE = _windows.wxEVT_COMMAND_FIND_CLOSE
1146 EVT_FIND = wx.PyEventBinder( wxEVT_COMMAND_FIND, 1 )
1147 EVT_FIND_NEXT = wx.PyEventBinder( wxEVT_COMMAND_FIND_NEXT, 1 )
1148 EVT_FIND_REPLACE = wx.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE, 1 )
1149 EVT_FIND_REPLACE_ALL = wx.PyEventBinder( wxEVT_COMMAND_FIND_REPLACE_ALL, 1 )
1150 EVT_FIND_CLOSE = wx.PyEventBinder( wxEVT_COMMAND_FIND_CLOSE, 1 )
1151
1152 # For backwards compatibility. Should they be removed?
1153 EVT_COMMAND_FIND = EVT_FIND
1154 EVT_COMMAND_FIND_NEXT = EVT_FIND_NEXT
1155 EVT_COMMAND_FIND_REPLACE = EVT_FIND_REPLACE
1156 EVT_COMMAND_FIND_REPLACE_ALL = EVT_FIND_REPLACE_ALL
1157 EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE
1158
1159 class FindDialogEvent(core.CommandEvent):
1160 def __init__(self, *args, **kwargs):
1161 newobj = _windows.new_FindDialogEvent(*args, **kwargs)
1162 self.this = newobj.this
1163 self.thisown = 1
1164 del newobj.thisown
1165 def GetFlags(*args, **kwargs): return _windows.FindDialogEvent_GetFlags(*args, **kwargs)
1166 def GetFindString(*args, **kwargs): return _windows.FindDialogEvent_GetFindString(*args, **kwargs)
1167 def GetReplaceString(*args, **kwargs): return _windows.FindDialogEvent_GetReplaceString(*args, **kwargs)
1168 def GetDialog(*args, **kwargs): return _windows.FindDialogEvent_GetDialog(*args, **kwargs)
1169 def SetFlags(*args, **kwargs): return _windows.FindDialogEvent_SetFlags(*args, **kwargs)
1170 def SetFindString(*args, **kwargs): return _windows.FindDialogEvent_SetFindString(*args, **kwargs)
1171 def SetReplaceString(*args, **kwargs): return _windows.FindDialogEvent_SetReplaceString(*args, **kwargs)
1172 def __repr__(self):
1173 return "<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1174
1175 class FindDialogEventPtr(FindDialogEvent):
1176 def __init__(self, this):
1177 self.this = this
1178 if not hasattr(self,"thisown"): self.thisown = 0
1179 self.__class__ = FindDialogEvent
1180 _windows.FindDialogEvent_swigregister(FindDialogEventPtr)
1181
1182 class FindReplaceData(core.Object):
1183 def __init__(self, *args, **kwargs):
1184 newobj = _windows.new_FindReplaceData(*args, **kwargs)
1185 self.this = newobj.this
1186 self.thisown = 1
1187 del newobj.thisown
1188 def __del__(self, destroy=_windows.delete_FindReplaceData):
1189 try:
1190 if self.thisown: destroy(self)
1191 except: pass
1192 def GetFindString(*args, **kwargs): return _windows.FindReplaceData_GetFindString(*args, **kwargs)
1193 def GetReplaceString(*args, **kwargs): return _windows.FindReplaceData_GetReplaceString(*args, **kwargs)
1194 def GetFlags(*args, **kwargs): return _windows.FindReplaceData_GetFlags(*args, **kwargs)
1195 def SetFlags(*args, **kwargs): return _windows.FindReplaceData_SetFlags(*args, **kwargs)
1196 def SetFindString(*args, **kwargs): return _windows.FindReplaceData_SetFindString(*args, **kwargs)
1197 def SetReplaceString(*args, **kwargs): return _windows.FindReplaceData_SetReplaceString(*args, **kwargs)
1198 def __repr__(self):
1199 return "<%s.%s; proxy of C++ wxFindReplaceData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1200
1201 class FindReplaceDataPtr(FindReplaceData):
1202 def __init__(self, this):
1203 self.this = this
1204 if not hasattr(self,"thisown"): self.thisown = 0
1205 self.__class__ = FindReplaceData
1206 _windows.FindReplaceData_swigregister(FindReplaceDataPtr)
1207
1208 class FindReplaceDialog(Dialog):
1209 def __init__(self, *args, **kwargs):
1210 newobj = _windows.new_FindReplaceDialog(*args, **kwargs)
1211 self.this = newobj.this
1212 self.thisown = 1
1213 del newobj.thisown
1214 self._setOORInfo(self)
1215 def Create(*args, **kwargs): return _windows.FindReplaceDialog_Create(*args, **kwargs)
1216 def GetData(*args, **kwargs): return _windows.FindReplaceDialog_GetData(*args, **kwargs)
1217 def SetData(*args, **kwargs): return _windows.FindReplaceDialog_SetData(*args, **kwargs)
1218 def __repr__(self):
1219 return "<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1220
1221 class FindReplaceDialogPtr(FindReplaceDialog):
1222 def __init__(self, this):
1223 self.this = this
1224 if not hasattr(self,"thisown"): self.thisown = 0
1225 self.__class__ = FindReplaceDialog
1226 _windows.FindReplaceDialog_swigregister(FindReplaceDialogPtr)
1227
1228 def PreFindReplaceDialog(*args, **kwargs):
1229 val = _windows.new_PreFindReplaceDialog(*args, **kwargs)
1230 val.thisown = 1
1231 return val
1232
1233 #---------------------------------------------------------------------------
1234
1235 IDM_WINDOWTILE = _windows.IDM_WINDOWTILE
1236 IDM_WINDOWTILEHOR = _windows.IDM_WINDOWTILEHOR
1237 IDM_WINDOWCASCADE = _windows.IDM_WINDOWCASCADE
1238 IDM_WINDOWICONS = _windows.IDM_WINDOWICONS
1239 IDM_WINDOWNEXT = _windows.IDM_WINDOWNEXT
1240 IDM_WINDOWTILEVERT = _windows.IDM_WINDOWTILEVERT
1241 FIRST_MDI_CHILD = _windows.FIRST_MDI_CHILD
1242 LAST_MDI_CHILD = _windows.LAST_MDI_CHILD
1243 class MDIParentFrame(Frame):
1244 def __init__(self, *args, **kwargs):
1245 newobj = _windows.new_MDIParentFrame(*args, **kwargs)
1246 self.this = newobj.this
1247 self.thisown = 1
1248 del newobj.thisown
1249 self._setOORInfo(self)
1250 def Create(*args, **kwargs): return _windows.MDIParentFrame_Create(*args, **kwargs)
1251 def ActivateNext(*args, **kwargs): return _windows.MDIParentFrame_ActivateNext(*args, **kwargs)
1252 def ActivatePrevious(*args, **kwargs): return _windows.MDIParentFrame_ActivatePrevious(*args, **kwargs)
1253 def ArrangeIcons(*args, **kwargs): return _windows.MDIParentFrame_ArrangeIcons(*args, **kwargs)
1254 def Cascade(*args, **kwargs): return _windows.MDIParentFrame_Cascade(*args, **kwargs)
1255 def GetActiveChild(*args, **kwargs): return _windows.MDIParentFrame_GetActiveChild(*args, **kwargs)
1256 def GetClientWindow(*args, **kwargs): return _windows.MDIParentFrame_GetClientWindow(*args, **kwargs)
1257 def GetToolBar(*args, **kwargs): return _windows.MDIParentFrame_GetToolBar(*args, **kwargs)
1258 def Tile(*args, **kwargs): return _windows.MDIParentFrame_Tile(*args, **kwargs)
1259 def __repr__(self):
1260 return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1261
1262 class MDIParentFramePtr(MDIParentFrame):
1263 def __init__(self, this):
1264 self.this = this
1265 if not hasattr(self,"thisown"): self.thisown = 0
1266 self.__class__ = MDIParentFrame
1267 _windows.MDIParentFrame_swigregister(MDIParentFramePtr)
1268
1269 def PreMDIParentFrame(*args, **kwargs):
1270 val = _windows.new_PreMDIParentFrame(*args, **kwargs)
1271 val.thisown = 1
1272 return val
1273
1274 class MDIChildFrame(Frame):
1275 def __init__(self, *args, **kwargs):
1276 newobj = _windows.new_MDIChildFrame(*args, **kwargs)
1277 self.this = newobj.this
1278 self.thisown = 1
1279 del newobj.thisown
1280 self._setOORInfo(self)
1281 def Create(*args, **kwargs): return _windows.MDIChildFrame_Create(*args, **kwargs)
1282 def Activate(*args, **kwargs): return _windows.MDIChildFrame_Activate(*args, **kwargs)
1283 def Maximize(*args, **kwargs): return _windows.MDIChildFrame_Maximize(*args, **kwargs)
1284 def Restore(*args, **kwargs): return _windows.MDIChildFrame_Restore(*args, **kwargs)
1285 def __repr__(self):
1286 return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1287
1288 class MDIChildFramePtr(MDIChildFrame):
1289 def __init__(self, this):
1290 self.this = this
1291 if not hasattr(self,"thisown"): self.thisown = 0
1292 self.__class__ = MDIChildFrame
1293 _windows.MDIChildFrame_swigregister(MDIChildFramePtr)
1294
1295 def PreMDIChildFrame(*args, **kwargs):
1296 val = _windows.new_PreMDIChildFrame(*args, **kwargs)
1297 val.thisown = 1
1298 return val
1299
1300 class MDIClientWindow(core.Window):
1301 def __init__(self, *args, **kwargs):
1302 newobj = _windows.new_MDIClientWindow(*args, **kwargs)
1303 self.this = newobj.this
1304 self.thisown = 1
1305 del newobj.thisown
1306 self._setOORInfo(self)
1307 def Create(*args, **kwargs): return _windows.MDIClientWindow_Create(*args, **kwargs)
1308 def __repr__(self):
1309 return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1310
1311 class MDIClientWindowPtr(MDIClientWindow):
1312 def __init__(self, this):
1313 self.this = this
1314 if not hasattr(self,"thisown"): self.thisown = 0
1315 self.__class__ = MDIClientWindow
1316 _windows.MDIClientWindow_swigregister(MDIClientWindowPtr)
1317
1318 def PreMDIClientWindow(*args, **kwargs):
1319 val = _windows.new_PreMDIClientWindow(*args, **kwargs)
1320 val.thisown = 1
1321 return val
1322
1323 #---------------------------------------------------------------------------
1324
1325 class PyWindow(core.Window):
1326 def __init__(self, *args, **kwargs):
1327 newobj = _windows.new_PyWindow(*args, **kwargs)
1328 self.this = newobj.this
1329 self.thisown = 1
1330 del newobj.thisown
1331 self._setOORInfo(self); self._setCallbackInfo(self, PyWindow)
1332 def _setCallbackInfo(*args, **kwargs): return _windows.PyWindow__setCallbackInfo(*args, **kwargs)
1333 def base_DoMoveWindow(*args, **kwargs): return _windows.PyWindow_base_DoMoveWindow(*args, **kwargs)
1334 def base_DoSetSize(*args, **kwargs): return _windows.PyWindow_base_DoSetSize(*args, **kwargs)
1335 def base_DoSetClientSize(*args, **kwargs): return _windows.PyWindow_base_DoSetClientSize(*args, **kwargs)
1336 def base_DoSetVirtualSize(*args, **kwargs): return _windows.PyWindow_base_DoSetVirtualSize(*args, **kwargs)
1337 def base_DoGetSize(*args, **kwargs): return _windows.PyWindow_base_DoGetSize(*args, **kwargs)
1338 def base_DoGetClientSize(*args, **kwargs): return _windows.PyWindow_base_DoGetClientSize(*args, **kwargs)
1339 def base_DoGetPosition(*args, **kwargs): return _windows.PyWindow_base_DoGetPosition(*args, **kwargs)
1340 def base_DoGetVirtualSize(*args, **kwargs): return _windows.PyWindow_base_DoGetVirtualSize(*args, **kwargs)
1341 def base_DoGetBestSize(*args, **kwargs): return _windows.PyWindow_base_DoGetBestSize(*args, **kwargs)
1342 def base_InitDialog(*args, **kwargs): return _windows.PyWindow_base_InitDialog(*args, **kwargs)
1343 def base_TransferDataToWindow(*args, **kwargs): return _windows.PyWindow_base_TransferDataToWindow(*args, **kwargs)
1344 def base_TransferDataFromWindow(*args, **kwargs): return _windows.PyWindow_base_TransferDataFromWindow(*args, **kwargs)
1345 def base_Validate(*args, **kwargs): return _windows.PyWindow_base_Validate(*args, **kwargs)
1346 def base_AcceptsFocus(*args, **kwargs): return _windows.PyWindow_base_AcceptsFocus(*args, **kwargs)
1347 def base_AcceptsFocusFromKeyboard(*args, **kwargs): return _windows.PyWindow_base_AcceptsFocusFromKeyboard(*args, **kwargs)
1348 def base_GetMaxSize(*args, **kwargs): return _windows.PyWindow_base_GetMaxSize(*args, **kwargs)
1349 def base_AddChild(*args, **kwargs): return _windows.PyWindow_base_AddChild(*args, **kwargs)
1350 def base_RemoveChild(*args, **kwargs): return _windows.PyWindow_base_RemoveChild(*args, **kwargs)
1351 def __repr__(self):
1352 return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1353
1354 class PyWindowPtr(PyWindow):
1355 def __init__(self, this):
1356 self.this = this
1357 if not hasattr(self,"thisown"): self.thisown = 0
1358 self.__class__ = PyWindow
1359 _windows.PyWindow_swigregister(PyWindowPtr)
1360
1361 class PyPanel(Panel):
1362 def __init__(self, *args, **kwargs):
1363 newobj = _windows.new_PyPanel(*args, **kwargs)
1364 self.this = newobj.this
1365 self.thisown = 1
1366 del newobj.thisown
1367 self._setOORInfo(self); self._setCallbackInfo(self, PyPanel)
1368 def _setCallbackInfo(*args, **kwargs): return _windows.PyPanel__setCallbackInfo(*args, **kwargs)
1369 def base_DoMoveWindow(*args, **kwargs): return _windows.PyPanel_base_DoMoveWindow(*args, **kwargs)
1370 def base_DoSetSize(*args, **kwargs): return _windows.PyPanel_base_DoSetSize(*args, **kwargs)
1371 def base_DoSetClientSize(*args, **kwargs): return _windows.PyPanel_base_DoSetClientSize(*args, **kwargs)
1372 def base_DoSetVirtualSize(*args, **kwargs): return _windows.PyPanel_base_DoSetVirtualSize(*args, **kwargs)
1373 def base_DoGetSize(*args, **kwargs): return _windows.PyPanel_base_DoGetSize(*args, **kwargs)
1374 def base_DoGetClientSize(*args, **kwargs): return _windows.PyPanel_base_DoGetClientSize(*args, **kwargs)
1375 def base_DoGetPosition(*args, **kwargs): return _windows.PyPanel_base_DoGetPosition(*args, **kwargs)
1376 def base_DoGetVirtualSize(*args, **kwargs): return _windows.PyPanel_base_DoGetVirtualSize(*args, **kwargs)
1377 def base_DoGetBestSize(*args, **kwargs): return _windows.PyPanel_base_DoGetBestSize(*args, **kwargs)
1378 def base_InitDialog(*args, **kwargs): return _windows.PyPanel_base_InitDialog(*args, **kwargs)
1379 def base_TransferDataToWindow(*args, **kwargs): return _windows.PyPanel_base_TransferDataToWindow(*args, **kwargs)
1380 def base_TransferDataFromWindow(*args, **kwargs): return _windows.PyPanel_base_TransferDataFromWindow(*args, **kwargs)
1381 def base_Validate(*args, **kwargs): return _windows.PyPanel_base_Validate(*args, **kwargs)
1382 def base_AcceptsFocus(*args, **kwargs): return _windows.PyPanel_base_AcceptsFocus(*args, **kwargs)
1383 def base_AcceptsFocusFromKeyboard(*args, **kwargs): return _windows.PyPanel_base_AcceptsFocusFromKeyboard(*args, **kwargs)
1384 def base_GetMaxSize(*args, **kwargs): return _windows.PyPanel_base_GetMaxSize(*args, **kwargs)
1385 def base_AddChild(*args, **kwargs): return _windows.PyPanel_base_AddChild(*args, **kwargs)
1386 def base_RemoveChild(*args, **kwargs): return _windows.PyPanel_base_RemoveChild(*args, **kwargs)
1387 def __repr__(self):
1388 return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1389
1390 class PyPanelPtr(PyPanel):
1391 def __init__(self, this):
1392 self.this = this
1393 if not hasattr(self,"thisown"): self.thisown = 0
1394 self.__class__ = PyPanel
1395 _windows.PyPanel_swigregister(PyPanelPtr)
1396
1397 #---------------------------------------------------------------------------
1398
1399 PRINT_MODE_NONE = _windows.PRINT_MODE_NONE
1400 PRINT_MODE_PREVIEW = _windows.PRINT_MODE_PREVIEW
1401 PRINT_MODE_FILE = _windows.PRINT_MODE_FILE
1402 PRINT_MODE_PRINTER = _windows.PRINT_MODE_PRINTER
1403 class PrintData(core.Object):
1404 def __init__(self, *args, **kwargs):
1405 newobj = _windows.new_PrintData(*args, **kwargs)
1406 self.this = newobj.this
1407 self.thisown = 1
1408 del newobj.thisown
1409 def __del__(self, destroy=_windows.delete_PrintData):
1410 try:
1411 if self.thisown: destroy(self)
1412 except: pass
1413 def GetNoCopies(*args, **kwargs): return _windows.PrintData_GetNoCopies(*args, **kwargs)
1414 def GetCollate(*args, **kwargs): return _windows.PrintData_GetCollate(*args, **kwargs)
1415 def GetOrientation(*args, **kwargs): return _windows.PrintData_GetOrientation(*args, **kwargs)
1416 def Ok(*args, **kwargs): return _windows.PrintData_Ok(*args, **kwargs)
1417 def GetPrinterName(*args, **kwargs): return _windows.PrintData_GetPrinterName(*args, **kwargs)
1418 def GetColour(*args, **kwargs): return _windows.PrintData_GetColour(*args, **kwargs)
1419 def GetDuplex(*args, **kwargs): return _windows.PrintData_GetDuplex(*args, **kwargs)
1420 def GetPaperId(*args, **kwargs): return _windows.PrintData_GetPaperId(*args, **kwargs)
1421 def GetPaperSize(*args, **kwargs): return _windows.PrintData_GetPaperSize(*args, **kwargs)
1422 def GetQuality(*args, **kwargs): return _windows.PrintData_GetQuality(*args, **kwargs)
1423 def SetNoCopies(*args, **kwargs): return _windows.PrintData_SetNoCopies(*args, **kwargs)
1424 def SetCollate(*args, **kwargs): return _windows.PrintData_SetCollate(*args, **kwargs)
1425 def SetOrientation(*args, **kwargs): return _windows.PrintData_SetOrientation(*args, **kwargs)
1426 def SetPrinterName(*args, **kwargs): return _windows.PrintData_SetPrinterName(*args, **kwargs)
1427 def SetColour(*args, **kwargs): return _windows.PrintData_SetColour(*args, **kwargs)
1428 def SetDuplex(*args, **kwargs): return _windows.PrintData_SetDuplex(*args, **kwargs)
1429 def SetPaperId(*args, **kwargs): return _windows.PrintData_SetPaperId(*args, **kwargs)
1430 def SetPaperSize(*args, **kwargs): return _windows.PrintData_SetPaperSize(*args, **kwargs)
1431 def SetQuality(*args, **kwargs): return _windows.PrintData_SetQuality(*args, **kwargs)
1432 def GetPrinterCommand(*args, **kwargs): return _windows.PrintData_GetPrinterCommand(*args, **kwargs)
1433 def GetPrinterOptions(*args, **kwargs): return _windows.PrintData_GetPrinterOptions(*args, **kwargs)
1434 def GetPreviewCommand(*args, **kwargs): return _windows.PrintData_GetPreviewCommand(*args, **kwargs)
1435 def GetFilename(*args, **kwargs): return _windows.PrintData_GetFilename(*args, **kwargs)
1436 def GetFontMetricPath(*args, **kwargs): return _windows.PrintData_GetFontMetricPath(*args, **kwargs)
1437 def GetPrinterScaleX(*args, **kwargs): return _windows.PrintData_GetPrinterScaleX(*args, **kwargs)
1438 def GetPrinterScaleY(*args, **kwargs): return _windows.PrintData_GetPrinterScaleY(*args, **kwargs)
1439 def GetPrinterTranslateX(*args, **kwargs): return _windows.PrintData_GetPrinterTranslateX(*args, **kwargs)
1440 def GetPrinterTranslateY(*args, **kwargs): return _windows.PrintData_GetPrinterTranslateY(*args, **kwargs)
1441 def GetPrintMode(*args, **kwargs): return _windows.PrintData_GetPrintMode(*args, **kwargs)
1442 def SetPrinterCommand(*args, **kwargs): return _windows.PrintData_SetPrinterCommand(*args, **kwargs)
1443 def SetPrinterOptions(*args, **kwargs): return _windows.PrintData_SetPrinterOptions(*args, **kwargs)
1444 def SetPreviewCommand(*args, **kwargs): return _windows.PrintData_SetPreviewCommand(*args, **kwargs)
1445 def SetFilename(*args, **kwargs): return _windows.PrintData_SetFilename(*args, **kwargs)
1446 def SetFontMetricPath(*args, **kwargs): return _windows.PrintData_SetFontMetricPath(*args, **kwargs)
1447 def SetPrinterScaleX(*args, **kwargs): return _windows.PrintData_SetPrinterScaleX(*args, **kwargs)
1448 def SetPrinterScaleY(*args, **kwargs): return _windows.PrintData_SetPrinterScaleY(*args, **kwargs)
1449 def SetPrinterScaling(*args, **kwargs): return _windows.PrintData_SetPrinterScaling(*args, **kwargs)
1450 def SetPrinterTranslateX(*args, **kwargs): return _windows.PrintData_SetPrinterTranslateX(*args, **kwargs)
1451 def SetPrinterTranslateY(*args, **kwargs): return _windows.PrintData_SetPrinterTranslateY(*args, **kwargs)
1452 def SetPrinterTranslation(*args, **kwargs): return _windows.PrintData_SetPrinterTranslation(*args, **kwargs)
1453 def SetPrintMode(*args, **kwargs): return _windows.PrintData_SetPrintMode(*args, **kwargs)
1454 def __nonzero__(self): return self.Ok()
1455 def __repr__(self):
1456 return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1457
1458 class PrintDataPtr(PrintData):
1459 def __init__(self, this):
1460 self.this = this
1461 if not hasattr(self,"thisown"): self.thisown = 0
1462 self.__class__ = PrintData
1463 _windows.PrintData_swigregister(PrintDataPtr)
1464
1465 class PageSetupDialogData(core.Object):
1466 def __init__(self, *args, **kwargs):
1467 newobj = _windows.new_PageSetupDialogData(*args, **kwargs)
1468 self.this = newobj.this
1469 self.thisown = 1
1470 del newobj.thisown
1471 def __del__(self, destroy=_windows.delete_PageSetupDialogData):
1472 try:
1473 if self.thisown: destroy(self)
1474 except: pass
1475 def EnableHelp(*args, **kwargs): return _windows.PageSetupDialogData_EnableHelp(*args, **kwargs)
1476 def EnableMargins(*args, **kwargs): return _windows.PageSetupDialogData_EnableMargins(*args, **kwargs)
1477 def EnableOrientation(*args, **kwargs): return _windows.PageSetupDialogData_EnableOrientation(*args, **kwargs)
1478 def EnablePaper(*args, **kwargs): return _windows.PageSetupDialogData_EnablePaper(*args, **kwargs)
1479 def EnablePrinter(*args, **kwargs): return _windows.PageSetupDialogData_EnablePrinter(*args, **kwargs)
1480 def GetDefaultMinMargins(*args, **kwargs): return _windows.PageSetupDialogData_GetDefaultMinMargins(*args, **kwargs)
1481 def GetEnableMargins(*args, **kwargs): return _windows.PageSetupDialogData_GetEnableMargins(*args, **kwargs)
1482 def GetEnableOrientation(*args, **kwargs): return _windows.PageSetupDialogData_GetEnableOrientation(*args, **kwargs)
1483 def GetEnablePaper(*args, **kwargs): return _windows.PageSetupDialogData_GetEnablePaper(*args, **kwargs)
1484 def GetEnablePrinter(*args, **kwargs): return _windows.PageSetupDialogData_GetEnablePrinter(*args, **kwargs)
1485 def GetEnableHelp(*args, **kwargs): return _windows.PageSetupDialogData_GetEnableHelp(*args, **kwargs)
1486 def GetDefaultInfo(*args, **kwargs): return _windows.PageSetupDialogData_GetDefaultInfo(*args, **kwargs)
1487 def GetMarginTopLeft(*args, **kwargs): return _windows.PageSetupDialogData_GetMarginTopLeft(*args, **kwargs)
1488 def GetMarginBottomRight(*args, **kwargs): return _windows.PageSetupDialogData_GetMarginBottomRight(*args, **kwargs)
1489 def GetMinMarginTopLeft(*args, **kwargs): return _windows.PageSetupDialogData_GetMinMarginTopLeft(*args, **kwargs)
1490 def GetMinMarginBottomRight(*args, **kwargs): return _windows.PageSetupDialogData_GetMinMarginBottomRight(*args, **kwargs)
1491 def GetPaperId(*args, **kwargs): return _windows.PageSetupDialogData_GetPaperId(*args, **kwargs)
1492 def GetPaperSize(*args, **kwargs): return _windows.PageSetupDialogData_GetPaperSize(*args, **kwargs)
1493 def GetPrintData(*args, **kwargs): return _windows.PageSetupDialogData_GetPrintData(*args, **kwargs)
1494 def Ok(*args, **kwargs): return _windows.PageSetupDialogData_Ok(*args, **kwargs)
1495 def SetDefaultInfo(*args, **kwargs): return _windows.PageSetupDialogData_SetDefaultInfo(*args, **kwargs)
1496 def SetDefaultMinMargins(*args, **kwargs): return _windows.PageSetupDialogData_SetDefaultMinMargins(*args, **kwargs)
1497 def SetMarginTopLeft(*args, **kwargs): return _windows.PageSetupDialogData_SetMarginTopLeft(*args, **kwargs)
1498 def SetMarginBottomRight(*args, **kwargs): return _windows.PageSetupDialogData_SetMarginBottomRight(*args, **kwargs)
1499 def SetMinMarginTopLeft(*args, **kwargs): return _windows.PageSetupDialogData_SetMinMarginTopLeft(*args, **kwargs)
1500 def SetMinMarginBottomRight(*args, **kwargs): return _windows.PageSetupDialogData_SetMinMarginBottomRight(*args, **kwargs)
1501 def SetPaperId(*args, **kwargs): return _windows.PageSetupDialogData_SetPaperId(*args, **kwargs)
1502 def SetPaperSize(*args, **kwargs): return _windows.PageSetupDialogData_SetPaperSize(*args, **kwargs)
1503 def SetPrintData(*args, **kwargs): return _windows.PageSetupDialogData_SetPrintData(*args, **kwargs)
1504 def __nonzero__(self): return self.Ok()
1505 def __repr__(self):
1506 return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1507
1508 class PageSetupDialogDataPtr(PageSetupDialogData):
1509 def __init__(self, this):
1510 self.this = this
1511 if not hasattr(self,"thisown"): self.thisown = 0
1512 self.__class__ = PageSetupDialogData
1513 _windows.PageSetupDialogData_swigregister(PageSetupDialogDataPtr)
1514
1515 class PageSetupDialog(Dialog):
1516 def __init__(self, *args, **kwargs):
1517 newobj = _windows.new_PageSetupDialog(*args, **kwargs)
1518 self.this = newobj.this
1519 self.thisown = 1
1520 del newobj.thisown
1521 self._setOORInfo(self)
1522 def GetPageSetupData(*args, **kwargs): return _windows.PageSetupDialog_GetPageSetupData(*args, **kwargs)
1523 def ShowModal(*args, **kwargs): return _windows.PageSetupDialog_ShowModal(*args, **kwargs)
1524 def __repr__(self):
1525 return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1526
1527 class PageSetupDialogPtr(PageSetupDialog):
1528 def __init__(self, this):
1529 self.this = this
1530 if not hasattr(self,"thisown"): self.thisown = 0
1531 self.__class__ = PageSetupDialog
1532 _windows.PageSetupDialog_swigregister(PageSetupDialogPtr)
1533
1534 class PrintDialogData(core.Object):
1535 def __init__(self, *args, **kwargs):
1536 newobj = _windows.new_PrintDialogData(*args, **kwargs)
1537 self.this = newobj.this
1538 self.thisown = 1
1539 del newobj.thisown
1540 def __del__(self, destroy=_windows.delete_PrintDialogData):
1541 try:
1542 if self.thisown: destroy(self)
1543 except: pass
1544 def GetFromPage(*args, **kwargs): return _windows.PrintDialogData_GetFromPage(*args, **kwargs)
1545 def GetToPage(*args, **kwargs): return _windows.PrintDialogData_GetToPage(*args, **kwargs)
1546 def GetMinPage(*args, **kwargs): return _windows.PrintDialogData_GetMinPage(*args, **kwargs)
1547 def GetMaxPage(*args, **kwargs): return _windows.PrintDialogData_GetMaxPage(*args, **kwargs)
1548 def GetNoCopies(*args, **kwargs): return _windows.PrintDialogData_GetNoCopies(*args, **kwargs)
1549 def GetAllPages(*args, **kwargs): return _windows.PrintDialogData_GetAllPages(*args, **kwargs)
1550 def GetSelection(*args, **kwargs): return _windows.PrintDialogData_GetSelection(*args, **kwargs)
1551 def GetCollate(*args, **kwargs): return _windows.PrintDialogData_GetCollate(*args, **kwargs)
1552 def GetPrintToFile(*args, **kwargs): return _windows.PrintDialogData_GetPrintToFile(*args, **kwargs)
1553 def GetSetupDialog(*args, **kwargs): return _windows.PrintDialogData_GetSetupDialog(*args, **kwargs)
1554 def SetFromPage(*args, **kwargs): return _windows.PrintDialogData_SetFromPage(*args, **kwargs)
1555 def SetToPage(*args, **kwargs): return _windows.PrintDialogData_SetToPage(*args, **kwargs)
1556 def SetMinPage(*args, **kwargs): return _windows.PrintDialogData_SetMinPage(*args, **kwargs)
1557 def SetMaxPage(*args, **kwargs): return _windows.PrintDialogData_SetMaxPage(*args, **kwargs)
1558 def SetNoCopies(*args, **kwargs): return _windows.PrintDialogData_SetNoCopies(*args, **kwargs)
1559 def SetAllPages(*args, **kwargs): return _windows.PrintDialogData_SetAllPages(*args, **kwargs)
1560 def SetSelection(*args, **kwargs): return _windows.PrintDialogData_SetSelection(*args, **kwargs)
1561 def SetCollate(*args, **kwargs): return _windows.PrintDialogData_SetCollate(*args, **kwargs)
1562 def SetPrintToFile(*args, **kwargs): return _windows.PrintDialogData_SetPrintToFile(*args, **kwargs)
1563 def SetSetupDialog(*args, **kwargs): return _windows.PrintDialogData_SetSetupDialog(*args, **kwargs)
1564 def EnablePrintToFile(*args, **kwargs): return _windows.PrintDialogData_EnablePrintToFile(*args, **kwargs)
1565 def EnableSelection(*args, **kwargs): return _windows.PrintDialogData_EnableSelection(*args, **kwargs)
1566 def EnablePageNumbers(*args, **kwargs): return _windows.PrintDialogData_EnablePageNumbers(*args, **kwargs)
1567 def EnableHelp(*args, **kwargs): return _windows.PrintDialogData_EnableHelp(*args, **kwargs)
1568 def GetEnablePrintToFile(*args, **kwargs): return _windows.PrintDialogData_GetEnablePrintToFile(*args, **kwargs)
1569 def GetEnableSelection(*args, **kwargs): return _windows.PrintDialogData_GetEnableSelection(*args, **kwargs)
1570 def GetEnablePageNumbers(*args, **kwargs): return _windows.PrintDialogData_GetEnablePageNumbers(*args, **kwargs)
1571 def GetEnableHelp(*args, **kwargs): return _windows.PrintDialogData_GetEnableHelp(*args, **kwargs)
1572 def Ok(*args, **kwargs): return _windows.PrintDialogData_Ok(*args, **kwargs)
1573 def GetPrintData(*args, **kwargs): return _windows.PrintDialogData_GetPrintData(*args, **kwargs)
1574 def SetPrintData(*args, **kwargs): return _windows.PrintDialogData_SetPrintData(*args, **kwargs)
1575 def __nonzero__(self): return self.Ok()
1576 def __repr__(self):
1577 return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1578
1579 class PrintDialogDataPtr(PrintDialogData):
1580 def __init__(self, this):
1581 self.this = this
1582 if not hasattr(self,"thisown"): self.thisown = 0
1583 self.__class__ = PrintDialogData
1584 _windows.PrintDialogData_swigregister(PrintDialogDataPtr)
1585
1586 class PrintDialog(Dialog):
1587 def __init__(self, *args, **kwargs):
1588 newobj = _windows.new_PrintDialog(*args, **kwargs)
1589 self.this = newobj.this
1590 self.thisown = 1
1591 del newobj.thisown
1592 self._setOORInfo(self)
1593 def GetPrintDialogData(*args, **kwargs): return _windows.PrintDialog_GetPrintDialogData(*args, **kwargs)
1594 def GetPrintDC(*args, **kwargs): return _windows.PrintDialog_GetPrintDC(*args, **kwargs)
1595 def ShowModal(*args, **kwargs): return _windows.PrintDialog_ShowModal(*args, **kwargs)
1596 def __repr__(self):
1597 return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1598
1599 class PrintDialogPtr(PrintDialog):
1600 def __init__(self, this):
1601 self.this = this
1602 if not hasattr(self,"thisown"): self.thisown = 0
1603 self.__class__ = PrintDialog
1604 _windows.PrintDialog_swigregister(PrintDialogPtr)
1605
1606 PRINTER_NO_ERROR = _windows.PRINTER_NO_ERROR
1607 PRINTER_CANCELLED = _windows.PRINTER_CANCELLED
1608 PRINTER_ERROR = _windows.PRINTER_ERROR
1609 class Printer(core.Object):
1610 def __init__(self, *args, **kwargs):
1611 newobj = _windows.new_Printer(*args, **kwargs)
1612 self.this = newobj.this
1613 self.thisown = 1
1614 del newobj.thisown
1615 def __del__(self, destroy=_windows.delete_Printer):
1616 try:
1617 if self.thisown: destroy(self)
1618 except: pass
1619 def CreateAbortWindow(*args, **kwargs): return _windows.Printer_CreateAbortWindow(*args, **kwargs)
1620 def GetPrintDialogData(*args, **kwargs): return _windows.Printer_GetPrintDialogData(*args, **kwargs)
1621 def Print(*args, **kwargs): return _windows.Printer_Print(*args, **kwargs)
1622 def PrintDialog(*args, **kwargs): return _windows.Printer_PrintDialog(*args, **kwargs)
1623 def ReportError(*args, **kwargs): return _windows.Printer_ReportError(*args, **kwargs)
1624 def Setup(*args, **kwargs): return _windows.Printer_Setup(*args, **kwargs)
1625 def GetAbort(*args, **kwargs): return _windows.Printer_GetAbort(*args, **kwargs)
1626 GetLastError = staticmethod(_windows.Printer_GetLastError)
1627 def __repr__(self):
1628 return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1629
1630 class PrinterPtr(Printer):
1631 def __init__(self, this):
1632 self.this = this
1633 if not hasattr(self,"thisown"): self.thisown = 0
1634 self.__class__ = Printer
1635 _windows.Printer_swigregister(PrinterPtr)
1636
1637 Printer_GetLastError = _windows.Printer_GetLastError
1638
1639 class Printout(core.Object):
1640 def __init__(self, *args, **kwargs):
1641 newobj = _windows.new_Printout(*args, **kwargs)
1642 self.this = newobj.this
1643 self.thisown = 1
1644 del newobj.thisown
1645 self._setCallbackInfo(self, Printout)
1646 def _setCallbackInfo(*args, **kwargs): return _windows.Printout__setCallbackInfo(*args, **kwargs)
1647 def GetTitle(*args, **kwargs): return _windows.Printout_GetTitle(*args, **kwargs)
1648 def GetDC(*args, **kwargs): return _windows.Printout_GetDC(*args, **kwargs)
1649 def SetDC(*args, **kwargs): return _windows.Printout_SetDC(*args, **kwargs)
1650 def GetPageSizePixels(*args, **kwargs): return _windows.Printout_GetPageSizePixels(*args, **kwargs)
1651 def SetPageSizePixels(*args, **kwargs): return _windows.Printout_SetPageSizePixels(*args, **kwargs)
1652 def SetPageSizeMM(*args, **kwargs): return _windows.Printout_SetPageSizeMM(*args, **kwargs)
1653 def GetPageSizeMM(*args, **kwargs): return _windows.Printout_GetPageSizeMM(*args, **kwargs)
1654 def SetPPIScreen(*args, **kwargs): return _windows.Printout_SetPPIScreen(*args, **kwargs)
1655 def GetPPIScreen(*args, **kwargs): return _windows.Printout_GetPPIScreen(*args, **kwargs)
1656 def SetPPIPrinter(*args, **kwargs): return _windows.Printout_SetPPIPrinter(*args, **kwargs)
1657 def GetPPIPrinter(*args, **kwargs): return _windows.Printout_GetPPIPrinter(*args, **kwargs)
1658 def IsPreview(*args, **kwargs): return _windows.Printout_IsPreview(*args, **kwargs)
1659 def SetIsPreview(*args, **kwargs): return _windows.Printout_SetIsPreview(*args, **kwargs)
1660 def base_OnBeginDocument(*args, **kwargs): return _windows.Printout_base_OnBeginDocument(*args, **kwargs)
1661 def base_OnEndDocument(*args, **kwargs): return _windows.Printout_base_OnEndDocument(*args, **kwargs)
1662 def base_OnBeginPrinting(*args, **kwargs): return _windows.Printout_base_OnBeginPrinting(*args, **kwargs)
1663 def base_OnEndPrinting(*args, **kwargs): return _windows.Printout_base_OnEndPrinting(*args, **kwargs)
1664 def base_OnPreparePrinting(*args, **kwargs): return _windows.Printout_base_OnPreparePrinting(*args, **kwargs)
1665 def base_GetPageInfo(*args, **kwargs): return _windows.Printout_base_GetPageInfo(*args, **kwargs)
1666 def base_HasPage(*args, **kwargs): return _windows.Printout_base_HasPage(*args, **kwargs)
1667 def __repr__(self):
1668 return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1669
1670 class PrintoutPtr(Printout):
1671 def __init__(self, this):
1672 self.this = this
1673 if not hasattr(self,"thisown"): self.thisown = 0
1674 self.__class__ = Printout
1675 _windows.Printout_swigregister(PrintoutPtr)
1676
1677 class PreviewCanvas(ScrolledWindow):
1678 def __init__(self, *args, **kwargs):
1679 newobj = _windows.new_PreviewCanvas(*args, **kwargs)
1680 self.this = newobj.this
1681 self.thisown = 1
1682 del newobj.thisown
1683 self._self._setOORInfo(self)
1684 def __repr__(self):
1685 return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1686
1687 class PreviewCanvasPtr(PreviewCanvas):
1688 def __init__(self, this):
1689 self.this = this
1690 if not hasattr(self,"thisown"): self.thisown = 0
1691 self.__class__ = PreviewCanvas
1692 _windows.PreviewCanvas_swigregister(PreviewCanvasPtr)
1693
1694 class PreviewFrame(Frame):
1695 def __init__(self, *args, **kwargs):
1696 newobj = _windows.new_PreviewFrame(*args, **kwargs)
1697 self.this = newobj.this
1698 self.thisown = 1
1699 del newobj.thisown
1700 self._self._setOORInfo(self)
1701 def Initialize(*args, **kwargs): return _windows.PreviewFrame_Initialize(*args, **kwargs)
1702 def CreateControlBar(*args, **kwargs): return _windows.PreviewFrame_CreateControlBar(*args, **kwargs)
1703 def CreateCanvas(*args, **kwargs): return _windows.PreviewFrame_CreateCanvas(*args, **kwargs)
1704 def GetControlBar(*args, **kwargs): return _windows.PreviewFrame_GetControlBar(*args, **kwargs)
1705 def __repr__(self):
1706 return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1707
1708 class PreviewFramePtr(PreviewFrame):
1709 def __init__(self, this):
1710 self.this = this
1711 if not hasattr(self,"thisown"): self.thisown = 0
1712 self.__class__ = PreviewFrame
1713 _windows.PreviewFrame_swigregister(PreviewFramePtr)
1714
1715 PREVIEW_PRINT = _windows.PREVIEW_PRINT
1716 PREVIEW_PREVIOUS = _windows.PREVIEW_PREVIOUS
1717 PREVIEW_NEXT = _windows.PREVIEW_NEXT
1718 PREVIEW_ZOOM = _windows.PREVIEW_ZOOM
1719 PREVIEW_FIRST = _windows.PREVIEW_FIRST
1720 PREVIEW_LAST = _windows.PREVIEW_LAST
1721 PREVIEW_GOTO = _windows.PREVIEW_GOTO
1722 PREVIEW_DEFAULT = _windows.PREVIEW_DEFAULT
1723 ID_PREVIEW_CLOSE = _windows.ID_PREVIEW_CLOSE
1724 ID_PREVIEW_NEXT = _windows.ID_PREVIEW_NEXT
1725 ID_PREVIEW_PREVIOUS = _windows.ID_PREVIEW_PREVIOUS
1726 ID_PREVIEW_PRINT = _windows.ID_PREVIEW_PRINT
1727 ID_PREVIEW_ZOOM = _windows.ID_PREVIEW_ZOOM
1728 ID_PREVIEW_FIRST = _windows.ID_PREVIEW_FIRST
1729 ID_PREVIEW_LAST = _windows.ID_PREVIEW_LAST
1730 ID_PREVIEW_GOTO = _windows.ID_PREVIEW_GOTO
1731 class PreviewControlBar(Panel):
1732 def __init__(self, *args, **kwargs):
1733 newobj = _windows.new_PreviewControlBar(*args, **kwargs)
1734 self.this = newobj.this
1735 self.thisown = 1
1736 del newobj.thisown
1737 self._self._setOORInfo(self)
1738 def GetZoomControl(*args, **kwargs): return _windows.PreviewControlBar_GetZoomControl(*args, **kwargs)
1739 def SetZoomControl(*args, **kwargs): return _windows.PreviewControlBar_SetZoomControl(*args, **kwargs)
1740 def GetPrintPreview(*args, **kwargs): return _windows.PreviewControlBar_GetPrintPreview(*args, **kwargs)
1741 def OnNext(*args, **kwargs): return _windows.PreviewControlBar_OnNext(*args, **kwargs)
1742 def OnPrevious(*args, **kwargs): return _windows.PreviewControlBar_OnPrevious(*args, **kwargs)
1743 def OnFirst(*args, **kwargs): return _windows.PreviewControlBar_OnFirst(*args, **kwargs)
1744 def OnLast(*args, **kwargs): return _windows.PreviewControlBar_OnLast(*args, **kwargs)
1745 def OnGoto(*args, **kwargs): return _windows.PreviewControlBar_OnGoto(*args, **kwargs)
1746 def __repr__(self):
1747 return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1748
1749 class PreviewControlBarPtr(PreviewControlBar):
1750 def __init__(self, this):
1751 self.this = this
1752 if not hasattr(self,"thisown"): self.thisown = 0
1753 self.__class__ = PreviewControlBar
1754 _windows.PreviewControlBar_swigregister(PreviewControlBarPtr)
1755
1756 class PrintPreview(core.Object):
1757 def __init__(self, *args, **kwargs):
1758 newobj = _windows.new_PrintPreview(*args, **kwargs)
1759 self.this = newobj.this
1760 self.thisown = 1
1761 del newobj.thisown
1762 def SetCurrentPage(*args, **kwargs): return _windows.PrintPreview_SetCurrentPage(*args, **kwargs)
1763 def GetCurrentPage(*args, **kwargs): return _windows.PrintPreview_GetCurrentPage(*args, **kwargs)
1764 def SetPrintout(*args, **kwargs): return _windows.PrintPreview_SetPrintout(*args, **kwargs)
1765 def GetPrintout(*args, **kwargs): return _windows.PrintPreview_GetPrintout(*args, **kwargs)
1766 def GetPrintoutForPrinting(*args, **kwargs): return _windows.PrintPreview_GetPrintoutForPrinting(*args, **kwargs)
1767 def SetFrame(*args, **kwargs): return _windows.PrintPreview_SetFrame(*args, **kwargs)
1768 def SetCanvas(*args, **kwargs): return _windows.PrintPreview_SetCanvas(*args, **kwargs)
1769 def GetFrame(*args, **kwargs): return _windows.PrintPreview_GetFrame(*args, **kwargs)
1770 def GetCanvas(*args, **kwargs): return _windows.PrintPreview_GetCanvas(*args, **kwargs)
1771 def PaintPage(*args, **kwargs): return _windows.PrintPreview_PaintPage(*args, **kwargs)
1772 def DrawBlankPage(*args, **kwargs): return _windows.PrintPreview_DrawBlankPage(*args, **kwargs)
1773 def RenderPage(*args, **kwargs): return _windows.PrintPreview_RenderPage(*args, **kwargs)
1774 def AdjustScrollbars(*args, **kwargs): return _windows.PrintPreview_AdjustScrollbars(*args, **kwargs)
1775 def GetPrintDialogData(*args, **kwargs): return _windows.PrintPreview_GetPrintDialogData(*args, **kwargs)
1776 def SetZoom(*args, **kwargs): return _windows.PrintPreview_SetZoom(*args, **kwargs)
1777 def GetZoom(*args, **kwargs): return _windows.PrintPreview_GetZoom(*args, **kwargs)
1778 def GetMaxPage(*args, **kwargs): return _windows.PrintPreview_GetMaxPage(*args, **kwargs)
1779 def GetMinPage(*args, **kwargs): return _windows.PrintPreview_GetMinPage(*args, **kwargs)
1780 def Ok(*args, **kwargs): return _windows.PrintPreview_Ok(*args, **kwargs)
1781 def SetOk(*args, **kwargs): return _windows.PrintPreview_SetOk(*args, **kwargs)
1782 def Print(*args, **kwargs): return _windows.PrintPreview_Print(*args, **kwargs)
1783 def DetermineScaling(*args, **kwargs): return _windows.PrintPreview_DetermineScaling(*args, **kwargs)
1784 def __nonzero__(self): return self.Ok()
1785 def __repr__(self):
1786 return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1787
1788 class PrintPreviewPtr(PrintPreview):
1789 def __init__(self, this):
1790 self.this = this
1791 if not hasattr(self,"thisown"): self.thisown = 0
1792 self.__class__ = PrintPreview
1793 _windows.PrintPreview_swigregister(PrintPreviewPtr)
1794
1795 class PyPrintPreview(PrintPreview):
1796 def __init__(self, *args, **kwargs):
1797 newobj = _windows.new_PyPrintPreview(*args, **kwargs)
1798 self.this = newobj.this
1799 self.thisown = 1
1800 del newobj.thisown
1801 self._setCallbackInfo(self, PyPrintPreview)
1802 def _setCallbackInfo(*args, **kwargs): return _windows.PyPrintPreview__setCallbackInfo(*args, **kwargs)
1803 def base_SetCurrentPage(*args, **kwargs): return _windows.PyPrintPreview_base_SetCurrentPage(*args, **kwargs)
1804 def base_PaintPage(*args, **kwargs): return _windows.PyPrintPreview_base_PaintPage(*args, **kwargs)
1805 def base_DrawBlankPage(*args, **kwargs): return _windows.PyPrintPreview_base_DrawBlankPage(*args, **kwargs)
1806 def base_RenderPage(*args, **kwargs): return _windows.PyPrintPreview_base_RenderPage(*args, **kwargs)
1807 def base_SetZoom(*args, **kwargs): return _windows.PyPrintPreview_base_SetZoom(*args, **kwargs)
1808 def base_Print(*args, **kwargs): return _windows.PyPrintPreview_base_Print(*args, **kwargs)
1809 def base_DetermineScaling(*args, **kwargs): return _windows.PyPrintPreview_base_DetermineScaling(*args, **kwargs)
1810 def __repr__(self):
1811 return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1812
1813 class PyPrintPreviewPtr(PyPrintPreview):
1814 def __init__(self, this):
1815 self.this = this
1816 if not hasattr(self,"thisown"): self.thisown = 0
1817 self.__class__ = PyPrintPreview
1818 _windows.PyPrintPreview_swigregister(PyPrintPreviewPtr)
1819
1820 class PyPreviewFrame(PreviewFrame):
1821 def __init__(self, *args, **kwargs):
1822 newobj = _windows.new_PyPreviewFrame(*args, **kwargs)
1823 self.this = newobj.this
1824 self.thisown = 1
1825 del newobj.thisown
1826 self._setCallbackInfo(self, PyPreviewFrame); self._setOORInfo(self)
1827 def _setCallbackInfo(*args, **kwargs): return _windows.PyPreviewFrame__setCallbackInfo(*args, **kwargs)
1828 def SetPreviewCanvas(*args, **kwargs): return _windows.PyPreviewFrame_SetPreviewCanvas(*args, **kwargs)
1829 def SetControlBar(*args, **kwargs): return _windows.PyPreviewFrame_SetControlBar(*args, **kwargs)
1830 def base_Initialize(*args, **kwargs): return _windows.PyPreviewFrame_base_Initialize(*args, **kwargs)
1831 def base_CreateCanvas(*args, **kwargs): return _windows.PyPreviewFrame_base_CreateCanvas(*args, **kwargs)
1832 def base_CreateControlBar(*args, **kwargs): return _windows.PyPreviewFrame_base_CreateControlBar(*args, **kwargs)
1833 def __repr__(self):
1834 return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1835
1836 class PyPreviewFramePtr(PyPreviewFrame):
1837 def __init__(self, this):
1838 self.this = this
1839 if not hasattr(self,"thisown"): self.thisown = 0
1840 self.__class__ = PyPreviewFrame
1841 _windows.PyPreviewFrame_swigregister(PyPreviewFramePtr)
1842
1843 class PyPreviewControlBar(PreviewControlBar):
1844 def __init__(self, *args, **kwargs):
1845 newobj = _windows.new_PyPreviewControlBar(*args, **kwargs)
1846 self.this = newobj.this
1847 self.thisown = 1
1848 del newobj.thisown
1849 self._setCallbackInfo(self, PyPreviewControlBar); self._setOORInfo(self)
1850 def _setCallbackInfo(*args, **kwargs): return _windows.PyPreviewControlBar__setCallbackInfo(*args, **kwargs)
1851 def SetPrintPreview(*args, **kwargs): return _windows.PyPreviewControlBar_SetPrintPreview(*args, **kwargs)
1852 def base_CreateButtons(*args, **kwargs): return _windows.PyPreviewControlBar_base_CreateButtons(*args, **kwargs)
1853 def base_SetZoomControl(*args, **kwargs): return _windows.PyPreviewControlBar_base_SetZoomControl(*args, **kwargs)
1854 def __repr__(self):
1855 return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1856
1857 class PyPreviewControlBarPtr(PyPreviewControlBar):
1858 def __init__(self, this):
1859 self.this = this
1860 if not hasattr(self,"thisown"): self.thisown = 0
1861 self.__class__ = PyPreviewControlBar
1862 _windows.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr)
1863
1864