[PD-dev] Dynamic inlet or outlet management

Hans-Christoph Steiner hans at eds.org
Mon Apr 3 19:46:21 CEST 2006


I think some of the GUI object API calls do this, IIRC.  But I barely  
know anything about the GUI object API.  It would be great to have  
that stuff added to the Externals HOWTO.

.hc

On Mar 17, 2006, at 8:09 AM, Jamie Bullock wrote:

>
> Hi,
>
> Does anyone know if there is a way to force an object to redraw  
> itself (other than by moving it)?
>
> For example, I have attached the code for a simple object, which  
> instantiates itself with the number of inlets and outlets given by  
> its creation argument. If I call its del method, the in/outlets are  
> deleted, but the visual representation of the object retains them  
> until it is moved. When it is moved, the in/outlets are detached  
> from the object but remain on the canvas! When the add method is  
> called, the in/outlets are created, but again I have to move the  
> object to see them. At this point previously deleted in/outlets  
> disappear from the canvas...
>
> Any suggestions..?
>
> Jamie
> <varlet.c>
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev


________________________________________________________________________ 
____

If you are not part of the solution, you are part of the problem.
                                                               -  
Eldridge Cleaver

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20060403/7113c5c5/attachment.htm>


More information about the Pd-dev mailing list