pub fn buttons(&self) -> MouseButtons {
        let (obj_data, funcs) = self.get_tablet_event_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).buttons)(obj_data);
            let ret_val = MouseButtons::from_bits_truncate(ret_val);
            ret_val
        }
    }
///
/// Returns the button state when the event was generated. The button state is
/// a combination of buttons from the [Qt::MouseButton](Qt::MouseButton)
/// enum using the OR
/// operator. For [TabletMove](TabletMove)
/// events, this is all buttons that are pressed
/// down. For [TabletPress](TabletPress)
/// events this includes the button that caused the
/// event. For [TabletRelease](TabletRelease)
/// events this excludes the button that caused the
/// event.
///
/// **See also:** [`button()`]
/// [`t::mouse_button()`]
Returns the button state when the event was generated. The button state is
a combination of buttons from the [Qt::MouseButton](Qt::MouseButton)
enum using the OR
operator. For [TabletMove](TabletMove)
events, this is all buttons that are pressed
down. For [TabletPress](TabletPress)
events this includes the button that caused the
event. For [TabletRelease](TabletRelease)
events this excludes the button that caused the
event.


Returns the button state when the event was generated . The button state is a combination of buttons from the [ Qt :: MouseButton ] ( Qt :: MouseButton ) enum using the OR operator . For [ TabletMove ] ( TabletMove ) events this is all buttons that are pressed down . For [ TabletPress ] ( TabletPress ) events this includes the button that caused the event . For [ TabletRelease ] ( TabletRelease ) events this excludes the button that caused the event .
pub fn buttons(&self) -> MouseButtons {
        let (obj_data, funcs) = self.get_tablet_event_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).buttons)(obj_data);
            let ret_val = MouseButtons::from_bits_truncate(ret_val);
            ret_val
        }
    }
pub fn buttons ( & self ) -> MouseButtons { let ( obj_data , funcs ) = self . get_tablet_event_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . buttons ) ( obj_data ) ; let ret_val = MouseButtons :: from_bits_truncate ( ret_val ) ; ret_val } }
Returns the button state when the event was generated.
Returns the button state when the event was generated .
&self
&self