RE: [gtk-list] Problem with Text widget
- From: Evan Lawrence <evan worldpath net>
- To: Daniel Dorau <wds woodst isdn cs tu-berlin de>
- Cc: gtk-list redhat com
- Subject: RE: [gtk-list] Problem with Text widget
- Date: Sun, 05 Jul 1998 20:25:01 -0000 (???)
You need to realize the text widget before you insert text into it, so
basically this means putting a gtk_widget_realize (text); or a
gtk_widget_show (text); before the gtk_text_insert()...
On 05-Jul-98 Daniel Dorau wrote:
>
> 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
--
Evan Lawrence
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]