Trait gtk4::prelude::CellLayoutExt
source · [−]pub trait CellLayoutExt: 'static {
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
);
}
Required Methods
sourcefn add_attribute(
fn add_attribute(
&self,
cell: &impl IsA<CellRenderer>,
attribute: &str,
column: i32
)
source
fn clear_attributes(&self, cell: &impl IsA<CellRenderer>)
source
fn cells(&self) -> Vec<CellRenderer>
source
fn pack_end(&self, cell: &impl IsA<CellRenderer>, expand: bool)
source
fn pack_start(&self, cell: &impl IsA<CellRenderer>, expand: bool)
source
fn reorder(&self, cell: &impl IsA<CellRenderer>, position: i32)
sourcefn set_cell_data_func<P: Fn(&CellLayout, &CellRenderer, &TreeModel, &TreeIter) + 'static>(