mate-window-icon

mate-window-icon

Synopsis

#include <libmateui/libmateui.h>

void                mate_window_icon_set_from_default  (GtkWindow *w);
void                mate_window_icon_set_from_file     (GtkWindow *w,
                                                         const char *filename);
void                mate_window_icon_set_from_file_list
                                                        (GtkWindow *w,
                                                         const char **filenames);
void                mate_window_icon_set_default_from_file
                                                        (const char *filename);
void                mate_window_icon_set_default_from_file_list
                                                        (const char **filenames);
void                mate_window_icon_init              (void);

Description

Details

mate_window_icon_set_from_default ()

void                mate_window_icon_set_from_default  (GtkWindow *w);

Warning

mate_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

mate_window_icon_set_from_file ()

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

Warning

mate_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

mate_window_icon_set_from_file_list ()

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

Warning

mate_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

mate_window_icon_set_default_from_file ()

void                mate_window_icon_set_default_from_file
                                                        (const char *filename);

Warning

mate_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 mate_window_icon_set_default_from* functions have not already been called.

filename :

filename for the default window icon

mate_window_icon_set_default_from_file_list ()

void                mate_window_icon_set_default_from_file_list
                                                        (const char **filenames);

Warning

mate_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

mate_window_icon_init ()

void                mate_window_icon_init              (void);

Warning

mate_window_icon_init is deprecated and should not be used in newly-written code.

Initialize the mate window icon by checking the MATE_DESKTOP_ICON environment variable. This function is automatically called by the mate_init process.