Previous Next Up Title Contents Index Functions Index Top Library

SET CONFIGURATION FILE NAME

PXSET_CONF_FILE_NAME


CALL SEQUENCE

void pxset_conf_file_name(
)

PHIGS STATE

(PHCL,*,*,*)

EFFECT

GPHIGS allows programmers to define a set of parameters, used by GPHIGS, that are not provided into the PHIGS standard ( window size, double buffering, ... ). These parameters are defined into an external file, accessed when opening GPHIGS.

Default name for this file is GPHIGS.def. This name may be changed calling this function.

name can be the full path to the configuration file allowing applications to be executed without copying the file in the current directory.

This function must be called before OPEN PHIGS.

For full details, see the User Guide, chapter 3.1 Configuration Directives.

Example of content of a GPHIGS.def file:

	#Workstation 1 ( X Window )
	%wn	upper_left	window name
	%wp	0.0 0.5 0.5 1.0	window position (upper left)
	%db	no	double buffering off
	%di	no	don't load colour map for dithering

	#Workstation 2 ( X Window )
	%wk	2
	%wn	upper_right	window name
	%wp	0.5 1.0 0.5 1.0	window position (upper right)
	%wr	no	window not resizable

	#Workstation 3 ( PostScript )
	%wk	3
	%ps	100 200 300 400	PostScript image from the position 100,200
			with dimensions 300x400
	#All workstations
	%wk	0	select all workstations
	%io no	indicates no input is needed

SEE ALSO

Set configuration parameter, see pxset_conf_param


Previous Next Up Title Contents Index Functions Index Top Library