GtkSource.CompletionWords¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/c |
The minimum word size to complete |
||
r/w/c |
Provider priority |
||
r/w/c |
Number of proposals added in one batch |
||
r/w/c |
Number of lines scanned in one batch |
||
r/w/c |
The provider title |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class GtkSource.CompletionWords(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A [iface`CompletionProvider`] for the completion of words.
The
GtkSourceCompletionWords
is an example of an implementation of the [iface`CompletionProvider`] interface. The proposals are words appearing in the registered [class`Gtk`.TextBuffer]s.- classmethod new(title)¶
- Parameters:
- Returns:
a new
GtkSource.CompletionWords
provider- Return type:
- register(buffer)¶
- Parameters:
buffer (
Gtk.TextBuffer
) – aGtk.TextBuffer
Registers buffer in the self provider.
- unregister(buffer)¶
- Parameters:
buffer (
Gtk.TextBuffer
) – aGtk.TextBuffer
Unregisters buffer from the self provider.
Property Details¶
- GtkSource.CompletionWords.props.minimum_word_size¶
-
The minimum word size to complete
- GtkSource.CompletionWords.props.priority¶
-
Provider priority
- GtkSource.CompletionWords.props.proposals_batch_size¶
-
Number of proposals added in one batch
- GtkSource.CompletionWords.props.scan_batch_size¶
-
Number of lines scanned in one batch