ui
ui copied to clipboard
Feature Request: tab switch events
I'd like to be able to something like this where component is the tab that we just switched to.
mut tabbox := ui.Tabbox.new(
on_change: fn (tab_name string, mut component Component) {
// do something with tab_name and component
}
)