CompletionProposal.getText

string getText()

Gets the text of proposal. The text that is inserted into the text buffer when the proposal is activated by the default activation. You are free to implement a custom activation handler in the provider and not implement this function. For more information, see [gtksource.completion_provider.CompletionProvider.activateProposal]. The returned string must be freed with [glib.global.gfree].

Returns

a new string containing the text of proposal.