DESIGN (xvlang) functions


LIBRARY ROUTINE

xvw_create_toolboxmenu - create a toolbox menu object

LIBRARY CALL

xvobject xvw_create_toolboxmenu(
   xvobject parent,
   char     *name)

INPUT

OUTPUT

none

RETURN VALUE

The toolboxmenu object on success, NULL on failure

DESCRIPTION

The toolbox menu object allows the user to select an operator according to its category/subcategory/operator name. In cantata, the toolbox menu object is used as the first method for glyph creation; the Creates a toolbox menu object, that consists of three menu objects. The first menu displays the different categories. The second menu displays the sub-categories for the selected category. And finally the third displays the operators for the selected sub-category.

Two callbacks are provided which can be used to notify the programmer when the user selects or activates an operator from the menu.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$DESIGN/objects/library/xvlang/src/ToolboxMenu.c

SEE ALSO

xvlang(3)

COPYRIGHT

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