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