Retrieving Gtk_Text Position
- From: Eric Meek <lukrani prodigy net>
- To: gtk-list redhat com
- Subject: Retrieving Gtk_Text Position
- Date: Mon, 16 Nov 1998 09:31:07 -0500
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));
---------------
Program received signal SIGSEGV, Segmentation fault.
gtk_type_check_object_cast (type_object=0x80730f0, cast_type=38165)
at gtktypeutils.c:600
(gdb)
---------------
Any ideas? Is there an easier way?
Eric
(btw, anyone happen to know where there's a good tutorial on using GDB?)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]