summary refs log tree commit diff stats
path: root/widgets/account.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-01-20 15:08:30 -0500
committerDrew DeVault <sir@cmpwn.com>2019-01-20 15:08:30 -0500
commit12284487b48690b1b6b0694b747c45512a9dbe2c (patch)
tree1710ece70d0334ce10c14fda8537d98ac7339706 /widgets/account.go
parenta0c2b1caf03d0ed8b89de8402fcc14b003969e2c (diff)
downloadaerc-12284487b48690b1b6b0694b747c45512a9dbe2c.tar.gz
Implement Container interface in widgets/
Diffstat (limited to 'widgets/account.go')
-rw-r--r--widgets/account.go4
1 files changed, 4 insertions, 0 deletions
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)
href='#n147'>147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199