[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Trouble attaching signal to items in a submenu



On Wed, 2004-03-03 at 05:19, Lee Aylward wrote:

> That spits out:
> 
>     ***   Can't call method "button" on an undefined value at 
> ./yarssr.pl line 148.
>     ***  ignoring at ./yarssr.pl line 60.
> 
> and the menu will not popup.

Yeah, just like clicked, released isn't passed an event.  Instead of
$event->button and $event->time you can simply use "1" (or whatever
mouse button you want to trigger the popup) and "0" (meaning "now", as
muppet said), though.

Bye,
-Torsten




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]