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.
| Property | Type | Description |
|---|---|---|
title | string | Row title |
subtitle | string | Text under the title |
dialog-title | string | Dialog window title (defaults to title) |
icon-name | string | Icon shown at the start of the row |
show-arrow | bool | Show the arrow at the end of the row (default true) |
content-width | int | Dialog width |
content-height | int | Dialog height |
follows-content-size | bool | Size 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";
};
}
}
}