godot/main/tests
Pedro J. Estébanez ab3b1d9f3e Add radio-button-looking entries to PopupMenu
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.
2018-03-27 19:19:45 +02:00
..
SCsub disable caching for targets using helper functions 2017-11-28 23:24:12 -04:00
test_gdscript.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
test_gdscript.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
test_gui.cpp Add radio-button-looking entries to PopupMenu 2018-03-27 19:19:45 +02:00
test_gui.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
test_image.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
test_image.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
test_io.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
test_io.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
test_main.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
test_main.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
test_math.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
test_math.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
test_oa_hash_map.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
test_oa_hash_map.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
test_ordered_hash_map.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
test_ordered_hash_map.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
test_physics_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
test_physics_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
test_physics.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
test_physics.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
test_render.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
test_render.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
test_shader_lang.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
test_shader_lang.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
test_string.cpp Fix typos in code and docs with codespell 2018-01-18 22:01:42 +01:00
test_string.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00