CompletionProviderT.listAlternates

Providers should return a list of alternates to proposal or null if there are no alternates available.

This can be used by the completion view to allow the user to move laterally through similar proposals, such as overrides of methods by the same name.

Parameters

context gtksource.completion_context.CompletionContext

a #GtkSourceCompletionContext

proposal gtksource.completion_proposal.CompletionProposal

a #GtkSourceCompletionProposal

Return Value

Type: gtksource.completion_proposal.CompletionProposal[]

a #GPtrArray of #GtkSourceCompletionProposal or null.