gtksource.completion_context
Module for [CompletionContext] class
Types 3
Methods
CompletionContextGidBuilder builder() static nothrowGet builder for [gtksource.completion_context.CompletionContext] Returns: New builder objectgtksource.types.CompletionActivation activation() @property nothrowGet `activation` property. Returns: The completion activationvoid activation(gtksource.types.CompletionActivation propval) @property nothrowSet `activation` property. Params: propval = The completion activationgtksource.completion.Completion completion() @property nothrowGet `completion` property. Returns: The #GtkSourceCompletion associated with the context.gtk.text_iter.TextIter iter() @property nothrowGet `iter` property. Returns: The #GtkTextIter at which the completion is invoked.void iter(gtk.text_iter.TextIter propval) @property nothrowSet `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) nothrowProviders 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() nothrowGet the context activation. Returns: The context activation.bool getIter(out gtk.text_iter.TextIter iter) nothrowGet 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) nothrowConnect to `Cancelled` signal.classCompletionContextGidBuilderImpl(T) : gobject.initially_unowned.InitiallyUnownedGidBuilderImpl!T
Fluent builder implementation template for gtksource.completion_context.CompletionContext
Methods
T activation(gtksource.types.CompletionActivation propval) nothrowSet `activation` property. Params: propval = The completion activation Returns: Builder instance for fluent chainingT completion(gtksource.completion.Completion propval) nothrowSet `completion` property. Params: propval = The #GtkSourceCompletion associated with the context. Returns: Builder instance for fluent chainingT iter(gtk.text_iter.TextIter propval) nothrowSet `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