Skip to main content

CellLayoutImpl

Trait CellLayoutImpl 

Source
pub trait CellLayoutImpl: ObjectImpl + ObjectSubclass<Type: IsA<CellLayout>> {
    // Provided methods
    fn pack_start(&self, cell: &CellRenderer, expand: bool) { ... }
    fn pack_end(&self, cell: &CellRenderer, expand: bool) { ... }
    fn clear(&self) { ... }
    fn add_attribute(&self, cell: &CellRenderer, attribute: &str, column: i32) { ... }
    fn set_cell_data_func(
        &self,
        cell: &CellRenderer,
        cell_data_func: Option<CellDataFunc>,
    ) { ... }
    fn clear_attributes(&self, cell: &CellRenderer) { ... }
    fn reorder(&self, cell: &CellRenderer, position: i32) { ... }
    fn cells(&self) -> Vec<CellRenderer> { ... }
    fn area(&self) -> Option<CellArea> { ... }
}

Provided Methods§

Source

fn pack_start(&self, cell: &CellRenderer, expand: bool)

Source

fn pack_end(&self, cell: &CellRenderer, expand: bool)

Source

fn clear(&self)

Source

fn add_attribute(&self, cell: &CellRenderer, attribute: &str, column: i32)

Source

fn set_cell_data_func( &self, cell: &CellRenderer, cell_data_func: Option<CellDataFunc>, )

Source

fn clear_attributes(&self, cell: &CellRenderer)

Source

fn reorder(&self, cell: &CellRenderer, position: i32)

Source

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

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§