> >> 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. >
Many thanks to both Kevin and Muppet for the explanation about the propogation of events. Very handy stuff to know. _______________________________________________ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list