IOChannel.seekPosition

glib.types.IOStatus seekPosition(long offset, glib.types.SeekType type)

Replacement for [glib.iochannel.IOChannel.seek] with the new API.

Parameters

offsetThe offset in bytes from the position specified by type
typea #GSeekType. The type G_SEEK_CUR is only allowed in those cases where a call to g_io_channel_set_encoding () is allowed. See the documentation for g_io_channel_set_encoding () for details.

Returns

the status of the operation.

Throws

[IOChannelException]