Table of Contents

Class File

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

Methods

CheckFileOnDisk(IntPtr)

Calls native method gtk_source_file_check_file_on_disk.

public static extern void CheckFileOnDisk(IntPtr file)

Parameters

file IntPtr

Transfer ownership: None Nullable: False

GetCompressionType(IntPtr)

Calls native method gtk_source_file_get_compression_type.

public static extern CompressionType GetCompressionType(IntPtr file)

Parameters

file IntPtr

Transfer ownership: None Nullable: False

Returns

CompressionType

Transfer ownership: None Nullable: False

GetEncoding(IntPtr)

Calls native method gtk_source_file_get_encoding.

public static extern EncodingUnownedHandle GetEncoding(IntPtr file)

Parameters

file IntPtr

Transfer ownership: None Nullable: False

Returns

EncodingUnownedHandle

Transfer ownership: None Nullable: False

GetGType()

Calls native function gtk_source_file_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetLocation(IntPtr)

Calls native method gtk_source_file_get_location.

public static extern IntPtr GetLocation(IntPtr file)

Parameters

file IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

GetNewlineType(IntPtr)

Calls native method gtk_source_file_get_newline_type.

public static extern NewlineType GetNewlineType(IntPtr file)

Parameters

file IntPtr

Transfer ownership: None Nullable: False

Returns

NewlineType

Transfer ownership: None Nullable: False

IsDeleted(IntPtr)

Calls native method gtk_source_file_is_deleted.

public static extern bool IsDeleted(IntPtr file)

Parameters

file IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

IsExternallyModified(IntPtr)

Calls native method gtk_source_file_is_externally_modified.

public static extern bool IsExternallyModified(IntPtr file)

Parameters

file IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

IsLocal(IntPtr)

Calls native method gtk_source_file_is_local.

public static extern bool IsLocal(IntPtr file)

Parameters

file IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

IsReadonly(IntPtr)

Calls native method gtk_source_file_is_readonly.

public static extern bool IsReadonly(IntPtr file)

Parameters

file IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

New()

Calls native constructor gtk_source_file_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetLocation(IntPtr, IntPtr)

Calls native method gtk_source_file_set_location.

public static extern void SetLocation(IntPtr file, IntPtr location)

Parameters

file IntPtr

Transfer ownership: None Nullable: False

location IntPtr

Transfer ownership: None Nullable: True

SetMountOperationFactory(IntPtr, MountOperationFactory, IntPtr, DestroyNotify)

Calls native method gtk_source_file_set_mount_operation_factory.

public static extern void SetMountOperationFactory(IntPtr file, MountOperationFactory callback, IntPtr userData, DestroyNotify notify)

Parameters

file IntPtr

Transfer ownership: None Nullable: False

callback MountOperationFactory

Transfer ownership: None Nullable: False

userData IntPtr

Transfer ownership: None Nullable: True

notify DestroyNotify

Transfer ownership: None Nullable: True