DESIGN (xvobjects) functions


LIBRARY ROUTINE

xvw_create_integer - create an integer GUI object

LIBRARY CALL

xvobject xvw_create_integer(
   xvobject parent,
   char     *name)

INPUT

OUTPUT

none

RETURN VALUE

The integer object on success, NULL on failure

DESCRIPTION

The integer GUI object allows the user to enter a integer value. It features a text box in which the user may explicitly enter the integer value; the integer value is registered when the user hits <cr>. The integer 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 integer value. The integer 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 integer object, which will be fired when the user enters a new integer value.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

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

SEE ALSO

xvobjects(3)

COPYRIGHT

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