Re: [gtk-list] Problem with Text widget
- From: Didimo Emilio Grimaldo Tunon <emilio_tunon nl compuware com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Problem with Text widget
- Date: Mon, 6 Jul 1998 09:16:27 +0200 (METDST)
> 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
>
the message kind of gives a hint but it's still vague, by that
I mean it is not specific, it can mean "widget has been realized"
or "widget has not been realized". Well, that's what I learned
in a course about "effective communication" ;-)
>
> Daniel Dorau woodst@cs.tu-berlin.de
For what I see in the code you create the widget, do some things
with it, insert the text and *then* realize it (show_widget), that
I know you must first realize it (show) and only *then* insert
text into it.
Regards,
Emilio
--
D. Emilio Grimaldo Tunon Compuware Europe B.V. (Uniface Lab)
Software Engineer Amsterdam, The Netherlands
emilio_tunon@nl.compuware.com Tel. +31 (0)20 3116 200 ext. 413
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]