Re: Trouble attaching signal to items in a submenu



On Tuesday, March 2, 2004, at 11:57 PM, Torsten Schoenfeld wrote:

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.

you ought to be able to do Gtk2->get_current_event to get an event that has the button and time.


--
Jolt is my co-pilot.
  -- Slogan on a giant paper airplane hung in Lobby 7 at MIT.
     http://hacks.mit.edu/




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