[PD] templates...

Miller Puckette mpuckett at man104-1.ucsd.edu
Sun Jan 27 06:40:15 CET 2002

Hi Nicolas,

You can't selectively clear part of a window... I'm curious why you
want to though... are you by any chance using the deadly "namecanvas"
object?  I'll do anything to get people to stop using that one...


On Thu, Jan 24, 2002 at 10:56:55PM +0100, Nicolas Lhommet wrote:
> Hello,
> A question about templates :
> In a 'data-field window' of my patch, I need two types of elements :
> - fixed elements, just created with simple templates and no variable, and
> classic object boxes (I can have to redraw them occasionally).
> - scalars,  some objets created with 'append' from the same template
> (polygons that can be moved with the mouse to change some values)
> I know I can send a 'clear' message to the data window to clear it's
> content.
> But I'd like to clear the scalars only, and keep the fixed elements.
> (I noticed it's easy to do the opposite: clear the content of every
> template, and keep the scalars)
> For a kind of gui-patch, I need to reorganize my scalars, so to clear them
> and append them again, but I don't want to clear everything in the
> data-window and 'redraw' everything.
> Is it possible (I mean with Pd-0.34) ?
> Does Pd-0.35 handle this kind of thing better ?
> Thank you, and apologies for my previous post, I was just amazed and happy
> to discover all the new features in the last test-release. :)
> nicolas

More information about the Pd-list mailing list