Infinity.StandaloneIo¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Infinity.StandaloneIo(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
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 withGObject.Object.unref
() when no longer needed.- Return type:
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:
Returns whether self runs currently in a loop initiated with
Infinity.StandaloneIo.loop
().