aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-01-28 18:00:47 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-01-28 18:00:47 +0800
commit3ab2eaeb0359afbd9638360d8bfc41e361a660d4 (patch)
tree2e0cd0ed1000c00c9b47b4bb53178ad181be633a
parent50fea9ab7e0038db89b5d24e86dc03171312b2d1 (diff)
downloadgsoc2013-evolution-3ab2eaeb0359afbd9638360d8bfc41e361a660d4.tar
gsoc2013-evolution-3ab2eaeb0359afbd9638360d8bfc41e361a660d4.tar.gz
gsoc2013-evolution-3ab2eaeb0359afbd9638360d8bfc41e361a660d4.tar.bz2
gsoc2013-evolution-3ab2eaeb0359afbd9638360d8bfc41e361a660d4.tar.lz
gsoc2013-evolution-3ab2eaeb0359afbd9638360d8bfc41e361a660d4.tar.xz
gsoc2013-evolution-3ab2eaeb0359afbd9638360d8bfc41e361a660d4.tar.zst
gsoc2013-evolution-3ab2eaeb0359afbd9638360d8bfc41e361a660d4.zip
Documented.
svn path=/trunk/; revision=7870
-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,