gtk4::prelude

Trait CellAreaExtManual

Source
pub trait CellAreaExtManual: Sealed + IsA<CellArea> {
    // Provided methods
    fn add_with_properties(
        &self,
        renderer: &impl IsA<CellRenderer>,
        properties: &[(&str, &dyn ToValue)],
    ) { ... }
    fn cell_get_value(
        &self,
        renderer: &impl IsA<CellRenderer>,
        property_name: impl IntoGStr,
    ) -> Value { ... }
    fn cell_get<V: for<'b> FromValue<'b> + 'static>(
        &self,
        renderer: &impl IsA<CellRenderer>,
        property_name: impl IntoGStr,
    ) -> V { ... }
    fn cell_set(
        &self,
        renderer: &impl IsA<CellRenderer>,
        property_name: impl IntoGStr,
        value: impl Into<Value>,
    ) { ... }
}
๐Ÿ‘ŽDeprecated: Since 4.10
Expand description

Trait containing manually implemented methods of CellArea.

Provided Methodsยง

Source

fn add_with_properties( &self, renderer: &impl IsA<CellRenderer>, properties: &[(&str, &dyn ToValue)], )

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn cell_get_value( &self, renderer: &impl IsA<CellRenderer>, property_name: impl IntoGStr, ) -> Value

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn cell_get<V: for<'b> FromValue<'b> + 'static>( &self, renderer: &impl IsA<CellRenderer>, property_name: impl IntoGStr, ) -> V

๐Ÿ‘ŽDeprecated: Since 4.10

Similar to Self::cell_get_value but panics if the value is of a different type.

Source

fn cell_set( &self, renderer: &impl IsA<CellRenderer>, property_name: impl IntoGStr, value: impl Into<Value>, )

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