/* Test for Focus Chain Linear*/
-#include <Elementary.h>
#ifdef HAVE_CONFIG_H
# include "elementary_config.h"
#endif
+#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static Eina_Bool
Evas_Object *win;
unsigned int i, j;
- win = elm_win_add(NULL, "focus", ELM_WIN_BASIC);
- elm_win_title_set(win, "Focus");
+ win = elm_win_util_standard_add("focus", "Focus");
elm_win_focus_highlight_enabled_set(win, EINA_TRUE);
evas_object_resize(win, 800, 600);
elm_object_event_callback_add(win, _event, NULL);
elm_win_autodel_set(win, EINA_TRUE);
my_show(win);
- {
- Evas_Object *bg;
- bg = elm_bg_add(win);
- evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND,
- EVAS_HINT_EXPAND);
- elm_win_resize_object_add(win, bg);
- my_show(bg);
- }
-
Evas_Object *mainbx = elm_box_add(win);
elm_box_horizontal_set(mainbx, EINA_TRUE);
elm_win_resize_object_add(win, mainbx);
{
Evas_Object *lb = elm_label_add(win);
- elm_object_text_set(lb,
- "<b>Use Tab, Shift+Tab, and<br/>"
- "Arrow Keys</b>"
- );
+ elm_object_text_set(lb, "<b>Use Tab or Shift+Tab</b>");
evas_object_size_hint_weight_set(lb, 0.0, 0.0);
evas_object_size_hint_align_set(lb, EVAS_HINT_FILL,
EVAS_HINT_FILL);