allDisplays: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= ?\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Some wiki formatting)
 
(10 intermediate revisions by the same user not shown)
Line 10: Line 10:
{{Feature | informative | Other displays could be accessed via [[uiNamespace]] variable which is updated every time a display is opened or closed.
{{Feature | informative | Other displays could be accessed via [[uiNamespace]] variable which is updated every time a display is opened or closed.
For example, to access IGUI displays:
For example, to access IGUI displays:
<code>[[private]] _iguiDisplays {{=}} [[uiNamespace]] [[getVariable]] ["IGUI_displays", []];</code>
<sqf>private _iguiDisplays = uiNamespace getVariable ["IGUI_displays", []];</sqf>


Other display variables:
Other display variables:
Line 32: Line 32:
|r1= [[Array]] of GUI [[Display]]s
|r1= [[Array]] of GUI [[Display]]s


|x1= <code>[[private]] _allDisps = [[allDisplays]];</code>
|x1= <sqf>private _allDisps = allDisplays;</sqf>


|seealso= [[allControls]] [[findDisplay]] [[controlsGroupCtrl]] [[ctrlCreate]], [[allVariables]], [[allCurators]], [[allGroups]], [[allDead]], [[allDeadMen]]
|seealso= [[allControls]] [[findDisplay]] [[controlsGroupCtrl]] [[ctrlCreate]] [[allVariables]] [[allCurators]] [[allGroups]] [[allDead]] [[allDeadMen]]
}}
}}

Latest revision as of 12:02, 14 May 2022

Hover & click on the images for description

Description

Description:
Returns a list of all opened GUI displays.
Other displays could be accessed via uiNamespace variable which is updated every time a display is opened or closed.

For example, to access IGUI displays:

private _iguiDisplays = uiNamespace getVariable ["IGUI_displays", []];

Other display variables:

  • "3DENDisplaysTemp_displays"
  • "3DENDisplays_displays"
  • "BootcampDisplays_displays"
  • "BootcampTitles_displays"
  • "CuratorDisplays_displays"
  • "CuratorTitles_displays"
  • "GUI_displays"
  • "IGUI_displays"
  • "KartDisplays_displays"
  • "Loading_displays"
Groups:
GUI Control

Syntax

Syntax:
allDisplays
Return Value:
Array of GUI Displays

Examples

Example 1:
private _allDisps = allDisplays;

Additional Information

See also:
allControls findDisplay controlsGroupCtrl ctrlCreate allVariables allCurators allGroups allDead allDeadMen

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note