gtksourceview2-0.12.1: Binding to the GtkSourceView library.Source codeContentsIndex
Graphics.UI.Gtk.SourceView.SourceCompletionContext
Portabilityportable (depends on GHC)
Stabilityprovisional
Maintainergtk2hs-users@lists.sourceforge.net
Contents
Types
Enums
Methods
Attributes
Signals
Description
Synopsis
data SourceCompletionContext
class GObjectClass o => SourceCompletionContextClass o
data SourceCompletionActivation
sourceCompletionContextAddProposals :: SourceCompletionContextClass scc => scc -> SourceCompletionProvider -> [SourceCompletionProposal] -> Bool -> IO ()
sourceCompletionContextGetIter :: SourceCompletionContextClass scc => scc -> IO TextIter
sourceCompletionContextActivation :: SourceCompletionContextClass scc => Attr scc SourceCompletionActivation
sourceCompletionContextCompletion :: SourceCompletionContextClass scc => Attr scc SourceCompletion
sourceCompletionContextCancelled :: SourceCompletionContextClass scc => Signal scc (IO ())
Types
data SourceCompletionContext Source
show/hide Instances
class GObjectClass o => SourceCompletionContextClass o Source
show/hide Instances
Enums
data SourceCompletionActivation Source
show/hide Instances
Methods
sourceCompletionContextAddProposalsSource
:: SourceCompletionContextClass scc
=> scc
-> SourceCompletionProvider
-> [SourceCompletionProposal]proposals The list of proposals to add
-> Boolfinished Whether the provider is finished adding proposals
-> IO ()
Providers can use this function to add proposals to the completion. They can do so asynchronously by means of the finished argument. Providers must ensure that they always call this function with finished set to True once each population (even if no proposals need to be added).
sourceCompletionContextGetIter :: SourceCompletionContextClass scc => scc -> IO TextIterSource
Get the iter at which the completion was invoked. Providers can use this to determine how and if to match proposals.
Attributes
sourceCompletionContextActivation :: SourceCompletionContextClass scc => Attr scc SourceCompletionActivationSource
The completion activation
sourceCompletionContextCompletion :: SourceCompletionContextClass scc => Attr scc SourceCompletionSource
The SourceCompletion associated with the context.
Signals
sourceCompletionContextCancelled :: SourceCompletionContextClass scc => Signal scc (IO ())Source
Emitted when the current population of proposals has been cancelled. Providers adding proposals asynchronously should connect to this signal to know when to cancel running proposal queries.
Produced by Haddock version 2.6.1