wlk

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2023 License: BSD-3-Clause, MIT

README

wlk

Based on abandoned lxn/walk and fork tailscale/walk, simplified and modernized

Majority of this code can be sourced to:

Check out the LICENSE file for more information, or AUTHORS for a list of contributors.

Why Wlk?

Windows users love the GUI. OSX and linux users tend to prefer cli, especially if devs. I don't need a cross-platform, electron/HTML powered GUI. I just need a windows app that renders what go is doing. Walk felt the right way to take it, wlk takes it a bit further.

Examples

Check out # examples to check out how the library looks.

There are many, many warnings for how old walk is. I'm slowly going through and cleaning them up.

Dark Mode ?

This is work in progress.

  • Dark Mode is opt in via walk.SetDarkModeAllowed(true). This is disabled by default, and should be called before any other walk functions to ensure proper painting.
  • Dark Mode is detected via registry
  • Theme changing (Light Mode / Dark Mode) subscription/notification is not implemented
  • Overhaul all components to default to dark mode if enabled on initialization

Directories

Path Synopsis
cpl
dpicache
Package dpicache provides a type-agnostic cache for structures whose data must be adjusted for various DPI settings.
Package dpicache provides a type-agnostic cache for structures whose data must be adjusted for various DPI settings.
idalloc
Package idalloc provides a simple bitmap allocator for ID values.
Package idalloc provides a simple bitmap allocator for ID values.
examples
actions command
clipboard command
close command
databinding command
drawing command
dropfiles command
externalwidgets command
filebrowser command
imageicon command
imageview command
imageviewer command
linklabel command
listbox command
logview command
multiplepages command
notifyicon command
radiobutton command
settings command
slider command
statusbar command
This example demonstrates the status bar, including a size gripper attached to the bottom of the main window.
This example demonstrates the status bar, including a size gripper attached to the bottom of the main window.
tableview command
taskdialog command
webview command
webview_events command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL