///
/// Returns the current state of the buttons on the mouse. The current state is
/// updated syncronously as the event queue is emptied of events that will
/// spontaneously change the mouse state (QEvent::MouseButtonPress and
/// QEvent::MouseButtonRelease events).
///
/// It should be noted this may not reflect the actual buttons held on the
/// input device at the time of calling but rather the mouse buttons as last
/// reported in one of the above events. If no mouse buttons are being held
/// Qt::NoButton is returned.
///
/// **See also:** [`keyboard_modifiers()`]
Returns the current state of the buttons on the mouse. The current state is
updated syncronously as the event queue is emptied of events that will
spontaneously change the mouse state (QEvent::MouseButtonPress and
QEvent::MouseButtonRelease events).

It should be noted this may not reflect the actual buttons held on the
input device at the time of calling but rather the mouse buttons as last
reported in one of the above events. If no mouse buttons are being held
Qt::NoButton is returned.


Returns the current state of the buttons on the mouse . The current state is updated syncronously as the event queue is emptied of events that will spontaneously change the mouse state ( QEvent :: MouseButtonPress and QEvent :: MouseButtonRelease events ) . It should be noted this may not reflect the actual buttons held on the input device at the time of calling but rather the mouse buttons as last reported in one of the above events . If no mouse buttons are being held Qt :: NoButton is returned .
pub fn mouse_buttons() -> MouseButtons {
        let (obj_data, funcs) = unsafe {
            (
                ::std::ptr::null(),
                (*((*rute_ffi_get()).get_gui_application)(::std::ptr::null()).all_funcs)
                    .gui_application_funcs,
            )
        };
        unsafe {
            let ret_val = ((*funcs).mouse_buttons)(obj_data);
            let ret_val = MouseButtons::from_bits_truncate(ret_val);
            ret_val
        }
    }
pub fn mouse_buttons ( ) -> MouseButtons { let ( obj_data , funcs ) = unsafe { ( :: std :: ptr :: null ( ) , ( * ( ( * rute_ffi_get ( ) ) . get_gui_application ) ( :: std :: ptr :: null ( ) ) . all_funcs ) . gui_application_funcs , ) } ; unsafe { let ret_val = ( ( * funcs ) . mouse_buttons ) ( obj_data ) ; let ret_val = MouseButtons :: from_bits_truncate ( ret_val ) ; ret_val } }
Returns the current state of the buttons on the mouse.
Returns the current state of the buttons on the mouse .