Infinity.StandaloneIo

g GObject.GInterface GObject.GInterface Infinity.Io Infinity.Io GObject.GInterface->Infinity.Io GObject.Object GObject.Object Infinity.StandaloneIo Infinity.StandaloneIo GObject.Object->Infinity.StandaloneIo Infinity.Io->Infinity.StandaloneIo

Subclasses:

None

Methods

Inherited:

GObject.Object (37), Infinity.Io (8)

Structs:

GObject.ObjectClass (5)

class

new ()

iteration ()

iteration_timeout (timeout)

loop ()

loop_quit ()

loop_running ()

Virtual Methods

Inherited:

GObject.Object (7), Infinity.Io (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class Infinity.StandaloneIo(**kwargs)
Bases:

GObject.Object, Infinity.Io

Abstract:

No

Structure:

Infinity.StandaloneIoClass

Infinity.StandaloneIo is an opaque data type. You should only access it via the public API functions.

classmethod new()
Returns:

A new Infinity.StandaloneIo. Free with GObject.Object.unref() when no longer needed.

Return type:

Infinity.StandaloneIo

Creates a new Infinity.StandaloneIo.

iteration()

Performs a single iteration of self. The call will block until a first event has occurred. Then, it will process that event and return.

iteration_timeout(timeout)
Parameters:

timeout (int) – Maximum number of milliseconds to block.

Performs a single iteration of self. The call will block until either an event occurred or timeout milliseconds have elapsed. If an event occurred, the event will be processed before returning.

loop()

This call will cause self to wait for events and process them, but not return until Infinity.StandaloneIo.loop_quit() is called.

loop_quit()

Exits a loop in which self is running through a call to Infinity.StandaloneIo.loop().

loop_running()
Returns:

Whether self runs in a loop.

Return type:

bool

Returns whether self runs currently in a loop initiated with Infinity.StandaloneIo.loop().