pub trait CellLayoutExtManual: 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
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.