IUP/Controls

From Vendetta Lua
Revision as of 08:18, 9 May 2023 by Draugath (talk | contribs) (Created page with "IUP contains several user interface controls. The library’s main characteristic is the use of native elements. This means that the drawing and management of a button or text...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

IUP contains several user interface controls. The library’s main characteristic is the use of native elements. This means that the drawing and management of a button or text box is done by the native interface system, not by IUP. This makes the application’s appearance more similar to other applications in that system. On the other hand, the application’s appearance can vary from one system to another.

But this is valid only for the standard controls, many additional controls are drawn by IUP. Composition controls are not visible, so they are independent from the native system.

Each control has an unique creation function, and all of its management is done by means of attributes and callbacks, using functions common to all the controls. This simple but powerfull approach is one of the advantages of using IUP.

Controls are automatically destroyed when the dialog is destroyed.