]>
Commit | Line | Data |
---|---|---|
27e45892 RD |
1 | # This file was created automatically by SWIG 1.3.29. |
2 | # Don't modify this file, modify the SWIG interface instead. | |
3 | ||
4 | """ | |
5 | The wx.aui moduleis an Advanced User Interface library that aims to | |
6 | implement "cutting-edge" interface usability and design features so | |
7 | developers can quickly and easily create beautiful and usable | |
8 | application interfaces. | |
9 | ||
10 | **Vision and Design Principles** | |
11 | ||
12 | wx.aui attempts to encapsulate the following aspects of the user | |
13 | interface: | |
14 | ||
15 | * Frame Management: Frame management provides the means to open, | |
16 | move and hide common controls that are needed to interact with the | |
17 | document, and allow these configurations to be saved into | |
18 | different perspectives and loaded at a later time. | |
19 | ||
20 | * Toolbars: Toolbars are a specialized subset of the frame | |
21 | management system and should behave similarly to other docked | |
22 | components. However, they also require additional functionality, | |
23 | such as "spring-loaded" rebar support, "chevron" buttons and | |
24 | end-user customizability. | |
25 | ||
26 | * Modeless Controls: Modeless controls expose a tool palette or set | |
27 | of options that float above the application content while allowing | |
28 | it to be accessed. Usually accessed by the toolbar, these controls | |
29 | disappear when an option is selected, but may also be "torn off" | |
30 | the toolbar into a floating frame of their own. | |
31 | ||
32 | * Look and Feel: Look and feel encompasses the way controls are | |
33 | drawn, both when shown statically as well as when they are being | |
34 | moved. This aspect of user interface design incorporates "special | |
35 | effects" such as transparent window dragging as well as frame | |
36 | animation. | |
37 | ||
5eb8189c | 38 | **wx.aui adheres to the following principles** |
27e45892 RD |
39 | |
40 | - Use native floating frames to obtain a native look and feel for | |
41 | all platforms; | |
42 | ||
43 | - Use existing wxPython code where possible, such as sizer | |
44 | implementation for frame management; | |
45 | ||
46 | - Use standard wxPython coding conventions. | |
47 | ||
48 | ||
49 | **Usage** | |
50 | ||
51 | The following example shows a simple implementation that utilizes | |
52 | `wx.aui.FrameManager` to manage three text controls in a frame window:: | |
53 | ||
54 | import wx | |
55 | import wx.aui | |
56 | ||
57 | class MyFrame(wx.Frame): | |
58 | ||
59 | def __init__(self, parent, id=-1, title='wx.aui Test', | |
60 | size=(800, 600), style=wx.DEFAULT_FRAME_STYLE): | |
61 | wx.Frame.__init__(self, parent, id, title, pos, size, style) | |
62 | ||
5eb8189c | 63 | self._mgr = wx.aui.AuiManager(self) |
27e45892 RD |
64 | |
65 | # create several text controls | |
66 | text1 = wx.TextCtrl(self, -1, 'Pane 1 - sample text', | |
67 | wx.DefaultPosition, wx.Size(200,150), | |
68 | wx.NO_BORDER | wx.TE_MULTILINE) | |
69 | ||
70 | text2 = wx.TextCtrl(self, -1, 'Pane 2 - sample text', | |
71 | wx.DefaultPosition, wx.Size(200,150), | |
72 | wx.NO_BORDER | wx.TE_MULTILINE) | |
73 | ||
74 | text3 = wx.TextCtrl(self, -1, 'Main content window', | |
75 | wx.DefaultPosition, wx.Size(200,150), | |
76 | wx.NO_BORDER | wx.TE_MULTILINE) | |
77 | ||
78 | # add the panes to the manager | |
79 | self._mgr.AddPane(text1, wx.LEFT, 'Pane Number One') | |
80 | self._mgr.AddPane(text2, wx.BOTTOM, 'Pane Number Two') | |
81 | self._mgr.AddPane(text3, wx.CENTER) | |
82 | ||
83 | # tell the manager to 'commit' all the changes just made | |
84 | self._mgr.Update() | |
85 | ||
86 | self.Bind(wx.EVT_CLOSE, self.OnClose) | |
87 | ||
88 | ||
89 | def OnClose(self, event): | |
90 | # deinitialize the frame manager | |
91 | self._mgr.UnInit() | |
92 | # delete the frame | |
93 | self.Destroy() | |
94 | ||
95 | ||
96 | app = wx.App() | |
97 | frame = MyFrame(None) | |
98 | frame.Show() | |
99 | app.MainLoop() | |
100 | ||
101 | """ | |
102 | ||
103 | import _aui | |
104 | import new | |
105 | new_instancemethod = new.instancemethod | |
106 | def _swig_setattr_nondynamic(self,class_type,name,value,static=1): | |
107 | if (name == "thisown"): return self.this.own(value) | |
108 | if (name == "this"): | |
109 | if type(value).__name__ == 'PySwigObject': | |
110 | self.__dict__[name] = value | |
111 | return | |
112 | method = class_type.__swig_setmethods__.get(name,None) | |
113 | if method: return method(self,value) | |
114 | if (not static) or hasattr(self,name): | |
115 | self.__dict__[name] = value | |
116 | else: | |
117 | raise AttributeError("You cannot add attributes to %s" % self) | |
118 | ||
119 | def _swig_setattr(self,class_type,name,value): | |
120 | return _swig_setattr_nondynamic(self,class_type,name,value,0) | |
121 | ||
122 | def _swig_getattr(self,class_type,name): | |
123 | if (name == "thisown"): return self.this.own() | |
124 | method = class_type.__swig_getmethods__.get(name,None) | |
125 | if method: return method(self) | |
126 | raise AttributeError,name | |
127 | ||
128 | def _swig_repr(self): | |
129 | try: strthis = "proxy of " + self.this.__repr__() | |
130 | except: strthis = "" | |
131 | return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,) | |
132 | ||
133 | import types | |
134 | try: | |
135 | _object = types.ObjectType | |
136 | _newclass = 1 | |
137 | except AttributeError: | |
138 | class _object : pass | |
139 | _newclass = 0 | |
140 | del types | |
141 | ||
142 | ||
143 | def _swig_setattr_nondynamic_method(set): | |
144 | def set_attr(self,name,value): | |
145 | if (name == "thisown"): return self.this.own(value) | |
146 | if hasattr(self,name) or (name == "this"): | |
147 | set(self,name,value) | |
148 | else: | |
149 | raise AttributeError("You cannot add attributes to %s" % self) | |
150 | return set_attr | |
151 | ||
152 | ||
153 | import _core | |
154 | import _windows | |
155 | wx = _core | |
156 | __docfilter__ = wx.__DocFilter(globals()) | |
157 | USE_AUI = _aui.USE_AUI | |
158 | AUI_DOCK_NONE = _aui.AUI_DOCK_NONE | |
159 | AUI_DOCK_TOP = _aui.AUI_DOCK_TOP | |
160 | AUI_DOCK_RIGHT = _aui.AUI_DOCK_RIGHT | |
161 | AUI_DOCK_BOTTOM = _aui.AUI_DOCK_BOTTOM | |
162 | AUI_DOCK_LEFT = _aui.AUI_DOCK_LEFT | |
163 | AUI_DOCK_CENTER = _aui.AUI_DOCK_CENTER | |
164 | AUI_DOCK_CENTRE = _aui.AUI_DOCK_CENTRE | |
165 | AUI_MGR_ALLOW_FLOATING = _aui.AUI_MGR_ALLOW_FLOATING | |
166 | AUI_MGR_ALLOW_ACTIVE_PANE = _aui.AUI_MGR_ALLOW_ACTIVE_PANE | |
167 | AUI_MGR_TRANSPARENT_DRAG = _aui.AUI_MGR_TRANSPARENT_DRAG | |
168 | AUI_MGR_TRANSPARENT_HINT = _aui.AUI_MGR_TRANSPARENT_HINT | |
70d7cb34 RD |
169 | AUI_MGR_VENETIAN_BLINDS_HINT = _aui.AUI_MGR_VENETIAN_BLINDS_HINT |
170 | AUI_MGR_RECTANGLE_HINT = _aui.AUI_MGR_RECTANGLE_HINT | |
171 | AUI_MGR_HINT_FADE = _aui.AUI_MGR_HINT_FADE | |
172 | AUI_MGR_NO_VENETIAN_BLINDS_FADE = _aui.AUI_MGR_NO_VENETIAN_BLINDS_FADE | |
27e45892 RD |
173 | AUI_MGR_DEFAULT = _aui.AUI_MGR_DEFAULT |
174 | AUI_ART_SASH_SIZE = _aui.AUI_ART_SASH_SIZE | |
175 | AUI_ART_CAPTION_SIZE = _aui.AUI_ART_CAPTION_SIZE | |
176 | AUI_ART_GRIPPER_SIZE = _aui.AUI_ART_GRIPPER_SIZE | |
177 | AUI_ART_PANE_BORDER_SIZE = _aui.AUI_ART_PANE_BORDER_SIZE | |
178 | AUI_ART_PANE_BUTTON_SIZE = _aui.AUI_ART_PANE_BUTTON_SIZE | |
179 | AUI_ART_BACKGROUND_COLOUR = _aui.AUI_ART_BACKGROUND_COLOUR | |
180 | AUI_ART_SASH_COLOUR = _aui.AUI_ART_SASH_COLOUR | |
181 | AUI_ART_ACTIVE_CAPTION_COLOUR = _aui.AUI_ART_ACTIVE_CAPTION_COLOUR | |
182 | AUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR = _aui.AUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR | |
183 | AUI_ART_INACTIVE_CAPTION_COLOUR = _aui.AUI_ART_INACTIVE_CAPTION_COLOUR | |
184 | AUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR = _aui.AUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR | |
185 | AUI_ART_ACTIVE_CAPTION_TEXT_COLOUR = _aui.AUI_ART_ACTIVE_CAPTION_TEXT_COLOUR | |
186 | AUI_ART_INACTIVE_CAPTION_TEXT_COLOUR = _aui.AUI_ART_INACTIVE_CAPTION_TEXT_COLOUR | |
187 | AUI_ART_BORDER_COLOUR = _aui.AUI_ART_BORDER_COLOUR | |
188 | AUI_ART_GRIPPER_COLOUR = _aui.AUI_ART_GRIPPER_COLOUR | |
189 | AUI_ART_CAPTION_FONT = _aui.AUI_ART_CAPTION_FONT | |
190 | AUI_ART_GRADIENT_TYPE = _aui.AUI_ART_GRADIENT_TYPE | |
191 | AUI_GRADIENT_NONE = _aui.AUI_GRADIENT_NONE | |
192 | AUI_GRADIENT_VERTICAL = _aui.AUI_GRADIENT_VERTICAL | |
193 | AUI_GRADIENT_HORIZONTAL = _aui.AUI_GRADIENT_HORIZONTAL | |
194 | AUI_BUTTON_STATE_NORMAL = _aui.AUI_BUTTON_STATE_NORMAL | |
195 | AUI_BUTTON_STATE_HOVER = _aui.AUI_BUTTON_STATE_HOVER | |
196 | AUI_BUTTON_STATE_PRESSED = _aui.AUI_BUTTON_STATE_PRESSED | |
8f514ab4 RD |
197 | AUI_BUTTON_STATE_DISABLED = _aui.AUI_BUTTON_STATE_DISABLED |
198 | AUI_BUTTON_STATE_HIDDEN = _aui.AUI_BUTTON_STATE_HIDDEN | |
199 | AUI_BUTTON_CLOSE = _aui.AUI_BUTTON_CLOSE | |
5eb8189c | 200 | AUI_BUTTON_MAXIMIZE_RESTORE = _aui.AUI_BUTTON_MAXIMIZE_RESTORE |
8f514ab4 RD |
201 | AUI_BUTTON_MINIMIZE = _aui.AUI_BUTTON_MINIMIZE |
202 | AUI_BUTTON_PIN = _aui.AUI_BUTTON_PIN | |
203 | AUI_BUTTON_OPTIONS = _aui.AUI_BUTTON_OPTIONS | |
26c4d26f | 204 | AUI_BUTTON_WINDOWLIST = _aui.AUI_BUTTON_WINDOWLIST |
8f514ab4 RD |
205 | AUI_BUTTON_LEFT = _aui.AUI_BUTTON_LEFT |
206 | AUI_BUTTON_RIGHT = _aui.AUI_BUTTON_RIGHT | |
207 | AUI_BUTTON_UP = _aui.AUI_BUTTON_UP | |
208 | AUI_BUTTON_DOWN = _aui.AUI_BUTTON_DOWN | |
209 | AUI_BUTTON_CUSTOM1 = _aui.AUI_BUTTON_CUSTOM1 | |
210 | AUI_BUTTON_CUSTOM2 = _aui.AUI_BUTTON_CUSTOM2 | |
211 | AUI_BUTTON_CUSTOM3 = _aui.AUI_BUTTON_CUSTOM3 | |
27e45892 RD |
212 | AUI_INSERT_PANE = _aui.AUI_INSERT_PANE |
213 | AUI_INSERT_ROW = _aui.AUI_INSERT_ROW | |
214 | AUI_INSERT_DOCK = _aui.AUI_INSERT_DOCK | |
5eb8189c RD |
215 | class AuiPaneInfo(object): |
216 | """Proxy of C++ AuiPaneInfo class""" | |
27e45892 RD |
217 | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') |
218 | __repr__ = _swig_repr | |
219 | def __init__(self, *args, **kwargs): | |
5eb8189c RD |
220 | """__init__(self) -> AuiPaneInfo""" |
221 | _aui.AuiPaneInfo_swiginit(self,_aui.new_AuiPaneInfo(*args, **kwargs)) | |
222 | __swig_destroy__ = _aui.delete_AuiPaneInfo | |
27e45892 | 223 | __del__ = lambda self : None; |
0f83f5da | 224 | def SafeSet(*args, **kwargs): |
5eb8189c RD |
225 | """SafeSet(self, AuiPaneInfo source)""" |
226 | return _aui.AuiPaneInfo_SafeSet(*args, **kwargs) | |
0f83f5da | 227 | |
27e45892 | 228 | def IsOk(*args, **kwargs): |
5eb8189c RD |
229 | """IsOk(self) -> bool""" |
230 | return _aui.AuiPaneInfo_IsOk(*args, **kwargs) | |
27e45892 RD |
231 | |
232 | def IsFixed(*args, **kwargs): | |
5eb8189c RD |
233 | """IsFixed(self) -> bool""" |
234 | return _aui.AuiPaneInfo_IsFixed(*args, **kwargs) | |
27e45892 RD |
235 | |
236 | def IsResizable(*args, **kwargs): | |
5eb8189c RD |
237 | """IsResizable(self) -> bool""" |
238 | return _aui.AuiPaneInfo_IsResizable(*args, **kwargs) | |
27e45892 RD |
239 | |
240 | def IsShown(*args, **kwargs): | |
5eb8189c RD |
241 | """IsShown(self) -> bool""" |
242 | return _aui.AuiPaneInfo_IsShown(*args, **kwargs) | |
27e45892 RD |
243 | |
244 | def IsFloating(*args, **kwargs): | |
5eb8189c RD |
245 | """IsFloating(self) -> bool""" |
246 | return _aui.AuiPaneInfo_IsFloating(*args, **kwargs) | |
27e45892 RD |
247 | |
248 | def IsDocked(*args, **kwargs): | |
5eb8189c RD |
249 | """IsDocked(self) -> bool""" |
250 | return _aui.AuiPaneInfo_IsDocked(*args, **kwargs) | |
27e45892 RD |
251 | |
252 | def IsToolbar(*args, **kwargs): | |
5eb8189c RD |
253 | """IsToolbar(self) -> bool""" |
254 | return _aui.AuiPaneInfo_IsToolbar(*args, **kwargs) | |
27e45892 RD |
255 | |
256 | def IsTopDockable(*args, **kwargs): | |
5eb8189c RD |
257 | """IsTopDockable(self) -> bool""" |
258 | return _aui.AuiPaneInfo_IsTopDockable(*args, **kwargs) | |
27e45892 RD |
259 | |
260 | def IsBottomDockable(*args, **kwargs): | |
5eb8189c RD |
261 | """IsBottomDockable(self) -> bool""" |
262 | return _aui.AuiPaneInfo_IsBottomDockable(*args, **kwargs) | |
27e45892 RD |
263 | |
264 | def IsLeftDockable(*args, **kwargs): | |
5eb8189c RD |
265 | """IsLeftDockable(self) -> bool""" |
266 | return _aui.AuiPaneInfo_IsLeftDockable(*args, **kwargs) | |
27e45892 RD |
267 | |
268 | def IsRightDockable(*args, **kwargs): | |
5eb8189c RD |
269 | """IsRightDockable(self) -> bool""" |
270 | return _aui.AuiPaneInfo_IsRightDockable(*args, **kwargs) | |
27e45892 RD |
271 | |
272 | def IsFloatable(*args, **kwargs): | |
5eb8189c RD |
273 | """IsFloatable(self) -> bool""" |
274 | return _aui.AuiPaneInfo_IsFloatable(*args, **kwargs) | |
27e45892 RD |
275 | |
276 | def IsMovable(*args, **kwargs): | |
5eb8189c RD |
277 | """IsMovable(self) -> bool""" |
278 | return _aui.AuiPaneInfo_IsMovable(*args, **kwargs) | |
27e45892 | 279 | |
9b940138 RD |
280 | def IsDestroyOnClose(*args, **kwargs): |
281 | """IsDestroyOnClose(self) -> bool""" | |
5eb8189c | 282 | return _aui.AuiPaneInfo_IsDestroyOnClose(*args, **kwargs) |
9b940138 | 283 | |
5eb8189c RD |
284 | def IsMaximized(*args, **kwargs): |
285 | """IsMaximized(self) -> bool""" | |
286 | return _aui.AuiPaneInfo_IsMaximized(*args, **kwargs) | |
27e45892 | 287 | |
5eb8189c RD |
288 | def HasCaption(*args, **kwargs): |
289 | """HasCaption(self) -> bool""" | |
290 | return _aui.AuiPaneInfo_HasCaption(*args, **kwargs) | |
27e45892 RD |
291 | |
292 | def HasGripper(*args, **kwargs): | |
5eb8189c RD |
293 | """HasGripper(self) -> bool""" |
294 | return _aui.AuiPaneInfo_HasGripper(*args, **kwargs) | |
27e45892 RD |
295 | |
296 | def HasBorder(*args, **kwargs): | |
5eb8189c RD |
297 | """HasBorder(self) -> bool""" |
298 | return _aui.AuiPaneInfo_HasBorder(*args, **kwargs) | |
27e45892 RD |
299 | |
300 | def HasCloseButton(*args, **kwargs): | |
5eb8189c RD |
301 | """HasCloseButton(self) -> bool""" |
302 | return _aui.AuiPaneInfo_HasCloseButton(*args, **kwargs) | |
27e45892 RD |
303 | |
304 | def HasMaximizeButton(*args, **kwargs): | |
5eb8189c RD |
305 | """HasMaximizeButton(self) -> bool""" |
306 | return _aui.AuiPaneInfo_HasMaximizeButton(*args, **kwargs) | |
27e45892 RD |
307 | |
308 | def HasMinimizeButton(*args, **kwargs): | |
5eb8189c RD |
309 | """HasMinimizeButton(self) -> bool""" |
310 | return _aui.AuiPaneInfo_HasMinimizeButton(*args, **kwargs) | |
27e45892 RD |
311 | |
312 | def HasPinButton(*args, **kwargs): | |
5eb8189c RD |
313 | """HasPinButton(self) -> bool""" |
314 | return _aui.AuiPaneInfo_HasPinButton(*args, **kwargs) | |
27e45892 RD |
315 | |
316 | def HasGripperTop(*args, **kwargs): | |
317 | """HasGripperTop(self) -> bool""" | |
5eb8189c | 318 | return _aui.AuiPaneInfo_HasGripperTop(*args, **kwargs) |
27e45892 RD |
319 | |
320 | def Window(*args, **kwargs): | |
5eb8189c RD |
321 | """Window(self, Window w) -> AuiPaneInfo""" |
322 | return _aui.AuiPaneInfo_Window(*args, **kwargs) | |
27e45892 RD |
323 | |
324 | def Name(*args, **kwargs): | |
5eb8189c RD |
325 | """Name(self, String n) -> AuiPaneInfo""" |
326 | return _aui.AuiPaneInfo_Name(*args, **kwargs) | |
27e45892 RD |
327 | |
328 | def Caption(*args, **kwargs): | |
5eb8189c RD |
329 | """Caption(self, String c) -> AuiPaneInfo""" |
330 | return _aui.AuiPaneInfo_Caption(*args, **kwargs) | |
27e45892 RD |
331 | |
332 | def Left(*args, **kwargs): | |
5eb8189c RD |
333 | """Left(self) -> AuiPaneInfo""" |
334 | return _aui.AuiPaneInfo_Left(*args, **kwargs) | |
27e45892 RD |
335 | |
336 | def Right(*args, **kwargs): | |
5eb8189c RD |
337 | """Right(self) -> AuiPaneInfo""" |
338 | return _aui.AuiPaneInfo_Right(*args, **kwargs) | |
27e45892 RD |
339 | |
340 | def Top(*args, **kwargs): | |
5eb8189c RD |
341 | """Top(self) -> AuiPaneInfo""" |
342 | return _aui.AuiPaneInfo_Top(*args, **kwargs) | |
27e45892 RD |
343 | |
344 | def Bottom(*args, **kwargs): | |
5eb8189c RD |
345 | """Bottom(self) -> AuiPaneInfo""" |
346 | return _aui.AuiPaneInfo_Bottom(*args, **kwargs) | |
27e45892 RD |
347 | |
348 | def Center(*args, **kwargs): | |
5eb8189c RD |
349 | """Center(self) -> AuiPaneInfo""" |
350 | return _aui.AuiPaneInfo_Center(*args, **kwargs) | |
27e45892 RD |
351 | |
352 | def Centre(*args, **kwargs): | |
5eb8189c RD |
353 | """Centre(self) -> AuiPaneInfo""" |
354 | return _aui.AuiPaneInfo_Centre(*args, **kwargs) | |
27e45892 RD |
355 | |
356 | def Direction(*args, **kwargs): | |
5eb8189c RD |
357 | """Direction(self, int direction) -> AuiPaneInfo""" |
358 | return _aui.AuiPaneInfo_Direction(*args, **kwargs) | |
27e45892 RD |
359 | |
360 | def Layer(*args, **kwargs): | |
5eb8189c RD |
361 | """Layer(self, int layer) -> AuiPaneInfo""" |
362 | return _aui.AuiPaneInfo_Layer(*args, **kwargs) | |
27e45892 RD |
363 | |
364 | def Row(*args, **kwargs): | |
5eb8189c RD |
365 | """Row(self, int row) -> AuiPaneInfo""" |
366 | return _aui.AuiPaneInfo_Row(*args, **kwargs) | |
27e45892 RD |
367 | |
368 | def Position(*args, **kwargs): | |
5eb8189c RD |
369 | """Position(self, int pos) -> AuiPaneInfo""" |
370 | return _aui.AuiPaneInfo_Position(*args, **kwargs) | |
27e45892 RD |
371 | |
372 | def BestSize(*args, **kwargs): | |
5eb8189c RD |
373 | """BestSize(self, Size size) -> AuiPaneInfo""" |
374 | return _aui.AuiPaneInfo_BestSize(*args, **kwargs) | |
27e45892 RD |
375 | |
376 | def MinSize(*args, **kwargs): | |
5eb8189c RD |
377 | """MinSize(self, Size size) -> AuiPaneInfo""" |
378 | return _aui.AuiPaneInfo_MinSize(*args, **kwargs) | |
27e45892 RD |
379 | |
380 | def MaxSize(*args, **kwargs): | |
5eb8189c RD |
381 | """MaxSize(self, Size size) -> AuiPaneInfo""" |
382 | return _aui.AuiPaneInfo_MaxSize(*args, **kwargs) | |
27e45892 RD |
383 | |
384 | def FloatingPosition(*args, **kwargs): | |
5eb8189c RD |
385 | """FloatingPosition(self, Point pos) -> AuiPaneInfo""" |
386 | return _aui.AuiPaneInfo_FloatingPosition(*args, **kwargs) | |
27e45892 RD |
387 | |
388 | def FloatingSize(*args, **kwargs): | |
5eb8189c RD |
389 | """FloatingSize(self, Size size) -> AuiPaneInfo""" |
390 | return _aui.AuiPaneInfo_FloatingSize(*args, **kwargs) | |
27e45892 RD |
391 | |
392 | def Fixed(*args, **kwargs): | |
5eb8189c RD |
393 | """Fixed(self) -> AuiPaneInfo""" |
394 | return _aui.AuiPaneInfo_Fixed(*args, **kwargs) | |
27e45892 RD |
395 | |
396 | def Resizable(*args, **kwargs): | |
5eb8189c RD |
397 | """Resizable(self, bool resizable=True) -> AuiPaneInfo""" |
398 | return _aui.AuiPaneInfo_Resizable(*args, **kwargs) | |
27e45892 RD |
399 | |
400 | def Dock(*args, **kwargs): | |
5eb8189c RD |
401 | """Dock(self) -> AuiPaneInfo""" |
402 | return _aui.AuiPaneInfo_Dock(*args, **kwargs) | |
27e45892 RD |
403 | |
404 | def Float(*args, **kwargs): | |
5eb8189c RD |
405 | """Float(self) -> AuiPaneInfo""" |
406 | return _aui.AuiPaneInfo_Float(*args, **kwargs) | |
27e45892 RD |
407 | |
408 | def Hide(*args, **kwargs): | |
5eb8189c RD |
409 | """Hide(self) -> AuiPaneInfo""" |
410 | return _aui.AuiPaneInfo_Hide(*args, **kwargs) | |
27e45892 RD |
411 | |
412 | def Show(*args, **kwargs): | |
5eb8189c RD |
413 | """Show(self, bool show=True) -> AuiPaneInfo""" |
414 | return _aui.AuiPaneInfo_Show(*args, **kwargs) | |
27e45892 RD |
415 | |
416 | def CaptionVisible(*args, **kwargs): | |
5eb8189c RD |
417 | """CaptionVisible(self, bool visible=True) -> AuiPaneInfo""" |
418 | return _aui.AuiPaneInfo_CaptionVisible(*args, **kwargs) | |
27e45892 | 419 | |
5eb8189c RD |
420 | def Maximize(*args, **kwargs): |
421 | """Maximize(self) -> AuiPaneInfo""" | |
422 | return _aui.AuiPaneInfo_Maximize(*args, **kwargs) | |
27e45892 | 423 | |
5eb8189c RD |
424 | def Restore(*args, **kwargs): |
425 | """Restore(self) -> AuiPaneInfo""" | |
426 | return _aui.AuiPaneInfo_Restore(*args, **kwargs) | |
27e45892 RD |
427 | |
428 | def PaneBorder(*args, **kwargs): | |
5eb8189c RD |
429 | """PaneBorder(self, bool visible=True) -> AuiPaneInfo""" |
430 | return _aui.AuiPaneInfo_PaneBorder(*args, **kwargs) | |
27e45892 RD |
431 | |
432 | def Gripper(*args, **kwargs): | |
5eb8189c RD |
433 | """Gripper(self, bool visible=True) -> AuiPaneInfo""" |
434 | return _aui.AuiPaneInfo_Gripper(*args, **kwargs) | |
27e45892 RD |
435 | |
436 | def GripperTop(*args, **kwargs): | |
5eb8189c RD |
437 | """GripperTop(self, bool attop=True) -> AuiPaneInfo""" |
438 | return _aui.AuiPaneInfo_GripperTop(*args, **kwargs) | |
27e45892 RD |
439 | |
440 | def CloseButton(*args, **kwargs): | |
5eb8189c RD |
441 | """CloseButton(self, bool visible=True) -> AuiPaneInfo""" |
442 | return _aui.AuiPaneInfo_CloseButton(*args, **kwargs) | |
27e45892 RD |
443 | |
444 | def MaximizeButton(*args, **kwargs): | |
5eb8189c RD |
445 | """MaximizeButton(self, bool visible=True) -> AuiPaneInfo""" |
446 | return _aui.AuiPaneInfo_MaximizeButton(*args, **kwargs) | |
27e45892 RD |
447 | |
448 | def MinimizeButton(*args, **kwargs): | |
5eb8189c RD |
449 | """MinimizeButton(self, bool visible=True) -> AuiPaneInfo""" |
450 | return _aui.AuiPaneInfo_MinimizeButton(*args, **kwargs) | |
27e45892 RD |
451 | |
452 | def PinButton(*args, **kwargs): | |
5eb8189c RD |
453 | """PinButton(self, bool visible=True) -> AuiPaneInfo""" |
454 | return _aui.AuiPaneInfo_PinButton(*args, **kwargs) | |
27e45892 RD |
455 | |
456 | def DestroyOnClose(*args, **kwargs): | |
5eb8189c RD |
457 | """DestroyOnClose(self, bool b=True) -> AuiPaneInfo""" |
458 | return _aui.AuiPaneInfo_DestroyOnClose(*args, **kwargs) | |
27e45892 RD |
459 | |
460 | def TopDockable(*args, **kwargs): | |
5eb8189c RD |
461 | """TopDockable(self, bool b=True) -> AuiPaneInfo""" |
462 | return _aui.AuiPaneInfo_TopDockable(*args, **kwargs) | |
27e45892 RD |
463 | |
464 | def BottomDockable(*args, **kwargs): | |
5eb8189c RD |
465 | """BottomDockable(self, bool b=True) -> AuiPaneInfo""" |
466 | return _aui.AuiPaneInfo_BottomDockable(*args, **kwargs) | |
27e45892 RD |
467 | |
468 | def LeftDockable(*args, **kwargs): | |
5eb8189c RD |
469 | """LeftDockable(self, bool b=True) -> AuiPaneInfo""" |
470 | return _aui.AuiPaneInfo_LeftDockable(*args, **kwargs) | |
27e45892 RD |
471 | |
472 | def RightDockable(*args, **kwargs): | |
5eb8189c RD |
473 | """RightDockable(self, bool b=True) -> AuiPaneInfo""" |
474 | return _aui.AuiPaneInfo_RightDockable(*args, **kwargs) | |
27e45892 RD |
475 | |
476 | def Floatable(*args, **kwargs): | |
5eb8189c RD |
477 | """Floatable(self, bool b=True) -> AuiPaneInfo""" |
478 | return _aui.AuiPaneInfo_Floatable(*args, **kwargs) | |
27e45892 RD |
479 | |
480 | def Movable(*args, **kwargs): | |
5eb8189c RD |
481 | """Movable(self, bool b=True) -> AuiPaneInfo""" |
482 | return _aui.AuiPaneInfo_Movable(*args, **kwargs) | |
27e45892 | 483 | |
5eb8189c RD |
484 | def SaveHidden(*args, **kwargs): |
485 | """SaveHidden(self) -> AuiPaneInfo""" | |
486 | return _aui.AuiPaneInfo_SaveHidden(*args, **kwargs) | |
27e45892 | 487 | |
5eb8189c RD |
488 | def RestoreHidden(*args, **kwargs): |
489 | """RestoreHidden(self) -> AuiPaneInfo""" | |
490 | return _aui.AuiPaneInfo_RestoreHidden(*args, **kwargs) | |
27e45892 RD |
491 | |
492 | def Dockable(*args, **kwargs): | |
5eb8189c RD |
493 | """Dockable(self, bool b=True) -> AuiPaneInfo""" |
494 | return _aui.AuiPaneInfo_Dockable(*args, **kwargs) | |
27e45892 RD |
495 | |
496 | def DefaultPane(*args, **kwargs): | |
5eb8189c RD |
497 | """DefaultPane(self) -> AuiPaneInfo""" |
498 | return _aui.AuiPaneInfo_DefaultPane(*args, **kwargs) | |
27e45892 RD |
499 | |
500 | def CentrePane(*args, **kwargs): | |
5eb8189c RD |
501 | """CentrePane(self) -> AuiPaneInfo""" |
502 | return _aui.AuiPaneInfo_CentrePane(*args, **kwargs) | |
27e45892 RD |
503 | |
504 | def CenterPane(*args, **kwargs): | |
5eb8189c RD |
505 | """CenterPane(self) -> AuiPaneInfo""" |
506 | return _aui.AuiPaneInfo_CenterPane(*args, **kwargs) | |
27e45892 RD |
507 | |
508 | def ToolbarPane(*args, **kwargs): | |
5eb8189c RD |
509 | """ToolbarPane(self) -> AuiPaneInfo""" |
510 | return _aui.AuiPaneInfo_ToolbarPane(*args, **kwargs) | |
27e45892 RD |
511 | |
512 | def SetFlag(*args, **kwargs): | |
5eb8189c RD |
513 | """SetFlag(self, int flag, bool option_state) -> AuiPaneInfo""" |
514 | return _aui.AuiPaneInfo_SetFlag(*args, **kwargs) | |
27e45892 RD |
515 | |
516 | def HasFlag(*args, **kwargs): | |
5eb8189c RD |
517 | """HasFlag(self, int flag) -> bool""" |
518 | return _aui.AuiPaneInfo_HasFlag(*args, **kwargs) | |
519 | ||
520 | optionFloating = _aui.AuiPaneInfo_optionFloating | |
521 | optionHidden = _aui.AuiPaneInfo_optionHidden | |
522 | optionLeftDockable = _aui.AuiPaneInfo_optionLeftDockable | |
523 | optionRightDockable = _aui.AuiPaneInfo_optionRightDockable | |
524 | optionTopDockable = _aui.AuiPaneInfo_optionTopDockable | |
525 | optionBottomDockable = _aui.AuiPaneInfo_optionBottomDockable | |
526 | optionFloatable = _aui.AuiPaneInfo_optionFloatable | |
527 | optionMovable = _aui.AuiPaneInfo_optionMovable | |
528 | optionResizable = _aui.AuiPaneInfo_optionResizable | |
529 | optionPaneBorder = _aui.AuiPaneInfo_optionPaneBorder | |
530 | optionCaption = _aui.AuiPaneInfo_optionCaption | |
531 | optionGripper = _aui.AuiPaneInfo_optionGripper | |
532 | optionDestroyOnClose = _aui.AuiPaneInfo_optionDestroyOnClose | |
533 | optionToolbar = _aui.AuiPaneInfo_optionToolbar | |
534 | optionActive = _aui.AuiPaneInfo_optionActive | |
535 | optionGripperTop = _aui.AuiPaneInfo_optionGripperTop | |
536 | optionMaximized = _aui.AuiPaneInfo_optionMaximized | |
537 | optionSavedHidden = _aui.AuiPaneInfo_optionSavedHidden | |
538 | buttonClose = _aui.AuiPaneInfo_buttonClose | |
539 | buttonMaximize = _aui.AuiPaneInfo_buttonMaximize | |
540 | buttonMinimize = _aui.AuiPaneInfo_buttonMinimize | |
541 | buttonPin = _aui.AuiPaneInfo_buttonPin | |
542 | buttonCustom1 = _aui.AuiPaneInfo_buttonCustom1 | |
543 | buttonCustom2 = _aui.AuiPaneInfo_buttonCustom2 | |
544 | buttonCustom3 = _aui.AuiPaneInfo_buttonCustom3 | |
545 | actionPane = _aui.AuiPaneInfo_actionPane | |
546 | name = property(_aui.AuiPaneInfo_name_get, _aui.AuiPaneInfo_name_set) | |
547 | caption = property(_aui.AuiPaneInfo_caption_get, _aui.AuiPaneInfo_caption_set) | |
548 | window = property(_aui.AuiPaneInfo_window_get, _aui.AuiPaneInfo_window_set) | |
549 | frame = property(_aui.AuiPaneInfo_frame_get, _aui.AuiPaneInfo_frame_set) | |
550 | state = property(_aui.AuiPaneInfo_state_get, _aui.AuiPaneInfo_state_set) | |
551 | dock_direction = property(_aui.AuiPaneInfo_dock_direction_get, _aui.AuiPaneInfo_dock_direction_set) | |
552 | dock_layer = property(_aui.AuiPaneInfo_dock_layer_get, _aui.AuiPaneInfo_dock_layer_set) | |
553 | dock_row = property(_aui.AuiPaneInfo_dock_row_get, _aui.AuiPaneInfo_dock_row_set) | |
554 | dock_pos = property(_aui.AuiPaneInfo_dock_pos_get, _aui.AuiPaneInfo_dock_pos_set) | |
555 | best_size = property(_aui.AuiPaneInfo_best_size_get, _aui.AuiPaneInfo_best_size_set) | |
556 | min_size = property(_aui.AuiPaneInfo_min_size_get, _aui.AuiPaneInfo_min_size_set) | |
557 | max_size = property(_aui.AuiPaneInfo_max_size_get, _aui.AuiPaneInfo_max_size_set) | |
558 | floating_pos = property(_aui.AuiPaneInfo_floating_pos_get, _aui.AuiPaneInfo_floating_pos_set) | |
559 | floating_size = property(_aui.AuiPaneInfo_floating_size_get, _aui.AuiPaneInfo_floating_size_set) | |
560 | dock_proportion = property(_aui.AuiPaneInfo_dock_proportion_get, _aui.AuiPaneInfo_dock_proportion_set) | |
561 | buttons = property(_aui.AuiPaneInfo_buttons_get, _aui.AuiPaneInfo_buttons_set) | |
562 | rect = property(_aui.AuiPaneInfo_rect_get, _aui.AuiPaneInfo_rect_set) | |
563 | _aui.AuiPaneInfo_swigregister(AuiPaneInfo) | |
27e45892 RD |
564 | cvar = _aui.cvar |
565 | ||
5eb8189c RD |
566 | class AuiManager(_core.EvtHandler): |
567 | """Proxy of C++ AuiManager class""" | |
27e45892 RD |
568 | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') |
569 | __repr__ = _swig_repr | |
570 | def __init__(self, *args, **kwargs): | |
5eb8189c RD |
571 | """__init__(self, Window managed_wnd=None, int flags=AUI_MGR_DEFAULT) -> AuiManager""" |
572 | _aui.AuiManager_swiginit(self,_aui.new_AuiManager(*args, **kwargs)) | |
573 | __swig_destroy__ = _aui.delete_AuiManager | |
27e45892 RD |
574 | __del__ = lambda self : None; |
575 | def UnInit(*args, **kwargs): | |
5eb8189c RD |
576 | """UnInit(self)""" |
577 | return _aui.AuiManager_UnInit(*args, **kwargs) | |
27e45892 RD |
578 | |
579 | def SetFlags(*args, **kwargs): | |
5eb8189c RD |
580 | """SetFlags(self, int flags)""" |
581 | return _aui.AuiManager_SetFlags(*args, **kwargs) | |
27e45892 RD |
582 | |
583 | def GetFlags(*args, **kwargs): | |
5eb8189c RD |
584 | """GetFlags(self) -> int""" |
585 | return _aui.AuiManager_GetFlags(*args, **kwargs) | |
27e45892 | 586 | |
10044bf1 | 587 | def SetManagedWindow(*args, **kwargs): |
5eb8189c RD |
588 | """SetManagedWindow(self, Window managed_wnd)""" |
589 | return _aui.AuiManager_SetManagedWindow(*args, **kwargs) | |
27e45892 | 590 | |
10044bf1 | 591 | def GetManagedWindow(*args, **kwargs): |
5eb8189c RD |
592 | """GetManagedWindow(self) -> Window""" |
593 | return _aui.AuiManager_GetManagedWindow(*args, **kwargs) | |
27e45892 RD |
594 | |
595 | def SetArtProvider(*args, **kwargs): | |
5eb8189c RD |
596 | """SetArtProvider(self, AuiDockArt art_provider)""" |
597 | return _aui.AuiManager_SetArtProvider(*args, **kwargs) | |
27e45892 RD |
598 | |
599 | def GetArtProvider(*args, **kwargs): | |
5eb8189c RD |
600 | """GetArtProvider(self) -> AuiDockArt""" |
601 | return _aui.AuiManager_GetArtProvider(*args, **kwargs) | |
27e45892 RD |
602 | |
603 | def _GetPaneByWidget(*args, **kwargs): | |
5eb8189c RD |
604 | """_GetPaneByWidget(self, Window window) -> AuiPaneInfo""" |
605 | return _aui.AuiManager__GetPaneByWidget(*args, **kwargs) | |
27e45892 RD |
606 | |
607 | def _GetPaneByName(*args, **kwargs): | |
5eb8189c RD |
608 | """_GetPaneByName(self, String name) -> AuiPaneInfo""" |
609 | return _aui.AuiManager__GetPaneByName(*args, **kwargs) | |
27e45892 RD |
610 | |
611 | def GetAllPanes(*args, **kwargs): | |
5eb8189c RD |
612 | """GetAllPanes(self) -> wxAuiPaneInfoArray""" |
613 | return _aui.AuiManager_GetAllPanes(*args, **kwargs) | |
27e45892 | 614 | |
36cb9ebe RD |
615 | def _AddPane1(*args, **kwargs): |
616 | """_AddPane1(self, Window window, AuiPaneInfo pane_info) -> bool""" | |
617 | return _aui.AuiManager__AddPane1(*args, **kwargs) | |
618 | ||
619 | def AddPane(*args, **kwargs): | |
620 | """AddPane(self, Window window, AuiPaneInfo pane_info, Point drop_pos) -> bool""" | |
621 | return _aui.AuiManager_AddPane(*args, **kwargs) | |
10044bf1 | 622 | |
27e45892 RD |
623 | def _AddPane2(*args, **kwargs): |
624 | """_AddPane2(self, Window window, int direction=LEFT, String caption=wxEmptyString) -> bool""" | |
5eb8189c | 625 | return _aui.AuiManager__AddPane2(*args, **kwargs) |
27e45892 RD |
626 | |
627 | def InsertPane(*args, **kwargs): | |
5eb8189c RD |
628 | """InsertPane(self, Window window, AuiPaneInfo insert_location, int insert_level=AUI_INSERT_PANE) -> bool""" |
629 | return _aui.AuiManager_InsertPane(*args, **kwargs) | |
27e45892 RD |
630 | |
631 | def DetachPane(*args, **kwargs): | |
5eb8189c RD |
632 | """DetachPane(self, Window window) -> bool""" |
633 | return _aui.AuiManager_DetachPane(*args, **kwargs) | |
27e45892 | 634 | |
5eb8189c RD |
635 | def ClosePane(*args, **kwargs): |
636 | """ClosePane(self, AuiPaneInfo pane_info)""" | |
637 | return _aui.AuiManager_ClosePane(*args, **kwargs) | |
27e45892 | 638 | |
5eb8189c RD |
639 | def MaximizePane(*args, **kwargs): |
640 | """MaximizePane(self, AuiPaneInfo pane_info)""" | |
641 | return _aui.AuiManager_MaximizePane(*args, **kwargs) | |
27e45892 | 642 | |
5eb8189c RD |
643 | def RestorePane(*args, **kwargs): |
644 | """RestorePane(self, AuiPaneInfo pane_info)""" | |
645 | return _aui.AuiManager_RestorePane(*args, **kwargs) | |
646 | ||
647 | def RestoreMaximizedPane(*args, **kwargs): | |
648 | """RestoreMaximizedPane(self)""" | |
649 | return _aui.AuiManager_RestoreMaximizedPane(*args, **kwargs) | |
9b940138 | 650 | |
0f83f5da | 651 | def SavePaneInfo(*args, **kwargs): |
5eb8189c RD |
652 | """SavePaneInfo(self, AuiPaneInfo pane) -> String""" |
653 | return _aui.AuiManager_SavePaneInfo(*args, **kwargs) | |
0f83f5da RD |
654 | |
655 | def LoadPaneInfo(*args, **kwargs): | |
5eb8189c RD |
656 | """LoadPaneInfo(self, String pane_part, AuiPaneInfo pane)""" |
657 | return _aui.AuiManager_LoadPaneInfo(*args, **kwargs) | |
0f83f5da | 658 | |
27e45892 | 659 | def SavePerspective(*args, **kwargs): |
5eb8189c RD |
660 | """SavePerspective(self) -> String""" |
661 | return _aui.AuiManager_SavePerspective(*args, **kwargs) | |
27e45892 RD |
662 | |
663 | def LoadPerspective(*args, **kwargs): | |
5eb8189c RD |
664 | """LoadPerspective(self, String perspective, bool update=True) -> bool""" |
665 | return _aui.AuiManager_LoadPerspective(*args, **kwargs) | |
27e45892 RD |
666 | |
667 | def Update(*args, **kwargs): | |
5eb8189c RD |
668 | """Update(self)""" |
669 | return _aui.AuiManager_Update(*args, **kwargs) | |
27e45892 | 670 | |
9b940138 | 671 | def CreateFloatingFrame(*args, **kwargs): |
5eb8189c RD |
672 | """CreateFloatingFrame(self, Window parent, AuiPaneInfo p) -> AuiFloatingFrame""" |
673 | return _aui.AuiManager_CreateFloatingFrame(*args, **kwargs) | |
9b940138 | 674 | |
5172800e RD |
675 | def CalculateHintRect(*args, **kwargs): |
676 | """CalculateHintRect(self, Window pane_window, Point pt, Point offset) -> Rect""" | |
677 | return _aui.AuiManager_CalculateHintRect(*args, **kwargs) | |
678 | ||
10044bf1 RD |
679 | def DrawHintRect(*args, **kwargs): |
680 | """DrawHintRect(self, Window pane_window, Point pt, Point offset)""" | |
5eb8189c | 681 | return _aui.AuiManager_DrawHintRect(*args, **kwargs) |
10044bf1 RD |
682 | |
683 | def ShowHint(*args, **kwargs): | |
684 | """ShowHint(self, Rect rect)""" | |
5eb8189c | 685 | return _aui.AuiManager_ShowHint(*args, **kwargs) |
10044bf1 RD |
686 | |
687 | def HideHint(*args, **kwargs): | |
688 | """HideHint(self)""" | |
5eb8189c | 689 | return _aui.AuiManager_HideHint(*args, **kwargs) |
10044bf1 | 690 | |
81f5836b | 691 | def OnRender(*args, **kwargs): |
5eb8189c RD |
692 | """OnRender(self, AuiManagerEvent evt)""" |
693 | return _aui.AuiManager_OnRender(*args, **kwargs) | |
81f5836b RD |
694 | |
695 | def OnPaneButton(*args, **kwargs): | |
5eb8189c RD |
696 | """OnPaneButton(self, AuiManagerEvent evt)""" |
697 | return _aui.AuiManager_OnPaneButton(*args, **kwargs) | |
81f5836b | 698 | |
27e45892 RD |
699 | def GetPane(self, item): |
700 | """ | |
701 | GetPane(self, window_or_info item) -> PaneInfo | |
702 | ||
703 | GetPane is used to search for a `PaneInfo` object either by | |
704 | widget reference or by pane name, which acts as a unique id | |
705 | for a window pane. The returned `PaneInfo` object may then be | |
706 | modified to change a pane's look, state or position. After one | |
707 | or more modifications to the `PaneInfo`, `FrameManager.Update` | |
708 | should be called to realize the changes to the user interface. | |
709 | ||
710 | If the lookup failed (meaning the pane could not be found in | |
711 | the manager) GetPane returns an empty `PaneInfo`, a condition | |
712 | which can be checked by calling `PaneInfo.IsOk`. | |
713 | """ | |
714 | if isinstance(item, wx.Window): | |
715 | return self._GetPaneByWidget(item) | |
716 | else: | |
717 | return self._GetPaneByName(item) | |
718 | ||
719 | def AddPane(self, window, info=None, caption=None): | |
720 | """ | |
721 | AddPane(self, window, info=None, caption=None) -> bool | |
722 | ||
723 | AddPane tells the frame manager to start managing a child | |
724 | window. There are two versions of this function. The first | |
725 | verison accepts a `PaneInfo` object for the ``info`` parameter | |
726 | and allows the full spectrum of pane parameter | |
727 | possibilities. (Say that 3 times fast!) | |
728 | ||
729 | The second version is used for simpler user interfaces which | |
730 | do not require as much configuration. In this case the | |
731 | ``info`` parameter specifies the direction property of the | |
732 | pane info, and defaults to ``wx.LEFT``. The pane caption may | |
733 | also be specified as an extra parameter in this form. | |
734 | """ | |
36cb9ebe | 735 | if type(info) == AuiPaneInfo: |
27e45892 RD |
736 | return self._AddPane1(window, info) |
737 | else: | |
738 | ||
739 | if info is None: | |
740 | info = wx.LEFT | |
741 | if caption is None: | |
742 | caption = "" | |
743 | return self._AddPane2(window, info, caption) | |
744 | ||
10044bf1 RD |
745 | SetFrame = wx._deprecated(SetManagedWindow, |
746 | "SetFrame is deprecated, use `SetManagedWindow` instead.") | |
747 | GetFrame = wx._deprecated(GetManagedWindow, | |
748 | "GetFrame is deprecated, use `GetManagedWindow` instead.") | |
749 | ||
777e547f RD |
750 | AllPanes = property(GetAllPanes,doc="See `GetAllPanes`") |
751 | ArtProvider = property(GetArtProvider,SetArtProvider,doc="See `GetArtProvider` and `SetArtProvider`") | |
752 | Flags = property(GetFlags,SetFlags,doc="See `GetFlags` and `SetFlags`") | |
753 | ManagedWindow = property(GetManagedWindow,SetManagedWindow,doc="See `GetManagedWindow` and `SetManagedWindow`") | |
5eb8189c | 754 | _aui.AuiManager_swigregister(AuiManager) |
27e45892 | 755 | |
5eb8189c RD |
756 | class AuiManagerEvent(_core.Event): |
757 | """Proxy of C++ AuiManagerEvent class""" | |
27e45892 RD |
758 | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') |
759 | __repr__ = _swig_repr | |
760 | def __init__(self, *args, **kwargs): | |
5eb8189c RD |
761 | """__init__(self, EventType type=wxEVT_NULL) -> AuiManagerEvent""" |
762 | _aui.AuiManagerEvent_swiginit(self,_aui.new_AuiManagerEvent(*args, **kwargs)) | |
27e45892 RD |
763 | def Clone(*args, **kwargs): |
764 | """Clone(self) -> Event""" | |
5eb8189c | 765 | return _aui.AuiManagerEvent_Clone(*args, **kwargs) |
27e45892 RD |
766 | |
767 | def SetPane(*args, **kwargs): | |
5eb8189c RD |
768 | """SetPane(self, AuiPaneInfo p)""" |
769 | return _aui.AuiManagerEvent_SetPane(*args, **kwargs) | |
27e45892 RD |
770 | |
771 | def SetButton(*args, **kwargs): | |
772 | """SetButton(self, int b)""" | |
5eb8189c | 773 | return _aui.AuiManagerEvent_SetButton(*args, **kwargs) |
27e45892 | 774 | |
81f5836b RD |
775 | def SetDC(*args, **kwargs): |
776 | """SetDC(self, DC pdc)""" | |
5eb8189c | 777 | return _aui.AuiManagerEvent_SetDC(*args, **kwargs) |
81f5836b | 778 | |
27e45892 | 779 | def GetPane(*args, **kwargs): |
5eb8189c RD |
780 | """GetPane(self) -> AuiPaneInfo""" |
781 | return _aui.AuiManagerEvent_GetPane(*args, **kwargs) | |
27e45892 RD |
782 | |
783 | def GetButton(*args, **kwargs): | |
784 | """GetButton(self) -> int""" | |
5eb8189c | 785 | return _aui.AuiManagerEvent_GetButton(*args, **kwargs) |
27e45892 | 786 | |
81f5836b RD |
787 | def GetDC(*args, **kwargs): |
788 | """GetDC(self) -> DC""" | |
5eb8189c | 789 | return _aui.AuiManagerEvent_GetDC(*args, **kwargs) |
81f5836b | 790 | |
27e45892 RD |
791 | def Veto(*args, **kwargs): |
792 | """Veto(self, bool veto=True)""" | |
5eb8189c | 793 | return _aui.AuiManagerEvent_Veto(*args, **kwargs) |
27e45892 RD |
794 | |
795 | def GetVeto(*args, **kwargs): | |
796 | """GetVeto(self) -> bool""" | |
5eb8189c | 797 | return _aui.AuiManagerEvent_GetVeto(*args, **kwargs) |
27e45892 RD |
798 | |
799 | def SetCanVeto(*args, **kwargs): | |
800 | """SetCanVeto(self, bool can_veto)""" | |
5eb8189c | 801 | return _aui.AuiManagerEvent_SetCanVeto(*args, **kwargs) |
27e45892 RD |
802 | |
803 | def CanVeto(*args, **kwargs): | |
804 | """CanVeto(self) -> bool""" | |
5eb8189c | 805 | return _aui.AuiManagerEvent_CanVeto(*args, **kwargs) |
27e45892 | 806 | |
5eb8189c RD |
807 | pane = property(_aui.AuiManagerEvent_pane_get, _aui.AuiManagerEvent_pane_set) |
808 | button = property(_aui.AuiManagerEvent_button_get, _aui.AuiManagerEvent_button_set) | |
809 | veto_flag = property(_aui.AuiManagerEvent_veto_flag_get, _aui.AuiManagerEvent_veto_flag_set) | |
810 | canveto_flag = property(_aui.AuiManagerEvent_canveto_flag_get, _aui.AuiManagerEvent_canveto_flag_set) | |
811 | dc = property(_aui.AuiManagerEvent_dc_get, _aui.AuiManagerEvent_dc_set) | |
777e547f RD |
812 | Button = property(GetButton,SetButton,doc="See `GetButton` and `SetButton`") |
813 | DC = property(GetDC,SetDC,doc="See `GetDC` and `SetDC`") | |
814 | Pane = property(GetPane,SetPane,doc="See `GetPane` and `SetPane`") | |
5eb8189c | 815 | _aui.AuiManagerEvent_swigregister(AuiManagerEvent) |
27e45892 | 816 | |
5eb8189c RD |
817 | class AuiDockInfo(object): |
818 | """Proxy of C++ AuiDockInfo class""" | |
27e45892 RD |
819 | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') |
820 | __repr__ = _swig_repr | |
821 | def __init__(self, *args, **kwargs): | |
5eb8189c RD |
822 | """__init__(self) -> AuiDockInfo""" |
823 | _aui.AuiDockInfo_swiginit(self,_aui.new_AuiDockInfo(*args, **kwargs)) | |
27e45892 RD |
824 | def IsOk(*args, **kwargs): |
825 | """IsOk(self) -> bool""" | |
5eb8189c | 826 | return _aui.AuiDockInfo_IsOk(*args, **kwargs) |
27e45892 RD |
827 | |
828 | def IsHorizontal(*args, **kwargs): | |
829 | """IsHorizontal(self) -> bool""" | |
5eb8189c | 830 | return _aui.AuiDockInfo_IsHorizontal(*args, **kwargs) |
27e45892 RD |
831 | |
832 | def IsVertical(*args, **kwargs): | |
833 | """IsVertical(self) -> bool""" | |
5eb8189c RD |
834 | return _aui.AuiDockInfo_IsVertical(*args, **kwargs) |
835 | ||
836 | panes = property(_aui.AuiDockInfo_panes_get, _aui.AuiDockInfo_panes_set) | |
837 | rect = property(_aui.AuiDockInfo_rect_get, _aui.AuiDockInfo_rect_set) | |
838 | dock_direction = property(_aui.AuiDockInfo_dock_direction_get, _aui.AuiDockInfo_dock_direction_set) | |
839 | dock_layer = property(_aui.AuiDockInfo_dock_layer_get, _aui.AuiDockInfo_dock_layer_set) | |
840 | dock_row = property(_aui.AuiDockInfo_dock_row_get, _aui.AuiDockInfo_dock_row_set) | |
841 | size = property(_aui.AuiDockInfo_size_get, _aui.AuiDockInfo_size_set) | |
842 | min_size = property(_aui.AuiDockInfo_min_size_get, _aui.AuiDockInfo_min_size_set) | |
843 | resizable = property(_aui.AuiDockInfo_resizable_get, _aui.AuiDockInfo_resizable_set) | |
844 | toolbar = property(_aui.AuiDockInfo_toolbar_get, _aui.AuiDockInfo_toolbar_set) | |
845 | fixed = property(_aui.AuiDockInfo_fixed_get, _aui.AuiDockInfo_fixed_set) | |
846 | __swig_destroy__ = _aui.delete_AuiDockInfo | |
72ef6efb | 847 | __del__ = lambda self : None; |
5eb8189c | 848 | _aui.AuiDockInfo_swigregister(AuiDockInfo) |
27e45892 | 849 | |
5eb8189c RD |
850 | class AuiDockUIPart(object): |
851 | """Proxy of C++ AuiDockUIPart class""" | |
27e45892 RD |
852 | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') |
853 | def __init__(self): raise AttributeError, "No constructor defined" | |
854 | __repr__ = _swig_repr | |
5eb8189c RD |
855 | typeCaption = _aui.AuiDockUIPart_typeCaption |
856 | typeGripper = _aui.AuiDockUIPart_typeGripper | |
857 | typeDock = _aui.AuiDockUIPart_typeDock | |
858 | typeDockSizer = _aui.AuiDockUIPart_typeDockSizer | |
859 | typePane = _aui.AuiDockUIPart_typePane | |
860 | typePaneSizer = _aui.AuiDockUIPart_typePaneSizer | |
861 | typeBackground = _aui.AuiDockUIPart_typeBackground | |
862 | typePaneBorder = _aui.AuiDockUIPart_typePaneBorder | |
863 | typePaneButton = _aui.AuiDockUIPart_typePaneButton | |
864 | type = property(_aui.AuiDockUIPart_type_get, _aui.AuiDockUIPart_type_set) | |
865 | orientation = property(_aui.AuiDockUIPart_orientation_get, _aui.AuiDockUIPart_orientation_set) | |
866 | dock = property(_aui.AuiDockUIPart_dock_get, _aui.AuiDockUIPart_dock_set) | |
867 | pane = property(_aui.AuiDockUIPart_pane_get, _aui.AuiDockUIPart_pane_set) | |
868 | button = property(_aui.AuiDockUIPart_button_get, _aui.AuiDockUIPart_button_set) | |
869 | cont_sizer = property(_aui.AuiDockUIPart_cont_sizer_get, _aui.AuiDockUIPart_cont_sizer_set) | |
870 | sizer_item = property(_aui.AuiDockUIPart_sizer_item_get, _aui.AuiDockUIPart_sizer_item_set) | |
871 | rect = property(_aui.AuiDockUIPart_rect_get, _aui.AuiDockUIPart_rect_set) | |
872 | __swig_destroy__ = _aui.delete_AuiDockUIPart | |
72ef6efb | 873 | __del__ = lambda self : None; |
5eb8189c | 874 | _aui.AuiDockUIPart_swigregister(AuiDockUIPart) |
27e45892 | 875 | |
5eb8189c RD |
876 | class AuiPaneButton(object): |
877 | """Proxy of C++ AuiPaneButton class""" | |
27e45892 RD |
878 | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') |
879 | def __init__(self): raise AttributeError, "No constructor defined" | |
880 | __repr__ = _swig_repr | |
5eb8189c RD |
881 | button_id = property(_aui.AuiPaneButton_button_id_get, _aui.AuiPaneButton_button_id_set) |
882 | __swig_destroy__ = _aui.delete_AuiPaneButton | |
72ef6efb | 883 | __del__ = lambda self : None; |
5eb8189c | 884 | _aui.AuiPaneButton_swigregister(AuiPaneButton) |
27e45892 RD |
885 | |
886 | wxEVT_AUI_PANEBUTTON = _aui.wxEVT_AUI_PANEBUTTON | |
887 | wxEVT_AUI_PANECLOSE = _aui.wxEVT_AUI_PANECLOSE | |
5eb8189c RD |
888 | wxEVT_AUI_PANEMAXIMIZE = _aui.wxEVT_AUI_PANEMAXIMIZE |
889 | wxEVT_AUI_PANERESTORE = _aui.wxEVT_AUI_PANERESTORE | |
81f5836b | 890 | wxEVT_AUI_RENDER = _aui.wxEVT_AUI_RENDER |
27e45892 RD |
891 | EVT_AUI_PANEBUTTON = wx.PyEventBinder( wxEVT_AUI_PANEBUTTON ) |
892 | EVT_AUI_PANECLOSE = wx.PyEventBinder( wxEVT_AUI_PANECLOSE ) | |
5172800e RD |
893 | EVT_AUI_PANEMAXIMIZE = wx.PyEventBinder( wxEVT_AUI_PANEMAXIMIZE ) |
894 | EVT_AUI_PANERESTORE = wx.PyEventBinder( wxEVT_AUI_PANERESTORE ) | |
81f5836b | 895 | EVT_AUI_RENDER = wx.PyEventBinder( wxEVT_AUI_RENDER ) |
27e45892 | 896 | |
5eb8189c RD |
897 | class AuiDockArt(object): |
898 | """Proxy of C++ AuiDockArt class""" | |
27e45892 RD |
899 | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') |
900 | def __init__(self): raise AttributeError, "No constructor defined" | |
901 | __repr__ = _swig_repr | |
5eb8189c | 902 | __swig_destroy__ = _aui.delete_AuiDockArt |
27e45892 RD |
903 | __del__ = lambda self : None; |
904 | def GetMetric(*args, **kwargs): | |
905 | """GetMetric(self, int id) -> int""" | |
5eb8189c | 906 | return _aui.AuiDockArt_GetMetric(*args, **kwargs) |
27e45892 RD |
907 | |
908 | def SetMetric(*args, **kwargs): | |
909 | """SetMetric(self, int id, int new_val)""" | |
5eb8189c | 910 | return _aui.AuiDockArt_SetMetric(*args, **kwargs) |
27e45892 RD |
911 | |
912 | def SetFont(*args, **kwargs): | |
913 | """SetFont(self, int id, Font font)""" | |
5eb8189c | 914 | return _aui.AuiDockArt_SetFont(*args, **kwargs) |
27e45892 RD |
915 | |
916 | def GetFont(*args, **kwargs): | |
917 | """GetFont(self, int id) -> Font""" | |
5eb8189c | 918 | return _aui.AuiDockArt_GetFont(*args, **kwargs) |
27e45892 RD |
919 | |
920 | def GetColour(*args, **kwargs): | |
921 | """GetColour(self, int id) -> Colour""" | |
5eb8189c | 922 | return _aui.AuiDockArt_GetColour(*args, **kwargs) |
27e45892 RD |
923 | |
924 | def SetColour(*args, **kwargs): | |
925 | """SetColour(self, int id, wxColor colour)""" | |
5eb8189c | 926 | return _aui.AuiDockArt_SetColour(*args, **kwargs) |
27e45892 RD |
927 | |
928 | def GetColor(*args, **kwargs): | |
929 | """GetColor(self, int id) -> Colour""" | |
5eb8189c | 930 | return _aui.AuiDockArt_GetColor(*args, **kwargs) |
27e45892 RD |
931 | |
932 | def SetColor(*args, **kwargs): | |
933 | """SetColor(self, int id, Colour color)""" | |
5eb8189c | 934 | return _aui.AuiDockArt_SetColor(*args, **kwargs) |
27e45892 RD |
935 | |
936 | def DrawSash(*args, **kwargs): | |
97ab0f6a | 937 | """DrawSash(self, DC dc, Window window, int orientation, Rect rect)""" |
5eb8189c | 938 | return _aui.AuiDockArt_DrawSash(*args, **kwargs) |
27e45892 RD |
939 | |
940 | def DrawBackground(*args, **kwargs): | |
97ab0f6a | 941 | """DrawBackground(self, DC dc, Window window, int orientation, Rect rect)""" |
5eb8189c | 942 | return _aui.AuiDockArt_DrawBackground(*args, **kwargs) |
27e45892 RD |
943 | |
944 | def DrawCaption(*args, **kwargs): | |
5eb8189c RD |
945 | """DrawCaption(self, DC dc, Window window, String text, Rect rect, AuiPaneInfo pane)""" |
946 | return _aui.AuiDockArt_DrawCaption(*args, **kwargs) | |
27e45892 RD |
947 | |
948 | def DrawGripper(*args, **kwargs): | |
5eb8189c RD |
949 | """DrawGripper(self, DC dc, Window window, Rect rect, AuiPaneInfo pane)""" |
950 | return _aui.AuiDockArt_DrawGripper(*args, **kwargs) | |
27e45892 RD |
951 | |
952 | def DrawBorder(*args, **kwargs): | |
5eb8189c RD |
953 | """DrawBorder(self, DC dc, Window window, Rect rect, AuiPaneInfo pane)""" |
954 | return _aui.AuiDockArt_DrawBorder(*args, **kwargs) | |
27e45892 RD |
955 | |
956 | def DrawPaneButton(*args, **kwargs): | |
97ab0f6a RD |
957 | """ |
958 | DrawPaneButton(self, DC dc, Window window, int button, int button_state, | |
5eb8189c | 959 | Rect rect, AuiPaneInfo pane) |
97ab0f6a | 960 | """ |
5eb8189c | 961 | return _aui.AuiDockArt_DrawPaneButton(*args, **kwargs) |
27e45892 | 962 | |
5eb8189c | 963 | _aui.AuiDockArt_swigregister(AuiDockArt) |
27e45892 | 964 | |
5eb8189c RD |
965 | class AuiDefaultDockArt(AuiDockArt): |
966 | """Proxy of C++ AuiDefaultDockArt class""" | |
27e45892 RD |
967 | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') |
968 | __repr__ = _swig_repr | |
969 | def __init__(self, *args, **kwargs): | |
5eb8189c RD |
970 | """__init__(self) -> AuiDefaultDockArt""" |
971 | _aui.AuiDefaultDockArt_swiginit(self,_aui.new_AuiDefaultDockArt(*args, **kwargs)) | |
972 | _aui.AuiDefaultDockArt_swigregister(AuiDefaultDockArt) | |
27e45892 | 973 | |
5eb8189c RD |
974 | class AuiFloatingFrame(_windows.MiniFrame): |
975 | """Proxy of C++ AuiFloatingFrame class""" | |
27e45892 RD |
976 | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') |
977 | __repr__ = _swig_repr | |
978 | def __init__(self, *args, **kwargs): | |
979 | """ | |
5eb8189c RD |
980 | __init__(self, Window parent, AuiManager owner_mgr, AuiPaneInfo pane, |
981 | int id=ID_ANY, long style=wxRESIZE_BORDER|wxSYSTEM_MENU|wxCAPTION|wxFRAME_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT|wxCLIP_CHILDREN) -> AuiFloatingFrame | |
27e45892 | 982 | """ |
5eb8189c RD |
983 | _aui.AuiFloatingFrame_swiginit(self,_aui.new_AuiFloatingFrame(*args, **kwargs)) |
984 | __swig_destroy__ = _aui.delete_AuiFloatingFrame | |
27e45892 RD |
985 | __del__ = lambda self : None; |
986 | def SetPaneWindow(*args, **kwargs): | |
5eb8189c RD |
987 | """SetPaneWindow(self, AuiPaneInfo pane)""" |
988 | return _aui.AuiFloatingFrame_SetPaneWindow(*args, **kwargs) | |
989 | ||
990 | _aui.AuiFloatingFrame_swigregister(AuiFloatingFrame) | |
991 | ||
992 | AUI_NB_TOP = _aui.AUI_NB_TOP | |
993 | AUI_NB_LEFT = _aui.AUI_NB_LEFT | |
994 | AUI_NB_RIGHT = _aui.AUI_NB_RIGHT | |
995 | AUI_NB_BOTTOM = _aui.AUI_NB_BOTTOM | |
996 | AUI_NB_TAB_SPLIT = _aui.AUI_NB_TAB_SPLIT | |
997 | AUI_NB_TAB_MOVE = _aui.AUI_NB_TAB_MOVE | |
d95b9f2b | 998 | AUI_NB_TAB_EXTERNAL_MOVE = _aui.AUI_NB_TAB_EXTERNAL_MOVE |
5172800e | 999 | AUI_NB_TAB_FIXED_WIDTH = _aui.AUI_NB_TAB_FIXED_WIDTH |
5eb8189c | 1000 | AUI_NB_SCROLL_BUTTONS = _aui.AUI_NB_SCROLL_BUTTONS |
26c4d26f | 1001 | AUI_NB_WINDOWLIST_BUTTON = _aui.AUI_NB_WINDOWLIST_BUTTON |
36cb9ebe | 1002 | AUI_NB_CLOSE_BUTTON = _aui.AUI_NB_CLOSE_BUTTON |
5eb8189c RD |
1003 | AUI_NB_CLOSE_ON_ACTIVE_TAB = _aui.AUI_NB_CLOSE_ON_ACTIVE_TAB |
1004 | AUI_NB_CLOSE_ON_ALL_TABS = _aui.AUI_NB_CLOSE_ON_ALL_TABS | |
1005 | AUI_NB_DEFAULT_STYLE = _aui.AUI_NB_DEFAULT_STYLE | |
10044bf1 RD |
1006 | class AuiNotebookEvent(_core.NotifyEvent): |
1007 | """Proxy of C++ AuiNotebookEvent class""" | |
1008 | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') | |
1009 | __repr__ = _swig_repr | |
1010 | def __init__(self, *args, **kwargs): | |
1011 | """__init__(self, EventType command_type=wxEVT_NULL, int win_id=0) -> AuiNotebookEvent""" | |
1012 | _aui.AuiNotebookEvent_swiginit(self,_aui.new_AuiNotebookEvent(*args, **kwargs)) | |
1013 | def SetSelection(*args, **kwargs): | |
1014 | """SetSelection(self, int s)""" | |
1015 | return _aui.AuiNotebookEvent_SetSelection(*args, **kwargs) | |
1016 | ||
10044bf1 RD |
1017 | def GetSelection(*args, **kwargs): |
1018 | """ | |
1019 | GetSelection(self) -> int | |
1020 | ||
1021 | Returns item index for a listbox or choice selection event (not valid | |
1022 | for a deselection). | |
1023 | """ | |
1024 | return _aui.AuiNotebookEvent_GetSelection(*args, **kwargs) | |
1025 | ||
d95b9f2b RD |
1026 | def SetOldSelection(*args, **kwargs): |
1027 | """SetOldSelection(self, int s)""" | |
1028 | return _aui.AuiNotebookEvent_SetOldSelection(*args, **kwargs) | |
1029 | ||
10044bf1 RD |
1030 | def GetOldSelection(*args, **kwargs): |
1031 | """GetOldSelection(self) -> int""" | |
1032 | return _aui.AuiNotebookEvent_GetOldSelection(*args, **kwargs) | |
1033 | ||
d95b9f2b RD |
1034 | def SetDragSource(*args, **kwargs): |
1035 | """SetDragSource(self, AuiNotebook s)""" | |
1036 | return _aui.AuiNotebookEvent_SetDragSource(*args, **kwargs) | |
1037 | ||
1038 | def GetDragSource(*args, **kwargs): | |
1039 | """GetDragSource(self) -> AuiNotebook""" | |
1040 | return _aui.AuiNotebookEvent_GetDragSource(*args, **kwargs) | |
1041 | ||
10044bf1 RD |
1042 | old_selection = property(_aui.AuiNotebookEvent_old_selection_get, _aui.AuiNotebookEvent_old_selection_set) |
1043 | selection = property(_aui.AuiNotebookEvent_selection_get, _aui.AuiNotebookEvent_selection_set) | |
d95b9f2b | 1044 | drag_source = property(_aui.AuiNotebookEvent_drag_source_get, _aui.AuiNotebookEvent_drag_source_set) |
777e547f RD |
1045 | OldSelection = property(GetOldSelection,SetOldSelection,doc="See `GetOldSelection` and `SetOldSelection`") |
1046 | Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`") | |
10044bf1 RD |
1047 | _aui.AuiNotebookEvent_swigregister(AuiNotebookEvent) |
1048 | ||
1049 | class AuiNotebookPage(object): | |
1050 | """Proxy of C++ AuiNotebookPage class""" | |
1051 | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') | |
1052 | def __init__(self): raise AttributeError, "No constructor defined" | |
1053 | __repr__ = _swig_repr | |
1054 | window = property(_aui.AuiNotebookPage_window_get, _aui.AuiNotebookPage_window_set) | |
1055 | caption = property(_aui.AuiNotebookPage_caption_get, _aui.AuiNotebookPage_caption_set) | |
1056 | bitmap = property(_aui.AuiNotebookPage_bitmap_get, _aui.AuiNotebookPage_bitmap_set) | |
1057 | rect = property(_aui.AuiNotebookPage_rect_get, _aui.AuiNotebookPage_rect_set) | |
1058 | active = property(_aui.AuiNotebookPage_active_get, _aui.AuiNotebookPage_active_set) | |
1059 | _aui.AuiNotebookPage_swigregister(AuiNotebookPage) | |
1060 | ||
1061 | class AuiTabContainerButton(object): | |
1062 | """Proxy of C++ AuiTabContainerButton class""" | |
1063 | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') | |
1064 | def __init__(self): raise AttributeError, "No constructor defined" | |
1065 | __repr__ = _swig_repr | |
1066 | id = property(_aui.AuiTabContainerButton_id_get, _aui.AuiTabContainerButton_id_set) | |
1067 | cur_state = property(_aui.AuiTabContainerButton_cur_state_get, _aui.AuiTabContainerButton_cur_state_set) | |
5c8c7dd3 | 1068 | location = property(_aui.AuiTabContainerButton_location_get, _aui.AuiTabContainerButton_location_set) |
10044bf1 | 1069 | bitmap = property(_aui.AuiTabContainerButton_bitmap_get, _aui.AuiTabContainerButton_bitmap_set) |
8f514ab4 | 1070 | dis_bitmap = property(_aui.AuiTabContainerButton_dis_bitmap_get, _aui.AuiTabContainerButton_dis_bitmap_set) |
10044bf1 RD |
1071 | rect = property(_aui.AuiTabContainerButton_rect_get, _aui.AuiTabContainerButton_rect_set) |
1072 | _aui.AuiTabContainerButton_swigregister(AuiTabContainerButton) | |
1073 | ||
5172800e RD |
1074 | class AuiTabArt(object): |
1075 | """Proxy of C++ AuiTabArt class""" | |
1076 | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') | |
1077 | def __init__(self): raise AttributeError, "No constructor defined" | |
1078 | __repr__ = _swig_repr | |
1079 | __swig_destroy__ = _aui.delete_AuiTabArt | |
1080 | __del__ = lambda self : None; | |
1081 | def Clone(*args, **kwargs): | |
1082 | """Clone(self) -> AuiTabArt""" | |
1083 | return _aui.AuiTabArt_Clone(*args, **kwargs) | |
1084 | ||
1085 | def SetFlags(*args, **kwargs): | |
1086 | """SetFlags(self, int flags)""" | |
1087 | return _aui.AuiTabArt_SetFlags(*args, **kwargs) | |
1088 | ||
1089 | def SetSizingInfo(*args, **kwargs): | |
1090 | """SetSizingInfo(self, Size tab_ctrl_size, size_t tab_count)""" | |
1091 | return _aui.AuiTabArt_SetSizingInfo(*args, **kwargs) | |
1092 | ||
1093 | def SetNormalFont(*args, **kwargs): | |
1094 | """SetNormalFont(self, Font font)""" | |
1095 | return _aui.AuiTabArt_SetNormalFont(*args, **kwargs) | |
1096 | ||
1097 | def SetSelectedFont(*args, **kwargs): | |
1098 | """SetSelectedFont(self, Font font)""" | |
1099 | return _aui.AuiTabArt_SetSelectedFont(*args, **kwargs) | |
1100 | ||
1101 | def SetMeasuringFont(*args, **kwargs): | |
1102 | """SetMeasuringFont(self, Font font)""" | |
1103 | return _aui.AuiTabArt_SetMeasuringFont(*args, **kwargs) | |
1104 | ||
1105 | def DrawBackground(*args, **kwargs): | |
1106 | """DrawBackground(self, DC dc, Window wnd, Rect rect)""" | |
1107 | return _aui.AuiTabArt_DrawBackground(*args, **kwargs) | |
1108 | ||
1109 | def DrawTab(*args, **kwargs): | |
1110 | """ | |
1111 | DrawTab(self, DC dc, Window wnd, Rect in_rect, String caption, Bitmap bitmap, | |
1112 | bool active, int close_button_state, | |
1113 | Rect out_tab_rect, Rect out_button_rect, | |
1114 | int x_extent) | |
1115 | """ | |
1116 | return _aui.AuiTabArt_DrawTab(*args, **kwargs) | |
1117 | ||
1118 | def DrawButton(*args, **kwargs): | |
1119 | """ | |
1120 | DrawButton(self, DC dc, Window wnd, Rect in_rect, int bitmap_id, int button_state, | |
1121 | int orientation, Bitmap bitmap_override, | |
1122 | Rect out_rect) | |
1123 | """ | |
1124 | return _aui.AuiTabArt_DrawButton(*args, **kwargs) | |
1125 | ||
1126 | def GetIndentSize(*args, **kwargs): | |
1127 | """GetIndentSize(self) -> int""" | |
1128 | return _aui.AuiTabArt_GetIndentSize(*args, **kwargs) | |
1129 | ||
1130 | def GetTabSize(*args, **kwargs): | |
1131 | """ | |
1132 | GetTabSize(self, DC dc, Window wnd, String caption, Bitmap bitmap, bool active, | |
1133 | int close_button_state, int x_extent) -> Size | |
1134 | """ | |
1135 | return _aui.AuiTabArt_GetTabSize(*args, **kwargs) | |
1136 | ||
1137 | def ShowWindowList(*args, **kwargs): | |
1138 | """ShowWindowList(self, Window wnd, wxArrayString items, int active_idx) -> int""" | |
1139 | return _aui.AuiTabArt_ShowWindowList(*args, **kwargs) | |
1140 | ||
1141 | def GetBestTabCtrlSize(*args, **kwargs): | |
8287c33f | 1142 | """GetBestTabCtrlSize(self, Window wnd, wxAuiNotebookPageArray pages, Size required_bmp_size) -> int""" |
5172800e RD |
1143 | return _aui.AuiTabArt_GetBestTabCtrlSize(*args, **kwargs) |
1144 | ||
1145 | _aui.AuiTabArt_swigregister(AuiTabArt) | |
1146 | ||
1147 | class AuiDefaultTabArt(AuiTabArt): | |
1148 | """Proxy of C++ AuiDefaultTabArt class""" | |
1149 | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') | |
1150 | __repr__ = _swig_repr | |
1151 | def __init__(self, *args, **kwargs): | |
1152 | """__init__(self) -> AuiDefaultTabArt""" | |
1153 | _aui.AuiDefaultTabArt_swiginit(self,_aui.new_AuiDefaultTabArt(*args, **kwargs)) | |
1154 | __swig_destroy__ = _aui.delete_AuiDefaultTabArt | |
1155 | __del__ = lambda self : None; | |
1156 | _aui.AuiDefaultTabArt_swigregister(AuiDefaultTabArt) | |
1157 | ||
1158 | class AuiSimpleTabArt(AuiTabArt): | |
1159 | """Proxy of C++ AuiSimpleTabArt class""" | |
1160 | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') | |
1161 | __repr__ = _swig_repr | |
1162 | def __init__(self, *args, **kwargs): | |
1163 | """__init__(self) -> AuiSimpleTabArt""" | |
1164 | _aui.AuiSimpleTabArt_swiginit(self,_aui.new_AuiSimpleTabArt(*args, **kwargs)) | |
1165 | __swig_destroy__ = _aui.delete_AuiSimpleTabArt | |
1166 | __del__ = lambda self : None; | |
1167 | _aui.AuiSimpleTabArt_swigregister(AuiSimpleTabArt) | |
1168 | ||
10044bf1 RD |
1169 | class AuiTabContainer(object): |
1170 | """Proxy of C++ AuiTabContainer class""" | |
1171 | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') | |
1172 | __repr__ = _swig_repr | |
1173 | def __init__(self, *args, **kwargs): | |
1174 | """__init__(self) -> AuiTabContainer""" | |
1175 | _aui.AuiTabContainer_swiginit(self,_aui.new_AuiTabContainer(*args, **kwargs)) | |
1176 | __swig_destroy__ = _aui.delete_AuiTabContainer | |
1177 | __del__ = lambda self : None; | |
5c8c7dd3 | 1178 | def SetArtProvider(*args, **kwargs): |
5eb8189c | 1179 | """SetArtProvider(self, AuiTabArt art)""" |
5c8c7dd3 RD |
1180 | return _aui.AuiTabContainer_SetArtProvider(*args, **kwargs) |
1181 | ||
1182 | def GetArtProvider(*args, **kwargs): | |
5eb8189c | 1183 | """GetArtProvider(self) -> AuiTabArt""" |
5c8c7dd3 RD |
1184 | return _aui.AuiTabContainer_GetArtProvider(*args, **kwargs) |
1185 | ||
5eb8189c RD |
1186 | def SetFlags(*args, **kwargs): |
1187 | """SetFlags(self, int flags)""" | |
1188 | return _aui.AuiTabContainer_SetFlags(*args, **kwargs) | |
1189 | ||
1190 | def GetFlags(*args, **kwargs): | |
1191 | """GetFlags(self) -> int""" | |
1192 | return _aui.AuiTabContainer_GetFlags(*args, **kwargs) | |
1193 | ||
10044bf1 RD |
1194 | def AddPage(*args, **kwargs): |
1195 | """AddPage(self, Window page, AuiNotebookPage info) -> bool""" | |
1196 | return _aui.AuiTabContainer_AddPage(*args, **kwargs) | |
1197 | ||
1198 | def InsertPage(*args, **kwargs): | |
1199 | """InsertPage(self, Window page, AuiNotebookPage info, size_t idx) -> bool""" | |
1200 | return _aui.AuiTabContainer_InsertPage(*args, **kwargs) | |
1201 | ||
580080c5 RD |
1202 | def MovePage(*args, **kwargs): |
1203 | """MovePage(self, Window page, size_t new_idx) -> bool""" | |
1204 | return _aui.AuiTabContainer_MovePage(*args, **kwargs) | |
1205 | ||
10044bf1 RD |
1206 | def RemovePage(*args, **kwargs): |
1207 | """RemovePage(self, Window page) -> bool""" | |
1208 | return _aui.AuiTabContainer_RemovePage(*args, **kwargs) | |
1209 | ||
1210 | def SetActivePage(*args): | |
1211 | """ | |
1212 | SetActivePage(self, Window page) -> bool | |
1213 | SetActivePage(self, size_t page) -> bool | |
1214 | """ | |
1215 | return _aui.AuiTabContainer_SetActivePage(*args) | |
1216 | ||
1217 | def SetNoneActive(*args, **kwargs): | |
1218 | """SetNoneActive(self)""" | |
1219 | return _aui.AuiTabContainer_SetNoneActive(*args, **kwargs) | |
1220 | ||
1221 | def GetActivePage(*args, **kwargs): | |
1222 | """GetActivePage(self) -> int""" | |
1223 | return _aui.AuiTabContainer_GetActivePage(*args, **kwargs) | |
1224 | ||
1225 | def TabHitTest(*args, **kwargs): | |
1226 | """TabHitTest(self, int x, int y, Window hit) -> bool""" | |
1227 | return _aui.AuiTabContainer_TabHitTest(*args, **kwargs) | |
1228 | ||
1229 | def ButtonHitTest(*args, **kwargs): | |
1230 | """ButtonHitTest(self, int x, int y, AuiTabContainerButton hit) -> bool""" | |
1231 | return _aui.AuiTabContainer_ButtonHitTest(*args, **kwargs) | |
1232 | ||
1233 | def GetWindowFromIdx(*args, **kwargs): | |
1234 | """GetWindowFromIdx(self, size_t idx) -> Window""" | |
1235 | return _aui.AuiTabContainer_GetWindowFromIdx(*args, **kwargs) | |
1236 | ||
1237 | def GetIdxFromWindow(*args, **kwargs): | |
1238 | """GetIdxFromWindow(self, Window page) -> int""" | |
1239 | return _aui.AuiTabContainer_GetIdxFromWindow(*args, **kwargs) | |
1240 | ||
1241 | def GetPageCount(*args, **kwargs): | |
1242 | """GetPageCount(self) -> size_t""" | |
1243 | return _aui.AuiTabContainer_GetPageCount(*args, **kwargs) | |
1244 | ||
1245 | def GetPage(*args, **kwargs): | |
1246 | """GetPage(self, size_t idx) -> AuiNotebookPage""" | |
1247 | return _aui.AuiTabContainer_GetPage(*args, **kwargs) | |
1248 | ||
1249 | def GetPages(*args, **kwargs): | |
1250 | """GetPages(self) -> wxAuiNotebookPageArray""" | |
1251 | return _aui.AuiTabContainer_GetPages(*args, **kwargs) | |
1252 | ||
1253 | def SetNormalFont(*args, **kwargs): | |
1254 | """SetNormalFont(self, Font normal_font)""" | |
1255 | return _aui.AuiTabContainer_SetNormalFont(*args, **kwargs) | |
1256 | ||
1257 | def SetSelectedFont(*args, **kwargs): | |
1258 | """SetSelectedFont(self, Font selected_font)""" | |
1259 | return _aui.AuiTabContainer_SetSelectedFont(*args, **kwargs) | |
1260 | ||
1261 | def SetMeasuringFont(*args, **kwargs): | |
1262 | """SetMeasuringFont(self, Font measuring_font)""" | |
1263 | return _aui.AuiTabContainer_SetMeasuringFont(*args, **kwargs) | |
1264 | ||
1265 | def DoShowHide(*args, **kwargs): | |
1266 | """DoShowHide(self)""" | |
1267 | return _aui.AuiTabContainer_DoShowHide(*args, **kwargs) | |
1268 | ||
1269 | def SetRect(*args, **kwargs): | |
1270 | """SetRect(self, Rect rect)""" | |
1271 | return _aui.AuiTabContainer_SetRect(*args, **kwargs) | |
1272 | ||
36cb9ebe RD |
1273 | def RemoveButton(*args, **kwargs): |
1274 | """RemoveButton(self, int id)""" | |
1275 | return _aui.AuiTabContainer_RemoveButton(*args, **kwargs) | |
1276 | ||
10044bf1 | 1277 | def AddButton(*args, **kwargs): |
8f514ab4 RD |
1278 | """ |
1279 | AddButton(self, int id, int location, Bitmap normal_bitmap=wxNullBitmap, | |
1280 | Bitmap disabled_bitmap=wxNullBitmap) | |
1281 | """ | |
10044bf1 RD |
1282 | return _aui.AuiTabContainer_AddButton(*args, **kwargs) |
1283 | ||
8f514ab4 RD |
1284 | def GetTabOffset(*args, **kwargs): |
1285 | """GetTabOffset(self) -> size_t""" | |
1286 | return _aui.AuiTabContainer_GetTabOffset(*args, **kwargs) | |
1287 | ||
1288 | def SetTabOffset(*args, **kwargs): | |
1289 | """SetTabOffset(self, size_t offset)""" | |
1290 | return _aui.AuiTabContainer_SetTabOffset(*args, **kwargs) | |
1291 | ||
777e547f RD |
1292 | ActivePage = property(GetActivePage,SetActivePage,doc="See `GetActivePage` and `SetActivePage`") |
1293 | PageCount = property(GetPageCount,doc="See `GetPageCount`") | |
1294 | Pages = property(GetPages,doc="See `GetPages`") | |
10044bf1 RD |
1295 | _aui.AuiTabContainer_swigregister(AuiTabContainer) |
1296 | ||
1297 | class AuiTabCtrl(_core.Control,AuiTabContainer): | |
1298 | """Proxy of C++ AuiTabCtrl class""" | |
1299 | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') | |
1300 | __repr__ = _swig_repr | |
1301 | def __init__(self, *args, **kwargs): | |
1302 | """ | |
1303 | __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, | |
1304 | Size size=DefaultSize, long style=0) -> AuiTabCtrl | |
1305 | """ | |
1306 | _aui.AuiTabCtrl_swiginit(self,_aui.new_AuiTabCtrl(*args, **kwargs)) | |
1307 | self._setOORInfo(self) | |
1308 | ||
580080c5 RD |
1309 | __swig_destroy__ = _aui.delete_AuiTabCtrl |
1310 | __del__ = lambda self : None; | |
10044bf1 RD |
1311 | _aui.AuiTabCtrl_swigregister(AuiTabCtrl) |
1312 | ||
5eb8189c RD |
1313 | class AuiNotebook(_core.Control): |
1314 | """Proxy of C++ AuiNotebook class""" | |
10044bf1 RD |
1315 | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') |
1316 | __repr__ = _swig_repr | |
1317 | def __init__(self, *args, **kwargs): | |
1318 | """ | |
1319 | __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, | |
5eb8189c | 1320 | Size size=DefaultSize, long style=AUI_NB_DEFAULT_STYLE) -> AuiNotebook |
10044bf1 | 1321 | """ |
5eb8189c | 1322 | _aui.AuiNotebook_swiginit(self,_aui.new_AuiNotebook(*args, **kwargs)) |
10044bf1 RD |
1323 | self._setOORInfo(self) |
1324 | ||
5eb8189c RD |
1325 | __swig_destroy__ = _aui.delete_AuiNotebook |
1326 | __del__ = lambda self : None; | |
10044bf1 RD |
1327 | def Create(*args, **kwargs): |
1328 | """ | |
1329 | Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, | |
1330 | Size size=DefaultSize, long style=0) -> bool | |
1331 | ||
1332 | Do the 2nd phase and create the GUI control. | |
1333 | """ | |
5eb8189c | 1334 | return _aui.AuiNotebook_Create(*args, **kwargs) |
10044bf1 RD |
1335 | |
1336 | def AddPage(*args, **kwargs): | |
1337 | """AddPage(self, Window page, String caption, bool select=False, Bitmap bitmap=wxNullBitmap) -> bool""" | |
5eb8189c | 1338 | return _aui.AuiNotebook_AddPage(*args, **kwargs) |
10044bf1 RD |
1339 | |
1340 | def InsertPage(*args, **kwargs): | |
1341 | """ | |
1342 | InsertPage(self, size_t page_idx, Window page, String caption, bool select=False, | |
1343 | Bitmap bitmap=wxNullBitmap) -> bool | |
1344 | """ | |
5eb8189c | 1345 | return _aui.AuiNotebook_InsertPage(*args, **kwargs) |
10044bf1 RD |
1346 | |
1347 | def DeletePage(*args, **kwargs): | |
1348 | """DeletePage(self, size_t page) -> bool""" | |
5eb8189c | 1349 | return _aui.AuiNotebook_DeletePage(*args, **kwargs) |
10044bf1 RD |
1350 | |
1351 | def RemovePage(*args, **kwargs): | |
1352 | """RemovePage(self, size_t page) -> bool""" | |
5eb8189c | 1353 | return _aui.AuiNotebook_RemovePage(*args, **kwargs) |
10044bf1 RD |
1354 | |
1355 | def SetPageText(*args, **kwargs): | |
1356 | """SetPageText(self, size_t page, String text) -> bool""" | |
5eb8189c | 1357 | return _aui.AuiNotebook_SetPageText(*args, **kwargs) |
10044bf1 | 1358 | |
5172800e RD |
1359 | def SetPageBitmap(*args, **kwargs): |
1360 | """SetPageBitmap(self, size_t page, Bitmap bitmap) -> bool""" | |
1361 | return _aui.AuiNotebook_SetPageBitmap(*args, **kwargs) | |
1362 | ||
10044bf1 RD |
1363 | def SetSelection(*args, **kwargs): |
1364 | """SetSelection(self, size_t new_page) -> size_t""" | |
5eb8189c | 1365 | return _aui.AuiNotebook_SetSelection(*args, **kwargs) |
10044bf1 RD |
1366 | |
1367 | def GetSelection(*args, **kwargs): | |
1368 | """GetSelection(self) -> int""" | |
5eb8189c | 1369 | return _aui.AuiNotebook_GetSelection(*args, **kwargs) |
10044bf1 RD |
1370 | |
1371 | def GetPageCount(*args, **kwargs): | |
1372 | """GetPageCount(self) -> size_t""" | |
5eb8189c | 1373 | return _aui.AuiNotebook_GetPageCount(*args, **kwargs) |
10044bf1 RD |
1374 | |
1375 | def GetPage(*args, **kwargs): | |
1376 | """GetPage(self, size_t page_idx) -> Window""" | |
5eb8189c | 1377 | return _aui.AuiNotebook_GetPage(*args, **kwargs) |
5172800e RD |
1378 | |
1379 | def GetPageIndex(*args, **kwargs): | |
1380 | """GetPageIndex(self, Window page_wnd) -> int""" | |
1381 | return _aui.AuiNotebook_GetPageIndex(*args, **kwargs) | |
10044bf1 | 1382 | |
5c8c7dd3 | 1383 | def SetArtProvider(*args, **kwargs): |
5eb8189c RD |
1384 | """SetArtProvider(self, AuiTabArt art)""" |
1385 | return _aui.AuiNotebook_SetArtProvider(*args, **kwargs) | |
5c8c7dd3 RD |
1386 | |
1387 | def GetArtProvider(*args, **kwargs): | |
5eb8189c RD |
1388 | """GetArtProvider(self) -> AuiTabArt""" |
1389 | return _aui.AuiNotebook_GetArtProvider(*args, **kwargs) | |
5c8c7dd3 | 1390 | |
8287c33f RD |
1391 | def SetUniformBitmapSize(*args, **kwargs): |
1392 | """SetUniformBitmapSize(self, Size size)""" | |
1393 | return _aui.AuiNotebook_SetUniformBitmapSize(*args, **kwargs) | |
1394 | ||
1395 | def SetTabCtrlHeight(*args, **kwargs): | |
1396 | """SetTabCtrlHeight(self, int height)""" | |
1397 | return _aui.AuiNotebook_SetTabCtrlHeight(*args, **kwargs) | |
1398 | ||
777e547f RD |
1399 | PageCount = property(GetPageCount,doc="See `GetPageCount`") |
1400 | Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`") | |
5eb8189c | 1401 | _aui.AuiNotebook_swigregister(AuiNotebook) |
10044bf1 | 1402 | |
5eb8189c RD |
1403 | def PreAuiNotebook(*args, **kwargs): |
1404 | """PreAuiNotebook() -> AuiNotebook""" | |
1405 | val = _aui.new_PreAuiNotebook(*args, **kwargs) | |
10044bf1 RD |
1406 | self._setOORInfo(self) |
1407 | return val | |
1408 | ||
d95b9f2b | 1409 | wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE = _aui.wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE |
10044bf1 RD |
1410 | wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED = _aui.wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED |
1411 | wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING = _aui.wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING | |
1412 | wxEVT_COMMAND_AUINOTEBOOK_BUTTON = _aui.wxEVT_COMMAND_AUINOTEBOOK_BUTTON | |
1413 | wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG = _aui.wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG | |
1414 | wxEVT_COMMAND_AUINOTEBOOK_END_DRAG = _aui.wxEVT_COMMAND_AUINOTEBOOK_END_DRAG | |
1415 | wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION = _aui.wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION | |
d95b9f2b RD |
1416 | wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND = _aui.wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND |
1417 | EVT_AUINOTEBOOK_PAGE_CLOSE = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE, 1 ) | |
10044bf1 RD |
1418 | EVT_AUINOTEBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED, 1 ) |
1419 | EVT_AUINOTEBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING, 1 ) | |
1420 | EVT_AUINOTEBOOK_BUTTON = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_BUTTON, 1 ) | |
1421 | EVT_AUINOTEBOOK_BEGIN_DRAG = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG, 1 ) | |
1422 | EVT_AUINOTEBOOK_END_DRAG = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_END_DRAG, 1 ) | |
0f83f5da | 1423 | EVT_AUINOTEBOOK_DRAG_MOTION = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION, 1 ) |
d95b9f2b | 1424 | EVT_AUINOTEBOOK_ALLOW_DND = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND, 1 ) |
10044bf1 | 1425 | |
5eb8189c | 1426 | class PyAuiDockArt(AuiDefaultDockArt): |
27e45892 | 1427 | """ |
5eb8189c | 1428 | This version of the `AuiDockArt` class has been instrumented to be |
27e45892 RD |
1429 | subclassable in Python and to reflect all calls to the C++ base class |
1430 | methods to the Python methods implemented in the derived class. | |
1431 | """ | |
1432 | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') | |
1433 | def __init__(self): raise AttributeError, "No constructor defined" | |
1434 | __repr__ = _swig_repr | |
5eb8189c | 1435 | _aui.PyAuiDockArt_swigregister(PyAuiDockArt) |
27e45892 | 1436 | |
5eb8189c | 1437 | class PyAuiTabArt(AuiDefaultTabArt): |
5c8c7dd3 RD |
1438 | """ |
1439 | This version of the `TabArt` class has been instrumented to be | |
1440 | subclassable in Python and to reflect all calls to the C++ base class | |
1441 | methods to the Python methods implemented in the derived class. | |
1442 | """ | |
1443 | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') | |
1444 | def __init__(self): raise AttributeError, "No constructor defined" | |
1445 | __repr__ = _swig_repr | |
5eb8189c | 1446 | _aui.PyAuiTabArt_swigregister(PyAuiTabArt) |
5c8c7dd3 | 1447 | |
27e45892 RD |
1448 | |
1449 |