Skip to content

[Question] Is there a way to hide a widget without destroying it? #485

@Column01

Description

@Column01
Description:

I'm looking for a way to toggle a widget's visibility on-screen without completely deleting it. Is there some way I can do this?

My project has 2 panels that have data updated in them automatically, and I'd like to allow the user to hide them with a keystroke. The only way I could think of was to delete them, but obviously this breaks the code that updates them automatically and isn't really ideal. Is there some sort of way I can toggle their visibility but still allow this code to update their contents so I can make them visible at a later point?

Affected versions (if applicable)
  • master branch (specify commit)
  • Latest stable version from pypi
  • Other (specify source)
Steps to reproduce (if applicable)

N/A

Expected/actual outcome

N/A

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