Re: [gtkmm] How to set visible cursor position



You can use place_cursor to move the cursor,

http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1TextBuffer.html#1dff95f7dc9ea889a25596a87b2f8c35

And one of the scroll_to methods to move the view.

http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1TextView.html#205933049cd72f91cb3d5bb2ca4b3228

Rob.

On 02/03/06, DarkDragon <darkdragon ghost pl> wrote:
> I'd like to pass the TextView's TextBuffer word by word,
> placeing the cursor and view to current word and tagging it red.
> Is there an example of doing such a thing? I managed to do tagging and
> iterating
> word by word, but do not know how to change cursor and view position.
> Any help wold be appreciated:)
>
> Pawel Jablonski
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>



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