Vendetta/helium/api/map dialog: Difference between revisions
From Quasar-RCE
Jump to navigationJump to search
created helium's map_dialog page |
(No difference)
|
Latest revision as of 17:03, 15 March 2025
Similar to iup's :map(), but recursively activates all map_cb() functions in every child iup object. Many helium objects require this to render correctly.
Definition
helium.util.map_dialog(ihandle) -> nil
Arguments
ihandle: type *iup_object: dialog or other iup element item to be mapped. All children in the entire iup tree will be iterated over and all map_cb found will be executed.
Notes
The reason most helium objects require this variant of iup.map() is due to the resizable nature of many of the elements. The code to manage the appropriate size of these elements is triggered within map_cb, which is only called on the root dialog when using standard iup.map().