obs_property_clicked_t

Type Alias obs_property_clicked_t 

Source
pub type obs_property_clicked_t = Option<unsafe extern "C" fn(props: *mut obs_properties_t, property: *mut obs_property_t, data: *mut c_void) -> bool>;
Expand description

Callback for when a button property is clicked. If the properties need to be refreshed due to changes to the property layout, return true, otherwise return false.

Aliased Type§

pub enum obs_property_clicked_t {
    None,
    Some(unsafe extern "C" fn(*mut obs_properties, *mut obs_property, *mut c_void) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut obs_properties, *mut obs_property, *mut c_void) -> bool)

Some value of type T.