Gjsify LogoGjsify Logo

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

record

Hierarchy

  • ContentFormatsBuilder

Index

Constructors

Properties

name: string

Methods

  • add_gtype(type: GType<unknown>): void
  • add_mime_type(mime_type: string): void
  • Appends mime_type to builder if it has not already been added.

    Parameters

    • mime_type: string

      a mime type

    Returns void

  • Creates a new GdkContentFormats from the given builder.

    The given GdkContentFormatsBuilder is reset once this function returns; you cannot call this function multiple times on the same builder instance.

    This function is intended primarily for bindings. C code should use [methodGdk.ContentFormatsBuilder.free_to_formats].

    Returns ContentFormats

  • unref(): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method