module Gio::LoadableIcon
Overview
GLoadableIcon
extends the Gio::Icon
interface and adds the ability
to load icons from streams.
Direct including types
- Gdk::DmabufTexture
- Gdk::GLTexture
- Gdk::MemoryTexture
- Gdk::Texture
- GdkPixbuf::Pixbuf
- Gio::BytesIcon
- Gio::FileIcon
Defined in:
lib/gi-crystal/src/auto/gio-2.0/loadable_icon.crConstructors
-
.cast(obj : GObject::Object) : self
Cast a
GObject::Object
toself
, throws aTypeCastError
if the cast can't be made.
Class Method Summary
Instance Method Summary
- #load(size : Int32, cancellable : Gio::Cancellable | Nil) : Gio::InputStream
- #load_async(size : Int32, cancellable : Gio::Cancellable | Nil, &callback : Gio::AsyncReadyCallback) : Nil
- #load_finish(res : Gio::AsyncResult) : Gio::InputStream
- #to_unsafe
Constructor Detail
Class Method Detail
Instance Method Detail
def load_async(size : Int32, cancellable : Gio::Cancellable | Nil, &callback : Gio::AsyncReadyCallback) : Nil
#