Upgrade to v2.5
Fyne API v2.5
package fyne
Animation
AnimationCurve
App
AppMetadata
BuildType
Canvas
CanvasObject
Clipboard
CloudProvider
CloudProviderPreferences
CloudProviderStorage
Container
Delta
Device
DeviceOrientation
Disableable
DoubleTappable
DragEvent
Draggable
Driver
Focusable
HardwareKey
KeyboardShortcut
KeyEvent
KeyModifier
KeyName
Layout
LegacyTheme
Lifecycle
ListableURI
Locale
MainMenu
Menu
MenuItem
Notification
OverlayStack
PointEvent
Position
Preferences
Resource
Scrollable
ScrollEvent
SecondaryTappable
Settings
Shortcut
Shortcutable
ShortcutCopy
ShortcutCut
ShortcutHandler
ShortcutPaste
ShortcutRedo
ShortcutSelectAll
ShortcutUndo
Size
StaticResource
Storage
StringValidator
Tabbable
Tappable
TextAlign
TextStyle
TextTruncation
TextWrap
Theme
ThemeColorName
ThemedResource
ThemeIconName
ThemeSizeName
ThemeVariant
URI
URIReadCloser
URIWithIcon
URIWriteCloser
Validatable
Vector2
Widget
WidgetRenderer
Window
app
canvas
container
data/binding
data/validation
dialog
driver
driver/desktop
driver/mobile
driver/software
lang
layout
storage
storage/repository
test
theme
widget
Fyne API "fyne.ShortcutCut"
fyne.ShortcutCut
import "fyne.io/fyne/v2"
Usage
type ShortcutCut
type ShortcutCut struct {
Clipboard Clipboard
}
ShortcutCut describes a shortcut cut action.
func (*ShortcutCut) Key
func (se *ShortcutCut) Key() KeyName
Key returns the KeyName for this shortcut.
Implements:
KeyboardShortcut
func (*ShortcutCut) Mod
func (se *ShortcutCut) Mod() KeyModifier
Mod returns the KeyModifier for this shortcut.
Implements:
KeyboardShortcut
func (*ShortcutCut) ShortcutName
func (se *ShortcutCut) ShortcutName() string
ShortcutName returns the shortcut name