Yes, it should be possible for all events (eg, onces received from X), and you can do it for a few others. Unfortunately the PyGtk reference manual does not show if it's okay to return a value or not, so you'd have to look in the Gtk+ Reference Manual;
http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#GtkWidget-button-press-event
And look at the return value of the signal, if it's boolean, then you can return True to block the event.
Johan,
Again thanks, I learned really useful things today.
best regards,
Toon _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
