* added two gtk constants, mantis #31566, patch by "MiniApp"

git-svn-id: trunk@36294 -
This commit is contained in:
marco 2017-05-22 14:27:28 +00:00
parent f0a02cdaf9
commit 5eb0506be7

View File

@ -32,6 +32,12 @@ type
gtk_icon_theme_lookup_icon() includes builtin icons
as well as files. For a builtin icon, gdk_icon_info_get_filename()
returns %NULL and you need to call gdk_icon_info_get_builtin_pixbuf().
@GTK_ICON_LOOKUP_GENERIC_FALLBACK
Try to shorten icon name at '-' characters before looking at inherited
themes. For more general fallback, seegtk_icon_theme_choose_icon().
Since 2.12.
@GTK_ICON_LOOKUP_FORCE_SIZE
Always return the icon scaled to the requested size. Since 2.14.
Used to specify options for gtk_icon_theme_lookup_icon()
}
@ -39,7 +45,10 @@ type
PGtkIconLookupFlags = ^TGtkIconLookupFlags;
TGtkIconLookupFlags = (GTK_ICON_LOOKUP_NO_SVG := 1 shl 0,
GTK_ICON_LOOKUP_FORCE_SVG := 1 shl 1,
GTK_ICON_LOOKUP_USE_BUILTIN := 1 shl 2);
GTK_ICON_LOOKUP_USE_BUILTIN := 1 shl 2,
GTK_ICON_LOOKUP_GENERIC_FALLBACK := 1 shl 3,
GTK_ICON_LOOKUP_FORCE_SIZE := 1 shl 4
);
{
GtkIconThemeError: