///
/// Grabs the mouse input.
///
/// This widget receives all mouse events until releaseMouse() is
/// called; other widgets get no mouse events at all. Keyboard
/// events are not affected. Use grabKeyboard() if you want to grab
/// that.
///
/// **Warning**: Bugs in mouse-grabbing applications very often lock the
/// terminal. Use this function with extreme caution, and consider
/// using the `-nograb` command line option while debugging.
///
/// It is almost never necessary to grab the mouse when using Qt, as
/// Qt grabs and releases it sensibly. In particular, Qt grabs the
/// mouse when a mouse button is pressed and keeps it until the last
/// button is released.
///
/// **Note**: Only visible widgets can grab mouse input. If isVisible()
/// returns `false` for a widget, that widget cannot call grabMouse().
///
/// **Note**: On Windows, grabMouse() only works when the mouse is inside a window
/// owned by the process.
/// On MacOS , grabMouse() only works when the mouse is inside the frame of that widget.
///
/// **See also:** [`release_mouse()`]
/// [`grab_keyboard()`]
/// [`release_keyboard()`]
///
/// **Overloads** grabMouse()
/// Grabs the mouse input and changes the cursor shape.
///
/// The cursor will assume shape *cursor* (for as long as the mouse
/// focus is grabbed) and this widget will be the only one to receive
/// mouse events until releaseMouse() is called().
///
/// **Warning**: Grabbing the mouse might lock the terminal.
///
/// **Note**: See the note in QWidget::grabMouse().
///
/// **See also:** [`release_mouse()`]
/// [`grab_keyboard()`]
/// [`release_keyboard()`]
/// [`set_cursor()`]
Grabs the mouse input.
This widget receives all mouse events until releaseMouse() is
called; other widgets get no mouse events at all. Keyboard
events are not affected. Use grabKeyboard() if you want to grab
that.

Warning**: Bugs in mouse-grabbing applications very often lock the
terminal. Use this function with extreme caution, and consider
using the `-nograb` command line option while debugging.

It is almost never necessary to grab the mouse when using Qt, as
Qt grabs and releases it sensibly. In particular, Qt grabs the
mouse when a mouse button is pressed and keeps it until the last
button is released.

Note**: Only visible widgets can grab mouse input. If isVisible()
returns `false` for a widget, that widget cannot call grabMouse().

Note**: On Windows, grabMouse() only works when the mouse is inside a window
owned by the process.
On MacOS , grabMouse() only works when the mouse is inside the frame of that widget.



Overloads** grabMouse()
Grabs the mouse input and changes the cursor shape.

The cursor will assume shape *cursor* (for as long as the mouse
focus is grabbed) and this widget will be the only one to receive
mouse events until releaseMouse() is called().

Warning**: Grabbing the mouse might lock the terminal.

Note**: See the note in QWidget::grabMouse().


Grabs the mouse input . This widget receives all mouse events until releaseMouse () is called ; other widgets get no mouse events at all . Keyboard events are not affected . Use grabKeyboard () if you want to grab that . Warning ** : Bugs in mouse - grabbing applications very often lock the terminal . Use this function with extreme caution and consider using the ` - nograb ` command line option while debugging . It is almost never necessary to grab the mouse when using Qt as Qt grabs and releases it sensibly . In particular Qt grabs the mouse when a mouse button is pressed and keeps it until the last button is released . Note ** : Only visible widgets can grab mouse input . If isVisible () returns ` false ` for a widget that widget cannot call grabMouse () . Note ** : On Windows grabMouse () only works when the mouse is inside a window owned by the process . On MacOS grabMouse () only works when the mouse is inside the frame of that widget . Overloads ** grabMouse () Grabs the mouse input and changes the cursor shape . The cursor will assume shape * cursor * ( for as long as the mouse focus is grabbed ) and this widget will be the only one to receive mouse events until releaseMouse () is called () . Warning ** : Grabbing the mouse might lock the terminal . Note ** : See the note in QWidget :: grabMouse () .
pub fn grab_mouse(&self) -> &Self {
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            ((*funcs).grab_mouse)(obj_data);
        }
        self
    }
pub fn grab_mouse ( & self ) -> & Self { let ( obj_data , funcs ) = self . get_widget_obj_funcs ( ) ; unsafe { ( ( * funcs ) . grab_mouse ) ( obj_data ) ; } self }
Grabs the mouse input.
Grabs the mouse input .
&self