Tizen Native API
|
Functions | |
Evas_Object * | eext_rotary_selector_add (Evas_Object *parent) |
Add a new Rotary Selector. | |
Eext_Object_Item * | eext_rotary_selector_item_append (Evas_Object *obj) |
Append a new item to a rotary selector. | |
Eext_Object_Item * | eext_rotary_selector_item_prepend (Evas_Object *obj) |
Prepend a new item to a rotary selector. | |
Eext_Object_Item * | eext_rotary_selector_item_insert_after (Evas_Object *obj, Eext_Object_Item *after) |
Insert a new item into a rotary selector after rotary selector item after. | |
Eext_Object_Item * | eext_rotary_selector_item_insert_before (Evas_Object *obj, Eext_Object_Item *before) |
Insert a new item into a rotary selector before rotary selector item before. | |
void | eext_rotary_selector_item_del (Eext_Object_Item *item) |
Delete an item which is the given rotary selector item. | |
void | eext_rotary_selector_items_clear (Evas_Object *obj) |
Remove all items from a given rotary selector object. | |
void | eext_rotary_selector_item_part_text_set (Eext_Object_Item *item, const char *part_name, const char *text) |
Set the text of a rotary selector object. | |
const char * | eext_rotary_selector_item_part_text_get (const Eext_Object_Item *item, const char *part_name) |
Set the text of a rotary selector object. | |
void | eext_rotary_selector_item_domain_translatable_part_text_set (Eext_Object_Item *item, const char *part_name, const char *domain, const char *text) |
Set the translatable text of a rotary selector object. | |
void | eext_rotary_selector_item_part_content_set (Eext_Object_Item *item, const char *part_name, Eext_Rotary_Selector_Item_State state, Evas_Object *content) |
Set the content at a part of a given container widget. | |
Evas_Object * | eext_rotary_selector_item_part_content_get (const Eext_Object_Item *item, const char *part_name, Eext_Rotary_Selector_Item_State state) |
Get the content at a part of a given container widget. | |
void | eext_rotary_selector_part_content_set (Evas_Object *obj, const char *part_name, Eext_Rotary_Selector_Selector_State state, Evas_Object *content) |
Set the content at a part of a given container widget. | |
Evas_Object * | eext_rotary_selector_part_content_get (const Evas_Object *obj, const char *part_name, Eext_Rotary_Selector_Selector_State state) |
Get the content from the part of the given container widget. | |
void | eext_rotary_selector_item_part_color_set (Eext_Object_Item *item, const char *part_name, Eext_Rotary_Selector_Item_State state, int r, int g, int b, int a) |
Set the item part color of a rotary selector object. | |
void | eext_rotary_selector_item_part_color_get (const Eext_Object_Item *item, const char *part_name, Eext_Rotary_Selector_Item_State state, int *r, int *g, int *b, int *a) |
Get the item part color of a rotary selector object. | |
void | eext_rotary_selector_part_color_set (Evas_Object *obj, const char *part_name, Eext_Rotary_Selector_Selector_State state, int r, int g, int b, int a) |
Set the selector part color of a rotary selector object. | |
void | eext_rotary_selector_part_color_get (const Evas_Object *obj, const char *part_name, Eext_Rotary_Selector_Selector_State state, int *r, int *g, int *b, int *a) |
Get the selector part color of a rotary selector object. | |
void | eext_rotary_selector_selected_item_set (Evas_Object *obj, Eext_Object_Item *item) |
Set the selected item of a rotary selector object. | |
Eext_Object_Item * | eext_rotary_selector_selected_item_get (const Evas_Object *obj) |
Get the selected item of a rotary selector object. | |
const Eina_List * | eext_rotary_selector_items_get (const Evas_Object *obj) |
Get the rotary selector item list of a rotary selector object. |
Rotary Selector is based on elm_layout, and an item can be selected by rotary event or user item click.
This widget emits the following signals.
Evas_Object* eext_rotary_selector_add | ( | Evas_Object * | parent | ) |
Add a new Rotary Selector.
Because the return value is the elm_layout handle, the elm_layout APIs can be applicable to rotary selector handle.
[in] | parent | The parent object |
NULL
if it cannot be created Append a new item to a rotary selector.
[in] | obj | The rotary selector |
NULL
in case of an errorvoid eext_rotary_selector_item_del | ( | Eext_Object_Item * | item | ) |
Delete an item which is the given rotary selector item.
[in] | item | The rotary selector item |
void eext_rotary_selector_item_domain_translatable_part_text_set | ( | Eext_Object_Item * | item, |
const char * | part_name, | ||
const char * | domain, | ||
const char * | text | ||
) |
Set the translatable text of a rotary selector object.
[in] | item | The rotary selector item |
[in] | part_name | The text part name to set (NULL for the default part) |
[in] | domain | The name of the domain which contains translatable text |
[in] | text | ID of the new translatable text |
This api supports following part names by default.
Eext_Object_Item* eext_rotary_selector_item_insert_after | ( | Evas_Object * | obj, |
Eext_Object_Item * | after | ||
) |
Insert a new item into a rotary selector after rotary selector item after.
[in] | obj | The rotary selector |
[in] | after | The rotary selector item to insert after |
NULL
in case of an errorEext_Object_Item* eext_rotary_selector_item_insert_before | ( | Evas_Object * | obj, |
Eext_Object_Item * | before | ||
) |
Insert a new item into a rotary selector before rotary selector item before.
[in] | obj | The rotary selector |
[in] | before | The rotary selector item to insert before |
NULL
in case of an errorvoid eext_rotary_selector_item_part_color_get | ( | const Eext_Object_Item * | item, |
const char * | part_name, | ||
Eext_Rotary_Selector_Item_State | state, | ||
int * | r, | ||
int * | g, | ||
int * | b, | ||
int * | a | ||
) |
Get the item part color of a rotary selector object.
[in] | item | The rotary selector item |
[in] | part_name | The item part name to get |
[in] | state | The rotary selector item part |
[out] | r | A pointer to Red (0 - 255) |
[out] | g | A pointer to Green (0 - 255) |
[out] | b | A pointer to Blue (0 - 255) |
[out] | a | A pointer to Alpha (0 - 255) |
This api supports following part names by default.
void eext_rotary_selector_item_part_color_set | ( | Eext_Object_Item * | item, |
const char * | part_name, | ||
Eext_Rotary_Selector_Item_State | state, | ||
int | r, | ||
int | g, | ||
int | b, | ||
int | a | ||
) |
Set the item part color of a rotary selector object.
[in] | item | The rotary selector item |
[in] | part_name | The item part name to set |
[in] | state | The rotary selector item part |
[in] | r | Red (0 - 255) |
[in] | g | Green (0 - 255) |
[in] | b | Blue (0 - 255) |
[in] | a | Alpha (0 - 255) |
This api supports following part names by default.
Evas_Object* eext_rotary_selector_item_part_content_get | ( | const Eext_Object_Item * | item, |
const char * | part_name, | ||
Eext_Rotary_Selector_Item_State | state | ||
) |
Get the content at a part of a given container widget.
[in] | item | The rotary selector item |
[in] | part_name | The rotary selector item's part name to get |
[in] | state | The rotary selector item part |
NULL
in case of an errorThis api supports following part names by default.
void eext_rotary_selector_item_part_content_set | ( | Eext_Object_Item * | item, |
const char * | part_name, | ||
Eext_Rotary_Selector_Item_State | state, | ||
Evas_Object * | content | ||
) |
Set the content at a part of a given container widget.
[in] | item | The rotary selector item |
[in] | part_name | The rotary selector item's part name to set |
[in] | state | The rotary selector item part |
[in] | content | The new content for that part |
This api supports following part names by default.
const char* eext_rotary_selector_item_part_text_get | ( | const Eext_Object_Item * | item, |
const char * | part_name | ||
) |
Set the text of a rotary selector object.
[in] | item | The rotary selector item |
[in] | part_name | The text part name to get (NULL for the default part) |
NULL
for any errorThis api supports following part names by default.
void eext_rotary_selector_item_part_text_set | ( | Eext_Object_Item * | item, |
const char * | part_name, | ||
const char * | text | ||
) |
Set the text of a rotary selector object.
[in] | item | The rotary selector item |
[in] | part_name | The text part name to set (NULL for the default part) |
[in] | text | The new text of the part |
This api supports following part names by default.
Prepend a new item to a rotary selector.
[in] | obj | The rotary selector |
NULL
in case of an errorvoid eext_rotary_selector_items_clear | ( | Evas_Object * | obj | ) |
Remove all items from a given rotary selector object.
[in] | obj | The rotary selector |
const Eina_List* eext_rotary_selector_items_get | ( | const Evas_Object * | obj | ) |
Get the rotary selector item list of a rotary selector object.
[in] | obj | The rotary selector |
NULL
if it cannot be createdvoid eext_rotary_selector_part_color_get | ( | const Evas_Object * | obj, |
const char * | part_name, | ||
Eext_Rotary_Selector_Selector_State | state, | ||
int * | r, | ||
int * | g, | ||
int * | b, | ||
int * | a | ||
) |
Get the selector part color of a rotary selector object.
[in] | obj | The rotary selector |
[in] | part_name | The selector part name to get |
[in] | state | The selector part |
[out] | r | A pointer to Red (0 - 255) |
[out] | g | A pointer to Green (0 - 255) |
[out] | b | A pointer to Blue (0 - 255) |
[out] | a | A pointer to Alpha (0 - 255) |
This api defualt support part names.
void eext_rotary_selector_part_color_set | ( | Evas_Object * | obj, |
const char * | part_name, | ||
Eext_Rotary_Selector_Selector_State | state, | ||
int | r, | ||
int | g, | ||
int | b, | ||
int | a | ||
) |
Set the selector part color of a rotary selector object.
[in] | obj | The rotary selector |
[in] | part_name | The selector part name to set |
[in] | state | The selector part |
[in] | r | Red (0 - 255) |
[in] | g | Green (0 - 255) |
[in] | b | Blue (0 - 255) |
[in] | a | Alpha (0 - 255) |
This api defualt support part names.
Evas_Object* eext_rotary_selector_part_content_get | ( | const Evas_Object * | obj, |
const char * | part_name, | ||
Eext_Rotary_Selector_Selector_State | state | ||
) |
Get the content from the part of the given container widget.
[in] | obj | The rotary selector. |
[in] | part_name | The rotary selector part name to set |
[in] | state | The selector part |
NULL
in case of an errorThis api supports following part names by default.
void eext_rotary_selector_part_content_set | ( | Evas_Object * | obj, |
const char * | part_name, | ||
Eext_Rotary_Selector_Selector_State | state, | ||
Evas_Object * | content | ||
) |
Set the content at a part of a given container widget.
[in] | obj | The rotary selector |
[in] | part_name | The rotary selector part name to set |
[in] | state | The selector part |
[in] | content | The new content for that part |
This api supports following part names by default.
Eext_Object_Item* eext_rotary_selector_selected_item_get | ( | const Evas_Object * | obj | ) |
Get the selected item of a rotary selector object.
[in] | obj | The rotary selector |
NULL
if it cannot be createdvoid eext_rotary_selector_selected_item_set | ( | Evas_Object * | obj, |
Eext_Object_Item * | item | ||
) |
Set the selected item of a rotary selector object.
[in] | obj | The rotary selector |
[in] | item | The rotary selector item |