Vendetta/helium/api/map dialog

From Quasar-RCE
Revision as of 17:03, 15 March 2025 by Luxen (talk | contribs) (created helium's map_dialog page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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().