def close(self, title, matchClass=False):
if matchClass:<EOL><INDENT>self._run_wmctrl(["<STR_LIT:-c>", title, "<STR_LIT>"])<EOL><DEDENT>else:<EOL><INDENT>self._run_wmctrl(["<STR_LIT:-c>", title])<EOL><DEDENT>
Close the specified window gracefully

Usage: C{window.close(title, matchClass=False)}

@param title: window title to match against (as case-insensitive substring match)
@param matchClass: if True, match on the window class instead of the title