summaryrefslogtreecommitdiff
path: root/widgets/aerc.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/aerc.go')
-rw-r--r--widgets/aerc.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/aerc.go b/widgets/aerc.go
index 9444c9f..1ee4994 100644
--- a/widgets/aerc.go
+++ b/widgets/aerc.go
@@ -49,6 +49,10 @@ func NewAerc(conf *config.AercConfig, logger *log.Logger) *Aerc {
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)