{
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
- if (item) return;
+ if (item && strcmp(item, "default")) return;
if (!wd) return;
elm_entry_entry_set(wd->entry, text);
if (wd->hover) evas_object_del(wd->hover);
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
Widget_Data *wd = elm_widget_data_get(obj);
- if (item) return NULL;
+ if (item && strcmp(item, "default")) return NULL;
if (!wd) return NULL;
return elm_entry_entry_get(wd->entry);
}
{
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
- if (item) return;
+ if (item && strcmp(item, "default")) return;
if (!wd) return;
elm_entry_entry_set(wd->entry, text);
if (wd->hover) evas_object_del(wd->hover);
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
Widget_Data *wd = elm_widget_data_get(obj);
- if (item) return NULL;
+ if (item && strcmp(item, "default")) return NULL;
if (!wd) return NULL;
return elm_entry_entry_get(wd->entry);
}
const char *label)
{
ELM_CHECK_WIDTYPE(obj, widtype);
- if (item) return;
+ if (item && strcmp(item, "default")) return;
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return;
elm_object_text_set(wd->btn, label);
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
Widget_Data *wd = elm_widget_data_get(obj);
- if (item) return NULL;
+ if (item && strcmp(item, "default")) return NULL;
if (!wd) return NULL;
return elm_object_text_get(wd->btn);
}
{
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
- if (item) return;
+ if (item && strcmp(item, "default")) return;
if (!wd) return;
elm_object_text_set(wd->button, label);
}
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
Widget_Data *wd = elm_widget_data_get(obj);
- if (item) return NULL;
+ if (item && strcmp(item, "default")) return NULL;
if (!wd) return NULL;
return elm_object_text_get(wd->button);
}
{
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
- if (item) return;
+ if (item && strcmp(item, "default")) return;
if (!wd) return;
elm_object_text_set(wd->btn, label);
}
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
Widget_Data *wd = elm_widget_data_get(obj);
- if (item) return NULL;
+ if (item && strcmp(item, "default")) return NULL;
if ((!wd) || (!wd->btn)) return NULL;
return elm_object_text_get(wd->btn);
}
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return;
- if (!item)
+ if (!item || !strcmp(item, "default"))
{
eina_stringshare_replace(&wd->indicator_label, label);
edje_object_part_text_set(wd->as, "elm.text.indicator",
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return NULL;
- if (!item)
+ if (!item || !strcmp(item, "default"))
{
return wd->indicator_label;
}
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return;
- if (!item)
+ if (!item || !strcmp(item, "default"))
{
eina_stringshare_replace(&wd->label, label);
edje_object_part_text_set(wd->bbl, "elm.text", label);
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return NULL;
- if (!item)
+ if (!item || !strcmp(item, "default"))
{
return wd->label;
}
{
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
- if (item) return;
+ if (item && strcmp(item, "default")) return;
if (!wd) return;
eina_stringshare_replace(&wd->label, label);
if (label)
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
Widget_Data *wd = elm_widget_data_get(obj);
- if (item) return NULL;
+ if (item && strcmp(item, "default")) return NULL;
if (!wd) return NULL;
return wd->label;
}
{
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
- if (item) return;
+ if (item && strcmp(item, "default")) return;
if (!wd) return;
eina_stringshare_replace(&wd->label, label);
if (label)
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
Widget_Data *wd = elm_widget_data_get(obj);
- if (item) return NULL;
+ if (item && strcmp(item, "default")) return NULL;
if (!wd) return NULL;
return wd->label;
}
{
int len = 0;
ELM_CHECK_WIDTYPE(obj, widtype);
- if (item) return;
+ if (item && strcmp(item, "default")) return;
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return;
if (!entry) entry = "";
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
Widget_Data *wd = elm_widget_data_get(obj);
- if (item) return NULL;
+ if (item && strcmp(item, "default")) return NULL;
const char *text;
if (!wd) return NULL;
if (wd->text) return wd->text;
{
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
- if (item) return;
+ if (item && strcmp(item, "default")) return;
if (!wd) return;
eina_stringshare_replace(&(wd->label), label);
edje_object_part_text_set(wd->frm, "elm.text", wd->label);
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
Widget_Data *wd = elm_widget_data_get(obj);
- if (item) return NULL;
+ if (item && strcmp(item, "default")) return NULL;
if (!wd) return NULL;
return wd->label;
}
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return;
- if (item) return;
+ if (item && strcmp(item, "default")) return;
if (!label) label = "";
eina_stringshare_replace(&wd->label, label);
edje_object_part_text_set(wd->lbl, "elm.text", wd->format);
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
Widget_Data *wd = elm_widget_data_get(obj);
- if (item) return NULL;
+ if (item && strcmp(item, "default")) return NULL;
if (!wd) return NULL;
return wd->label;
}
{
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
- if (item) return;
+ if (item && strcmp(item, "default")) return;
if (!wd) return;
eina_stringshare_replace(&wd->label, label);
if (label)
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
Widget_Data *wd = elm_widget_data_get(obj);
- if (item) return NULL;
+ if (item && strcmp(item, "default")) return NULL;
if (!wd) return NULL;
return wd->label;
}
{
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
- if (item) return;
+ if (item && strcmp(item, "default")) return;
if (!wd) return;
eina_stringshare_replace(&wd->label, label);
if (label)
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
Widget_Data *wd = elm_widget_data_get(obj);
- if (item) return NULL;
+ if (item && strcmp(item, "default")) return NULL;
if (!wd) return NULL;
return wd->label;
}
{
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
- if (item) return;
+ if (item && strcmp(item, "default")) return;
if (!wd) return;
eina_stringshare_replace(&wd->label, label);
if (label)
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
Widget_Data *wd = elm_widget_data_get(obj);
- if (item) return NULL;
+ if (item && strcmp(item, "default")) return NULL;
if (!wd) return NULL;
return wd->label;
}
{
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
- if (item) return;
+ if (item && strcmp(item, "default")) return;
if (!wd) return;
eina_stringshare_replace(&wd->label, label);
if (label)
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
Widget_Data *wd = elm_widget_data_get(obj);
- if (item) return NULL;
+ if (item && strcmp(item, "default")) return NULL;
if (!wd) return NULL;
return wd->label;
}