From 12284487b48690b1b6b0694b747c45512a9dbe2c Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 20 Jan 2019 15:08:30 -0500 Subject: Implement Container interface in widgets/ --- widgets/account.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'widgets/account.go') diff --git a/widgets/account.go b/widgets/account.go index 54eb9e9..70686fb 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -86,6 +86,10 @@ func NewAccountView(conf *config.AccountConfig, return acct } +func (acct *AccountView) Children() []Drawable { + return acct.grid.Children() +} + func (acct *AccountView) OnInvalidate(onInvalidate func(d ui.Drawable)) { acct.grid.OnInvalidate(func(_ ui.Drawable) { onInvalidate(acct) -- cgit v1.2.3