Package: gtk

GEnum gtk:svg-features

Declaration

(gobject:define-gflags "GtkSvgFeatures" svg-features
  (:export t
   :type-initializer "gtk_svg_features_get_type")
  (:animations 1)
  (:system-resources 2)
  (:external-resources 4)
  (:extensions 8)
  (:traditional-symbolic 16))  

Values

:animations
Whether to run animations. If disabled, state changes are applied without transitions.
:system-resources
Whether to use system resources, such as fonts. If disabled, only embedded fonts are used.
:external-resources
Whether to load external resources, such as images. If disabled, only embedded images are loaded.
:extensions
Whether to allow gpa extensions, such as states and transitions.
:traditional-symbolic
This feature is meant for compatibility with old symbolic icons. If this is enabled, fill and stroke attributes are ignored. The used colors are derived from symbolic style classes if present, and the default fill color is the symbolic foreground color.

Details

Features of the SVG renderer that can be enabled or disabled. By default, all features except :traditional-symbolic are enabled.

Since 4.22
 

See also

2026-11-05