Top | ![]() |
![]() |
![]() |
![]() |
GtkTextBuffer * | buffer | Read / Write / Construct Only |
GspellChecker * | spell-checker | Read / Write |
GspellTextBuffer extends the GtkTextBuffer class but without subclassing it, because the GtkSourceView library has already a GtkTextBuffer subclass.
GspellTextBuffer *
gspell_text_buffer_get_from_gtk_text_buffer
(GtkTextBuffer *gtk_buffer
);
Returns the GspellTextBuffer of gtk_buffer
. The returned object is
guaranteed to be the same for the lifetime of gtk_buffer
.
GtkTextBuffer *
gspell_text_buffer_get_buffer (GspellTextBuffer *gspell_buffer
);
GspellChecker *
gspell_text_buffer_get_spell_checker (GspellTextBuffer *gspell_buffer
);
void gspell_text_buffer_set_spell_checker (GspellTextBuffer *gspell_buffer
,GspellChecker *spell_checker
);
Sets a GspellChecker to a GspellTextBuffer. The gspell_buffer
will own a
reference to spell_checker
, so you can release your reference to
spell_checker
if you no longer need it.
gspell_buffer |
||
spell_checker |
a GspellChecker, or |
[nullable] |