Re: raw_input into Tkinter ?

2008-07-01 Thread s0suk3
On Jun 30, 11:55 am, [EMAIL PROTECTED] wrote: > Is there any way to type into a Tkinter frame window? > I want to use raw_input() within a Tkinter frame. import sys import Tkinter import cStringIO class GUIInputMgr(Tkinter.Entry): def __init__(self, parent): Tkinter.Entry.__init__(se

Re: raw_input into Tkinter ?

2008-07-01 Thread Sebastian "lunar" Wiesner
Matimus <[EMAIL PROTECTED]>: > On Jun 30, 9:55 am, [EMAIL PROTECTED] wrote: >> Is there any way to type into a Tkinter frame window? >> I want to use raw_input() within a Tkinter frame. > > `raw_input(prompt)` just calls `sys.stdout.write(prompt)` and returns > `sys.stdin.readline()`. It does mor

Re: raw_input into Tkinter ?

2008-07-01 Thread Python.Arno
On 30 jun 2008, at 18:55, [EMAIL PROTECTED] wrote: Is there any way to type into a Tkinter frame window? I want to use raw_input() within a Tkinter frame. -- http://mail.python.org/mailman/listinfo/python-list You could use the Tkinter.Entry option from dialog windows... http://www.pythonwa

Re: raw_input into Tkinter ?

2008-06-30 Thread Matimus
On Jun 30, 9:55 am, [EMAIL PROTECTED] wrote: > Is there any way to type into a Tkinter frame window? > I want to use raw_input() within a Tkinter frame. `raw_input(prompt)` just calls `sys.stdout.write(prompt)` and returns `sys.stdin.readline()`. So, you can just create file-like objects to replac

Re: raw_input into Tkinter ?

2008-06-30 Thread Sebastian "lunar" Wiesner
[EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Is there any way to type into a Tkinter frame window? Maybe using a proper text/line edit widget? > I want to use raw_input() within a Tkinter frame. The builtin raw_input is for console input only. Of course, one could implement a raw_input using a Tki

raw_input into Tkinter ?

2008-06-30 Thread jamitwidme
Is there any way to type into a Tkinter frame window? I want to use raw_input() within a Tkinter frame. -- http://mail.python.org/mailman/listinfo/python-list