From: Phlip Date: 2001-12-16T04:34:27+09:00 Subject: [ruby-talk:28640] Re: GUI testing with GTK? Massimiliano Mirra wrote: > I see GTK::Widget has got an add_events(events) method. I believed it > was a way to add events to the widget's queue, including clicks and > other user actions, so I rejoiced. > > But either I misinterpreted it or I cannot guess how to use it. From > the following code snippet, I would expect that the window would close > after two seconds, which it does not. I test Tkinter at work by building a GUI, putting data in it, sampling that data back, and then not calling 'mainloop'. Does this trick work with GTK? -- Phlip phlip_cpp@yahoo.com http://www.greencheese.org/Phlip -- Got in trouble at StarBucks. I tried to order "A double latte mocha and a body piercing." --