comparison finch/libgnt/gntentry.h @ 29671:69decc147e5b

history-search action for text-entries.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 02 Apr 2010 21:01:42 +0000
parents 1f59065c606a
children
comparison
equal deleted inserted replaced
29670:ca77ea5de98d 29671:69decc147e5b
47 47
48 typedef struct _GntEntry GntEntry; 48 typedef struct _GntEntry GntEntry;
49 typedef struct _GntEntryPriv GntEntryPriv; 49 typedef struct _GntEntryPriv GntEntryPriv;
50 typedef struct _GntEntryClass GntEntryClass; 50 typedef struct _GntEntryClass GntEntryClass;
51 typedef struct _GntEntryKillRing GntEntryKillRing; 51 typedef struct _GntEntryKillRing GntEntryKillRing;
52 typedef struct _GntEntrySearch GntEntrySearch;
52 53
53 typedef enum 54 typedef enum
54 { 55 {
55 GNT_ENTRY_FLAG_ALPHA = 1 << 0, /* Only alpha */ 56 GNT_ENTRY_FLAG_ALPHA = 1 << 0, /* Only alpha */
56 GNT_ENTRY_FLAG_INT = 1 << 1, /* Only integer */ 57 GNT_ENTRY_FLAG_INT = 1 << 1, /* Only integer */
84 GList *suggests; /* List of suggestions */ 85 GList *suggests; /* List of suggestions */
85 gboolean word; /* Are the suggestions for only a word, or for the whole thing? */ 86 gboolean word; /* Are the suggestions for only a word, or for the whole thing? */
86 gboolean always; /* Should the list of suggestions show at all times, or only on tab-press? */ 87 gboolean always; /* Should the list of suggestions show at all times, or only on tab-press? */
87 GntWidget *ddown; /* The dropdown with the suggested list */ 88 GntWidget *ddown; /* The dropdown with the suggested list */
88 GntEntryKillRing *killring; /**< @since 2.3.0 */ 89 GntEntryKillRing *killring; /**< @since 2.3.0 */
90 GntEntrySearch *search; /**< @since 2.7.0 */
89 }; 91 };
90 92
91 struct _GntEntryClass 93 struct _GntEntryClass
92 { 94 {
93 GntWidgetClass parent; 95 GntWidgetClass parent;