Re: [GtkGLExt] subwindows for newby



----- Original Message ----- 
From: "ivan" <ivand blueyonder co uk>
To: "Timothy M. Shead" <tshead k-3d com>
Cc: "gtkglext-list" <gtkglext-list gnome org>
Sent: Monday, May 22, 2006 6:19 PM
Subject: Re: [GtkGLExt] subwindows for newby


>
> ----- Original Message ----- 
> From: "Timothy M. Shead" <tshead k-3d com>
> To: <ivand blueyonder co uk>
> Cc: "gtkglext-list" <gtkglext-list gnome org>
> Sent: Sunday, May 21, 2006 4:32 PM
> Subject: Re: [GtkGLExt] subwindows for newby
>
>
> > On Sun, 2006-05-21 at 17:44 +0100, ivan danicic wrote:
> > > Hello All, in order to achieve the equivalent of glutCreateSubwindow
> (which
> > > look just like plain rectangles) I think I need to be able to make a
> > > gtk_window without any borders, decorations, etc. How can I do that?
> > > I need to do this because I want the subwindow to have its own
> projection
> > > matrix (and stack) but to be non-removable and in fact looking just
like
> a
> > > drawing_area. Any suggestions gratefully anticipated.
> >
> > Ivan:
> >
> > This is more of a GTK than a GtkGLExt question - I think you want to use
> > multiple GtkDrawingArea widgets for your main window and sub-windows,
> > and use a GtkFixed widget as the container.  The main issue will be
> > handling Z-order, which I assume is based on the order in which you add
> > widgets to GtkFixed.  With GtkFixed you will have to manage the sizes of
> > your widgets explicitly, e.g: when your main window is resized.
> >
> > Cheers,
> > Tim
> >
>
> Hello, I don't think that GtkDrawingArea is recognized by the X-windows
> manager, I read this somewhere but I could be wrong.
> Ivan
Hello All, Please say if these 2 points are correct:
1. There is no widget to which one can add a toplevel window.
2. Only a top level window can have its own projection matrix..

Thanks in advance for any replies.
Ivan
_______________________________________________
> gtkglext-list mailing list
> gtkglext-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkglext-list
>





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