I think you will have to override the SetFlag method to get your
Docking/Floating event as there is not one by default in AUI.
Add the following to _dDockPanel and it should raise the proper events
(Once added to dEvents)
def SetFlag(self, flag, option):
if flag == optionFloating and not option:
raise dEvents.Pane_Docking
elif flag == optionFloating and option:
raise dEvents.Pane_Floating
super(_dDockPanel, self).SetFlag(flag, option)
The other events
EVT_AUI_PANE_BUTTON - This will catch the Pin button being triggered
as well as Docked Panes being closed
EVT_AUI_PANE_CLOSE - Catches both Docked and Floating panes when they are closed
The other ones I have not used
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]