mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
11 lines
269 B
C
11 lines
269 B
C
#include <LCUI.h>
|
|
|
|
void alert_dialog_basic_init(ui_widget_t *parent)
|
|
{
|
|
ui_widget_t *alert = ui_create_alert_dialog();
|
|
|
|
ui_dialog_build_children(alert);
|
|
ui_dialog_set_trigger_text(alert, "Show Dialog");
|
|
ui_widget_append(parent, alert);
|
|
}
|