[comp.windows.x.motif] smart widget redraw function wanted

digger@cae780.csi.com (Doug Selph) (04/19/91)

	Hi World!

	I am creating my own widgets in the world of motif 1.1.  

	I want to be able to tell the XtMainLoop() code that it should
make sure my particular widget is redrawn before the getting the next
input value.  
	I don't want to just call my redraw function (DrawPts) because I 
only want to have it be called just once.  There are several places in my 
code where it might be discovered that a call to DrawPts is necessary inbetween 
input events.   These different places are residing in callbacks in different
places from different widgets.
  
	So what I really want is some sort of RedrawWidget() function
that will make sure the entire widget is redrawn, but if the function 
is called more than once inbetween input events, it will not redraw it
more than once.

	Any ideas?

	Please reply to digger@csi.com or ...uunet!cae780!digger
	Thanks ahead of time for any replies.

						---digger