SourceCompletion.addProvider

Add a new #GtkSourceCompletionProvider to the completion object. This will add a reference @provider, so make sure to unref your own copy when you no longer need it.

class SourceCompletion
bool
addProvider

Parameters

provider SourceCompletionProviderIF

a #GtkSourceCompletionProvider.

Return Value

Type: bool

%TRUE if @provider was successfully added, otherwise if @error is provided, it will be set with the error and %FALSE is returned.

Throws

GException on failure.

Meta