mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
Document gtk_icon_theme_add_resource_path
This commit is contained in:
parent
99c0b3db06
commit
988b6b483d
@ -6695,6 +6695,7 @@ gtk_icon_theme_set_search_path
|
||||
gtk_icon_theme_get_search_path
|
||||
gtk_icon_theme_append_search_path
|
||||
gtk_icon_theme_prepend_search_path
|
||||
gtk_icon_theme_add_resource_path
|
||||
gtk_icon_theme_set_custom_theme
|
||||
gtk_icon_theme_has_icon
|
||||
gtk_icon_theme_lookup_icon
|
||||
|
@ -1000,6 +1000,22 @@ gtk_icon_theme_prepend_search_path (GtkIconTheme *icon_theme,
|
||||
do_theme_change (icon_theme);
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_icon_theme_add_resource_path:
|
||||
* @icon_theme: a #GtkIconTheme
|
||||
* @path: a resource path
|
||||
*
|
||||
* Adds a resource path that will be looked at when looking
|
||||
* for icon theme contents, similar to search paths. The resources
|
||||
* should be located in a subdirectory starting with the theme name,
|
||||
* like this:
|
||||
* `@path/hicolor/16x16/actions/run.png`.
|
||||
*
|
||||
* This function should be used to make application-specific icons
|
||||
* available as part of the icon theme.
|
||||
*
|
||||
* Since: 3.14
|
||||
*/
|
||||
void
|
||||
gtk_icon_theme_add_resource_path (GtkIconTheme *icon_theme,
|
||||
const gchar *path)
|
||||
|
Loading…
Reference in New Issue
Block a user