Trait gtk4::prelude::BoxExt

source ·
pub trait BoxExt: 'static {
Show 14 methods // Required methods fn append(&self, child: &impl IsA<Widget>); fn baseline_position(&self) -> BaselinePosition; fn is_homogeneous(&self) -> bool; fn spacing(&self) -> i32; fn insert_child_after( &self, child: &impl IsA<Widget>, sibling: Option<&impl IsA<Widget>> ); fn prepend(&self, child: &impl IsA<Widget>); fn remove(&self, child: &impl IsA<Widget>); fn reorder_child_after( &self, child: &impl IsA<Widget>, sibling: Option<&impl IsA<Widget>> ); fn set_baseline_position(&self, position: BaselinePosition); fn set_homogeneous(&self, homogeneous: bool); fn set_spacing(&self, spacing: 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;
}

Required Methods§

source

fn append(&self, child: &impl IsA<Widget>)

source

fn baseline_position(&self) -> BaselinePosition

source

fn is_homogeneous(&self) -> bool

source

fn spacing(&self) -> i32

source

fn insert_child_after( &self, child: &impl IsA<Widget>, sibling: Option<&impl IsA<Widget>> )

source

fn prepend(&self, child: &impl IsA<Widget>)

source

fn remove(&self, child: &impl IsA<Widget>)

source

fn reorder_child_after( &self, child: &impl IsA<Widget>, sibling: Option<&impl IsA<Widget>> )

source

fn set_baseline_position(&self, position: BaselinePosition)

source

fn set_homogeneous(&self, homogeneous: bool)

source

fn set_spacing(&self, spacing: 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