/script_binding/lua/demo2.lua
http://ftk.googlecode.com/ · Lua · 9 lines · 6 code · 3 blank · 0 comment · 0 complexity · 0f0c137965b247b5f71cdacaabe22941 MD5 · raw file
- Ftk.Init(1, {"demo2"})
- win=FtkAppWindow.Create()
- win:SetAttr(FTK_ATTR_QUIT_WHEN_CLOSE)
- win:SetText("Hello FTK!")
- win:ShowAll(1)
- Ftk.Run()