comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » How to use fewer colors for Widget-app-window?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
How to use fewer colors for Widget-app-window? [message #1639] Thu, 06 January 1994 13:17
djackson is currently offline  djackson
Messages: 31
Registered: June 1993
Member
Greetings from the North, (man, it's been cold lately, hasn't it?)

I'm developing a Widget-based application, and in order not to use the
whole 200+ color table values, I want to explicitly request only 8
colors for the window that is created when I do:

WIDGET_CONTROL, my_window_widget, /REALIZE

I know that this number-of-colors request is typically done using:

WINDOW, /FREE, COLORS=8 ; (before any other windows are brought up)

But to have to bring up and then destroy a window when bringing up my
widget app is, shall we say, tacky. Any other suggestions?

-Dick

Dick Jackson djackson@ibd.nrc.ca Standard
disclaimer
Institute for Biodiagnostics, National Research Council Canada,
Winnipeg
Waitress: "We're out of hummous so I gave you extra babagonoush" Me: %^P
[Message index]
 
Read Message
Previous Topic: Reading string data from binary f77 files?
Next Topic: Re: How to use fewer colors for Widget-app-window?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 23:01:48 PDT 2025

Total time taken to generate the page: 1.11875 seconds