Re: Problem with using gtk_text_insert
- From: Havoc Pennington <hp redhat com>
- To: Yuushi <sakura texas net>
- Cc: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: Problem with using gtk_text_insert
- Date: 17 Jul 2001 23:10:31 -0400
Yuushi <sakura texas net> writes:
I have a window with a button and a textbox (txtInput)
When I try to use the following inside the button_clicked event
gtk_text_insert (GTK_TEXT (txtInput), NULL, NULL, NULL, "Insert
Text Dangit", -1);
I get the following error (I run my app from a terminal window to see the
errors)
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkText'
Gtk-CRITICAL **: file gtktext.c: line 953 (gtk_text_insert):
assertion `text != NULL' failed.
The warning means that txtInput == NULL, for some reason.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]