pset_edit_mode(3g) — Subroutines
Name
pset_edit_mode − Sets the edit mode in the PHIGS state list entry.
Operating States: PHOP, ∗, ∗, ∗
PHIGS standard function
Syntax
void pset_edit_mode (
Pedit_mode mode /∗ (I) Edit mode ∗/
)
Data Structures
typedef enum {
PEDIT_INSERT, /∗ Insert the new element into the open structure
after the element pointed to by the current
element pointer. ∗/
PEDIT_REPLACE /∗ Replace the element currently pointed to by the
element pointer. ∗/
} Pedit_mode;
Description
pset_edit_mode sets the edit mode in the PHIGS state list entry to the specified edit mode value, either PEDIT_INSERT or PEDIT_REPLACE. If the value of the element pointer is 0 (the top of the structure), the new element is inserted immediately before the first element. The pointer value points to the new element. The remaining structure elements are renumbered.
See Also
pdel_elem
pinq_edit_mode
pset_elem_ptr