win = elm_win_util_standard_add("box-transition", "Box Transition");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 300, 320);
- evas_object_show(win);
bigbox = elm_box_add(win);
evas_object_size_hint_weight_set(bigbox, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_box_layout_set(bx, evas_object_box_layout_horizontal, NULL, NULL);
_test_box_transition_change(&tdata);
+ evas_object_resize(win, 300, 320);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
win = elm_win_util_standard_add("bubble", "Bubble");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 300, 200);
- evas_object_show(win);
label = elm_label_add(win);
elm_object_text_set(label, "This is the CONTENT of our bubble");
evas_object_move(bubble, 0, 110);
evas_object_show(bubble);
+ evas_object_resize(win, 300, 200);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
/* turn it visible on WM (Window Manager). */
win = elm_win_util_standard_add("Greetings", "Hello, World!");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 240, 60);
- evas_object_show(win);
/* Create a btn, associate to a function, associate */
/* to win, give a dimension and position. */
evas_object_move(btn, 60, 15);
evas_object_show(btn);
+ evas_object_resize(win, 240, 60);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
win = elm_win_util_standard_add("Button example", "Button example");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 300, 320);
- evas_object_show(win);
box = elm_box_add(win);
evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
data.cursors.down = btn;
+ evas_object_resize(win, 300, 320);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
win = elm_win_util_standard_add("Contextual Popup", "Contextual Popup");
evas_object_smart_callback_add(win, "delete,request", _win_del, NULL);
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 400, 400);
- evas_object_show(win);
list = elm_list_add(win);
evas_object_event_callback_add(list, EVAS_CALLBACK_MOUSE_DOWN,
evas_object_show(list);
elm_list_go(list);
+ evas_object_resize(win, 400, 400);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
win = elm_win_util_standard_add("efl-thread-1", "EFL Thread 1");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 400, 400);
- evas_object_show(win);
o = evas_object_rectangle_add(evas_object_evas_get(win));
evas_object_color_set(o, 50, 80, 180, 255);
// create custom thread to do some "work on the side"
my_thread_new();
+ evas_object_resize(win, 400, 400);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
win = elm_win_util_standard_add("efl-thread-2", "EFL Thread 2");
elm_win_autodel_set(win, EINA_TRUE);
elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
- evas_object_resize(win, 400, 400);
- evas_object_show(win);
o = evas_object_rectangle_add(evas_object_evas_get(win));
evas_object_color_set(o, 50, 80, 180, 255);
// create custom thread to do some "work on the side"
my_thread_new();
+ evas_object_resize(win, 400, 400);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
win = elm_win_util_standard_add("efl-thread-3", "EFL Thread 3");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 400, 400);
- evas_object_show(win);
o = evas_object_rectangle_add(evas_object_evas_get(win));
evas_object_color_set(o, 50, 80, 180, 255);
// create custom thread to do some "work on the side"
my_thread_new();
+ evas_object_resize(win, 400, 400);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
win = elm_win_util_standard_add("efl-thread-4", "EFL Thread 4");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 400, 400);
- evas_object_show(win);
o = evas_object_rectangle_add(evas_object_evas_get(win));
evas_object_color_set(o, 50, 80, 180, 255);
// create custom thread to do some "work on the side"
my_thread_new();
+ evas_object_resize(win, 400, 400);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
win = elm_win_util_standard_add("efl-thread-5", "EFL Thread 5");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 400, 400);
- evas_object_show(win);
o = evas_object_rectangle_add(evas_object_evas_get(win));
evas_object_color_set(o, 50, 80, 180, 255);
// heavy computation)
thr = ecore_thread_feedback_run(th_do, th_feedback, th_end, th_cancel,
NULL, EINA_TRUE);
+
+ evas_object_resize(win, 400, 400);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
win = elm_win_util_standard_add("efl-thread-6", "EFL Thread 6");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 400, 400);
- evas_object_show(win);
// queue up 64 mandel generation thread jobs
for (i = 0; i < 64; i++)
}
}
+ evas_object_resize(win, 400, 400);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
win = elm_win_util_standard_add("efl-thread-1", "EFL Thread 1");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 400, 400);
- evas_object_show(win);
o = evas_object_rectangle_add(evas_object_evas_get(win));
evas_object_color_set(o, 50, 80, 180, 255);
// create custom thread to do some "work on the side"
my_thread_new();
+ evas_object_resize(win, 400, 400);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
win = elm_win_util_standard_add("efl-thread-2", "EFL Thread 2");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 400, 400);
- evas_object_show(win);
o = evas_object_rectangle_add(evas_object_evas_get(win));
evas_object_color_set(o, 50, 80, 180, 255);
// create custom thread to do some "work on the side"
my_thread_new();
+ evas_object_resize(win, 400, 400);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
win = elm_win_util_standard_add("efl-thread-3", "EFL Thread 3");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 400, 400);
- evas_object_show(win);
o = evas_object_rectangle_add(evas_object_evas_get(win));
evas_object_color_set(o, 50, 80, 180, 255);
// create custom thread to do some "work on the side"
my_thread_new();
+ evas_object_resize(win, 400, 400);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
win = elm_win_util_standard_add("efl-thread-4", "EFL Thread 4");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 400, 400);
- evas_object_show(win);
o = evas_object_rectangle_add(evas_object_evas_get(win));
evas_object_color_set(o, 50, 80, 180, 255);
// create custom thread to do some "work on the side"
my_thread_new();
+ evas_object_resize(win, 400, 400);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
win = elm_win_util_standard_add("entry-example", "Emacs Lite");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_show(win);
box = elm_box_add(win);
evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_resize(win, 300, 780);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
win = elm_win_util_standard_add("hoversel", "Hoversel");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 200, 300);
- evas_object_show(win);
rect = evas_object_rectangle_add(evas_object_evas_get(win));
evas_object_color_set(rect, 255, 0, 0, 255);
evas_object_move(btn, 10, 50);
evas_object_show(btn);
+ evas_object_resize(win, 200, 300);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
win = elm_win_util_standard_add("index", "Index Example");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 320, 600);
- evas_object_show(win);
vbox = elm_box_add(win);
evas_object_size_hint_weight_set(vbox, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_box_pack_end(hbox, bt);
evas_object_show(bt);
+ evas_object_resize(win, 320, 600);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
evas_object_smart_callback_add(idx, "delay,changed", _index_changed, NULL);
- evas_object_resize(win, 320, 300);
- evas_object_show(win);
-
elm_index_autohide_disabled_set(idx, EINA_FALSE);
elm_index_level_go(idx, 0);
+ evas_object_resize(win, 320, 300);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
win = elm_win_util_standard_add("inwin-example", "Inwin Example");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 400, 400);
- evas_object_show(win);
evas_object_smart_callback_add(win, "delete,request", _win_del_cb, NULL);
if (!strncmp(elm_config_engine_get(), "shot", 4))
ecore_timer_add(0.1, _screenshot_hack_cb, o);
+ evas_object_resize(win, 400, 400);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
win = elm_win_util_standard_add("elocation", "Elocation example");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 600, 480);
- evas_object_show(win);
label = elm_label_add(win);
elm_label_line_wrap_set(label, ELM_WRAP_CHAR);
_print_position(position);
#endif
+ evas_object_resize(win, 600, 480);
+ evas_object_show(win);
+
elm_run();
#ifdef ELM_ELOCATION
win = elm_win_util_standard_add("naviframe", "Naviframe");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 400, 400);
- evas_object_show(win);
nf = elm_naviframe_add(win);
evas_object_size_hint_weight_set(nf, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_naviframe_item_push(nf, "First Page", NULL, NULL, btn, NULL);
- elm_run();
+ evas_object_resize(win, 400, 400);
+ evas_object_show(win);
+ elm_run();
elm_shutdown();
return 0;
evas_object_show(popup);
evas_object_smart_callback_add(popup, "block,clicked", _block_clicked, NULL);
- evas_object_show(win);
evas_object_resize(win, 480, 800);
+ evas_object_show(win);
elm_run();
elm_shutdown();
win = elm_win_util_standard_add("slideshow", "Slideshow example");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 600, 400);
- evas_object_show(win);
slideshow = elm_slideshow_add(win);
elm_slideshow_loop_set(slideshow, EINA_TRUE);
evas_object_event_callback_add(slideshow, EVAS_CALLBACK_MOUSE_MOVE,
_notify_show, notify);
+ evas_object_resize(win, 600, 400);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
win = elm_win_util_standard_add("theme", "Theme example");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 300, 320);
- evas_object_show(win);
box = elm_box_add(win);
evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_show(btn);
evas_object_smart_callback_add(btn, "clicked", btn_style_click_cb, NULL);
+ evas_object_resize(win, 300, 320);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
win = elm_win_util_standard_add("theme", "Theme example");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 300, 320);
- evas_object_show(win);
box = elm_box_add(win);
evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_show(btn);
evas_object_smart_callback_add(btn, "clicked", _btn_clicked_cb, NULL);
+ evas_object_resize(win, 300, 320);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
win = elm_win_util_standard_add("track-example", "Track Example");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 320, 240);
- evas_object_show(win);
li = elm_list_add(win);
evas_object_size_hint_weight_set(li, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_show(li);
elm_list_go(li);
+ evas_object_resize(win, 320, 240);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
win = elm_win_util_standard_add("transit-basic", "Transit - Basic");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 400, 400);
bt = elm_button_add(win);
elm_object_text_set(bt, "Resizing Effect");
evas_object_move(bt, 50, 100);
evas_object_resize(bt, 100, 50);
- evas_object_show(win);
-
trans = elm_transit_add();
elm_transit_object_add(trans, bt);
elm_transit_duration_set(trans, 5.0);
elm_transit_go(trans);
+ evas_object_resize(win, 400, 400);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
win = elm_win_util_standard_add("transit9", "Transit 9");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 400, 400);
- evas_object_show(win);
bt = elm_button_add(win);
elm_object_text_set(bt, "Chain 1");
elm_transit_objects_final_state_keep_set(trans4, EINA_TRUE);
elm_transit_chain_transit_add(trans3, trans4);
+ evas_object_resize(win, 400, 400);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
/* add a window */
win = elm_win_util_standard_add("transit", "Transit Example");
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 300, 100);
- evas_object_show(win);
box = elm_box_add(win);
evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_box_pack_end(box, rect);
evas_object_show(rect);
+ evas_object_resize(win, 300, 100);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
/* Window */
win = elm_win_add(NULL, "Elementary Webkit Widget", ELM_WIN_BASIC);
elm_win_autodel_set(win, EINA_TRUE);
- evas_object_resize(win, 720, 600);
- evas_object_show(win);
/* Web */
web = elm_web_add(win);
}
evas_object_show(web);
+ evas_object_resize(win, 720, 600);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();
win = elm_win_util_standard_add("win-example", "Elm_Win Example");
elm_win_focus_highlight_enabled_set(win, EINA_TRUE);
- evas_object_resize(win, 400, 400);
- evas_object_show(win);
evas_object_smart_callback_add(win, "focus,in", _win_focused_cb, "mainwin");
WIN_ACTION(rotation_resize);
WIN_ACTION(sticky);
+ evas_object_resize(win, 400, 400);
+ evas_object_show(win);
+
elm_run();
elm_shutdown();