![]() |
![]() |
![]() |
GNOME UI Library Reference Manual | ![]() |
---|---|---|---|---|
#include <libgnomeui/libgnomeui.h> GnomeIconThemeClass; typedef 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);
typedef struct { GObjectClass parent_class; void (* changed) (GnomeIconTheme *icon_theme); } GnomeIconThemeClass;
GnomeIconThemeClass
is deprecated and should not be used in newly-written code.
typedef GtkIconTheme GnomeIconTheme;
GnomeIconTheme
is deprecated and should not be used in newly-written code.
GnomeIconTheme* gnome_icon_theme_new (void);
gnome_icon_theme_new
is deprecated and should not be used in newly-written code.
Returns : |
void gnome_icon_theme_get_search_path (GnomeIconTheme *theme, char **path[], int *n_elements);
gnome_icon_theme_get_search_path
is deprecated and should not be used in newly-written code.
theme : |
|
path : |
|
n_elements : |
void gnome_icon_theme_set_search_path (GnomeIconTheme *theme, const char *path[], int n_elements);
gnome_icon_theme_set_search_path
is deprecated and should not be used in newly-written code.
theme : |
|
path : |
|
n_elements : |
gboolean gnome_icon_theme_get_allow_svg (GnomeIconTheme *theme);
gnome_icon_theme_get_allow_svg
is deprecated and should not be used in newly-written code.
theme : |
|
Returns : |
void gnome_icon_theme_set_allow_svg (GnomeIconTheme *theme, gboolean allow_svg);
gnome_icon_theme_set_allow_svg
is deprecated and should not be used in newly-written code.
theme : |
|
allow_svg : |
char* gnome_icon_theme_get_example_icon_name (GnomeIconTheme *theme);
gnome_icon_theme_get_example_icon_name
is deprecated and should not be used in newly-written code.
theme : |
|
Returns : |
void gnome_icon_theme_append_search_path (GnomeIconTheme *theme, const char *path);
gnome_icon_theme_append_search_path
is deprecated and should not be used in newly-written code.
theme : |
|
path : |
void gnome_icon_theme_prepend_search_path (GnomeIconTheme *theme, const char *path);
gnome_icon_theme_prepend_search_path
is deprecated and should not be used in newly-written code.
theme : |
|
path : |
void gnome_icon_theme_set_custom_theme (GnomeIconTheme *theme, const char *theme_name);
gnome_icon_theme_set_custom_theme
is deprecated and should not be used in newly-written code.
theme : |
|
theme_name : |
char* gnome_icon_theme_lookup_icon (GnomeIconTheme *theme, const char *icon_name, int size, const GnomeIconData **icon_data, int *base_size);
gnome_icon_theme_lookup_icon
is deprecated and should not be used in newly-written code.
theme : |
|
icon_name : |
|
size : |
|
icon_data : |
|
base_size : |
|
Returns : |
gboolean gnome_icon_theme_has_icon (GnomeIconTheme *theme, const char *icon_name);
gnome_icon_theme_has_icon
is deprecated and should not be used in newly-written code.
theme : |
|
icon_name : |
|
Returns : |
GList* gnome_icon_theme_list_icons (GnomeIconTheme *theme, const char *context);
gnome_icon_theme_list_icons
is deprecated and should not be used in newly-written code.
theme : |
|
context : |
|
Returns : |
gboolean gnome_icon_theme_rescan_if_needed (GnomeIconTheme *theme);
gnome_icon_theme_rescan_if_needed
is deprecated and should not be used in newly-written code.
theme : |
|
Returns : |
GnomeIconData* gnome_icon_data_dup (const GnomeIconData *icon_data);
gnome_icon_data_dup
is deprecated and should not be used in newly-written code.
icon_data : |
|
Returns : |