cl-gtk4
cl-gtk4 copied to clipboard
Can you make a tutorial?
Hello! I really need a tutorial, thet would help my figure out how to deal with the Lisp version of the library using the official documentation for GTK4, which uses C. There are following questions:
- What macros and functions were written in Lisp for Lisp version of GTK4&
- What package are needed for what? Thanks!
- What macros and functions were written in Lisp for Lisp version of GTK4&
Some macros haven't been well-documented, which I will improve in the future, but at present, you can refer to GTK API reference and check out the conversion rules for these APIs. For the usage of them, see the examples written with cl-gtk4
.
- What package are needed for what?
Other than the Lisp packages available on Ultralisp, the only required external package is gtk4
, which is installable via your system package manager.
https://github.com/bigos/Pyrulis/blob/master/Lisp/cl-gtk4-tictactoe.lisp Could something simpler than that be a basis of a tutorial?
Would you help someone to make a tutorial for you?
I'd like to see a simple standalone example too. I'm relative new to common lisp, but not to gtk.
I started a new project with cl-project, but I'm missing something. I just copied the 'simple example' "define-application" to main.lisp, when evaluating, I get the error that the variable SIMPLE unbound is.
So yes, a starting example would suit me well :-)