DEV Community


Posted on

Create nice-looking GUI applications in Common Lisp

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: (just like with Python's Tkinter).

See more on the Cookbook and on Peter Lane's examples:

More screenshots and examples:, such as this toy media player:

A media player GUI in Lisp

Top comments (1)

vindarel profile image

By the way, the yaru theme is now shipped by default in Nodgui, we don't need the eval-tcl-file step, ony "use-theme".