Wait until the visibility of a WIDGET changes (e.g. it appears). If no parameter is given self is used.
(self, window=None)
source not stored for this graph (policy: none)