The communication between Erlang and the external Tcl/Tk process was improved.
Compatibility problems with the Microsoft Windows version of Tcl/Tk 8 and menu handling was solved.
The grid handing code was corrected to avoid intermittent crashes.
gs:info()
was changed not to crash when called with
the wrong argument.
(Own Id: OTP-4522)
gs:read(Canvas, {hit, {X,Y}})
crashed when executed over
an image object.
gtk
. This prefix has been changed to gstk
not to clash with modules that interface to the graphical toolkit GTk.
showvalue
to the scale object, which makes it possible to turn off showing the value of the scale.gs:start()
now returns {error, Reason}
if the backend dies, instead of always returning successful result.click
and doubleclick
work has been improved.gs:config
now returns {error, Reason}
if the option specified has bad format (i.e., isn't a two-element tuple), instead of causing GS to crash.tool_utils:open_help/2
used by some tools, has been fixed so that it also works for Netscape 4.x.anchor
option some GS object use is poorly documented.Same as in version 1.2.1.
Same as in version 1.2.1.
Same as in version 1.2.1.
gs:read(Obj, parent)
and gs:read(Obj, children)
now return correct ObjId
s.find
is replaced with hit
.file
is replaced with load
(and save
is added).{error,Reason}
instead of undefined
if the object doesn't exist.gs:stop()
stops the graphics server, deleting all windows within it. This is not the opposite of gs:start/0
since it will affect all applications using gs. The correct way to finish an application is to use gs:destroy/1
or let the process terminate.