[PD] Possible to unselect radio buttons?

Steffen Leve Poulsen slagmark at worldonline.dk
Fri Dec 19 04:45:35 CET 2008


Hi Phil

here's one attached <bang-matrix.pd>

mvh/steffen leve poulsen

Phil Stone skrev:
> That's a pretty brilliant hack, Luke.  Thanks for the idea. 
> 
> 
> Phil
> 
> 
> Luke Iannini wrote:
>> Hi Phil!
>> I've hacked this in before by using a bunch of [moses] objects and
>> sending [color 1 1 1( etc. messages to the radio objects that are
>> supposedly "not selected" (which makes the radio indicator the same
>> color as the background so it looks like there's nothing there).
>>
>> I'd be happy to dig up a patch if you want to see a demo
>> (but of course some way to do this built in to the IEMgui would be
>> much faster : ) )
>>
>> Cheers
>> Luke
>>
>> On Thu, Dec 18, 2008 at 1:06 PM, Phil Stone <pkstone at ucdavis.edu> wrote:
>>   
>>> Is there any way to make there be *no* selection displayed in a radio
>>> button control?
>>>
>>> If not, this would be a very useful feature in that it would allow
>>> multiple banks of radio buttons to be tied together programatically.
>>> I.e., imagine a set of four hradio controls, stacked on top of each
>>> other.  Any selection in any of the four becomes the current selection,
>>> but also turns off all other banks' selection indicators.
>>>
>>> Whereas a single 64-position radio control would be awkward to deal with
>>> graphically, 8 rows of 8-pos. hradio controls would be nice and compact.
>>>
>>>
>>> Phil Stone
>>> www.pkstonemusic.com
>>>

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bang-matrix.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20081219/48060110/attachment.txt>


More information about the Pd-list mailing list