[Gtk-sharp-list] Widgets not updating
Sun, 25 Apr 2004 10:53:39 +0200
I do not manually start any threads in the code.
When the program starts I simply create a new object (the main client
object) and run both Application.Init(), and then som initialization
like glade-stuff, and then Application.Rudh(). Then the client is idle
until the user clicks a connect button. From the method that is called
by the click a call another metod that is the listener method, and there
I wait for new messages on the socket.
I tried to manually create a new thread in the click-receiving method
and send that to the listening method, but that didn't make any
Thanks for the help,
On Sun, 2004-04-25 at 03:23, Sebastian wrote:
> Hi Christian,
> 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?)
> > /Christian