Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
DBusActionGroup
is an implementation of the ActionGroup
interface that can be used as a proxy for an action group
that is exported over D-Bus with dBusConnectionExportActionGroup
.
- newtype DBusActionGroup = DBusActionGroup (ManagedPtr DBusActionGroup)
- class GObject o => IsDBusActionGroup o
- toDBusActionGroup :: IsDBusActionGroup o => o -> IO DBusActionGroup
- noDBusActionGroup :: Maybe DBusActionGroup
- dBusActionGroupGet :: (HasCallStack, MonadIO m, IsDBusConnection a) => a -> Text -> Text -> m DBusActionGroup
Exported types
newtype DBusActionGroup Source #
GObject DBusActionGroup Source # | |
IsObject DBusActionGroup Source # | |
IsRemoteActionGroup DBusActionGroup Source # | |
IsActionGroup DBusActionGroup Source # | |
IsDBusActionGroup DBusActionGroup Source # | |
((~) * info (ResolveDBusActionGroupMethod t DBusActionGroup), MethodInfo * info DBusActionGroup p) => IsLabel t (DBusActionGroup -> p) Source # | |
((~) * info (ResolveDBusActionGroupMethod t DBusActionGroup), MethodInfo * info DBusActionGroup p) => IsLabelProxy t (DBusActionGroup -> p) Source # | |
HasAttributeList * DBusActionGroup Source # | |
type AttributeList DBusActionGroup Source # | |
type SignalList DBusActionGroup Source # | |
class GObject o => IsDBusActionGroup o Source #
toDBusActionGroup :: IsDBusActionGroup o => o -> IO DBusActionGroup Source #
Methods
get
:: (HasCallStack, MonadIO m, IsDBusConnection a) | |
=> a |
|
-> Text |
|
-> Text |
|
-> m DBusActionGroup | Returns: a |
Obtains a DBusActionGroup
for the action group which is exported at
the given busName
and objectPath
.
The thread default main context is taken at the time of this call. All signals on the menu model (and any linked models) are reported with respect to this context. All calls on the returned menu model (and linked models) must also originate from this same context, with the thread default main context unchanged.
This call is non-blocking. The returned action group may or may not
already be filled in. The correct thing to do is connect the signals
for the action group to monitor for changes and then to call
actionGroupListActions
to get the initial list.
Since: 2.32