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§

source

fn add_with_properties( &self, renderer: &impl IsA<CellRenderer>, properties: &[(&str, &dyn ToValue)] )

source

fn cell_get_value( &self, renderer: &impl IsA<CellRenderer>, property_name: &str ) -> Value

source

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.

source

fn cell_set( &self, renderer: &impl IsA<CellRenderer>, property_name: &str, value: &dyn ToValue )

Implementors§