struct GdkPixbuf::PixbufLoader::SizePreparedSignal

Overview

This signal is emitted when the pixbuf loader has been fed the initial amount of data that is required to figure out the size of the image that it will create.

Applications can call gdk_pixbuf_loader_set_size() in response to this signal to set the desired size to which the image should be scaled.

Defined in:

lib/gi-crystal/src/auto/gdk_pixbuf-2.0/pixbuf_loader.cr

Instance Method Summary

Instance methods inherited from struct GObject::Signal

[](detail : String) : self [], name : String name

Constructor methods inherited from struct GObject::Signal

new(source : GObject::Object, detail : Nil | String = nil) new

Instance Method Detail

def connect(*, after : Bool = false, &block : Proc(Int32, Int32, Nil)) : GObject::SignalConnection #

[View source]
def connect(handler : Proc(Int32, Int32, Nil), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def connect(handler : Proc(GdkPixbuf::PixbufLoader, Int32, Int32, Nil), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def emit(width : Int32, height : Int32) : Nil #

[View source]
def name : String #
Description copied from struct GObject::Signal

The signal name


[View source]