On Thu, Mar 10, 2005 at 12:05:50PM -0400, André Pedralho wrote:
>
> if (the button of the mouse is being pressed over a button for 10 sec)
> then do a thing;
Take a look at the documentation on g_timeout_add() ;-)
When the button is pressed (that is in "button-pressed-event"
handler) set up time
is there a way to get the time that a signal is running!? eg. the
button of the mouse is being pressed for 10 sec!
if (the button of the mouse is being pressed over a button for 10 sec)
then do a thing;
in mouse case I think I can use the button "pressed" signal and the glib Timers!
What do you
On Wed, 2005-03-09 at 17:01 -0400, Andrà Pedralho wrote:
> I've heard about a gtk based app that implements some time
> interactions! e.g. one event occurs 10s from now! I think I'll develop
> something using this! ;)
> Someone knows if it is true? And how to do it?
It's indeed true.
Take a look
I've heard about a gtk based app that implements some time
interactions! e.g. one event occurs 10s from now! I think I'll develop
something using this! ;)
Someone knows if it is true? And how to do it?
thanks and let's play!
André Pedralho
___
gtk-app-d