summaryrefslogtreecommitdiff
path: root/gtk/gtkscalebutton.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-05-16 00:32:05 +0200
committerJavier Jardón <jjardon@gnome.org>2010-05-16 00:32:05 +0200
commit08bd42cf8db968f87349f3f2ae23385943a3d2d3 (patch)
tree49d66d8f8dbbeef10f135268105a465376801752 /gtk/gtkscalebutton.c
parent8e06ef4f63f73211c732bce788233b32c77a9cdb (diff)
downloadgtk+-08bd42cf8db968f87349f3f2ae23385943a3d2d3.tar.gz
Move documentation to inline comments: GtkScaleButton
Diffstat (limited to 'gtk/gtkscalebutton.c')
-rw-r--r--gtk/gtkscalebutton.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gtk/gtkscalebutton.c b/gtk/gtkscalebutton.c
index 029123b10b..f994d6e92f 100644
--- a/gtk/gtkscalebutton.c
+++ b/gtk/gtkscalebutton.c
@@ -60,6 +60,19 @@
#include "gtkintl.h"
#include "gtkalias.h"
+
+/**
+ * SECTION:gtkscalebutton
+ * @Short_description: A button which pops up a scale
+ * @Title: GtkScaleButton
+ *
+ * #GtkScaleButton provides a button which pops up a scale widget.
+ * This kind of widget is commonly used for volume controls in multimedia
+ * applications, and GTK+ provides a #GtkVolumeButton subclass that
+ * is tailored for this use case.
+ */
+
+
#define SCALE_SIZE 100
#define CLICK_TIMEOUT 250