Revealer#
- class ignis.widgets.Widget.Revealer(*args: Any, **kwargs: Any)#
Bases:
Gtk.Revealer
A container that animates the transition of its child from invisible to visible.
- Overrided properties:
transition_type: The type of transition. Default:
slide_down
.
- Transition type:
none: No transition.
crossfade: Fade in.
slide_right: Slide in from the left.
slide_left: Slide in from the right.
slide_up: Slide in from the bottom.
slide_down: Slide in from the top.
swing_right: Floop in from the left
swing_left: Floop in from the right
swing_up: Floop in from the bottom
swing_down: Floop in from the top
Widget.Revealer( child=Widget.Label(label='animation!!!'), transition_type='slideright', transition_duration=500, reveal_child=True, # Whether child is revealed. )