Context menu for a TextInput
?
#6679
Unanswered
BrandonXLF
asked this question in
Q&A
Replies: 1 comment
-
Yes. You can have something like this: ContextMenuArea {
TextInput { text: "Abc"; }
Menu {
MenuItem {
title: "Hello";
activated => {debug("Hello");}
}
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there currently a way to add a context menu to a
TextInput
?My current idea is to have a
TouchArea
above theTextInput
that only handles right-click events and shows aPopupWindow
, but that is not possible until the gesture recognition mentioned in #5772 is added.Beta Was this translation helpful? Give feedback.
All reactions