Re: chid windows on parent window

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

 



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


_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux