Web lists-archives.com

Re: advice sought for program with GUI




On Thu 28 Feb 2019 at 09:04:10 -0000, Curt wrote:

> On 2019-02-28, mick crane <mick.crane@xxxxxxxxx> wrote:
> > hello,
> > 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
> (jocular remark).

A default label used for a button can be overridden.
 
> curty@einstein:~$ apt-cache show dialog
> <snip>
>  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.

Alternatives are zenity and yad.

-- 
Brian.