Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GI.Dbusmenu.Objects.MenuitemProxy
Description
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
- type family ResolveMenuitemProxyMethod (t :: Symbol) o where ...
- data MenuitemProxyGetWrappedMethodInfo
- menuitemProxyGetWrapped :: (HasCallStack, MonadIO m, IsMenuitemProxy a) => a -> m Menuitem
- menuitemProxyNew :: (HasCallStack, MonadIO m, IsMenuitem a) => a -> m MenuitemProxy
- data MenuitemProxyMenuItemPropertyInfo
- constructMenuitemProxyMenuItem :: (IsMenuitemProxy o, MonadIO m, IsMenuitem a) => a -> m (GValueConstruct o)
- getMenuitemProxyMenuItem :: (MonadIO m, IsMenuitemProxy o) => o -> m (Maybe Menuitem)
- menuitemProxyMenuItem :: AttrLabelProxy "menuItem"
Exported types
newtype MenuitemProxy Source #
Memory-managed wrapper type.
Constructors
MenuitemProxy (ManagedPtr MenuitemProxy) |
Instances
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
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, childAddPosition, childAppend, childDelete, childFind, childPrepend, childReorder, findId, forceFloating, foreach, freezeNotify, getv, handleEvent, isFloating, notify, notifyByPspec, propertiesCopy, propertiesList, propertyExist, propertyGet, propertyGetBool, propertyGetByteArray, propertyGetInt, propertyGetVariant, propertyRemove, propertySet, propertySetBool, propertySetByteArray, propertySetInt, propertySetVariant, ref, refSink, runDispose, sendAboutToShow, showToUser, stealData, stealQdata, takeChildren, thawNotify, unparent, unref, watchClosure.
Getters
getChildren, getData, getId, getParent, getPosition, getPositionRealized, getProperty, getQdata, getRoot, getWrapped.
Setters
type family ResolveMenuitemProxyMethod (t :: Symbol) o where ... Source #
Equations
getWrapped
data MenuitemProxyGetWrappedMethodInfo Source #
Instances
(signature ~ m Menuitem, MonadIO m, IsMenuitemProxy a) => OverloadedMethod MenuitemProxyGetWrappedMethodInfo a signature Source # | |
Defined in GI.Dbusmenu.Objects.MenuitemProxy Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo MenuitemProxyGetWrappedMethodInfo (a :: Type) Source # | |
Defined in GI.Dbusmenu.Objects.MenuitemProxy Methods |
menuitemProxyGetWrapped Source #
Arguments
:: (HasCallStack, MonadIO m, IsMenuitemProxy a) | |
=> a |
|
-> m Menuitem | Returns: A |
Accesses the private variable of which Menuitem
we are doing the proxying for.
new
Arguments
:: (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.
data MenuitemProxyMenuItemPropertyInfo Source #
Instances
constructMenuitemProxyMenuItem :: (IsMenuitemProxy o, MonadIO m, IsMenuitem a) => a -> m (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
menuitemProxyMenuItem :: AttrLabelProxy "menuItem" Source #