From b3719ab222623697ee5597a9ad142a9b2d7f8d6f Mon Sep 17 00:00:00 2001
From: Victor Lazzarini
Date: Sun, 06 Apr 2008 22:20:44 +0000
Subject: updated csndsugui.html
---
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.
#
#
-# version 0.1.2 18/03/08
+# version 0.1.2 24/03/08
@@ -109,6 +109,8 @@ label: if given, an alternative button name,
which will be displayed instead of title
returns the widget instance
+- button_setvalue(self, widget, value)
+
- buttonbank(self, items, box)
- Creates a button bank
items: number of sliders
box: parent box.
@@ -119,13 +121,19 @@ callback: click callback
title: if given, the button name
returns the widget instance
+- channels_load(self, chan_list)
- Loads a list with channel names and values into the
+current channel list
+
- channels_reinit(self)
- resets channel to current widget values
+- channels_save(self)
- Saves a list with channel names and current values.
+Returns a list of tuples (channel_name, channel_value)
+
- delete_event(self, widget, event, data=None)
- destroy_chooser(self, widget)
-- fbuttcallback(self, widget, data=None)
- # internal callback
+- fbuttcallback(self, widget, data=None)
- filecallback(self, widget)
@@ -159,6 +167,10 @@ name: button name
- get_button_value(self, name)
- returns the button value (0 or 1)
name: button name (which should also be the attached bus channel name)
+- get_channel_metadata(self)
- Retrieves channel data from metadata. Can be called after
+widgets have been created to retrieve channel data and
+reset widgets
+
- get_slider(self, name)
- returns the slider widget instance
name: slider name
@@ -189,6 +201,9 @@ returns the widget instance
- set_channel(self, name, val)
- basic bus channel setting method,
should be overriden for full-functionality.
+- set_channel_metadata(self)
- Saves channel data as metadata. Can be called in
+write_file() to save channel/widget data
+
- set_filechannel(self, chan, name)
- basic filename channel setting method
should be overriden for full-functionality.
@@ -245,6 +260,8 @@ start, end: start and end of slider range
x, y: x and y sizes of slider
box: parent box
+- widgets_reset(self)
- resets widget to channel values
+
@@ -314,6 +331,8 @@ label: if given, an alternative button name,
which will be displayed instead of title
returns the widget instance
+- button_setvalue(self, widget, value)
+
- buttonbank(self, items, box)
- Creates a button bank
items: number of sliders
box: parent box.
@@ -324,13 +343,19 @@ callback: click callback
title: if given, the button name
returns the widget instance
+- channels_load(self, chan_list)
- Loads a list with channel names and values into the
+current channel list
+
- channels_reinit(self)
- resets channel to current widget values
+- channels_save(self)
- Saves a list with channel names and current values.
+Returns a list of tuples (channel_name, channel_value)
+
- delete_event(self, widget, event, data=None)
- destroy_chooser(self, widget)
-- fbuttcallback(self, widget, data=None)
- # internal callback
+- fbuttcallback(self, widget, data=None)
- filecallback(self, widget)
@@ -364,6 +389,10 @@ name: button name
- get_button_value(self, name)
- returns the button value (0 or 1)
name: button name (which should also be the attached bus channel name)
+- get_channel_metadata(self)
- Retrieves channel data from metadata. Can be called after
+widgets have been created to retrieve channel data and
+reset widgets
+
- get_slider(self, name)
- returns the slider widget instance
name: slider name
@@ -391,6 +420,9 @@ returns the widget instance
- nofocus(self)
+- set_channel_metadata(self)
- Saves channel data as metadata. Can be called in
+write_file() to save channel/widget data
+
- slidcallback(self, adj, widget)
- slider(self, init, start, end, x, y, box, title='', vert=True, linear=True, dwid=100, label='')
- Creates a slider
@@ -439,5 +471,7 @@ start, end: start and end of slider range
x, y: x and y sizes of slider
box: parent box
+- widgets_reset(self)
- resets widget to channel values
+