mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 02:39:28 +00:00
fix lineedit callbacks (#4028)
This commit is contained in:
parent
9bc8d203fe
commit
e55bde4c97
3 changed files with 6 additions and 6 deletions
|
@ -15,8 +15,8 @@ export component LineEdit {
|
|||
out property <bool> has-focus <=> i-base.has-focus;
|
||||
in-out property <string> text <=> i-base.text;
|
||||
|
||||
callback accepted(string /* text */);
|
||||
callback edited(string /* text */);
|
||||
callback accepted <=> i-base.accepted;
|
||||
callback edited <=> i-base.edited;
|
||||
|
||||
public function select-all() {
|
||||
i-base.select-all();
|
||||
|
|
|
@ -14,8 +14,8 @@ export component LineEdit {
|
|||
out property <bool> has-focus <=> i-base.has-focus;
|
||||
in-out property <string> text <=> i-base.text;
|
||||
|
||||
callback accepted(/* text */ string);
|
||||
callback edited(/* text */ string);
|
||||
callback accepted <=> i-base.accepted;
|
||||
callback edited <=> i-base.edited;
|
||||
|
||||
public function select-all() {
|
||||
i-base.select-all();
|
||||
|
|
|
@ -15,8 +15,8 @@ export component LineEdit {
|
|||
out property <bool> has-focus: i-base.has-focus;
|
||||
in-out property <string> text <=> i-base.text;
|
||||
|
||||
callback accepted(/* text */ string);
|
||||
callback edited(/* text */ string);
|
||||
callback accepted <=> i-base.accepted;
|
||||
callback edited <=> i-base.edited;
|
||||
|
||||
public function select-all() {
|
||||
i-base.select-all();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue