Table of Contents

Class ContentFormatsBuilder

Namespace
Gdk.Internal
Assembly
Gdk-4.0.dll
public class ContentFormatsBuilder
Inheritance
ContentFormatsBuilder
Inherited Members

Methods

AddFormats(ContentFormatsBuilderHandle, ContentFormatsHandle)

Calls native method gdk_content_formats_builder_add_formats.

public static extern void AddFormats(ContentFormatsBuilderHandle builder, ContentFormatsHandle formats)

Parameters

builder ContentFormatsBuilderHandle

Transfer ownership: None Nullable: False

formats ContentFormatsHandle

Transfer ownership: None Nullable: False

AddGtype(ContentFormatsBuilderHandle, Type)

Calls native method gdk_content_formats_builder_add_gtype.

public static extern void AddGtype(ContentFormatsBuilderHandle builder, Type type)

Parameters

builder ContentFormatsBuilderHandle

Transfer ownership: None Nullable: False

type Type

Transfer ownership: None Nullable: False

AddMimeType(ContentFormatsBuilderHandle, NonNullableUtf8StringHandle)

Calls native method gdk_content_formats_builder_add_mime_type.

public static extern void AddMimeType(ContentFormatsBuilderHandle builder, NonNullableUtf8StringHandle mimeType)

Parameters

builder ContentFormatsBuilderHandle

Transfer ownership: None Nullable: False

mimeType NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

FreeToFormats(ContentFormatsBuilderHandle)

Calls native method gdk_content_formats_builder_free_to_formats.

public static extern ContentFormatsOwnedHandle FreeToFormats(ContentFormatsBuilderHandle builder)

Parameters

builder ContentFormatsBuilderHandle

Transfer ownership: None Nullable: False

Returns

ContentFormatsOwnedHandle

Transfer ownership: Full Nullable: False

GetGType()

Calls native function gdk_content_formats_builder_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

New()

Calls native constructor gdk_content_formats_builder_new.

public static extern ContentFormatsBuilderOwnedHandle New()

Returns

ContentFormatsBuilderOwnedHandle

Transfer ownership: Full Nullable: False

Ref(ContentFormatsBuilderHandle)

Calls native method gdk_content_formats_builder_ref.

public static extern ContentFormatsBuilderUnownedHandle Ref(ContentFormatsBuilderHandle builder)

Parameters

builder ContentFormatsBuilderHandle

Transfer ownership: None Nullable: False

Returns

ContentFormatsBuilderUnownedHandle

Transfer ownership: None Nullable: False

ToFormats(ContentFormatsBuilderHandle)

Calls native method gdk_content_formats_builder_to_formats.

public static extern ContentFormatsOwnedHandle ToFormats(ContentFormatsBuilderHandle builder)

Parameters

builder ContentFormatsBuilderHandle

Transfer ownership: None Nullable: False

Returns

ContentFormatsOwnedHandle

Transfer ownership: Full Nullable: False

Unref(ContentFormatsBuilderHandle)

Calls native method gdk_content_formats_builder_unref.

public static extern void Unref(ContentFormatsBuilderHandle builder)

Parameters

builder ContentFormatsBuilderHandle

Transfer ownership: None Nullable: False