On Tue, 2007-09-04 at 16:42 +1000, Andrew Cowie wrote:

> I really would have expected the GtkButton and GtkLabel to have
> different GdkWindows. According to this, they're all writing to the same
> one.

GtkLabel is a GTK_NO_WINDOW widget, and so is GtkButton; so the
widget->window is automatically set to the GdkWindow of the first widget
with a window - in this case, the GtkWindow (as all default containers
except GtkEventBox have the GTK_NO_WINDOW flag set).

ciao,
 Emmanuele.

-- 
Emmanuele Bassi,
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net

_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to