ids

package
v0.0.0-...-955f326 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2020 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppMenuID = 1 + iota
	FileMenuID
	EditMenuID
	WindowMenuID
	HelpMenuID
	ServicesMenuID
	AboutItemID
	PreferencesItemID
	QuitItemID
	CutItemID
	CopyItemID
	PasteItemID
	DeleteItemID
	SelectAllItemID
	MinimizeItemID
	ZoomItemID
	BringAllWindowsToFrontItemID
	CloseItemID
	HideItemID
	HideOthersItemID
	ShowAllItemID
	PopupMenuTemporaryBaseID
	UserBaseID        = 1000
	MaxUserBaseID     = 1<<30 - 1
	ContextMenuIDFlag = 1 << 30 // Should be or'd into IDs for context menus
)

Pre-defined menu IDs. Apps should start their IDs at UserBaseID.

View Source
const (
	ModalResponseCancel = iota
	ModalResponseOK
	ModalResponseDiscard
	ModalResponseUserBase = 1000
)

Pre-defined modal response codes. Apps should start their codes at ModalResponseUserBase.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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