gtk4::prelude

Trait 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ยง

Source

fn add_attribute( &self, cell: &impl IsA<CellRenderer>, attribute: &str, column: i32, )

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn clear(&self)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn clear_attributes(&self, cell: &impl IsA<CellRenderer>)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn area(&self) -> Option<CellArea>

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn cells(&self) -> Vec<CellRenderer>

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn pack_end(&self, cell: &impl IsA<CellRenderer>, expand: bool)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn pack_start(&self, cell: &impl IsA<CellRenderer>, expand: bool)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn reorder(&self, cell: &impl IsA<CellRenderer>, position: i32)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

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.

Implementorsยง