walk
walk copied to clipboard
A Windows GUI toolkit for the Go Programming Language
Per [this discussion](https://github.com/tailscale/walk/pull/59#discussion_r1561541805), we still have room for improvement concerning app init. Ideally we'd have `walk.App()` callable from within appInits, and still have some sort of mutual exclusion around `InitApp`...
In the review for [this PR](https://github.com/tailscale/walk/pull/59), @nickkhyl points out that it would be nice if `AppendToWalkInit` could accept functions that return `error`s so that failures could be propagated up to...
This is just unsafe. Now that we're able to recycle action IDs, I can't see a reason to keep it. Let's use the GC: add finalizers to `Action` that synchronize...
This was based on an issue on the lxn main repo. This example shows how you can handle close messages and "cleanly" shut down locally via a context cancellation. Since...
eg let's say I've got an `HICON` from something (maybe I created it myself via `CreateIcon`) and create a `*walk.Icon` from it. Walk doesn't handle dpi scaling etc like it...
eg Tailscale's device menu on large tailnets. The scroll buttons are tiny. I'm not even sure how owner-drawn menus deal with this... or even if they can.
Right now there's no way that I can see to do this because `HWND_MESSAGE` is a special `HWND` value which cannot be made into a `walk.Window`.
Handy for painting on glass (or what counts as glass these days)
If I need the dimensions of something but Walk hasn't laid out yet, I want to initiate that immediately. Furthermore, I want to be notified ASAP once the layout has...
It would be nice to be able to create a `MainWindow` that still has all the things that we expect from one, but allows us to selectively disable things. In...