Trait gtk4::prelude::CellLayoutExtManual
source · pub trait CellLayoutExtManual: 'static {
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§
sourcefn set_attributes(
&self,
cell: &impl IsA<CellRenderer>,
attributes: &[(&str, i32)]
)
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.