diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-08-25 10:49:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-25 10:49:26 +0200 |
commit | 0d37f198f5f00664f7023b69fed712791289149a (patch) | |
tree | cf8d68f4637636cc5c47db23c75bff24fe547db5 /doc/classes | |
parent | 33e531d95bea7733d2208c52660bc55649a2abae (diff) | |
parent | eac0af5892a4cfa92e6cae1224f671a4d7bf9901 (diff) |
Merge pull request #31628 from merumelu/treeitem-icon-modulate
Tree: fix and expose icon modulation
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/TreeItem.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/classes/TreeItem.xml b/doc/classes/TreeItem.xml index 56b4b21525..04deae6bf5 100644 --- a/doc/classes/TreeItem.xml +++ b/doc/classes/TreeItem.xml @@ -136,6 +136,15 @@ Returns the column's icon's maximum width. </description> </method> + <method name="get_icon_modulate" qualifiers="const"> + <return type="Color"> + </return> + <argument index="0" name="column" type="int"> + </argument> + <description> + Returns the [Color] modulating the column's icon. + </description> + </method> <method name="get_icon_region" qualifiers="const"> <return type="Rect2"> </return> @@ -464,6 +473,17 @@ Sets the given column's icon's maximum width. </description> </method> + <method name="set_icon_modulate"> + <return type="void"> + </return> + <argument index="0" name="column" type="int"> + </argument> + <argument index="1" name="modulate" type="Color"> + </argument> + <description> + Modulates the given column's icon with [code]modulate[/code]. + </description> + </method> <method name="set_icon_region"> <return type="void"> </return> |