Calendar.x read/write property
Get or set the Calendar horizontal position. The horizontal position start from 0 (left side of the parent widget) and increase to the right (right side of the parent widget).
Example
local ui = require "ui"
-- create a simple window
local win = ui.Window("Calendar.x sample", 600, 300)
local calendar = ui.Calendar(win, 10, 80)
-- shows the window
win:show()
-- update user interface and increase Calendar horizontal position
repeat
ui.update()
calendar.x = calendar.x + 1
until not win.visible or (calendar.x > 600)