Documentation ¶
Index ¶
- Variables
- func NewImageMenu(ctx context.Context) *menu.MenuItem
- func NewWindowMenu(ctx context.Context) *menu.MenuItem
- type Menu
- func (m *Menu) Add(label string, click menu.Callback) *menu.MenuItem
- func (m *Menu) AddSeparator()
- func (m *Menu) AddSubmenu(label string) *menu.Menu
- func (m *Menu) AddText(label string) *menu.MenuItem
- func (m *Menu) BindKey(label string, accelerator *keys.Accelerator)
- func (m *Menu) Build() *menu.MenuItem
- func (m *Menu) Remove(label string)
- func (m *Menu) Reset()
Constants ¶
This section is empty.
Variables ¶
View Source
var (
AlwaysOnTop = true
)
Functions ¶
Types ¶
type Menu ¶
type Menu struct {
// contains filtered or unexported fields
}
func (*Menu) AddSeparator ¶
func (m *Menu) AddSeparator()
Click to show internal directories.
Click to hide internal directories.