gtk4::subclass::cell_layout

Trait CellLayoutImpl

Source
pub trait CellLayoutImpl: ObjectImpl + ObjectSubclass<Type: IsA<CellLayout>> {
    // Provided methods
    fn add_attribute<R: IsA<CellRenderer>>(
        &self,
        cell: &R,
        attribute: &str,
        column: i32,
    ) { ... }
    fn clear_attributes<R: IsA<CellRenderer>>(&self, cell: &R) { ... }
    fn cells(&self) -> Vec<CellRenderer> { ... }
    fn set_cell_data_func<R: IsA<CellRenderer>>(
        &self,
        cell: &R,
        callback: Option<CellLayoutDataCallback>,
    ) { ... }
    fn reorder<R: IsA<CellRenderer>>(&self, cell: &R, position: i32) { ... }
    fn clear(&self) { ... }
    fn pack_start<R: IsA<CellRenderer>>(&self, cell: &R, expand: bool) { ... }
    fn pack_end<R: IsA<CellRenderer>>(&self, cell: &R, expand: bool) { ... }
    fn area(&self) -> Option<CellArea> { ... }
}
๐Ÿ‘ŽDeprecated: Since 4.10

Provided Methodsยง

Source

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

๐Ÿ‘ŽDeprecated: Since 4.10
Source

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

๐Ÿ‘ŽDeprecated: Since 4.10
Source

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

๐Ÿ‘ŽDeprecated: Since 4.10
Source

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

๐Ÿ‘ŽDeprecated: Since 4.10
Source

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

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn clear(&self)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

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

๐Ÿ‘ŽDeprecated: Since 4.10
Source

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

๐Ÿ‘ŽDeprecated: Since 4.10
Source

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