Commit 07a789f5 authored by Stefan Kost's avatar Stefan Kost

Move documentation of gtk_ruler_set_range() to source and fix nonsense.

	* docs/reference/gtk/tmpl/gtkruler.sgml:
	* gtk/gtkruler.c:
	Move documentation of gtk_ruler_set_range() to source and fix nonsense.


svn path=/trunk/; revision=18599
parent 156f507c
2007-08-09 Stefan Kost <ensonic@users.sf.net>
* docs/reference/gtk/tmpl/gtkruler.sgml:
* gtk/gtkruler.c:
Move documentation of gtk_ruler_set_range() to source and fix nonsense.
2007-08-08 Mikael Hallendal <micke@imendio.com>
* gtk/gtkcombobox.c (gtk_combo_box_class_init):
......
......@@ -89,14 +89,13 @@ is GTK_PIXELS.
<!-- ##### FUNCTION gtk_ruler_set_range ##### -->
<para>
This sets the range of the ruler using gfloat lower, gfloat upper, gfloat position, and gfloat max_size.
</para>
@ruler: the gtkruler
@lower: the lower limit of the ruler
@upper: the upper limit of the ruler
@position: the mark on the ruler
@max_size: the maximum size of the ruler
</para>
@ruler:
@lower:
@upper:
@position:
@max_size:
<!-- ##### FUNCTION gtk_ruler_get_metric ##### -->
......
......@@ -259,6 +259,17 @@ gtk_ruler_get_metric (GtkRuler *ruler)
return 0;
}
/**
* gtk_ruler_set_range:
* @ruler: the gtkruler
* @lower: the lower limit of the ruler
* @upper: the upper limit of the ruler
* @position: the mark on the ruler
* @max_size: the maximum size of the ruler used when calculating the space to
* leave for the text
*
* This sets the range of the ruler.
*/
void
gtk_ruler_set_range (GtkRuler *ruler,
gdouble lower,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment