On Nov 5, 2010, at 6:08 AM, Mario Kemper wrote:

> The problem is that you connect the button_press_event to two different
> callbacks. I've changed your code in order make things work as you have
> described.


It's quite alright to connect more than one callback to the same signal -- but 
you have to be careful about ordering and the return value.  If you return true 
from an event signal, that means "i handled the event, stop propagating it," so 
no more handler callbacks will be invoked.

+1 for the Gtk2::EVENT_PROPAGATE constant.


--
Aw, my lemon is empty.
  -- Yvonne, at dinner

_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to