aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/e-dropdown-button.c18
1 files changed, 14 insertions, 4 deletions
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,