WidgetPath.appendForWidget

Appends the data from @widget to the widget hierarchy represented by @path. This function is a shortcut for adding information from @widget to the given @path. This includes setting the name or adding the style classes from @widget.

class WidgetPath
int
appendForWidget

Parameters

widget Widget

the widget to append to the widget path

Return Value

Type: int

the position where the data was inserted

Meta