Create nice-looking GUI applications in Common Lisp

vindarel - May 27 '23 - - Dev Community

We can build interfaces looking like this:

The Forest ttk theme for Tcl/Tk

This is the Forest ttk theme. "ttk"? Yes, for Tcl/Tk! A lightweight and cross-platform GUI toolkit (and language). It doesn't have to look outdated!

Install the nodgui library with Quicklisp, clone a theme, load it and use it:

  (with-nodgui ()
    (eval-tcl-file "ttkthemes/ttkthemes/png/yaru/yaru.tcl")
    (use-theme "yaru")
Enter fullscreen mode Exit fullscreen mode

that's all there is to it.

The ttkthemes work: https://ttkthemes.readthedocs.io/en/latest/themes.html (just like with Python's Tkinter).

See more on the Cookbook and on Peter Lane's examples: https://peterlane.netlify.app/ltk-examples/

More screenshots and examples: https://github.com/vindarel/ltk-tests/, such as this toy media player:

A media player GUI in Lisp

. . . . . . . . . . . . . . . . . . . . .
Terabox Video Player