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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community 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 dialog.run
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
dialog.run if possible. Is there something I'm missing?

Farrel
This topic is locked and can not be replied to.