1 #include <Elementary.hh>
4 elm_main (int argc, char *argv[])
6 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN);
8 ::elm::win_standard win;
9 win.title_set("Calendar Min/Max Year Example");
10 win.autohide_set(true);
12 ::elm::calendar cal(efl::eo::parent = win);
13 cal.size_hint_weight_set(EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
14 win.resize_object_add(cal);
15 cal.min_max_year_set(2020, 2022);
16 cal.visible_set(true);
18 win.visible_set(true);