GhosttyPasteSource enum
Why a paste happened.
Values
- GHOSTTY_PASTE_SOURCE_CLIPBOARD → const GhosttyPasteSource
-
The user pasted from a clipboard: keybind, menu, middle click.
const GhosttyPasteSource(0) - GHOSTTY_PASTE_SOURCE_TEXT → const GhosttyPasteSource
-
Text inserted some other way: IME commit, drag and drop, scripted input. Always written as text, never as a paste event, matching kitty. This is not a way to opt out of paste events; an embedder that doesn't want them doesn't install a clipboard_read callback.
const GhosttyPasteSource(1) - GHOSTTY_PASTE_SOURCE_MAX_VALUE → const GhosttyPasteSource
-
const GhosttyPasteSource(2147483647)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromValue(
int value) → GhosttyPasteSource
Constants
-
values
→ const List<
GhosttyPasteSource> - A constant List of the values in this enum, in order of their declaration.