pub trait CellRendererImpl: CellRendererImplExt + ObjectImpl {
    // Provided methods
    fn activate<P: IsA<Widget>>(
        &self,
        renderer: &Self::Type,
        event: Option<&Event>,
        widget: &P,
        path: &str,
        background_area: &Rectangle,
        cell_area: &Rectangle,
        flags: CellRendererState
    ) -> bool { ... }
    fn editing_canceled(&self, renderer: &Self::Type) { ... }
    fn editing_started(
        &self,
        renderer: &Self::Type,
        editable: &CellEditable,
        path: &str
    ) { ... }
    fn aligned_area<P: IsA<Widget>>(
        &self,
        renderer: &Self::Type,
        widget: &P,
        flags: CellRendererState,
        cell_area: &Rectangle
    ) -> Rectangle { ... }
    fn preferred_height_for_width<P: IsA<Widget>>(
        &self,
        renderer: &Self::Type,
        widget: &P,
        width: i32
    ) -> (i32, i32) { ... }
    fn preferred_height<P: IsA<Widget>>(
        &self,
        renderer: &Self::Type,
        widget: &P
    ) -> (i32, i32) { ... }
    fn preferred_width_for_height<P: IsA<Widget>>(
        &self,
        renderer: &Self::Type,
        widget: &P,
        height: i32
    ) -> (i32, i32) { ... }
    fn preferred_width<P: IsA<Widget>>(
        &self,
        renderer: &Self::Type,
        widget: &P
    ) -> (i32, i32) { ... }
    fn request_mode(&self, renderer: &Self::Type) -> SizeRequestMode { ... }
    fn snapshot<P: IsA<Widget>>(
        &self,
        renderer: &Self::Type,
        snapshot: &Snapshot,
        widget: &P,
        background_area: &Rectangle,
        cell_area: &Rectangle,
        flags: CellRendererState
    ) { ... }
    fn start_editing<P: IsA<Widget>>(
        &self,
        renderer: &Self::Type,
        event: Option<&Event>,
        widget: &P,
        path: &str,
        background_area: &Rectangle,
        cell_area: &Rectangle,
        flags: CellRendererState
    ) -> Option<CellEditable> { ... }
}

Provided Methods§

source

fn activate<P: IsA<Widget>>( &self, renderer: &Self::Type, event: Option<&Event>, widget: &P, path: &str, background_area: &Rectangle, cell_area: &Rectangle, flags: CellRendererState ) -> bool

source

fn editing_canceled(&self, renderer: &Self::Type)

source

fn editing_started( &self, renderer: &Self::Type, editable: &CellEditable, path: &str )

source

fn aligned_area<P: IsA<Widget>>( &self, renderer: &Self::Type, widget: &P, flags: CellRendererState, cell_area: &Rectangle ) -> Rectangle

source

fn preferred_height_for_width<P: IsA<Widget>>( &self, renderer: &Self::Type, widget: &P, width: i32 ) -> (i32, i32)

source

fn preferred_height<P: IsA<Widget>>( &self, renderer: &Self::Type, widget: &P ) -> (i32, i32)

source

fn preferred_width_for_height<P: IsA<Widget>>( &self, renderer: &Self::Type, widget: &P, height: i32 ) -> (i32, i32)

source

fn preferred_width<P: IsA<Widget>>( &self, renderer: &Self::Type, widget: &P ) -> (i32, i32)

source

fn request_mode(&self, renderer: &Self::Type) -> SizeRequestMode

source

fn snapshot<P: IsA<Widget>>( &self, renderer: &Self::Type, snapshot: &Snapshot, widget: &P, background_area: &Rectangle, cell_area: &Rectangle, flags: CellRendererState )

source

fn start_editing<P: IsA<Widget>>( &self, renderer: &Self::Type, event: Option<&Event>, widget: &P, path: &str, background_area: &Rectangle, cell_area: &Rectangle, flags: CellRendererState ) -> Option<CellEditable>

Implementors§