I am not sure if this feature is in there but I couldn't find it from source code.
Basically when I select a list item to execute a method, I'd like to add a visible change to the text/color of the listitems's maintext, eg,
initially the text is:
- switch on light (status: off)
Action: click, the main text turns to below fake code:
- switch off light (status: on)</green color>
Action: click again, the main text turns to initial text
I'd like a exported method such as
- List.SetMainText(index int, text string)
- List.SetSecondaryText(index int, text string)
Since you already supplied a method: GetCurrentItem to obtain the current item's index, it's all set if these methods could be exposed.
Thanks
I am not sure if this feature is in there but I couldn't find it from source code.
Basically when I select a list item to execute a method, I'd like to add a visible change to the text/color of the listitems's maintext, eg,
initially the text is:
Action: click, the main text turns to below fake code:
Action: click again, the main text turns to initial text
I'd like a exported method such as
Since you already supplied a method: GetCurrentItem to obtain the current item's index, it's all set if these methods could be exposed.
Thanks