Linking button handler to data structure
- From: Tom Jennings <tomj wps com>
- To: gtk-perl-list gnome org
- Subject: Linking button handler to data structure
- Date: Fri, 27 Dec 2002 16:18:04 -0800 (PST)
I'm an experienced programmer having trouble with my first real
Gtk/Perl program.
I've built a scrollable list of CheckButtons, each with the name
of some datum from an external source:
[ ] Item1
[ ] Item2
...
[ ] ItemN
I want all buttons to have the same handler, and to determine
which button was click by having the handler get the label text,
eg. "Item1" ... "ItemN".
I'm stumped -- how do I reference the Label text that I know is
attached with the CheckButton widget here?
Any hints appreciated.
tomj
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]