public virtual signal bool long_press (Actor actor, LongPressState state)
The long_press signal is emitted during the long press gesture handling.
This signal can be emitted multiple times with different states.
The QUERY state will be emitted on button presses, and its
return value will determine whether the long press handling should be initiated. If the signal handlers will return
QUERY state will be followed either by a signal emission with the
ACTIVATE state if the long press constraints were respected,
or by a signal emission with the CANCEL state if the long press
It is possible to forcibly cancel a long press detection using release .
the Actor attached to the
the long press state
Only the QUERY state uses the returned value of the handler; other states will ignore it