const char *name = NULL;
unsigned int s1, s2;
double value = 0;
+ const char *value_text = NULL;
double increment = 0;
double max_value = 0;
double min_value = 0;
min_value = 0;
if (efl_isa(obj, EFL_ACCESS_VALUE_INTERFACE))
{
- efl_access_value_and_text_get(obj, &value, NULL);
+ efl_access_value_and_text_get(obj, &value, &value_text);
increment = efl_access_value_increment_get(obj);
efl_access_value_range_get(obj, &min_value, &max_value, NULL);
}
eldbus_message_iter_basic_append(iter, 'd', value);
+ eldbus_message_iter_basic_append(iter, 's', value_text ? value_text : "");
eldbus_message_iter_basic_append(iter, 'd', increment);
eldbus_message_iter_basic_append(iter, 'd', max_value);
eldbus_message_iter_basic_append(iter, 'd', min_value);
{"s", "labledByName"},{"s", "textIfceName"},
{"u", "role"}, {"au", "stateSet"},
{"s", "localizedName"}, {"i", "childCount"},
- {"d", "currentValue"},{"d", "minimumIncrement"},
+ {"d", "currentValue"}, {"s", "currentValueText"}, {"d", "minimumIncrement"},
{"d", "maximumValue"},{"d", "minimumValue"},
{"s", "description"}, {"i", "indexInParent"},
{"b", "isSelectedInParent"}, {"b", "hasCheckboxChild"},
eldbus_message_iter_basic_append(iter, 'd', value);
return EINA_TRUE;
}
+ if (!strcmp(property, "Text"))
+ {
+ const char *value_text = NULL;
+ efl_access_value_and_text_get(obj, NULL, &value_text);
+ eldbus_message_iter_basic_append(iter, 's', value_text ? value_text : "");
+ return EINA_TRUE;
+ }
return EINA_FALSE;
}
{ "MaximumValue", "d", NULL, NULL, 0 },
{ "MinimumIncrement", "d", NULL, NULL, 0 },
{ "CurrentValue", "d", NULL, NULL, 0 },
+ { "Text", "s", NULL, NULL, 0 },
{ NULL, NULL, NULL, NULL, 0 }
};