Re: More on Menus




> 1. At the beginning of a session, the menu server starts, if the user or
> theme has selected a global menubar feel. [ The user should also be able to
> switch menubar feel on the fly. Is that going to possible with this
> parenting/reparenting setup? ]

Do not worry about this.  libgnorba and goad take care of activation
for you. 

> 2. Each app, on launch, determines whether the menu server is running. [
> How does it do this? Is there a central repository of CORBA services that
> it can query? ] 

Done by Gnorba/Goad for you as well.

> 3. An app, when it gets focus, checks its menu state. If that is 'handled
> globally', the app passes a message via CORBA to the menu server, with the
> id of the menubar it wants displayed. [ Interface question: Possibly this
> should be the id of menubar & toolbar container, so that menubars and
> toolbars can be handled together? ] If the app can't find the menu server,
> or if it doesn't get a proper response from the menu server, it will
> re-reparent its menus into itself [ How? Does the app still 'own' the
> menubar widget, once it has been reparented in the server? If the server
> dies, will the menubar widgets be destroyed? What address space do they
> live in? ] -- or recreate them, if necessary -- so that we never see a
> beheaded app running around with no menus at all.

Use Gtk Plug and Gtk Socket widgets to transfer a window to another
process.  Use CORBA to exchange the information needed.

Miguel.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]