SgCreateColorChooserDialog man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]

SgCreateColorChooserDialog(3X)			SgCreateColorChooserDialog(3X)

NAME
       SgCreateColorChooserDialog — The ColorChooser ColorChooserDialog conve‐
       nience creation function

SYNOPSIS
       #include <Sgm/ColorC.h>

       Widget SgCreateColorChooserDialog  (parent,  name,  arglist,  argcount)
	    Widget    parent;	     String    name;	    ArgList   arglist;
	    Cardinal  argcount;

VERSION
       This page documents the version of Sgm that accompanies Motif 1.2.

DESCRIPTION
       SgCreateColorChooserDialog is a convenience creation function that cre‐
       ates   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 pro‐
       vides a color hexagon and color sliders that presents the  color	 range
       in Hue, Saturation, Value, (HSV) and Red, Green, Blue, (RGB) color spa‐
       ces.  Because of drawing speed  considiration  the  color  hexagon  and
       color  sliders  are available only if running under GL. For X only con‐
       figuration there are Scale widget to replace the color sliders and ther
       is  no  color hexagon.  The ColorChooser includes the following: A menu
       for setting options for the color chooser.  A color hexagon  that  pro‐
       vides  visual selection of the Hue and Saturation components of a color
       in an Hue, Saturation, Value, (HSV) color space.	 Color slider for each
       of  Hue,	 Saturation,  Value,  Red,  Green, Blue color components.  The
       color sliders are visible depening  on  the  user  color	 chooser  menu
       selection.  Each of the color sliders and the color hexagon is accompa‐
       nied with a text edit widget to view the exact  value  of  the  current
       color  component	 and to set it's numerical value.  Two color swatches:
       one for showing the current selected color and  one  for	 enabling  the
       user to atore a second color for reference.  Four buttons

       The  default  button labels are OK, Cancel, Apply, and Help.  One addi‐
       tional WorkArea child may be added to the ColorChooser after creation.

       SgCreateColorChooserDialog  forces  the	value  of   the	  ColorChooser
       resource XmNdialogType to XmDIALOG_SELECTION.

       Use  XtManageChild to pop up the ColorChooserDialog (passing the Color‐
       Chooser as the widget parameter); use XtUnmanageChild to pop  it	 down.
       Specifies the parent widget ID Specifies the name of the created widget
       Specifies the argument list Specifies  the  number  of  attribute/value
       pairs in the argument list (arglist)

       For a complete definition of ColorChooser and its associated resources,
       see SgColorChooser(3X).

RETURN VALUE
       Returns the ColorChooser widget ID.

RELATED INFORMATION
       SgColorChooser(3X).

						SgCreateColorChooserDialog(3X)
[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net