Skip to content

Expose CollapsibleTitle publicly #5809

Open
@dillydill123

Description

@dillydill123

I want to query CollapsibleTitles and call parent.screen.focus_next(CollapsibleTitle). To do this, I need to do the following:

from textual.widgets._collapsible import CollapsibleTitle

This causes issues with linters that do not allow private imports (_collapsible here). Could this type CollapsibleTitle be exposed publicly? Perhaps in textual.types?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions