func (w *Window) Paint(c gxui.Canvas) { w.PaintBackground(c, c.Size().Rect()) w.PaintChildren.Paint(c) w.PaintBorder(c, c.Size().Rect()) }