PixbufLoader.connectAreaUpdated
gulong connectAreaUpdated(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == int)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == int)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] == int)))
&& (Parameters!T.length < 4 || (ParameterStorageClassTuple!T[3] == ParameterStorageClass.none && is(Parameters!T[3] == int)))
&& (Parameters!T.length < 5 || (ParameterStorageClassTuple!T[4] == ParameterStorageClass.none && is(Parameters!T[4] : gdkpixbuf.pixbuf_loader.PixbufLoader)))
&& Parameters!T.length < 6)Connect to AreaUpdated signal.
This signal is emitted when a significant area of the image being loaded has been updated.
Normally it means that a complete scanline has been read in, but it could be a different area as well.
Applications can use this signal to know when to repaint areas of an image that is being loaded.
Parameters
callback | signal callback delegate or function to connect void callback(int x, int y, int width, int height, gdkpixbuf.pixbuf_loader.PixbufLoader pixbufLoader) x X offset of upper-left corner of the updated area. (optional) y Y offset of upper-left corner of the updated area. (optional) width Width of updated area. (optional) height Height of updated area. (optional) pixbufLoader the instance the signal is connected to (optional) |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID