[Gtk-sharp-list] Widgets not updating
Sun, 25 Apr 2004 09:23:23 +0800
On Sat, Apr 24, 2004 at 06:34:12PM +0200, Christian Rudh wrote:
> I am writing a networking client/server application. The client listens
> on a socket for messages. When a message arrives it adds text to a
> TreeStore (connected to a TreeView) and a TextView. Some of the times
> the text appears instantly in the widgets, but mostly not. Then it
> doesn't appear until I move the mouse over the widget, or click it.
> Is there som way to refresh these widgets (tried QueueDraw but that
> froze the widgets) manually or am I doing something wrong?
One small questions: are you using only one thread? (That is, do you
manipulate the TreeStore/TreeView from within the GUI thread?)
|\ _,,,--,,_ ,) firstname.lastname@example.org, http://segfault.net/~scut/pgp
/,`.-'`' -, ;-;;' 5453 AC95 1E02 FDA7 50D2 A42D 427E 6DEF 745A 8E07
_ |,4- ) )-,_ ) /\__________________________________________________________