IUP (software) - Features

Features

IUP
Original author(s) Tecgraf/PUC-Rio in collaboration with Petrobras
Stable release 3.7 / 2012-11-29
Operating system Cross-platform
Type Software Development Kit
License MIT
Website IUP

IUP's distinguishing features include:

  • Built in support for Lua scripts calling IUP functions (controlled by Lua script) on Windows, and Linux installations of IUP,
  • Can also be used from native ANSI C, one of the few plain C capable toolkits,
  • Removal of the restriction of class/instance object types, but retaining the Lua-style hierarchy of inheritance.
  • An abstract layout model, in which sizes and positions are calculated from horizontal and vertical containers, rather than explicit X and Y coordinates. (Coordinate-based layout is also supported with a third container type.)
  • Small API, on the order of about 100 functions.
  • Use of an event loop/callback mechanism. This main loop can be called inside Lua.
  • Interface elements are created before they are mapped to the native elements. This is the reverse of the usual situation for assembling GUI elements.
  • Available as source or pre-built static or dynamic libraries for wide variety of compilers, including turnkey example source.

The Lua scripting is done by binding Lua and IUPLua in (at least) a small C program called a host application. This program creates a Lua state, passes the Lua state to IUPLua for initialization, and then opens and executes a Lua script against the Lua state. Alternatively, the entire IUP state can be dynamically loaded via use of a Lua 'require' or 'package.loadlib' of IUPLua.

The script(s) can later be compiled with the luac compiler if desired.

As of March 2009, only the GTK+ version of IUP supports Unicode.

Read more about this topic:  IUP (software)

Famous quotes containing the word features:

    These, then, will be some of the features of democracy ... it will be, in all likelihood, an agreeable, lawless, particolored commonwealth, dealing with all alike on a footing of equality, whether they be really equal or not.
    Plato (c. 427–347 B.C.)

    Each reader discovers for himself that, with respect to the simpler features of nature, succeeding poets have done little else than copy his similes.
    Henry David Thoreau (1817–1862)

    All visible objects, man, are but as pasteboard masks. But in each event—in the living act, the undoubted deed—there, some unknown but still reasoning thing puts forth the mouldings of its features from behind the unreasoning mask. If man will strike, strike through the mask!
    Herman Melville (1819–1891)