/script_binding/lua/demo2.lua

http://ftk.googlecode.com/ · Lua · 9 lines · 6 code · 3 blank · 0 comment · 0 complexity · 0f0c137965b247b5f71cdacaabe22941 MD5 · raw file

  1. Ftk.Init(1, {"demo2"})
  2. win=FtkAppWindow.Create()
  3. win:SetAttr(FTK_ATTR_QUIT_WHEN_CLOSE)
  4. win:SetText("Hello FTK!")
  5. win:ShowAll(1)
  6. Ftk.Run()