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 |
GI.Dazzle.Objects.SuggestionEntryBuffer
Description
No description available in the introspection data.
Synopsis
- newtype SuggestionEntryBuffer = SuggestionEntryBuffer (ManagedPtr SuggestionEntryBuffer)
- class (GObject o, IsDescendantOf SuggestionEntryBuffer o) => IsSuggestionEntryBuffer o
- toSuggestionEntryBuffer :: (MonadIO m, IsSuggestionEntryBuffer o) => o -> m SuggestionEntryBuffer
- suggestionEntryBufferClear :: (HasCallStack, MonadIO m, IsSuggestionEntryBuffer a) => a -> m ()
- suggestionEntryBufferCommit :: (HasCallStack, MonadIO m, IsSuggestionEntryBuffer a) => a -> m ()
- suggestionEntryBufferGetSuggestion :: (HasCallStack, MonadIO m, IsSuggestionEntryBuffer a) => a -> m (Maybe Suggestion)
- suggestionEntryBufferGetTypedLength :: (HasCallStack, MonadIO m, IsSuggestionEntryBuffer a) => a -> m Word32
- suggestionEntryBufferGetTypedText :: (HasCallStack, MonadIO m, IsSuggestionEntryBuffer a) => a -> m Text
- suggestionEntryBufferNew :: (HasCallStack, MonadIO m) => m SuggestionEntryBuffer
- suggestionEntryBufferSetSuggestion :: (HasCallStack, MonadIO m, IsSuggestionEntryBuffer a, IsSuggestion b) => a -> Maybe b -> m ()
- clearSuggestionEntryBufferSuggestion :: (MonadIO m, IsSuggestionEntryBuffer o) => o -> m ()
- constructSuggestionEntryBufferSuggestion :: (IsSuggestionEntryBuffer o, MonadIO m, IsSuggestion a) => a -> m (GValueConstruct o)
- getSuggestionEntryBufferSuggestion :: (MonadIO m, IsSuggestionEntryBuffer o) => o -> m (Maybe Suggestion)
- setSuggestionEntryBufferSuggestion :: (MonadIO m, IsSuggestionEntryBuffer o, IsSuggestion a) => o -> a -> m ()
Exported types
newtype SuggestionEntryBuffer Source #
Memory-managed wrapper type.
Constructors
SuggestionEntryBuffer (ManagedPtr SuggestionEntryBuffer) |
Instances
class (GObject o, IsDescendantOf SuggestionEntryBuffer o) => IsSuggestionEntryBuffer o Source #
Type class for types which can be safely cast to SuggestionEntryBuffer
, for instance with toSuggestionEntryBuffer
.
Instances
(GObject o, IsDescendantOf SuggestionEntryBuffer o) => IsSuggestionEntryBuffer o Source # | |
Defined in GI.Dazzle.Objects.SuggestionEntryBuffer |
toSuggestionEntryBuffer :: (MonadIO m, IsSuggestionEntryBuffer o) => o -> m SuggestionEntryBuffer Source #
Cast to SuggestionEntryBuffer
, 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
bindProperty, bindPropertyFull, clear, commit, deleteText, emitDeletedText, emitInsertedText, forceFloating, freezeNotify, getv, insertText, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getBytes, getData, getLength, getMaxLength, getProperty, getQdata, getSuggestion, getText, getTypedLength, getTypedText.
Setters
setData, setDataFull, setMaxLength, setProperty, setSuggestion, setText.
clear
suggestionEntryBufferClear :: (HasCallStack, MonadIO m, IsSuggestionEntryBuffer a) => a -> m () Source #
No description available in the introspection data.
commit
suggestionEntryBufferCommit :: (HasCallStack, MonadIO m, IsSuggestionEntryBuffer a) => a -> m () Source #
No description available in the introspection data.
getSuggestion
suggestionEntryBufferGetSuggestion Source #
Arguments
:: (HasCallStack, MonadIO m, IsSuggestionEntryBuffer a) | |
=> a |
|
-> m (Maybe Suggestion) | Returns: An |
Gets the Suggestion
that is the current "preview suffix" of the
text in the entry.
getTypedLength
suggestionEntryBufferGetTypedLength :: (HasCallStack, MonadIO m, IsSuggestionEntryBuffer a) => a -> m Word32 Source #
No description available in the introspection data.
getTypedText
suggestionEntryBufferGetTypedText :: (HasCallStack, MonadIO m, IsSuggestionEntryBuffer a) => a -> m Text Source #
No description available in the introspection data.
new
suggestionEntryBufferNew :: (HasCallStack, MonadIO m) => m SuggestionEntryBuffer Source #
No description available in the introspection data.
setSuggestion
suggestionEntryBufferSetSuggestion Source #
Arguments
:: (HasCallStack, MonadIO m, IsSuggestionEntryBuffer a, IsSuggestion b) | |
=> a |
|
-> Maybe b |
|
-> m () |
Sets the current suggestion for the entry buffer.
The suggestion is used to get a potential suffix for the current entry text. This allows the entry to show "preview text" after the entered text for what might be inserted should they activate the current item.
Properties
suggestion
No description available in the introspection data.
clearSuggestionEntryBufferSuggestion :: (MonadIO m, IsSuggestionEntryBuffer o) => o -> m () Source #
Set the value of the “suggestion
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#suggestion
constructSuggestionEntryBufferSuggestion :: (IsSuggestionEntryBuffer 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
.
getSuggestionEntryBufferSuggestion :: (MonadIO m, IsSuggestionEntryBuffer o) => o -> m (Maybe Suggestion) Source #
Get the value of the “suggestion
” property.
When overloading is enabled, this is equivalent to
get
suggestionEntryBuffer #suggestion
setSuggestionEntryBufferSuggestion :: (MonadIO m, IsSuggestionEntryBuffer o, IsSuggestion a) => o -> a -> m () Source #
Set the value of the “suggestion
” property.
When overloading is enabled, this is equivalent to
set
suggestionEntryBuffer [ #suggestion:=
value ]