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 |
Public instance data for a MenuitemProxy
.
Synopsis
- newtype MenuitemProxy = MenuitemProxy (ManagedPtr MenuitemProxy)
- class (GObject o, IsDescendantOf MenuitemProxy o) => IsMenuitemProxy o
- toMenuitemProxy :: (MonadIO m, IsMenuitemProxy o) => o -> m MenuitemProxy
- noMenuitemProxy :: Maybe MenuitemProxy
- menuitemProxyGetWrapped :: (HasCallStack, MonadIO m, IsMenuitemProxy a) => a -> m Menuitem
- menuitemProxyNew :: (HasCallStack, MonadIO m, IsMenuitem a) => a -> m MenuitemProxy
- constructMenuitemProxyMenuItem :: (IsMenuitemProxy o, IsMenuitem a) => a -> IO (GValueConstruct o)
- getMenuitemProxyMenuItem :: (MonadIO m, IsMenuitemProxy o) => o -> m (Maybe Menuitem)
Exported types
newtype MenuitemProxy Source #
Memory-managed wrapper type.
Instances
GObject MenuitemProxy Source # | |
Defined in GI.Dbusmenu.Objects.MenuitemProxy gobjectType :: IO GType # | |
HasParentTypes MenuitemProxy Source # | |
Defined in GI.Dbusmenu.Objects.MenuitemProxy | |
type ParentTypes MenuitemProxy Source # | |
Defined in GI.Dbusmenu.Objects.MenuitemProxy |
class (GObject o, IsDescendantOf MenuitemProxy o) => IsMenuitemProxy o Source #
Type class for types which can be safely cast to MenuitemProxy
, for instance with toMenuitemProxy
.
Instances
(GObject o, IsDescendantOf MenuitemProxy o) => IsMenuitemProxy o Source # | |
Defined in GI.Dbusmenu.Objects.MenuitemProxy |
toMenuitemProxy :: (MonadIO m, IsMenuitemProxy o) => o -> m MenuitemProxy Source #
Cast to MenuitemProxy
, for types for which this is known to be safe. For general casts, use castTo
.
noMenuitemProxy :: Maybe MenuitemProxy Source #
A convenience alias for Nothing
:: Maybe
MenuitemProxy
.
Methods
getWrapped
menuitemProxyGetWrapped Source #
:: (HasCallStack, MonadIO m, IsMenuitemProxy a) | |
=> a |
|
-> m Menuitem | Returns: A |
Accesses the private variable of which Menuitem
we are doing the proxying for.
new
:: (HasCallStack, MonadIO m, IsMenuitem a) | |
=> a |
|
-> m MenuitemProxy | Returns: A new |
Builds a new MenuitemProxy
object that proxies
all of the values for mi
.
Properties
menuItem
No description available in the introspection data.
constructMenuitemProxyMenuItem :: (IsMenuitemProxy o, IsMenuitem a) => a -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “menu-item
” property. This is rarely needed directly, but it is used by new
.
getMenuitemProxyMenuItem :: (MonadIO m, IsMenuitemProxy o) => o -> m (Maybe Menuitem) Source #
Get the value of the “menu-item
” property.
When overloading is enabled, this is equivalent to
get
menuitemProxy #menuItem