Gck.Object.prototype.get_template_async
function get_template_async(attr_type: Number(gulong), cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { // Gjs wrapper for gck_object_get_template_async() }
Get an attribute template from the object. The attr_type must be for an attribute which returns a template.
This call will return immediately and complete asynchronously.
- attr_type
The template attribute type.
- cancellable
Optional cancellation object, or NULL.
- callback
Called when the operation completes.