Table of Contents

Class DirectoryList

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class DirectoryList : Object, IObject, INotifyPropertyChanged, IDisposable, ListModel, IHandle, GTypeProvider
Inheritance
DirectoryList
Implements
Inherited Members

Constructors

DirectoryList(bool, params ConstructArgument[])

protected DirectoryList(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

DirectoryList(IntPtr, bool)

protected DirectoryList(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

AttributesPropertyDefinition

public static readonly Property<string?, DirectoryList> AttributesPropertyDefinition

Field Value

Property<string, DirectoryList>

ErrorPropertyDefinition

public static readonly Property<Error, DirectoryList> ErrorPropertyDefinition

Field Value

Property<Error, DirectoryList>

FilePropertyDefinition

public static readonly Property<File, DirectoryList> FilePropertyDefinition

Field Value

Property<File, DirectoryList>

IoPriorityPropertyDefinition

public static readonly Property<int, DirectoryList> IoPriorityPropertyDefinition

Field Value

Property<int, DirectoryList>

LoadingPropertyDefinition

public static readonly Property<bool, DirectoryList> LoadingPropertyDefinition

Field Value

Property<bool, DirectoryList>

MonitoredPropertyDefinition

public static readonly Property<bool, DirectoryList> MonitoredPropertyDefinition

Field Value

Property<bool, DirectoryList>

NItemsPropertyDefinition

public static readonly Property<uint, DirectoryList> NItemsPropertyDefinition

Field Value

Property<uint, DirectoryList>

Properties

Attributes

public string? Attributes { get; set; }

Property Value

string

Error

public Error Error { get; }

Property Value

Error

File

public File File { get; set; }

Property Value

File

IoPriority

public int IoPriority { get; set; }

Property Value

int

Loading

public bool Loading { get; }

Property Value

bool

Monitored

public bool Monitored { get; set; }

Property Value

bool

NItems

public uint NItems { get; }

Property Value

uint

Methods

GetAttributes()

public string? GetAttributes()

Returns

string

GetError()

public Error? GetError()

Returns

Error

GetFile()

public File? GetFile()

Returns

File

GetGType()

public static Type GetGType()

Returns

Type

GetIoPriority()

public int GetIoPriority()

Returns

int

GetItem(uint)

[Version("2.44")]
public IntPtr GetItem(uint position)

Parameters

position uint

Returns

IntPtr

GetItemType()

[Version("2.44")]
public Type GetItemType()

Returns

Type

GetMonitored()

public bool GetMonitored()

Returns

bool

GetNItems()

[Version("2.44")]
public uint GetNItems()

Returns

uint

GetObject(uint)

[Version("2.44")]
public Object? GetObject(uint position)

Parameters

position uint

Returns

Object

IsLoading()

public bool IsLoading()

Returns

bool

ItemsChanged(uint, uint, uint)

[Version("2.44")]
public void ItemsChanged(uint position, uint removed, uint added)

Parameters

position uint
removed uint
added uint

New(string?, File?)

public static DirectoryList New(string? attributes, File? file)

Parameters

attributes string
file File

Returns

DirectoryList

SetAttributes(string?)

public void SetAttributes(string? attributes)

Parameters

attributes string

SetFile(File?)

public void SetFile(File? file)

Parameters

file File

SetIoPriority(int)

public void SetIoPriority(int ioPriority)

Parameters

ioPriority int

SetMonitored(bool)

public void SetMonitored(bool monitored)

Parameters

monitored bool