Skip to content

Feature Request: tab switch events #21

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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