[9740] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Strangeness with gtk_text_set_point

daemon@ATHENA.MIT.EDU (Lee)
Sun Nov 1 08:54:03 1998

Date: Sun, 01 Nov 1998 14:02:31 +0000
From: Lee <drazka@geocities.com>
To: gtk-list@redhat.com
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

Hi all,

I've noticed some stange behaviour when using gtk_text_set_point on a
text area widget...

What I'm trying to do is insert some text by clicking a button, and then
move the cursor to the middle of that text. (I could detail why, but
that would be dull, and not really necessary:).

When using gtk_text_set_point to do so, it most definately *does* change
the insertion point of the text area. However, what it does *not* seem
to do, is actually change the visible cursor position.

So I'm a bit confused - i want to change the insertion point *and* where
the cursor is, but that doesn't seem to be possible, from reading
through the tutorial...

Does anyone know of any solutions to my problem?

Regards,

Lee.

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post