pub type ButtonItemCallback = Option<unsafe extern "C" fn(context: *mut c_void, index: u32)>;
Callback type to call for handling selecting button_panel items