index.rst 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. :allow_comments: False
  2. .. _doc_user_interface:
  3. User interface (UI)
  4. ===================
  5. In this section of the tutorial we explain the basics of creating a graphical
  6. user interface (GUI) in Godot.
  7. UI building blocks
  8. ------------------
  9. Like everything else in Godot the user interface is built using nodes, specifically
  10. :ref:`Control <class_Control>` nodes. There are many different types of controls
  11. which are useful for creating specific types of GUIs. For simplicity we can
  12. separate them into two groups: content and layout.
  13. Typical content controls include:
  14. * :ref:`Buttons <class_Button>`
  15. * :ref:`Labels <class_Label>`
  16. * :ref:`LineEdits <class_LineEdit>` and :ref:`TextEdits <class_TextEdit>`
  17. Typical layout controls include:
  18. * :ref:`BoxContainers <class_BoxContainer>`
  19. * :ref:`MarginContainers <class_MarginContainer>`
  20. * :ref:`ScrollContainers <class_ScrollContainer>`
  21. * :ref:`TabContainers <class_TabContainer>`
  22. * :ref:`Popups <class_Popup>`
  23. The following pages explain the basics of using such controls.
  24. .. toctree::
  25. :maxdepth: 1
  26. :name: toc-gui-basics
  27. size_and_anchors
  28. gui_containers
  29. custom_gui_controls
  30. gui_navigation
  31. control_node_gallery
  32. GUI skinning and themes
  33. -----------------------
  34. Godot features an in-depth skinning/theming system for control nodes. The pages in this section
  35. explain the benefits of that system and how to set it up in your projects.
  36. .. toctree::
  37. :maxdepth: 1
  38. :name: toc-gui-skinning
  39. gui_skinning
  40. gui_using_theme_editor
  41. gui_theme_type_variations
  42. gui_using_fonts
  43. Control node tutorials
  44. ----------------------
  45. The following articles cover specific details of using particular control nodes.
  46. .. toctree::
  47. :maxdepth: 1
  48. :name: toc-control-nodes-tutorials
  49. bbcode_in_richtextlabel