Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #197176

Re: Tools to help with text mode (i.e. non-GUI) input

From Chris Green <cl@isbd.net>
Newsgroups comp.lang.python
Subject Re: Tools to help with text mode (i.e. non-GUI) input
Date 2025-01-14 09:15 +0000
Message-ID <lhmh5l-rhnv.ln1@q957.zbmc.eu> (permalink)
References <2113dab2-59ba-408e-b34a-78722d525f8c@yahoo.co.uk> <3ab7002b-689d-4609-96d7-bb388513f227@yahoo.co.uk> <4YX8tK2xv4znb1c@mail.python.org> <0c3821d3-78c1-45c0-81da-81f9fb4c4f02@yahoo.co.uk> <mailman.70.1736844978.2912.python-list@python.org>

Show all headers | View raw


Alan Gauld <learn2program@gmail.com> wrote:
> On 14/01/2025 00:20, Grant Edwards via Python-list wrote:
> > On 2025-01-13, Alan Gauld via Python-list <python-list@python.org> wrote:
> > 
> >> All of that is possible in curses, you just have to code it.
> > 
> > All of that is easy with curses in C.  Unfortunately, the high level
> > "panel" and "menu" curses subystems that make it easy aren't included
> > in the Python curses API,
> 
> panel is included. Just import curses.panel.
> 
> menu unfortunately isn't but it's not difficult to roll
> your own by creating a window with a list of options, provided
> you don't try to get too fancy(submenus etc).
> 
Yes, thanks all, maybe just straightforward curses is the way to go.
Looking at some of the 'cleverer' ones they end up looking remarkably
like GUI code, in which case I might as well use a GUI. I have written
a (fairly simple) Gtk based python program, I was just trying to avoid
all the GUI overheads for a little new project.

-- 
Chris Green
ยท

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: Tools to help with text mode (i.e. non-GUI) input Alan Gauld <learn2program@gmail.com> - 2025-01-14 08:56 +0000
  Re: Tools to help with text mode (i.e. non-GUI) input Chris Green <cl@isbd.net> - 2025-01-14 09:15 +0000
    Re: Tools to help with text mode (i.e. non-GUI) input Grant Edwards <grant.b.edwards@gmail.com> - 2025-01-14 19:54 -0500
    Re: Tools to help with text mode (i.e. non-GUI) input Alan Gauld <learn2program@gmail.com> - 2025-01-16 01:06 +0000

csiph-web