widget_add_button_element

Function widget_add_button_element 

Source
pub unsafe extern "C" fn widget_add_button_element(
    widget: *mut Widget,
    button_type: GuiButtonType,
    text: *const c_char,
    callback: ButtonCallback,
    context: *mut c_void,
)
Expand description

Add Button Element

ยงArguments

  • widget - Widget instance
  • button_type - GuiButtonType instance
  • text - text on allocated button
  • callback - ButtonCallback instance
  • context - pointer to context