♻️ move GMenu to ALabel class

This commit is contained in:
Benjamin Voisin
2024-05-09 18:34:26 +02:00
parent 884b909e7d
commit 3b87b83076
4 changed files with 26 additions and 27 deletions

View File

@ -27,6 +27,10 @@ class ALabel : public AModule {
bool handleToggle(GdkEventButton *const &e) override;
virtual std::string getState(uint8_t value, bool lesser = false);
std::map<std::string, GtkMenuItem*> submenus_;
std::map<std::string, std::string> menuActionsMap_;
static void handleGtkMenuEvent(GtkMenuItem* menuitem, gpointer data);
};
} // namespace waybar