----- Original Message ----- From: "ivan" <[EMAIL PROTECTED]> To: "Timothy M. Shead" <[EMAIL PROTECTED]> Cc: "gtkglext-list" <[email protected]> Sent: Monday, May 22, 2006 6:19 PM Subject: Re: [GtkGLExt] subwindows for newby
> > ----- Original Message ----- > From: "Timothy M. Shead" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: "gtkglext-list" <[email protected]> > 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 > [email protected] > http://mail.gnome.org/mailman/listinfo/gtkglext-list > _______________________________________________ gtkglext-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkglext-list
