linkLabel

inline fun <S> KWidget<S>.linkLabel(text: CharSequence, url: CharSequence = text, style: String = defaultStyle, init: LinkLabel.(S) -> Unit = {}): LinkLabel

Return

a LinkLabel instance added to this group.

Parameters

text

will be displayed on the label.

url

URL that will be opened by the label. If not given, will default to text.

style

name of the widget style. Defaults to defaultStyle.

init

will be invoked with the widget as "this". Consumes actor container (usually a Cell or Node) that contains the widget. Might consume the actor itself if this group does not keep actors in dedicated containers. Inlined.