Re: GtkTextView getting iterators?
- From: iain <iain prettypeople org>
- To: Jacob Kolding <jacob omnia dk>
- Cc: GTK <gtk-app-devel-list gnome org>
- Subject: Re: GtkTextView getting iterators?
- Date: Sat, 30 Aug 2003 23:41:12 +0100
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]