[gtk-list] Re: Retrieving Gtk_Text Position
- From: Marc <marc upr41 univ-rennes1 fr>
- To: gtk-list <gtk-list redhat com>
- Subject: [gtk-list] Re: Retrieving Gtk_Text Position
- Date: Wed, 18 Nov 1998 16:49:54 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]