code: def update(self):
          
          if not self.showing:
              return
          d = self.declaration
          self.set_show(d.show)
docs: Update the PopupWindow if it is currently showing. This avoids
          calling update during initialization.