Trait gtk4::prelude::CellAreaExtManual
source · pub trait CellAreaExtManual {
// Required methods
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§
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
sourcefn cell_get<V: for<'b> FromValue<'b> + 'static>(
&self,
renderer: &impl IsA<CellRenderer>,
property_name: &str
) -> V
fn cell_get<V: for<'b> FromValue<'b> + 'static>( &self, renderer: &impl IsA<CellRenderer>, property_name: &str ) -> V
Similar to Self::cell_get_value
but panics if the value is of a different type.