| GIO Reference Manual | ||||
|---|---|---|---|---|
GLoadableIcon;
GLoadableIconIface;
GInputStream* g_loadable_icon_load (GLoadableIcon *icon,
int size,
char **type,
GCancellable *cancellable,
GError **error);
void g_loadable_icon_load_async (GLoadableIcon *icon,
int size,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GInputStream* g_loadable_icon_load_finish (GLoadableIcon *icon,
GAsyncResult *res,
char **type,
GError **error);
typedef struct {
GTypeInterface g_iface;
/* Virtual Table */
GInputStream * (*load) (GLoadableIcon *icon,
int size,
char **type,
GCancellable *cancellable,
GError **error);
void (*load_async) (GLoadableIcon *icon,
int size,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GInputStream * (*load_finish) (GLoadableIcon *icon,
GAsyncResult *res,
char **type,
GError **error);
} GLoadableIconIface;
GInputStream* g_loadable_icon_load (GLoadableIcon *icon, int size, char **type, GCancellable *cancellable, GError **error);
|
|
|
|
|
|
|
optional GCancellable object, NULL to ignore.
|
|
a GError location to store the error occuring, or NULL to
ignore.
Returns:
|
Returns : |
void g_loadable_icon_load_async (GLoadableIcon *icon, int size, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);
Loads an icon asynchronously.
|
|
|
|
|
optional GCancellable object, NULL to ignore. callback:
|
|
|
|
GInputStream* g_loadable_icon_load_finish (GLoadableIcon *icon, GAsyncResult *res, char **type, GError **error);
|
|
|
|
|
|
|
a GError location to store the error occuring, or NULL to
ignore.
Returns:
|
Returns : |