keybind

package
v0.0.0-...-c8e43d0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Grab

func Grab(conn *x.Conn, win x.Window, mods uint16, key x.Keycode)

func GrabChecked

func GrabChecked(conn *x.Conn, win x.Window, mods uint16, key x.Keycode) error

func GrabCheckedV2

func GrabCheckedV2(conn *x.Conn, win x.Window, mods uint16, key x.Keycode, pointerMode uint8, keyboardMode uint8) error

func GrabKeyboard

func GrabKeyboard(conn *x.Conn, win x.Window) error

GrabKeyboard grabs the entire keyboard.

func Ungrab

func Ungrab(conn *x.Conn, win x.Window, mods uint16, key x.Keycode)

func UngrabKeyboard

func UngrabKeyboard(conn *x.Conn) error

UngrabKeyboard undoes GrabKeyboard.

Types

type GrabKeyboardError

type GrabKeyboardError struct {
	Status byte
}

func (GrabKeyboardError) Error

func (err GrabKeyboardError) Error() string

Jump to

Keyboard shortcuts

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