[PD] dynamic gui object creation / setting size

Gernot Tutner tutner at mur.at
Thu Mar 8 06:46:47 CET 2007


thx for this fast response, but...

IOhannes m zmoelnig schrieb:
> hi!
> 
> Gernot Tutner wrote:
>> hi pd-list!
>>
>> i've encountered the problem while trying to dynamically creating gui
>> objects that i cant set the size of the gui's. i've tried tgl and hradio.
>>
> 
> see http://puredata.info/docs/developer/fileformat

i know that.

> 
> i don't think that you can just skip the parameters that you are not
> interested in, you really have to specify all of them
> 
> like: "obj 50 100 tgl 5 0 none none none 0 0 0 0 0 1
> 2 0 0"

doesn't help. i was just to lazy to make an example-patch with all the 
parameters in the message-box.

actually if i send an message like "obj x y tgl" to my canvas i get a 
toggle with default parameter-values.

> 
> if you are unsure, it is always a good idea to just save the gui object
> with the properties you want to a file and copy (and adjust) the arguments.

i also know and tried that :-)

> 
> mfga
> IOhannes

thx, gernot




More information about the Pd-list mailing list