Hand-written minimal GTK4 binding (one dispatch callback, tag table, signal suppression during programmatic updates) and the GUI: Playback, Recording, Output Devices and Input Devices tabs with linked volume sliders up to 150%, mute, default-device toggle and per-stream device selector, updated live by diffing view rows. Includes a .desktop file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
395 B
Plaintext
14 lines
395 B
Plaintext
// Minimal hand-written GTK4 binding (native only). See gtk_stub.c.
|
|
import {
|
|
"moonbitlang/core/encoding/utf8",
|
|
}
|
|
|
|
supported_targets = "-all+native"
|
|
|
|
options(
|
|
"native-stub": [ "gtk_stub.c" ],
|
|
// moon does not expand $(pkg-config ...) in flags; tools/pkg-cc appends
|
|
// `pkg-config --cflags --libs` for PipeWire, WirePlumber and GTK4.
|
|
link: { "native": { "stub-cc": "tools/pkg-cc" } },
|
|
)
|