slint/examples/gallery/ui/gallery_settings.slint
Montel Laurent 4cd6f92013
Hide action when widget is disabled
ChangeLog: TextEdit/LineEdit : disable context menu action when the widget is disabled or read-only
ChangeLog: Added ContextMenuArea::enabled
2025-05-02 13:20:46 +02:00

7 lines
209 B
Text

// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: MIT
export global GallerySettings {
in property <bool> widgets-enabled: true;
in property <bool> widgets-read-only: false;
}