Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you make a tutorial? #15

Open
Filipp-Druan opened this issue Mar 18, 2023 · 3 comments
Open

Can you make a tutorial? #15

Filipp-Druan opened this issue Mar 18, 2023 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@Filipp-Druan
Copy link

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!
@bohonghuang
Copy link
Owner

  • 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.

@bohonghuang bohonghuang added the documentation Improvements or additions to documentation label Mar 18, 2023
@bigos
Copy link

bigos commented Mar 18, 2023

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?

@davidbe
Copy link

davidbe commented Mar 24, 2023

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 :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants