append_for_widget


Description:

[ Version ( since = "3.2" ) ]
public int append_for_widget (Widget widget)

Appends the data from widget to the widget hierarchy represented by this.

This function is a shortcut for adding information from widget to the given this. This includes setting the name or adding the style classes from widget.

Parameters:

this

a widget path

widget

the widget to append to the widget path

Returns:

the position where the data was inserted