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 Invisible
widget is used internally in GTK+, and is probably not
very useful for application developers.
It is used for reliable pointer grabs and selection handling in the code for drag-and-drop.
Synopsis
- newtype Invisible = Invisible (ManagedPtr Invisible)
- class (GObject o, IsDescendantOf Invisible o) => IsInvisible o
- toInvisible :: (MonadIO m, IsInvisible o) => o -> m Invisible
- invisibleGetScreen :: (HasCallStack, MonadIO m, IsInvisible a) => a -> m Screen
- invisibleNew :: (HasCallStack, MonadIO m) => m Invisible
- invisibleNewForScreen :: (HasCallStack, MonadIO m, IsScreen a) => a -> m Invisible
- invisibleSetScreen :: (HasCallStack, MonadIO m, IsInvisible a, IsScreen b) => a -> b -> m ()
- constructInvisibleScreen :: (IsInvisible o, MonadIO m, IsScreen a) => a -> m (GValueConstruct o)
- getInvisibleScreen :: (MonadIO m, IsInvisible o) => o -> m Screen
- setInvisibleScreen :: (MonadIO m, IsInvisible o, IsScreen a) => o -> a -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq Invisible Source # | |
GObject Invisible Source # | |
Defined in GI.Gtk.Objects.Invisible | |
ManagedPtrNewtype Invisible Source # | |
Defined in GI.Gtk.Objects.Invisible toManagedPtr :: Invisible -> ManagedPtr Invisible | |
TypedObject Invisible Source # | |
Defined in GI.Gtk.Objects.Invisible | |
HasParentTypes Invisible Source # | |
Defined in GI.Gtk.Objects.Invisible | |
IsGValue (Maybe Invisible) Source # | Convert |
Defined in GI.Gtk.Objects.Invisible gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe Invisible -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe Invisible) | |
type ParentTypes Invisible Source # | |
Defined in GI.Gtk.Objects.Invisible |
class (GObject o, IsDescendantOf Invisible o) => IsInvisible o Source #
Type class for types which can be safely cast to Invisible
, for instance with toInvisible
.
Instances
(GObject o, IsDescendantOf Invisible o) => IsInvisible o Source # | |
Defined in GI.Gtk.Objects.Invisible |
toInvisible :: (MonadIO m, IsInvisible o) => o -> m Invisible Source #
Methods
Click to display all available methods, including inherited ones
Methods
activate, addAccelerator, addChild, addDeviceEvents, addEvents, addMnemonicLabel, addTickCallback, bindProperty, bindPropertyFull, canActivateAccel, childFocus, childNotify, classPath, computeExpand, constructChild, createPangoContext, createPangoLayout, customFinished, customTagEnd, customTagStart, 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, forceFloating, freezeChildNotify, freezeNotify, getv, grabAdd, grabDefault, grabFocus, grabRemove, hasDefault, hasFocus, hasGrab, hasRcStyle, hasScreen, hasVisibleFocus, hide, hideOnDelete, inDestruction, initTemplate, inputShapeCombineRegion, 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, queueAllocate, queueComputeExpand, queueDraw, queueDrawArea, queueDrawRegion, queueResize, queueResizeNoRedraw, realize, ref, refSink, regionIntersect, registerWindow, removeAccelerator, removeMnemonicLabel, removeTickCallback, renderIcon, renderIconPixbuf, reparent, resetRcStyles, resetStyle, runDispose, sendExpose, sendFocusChange, shapeCombineRegion, show, showAll, showNow, sizeAllocate, sizeAllocateWithBaseline, sizeRequest, stealData, stealQdata, styleAttach, styleGetProperty, thawChildNotify, thawNotify, translateCoordinates, triggerTooltipQuery, unmap, unparent, unrealize, unref, unregisterWindow, unsetStateFlags, watchClosure.
Getters
getAccessible, getActionGroup, getAllocatedBaseline, getAllocatedHeight, getAllocatedSize, getAllocatedWidth, getAllocation, getAncestor, getAppPaintable, getCanDefault, getCanFocus, getChildRequisition, getChildVisible, getClip, getClipboard, getCompositeName, getData, getDeviceEnabled, getDeviceEvents, getDirection, getDisplay, getDoubleBuffered, getEvents, getFocusOnClick, getFontMap, getFontOptions, getFrameClock, getHalign, getHasTooltip, getHasWindow, getHexpand, getHexpandSet, getInternalChild, getMapped, getMarginBottom, getMarginEnd, getMarginLeft, getMarginRight, getMarginStart, getMarginTop, getModifierMask, getModifierStyle, getName, getNoShowAll, getOpacity, getPangoContext, getParent, getParentWindow, getPath, getPointer, getPreferredHeight, getPreferredHeightAndBaselineForWidth, getPreferredHeightForWidth, getPreferredSize, getPreferredWidth, getPreferredWidthForHeight, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRequisition, getRootWindow, getScaleFactor, getScreen, getSensitive, getSettings, getSizeRequest, getState, getStateFlags, getStyle, getStyleContext, getSupportMultidevice, getTemplateChild, getTooltipMarkup, getTooltipText, getTooltipWindow, getToplevel, getValign, getValignWithBaseline, getVexpand, getVexpandSet, getVisible, getVisual, getWindow.
Setters
setAccelPath, setAllocation, setAppPaintable, setBuildableProperty, setCanDefault, setCanFocus, setChildVisible, setClip, setCompositeName, setData, setDataFull, setDeviceEnabled, setDeviceEvents, setDirection, setDoubleBuffered, setEvents, setFocusOnClick, setFontMap, setFontOptions, setHalign, setHasTooltip, setHasWindow, setHexpand, setHexpandSet, setMapped, setMarginBottom, setMarginEnd, setMarginLeft, setMarginRight, setMarginStart, setMarginTop, setName, setNoShowAll, setOpacity, setParent, setParentWindow, setProperty, setRealized, setReceivesDefault, setRedrawOnAllocate, setScreen, setSensitive, setSizeRequest, setState, setStateFlags, setStyle, setSupportMultidevice, setTooltipMarkup, setTooltipText, setTooltipWindow, setValign, setVexpand, setVexpandSet, setVisible, setVisual, setWindow.
getScreen
:: (HasCallStack, MonadIO m, IsInvisible a) | |
=> a |
|
-> m Screen | Returns: the associated |
Returns the Screen
object associated with invisible
Since: 2.2
new
:: (HasCallStack, MonadIO m) | |
=> m Invisible | Returns: a new |
Creates a new Invisible
.
newForScreen
invisibleNewForScreen Source #
:: (HasCallStack, MonadIO m, IsScreen a) | |
=> a |
|
-> m Invisible | Returns: a newly created |
Creates a new Invisible
object for a specified screen
Since: 2.2
setScreen
:: (HasCallStack, MonadIO m, IsInvisible a, IsScreen b) | |
=> a |
|
-> b |
|
-> m () |
Properties
screen
No description available in the introspection data.
constructInvisibleScreen :: (IsInvisible o, MonadIO m, IsScreen a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “screen
” property. This is rarely needed directly, but it is used by new
.
getInvisibleScreen :: (MonadIO m, IsInvisible o) => o -> m Screen Source #
Get the value of the “screen
” property.
When overloading is enabled, this is equivalent to
get
invisible #screen
setInvisibleScreen :: (MonadIO m, IsInvisible o, IsScreen a) => o -> a -> m () Source #
Set the value of the “screen
” property.
When overloading is enabled, this is equivalent to
set
invisible [ #screen:=
value ]