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 |
No description available in the introspection data.
Synopsis
- newtype CompletionInfo = CompletionInfo (ManagedPtr CompletionInfo)
- class (GObject o, IsDescendantOf CompletionInfo o) => IsCompletionInfo o
- toCompletionInfo :: (MonadIO m, IsCompletionInfo o) => o -> m CompletionInfo
- completionInfoGetWidget :: (HasCallStack, MonadIO m, IsCompletionInfo a) => a -> m Widget
- completionInfoMoveToIter :: (HasCallStack, MonadIO m, IsCompletionInfo a, IsTextView b) => a -> b -> Maybe TextIter -> m ()
- completionInfoNew :: (HasCallStack, MonadIO m) => m CompletionInfo
- completionInfoSetWidget :: (HasCallStack, MonadIO m, IsCompletionInfo a, IsWidget b) => a -> Maybe b -> m ()
- type CompletionInfoBeforeShowCallback = IO ()
- afterCompletionInfoBeforeShow :: (IsCompletionInfo a, MonadIO m) => a -> ((?self :: a) => CompletionInfoBeforeShowCallback) -> m SignalHandlerId
- onCompletionInfoBeforeShow :: (IsCompletionInfo a, MonadIO m) => a -> ((?self :: a) => CompletionInfoBeforeShowCallback) -> m SignalHandlerId
Exported types
newtype CompletionInfo Source #
Memory-managed wrapper type.
CompletionInfo (ManagedPtr CompletionInfo) |
Instances
class (GObject o, IsDescendantOf CompletionInfo o) => IsCompletionInfo o Source #
Type class for types which can be safely cast to CompletionInfo
, for instance with toCompletionInfo
.
Instances
(GObject o, IsDescendantOf CompletionInfo o) => IsCompletionInfo o Source # | |
Defined in GI.GtkSource.Objects.CompletionInfo |
toCompletionInfo :: (MonadIO m, IsCompletionInfo o) => o -> m CompletionInfo Source #
Cast to CompletionInfo
, 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, activateDefault, activateFocus, activateKey, add, addAccelGroup, addAccelerator, addChild, addDeviceEvents, addEvents, addMnemonic, addMnemonicLabel, addTickCallback, beginMoveDrag, beginResizeDrag, bindProperty, bindPropertyFull, canActivateAccel, checkResize, childFocus, childGetProperty, childNotify, childNotifyByPspec, childSetProperty, childType, classPath, close, computeExpand, constructChild, createPangoContext, createPangoLayout, customFinished, customTagEnd, customTagStart, deiconify, 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, fullscreen, fullscreenOnMonitor, getv, grabAdd, grabDefault, grabFocus, grabRemove, hasDefault, hasFocus, hasGrab, hasGroup, hasRcStyle, hasScreen, hasToplevelFocus, hasVisibleFocus, hide, hideOnDelete, iconify, inDestruction, initTemplate, inputShapeCombineRegion, insertActionGroup, intersect, isActive, isAncestor, isComposited, isDrawable, isFloating, isFocus, isMaximized, isSensitive, isToplevel, isVisible, keynavFailed, listAccelClosures, listActionPrefixes, listMnemonicLabels, map, maximize, mnemonicActivate, modifyBase, modifyBg, modifyCursor, modifyFg, modifyFont, modifyStyle, modifyText, move, moveToIter, notify, notifyByPspec, overrideBackgroundColor, overrideColor, overrideCursor, overrideFont, overrideSymbolicColor, parseGeometry, parserFinished, path, present, presentWithTime, propagateDraw, propagateKeyEvent, queueAllocate, queueComputeExpand, queueDraw, queueDrawArea, queueDrawRegion, queueResize, queueResizeNoRedraw, realize, ref, refSink, regionIntersect, registerWindow, remove, removeAccelGroup, removeAccelerator, removeMnemonic, removeMnemonicLabel, removeTickCallback, renderIcon, renderIconPixbuf, reparent, resetRcStyles, resetStyle, reshowWithInitialSize, resize, resizeChildren, resizeGripIsVisible, resizeToGeometry, runDispose, sendExpose, sendFocusChange, shapeCombineRegion, show, showAll, showNow, sizeAllocate, sizeAllocateWithBaseline, sizeRequest, stealData, stealQdata, stick, styleAttach, styleGetProperty, thawChildNotify, thawNotify, translateCoordinates, triggerTooltipQuery, unfullscreen, unmap, unmaximize, unparent, unrealize, unref, unregisterWindow, unsetFocusChain, unsetStateFlags, unstick, watchClosure.
Getters
getAcceptFocus, getAccessible, getActionGroup, getAllocatedBaseline, getAllocatedHeight, getAllocatedSize, getAllocatedWidth, getAllocation, getAncestor, getAppPaintable, getApplication, getAttachedTo, getBorderWidth, getCanDefault, getCanFocus, getChild, getChildRequisition, getChildVisible, getChildren, getClip, getClipboard, getCompositeName, getData, getDecorated, getDefaultSize, getDefaultWidget, getDeletable, getDestroyWithParent, getDeviceEnabled, getDeviceEvents, getDirection, getDisplay, getDoubleBuffered, getEvents, getFocus, getFocusChain, getFocusChild, getFocusHadjustment, getFocusOnClick, getFocusOnMap, getFocusVadjustment, getFocusVisible, getFontMap, getFontOptions, getFrameClock, getGravity, getGroup, getHalign, getHasResizeGrip, getHasTooltip, getHasWindow, getHexpand, getHexpandSet, getHideTitlebarWhenMaximized, getIcon, getIconList, getIconName, getInternalChild, getMapped, getMarginBottom, getMarginEnd, getMarginLeft, getMarginRight, getMarginStart, getMarginTop, getMnemonicModifier, getMnemonicsVisible, getModal, getModifierMask, getModifierStyle, getName, getNoShowAll, getOpacity, getPangoContext, getParent, getParentWindow, getPath, getPathForChild, getPointer, getPosition, getPreferredHeight, getPreferredHeightAndBaselineForWidth, getPreferredHeightForWidth, getPreferredSize, getPreferredWidth, getPreferredWidthForHeight, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRequisition, getResizable, getResizeGripArea, getResizeMode, getRole, getRootWindow, getScaleFactor, getScreen, getSensitive, getSettings, getSize, getSizeRequest, getSkipPagerHint, getSkipTaskbarHint, getState, getStateFlags, getStyle, getStyleContext, getSupportMultidevice, getTemplateChild, getTitle, getTitlebar, getTooltipMarkup, getTooltipText, getTooltipWindow, getToplevel, getTransientFor, getTypeHint, getUrgencyHint, getValign, getValignWithBaseline, getVexpand, getVexpandSet, getVisible, getVisual, getWidget, getWindow, getWindowType.
Setters
setAccelPath, setAcceptFocus, setAllocation, setAppPaintable, setApplication, setAttachedTo, setBorderWidth, setBuildableProperty, setCanDefault, setCanFocus, setChildVisible, setClip, setCompositeName, setData, setDataFull, setDecorated, setDefault, setDefaultGeometry, setDefaultSize, setDeletable, setDestroyWithParent, setDeviceEnabled, setDeviceEvents, setDirection, setDoubleBuffered, setEvents, setFocus, setFocusChain, setFocusChild, setFocusHadjustment, setFocusOnClick, setFocusOnMap, setFocusVadjustment, setFocusVisible, setFontMap, setFontOptions, setGeometryHints, setGravity, setHalign, setHasResizeGrip, setHasTooltip, setHasUserRefCount, setHasWindow, setHexpand, setHexpandSet, setHideTitlebarWhenMaximized, setIcon, setIconFromFile, setIconList, setIconName, setKeepAbove, setKeepBelow, setMapped, setMarginBottom, setMarginEnd, setMarginLeft, setMarginRight, setMarginStart, setMarginTop, setMnemonicModifier, setMnemonicsVisible, setModal, setName, setNoShowAll, setOpacity, setParent, setParentWindow, setPosition, setProperty, setRealized, setReallocateRedraws, setReceivesDefault, setRedrawOnAllocate, setResizable, setResizeMode, setRole, setScreen, setSensitive, setSizeRequest, setSkipPagerHint, setSkipTaskbarHint, setStartupId, setState, setStateFlags, setStyle, setSupportMultidevice, setTitle, setTitlebar, setTooltipMarkup, setTooltipText, setTooltipWindow, setTransientFor, setTypeHint, setUrgencyHint, setValign, setVexpand, setVexpandSet, setVisible, setVisual, setWidget, setWindow, setWmclass.
getWidget
completionInfoGetWidget Source #
:: (HasCallStack, MonadIO m, IsCompletionInfo a) | |
=> a |
|
-> m Widget | Returns: The current content widget. |
Deprecated: (Since version 3.8)Use binGetChild
instead.
Get the current content widget.
moveToIter
completionInfoMoveToIter Source #
:: (HasCallStack, MonadIO m, IsCompletionInfo a, IsTextView b) | |
=> a |
|
-> b |
|
-> Maybe TextIter |
|
-> m () |
Moves the CompletionInfo
to iter
. If iter
is Nothing
info
is
moved to the cursor position. Moving will respect the Gravity
setting
of the info window and will ensure the line at iter
is not occluded by
the window.
new
:: (HasCallStack, MonadIO m) | |
=> m CompletionInfo | Returns: a new GtkSourceCompletionInfo. |
No description available in the introspection data.
setWidget
completionInfoSetWidget Source #
:: (HasCallStack, MonadIO m, IsCompletionInfo a, IsWidget b) | |
=> a |
|
-> Maybe b |
|
-> m () |
Deprecated: (Since version 3.8)Use containerAdd
instead. If there is already a childwidget, remove it with containerRemove
.
Sets the content widget of the info window. See that the previous widget will
lose a reference and it can be destroyed, so if you do not want this to
happen you must use objectRef
before calling this method.
Signals
beforeShow
type CompletionInfoBeforeShowCallback = IO () Source #
Deprecated: (Since version 3.10)This signal should not be used.
This signal is emitted before any "show" management. You can connect to this signal if you want to change some properties or position before the real "show".
afterCompletionInfoBeforeShow :: (IsCompletionInfo a, MonadIO m) => a -> ((?self :: a) => CompletionInfoBeforeShowCallback) -> m SignalHandlerId Source #
Connect a signal handler for the beforeShow signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
completionInfo #beforeShow callback
By default the object invoking the signal is not passed to the callback.
If you need to access it, you can use the implit ?self
parameter.
Note that this requires activating the ImplicitParams
GHC extension.
onCompletionInfoBeforeShow :: (IsCompletionInfo a, MonadIO m) => a -> ((?self :: a) => CompletionInfoBeforeShowCallback) -> m SignalHandlerId Source #
Connect a signal handler for the beforeShow signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
completionInfo #beforeShow callback