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
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@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