From c36be14e3c017b3e27d2441603ac63ceb7eeaa2d Mon Sep 17 00:00:00 2001 From: Pawel Lampe Date: Sun, 17 Nov 2019 22:45:08 +0100 Subject: ItemList's add_(icon_)item method returns id of added item - docs updated --- doc/classes/ItemList.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'doc/classes') diff --git a/doc/classes/ItemList.xml b/doc/classes/ItemList.xml index 25420bd77b..a509cc6156 100644 --- a/doc/classes/ItemList.xml +++ b/doc/classes/ItemList.xml @@ -12,18 +12,18 @@ - + - Adds an item to the item list with no text, only an icon. + Adds an item to the item list with no text, only an icon. Returns the index of an added item. - + @@ -32,7 +32,8 @@ - Adds an item to the item list with specified text. Specify an [code]icon[/code], or use [code]null[/code] as the [code]icon[/code] for a list item with no icon. + Adds an item to the item list with specified text. Returns the index of an added item. + Specify an [code]icon[/code], or use [code]null[/code] as the [code]icon[/code] for a list item with no icon. If selectable is [code]true[/code], the list item will be selectable. -- cgit v1.2.3