mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-11-01 19:34:00 +00:00
42 lines
858 B
Text
42 lines
858 B
Text
using Gtk 4.0;
|
|
using Adw 1;
|
|
|
|
template GradienceExplorePresetRow : Adw.ActionRow {
|
|
|
|
Box {
|
|
spacing: 6;
|
|
|
|
Label badge {
|
|
valign: center;
|
|
label: _("Unknown");
|
|
|
|
styles [
|
|
"tag",
|
|
"caption",
|
|
]
|
|
}
|
|
|
|
Button apply_button {
|
|
valign: center;
|
|
icon-name: "checkmark-small-symbolic";
|
|
tooltip-text: _("Download and apply");
|
|
clicked => on_apply_button_clicked();
|
|
|
|
styles [
|
|
"flat",
|
|
]
|
|
}
|
|
Button download_button {
|
|
valign: center;
|
|
icon-name: "download-symbolic";
|
|
tooltip-text: _("Download only");
|
|
clicked => on_download_button_clicked();
|
|
|
|
styles [
|
|
"flat",
|
|
]
|
|
}
|
|
}
|
|
|
|
|
|
}
|