pub fn group(&self) -> Option<ButtonGroup> {
        let (obj_data, funcs) = self.get_abstract_button_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).group)(obj_data);
            if ret_val.qt_data == ::std::ptr::null() {
                return None;
            }
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = ButtonGroup::new_from_rc(t);
            } else {
                ret_val = ButtonGroup::new_from_owned(t);
            }
            Some(ret_val)
        }
    }
///
/// Returns the group that this button belongs to.
///
/// If the button is not a member of any QButtonGroup, this function
/// returns 0.
///
/// **See also:** [`ButtonGroup`]
Returns the group that this button belongs to.
If the button is not a member of any QButtonGroup, this function
returns 0.


Returns the group that this button belongs to . If the button is not a member of any QButtonGroup this function returns 0 .
pub fn group(&self) -> Option<ButtonGroup> {
        let (obj_data, funcs) = self.get_abstract_button_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).group)(obj_data);
            if ret_val.qt_data == ::std::ptr::null() {
                return None;
            }
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = ButtonGroup::new_from_rc(t);
            } else {
                ret_val = ButtonGroup::new_from_owned(t);
            }
            Some(ret_val)
        }
    }
pub fn group ( & self ) -> Option < ButtonGroup > { let ( obj_data , funcs ) = self . get_abstract_button_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . group ) ( obj_data ) ; if ret_val . qt_data == :: std :: ptr :: null ( ) { return None ; } let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = ButtonGroup :: new_from_rc ( t ) ; } else { ret_val = ButtonGroup :: new_from_owned ( t ) ; } Some ( ret_val ) } }
Returns the group that this button belongs to.
Returns the group that this button belongs to .
&self
&self