Trait gtk4::prelude::CellLayoutExt
source · 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§
sourcefn add_attribute(
&self,
cell: &impl IsA<CellRenderer>,
attribute: &str,
column: i32
)
fn add_attribute( &self, cell: &impl IsA<CellRenderer>, attribute: &str, column: i32 )
👎Deprecated: Since 4.10
sourcefn clear_attributes(&self, cell: &impl IsA<CellRenderer>)
fn clear_attributes(&self, cell: &impl IsA<CellRenderer>)
👎Deprecated: Since 4.10
sourcefn cells(&self) -> Vec<CellRenderer>
fn cells(&self) -> Vec<CellRenderer>
👎Deprecated: Since 4.10
sourcefn pack_end(&self, cell: &impl IsA<CellRenderer>, expand: bool)
fn pack_end(&self, cell: &impl IsA<CellRenderer>, expand: bool)
👎Deprecated: Since 4.10
sourcefn pack_start(&self, cell: &impl IsA<CellRenderer>, expand: bool)
fn pack_start(&self, cell: &impl IsA<CellRenderer>, expand: bool)
👎Deprecated: Since 4.10
sourcefn reorder(&self, cell: &impl IsA<CellRenderer>, position: i32)
fn reorder(&self, cell: &impl IsA<CellRenderer>, position: i32)
👎Deprecated: Since 4.10
sourcefn set_cell_data_func<P: Fn(&CellLayout, &CellRenderer, &TreeModel, &TreeIter) + 'static>(
&self,
cell: &impl IsA<CellRenderer>,
func: P
)
fn set_cell_data_func<P: Fn(&CellLayout, &CellRenderer, &TreeModel, &TreeIter) + 'static>( &self, cell: &impl IsA<CellRenderer>, func: P )
👎Deprecated: Since 4.10