DESIGN (xvwidgets) functions


LIBRARY ROUTINE

xvw_define_attribute - define a single attribute for a widget class

LIBRARY CALL

xvw_define_attribute(
   WidgetClass widget_class,
   char     *attribute_name,
   char     *resource_type,
   kfunc_int setroutine,
   kfunc_int getroutine)

INPUT

OUTPUT

none

RETURN VALUE

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

DESCRIPTION

This allows the advance application programmer to add their own user defined attributes for a particular widget class. This allows the addition of attributes to a widget class or if NULL then a general set of attributes. When the "set" or "get" attribute routines are called then the corresponding routine is called.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

Restrictions on data or input as applicable

MODIFICATION

none

FILES

$DESIGN/include/xvwidgets/attributes.h

SEE ALSO

xvwidgets(3)

COPYRIGHT

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