get_window_attributes/[2,3]
     get_window_attributes(+Windowable, +Attribs)
     get_window_attributes(+Windowable, +Attribs, +Graphics_attribs)
     

Windowable is a windowable, and Attribs is a proper list of window Attribute settings. Note that Attribs must be a proper list. If an element of Attribs is an unbound variable, get_window_attributes will backtrack through all the window attributes of Windowable.

If Graphics_attribs is given, it is a proper list of graphics attributes of Windowable. The predicate get_window_attributes/3 is as if defined by the following procedure, but it is more efficient.

     get_window_attributes(Window, Attribs, Graphics_attribs):-
          get_window_attributes(Window, Attribs),
          get_graphics_attributes(Window, Graphics_attribs).
     

See pxl-graf for information about graphics attributes.