Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Aldric L'Hernault<Aldric.L'<Hernault@mo...> - 2003-08-26 00:45:36
|
Maurice LeBrun wrote (speaking about tk interpreter crashing with "cannot allocate any color" error) > You can reduce the number in cmap0 or cmap1 through the plscmap0n() and > plscmap1n() API calls, respectively. Unfortunately there isn't currently > a plframe widget option that achieves this effect. > > On my Linux system using a 16-bit color depth X session, I don't see this > error. Using the 'tk03' demo program I created 30 child windows (containing > plframe widgets) without problem before quitting. > Maurice, Thanks for the tip, I'll try it. Anyway I am unsure of the result, since we are using an application that requires us to run 8-bit depth X sessions (not to name it: Cadence dfII ;-) As soon as I have a bit of time, I try also to have a look into plframe code. The probleme occurs here on Solaris, HP-UX and Linux, around the 50th plframe widget drawn (more or less depending on other applications' color scheme) Thanks again, Aldric |