Trait CellAreaContextExt

Source
pub trait CellAreaContextExt: IsA<CellAreaContext> + 'static {
Show 18 methods // Provided methods fn allocate(&self, width: i32, height: i32) { ... } fn allocation(&self) -> (i32, i32) { ... } fn area(&self) -> CellArea { ... } fn preferred_height(&self) -> (i32, i32) { ... } fn preferred_height_for_width(&self, width: i32) -> (i32, i32) { ... } fn preferred_width(&self) -> (i32, i32) { ... } fn preferred_width_for_height(&self, height: i32) -> (i32, i32) { ... } fn push_preferred_height(&self, minimum_height: i32, natural_height: i32) { ... } fn push_preferred_width(&self, minimum_width: i32, natural_width: i32) { ... } fn reset(&self) { ... } fn minimum_height(&self) -> i32 { ... } fn minimum_width(&self) -> i32 { ... } fn natural_height(&self) -> i32 { ... } fn natural_width(&self) -> i32 { ... } fn connect_minimum_height_notify<F>(&self, f: F) -> SignalHandlerId where F: Fn(&Self) + 'static { ... } fn connect_minimum_width_notify<F>(&self, f: F) -> SignalHandlerId where F: Fn(&Self) + 'static { ... } fn connect_natural_height_notify<F>(&self, f: F) -> SignalHandlerId where F: Fn(&Self) + 'static { ... } fn connect_natural_width_notify<F>(&self, f: F) -> SignalHandlerId where F: Fn(&Self) + 'static { ... }
}
๐Ÿ‘ŽDeprecated: Since 4.10

Provided Methodsยง

Source

fn allocate(&self, width: i32, height: i32)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn allocation(&self) -> (i32, i32)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn area(&self) -> CellArea

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn preferred_height(&self) -> (i32, i32)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn preferred_height_for_width(&self, width: i32) -> (i32, i32)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn preferred_width(&self) -> (i32, i32)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn preferred_width_for_height(&self, height: i32) -> (i32, i32)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn push_preferred_height(&self, minimum_height: i32, natural_height: i32)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn push_preferred_width(&self, minimum_width: i32, natural_width: i32)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn reset(&self)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn minimum_height(&self) -> i32

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn minimum_width(&self) -> i32

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn natural_height(&self) -> i32

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn natural_width(&self) -> i32

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn connect_minimum_height_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static,

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn connect_minimum_width_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static,

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn connect_natural_height_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static,

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn connect_natural_width_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static,

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