DESIGN (xvwidgets) functions


LIBRARY ROUTINE

xvw_define_constraint - define a single constraint attribute for a widget class

LIBRARY CALL

xvw_define_constraint(
   WidgetClass widget_class,
   char     *constraint_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 constraint attributes for a particular widget class. This allows the addition of constraint attributes to a widget class or if NULL then a general set of constraint 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.