Widget.hasGrab
bool hasGrab()Determines whether the widget is currently grabbing events, so it is the only widget receiving input events (keyboard and mouse).
See also gtk.widget.Widget.grabAdd.
Returns
true if the widget is in the grab_widgets stack