slint/ui-libraries/material/ui/components/material_window.slint
2025-09-18 15:47:22 +02:00

18 lines
468 B
Text

// 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;
}
}