gi-gtksource-3.0.13: GtkSource bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.GtkSource.Objects.CompletionContext

Contents

Description

 

Synopsis

Exported types

Methods

addProposals

completionContextAddProposals Source #

Arguments

:: (HasCallStack, MonadIO m, IsCompletionContext a, IsCompletionProvider b, IsCompletionProposal c) 
=> a

context: a CompletionContext.

-> b

provider: a CompletionProvider.

-> [c]

proposals: The list of proposals to add.

-> Bool

finished: Whether the provider is finished adding proposals.

-> m () 

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). Population occurs when the completionProviderPopulate function is called.

getActivation

completionContextGetActivation Source #

Arguments

:: (HasCallStack, MonadIO m, IsCompletionContext a) 
=> a

context: a CompletionContext.

-> m [CompletionActivation]

Returns: The context activation.

Get the context activation.

getIter

completionContextGetIter Source #

Arguments

:: (HasCallStack, MonadIO m, IsCompletionContext a) 
=> a

context: a CompletionContext.

-> m (Bool, TextIter)

Returns: True if iter is correctly set, False otherwise.

Get the iter at which the completion was invoked. Providers can use this to determine how and if to match proposals.

Properties

activation

data CompletionContextActivationPropertyInfo Source #

Instances

AttrInfo CompletionContextActivationPropertyInfo Source # 
type AttrOrigin CompletionContextActivationPropertyInfo Source # 
type AttrLabel CompletionContextActivationPropertyInfo Source # 
type AttrGetType CompletionContextActivationPropertyInfo Source # 
type AttrBaseTypeConstraint CompletionContextActivationPropertyInfo Source # 
type AttrSetTypeConstraint CompletionContextActivationPropertyInfo Source # 
type AttrAllowedOps CompletionContextActivationPropertyInfo Source # 

completion

data CompletionContextCompletionPropertyInfo Source #

Instances

AttrInfo CompletionContextCompletionPropertyInfo Source # 
type AttrOrigin CompletionContextCompletionPropertyInfo Source # 
type AttrLabel CompletionContextCompletionPropertyInfo Source # 
type AttrGetType CompletionContextCompletionPropertyInfo Source # 
type AttrBaseTypeConstraint CompletionContextCompletionPropertyInfo Source # 
type AttrSetTypeConstraint CompletionContextCompletionPropertyInfo Source # 
type AttrAllowedOps CompletionContextCompletionPropertyInfo Source # 

iter

data CompletionContextIterPropertyInfo Source #

Instances

AttrInfo CompletionContextIterPropertyInfo Source # 
type AttrOrigin CompletionContextIterPropertyInfo Source # 
type AttrLabel CompletionContextIterPropertyInfo Source # 
type AttrGetType CompletionContextIterPropertyInfo Source # 
type AttrBaseTypeConstraint CompletionContextIterPropertyInfo Source # 
type AttrSetTypeConstraint CompletionContextIterPropertyInfo Source # 
type AttrAllowedOps CompletionContextIterPropertyInfo Source # 

Signals

cancelled