setCaptionBar

Displays an image and text on the specified caption bar.

This also sets the image and text on the taskbar if one is displayed.

Syntax

setCaptionBar(bar,
              img,
              text);

Parameters

  • bar - (jsx3.gui.WindowBar or jsx3.gui.Block) The caption bar.
  • img - (String) An image string in the form: '<img scr=path/>'
  • text - (String) The text to show in the caption.

Returns

none