[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: gtktext problem
- From: Detlef Reichl <detlef reichl arcormail de>
- To: "HGS: Buchleitner Martin" <mb hgs at>
- Cc: "Gtk App (E-Mail)" <gtk-app-devel-list gnome org>
- Subject: Re: gtktext problem
- Date: 25 Oct 2001 21:29:07 +0200
Am Don, 2001-10-25 um 11.08 schrieb 1004000939:
> Hi !
>
> I am writing an chat client for some austrian clients.
> my current version is only a console client, but i want to
> use a gtk+ interface.
> i allready build an gtk+ interface with only a text widget to view
> the text and an entry widget.
> when i start the client it connects to the server and starts
> reading the data coming from the server.
>
> it should put this data into the text widget but :
> i am not able to see any output in this text widget.
> the application does not respond anymore.
>
> i use freeze() after creating the text widget.
> after each single line inserted by insert() i call thaw() to update the
> text widget.
gtk has to reach gtk_main() to process any updates, else it is blocked.
try to include
while(gtk_events_pending())
gtk_main_interation();
in a loop of your client. it prosesses all outstanding events
have a nice day
detlef
>
>
> thanks for help, martin
>
>
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]