[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Nov 19 18:45:10 1993 
Subject:Re: changing background colour of an rc_graphic window 
From:jonm 
Volume-ID:931119.02 


>Does anyone know how to change bacground colour of rc_graphic window?


thinking laterally, try:

define rc_set_background(color);
   color -> rc_window("foreground");
   XpwFillRectangle(rc_window, 0, 0, rc_window("width"), rc_window("height"));
enddefine;


Of course, rc_start() may not use this color though I wouldn't be surprised
if:

	'red' -> rc_window("background");
	rc_start();

works...

Jon.