put_window_attributes/[2,3]
put_window_attributes(+Windowable, +Attribs) put_window_attributes(+Windowable, +Attribs, +Graphics_attribs)
Windowable is a windowable, and Attribs is a ground list of attributes. The window associated with Windowable is changed such that Attribs is a list of its attributes. There are a few attributes of a window that may not be changed once the window is created. These are listed above, with the descriptions of the actual attributes. Of course, if you specify a screen or display for Windowable, it doesn't make sense to change very many attributes, and it is recommended that you not change any.
If Graphics_attribs is given, it is a list of graphics
attributes to be given to the window. The predicate
put_window_attributes/3
is as if defined by the following
procedure, but it is more efficient.
put_window_attributes(Windowable, Attribs, Graphics_attribs):- put_window_attributes(Windowable, Attribs), put_graphics_attributes(Window, Graphics_attribs).
See pxl-graf for information about graphics attributes.