[10242] in The GTK GIMP ToolKit mailing list archive

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

[gtk-list] Re: Retrieving Gtk_Text Position

daemon@ATHENA.MIT.EDU (Marc)
Wed Nov 18 10:52:12 1998

Date: Wed, 18 Nov 1998 16:49:54 +0100
From: Marc <marc@upr41.univ-rennes1.fr>
To: gtk-list <gtk-list@redhat.com>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

Eric Meek wrote:
> 
> I'm trying to receive the position of the cursor in a Gtk_Text widget. I get
> the following error while doing so.
> 
> ---------------
> gint position;
> position = gtk_editable_get_position(GTK_EDITABLE(textbox));

What about  
     position = GTK_EDITABLE (textbox)->current_pos; ?

-- 
Marc
** ERROR **: sigsegv caught

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


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