![]() |
![]() |
![]() |
GNOME UI Library Reference Manual | ![]() |
---|---|---|---|---|
#include <libgnomeui/libgnomeui.h> void gnome_window_icon_set_from_default (GtkWindow *w); void gnome_window_icon_set_from_file (GtkWindow *w, const char *filename); void gnome_window_icon_set_from_file_list (GtkWindow *w, const char **filenames); void gnome_window_icon_set_default_from_file (const char *filename); void gnome_window_icon_set_default_from_file_list (const char **filenames); void gnome_window_icon_init (void);
void gnome_window_icon_set_from_default (GtkWindow *w);
gnome_window_icon_set_from_default is deprecated and should not be used in newly-written code.
Makes the GtkWindow w use the default icon.
w : | the GtkWidget to set the icon on |
void gnome_window_icon_set_from_file (GtkWindow *w, const char *filename);
gnome_window_icon_set_from_file is deprecated and should not be used in newly-written code.
Makes the GtkWindow w use the icon in filename.
w : | the GtkWidget to set the icon on |
filename : | the name of the file to load |
void gnome_window_icon_set_from_file_list (GtkWindow *w, const char **filenames);
gnome_window_icon_set_from_file_list is deprecated and should not be used in newly-written code.
Convenience wrapper around gtk_window_set_icon_list(), which loads the icons in filenames.
w : | window to set icons on |
filenames : | NULL terminated string array |
void gnome_window_icon_set_default_from_file (const char *filename);
gnome_window_icon_set_default_from_file is deprecated and should not be used in newly-written code.
Set the default icon to the image in filename, if one of the gnome_window_icon_set_default_from* functions have not already been called.
filename : | filename for the default window icon |
void gnome_window_icon_set_default_from_file_list (const char **filenames);
gnome_window_icon_set_default_from_file_list is deprecated and should not be used in newly-written code.
Wrapper around gtk_window_set_default_icon_list(), which loads the icons in filenames.
filenames : | NULL terminated string array |
void gnome_window_icon_init (void);
gnome_window_icon_init is deprecated and should not be used in newly-written code.
Initialize the gnome window icon by checking the GNOME_DESKTOP_ICON environment variable. This function is automatically called by the gnome_init process.