BeginKbdGroup#
func BeginKbdGroup(canvas *ui.Canvas, theme ui.Theme, bounds ui.Rect) KbdGroupBeginKbdGroup starts an allocation-free keycap row.
type KbdGroup struct {
// contains filtered or unexported fields
}KbdGroup incrementally paints keycaps with the source recipe's compact gap.
BeginKbdGroup#func BeginKbdGroup(canvas *ui.Canvas, theme ui.Theme, bounds ui.Rect) KbdGroupBeginKbdGroup starts an allocation-free keycap row.
Add#func (group *KbdGroup) Add(label string) ui.RectAdd paints one keycap and advances by the Vega one-space gap.