RevealerWindow#
- class ignis.widgets.Widget.RevealerWindow(revealer: Revealer, **kwargs) None #
Bases:
Window
A window with animation.
Warning
Do not set
Widget.Revealer
as a direct child, as this can lead to various graphical bugs. Instead, place Widget.Revealer inside a container (e.g., Widget.Box) and then set the container as a child.Example usage:
from ignis.widgets import Widget revealer = Widget.Revealer( transition_type="slide_left", child=Widget.Button(label="test"), transition_duration=300, reveal_child=True, ) box = Widget.Box(child=[revealer]) Widget.RevealerWindow( visible=False, popup=True, layer="top", namespace="revealer-window", child=box, # do not set Widget.Revealer as a direct child! revealer=revealer, )