The "Palette" Widget

This widget provides a colourbar and selection of a single colour.

Library: karmawidets
Link With: -lkarmawidgets

Tables

Palette_ResourceNamesList of resource names for Palette widget
Palette_ResourcesList of resources for Palette widget


Tables


Palette_ResourceNames

Name Purpose
XtNforeground The foreground pixel
XkwNminimum The minimum value
XkwNmaximum The maximum value
XtNvalue The current value
XkwNkarmaColourmap The Karma colourmap for the colourbar
XkwNvalueChangeCallback Callbacks when the thumb value changes
XkwNorientation The orientation to use


Palette_Resources

Name Class Rep. Type Default
XtNforeground XtCForeground XtRPixel XtDefaultForeground
XkwNminimum XkwCMinimum XtRFloat &zero
XkwNmaximum XkwCMaximum XtRFloat &one
XtNvalue XtCValue XtRFloat &half
XkwNkarmaColourmap XkwCKarmaColourmap XtRPointer NULL
XkwNvalueChangeCallback XtCCallback XtRCallback NULL
XkwNorientation XkwCOrientation XkwROrientation "horizontal"


Back to Karma Home Page
Contact: Richard Gooch
Web Development: Ariel Internet Services