SourceCompletion.createContext

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.

class SourceCompletion
createContext

Parameters

position TextIter

a #GtkTextIter, or %NULL.

Return Value

a new #GtkSourceCompletionContext. The reference being returned is a 'floating' reference, so if you invoke gtk_source_completion_show() with this context you don't need to unref it.

Meta