///
/// If the button has no text, the text() function will return an empty
/// string.
///
/// If the text contains an ampersand character ('&'), a shortcut is
/// automatically created for it. The character that follows the '&' will
/// be used as the shortcut key. Any previous shortcut will be
/// overwritten or cleared if no shortcut is defined by the text. See the
/// [QShortcut](QShortcut%23mnemonic)
/// documentation for details. To
/// display an actual ampersand, use '&&'.
///
/// There is no default text.
If the button has no text, the text() function will return an empty
string.

If the text contains an ampersand character ('&'), a shortcut is
automatically created for it. The character that follows the '&' will
be used as the shortcut key. Any previous shortcut will be
overwritten or cleared if no shortcut is defined by the text.

There is no default text.
If the button has no text the text () function will return an empty string . If the text contains an ampersand character ( ' & ' ) a shortcut is automatically created for it . The character that follows the ' & ' will be used as the shortcut key . Any previous shortcut will be overwritten or cleared if no shortcut is defined by the text . There is no default text .
pub fn text(&self) -> String {
        let (obj_data, funcs) = self.get_abstract_button_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).text)(obj_data);
            let ret_val = CStr::from_ptr(ret_val).to_string_lossy().into_owned();
            ret_val
        }
    }
pub fn text ( & self ) -> String { let ( obj_data , funcs ) = self . get_abstract_button_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . text ) ( obj_data ) ; let ret_val = CStr :: from_ptr ( ret_val ) . to_string_lossy ( ) . into_owned ( ) ; ret_val } }
If the button has no text, the text() function will return an empty
string.
If the button has no text the text () function will return an empty string .
&self