ButtonGroup.xml 886 B

123456789101112131415161718192021222324252627282930313233
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="ButtonGroup" inherits="Resource" category="Core" version="3.1">
  3. <brief_description>
  4. Group of Buttons.
  5. </brief_description>
  6. <description>
  7. Group of [Button]. All direct and indirect children buttons become radios. Only one allows being pressed.
  8. [member BaseButton.toggle_mode] should be [code]true[/code].
  9. </description>
  10. <tutorials>
  11. </tutorials>
  12. <demos>
  13. </demos>
  14. <methods>
  15. <method name="get_buttons">
  16. <return type="Array">
  17. </return>
  18. <description>
  19. Returns an [Array] of [Button]s who have this as their [code]ButtonGroup[/code] (see [member BaseButton.group]).
  20. </description>
  21. </method>
  22. <method name="get_pressed_button">
  23. <return type="BaseButton">
  24. </return>
  25. <description>
  26. Returns the current pressed button.
  27. </description>
  28. </method>
  29. </methods>
  30. <constants>
  31. </constants>
  32. </class>