Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


Remove / reload a docked interface via Python

New Here ,
Jul 28, 2021 Jul 28, 2021

Copy link to clipboard

Copied

I have a docked widget that I've added to the Painter UI through python, but I need to dynamically reload / replace the dialog.
The API doesn't appear to provide a method for removing the docked interface, is there a recommended method for doing so?

Iterating over the main window child widgets to find and remove the dock widget via 

ui.add_dock_widget()

seems to cause Painter to crash.

TOPICS
Scripting

Views

46

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 28, 2021 Jul 28, 2021

Copy link to clipboard

Copied

LATEST

I should also mention I'm still targeting version 7.1.1

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources