Maintainer | gtk2hs-users@lists.sourceforge.net |
---|---|
Stability | provisional |
Portability | portable (depends on GHC) |
Safe Haskell | None |
Language | Haskell98 |
- data SourceCompletionContext
- class GObjectClass o => SourceCompletionContextClass o
- data SourceCompletionActivation
- sourceCompletionContextAddProposals :: (SourceCompletionContextClass scc, SourceCompletionProviderClass scp) => scc -> scp -> [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
class GObjectClass o => SourceCompletionContextClass o Source #
Enums
Methods
sourceCompletionContextAddProposals Source #
:: (SourceCompletionContextClass scc, SourceCompletionProviderClass scp) | |
=> scc | |
-> scp | |
-> [SourceCompletionProposal] |
|
-> Bool |
|
-> 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 TextIter Source #
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 SourceCompletionActivation Source #
The completion activation
sourceCompletionContextCompletion :: SourceCompletionContextClass scc => Attr scc SourceCompletion Source #
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.