Re: [gtk-list] a few questions...



On Sat, 11 Dec 1999 00:19:43 +0100, Antonio Campos <acampos@ceronet.com>  said:
> * How can I know that a button if being pressed continuously? I know
> that a
> button emits the "clicked" and "pressed" signals. But     how do I know
> that
> the user is holding the button pressed in a continuously way?. The
> arrows of
> scroll widgets allow this behavior, but I don't see a way to do this
> with
> the buttons.

The mouse is spring loaded.  If you see a "clicked", they pushed
down.  The instant you've see a release event, they've let go.

If they've pushed it down and havne't let go, they're holding it down.

Or so almost all X-based software believes.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]