----- Original Message -----
> From: Ivica Ico Bukvic <[email protected]>
> To: pd list <[email protected]>; [email protected]
> Cc: 
> Sent: Sunday, December 11, 2011 3:39 AM
> Subject: [PD] pd at startup creates 2 canvases, why?
> 
> I guess this is primarily for devs:
> 
> The title says it all. When pd starts up, it does 2 instances of
> canvas_new() calls.

They contain templates for arrays.

[; pd-_float vis 1; pd-_float_array vis 1 (

> More interestingly, it does not do canvas_free for
> those two instances when closing pd, suggesting this is a memory leak.
> So, what gives? Why does it create 2 invisible canvases, what is their
> function, and how do they differentiate from the regular canvases.

They aren't listed in the "Window" menu.  But like any other canvas, you 
can send them objects and messages:

[; pd-_float obj 20 20 keyname, obj 20 80 print 
all_your_keys_are_belongs_to_us, connect 1 1 2 0 (

> 
> NB: Not sure if this makes any difference but this is pd-l2ork code
> based on pd-extended...
> 
> 
> _______________________________________________
> [email protected] mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
> 

_______________________________________________
Pd-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/pd-dev

Reply via email to