[PD] a patch closing itself

Hans-Christoph Steiner hans at eds.org
Tue Nov 6 18:44:21 CET 2007


This patch crashes on Pd-0.40-2 on Mac OS X:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind.pd
Type: application/octet-stream
Size: 741 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20071106/ea61cb10/attachment.obj>
-------------- next part --------------

I think the bug is that if it is triggered by user clicks, it works  
fine, but if it is triggered in a patch, then it crashes.

.hc

On Nov 6, 2007, at 3:58 AM, Enrique Erne wrote:

> menuclose from within a patch crashes extended but it works in  
> vanilla pd.
>
>
> On Die Nov  6  4:24 , marius schebella  sent:
>
>> I think that causes pd to crash. you have to send the message to some
>> parent patch, together with the name of the patch, that should be
>> closed, and do the menuclose from there with a dalay 0.
>> marius.
>>
>> Hans-Christoph Steiner wrote:
>>> I just thought of a very useful reason to be able to use [menuclose
>>> ( to close the current patch.  If we replace things like the find
>>> panel, preferences, etc with pd patches, then they should be able to
>>> close themselves so you can do things like bind Return/Enter to "OK"
>>> and Esc to "Cancel".
>>>
>>> Has anyone found a way to do this?
>>>
>>> .hc
>>>
>>> -------------------------------------------------------------------- 
>>> ----
>>> ----
>>>
>>> If nature has made any one thing less susceptible than all others of
>>> exclusive property, it is the action of the thinking power called an
>>> idea, which an individual may exclusively possess as long as he  
>>> keeps
>>> it to himself; but the moment it is divulged, it forces itself into
>>> the possession of everyone, and the receiver cannot dispossess
>>> himself of it.            - Thomas Jefferson
>>>
>>>
>>>
>>> _______________________________________________
>>> PD-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
>>> listinfo/pd-list
>>>
>>
>>
>> _______________________________________________
>> PD-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
>> listinfo/pd-list
>



------------------------------------------------------------------------ 
----

Man has survived hitherto because he was too ignorant to know how to  
realize his wishes.  Now that he can realize them, he must either  
change them, or perish.    -William Carlos Williams




More information about the Pd-list mailing list