Package-level declarations

Types

Link copied to clipboard
class MenuButton(icon: Drawable?, text: String?, style: TextButton.TextButtonStyle? = null) : TextButton

A button that has both an icon and a text label. Typically used in menus.

Link copied to clipboard
open class ToggleButton(defaultToggled: Boolean = false, toggleableStyle: Button.ButtonStyle = Styles.defaultb) : Button

Represents a toggleable Button.

Functions

Link copied to clipboard
fun <T : ToggleButton> Cell<T>.toggle(state: Boolean): Cell<T>

Sets whether the underlying toggle button is toggled on.

Link copied to clipboard
inline fun <T : ToggleButton> Cell<T>.toggled(crossinline listener: T.(Boolean) -> Unit): Cell<T>

Sets a toggle listener for the underlying toggle button.