| MATE UI Library Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#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);
void mate_window_icon_set_from_default (GtkWindow *w);
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.
|
the GtkWidget to set the icon on |
void mate_window_icon_set_from_file (GtkWindow *w,const char *filename);
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.
|
the GtkWidget to set the icon on |
|
the name of the file to load |
void mate_window_icon_set_from_file_list (GtkWindow *w,const char **filenames);
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.
|
window to set icons on |
|
NULL terminated string array |
void mate_window_icon_set_default_from_file
(const char *filename);
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 for the default window icon |
void mate_window_icon_set_default_from_file_list
(const char **filenames);
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.
|
NULL terminated string array |
void mate_window_icon_init (void);
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.