GtkTextBuffer support: gspell 1 Reference Manual

## GtkTextBuffer support GtkTextBuffer support |

## Functions

void | gspell_text_buffer_set_spell_checker ()
GspellChecker * | gspell_text_buffer_get_spell_checker ()

## Includes

    #include <gspell/gspell.h>

## Description

Spell checking support for GtkTextBuffer.

## Functions

### gspell_text_buffer_set_spell_checker ()

    void
    gspell_text_buffer_set_spell_checker (GtkTextBuffer *buffer,
                                          GspellChecker *checker);

Associates a spell checker to a GtkTextBuffer. The `buffer` will own a reference to `checker` , so you can release your reference to `checker` if you no longer need it.

#### Parameters

buffer | a GtkTextBuffer. |
checker | a GspellChecker, or `NULL` to unset the spell checker. | [nullable]

### gspell_text_buffer_get_spell_checker ()

    GspellChecker *
    gspell_text_buffer_get_spell_checker (GtkTextBuffer *buffer);

#### Parameters

buffer | a GtkTextBuffer. |

#### Returns

the associated GspellChecker if one has been set, or `NULL`.

[nullable][transfer none]

## Types and Values

## See Also

GspellChecker