class_flowcontainer.rst 2.2 KB

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