_clicked_double(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
{
printf("clicked double\n");
- if(elm_panes_content_left_size_get(obj) > 0)
+ if (elm_panes_content_left_size_get(obj) > 0)
{
size = elm_panes_content_left_size_get(obj);
elm_panes_content_left_size_set(obj, 0.0);
evas_object_size_hint_weight_set(bt, 1.0, 1.0);
evas_object_size_hint_align_set(bt, -1.0, -1.0);
evas_object_show(bt);
- elm_object_content_part_set(panes, ELM_PANES_CONTENT_LEFT, bt);
+ elm_object_part_content_set(panes, "left", bt);
//
//
evas_object_smart_callback_add(panes_h, "press", _press, panes_h);
evas_object_smart_callback_add(panes_h, "unpress", _unpress, panes_h);
- elm_object_content_part_set(panes, ELM_PANES_CONTENT_RIGHT, panes_h);
+ elm_object_part_content_set(panes, "right", panes_h);
//
//
evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_show(bt);
- elm_object_content_part_set(panes_h, ELM_PANES_CONTENT_LEFT, bt);
+ elm_object_part_content_set(panes_h, "left", bt);
//
//
evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_show(bt);
- elm_object_content_part_set(panes_h, ELM_PANES_CONTENT_RIGHT, bt);
+ elm_object_part_content_set(panes_h, "right", bt);
//