|
Xm/SgColorChooser(o) -- The ColorChooser widget class
|
ColorChooser is a dialog widget that provides a friendly and powerful user interface for selecting colors. The ColorChooser provides a color hexagon and color sliders that presents the color range in Hue, Saturation, Value, (HSV) and Red, Green, Blue, (RGB) color spaces. Because of drawing speed considiration, the color hexagon and color sliders are available only if running under GL. For X only configuration there are Scale widget to replace the color sliders and there is no color hexagon. The ... |
Xm/SgColorChooserGetColor(o) -- A ColorChooser function that gets the selected color of the ColorChooser
|
SgColorChooserGetColor gets the currently selected color of the given ColorChooser widget. widget Specifies the ColorChooser widget ID *red Specifies a pointer to hold the returned red color component in RGB color space. *green Specifies a pointer to hold the returned green color component in RGB color space. *blue Specifies a pointer to hold the returned blue color component in RGB color space. The color components range from 0 (no intensity) to 255 (maximum intensity). This is the same range u... |
|
Xm/SgColorChooserSetColor(o) -- A ColorChooser function that sets the selected color of the ColorChooser
|
SgColorChooserSetColor sets the selected color of the given ColorChooser widget. This means that all the components of the ColorChooser, the color hexagon, color sliders, color swatches, and color value text widgets will all reflect the new color. The given color must be in RGB color space. widget Specifies the ColorChooser widget ID. red Specified the red color component in an RGB color space. green Specified the green color component in an RGB color space. blue Specified the blue color compone... |
Xm/SgColorChooserSetCurrentColor(o) -- A ColorChooser function that sets the selected color of the ColorChooser without changing the stored color
|
SgColorChooserSetCurrentColor sets the currents selected color of the given ColorChooser widget. This means that all the components of the ColorChooser, the color hexagon, color sliders, color swatches, and color value text widgets will all reflect the new color. The given color must be in RGB color space. The difference between SgColorChooserSetCurrentColor and SgColorChooserSetColor is that SgColorChooserSetCurrentColor does not alter the value of the Stored Color color swatch. widget Specifie... |
Xm/SgColorChooserSetStoredColor(o) -- A ColorChooser function that sets the color of the ColorChooser's stored color swatch
|
SgColorChooserSetStoredColor sets the color of the ColorChooser's stored color swatch component. This gives the developers access to set the ColorChooser reference color. Calling SgColorChooserSetStoredColor and SgColorChooserSetCurrentColor with the same color value is equivalent to calling SgColorChooserSetColor. widget Specifies the ColorChooser widget ID. red Specifies the red color component in an RGB color space. green Specifies the green color component in an RGB color space. blue Specif... |
Xm/SgCreateColorChooser(o) -- The ColorChooser widget creation function
|
SgCreateColorChooser creates an unmanaged ColorChooser. ColorChooser is a dialog widget that provides a friendly and powerful user interface for selecting colors. The ColorChooser provides a color hexagon and color sliders that present the color range in Hue, Saturation, Value, (HSV) and Red, Green, Blue, (RGB) color spaces. Because of drawing speed consideration, the color hexagon and color sliders are available only if running under GL. For X-only configuration, there are Scale widgets to repl... |
Xm/SgCreateColorChooserDialog(o) -- The ColorChooser ColorChooserDialog convenience creation function
|
SgCreateColorChooserDialog is a convenience creation function that creates a DialogShell and an unmanaged ColorChooser child of the DialogShell. ColorChooser is a dialog widget that provides a friendly and powerful user interface for selecting colors. The ColorChooser provides a color hexagon and color sliders that presents the color range in Hue, Saturation, Value, (HSV) and Red, Green, Blue, (RGB) color spaces. Because of drawing speed considiration the color hexagon and color sliders are avai... |
Xm/SgCreateDropPocket(o) -- The DropPocket widget creation function
|
SgCreateDropPocket creates an instance of a DropPocket widget and returns the associated widget ID. parent Specifies the parent widget ID name Specifies the name of the created widget arglistSpecifies the argument list argcount Specifies the number of attribute/value pairs in the argument list (arglist) For a complete definition of DropPocket and its associated resources, see SgDropPocket(3X). |
Xm/SgCreateDynaMenu(o) -- The DynaMenu widget creation function
|
SgCreateDynaMenu creates an unmanaged DynaMenu. parent Specifies the parent widget ID name Specifies the name of the created widget arglistSpecifies the argument list argcount Specifies the number of attribute/value pairs in the argument list (arglist) For a complete definition of DynaMenu and its associated resources, see SgDynaMenu(3X). |
Xm/SgCreateFileSelectionBox(o) -- The FileSelectionBox widget creation function
|
XmCreateFileSelectionBox creates an unmanaged FileSelectionBox. A FileSelectionBox is used to select a file and includes the following: o A directory menu showing the current directory and the directories above it o A scrolling list of file and directory names o An editable text field for the selected file o Labels for the list and text fields o Three buttons The default button labels are OK, Cancel, and Help. Additional work area children may be added to the FileSelectionBox after creation. Fil... |
Xm/SgCreateFileSelectionDialog(o) -- The FileSelectionDialog convenience creation function
|
XmCreateFileSelectionDialog is a convenience creation function that creates a DialogShell and an unmanaged FileSelectionBox child of the DialogShell. A FileSelectionDialog selects a file. It includes the following: o A directory menu showing the current directory and the directories above it o A scrolling list of file and directory names o An editable text field for the selected file o Labels for the list and text fields o Three buttons The default button labels are: OK, Cancel, and Help. Use Xt... |
Xm/SgCreateFinder(o) -- The Finder widget creation function
|
SgCreateFinder creates an unmanaged Finder. A Finder is used to accelerate text selection. o A text field for typing and displaying text. o A history button which remembers previous text field items. o A zoomBar for accelerated selection of text field sections. Finder is designed for quick access to components of the text field's text. The buttons on the zoomBar modify the text field, generally truncating sections after the pressed button. parent Specifies the parent widget ID name Specifies th... |
Xm/SgCreateVisualDrawingArea(o) -- The VisualDrawingArea widget creation function
|
SgCreateVisualDrawingArea creates an instance of a VisualDrawingArea widget and returns the associated widget ID. parent Specifies the parent widget ID name Specifies the name of the created widget arglistSpecifies the argument list argcount Specifies the number of attribute/value pairs in the argument list (arglist) For a complete definition of VisualDrawingArea and its associated resources, see SgVisualDrawingArea(3X).... |
Xm/SgDial(o) -- The Dial widget class
|
Dial is used by an application to allow the user to input or modify a value from within a range of values. A Dial has a rectangular region within which a knob or pointer graphic is displayed. The user can modify the Dial's value by spinning this knob or pointer. Classes Dial inherits behavior and resources from Core and Primitive classes. The class pointer is sgDialWidgetClass. The class name is SgDial. New Resources The following table defines a set of widget resources used by the programmer t... |
Xm/SgDropPocket(o) -- The DropPocket widget class
|
DropPocket is designed for receiving icons. The user will see the icon in the DropPocket as a visual reminder of the type of the file associated with the DropPocket. The user may drop SGI file icons onto the dropPocket. The DropPocket will determine the name of the icon and return information describing the icon to the application in the callback. The DropPocket background changes color when an droppable icon is above the DropPocket. Once an icon has been dropped on the DropPocket, the icon is d... |