{
if (sd->editable)
{
- evas_object_hide(sd->entry);
elm_box_unpack(sd->box, sd->entry);
+ evas_object_hide(sd->entry);
}
elm_box_pack_end(sd->box, sd->guide);
}
else if (!strlen(text) && _label_packed(obj))
{
- evas_object_hide(sd->label);
elm_box_unpack(sd->box, sd->label);
+ evas_object_hide(sd->label);
}
// ACCESS
}
else
{
- evas_object_hide(VIEW(last_it));
elm_box_unpack(sd->box, VIEW(last_it));
+ evas_object_hide(VIEW(last_it));
}
}
if (sd->editable)
{
- evas_object_hide(sd->entry);
+ if (elm_object_focus_get(sd->entry))
+ elm_object_focus_set(sd->entry, EINA_FALSE);
elm_box_unpack(sd->box, sd->entry);
+ evas_object_hide(sd->entry);
if (elm_object_focus_get(WIDGET(it)))
elm_entry_input_panel_show(sd->entry);
}
elm_box_unpack(sd->box, VIEW(it));
else
{
- evas_object_hide(VIEW(last_it));
elm_box_unpack(sd->box, VIEW(last_it));
+ evas_object_hide(VIEW(last_it));
}
}
if (sd->editable)
{
- evas_object_hide(sd->entry);
+ if (elm_object_focus_get(sd->entry))
+ elm_object_focus_set(sd->entry, EINA_FALSE);
elm_box_unpack(sd->box, sd->entry);
+ evas_object_hide(sd->entry);
if (elm_object_focus_get(WIDGET(it)))
elm_entry_input_panel_show(sd->entry);
}
evas_object_data_set(VIEW(it), "effect_rect", NULL);
}
#endif
- evas_object_hide(VIEW(it));
elm_box_unpack(sd->box, VIEW(it));
+ evas_object_hide(VIEW(it));
}
if (sd->editable)
{
- evas_object_hide(sd->entry);
+ if (elm_object_focus_get(sd->entry))
+ elm_object_focus_set(sd->entry, EINA_FALSE);
elm_box_unpack(sd->box, sd->entry);
+ evas_object_hide(sd->entry);
}
}
else
{
if (child != sd->label)
{
- evas_object_hide(child);
elm_box_unpack(sd->box, child);
+ evas_object_hide(child);
}
}
linew += mnw;
if (linew > (w * (2 / 3)))
{
- evas_object_hide(sd->entry);
+ if (elm_object_focus_get(sd->entry))
+ elm_object_focus_set(sd->entry, EINA_FALSE);
elm_box_unpack(sd->box, sd->entry);
+ evas_object_hide(sd->entry);
sd->expanded_state = EINA_FALSE;
}
}
{
if (child != sd->label)
{
- evas_object_hide(child);
elm_box_unpack(sd->box, child);
+ evas_object_hide(child);
}
}
{
if (sd->editable)
{
- evas_object_hide(sd->entry);
elm_box_unpack(sd->box, sd->entry);
+ evas_object_hide(sd->entry);
}
elm_box_pack_end(sd->box, sd->guide);
if (sd->guide && _guide_packed(obj))
{
- evas_object_hide(sd->guide);
elm_box_unpack(sd->box, sd->guide);
+ evas_object_hide(sd->guide);
if (sd->editable)
{
{
if (sd->editable)
{
- evas_object_hide(sd->entry);
elm_box_unpack(sd->box, sd->entry);
+ evas_object_hide(sd->entry);
}
elm_box_pack_end(sd->box, sd->guide);
{
if (sd->guide && _guide_packed(obj))
{
- evas_object_hide(sd->guide);
elm_box_unpack(sd->box, sd->guide);
+ evas_object_hide(sd->guide);
if (sd->editable)
{
{
if (!(sd->guide && _guide_packed(obj)))
{
- evas_object_hide(sd->entry);
elm_box_unpack(sd->box, sd->entry);
+ evas_object_hide(sd->entry);
}
if (!elm_object_focus_get(obj))
// if guide text was shown, hide it
if (sd->guide && _guide_packed(obj))
{
- evas_object_hide(sd->guide);
elm_box_unpack(sd->box, sd->guide);
+ evas_object_hide(sd->guide);
if (sd->editable)
{
// if guide text was shown, hide it
if (sd->guide && _guide_packed(obj))
{
- evas_object_hide(sd->guide);
elm_box_unpack(sd->box, sd->guide);
+ evas_object_hide(sd->guide);
if (sd->editable)
{
{
if (sd->editable)
{
- evas_object_hide(sd->entry);
elm_box_unpack(sd->box, sd->entry);
+ evas_object_hide(sd->entry);
}
elm_box_pack_end(sd->box, sd->guide);