GspellNavigatorGtv: gspell Reference Manual

## GspellNavigatorGtv GspellNavigatorGtv — A GspellNavigator implementation for GtkTextView |

## Functions

GspellNavigator * | gspell_navigator_gtv_new ()

## Properties

GspellChecker * | spell-checker | Read / Write / Construct
GtkTextView * | view | Read / Write / Construct Only

## Types and Values

| GspellNavigatorGtv

## Object Hierarchy

        GObject
        ╰── GspellNavigatorGtv

## Implemented Interfaces

GspellNavigatorGtv implements GspellNavigator.

## Includes

    #include <gspell/gspell.h>

## Description

GspellNavigatorGtv is a simple implementation of the GspellNavigator interface.

If a selection exists in the GtkTextView, only the selected text is spell checked. Otherwise the whole buffer is checked. The same GspellChecker is used throughout the navigation.

If only the selected text is spell checked, the implementation of `gspell_navigator_change_all()` changes only the occurrences that were present in the selection.

The implementation of `gspell_navigator_goto_next()` selects the misspelled word and scrolls to it.

## Functions

### gspell_navigator_gtv_new ()

    GspellNavigator *
    gspell_navigator_gtv_new (GtkTextView *view,
                              GspellChecker *spell_checker);

#### Parameters

view | a GtkTextView. |
spell_checker | a GspellChecker. |

#### Returns

a new GspellNavigatorGtv object.

[transfer full]

## Types and Values

### GspellNavigatorGtv

    typedef struct _GspellNavigatorGtv GspellNavigatorGtv;

## Property Details

### The `“spell-checker”` property

      “spell-checker”            GspellChecker *

The GspellChecker to use.

Flags: Read / Write / Construct

### The `“view”` property

      “view”                     GtkTextView *

The GtkTextView. The buffer is not sufficient, the view is needed to scroll to the misspelled words.

Flags: Read / Write / Construct Only

## See Also

GspellNavigator, GspellCheckerDialog