The second handler just won't work. ######################################### my $grp = Goo::Canvas::Rect->new( $root,100,100,50,70, 'fill-color-rgba' => 0x7f7fff7f, ); $grp->signal_connect('button_press_event',\&on_press_1); $grp->signal_connect('button_press_event',\&on_press_2); sub on_press_1 { print "on press 1\n"; return TRUE; } sub on_press_2 { print "on press 2\n"; return TRUE; } ######################################### Hotmail: Trusted email with Microsoft’s powerful SPAM protection. Sign up now. |