Trait gtk::prelude::StackExt

source ·
pub trait StackExt: 'static {
Show 40 methods // Required methods fn add_named(&self, child: &impl IsA<Widget>, name: &str); fn add_titled(&self, child: &impl IsA<Widget>, name: &str, title: &str); fn child_by_name(&self, name: &str) -> Option<Widget>; fn is_hhomogeneous(&self) -> bool; fn is_homogeneous(&self) -> bool; fn interpolates_size(&self) -> bool; fn transition_duration(&self) -> u32; fn is_transition_running(&self) -> bool; fn transition_type(&self) -> StackTransitionType; fn is_vhomogeneous(&self) -> bool; fn visible_child(&self) -> Option<Widget>; fn visible_child_name(&self) -> Option<GString>; fn set_hhomogeneous(&self, hhomogeneous: bool); fn set_homogeneous(&self, homogeneous: bool); fn set_interpolate_size(&self, interpolate_size: bool); fn set_transition_duration(&self, duration: u32); fn set_transition_type(&self, transition: StackTransitionType); fn set_vhomogeneous(&self, vhomogeneous: bool); fn set_visible_child(&self, child: &impl IsA<Widget>); fn set_visible_child_full( &self, name: &str, transition: StackTransitionType ); fn set_visible_child_name(&self, name: &str); fn child_icon_name<T: IsA<Widget>>(&self, item: &T) -> Option<GString>; fn set_child_icon_name<T: IsA<Widget>>( &self, item: &T, icon_name: Option<&str> ); fn child_name<T: IsA<Widget>>(&self, item: &T) -> Option<GString>; fn set_child_name<T: IsA<Widget>>(&self, item: &T, name: Option<&str>); fn child_needs_attention<T: IsA<Widget>>(&self, item: &T) -> bool; fn set_child_needs_attention<T: IsA<Widget>>( &self, item: &T, needs_attention: bool ); fn child_position<T: IsA<Widget>>(&self, item: &T) -> i32; fn set_child_position<T: IsA<Widget>>(&self, item: &T, position: i32); fn child_title<T: IsA<Widget>>(&self, item: &T) -> Option<GString>; fn set_child_title<T: IsA<Widget>>(&self, item: &T, title: Option<&str>); fn connect_hhomogeneous_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_homogeneous_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_interpolate_size_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_transition_duration_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_transition_running_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_transition_type_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_vhomogeneous_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_visible_child_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_visible_child_name_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId;
}

Required Methods§

source

fn add_named(&self, child: &impl IsA<Widget>, name: &str)

source

fn add_titled(&self, child: &impl IsA<Widget>, name: &str, title: &str)

source

fn child_by_name(&self, name: &str) -> Option<Widget>

source

fn is_hhomogeneous(&self) -> bool

source

fn is_homogeneous(&self) -> bool

source

fn interpolates_size(&self) -> bool

source

fn transition_duration(&self) -> u32

source

fn is_transition_running(&self) -> bool

source

fn transition_type(&self) -> StackTransitionType

source

fn is_vhomogeneous(&self) -> bool

source

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

source

fn visible_child_name(&self) -> Option<GString>

source

fn set_hhomogeneous(&self, hhomogeneous: bool)

source

fn set_homogeneous(&self, homogeneous: bool)

source

fn set_interpolate_size(&self, interpolate_size: bool)

source

fn set_transition_duration(&self, duration: u32)

source

fn set_transition_type(&self, transition: StackTransitionType)

source

fn set_vhomogeneous(&self, vhomogeneous: bool)

source

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

source

fn set_visible_child_full(&self, name: &str, transition: StackTransitionType)

source

fn set_visible_child_name(&self, name: &str)

source

fn child_icon_name<T: IsA<Widget>>(&self, item: &T) -> Option<GString>

source

fn set_child_icon_name<T: IsA<Widget>>(&self, item: &T, icon_name: Option<&str>)

source

fn child_name<T: IsA<Widget>>(&self, item: &T) -> Option<GString>

source

fn set_child_name<T: IsA<Widget>>(&self, item: &T, name: Option<&str>)

source

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

source

fn set_child_needs_attention<T: IsA<Widget>>( &self, item: &T, needs_attention: bool )

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 child_title<T: IsA<Widget>>(&self, item: &T) -> Option<GString>

source

fn set_child_title<T: IsA<Widget>>(&self, item: &T, title: Option<&str>)

source

fn connect_hhomogeneous_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_interpolate_size_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

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

source

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

source

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

source

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

source

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

source

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

Implementors§

source§

impl<O: IsA<Stack>> StackExt for O