Trait gtk4::prelude::CellAreaContextExt
source · pub trait CellAreaContextExt: IsA<CellAreaContext> + Sealed + '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: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_minimum_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_natural_height_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_natural_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
}
👎Deprecated: Since 4.10
Provided Methods§
sourcefn allocation(&self) -> (i32, i32)
fn allocation(&self) -> (i32, i32)
👎Deprecated: Since 4.10
sourcefn preferred_height(&self) -> (i32, i32)
fn preferred_height(&self) -> (i32, i32)
👎Deprecated: Since 4.10
sourcefn preferred_height_for_width(&self, width: i32) -> (i32, i32)
fn preferred_height_for_width(&self, width: i32) -> (i32, i32)
👎Deprecated: Since 4.10
sourcefn preferred_width(&self) -> (i32, i32)
fn preferred_width(&self) -> (i32, i32)
👎Deprecated: Since 4.10
sourcefn preferred_width_for_height(&self, height: i32) -> (i32, i32)
fn preferred_width_for_height(&self, height: i32) -> (i32, i32)
👎Deprecated: Since 4.10
sourcefn push_preferred_height(&self, minimum_height: i32, natural_height: i32)
fn push_preferred_height(&self, minimum_height: i32, natural_height: i32)
👎Deprecated: Since 4.10
sourcefn push_preferred_width(&self, minimum_width: i32, natural_width: i32)
fn push_preferred_width(&self, minimum_width: i32, natural_width: i32)
👎Deprecated: Since 4.10
sourcefn minimum_height(&self) -> i32
fn minimum_height(&self) -> i32
👎Deprecated: Since 4.10
sourcefn minimum_width(&self) -> i32
fn minimum_width(&self) -> i32
👎Deprecated: Since 4.10
sourcefn natural_height(&self) -> i32
fn natural_height(&self) -> i32
👎Deprecated: Since 4.10
sourcefn natural_width(&self) -> i32
fn natural_width(&self) -> i32
👎Deprecated: Since 4.10
sourcefn connect_minimum_height_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_minimum_height_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
👎Deprecated: Since 4.10
sourcefn connect_minimum_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_minimum_width_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
👎Deprecated: Since 4.10
sourcefn connect_natural_height_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_natural_height_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
👎Deprecated: Since 4.10
sourcefn connect_natural_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_natural_width_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
👎Deprecated: Since 4.10