[−][src]Trait gtk::prelude::RevealerExt
Required methods
fn get_child_revealed(&self) -> bool
Returns whether the child is fully revealed, in other words whether the transition to the revealed state is completed.
Returns
true
if the child is fully revealed
fn get_reveal_child(&self) -> bool
Returns whether the child is currently
revealed. See RevealerExt::set_reveal_child
.
This function returns true
as soon as the transition
is to the revealed state is started. To learn whether
the child is fully revealed (ie the transition is completed),
use RevealerExt::get_child_revealed
.
Returns
true
if the child is revealed.
fn get_transition_duration(&self) -> u32
Returns the amount of time (in milliseconds) that transitions will take.
Returns
the transition duration
fn get_transition_type(&self) -> RevealerTransitionType
Gets the type of animation that will be used
for transitions in self
.
Returns
the current transition type of self
fn set_reveal_child(&self, reveal_child: bool)
Tells the Revealer
to reveal or conceal its child.
The transition will be animated with the current
transition type of self
.
reveal_child
true
to reveal the child
fn set_transition_duration(&self, duration: u32)
fn set_transition_type(&self, transition: RevealerTransitionType)
Sets the type of animation that will be used for
transitions in self
. Available types include
various kinds of fades and slides.
transition
the new transition type
fn connect_property_child_revealed_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_reveal_child_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_transition_duration_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_transition_type_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<Revealer>> RevealerExt for O
[src]
fn get_child_revealed(&self) -> bool
[src]
fn get_reveal_child(&self) -> bool
[src]
fn get_transition_duration(&self) -> u32
[src]
fn get_transition_type(&self) -> RevealerTransitionType
[src]
fn set_reveal_child(&self, reveal_child: bool)
[src]
fn set_transition_duration(&self, duration: u32)
[src]
fn set_transition_type(&self, transition: RevealerTransitionType)
[src]
fn connect_property_child_revealed_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_reveal_child_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_transition_duration_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_transition_type_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId