David E. Konerding wrote:
[...]
Cancel that: I just noticed that gtkframe.c doesn't in fact create a
GdkWindow. However, a frame's widget does have a window; I can't
figure out what window that is!
heh, widget->window is never NULL, if widget->window was
created by the widget in question, then (widget->allocation.x == 0)
%100 of the time, widget->allocation is the area in widget->window
that you are allowed to draw in :)
So when you draw on widget->window on your GtkFrame:
(GTK_WIGET (frame)->window == GTK_WIDGET (layout)->window)
I really think that GtkLayout is just deficient in the fact that
it doesnt handle being a GTK_NO_WINDOW widget, IMO it
should be fixed.
Maybe GtkFixed so happens to handle GTK_NO_WINDOW ?
Cheers,
-Tristan
_______________________________________________
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list