Files
SoftwareManager-rs/ui/app-window.slint
T
2026-04-29 18:10:11 +02:00

29 lines
728 B
Plaintext

import { Button, LineEdit, VerticalBox } from "std-widgets.slint";
export component AppWindow inherits Window {
// in-out property <int> counter: 42;
// callback request-increase-value();
width: 200px;
height: 60px;
in-out property <string> 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();
// }
// }
}
}