"registerTooltip"

Sets a tooltip for a tab.

Synopsis

setValue(string shape, "registerTooltip", int idx, string tooltip);

getValue(string shape, "registerTooltip", int idx, string &tooltip);

shape.registerTooltip(intidx,string tooltip);

Parameters

Parameter Description
shape Name of the object
idx Index of the tab
tooltip Tooltip for the tab

Description

Sets a tooltip for a tab.

Example

Sets the tooltip"Tab" for the first tab.

main()
{
  string t = "Tab";
  this.registerTooltip(0, t);
}

Assignment

Tab