gi-gio-2.0.32: Gio bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gio.Structs.FileAttributeInfo

Description

Information about a specific attribute.

Synopsis

Exported types

newtype FileAttributeInfo Source #

Memory-managed wrapper type.

Constructors

FileAttributeInfo (ManagedPtr FileAttributeInfo) 

Instances

Instances details
Eq FileAttributeInfo Source # 
Instance details

Defined in GI.Gio.Structs.FileAttributeInfo

BoxedPtr FileAttributeInfo Source # 
Instance details

Defined in GI.Gio.Structs.FileAttributeInfo

CallocPtr FileAttributeInfo Source # 
Instance details

Defined in GI.Gio.Structs.FileAttributeInfo

ManagedPtrNewtype FileAttributeInfo Source # 
Instance details

Defined in GI.Gio.Structs.FileAttributeInfo

tag ~ 'AttrSet => Constructible FileAttributeInfo tag Source # 
Instance details

Defined in GI.Gio.Structs.FileAttributeInfo

Methods

new :: MonadIO m => (ManagedPtr FileAttributeInfo -> FileAttributeInfo) -> [AttrOp FileAttributeInfo tag] -> m FileAttributeInfo

newZeroFileAttributeInfo :: MonadIO m => m FileAttributeInfo Source #

Construct a FileAttributeInfo struct initialized to zero.

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 ]