Giving the Window a Name

The attribute property('WM_NAME',Name) specifies that Name, which should be a Prolog atom, will be the name of the window it is an attribute of. Remember that not all window managers will display a window's name.