![]() |
![]() |
![]() |
GPE Manual: libgpewidget Reference | ![]() |
---|---|---|---|---|
Top | Description |
gboolean gpe_load_icons (struct gpe_icon *Param1
); GdkPixbuf * gpe_find_icon (const gchar *name
); GdkPixbuf * gpe_find_icon_scaled (const gchar *name
,GtkIconSize size
); GdkPixbuf * gpe_find_icon_scaled_free (const gchar *name
,gint width
,gint height
); GdkPixbuf * gpe_try_find_icon (const gchar *name
,gchar **error
); gboolean gpe_find_icon_pixmap (const gchar *name
,GdkPixmap **pixmap
,GdkBitmap **bitmap
); void gpe_set_theme (const gchar *theme_name
); void gpe_set_window_icon (GtkWidget *window
,gchar *icon
);
GdkPixbuf * gpe_find_icon_scaled_free (const gchar *name
,gint width
,gint height
);
Find an icon by name and scale it to a new size defined by the user.
|
name of the icon to find |
|
designated icon width |
|
designated icon height |
Returns : |
New allocated and scaled pixbuf. |
gboolean gpe_find_icon_pixmap (const gchar *name
,GdkPixmap **pixmap
,GdkBitmap **bitmap
);
void gpe_set_theme (const gchar *theme_name
);
Set the name of the theme used by GPE functions. This will cause GPE icon
functions to load icons from the given theme instead of the default location
(if the icon is present in the selected theme). The name of the theme points
GPE to the directory in $PREFIX/share/gpe/pixmaps where to search for the
themed icons. How the actual theme is set and changed needs to be handled
by the application.
Passing NULL to theme_name
resets the theme to the default/user theme.
|
Name of the theme to be used for GPE. |