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 |
Display for interactive tooltips.
GtkSourceHoverDisplay
is a Widget
that may be populated with widgets
to be displayed to the user in interactive tooltips. The children widgets
are packed vertically using a Box
.
Implement the [ifacehoverProvider
] interface to be notified of when
to populate a GtkSourceHoverDisplay
on behalf of the user.
Synopsis
- newtype HoverDisplay = HoverDisplay (ManagedPtr HoverDisplay)
- class (GObject o, IsDescendantOf HoverDisplay o) => IsHoverDisplay o
- toHoverDisplay :: (MonadIO m, IsHoverDisplay o) => o -> m HoverDisplay
- hoverDisplayAppend :: (HasCallStack, MonadIO m, IsHoverDisplay a, IsWidget b) => a -> b -> m ()
- hoverDisplayInsertAfter :: (HasCallStack, MonadIO m, IsHoverDisplay a, IsWidget b, IsWidget c) => a -> b -> c -> m ()
- hoverDisplayPrepend :: (HasCallStack, MonadIO m, IsHoverDisplay a, IsWidget b) => a -> b -> m ()
- hoverDisplayRemove :: (HasCallStack, MonadIO m, IsHoverDisplay a, IsWidget b) => a -> b -> m ()
Exported types
newtype HoverDisplay Source #
Memory-managed wrapper type.
HoverDisplay (ManagedPtr HoverDisplay) |
Instances
Eq HoverDisplay Source # | |
Defined in GI.GtkSource.Objects.HoverDisplay (==) :: HoverDisplay -> HoverDisplay -> Bool # (/=) :: HoverDisplay -> HoverDisplay -> Bool # | |
GObject HoverDisplay Source # | |
Defined in GI.GtkSource.Objects.HoverDisplay | |
ManagedPtrNewtype HoverDisplay Source # | |
Defined in GI.GtkSource.Objects.HoverDisplay toManagedPtr :: HoverDisplay -> ManagedPtr HoverDisplay | |
TypedObject HoverDisplay Source # | |
Defined in GI.GtkSource.Objects.HoverDisplay | |
HasParentTypes HoverDisplay Source # | |
Defined in GI.GtkSource.Objects.HoverDisplay | |
IsGValue (Maybe HoverDisplay) Source # | Convert |
Defined in GI.GtkSource.Objects.HoverDisplay gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe HoverDisplay -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe HoverDisplay) | |
type ParentTypes HoverDisplay Source # | |
Defined in GI.GtkSource.Objects.HoverDisplay type ParentTypes HoverDisplay = '[Widget, Object, Accessible, Buildable, ConstraintTarget] |
class (GObject o, IsDescendantOf HoverDisplay o) => IsHoverDisplay o Source #
Type class for types which can be safely cast to HoverDisplay
, for instance with toHoverDisplay
.
Instances
(GObject o, IsDescendantOf HoverDisplay o) => IsHoverDisplay o Source # | |
Defined in GI.GtkSource.Objects.HoverDisplay |
toHoverDisplay :: (MonadIO m, IsHoverDisplay o) => o -> m HoverDisplay Source #
Cast to HoverDisplay
, 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
actionSetEnabled, activate, activateAction, activateDefault, addController, addCssClass, addMnemonicLabel, addTickCallback, allocate, append, bindProperty, bindPropertyFull, childFocus, computeBounds, computeExpand, computePoint, computeTransform, contains, createPangoContext, createPangoLayout, disposeTemplate, dragCheckThreshold, errorBell, forceFloating, freezeNotify, getv, grabFocus, hasCssClass, hasDefault, hasFocus, hasVisibleFocus, hide, inDestruction, initTemplate, insertActionGroup, insertAfter, insertBefore, isAncestor, isDrawable, isFloating, isFocus, isSensitive, isVisible, keynavFailed, listMnemonicLabels, map, measure, mnemonicActivate, notify, notifyByPspec, observeChildren, observeControllers, pick, prepend, queueAllocate, queueDraw, queueResize, realize, ref, refSink, remove, removeController, removeCssClass, removeMnemonicLabel, removeTickCallback, resetProperty, resetRelation, resetState, runDispose, shouldLayout, show, sizeAllocate, snapshotChild, stealData, stealQdata, thawNotify, translateCoordinates, triggerTooltipQuery, unmap, unparent, unrealize, unref, unsetStateFlags, updateNextAccessibleSibling, updateProperty, updateRelation, updateState, watchClosure.
Getters
getAccessibleParent, getAccessibleRole, getAllocatedBaseline, getAllocatedHeight, getAllocatedWidth, getAllocation, getAncestor, getAtContext, getBounds, getBuildableId, getCanFocus, getCanTarget, getChildVisible, getClipboard, getColor, getCssClasses, getCssName, getCursor, getData, getDirection, getDisplay, getFirstAccessibleChild, getFirstChild, getFocusChild, getFocusOnClick, getFocusable, getFontMap, getFontOptions, getFrameClock, getHalign, getHasTooltip, getHeight, getHexpand, getHexpandSet, getLastChild, getLayoutManager, getMapped, getMarginBottom, getMarginEnd, getMarginStart, getMarginTop, getName, getNative, getNextAccessibleSibling, getNextSibling, getOpacity, getOverflow, getPangoContext, getParent, getPlatformState, getPreferredSize, getPrevSibling, getPrimaryClipboard, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRoot, getScaleFactor, getSensitive, getSettings, getSize, getSizeRequest, getStateFlags, getStyleContext, getTemplateChild, getTooltipMarkup, getTooltipText, getValign, getVexpand, getVexpandSet, getVisible, getWidth.
Setters
setAccessibleParent, setCanFocus, setCanTarget, setChildVisible, setCssClasses, setCursor, setCursorFromName, setData, setDataFull, setDirection, setFocusChild, setFocusOnClick, setFocusable, setFontMap, setFontOptions, setHalign, setHasTooltip, setHexpand, setHexpandSet, setLayoutManager, setMarginBottom, setMarginEnd, setMarginStart, setMarginTop, setName, setOpacity, setOverflow, setParent, setProperty, setReceivesDefault, setSensitive, setSizeRequest, setStateFlags, setTooltipMarkup, setTooltipText, setValign, setVexpand, setVexpandSet, setVisible.
append
hoverDisplayAppend :: (HasCallStack, MonadIO m, IsHoverDisplay a, IsWidget b) => a -> b -> m () Source #
No description available in the introspection data.
insertAfter
hoverDisplayInsertAfter :: (HasCallStack, MonadIO m, IsHoverDisplay a, IsWidget b, IsWidget c) => a -> b -> c -> m () Source #
No description available in the introspection data.
prepend
hoverDisplayPrepend :: (HasCallStack, MonadIO m, IsHoverDisplay a, IsWidget b) => a -> b -> m () Source #
No description available in the introspection data.
remove
hoverDisplayRemove :: (HasCallStack, MonadIO m, IsHoverDisplay a, IsWidget b) => a -> b -> m () Source #
No description available in the introspection data.