2016-03-23 12:56:14 -07:00
|
|
|
|
|
|
|
efl = require('efl');
|
|
|
|
|
2017-05-18 17:23:58 -07:00
|
|
|
win = new efl.Efl.Ui.Win(null, "Efl JS Example", efl.Efl.Ui.Win.Type.BASIC, "hw");
|
2016-07-26 14:21:02 -07:00
|
|
|
win.setText("Calendar Creation Example");
|
2016-03-23 12:56:14 -07:00
|
|
|
win.setAutohide(true);
|
|
|
|
|
2016-07-26 14:21:02 -07:00
|
|
|
cal = new efl.Elm.Calendar(win);
|
|
|
|
cal.setHintWeight(1.0, 1.0);
|
2016-12-07 09:49:43 -08:00
|
|
|
win.setContent(cal);
|
2016-07-26 14:21:02 -07:00
|
|
|
win.setSize(240, 240);
|
2016-03-23 12:56:14 -07:00
|
|
|
cal.setVisible(true);
|
|
|
|
|
|
|
|
win.setVisible(true);
|