Re: item factories revisited
- From: muppet <scott asofyet org>
- To: gavin brown uk com
- Cc: gtk-perl-list gnome org
- Subject: Re: item factories revisited
- Date: Tue, 5 Aug 2003 22:34:18 -0400
On Tuesday, August 5, 2003, at 05:42 PM, Gavin Brown wrote:
I would be grateful if people on the list could test this script and
tell me if they see the following:
found the problem...
> $button->signal_connect('clicked', sub { $menu->popup(undef, undef,
undef, undef, $button, undef) });
the button that $menu->popup wants is not a Gtk2::Button --- it's the
number of the mouse button that the menu should track!
if you change that line to
$button->signal_connect('clicked', sub { $menu->popup(undef, undef,
undef, undef, 1, undef) });
then all the submenu events come through.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]