|
||
int fence_pgroup ( char *message, int p_type )
char *message; // prompt message int p_type; // prompt type
|
|
|||||||||||||||||||||||||||||||||||||
Synopsis |
#include "silver.h"
The fence_pgroup function displays message , and then permits a p-group of primitives to be interactively selected using a fence. p_type designates the allowable types that are considered for selection. Primitives allowed by p_type that are wholly inside the fence are placed in the p-group list.
|
|
||||||||||||||||||||||||||||||||||||
Parameters |
message is a null-terminated string containing the message to be used in prompting, p_type is an integer value containing flags indicating which primitive types are to be considered. p_type may be composed of any of the following flags or'ed together (as defined in silver.h):
|
|
||||||||||||||||||||||||||||||||||||
Return Value |
fence_pgroup returns 1 if the user successfully completes the fencing operation, and 0 if not.
|
|
||||||||||||||||||||||||||||||||||||
Comments |
The paths to the primitives selected by fence_pgroup may be accessed by use of get_group_item.
|
|
||||||||||||||||||||||||||||||||||||
See Also |
prompt_pgroup , fence_qgroup , get_group_item
|
|
||||||||||||||||||||||||||||||||||||
Example |
Here is an example of how to use fence_pgroup in conjunction with get_pgroup_item :
|
|