pixmaps

pixmaps —

Synopsis




struct      gpe_icon;
gboolean    gpe_load_icons                  (struct gpe_icon*);
GdkPixbuf*  gpe_find_icon                   (const char *name);
GdkPixbuf*  gpe_find_icon_scaled            (const char *name,
                                             GtkIconSize size);
GdkPixbuf*  gpe_try_find_icon               (const char *name,
                                             gchar **error);
gboolean    gpe_find_icon_pixmap            (const char *name,
                                             GdkPixmap **pixmap,
                                             GdkBitmap **bitmap);
void        gpe_set_window_icon             (GtkWidget *window,
                                             gchar *icon);

Description

Details

struct gpe_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.


gpe_load_icons ()

gboolean    gpe_load_icons                  (struct gpe_icon*);

Param1 :
Returns :

gpe_find_icon ()

GdkPixbuf*  gpe_find_icon                   (const char *name);

name :
Returns :

gpe_find_icon_scaled ()

GdkPixbuf*  gpe_find_icon_scaled            (const char *name,
                                             GtkIconSize size);

name :
size :
Returns :

gpe_try_find_icon ()

GdkPixbuf*  gpe_try_find_icon               (const char *name,
                                             gchar **error);

name :
error :
Returns :

gpe_find_icon_pixmap ()

gboolean    gpe_find_icon_pixmap            (const char *name,
                                             GdkPixmap **pixmap,
                                             GdkBitmap **bitmap);

name :
pixmap :
bitmap :
Returns :

gpe_set_window_icon ()

void        gpe_set_window_icon             (GtkWidget *window,
                                             gchar *icon);

window :
icon :