Subject: | Focus notification |
For some cases - container widgets, for example - it'd be very useful to have (recursive) focus notification when any of the child windows receives focus. At the moment, overriding ->focus_next gets part of the way there but I haven't found a way to cover ->take_focus or mouse click, other than dirty hacks such as subclassing Tickit::Window (https://metacpan.org/source/TEAM/Tickit-Widget-Layout-Relative-0.003/lib/Tickit/Widget/Layout/Relative.pm#L392 for example).
Either something in the ContainerWidget interface or a way to add focus callback hooks to the child windows that we hand out via ->make_sub would be great.
cheers,
Tom