MCPcopy Create free account
hub / github.com/Alexays/Waybar / update

Method update

src/AIconLabel.cpp:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58auto AIconLabel::update() -> void {
59 image_.set_visible(image_.get_visible() && iconEnabled());
60 ALabel::update();
61}
62
63bool AIconLabel::iconEnabled() const {
64 return config_["icon"].isBool() ? config_["icon"].asBool() : false;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected