wxlua | Lua bindings for wxWidgets
kandi X-RAY | wxlua Summary
kandi X-RAY | wxlua Summary
wxLua is a Lua wrapper for the cross-platform wxWidgets GUI library. It allows developers to create applications for Windows, macOS, and Linux using Lua and supports Lua 5.1, 5.2, 5.3, 5.4, and LuaJIT. Unlike other cross-platform toolkits, wxWidgets (and by extension wxlua) gives applications a native look and feel as it uses the platform's native API rather than emulating the GUI. wxLua can be used to create a wide range of applications, from simple, but useful scripts (you can find a variety of examples in the samples directory) to a fully functional IDE (like ZeroBrane Studio). The library provides the ability to create complex user interface dialogs, file and image manipulation, drawing, sockets, displaying HTML, printing, and many others. You can use as much or as little of wxWidgets as you like and C++ developers can trim down the size the bindings by turning off preprocessor directives.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of wxlua
wxlua Key Features
wxlua Examples and Code Snippets
Community Discussions
Trending Discussions on wxlua
QUESTION
I am using wxLua with wxWidgets 2.8.12 for Windows. In the following code, I try to asynchronously execute some command and redirect its output.
The problem is, if I close main window before child process terminates, the child process is not deleted. I could still see "tree.com" process inside Windows Task Manager after this wxLua app exits.
What is the problem with my code below?
...ANSWER
Answered 2017-May-21 at 12:20You don't kill the child process, so it continues running, why shouldn't it? If you don't want this to happen, you need to Kill()
it explicitly using its PID.
BTW, please also update to wxWidgets 3.0, especially as you're using Lua, there shouldn't be any compatibility concerns, but you would be using a supported version with a lot of new features and bug fixes compared to the 10+ year old 2.8.
QUESTION
In my lack of experience I'm not sure if I can ask this in such a way that can be understood.
Basically, I want to make a user interface using raw lua. Is this even possible? If not, how does wxLua create a gui? Does it use another language with a built in GUI library?
I've been trying to figure this out for some time and never find a real answer.
Thanks for the help ahead of time!
...ANSWER
Answered 2017-Apr-28 at 04:47It is possible by using the FFI module of Luajit which can invoke a platform API directly. That is the "raw lua" way to make a user interface.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install wxlua
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page