[PD] open a subpatch with toxy
m.weiss
weiss at weiss-archiv.de
Mon Dec 18 22:02:34 CET 2006
salut
ive played a little bit and found
this by trial and error
patch is attached
maybe it is possible to make this more elegant?
gruss
m.weiss
Patco schrieb:
> m.weiss a écrit :
>
>> Patco schrieb:
>>
>>>>
>>>>> m.weiss a écrit :
>>>>>
>>>>>>
>>>>>> opening a subpatch or window in pd makes this growin bigger each
>>>>>> time it is opened
>>>
>>>
>>> hello,
>>>
>>> I believe that the problemcomes from those lines in pd.tk:
>>>
>>> Line 863:
>>>
>>> # slide offscreen windows into view
>>> if {$tcl_version >= 8.4} {
>>> set geometry [split $geometry +]
>>> set i 1
>>> foreach geo {width height} {
>>> set screen($geo) [winfo screen$geo .]
>>> if {[expr [lindex $geometry $i] + [set $geo]] >
>>> $screen($geo)} {
>>> set pos($geo) [expr $screen($geo) - [set $geo]]
>>> if {$pos($geo) < 0} {set pos($geo) 0}
>>> lset geometry $i $pos($geo)
>>> }
>>> incr i
>>> }
>>> set geometry [join $geometry +]
>>> }
>>>
>>> I tried to modify this code but I would have lucky if it worked,
>>> maybe someone could fix this?
>>> Patco
>>
>> yes
>> would be great
>> thanks
>> m.weiss
>>
>>
>>
> Ah, maybe I should post it in the bug tracker, but actually I don't care
> anymore because I don't know yet how to fix this, damned lazyness, eh...
> best,
> patco.
>
>
>
>
>
> ___________________________________________________________________________
> Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son
> interface révolutionnaire.
> http://fr.mail.yahoo.com
>
>
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tot_configure.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20061218/4d7bae08/attachment.txt>
More information about the Pd-list
mailing list