![]() |
![]() |
![]() |
GPE Manual: libgpewidget Reference | ![]() |
---|
pixmapspixmaps — |
struct gpe_icon;gboolean gpe_load_icons (struct gpe_icon*);GdkPixbuf * gpe_find_icon (constchar *name);GdkPixbuf * gpe_find_icon_scaled (constchar *name,GtkIconSize size);GdkPixbuf * gpe_try_find_icon (constchar *name,gchar **error);gboolean gpe_find_icon_pixmap (constchar *name,GdkPixmap **pixmap,GdkBitmap **bitmap);void gpe_set_window_icon (GtkWidget *window,gchar *icon);
struct gpe_icon { const char *shortname; const char *filename; GdkPixbuf *pixbuf; };
Struct defining a icon resource in GPE. It consists of three parts:
shortname: Short symbolic name to identify the icon.
filename: Image file with full path or file in theme location (PREFIX /share/gpe/pixmaps/<theme>).
pixbuf: GdkPixbuf with icon data.
GdkPixbuf * gpe_find_icon_scaled (constchar *name,GtkIconSize size);
name : |
|
size : |
|
Returns : |
GdkPixbuf * gpe_try_find_icon (constchar *name,gchar **error);
name : |
|
error : |
|
Returns : |
gboolean gpe_find_icon_pixmap (constchar *name,GdkPixmap **pixmap,GdkBitmap **bitmap);
name : |
|
pixmap : |
|
bitmap : |
|
Returns : |
<< init | question >> |