Trait CellLayoutExt

Source
pub trait CellLayoutExt: 'static {
    // Required methods
    fn add_attribute<P: IsA<CellRenderer>>(
        &self,
        cell: &P,
        attribute: &str,
        column: i32,
    );
    fn clear(&self);
    fn clear_attributes<P: IsA<CellRenderer>>(&self, cell: &P);
    fn get_area(&self) -> Option<CellArea>;
    fn get_cells(&self) -> Vec<CellRenderer>;
    fn pack_end<P: IsA<CellRenderer>>(&self, cell: &P, expand: bool);
    fn pack_start<P: IsA<CellRenderer>>(&self, cell: &P, expand: bool);
    fn reorder<P: IsA<CellRenderer>>(&self, cell: &P, position: i32);
    fn set_cell_data_func<P: IsA<CellRenderer>>(
        &self,
        cell: &P,
        func: Option<Box<dyn Fn(&CellLayout, &CellRenderer, &TreeModel, &TreeIter) + 'static>>,
    );
}

Required Methods§

Source

fn add_attribute<P: IsA<CellRenderer>>( &self, cell: &P, attribute: &str, column: i32, )

Source

fn clear(&self)

Source

fn clear_attributes<P: IsA<CellRenderer>>(&self, cell: &P)

Source

fn get_area(&self) -> Option<CellArea>

Source

fn get_cells(&self) -> Vec<CellRenderer>

Source

fn pack_end<P: IsA<CellRenderer>>(&self, cell: &P, expand: bool)

Source

fn pack_start<P: IsA<CellRenderer>>(&self, cell: &P, expand: bool)

Source

fn reorder<P: IsA<CellRenderer>>(&self, cell: &P, position: i32)

Source

fn set_cell_data_func<P: IsA<CellRenderer>>( &self, cell: &P, func: Option<Box<dyn Fn(&CellLayout, &CellRenderer, &TreeModel, &TreeIter) + 'static>>, )

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§