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 |
Can anyone explain or point to a place in the doc that explains the relationship between ancestor_sensitive and sensitive? If ancestor_sensitive is False for a widget, does that mean that no matter its sensitive field is, it is still insensitive? If so, why are there these 2 sensitivity fields? What prompted this question - I have a radio box with 5 or 6 items. At a certain point, I would like to make all the items except one insensitive. To accomplish this, I thought I could take a short-cut and call XtSetSensitive(widget, False) on the radio box and then XtSetSensitive(widget, True) on one of the togglebuttons. However, this doesn't seem to work and I am confused. Can this idea work in some form or must I specifically set each togglebutton's sensitivity? Thanks for any help! annemarie
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
2595.1 | Why there are two... | LEOVAX::TREGGIARI | Tue Apr 10 1990 17:06 | 13 | |
> Can anyone explain or point to a place in the doc that explains > the relationship between ancestor_sensitive and sensitive? If > ancestor_sensitive is False for a widget, does that mean that no > matter its sensitive field is, it is still insensitive? If so, why > are there these 2 sensitivity fields? There are two fields so that the children "remember" their sensitivity as the parent sensitivity changes. In your example, you will have to set the 5 children individually. You could then set the parent insensitive (all children will be insensitive), and later back to sensitive, and the children will revert to their individual sensitivites. Leo |