Top |
Functions
#define | AGS_TASK_LAUNCHER_GET_OBJ_MUTEX() |
|
ags_task_launcher_test_flags () |
|
ags_task_launcher_set_flags () |
|
ags_task_launcher_unset_flags () |
|
ags_task_launcher_attach () |
|
ags_task_launcher_add_task () |
|
ags_task_launcher_add_task_all () |
|
ags_task_launcher_add_cyclic_task () |
|
ags_task_launcher_remove_cyclic_task () |
|
ags_task_launcher_run () |
|
ags_task_launcher_sync_run () |
AgsTaskLauncher * | ags_task_launcher_new () |
Functions
AGS_TASK_LAUNCHER_GET_OBJ_MUTEX()
#define AGS_TASK_LAUNCHER_GET_OBJ_MUTEX(obj) (&(((AgsTaskLauncher *) obj)->obj_mutex))
ags_task_launcher_test_flags ()
gboolean ags_task_launcher_test_flags (AgsTaskLauncher *task_launcher
,);
guint flags
Test flags
to be set on task_launcher
.
Since:
ags_task_launcher_set_flags ()
void ags_task_launcher_set_flags (AgsTaskLauncher *task_launcher
,);
guint flags
Enable a feature of AgsTaskLauncher.
Since:
ags_task_launcher_unset_flags ()
void ags_task_launcher_unset_flags (AgsTaskLauncher *task_launcher
,);
guint flags
Disable a feature of AgsTaskLauncher.
Since:
ags_task_launcher_attach ()
void ags_task_launcher_attach (AgsTaskLauncher *task_launcher
,);
GMainContext *main_context
Attach task_launcher
to main_context
.
Since:
ags_task_launcher_add_task ()
void ags_task_launcher_add_task (AgsTaskLauncher *task_launcher
,AgsTask *task
);
Add task
to task_launcher
.
Since:
ags_task_launcher_add_task_all ()
void ags_task_launcher_add_task_all (AgsTaskLauncher *task_launcher
,);
GList *list
Add all list
to task_launcher
.
Parameters
task_launcher |
the AgsTaskLauncher |
|
list |
the |
[element-type Ags.Task][transfer none] |
Since:
ags_task_launcher_add_cyclic_task ()
void ags_task_launcher_add_cyclic_task (AgsTaskLauncher *task_launcher
,AgsTask *cyclic_task
);
Add cyclic_task
to task_launcher
.
Since:
ags_task_launcher_remove_cyclic_task ()
void ags_task_launcher_remove_cyclic_task (AgsTaskLauncher *task_launcher
,AgsTask *cyclic_task
);
Remove cyclic_task
from task_launcher
.
Since:
ags_task_launcher_run ()
void ags_task_launcher_run (AgsTaskLauncher *task_launcher
);
Run tasks.
Since:
ags_task_launcher_sync_run ()
void ags_task_launcher_sync_run (AgsTaskLauncher *task_launcher
);
Sync run tasks.
Since:
ags_task_launcher_new ()
AgsTaskLauncher * ags_task_launcher_new ();
Create a new AgsTaskLauncher.
Since:
Types and Values
enum AgsTaskLauncherFlags
Enum values to control the behavior or indicate internal state of AgsTaskLauncher by enable/disable as flags.
Property Details
The “cyclic-task”
property
“cyclic-task”gpointer
The assigned cyclic AgsTask to launch.
[transfer full]
Owner: AgsTaskLauncher
Flags: Read / Write
Since:
The “task”
property
“task”gpointer
The assigned AgsTask to launch.
[transfer full]
Owner: AgsTaskLauncher
Flags: Read / Write
Since:
Signal Details
The “run”
signal
void user_function (AgsTaskLauncher *task_launcher,gpointer user_data)
The ::run signal is invoked to run “task”
Parameters
task_launcher |
the AgsTaskLauncher |
|
user_data |
user data set when the signal handler was connected. |
Flags:
Since: