You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
* 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).
|1 year ago|
|Makefile||1 year ago|
|README.md||1 year ago|
|main.go||1 year ago|
This example shows off the Menu, MenuButton, and MenuBar widgets.
- MenuButton is your basic button that pops up a Menu when clicked.
- MenuBar is a specialized Frame that attaches to the top of the parent (usually the window) and provides a simple API to add menus and items.
- Menu is the underlying "pop-up and select an item" widget.
From your terminal, just type
go run main.go or
make run from this