On Mon, May 28, 2001 at 06:05:51PM +0900, Patrik Sundberg wrote:
> I have an application using ruby-gtk which wants to update a CList every X
> seconds. I have found no good way of doing this, using a thread causes crappy
> updates since the gtk mainloop and the interpreter thread scheduler doesn't
> share very nicely. Do anyone have a solution for this problem?
 
 Have you tried with 'Gtk::timeout_add'?

 It allows you to define a periodic function. If you subclass CList, can
 link function for every instance automagically. You will have then a class
 MyClist with autoupdating capabilities ;)

 Hope this helps.

 					David