GS is not recommended for use in new applications. Instead we recommend WX for applications that need a graphical user interface.
GS is deprecated and will be removed in the 18.0 release.
The Graphics System, GS, is easy to learn and designed to be portable to many different platforms.
In the description below, the type
Please refer to the GS User's Guide for a description of the different object types and possible options.
Configures a graphical object according to the specified options.
Creates a new graphical object of the specified type as a child to the specified parent object. The object is configured according to the options and its identifier is returned. If no options are provided, default option values are used.
If a name is provided, this name can be used to reference the object instead of the object identifier. The name is local to the process which creates the object.
The following object types exist:
Creates a hierarchy of graphical objects.
Destroys a graphical object and all its children.
These functions are shorthand equivalents of
Returns the value of an option key for the specified graphical object.
Starts GS, unless it is already started, and returns its object identifier.
Stops GS and closes all windows. This function is not the opposite
of