CompletionContext

Constructors

this
this(void* ptr, Flag!"Take" take)

Members

Functions

addProposals
void addProposals(gtksource.completion_provider.CompletionProvider provider, gtksource.completion_proposal.CompletionProposal[] proposals, bool finished)

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 gtksource.completion_provider.CompletionProvider.populate function is called.

connectCancelled
gulong connectCancelled(T callback, Flag!"After" after)

Connect to Cancelled signal.

getActivation
gtksource.types.CompletionActivation getActivation()

Get the context activation.

getIter
bool getIter(gtk.text_iter.TextIter iter)

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

self
CompletionContext self()

Returns this, for use in with statements.

Properties

_gType
GType _gType [@property getter]
activation
gtksource.types.CompletionActivation activation [@property getter]

Get activation property.

activation
gtksource.types.CompletionActivation activation [@property setter]

Set activation property.

completion
gtksource.completion.Completion completion [@property getter]

Get completion property.

iter
gtk.text_iter.TextIter iter [@property getter]

Get iter property.

iter
gtk.text_iter.TextIter iter [@property setter]

Set iter property.

Static functions

_getGType
GType _getGType()
builder
CompletionContextGidBuilder builder()

Get builder for gtksource.completion_context.CompletionContext

Inherited Members

From InitiallyUnowned

_getGType
GType _getGType()
_gType
GType _gType [@property getter]
self
InitiallyUnowned self()

Returns this, for use in with statements.

builder
InitiallyUnownedGidBuilder builder()

Get builder for gobject.initially_unowned.InitiallyUnowned