GtkTextView : how many lines currently visible?



Hi all,

I'm using a GtkTextView widget and I'd like to know things like:

  - How many lines are currently visible
  - What line in the GtkTextBuffer is the top visible line in
    the window.

Anyone have any tips?

TIA,
Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo
+-----------------------------------------------------------+
Pastafarianism : http://www.venganza.org/
The intelligent alternative to 'Intelligent Design'.



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