[wxPython-dev] finer control over the wx.aui frame manager

Robin Dunn robin at alldunn.com
Thu Sep 21 11:45:42 PDT 2006


F. Oliver Gathmann wrote:
> Hello!
> 
> I've been playing with the new wx.aui package a lot recently (using the
> latest prebuild from Sep 09), and so far I'm really impressed with it.
> 
> However, I don't seem to be able to find a way to veto a dropping
> location from wxPython. Studying the sources, it seems that a minmal
> solution for this would be to make the OnFloatingPaneMoveStart,
> OnFloatingPaneMoving, and OnFloatingPaneMoved methods overridable from
> wxPython. 

Those methods are not 'virtual' in the C++ code so they wouldn't be 
overridable in a derived class.  I'm not sure if it is intended that 
they be overridable or not.  I get the feeling that it is not expected 
that classes would be derived from wxFrameManager but I may be wrong.

> My question now is whether this  is a reasonable approach,  or
> if somebody else is looking into implementing this feature some other
> way. 

Bring it up on wx-dev, as the folks that work on the AUI guts are 
reading that list.  There may be something that one of them already has 
in mind to do.


> I would even try to give this a go, if there is a chance that my
> patches would be accepted.

I expect that it would be.  There has been lots of input and community 
involvement with wxAUI so far, and very little friction to getting new 
features incorporated.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-dev mailing list