Re: GTK2 hangs or does not updates

2010-06-24 Thread Martin Schlemmer
On 2010/06/22 at 04:08 PM, PS kali...@gmail.com wrote: Hi I attached my small program Not sure if you wanted it posted to the list, but the problem is with two threads accessing Gtk2. Changed it to use an idle handler, but you can also use a timeout handler. Here though it does not

Re: GTK2 hangs or does not updates

2010-06-24 Thread PS
I really want to tank you all, using the Glib::Timeout-add function the updates has been done ok. I will check the program changes, but know it is working fine. You are great support friends. 2010/6/23 Martin Schlemmer martin.schlem...@nwu.ac.za On 2010/06/22 at 04:08 PM, PS

Re: GTK2 hangs or does not updates

2010-06-23 Thread PS
Thanks, I will read the documentation and I will try it. 2010/6/22 Kevin Ryde use...@zip.com.au PS kali...@gmail.com writes: one if for catching the time Glib::Timeout-add will give you a call back when some time has elapsed (documented in Glib::MainLoop), it's a good way to freshen a

Re: GTK2 hangs or does not updates

2010-06-23 Thread PS
Currently I am looking into the http://gtk2-perl.sourceforge.net/doc/pod/documentation, but some things are not clear, I now this Gtk2 was developed for C, where to get more information about Gtk2, because the gtk2-perl info is not as good as I think it should be. Regards 2010/6/23 PS

Re: GTK2 hangs or does not updates

2010-06-22 Thread Martin Schlemmer
On 2010/06/22 at 04:32 AM, PS kali...@gmail.com wrote: Hi, Currently I am introducing myself to the perl-gtk GUI programming. My first program is a dashboard that should update every minute, it can update a couple times but no more, the main GTK windows hangs and no more updates are

Re: GTK2 hangs or does not updates

2010-06-22 Thread Kevin Ryde
PS kali...@gmail.com writes: one if for catching the time Glib::Timeout-add will give you a call back when some time has elapsed (documented in Glib::MainLoop), it's a good way to freshen a display if you have to poll (rather than listening for events or inputs).

GTK2 hangs or does not updates

2010-06-21 Thread PS
Hello! Currently I am introducing myself to the perl-gtk GUI programming. My first program is a dashboard that should update every minute, it can update a couple times but no more, the main GTK windows hangs and no more updates are possible. The main thread is the GUI and has two secondary