set_template


Description:

public bool set_template (ulong attr_type, Attributes attrs, Cancellable? cancellable = null) throws Error

Set an attribute template on the object.

The attr_type must be for an attribute which contains a template.

If the attrs Attributes is floating, it is consumed.

This call may block for an indefinite period.

Parameters:

this

The object to set an attribute template on.

attr_type

The attribute template type.

attrs

The attribute template.

cancellable

Optional cancellation object, or null.

Returns:

true if the operation succeeded.