feat(Group): enhance widget visibility management - set visibility instantly on module update using dynamic signal handling.
Improve performance - manage the visibility of updated module only instead of iterating over all modules on `hide_group`.
This commit is contained in:
@@ -15,6 +15,7 @@ class AModule : public IModule {
|
||||
static constexpr const char *MODULE_CLASS = "module";
|
||||
|
||||
~AModule() override;
|
||||
sigc::signal<void, AModule*> signal_updated;
|
||||
auto update() -> void override;
|
||||
virtual auto refresh(int shouldRefresh) -> void {};
|
||||
operator Gtk::Widget &() override;
|
||||
|
||||
Reference in New Issue
Block a user