# Part I. Introduction

gspell provides a flexible API to add spell checking to a GTK application. See the gspell home page.

## pkg-config name

The pkg-config name of the gspell library is: `gspell-1`

To compile a program that uses gspell, you can for example use the following command:

`$ gcc hello.c `pkg-config --cflags --libs gspell-1` -o hello`

## How to enable inline spell checking in a GtkTextView

See the `gspell_text_view_basic_setup()` convenience function to quickly enable inline spell checking in a GtkTextView widget.

## How to enable inline spell checking in a GtkEntry

See the `gspell_entry_basic_setup()` convenience function to quickly enable inline spell checking in a GtkEntry widget.