5.3 GdkPixbufModuleIncrementLoadFunc

Callback: GdkPixbufModuleIncrementLoadFunc

A procedure given for it is called as (procedure context buf) ⇒ %return.

Incrementally loads a buffer into the image data.

context

Passed: a foreign pointer, or #f.

the state object created by GdkPixbuf.PixbufModuleBeginLoadFunc

buf

Passed: a bytevector.

the data to load

%return

Returned: a boolean.

TRUE if the incremental load was successful

size

Not passed: guile-gi gives the length of buf.

the length of the data to load