# lwtk Examples * [`example01.lua`](./example01.lua) This example demonstrates a simple dialog using the `lwtk.TextInput` widget. ![Screenshot example01](./screenshot01.png) * [`example02.lua`](./example02.lua) ![Screenshot example02](./screenshot02.png) * [`example03.lua`](./example03.lua) This examples demonstrates multiple forms using `lwtk.FocusGroup`. ![Screenshot example03](./screenshot03.png) * [`example10.lua`](./example10.lua) This example shows how a simple button widget class `MyButton` can be implemented by deriving from the base class `lwtk.Widget`. ![Screenshot example10](./screenshot10.png) * [`example20.love`](./example20.love) This example shows a clone of [`example01.lua`](./example01.lua) combined with a simple mini game within the [LÖVE] game engine. ![Screenshot example20](./screenshot20.png) [OOCairo]: https://luarocks.org/modules/osch/oocairo [LuaGL]: https://luarocks.org/modules/blueowl04/opengl [enhanced LuaGL rockspec]: https://github.com/osch/luarocks-build-extended/blob/master/example/opengl-1.11-2.rockspec [lua-nanovg]: https://luarocks.org/modules/xavier-wang/nanovg [LÖVE]: https://love2d.org/