Parent document is top of "Motif FAQ (Part 6 of 9)"
Previous document is "162) How can I know when a DrawingArea has been resized? It"
Next document is "164) How can I display postscript in a Motif widget, such as"

163) How can I create a drawing area widget with a visual type

different from its parent?

[Last modified: Sep 97]

Answer:  The standard Motif drawing area does not support this.  You can,
however, easily create a subclass with a new Realize class method.  You may
want to create visual type, colormap, and depth resources so you can set these
values at initialization time.

In SGI's Motif, such a widget is called SgVisualDrawingArea.  Other Motif
implementations may have similar widgets.

Ken Lee, http://www.rahul.net/kenton/

Parent document is top of "Motif FAQ (Part 6 of 9)"
Previous document is "162) How can I know when a DrawingArea has been resized? It"
Next document is "164) How can I display postscript in a Motif widget, such as"