IUP/Controls: Difference between revisions
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..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{IUP Controls}} | |||
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. | 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. | ||
Line 6: | Line 7: | ||
Controls are automatically destroyed when the dialog is destroyed. | Controls are automatically destroyed when the dialog is destroyed. | ||
[[Category:IUP]] |
Latest revision as of 06:20, 11 May 2023
Controls |
Dialog |
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.