Skip to content

Add titles as a __init__ trait #2413

@beasteers

Description

@beasteers

I find it quite unpythonic to have to write

tabs = w.Tab(children=outputs)
for i, title in enumerate(titles):
    tabs.set_title(i, title)

Where, we should just be able to write:

tabs = w.Tab(children=outputs, titles=titles)

Metadata

Metadata

Assignees

No one assigned

    Labels

    resolved-lockedClosed issues are locked after 30 days inactivity. Please open a new issue for related discussion.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions