Visual Info objects are used to represent a XVisualInfo structure. The widget method GetVisualInfo returns a list of Visual Info objects; the widget method DefaultVisualOfScreen returns a single Visual Info object. Visual Info objects can be used to create a colormap using the widget method CreateColormap and to create an Image object using the Visual Info method CreateImage.
Visual Info objects (vi_objects) have the following method and variables:
alloc) |
cm_object
.
This function corresponds with XCreateColormap.
depth, format, offset, data, width, height, bitmap_pad, bytes_per_line) |
im_object
.
This function corresponds with XCreateImage.
alloc) |
cm_object
.
This function corresponds with XCreateColormap.
depth, format, offset, data, width, height, bitmap_pad, bytes_per_line) |
im_object
.
This function corresponds with XCreateImage.