[GRASSGUI] can't dock map display with AUI

Michael Barton michael.barton at asu.edu
Sat Jun 9 16:07:58 EDT 2007




On 6/9/07 9:59 AM, "Glynn Clements" <glynn at gclements.plus.com> wrote:

> 
> Michael Barton wrote:
> 
>> What I don't know is if you can get these to dock as toolbars into a child
>> window (i.e., a map display window), or only in the main window.
> 
> AFAICT, you can manage any wxFrame with a wxAuiManager, and you can
> add any widget as a child.
> 
> However, it has just occurred to me that wxAUI isn't as general as it
> could be. AFAICT, you're limited to one level of docking, e.g. you
> can't have a map display which can be undocked from the main window
> and also have components which can be undocked from the map display.
> 
> Is that what you're referring to?

Yes. But since there is a problem with the dockable menu (the combobox is
invisible on the Mac), maybe we can just make it a normal menu.

> 
> If this is the case, I would be inclined to give up on wxAUI and
> implement the docking functionality manually using
> wx.Window.Reparent().

I'm not sure how to use this for docking, but will look at the docs.

Michael


__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton





More information about the grass-gui mailing list