Module: GtkSource::CompletionProposal

Defined in:
(unknown)

Overview

Interface for completion proposals.

This interface is used to denote that an object is capable of being a completion proposal for [classCompletion].

Currently, no method or functions are required but additional methods may be added in the future. Proposals created by Gtk::SourceCompletionProvider can use [funcGObject.IMPLEMENT_INTERFACE] to implement this with nil for the interface init function.

Instance Method Summary collapse

Instance Method Details

#typed_textString

Gets the typed-text for the proposal, if supported by the implementation.

Implementing this virtual-function is optional, but can be useful to allow external tooling to compare results.

Returns:

  • (String)

    a newly allocated string, or nil