That's what I understand from the information I've received. Our problem at the moment is that map displays are indeed children of the initial GIS Manager/layer manager, but they are created as top-level windows (wx.Frame).
So there are a couple of questions that we will need to answer if we want to try docking via AUI. 1) Can mapdisplay.MapFrame be changed from wx.Frame to wx.Window (or wx.Panel or something else that works) fairly easily or will it take an enormous amount of reprogramming? 2) If we can changed mapdisplay.MapFrame to wx.Window, for example, can we still have dockable AUI menubars INSIDE the map display like we do now? Does it matter if we do or don't? I can't see the digitizing toolbar to check this out because of an apparent bug in the Mac version of AUI that makes toolbar controls invisible. Given this, I'd argue that maybe we want to drop the dockable toolbars, but I don't know how they function with respect to the digitizing module in progress. Michael On 6/8/07 6:07 AM, "Glynn Clements" <[EMAIL PROTECTED]> wrote: > > Michael Barton wrote: > >> It looks like we can't doc the map display using AUI unless we redo the main >> window as a wx.Window or wx.Panel. I don't know if that would be a real >> problem to do or not. > > For a docking UI, you normally need at least one top-level window > which cannot itself be docked. Children can either be docked into this > window or undocked as separate top-level windows. If you undock > everything, you end up with an empty[1] main window whose only purpose > is to sit around in case you want to re-dock the children. > > [1] Or almost empty. There may be some components which can't be > undocked, e.g. the menu bar. __________________________________________ 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 _______________________________________________ grassgui mailing list [email protected] http://grass.itc.it/mailman/listinfo/grassgui
