Zebra API Doc

zebra.layout.getDirectAt()

getDirectAt

(
  • x
  • y
  • parent
)
zebra.layout.Layoutable

Find a direct component located at the given location of the specified parent component and the specified parent component

Parameters:

  • x Integer

    a x coordinate relatively to the parent component

  • y Integer

    a y coordinate relatively to the parent component

  • parent zebra.layout.Layoutable

    a parent component


Return: zebra.layout.Layoutable

an index of direct children component or -1 if no a children component can be found