in reply to GTK2+glade and knowing who called
What tutorial are you following?
What is in @_? Is it not the button and event?
You can always interrogate the event object and find the button that called it, see Gtk2::Entry scroll-event/Re^3: Gtk2::Entry scroll-event, Gtk2-Perl: How to catch shift-clicking of a button?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: GTK2+glade and knowing who called
by ultibuzz (Monk) on Jan 22, 2013 at 10:06 UTC | |
by Anonymous Monk on Jan 22, 2013 at 10:18 UTC | |
by roboticus (Chancellor) on Jan 22, 2013 at 11:16 UTC | |
by Anonymous Monk on Jan 22, 2013 at 11:44 UTC | |
by roboticus (Chancellor) on Jan 22, 2013 at 13:07 UTC | |
by ultibuzz (Monk) on Jan 22, 2013 at 11:40 UTC | |
by Anonymous Monk on Jan 22, 2013 at 12:16 UTC | |
by ultibuzz (Monk) on Jan 22, 2013 at 12:36 UTC | |
|