// examples/window.rs use efl::elementary::{ init, policy_set, run, shutdown, win_autodel_set, win_util_standard_add, POLICY_QUIT, POLICY_QUIT_LAST_WINDOW_CLOSED, }; use efl::evas::{object_resize, object_show, Evas_Object}; fn main() { init(); let win: *mut Evas_Object; policy_set(POLICY_QUIT, POLICY_QUIT_LAST_WINDOW_CLOSED); win = win_util_standard_add("Main", "Hello Rust!"); win_autodel_set(win, true); object_resize(win, 400, 400); object_show(win); run(); shutdown(); }