evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_show(bx);
+ elm_box_padding_set(bx, 1000, 1000);
+
ic = elm_icon_add(win);
snprintf(buf, sizeof(buf), "%s/images/logo_small.png", PACKAGE_DATA_DIR);
elm_icon_file_set(ic, buf, NULL);
Evas_Object *win = data;
Evas_Object *tb = evas_object_data_get(win, "tb");
Evas_Object *b2 = evas_object_data_get(win, "b2");
-
+
elm_table_unpack(tb, b2);
elm_table_pack(tb, b2, 1, 0, 1, 2);
}
const Eina_List *items;
void *(*list_data_get) (const Eina_List *list);
Eina_List *(*list_free) (Eina_List *list);
-
+
if ((!wd) || (!wd->grd))
return EINA_FALSE;
-
+
/* Focus chain */
/* TODO: Change this to use other chain */
if ((items = elm_widget_focus_custom_chain_get(obj)))
items = evas_object_grid_children_get(wd->grd);
list_data_get = eina_list_data_get;
list_free = eina_list_free;
-
+
if (!items) return EINA_FALSE;
}
-
+
Eina_Bool ret = elm_widget_focus_list_next_get(obj, items, list_data_get,
dir, next);
-
+
if (list_free)
list_free((Eina_List *)items);
-
+
return ret;
}
wd->grd = evas_object_grid_add(e);
evas_object_grid_size_set(wd->grd, 100, 100);
elm_widget_resize_object_set(obj, wd->grd);
-
+
_mirrored_set(obj, elm_widget_mirrored_get(obj));
return obj;
}