allDisplays: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fix)
m (Some wiki formatting)
 
(14 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:
{{Columns|4|
{{Columns|4|
* <tt>"3DENDisplaysTemp_displays"</tt>
* {{hl|"3DENDisplaysTemp_displays"}}
* <tt>"3DENDisplays_displays"</tt>
* {{hl|"3DENDisplays_displays"}}
* <tt>"BootcampDisplays_displays"</tt>
* {{hl|"BootcampDisplays_displays"}}
* <tt>"BootcampTitles_displays"</tt>
* {{hl|"BootcampTitles_displays"}}
* <tt>"CuratorDisplays_displays"</tt>
* {{hl|"CuratorDisplays_displays"}}
* <tt>"CuratorTitles_displays"</tt>
* {{hl|"CuratorTitles_displays"}}
* <tt>"GUI_displays"</tt>
* {{hl|"GUI_displays"}}
* <tt>"IGUI_displays"</tt>
* {{hl|"IGUI_displays"}}
* <tt>"KartDisplays_displays"</tt>
* {{hl|"KartDisplays_displays"}}
* <tt>"Loading_displays"</tt>
* {{hl|"Loading_displays"}}
}}
}}
}}
}}
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