feat/issue 3256: Toggle drawer state

This commit is contained in:
Rene D. Obermueller
2024-07-07 22:08:45 +02:00
parent 44f39ca0ce
commit e2e5d4d447
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