Skip to content

Tuner.Dialog

A row that opens a dialog with its own page content. Inside Tuner.Dialog you place groups just like inside a Tuner.Page. The dialog is built lazily on first open.

PropertyTypeDescription
titlestringRow title
subtitlestringText under the title
dialog-titlestringDialog window title (defaults to title)
icon-namestringIcon shown at the start of the row
show-arrowboolShow the arrow at the end of the row (default true)
content-widthintDialog width
content-heightintDialog height
follows-content-sizeboolSize the dialog to its content
blp
Tuner.Dialog {
    title: _("Advanced");
    dialog-title: _("Advanced Settings");

    Tuner.Group {

        Tuner.Switch {
            title: _("Experimental feature");

            binding: Tuner.Setting {
                schema-id: "org.example.app";
                schema-key: "experimental";
            };
        }
    }
}

Released under the GPL-3.0+ License. The content is available under CC BY-SA 4.0, unless stated otherwise.