IOChannel.seekPosition

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

class IOChannel
seekPosition

Parameters

offset long

The offset in bytes from the position specified by type

type glib.types.SeekType

a #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.

Return Value

Type: glib.types.IOStatus

the status of the operation.