moai.DoMethod(id, "Rename", pos, [icon1,] column1$, ...)
For all columns that have the Listviewcolumn.Icon attribute set,
you also need to pass an icon before the actual text. The icon has to be an
identifier of a Hollywood brush/icon which should be used as the icon for
the column. If Listviewcolumn.Icon isn't set, then you must
omit the icon parameter and only pass text data for the listview entry.
If you've set Listviewcolumn.Icon to True
and you
don't want to show an icon in this particular row and column, you
can also pass the special value -1. In that case, RapaGUI won't
show an icon even though Listviewcolumn.Icon has been
set to True
. Please note that auto-generated IDs cannot be used.
Please also read about RapaGUI's image cache to learn more
about icon support in RapaGUI. See Image cache for details.
In case a column is showing a checkbox, you have to pass "On", "True", or "1" to select the checkbox and any other text to deselect the checkbox.
The entry position is specified in the pos
argument. This can be an
absolute index position starting at 0 for the first entry or one of the
following special values:
Active
Note that on AmigaOS and compatibles icon support is only available with MUI 4.0 or better.