import { Button, LineEdit, VerticalBox } from "std-widgets.slint"; export component AppWindow inherits Window { // in-out property counter: 42; // callback request-increase-value(); width: 200px; height: 60px; in-out property search-text: ""; callback request-text-input(string); VerticalBox { LineEdit { placeholder-text: "Search for Software"; accepted(text) => { // debug("Accepted: ", text); root.request-text-input(self.text); } } // Button { // text: "Increase value"; // clicked => { // root.request-increase-value(); // } // } } }