Set or query the leader of a group of related windows. pathName gives the path name of the group leader; the window manager may, for example, unmap all windows in the group when the leader is iconified. An empty string removes the window from any group. With no argument, return the path name of the current group leader, or an empty string. wm_group() is an alias of group().