[PD-dev] pdtk_canvas_click and focus

Hans-Christoph Steiner hans at eds.org
Mon Oct 29 23:24:38 CET 2007


Anyone know why the focus statement below only applies to GNU/Linux?   
This would make life much easier on Mac OS X when writing GUIs that  
handle focus:

proc pdtk_canvas_click {name x y b f} {
     global pd_nt
     if {$pd_nt == 0} {focus $name}
     pd [canvastosym $name] mouse [$name canvasx $x] [$name canvasy  
$y] $b $f \;
}

.hc



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

I have the audacity to believe that peoples everywhere can have three  
meals a day for their bodies, education and culture for their minds,  
and dignity, equality and freedom for their spirits.      - Martin  
Luther King, Jr.






More information about the Pd-dev mailing list