gtk::grab_get_current

gtk::grab_get_current

GtkWidget gtk::grab_get_current (void);

Returns the widget which currently has the keyboard grab. NULL is returned if there is no active grab.

Widgets can grab the pointer and keyboard away from other widgets. This essentially means that the widget becomes "modal"; input goes only to that widget, and the focus can't be changed to another widget. A typical reason to grab input is to create a modal dialog; if a window has the grab, interaction with other windows is blocked.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.