Method

IdeRecursiveFileMonitorset_ignore_func

Declaration

void
ide_recursive_file_monitor_set_ignore_func (
  IdeRecursiveFileMonitor* self,
  IdeRecursiveIgnoreFunc ignore_func,
  gpointer ignore_func_data,
  GDestroyNotify ignore_func_data_destroy
)

Description

Sets a callback function to determine if a GFile should be ignored from signal emission.

ignore_func will always be called from the applications main thread.

If ignore_func is NULL, it is set to the default which does not ignore any files or directories.

Parameters

ignore_func

Type: IdeRecursiveIgnoreFunc

A IdeRecursiveIgnoreFunc.

ignore_func_data

Type: gpointer

Closure data for ignore_func.

The argument can be NULL.
The data is owned by the caller of the method.
ignore_func_data_destroy

Type: GDestroyNotify

Destroy notify for ignore_func_data.