pub trait ButtonBoxExt: 'static {
// Required methods
fn get_child_non_homogeneous<P: IsA<Widget>>(&self, child: &P) -> bool;
fn get_child_secondary<P: IsA<Widget>>(&self, child: &P) -> bool;
fn get_layout(&self) -> ButtonBoxStyle;
fn set_child_non_homogeneous<P: IsA<Widget>>(
&self,
child: &P,
non_homogeneous: bool,
);
fn set_child_secondary<P: IsA<Widget>>(&self, child: &P, is_secondary: bool);
fn set_layout(&self, layout_style: ButtonBoxStyle);
fn get_property_layout_style(&self) -> ButtonBoxStyle;
fn set_property_layout_style(&self, layout_style: ButtonBoxStyle);
fn connect_property_layout_style_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methods§
fn get_child_non_homogeneous<P: IsA<Widget>>(&self, child: &P) -> bool
fn get_child_secondary<P: IsA<Widget>>(&self, child: &P) -> bool
fn get_layout(&self) -> ButtonBoxStyle
fn set_child_non_homogeneous<P: IsA<Widget>>( &self, child: &P, non_homogeneous: bool, )
fn set_child_secondary<P: IsA<Widget>>(&self, child: &P, is_secondary: bool)
fn set_layout(&self, layout_style: ButtonBoxStyle)
fn get_property_layout_style(&self) -> ButtonBoxStyle
fn set_property_layout_style(&self, layout_style: ButtonBoxStyle)
fn connect_property_layout_style_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.