Main.grabAdd

Makes widget the current grabbed widget. This means that interaction with other widgets in the same application is blocked and mouse as well as keyboard events are delivered to this widget. If widget is not sensitive, it is not set as the current grabbed widget and this function does nothing.

class Main
static
void
grabAdd

Parameters

widget Widget

The widget that grabs keyboard and pointer events

Meta