touchgfx::Drawable::getLastChild() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXtouchgfx::Drawable::getLastChild()

touchgfx::Drawable::getLastChild() method

@fn virtual void Drawable::getLastChild(int16_t x, int16_t y, Drawable** last) = 0; Function for obtaining the the last child of this drawable that intersects with the specified point. Function for obtaining the the last child of this drawable that intersects with the specified point. Used in input event handling for obtaining the appropriate drawable that should receive the event. Note that input events must be delegated to the last drawable of the tree (meaning highest z-order / front-most drawable).

Syntax

virtual void getLastChild(int16_t x,     int16_t y,     Drawable** last) = 0;

Arguments

last

x

The point of intersection expressed in coordinates relative to the parent.

y

The point of intersection expressed in coordinates relative to the parent.

References

LocationReferrerScopeText
Drawable.hpp:179
virtual void getLastChild(int16_t x, int16_t y, Drawable** last) = 0;
Container.hpp:154touchgfx::Container::getLastChild()touchgfx::Container
virtual void getLastChild(int16_t x, int16_t y, Drawable** last);
Widget.hpp:74touchgfx::Widget::getLastChild()touchgfx::Widget
virtual void getLastChild(int16_t x, int16_t y, Drawable** last)

Override Tree

Overridden methods
touchgfx::Drawable::getLastChild()