[Gtk-sharp-list] Hover to click problem
Fri, 17 Oct 2003 19:08:16 -0700
On October 17, 2003 06:44 pm, Mike Kestner wrote:
> 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.
Its for an application that will be controlled by an eye tracking system.
One way clicks are done with such a system is by hovering over buttons for
a couple seconds. You're right of course, its no good for a normal
I'll check out the timeout class though. Thanks for the tip.