diff options
| author | Juan Linietsky | 2018-04-08 09:31:54 -0300 |
|---|---|---|
| committer | GitHub | 2018-04-08 09:31:54 -0300 |
| commit | 6eb0c74e9d6bd9e9e5f52fed2bd3b9c35a2877cb (patch) | |
| tree | cc7df058847dcb27779e9bdf0607fc2764d81af2 /doc | |
| parent | 10448063c401637cb5f4ed05d46c05edf9e51ea4 (diff) | |
| parent | ed3b080ca6ebc4361306a786dcc2d45481ee8ed9 (diff) | |
| download | godot-6eb0c74e9d6bd9e9e5f52fed2bd3b9c35a2877cb.tar.gz godot-6eb0c74e9d6bd9e9e5f52fed2bd3b9c35a2877cb.tar.zst godot-6eb0c74e9d6bd9e9e5f52fed2bd3b9c35a2877cb.zip | |
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/classes/ItemList.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/classes/ItemList.xml b/doc/classes/ItemList.xml index e4db5aeb8..014788776 100644 --- a/doc/classes/ItemList.xml +++ b/doc/classes/ItemList.xml @@ -87,6 +87,15 @@ <description> </description> </method> + <method name="get_item_icon_modulate" qualifiers="const"> + <return type="Color"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + Returns a [Color] modulating item's icon at the specified index. + </description> + </method> <method name="get_item_icon_region" qualifiers="const"> <return type="Rect2"> </return> @@ -225,6 +234,17 @@ Set (or replace) icon of the item at the specified index. </description> </method> + <method name="set_item_icon_modulate"> + <return type="void"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <argument index="1" name="modulate" type="Color"> + </argument> + <description> + Sets a modulating [Color] for item's icon at the specified index. + </description> + </method> <method name="set_item_icon_region"> <return type="void"> </return> |
