DESIGN (xvwidgets) functions


LIBRARY ROUTINE

xvw_format_attribute - formatted set attribute (variable argument list)

LIBRARY CALL

int xvw_format_attribute(
  xvobject object,
  char     *attribute,
  char     *format,
  kvalist)

INPUT

OUTPUT

none

RETURN VALUE

TRUE (1) on success, FALSE (0) otherwise

DESCRIPTION

This routine sets a single attribute for a visual or GUI object. First the attribute's format and arguments are passed to the kvsprintf(). Afterwards the attribute and value is passed to xvw_set_attribute() in order pass the attribute and formatted string to the visual or GUI object.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

a 40K temporary format buffer is used, so any formatting of strings larger than this may result in a bus error.

MODIFICATION

none

FILES

$DESIGN/objects/library/xvwidgets/src/attributes.c

SEE ALSO

xvwidgets(3)

COPYRIGHT

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