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