FileAttributeInfoList

Acts as a lightweight registry for possible valid file attributes. The registry stores Key-Value pair formats as #GFileAttributeInfos.

Constructors

this
this(GFileAttributeInfoList* gFileAttributeInfoList, bool ownedRef)

Sets our main struct and passes it to the parent class.

this
this()

Creates a new file attribute info list.

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

doref
alias doref = ref_
Undocumented in source.

Functions

add
void add(string name, GFileAttributeType type, GFileAttributeInfoFlags flags)

Adds a new attribute with @name to the @list, setting its @type and @flags.

dup
FileAttributeInfoList dup()

Makes a duplicate of a file attribute info list.

getFileAttributeInfoListStruct
GFileAttributeInfoList* getFileAttributeInfoListStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

lookup
GFileAttributeInfo* lookup(string name)

Gets the file attribute with the name @name from @list.

ref_
FileAttributeInfoList ref_()

References a file attribute info list.

unref
void unref()

Removes a reference from the given @list. If the reference count falls to zero, the @list is deleted.

Properties

infos
GFileAttributeInfo[] infos [@property getter]
GFileAttributeInfo[] infos [@property setter]

an array of #GFileAttributeInfos.

Static functions

getType
GType getType()

Variables

gFileAttributeInfoList
GFileAttributeInfoList* gFileAttributeInfoList;

the main Gtk struct

ownedRef
bool ownedRef;
Undocumented in source.

Meta