Gspell.Entry¶
- Subclasses:
 None
Methods¶
- Inherited:
 - Structs:
 
class  | 
  | 
  | 
|
  | 
|
  | 
Virtual Methods¶
- Inherited:
 
Properties¶
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w/co  | 
|||
r/w  | 
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Class Details¶
- class Gspell.Entry(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
- classmethod get_from_gtk_entry(gtk_entry)¶
 - Parameters:
 - Returns:
 the
Gspell.Entryof gtk_entry.- Return type:
 
Returns the
Gspell.Entryof gtk_entry. The returned object is guaranteed to be the same for the lifetime of gtk_entry.New in version 1.4.
- basic_setup()¶
 This function is a convenience function that does the following:
Set a spell checker. The language chosen is the one returned by
Gspell.Language.get_default().Set the
Gspell.Entry:inline-spell-checkingproperty toTrue.
Example:
GtkEntry *gtk_entry; GspellEntry *gspell_entry; gspell_entry = gspell_entry_get_from_gtk_entry (gtk_entry); gspell_entry_basic_setup (gspell_entry);
This is equivalent to:
GtkEntry *gtk_entry; GspellEntry *gspell_entry; GspellChecker *checker; GtkEntryBuffer *gtk_buffer; GspellEntryBuffer *gspell_buffer; checker = gspell_checker_new (NULL); gtk_buffer = gtk_entry_get_buffer (gtk_entry); gspell_buffer = gspell_entry_buffer_get_from_gtk_entry_buffer (gtk_buffer); gspell_entry_buffer_set_spell_checker (gspell_buffer, checker); g_object_unref (checker); gspell_entry = gspell_entry_get_from_gtk_entry (gtk_entry); gspell_entry_set_inline_spell_checking (gspell_entry, TRUE);
New in version 1.4.
- get_inline_spell_checking()¶
 - Returns:
 the value of the
Gspell.Entry:inline-spell-checkingproperty.- Return type:
 
New in version 1.4.
- set_inline_spell_checking(enable)¶
 - Parameters:
 enable (
bool) – the new state.
Sets the
Gspell.Entry:inline-spell-checkingproperty.New in version 1.4.
Property Details¶
- Gspell.Entry.props.entry¶
 - Name:
 entry- Type:
 - Default Value:
 - Flags:
 
The
Gtk.Entry.New in version 1.4.
- Gspell.Entry.props.inline_spell_checking¶
 - 
Whether the inline spell checking is enabled.
Even if this property is
True,Gspell.Entrydisables internally the inline spell checking in case theGtk.Entry:visibilityproperty isFalse.New in version 1.4.