summaryrefslogtreecommitdiff
path: root/docs/reference/gtk/tmpl/gtkscale.sgml
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2003-10-24 22:16:07 +0000
committerOwen Taylor <otaylor@src.gnome.org>2003-10-24 22:16:07 +0000
commit3a7a64aa46ea1c312c06e17a177c81fddfa93683 (patch)
tree12608b485ea365f093a99c5c7e0654049a4bcb2c /docs/reference/gtk/tmpl/gtkscale.sgml
parent1e5c8e64f5f44adc288e16bc2aafbb06372e600f (diff)
downloadgdk-pixbuf-3a7a64aa46ea1c312c06e17a177c81fddfa93683.tar.gz
=== Released 2.3.0 ===GTK_2_3_0
Fri Oct 24 16:54:04 2003 Owen Taylor <otaylor@redhat.com> * === Released 2.3.0 === * configure.in: Remove a stray comma. * README.in: Fix a few notes about Xft 1 and pango-1.0. * NEWS: Finish updates for 2.3.0. * po/Makefile.in.in: Update to latest GLib version.
Diffstat (limited to 'docs/reference/gtk/tmpl/gtkscale.sgml')
-rw-r--r--docs/reference/gtk/tmpl/gtkscale.sgml98
1 files changed, 49 insertions, 49 deletions
diff --git a/docs/reference/gtk/tmpl/gtkscale.sgml b/docs/reference/gtk/tmpl/gtkscale.sgml
index 8935f1164..351ae89b1 100644
--- a/docs/reference/gtk/tmpl/gtkscale.sgml
+++ b/docs/reference/gtk/tmpl/gtkscale.sgml
@@ -50,6 +50,55 @@ slider.</entry>
</para>
+<!-- ##### SIGNAL GtkScale::format-value ##### -->
+<para>
+Signal which allows you to change how the scale value is displayed. Connect a
+signal handler which returns an allocated string representing @value.
+That string will then be used to display the scale's value.
+Here's an example signal handler which displays a value 1.0 as
+with "--&gt;1.0&lt;--".
+<informalexample><programlisting>
+static gchar*
+format_value_callback (GtkScale *scale,
+ gdouble value)
+{
+ return g_strdup_printf ("--&gt;&percnt;0.*g&lt;--",
+ gtk_scale_get_digits (scale), value);
+}
+</programlisting></informalexample>
+</para>
+
+@scale: the object which received the signal.
+@arg1:
+@Returns: allocated string representing @value
+<!-- # Unused Parameters # -->
+@value: value to format
+
+<!-- ##### ARG GtkScale:digits ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkScale:draw-value ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkScale:value-pos ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkScale:slider-length ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkScale:value-spacing ##### -->
+<para>
+
+</para>
+
<!-- ##### FUNCTION gtk_scale_set_digits ##### -->
<para>
Sets the number of decimal places that are displayed in the value. Also causes
@@ -109,52 +158,3 @@ Gets the position in which the current value is displayed.
@Returns: the position in which the current value is displayed.
-<!-- ##### SIGNAL GtkScale::format-value ##### -->
-<para>
-Signal which allows you to change how the scale value is displayed. Connect a
-signal handler which returns an allocated string representing @value.
-That string will then be used to display the scale's value.
-Here's an example signal handler which displays a value 1.0 as
-with "--&gt;1.0&lt;--".
-<informalexample><programlisting>
-static gchar*
-format_value_callback (GtkScale *scale,
- gdouble value)
-{
- return g_strdup_printf ("--&gt;&percnt;0.*g&lt;--",
- gtk_scale_get_digits (scale), value);
-}
-</programlisting></informalexample>
-</para>
-
-@scale: the object which received the signal.
-@arg1:
-@Returns: allocated string representing @value
-<!-- # Unused Parameters # -->
-@value: value to format
-
-<!-- ##### ARG GtkScale:digits ##### -->
-<para>
-
-</para>
-
-<!-- ##### ARG GtkScale:draw-value ##### -->
-<para>
-
-</para>
-
-<!-- ##### ARG GtkScale:value-pos ##### -->
-<para>
-
-</para>
-
-<!-- ##### ARG GtkScale:slider-length ##### -->
-<para>
-
-</para>
-
-<!-- ##### ARG GtkScale:value-spacing ##### -->
-<para>
-
-</para>
-