Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
Virtual table for handling subtrees registered with dBusConnectionRegisterSubtree
.
Since: 2.26
Synopsis
- newtype DBusSubtreeVTable = DBusSubtreeVTable (ManagedPtr DBusSubtreeVTable)
- newZeroDBusSubtreeVTable :: MonadIO m => m DBusSubtreeVTable
- clearDBusSubtreeVTableDispatch :: MonadIO m => DBusSubtreeVTable -> m ()
- getDBusSubtreeVTableDispatch :: MonadIO m => DBusSubtreeVTable -> m (Maybe DBusSubtreeDispatchFunc_WithClosures)
- setDBusSubtreeVTableDispatch :: MonadIO m => DBusSubtreeVTable -> FunPtr C_DBusSubtreeDispatchFunc -> m ()
- clearDBusSubtreeVTableIntrospect :: MonadIO m => DBusSubtreeVTable -> m ()
- getDBusSubtreeVTableIntrospect :: MonadIO m => DBusSubtreeVTable -> m (Maybe DBusSubtreeIntrospectFunc_WithClosures)
- setDBusSubtreeVTableIntrospect :: MonadIO m => DBusSubtreeVTable -> FunPtr C_DBusSubtreeIntrospectFunc -> m ()
Exported types
newtype DBusSubtreeVTable Source #
Memory-managed wrapper type.
Instances
Eq DBusSubtreeVTable Source # | |
Defined in GI.Gio.Structs.DBusSubtreeVTable (==) :: DBusSubtreeVTable -> DBusSubtreeVTable -> Bool # (/=) :: DBusSubtreeVTable -> DBusSubtreeVTable -> Bool # | |
ManagedPtrNewtype DBusSubtreeVTable Source # | |
BoxedPtr DBusSubtreeVTable Source # | |
Defined in GI.Gio.Structs.DBusSubtreeVTable boxedPtrCopy :: DBusSubtreeVTable -> IO DBusSubtreeVTable # boxedPtrFree :: DBusSubtreeVTable -> IO () # | |
CallocPtr DBusSubtreeVTable Source # | |
Defined in GI.Gio.Structs.DBusSubtreeVTable | |
tag ~ 'AttrSet => Constructible DBusSubtreeVTable tag Source # | |
Defined in GI.Gio.Structs.DBusSubtreeVTable new :: MonadIO m => (ManagedPtr DBusSubtreeVTable -> DBusSubtreeVTable) -> [AttrOp DBusSubtreeVTable tag] -> m DBusSubtreeVTable # |
newZeroDBusSubtreeVTable :: MonadIO m => m DBusSubtreeVTable Source #
Construct a DBusSubtreeVTable
struct initialized to zero.
Methods
Overloaded methods
Properties
dispatch
Function for dispatching a remote call on a child node.
clearDBusSubtreeVTableDispatch :: MonadIO m => DBusSubtreeVTable -> m () Source #
Set the value of the “dispatch
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#dispatch
getDBusSubtreeVTableDispatch :: MonadIO m => DBusSubtreeVTable -> m (Maybe DBusSubtreeDispatchFunc_WithClosures) Source #
Get the value of the “dispatch
” field.
When overloading is enabled, this is equivalent to
get
dBusSubtreeVTable #dispatch
setDBusSubtreeVTableDispatch :: MonadIO m => DBusSubtreeVTable -> FunPtr C_DBusSubtreeDispatchFunc -> m () Source #
Set the value of the “dispatch
” field.
When overloading is enabled, this is equivalent to
set
dBusSubtreeVTable [ #dispatch:=
value ]
introspect
Function for introspecting a child node.
clearDBusSubtreeVTableIntrospect :: MonadIO m => DBusSubtreeVTable -> m () Source #
Set the value of the “introspect
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#introspect
getDBusSubtreeVTableIntrospect :: MonadIO m => DBusSubtreeVTable -> m (Maybe DBusSubtreeIntrospectFunc_WithClosures) Source #
Get the value of the “introspect
” field.
When overloading is enabled, this is equivalent to
get
dBusSubtreeVTable #introspect
setDBusSubtreeVTableIntrospect :: MonadIO m => DBusSubtreeVTable -> FunPtr C_DBusSubtreeIntrospectFunc -> m () Source #
Set the value of the “introspect
” field.
When overloading is enabled, this is equivalent to
set
dBusSubtreeVTable [ #introspect:=
value ]