From 3ab2eaeb0359afbd9638360d8bfc41e361a660d4 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Sun, 28 Jan 2001 10:00:47 +0000 Subject: Documented. svn path=/trunk/; revision=7870 --- widgets/misc/e-dropdown-button.c | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'widgets/misc/e-dropdown-button.c') diff --git a/widgets/misc/e-dropdown-button.c b/widgets/misc/e-dropdown-button.c index 6696d0a134..a8a42e9301 100644 --- a/widgets/misc/e-dropdown-button.c +++ b/widgets/misc/e-dropdown-button.c @@ -168,6 +168,15 @@ init (EDropdownButton *dropdown_button) } +/** + * e_dropdown_button_construct: + * @dropdown_button: A pointer to an %EDropdownButton object + * @label_text: Text to display in the button + * @menu: The menu to pop up when the button is pressed + * + * Construct the @dropdown_button with the specified @label_text and the + * associated @menu. + **/ void e_dropdown_button_construct (EDropdownButton *dropdown_button, const char *label_text, @@ -211,12 +220,13 @@ e_dropdown_button_construct (EDropdownButton *dropdown_button, /** * e_dropdown_button_new: - * @label_text: - * @menu: + * @label_text: Text to display in the button + * @menu: The menu to pop up when the button is pressed * - * Create a new dropdown button. + * Create a new dropdown button. When the button is clicked, the specified + * @menu will be popped up. * - * Return value: + * Return value: A pointer to the newly created %EDropdownButton. **/ GtkWidget * e_dropdown_button_new (const char *label_text, -- cgit v1.2.3