Re: Gtk2::TextView

Daniel Kasak said:
Artūras Šlajus wrote:

Daniel Kasak wrote:

my $slist = $prospects->get_widget("Notes_SList");
my @selected = $slist->get_selected_indices;
my $note_txt = $slist->{data}[$selected[0]][3];

sanity check:  are you sure that $note_txt is set and non-empty?

What am I doing wrong?

everything seems ok.

looks okay to me, too.  the problem is most likely something small elsewhere
in your program and/or glade file.

are you sure you're getting the right widgets?

can you make it work outside of your app by using a textview by itself?

muppet <scott at asofyet dot org>

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