Attaches a style to a window; this process allocates the colors and creates
the GC's for the style - it specializes it to a particular visual and
colormap. The process may involve the creation of a new style if the style
has already been attached to a window with a different style and colormap.