Module ui.widget.keyvaluepage

Widget that presents a multi-page to show key value pairs.

Example:

local Foo = KeyValuePage:new{
    title = "Statistics",
    kv_pairs = {
        {"Current period", "00:00:00"},
        -- single or more "-" will generate a solid line
        "----------------------------",
        {"Page to read", "5"},
        {"Time to read", "00:01:00"},
        {"Press me", "will invoke the callback",
         callback = function() print("hello") end },
    },
}
UIManager:show(Foo)



generated by LDoc 1.4.6 Last updated 2017-10-08 14:57:40