pub type cef_button_delegate_t = _cef_button_delegate_t;Expand description
Implement this structure to handle Button events. The functions of this structure will be called on the browser process UI thread unless otherwise indicated.
NOTE: This struct is allocated client-side.
Aliased Type§
#[repr(C)]pub struct cef_button_delegate_t {
pub base: _cef_view_delegate_t,
pub on_button_pressed: Option<unsafe extern "C" fn(*mut _cef_button_delegate_t, *mut _cef_button_t)>,
pub on_button_state_changed: Option<unsafe extern "C" fn(*mut _cef_button_delegate_t, *mut _cef_button_t)>,
}Fields§
§base: _cef_view_delegate_tBase structure.
Called when |button| is pressed.
Called when the state of |button| changes.