On this page
fyne.ShortcutPaste
import "fyne.io/fyne/v2"
Usage
type ShortcutPaste
type ShortcutPaste struct {
Clipboard Clipboard
// Secondary indicates an alternative buffer such as selection, when true
//
// Since: 2.8
Secondary bool
}
ShortcutPaste describes a shortcut paste action.
func (*ShortcutPaste) Key
func (se *ShortcutPaste) Key() KeyName
Key returns the [KeyName] for this shortcut.
func (*ShortcutPaste) Mod
func (se *ShortcutPaste) Mod() KeyModifier
Mod returns the [KeyModifier] for this shortcut.
func (*ShortcutPaste) ShortcutName
func (se *ShortcutPaste) ShortcutName() string
ShortcutName returns the shortcut name