[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: implementing a CDPlayer fast forward button
- From: Matt Goodall <mgg isotek co uk>
- To: gtk-app-devel-list redhat com
- Subject: Re: implementing a CDPlayer fast forward button
- Date: Thu, 24 Feb 2000 09:48:20 +0000
"Jeff W." wrote:
> on a cdplayer, you hold down the fast forward button and it continuously
> advances by several seconds at a time. So I tried putting code to do
> just that in a "on_btnFF_pressed" event. But when I do that, it only
> advances once, not continuously. How can I make it so that while I'm
> holding down on a button, the code within that function keeps being
> executed, until I let go of the button? Thanks.
You'll probably need to start a timeout or thread when the button is
pressed and stop the timeout (or thread) when the button is released.
HTH
Cheers, Matt.
--
Matt Goodall | Isotek Electronics Ltd
email: mgg@isotek.co.uk | Claro House, Servia Road
Tel: +44 113 2343202 | Leeds, LS7 1NL
Fax: +44 113 2342918 | England
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]