Package-level declarations

Types

Link copied to clipboard
class ViewScope

Functions

Link copied to clipboard
fun ViewScope.Box(modifier: Modifier = Modifier, content: ViewScope.() -> Unit)

A container that stacks children on top of each other.

Link copied to clipboard
fun buildView(width: Int, height: Int, content: ViewScope.() -> Unit): String
Link copied to clipboard
fun ViewScope.Column(modifier: Modifier = Modifier, content: ViewScope.() -> Unit)
Link copied to clipboard
fun <T> ViewScope.remember(key: String, calculation: () -> T): T

Remembers a value computed by calculation.

fun <T> ViewScope.remember(key: String, input: Any?, calculation: () -> T): T

Remembers a value computed by calculation, recomputing it only if input changes.

Link copied to clipboard
fun renderBorder(buffer: Buffer, x: Int, y: Int, width: Int, height: Int, style: BorderStyle, color: Color = Color.Default)
Link copied to clipboard
fun renderText(buffer: Buffer, x: Int, y: Int, text: String, fg: Color = Color.Default, bg: Color = Color.Default, bold: Boolean = false, italic: Boolean = false, underline: Boolean = false, strikethrough: Boolean = false)
Link copied to clipboard
fun ViewScope.Row(modifier: Modifier = Modifier, content: ViewScope.() -> Unit)
Link copied to clipboard
fun KewtApp.setContent(content: ViewScope.() -> Unit)

Sets the high-level UI content for the application.

Link copied to clipboard
fun ViewScope.Text(content: String, modifier: Modifier = Modifier)