napari_track_edit
Submodules
Classes
Initialize multiple widgets at once, by group |
Functions
|
Restrict the wgpu instance to Vulkan on Linux. |
Package Contents
- napari_track_edit.configure_wgpu_backend() None
Restrict the wgpu instance to Vulkan on Linux.
wgpu probes every backend when requesting an adapter. On Linux the GLES/EGL probe calls eglMakeCurrent, which returns BadAccess once napari’s Qt/vispy OpenGL context is current; wgpu-native then panics in non-unwinding FFI code and aborts the whole process. Mesa ships the lavapipe ICD as a software fallback, so Vulkan-only is safe.
Set NAPARI_TRACK_EDIT_WGPU_BACKENDS (comma-separated, e.g. “All”) to override.
- class napari_track_edit.StartupWidget(napari_viewer: napari.Viewer, mode: str = 'all')
Bases:
qtpy.QtWidgets.QWidgetInitialize multiple widgets at once, by group
- viewer
- _finalize_ui(active_tab: str) None
Set the active foreground tab, and move tabbar to the top. :param active_tab: name of the tab to be set to the foreground (active). :type active_tab: str
- _remove_self() None
Remove the widget from the napari viewer.window.dock_widgets