[erlang-bugs] gs module, editor object: unable to change highlightfg option

Doug Edmunds <>
Sun Oct 7 06:07:25 CEST 2007


There is  a bug in the gs code relating to editor objects:
highlightfg is a rectangle around the object when it has focus.
The default is a dark rectangle (black).

Attempting the set the highlightfg of an editor object in gs has no effect.

    gs:create(editor,editor1,window1,  [{highlightfg,yellow}]).
    gs:config(editor1,[{highlightfg, yellow}]).

It works correctly for entry objects.  Other objects not tested.

-- Doug Edmunds
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20071006/604fb303/attachment.html>

More information about the erlang-bugs mailing list