menubar

package
v0.0.39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MenuItem struct {
	Title    string
	Shortcut int
	Flags    int
	Callback func()
	Children []MenuItem
}

type UIContextMenu

type UIContextMenu struct {
	// contains filtered or unexported fields
}

func NewUIContextMenu

func NewUIContextMenu(r *foundation.Rect) *UIContextMenu

func (*UIContextMenu) Popup

func (m *UIContextMenu) Popup()

func (*UIContextMenu) Raw

func (*UIContextMenu) SetMenu

func (m *UIContextMenu) SetMenu(items []MenuItem)

func (*UIContextMenu) View

func (m *UIContextMenu) View() *view.UIView

type UIMenuBar

type UIMenuBar struct {
	// contains filtered or unexported fields
}

func NewUIMenuBar

func NewUIMenuBar(r *foundation.Rect) *UIMenuBar

func (*UIMenuBar) Raw

func (m *UIMenuBar) Raw() *fltk_bridge.MenuBar

func (*UIMenuBar) SetMenu

func (m *UIMenuBar) SetMenu(items []MenuItem)

func (*UIMenuBar) View

func (m *UIMenuBar) View() *view.UIView

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL