Widget Inspector

wxPython provides a Widget Inspection Tool that can be enabled for debugging and development purposes in CellProfiler.

When enabled, the widget inspector can be accessed from Test > Widget Inspector.

To enable the widget inspector from command line, include the --widget-inspector flag when invoking cellprofiler.

To enable the widget inspector, and to persist it across sessions without the need to provide a command line flag, go to CellProfiler preferences and toggle the checkbox next to “Enable widget inspector”.