Problem with text widget




Hello there,

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

I'm using gtk 1.04. What did I made wrong?

Daniel Dorau                                          woodst@cs.tu-berlin.de 
---------------------------------------------------------------------------- 
    "If a train stops at a trainstation, what happens at a workstation?"     
---------------------------------------------------------------------------- 
PGP key available on http://www.cs.tu-berlin.de/~woodst/mypgpkey.html        
or send mail with 'Subject: send pgp key'                                    
fingerprint: 8D 7E 0B 2F 9E 2E 53 38  DB 7B 24 74 2E 8B 2E AE                



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]