[][src]Function orbtk_api::properties::get_property_or_value

pub fn get_property_or_value<T>(
    key: &str,
    entity: Entity,
    store: &StringComponentStore,
    value: T
) -> T where
    T: Clone + Component

Returns the value of a property of a widget if it exists otherwise the given value.