Table of Contents

Class FileMonitor

Namespace
Gio.Internal
Assembly
Gio-2.0.dll
public class FileMonitor
Inheritance
FileMonitor
Inherited Members

Methods

Cancel(IntPtr)

Calls native method g_file_monitor_cancel.

public static extern bool Cancel(IntPtr monitor)

Parameters

monitor IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

EmitEvent(IntPtr, IntPtr, IntPtr, FileMonitorEvent)

Calls native method g_file_monitor_emit_event.

public static extern void EmitEvent(IntPtr monitor, IntPtr child, IntPtr otherFile, FileMonitorEvent eventType)

Parameters

monitor IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

otherFile IntPtr

Transfer ownership: None Nullable: False

eventType FileMonitorEvent

Transfer ownership: None Nullable: False

GetGType()

Calls native function g_file_monitor_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

IsCancelled(IntPtr)

Calls native method g_file_monitor_is_cancelled.

public static extern bool IsCancelled(IntPtr monitor)

Parameters

monitor IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

SetRateLimit(IntPtr, int)

Calls native method g_file_monitor_set_rate_limit.

public static extern void SetRateLimit(IntPtr monitor, int limitMsecs)

Parameters

monitor IntPtr

Transfer ownership: None Nullable: False

limitMsecs int

Transfer ownership: None Nullable: False