pub trait StackExt: 'static {
Show 40 methods
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 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<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 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;
}