Forum: Ruby Gtk:::Dialog#run blocks updates

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Farrel Lifson (Guest)
on 2006-06-13 15:54
(Received via mailing list)
Hi all,

I'm busy using Ruby/GTK to popup a window showing a progress bar. The
Gtk::ProgressBar object is inside a Gtk::Dialog. I run the dialog in
one thread and then update it's progress in another (calling
progressBar.set_fraction(progress)). However when I used
the progress bar does not update. When I run the dialog using
'dialog.show_all;Gtk.main' it works fine. I would prefer to use if possible. Is there something I'm missing?

This topic is locked and can not be replied to.