well here is the brief concept:

it is a markup language for APP (NOT WEB) GUI’s, for Linux

but:

1: it does not have to depend on a single GUI Toolkit (GTK Or QT)

2: it depends on external Programs called “Translators” which translate the Markup language calls and whatever onto something your GUI Toolkit understands

3: it does not manage any form of functionality whatsoever, you have to depend on a another language to do that

what it aims to do:

sometimes a GTK app on a QT Desktop Environment

just does not match the theme

which that idea aims to solve

how would you fix it

  • TootSweet@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 days ago

    I’m still not fully understanding you, but if you’re building something, I’d like to suggest that you don’t make it yet another abstraction layer on top of things like QT or GTK. QT and GTK are really heavy and bloated already. Adding something on top will just compound the issue.

    I dunno. I personally don’t care enough about interface/look-and-feel consistency to think it warrants more computational complexity. I’m a big fan of applications that depend directly on things like XCB. I don’t know if there’s an equivalent to XCB for Wayland. I think mostly the Wayland people themselves recommend that people write client applicatons with QT or GTK or whatever, but if I found apps written directly against libwayland, I’d be inclined to prefer those over a QT or GTK alternative.

    • balsoft@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      3 days ago

      Wayland just gives you a buffer to write to, it doesn’t give you drawing primitives in the way XCB does. It’s kinda the point, and makes implementing display servers/compositors a lot simpler and easier, and most apps will be using some kind of non-XCB toolkit anyways.

      So if you’re making an app you do kinda need a toolkit, but it can be a very simple and lightweight one.

      • TootSweet@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 days ago

        most apps will be using some kind of non-XCB toolkit anyways.

        Not my favorites. I’m mostly thinking of the Suckless sort of tools. dmenu, st, dwm, etc.

        But yeah. If a toolkit is necessary for Wayland, then I’d love some extremely minimal options. Or better yet, exactly one minimal option so good that nobody ever feels the need for an alternative. (But that’s not going to happen. Heh.)

        I’ve poked a little bit at the Go GUI toolkit “Fyne”. It appears to use OpenGL/GLFW, which is kinda neat, I think. Looks like GLFW’s dependencies are indeed quite minimal.