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 |
Hi, A client of my is trying to use xToolkit to install his own color map (specially if it uses the reserved entries of the window manager) while working with widgets but with no luck. (She is working on VAXstation 3100 vms 5.1-1, 8 graphic planes). Trying to use xLib was successful. 2 examples source files of the xToolkit & xLib are available in the default decnet account directory on TAVHLT: TAVHLT::x_lut_ok.ada - Using xLib TAVHLT::dwt_lut_bug.ada - Using xToolkit. I will be glad to help apon a request. Help is urgently needed. Thanks in advance, *-Doron-*
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
1912.1 | Intrinsics bug | LEOVAX::TREGGIARI | Thu Dec 14 1989 14:02 | 20 | |
I very recently discovered that the "standard" R3 Intrinsics (and ours since it is based on that code) does absolutely NOTHING with the XtNcolorMap resource. I think you can still get colormaps to work but you need to do some things in a very specific order: 1. Create your shell widget. 2. Make sure you give it a size either when you create it or by using XtSetValues (otherwise the next step will blow up...). 3. Realize the shell widget without managing its child. (i.e. you can create its child before this step, but don't manage it). 4. Call XSetWindowColormap on the shell widget. 5. Manage the child of the shell. This worked in at least one case... Leo |