prefers_reduced_motion


Description:

[ NoAccessorMethod ]
[ Version ( since = "4.22" ) ]
public ReducedMotion prefers_reduced_motion { get; set; }

Define the type of reduced motion to use for the user interface.

When set to [enum@Gtk.ReducedMotion.REDUCE] the UI is rendered in with reduced motion animations.

When set to [enum@Gtk.ReducedMotion.NO_PREFERENCE] (the default), the user interface will be rendered in default mode.

This setting is be available for media queries in CSS:

```css media (prefers-reduced-motion: reduce) { // some style with reduced motion } ```

Changing this setting will reload the style sheet.