Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GDBusActionGroup
is an implementation of the ActionGroup
interface.
GDBusActionGroup
can be used as a proxy for an action group
that is exported over D-Bus with dBusConnectionExportActionGroup
.
Synopsis
- newtype DBusActionGroup = DBusActionGroup (ManagedPtr DBusActionGroup)
- class (GObject o, IsDescendantOf DBusActionGroup o) => IsDBusActionGroup o
- toDBusActionGroup :: (MonadIO m, IsDBusActionGroup o) => o -> m DBusActionGroup
- dBusActionGroupGet :: (HasCallStack, MonadIO m, IsDBusConnection a) => a -> Maybe Text -> Text -> m DBusActionGroup
Exported types
newtype DBusActionGroup Source #
Memory-managed wrapper type.
Instances
Eq DBusActionGroup Source # | |
Defined in GI.Gio.Objects.DBusActionGroup (==) :: DBusActionGroup -> DBusActionGroup -> Bool # (/=) :: DBusActionGroup -> DBusActionGroup -> Bool # | |
GObject DBusActionGroup Source # | |
Defined in GI.Gio.Objects.DBusActionGroup | |
ManagedPtrNewtype DBusActionGroup Source # | |
Defined in GI.Gio.Objects.DBusActionGroup | |
TypedObject DBusActionGroup Source # | |
Defined in GI.Gio.Objects.DBusActionGroup | |
HasParentTypes DBusActionGroup Source # | |
Defined in GI.Gio.Objects.DBusActionGroup | |
IsGValue (Maybe DBusActionGroup) Source # | Convert |
Defined in GI.Gio.Objects.DBusActionGroup gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe DBusActionGroup -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe DBusActionGroup) # | |
type ParentTypes DBusActionGroup Source # | |
Defined in GI.Gio.Objects.DBusActionGroup |
class (GObject o, IsDescendantOf DBusActionGroup o) => IsDBusActionGroup o Source #
Type class for types which can be safely cast to DBusActionGroup
, for instance with toDBusActionGroup
.
Instances
(GObject o, IsDescendantOf DBusActionGroup o) => IsDBusActionGroup o Source # | |
Defined in GI.Gio.Objects.DBusActionGroup |
toDBusActionGroup :: (MonadIO m, IsDBusActionGroup o) => o -> m DBusActionGroup Source #
Cast to DBusActionGroup
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
actionAdded, actionEnabledChanged, actionRemoved, actionStateChanged, activateAction, activateActionFull, bindProperty, bindPropertyFull, changeActionState, changeActionStateFull, forceFloating, freezeNotify, getv, hasAction, isFloating, listActions, notify, notifyByPspec, queryAction, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getActionEnabled, getActionParameterType, getActionState, getActionStateHint, getActionStateType, getData, getProperty, getQdata.
Setters
get
:: (HasCallStack, MonadIO m, IsDBusConnection a) | |
=> a |
|
-> Maybe 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