[Gtk-sharp-list] Hover to click problem

Mike Kestner mkestner@speakeasy.net
Fri, 17 Oct 2003 20:44:46 -0500


On Fri, 2003-10-17 at 18:43, Leo Spalteholz wrote:
> Hi everyone,
> I'm trying to write an application that will click a button if the mouse 
> hovers over it for 2 seconds.

Can't imagine why you would want to do that to your users. If you really
want to, you have to make updates to the gui from the gui thread, so you
can't call Application.Quit() from a separate thread.  You might want to
take a look at Gtk.Timeout.Add () to do timeouts within the gui thread.

-- 
Mike Kestner <mkestner@speakeasy.net>