Trait gtk::prelude::StackExt [] [src]

pub trait StackExt {
    fn add_named<P: IsA<Widget>>(&self, child: &P, name: &str);
    fn add_titled<P: IsA<Widget>>(&self, child: &P, name: &str, title: &str);
    fn get_child_by_name(&self, name: &str) -> Option<Widget>;
    fn get_hhomogeneous(&self) -> bool;
    fn get_homogeneous(&self) -> bool;
    fn get_interpolate_size(&self) -> bool;
    fn get_transition_duration(&self) -> u32;
    fn get_transition_running(&self) -> bool;
    fn get_transition_type(&self) -> StackTransitionType;
    fn get_vhomogeneous(&self) -> bool;
    fn get_visible_child(&self) -> Option<Widget>;
    fn get_visible_child_name(&self) -> Option<String>;
    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<P: IsA<Widget>>(&self, child: &P);
    fn set_visible_child_full(
        &self,
        name: &str,
        transition: StackTransitionType
    ); fn set_visible_child_name(&self, name: &str); fn get_property_homogeneous(&self) -> bool; fn set_property_homogeneous(&self, homogeneous: bool); fn get_property_interpolate_size(&self) -> bool; fn set_property_interpolate_size(&self, interpolate_size: bool); fn get_property_transition_duration(&self) -> u32; fn set_property_transition_duration(&self, transition_duration: u32); fn get_property_transition_running(&self) -> bool; fn get_property_transition_type(&self) -> StackTransitionType; fn set_property_transition_type(&self, transition_type: StackTransitionType); fn get_property_visible_child(&self) -> Option<Widget>; fn set_property_visible_child<P: IsA<Widget> + IsA<Object> + SetValueOptional>(
        &self,
        visible_child: Option<&P>
    ); fn get_property_visible_child_name(&self) -> Option<String>; fn set_property_visible_child_name(&self, visible_child_name: Option<&str>); fn get_child_icon_name<T: IsA<Widget>>(&self, item: &T) -> Option<String>; fn set_child_icon_name<'a, P: Into<Option<&'a str>>, T: IsA<Widget>>(
        &self,
        item: &T,
        icon_name: P
    ); fn get_child_name<T: IsA<Widget>>(&self, item: &T) -> Option<String>; fn set_child_name<'a, P: Into<Option<&'a str>>, T: IsA<Widget>>(
        &self,
        item: &T,
        name: P
    ); fn get_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 get_child_position<T: IsA<Widget>>(&self, item: &T) -> i32; fn set_child_position<T: IsA<Widget>>(&self, item: &T, position: i32); fn get_child_title<T: IsA<Widget>>(&self, item: &T) -> Option<String>; fn set_child_title<'a, P: Into<Option<&'a str>>, T: IsA<Widget>>(
        &self,
        item: &T,
        title: P
    ); }

Required Methods

Implementors