"setColumnWidth"
Sets the column width (column of a tree widget).
Synopsis
shape.setColumnWidth(int idx, int width);
Parameters
Parameter | Description |
---|---|
shape | Name of the object |
idx | Index of the column |
width | Width of the column |
Description
Sets the column width (column of a tree widget).
Example
The following example sets the width of the first column to 60.
main()
{
TREE1.setColumnWidth(0,60);
}
Assignment
Tree widget