| Hildon Reference Manual | ||||
|---|---|---|---|---|
HildonTouchSelectorColumnHildonTouchSelectorColumn — A visible column in a HildonTouchSelector |
HildonTouchSelectorColumn;
void hildon_touch_selector_column_set_text_column
(HildonTouchSelectorColumn *column,
gint text_column);
gint hildon_touch_selector_column_get_text_column
(HildonTouchSelectorColumn *column);
A HildonTouchSelectorColumn is a column in a HildonTouchSelector. This class implements the GtkCellLayout interface, allowing a flexible management of the cellrenderers in each HildonTouchSelector column.
void hildon_touch_selector_column_set_text_column
(HildonTouchSelectorColumn *column,
gint text_column);
Sets the model column to be displayed in column. text_column must point to a
column in the model used with type G_TYPE_STRING. Initially, this property
is unset. You should set it before using the HildonTouchSelector that uses
column.
column : |
A HildonTouchSelectorColumn |
text_column : |
the index of a model column in the model for column.
|
Since 2.2
gint hildon_touch_selector_column_get_text_column (HildonTouchSelectorColumn *column);
Gets the model column set as the text source for column.
column : |
a HildonTouchSelectorColumn |
| Returns : | the index of the text column for column, or -1 if unset.
|
Since 2.2
"text-column" property"text-column" gint : Read / Write
A column in the data source model to get the strings from.
Allowed values: >= -1
Default value: -1
Since maemo 2.2