Add SetText method to TextBox

This commit is contained in:
Sasha Koshka 2023-07-08 23:49:51 -04:00
parent ec967fe4f8
commit facd85ef21
1 changed files with 2 additions and 0 deletions

View File

@ -159,6 +159,8 @@ type ContentBox interface {
// TextBox is a box that contains text content.
type TextBox interface {
ContentBox
SetText (string)
SetTextColor (color.Color)
SetFace (font.Face)
SetHAlign (Align)