Documentation
¶
Index ¶
- func CloseKeyWindowHandler()
- func CloseKeyWindowValidator() bool
- func CopyHandler()
- func CopyValidator() bool
- func CutHandler()
- func CutValidator() bool
- func DeleteHandler()
- func DeleteValidator() bool
- func FillMenuBar(bar *webapp.MenuBar, aboutHandler, prefsHandler func(), includeDevTools bool)
- func InsertCloseKeyWindowItem(menu *webapp.Menu, beforeIndex int)
- func InsertCopyItem(menu *webapp.Menu, beforeIndex int)
- func InsertCutItem(menu *webapp.Menu, beforeIndex int)
- func InsertDeleteItem(menu *webapp.Menu, beforeIndex int)
- func InsertMinimizeItem(menu *webapp.Menu, beforeIndex int)
- func InsertPasteItem(menu *webapp.Menu, beforeIndex int)
- func InsertQuitItem(menu *webapp.Menu, beforeIndex int)
- func InsertSelectAllItem(menu *webapp.Menu, beforeIndex int)
- func InsertZoomItem(menu *webapp.Menu, beforeIndex int)
- func MinimizeHandler()
- func MinimizeValidator() bool
- func NewAppMenu(aboutHandler, prefsHandler func()) *webapp.Menu
- func NewEditMenu(prefsHandler func()) *webapp.Menu
- func NewFileMenu() *webapp.Menu
- func NewHelpMenu(aboutHandler func(), includeDevTools bool) *webapp.Menu
- func NewWindowMenu() *webapp.Menu
- func PasteHandler()
- func PasteValidator() bool
- func SelectAllHandler()
- func SelectAllValidator() bool
- func ZoomHandler()
- func ZoomValidator() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseKeyWindowHandler ¶
func CloseKeyWindowHandler()
CloseKeyWindowHandler provides the standard handler function for the "Close" menu.
func CloseKeyWindowValidator ¶
func CloseKeyWindowValidator() bool
CloseKeyWindowValidator provides the standard validation function for the "Close" menu.
func CopyHandler ¶
func CopyHandler()
CopyHandler provides the standard handler function for the "Copy" menu item.
func CopyValidator ¶
func CopyValidator() bool
CopyValidator provides the standard validation function for the "Copy" menu item.
func CutHandler ¶
func CutHandler()
CutHandler provides the standard handler function for the "Cut" menu item.
func CutValidator ¶
func CutValidator() bool
CutValidator provides the standard validation function for the "Cut" menu item.
func DeleteHandler ¶
func DeleteHandler()
DeleteHandler provides the standard handler function for the "Delete" menu item.
func DeleteValidator ¶
func DeleteValidator() bool
DeleteValidator provides the standard validation function for the "Delete" menu item.
func FillMenuBar ¶
FillMenuBar adds the standard menus to the menu bar.
func InsertCloseKeyWindowItem ¶
InsertCloseKeyWindowItem creates the standard "Close" menu item that will close the current key window when chosen.
func InsertCopyItem ¶
InsertCopyItem creates the standard "Copy" menu item that will issue the Copy command to the current key window when chosen.
func InsertCutItem ¶
InsertCutItem creates the standard "Cut" menu item that will issue the Cut command to the current key window when chosen.
func InsertDeleteItem ¶
InsertDeleteItem creates the standard "Delete" menu item that will issue the Delete command to the current key window when chosen.
func InsertMinimizeItem ¶
InsertMinimizeItem creates the standard "Minimize" menu item that will issue the Minimize command to the current key window when chosen.
func InsertPasteItem ¶
InsertPasteItem creates the standard "Paste" menu item that will issue the Paste command to the current key window when chosen.
func InsertQuitItem ¶
InsertQuitItem creates the standard "Quit"/"Exit" menu item that will issue the Quit command when chosen.
func InsertSelectAllItem ¶
InsertSelectAllItem creates the standard "Select All" menu item that will issue the SelectAll command to the current key window when chosen.
func InsertZoomItem ¶
InsertZoomItem creates the standard "Zoom" menu item that will issue the Zoom command to the current key window when chosen.
func MinimizeHandler ¶
func MinimizeHandler()
MinimizeHandler provides the standard handler function for the "Minimize" menu item.
func MinimizeValidator ¶
func MinimizeValidator() bool
MinimizeValidator provides the standard validation function for the "Minimize" menu item.
func NewAppMenu ¶
NewAppMenu creates a standard 'App' menu. Really only intended for macOS, although other platforms can use it if desired.
func NewEditMenu ¶
NewEditMenu creates a standard 'Edit' menu.
func NewHelpMenu ¶
NewHelpMenu creates a standard 'Help' menu.
func NewWindowMenu ¶
NewWindowMenu creates a standard 'Window' menu.
func PasteHandler ¶
func PasteHandler()
PasteHandler provides the standard handler function for the "Paste" menu item.
func PasteValidator ¶
func PasteValidator() bool
PasteValidator provides the standard validation function for the "Paste" menu item.
func SelectAllHandler ¶
func SelectAllHandler()
SelectAllHandler provides the standard handler function for the "Select All" menu item.
func SelectAllValidator ¶
func SelectAllValidator() bool
SelectAllValidator provides the standard validation function for the "Select All" menu item.
func ZoomHandler ¶
func ZoomHandler()
ZoomHandler provides the standard handler function for the "Zoom" menu item.
func ZoomValidator ¶
func ZoomValidator() bool
ZoomValidator provides the standard validation function for the "Zoom" menu item.
Types ¶
This section is empty.