gi-gio-2.0.27: Gio bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gio.Structs.FileAttributeInfo

Description

Information about a specific attribute.

Synopsis

Exported types

newZeroFileAttributeInfo :: MonadIO m => m FileAttributeInfo Source #

Construct a FileAttributeInfo struct initialized to zero.

Methods

Overloaded methods

Properties

flags

getFileAttributeInfoFlags :: MonadIO m => FileAttributeInfo -> m [FileAttributeInfoFlags] Source #

Get the value of the “flags” field. When overloading is enabled, this is equivalent to

get fileAttributeInfo #flags

setFileAttributeInfoFlags :: MonadIO m => FileAttributeInfo -> [FileAttributeInfoFlags] -> m () Source #

Set the value of the “flags” field. When overloading is enabled, this is equivalent to

set fileAttributeInfo [ #flags := value ]

name

the name of the attribute.

clearFileAttributeInfoName :: MonadIO m => FileAttributeInfo -> m () Source #

Set the value of the “name” field to Nothing. When overloading is enabled, this is equivalent to

clear #name

getFileAttributeInfoName :: MonadIO m => FileAttributeInfo -> m (Maybe Text) Source #

Get the value of the “name” field. When overloading is enabled, this is equivalent to

get fileAttributeInfo #name

setFileAttributeInfoName :: MonadIO m => FileAttributeInfo -> CString -> m () Source #

Set the value of the “name” field. When overloading is enabled, this is equivalent to

set fileAttributeInfo [ #name := value ]

type

the FileAttributeType type of the attribute.

getFileAttributeInfoType :: MonadIO m => FileAttributeInfo -> m FileAttributeType Source #

Get the value of the “type” field. When overloading is enabled, this is equivalent to

get fileAttributeInfo #type

setFileAttributeInfoType :: MonadIO m => FileAttributeInfo -> FileAttributeType -> m () Source #

Set the value of the “type” field. When overloading is enabled, this is equivalent to

set fileAttributeInfo [ #type := value ]