Merge pull request #3422 from RobertMueller2/issue_feat_3256

feat/issue 3256: Toggle drawer state
This commit is contained in:
Alexis Rouillard
2024-07-16 14:19:30 +02:00
committed by GitHub
3 changed files with 37 additions and 3 deletions

View File

@ -25,9 +25,13 @@ class Group : public AModule {
Gtk::Revealer revealer;
bool is_first_widget = true;
bool is_drawer = false;
bool click_to_reveal = false;
std::string add_class_to_drawer_children;
bool handleMouseEnter(GdkEventCrossing *const &ev) override;
bool handleMouseLeave(GdkEventCrossing *const &ev) override;
bool handleToggle(GdkEventButton *const &ev) override;
void show_group();
void hide_group();
};
} // namespace waybar