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 |
Virtual table for handling subtrees registered with dBusConnectionRegisterSubtree
.
Since: 2.26
Synopsis
- newtype DBusSubtreeVTable = DBusSubtreeVTable (ManagedPtr DBusSubtreeVTable)
- newZeroDBusSubtreeVTable :: MonadIO m => m DBusSubtreeVTable
- noDBusSubtreeVTable :: Maybe 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
WrappedPtr DBusSubtreeVTable Source # | |
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.
noDBusSubtreeVTable :: Maybe DBusSubtreeVTable Source #
A convenience alias for Nothing
:: Maybe
DBusSubtreeVTable
.
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 ]