RE: Question about GtkButton->event_window.



The thing I don't understand is that GtkButton has a input window which
is a GdkWindow, why they still need to draw on their parent window? Is
this for better performance?

Thanks.

Tom.

This is just a leftover from older versions of GtkButton that worked
differently ... these days GtkButton draws on its parent widget's
window and uses an input-only window to catch mouse events.

So, you might want to file a bug in bugzilla to clean up the code.

Regards,
                                      Owen


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




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