Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
The ActionMenu
struct contains only private fields and should not be
directly accessed.
Synopsis
- newtype ActionMenu = ActionMenu (ManagedPtr ActionMenu)
- class (GObject o, IsDescendantOf ActionMenu o) => IsActionMenu o
- toActionMenu :: (MonadIO m, IsActionMenu o) => o -> m ActionMenu
- actionMenuNew :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ActionMenu
- constructActionMenuWindow :: (IsActionMenu o, MonadIO m) => Ptr () -> m (GValueConstruct o)
- getActionMenuWindow :: (MonadIO m, IsActionMenu o) => o -> m (Ptr ())
Exported types
newtype ActionMenu Source #
Memory-managed wrapper type.
Instances
Eq ActionMenu Source # | |
Defined in GI.Wnck.Objects.ActionMenu (==) :: ActionMenu -> ActionMenu -> Bool # (/=) :: ActionMenu -> ActionMenu -> Bool # | |
GObject ActionMenu Source # | |
Defined in GI.Wnck.Objects.ActionMenu | |
ManagedPtrNewtype ActionMenu Source # | |
Defined in GI.Wnck.Objects.ActionMenu | |
TypedObject ActionMenu Source # | |
Defined in GI.Wnck.Objects.ActionMenu | |
HasParentTypes ActionMenu Source # | |
Defined in GI.Wnck.Objects.ActionMenu | |
IsGValue (Maybe ActionMenu) Source # | Convert |
Defined in GI.Wnck.Objects.ActionMenu gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe ActionMenu -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe ActionMenu) # | |
type ParentTypes ActionMenu Source # | |
Defined in GI.Wnck.Objects.ActionMenu type ParentTypes ActionMenu = '[Menu, MenuShell, Container, Widget, Object, ImplementorIface, Buildable] |
class (GObject o, IsDescendantOf ActionMenu o) => IsActionMenu o Source #
Type class for types which can be safely cast to ActionMenu
, for instance with toActionMenu
.
Instances
(GObject o, IsDescendantOf ActionMenu o) => IsActionMenu o Source # | |
Defined in GI.Wnck.Objects.ActionMenu |
toActionMenu :: (MonadIO m, IsActionMenu o) => o -> m ActionMenu Source #
Cast to ActionMenu
, 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
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, 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.
new
:: (HasCallStack, MonadIO m, IsWindow a) | |
=> a |
|
-> m ActionMenu | Returns: a newly created |
Creates a new ActionMenu
. The ActionMenu
will be filled with menu
items for window operations on window
.
Since: 2.22
Properties
window
No description available in the introspection data.
constructActionMenuWindow :: (IsActionMenu o, MonadIO m) => Ptr () -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “window
” property. This is rarely needed directly, but it is used by new
.
getActionMenuWindow :: (MonadIO m, IsActionMenu o) => o -> m (Ptr ()) Source #
Get the value of the “window
” property.
When overloading is enabled, this is equivalent to
get
actionMenu #window