The "Twodpos" Widget

This widget provides a two-dimensional position input control.

Library: karmawidets
Link With: -lkarmawidgets

Tables

Twodpos_ResourceNamesList of resource names for Twodpos widget
Twodpos_ResourcesList of resources for Twodpos widget


Tables


Twodpos_ResourceNames

Name Purpose
XtNforeground The foreground pixel
XkwNminimum_x The minimum horizontal value
XkwNmaximum_x The maximum horizontal value
XkwNvalue_x The current horizontal value
XkwNminimum_y The minimum vertical value
XkwNmaximum_y The maximum vertical value
XkwNvalue_y The current vertical value
XkwNvalueChangeCallback Callbacks when the position changes


Twodpos_Resources

Name Class Rep. Type Default
XtNforeground XtCForeground XtRPixel XtDefaultForeground
XkwNminimum_x XkwCMinimum_x XtRFloat &zero
XkwNmaximum_x XkwCMaximum_x XtRFloat &one
XkwNvalue_x XkwCValue_x XtRFloat &half
XkwNminimum_y XkwCMinimum_y XtRFloat &zero
XkwNmaximum_y XkwCMaximum_y XtRFloat &one
XkwNvalue_y XkwCValue_y XtRFloat &half
XkwNvalueChangeCallback XtCCallback XtRCallback NULL


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