X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=docs%2Freference%2Fgio%2Fhtml%2FGLoadableIcon.html;h=b5453873df1baabbbcc50ffe866fccb7e6135488;hb=147c398cd05d71fb172d3788b9dc576c67141811;hp=584fe6dfd8d1b18350e2be344d435c1ecfead290;hpb=5e3c122e6c1fb35ed1a2cb0b76e62a519251fb33;p=platform%2Fupstream%2Fglib2.0.git diff --git a/docs/reference/gio/html/GLoadableIcon.html b/docs/reference/gio/html/GLoadableIcon.html index 584fe6d..b545387 100644 --- a/docs/reference/gio/html/GLoadableIcon.html +++ b/docs/reference/gio/html/GLoadableIcon.html @@ -3,43 +3,13 @@ GLoadableIcon - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -62,7 +32,7 @@ Known Implementations -
+
@@ -71,67 +41,69 @@
-
+

Synopsis

 #include <gio/gio.h>
 
                     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);
+struct              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);
 
-
+

Object Hierarchy

   GInterface
    +----GLoadableIcon
 
-
+

Prerequisites

GLoadableIcon requires - GIcon and GObject.

+ GIcon and GObject.

-
+

Known Implementations

GLoadableIcon is implemented by GFileIcon.

-
+

Description

Extends the GIcon interface and adds the ability to -load icons from streams.

+load icons from streams. +

-
+

Details

-
+

GLoadableIcon

typedef struct _GLoadableIcon GLoadableIcon;

Generic type for all kinds of icons that can be loaded -as a stream.

+as a stream. +


-
-

GLoadableIconIface

-
typedef struct {
+
+

struct GLoadableIconIface

+
struct GLoadableIconIface {
   GTypeInterface g_iface;
 
   /* Virtual Table */
@@ -150,176 +122,169 @@ as a stream.

GAsyncResult *res, char **type, GError **error); -} GLoadableIconIface; +};

-Interface for icons that can be loaded as a stream.

+Interface for icons that can be loaded as a stream. +

- - + + - + - + - +

GTypeInterface g_iface;

The parent interface. -

GTypeInterface g_iface;

The parent interface.

load ()

Loads an icon. -Loads an icon.

load_async ()

Loads an icon asynchronously. -Loads an icon asynchronously.

load_finish ()

Finishes an asynchronous icon load. -Finishes an asynchronous icon load.

-
+

g_loadable_icon_load ()

-
GInputStream *      g_loadable_icon_load                (GLoadableIcon *icon,
-                                                         int size,
-                                                         char **type,
-                                                         GCancellable *cancellable,
-                                                         GError **error);
+
GInputStream *      g_loadable_icon_load                (GLoadableIcon *icon,
+                                                         int size,
+                                                         char **type,
+                                                         GCancellable *cancellable,
+                                                         GError **error);

Loads a loadable icon. For the asynchronous version of this function, -see g_loadable_icon_load_async().

+see g_loadable_icon_load_async(). +

- + - + - - - + -

icon :

a GLoadableIcon. -a GLoadableIcon.

size :

an integer. -an integer.

type :

a location to store the type of the loaded icon, NULL to ignore. +a location to store the type of the +loaded icon, NULL to ignore. [out][allow-none]

cancellable :

optional GCancellable object, NULL to ignore. +optional GCancellable object, NULL to ignore. [allow-none]

error :

a GError location to store the error occuring, or NULL to -ignore. -a GError location to store the error occurring, or NULL to +ignore.

Returns :

a GInputStream to read the icon from. +a GInputStream to read the icon from. [transfer full]

-
+

g_loadable_icon_load_async ()

-
void                g_loadable_icon_load_async          (GLoadableIcon *icon,
-                                                         int size,
-                                                         GCancellable *cancellable,
-                                                         GAsyncReadyCallback callback,
-                                                         gpointer user_data);
+
void                g_loadable_icon_load_async          (GLoadableIcon *icon,
+                                                         int size,
+                                                         GCancellable *cancellable,
+                                                         GAsyncReadyCallback callback,
+                                                         gpointer user_data);

Loads an icon asynchronously. To finish this function, see g_loadable_icon_load_finish(). For the synchronous, blocking -version of this function, see g_loadable_icon_load().

+version of this function, see g_loadable_icon_load(). +

- + - + - - -

icon :

a GLoadableIcon. -a GLoadableIcon.

size :

an integer. -an integer.

cancellable :

optional GCancellable object, NULL to ignore. +optional GCancellable object, NULL to ignore. [allow-none]

callback :

a GAsyncReadyCallback to call when the request is satisfied +a GAsyncReadyCallback to call when the +request is satisfied. [scope async]

user_data :

the data to pass to callback function +the data to pass to callback function. [closure]

-
+

g_loadable_icon_load_finish ()

-
GInputStream *      g_loadable_icon_load_finish         (GLoadableIcon *icon,
-                                                         GAsyncResult *res,
-                                                         char **type,
-                                                         GError **error);
+
GInputStream *      g_loadable_icon_load_finish         (GLoadableIcon *icon,
+                                                         GAsyncResult *res,
+                                                         char **type,
+                                                         GError **error);

-Finishes an asynchronous icon load started in g_loadable_icon_load_async().

+Finishes an asynchronous icon load started in g_loadable_icon_load_async(). +

- + - + - + - + -

icon :

a GLoadableIcon. -a GLoadableIcon.

res :

a GAsyncResult. -a GAsyncResult.

type :

a location to store the type of the loaded icon, NULL to ignore. -a location to store the type of the loaded icon, NULL to ignore.

error :

a GError location to store the error occuring, or NULL to -ignore. -a GError location to store the error occurring, or NULL to +ignore.

Returns :

a GInputStream to read the icon from. +a GInputStream to read the icon from. [transfer full]
-
+

See Also

GIcon, GThemedIcon
+ Generated by GTK-Doc V1.18
\ No newline at end of file