Table of Contents

Class Encoding

Namespace
GtkSource.Internal
Assembly
GtkSource-5.dll
public class Encoding
Inheritance
Encoding
Inherited Members

Methods

Copy(EncodingHandle)

Calls native method gtk_source_encoding_copy.

public static extern EncodingOwnedHandle Copy(EncodingHandle enc)

Parameters

enc EncodingHandle

Transfer ownership: None Nullable: False

Returns

EncodingOwnedHandle

Transfer ownership: Full Nullable: False

Free(EncodingHandle)

Calls native method gtk_source_encoding_free.

public static extern void Free(EncodingHandle enc)

Parameters

enc EncodingHandle

Transfer ownership: None Nullable: False

GetCharset(EncodingHandle)

Calls native method gtk_source_encoding_get_charset.

public static extern NonNullableUtf8StringUnownedHandle GetCharset(EncodingHandle enc)

Parameters

enc EncodingHandle

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetCurrent()

Calls native function gtk_source_encoding_get_current.

public static extern EncodingUnownedHandle GetCurrent()

Returns

EncodingUnownedHandle

Transfer ownership: None Nullable: False

GetFromCharset(NonNullableUtf8StringHandle)

Calls native function gtk_source_encoding_get_from_charset.

public static extern EncodingUnownedHandle GetFromCharset(NonNullableUtf8StringHandle charset)

Parameters

charset NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

EncodingUnownedHandle

Transfer ownership: None Nullable: True

GetGType()

Calls native function gtk_source_encoding_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetName(EncodingHandle)

Calls native method gtk_source_encoding_get_name.

public static extern NonNullableUtf8StringUnownedHandle GetName(EncodingHandle enc)

Parameters

enc EncodingHandle

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetUtf8()

Calls native function gtk_source_encoding_get_utf8.

public static extern EncodingUnownedHandle GetUtf8()

Returns

EncodingUnownedHandle

Transfer ownership: None Nullable: False

ToString(EncodingHandle)

Calls native method gtk_source_encoding_to_string.

public static extern NonNullableUtf8StringOwnedHandle ToString(EncodingHandle enc)

Parameters

enc EncodingHandle

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: False