Re: chid windows on parent window
- From: Paul Davis <paul linuxaudiosystems com>
- To: cnu_sree <sree_as hotmail com>
- Cc: gtk-list gnome org
- Subject: Re: chid windows on parent window
- Date: Thu, 13 Jul 2006 08:33:29 -0400
On Wed, 2006-07-12 at 22:20 -0700, cnu_sree wrote:
> I have a set of GtkWindow-s and I would like to enclose them in a
> single frame . What widget can I use for the parent frame / window? It is
> important that
> the child windows will appear inside the parent window and one will
> not see them outside its border.
> so please give me any code or relavent examples,
> because iam new to gtk.
> it is urgent please,
GTK developers generally avoid MDI (Multiple Document Interfaces). If
you have multiple GtkWindow's, the idea is to let the user take
advantage of their window manager to control them, not to develop a
"sub-window manager" inside your application. a GtkWindow by definition
is a window that cannot be contained inside another window. If you
really want to do MDI (and most people here would strongly argue against
it), you may want to use a different toolkit. Otherwise, you will have
to abandon using GtkWindow's as your "windows" and use something like
GtkDrawingArea, GtkFixed or GtkLayout.
Please note that even the Windows applications that made MDI well-known
are increasingly not doing that anymore.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]