From 08bd42cf8db968f87349f3f2ae23385943a3d2d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Sun, 16 May 2010 00:32:05 +0200 Subject: [PATCH] Move documentation to inline comments: GtkScaleButton --- docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkscalebutton.sgml | 158 -------------------- gtk/gtkscalebutton.c | 13 ++ 3 files changed, 14 insertions(+), 158 deletions(-) delete mode 100644 docs/reference/gtk/tmpl/gtkscalebutton.sgml diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore index 102a012dac..618a2dd7b1 100644 --- a/docs/reference/gtk/tmpl/.gitignore +++ b/docs/reference/gtk/tmpl/.gitignore @@ -8,6 +8,7 @@ gtkorientable.sgml gtkpagesetupunixdialog.sgml gtkradioaction.sgml gtkrecentaction.sgml +gtkscalebutton.sgml gtkseparator.sgml gtktesting.sgml gtktextiter.sgml diff --git a/docs/reference/gtk/tmpl/gtkscalebutton.sgml b/docs/reference/gtk/tmpl/gtkscalebutton.sgml deleted file mode 100644 index e499ecb572..0000000000 --- a/docs/reference/gtk/tmpl/gtkscalebutton.sgml +++ /dev/null @@ -1,158 +0,0 @@ - -GtkScaleButton - - -A button which pops up a scale - - - -#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. - - - - - - - - - - - - - - - - - - - - - - - - -@scalebutton: the object which received the signal. - - - - - - -@scalebutton: the object which received the signal. - - - - - - -@scalebutton: the object which received the signal. -@arg1: - - - - - - - - - - - - - - - - - - - - - - - - - - -@size: -@min: -@max: -@step: -@icons: -@Returns: - - - - - - - -@button: -@adjustment: - - - - - - - -@button: -@icons: - - - - - - - -@button: -@value: - - - - - - - -@button: -@Returns: - - - - - - - -@button: -@Returns: - - - - - - - -@button: -@Returns: - - - - - - - -@button: -@Returns: - - - - - - - -@button: -@Returns: - - 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