## GtrHistoryEntry

GtrHistoryEntry

## Synopsis

                        GtrHistoryEntry;
    struct              GtrHistoryEntryClass;
                        GtrHistoryEntryPrivate;
    GtkWidget *         gtr_history_entry_new               (const gchar *history_id,
                                                             gboolean enable_completion);
    void                gtr_history_entry_prepend_text      (GtrHistoryEntry *entry,
                                                             const gchar *text);
    void                gtr_history_entry_append_text       (GtrHistoryEntry *entry,
                                                             const gchar *text);
    void                gtr_history_entry_clear             (GtrHistoryEntry *entry);
    void                gtr_history_entry_set_history_length
                                                            (GtrHistoryEntry *entry,
                                                             guint max_saved);
    guint               gtr_history_entry_get_history_length
                                                            (GtrHistoryEntry *gentry);
    void                gtr_history_entry_set_enable_completion
                                                            (GtrHistoryEntry *entry,
                                                             gboolean enable);
    gboolean            gtr_history_entry_get_enable_completion
                                                            (GtrHistoryEntry *entry);
    GtkWidget *         gtr_history_entry_get_entry         (GtrHistoryEntry *entry);
    gchar *             (*GtrHistoryEntryEscapeFunc)        (const gchar *str);
    void                gtr_history_entry_set_escape_func   (GtrHistoryEntry *entry,
                                                             GtrHistoryEntryEscapeFunc escape_func);

## Description

## Details

### GtrHistoryEntry

    typedef struct _GtrHistoryEntry GtrHistoryEntry;

### struct GtrHistoryEntryClass

    struct GtrHistoryEntryClass {
      GtkComboBoxTextClass parent_class;
    };

### GtrHistoryEntryPrivate

    typedef struct _GtrHistoryEntryPrivate GtrHistoryEntryPrivate;

### gtr_history_entry_new ()

    GtkWidget *         gtr_history_entry_new               (const gchar *history_id,
                                                             gboolean enable_completion);

### gtr_history_entry_prepend_text ()

    void                gtr_history_entry_prepend_text      (GtrHistoryEntry *entry,
                                                             const gchar *text);

### gtr_history_entry_append_text ()

    void                gtr_history_entry_append_text       (GtrHistoryEntry *entry,
                                                             const gchar *text);

### gtr_history_entry_clear ()

    void                gtr_history_entry_clear             (GtrHistoryEntry *entry);

### gtr_history_entry_set_history_length ()

    void                gtr_history_entry_set_history_length
                                                            (GtrHistoryEntry *entry,
                                                             guint max_saved);

### gtr_history_entry_get_history_length ()

    guint               gtr_history_entry_get_history_length
                                                            (GtrHistoryEntry *gentry);

### gtr_history_entry_set_enable_completion ()

    void                gtr_history_entry_set_enable_completion
                                                            (GtrHistoryEntry *entry,
                                                             gboolean enable);

### gtr_history_entry_get_enable_completion ()

    gboolean            gtr_history_entry_get_enable_completion
                                                            (GtrHistoryEntry *entry);

### gtr_history_entry_get_entry ()

    GtkWidget *         gtr_history_entry_get_entry         (GtrHistoryEntry *entry);

### GtrHistoryEntryEscapeFunc ()

    gchar *             (*GtrHistoryEntryEscapeFunc)        (const gchar *str);

### gtr_history_entry_set_escape_func ()

    void                gtr_history_entry_set_escape_func   (GtrHistoryEntry *entry,
                                                             GtrHistoryEntryEscapeFunc escape_func);