UIElement.ClearEntries (Civ5 API)

From Civilization Modding Wiki
Revision as of 14:37, 20 September 2012 by DonQuich (talk | contribs) (Bot update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This page is a part of the Lua and UI Reference (Civ5).


Function.png This function is a member of ControlBase.

This is an instance method, invoke it with a colon.


Usage

void UIElement:ClearEntries()



Source code samples

Redundant occurences have been removed.

AdvancedSetup.lua

UI/FrontEnd/GameSetup/AdvancedSetup.lua
0101
gameOption.OptionDropDown:ClearEntries();
0418
pullDown:ClearEntries();


CivilopediaScreen.lua

UI/Civilopedia/CivilopediaScreen.lua
6370
Controls.PartialMatchPullDown:ClearEntries();


DiploCorner.lua

UI/InGame/WorldView/DiploCorner.lua
0050
Controls.MultiPull:ClearEntries();
0314
Controls.ChatPull:ClearEntries();


LoadMenu.lua

UI/FrontEnd/LoadMenu.lua
0734
sortByPulldown:ClearEntries();


MPGameOptions.lua

UI/FrontEnd/Multiplayer/GameSetup/MPGameOptions.lua
0437
Controls.MapSizePullDown:ClearEntries();


OptionsMenu.lua

UI/Options/OptionsMenu.lua
1279
Controls.WResolutionPull:ClearEntries();
1303
Controls.FSResolutionPull:ClearEntries();


OptionsMenu.lua (G&K)

DLC/Expansion/UI/Options/OptionsMenu.lua
1370
Controls.TutorialPull:ClearEntries();


ReligionOverview.lua (G&K)

DLC/Expansion/UI/InGame/Popups/ReligionOverview.lua
0434
automaticPurchasePullDown:ClearEntries();


ReplayViewer.lua

UI/InGame/Popups/ReplayViewer.lua
1200
replayInfoPulldown:ClearEntries();
1216
graphDataSetPulldown:ClearEntries();


UnitFlagManager.lua

UI/InGame/UnitFlagManager.lua
1046
cityFlagInstance.PullDown:ClearEntries();



The initial version of this page was created by the Civ5 API Bot, see the Civ5 API Reference FAQ. Some of the texts come from the 2kgames' wiki and most of code samples are copyrighted to Firaxis.
Functions' signatures were either copied from the 2kgames' wiki, or infered from the Lua source files and the binaries. Errors are possible.
Contributors may find help in the Contributors guide to the Civ5 API.