MGH_GUI_PALETTE_EDITOR__DEFINE
Class
MGH_GUI_Palette_Editor
Purpose
This class implements a widget application incorporating a
MGH_CW_PALETTE_EDITOR widget. It is used to edit an Object
Graphics palette object. The application can maintain a list of
"clients", which are notified when the palette is changed.
Category
Widgets, Object Graphics. Properties
CLIENT (Init)
This keyword specifies a list of client objects. Extra clients
can be added subsequently with the AddClient method.
CT_FILE (Init, Get)
The colour table file from which the predefined colour tables
are drawn. Default is the value of !MGH_CT_FILE or, if this is
not available, an empty string which cause the IDL default
colour table file to be used.
FRAME (Init)
Width of the frame surrounding the top-level base..
PALETTE (Init, Get)
The palette whose colour table is to be edited.
YSIZE (Init)
Height of the MGH_CW_PALETTE_EDITOR widget.
###########################################################################
This software is provided subject to the following conditions:
1. NIWA makes no representations or warranties regarding the
accuracy of the software, the use to which the software may
be put or the results to be obtained from the use of the
software. Accordingly NIWA accepts no liability for any loss
or damage (whether direct of indirect) incurred by any person
through the use of or reliance on the software.
2. NIWA is to be acknowledged as the original author of the
software where the software is used or presented in any form.
###########################################################################
Modification History
Mark Hadfield, 1999-10:
Written.
Mark Hadfield, 2002-10:
Upgraded for IDL 5.6.
Mark Hadfield, 2002-11:
The embedded palette-editor widget has been changed from
CW_PALETTE_EDITOR to MGH_CW_PALETTE_EDITOR. The latter is a
modified form of the former, allowing a different colour-table
file to be specified.