Skip to content

Files

Latest commit

ff76b83 · Jun 3, 2021

History

History

menus

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 4, 2020
Jun 3, 2021
Jun 4, 2020
Jun 3, 2021

Menu Example

Screenshot

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