Re: advice sought for program with GUI
- Date: Thu, 28 Feb 2019 09:04:10 -0000 (UTC)
- From: Curt <curty@xxxxxxx>
- Subject: Re: advice sought for program with GUI
On 2019-02-28, mick crane <mick.crane@xxxxxxxxx> wrote:
> I'm not very good at this stuff, have remembered bits here and there.
> Memory seems no so good these days.
> I've done pieces of simple calculations on 2D images in the past but
> when I go back and look at them think " now what does that do and what
> did I type to make it work".
> I'm thinking that if I do something now I should make a little GUI with
> buttons to click on that are self explanatory.
> I know nothing about that.
> Is that Gtk or ncurses or something ?
> pointers to what's needed appreciated.
There's 'dialog'. Not sure it can do self-explanatory buttons, though
curty@einstein:~$ apt-cache show dialog
This application provides a method of displaying several different types
of dialog boxes from shell scripts. This allows a developer of a script
to interact with the user in a much friendlier manner.
The following types of boxes are at your disposal:
yes/no Typical query style box with "Yes" and "No" answer buttons
menu A scrolling list of menu choices with single entry selection
input Query style box with text entry field
message Similar to the yes/no box, but with only an "Ok" button
text A scrollable text box that works like a simple file viewer
info A message display that allows asynchronous script execution
checklist Similar to the menu box, but allowing multiple selections
radiolist Checklist style box allowing single selections
gauge Typical "progress report" style box
tail Allows viewing the end of files (tail) that auto updates
background tail Similar to tail but runs in the background.
editbox Allows editing an existing file
When you have fever you are heavy and light, you are small and swollen, you
climb endlessly a ladder which turns like a wheel.
Jean Rhys, Voyage in the Dark