diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-01-28 18:00:47 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-01-28 18:00:47 +0800 |
commit | 3ab2eaeb0359afbd9638360d8bfc41e361a660d4 (patch) | |
tree | 2e0cd0ed1000c00c9b47b4bb53178ad181be633a /widgets | |
parent | 50fea9ab7e0038db89b5d24e86dc03171312b2d1 (diff) | |
download | gsoc2013-evolution-3ab2eaeb0359afbd9638360d8bfc41e361a660d4.tar.gz gsoc2013-evolution-3ab2eaeb0359afbd9638360d8bfc41e361a660d4.tar.zst gsoc2013-evolution-3ab2eaeb0359afbd9638360d8bfc41e361a660d4.zip |
Documented.
svn path=/trunk/; revision=7870
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/e-dropdown-button.c | 18 |
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, |