pub unsafe extern "C" fn widget_add_button_element(
    widget: *mut Widget,
    button_type: GuiButtonType,
    text: *const i8,
    callback: Option<unsafe extern "C" fn(GuiButtonType, InputType, *mut c_void)>,
    context: *mut c_void
)
Expand description

Add Button Element

@param widget Widget instance @param button_type GuiButtonType instance @param text text on allocated button @param callback ButtonCallback instance @param context pointer to context