Getting started

Currently Lua support in Yue is experimental, and a loadable module built for Lua 5.3 is provided which can be downloaded from the Releases page. The filename is

There are plans on making Yue available in LuaRocks.

Using Yue

Currently only the GUI part of Yue has been provided with Lua bindings, which can be loaded via require('yue.gui').

local gui = require('yue.gui')

-- Create window and show it.
local win = gui.Window.create{}
win.onclose = function() gui.MessageLoop.quit() end
win:setcontentview(gui.Label.create('Content View'))
win:setcontentsize{width=400, height=400}

-- Enter message loop.