Method

GtkSourceCompletionContextget_proposals_for_provider

Declaration [src]

GListModel*
gtk_source_completion_context_get_proposals_for_provider (
  GtkSourceCompletionContext* self,
  GtkSourceCompletionProvider* provider
)

Description [src]

Gets the GListModel associated with the provider.

You can connect to GtkSourceCompletionContext::model-changed to receive notifications about when the model has been replaced by a new model.

Available since:5.6

Parameters

provider GtkSourceCompletionProvider
 

A GtkSourceCompletionProvider.

 The data is owned by the caller of the function.

Return value

Returns: A list model of GObject
 

A GListModel or NULL.

 The data is owned by the instance.
 The return value can be NULL.