+2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
+
+ * src/hildon-touch-selector.h
+ (hildon_touch_selector_set_column_attributes): added deprecation
+ guard HILDON_DISABLE_DEPRECATED
+ * src/hildon-time-selector.c
+ (hildon_time_selector_set_time)
+ (hildon_time_selector_get_time): Fixed a typo on documentation
+ * src/hildon-touch-selector.c: update HildonTouchSelector and
+ HildonTouchSelectorColumn documentation
+ * src/hildon-touch-selector-entry.c: update "text-column" property
+ documentation
+ * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
+ to be added to the general documentation.
+
2008-10-08 Alejandro G. Castro <alex@igalia.com>
* examples/hildon-pannable-area-example-4.c,
<xi:include href="xml/hildon-time-picker.xml"/>
<xi:include href="xml/hildon-app-menu.xml"/>
<xi:include href="xml/hildon-touch-selector.xml"/>
+ <xi:include href="xml/hildon-touch-selector-column.xml"/>
<xi:include href="xml/hildon-touch-selector-entry.xml"/>
<xi:include href="xml/hildon-date-selector.xml"/>
<xi:include href="xml/hildon-time-selector.xml"/>
/**
* hildon_time_selector_set_time
* @selector: the #HildonTimeSelector
- * @year: the current hour (0-23)
+ * @hours: the current hour (0-23)
* @minutes: the current minute (0-59)
*
* Sets the current active hour on the #HildonTimeSelector widget
/**
* hildon_time_selector_get_time
* @selector: the #HildonTimeSelector
- * @year: to set the current hour (0-23)
+ * @hours: to set the current hour (0-23)
* @minutes: to set the current minute (0-59)
*
* Gets the current active hour on the #HildonTimeSelector widget. Both @year
object_class->get_property = hildon_touch_selector_entry_get_property;
object_class->set_property = hildon_touch_selector_entry_set_property;
+ /**
+ * HildonTouchSelectorEntry:text-column:
+ *
+ * Deprecated: now this property is in HildonTouchSelectorColumn use
+ * hildon_touch_selector_entry_set_text_column() and
+ * hildon_touch_selector_entry_get_text_column() to manage this.
+ *
+ **/
g_object_class_install_property (G_OBJECT_CLASS (klass),
PROP_TEXT_COLUMN,
g_param_spec_int ("text-column",
"Text Column",
- "A column in the data source model to get the strings from."
- "Deprecated: now this property is in HildonTouchSelectorColumn"
- "use hildon_touch_selector_entry_set_text_column() and"
- "hildon_touch_selector_entry_get_text_column() to manage"
- "this in a easy way",
+ "A column in the data source model to get the strings from.",
-1,
G_MAXINT,
-1,
* The current selection has a string representation. In the most common cases,
* each column model will contain a text column. You can configure
* which column in particular using the #HildonTouchSelectorColumn property
- * \"text-column\"
+ * #HildonTouchSelectorColumn:text-column
*
* You can get this string representation using
* hildon_touch_selector_get_current_text().
* You can configure how the selection is printed with
* hildon_touch_selector_set_print_func(), that sets the current hildon touch
* selector print function. The widget has a default print function, that
- * uses the \"text-column\" property on each #HildonTouchSelectorColumn to
- * compose the final representation.
+ * uses the #HildonTouchSelectorColumn:text-column property on each
+ * #HildonTouchSelectorColumn to compose the final representation.
*
* If you create the selector using hildon_touch_selector_new_text() you
* don't need to take care of this property, as the model is created internally.
*
*/
+/**
+ * SECTION:hildon-touch-selector-column
+ * @short_description: A visible column in a #HildonTouchSelector
+ *
+ * #HildonTouchSelectorColumn object represents a visible column in
+ * #HildonTouchSelector. It allows to manage the cell renderers related to each
+ * column.
+ */
+
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
GtkTreeModel *model,
GtkCellRenderer *cell_renderer,
...);
-
+#ifndef HILDON_DISABLE_DEPRECATED
void
hildon_touch_selector_set_column_attributes (HildonTouchSelector *selector,
gint num_column,
GtkCellRenderer *cell_renderer,
...);
+#endif
gboolean
hildon_touch_selector_remove_column (HildonTouchSelector *selector,