Trait gtk4::prelude::CellLayoutExtManual
source · pub trait CellLayoutExtManual: Sealed + IsA<CellLayout> + 'static {
// Provided methods
fn set_attributes(
&self,
cell: &impl IsA<CellRenderer>,
attributes: &[(&str, i32)]
) { ... }
fn unset_cell_data_func(&self, cell: &impl IsA<CellRenderer>) { ... }
}
👎Deprecated: Since 4.10
Expand description
Trait containing manually implemented methods of
CellLayout
.
Provided Methods§
sourcefn set_attributes(
&self,
cell: &impl IsA<CellRenderer>,
attributes: &[(&str, i32)]
)
👎Deprecated: Since 4.10
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
fn unset_cell_data_func(&self, cell: &impl IsA<CellRenderer>)
👎Deprecated: Since 4.10
Object Safety§
This trait is not object safe.