gnome-window-icon

gnome-window-icon

Synopsis

#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);

Description

Details

gnome_window_icon_set_from_default ()

void                gnome_window_icon_set_from_default  (GtkWindow *w);

Warning

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

gnome_window_icon_set_from_file ()

void                gnome_window_icon_set_from_file     (GtkWindow *w,
                                                         const char *filename);

Warning

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

gnome_window_icon_set_from_file_list ()

void                gnome_window_icon_set_from_file_list
                                                        (GtkWindow *w,
                                                         const char **filenames);

Warning

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

gnome_window_icon_set_default_from_file ()

void                gnome_window_icon_set_default_from_file
                                                        (const char *filename);

Warning

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

gnome_window_icon_set_default_from_file_list ()

void                gnome_window_icon_set_default_from_file_list
                                                        (const char **filenames);

Warning

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

gnome_window_icon_init ()

void                gnome_window_icon_init              (void);

Warning

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.