Function widgetry::widgets::table::render_table
source · pub fn render_table(
ctx: &mut EventCtx<'_>,
headers: Vec<Widget>,
rows: Vec<(String, Vec<GeomBatch>)>,
total_width: f64
) -> Widget
Expand description
Render a table with the specified headers and rows. Each row will be a clickable button with a string label.