index.rst 1.7 KB

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