Docs menu

Components and Interaction

Standard Widget Runtime

Physically proven standard LVGL families, semantic themes and generated API direction.

Physically proven widget families

  • Led, Bar, Arc, Chart and Table
  • Keyboard, Calendar, Scale, Roller, Message Box and Button Matrix
  • Input, Textarea, Checkbox, Switch and Radio
  • Progress, CircularProgress, NumberInput and Select

Generated API model

Interactive semantic widgets use guarded FG_Set_<Name>_* setters and call FG_On_<Name>_* only for genuine user interaction. Output-only widgets expose setters without user hooks. Presentation-only elements remain API-free.

c
FG_Set_Progress_Value(72);
FG_Add_Data_Chart_Point(42);
FG_Clear_Data_Chart();

void FG_On_Switch_Changed(bool checked)
{
    // Queue product behaviour; keep the LVGL callback lightweight.
}

Semantic theme parity

Supported widgets consume the shared semantic palette across Canvas, Browser Preview and generated LVGL. The selected theme is exported; runtime theme switching on ESP32-P4 is not claimed.