CompletionContext


Object Hierarchy:

GtkSource.CompletionContext GtkSource.CompletionContext GtkSource.CompletionContext GLib.Object GLib.Object GLib.Object->GtkSource.CompletionContext GLib.ListModel GLib.ListModel GLib.ListModel->GtkSource.CompletionContext

Description:

[ CCode ( type_id = "gtk_source_completion_context_get_type ()" ) ]
public class CompletionContext : Object, ListModel

The context of a completion.

`GtkSourceCompletionContext` contains information about an attept to display completion proposals to the user based on typed text in the [class@View].

When typing, [class@Completion] may use registered [iface@CompletionProvider] to determine if there may be results which could be displayed. If so, a `GtkSourceCompletionContext` is created with information that is provided to the [iface@CompletionProvider] to populate results which might be useful to the user.

[iface@CompletionProvider] are expected to provide [[email protected]] with [iface@CompletionProposal] which may be joined together in a list of results for the user. They are also responsible for how the contents are displayed using [class@CompletionCell] which allows for some level of customization.


Namespace: GtkSource
Package: gtksourceview-5

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object
All known members inherited from interface GLib.ListModel



2022 vala-language.org