/**
* SECTION:hildon-range-editor
- * @short_description: A widget is used to ask bounds of a range
+ * @short_description: A widget is used to ask bounds of a range.
*
* HidlonRangeEditor allows entering a pair of integers, e.g. the lower
* and higher bounds of a range. A minimum and maximum can also be set
* for the bounds.
+ *
+ * <example>
+ * <programlisting>
+ * range_editor = hildon_range_editor_new ();
+ * hildon_range_editor_set_limits (editor, start, end );
+ * hildon_range_editor_get_range (editor, &start, &end);
+ * </programlisting>
+ * </example>
*/
#ifdef HAVE_CONFIG_H
#include <glib/gprintf.h>
#include <string.h>
#include <stdlib.h>
-#include "hildon-input-mode-hint.h"
#include "hildon-banner.h"
#include <libintl.h>
#include "hildon-range-editor-private.h"
G_CALLBACK (hildon_range_editor_entry_changed), editor);
g_object_set (G_OBJECT (priv->start_entry),
- "input-mode", HILDON_INPUT_MODE_HINT_NUMERIC, NULL);
+ "input-mode", HILDON_GTK_INPUT_MODE_NUMERIC, NULL);
g_object_set( G_OBJECT (priv->end_entry),
- "input-mode", HILDON_INPUT_MODE_HINT_NUMERIC, NULL);
+ "input-mode", HILDON_GTK_INPUT_MODE_NUMERIC, NULL);
gtk_widget_show (priv->start_entry);
gtk_widget_show (priv->end_entry);