[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] text input field



How to make a text input field in pygame?

Depending on the context, you may want to use Tkinter: http://docs.python.org/lib/module-Tkinter.html

Tkinter may be better for complex GUIs. I really don't recommend mixing Tkinter and SDL in the same window; however, I would guess that you'll be okay if you use them in seperate windows.

--
   Dijkstra probably hates me.
    - one of Linus Torvalds' comments in in kernel/sched.c
      (Dijkstra was a pioneer in computer operating systems.)