Gsf.InputProxy

g GObject.Object GObject.Object Gsf.Input Gsf.Input GObject.Object->Gsf.Input Gsf.InputProxy Gsf.InputProxy Gsf.Input->Gsf.InputProxy

Subclasses:

None

Methods

Inherited:

Gsf.Input (24), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (source)

class

new_section (source, offset, size)

Virtual Methods

Inherited:

Gsf.Input (3), GObject.Object (7)

Properties

Inherited:

Gsf.Input (7)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Gsf.InputProxy(**kwargs)
Bases:

Gsf.Input

Abstract:

No

classmethod new(source)
Parameters:

source (Gsf.Input) – The underlying data source.

Returns:

a new input object.

Return type:

Gsf.Input

This creates a new proxy to the entire, given input source. See Gsf.InputProxy.new_section for details.

classmethod new_section(source, offset, size)
Parameters:
  • source (Gsf.Input) – The underlying data source.

  • offset (int) – Offset into source for start of section.

  • size (int) – Length of section.

Returns:

a new input object.

Return type:

Gsf.Input

This creates a new proxy to a section of the given source. The new object will have its own current position, but any operation on it can change the source’s position.

If a proxy to a proxy is created, the intermediate proxy is short- circuited.

This function will ref the source.