Re: Problems with Gtk::Text and set_pointer and Text widget questions
- From: Mikko Lipasti <mikko lipsti mo mailnet fi>
- To: mblanc erasme org
- Cc: gtk-perl-list gnome org
- Subject: Re: Problems with Gtk::Text and set_pointer and Text widget questions
- Date: Tue, 14 Aug 2001 10:20:03 +0300
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 test2.pl 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]