pub trait CellLayoutExt:
IsA<CellLayout>
+ Sealed
+ 'static {
// Provided methods
fn add_attribute(
&self,
cell: &impl IsA<CellRenderer>,
attribute: &str,
column: i32,
) { ... }
fn clear(&self) { ... }
fn clear_attributes(&self, cell: &impl IsA<CellRenderer>) { ... }
fn area(&self) -> Option<CellArea> { ... }
fn cells(&self) -> Vec<CellRenderer> { ... }
fn pack_end(&self, cell: &impl IsA<CellRenderer>, expand: bool) { ... }
fn pack_start(&self, cell: &impl IsA<CellRenderer>, expand: bool) { ... }
fn reorder(&self, cell: &impl IsA<CellRenderer>, position: i32) { ... }
fn set_cell_data_func<P: Fn(&CellLayout, &CellRenderer, &TreeModel, &TreeIter) + 'static>(
&self,
cell: &impl IsA<CellRenderer>,
func: P,
) { ... }
}
๐Deprecated: Since 4.10
Provided Methodsยง
fn add_attribute( &self, cell: &impl IsA<CellRenderer>, attribute: &str, column: i32, )
๐Deprecated: Since 4.10
fn clear(&self)
๐Deprecated: Since 4.10
fn clear_attributes(&self, cell: &impl IsA<CellRenderer>)
๐Deprecated: Since 4.10
fn area(&self) -> Option<CellArea>
๐Deprecated: Since 4.10
fn cells(&self) -> Vec<CellRenderer>
๐Deprecated: Since 4.10
fn pack_end(&self, cell: &impl IsA<CellRenderer>, expand: bool)
๐Deprecated: Since 4.10
fn pack_start(&self, cell: &impl IsA<CellRenderer>, expand: bool)
๐Deprecated: Since 4.10
fn reorder(&self, cell: &impl IsA<CellRenderer>, position: i32)
๐Deprecated: Since 4.10
fn set_cell_data_func<P: Fn(&CellLayout, &CellRenderer, &TreeModel, &TreeIter) + 'static>( &self, cell: &impl IsA<CellRenderer>, func: P, )
๐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.