IUP/Dialogs/IupMap: Difference between revisions
From Vendetta Lua
Jump to navigationJump to search
Created page with "__NOTOC__ =IupHide= :Hides an interface element. This function has the same effect as attributing value "NO" to the interface element’s VISIBLE attribute. ===Parameters/Re..." |
No edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
= | =IupMap= | ||
: | :Creates native interface objects corresponding to the given IUP interface elements. | ||
===Parameters/Return=== | ===Parameters/Return=== | ||
:iup. | :iup.Map('''element''': ihandle) -> ret: number | ||
:'''element''': Identifier of | :'''element''': Identifier of an interface element. | ||
===Notes=== | |||
:When '''element''' is of type ''dialog'', this function creates the native interface element of a dialog and of each element it contains, but only if the element has not been mapped yet. | |||
: | :When '''element''' is not of type ''dialog'', this function will only create the native interface element if the element is inside an already mapped dialog. | ||
:If '''element''' was already mapped, nothing happens. | |||
:This function should always be called before making a dialog visible for the first time. | |||
===See Also=== | ===See Also=== | ||
:[[IUP/Dialogs/IupShowXY|IupShowXY]], [[IUP/Dialogs/IupShow|IupShow]], [[IUP/Dialogs/IupPopup|IupPopup | :[[IUP/Dialogs/IupShowXY|IupShowXY]], [[IUP/Dialogs/IupShow|IupShow]], [[IUP/Dialogs/IupPopup|IupPopup]]. |
Latest revision as of 05:07, 9 May 2023
IupMap
- Creates native interface objects corresponding to the given IUP interface elements.
Parameters/Return
- iup.Map(element: ihandle) -> ret: number
- element: Identifier of an interface element.
Notes
- When element is of type dialog, this function creates the native interface element of a dialog and of each element it contains, but only if the element has not been mapped yet.
- When element is not of type dialog, this function will only create the native interface element if the element is inside an already mapped dialog.
- If element was already mapped, nothing happens.
- This function should always be called before making a dialog visible for the first time.