Re: [pygtk] Dynamic update

2011-10-14 Thread Arjan Molenaar
The observer pattern (publish/subscribe) comes to mind. Note that a GUI is an event driven system. You should somehow signal some GUI logic to do a redraw/update if the model (your network nodes) change. The most simple way is to let the nodes signal an event (call a function/method) that

Re: [pygtk] Dynamic update

2011-09-08 Thread Petr Kubánek
How you upgrade GUI? Is the code running GUI upgrades doing something? Are you upgrading GUI in a loop, idle method, in timers or in extra thread? Petr ravi ravi píše v St 07. 09. 2011 v 23:23 +0100: hello, I am developing a GUI using PYGTK. I am really puzzled on how to make my GUI update

[pygtk] Dynamic update

2011-09-07 Thread ravi ravi
hello, I am developing a GUI using PYGTK. I am really puzzled on how to make my GUI update dynamically. I am working on a networking project. I am representing each node in the network with an image. My GUI does not update when the number of nodes change during run time. Please help me out