Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
Information about a specific attribute.
Synopsis
- newtype FileAttributeInfo = FileAttributeInfo (ManagedPtr FileAttributeInfo)
- newZeroFileAttributeInfo :: MonadIO m => m FileAttributeInfo
- noFileAttributeInfo :: Maybe FileAttributeInfo
- getFileAttributeInfoFlags :: MonadIO m => FileAttributeInfo -> m [FileAttributeInfoFlags]
- setFileAttributeInfoFlags :: MonadIO m => FileAttributeInfo -> [FileAttributeInfoFlags] -> m ()
- clearFileAttributeInfoName :: MonadIO m => FileAttributeInfo -> m ()
- getFileAttributeInfoName :: MonadIO m => FileAttributeInfo -> m (Maybe Text)
- setFileAttributeInfoName :: MonadIO m => FileAttributeInfo -> CString -> m ()
- getFileAttributeInfoType :: MonadIO m => FileAttributeInfo -> m FileAttributeType
- setFileAttributeInfoType :: MonadIO m => FileAttributeInfo -> FileAttributeType -> m ()
Exported types
newtype FileAttributeInfo Source #
Memory-managed wrapper type.
Instances
WrappedPtr FileAttributeInfo Source # | |
tag ~ AttrSet => Constructible FileAttributeInfo tag Source # | |
Defined in GI.Gio.Structs.FileAttributeInfo new :: MonadIO m => (ManagedPtr FileAttributeInfo -> FileAttributeInfo) -> [AttrOp FileAttributeInfo tag] -> m FileAttributeInfo # |
newZeroFileAttributeInfo :: MonadIO m => m FileAttributeInfo Source #
Construct a FileAttributeInfo
struct initialized to zero.
noFileAttributeInfo :: Maybe FileAttributeInfo Source #
A convenience alias for Nothing
:: Maybe
FileAttributeInfo
.
Properties
flags
a set of FileAttributeInfoFlags
.
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 ]