Files
material-cpp-template/material-1.0/ui/components/material_window.slint
2025-09-25 11:49:06 +02:00

19 lines
468 B
Plaintext

// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: MIT
import { MaterialPalette } from "../styling/material_palette.slint";
export global MaterialWindowAdapter {
in property <bool> disable_hover;
}
export component MaterialWindow inherits Window {
in property <bool> disable_hover;
background: MaterialPalette.background;
changed disable_hover => {
MaterialWindowAdapter.disable_hover = root.disable_hover;
}
}