Ags.TaskLauncher

g Ags.Connectable Ags.Connectable Ags.TaskLauncher Ags.TaskLauncher Ags.Connectable->Ags.TaskLauncher GObject.GInterface GObject.GInterface GObject.GInterface->Ags.Connectable GObject.Object GObject.Object GObject.Object->Ags.TaskLauncher

Subclasses:

None

Methods

Inherited:

GObject.Object (37), Ags.Connectable (13)

Structs:

GObject.ObjectClass (5)

class

new ()

add_cyclic_task (cyclic_task)

add_task (task)

add_task_all (list)

attach (main_context)

remove_cyclic_task (cyclic_task)

run ()

sync_run ()

Virtual Methods

Inherited:

GObject.Object (7), Ags.Connectable (13)

do_run ()

Properties

None

Signals

Inherited:

GObject.Object (1)

Name

Short Description

run

The ::run signal is invoked to run Ags.TaskLauncher :task

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

connectable_flags

int

r

cyclic_task

[object]

r

flags

int

r

gobject

GObject.Object

r

is_running

bool

r

main_context

GLib.MainContext

r

obj_mutex

GLib.RecMutex

r

task

[object]

r

uuid

Ags.UUID

r

wait_cond

GLib.Cond

r

wait_count

int

r

wait_mutex

GLib.Mutex

r

Class Details

class Ags.TaskLauncher(**kwargs)
Bases:

GObject.Object, Ags.Connectable

Abstract:

No

Structure:

Ags.TaskLauncherClass

classmethod new()
Returns:

the new Ags.TaskLauncher

Return type:

Ags.TaskLauncher

Create a new Ags.TaskLauncher.

New in version 3.0.0.

add_cyclic_task(cyclic_task)
Parameters:

cyclic_task (Ags.Task) – the cyclic Ags.Task

Add cyclic_task to self.

New in version 3.0.0.

add_task(task)
Parameters:

task (Ags.Task) – the Ags.Task

Add task to self.

New in version 3.0.0.

add_task_all(list)
Parameters:

list ([Ags.Task]) – the GLib.List-struct containing Ags.Task

Add all list to self.

New in version 3.0.0.

attach(main_context)
Parameters:

main_context (GLib.MainContext) – the GLib.MainContext-struct

Attach self to main_context.

New in version 3.0.0.

remove_cyclic_task(cyclic_task)
Parameters:

cyclic_task (Ags.Task) – the cyclic Ags.Task

Remove cyclic_task from self.

New in version 3.0.0.

run()

Run tasks.

New in version 3.0.0.

sync_run()

Sync run tasks.

New in version 3.0.0.

do_run() virtual

Run tasks.

New in version 3.0.0.

Signal Details

Ags.TaskLauncher.signals.run(task_launcher)
Signal Name:

run

Flags:

RUN_LAST

Parameters:

task_launcher (Ags.TaskLauncher) – The object which received the signal

The ::run signal is invoked to run Ags.TaskLauncher :task

New in version 3.0.0.