mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-11-06 12:34:00 +00:00
4edc5f4b50
* move flatpak manifests to build-aux/flatpak directory * update workflows to new manifests locations * update README
29 lines
No EOL
561 B
Text
29 lines
No EOL
561 B
Text
using Gtk 4.0;
|
|
using Adw 1;
|
|
|
|
template GradiencePluginRow : Adw.ActionRow {
|
|
[suffix]
|
|
Switch switch {
|
|
valign: center;
|
|
tooltip-text: _("Enable plugin");
|
|
state-set => on_switch_toggled();
|
|
}
|
|
|
|
[suffix]
|
|
Button settings-button {
|
|
valign: center;
|
|
icon-name: "settings-symbolic";
|
|
tooltip-text: _("Settings");
|
|
clicked => on_settings_plugin_clicked();
|
|
}
|
|
|
|
[suffix]
|
|
Button remove-button {
|
|
valign: center;
|
|
icon-name: "close-symbolic";
|
|
tooltip-text: _("Remove plugin");
|
|
clicked => on_remove_plugin_clicked();
|
|
}
|
|
|
|
|
|
} |