pub fn is_animations_enabled(widget: &impl IsA<Widget>) -> bool
Checks whether animations are enabled for @widget.
This should be used when implementing an animated widget to know whether to animate it or not.
widget
a gtk::Widget
gtk::Widget
whether animations are enabled for @widget