Re: GtkTextView getting iterators?



On Sat, 2003-08-30 at 23:12, Jacob Kolding wrote:
How do I obtain an iterator to a point in a GtkTextBuffer?
for instance to the current curser position?

From a quick scan of the api call gtk_text_buffer_get_insert which will
return the "insert" mark (which I think is the cursor), and then call
gtk_text_buffer_get_iter_at_mark on that mark.

iain
-- 
"Miss Celine Dion sings lovesongs while our cities burn"




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