[pygtk] refreshing a GtkList

James Henstridge james@daa.com.au
Sun, 25 Jun 2000 00:00:43 +0800 (WST)


On Sat, 24 Jun 2000, Fermin Martinez wrote:

> hi everybody there!
> 
> I'm trying to make a GtkList at run time but i doesn't get refreshed. I've tryed
> with update bur it doesn't seems to work. Wich is the correct way to update de
> GtkList???

You can make sure that the list is redrawn with the
queue_redraw() function.  This will cause the list to be redrawn when
control is passed back to the mainloop (ie. when the signal handler/idle
function/whatever finishes).

> 
> thanks
> 

James.

-- 
Email: james@daa.com.au
WWW:   http://www.daa.com.au/~james/