From: Martin D. <mar...@gm...> - 2008-06-27 18:08:15
|
On Fri, Jun 27, 2008 at 10:38 AM, Axel Simon <Axe...@en...> wrote: > > In your case, your trying to put a GtkWindow insides another GdkWindow. > That's why you create one from scratch and then overlay this window using > gdk_window_reparent. Truth is, we don't have neither gdk_window_new nor > gdk_window_reparent at the moment. We could bind these functions but maybe > you can get away without putting one window inside another one? The source > code under the link that you provided creates a normal Gtk window and uses > that. Is that not an option? Maybe I misunderstood the reason to put one > window inside another one (e.g. is the second window really inside the > first?). >From what I understand (I could be wrong; all this is new to me) a GdkWindow is an actual X window, to which X properties can be applied, whereas a GtkWindow is more a widget sort of thing. Therefore, if you want to do something funky like making a dockapp you need a GdkWindow to wrap things in. martin |