Problems with Gtk::List

  • Thread starter Guenther Sohler
  • Start date
G

Guenther Sohler

I have programmed a small application with Gtk::List
and Gtk::Clist respecively

I I have a graphical vertical list of labels, which I can select.
But during the callback function of "selection_changed" I did not
find out any possibility to get the text or the index of the selection

my approach so far is


my ( $gtklist, $frame, $event ) = @_;
my @dlist = $gtklist->selection;
my $item;
foreach $item (@dlist)
{
}

How do I get the text from $item ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,573
Members
45,046
Latest member
Gavizuho

Latest Threads

Top