From: Neil Conway Date: 2001-11-27T10:31:48+09:00 Subject: [ruby-talk:26585] Re: [GTK] No refresh until mouse on window On Mon, 2001-11-26 at 19:10, Massimiliano Mirra wrote: > In the following example, some text is inserted in a Gtk::Text widget > from outside. However, the widget content is not refreshed until the > mouse pointer passes on its window. Is there any way to force instant > refresh? [ snip code ] > text.insert_text("hello", 0) if line.chomp == 'insert' text.queue_draw This fixes it for me (as for _why_ it works... good question ;-) ). Cheers, Neil -- Neil Conway PGP Key ID: DB3C29FC