This is a collection of modules that I've released over the years. Most of them stand alone, or have just one or two dependencies in here, so you don't have to download this whole repo.
I'm creating a checkbox in a vertical layout inside a scrollable widget on windows, but when I try to click it, nothing changes and the event isn't triggered.
Code:
auto window = new MainWindow();
auto scroll = new ScrollableWidget(window);
auto list = new VerticalLayout(scroll);
auto cb = new Checkbox("active", list);
cb.addEventListener(EventType.change, (v) {
writeln("change to ", cb.isChecked);
});
window.loop();
I'm creating a checkbox in a vertical layout inside a scrollable widget on windows, but when I try to click it, nothing changes and the event isn't triggered.
Code: