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