pub fn add_button<A: AbstractButtonTrait<'a>>(&self, arg0: &A, id: i32) -> &Self {
        let (obj_arg0_1, _funcs) = arg0.get_abstract_button_obj_funcs();

        let (obj_data, funcs) = self.get_button_group_obj_funcs();
        unsafe {
            ((*funcs).add_button)(obj_data, obj_arg0_1, id);
        }
        self
    }
///
/// Adds the given *button* to the button group. If *id* is -1,
/// an id will be assigned to the button.
/// Automatically assigned ids are guaranteed to be negative,
/// starting with -2. If you are assigning your own ids, use
/// positive values to avoid conflicts.
///
/// **See also:** [`remove_button()`]
/// [`buttons()`]
Adds the given *button* to the button group. If *id* is -1,
an id will be assigned to the button.
Automatically assigned ids are guaranteed to be negative,
starting with -2. If you are assigning your own ids, use
positive values to avoid conflicts.


Adds the given * button * to the button group . If * id * is - 1 an id will be assigned to the button . Automatically assigned ids are guaranteed to be negative starting with - 2 . If you are assigning your own ids use positive values to avoid conflicts .
pub fn add_button<A: AbstractButtonTrait<'a>>(&self, arg0: &A, id: i32) -> &Self {
        let (obj_arg0_1, _funcs) = arg0.get_abstract_button_obj_funcs();
        let (obj_data, funcs) = self.get_button_group_obj_funcs();
        unsafe {
            ((*funcs).add_button)(obj_data, obj_arg0_1, id);
        }
        self
    }
pub fn add_button < A : AbstractButtonTrait < ' a > > ( & self , arg0 : & A , id : i32 ) -> & Self { let ( obj_arg0_1 , _funcs ) = arg0 . get_abstract_button_obj_funcs ( ) ; let ( obj_data , funcs ) = self . get_button_group_obj_funcs ( ) ; unsafe { ( ( * funcs ) . add_button ) ( obj_data , obj_arg0_1 , id ) ; } self }
Adds the given *button* to the button group.
Adds the given * button * to the button group .
&self
arg0
&A
id
i32
&self
arg0
&A
id
i32