Trait gtk::prelude::BoxExt

source ·
pub trait BoxExt: IsA<Box> + Sealed + 'static {
Show 26 methods // Provided methods fn baseline_position(&self) -> BaselinePosition { ... } fn center_widget(&self) -> Option<Widget> { ... } fn is_homogeneous(&self) -> bool { ... } fn spacing(&self) -> i32 { ... } fn pack_end( &self, child: &impl IsA<Widget>, expand: bool, fill: bool, padding: u32 ) { ... } fn pack_start( &self, child: &impl IsA<Widget>, expand: bool, fill: bool, padding: u32 ) { ... } fn query_child_packing( &self, child: &impl IsA<Widget> ) -> (bool, bool, u32, PackType) { ... } fn reorder_child(&self, child: &impl IsA<Widget>, position: i32) { ... } fn set_baseline_position(&self, position: BaselinePosition) { ... } fn set_center_widget(&self, widget: Option<&impl IsA<Widget>>) { ... } fn set_child_packing( &self, child: &impl IsA<Widget>, expand: bool, fill: bool, padding: u32, pack_type: PackType ) { ... } fn set_homogeneous(&self, homogeneous: bool) { ... } fn set_spacing(&self, spacing: i32) { ... } fn child_expands<T: IsA<Widget>>(&self, item: &T) -> bool { ... } fn set_child_expand<T: IsA<Widget>>(&self, item: &T, expand: bool) { ... } fn child_fills<T: IsA<Widget>>(&self, item: &T) -> bool { ... } fn set_child_fill<T: IsA<Widget>>(&self, item: &T, fill: bool) { ... } fn child_pack_type<T: IsA<Widget>>(&self, item: &T) -> PackType { ... } fn set_child_pack_type<T: IsA<Widget>>(&self, item: &T, pack_type: PackType) { ... } fn child_padding<T: IsA<Widget>>(&self, item: &T) -> u32 { ... } fn set_child_padding<T: IsA<Widget>>(&self, item: &T, padding: u32) { ... } fn child_position<T: IsA<Widget>>(&self, item: &T) -> i32 { ... } fn set_child_position<T: IsA<Widget>>(&self, item: &T, position: i32) { ... } fn connect_baseline_position_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_homogeneous_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_spacing_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... }
}

Provided Methods§

source

fn baseline_position(&self) -> BaselinePosition

source

fn center_widget(&self) -> Option<Widget>

source

fn is_homogeneous(&self) -> bool

source

fn spacing(&self) -> i32

source

fn pack_end( &self, child: &impl IsA<Widget>, expand: bool, fill: bool, padding: u32 )

source

fn pack_start( &self, child: &impl IsA<Widget>, expand: bool, fill: bool, padding: u32 )

source

fn query_child_packing( &self, child: &impl IsA<Widget> ) -> (bool, bool, u32, PackType)

source

fn reorder_child(&self, child: &impl IsA<Widget>, position: i32)

source

fn set_baseline_position(&self, position: BaselinePosition)

source

fn set_center_widget(&self, widget: Option<&impl IsA<Widget>>)

source

fn set_child_packing( &self, child: &impl IsA<Widget>, expand: bool, fill: bool, padding: u32, pack_type: PackType )

source

fn set_homogeneous(&self, homogeneous: bool)

source

fn set_spacing(&self, spacing: i32)

source

fn child_expands<T: IsA<Widget>>(&self, item: &T) -> bool

source

fn set_child_expand<T: IsA<Widget>>(&self, item: &T, expand: bool)

source

fn child_fills<T: IsA<Widget>>(&self, item: &T) -> bool

source

fn set_child_fill<T: IsA<Widget>>(&self, item: &T, fill: bool)

source

fn child_pack_type<T: IsA<Widget>>(&self, item: &T) -> PackType

source

fn set_child_pack_type<T: IsA<Widget>>(&self, item: &T, pack_type: PackType)

source

fn child_padding<T: IsA<Widget>>(&self, item: &T) -> u32

source

fn set_child_padding<T: IsA<Widget>>(&self, item: &T, padding: u32)

source

fn child_position<T: IsA<Widget>>(&self, item: &T) -> i32

source

fn set_child_position<T: IsA<Widget>>(&self, item: &T, position: i32)

source

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

source

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

source

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

Implementors§

source§

impl<O: IsA<Box>> BoxExt for O