Fyne API "fyne.ShortcutCopy"

fyne.ShortcutCopy


import "fyne.io/fyne/v2"

Usage

type ShortcutCopy

type ShortcutCopy struct {
	Clipboard Clipboard
}

ShortcutCopy describes a shortcut copy action.

func (*ShortcutCopy) Key

func (se *ShortcutCopy) Key() KeyName

Key returns the KeyName for this shortcut.

Implements: KeyboardShortcut

func (*ShortcutCopy) Mod

func (se *ShortcutCopy) Mod() KeyModifier

Mod returns the KeyModifier for this shortcut.

Implements: KeyboardShortcut

func (*ShortcutCopy) ShortcutName

func (se *ShortcutCopy) ShortcutName() string

ShortcutName returns the shortcut name