Gradience/src/ui/plugin_row.blp

21 lines
428 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 {
2022-08-19 12:23:25 +00:00
[suffix]
2022-08-19 18:23:30 +00:00
Button remove-button {
2022-08-19 12:23:25 +00:00
valign: center;
icon-name: "close-symbolic";
tooltip-text: _("Remove plugin");
2022-08-19 18:23:30 +00:00
toggled => on_remove_plugin_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: _("Settings");
2022-08-19 18:23:30 +00:00
clicked => on_settings_plugin_toggled();
2022-08-19 12:23:25 +00:00
}
}