diff options
author | Soeren Sandmann <sandmann@daimi.au.dk> | 2004-02-21 17:05:32 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2004-02-21 17:05:32 +0000 |
commit | b55352f6c2ffae478ced279d466ff1880b47cb26 (patch) | |
tree | 729acf0edb96df8d3b167e430c1878d71d350415 /docs/reference/gtk/tmpl/gtkscale.sgml | |
parent | b379bc580e1fa5a65bfbfbe6625404b06805b5be (diff) | |
download | gdk-pixbuf-b55352f6c2ffae478ced279d466ff1880b47cb26.tar.gz |
Commit auto-generated changes
Sat Feb 21 17:57:35 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/docs: Commit auto-generated changes
Diffstat (limited to 'docs/reference/gtk/tmpl/gtkscale.sgml')
-rw-r--r-- | docs/reference/gtk/tmpl/gtkscale.sgml | 117 |
1 files changed, 68 insertions, 49 deletions
diff --git a/docs/reference/gtk/tmpl/gtkscale.sgml b/docs/reference/gtk/tmpl/gtkscale.sgml index 351ae89b1..db62bf993 100644 --- a/docs/reference/gtk/tmpl/gtkscale.sgml +++ b/docs/reference/gtk/tmpl/gtkscale.sgml @@ -50,55 +50,6 @@ 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 "-->1.0<--". -<informalexample><programlisting> -static gchar* -format_value_callback (GtkScale *scale, - gdouble value) -{ - return g_strdup_printf ("-->%0.*g<--", - 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 @@ -158,3 +109,71 @@ Gets the position in which the current value is displayed. @Returns: the position in which the current value is displayed. +<!-- ##### FUNCTION gtk_scale_get_layout ##### --> +<para> + +</para> + +@scale: +@Returns: + + +<!-- ##### FUNCTION gtk_scale_get_layout_offsets ##### --> +<para> + +</para> + +@scale: +@x: +@y: + + +<!-- ##### 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 "-->1.0<--". +<informalexample><programlisting> +static gchar* +format_value_callback (GtkScale *scale, + gdouble value) +{ + return g_strdup_printf ("-->%0.*g<--", + 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> + |