mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-03 18:29:09 +00:00
Add support for select-all(), cut(), copy() and paste() functions on text input elements (#2804)
In the compiler this is still very primitive, but an attempt to start a generic interface. The basic assumption is that all item functions will eventually need access to the window adapter and itemrc. Support for additional arguments is still missing. Also missing is support for the function access via rtti in the interpreter, hence the hardcoding at the moment.
This commit is contained in:
parent
d52f40979c
commit
c428601370
19 changed files with 383 additions and 40 deletions
|
@ -265,6 +265,9 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
/// \private
|
||||
const cbindgen_private::WindowAdapterRcOpaque &handle() { return inner; }
|
||||
|
||||
private:
|
||||
friend class slint::experimental::platform::SkiaRenderer;
|
||||
friend class slint::experimental::platform::SoftwareRenderer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue