Trait CellAreaContextExt

Source
pub trait CellAreaContextExt: 'static {
Show 18 methods // Required methods fn allocate(&self, width: i32, height: i32); fn get_allocation(&self) -> (i32, i32); fn get_area(&self) -> Option<CellArea>; fn get_preferred_height(&self) -> (i32, i32); fn get_preferred_height_for_width(&self, width: i32) -> (i32, i32); fn get_preferred_width(&self) -> (i32, i32); fn get_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 get_property_minimum_height(&self) -> i32; fn get_property_minimum_width(&self) -> i32; fn get_property_natural_height(&self) -> i32; fn get_property_natural_width(&self) -> i32; fn connect_property_minimum_height_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_minimum_width_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_natural_height_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_natural_width_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId;
}

Required Methods§

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

fn reset(&self)

Source

fn get_property_minimum_height(&self) -> i32

Source

fn get_property_minimum_width(&self) -> i32

Source

fn get_property_natural_height(&self) -> i32

Source

fn get_property_natural_width(&self) -> i32

Source

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

Source

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

Source

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

Source

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

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§