[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

1131.0. "spurious erase on set values to own widget." by CSC32::B_WACKER () Tue Jul 18 1989 15:20

A customer is building his own widget subclass of core that looks 
something like a scroll bar.  Whenever he does set values to change 
the position of the slider the window is erased before he gets 
the expose event causing an ugly flash and forcing him to rewrite more 
than should be required.

Any ideas??

T.RTitleUserPersonal
Name
DateLines
1131.1LEOVAX::TREGGIARITue Jul 18 1989 15:398
From the Intrinsics specification:

"After calling all the set_values procedures, XtSetValues forces a redisplay
by calling the Xlib XClearArea function if any of the set_values procedures
returned True."

Leo

1131.2Still no joyCSC32::B_WACKERWed Jul 19 1989 10:1610
>"After calling all the set_values procedures, XtSetValues forces a
>redisplay by calling the Xlib XClearArea function if any of the
>set_values procedures returned True." 

He made his set values routine just return false and the same thing 
happens.  I've asked him to send code, but is there anything in the 
core that could be interfering?

Bruce

1131.3LEOVAX::TREGGIARIWed Jul 19 1989 12:319
> He made his set values routine just return false and the same thing 
> happens.  I've asked him to send code, but is there anything in the 
> core that could be interfering?

Only if the XtSetValues call is also changing something in the core
record which would cause the intrinsics to redisplay the widget.

Leo