Noah Petherbridge
07cefb6499
* New and completed widgets: Menu, MenuButton and MenuBar. * MenuButton is a kind of Button that opens a popup Menu when clicked. * MenuBar is a container of buttons designed to be attached to the top of an application window ("File, Edit, View, Help") * Supervisor manages the popup menus with its new concept of a Modal Widget. Modal widgets take exclusive event priority for all mouse and key events. The pop-up menu is a modal window, which means you must click an option inside the menu OR clicking outside the menu will close it and eat your click event (widgets outside the modal don't receive events, but the modal itself gets an event that you've done this).
12 lines
177 B
Makefile
12 lines
177 B
Makefile
.PHONY: run
|
|
run:
|
|
go run main.go
|
|
|
|
.PHONY: wasm
|
|
wasm:
|
|
GOOS=js GOARCH=wasm go build -v -o windows.wasm main_wasm.go
|
|
|
|
.PHONY: wasm-serve
|
|
wasm-serve: wasm
|
|
../wasm-common/serve.sh
|