Gck.Builder.prototype.copy

function copy(): Gck.Builder {
    // Gjs wrapper for gck_builder_copy()
}
  

Make a copy of the builder and its state. The new builder is allocated with Gck.Builder.new and should be freed with Gck.builder_unref.

Attribute value memory is automatically shared between the two builders, and is only freed when both are gone.

Returns

the builder copy, which should be freed with Gck.builder_unref.