gnome-window-icon

gnome-window-icon

Functions

Includes

#include <libgnomeui/libgnomeui.h>

Description

Functions

gnome_window_icon_set_from_default ()

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.

Parameters

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

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 .

Parameters

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

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 .

Parameters

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

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.

Parameters

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

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 .

Parameters

filenames

NULL terminated string array

 

gnome_window_icon_init ()

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.

Types and Values