omni.flux.validator.mass.widget#
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- class omni.flux.validator.mass.widget.setup_ui.TabPage(**kwargs)#
Drop-aware tab content frame. Owns its frame, implements the drop router contract, and fires a drop event when a drop is routed here. Subscribers (e.g. file list plugin) subscribe via subscribe_drop(callback) to handle drops. Always registers with the router; unregisters on destroy.
- destroy(self: omni.ui._ui.Widget) None#
Removes all the callbacks and circular references.
- set_plugin_drop_handler(
- callback: Callable[[Any], None],
Subscribe a single plugin drop handler (e.g. instance.handle_drop). Replaces any previous subscription.
- subscribe_drop(
- callback: Callable[[Any], None],
Subscribe to drop events on this tab page. Returns an EventSubscription that unsubscribes when discarded.
- omni.flux.validator.mass.widget.setup_ui.disable_viewport_notifications()#
Disable viewport notifications temporarily