diff options
author | reduz <reduzio@gmail.com> | 2021-07-16 18:36:05 -0300 |
---|---|---|
committer | reduz <reduzio@gmail.com> | 2021-07-17 10:57:14 -0300 |
commit | a3fb76cd450661816f2e4f65dc172917b47c11e6 (patch) | |
tree | 5902ff9c82cbc62f2603472c5b39bcb221f2a955 /doc | |
parent | de83ee57e5bb0e4fb494455a98d597d76289d321 (diff) |
Create many types of popups on demand
* LineEdit popups created on demand.
* TextEdit popups created on demand.
* SpinSlider popups created on demand.
* ResourcePicker popups created on demand.
Improves editor responsiveness.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/LineEdit.xml | 7 | ||||
-rw-r--r-- | doc/classes/TextEdit.xml | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/doc/classes/LineEdit.xml b/doc/classes/LineEdit.xml index 773f7b1a02..af6fc738c7 100644 --- a/doc/classes/LineEdit.xml +++ b/doc/classes/LineEdit.xml @@ -102,6 +102,13 @@ Inserts [code]text[/code] at the caret. If the resulting value is longer than [member max_length], nothing happens. </description> </method> + <method name="is_menu_visible" qualifiers="const"> + <return type="bool"> + </return> + <description> + Returns whether the menu is visible. Use this instead of [code]get_menu().visible[/code] to improve performance (so the creation of the menu is avoided). + </description> + </method> <method name="menu_option"> <return type="void"> </return> diff --git a/doc/classes/TextEdit.xml b/doc/classes/TextEdit.xml index 5de6c059c3..6bc3cff199 100644 --- a/doc/classes/TextEdit.xml +++ b/doc/classes/TextEdit.xml @@ -382,6 +382,13 @@ <description> </description> </method> + <method name="is_menu_visible" qualifiers="const"> + <return type="bool"> + </return> + <description> + Returns whether the menu is visible. Use this instead of [code]get_menu().visible[/code] to improve performance (so the creation of the menu is avoided). + </description> + </method> <method name="is_selection_active" qualifiers="const"> <return type="bool"> </return> |