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 SuggestionEntry = SuggestionEntry (ManagedPtr SuggestionEntry)
- class (GObject o, IsDescendantOf SuggestionEntry o) => IsSuggestionEntry o
- toSuggestionEntry :: (MonadIO m, IsSuggestionEntry o) => o -> m SuggestionEntry
- suggestionEntryDefaultPositionFunc :: (HasCallStack, MonadIO m, IsSuggestionEntry a) => a -> Rectangle -> Bool -> Ptr () -> m ()
- suggestionEntryGetActivateOnSingleClick :: (HasCallStack, MonadIO m, IsSuggestionEntry a) => a -> m Bool
- suggestionEntryGetCompact :: (HasCallStack, MonadIO m, IsSuggestionEntry a) => a -> m Bool
- suggestionEntryGetModel :: (HasCallStack, MonadIO m, IsSuggestionEntry a) => a -> m (Maybe ListModel)
- suggestionEntryGetPopover :: (HasCallStack, MonadIO m, IsSuggestionEntry a) => a -> m Widget
- suggestionEntryGetSuggestion :: (HasCallStack, MonadIO m, IsSuggestionEntry a) => a -> m (Maybe Suggestion)
- suggestionEntryGetTypedText :: (HasCallStack, MonadIO m, IsSuggestionEntry a) => a -> m Text
- suggestionEntryHideSuggestions :: (HasCallStack, MonadIO m, IsSuggestionEntry a) => a -> m ()
- suggestionEntryNew :: (HasCallStack, MonadIO m) => m SuggestionEntry
- suggestionEntrySetActivateOnSingleClick :: (HasCallStack, MonadIO m, IsSuggestionEntry a) => a -> Bool -> m ()
- suggestionEntrySetCompact :: (HasCallStack, MonadIO m, IsSuggestionEntry a) => a -> Bool -> m ()
- suggestionEntrySetModel :: (HasCallStack, MonadIO m, IsSuggestionEntry a, IsListModel b) => a -> b -> m ()
- suggestionEntrySetPositionFunc :: (HasCallStack, MonadIO m, IsSuggestionEntry a) => a -> Maybe SuggestionPositionFunc -> m ()
- suggestionEntrySetSuggestion :: (HasCallStack, MonadIO m, IsSuggestionEntry a, IsSuggestion b) => a -> b -> m ()
- suggestionEntryWindowPositionFunc :: (HasCallStack, MonadIO m, IsSuggestionEntry a) => a -> Rectangle -> Bool -> Ptr () -> m ()
- constructSuggestionEntryActivateOnSingleClick :: (IsSuggestionEntry o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSuggestionEntryActivateOnSingleClick :: (MonadIO m, IsSuggestionEntry o) => o -> m Bool
- setSuggestionEntryActivateOnSingleClick :: (MonadIO m, IsSuggestionEntry o) => o -> Bool -> m ()
- constructSuggestionEntryCompact :: (IsSuggestionEntry o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSuggestionEntryCompact :: (MonadIO m, IsSuggestionEntry o) => o -> m Bool
- setSuggestionEntryCompact :: (MonadIO m, IsSuggestionEntry o) => o -> Bool -> m ()
- constructSuggestionEntryModel :: (IsSuggestionEntry o, MonadIO m, IsListModel a) => a -> m (GValueConstruct o)
- getSuggestionEntryModel :: (MonadIO m, IsSuggestionEntry o) => o -> m (Maybe ListModel)
- setSuggestionEntryModel :: (MonadIO m, IsSuggestionEntry o, IsListModel a) => o -> a -> m ()
- constructSuggestionEntrySuggestion :: (IsSuggestionEntry o, MonadIO m, IsSuggestion a) => a -> m (GValueConstruct o)
- getSuggestionEntrySuggestion :: (MonadIO m, IsSuggestionEntry o) => o -> m (Maybe Suggestion)
- setSuggestionEntrySuggestion :: (MonadIO m, IsSuggestionEntry o, IsSuggestion a) => o -> a -> m ()
- getSuggestionEntryTypedText :: (MonadIO m, IsSuggestionEntry o) => o -> m Text
- type SuggestionEntryActionCallback = Text -> Text -> Text -> IO ()
- afterSuggestionEntryAction :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntryActionCallback) -> m SignalHandlerId
- onSuggestionEntryAction :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntryActionCallback) -> m SignalHandlerId
- type SuggestionEntryActivateSuggestionCallback = IO ()
- afterSuggestionEntryActivateSuggestion :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntryActivateSuggestionCallback) -> m SignalHandlerId
- onSuggestionEntryActivateSuggestion :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntryActivateSuggestionCallback) -> m SignalHandlerId
- type SuggestionEntryHideSuggestionsCallback = IO ()
- afterSuggestionEntryHideSuggestions :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntryHideSuggestionsCallback) -> m SignalHandlerId
- onSuggestionEntryHideSuggestions :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntryHideSuggestionsCallback) -> m SignalHandlerId
- type SuggestionEntryMoveSuggestionCallback = Int32 -> IO ()
- afterSuggestionEntryMoveSuggestion :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntryMoveSuggestionCallback) -> m SignalHandlerId
- onSuggestionEntryMoveSuggestion :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntryMoveSuggestionCallback) -> m SignalHandlerId
- type SuggestionEntryShowSuggestionsCallback = IO ()
- afterSuggestionEntryShowSuggestions :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntryShowSuggestionsCallback) -> m SignalHandlerId
- onSuggestionEntryShowSuggestions :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntryShowSuggestionsCallback) -> m SignalHandlerId
- type SuggestionEntrySuggestionActivatedCallback = Suggestion -> IO ()
- afterSuggestionEntrySuggestionActivated :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntrySuggestionActivatedCallback) -> m SignalHandlerId
- onSuggestionEntrySuggestionActivated :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntrySuggestionActivatedCallback) -> m SignalHandlerId
- type SuggestionEntrySuggestionSelectedCallback = Suggestion -> IO ()
- afterSuggestionEntrySuggestionSelected :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntrySuggestionSelectedCallback) -> m SignalHandlerId
- onSuggestionEntrySuggestionSelected :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntrySuggestionSelectedCallback) -> m SignalHandlerId
Exported types
newtype SuggestionEntry Source #
Memory-managed wrapper type.
SuggestionEntry (ManagedPtr SuggestionEntry) |
Instances
class (GObject o, IsDescendantOf SuggestionEntry o) => IsSuggestionEntry o Source #
Type class for types which can be safely cast to SuggestionEntry
, for instance with toSuggestionEntry
.
Instances
(GObject o, IsDescendantOf SuggestionEntry o) => IsSuggestionEntry o Source # | |
Defined in GI.Dazzle.Objects.SuggestionEntry |
toSuggestionEntry :: (MonadIO m, IsSuggestionEntry o) => o -> m SuggestionEntry Source #
Cast to SuggestionEntry
, 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, addAccelerator, addChild, addDeviceEvents, addEvents, addMnemonicLabel, addTickCallback, bindProperty, bindPropertyFull, canActivateAccel, childFocus, childNotify, classPath, computeExpand, constructChild, copyClipboard, createPangoContext, createPangoLayout, customFinished, customTagEnd, customTagStart, cutClipboard, defaultPositionFunc, deleteSelection, deleteText, 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, editingDone, ensureStyle, errorBell, event, forceFloating, freezeChildNotify, freezeNotify, getv, grabAdd, grabDefault, grabFocus, grabFocusWithoutSelecting, grabRemove, hasDefault, hasFocus, hasGrab, hasRcStyle, hasScreen, hasVisibleFocus, hide, hideOnDelete, hideSuggestions, imContextFilterKeypress, inDestruction, initTemplate, inputShapeCombineRegion, insertActionGroup, insertText, intersect, isAncestor, isComposited, isDrawable, isFloating, isFocus, isSensitive, isToplevel, isVisible, keynavFailed, layoutIndexToTextIndex, listAccelClosures, listActionPrefixes, listMnemonicLabels, map, mnemonicActivate, modifyBase, modifyBg, modifyCursor, modifyFg, modifyFont, modifyStyle, modifyText, notify, notifyByPspec, overrideBackgroundColor, overrideColor, overrideCursor, overrideFont, overrideSymbolicColor, parserFinished, pasteClipboard, path, progressPulse, queueAllocate, queueComputeExpand, queueDraw, queueDrawArea, queueDrawRegion, queueResize, queueResizeNoRedraw, realize, ref, refSink, regionIntersect, registerWindow, removeAccelerator, removeMnemonicLabel, removeTickCallback, removeWidget, renderIcon, renderIconPixbuf, reparent, resetImContext, resetRcStyles, resetStyle, runDispose, selectRegion, sendExpose, sendFocusChange, shapeCombineRegion, show, showAll, showNow, sizeAllocate, sizeAllocateWithBaseline, sizeRequest, startEditing, stealData, stealQdata, styleAttach, styleGetProperty, textIndexToLayoutIndex, thawChildNotify, thawNotify, translateCoordinates, triggerTooltipQuery, unmap, unparent, unrealize, unref, unregisterWindow, unsetInvisibleChar, unsetStateFlags, watchClosure, windowPositionFunc.
Getters
getAccessible, getActionGroup, getActivateOnSingleClick, getActivatesDefault, getAlignment, getAllocatedBaseline, getAllocatedHeight, getAllocatedSize, getAllocatedWidth, getAllocation, getAncestor, getAppPaintable, getAttributes, getBuffer, getCanDefault, getCanFocus, getChars, getChildRequisition, getChildVisible, getClip, getClipboard, getCompact, getCompletion, getCompositeName, getCurrentIconDragSource, getCursorHadjustment, getData, getDeviceEnabled, getDeviceEvents, getDirection, getDisplay, getDoubleBuffered, getEditable, getEvents, getFocusOnClick, getFontMap, getFontOptions, getFrameClock, getHalign, getHasFrame, getHasTooltip, getHasWindow, getHexpand, getHexpandSet, getIconActivatable, getIconArea, getIconAtPos, getIconGicon, getIconName, getIconPixbuf, getIconSensitive, getIconStock, getIconStorageType, getIconTooltipMarkup, getIconTooltipText, getInnerBorder, getInputHints, getInputPurpose, getInternalChild, getInvisibleChar, getLayout, getLayoutOffsets, getMapped, getMarginBottom, getMarginEnd, getMarginLeft, getMarginRight, getMarginStart, getMarginTop, getMaxLength, getMaxWidthChars, getModel, getModifierMask, getModifierStyle, getName, getNoShowAll, getOpacity, getOverwriteMode, getPangoContext, getParent, getParentWindow, getPath, getPlaceholderText, getPointer, getPopover, getPosition, getPreferredHeight, getPreferredHeightAndBaselineForWidth, getPreferredHeightForWidth, getPreferredSize, getPreferredWidth, getPreferredWidthForHeight, getProgressFraction, getProgressPulseStep, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRequisition, getRootWindow, getScaleFactor, getScreen, getSelectionBounds, getSensitive, getSettings, getSizeRequest, getState, getStateFlags, getStyle, getStyleContext, getSuggestion, getSupportMultidevice, getTabs, getTemplateChild, getText, getTextArea, getTextLength, getTooltipMarkup, getTooltipText, getTooltipWindow, getToplevel, getTypedText, getValign, getValignWithBaseline, getVexpand, getVexpandSet, getVisibility, getVisible, getVisual, getWidthChars, getWindow.
Setters
setAccelPath, setActivateOnSingleClick, setActivatesDefault, setAlignment, setAllocation, setAppPaintable, setAttributes, setBuffer, setBuildableProperty, setCanDefault, setCanFocus, setChildVisible, setClip, setCompact, setCompletion, setCompositeName, setCursorHadjustment, setData, setDataFull, setDeviceEnabled, setDeviceEvents, setDirection, setDoubleBuffered, setEditable, setEvents, setFocusOnClick, setFontMap, setFontOptions, setHalign, setHasFrame, setHasTooltip, setHasWindow, setHexpand, setHexpandSet, setIconActivatable, setIconDragSource, setIconFromGicon, setIconFromIconName, setIconFromPixbuf, setIconFromStock, setIconSensitive, setIconTooltipMarkup, setIconTooltipText, setInnerBorder, setInputHints, setInputPurpose, setInvisibleChar, setMapped, setMarginBottom, setMarginEnd, setMarginLeft, setMarginRight, setMarginStart, setMarginTop, setMaxLength, setMaxWidthChars, setModel, setName, setNoShowAll, setOpacity, setOverwriteMode, setParent, setParentWindow, setPlaceholderText, setPosition, setPositionFunc, setProgressFraction, setProgressPulseStep, setProperty, setRealized, setReceivesDefault, setRedrawOnAllocate, setSensitive, setSizeRequest, setState, setStateFlags, setStyle, setSuggestion, setSupportMultidevice, setTabs, setText, setTooltipMarkup, setTooltipText, setTooltipWindow, setValign, setVexpand, setVexpandSet, setVisibility, setVisible, setVisual, setWidthChars, setWindow.
defaultPositionFunc
suggestionEntryDefaultPositionFunc :: (HasCallStack, MonadIO m, IsSuggestionEntry a) => a -> Rectangle -> Bool -> Ptr () -> m () Source #
No description available in the introspection data.
getActivateOnSingleClick
suggestionEntryGetActivateOnSingleClick :: (HasCallStack, MonadIO m, IsSuggestionEntry a) => a -> m Bool Source #
No description available in the introspection data.
getCompact
suggestionEntryGetCompact Source #
:: (HasCallStack, MonadIO m, IsSuggestionEntry a) | |
=> a |
|
-> m Bool | Returns: |
Gets the SuggestionEntry:compact property.
Since: 3.34
getModel
suggestionEntryGetModel Source #
:: (HasCallStack, MonadIO m, IsSuggestionEntry a) | |
=> a |
|
-> m (Maybe ListModel) |
Gets the model being visualized.
getPopover
suggestionEntryGetPopover Source #
:: (HasCallStack, MonadIO m, IsSuggestionEntry a) | |
=> a |
|
-> m Widget | Returns: a |
Gets the result display widget for the entry. This is currently
always a SuggestionPopover
.
Since: 3.32
getSuggestion
suggestionEntryGetSuggestion Source #
:: (HasCallStack, MonadIO m, IsSuggestionEntry a) | |
=> a |
|
-> m (Maybe Suggestion) | Returns: An |
Gets the currently selected suggestion.
getTypedText
suggestionEntryGetTypedText :: (HasCallStack, MonadIO m, IsSuggestionEntry a) => a -> m Text Source #
No description available in the introspection data.
hideSuggestions
suggestionEntryHideSuggestions :: (HasCallStack, MonadIO m, IsSuggestionEntry a) => a -> m () Source #
No description available in the introspection data.
new
suggestionEntryNew :: (HasCallStack, MonadIO m) => m SuggestionEntry Source #
No description available in the introspection data.
setActivateOnSingleClick
suggestionEntrySetActivateOnSingleClick :: (HasCallStack, MonadIO m, IsSuggestionEntry a) => a -> Bool -> m () Source #
No description available in the introspection data.
setCompact
suggestionEntrySetCompact Source #
:: (HasCallStack, MonadIO m, IsSuggestionEntry a) | |
=> a |
|
-> Bool |
|
-> m () |
Sets the SuggestionEntry:compact property.
Since: 3.34
setModel
suggestionEntrySetModel :: (HasCallStack, MonadIO m, IsSuggestionEntry a, IsListModel b) => a -> b -> m () Source #
No description available in the introspection data.
setPositionFunc
suggestionEntrySetPositionFunc Source #
:: (HasCallStack, MonadIO m, IsSuggestionEntry a) | |
=> a |
|
-> Maybe SuggestionPositionFunc |
|
-> m () |
Sets a position func to position the popover.
In func
, you should set the height of the rectangle to the maximum height
that the popover should be allowed to grow.
Since: 3.26
setSuggestion
suggestionEntrySetSuggestion :: (HasCallStack, MonadIO m, IsSuggestionEntry a, IsSuggestion b) => a -> b -> m () Source #
No description available in the introspection data.
windowPositionFunc
suggestionEntryWindowPositionFunc :: (HasCallStack, MonadIO m, IsSuggestionEntry a) => a -> Rectangle -> Bool -> Ptr () -> m () Source #
This is a SuggestionPositionFunc
that can be used to make the suggestion
popover the full width of the window. It is similar to what you might find
in a web browser.
Properties
activateOnSingleClick
The "activate-on-single-click" property denotes if results should be
activated simply by clicking on them. You may want to set this to
False
if you want the behavior to only select the item.
Since: 3.30
constructSuggestionEntryActivateOnSingleClick :: (IsSuggestionEntry o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “activate-on-single-click
” property. This is rarely needed directly, but it is used by new
.
getSuggestionEntryActivateOnSingleClick :: (MonadIO m, IsSuggestionEntry o) => o -> m Bool Source #
Get the value of the “activate-on-single-click
” property.
When overloading is enabled, this is equivalent to
get
suggestionEntry #activateOnSingleClick
setSuggestionEntryActivateOnSingleClick :: (MonadIO m, IsSuggestionEntry o) => o -> Bool -> m () Source #
Set the value of the “activate-on-single-click
” property.
When overloading is enabled, this is equivalent to
set
suggestionEntry [ #activateOnSingleClick:=
value ]
compact
The "compact" property denotes if an alternate style should be used to reduce the width of the rows. This may be ideal in size contrained situations with portrait display.
Since: 3.34
constructSuggestionEntryCompact :: (IsSuggestionEntry o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “compact
” property. This is rarely needed directly, but it is used by new
.
getSuggestionEntryCompact :: (MonadIO m, IsSuggestionEntry o) => o -> m Bool Source #
Get the value of the “compact
” property.
When overloading is enabled, this is equivalent to
get
suggestionEntry #compact
setSuggestionEntryCompact :: (MonadIO m, IsSuggestionEntry o) => o -> Bool -> m () Source #
Set the value of the “compact
” property.
When overloading is enabled, this is equivalent to
set
suggestionEntry [ #compact:=
value ]
model
No description available in the introspection data.
constructSuggestionEntryModel :: (IsSuggestionEntry o, MonadIO m, IsListModel a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “model
” property. This is rarely needed directly, but it is used by new
.
getSuggestionEntryModel :: (MonadIO m, IsSuggestionEntry o) => o -> m (Maybe ListModel) Source #
Get the value of the “model
” property.
When overloading is enabled, this is equivalent to
get
suggestionEntry #model
setSuggestionEntryModel :: (MonadIO m, IsSuggestionEntry o, IsListModel a) => o -> a -> m () Source #
Set the value of the “model
” property.
When overloading is enabled, this is equivalent to
set
suggestionEntry [ #model:=
value ]
suggestion
The "suggestion" property is the currently selected suggestion, if any.
Since: 3.30
constructSuggestionEntrySuggestion :: (IsSuggestionEntry o, MonadIO m, IsSuggestion a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “suggestion
” property. This is rarely needed directly, but it is used by new
.
getSuggestionEntrySuggestion :: (MonadIO m, IsSuggestionEntry o) => o -> m (Maybe Suggestion) Source #
Get the value of the “suggestion
” property.
When overloading is enabled, this is equivalent to
get
suggestionEntry #suggestion
setSuggestionEntrySuggestion :: (MonadIO m, IsSuggestionEntry o, IsSuggestion a) => o -> a -> m () Source #
Set the value of the “suggestion
” property.
When overloading is enabled, this is equivalent to
set
suggestionEntry [ #suggestion:=
value ]
typedText
No description available in the introspection data.
getSuggestionEntryTypedText :: (MonadIO m, IsSuggestionEntry o) => o -> m Text Source #
Get the value of the “typed-text
” property.
When overloading is enabled, this is equivalent to
get
suggestionEntry #typedText
Signals
action
type SuggestionEntryActionCallback = Text -> Text -> Text -> IO () Source #
No description available in the introspection data.
afterSuggestionEntryAction :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntryActionCallback) -> m SignalHandlerId Source #
Connect a signal handler for the action signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
suggestionEntry #action 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.
onSuggestionEntryAction :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntryActionCallback) -> m SignalHandlerId Source #
Connect a signal handler for the action signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
suggestionEntry #action callback
activateSuggestion
type SuggestionEntryActivateSuggestionCallback = IO () Source #
No description available in the introspection data.
afterSuggestionEntryActivateSuggestion :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntryActivateSuggestionCallback) -> m SignalHandlerId Source #
Connect a signal handler for the activateSuggestion signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
suggestionEntry #activateSuggestion 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.
onSuggestionEntryActivateSuggestion :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntryActivateSuggestionCallback) -> m SignalHandlerId Source #
Connect a signal handler for the activateSuggestion signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
suggestionEntry #activateSuggestion callback
hideSuggestions
type SuggestionEntryHideSuggestionsCallback = IO () Source #
No description available in the introspection data.
afterSuggestionEntryHideSuggestions :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntryHideSuggestionsCallback) -> m SignalHandlerId Source #
Connect a signal handler for the hideSuggestions signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
suggestionEntry #hideSuggestions 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.
onSuggestionEntryHideSuggestions :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntryHideSuggestionsCallback) -> m SignalHandlerId Source #
Connect a signal handler for the hideSuggestions signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
suggestionEntry #hideSuggestions callback
moveSuggestion
type SuggestionEntryMoveSuggestionCallback Source #
This moves the selected suggestion in the popover by the value provided. -1 moves up one row, 1, moves down a row.
afterSuggestionEntryMoveSuggestion :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntryMoveSuggestionCallback) -> m SignalHandlerId Source #
Connect a signal handler for the moveSuggestion signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
suggestionEntry #moveSuggestion 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.
onSuggestionEntryMoveSuggestion :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntryMoveSuggestionCallback) -> m SignalHandlerId Source #
Connect a signal handler for the moveSuggestion signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
suggestionEntry #moveSuggestion callback
showSuggestions
type SuggestionEntryShowSuggestionsCallback = IO () Source #
No description available in the introspection data.
afterSuggestionEntryShowSuggestions :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntryShowSuggestionsCallback) -> m SignalHandlerId Source #
Connect a signal handler for the showSuggestions signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
suggestionEntry #showSuggestions 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.
onSuggestionEntryShowSuggestions :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntryShowSuggestionsCallback) -> m SignalHandlerId Source #
Connect a signal handler for the showSuggestions signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
suggestionEntry #showSuggestions callback
suggestionActivated
type SuggestionEntrySuggestionActivatedCallback = Suggestion -> IO () Source #
No description available in the introspection data.
afterSuggestionEntrySuggestionActivated :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntrySuggestionActivatedCallback) -> m SignalHandlerId Source #
Connect a signal handler for the suggestionActivated signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
suggestionEntry #suggestionActivated 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.
onSuggestionEntrySuggestionActivated :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntrySuggestionActivatedCallback) -> m SignalHandlerId Source #
Connect a signal handler for the suggestionActivated signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
suggestionEntry #suggestionActivated callback
suggestionSelected
type SuggestionEntrySuggestionSelectedCallback Source #
= Suggestion |
|
-> IO () |
This signal is emitted when a selection has been specifically selected by the user, such as by clicking on the row or moving to the row with keyboard, such as with SuggestionEntry::moveSuggestion
Since: 3.30
afterSuggestionEntrySuggestionSelected :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntrySuggestionSelectedCallback) -> m SignalHandlerId Source #
Connect a signal handler for the suggestionSelected signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
suggestionEntry #suggestionSelected 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.
onSuggestionEntrySuggestionSelected :: (IsSuggestionEntry a, MonadIO m) => a -> ((?self :: a) => SuggestionEntrySuggestionSelectedCallback) -> m SignalHandlerId Source #
Connect a signal handler for the suggestionSelected signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
suggestionEntry #suggestionSelected callback