has_grab


Description:

[ Version ( since = "2.18" ) ]
public bool has_grab ()

Determines whether the widget is currently grabbing events, so it is the only widget receiving input events (keyboard and mouse).

See also grab_add.

Parameters:

this

a Widget

Returns:

true if the widget is in the grab_widgets stack