• @[email protected]
    link
    fedilink
    English
    32 years ago

    I use slint. You can also use the rust bindings to GTK. There are a list of Rust GUI libs/frameworks at https://areweguiyet.com/

    It allows compiling to WASM too and being embedded in websites, but I haven’t had time to figure that out yet.

    • Turun
      link
      fedilink
      32 years ago

      How do you like the language to define the layout?

      I’m always wary of DSLs.

      • @[email protected]
        link
        fedilink
        English
        22 years ago

        It’s quite alright and I find it intuitive. For my needs, simple, fast UIs with async support, it’s perfectly alright.

        The biggest problem I have is creating completely new UI elements (or components, as they are called in slint) from scratch. You can combine elements and make new ones, but if you want to create something completely new for example some new animation, or render graphs, or something, you’re going to have a bad time.

        • Turun
          link
          fedilink
          22 years ago

          Thanks for your impression.

          I’ve used egui twice now and there creation of custom components is easy and encouraged. I adapted a drop down menu to better suit my needs (typed input get highlighted in the available options) and it was easy to do so.