pub trait CellAreaExtManual {
    // Required methods
    fn add_with_properties(
        &self,
        renderer: &impl IsA<CellRenderer>,
        properties: &[(&str, &dyn ToValue)]
    );
    fn activate_cell(
        &self,
        widget: &impl IsA<Widget>,
        renderer: &impl IsA<CellRenderer>,
        event: &impl AsRef<Event>,
        cell_area: &Rectangle,
        flags: CellRendererState
    ) -> bool;
    fn event(
        &self,
        context: &impl IsA<CellAreaContext>,
        widget: &impl IsA<Widget>,
        event: &impl AsRef<Event>,
        cell_area: &Rectangle,
        flags: CellRendererState
    ) -> i32;
    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 activate_cell( &self, widget: &impl IsA<Widget>, renderer: &impl IsA<CellRenderer>, event: &impl AsRef<Event>, cell_area: &Rectangle, flags: CellRendererState ) -> bool

source

fn event( &self, context: &impl IsA<CellAreaContext>, widget: &impl IsA<Widget>, event: &impl AsRef<Event>, cell_area: &Rectangle, flags: CellRendererState ) -> i32

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§