the main Gtk struct as a void*
Activate proposal at iter. When this functions returns FALSE, the default activation of proposal will take place which replaces the word at iter with the label of proposal.
Get the icon of the provider.
Get a customized info widget to show extra information of a proposal. This allows for customized widgets on a proposal basis, although in general providers will have the same custom widget for all their proposals and proposal can be ignored. The implementation of this function is optional. If implemented, gtk_source_completion_provider_update_info MUST also be implemented. If not implemented, the default gtk_source_completion_proposal_get_info will be used to display extra information about a GtkSourceCompletionProposal.
Get the name of the provider. This should be a translatable name for display to the user. For example: _("Document word completion provider"). The returned string must be freed with g_free().
Get the GtkTextIter at which the completion for proposal starts. When implemented, the completion can use this information to position the completion window accordingly when a proposal is selected in the completion window.
Get whether the provider match the context of completion detailed in context.
Populate context with proposals from provider
Update extra information shown in info for proposal. This should be implemented if your provider sets a custom info widget for proposal. This function MUST be implemented when gtk_source_completion_provider_get_info_widget is implemented.
Description You must implement this interface to provide proposals to GtkSourceCompletion