Finding and Changing Graphics Attributes

These primitives take a gcable as argument, and return or change the graphics attributes of that gcable. A gcable is either a window, a pixmap, or a gc. By specifying a window or pixmap in calls to these primitives, you are finding or changing the behavior of drawing commands on that window or pixmap when no gc is specified in the call.