12284487b48690b1b6b0694b747c45512a9dbe2c — Drew DeVault 28 days ago
Implement Container interface in widgets/
2 files changed, 8 insertions(+), 0 deletions(-)

M widgets/account.go
M widgets/aerc.go
M widgets/account.go => widgets/account.go +4 -0
@@ 86,6 86,10 @@ 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)

M widgets/aerc.go => widgets/aerc.go +4 -0
@@ 49,6 49,10 @@ return aerc
  }
  
+ func (aerc *Aerc) Children() []Drawable {
+ 	return aerc.grid.Children()
+ }
+ 
  func (aerc *Aerc) OnInvalidate(onInvalidate func(d libui.Drawable)) {
  	aerc.grid.OnInvalidate(func(_ libui.Drawable) {
  		onInvalidate(aerc)