20 lines
435 B
Plaintext
20 lines
435 B
Plaintext
import { Button, LineEdit, VerticalBox } from "std-widgets.slint";
|
|
|
|
export component AppWindow inherits Window {
|
|
width: 200px;
|
|
height: 60px;
|
|
|
|
in-out property <string> search-text: "";
|
|
callback request-text-input(string);
|
|
VerticalBox {
|
|
|
|
LineEdit {
|
|
placeholder-text: "Search for Software";
|
|
accepted(text) => {
|
|
root.request-text-input(self.text);
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|