diff options
author | Victor Lazzarini <Victor.Lazzarini@nuim.ie> | 2008-04-06 22:20:44 (GMT) |
---|---|---|
committer | Victor Lazzarini <Victor.Lazzarini@nuim.ie> | 2008-04-06 22:20:44 (GMT) |
commit | b3719ab222623697ee5597a9ad142a9b2d7f8d6f (patch) | |
tree | b939baeca434831f15fd4b8ee0060c99f3f2d94e | |
parent | 5ea99b4baf07ce78b9a3d4d4640f0c17cb222062 (diff) |
updated csndsugui.html
-rw-r--r-- | csndsugui.html | 40 |
1 files changed, 37 insertions, 3 deletions
diff --git a/csndsugui.html b/csndsugui.html index e4bbe82..40ce5f7 100644 --- a/csndsugui.html +++ b/csndsugui.html @@ -37,7 +37,7 @@ # file might be covered by the GNU Lesser General Public License.<br> #<br> #<br> -# version 0.1.2 18/03/08</tt></p> +# version 0.1.2 24/03/08</tt></p> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#aa55cc"> @@ -109,6 +109,8 @@ label: if given, an alternative button name,<br> which will be displayed instead of title<br> returns the widget instance</tt></dd></dl> +<dl><dt><a name="BasicGUI-button_setvalue"><strong>button_setvalue</strong></a>(self, widget, value)</dt></dl> + <dl><dt><a name="BasicGUI-buttonbank"><strong>buttonbank</strong></a>(self, items, box)</dt><dd><tt>Creates a button bank <br> items: number of sliders<br> box: parent box.</tt></dd></dl> @@ -119,13 +121,19 @@ callback: click callback<br> title: if given, the button name<br> returns the widget instance</tt></dd></dl> +<dl><dt><a name="BasicGUI-channels_load"><strong>channels_load</strong></a>(self, chan_list)</dt><dd><tt>Loads a list with channel names and values into the<br> +current channel list</tt></dd></dl> + <dl><dt><a name="BasicGUI-channels_reinit"><strong>channels_reinit</strong></a>(self)</dt><dd><tt>resets channel to current widget values</tt></dd></dl> +<dl><dt><a name="BasicGUI-channels_save"><strong>channels_save</strong></a>(self)</dt><dd><tt>Saves a list with channel names and current values.<br> +Returns a list of tuples (channel_name, channel_value)</tt></dd></dl> + <dl><dt><a name="BasicGUI-delete_event"><strong>delete_event</strong></a>(self, widget, event, data<font color="#909090">=None</font>)</dt></dl> <dl><dt><a name="BasicGUI-destroy_chooser"><strong>destroy_chooser</strong></a>(self, widget)</dt></dl> -<dl><dt><a name="BasicGUI-fbuttcallback"><strong>fbuttcallback</strong></a>(self, widget, data<font color="#909090">=None</font>)</dt><dd><tt># internal callback</tt></dd></dl> +<dl><dt><a name="BasicGUI-fbuttcallback"><strong>fbuttcallback</strong></a>(self, widget, data<font color="#909090">=None</font>)</dt></dl> <dl><dt><a name="BasicGUI-filecallback"><strong>filecallback</strong></a>(self, widget)</dt></dl> @@ -159,6 +167,10 @@ name: button name</tt></dd></dl> <dl><dt><a name="BasicGUI-get_button_value"><strong>get_button_value</strong></a>(self, name)</dt><dd><tt>returns the button value (0 or 1)<br> name: button name (which should also be the attached bus channel name)</tt></dd></dl> +<dl><dt><a name="BasicGUI-get_channel_metadata"><strong>get_channel_metadata</strong></a>(self)</dt><dd><tt>Retrieves channel data from metadata. Can be called after<br> +widgets have been created to retrieve channel data and <br> +reset widgets</tt></dd></dl> + <dl><dt><a name="BasicGUI-get_slider"><strong>get_slider</strong></a>(self, name)</dt><dd><tt>returns the slider widget instance<br> name: slider name</tt></dd></dl> @@ -189,6 +201,9 @@ returns the widget instance</tt></dd></dl> <dl><dt><a name="BasicGUI-set_channel"><strong>set_channel</strong></a>(self, name, val)</dt><dd><tt>basic bus channel setting method,<br> should be overriden for full-functionality.</tt></dd></dl> +<dl><dt><a name="BasicGUI-set_channel_metadata"><strong>set_channel_metadata</strong></a>(self)</dt><dd><tt>Saves channel data as metadata. Can be called in<br> +write_file() to save channel/widget data</tt></dd></dl> + <dl><dt><a name="BasicGUI-set_filechannel"><strong>set_filechannel</strong></a>(self, chan, name)</dt><dd><tt>basic filename channel setting method<br> should be overriden for full-functionality.</tt></dd></dl> @@ -245,6 +260,8 @@ start, end: start and end of slider range<br> x, y: x and y sizes of slider<br> box: parent box</tt></dd></dl> +<dl><dt><a name="BasicGUI-widgets_reset"><strong>widgets_reset</strong></a>(self)</dt><dd><tt>resets widget to channel values</tt></dd></dl> + </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> @@ -314,6 +331,8 @@ label: if given, an alternative button name,<br> which will be displayed instead of title<br> returns the widget instance</tt></dd></dl> +<dl><dt><a name="CsoundGUI-button_setvalue"><strong>button_setvalue</strong></a>(self, widget, value)</dt></dl> + <dl><dt><a name="CsoundGUI-buttonbank"><strong>buttonbank</strong></a>(self, items, box)</dt><dd><tt>Creates a button bank <br> items: number of sliders<br> box: parent box.</tt></dd></dl> @@ -324,13 +343,19 @@ callback: click callback<br> title: if given, the button name<br> returns the widget instance</tt></dd></dl> +<dl><dt><a name="CsoundGUI-channels_load"><strong>channels_load</strong></a>(self, chan_list)</dt><dd><tt>Loads a list with channel names and values into the<br> +current channel list</tt></dd></dl> + <dl><dt><a name="CsoundGUI-channels_reinit"><strong>channels_reinit</strong></a>(self)</dt><dd><tt>resets channel to current widget values</tt></dd></dl> +<dl><dt><a name="CsoundGUI-channels_save"><strong>channels_save</strong></a>(self)</dt><dd><tt>Saves a list with channel names and current values.<br> +Returns a list of tuples (channel_name, channel_value)</tt></dd></dl> + <dl><dt><a name="CsoundGUI-delete_event"><strong>delete_event</strong></a>(self, widget, event, data<font color="#909090">=None</font>)</dt></dl> <dl><dt><a name="CsoundGUI-destroy_chooser"><strong>destroy_chooser</strong></a>(self, widget)</dt></dl> -<dl><dt><a name="CsoundGUI-fbuttcallback"><strong>fbuttcallback</strong></a>(self, widget, data<font color="#909090">=None</font>)</dt><dd><tt># internal callback</tt></dd></dl> +<dl><dt><a name="CsoundGUI-fbuttcallback"><strong>fbuttcallback</strong></a>(self, widget, data<font color="#909090">=None</font>)</dt></dl> <dl><dt><a name="CsoundGUI-filecallback"><strong>filecallback</strong></a>(self, widget)</dt></dl> @@ -364,6 +389,10 @@ name: button name</tt></dd></dl> <dl><dt><a name="CsoundGUI-get_button_value"><strong>get_button_value</strong></a>(self, name)</dt><dd><tt>returns the button value (0 or 1)<br> name: button name (which should also be the attached bus channel name)</tt></dd></dl> +<dl><dt><a name="CsoundGUI-get_channel_metadata"><strong>get_channel_metadata</strong></a>(self)</dt><dd><tt>Retrieves channel data from metadata. Can be called after<br> +widgets have been created to retrieve channel data and <br> +reset widgets</tt></dd></dl> + <dl><dt><a name="CsoundGUI-get_slider"><strong>get_slider</strong></a>(self, name)</dt><dd><tt>returns the slider widget instance<br> name: slider name</tt></dd></dl> @@ -391,6 +420,9 @@ returns the widget instance</tt></dd></dl> <dl><dt><a name="CsoundGUI-nofocus"><strong>nofocus</strong></a>(self)</dt></dl> +<dl><dt><a name="CsoundGUI-set_channel_metadata"><strong>set_channel_metadata</strong></a>(self)</dt><dd><tt>Saves channel data as metadata. Can be called in<br> +write_file() to save channel/widget data</tt></dd></dl> + <dl><dt><a name="CsoundGUI-slidcallback"><strong>slidcallback</strong></a>(self, adj, widget)</dt></dl> <dl><dt><a name="CsoundGUI-slider"><strong>slider</strong></a>(self, init, start, end, x, y, box, title<font color="#909090">=''</font>, vert<font color="#909090">=True</font>, linear<font color="#909090">=True</font>, dwid<font color="#909090">=100</font>, label<font color="#909090">=''</font>)</dt><dd><tt>Creates a slider<br> @@ -439,5 +471,7 @@ start, end: start and end of slider range<br> x, y: x and y sizes of slider<br> box: parent box</tt></dd></dl> +<dl><dt><a name="CsoundGUI-widgets_reset"><strong>widgets_reset</strong></a>(self)</dt><dd><tt>resets widget to channel values</tt></dd></dl> + </td></tr></table></td></tr></table> </body></html>
\ No newline at end of file |