mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Hide Control focus when given via mouse input
This commit is contained in:
parent
2753d333f6
commit
aeb3a45c97
53 changed files with 229 additions and 105 deletions
|
|
@ -394,6 +394,12 @@ protected:
|
|||
void _accessibility_action_hide_tooltip(const Variant &p_data);
|
||||
void _accessibility_action_scroll_into_view(const Variant &p_data);
|
||||
|
||||
#ifndef DISABLE_DEPRECATED
|
||||
bool _has_focus_bind_compat_110250() const;
|
||||
void _grab_focus_bind_compat_110250();
|
||||
static void _bind_compatibility_methods();
|
||||
#endif //DISABLE_DEPRECATED
|
||||
|
||||
// Exposed virtual methods.
|
||||
|
||||
GDVIRTUAL1RC(bool, _has_point, Vector2)
|
||||
|
|
@ -592,8 +598,8 @@ public:
|
|||
FocusMode get_focus_mode_with_override() const;
|
||||
void set_focus_behavior_recursive(FocusBehaviorRecursive p_focus_behavior_recursive);
|
||||
FocusBehaviorRecursive get_focus_behavior_recursive() const;
|
||||
bool has_focus() const;
|
||||
void grab_focus();
|
||||
bool has_focus(bool p_ignore_hidden_focus = false) const;
|
||||
void grab_focus(bool p_hide_focus = false);
|
||||
void grab_click_focus();
|
||||
void release_focus();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue