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.DBusPropertyInfo
Description
Information about a D-Bus property on a D-Bus interface.
Since: 2.26
Synopsis
- newtype DBusPropertyInfo = DBusPropertyInfo (ManagedPtr DBusPropertyInfo)
- newZeroDBusPropertyInfo :: MonadIO m => m DBusPropertyInfo
- type family ResolveDBusPropertyInfoMethod (t :: Symbol) o where ...
- data DBusPropertyInfoRefMethodInfo
- dBusPropertyInfoRef :: (HasCallStack, MonadIO m) => DBusPropertyInfo -> m DBusPropertyInfo
- data DBusPropertyInfoUnrefMethodInfo
- dBusPropertyInfoUnref :: (HasCallStack, MonadIO m) => DBusPropertyInfo -> m ()
- clearDBusPropertyInfoAnnotations :: MonadIO m => DBusPropertyInfo -> m ()
- dBusPropertyInfo_annotations :: AttrLabelProxy "annotations"
- getDBusPropertyInfoAnnotations :: MonadIO m => DBusPropertyInfo -> m (Maybe [DBusAnnotationInfo])
- setDBusPropertyInfoAnnotations :: MonadIO m => DBusPropertyInfo -> Ptr (Ptr DBusAnnotationInfo) -> m ()
- dBusPropertyInfo_flags :: AttrLabelProxy "flags"
- getDBusPropertyInfoFlags :: MonadIO m => DBusPropertyInfo -> m [DBusPropertyInfoFlags]
- setDBusPropertyInfoFlags :: MonadIO m => DBusPropertyInfo -> [DBusPropertyInfoFlags] -> m ()
- clearDBusPropertyInfoName :: MonadIO m => DBusPropertyInfo -> m ()
- dBusPropertyInfo_name :: AttrLabelProxy "name"
- getDBusPropertyInfoName :: MonadIO m => DBusPropertyInfo -> m (Maybe Text)
- setDBusPropertyInfoName :: MonadIO m => DBusPropertyInfo -> CString -> m ()
- dBusPropertyInfo_refCount :: AttrLabelProxy "refCount"
- getDBusPropertyInfoRefCount :: MonadIO m => DBusPropertyInfo -> m Int32
- setDBusPropertyInfoRefCount :: MonadIO m => DBusPropertyInfo -> Int32 -> m ()
- clearDBusPropertyInfoSignature :: MonadIO m => DBusPropertyInfo -> m ()
- dBusPropertyInfo_signature :: AttrLabelProxy "signature"
- getDBusPropertyInfoSignature :: MonadIO m => DBusPropertyInfo -> m (Maybe Text)
- setDBusPropertyInfoSignature :: MonadIO m => DBusPropertyInfo -> CString -> m ()
Exported types
newtype DBusPropertyInfo Source #
Memory-managed wrapper type.
Constructors
DBusPropertyInfo (ManagedPtr DBusPropertyInfo) |
Instances
newZeroDBusPropertyInfo :: MonadIO m => m DBusPropertyInfo Source #
Construct a DBusPropertyInfo
struct initialized to zero.
Methods
Click to display all available methods, including inherited ones
type family ResolveDBusPropertyInfoMethod (t :: Symbol) o where ... Source #
Equations
ref
data DBusPropertyInfoRefMethodInfo Source #
Instances
(signature ~ m DBusPropertyInfo, MonadIO m) => OverloadedMethod DBusPropertyInfoRefMethodInfo DBusPropertyInfo signature Source # | |
Defined in GI.Gio.Structs.DBusPropertyInfo Methods overloadedMethod :: DBusPropertyInfo -> signature # | |
OverloadedMethodInfo DBusPropertyInfoRefMethodInfo DBusPropertyInfo Source # | |
Defined in GI.Gio.Structs.DBusPropertyInfo Methods |
Arguments
:: (HasCallStack, MonadIO m) | |
=> DBusPropertyInfo |
|
-> m DBusPropertyInfo | Returns: The same |
If info
is statically allocated does nothing. Otherwise increases
the reference count.
Since: 2.26
unref
data DBusPropertyInfoUnrefMethodInfo Source #
Instances
(signature ~ m (), MonadIO m) => OverloadedMethod DBusPropertyInfoUnrefMethodInfo DBusPropertyInfo signature Source # | |
Defined in GI.Gio.Structs.DBusPropertyInfo Methods overloadedMethod :: DBusPropertyInfo -> signature # | |
OverloadedMethodInfo DBusPropertyInfoUnrefMethodInfo DBusPropertyInfo Source # | |
Defined in GI.Gio.Structs.DBusPropertyInfo Methods |
dBusPropertyInfoUnref Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> DBusPropertyInfo |
|
-> m () |
If info
is statically allocated, does nothing. Otherwise decreases
the reference count of info
. When its reference count drops to 0,
the memory used is freed.
Since: 2.26
Properties
annotations
A pointer to a Nothing
-terminated array of pointers to DBusAnnotationInfo
structures or Nothing
if there are no annotations.
clearDBusPropertyInfoAnnotations :: MonadIO m => DBusPropertyInfo -> m () Source #
Set the value of the “annotations
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#annotations
dBusPropertyInfo_annotations :: AttrLabelProxy "annotations" Source #
getDBusPropertyInfoAnnotations :: MonadIO m => DBusPropertyInfo -> m (Maybe [DBusAnnotationInfo]) Source #
Get the value of the “annotations
” field.
When overloading is enabled, this is equivalent to
get
dBusPropertyInfo #annotations
setDBusPropertyInfoAnnotations :: MonadIO m => DBusPropertyInfo -> Ptr (Ptr DBusAnnotationInfo) -> m () Source #
Set the value of the “annotations
” field.
When overloading is enabled, this is equivalent to
set
dBusPropertyInfo [ #annotations:=
value ]
flags
Access control flags for the property.
dBusPropertyInfo_flags :: AttrLabelProxy "flags" Source #
getDBusPropertyInfoFlags :: MonadIO m => DBusPropertyInfo -> m [DBusPropertyInfoFlags] Source #
Get the value of the “flags
” field.
When overloading is enabled, this is equivalent to
get
dBusPropertyInfo #flags
setDBusPropertyInfoFlags :: MonadIO m => DBusPropertyInfo -> [DBusPropertyInfoFlags] -> m () Source #
Set the value of the “flags
” field.
When overloading is enabled, this is equivalent to
set
dBusPropertyInfo [ #flags:=
value ]
name
The name of the D-Bus property, e.g. "SupportedFilesystems".
clearDBusPropertyInfoName :: MonadIO m => DBusPropertyInfo -> m () Source #
Set the value of the “name
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#name
dBusPropertyInfo_name :: AttrLabelProxy "name" Source #
getDBusPropertyInfoName :: MonadIO m => DBusPropertyInfo -> m (Maybe Text) Source #
Get the value of the “name
” field.
When overloading is enabled, this is equivalent to
get
dBusPropertyInfo #name
setDBusPropertyInfoName :: MonadIO m => DBusPropertyInfo -> CString -> m () Source #
Set the value of the “name
” field.
When overloading is enabled, this is equivalent to
set
dBusPropertyInfo [ #name:=
value ]
refCount
The reference count or -1 if statically allocated.
dBusPropertyInfo_refCount :: AttrLabelProxy "refCount" Source #
getDBusPropertyInfoRefCount :: MonadIO m => DBusPropertyInfo -> m Int32 Source #
Get the value of the “ref_count
” field.
When overloading is enabled, this is equivalent to
get
dBusPropertyInfo #refCount
setDBusPropertyInfoRefCount :: MonadIO m => DBusPropertyInfo -> Int32 -> m () Source #
Set the value of the “ref_count
” field.
When overloading is enabled, this is equivalent to
set
dBusPropertyInfo [ #refCount:=
value ]
signature
The D-Bus signature of the property (a single complete type).
clearDBusPropertyInfoSignature :: MonadIO m => DBusPropertyInfo -> m () Source #
Set the value of the “signature
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#signature
dBusPropertyInfo_signature :: AttrLabelProxy "signature" Source #
getDBusPropertyInfoSignature :: MonadIO m => DBusPropertyInfo -> m (Maybe Text) Source #
Get the value of the “signature
” field.
When overloading is enabled, this is equivalent to
get
dBusPropertyInfo #signature
setDBusPropertyInfoSignature :: MonadIO m => DBusPropertyInfo -> CString -> m () Source #
Set the value of the “signature
” field.
When overloading is enabled, this is equivalent to
set
dBusPropertyInfo [ #signature:=
value ]