Exposed find_next_valid_focus and find_prev_valid_focus.
This commit is contained in:
parent
ad0f1c6670
commit
3e94c23fa5
|
@ -306,6 +306,20 @@
|
|||
[/codeblocks]
|
||||
</description>
|
||||
</method>
|
||||
<method name="find_next_valid_focus" qualifiers="const">
|
||||
<return type="Control">
|
||||
</return>
|
||||
<description>
|
||||
Finds the next (below in the tree) [Control] that can receive the focus.
|
||||
</description>
|
||||
</method>
|
||||
<method name="find_prev_valid_focus" qualifiers="const">
|
||||
<return type="Control">
|
||||
</return>
|
||||
<description>
|
||||
Finds the previous (above in the tree) [Control] that can receive the focus.
|
||||
</description>
|
||||
</method>
|
||||
<method name="force_drag">
|
||||
<return type="void">
|
||||
</return>
|
||||
|
|
|
@ -2785,6 +2785,8 @@ void Control::_bind_methods() {
|
|||
ClassDB::bind_method(D_METHOD("has_focus"), &Control::has_focus);
|
||||
ClassDB::bind_method(D_METHOD("grab_focus"), &Control::grab_focus);
|
||||
ClassDB::bind_method(D_METHOD("release_focus"), &Control::release_focus);
|
||||
ClassDB::bind_method(D_METHOD("find_prev_valid_focus"), &Control::find_prev_valid_focus);
|
||||
ClassDB::bind_method(D_METHOD("find_next_valid_focus"), &Control::find_next_valid_focus);
|
||||
ClassDB::bind_method(D_METHOD("get_focus_owner"), &Control::get_focus_owner);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("set_h_size_flags", "flags"), &Control::set_h_size_flags);
|
||||
|
|
Loading…
Reference in New Issue