Widgets that hand the theme, the window, the words and a place for overlays to the widgets below. gowaku.Run puts each at the root of a window; use them to change a part.
Tells the widgets below about the window: brightness, scale, reduced motion, locale and the size of its content area. A widget that reads the size with basic.WindowSizeOf is rebuilt when the window is resized, and only it. Here the British locale starts the week on Monday.
basic.Builder{Content:func(ctxcore.BuildContext)core.Widget{data:=basic.MediaQueryOf(ctx)data.Locale=language.BritishEnglish// weeks start on Mondayreturnbasic.MediaQuery{Data:data,Child:field.Calendar{Value:time.Date(2026,time.November,9,0,0,0,0,time.UTC),OnChange:func(time.Time){},}}}}
It draws nothing of its own, so there is no picture.
basic.Builder{Content:func(ctxcore.BuildContext)core.Widget{returncontrol.Button{Label:"Show a hint",OnPress:func(){varentry*overlay.Entryentry=overlay.Of(ctx).Insert(func()core.Widget{returnbasic.Positioned{Left:16,Top:16,Child:control.Button{Label:"Close the hint",OnPress:func(){entry.Remove()}}}})}}}}