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 |
Synopsis
- newtype Menu = Menu (ManagedPtr Menu)
- class (GObject o, IsDescendantOf Menu o) => IsMenu o
- toMenu :: (MonadIO m, IsMenu o) => o -> m Menu
- menuGetClient :: (HasCallStack, MonadIO m, IsMenu a) => a -> m Client
- menuNew :: (HasCallStack, MonadIO m) => Text -> Text -> m Menu
- constructMenuDbusName :: (IsMenu o, MonadIO m) => Text -> m (GValueConstruct o)
- getMenuDbusName :: (MonadIO m, IsMenu o) => o -> m (Maybe Text)
- constructMenuDbusObject :: (IsMenu o, MonadIO m) => Text -> m (GValueConstruct o)
- getMenuDbusObject :: (MonadIO m, IsMenu o) => o -> m (Maybe Text)
Exported types
Memory-managed wrapper type.
Instances
Eq Menu Source # | |
GObject Menu Source # | |
Defined in GI.DbusmenuGtk3.Objects.Menu | |
ManagedPtrNewtype Menu Source # | |
Defined in GI.DbusmenuGtk3.Objects.Menu toManagedPtr :: Menu -> ManagedPtr Menu | |
TypedObject Menu Source # | |
Defined in GI.DbusmenuGtk3.Objects.Menu glibType :: IO GType | |
IsGValue Menu Source # | Convert |
Defined in GI.DbusmenuGtk3.Objects.Menu fromGValue :: GValue -> IO Menu | |
HasParentTypes Menu Source # | |
Defined in GI.DbusmenuGtk3.Objects.Menu | |
type ParentTypes Menu Source # | |
Defined in GI.DbusmenuGtk3.Objects.Menu type ParentTypes Menu = '[Menu, MenuShell, Container, Widget, Object, ImplementorIface, Buildable] |
class (GObject o, IsDescendantOf Menu o) => IsMenu o Source #
Instances
(GObject o, IsDescendantOf Menu o) => IsMenu o Source # | |
Defined in GI.DbusmenuGtk3.Objects.Menu |
Methods
Overloaded methods
getClient
:: (HasCallStack, MonadIO m, IsMenu a) | |
=> a |
|
-> m Client | Returns: A valid |
An accessor for the client that this menu is using to communicate with the server.
new
Properties
dbusName
No description available in the introspection data.
constructMenuDbusName :: (IsMenu o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “dbus-name
” property. This is rarely needed directly, but it is used by new
.
getMenuDbusName :: (MonadIO m, IsMenu o) => o -> m (Maybe Text) Source #
Get the value of the “dbus-name
” property.
When overloading is enabled, this is equivalent to
get
menu #dbusName
dbusObject
No description available in the introspection data.
constructMenuDbusObject :: (IsMenu o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “dbus-object
” property. This is rarely needed directly, but it is used by new
.
getMenuDbusObject :: (MonadIO m, IsMenu o) => o -> m (Maybe Text) Source #
Get the value of the “dbus-object
” property.
When overloading is enabled, this is equivalent to
get
menu #dbusObject