Complete Samples
Standard Controls
The following example creates a dialog with virtually all of IUP�s elements as well as some variations of them, with some attributes changed. The same example is implemented in C, LED and Lua. Both screens presented are from the same example, one in Windows 95 and the other in IRIX.
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. For the IupView and IupLua applications see the distribution files available at the Download.
in C
in LED
in IupLua3
in IupLua5 sample.lua5
The Result in Windows |
|
The Result in Windows XP |
|
The Result in Motif |
|
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.
You can browse the examples here.
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