button

inline fun Skin.button(name: String = defaultStyle, extend: String? = null, init: Button.ButtonStyle.() -> Unit = {}): Button.ButtonStyle

Return

a new instance of ButtonStyle added to the Skin with the selected name.

Parameters

name

name of the style as it will appear in the Skin instance.

extend

optional name of an existing style of the same type. Its values will be copied and used as base for this style.

init

will be applied to the style instance. Inlined.