hi there,
I am getting a situation as follow:
1) My lesstif application create a push button widget.
2) Then, a call back procedure is activated. This CB has a loop which
put a pixmap into de button by each time in the loop (N times).
Something like:
for (i=0; i<N; i++){
XpmCreatePixmapFromData( ....)
other ....
XtVaSetValues(DISPLAYbutton,
XmNlabelType, XmPIXMAP,
XmNlabelPixmap, pixmapP,
NULL);
.
}
the problem: I only got the last update on the button; I mean, I
expected to see N pixmaps into the button, in secuence, one after the
last one, but not, I only see the last one.
well, I got the same problem when I use a label instead of a push
button. It looks like a refresh issue or a programming problem ...
any suggestions ?
best regards in advance!
hector