[wxPython-users] Active panes when using AUI
Robin Dunn
robin at alldunn.com
Mon Mar 3 11:17:11 PST 2008
Frank Niessink wrote:
> Hi,
>
> When using AUI, one can allow for an active pane (by passing
> wx.AUI_MGR_ALLOW_ACTIVE_PANE to the AuiManager constructor). Is there
> a way to find out which is the active pane and/or get notified when
> the active pane changes?
I don't see an API function for it, but there is a flag in the
AuiPaneInfo class that specifies if the pane is the active one or not. Try:
thePane.HasFlag(wx.aui.AuiPaneInfo.optionActive)
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list