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 Selector
struct contains only private fields and should not be
directly accessed.
Synopsis
- newtype Selector = Selector (ManagedPtr Selector)
- class (GObject o, IsDescendantOf Selector o) => IsSelector o
- toSelector :: (MonadIO m, IsSelector o) => o -> m Selector
- selectorNew :: (HasCallStack, MonadIO m) => m Selector
- selectorNewWithHandle :: (HasCallStack, MonadIO m, IsHandle a) => a -> m Selector
- constructSelectorHandle :: (IsSelector o, MonadIO m, IsHandle a) => a -> m (GValueConstruct o)
- getSelectorHandle :: (MonadIO m, IsSelector o) => o -> m (Maybe Handle)
Exported types
Memory-managed wrapper type.
Instances
Eq Selector Source # | |
GObject Selector Source # | |
Defined in GI.Wnck.Objects.Selector | |
ManagedPtrNewtype Selector Source # | |
Defined in GI.Wnck.Objects.Selector toManagedPtr :: Selector -> ManagedPtr Selector | |
TypedObject Selector Source # | |
Defined in GI.Wnck.Objects.Selector | |
HasParentTypes Selector Source # | |
Defined in GI.Wnck.Objects.Selector | |
IsGValue (Maybe Selector) Source # | Convert |
Defined in GI.Wnck.Objects.Selector gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe Selector -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe Selector) | |
type ParentTypes Selector Source # | |
Defined in GI.Wnck.Objects.Selector type ParentTypes Selector = '[MenuBar, MenuShell, Container, Widget, Object, ImplementorIface, Buildable] |
class (GObject o, IsDescendantOf Selector o) => IsSelector o Source #
Type class for types which can be safely cast to Selector
, for instance with toSelector
.
Instances
(GObject o, IsDescendantOf Selector o) => IsSelector o Source # | |
Defined in GI.Wnck.Objects.Selector |
toSelector :: (MonadIO m, IsSelector o) => o -> m Selector Source #
Methods
Click to display all available methods, including inherited ones
Methods
activate, activateItem, add, addAccelerator, addChild, addDeviceEvents, addEvents, addMnemonicLabel, addTickCallback, append, bindModel, bindProperty, bindPropertyFull, canActivateAccel, cancel, checkResize, childFocus, childGetProperty, childNotify, childNotifyByPspec, childSetProperty, childType, classPath, computeExpand, constructChild, createPangoContext, createPangoLayout, customFinished, customTagEnd, customTagStart, deactivate, deselect, destroy, destroyed, 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, prepend, propagateDraw, queueAllocate, queueComputeExpand, queueDraw, queueDrawArea, queueDrawRegion, queueResize, queueResizeNoRedraw, realize, ref, refSink, regionIntersect, registerWindow, remove, removeAccelerator, removeMnemonicLabel, removeTickCallback, renderIcon, renderIconPixbuf, reparent, 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
getAccessible, getActionGroup, getAllocatedBaseline, getAllocatedHeight, getAllocatedSize, getAllocatedWidth, getAllocation, getAncestor, getAppPaintable, getBorderWidth, getCanDefault, getCanFocus, getChildPackDirection, 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, getName, getNoShowAll, getOpacity, getPackDirection, getPangoContext, getParent, getParentShell, getParentWindow, getPath, getPathForChild, getPointer, getPreferredHeight, getPreferredHeightAndBaselineForWidth, getPreferredHeightForWidth, getPreferredSize, getPreferredWidth, getPreferredWidthForHeight, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRequisition, getResizeMode, getRootWindow, getScaleFactor, getScreen, getSelectedItem, getSensitive, getSettings, getSizeRequest, getState, getStateFlags, getStyle, getStyleContext, getSupportMultidevice, getTakeFocus, getTemplateChild, getTooltipMarkup, getTooltipText, getTooltipWindow, getToplevel, getValign, getValignWithBaseline, getVexpand, getVexpandSet, getVisible, getVisual, getWindow.
Setters
setAccelPath, setAllocation, setAppPaintable, setBorderWidth, setBuildableProperty, setCanDefault, setCanFocus, setChildPackDirection, 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, setName, setNoShowAll, setOpacity, setPackDirection, setParent, setParentWindow, setProperty, setRealized, setReallocateRedraws, setReceivesDefault, setRedrawOnAllocate, setResizeMode, setSensitive, setSizeRequest, setState, setStateFlags, setStyle, setSupportMultidevice, setTakeFocus, setTooltipMarkup, setTooltipText, setTooltipWindow, setValign, setVexpand, setVexpandSet, setVisible, setVisual, setWindow.
new
:: (HasCallStack, MonadIO m) | |
=> m Selector | Returns: a newly created |
newWithHandle
Properties
handle
No description available in the introspection data.
constructSelectorHandle :: (IsSelector o, MonadIO m, IsHandle a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “handle
” property. This is rarely needed directly, but it is used by new
.
getSelectorHandle :: (MonadIO m, IsSelector o) => o -> m (Maybe Handle) Source #
Get the value of the “handle
” property.
When overloading is enabled, this is equivalent to
get
selector #handle