User interface toolkit for Go with support for SDL2 and HTML Canvas render targets.
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.
 
 
 
 
 
Noah Petherbridge 07cefb6499 Menus and Menu Bars 1 year ago
..
Makefile Menus and Menu Bars 1 year ago
README.md Menus and Menu Bars 1 year ago
main.go Menus and Menu Bars 1 year ago

README.md

Menu Example

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.

Running It

From your terminal, just type go run main.go or make run from this example's directory.

Screenshots

Screenshot 1

Screenshot 2