module Gio::LoadableIcon
Overview
Extends the #GIcon interface and adds the ability to load icons from streams.
Direct including types
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
Cast a GObject::Object
to self
, throws a TypeCastError
if the cast can't be made.
Class Method Detail
Instance Method Detail
def load_async(size : Int32, cancellable : Gio::Cancellable | Nil, &callback : Gio::AsyncReadyCallback) : Nil
#