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