Back in the day, I used to really dislike anything TK related. It looked old and ugly.<p>Now it looks like a wonderful alternative to all the bloated, wasteful, Electron JS applications out there.
Includes beautiful modern themes, e.g. azure <a href="https://pkg.go.dev/modernc.org/tk9.0@v0.53.0/themes/azure" rel="nofollow">https://pkg.go.dev/modernc.org/tk9.0@v0.53.0/themes/azure</a>
Edit: CORRECTION! This is a person that used to use the cznic nickname, maybe because they worked in CZNIC for a while, but now goes by "modernc"<p>Seems like they've been involved in transpiling C projects, like TCK, to Go.<p>Some context: <a href="https://news.ycombinator.com/item?id=33197603">https://news.ycombinator.com/item?id=33197603</a><p>==previous message before my edit==<p>Oh, seems like this is made by CZNIC, the org that admins .cz TLD.<p>They've also done the Omnia Turris routers, KNOT DNS server or BIRD routing daemon...
As someone who doesn’t know a lot about go: why is CGo-free a feature? In what situations is CGo (which is basically just calling C libs from go, right?) bad?
Oh wow! This is super-cool.<p>It's too ugly for "general-purpose" apps, but it looks to be perfect for internal management apps (control panels, tools). I'm definitely going to try it for my key-management server.
How does this avoid Cgo? In the case of Ltk (FFI-free, Common Lisp bindings for Tcl/Tk), I know that the library communicates strings to a Tcl interpreter. This means no FFI is involved, but it does mean the user must have Tcl -- specifically, wish -- installed. Is there a similar requirement for this library?<p>Unfortunately, GitLab is locked behind Cloudflare turnstile and I can't access the source code.
I'm really impressed that it can render math from TeX input. Is this a common thing in GUI toolkits? My graphics experience is mostly limited to Java's Swing and OpenGL from my college days.
This looks perfect for my command line go app. I wanted to add config wizard all along.<p>One question though: app is primarily distributed through docker. Can docker app open a window somehow on all platforms? How?
How I wish andlibs/ui (actually native widgets) wasn’t abandoned in a half-done state. Now to build any GUI in Go that doesn’t look abominable I have to use Wails, this is no exception.
Hm... the examples look nice, but there are several examples that render graphics and/or text on a canvas. How about demonstrating more complex controls, e. g. list views?
Oh it's another of those modernc projects, where it's just C, transcompiled to go?<p>Yes, it is.<p><a href="https://gitlab.com/cznic/libtcl9.0/-/blob/master/libtcl9_0_linux_arm.go?ref_type=heads" rel="nofollow">https://gitlab.com/cznic/libtcl9.0/-/blob/master/libtcl9_0_l...</a><p>So the "actual source" is still C, but it is CGo-less. Which is neat? But I am not sure how it performs in bigger apps, what are its limitations, etc.
how does this handle state management and event delegation? As in, when state is modified in one control , it instantly updates in the other controls.<p>The examples show how to draw controls, but that’s the easiest and least interesting part of GUI apps
Figma killed the desktop app. I yearn for the good old days of standardized UI if I actually need to get shit done efficiently. Nowadays it's learning everything from either scratch; maybe if you're lucky, the designer put in some 'intuitive' (read 'fashionable') interactions.