<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://addonstudio.org/mw1/index.php?action=history&amp;feed=atom&amp;title=WoW%3AAPI_Frame_GetScript</id>
	<title>WoW:API Frame GetScript - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://addonstudio.org/mw1/index.php?action=history&amp;feed=atom&amp;title=WoW%3AAPI_Frame_GetScript"/>
	<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:API_Frame_GetScript&amp;action=history"/>
	<updated>2026-06-02T04:22:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://addonstudio.org/mw1/index.php?title=WoW:API_Frame_GetScript&amp;diff=20678&amp;oldid=prev</id>
		<title>Move page script: Move page script moved page API Frame GetScript to WoW:API Frame GetScript without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:API_Frame_GetScript&amp;diff=20678&amp;oldid=prev"/>
		<updated>2023-08-15T04:45:34Z</updated>

		<summary type="html">&lt;p&gt;Move page script moved page &lt;a href=&quot;/wiki/WoW:API_Frame_GetScript&quot; title=&quot;WoW:API Frame GetScript&quot;&gt;API Frame GetScript&lt;/a&gt; to &lt;a href=&quot;/wiki/WoW:API_Frame_GetScript&quot; title=&quot;WoW:API Frame GetScript&quot;&gt;API Frame GetScript&lt;/a&gt; without leaving a redirect&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:45, 15 August 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Move page script</name></author>
	</entry>
	<entry>
		<id>https://addonstudio.org/mw1/index.php?title=WoW:API_Frame_GetScript&amp;diff=20677&amp;oldid=prev</id>
		<title>Bear: Created page with &quot;{{widgetmethod}}  Gets an event handler for a specific event type for this frame.   local func = frame:GetScript(&quot;handler&quot;)  == Parameters == === Arguments === :;handler : str...&quot;</title>
		<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:API_Frame_GetScript&amp;diff=20677&amp;oldid=prev"/>
		<updated>2015-02-16T19:01:16Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{widgetmethod}}  Gets an event handler for a specific event type for this frame.   local func = frame:GetScript(&amp;quot;handler&amp;quot;)  == Parameters == === Arguments === :;handler : str...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{widgetmethod}}&lt;br /&gt;
&lt;br /&gt;
Gets an event handler for a specific event type for this frame.&lt;br /&gt;
&lt;br /&gt;
 local func = frame:GetScript(&amp;quot;handler&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
=== Arguments ===&lt;br /&gt;
:;handler : string - the name of the handler type, like &amp;#039;OnShow&amp;#039;, &amp;#039;OnEvent&amp;#039;.  See [[Widget handlers]].&lt;br /&gt;
&lt;br /&gt;
=== Returns ===&lt;br /&gt;
:;func : function - The function that will be called on event or &amp;#039;nil&amp;#039; if no handler&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
 for i = 1, 4 do&lt;br /&gt;
     local frame = _G[&amp;quot;PartyMemberFrame&amp;quot;..i]&lt;br /&gt;
     print(frame:GetScript(&amp;quot;OnShow&amp;quot;))&lt;br /&gt;
 end&lt;br /&gt;
Prints the function ids of the &amp;#039;OnShow&amp;#039; event handlers for all party frames, to the chat frame.&lt;br /&gt;
&lt;br /&gt;
 PartyMemberFrame1:GetScript(&amp;quot;OnHide&amp;quot;)&lt;br /&gt;
Gets whatever &amp;#039;OnShow&amp;#039; handler was set for &amp;#039;PartyMemberFrame1&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{api|Frame:SetScript|t=w}}&lt;br /&gt;
* [[Widget handlers]]&lt;/div&gt;</summary>
		<author><name>Bear</name></author>
	</entry>
</feed>