Gspell.TextBuffer¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
|||
r/w |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Gspell.TextBuffer(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod get_from_gtk_text_buffer(gtk_buffer)¶
- Parameters:
gtk_buffer (
Gtk.TextBuffer
) – aGtk.TextBuffer
.- Returns:
the
Gspell.TextBuffer
of gtk_buffer.- Return type:
Returns the
Gspell.TextBuffer
of gtk_buffer. The returned object is guaranteed to be the same for the lifetime of gtk_buffer.
- get_buffer()¶
- Returns:
the
Gtk.TextBuffer
of self.- Return type:
- get_spell_checker()¶
- Returns:
the
Gspell.Checker
if one has been set, orNone
.- Return type:
- set_spell_checker(spell_checker)¶
- Parameters:
spell_checker (
Gspell.Checker
orNone
) – aGspell.Checker
, orNone
to unset the spell checker.
Sets a
Gspell.Checker
to aGspell.TextBuffer
. The self will own a reference to spell_checker, so you can release your reference to spell_checker if you no longer need it.
Property Details¶
- Gspell.TextBuffer.props.buffer¶
- Name:
buffer
- Type:
- Default Value:
- Flags:
The
Gtk.TextBuffer
.
- Gspell.TextBuffer.props.spell_checker¶
- Name:
spell-checker
- Type:
- Default Value:
- Flags:
The
Gspell.Checker
.