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


Groups > linux.debian.user > #205800

Re: advice sought for program with GUI

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: advice sought for program with GUI
Date 2019-02-28 09:50 +0100
Message-ID <xwpy9-23f-1@gated-at.bofh.it> (permalink)
References <xwp58-1Tg-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Thu, Feb 28, 2019 at 08:10:41AM +0000, mick crane 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 are many. For small and simple things, I *love* Tcl/Tk (which is
nicely packaged for Debian). A bit aged, but: very nice integration
of language and GUI toolkit; having been starved from developer power
for some time, its main designers were forced to take clever decisions
(which they did), and it shows.

There's also TkInter -- Tk bindings for Python. It was for some time
the "official" Python GUI

On the other end of the scala there are Gtk and Qt, with bindings to
many languages (C, Perl, Python, etc.); heavyweight, but if you are
aiming at a bigger project definitely worth considering.

Some Tk resources:

  https://wiki.tcl.tk/
  https://en.wikipedia.org/wiki/Tk_(software)
  https://wiki.python.org/moin/TkInter
  https://tkdocs.com/tutorial/widgets.html (recommended: 4 language bindings)

As an appetizer, and to show how language and widget set integrate,
(and the canvas: ah, the wonderful Tk canvas), here's a bidirectional
analog clock in under 30 lines:

  https://wiki.tcl-lang.org/page/counterclock

Enjoy
-- tomás

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

advice sought for program with GUI mick crane <mick.crane@gmail.com> - 2019-02-28 09:20 +0100
  Re: advice sought for program with GUI <tomas@tuxteam.de> - 2019-02-28 09:50 +0100
  Re: advice sought for program with GUI Curt <curty@free.fr> - 2019-02-28 10:10 +0100
    Re: advice sought for program with GUI Brian <ad44@cityscape.co.uk> - 2019-02-28 10:50 +0100
      Re: advice sought for program with GUI Curt <curty@free.fr> - 2019-02-28 11:30 +0100
        Re: advice sought for program with GUI Brian <ad44@cityscape.co.uk> - 2019-02-28 12:50 +0100
  Re: advice sought for program with GUI <tomas@tuxteam.de> - 2019-02-28 10:20 +0100
    Re: advice sought for program with GUI "Thomas Schmitt" <scdbackup@gmx.net> - 2019-02-28 12:50 +0100
      Re: advice sought for program with GUI <tomas@tuxteam.de> - 2019-02-28 13:10 +0100
  Re: advice sought for program with GUI "Thomas Schmitt" <scdbackup@gmx.net> - 2019-02-28 10:20 +0100

csiph-web