<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://modiki.civfanatics.com/index.php?action=history&amp;feed=atom&amp;title=UIElement.DestroyAllChildren_%28Civ5_API%29</id>
	<title>UIElement.DestroyAllChildren (Civ5 API) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://modiki.civfanatics.com/index.php?action=history&amp;feed=atom&amp;title=UIElement.DestroyAllChildren_%28Civ5_API%29"/>
	<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=UIElement.DestroyAllChildren_(Civ5_API)&amp;action=history"/>
	<updated>2026-04-20T15:01:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=UIElement.DestroyAllChildren_(Civ5_API)&amp;diff=13565&amp;oldid=prev</id>
		<title>DonQuich: Bot update</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=UIElement.DestroyAllChildren_(Civ5_API)&amp;diff=13565&amp;oldid=prev"/>
		<updated>2012-09-20T14:35:23Z</updated>

		<summary type="html">&lt;p&gt;Bot update&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&amp;#039;&amp;#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&amp;#039;&amp;#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This method is declared by &amp;#039;&amp;#039;&amp;#039;ControlBase&amp;#039;&amp;#039;&amp;#039;.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is an instance method, invoke it with a colon.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;void&amp;#039;&amp;#039;&amp;#039; UIElement:DestroyAllChildren&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&amp;#039;&amp;#039;Redundant occurences have been removed.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|ChooseFaithGreatPerson.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/UI/InGame/Popups/ChooseFaithGreatPerson.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0022}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;stackControl:DestroyAllChildren();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|CityList.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/CityList.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0098}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.MainStack:DestroyAllChildren();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|DiploCurrentDeals.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/Popups/DiploCurrentDeals.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0015}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.CurrentDealsStack:DestroyAllChildren();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0016}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.HistoricDealsStack:DestroyAllChildren();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|DiploGlobalRelationships.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/Popups/DiploGlobalRelationships.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0025}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.ItemStack:DestroyAllChildren();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|EconomicGeneralInfo.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/Popups/EconomicGeneralInfo.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0201}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.CityStack:DestroyAllChildren();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0245}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.TradeStack:DestroyAllChildren();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0321}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.BuildingsStack:DestroyAllChildren();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|FoRScenarioLoadScreen.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Scenarios/FallOfRomeScenario/FoRScenarioLoadScreen.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0141}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.SelectCivStack:DestroyAllChildren();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|HappinessInfo.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/Popups/HappinessInfo.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0209}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.LuxuryHappinessStack:DestroyAllChildren();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0266}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.CityBuildingStack:DestroyAllChildren();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0298}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.TradeRouteStack:DestroyAllChildren();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0332}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.GarrisonStack:DestroyAllChildren();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0560}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.CityUnhappinessStack:DestroyAllChildren();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0611}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.ResourcesAvailableStack:DestroyAllChildren();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0654}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.ResourcesImportedStack:DestroyAllChildren();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0696}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.ResourcesExportedStack:DestroyAllChildren();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0737}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.ResourcesLocalStack:DestroyAllChildren();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|HappinessInfo.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/UI/InGame/Popups/HappinessInfo.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0326}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.LocalCityStack:DestroyAllChildren();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|SelectCivilization.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/FrontEnd/GameSetup/SelectCivilization.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0034}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.Stack:DestroyAllChildren();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|StagingRoom.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/FrontEnd/Multiplayer/StagingRoom.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0844}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.ChatStack:DestroyAllChildren();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|DestroyAllChildren]]&lt;/div&gt;</summary>
		<author><name>DonQuich</name></author>
	</entry>
</feed>