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