CompletionProposal

Interface for completion proposals.

This interface is used to denote that an object is capable of being a completion proposal for class@Completion.

Currently, no method or functions are required but additional methods may be added in the future. Proposals created by #GtkSourceCompletionProvider can use func@GObject.IMPLEMENT_INTERFACE to implement this with null for the interface init function.

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class CompletionProposalImpl(val gtksourceCompletionProposalPointer: <Error class: unknown class><<Error class: unknown class>>) : CompletionProposal

The CompletionProposalImpl type represents a native instance of the CompletionProposal interface.

Properties

Link copied to clipboard
abstract val gtksourceCompletionProposalPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun getTypedText(): String?

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