You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following functions are get/set functions. If the optional argument is given, then the function will set, as well as get, the specified value.
Object data (int column, [Object o])
Bool hidden ([Bool hidden])
String text (int column, [String text])
Bool disabled ([bool disabled])
When the following two functions are called on a TreeWidgetItem add new TreeWidgetItems to it as children.
If an array of strings is given as the first argument to the function, then a new TreeWidgetItem
is created. If a TreeWidgetItem is specified as the first argument, it is moved into the new location.
Programmers can also associate Javascript Objects with the TreeWidgetItem by specifying the object as the second argument and the desired column as the third.
Specifying an Object is optional, but if given, a column must also be given.
TreeWidgetItemadd (String[] values, [Object o, int column])