index.rst 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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 the GUI. 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. control_node_gallery
  30. GUI skinning and themes
  31. -----------------------
  32. Godot features an in-depth skinning/theming system for control nodes. The pages in this section
  33. explain the benefits of that system and how to set it up in your projects.
  34. .. toctree::
  35. :maxdepth: 1
  36. :name: toc-gui-skinning
  37. gui_skinning
  38. gui_using_theme_editor
  39. gui_using_fonts
  40. Control node tutorials
  41. ----------------------
  42. The following articles cover specific details of using particular control nodes.
  43. .. toctree::
  44. :maxdepth: 1
  45. :name: toc-control-nodes-tutorials
  46. bbcode_in_richtextlabel