gtksource.completion_context
Module for [CompletionContext] class
Types 3
Methods
CompletionContext self()Returns `this`, for use in `with` statements.CompletionContextGidBuilder builder()Get builder for [gtksource.completion_context.CompletionContext] Returns: New builder objectgtksource.types.CompletionActivation activation() @propertyGet `activation` property. Returns: The completion activationvoid activation(gtksource.types.CompletionActivation propval) @propertySet `activation` property. Params: propval = The completion activationgtksource.completion.Completion completion() @propertyGet `completion` property. Returns: The #GtkSourceCompletion associated with the context.gtk.text_iter.TextIter iter() @propertyGet `iter` property. Returns: The #GtkTextIter at which the completion is invoked.void iter(gtk.text_iter.TextIter propval) @propertySet `iter` property. Params: propval = The #GtkTextIter at which the completion is invoked.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 f...gtksource.types.CompletionActivation getActivation()Get the context activation. Returns: The context activation.bool getIter(out 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.gulong connectCancelled(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gtksource.completion_context.CompletionContext)))
&& Parameters!T.length < 2)Connect to `Cancelled` signal.classCompletionContextGidBuilderImpl(T) : gobject.initially_unowned.InitiallyUnownedGidBuilderImpl!T
Methods
T activation(gtksource.types.CompletionActivation propval)Set `activation` property. Params: propval = The completion activation Returns: Builder instance for fluent chainingT completion(gtksource.completion.Completion propval)Set `completion` property. Params: propval = The #GtkSourceCompletion associated with the context. Returns: Builder instance for fluent chainingT iter(gtk.text_iter.TextIter propval)Set `iter` property. Params: propval = The #GtkTextIter at which the completion is invoked. Returns: Builder instance for fluent chainingFluent builder for [gtksource.completion_context.CompletionContext]
Methods