ContentFormatsBuilder

class ContentFormatsBuilder(pointer: <Error class: unknown class><<Error class: unknown class>>)

A GdkContentFormatsBuilder is an auxiliary struct used to create new GdkContentFormats, and should not be kept around.

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val gdkContentFormatsBuilderPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard

Appends all formats from @formats to @builder, skipping those that already exist.

Link copied to clipboard
fun addGtype(type: <Error class: unknown class>)

Appends @type to @builder if it has not already been added.

Link copied to clipboard
fun addMimeType(mimeType: String)

Appends @mime_type to @builder if it has not already been added.

Link copied to clipboard

Creates a new GdkContentFormats from the current state of the given @builder, and frees the @builder instance.

Link copied to clipboard

Acquires a reference on the given @builder.

Link copied to clipboard

Creates a new GdkContentFormats from the given @builder.

Link copied to clipboard
fun unref()

Releases a reference on the given @builder.