Gradience/data/ui/plugin_row.blp

32 lines
600 B
Text
Raw Normal View History

2022-08-19 12:23:25 +00:00
using Gtk 4.0;
using Adw 1;
2022-08-19 13:29:52 +00:00
template GradiencePluginRow : Adw.ActionRow {
[suffix]
Switch switch {
valign: center;
tooltip-text: _("Toggle Plugin");
state-set => on_switch_toggled();
}
2022-08-19 12:23:25 +00:00
[suffix]
2022-08-19 18:23:30 +00:00
Button settings-button {
2022-08-19 12:23:25 +00:00
valign: center;
icon-name: "settings-symbolic";
tooltip-text: _("Preferences");
2022-08-19 18:30:10 +00:00
clicked => on_settings_plugin_clicked();
styles [
"flat",
]
}
2022-08-19 18:33:36 +00:00
[suffix]
Button remove-button {
valign: center;
2022-09-25 12:17:04 +00:00
icon-name: "user-trash-symbolic";
tooltip-text: _("Remove Plugin");
2022-08-19 18:33:36 +00:00
clicked => on_remove_plugin_clicked();
}
2022-09-14 14:55:35 +00:00
}