CompletionWords
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 TextBuffer
’s.
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 thewords
provider.- Parameters:
buffer – a
TextBuffer
- unregister(buffer: TextBuffer) None
Unregisters
buffer
from thewords
provider.- Parameters:
buffer – a
TextBuffer
Properties
Fields
- class CompletionWords
- parent_instance