Trait components::ExpanderExt [−][src]
pub trait ExpanderExt: 'static { fn get_expanded(&self) -> bool; fn set_expanded(&self, expanded: bool); fn set_label(&self, label: &str); fn get_property_label(&self) -> Option<String>; fn connect_expand_complete<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_expanded_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_label_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; }
Required methods
fn get_expanded(&self) -> bool
[src]
get_expanded: @expander: a #Expander
Get the current state of the expander (the value of #Expander:expanded)
Returns: #true if the expander is open, #false if it is closed
fn set_expanded(&self, expanded: bool)
[src]
set_expanded: @expander: A #Expander @expanded: the state of the expander to set
Set the state (the #Expander:expanded property) of the expander. This will cause the expander to open or close.
fn set_label(&self, label: &str)
[src]
set_label: @expander: A #Expander @label: string to set as the expander label
Sets the text displayed as the title of the expander
fn get_property_label(&self) -> Option<String>
[src]
fn connect_expand_complete<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_expanded_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_label_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: Is<Expander>> ExpanderExt for O
[src]
impl<O: Is<Expander>> ExpanderExt for O
[src]fn get_expanded(&self) -> bool
[src]
get_expanded: @expander: a #Expander
Get the current state of the expander (the value of #Expander:expanded)
Returns: #true if the expander is open, #false if it is closed
fn set_expanded(&self, expanded: bool)
[src]
set_expanded: @expander: A #Expander @expanded: the state of the expander to set
Set the state (the #Expander:expanded property) of the expander. This will cause the expander to open or close.
fn set_label(&self, label: &str)
[src]
set_label: @expander: A #Expander @label: string to set as the expander label
Sets the text displayed as the title of the expander
fn get_property_label(&self) -> Option<String>
[src]
fn connect_expand_complete<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_expanded_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_label_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId