Widgets

Widgets are graphical elements or components that make up the user interface of an application. They can be buttons, text boxes, labels, windows, checkboxes, sliders, and more. These widgets allow users to interact with the program by providing input, displaying information, or triggering specific actions. This framework provides a wide range of widgets that can be arranged to create a functional and visually appealing user interface.

Presently, there are 35 widgets at your disposal within the framework. Considering the framework is new, the count is subject to change. Anticipate additional widgets as the framework evolves.

Important

Every app requires a Window to function properly. In your main.lua file, create a window object like shown below.

1local window = Window{title = 'Limekit', icon = images('app.png'), size={200,200}}
2window:show()

This creates an interactive window that serves your layouts holding all of your widgets.

checkout using Window

Important

All widgets can be added to a layout using the addChild function

Hey, heads up!

Before you start, you might want to take a look at how to access your resources. Just head over here

For a comprehensive understanding of their usage, explore the available widgets in-depth: