Method
GtkSourceCompletionProviderlist_alternates
Declaration [src]
GPtrArray*
gtk_source_completion_provider_list_alternates (
GtkSourceCompletionProvider* self,
GtkSourceCompletionContext* context,
GtkSourceCompletionProposal* proposal
)
Description [src]
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
-
Type:
GtkSourceCompletionContext
A
GtkSourceCompletionContext
.The data is owned by the caller of the method. proposal
-
Type:
GtkSourceCompletionProposal
A
GtkSourceCompletionProposal
.The data is owned by the caller of the method.