Complete Samples

Standard Controls

The following example creates a dialog with virtually all of IUP standard elements as well as some variations of them, with some attributes changed. The same example is implemented in C, LED and Lua. The C code is ready to compile. The LED code can be loaded and viewed in the IupView application. The Lua code can be loaded and executed in the IupLua standalone application.

in C in LED in IupLua
sample.c sample.led sample.wlua

You can see the results in Windows, Motif and GTK on the Sample Results.

All Samples

The IUP samples are spread in the documentation. Each control, dialog, menu has its own set of examples in C, LED and Lua.

Browse for Example Files

External Samples

The CD and IM libraries have samples that use IUP, check in their documentation.

Some freely available applications also use IUP:

IMLAB - Image Processing Laboratory

EdPatt - Pattern Editor

Ftool - Two-dimensional Frame Analysis Tool

The Lua for Windows distribution is a 'batteries included environment' for the Lua scripting language on Windows, that also includes LuaGL, IUP, CD and IM.