Re: [gtk-list] Problem with text widget
- From: robert havoc pennington <rhpennin midway uchicago edu>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Problem with text widget
- Date: Sun, 28 Jun 1998 18:21:22 -0500 (CDT)
On Mon, 29 Jun 1998, Daniel Dorau wrote:
>
> I have a problem wih the text widget. In a small sample program (attached)
> I want to create a text widget and insert text into it. It compiles ok
> but traps with:
>
> ** ERROR **: file gtktext.c: line 697 (gtk_text_insert):
> "GTK_WIDGET_REALIZED(text)"
> IOT trap/Abort
>
You need to realize the text widget before inserting text.
Just gtk_widget_realize(text) and you should be OK.
Havoc Pennington ==== http://pobox.com/~hp
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]