libadwaita::subclass::prelude

Trait CellRendererImplExt

Source
pub trait CellRendererImplExt: Sealed + ObjectSubclass {
    // Provided methods
    fn parent_request_mode(&self) -> SizeRequestMode { ... }
    fn parent_preferred_width<P>(&self, widget: &P) -> (i32, i32)
       where P: IsA<Widget> { ... }
    fn parent_preferred_width_for_height<P>(
        &self,
        widget: &P,
        height: i32,
    ) -> (i32, i32)
       where P: IsA<Widget> { ... }
    fn parent_preferred_height<P>(&self, widget: &P) -> (i32, i32)
       where P: IsA<Widget> { ... }
    fn parent_preferred_height_for_width<P>(
        &self,
        widget: &P,
        width: i32,
    ) -> (i32, i32)
       where P: IsA<Widget> { ... }
    fn parent_aligned_area<P>(
        &self,
        widget: &P,
        flags: CellRendererState,
        cell_area: &Rectangle,
    ) -> Rectangle
       where P: IsA<Widget> { ... }
    fn parent_snapshot<P>(
        &self,
        snapshot: &Snapshot,
        widget: &P,
        background_area: &Rectangle,
        cell_area: &Rectangle,
        flags: CellRendererState,
    )
       where P: IsA<Widget> { ... }
    fn parent_activate<P>(
        &self,
        event: Option<&Event>,
        widget: &P,
        path: &str,
        background_area: &Rectangle,
        cell_area: &Rectangle,
        flags: CellRendererState,
    ) -> bool
       where P: IsA<Widget> { ... }
    fn parent_start_editing<P>(
        &self,
        event: Option<&Event>,
        widget: &P,
        path: &str,
        background_area: &Rectangle,
        cell_area: &Rectangle,
        flags: CellRendererState,
    ) -> Option<CellEditable>
       where P: IsA<Widget> { ... }
    fn parent_editing_canceled(&self) { ... }
    fn parent_editing_started(&self, editable: &CellEditable, path: &str) { ... }
}

Provided Methods§

Source

fn parent_request_mode(&self) -> SizeRequestMode

Source

fn parent_preferred_width<P>(&self, widget: &P) -> (i32, i32)
where P: IsA<Widget>,

Source

fn parent_preferred_width_for_height<P>( &self, widget: &P, height: i32, ) -> (i32, i32)
where P: IsA<Widget>,

Source

fn parent_preferred_height<P>(&self, widget: &P) -> (i32, i32)
where P: IsA<Widget>,

Source

fn parent_preferred_height_for_width<P>( &self, widget: &P, width: i32, ) -> (i32, i32)
where P: IsA<Widget>,

Source

fn parent_aligned_area<P>( &self, widget: &P, flags: CellRendererState, cell_area: &Rectangle, ) -> Rectangle
where P: IsA<Widget>,

Source

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

Source

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

Source

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

Source

fn parent_editing_canceled(&self)

Source

fn parent_editing_started(&self, editable: &CellEditable, path: &str)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§