Re: MDI question
- From: Sean Christopher Rhea <srhea ece utexas edu>
- To: Jaka Mocnik <jaka mocnik kiss uni-lj si>
- cc: gnome-list gnome org
- Subject: Re: MDI question
- Date: Tue, 26 Jan 1999 17:34:49 -0600 (CST)
Btw, you did a really good job. Thanks for saving the rest of us from
having to do it for each app...
Sean C. Rhea
--- Please respond to email@example.com ---
On Mon, 25 Jan 1999, Jaka Mocnik wrote:
> Michael Lausch wrote:
> > is it possible to have a top level window which looks something like
> actually, the GnomeMDI is not a widget. it is an interface that (I hope
> handles some rather mundane stuff that needs to be taken care of when an
> application opens multiple "documents": it allows for adding children to
> the MDI and opening multiple views of them. it also emits signals on
> events (when a child/view is added/removed or a new toplevel window is
> created, etc.), it can automatically save and restore layout of its
> and views in them (useful for session saving), it takes care of adding/
> removing child-specific menu items when a certain child is activated
> can add any number of different types of children, each type providing
> own menus which are merged with the global ones).
> how the MDI looks is determined by its "mode" (which can be set by user
> look'n'feel capplet), which can be one of:
> a) notebook: each view has its own notebook page. pages can be
> between multiple notebooks, each in its own toplevel, by dragging a page
> out of one notebook.
> b) toplevel: each view has its own toplevel window.
> c) modal: only a single view of a single child is displayed in a single
> toplevel window.
> there is no MS-like mode (child windows in a container) to which you
> probably referring. perhaps it will be implemented one day ;)
> regarding your problem, you could (if you choose to use the MDI
> a) put the ctree in its own toplevel and register it with the MDI using
> b) put a ctree in each child's view (any GtkWidget can be a view, so you
> could put a ctree in an hbox or an hpane together with the widget that
> actually display your child).
> c) connect a handler to the app_created signal to put the ctree in the
> dock of each GnomeApp created by the MDI. balsa does something like
> also read the libgnomeui/gnome-mdi* and gnome-hello/gnome-hello-7-mdi.c
> sources. I think I've documented them quite well.
> example applications include ghex, gnome-hello-7-mdi, gwp, gtop and
> email: firstname.lastname@example.org
> w3: http://pluton.ijs.si/~jaka
> FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
> To unsubscribe: mail email@example.com with
> "unsubscribe" as the Subject.
] [Thread Prev