Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

SET EDIT MODE(3P)  —  Kubota Pacfic Computer Inc. (29 February 1991)

NAME

SET EDIT MODE − set the edit mode controlling how new structure elements are added to the open structure

SYNOPSIS

C Syntax

void
pset_edit_mode ( mode )
Pedit_modemode;edit mode

Required PHIGS Operating States

(PHOP, ∗, ∗, ∗)

DESCRIPTION

Purpose

The SET EDIT MODE subroutine sets the edit mode controlling how PHIGS subroutines that create new structure elements will add the new element to the open structure.  The mode may be Insert or Replace. 

Insert is the default. 

C Input Parameter

modeAn enumerated variable specifying the edit mode to be used to add new elements to the open structure.  Valid values (defined in phigs.h) are:

PEDIT_INSERT
PEDIT_REPLACE

Execution

The SET EDIT MODE subroutine sets the edit mode in the traversal state list to Insert or Replace. The value in this entry controls how PHIGS subroutines that create new structure elements add the new element to the currently open structure. 

While the edit mode is Insert, new structure elements are inserted into the open structure after the element pointed to by the current element pointer. 

While the edit mode is Replace, new structure elements replace the element in the open structure pointed to by the current element pointer. 

ERRORS

002Ignoring function, function requires state (PHOP, ∗, ∗, ∗)

SEE ALSO

INQUIRE EDIT MODE (3P)
DELETE ELEMENT (3P)

September 02, 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026