Re: Can GTK+ create a GtkWindow in a GtkWindow?



If you want MDI use the Notebook widget.  But be aware of what you are doing, from the gnome HIG document [1] "MDI has several inherent usability problems, so its use is discouraged in applications."

Additionally there is this: http://developer.gnome.org/arch/widgets/mdi.html but it looks dead.

Sorry if I sound like a downer, I don't mean to be :-)

- John Hobbs

[1] http://library.gnome.org/devel/hig-book/stable/windows-primary.html.en#mdi

On Tue, Sep 9, 2008 at 10:35 AM, Diego Jacobi <jacobidiego gmail com> wrote:
I think that he is talking about MDI.

I havent seen that in any other gtk-application yet, also is not very useful.


2008/9/9 John Hobbs <john velvetcache org>:
> You can spawn multiple windows, but a GtkWindow is a top level item,
> they don't 'contain' each other per say.  They can have context, i.e.
> a modal dialog window can belong to a GtkWindow.
>
> - John Hobbs
>
> 2008/9/9 Lazy Fox <lazy fox wu gmail com>:
>> Can GTK+ create a GtkWindow in a GtkWindow? One GtkWindow is another's child
>> ?
>> I can't do this, Does one GTK+ application only can contain one GtkWindow?
>>
>> _______________________________________________
>> gtk-list mailing list
>> gtk-list gnome org
>> http://mail.gnome.org/mailman/listinfo/gtk-list
>>
>>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list



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