///
/// Grabs the keyboard input.
///
/// This widget receives all keyboard events until releaseKeyboard()
/// is called; other widgets get no keyboard events at all. Mouse
/// events are not affected. Use grabMouse() if you want to grab that.
///
/// The focus widget is not affected, except that it doesn't receive
/// any keyboard events. setFocus() moves the focus as usual, but the
/// new focus widget receives keyboard events only after
/// releaseKeyboard() is called.
///
/// If a different widget is currently grabbing keyboard input, that
/// widget's grab is released first.
///
/// **See also:** [`release_keyboard()`]
/// [`grab_mouse()`]
/// [`release_mouse()`]
/// [`focus_widget()`]
Grabs the keyboard input.
This widget receives all keyboard events until releaseKeyboard()
is called; other widgets get no keyboard events at all. Mouse
events are not affected. Use grabMouse() if you want to grab that.

The focus widget is not affected, except that it doesn't receive
any keyboard events. setFocus() moves the focus as usual, but the
new focus widget receives keyboard events only after
releaseKeyboard() is called.

If a different widget is currently grabbing keyboard input, that
widget's grab is released first.


Grabs the keyboard input . This widget receives all keyboard events until releaseKeyboard () is called ; other widgets get no keyboard events at all . Mouse events are not affected . Use grabMouse () if you want to grab that . The focus widget is not affected except that it doesn ' t receive any keyboard events . setFocus () moves the focus as usual but the new focus widget receives keyboard events only after releaseKeyboard () is called . If a different widget is currently grabbing keyboard input that widget ' s grab is released first .
pub fn grab_keyboard(&self) -> &Self {
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            ((*funcs).grab_keyboard)(obj_data);
        }
        self
    }
pub fn grab_keyboard ( & self ) -> & Self { let ( obj_data , funcs ) = self . get_widget_obj_funcs ( ) ; unsafe { ( ( * funcs ) . grab_keyboard ) ( obj_data ) ; } self }
Grabs the keyboard input.
Grabs the keyboard input .
&self