grab


Description:

[ Version ( since = "1.10" ) ]
public void grab (Actor actor)

Acquires a grab on actor for the given this.

Any event coming from this will be delivered to actor, bypassing the usual event delivery mechanism, until the grab is released by calling ungrab.

The grab is client-side: even if the windowing system used by the Clutter backend has the concept of "device grabs", Clutter will not use them.

Only InputDevice of types POINTER_DEVICE and KEYBOARD_DEVICE can hold a grab.

Parameters:

this

a InputDevice

actor

a Actor




2022 vala-language.org