Enumeration

GtkIconLookupFlags

Declaration

flags Gtk.IconLookupFlags

Description [src]

Used to specify options for gtk_icon_theme_lookup_icon()

Members

Name Description
GTK_ICON_LOOKUP_NO_SVG

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

GTK_ICON_LOOKUP_FORCE_SVG

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

GTK_ICON_LOOKUP_USE_BUILTIN

When passed to gtk_icon_theme_lookup_icon() includes builtin icons as well as files. For a builtin icon, gtk_icon_info_get_filename() is NULL and you need to call gtk_icon_info_get_builtin_pixbuf().

GTK_ICON_LOOKUP_GENERIC_FALLBACK

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_choose_icon(). Since 2.12.

GTK_ICON_LOOKUP_FORCE_SIZE

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

GTK_ICON_LOOKUP_FORCE_REGULAR

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

GTK_ICON_LOOKUP_FORCE_SYMBOLIC

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

GTK_ICON_LOOKUP_DIR_LTR

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

GTK_ICON_LOOKUP_DIR_RTL

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