masshortcut

package module
v0.0.0-...-aa7328e Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2020 License: BSD-2-Clause Imports: 3 Imported by: 0

README

Go bindings for the MASShortcut framework. Note that this is not complete and only contains bindings which we need!

Documentation

Rendered for darwin/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CHotkeyCallback

func CHotkeyCallback(CKeys, CModifiers C.int)

CHotkeyCallback is the hotkey callback for the shortcuts.

func RegisterShortcut

func RegisterShortcut(Keys, Modifiers int, Callback func())

RegisterShortcut is used to register a shortcut.

func UnregisterShortcuts

func UnregisterShortcuts()

UnregisterShortcuts is used to unregister all of the shortcuts.

Types

This section is empty.

Jump to

Keyboard shortcuts

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