mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-08-29 18:32:32 +00:00
31 lines
600 B
Text
31 lines
600 B
Text
using Gtk 4.0;
|
|
using Adw 1;
|
|
|
|
template GradiencePluginRow : Adw.ActionRow {
|
|
[suffix]
|
|
Switch switch {
|
|
valign: center;
|
|
tooltip-text: _("Toggle Plugin");
|
|
state-set => on_switch_toggled();
|
|
}
|
|
|
|
[suffix]
|
|
Button settings-button {
|
|
valign: center;
|
|
icon-name: "settings-symbolic";
|
|
tooltip-text: _("Preferences");
|
|
clicked => on_settings_plugin_clicked();
|
|
|
|
styles [
|
|
"flat",
|
|
]
|
|
}
|
|
|
|
[suffix]
|
|
Button remove-button {
|
|
valign: center;
|
|
icon-name: "user-trash-symbolic";
|
|
tooltip-text: _("Remove Plugin");
|
|
clicked => on_remove_plugin_clicked();
|
|
}
|
|
}
|