connectSizePrepared
fun connectSizePrepared(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (<Error class: unknown class>, <Error class: unknown class>) -> Unit): <Error class: unknown class>
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.
Parameters
connectFlags
A combination of ConnectFlags
handler
the Callback to connect. Params: width
the original width of the image; height
the original height of the image