Re: Problems with Gtk::Text and set_pointer and Text widget questions

Hi everyone,

Am I just plain blind or is there something magic to this, but why don't
I see $text declared (my)? Forgetting that would produce the
'uninitialized value' error message. Perhaps you should s/widget/text/g;
(or vice versa) and try again?

mblanc erasme org wrote:

"Use of uninitialized value in subroutine entry at line 143"
sub button_press {
        my ($widget, $event) = @_;
        my $len = $text->get_length()-1;
#       $text->set_point($len);
#       $text->set_point($text->get_point());
#       $text->set_point(3);

Mikko Lipasti
mikko lipasti mo mailnet fi

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