DESIGN (xvobjects) functions


LIBRARY ROUTINE

xvw_create_float - create a float object

LIBRARY CALL

xvobject xvw_create_float(
   xvobject parent,
   char     *name)

INPUT

OUTPUT

none

RETURN VALUE

The float GUI object on success, NULL on failure

DESCRIPTION

The float GUI object allows the user to enter a float precision value. It features a text box in which the user may explicitly enter the float value; the float value is registered when the user hits <cr>. The float value may be bounded by a minimum and maximum value, if desired.

A scroll bar provides an alternate way for the user to specify the float value. The float object consists of a manager object with four children: a label object, a text object, a scrollbar, and a pixmap object.

A callback can be installed on the float object, which will be fired when the user enters a new float value.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$DESIGN/objects/library/xvobjects/src/Float.c

SEE ALSO

xvobjects(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.