From d42d1722be84a43e475c0a66f9a988ead445fd2a Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Sat, 14 Mar 2009 20:29:16 +0000 Subject: [PATCH] Documented and tidied menu-button.hpp --- src/gui/widgets/menu-button.hpp | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/gui/widgets/menu-button.hpp b/src/gui/widgets/menu-button.hpp index 9ab641dda..deb71c8c0 100644 --- a/src/gui/widgets/menu-button.hpp +++ b/src/gui/widgets/menu-button.hpp @@ -104,22 +104,32 @@ private: private: + /** + * The hBox for the layout of image, caption and arrow. + **/ Gtk::HBox hBox; + /** + * The image that will optionally display an icon. + **/ Gtk::Image image; - Gtk::Label caption; - /** - * The internal menu object which is the popup menu of this widget. + * The caption text label to show on the button. **/ - Gtk::Menu menu; + Gtk::Label caption; /** * The arrow widget that will be displayed to hint the user that this * button is a drop-down. **/ Gtk::Arrow arrow; + + /** + * The internal menu object which is the popup menu of this widget. + **/ + Gtk::Menu menu; + }; } // gui