DESIGN (xvwidgets) functions


LIBRARY ROUTINE

xvw_fontname - return the font name being used by an object

LIBRARY CALL

char *xvw_fontname(
   xvobject object)

INPUT

OUTPUT

none

RETURN VALUE

The fontname associated with the object on success, NULL on failure

DESCRIPTION

Returns the name of the font being used by an object; in other words, this is the setting of the XVW_FONTNAME attribute of the object. If the object specified does not have the XVW_FONTNAME attribute set, the font being used by its parent will be returned. Recursion up the inheritance tree will be done until a setting for the font name is found.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

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

SEE ALSO

xvwidgets(3)

COPYRIGHT

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