[PD-dev] adding an inlet and outlet to [table]

Hans-Christoph Steiner hans at at.or.at
Tue Mar 27 18:56:35 CEST 2012


On Mar 27, 2012, at 11:56 AM, Mathieu Bouchard wrote:

> Le 2012-02-26 à 20:38:00, Hans-Christoph Steiner a écrit :
> 
>> After some probing, I figured out what the table object is:  its an instance of t_canvas/t_glist actually, with its own custom table_new() method.  That's a pretty odd situation.  I'm thinking I'll strip that out to make [table] an object in its own right, and then add inlets like [tabwrite] and an outlet like [tabread].
> 
> To be compatible with the current [table], this would need to support all of the methods of the canvases, just like tables already do.

Supporting all is probably not needed, since [table] seems to act like a subpatch rather than a full canvas.  For example, sending "menusave" to a [table] saves the whole patch that [table] is embedded in.

.hc

----------------------------------------------------------------------------

Access to computers should be unlimited and total.  - the hacker ethic





More information about the Pd-dev mailing list