Return a predicate that tests a window's title. When applied to a window, this predicate will return true if the title matches STRING in the manner specified by the optional argument TYPE, which may be 'exact, 'regexp, or 'wildcard. The optional CASE-SENSITIVE argument determines whether the matching is case-sensitive or not.