FileAttributeInfoList

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

Constructors

this
this(void* ptr, Flag!"Take" take)
this
this()

Creates a new file attribute info list.

Members

Functions

add
void add(string name, gio.types.FileAttributeType type, gio.types.FileAttributeInfoFlags flags)

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

cPtr
void* cPtr(Flag!"Dup" dup)
dup
gio.file_attribute_info_list.FileAttributeInfoList dup()

Makes a duplicate of a file attribute info list.

lookup
gio.file_attribute_info.FileAttributeInfo lookup(string name)

Gets the file attribute with the name name from list.

self
FileAttributeInfoList self()

Returns this, for use in with statements.

Properties

gType
GType gType [@property getter]
infos
gio.file_attribute_info.FileAttributeInfo infos [@property getter]

Get infos field.

nInfos
int nInfos [@property getter]

Get nInfos field.

nInfos
int nInfos [@property setter]

Set nInfos field.

Static functions

getGType
GType getGType()

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

getType
GType getType()

Get the GType of this boxed type.

gType
GType gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.