pub trait CellLayoutExtManual: 'static {
    // Required methods
    fn set_attributes(
        &self,
        cell: &impl IsA<CellRenderer>,
        attributes: &[(&str, i32)]
    );
    fn unset_cell_data_func(&self, cell: &impl IsA<CellRenderer>);
}
Expand description

Trait containing manually implemented methods of CellLayout.

Required Methods§

source

fn set_attributes( &self, cell: &impl IsA<CellRenderer>, attributes: &[(&str, i32)] )

Sets the attributes in the parameter list as the attributes of @self.

See CellLayoutExt::add_attribute() for more details.

The attributes should be in attribute/column order, as in gtk_cell_layout_add_attribute(). All existing attributes are removed, and replaced with the new attributes.

Deprecated since 4.10
cell

a CellRenderer

source

fn unset_cell_data_func(&self, cell: &impl IsA<CellRenderer>)

Implementors§