<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
		>
	<channel>
		<title>Control &#187; Topic: Dynamically Create Widgets in Control</title>
		<link>http://charlie-roberts.com/Control/forum/topic.php?id=1145</link>
		<description>forum for discussing Control interface software</description>
		<language>en-US</language>
		<pubDate>Wed, 19 Jun 2013 09:56:30 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://charlie-roberts.com/Control/forum/rss.php?topic=1145" rel="self" type="application/rss+xml" />

		<item>
			<title>hectorlee on "Dynamically Create Widgets in Control"</title>
			<link>http://charlie-roberts.com/Control/forum/topic.php?id=1145#post-2174</link>
			<pubDate>Tue, 21 Feb 2012 17:52:23 +0000</pubDate>
			<dc:creator>hectorlee</dc:creator>
			<guid isPermaLink="false">2174@http://charlie-roberts.com/Control/forum/</guid>
			<description><![CDATA[<p>Thanks! You've some great help. Will try out the code. Just feels cleaner to just all the interface code in one place.
</p>]]></description>
					</item>
		<item>
			<title>admin on "Dynamically Create Widgets in Control"</title>
			<link>http://charlie-roberts.com/Control/forum/topic.php?id=1145#post-2149</link>
			<pubDate>Tue, 21 Feb 2012 02:44:42 +0000</pubDate>
			<dc:creator>admin</dc:creator>
			<guid isPermaLink="false">2149@http://charlie-roberts.com/Control/forum/</guid>
			<description><![CDATA[<p>And here's the code to dynamically create a widget:</p>
<pre><code>var w = { &#34;name&#34;:&#34;s&#34;, &#34;type&#34;:&#34;Slider&#34;};
var _w = control.makeWidget(w);
control.widgets.push(_w);
control.addWidget(w.name, control.currentPage);</code></pre>
<p>I need to clean that up, but, for now you need four lines of code. - Charlie
</p>]]></description>
					</item>
		<item>
			<title>admin on "Dynamically Create Widgets in Control"</title>
			<link>http://charlie-roberts.com/Control/forum/topic.php?id=1145#post-2148</link>
			<pubDate>Tue, 21 Feb 2012 02:42:05 +0000</pubDate>
			<dc:creator>admin</dc:creator>
			<guid isPermaLink="false">2148@http://charlie-roberts.com/Control/forum/</guid>
			<description><![CDATA[<p>Hmmm. Well, you can use the same thing as before to disable it, but just do it temporarily. So, for hiding:</p>
<pre><code>mySlider.hide();
mySlider.event = function();</code></pre>
<p>Then, you can look at the Slider's prototype to get the event back:</p>
<pre><code>mySlider.show();
mySlider.event = Slider.prototype.event;</code></pre>
<p>Hope this helps... - Charlie
</p>]]></description>
					</item>
		<item>
			<title>hectorlee on "Dynamically Create Widgets in Control"</title>
			<link>http://charlie-roberts.com/Control/forum/topic.php?id=1145#post-2143</link>
			<pubDate>Tue, 21 Feb 2012 01:36:35 +0000</pubDate>
			<dc:creator>hectorlee</dc:creator>
			<guid isPermaLink="false">2143@http://charlie-roberts.com/Control/forum/</guid>
			<description><![CDATA[<p>I know that it is possible to create a widget through OSC but is it possible to create a widget through scripting within Control itself?</p>
<p>I am currently working with the show/hide method but the hidden widget is still there and can be controlled while hidden. I don't want to function while hidden so I guess it has to be removed?
</p>]]></description>
					</item>

	</channel>
</rss>
