CompletionWords#

class CompletionWords(**properties: Any)#

Superclasses: Object

Implemented Interfaces: CompletionProvider

A CompletionProvider for the completion of words.

The GtkSourceCompletionWords is an example of an implementation of the CompletionProvider interface. The proposals are words appearing in the registered TextBuffers.

Constructors#

class CompletionWords
classmethod new(title: str | None = None) CompletionWords#
Parameters:

title – The title for the provider, or None.

Methods#

class CompletionWords
register(buffer: TextBuffer) None#

Registers buffer in the words provider.

Parameters:

buffer – a TextBuffer

unregister(buffer: TextBuffer) None#

Unregisters buffer from the words provider.

Parameters:

buffer – a TextBuffer

Properties#

class CompletionWords
props.minimum_word_size: int#

The type of the None singleton.

props.priority: int#

The type of the None singleton.

props.proposals_batch_size: int#

The type of the None singleton.

props.scan_batch_size: int#

The type of the None singleton.

props.title: str#

The type of the None singleton.

Fields#

class CompletionWords
parent_instance#