Class Completion

java.lang.Object
All Implemented Interfaces:
Proxy

@Generated("io.github.jwharm.JavaGI") public class Completion extends GObject
Main Completion Object.

The completion system helps the user when they writes some text, such as words, command names, functions, and suchlike. Proposals can be shown, to complete the text the user is writing. Each proposal can contain an additional piece of information (for example documentation), that is displayed when the "Details" button is clicked.

Proposals are created via a CompletionProvider. There can be for example a provider to complete words (see CompletionWords), another provider for the completion of function names, etc. To add a provider, call addProvider(org.gnome.gtksourceview.CompletionProvider).

The CompletionProposal interface represents a proposal.

If a proposal contains extra information (see CompletionColumn.DETAILS), it will be displayed in a supplemental details window, which appears when the "Details" button is clicked.

Each View object is associated with a Completion instance. This instance can be obtained with View.getCompletion(). The View class contains also the View::show-completion signal.

A same CompletionProvider object can be used for several GtkSourceCompletion's.