class Vips::SourceCustom
def on_seek &block
- Yieldreturn: - the new read position, or -1 on error
Other tags:
- Yieldparam: whence - Seek whence
Yieldparam: offset - Seek offset
def on_seek &block signal_connect "seek" do |offset, whence| block.call offset, whence end end