Widget.setTitle

void setTitle(string title = null)

Sets the title for the widget.

Parameters

titlethe title or null