|
Packit |
aa0600 |
/*
|
|
Packit |
aa0600 |
* This file is part of gspell, a spell-checking library.
|
|
Packit |
aa0600 |
*
|
|
Packit |
aa0600 |
* Copyright 2015, 2016 - Sébastien Wilmet
|
|
Packit |
aa0600 |
*
|
|
Packit |
aa0600 |
* This library is free software; you can redistribute it and/or
|
|
Packit |
aa0600 |
* modify it under the terms of the GNU Lesser General Public
|
|
Packit |
aa0600 |
* License as published by the Free Software Foundation; either
|
|
Packit |
aa0600 |
* version 2.1 of the License, or (at your option) any later version.
|
|
Packit |
aa0600 |
*
|
|
Packit |
aa0600 |
* This library is distributed in the hope that it will be useful,
|
|
Packit |
aa0600 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
aa0600 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
aa0600 |
* Lesser General Public License for more details.
|
|
Packit |
aa0600 |
*
|
|
Packit |
aa0600 |
* You should have received a copy of the GNU Lesser General Public License
|
|
Packit |
aa0600 |
* along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
Packit |
aa0600 |
*/
|
|
Packit |
aa0600 |
|
|
Packit |
aa0600 |
#ifndef GSPELL_TEXT_VIEW_H
|
|
Packit |
aa0600 |
#define GSPELL_TEXT_VIEW_H
|
|
Packit |
aa0600 |
|
|
Packit |
aa0600 |
#if !defined (GSPELL_H_INSIDE) && !defined (GSPELL_COMPILATION)
|
|
Packit |
aa0600 |
#error "Only <gspell/gspell.h> can be included directly."
|
|
Packit |
aa0600 |
#endif
|
|
Packit |
aa0600 |
|
|
Packit |
aa0600 |
#include <gtk/gtk.h>
|
|
Packit |
aa0600 |
#include <gspell/gspell-version.h>
|
|
Packit |
aa0600 |
|
|
Packit |
aa0600 |
G_BEGIN_DECLS
|
|
Packit |
aa0600 |
|
|
Packit |
aa0600 |
#define GSPELL_TYPE_TEXT_VIEW (gspell_text_view_get_type ())
|
|
Packit |
aa0600 |
|
|
Packit |
aa0600 |
GSPELL_AVAILABLE_IN_ALL
|
|
Packit |
aa0600 |
G_DECLARE_DERIVABLE_TYPE (GspellTextView, gspell_text_view,
|
|
Packit |
aa0600 |
GSPELL, TEXT_VIEW,
|
|
Packit |
aa0600 |
GObject)
|
|
Packit |
aa0600 |
|
|
Packit |
aa0600 |
struct _GspellTextViewClass
|
|
Packit |
aa0600 |
{
|
|
Packit |
aa0600 |
GObjectClass parent_class;
|
|
Packit |
aa0600 |
|
|
Packit |
aa0600 |
/* Padding for future expansion */
|
|
Packit |
aa0600 |
gpointer padding[8];
|
|
Packit |
aa0600 |
};
|
|
Packit |
aa0600 |
|
|
Packit |
aa0600 |
GSPELL_AVAILABLE_IN_ALL
|
|
Packit |
aa0600 |
GspellTextView * gspell_text_view_get_from_gtk_text_view (GtkTextView *gtk_view);
|
|
Packit |
aa0600 |
|
|
Packit |
aa0600 |
GSPELL_AVAILABLE_IN_1_2
|
|
Packit |
aa0600 |
void gspell_text_view_basic_setup (GspellTextView *gspell_view);
|
|
Packit |
aa0600 |
|
|
Packit |
aa0600 |
GSPELL_AVAILABLE_IN_ALL
|
|
Packit |
aa0600 |
GtkTextView * gspell_text_view_get_view (GspellTextView *gspell_view);
|
|
Packit |
aa0600 |
|
|
Packit |
aa0600 |
GSPELL_AVAILABLE_IN_ALL
|
|
Packit |
aa0600 |
gboolean gspell_text_view_get_inline_spell_checking (GspellTextView *gspell_view);
|
|
Packit |
aa0600 |
|
|
Packit |
aa0600 |
GSPELL_AVAILABLE_IN_ALL
|
|
Packit |
aa0600 |
void gspell_text_view_set_inline_spell_checking (GspellTextView *gspell_view,
|
|
Packit |
aa0600 |
gboolean enable);
|
|
Packit |
aa0600 |
|
|
Packit |
aa0600 |
GSPELL_AVAILABLE_IN_1_2
|
|
Packit |
aa0600 |
gboolean gspell_text_view_get_enable_language_menu (GspellTextView *gspell_view);
|
|
Packit |
aa0600 |
|
|
Packit |
aa0600 |
GSPELL_AVAILABLE_IN_1_2
|
|
Packit |
aa0600 |
void gspell_text_view_set_enable_language_menu (GspellTextView *gspell_view,
|
|
Packit |
aa0600 |
gboolean enable_language_menu);
|
|
Packit |
aa0600 |
|
|
Packit |
aa0600 |
G_END_DECLS
|
|
Packit |
aa0600 |
|
|
Packit |
aa0600 |
#endif /* GSPELL_TEXT_VIEW_H */
|
|
Packit |
aa0600 |
|
|
Packit |
aa0600 |
/* ex:set ts=8 noet: */
|