pub fn toggle(&self) -> &Self {
        let (obj_data, funcs) = self.get_abstract_button_obj_funcs();
        unsafe {
            ((*funcs).toggle)(obj_data);
        }
        self
    }
///
/// Toggles the state of a checkable button.
///
/// **See also:** checked
///
/// This signal is emitted whenever a checkable button changes its state.
/// *checked* is true if the button is checked, or false if the button is
/// unchecked.
///
/// This may be the result of a user action, click() slot activation,
/// or because setChecked() is called.
///
/// The states of buttons in exclusive button groups are updated before this
/// signal is emitted. This means that slots can act on either the
/// signal or the signal emitted by the buttons in the group whose
/// states have changed.
///
/// For example, a slot that reacts to signals emitted by newly checked
/// buttons but which ignores signals from buttons that have been unchecked
/// can be implemented using the following pattern:
///
/// Button groups can be created using the QButtonGroup class, and
/// updates to the button states monitored with the
/// [QButtonGroup::buttonClicked()](QButtonGroup::buttonClicked())
/// signal.
///
/// **See also:** checked
/// [`clicked()`]
Toggles the state of a checkable button.
See also:** checked

This signal is emitted whenever a checkable button changes its state.
checked* is true if the button is checked, or false if the button is
unchecked.

This may be the result of a user action, click() slot activation,
or because setChecked() is called.

The states of buttons in exclusive button groups are updated before this
signal is emitted. This means that slots can act on either the
signal or the signal emitted by the buttons in the group whose
states have changed.

For example, a slot that reacts to signals emitted by newly checked
buttons but which ignores signals from buttons that have been unchecked
can be implemented using the following pattern.

Button groups can be created using the QButtonGroup class, and
updates to the button states monitored with the
[QButtonGroup::buttonClicked()](QButtonGroup::buttonClicked())
signal.

See also:** checked
[`clicked()`]
Toggles the state of a checkable button . See also : ** checked This signal is emitted whenever a checkable button changes its state . checked * is true if the button is checked or false if the button is unchecked . This may be the result of a user action click () slot activation or because setChecked () is called . The states of buttons in exclusive button groups are updated before this signal is emitted . This means that slots can act on either the signal or the signal emitted by the buttons in the group whose states have changed . For example a slot that reacts to signals emitted by newly checked buttons but which ignores signals from buttons that have been unchecked can be implemented using the following pattern . Button groups can be created using the QButtonGroup class and updates to the button states monitored with the [ QButtonGroup :: buttonClicked () ] ( QButtonGroup :: buttonClicked () ) signal . See also : ** checked [ ` clicked () ` ]
pub fn toggle(&self) -> &Self {
        let (obj_data, funcs) = self.get_abstract_button_obj_funcs();
        unsafe {
            ((*funcs).toggle)(obj_data);
        }
        self
    }
pub fn toggle ( & self ) -> & Self { let ( obj_data , funcs ) = self . get_abstract_button_obj_funcs ( ) ; unsafe { ( ( * funcs ) . toggle ) ( obj_data ) ; } self }
Toggles the state of a checkable button.
Toggles the state of a checkable button .
&self
&self