summaryrefslogtreecommitdiff
path: root/doc/classes/EditorProperty.xml
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-09-19 15:32:16 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-09-19 15:32:16 +0200
commitd4f841858249075614fa553390774a8ad6c3ba36 (patch)
treeefb14460f50bc59436a57f4a303772b035d9f878 /doc/classes/EditorProperty.xml
parentaa42b4f0cb448deb200cec67a11d272d3caf46f5 (diff)
parent056a418862f3288742b718983e60c04f4f410f61 (diff)
Merge pull request #66080 from Zylann/editor_property_set_read_only
Expose `EditorProperty._set_read_only` virtual method
Diffstat (limited to 'doc/classes/EditorProperty.xml')
-rw-r--r--doc/classes/EditorProperty.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/EditorProperty.xml b/doc/classes/EditorProperty.xml
index 7bac4bf7ac..9170c449bf 100644
--- a/doc/classes/EditorProperty.xml
+++ b/doc/classes/EditorProperty.xml
@@ -9,6 +9,13 @@
<tutorials>
</tutorials>
<methods>
+ <method name="_set_read_only" qualifiers="virtual">
+ <return type="void" />
+ <param index="0" name="read_only" type="bool" />
+ <description>
+ Called when the read-only status of the property is changed. It may be used to change custom controls into a read-only or modifiable state.
+ </description>
+ </method>
<method name="_update_property" qualifiers="virtual">
<return type="void" />
<description>