class_flowcontainer.rst 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the FlowContainer.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_FlowContainer:
  6. FlowContainer
  7. =============
  8. **Inherits:** :ref:`Container<class_Container>` **<** :ref:`Control<class_Control>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  9. **Inherited By:** :ref:`HFlowContainer<class_HFlowContainer>`, :ref:`VFlowContainer<class_VFlowContainer>`
  10. Base class for flow containers.
  11. Description
  12. -----------
  13. Arranges child :ref:`Control<class_Control>` nodes vertically or horizontally in a left-to-right or top-to-bottom flow.
  14. A line is filled with :ref:`Control<class_Control>` nodes until no more fit on the same line, similar to text in an autowrapped label.
  15. Methods
  16. -------
  17. +-----------------------+--------------------------------------------------------------------------------------+
  18. | :ref:`int<class_int>` | :ref:`get_line_count<class_FlowContainer_method_get_line_count>` **(** **)** |const| |
  19. +-----------------------+--------------------------------------------------------------------------------------+
  20. Method Descriptions
  21. -------------------
  22. .. _class_FlowContainer_method_get_line_count:
  23. - :ref:`int<class_int>` **get_line_count** **(** **)** |const|
  24. Returns the current line count.
  25. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  26. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  27. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  28. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  29. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  30. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`