create_window/[2,3]
     create_window(-Window, +Attribs)
     create_window(-Window, +Attribs, +Graphics_attribs)
     

Window is a newly-created window, and Attribs is a ground list of window attributes. If Graphics_attribs is given, it is a list of graphics attributes to be given to the window. The predicate create_window/3 is as if defined by

     create_window(Window, Attribs, Graphics_attribs):-
             create_window(Window, Attribs),
             put_graphics_attributes(Window, Graphics_attribs).
     

but it is more efficient.

See pxl-graf for information about graphics attributes.