Re: signals



"Chris Garrett" <garrett91 hotmail com> wrote:

I want to change this behaviour so that the mouse does not have to be
moved for the next spray to take place (ie. I could hold the mouse
still and keep the mouse button pressed, and the airbrush would keep
spraying).

you have to add an gtk_timeout function when the mouse button gets
pressed and remove it, when the button is released.

for details look at the docs (tutorial and api reference).

re ...
clemens



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