animated widget transitions #154
-
Hi there, I was wondering if animated transitions of views/widgets are already supported. case app.model.myEnum:
of foo:
Label(text = "foo")
of bar:
Label(text = "bar") I am not that familiar with GTK yet, but from the docs it seems like a GtkRevealer could be used under the hood for that. Or perhaps with a (custom) style class? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There are already some widgets that support animations, such as the Action Bar and Flap widgets. However I don't think we have a widget for animating transitions between multiple widgets yet. Usually, Gtk.Stack is used to animate transitions between multiple widgets. There is a pull request for adding support for Gtk.Stack, however it has yet to be reviewed. |
Beta Was this translation helpful? Give feedback.
There are already some widgets that support animations, such as the Action Bar and Flap widgets. However I don't think we have a widget for animating transitions between multiple widgets yet. Usually, Gtk.Stack is used to animate transitions between multiple widgets. There is a pull request for adding support for Gtk.Stack, however it has yet to be reviewed.