MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / _bind_methods

Method _bind_methods

scene/gui/control.cpp:3975–4415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3973}
3974
3975void Control::_bind_methods() {
3976 ClassDB::bind_method(D_METHOD("accept_event"), &Control::accept_event);
3977 ClassDB::bind_method(D_METHOD("get_minimum_size"), &Control::get_minimum_size);
3978 ClassDB::bind_method(D_METHOD("get_combined_minimum_size"), &Control::get_combined_minimum_size);
3979
3980 ClassDB::bind_method(D_METHOD("_set_layout_mode", "mode"), &Control::_set_layout_mode);
3981 ClassDB::bind_method(D_METHOD("_get_layout_mode"), &Control::_get_layout_mode);
3982 ClassDB::bind_method(D_METHOD("_set_anchors_layout_preset", "preset"), &Control::_set_anchors_layout_preset);
3983 ClassDB::bind_method(D_METHOD("_get_anchors_layout_preset"), &Control::_get_anchors_layout_preset);
3984 ClassDB::bind_method(D_METHOD("set_anchors_preset", "preset", "keep_offsets"), &Control::set_anchors_preset, DEFVAL(false));
3985 ClassDB::bind_method(D_METHOD("set_offsets_preset", "preset", "resize_mode", "margin"), &Control::set_offsets_preset, DEFVAL(PRESET_MODE_MINSIZE), DEFVAL(0));
3986 ClassDB::bind_method(D_METHOD("set_anchors_and_offsets_preset", "preset", "resize_mode", "margin"), &Control::set_anchors_and_offsets_preset, DEFVAL(PRESET_MODE_MINSIZE), DEFVAL(0));
3987
3988 ClassDB::bind_method(D_METHOD("_set_anchor", "side", "anchor"), &Control::_set_anchor);
3989 ClassDB::bind_method(D_METHOD("set_anchor", "side", "anchor", "keep_offset", "push_opposite_anchor"), &Control::set_anchor, DEFVAL(false), DEFVAL(true));
3990 ClassDB::bind_method(D_METHOD("get_anchor", "side"), &Control::get_anchor);
3991 ClassDB::bind_method(D_METHOD("set_offset", "side", "offset"), &Control::set_offset);
3992 ClassDB::bind_method(D_METHOD("get_offset", "offset"), &Control::get_offset);
3993 ClassDB::bind_method(D_METHOD("set_anchor_and_offset", "side", "anchor", "offset", "push_opposite_anchor"), &Control::set_anchor_and_offset, DEFVAL(false));
3994
3995 ClassDB::bind_method(D_METHOD("set_begin", "position"), &Control::set_begin);
3996 ClassDB::bind_method(D_METHOD("set_end", "position"), &Control::set_end);
3997 ClassDB::bind_method(D_METHOD("set_position", "position", "keep_offsets"), &Control::set_position, DEFVAL(false));
3998 ClassDB::bind_method(D_METHOD("_set_position", "position"), &Control::_set_position);
3999 ClassDB::bind_method(D_METHOD("set_size", "size", "keep_offsets"), &Control::set_size, DEFVAL(false));
4000 ClassDB::bind_method(D_METHOD("reset_size"), &Control::reset_size);
4001 ClassDB::bind_method(D_METHOD("_set_size", "size"), &Control::_set_size);
4002 ClassDB::bind_method(D_METHOD("set_custom_minimum_size", "size"), &Control::set_custom_minimum_size);
4003 ClassDB::bind_method(D_METHOD("set_global_position", "position", "keep_offsets"), &Control::set_global_position, DEFVAL(false));
4004 ClassDB::bind_method(D_METHOD("_set_global_position", "position"), &Control::_set_global_position);
4005 ClassDB::bind_method(D_METHOD("set_rotation", "radians"), &Control::set_rotation);
4006 ClassDB::bind_method(D_METHOD("set_rotation_degrees", "degrees"), &Control::set_rotation_degrees);
4007 ClassDB::bind_method(D_METHOD("set_scale", "scale"), &Control::set_scale);
4008 ClassDB::bind_method(D_METHOD("set_pivot_offset", "pivot_offset"), &Control::set_pivot_offset);
4009 ClassDB::bind_method(D_METHOD("get_begin"), &Control::get_begin);
4010 ClassDB::bind_method(D_METHOD("get_end"), &Control::get_end);
4011 ClassDB::bind_method(D_METHOD("get_position"), &Control::get_position);
4012 ClassDB::bind_method(D_METHOD("get_size"), &Control::get_size);
4013 ClassDB::bind_method(D_METHOD("get_rotation"), &Control::get_rotation);
4014 ClassDB::bind_method(D_METHOD("get_rotation_degrees"), &Control::get_rotation_degrees);
4015 ClassDB::bind_method(D_METHOD("get_scale"), &Control::get_scale);
4016 ClassDB::bind_method(D_METHOD("get_pivot_offset"), &Control::get_pivot_offset);
4017 ClassDB::bind_method(D_METHOD("get_custom_minimum_size"), &Control::get_custom_minimum_size);
4018 ClassDB::bind_method(D_METHOD("get_parent_area_size"), &Control::get_parent_area_size);
4019 ClassDB::bind_method(D_METHOD("get_global_position"), &Control::get_global_position);
4020 ClassDB::bind_method(D_METHOD("get_screen_position"), &Control::get_screen_position);
4021 ClassDB::bind_method(D_METHOD("get_rect"), &Control::get_rect);
4022 ClassDB::bind_method(D_METHOD("get_global_rect"), &Control::get_global_rect);
4023 ClassDB::bind_method(D_METHOD("set_focus_mode", "mode"), &Control::set_focus_mode);
4024 ClassDB::bind_method(D_METHOD("get_focus_mode"), &Control::get_focus_mode);
4025 ClassDB::bind_method(D_METHOD("get_focus_mode_with_override"), &Control::get_focus_mode_with_override);
4026 ClassDB::bind_method(D_METHOD("set_focus_behavior_recursive", "focus_behavior_recursive"), &Control::set_focus_behavior_recursive);
4027 ClassDB::bind_method(D_METHOD("get_focus_behavior_recursive"), &Control::get_focus_behavior_recursive);
4028 ClassDB::bind_method(D_METHOD("has_focus"), &Control::has_focus);
4029 ClassDB::bind_method(D_METHOD("grab_focus"), &Control::grab_focus);
4030 ClassDB::bind_method(D_METHOD("release_focus"), &Control::release_focus);
4031 ClassDB::bind_method(D_METHOD("find_prev_valid_focus"), &Control::find_prev_valid_focus);
4032 ClassDB::bind_method(D_METHOD("find_next_valid_focus"), &Control::find_next_valid_focus);

Callers

nothing calls this directly

Calls 7

D_METHODFunction · 0.85
itosFunction · 0.85
StringNameClass · 0.50
PropertyInfoClass · 0.50
MethodInfoClass · 0.50
appendMethod · 0.45
as_stringMethod · 0.45

Tested by

no test coverage detected