mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-15 11:29:34 +02:00
* added two gtk constants, mantis #31566, patch by "MiniApp"
git-svn-id: trunk@36294 -
This commit is contained in:
parent
f0a02cdaf9
commit
5eb0506be7
@ -32,6 +32,12 @@ type
|
|||||||
gtk_icon_theme_lookup_icon() includes builtin icons
|
gtk_icon_theme_lookup_icon() includes builtin icons
|
||||||
as well as files. For a builtin icon, gdk_icon_info_get_filename()
|
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().
|
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()
|
Used to specify options for gtk_icon_theme_lookup_icon()
|
||||||
}
|
}
|
||||||
@ -39,7 +45,10 @@ type
|
|||||||
PGtkIconLookupFlags = ^TGtkIconLookupFlags;
|
PGtkIconLookupFlags = ^TGtkIconLookupFlags;
|
||||||
TGtkIconLookupFlags = (GTK_ICON_LOOKUP_NO_SVG := 1 shl 0,
|
TGtkIconLookupFlags = (GTK_ICON_LOOKUP_NO_SVG := 1 shl 0,
|
||||||
GTK_ICON_LOOKUP_FORCE_SVG := 1 shl 1,
|
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:
|
GtkIconThemeError:
|
||||||
|
Loading…
Reference in New Issue
Block a user