| GNOME UI Library Reference Manual |
|---|
GnomeIconTheme —
#include <libgnomeui/libgnomeui.h> struct GnomeIconThemeClass; struct GnomeIconTheme; GnomeIconTheme* gnome_icon_theme_new (void); void gnome_icon_theme_get_search_path (GnomeIconTheme *theme, char **path[], int *n_elements); void gnome_icon_theme_set_search_path (GnomeIconTheme *theme, const char *path[], int n_elements); gboolean gnome_icon_theme_get_allow_svg (GnomeIconTheme *theme); void gnome_icon_theme_set_allow_svg (GnomeIconTheme *theme, gboolean allow_svg); char* gnome_icon_theme_get_example_icon_name (GnomeIconTheme *theme); void gnome_icon_theme_append_search_path (GnomeIconTheme *theme, const char *path); void gnome_icon_theme_prepend_search_path (GnomeIconTheme *theme, const char *path); void gnome_icon_theme_set_custom_theme (GnomeIconTheme *theme, const char *theme_name); char* gnome_icon_theme_lookup_icon (GnomeIconTheme *theme, const char *icon_name, int size, const GnomeIconData **icon_data, int *base_size); gboolean gnome_icon_theme_has_icon (GnomeIconTheme *theme, const char *icon_name); GList* gnome_icon_theme_list_icons (GnomeIconTheme *theme, const char *context); gboolean gnome_icon_theme_rescan_if_needed (GnomeIconTheme *theme); GnomeIconData* gnome_icon_data_dup (const GnomeIconData *icon_data); void gnome_icon_data_free (GnomeIconData *icon_data);
struct GnomeIconThemeClass {
GObjectClass parent_class;
void (* changed) (GnomeIconTheme *icon_theme);
};
struct GnomeIconTheme {
GObject parent_instance;
GnomeIconThemePrivate *priv;
};
void gnome_icon_theme_get_search_path
(GnomeIconTheme *theme,
char **path[],
int *n_elements);
| theme : | |
| path : | |
| n_elements : |
void gnome_icon_theme_set_search_path
(GnomeIconTheme *theme,
const char *path[],
int n_elements);
| theme : | |
| path : | |
| n_elements : |
gboolean gnome_icon_theme_get_allow_svg (GnomeIconTheme *theme);
| theme : | |
| Returns : |
void gnome_icon_theme_set_allow_svg (GnomeIconTheme *theme, gboolean allow_svg);
| theme : | |
| allow_svg : |
char* gnome_icon_theme_get_example_icon_name
(GnomeIconTheme *theme);
| theme : | |
| Returns : |
void gnome_icon_theme_append_search_path
(GnomeIconTheme *theme,
const char *path);
| theme : | |
| path : |
void gnome_icon_theme_prepend_search_path
(GnomeIconTheme *theme,
const char *path);
| theme : | |
| path : |
void gnome_icon_theme_set_custom_theme
(GnomeIconTheme *theme,
const char *theme_name);
| theme : | |
| theme_name : |
char* gnome_icon_theme_lookup_icon (GnomeIconTheme *theme, const char *icon_name, int size, const GnomeIconData **icon_data, int *base_size);
| theme : | |
| icon_name : | |
| size : | |
| icon_data : | |
| base_size : | |
| Returns : |
gboolean gnome_icon_theme_has_icon (GnomeIconTheme *theme, const char *icon_name);
| theme : | |
| icon_name : | |
| Returns : |
GList* gnome_icon_theme_list_icons (GnomeIconTheme *theme, const char *context);
| theme : | |
| context : | |
| Returns : |
gboolean gnome_icon_theme_rescan_if_needed (GnomeIconTheme *theme);
| theme : | |
| Returns : |
GnomeIconData* gnome_icon_data_dup (const GnomeIconData *icon_data);
| icon_data : | |
| Returns : |
| << GnomeIconLookup | GnomeIconSelection >> |