GtkIconLookupFlags

Used to specify options for IconTheme.lookupIcon

Values

ValueMeaning
NO_SVG1

Never get SVG icons, even if gdk-pixbuf supports them. Cannot be used together with GTK_ICON_LOOKUP_FORCE_SVG.

FORCE_SVG2

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

USE_BUILTIN4

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

GENERIC_FALLBACK8

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 IconTheme.chooseIcon. Since 2.12.

FORCE_SIZE16

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

FORCE_REGULAR32

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

FORCE_SYMBOLIC64

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

DIR_LTR128

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

DIR_RTL256

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