Top |
#define | AGS_DESTROY_ENTRY() |
void | (*AgsDestroyFunc) () |
AgsDestroyEntry * | ags_destroy_entry_alloc () |
void | ags_destroy_worker_add () |
AgsDestroyWorker * | ags_destroy_worker_get_instance () |
AgsDestroyWorker * | ags_destroy_worker_new () |
#define | AGS_DESTROY_WORKER() |
#define | AGS_DESTROY_WORKER_CLASS() |
#define | AGS_DESTROY_WORKER_GET_CLASS() |
#define | AGS_IS_DESTROY_WORKER() |
#define | AGS_IS_DESTROY_WORKER_CLASS() |
GType | ags_destroy_worker_get_type () |
struct | AgsDestroyEntry |
#define | AGS_TYPE_DESTROY_WORKER |
struct | AgsDestroyWorker |
struct | AgsDestroyWorkerClass |
The AgsDestroyWorker does non-realtime work. You might want give it the responsibility to destroy your objects.
AgsDestroyEntry * ags_destroy_entry_alloc (gpointer ptr
,AgsDestroyFunc destroy_func
);
Allocated a destroy entry.
Since: 3.0.0
void ags_destroy_worker_add (AgsDestroyWorker *destroy_worker
,gpointer ptr
,AgsDestroyFunc destroy_func
);
Add ptr
for destruction using destroy_func
.
destroy_worker |
the AgsDestroyWorker. |
[type gpointer] |
ptr |
the gpointer to destroy |
|
destroy_func |
the AgsDestroyFunc. |
[scope call] |
Since: 3.0.0
AgsDestroyWorker * ags_destroy_worker_get_instance ();
Get your destroy worker instance.
Since: 3.0.0
AgsDestroyWorker * ags_destroy_worker_new ();
Create a new AgsDestroyWorker.
Since: 3.0.0
#define AGS_DESTROY_WORKER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DESTROY_WORKER, AgsDestroyWorker))
#define AGS_DESTROY_WORKER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_DESTROY_WORKER, AgsDestroyWorkerClass))
#define AGS_DESTROY_WORKER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_DESTROY_WORKER, AgsDestroyWorkerClass))
#define AGS_IS_DESTROY_WORKER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_DESTROY_WORKER))
#define AGS_IS_DESTROY_WORKER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_DESTROY_WORKER))