Giter Club home page Giter Club logo

Comments (5)

bohonghuang avatar bohonghuang commented on July 19, 2024

Could you please clarify what you mean by "complex UI"? In fact, if you want to create a new widget in GTK, it is also done by using Cairo for drawing. However, currently, subclassing a GObject class in Lisp is not supported at present.

from cl-gtk4.

bigos avatar bigos commented on July 19, 2024

from cl-gtk4.

bohonghuang avatar bohonghuang commented on July 19, 2024

If you want to create complex applications like games, Cairo may not be the best choice, and an immediate UI based on OpenGL might better suit your needs. In OpenGL, you have the ability to draw any control you want and handle complex mouse or keyboard interactions on your own.

raygui

GTK supports creating an OpenGL context, and you can also use a lighter-weight library like GLFW. Common Lisp has mature bindings for these libraries as well.

from cl-gtk4.

bigos avatar bigos commented on July 19, 2024

Yes, but following discussions here:https://github.com/kaveh808/kons-9/discussions, I can see other issues. I was wondering how far I can go with Cairo before I need to switch to GLFW. And how can I test the underlying model without using Gtk.

Maybe that is a speculation outside the scope of your project.

Please feel free to close the issue.

from cl-gtk4.

bohonghuang avatar bohonghuang commented on July 19, 2024

Maybe that is a speculation outside the scope of your project.

Yes, but at the same time, I'm glad to see your attempts in this regard.

from cl-gtk4.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.