### Interface

# GtkSource CompletionProposal

#### Description [src]

    interface GtkSource.CompletionProposal : GObject.Object

Interface for completion proposals.

This interface is used to denote that an object is capable of being a completion proposal for `GtkSourceCompletion`.

Currently, no method or functions are required but additional methods may be added in the future. Proposals created by `GtkSourceCompletionProvider` can use `G_IMPLEMENT_INTERFACE()` to implement this with `NULL` for the interface init function.

#### Prerequisite

In order to implement CompletionProposal, your type must inherit from`GObject`.

#### Instance methods

###### gtk_source_completion_proposal_get_typed_text

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

since: 5.6

#### Interface structure

    struct GtkSourceCompletionProposalInterface {
      GTypeInterface parent_iface;
      char* (* get_typed_text) (
        GtkSourceCompletionProposal* proposal
      );

    }

No description available.

###### Interface members

`parent_iface`

    GTypeInterface

| No description available.

`get_typed_text`

    char* (* get_typed_text) (
        GtkSourceCompletionProposal* proposal
      )

| No description available.

#### Virtual methods

###### GtkSource.CompletionProposal.get_typed_text

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

since: 5.6