aboutsummaryrefslogtreecommitdiff
path: root/doc/classes/LineEdit.xml
diff options
context:
space:
mode:
authorRémi Verschelde2017-11-13 09:24:36 +0100
committerRémi Verschelde2017-11-13 09:25:53 +0100
commit2fce0010f0d0eb2476028ed62335508bceabd820 (patch)
tree208bd6159aff3ae2a6e5add28de99518f1a0b13c /doc/classes/LineEdit.xml
parentdc4be4350a4aac91a342001e1b6d2eaa11d0b4b8 (diff)
downloadgodot-2fce0010f0d0eb2476028ed62335508bceabd820.tar.gz
godot-2fce0010f0d0eb2476028ed62335508bceabd820.tar.zst
godot-2fce0010f0d0eb2476028ed62335508bceabd820.zip
classref: Sync with current source
[ci skip]
Diffstat (limited to '')
-rw-r--r--doc/classes/LineEdit.xml14
1 files changed, 8 insertions, 6 deletions
diff --git a/doc/classes/LineEdit.xml b/doc/classes/LineEdit.xml
index bf81d90ef..a9626d945 100644
--- a/doc/classes/LineEdit.xml
+++ b/doc/classes/LineEdit.xml
@@ -114,7 +114,7 @@
Return the text in the [code]LineEdit[/code].
</description>
</method>
- <method name="is_context_menu_enabled" qualifiers="const">
+ <method name="is_context_menu_enabled">
<return type="bool">
</return>
<description>
@@ -180,7 +180,7 @@
<method name="set_context_menu_enabled">
<return type="void">
</return>
- <argument index="0" name="enabled" type="bool">
+ <argument index="0" name="enable" type="bool">
</argument>
<description>
Set the status of the context menu. When enabled, the context menu will appear when the [code]LineEdit[/code] is right clicked.
@@ -268,6 +268,9 @@
<member name="caret_blink_speed" type="float" setter="cursor_set_blink_speed" getter="cursor_get_blink_speed">
Duration (in seconds) of a caret's blinking cycle.
</member>
+ <member name="context_menu_enabled" type="bool" setter="set_context_menu_enabled" getter="is_context_menu_enabled">
+ If [code]true[/code] the context menu will appear when right clicked.
+ </member>
<member name="editable" type="bool" setter="set_editable" getter="is_editable">
If [code]false[/code] existing text cannot be modified and new text cannot be added.
</member>
@@ -292,9 +295,6 @@
<member name="text" type="String" setter="set_text" getter="get_text">
String value of the [LineEdit].
</member>
- <member name="context_menu_enabled" type="bool" setter="set_context_menu_enabled" getter="is_context_menu_enabled">
- If [code]true[/code] the context menu will appear when right clicked.
- </member>
</members>
<signals>
<signal name="text_changed">
@@ -343,7 +343,9 @@
<constant name="MENU_UNDO" value="5">
Undoes the previous action.
</constant>
- <constant name="MENU_MAX" value="6">
+ <constant name="MENU_REDO" value="6">
+ </constant>
+ <constant name="MENU_MAX" value="7">
</constant>
</constants>
<theme_items>