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

_______________________________________________
gtk-perl-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to