Macro kas_macros::list

source ·
list!() { /* proc-macro */ }
Expand description

Make a list widget

This is a more generic variant of column! and row!.

Children are navigated in visual order.

Items support widget layout syntax.

Example

let my_widget = kas::list!(left, ["one", "two"]);

Syntax

List :
   list! ( Direction , [ ( Layout , )* ( Layout ,? )? ] }

Direction :
   left | right | up | down