gtk4::subclass::cell_area

Trait CellAreaClassExt

Source
pub unsafe trait CellAreaClassExt: ClassStruct {
    // Provided methods
    fn find_cell_property(&self, property_name: &str) -> Option<ParamSpec> { ... }
    fn list_cell_properties(&self) -> Vec<ParamSpec> { ... }
}

Provided Methods§

Source

fn find_cell_property(&self, property_name: &str) -> Option<ParamSpec>

Finds a cell property of a cell area class by name.

§Deprecated since 4.10
§property_name

the name of the child property to find

§Returns

the GParamSpec of the child property

Source

fn list_cell_properties(&self) -> Vec<ParamSpec>

Returns all cell properties of a cell area class.

§Deprecated since 4.10
§Returns

a newly allocated None-terminated array of GParamSpec*. The array must be freed with g_free().

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§