GIO Reference Manual | ||||
---|---|---|---|---|
Top | Description |
#include <gio/gio.h> GBytesIcon; GIcon * g_bytes_icon_new (GBytes *bytes
); GBytes * g_bytes_icon_get_bytes (GBytesIcon *icon
);
GBytesIcon specifies an image held in memory in a common format (usually png) to be used as icon.
typedef struct _GBytesIcon GBytesIcon;
Gets an icon for a GBytes. Implements GLoadableIcon.
GIcon * g_bytes_icon_new (GBytes *bytes
);
Creates a new icon for a bytes.
|
a GBytes. |
Returns : |
a GIcon for the given
bytes , or NULL on error. [transfer full][type GBytesIcon]
|
Since 2.38