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.DbusmenuGtk3.Objects.Menu
Synopsis
- newtype Menu = Menu (ManagedPtr Menu)
- class (GObject o, IsDescendantOf Menu o) => IsMenu o
- toMenu :: (MonadIO m, IsMenu o) => o -> m Menu
- type family ResolveMenuMethod (t :: Symbol) o where ...
- data MenuGetClientMethodInfo
- menuGetClient :: (HasCallStack, MonadIO m, IsMenu a) => a -> m Client
- menuNew :: (HasCallStack, MonadIO m) => Text -> Text -> m Menu
- data MenuDbusNamePropertyInfo
- constructMenuDbusName :: (IsMenu o, MonadIO m) => Text -> m (GValueConstruct o)
- getMenuDbusName :: (MonadIO m, IsMenu o) => o -> m (Maybe Text)
- menuDbusName :: AttrLabelProxy "dbusName"
- data MenuDbusObjectPropertyInfo
- constructMenuDbusObject :: (IsMenu o, MonadIO m) => Text -> m (GValueConstruct o)
- getMenuDbusObject :: (MonadIO m, IsMenu o) => o -> m (Maybe Text)
- menuDbusObject :: AttrLabelProxy "dbusObject"
Exported types
Memory-managed wrapper type.
Constructors
Menu (ManagedPtr Menu) |
Instances
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
Click to display all available methods, including inherited ones
Methods
activate, activateItem, add, addAccelerator, addChild, addDeviceEvents, addEvents, addMnemonicLabel, addTickCallback, append, attach, attachToWidget, bindModel, bindProperty, bindPropertyFull, canActivateAccel, cancel, checkResize, childFocus, childGetProperty, childNotify, childNotifyByPspec, childSetProperty, childType, classPath, computeExpand, constructChild, createPangoContext, createPangoLayout, customFinished, customTagEnd, customTagStart, deactivate, deselect, destroy, destroyed, detach, deviceIsShadowed, dragBegin, dragBeginWithCoordinates, dragCheckThreshold, dragDestAddImageTargets, dragDestAddTextTargets, dragDestAddUriTargets, dragDestFindTarget, dragDestGetTargetList, dragDestGetTrackMotion, dragDestSet, dragDestSetProxy, dragDestSetTargetList, dragDestSetTrackMotion, dragDestUnset, dragGetData, dragHighlight, dragSourceAddImageTargets, dragSourceAddTextTargets, dragSourceAddUriTargets, dragSourceGetTargetList, dragSourceSet, dragSourceSetIconGicon, dragSourceSetIconName, dragSourceSetIconPixbuf, dragSourceSetIconStock, dragSourceSetTargetList, dragSourceUnset, dragUnhighlight, draw, ensureStyle, errorBell, event, forall, forceFloating, foreach, freezeChildNotify, freezeNotify, getv, grabAdd, grabDefault, grabFocus, grabRemove, hasDefault, hasFocus, hasGrab, hasRcStyle, hasScreen, hasVisibleFocus, hide, hideOnDelete, inDestruction, initTemplate, inputShapeCombineRegion, insert, insertActionGroup, intersect, isAncestor, isComposited, isDrawable, isFloating, isFocus, isSensitive, isToplevel, isVisible, keynavFailed, listAccelClosures, listActionPrefixes, listMnemonicLabels, map, mnemonicActivate, modifyBase, modifyBg, modifyCursor, modifyFg, modifyFont, modifyStyle, modifyText, notify, notifyByPspec, overrideBackgroundColor, overrideColor, overrideCursor, overrideFont, overrideSymbolicColor, parserFinished, path, placeOnMonitor, popdown, popup, popupAtPointer, popupAtRect, popupAtWidget, popupForDevice, prepend, propagateDraw, queueAllocate, queueComputeExpand, queueDraw, queueDrawArea, queueDrawRegion, queueResize, queueResizeNoRedraw, realize, ref, refSink, regionIntersect, registerWindow, remove, removeAccelerator, removeMnemonicLabel, removeTickCallback, renderIcon, renderIconPixbuf, reorderChild, reparent, reposition, resetRcStyles, resetStyle, resizeChildren, runDispose, selectFirst, selectItem, sendExpose, sendFocusChange, shapeCombineRegion, show, showAll, showNow, sizeAllocate, sizeAllocateWithBaseline, sizeRequest, stealData, stealQdata, styleAttach, styleGetProperty, thawChildNotify, thawNotify, translateCoordinates, triggerTooltipQuery, unmap, unparent, unrealize, unref, unregisterWindow, unsetFocusChain, unsetStateFlags, watchClosure.
Getters
getAccelGroup, getAccelPath, getAccessible, getActionGroup, getActive, getAllocatedBaseline, getAllocatedHeight, getAllocatedSize, getAllocatedWidth, getAllocation, getAncestor, getAppPaintable, getAttachWidget, getBorderWidth, getCanDefault, getCanFocus, getChildRequisition, getChildVisible, getChildren, getClient, getClip, getClipboard, getCompositeName, getData, getDeviceEnabled, getDeviceEvents, getDirection, getDisplay, getDoubleBuffered, getEvents, getFocusChain, getFocusChild, getFocusHadjustment, getFocusOnClick, getFocusVadjustment, getFontMap, getFontOptions, getFrameClock, getHalign, getHasTooltip, getHasWindow, getHexpand, getHexpandSet, getInternalChild, getMapped, getMarginBottom, getMarginEnd, getMarginLeft, getMarginRight, getMarginStart, getMarginTop, getModifierMask, getModifierStyle, getMonitor, getName, getNoShowAll, getOpacity, getPangoContext, getParent, getParentShell, getParentWindow, getPath, getPathForChild, getPointer, getPreferredHeight, getPreferredHeightAndBaselineForWidth, getPreferredHeightForWidth, getPreferredSize, getPreferredWidth, getPreferredWidthForHeight, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRequisition, getReserveToggleSize, getResizeMode, getRootWindow, getScaleFactor, getScreen, getSelectedItem, getSensitive, getSettings, getSizeRequest, getState, getStateFlags, getStyle, getStyleContext, getSupportMultidevice, getTakeFocus, getTearoffState, getTemplateChild, getTitle, getTooltipMarkup, getTooltipText, getTooltipWindow, getToplevel, getValign, getValignWithBaseline, getVexpand, getVexpandSet, getVisible, getVisual, getWindow.
Setters
setAccelGroup, setAccelPath, setActive, setAllocation, setAppPaintable, setBorderWidth, setBuildableProperty, setCanDefault, setCanFocus, setChildVisible, setClip, setCompositeName, setData, setDataFull, setDeviceEnabled, setDeviceEvents, setDirection, setDoubleBuffered, setEvents, setFocusChain, setFocusChild, setFocusHadjustment, setFocusOnClick, setFocusVadjustment, setFontMap, setFontOptions, setHalign, setHasTooltip, setHasWindow, setHexpand, setHexpandSet, setMapped, setMarginBottom, setMarginEnd, setMarginLeft, setMarginRight, setMarginStart, setMarginTop, setMonitor, setName, setNoShowAll, setOpacity, setParent, setParentWindow, setProperty, setRealized, setReallocateRedraws, setReceivesDefault, setRedrawOnAllocate, setReserveToggleSize, setResizeMode, setScreen, setSensitive, setSizeRequest, setState, setStateFlags, setStyle, setSupportMultidevice, setTakeFocus, setTearoffState, setTitle, setTooltipMarkup, setTooltipText, setTooltipWindow, setValign, setVexpand, setVexpandSet, setVisible, setVisual, setWindow.
type family ResolveMenuMethod (t :: Symbol) o where ... Source #
Equations
getClient
data MenuGetClientMethodInfo Source #
Instances
(signature ~ m Client, MonadIO m, IsMenu a) => OverloadedMethod MenuGetClientMethodInfo a signature Source # | |
Defined in GI.DbusmenuGtk3.Objects.Menu Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo MenuGetClientMethodInfo (a :: Type) Source # | |
Defined in GI.DbusmenuGtk3.Objects.Menu Methods |
Arguments
:: (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.
data MenuDbusNamePropertyInfo Source #
Instances
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
menuDbusName :: AttrLabelProxy "dbusName" Source #
dbusObject
No description available in the introspection data.
data MenuDbusObjectPropertyInfo Source #
Instances
AttrInfo MenuDbusObjectPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.DbusmenuGtk3.Objects.Menu Associated Types
Methods attrGet :: AttrBaseTypeConstraint MenuDbusObjectPropertyInfo o => o -> IO (AttrGetType MenuDbusObjectPropertyInfo) # attrSet :: (AttrBaseTypeConstraint MenuDbusObjectPropertyInfo o, AttrSetTypeConstraint MenuDbusObjectPropertyInfo b) => o -> b -> IO () # attrClear :: AttrBaseTypeConstraint MenuDbusObjectPropertyInfo o => o -> IO () # attrConstruct :: (AttrBaseTypeConstraint MenuDbusObjectPropertyInfo o, AttrSetTypeConstraint MenuDbusObjectPropertyInfo b) => b -> IO (GValueConstruct o) # attrTransfer :: (AttrBaseTypeConstraint MenuDbusObjectPropertyInfo o, AttrTransferTypeConstraint MenuDbusObjectPropertyInfo b) => Proxy o -> b -> IO (AttrTransferType MenuDbusObjectPropertyInfo) # attrPut :: AttrBaseTypeConstraint MenuDbusObjectPropertyInfo o => o -> AttrGetType MenuDbusObjectPropertyInfo -> IO () # | |||||||||||||||||||||||||||||||||
type AttrAllowedOps MenuDbusObjectPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.DbusmenuGtk3.Objects.Menu | |||||||||||||||||||||||||||||||||
type AttrBaseTypeConstraint MenuDbusObjectPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.DbusmenuGtk3.Objects.Menu | |||||||||||||||||||||||||||||||||
type AttrGetType MenuDbusObjectPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.DbusmenuGtk3.Objects.Menu | |||||||||||||||||||||||||||||||||
type AttrLabel MenuDbusObjectPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.DbusmenuGtk3.Objects.Menu | |||||||||||||||||||||||||||||||||
type AttrOrigin MenuDbusObjectPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.DbusmenuGtk3.Objects.Menu | |||||||||||||||||||||||||||||||||
type AttrSetTypeConstraint MenuDbusObjectPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.DbusmenuGtk3.Objects.Menu | |||||||||||||||||||||||||||||||||
type AttrTransferType MenuDbusObjectPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.DbusmenuGtk3.Objects.Menu | |||||||||||||||||||||||||||||||||
type AttrTransferTypeConstraint MenuDbusObjectPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.DbusmenuGtk3.Objects.Menu |
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
menuDbusObject :: AttrLabelProxy "dbusObject" Source #