Murga-Projects Forums

Full Version: LuaApplication with GUI
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

it's my first time trying to create Luaprograms with graphic-features... ;-)

I've created a simple GUI with nice sliders and button. I have a long running native
Lua application.
Now I'm missing the glue of both ;-(

When application is running , the GUI freezes and I lose control. Application should
update the GUI.

Where is the trick when using graphics ?
Must the application running as coroutine or is there something special ?

Thanks for some ideas or tricks how professionals are realizing this
Bye
Christian
can you post your sample code here so I can know what wrong?
Hi,

I found my problem and solved it Big Grin

The long running application has to call Fl:check() periodically!
Now the GUI is updated and works fine for me Big Grin

After a cleanup of my code I publish it for a testing

Thanks for all help
Bye
Christian
Reference URL's