| Copyright | Will Thompson and Iñaki García Etxebarria |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Gio.Structs.FileAttributeInfo
Description
Information about a specific attribute.
Synopsis
- newtype FileAttributeInfo = FileAttributeInfo (ManagedPtr FileAttributeInfo)
- newZeroFileAttributeInfo :: MonadIO m => m FileAttributeInfo
- type family ResolveFileAttributeInfoMethod (t :: Symbol) o where ...
- fileAttributeInfo_flags :: AttrLabelProxy "flags"
- getFileAttributeInfoFlags :: MonadIO m => FileAttributeInfo -> m [FileAttributeInfoFlags]
- setFileAttributeInfoFlags :: MonadIO m => FileAttributeInfo -> [FileAttributeInfoFlags] -> m ()
- clearFileAttributeInfoName :: MonadIO m => FileAttributeInfo -> m ()
- fileAttributeInfo_name :: AttrLabelProxy "name"
- getFileAttributeInfoName :: MonadIO m => FileAttributeInfo -> m (Maybe Text)
- setFileAttributeInfoName :: MonadIO m => FileAttributeInfo -> CString -> m ()
- fileAttributeInfo_type :: AttrLabelProxy "type"
- getFileAttributeInfoType :: MonadIO m => FileAttributeInfo -> m FileAttributeType
- setFileAttributeInfoType :: MonadIO m => FileAttributeInfo -> FileAttributeType -> m ()
Exported types
newtype FileAttributeInfo Source #
Memory-managed wrapper type.
Constructors
| FileAttributeInfo (ManagedPtr FileAttributeInfo) |
Instances
newZeroFileAttributeInfo :: MonadIO m => m FileAttributeInfo Source #
Construct a FileAttributeInfo struct initialized to zero.
Methods
type family ResolveFileAttributeInfoMethod (t :: Symbol) o where ... Source #
Equations
| ResolveFileAttributeInfoMethod l o = MethodResolutionFailed l o :: Type |
Properties
flags
a set of FileAttributeInfoFlags.
fileAttributeInfo_flags :: AttrLabelProxy "flags" Source #
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
setfileAttributeInfo [ #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
fileAttributeInfo_name :: AttrLabelProxy "name" Source #
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
setfileAttributeInfo [ #name:=value ]
type
the FileAttributeType type of the attribute.
fileAttributeInfo_type :: AttrLabelProxy "type" Source #
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
setfileAttributeInfo [ #type:=value ]