LoadableIconIF

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

Members

Functions

getLoadableIconStruct
GLoadableIcon* getLoadableIconStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

load
InputStream load(int size, string type, Cancellable cancellable)

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

loadAsync
void loadAsync(int size, Cancellable cancellable, GAsyncReadyCallback callback, void* userData)

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().

loadFinish
InputStream loadFinish(AsyncResultIF res, string type)

Finishes an asynchronous icon load started in g_loadable_icon_load_async().

Static functions

getType
GType getType()

Meta