last visible word in a Gtk2::TextView
- From: James Muir <hemlock vtlink net>
- To: gtk-perl-list gnome org
- Subject: last visible word in a Gtk2::TextView
- Date: Tue, 30 Aug 2005 20:35:30 -0400
Hi All,
How do I determine the last visible word in a Gtk2::TextView ? I think I
can get to the last visible line as follows:
my $rect = $textview->get_visible_rect();
my $iter = $textview->get_line_at_y($rect->y + $rect->height);
but I'm not sure how to get to the last word on the line. Also, what is
the 'line_top' returned by get_line_at_y ?
-James
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]