mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-23 00:32:46 +00:00
18 lines
468 B
Text
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;
|
|
}
|
|
}
|