diff options
Diffstat (limited to 'widgets/misc/e-search-bar.h')
-rw-r--r-- | widgets/misc/e-search-bar.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/widgets/misc/e-search-bar.h b/widgets/misc/e-search-bar.h index 222501d2fe..36b80fafc2 100644 --- a/widgets/misc/e-search-bar.h +++ b/widgets/misc/e-search-bar.h @@ -63,7 +63,8 @@ struct _ESearchBar /* PRIVATE */ GtkWidget *dropdown_holder; /* holds the dropdown */ - GtkWidget *menu; + GtkWidget *option_menu; + GtkWidget *dropdown_menu; int option_choice; }; @@ -72,6 +73,9 @@ struct _ESearchBarClass { GtkHBoxClass parent_class; + void (*set_menu) (ESearchBar *, ESearchBarItem *); + void (*set_option) (ESearchBar *, ESearchBarItem *); + void (*query_changed) (ESearchBar *search); void (*menu_activated) (ESearchBar *search, int item); }; @@ -79,6 +83,8 @@ struct _ESearchBarClass GtkType e_search_bar_get_type (void); void e_search_bar_set_menu (ESearchBar *search_bar, ESearchBarItem *menu_items); +void e_search_bar_add_menu (ESearchBar *search_bar, ESearchBarItem *menu_item); + void e_search_bar_set_option (ESearchBar *search_bar, ESearchBarItem *option_items); void e_search_bar_construct (ESearchBar *search_bar, ESearchBarItem *menu_items, @@ -86,6 +92,8 @@ void e_search_bar_construct (ESearchBar *search_bar, GtkWidget *e_search_bar_new (ESearchBarItem *menu_items, ESearchBarItem *option_items); +void e_search_bar_set_menu_sensitive(ESearchBar *search_bar, int id, gboolean state); + #ifdef __cplusplus } #endif /* __cplusplus */ |