Widget.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.

class Widget
bool
hasGrab
()

Return Value

Type: bool

true if the widget is in the grab_widgets stack