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 |
The user has a pushbutton widget and is using a pixmap for the label. When he sets DwtNSensitive to False, nothing happens to the appearance of the label. When using text this greys out. Is this a bug? Also, since he has to write his own stipple pattern to the pixmap to grey it out, he needs to inquire as to the widgets current sensitivity. When he does this with XtGetValues, he gets back a very large number for the sensitivity. This is supposed to be boolean so I suspect that he is passing the address incorrectly. I couldn't find anything in the doc about what variable type should be used in the arg list for the get. Any help would be great.
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
1145.1 | sensitivity of pixmap pushbuttons will be fixed | KOBAL::SCAER | Thu Jul 20 1989 12:52 | 8 | |
Pixmaps are not grayed when the pushbutton is set insensitive. Instead, in V2 of DECwindows, there will be a new resource on pushbuttons that will hold the grayed version of the pixmap. When the pushbutton is set insensitive the grayed pixmap will be displayed. When it is set sensitive again, the regular pixmap will be displayed. | |||||
1145.2 | Great | LENSMN::bonini | We apologize for the inconvenience. | Thu Jul 20 1989 12:56 | 8 |
That's great but can I tell an OEM that? I don't think they are a field test site so the answer is probably no. That's ok, I guess I can always say 'fixed in next major release'. Any ideas about the second question? | |||||
1145.3 | LEOVAX::TREGGIARI | Thu Jul 20 1989 13:23 | 8 | ||
> Any ideas about the second question? Just a guess... A boolean is 1 byte long. If the field they are passing to XtGetValues is bigger than that, only one byte will be modified, leaving whatever random stuff was in the other bytes. Leo |