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.
https://signup.live.com/signup.aspx?id=60969
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to