adding a new keyword 'on-click-copy' that accepts a bool and copies to clipboard on true'

This commit is contained in:
Skyfrei
2026-03-24 20:12:30 +01:00
parent be2ad4a858
commit fff1495efb
4 changed files with 14 additions and 5 deletions
+1
View File
@@ -26,6 +26,7 @@ class ALabel : public AModule {
std::string default_format_;
bool handleToggle(GdkEventButton* const& e) override;
void copyToClipboard(const std::string&);
virtual std::string getState(uint8_t value, bool lesser = false);
std::map<std::string, GtkMenuItem*> submenus_;