Re: [PD] who is using [entry]?

2007-11-26 Thread Hans-Christoph Steiner
FYI: I have shifted development to the tkwidgets version currnetly called [text]. I've stopped working on the original [entry]. tkwidgets should be built and included in tomorrow's nightly build, or you can build from source in 'externals/tkwidgets'. [key %( and [key ~( are working for

Re: [PD] who is using [entry]?

2007-11-26 Thread Mike McGonagle
Thanks Hans, I think I have a working external for use with SQLite standalone, now it is time to tackle the libdbi version (I need to figure out why Fink is dysfunctional and won't let me finish the libdbi install). Thanks for your help on this. Mike On Nov 26, 2007 2:34 PM, Hans-Christoph

Re: [PD] who is using [entry]?

2007-11-26 Thread Mathieu Bouchard
On Mon, 26 Nov 2007, Hans-Christoph Steiner wrote: [key %( and [key ~( are working for me, but the others are not. I'll see about implementing the symbolic names for everything (i.e. rightbracket, doublequote, etc.). watch out if you are using tcl's [eval]: it will parse the string as tcl

Re: [PD] who is using [entry]?

2007-11-26 Thread Hans-Christoph Steiner
So are these going to be separate objects? It seems that it would be possible to make the embedded sqlite deterministic, but the libdbi object should be organized around the idea that the response time is not known (i.e. it's not going to happen in one Pd clock tick). Then it'll be

Re: [PD] who is using [entry]?

2007-11-26 Thread Hans-Christoph Steiner
Actually the only tricky one is {. Anyone have any ideas how to send a { to the text widget? Here's my latest attempt: sys_vgui(%s insert end \{\\n, x-widget_id-s_name); .hc On Nov 26, 2007, at 6:10 PM, Mathieu Bouchard wrote: On Mon, 26 Nov 2007, Hans-Christoph Steiner wrote:

Re: [PD] who is using [entry]?

2007-11-26 Thread Mike McGonagle
On Nov 26, 2007 5:50 PM, Hans-Christoph Steiner [EMAIL PROTECTED] wrote: So are these going to be separate objects? It seems that it would be possible to make the embedded sqlite deterministic, but the libdbi object should be organized around the idea that the response time is not known (

Re: [PD] who is using [entry]?

2007-11-19 Thread Mathieu Bouchard
On Tue, 13 Nov 2007, Hans-Christoph Steiner wrote: I want to keep the same names as the Tk widgets The Tk Widget names are routinely adapted to naming conventions of various programming languages. Thus button may change to Button, TkButton, Tk::Button, tk.Button or tk.button depending on

Re: [PD] who is using [entry]?

2007-11-19 Thread Hans-Christoph Steiner
I cc'ed the list since it's of general interest. This message is called [append( for lists/atoms and [key( for individual keystrokes (i.e. space makes a space char). .hc On Nov 19, 2007, at 4:17 PM, Mike McGonagle wrote: Hans, I was wondering if it would be possible to add some messages

Re: [PD] who is using [entry]?

2007-11-19 Thread Mike McGonagle
Thanks, Hans, once again, I hit just reply instead of reply to all... I did a quick test on the key message, and it appears that some keys are still not allowed. Such things as a double quote (), a percent sign (%), and left bracket ([) (but it does allow a right bracket), the backslash (\) and a

Re: [PD] who is using [entry]?

2007-11-19 Thread Hans-Christoph Steiner
I plan to support all of the Tk key symbols in that [key( message but I haven't found an easy way to do that yet. Here's the list of symbols used for keys in Tcl/Tk: http://tcl.tk/man/tcl8.4/TkCmd/keysyms.htm Basically, in Tcl, I need a way to insert the character using the key

Re: [PD] who is using [entry]?

2007-11-14 Thread Frank Barknecht
Hallo, Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote: I want to keep the same names as the Tk widgets, that's why I chose that name. That way it's very easy to use the Tk docs for these widgets. The options are the same too. It will be in the lib tkwidgets, so

Re: [PD] who is using [entry]?

2007-11-14 Thread Patrice Colet
Hans-Christoph Steiner a écrit : On Nov 13, 2007, at 6:54 PM, Frank Barknecht wrote: Hallo, Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote: Now I am going to apply what I have learned to a how library based on the Tk widgets. I am naming them after the Tk widgets, so

Re: [PD] who is using [entry]?

2007-11-14 Thread dmotd
ya, i second franks suggestion of prepending a 'tk' to the object, this seems quite self explanitory. a tk.text would work for me, afterall these are quite explicit tk objects and would have no use outside of the tk environment. i'm not sure about a '/' however as it may confuse the

Re: [PD] who is using [entry]?

2007-11-14 Thread Hans-Christoph Steiner
On Nov 14, 2007, at 8:14 AM, Patrice Colet wrote: Hans-Christoph Steiner a écrit : On Nov 13, 2007, at 6:54 PM, Frank Barknecht wrote: Hallo, Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote: Now I am going to apply what I have learned to a how library based on the Tk

Re: [PD] who is using [entry]?

2007-11-14 Thread Tim Boykett
hi all, maybe a silly question, but: might it be feasible to use something like tk_text as the name so as to make it obvious which one is being used without having to fight with the namespace issues? this has probably been discussed to death in the namespace conversation a few months ago

Re: [PD] who is using [entry]?

2007-11-14 Thread Hans-Christoph Steiner
On Nov 14, 2007, at 1:54 PM, Mike McGonagle wrote: On 11/14/07, Hans-Christoph Steiner [EMAIL PROTECTED] wrote: Right, not directly. This hopefully will allow people to do things like write SQL queries in [text] or have a chat app that allows all punctuation. Since each key typed outputs

Re: [PD] who is using [entry]?

2007-11-14 Thread Frank Barknecht
Hallo, Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote: AFAIK, there is no existing [text] object besides in the internal routine inside of Pd. I think, crossing fingers is not really an appropriate way to deal with nameclashes. ;) While there is no [text] afaik, there

[PD] who is using [entry]?

2007-11-13 Thread Hans-Christoph Steiner
For the next step in the tkwidgets library is converting [entry], which I have done a lot of work on, to [text], following the Tk widget name. (It turns out that entry is a different Tk widget). Now I am going to apply what I have learned to a how library based on the Tk widgets. I am

Re: [PD] who is using [entry]?

2007-11-13 Thread Roman Haefeli
On Tue, 2007-11-13 at 15:53 -0500, Hans-Christoph Steiner wrote: For the next step in the tkwidgets library is converting [entry], which I have done a lot of work on, to [text], following the Tk widget name. (It turns out that entry is a different Tk widget). Now I am going to apply

Re: [PD] who is using [entry]?

2007-11-13 Thread Hans-Christoph Steiner
On Nov 13, 2007, at 6:54 PM, Frank Barknecht wrote: Hallo, Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote: Now I am going to apply what I have learned to a how library based on the Tk widgets. I am naming them after the Tk widgets, so that would mean making an object