[wxPython-dev] finer control over the wx.aui frame manager
F. Oliver Gathmann
gathmann at cenix-bioscience.com
Thu Sep 21 12:15:16 PDT 2006
Robin Dunn wrote:
> 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.
Ah, sorry, I overlooked that. The approach I was suggesting would indeed
be unusual, to say the least. Personally, I think it would make much
more sense to extend the wxFrameManagerEvent class such that it also
reports floating pane move events (don't know how feasible that is, though).
>> 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.
Thanks, I will do that.
>> 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.
>
This sounds encouraging. Thanks again.
Oliver
--
--------------------------------------------------------------------
F. Oliver Gathmann, Ph.D.
Director IT Unit
Cenix BioScience GmbH
Tatzberg 47 phone: +49 (351) 4173-136
D-01307 Dresden, Germany fax: +49 (351) 4173-109
fingerprint: 8E0E 9A64 A07E 0D1A D302 34C2 421A AE9F 4E13 A009
public key: http://www.cenix-bioscience.com/public_keys/gathmann.gpg
--------------------------------------------------------------------
More information about the wxpython-dev
mailing list