GdictEntry

GdictEntry —

Synopsis




            GdictEntryPrivate;
            GdictEntry;
GtkWidget*  gdict_entry_new                 (void);
GtkWidget*  gdict_entry_new_with_context    (GdictContext *context);
void        gdict_entry_set_context         (GdictEntry *entry,
                                             GdictContext *context);
GdictContext* gdict_entry_get_context       (GdictEntry *entry);

Description

Details

GdictEntryPrivate

typedef struct _GdictEntryPrivate GdictEntryPrivate;


GdictEntry

typedef struct {
} GdictEntry;


gdict_entry_new ()

GtkWidget*  gdict_entry_new                 (void);

Creates a new GdictEntry widget. This widget is a simple entry with automatic completion bound to a GdictContext. When the user begins typing a word, the GtkEntryCompletion is filled with the matching words retrieved by the context.

You must set a context for this widget by using gdict_entry_set_context().

Returns : the newly created GdictEntry widget.

Since 1.0


gdict_entry_new_with_context ()

GtkWidget*  gdict_entry_new_with_context    (GdictContext *context);

Creates a new GdictEntry widget. This widget is a simple entry with automatic completion bound to a GdictContext. When the user begins typing a word, the GtkEntryCompletion is filled with the matching words retrieved by the context.

You might change the context used by the widget by using the gdict_entry_set_context() function.

context : a GdictContext
Returns : the newly created GdictEntry widget.

Since 1.0


gdict_entry_set_context ()

void        gdict_entry_set_context         (GdictEntry *entry,
                                             GdictContext *context);

Sets context as the GdictContext used by the entry.

This function increases the reference count of context.

entry : a GdictEntry
context : a GdictContext

Since 1.0


gdict_entry_get_context ()

GdictContext* gdict_entry_get_context       (GdictEntry *entry);

Retrieves the GdictContext used by entry.

entry : a GdictEntry
Returns : the context used by the entry

Since 1.0