Skip to content

Feature Request: tab switch events #21

@islonely

Description

@islonely

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
    }
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions