def METHOD_NAME():
    self.info.text = text
    self.info.visible = (text != "")
    # We are sizing the info label to be exactly the right size,
    # so since the text likely changed width, we need to
    # re-layout to set the new frame.
    self.window.set_needs_layout()