2006-02-27 Gabor Kelemen <kelemeng@gnome.hu>
[beagle.git] / glue / search-entry.h
blob20e7111799a514720d08ff96cccdedf9e4fdb6c0
1 #ifndef __SEARCH_ENTRY_H__
2 #define __SEARCH_ENTRY_H__
4 #include <gtk/gtkentry.h>
6 G_BEGIN_DECLS
8 #define SEARCH_TYPE_ENTRY (search_entry_get_type ())
9 #define SEARCH_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SEARCH_TYPE_ENTRY, SearchEntry))
10 #define SEARCH_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SEARCH_TYPE_ENTRY, SearchEntryClass))
11 #define SEARCH_IS_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SEARCH_TYPE_ENTRY))
12 #define SEARCH_IS_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SEARCH_TYPE_ENTRY))
13 #define SEARCH_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SEARCH_TYPE_ENTRY, SearchEntryClass))
15 typedef struct {
16 GtkEntry parent;
18 } SearchEntry;
20 typedef struct {
21 GtkEntryClass parent_class;
23 } SearchEntryClass;
25 GType search_entry_get_type (void);
27 GtkWidget *search_entry_new (void);
29 G_END_DECLS
31 #endif /* __SEARCH_ENTRY_H__ */