Hi,

Peter Van Osta <[EMAIL PROTECTED]> writes:

> By adding "gtk_widget_add_events" in the "expose_event" callback
> function I could set the additional event(s) at the moment the
> GtkDrawingArea pops up. I have included the sample code below. I don't
> expect any problems to occur when the GtkDrawingArea pops up several
> times ?

it's unneeded overhead but it shouldn't cause any problems. I'd
suggest to move the call to gtk_widget_add_events() to the realize
callback instead (if there really is no other way to access the widget
pointer because of Glade weirdnesses).


Salut, Sven
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to