Trait gtk4::prelude::CellAreaExtManual
source · [−]pub trait CellAreaExtManual {
fn add_with_properties(
&self,
renderer: &impl IsA<CellRenderer>,
properties: &[(&str, &dyn ToValue)]
);
fn cell_get_value(
&self,
renderer: &impl IsA<CellRenderer>,
property_name: &str
) -> Value;
fn cell_get<V: for<'b> FromValue<'b> + 'static>(
&self,
renderer: &impl IsA<CellRenderer>,
property_name: &str
) -> V;
fn cell_set(
&self,
renderer: &impl IsA<CellRenderer>,
property_name: &str,
value: &dyn ToValue
);
}
Expand description
Trait containing manually implemented methods of CellArea
.
Required Methods
sourcefn add_with_properties(
fn add_with_properties(
&self,
renderer: &impl IsA<CellRenderer>,
properties: &[(&str, &dyn ToValue)]
)
sourcefn cell_get_value(
fn cell_get_value(
&self,
renderer: &impl IsA<CellRenderer>,
property_name: &str
) -> Value
Similar to Self::cell_get_value
but panics if the value is of a different type.