|  |  |  | GNOME Dictionary Library Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals | ||||
struct GdictSpeller; struct GdictSpellerClass; GtkWidget * gdict_speller_new (void); GtkWidget * gdict_speller_new_with_context (GdictContext *context); void gdict_speller_set_context (GdictSpeller *speller,GdictContext *context); GdictContext * gdict_speller_get_context (GdictSpeller *speller); void gdict_speller_set_database (GdictSpeller *speller,const gchar *database); const gchar * gdict_speller_get_database (GdictSpeller *speller); void gdict_speller_set_strategy (GdictSpeller *speller,const gchar *strategy); const gchar * gdict_speller_get_strategy (GdictSpeller *speller); void gdict_speller_clear (GdictSpeller *speller); void gdict_speller_match (GdictSpeller *speller,const gchar *word); gint gdict_speller_count_matches (GdictSpeller *speller); gchar ** gdict_speller_get_matches (GdictSpeller *speller,gsize length);
  GObject
   +----GInitiallyUnowned
         +----GtkWidget
               +----GtkContainer
                     +----GtkBox
                           +----GtkVBox
                                 +----GdictSpeller
"context" GdictContext* : Read / Write / Construct "database" gchar* : Read / Write "strategy" gchar* : Read / Write
GdictSpeller is a widget showing a list of words returned by a GdictContext query, using a specific database and a matching strategy.
struct GdictSpellerClass {
  GtkVBoxClass parent_class;
  void (*word_activated) (GdictSpeller *speller,
		          const gchar  *word,
			  const gchar  *database);
  /* padding for future expansion */
  void (*_gdict_speller_1) (void);
  void (*_gdict_speller_2) (void);
  void (*_gdict_speller_3) (void);
  void (*_gdict_speller_4) (void);  
};
GtkWidget *         gdict_speller_new_with_context      (GdictContext *context);
FIXME
| 
 | a GdictContext | 
| Returns : | FIXME | 
Since
void gdict_speller_set_context (GdictSpeller *speller,GdictContext *context);
FIXME
| 
 | a GdictSpeller | 
| 
 | a GdictContext | 
Since
GdictContext *      gdict_speller_get_context           (GdictSpeller *speller);
FIXME
| 
 | a GdictSpeller | 
| Returns : | a GdictContext | 
Since
void gdict_speller_set_database (GdictSpeller *speller,const gchar *database);
FIXME
| 
 | a GdictSpeller | 
| 
 | FIXME | 
Since
const gchar *       gdict_speller_get_database          (GdictSpeller *speller);
FIXME
| 
 | a GdictSpeller | 
| Returns : | FIXME | 
Since FIXME
void gdict_speller_set_strategy (GdictSpeller *speller,const gchar *strategy);
FIXME
| 
 | a GdictSpeller | 
| 
 | FIXME | 
Since FIXME
const gchar *       gdict_speller_get_strategy          (GdictSpeller *speller);
FIXME
| 
 | a GdictSpeller | 
| Returns : | FIXME | 
Since FIXME
void                gdict_speller_clear                 (GdictSpeller *speller);
FIXME
| 
 | a GdictSpeller | 
Since FIXME
void gdict_speller_match (GdictSpeller *speller,const gchar *word);
FIXME
| 
 | a GdictSpeller | 
| 
 | FIXME | 
Since FIXME
gchar ** gdict_speller_get_matches (GdictSpeller *speller,gsize length);
FIXME
| 
 | a GdictSpeller | 
| 
 | FIXME | 
| Returns : | FIXME | 
Since FIXME
"context" property  "context"                  GdictContext*         : Read / Write / Construct
The GdictContext object used to get the word definition.
"database" property  "database"                 gchar*                : Read / Write
The database used to query the GdictContext.
Default value: "*"
"word-activated" signalvoid                user_function                      (GdictSpeller *gdictspeller,
                                                        gchar        *arg1,
                                                        gchar        *arg2,
                                                        gpointer      user_data)         : Run Last
| 
 | the object which received the signal. | 
| 
 | user data set when the signal handler was connected. |