mirror of
https://github.com/godotengine/godot.git
synced 2024-12-27 11:24:59 +08:00
ab3b1d9f3e
They work exactly the same as current checkbox-decorated items, but in order to preserve compatibility, separate methods are used, like `add_radio_check_item()`. The other option would have been to add a new parameter at the end of `add_check_item()` and the like, but that would have forced callers to provide the defaults manually. `is_item_checkable()`, `is_item_checked()` and `set_item_checked()` are used regardless the item is set to look as check box or radio button. Keeping check in the name adds an additional clue about these facts. Closes #13055. |
||
---|---|---|
.. | ||
SCsub | ||
test_gdscript.cpp | ||
test_gdscript.h | ||
test_gui.cpp | ||
test_gui.h | ||
test_image.cpp | ||
test_image.h | ||
test_io.cpp | ||
test_io.h | ||
test_main.cpp | ||
test_main.h | ||
test_math.cpp | ||
test_math.h | ||
test_oa_hash_map.cpp | ||
test_oa_hash_map.h | ||
test_ordered_hash_map.cpp | ||
test_ordered_hash_map.h | ||
test_physics_2d.cpp | ||
test_physics_2d.h | ||
test_physics.cpp | ||
test_physics.h | ||
test_render.cpp | ||
test_render.h | ||
test_shader_lang.cpp | ||
test_shader_lang.h | ||
test_string.cpp | ||
test_string.h |