I've noticed if one wants to draw on a pixmap with a certain color they pull some component off the drawing area like so:
myDrawingArea1->style->black_gc myDrawingArea2->style->black_gc Q1: Is black_gc on drawing area1 different from black_gc on number 2??? Can I get these pointers from elsewhere so I don't have to pull them off some arbitrary drawing area??? Q2: By the way, in a gdk_draw_pixmap I saw something like following... gdk_draw_pixmap(myDrawingArea->window, myDrawingArea->style->fg_gc[GTK_WIDGET_STATE(widget)], myPixmap, 0, 0, 0, 0, width, height); What is going on in that second arg??? ... is fg_gc the "current" foreground or something??? Thanks, Chris -- ======================================================= | Dr. Christian Seberino || (619) 553-7940 (office) | | SPAWARSYSCEN 2363 || (619) 553-2836 (fax) | | 53560 HULL ST || | | SAN DIEGO CA 92152-5001 || [EMAIL PROTECTED] | ======================================================= _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list