Re: [Matplotlib-users] Prompt in MPL - NEVER MIND

2007-07-02 Thread Matthias Michler
Hello everybody, first of all I hope my mails on the issue 'Prompt/TextBox/InputButton' don't become to many. But I had one more idea and I want to share it with you. If you don't like my usage of lists as a pointer to variables, one could replace this in two steps: 1) Adding a new method 'get

Re: [Matplotlib-users] Prompt in MPL - NEVER MIND

2007-06-27 Thread Matthias Michler
Hello everybody, in my last version I forgot to include a very useful function (it is comparable with the 'Button.on_clicked' function). I added it now. It allows the user to interact with other widgets ( I needed it to interact with the Silder) or his own program (e.g. updating external values

Re: [Matplotlib-users] Prompt in MPL - NEVER MIND

2007-06-26 Thread Matthias Michler
Hello John, Hello all, I thought once more about the textbox and added some of your (Johns) features to my class 'InputButton'. Probably my solution isn't the best possible, but I attached this version to express what I'm thinking of and to see what others think about my solution and needed ski

Re: [Matplotlib-users] Prompt in MPL - NEVER MIND

2007-06-06 Thread John Hunter
On 6/6/07, Matthias Michler <[EMAIL PROTECTED]> wrote: > By the way: What do you think about the "insert a 'l' or 'g' into your TextBox > and get a grid or log-scale"-issue? Is there a possibility to switch the > mpl-meaning of 'l', 'g' and 'f' off? Yes, this is clearly an issue that has to be de

Re: [Matplotlib-users] Prompt in MPL - NEVER MIND

2007-06-06 Thread Matthias Michler
Hello John, first of all thank you very much for adding this patch. By the way: What do you think about the "insert a 'l' or 'g' into your TextBox and get a grid or log-scale"-issue? Is there a possibility to switch the mpl-meaning of 'l', 'g' and 'f' off? best regards, Matthias On Wednesda

Re: [Matplotlib-users] Prompt in MPL - NEVER MIND

2007-06-06 Thread John Hunter
On 6/6/07, Matthias Michler <[EMAIL PROTECTED]> wrote: > Some time ago I posted a suggestion to that (subject: 'additional key > events'), which may be got lost among the lots of mpl-mails. > I just send the patch once more, because I think it would be helpful > for such a prompt. Thanks for the

Re: [Matplotlib-users] Prompt in MPL - NEVER MIND

2007-06-06 Thread Matthias Michler
Hello everybody, first of all I want to thank John for his work on the textbox - it really looks better than mine. On Tuesday 05 June 2007 19:16, Mark Bakker wrote: > I just saw in the code: > if event.key is None: # simulate backspace > So it works properly, > Mark In my opinion it would be a

Re: [Matplotlib-users] Prompt in MPL - NEVER MIND

2007-06-05 Thread Mark Bakker
I just saw in the code: if event.key is None: # simulate backspace So it works properly, Mark On 6/5/07, Mark Bakker <[EMAIL PROTECTED]> wrote: I notice the alignment problem. But it looks like you are close. On my machine (win32), the 'enter' key didn't work either. It works like a backspace.

Re: [Matplotlib-users] Prompt in MPL

2007-06-05 Thread Mark Bakker
I notice the alignment problem. But it looks like you are close. On my machine (win32), the 'enter' key didn't work either. It works like a backspace. That sounds like what Matthias reported. Mark On 6/5/07, John Hunter <[EMAIL PROTECTED]> wrote: On 6/5/07, John Hunter <[EMAIL PROTECTED]> wrote

Re: [Matplotlib-users] Prompt in MPL

2007-06-05 Thread John Hunter
On 6/5/07, John Hunter <[EMAIL PROTECTED]> wrote: > I worked on this some time ago, I never got to the point where I > thought it was ready for production but it is close. There is a > problem if usetex is enabled, because partial tex strings will cause > errors. But you can use it with regular

Re: [Matplotlib-users] Prompt in MPL

2007-06-05 Thread John Hunter
On 6/5/07, Mark Bakker <[EMAIL PROTECTED]> wrote: I think a prompt could be very useful in MPL, just to build small little GUI's that only need 1 or 2 boxes. I also realize it is not easy, and for bigger jobs you want a full GUI environment like wx or Tk anyway, so I understand it when developer

Re: [Matplotlib-users] Prompt in MPL

2007-06-05 Thread Mark Bakker
I think a prompt could be very useful in MPL, just to build small little GUI's that only need 1 or 2 boxes. I also realize it is not easy, and for bigger jobs you want a full GUI environment like wx or Tk anyway, so I understand it when developers set other priorities. Then again, I would really u