Sets our main struct and passes it to the parent class.
The activate-proposal signal is a keybinding signal which gets emitted when the user initiates a proposal activation.
Emitted when the completion window is hidden. The default handler will actually hide the window.
The move-cursor signal is a keybinding signal which gets emitted when the user initiates a cursor movement.
The move-page signal is a keybinding signal which gets emitted when the user initiates a page movement (i.e. switches between provider pages).
Emitted just before starting to populate the completion with providers. You can use this signal to add additional attributes in the context.
Emitted when the completion window is shown. The default handler will actually show the window.
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.
Block interactive completion. This can be used to disable interactive completion when inserting or deleting text from the buffer associated with the completion. Use gtk_source_completion_unblock_interactive() to enable interactive completion again.
Create a new GtkSourceCompletionContext for completion. The position where the completion occurs can be specified by position. If position is NULL, the current cursor position will be used.
The info widget is the window where the completion displays optional extra information of the proposal.
Get list of providers registered on completion. The returned list is owned by the completion and should not be freed.
Get the main Gtk struct
the main Gtk struct as a void*
The GtkSourceView associated with completion, or NULL if the view has been destroyed.
Hides the completion if it is active (visible).
Remove provider from the completion.
Starts a new completion with the specified GtkSourceCompletionContext and a list of potential candidate providers for completion.
Unblock interactive completion. This can be used after using gtk_source_completion_block_interactive() to enable interactive completion again.
the main Gtk struct