GtkIconLookupFlags

Used to specify options for gtk.icon_theme.IconTheme.lookupIcon

Values

ValueMeaning
NoSvg1

Never get SVG icons, even if gdk-pixbuf supports them. Cannot be used together with gtk.types.IconLookupFlags.ForceSvg.

ForceSvg2

Get SVG icons, even if gdk-pixbuf doesn’t support them. Cannot be used together with gtk.types.IconLookupFlags.NoSvg.

UseBuiltin4

When passed to gtk.icon_theme.IconTheme.lookupIcon includes builtin icons as well as files. For a builtin icon, gtk.icon_info.IconInfo.getFilename is null and you need to call gtk.icon_info.IconInfo.getBuiltinPixbuf.

GenericFallback8

Try to shorten icon name at '-' characters before looking at inherited themes. This flag is only supported in functions that take a single icon name. For more general fallback, see gtk.icon_theme.IconTheme.chooseIcon. Since 2.12.

ForceSize16

Always get the icon scaled to the requested size. Since 2.14.

ForceRegular32

Try to always load regular icons, even when symbolic icon names are given. Since 3.14.

ForceSymbolic64

Try to always load symbolic icons, even when regular icon names are given. Since 3.14.

DirLtr128

Try to load a variant of the icon for left-to-right text direction. Since 3.14.

DirRtl256

Try to load a variant of the icon for right-to-left text direction. Since 3.14.