aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-search-bar.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2001-02-24 05:22:15 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-02-24 05:22:15 +0800
commit669c08181079cc48352959b829f578ea922351a6 (patch)
treeeac999f2c2d250c0249bfcc816592198adb1448c /widgets/misc/e-search-bar.h
parent31fa26751eb85498bc7ef289c9613ce468f8ccec (diff)
downloadgsoc2013-evolution-669c08181079cc48352959b829f578ea922351a6.tar.gz
gsoc2013-evolution-669c08181079cc48352959b829f578ea922351a6.tar.zst
gsoc2013-evolution-669c08181079cc48352959b829f578ea922351a6.zip
Move the event box into the esb->dropdown_holder. Changed so it can be
2001-02-24 Not Zed <NotZed@Ximian.com> * e-search-bar.c (add_dropdown): Move the event box into the esb->dropdown_holder. Changed so it can be called again on the same esb, to rebuild the menu. (e_search_bar_set_menu): New function to (re)set the menu. (add_option): Setup so it can be re-called to rebuild the option list. (e_search_bar_set_option): New function to build the menu's. svn path=/trunk/; revision=8373
Diffstat (limited to 'widgets/misc/e-search-bar.h')
-rw-r--r--widgets/misc/e-search-bar.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/widgets/misc/e-search-bar.h b/widgets/misc/e-search-bar.h
index 402de319f7..222501d2fe 100644
--- a/widgets/misc/e-search-bar.h
+++ b/widgets/misc/e-search-bar.h
@@ -60,6 +60,11 @@ struct _ESearchBar
GtkWidget *dropdown;
GtkWidget *option;
GtkWidget *entry;
+
+ /* PRIVATE */
+ GtkWidget *dropdown_holder; /* holds the dropdown */
+ GtkWidget *menu;
+
int option_choice;
};
@@ -73,6 +78,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_set_option (ESearchBar *search_bar, ESearchBarItem *option_items);
void e_search_bar_construct (ESearchBar *search_bar,
ESearchBarItem *menu_items,
ESearchBarItem *option_items);