Hi,
Here's the biggest snag that I get when using the gui-rewrite branch: moving with arrows when typing text, object or comment, is completely jacked. The arrows seem to be handled differently now - in extended, [key] doesn't give any output for arrows, but in gui rewrite it gives 63232 - 63235. Any arrow key adds a space to the end of the object name, but does not move the cursor position within the text.
I am trying to familiarize myself with the tcl/gui code so I can help, but I can't see where this should be handled (pd_bindings.tcl or pdtk_text.tcl?). Any suggestions?
This is in OS X 10.6 Snow Leopard.
- rich
Strange, moving with arrows and getting arrow key names from [keyname] works fine in 10.5. 10.6 uses TkCocoa while earlier versions of Tcl/ Tk use TkCarbon. It would be worth asking on the tcl-mac list.
For the object/message boxes, the bindings are set in pdtk_text.tcl in pdtk_text_new since the bindings apply directly to only that given box. pd_bindings.tcl is for all of the bindings related to the menubar and windows. Its not perfectly organized for sure, I am certainly open to suggestions as to how things could be better organized.
Also, I'm in #dataflow a fair amount if you ever want to ping me with questions like these.
.hc
On Jan 1, 2010, at 9:10 AM, Rich E wrote:
Hi,
Here's the biggest snag that I get when using the gui-rewrite branch: moving with arrows when typing text, object or comment, is completely jacked. The arrows seem to be handled differently now - in extended, [key] doesn't give any output for arrows, but in gui rewrite it gives 63232 - 63235. Any arrow key adds a space to the end of the object name, but does not move the cursor position within the text.
I am trying to familiarize myself with the tcl/gui code so I can help, but I can't see where this should be handled (pd_bindings.tcl or pdtk_text.tcl?). Any suggestions?
This is in OS X 10.6 Snow Leopard.
- rich
Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
----------------------------------------------------------------------------
"It is convenient to imagine a power beyond us because that means we don't have to examine our own lives.", from "The Idols of Environmentalism", by Curtis White