Only problem is with setting background color of a gc.
gc = XGC(X@widget, Background="red",LineWidth=2, LineStyle="LineOnOffDash",Function="GXcopy")
Problem in missing(disp): not an argument name: "disp"
Debug ? (y|n): y
Browsing in frame 5
Local Variables: object, v
R> up
Browsing in frame of as(eval(vals[[i]]), cls[i])
Local Variables: .Generic, .Signature, Class, coerce, object
R> up
Browsing in frame of GC.args(args, dflt)
Local Variables:
GC.classes, Vals, args, cls, default, i, slts, tmp, vals, which