gtk4::subclass::cell_layout

Trait CellLayoutImplExt

Source
pub trait CellLayoutImplExt: Sealed + ObjectSubclass {
    // Provided methods
    fn parent_add_attribute<R: IsA<CellRenderer>>(
        &self,
        cell: &R,
        attribute: &str,
        column: i32,
    ) { ... }
    fn parent_clear_attributes<R: IsA<CellRenderer>>(&self, cell: &R) { ... }
    fn parent_cells(&self) -> Vec<CellRenderer> { ... }
    fn parent_set_cell_data_func<R: IsA<CellRenderer>>(
        &self,
        cell: &R,
        callback: Option<CellLayoutDataCallback>,
    ) { ... }
    fn parent_reorder<R: IsA<CellRenderer>>(&self, cell: &R, position: i32) { ... }
    fn parent_clear(&self) { ... }
    fn parent_pack_start<R: IsA<CellRenderer>>(&self, cell: &R, expand: bool) { ... }
    fn parent_pack_end<R: IsA<CellRenderer>>(&self, cell: &R, expand: bool) { ... }
    fn parent_area(&self) -> Option<CellArea> { ... }
}
๐Ÿ‘ŽDeprecated: Since 4.10

Provided Methodsยง

Source

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

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn parent_clear_attributes<R: IsA<CellRenderer>>(&self, cell: &R)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

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

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn parent_set_cell_data_func<R: IsA<CellRenderer>>( &self, cell: &R, callback: Option<CellLayoutDataCallback>, )

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn parent_reorder<R: IsA<CellRenderer>>(&self, cell: &R, position: i32)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn parent_clear(&self)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn parent_pack_start<R: IsA<CellRenderer>>(&self, cell: &R, expand: bool)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn parent_pack_end<R: IsA<CellRenderer>>(&self, cell: &R, expand: bool)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

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

๐Ÿ‘Ž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ยง