ensure_valid_windowable/3
     ensure_valid_windowable(+Windowable, -Window, +Goal)
     

Window is the valid window associated with Windowable. Windowable must be a valid window, screen, or display. If it is not, an error message mentioning Goal is printed, and execution aborts.