Spelling.TextBufferAdapter¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
Buffer |
||
r/w |
Checker |
||
r/w/en |
If spellcheck is enabled |
||
r/w/en |
The language code such as en_US |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Spelling.TextBufferAdapter(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(buffer, checker)¶
- Parameters:
buffer (
GtkSource.Buffer
) –checker (
Spelling.Checker
) –
- Return type:
- get_buffer()¶
- Returns:
- Return type:
Gets the underlying buffer for the adapter.
- get_checker()¶
- Returns:
a
Spelling.Checker
orNone
- Return type:
Gets the checker used by the adapter.
- Returns:
- Return type:
Gets the menu model containing corrections
- get_tag()¶
- Returns:
a
Gtk.TextTag
orNone
- Return type:
Gtk.TextTag
orNone
Gets the tag used for potentially misspelled words.
- invalidate_all()¶
- set_checker(checker)¶
- Parameters:
checker (
Spelling.Checker
) –
Property Details¶
- Spelling.TextBufferAdapter.props.buffer¶
- Name:
buffer
- Type:
- Default Value:
- Flags:
Buffer
- Spelling.TextBufferAdapter.props.checker¶
- Name:
checker
- Type:
- Default Value:
- Flags:
Checker
- Spelling.TextBufferAdapter.props.enabled¶
- Name:
enabled
- Type:
- Default Value:
- Flags:
If spellcheck is enabled