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

Showing a specific part of a GtkText



I have a GtkText with a vertical scrollbar. The GtkText contains
a lot of text. At one point, I need to make sure that a word
at index N in the text buffer is shown in the displayed window.

gtk_text_set_point() sets the insertion point, but it does not
bring the text at the specified position into the displayed window.
gtk_editable_select_region() is not the right function either.

Any ideas?

-- 
Pierre Sarrazin <sarrazip@sympatico.ca>



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