Skip to content

esferatec/ec-luart-uidialogs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ec-luart-uidialogs

This project provides common dialog ui functions for LuaRT. It has been designed to simplify and improve the creation of graphical user interfaces with the LuaRT ui module.

LuaRT 2.1.0

Features

The module provides the following dialog functions:

Name Description
calendardialog Displays a dialog that shows a month calendar to choose a date. Returns the selected date.
choiceindexdialog Displays a dialog that shows a list of choices, and allows the user to select one. Returns the index of selected choice.
choicetextdialog Displays a dialog that shows a list of choices, and allows the user to select one. Returns the text of selected choice.
numberentrydialog Displays a dialog that requests a number input from the user. Returns the entered number.
passwordentrydialog Displays a dialog that requests a password input from the user. Returns the entered password.
texteditdialog Displays a dialog that requests a text input (multiple lines) from the user. Returns the entered text.
textentrydialog Displays a dialog that requests a text input (single line) from the user. Returns the entered text.

More detailed descriptions and usage examples can be found in the docs folder.

Installation

  1. Create a folder called "ecluart" in your application.
  2. Copy the "uidialogs.lua" file into this folder.
[application]
|
|----ecluart
|   |
|   |----uidialogs.lua
|   |----...
|
|----app.wlua

Usage

The dialog module can be loaded using the function require():

local uidialogs = require("ecluart.uidialogs") 

License

Copyright (c) 2023 by esferatec. It is open source, released under the MIT License. See full copyright notice in the LICENSE.md file.

About

ui dialog functions for LuaRT

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages