API#
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.ValidatorMassWidget(
- schema_paths: List[str] | None = None,
- use_global_style: bool = False,
- style: Dict[str, Dict[str, Any]] | None = None,
- validator_widget_root_frame: Widget | None = None,
- width: Length | None = None,
Bases:
object
- __init__(
- schema_paths: List[str] | None = None,
- use_global_style: bool = False,
- style: Dict[str, Dict[str, Any]] | None = None,
- validator_widget_root_frame: Widget | None = None,
- width: Length | None = None,
Create a mass validator widget
Args: :param schema_paths: list of json file to use as schema :param use_global_style: use the global style or the local one :param style: UI style to use :param validator_widget_root_frame: frame to use if we want to show the validation widget of a job
- add_and_run_all()#
Add and run the Mass Validation
- property core#
Mass Validation core
- destroy()#
- force_toggle(item: _Item, value: bool)#
Toggle or not a tab
- set_validator_widget_root_frame(
- value: Frame,
Set the frame to use to show the validation widget of a job
- Parameters:
value – the frame to use
- show(value: bool)#
- subscribe_mass_queue_action_pressed(
- callback: Callable[[_Item, str], Any],
Return the object that will automatically unsubscribe when destroyed.
- subscribe_selection_changed(
- function: Callable[[_Item], Any],
Return the object that will automatically unsubscribe when destroyed. Called when the selection of the tree change
- subscribe_tab_toggled(
- function: Callable[[_Item, bool], Any],
Return the object that will automatically unsubscribe when destroyed. Called when the selection of the tree change
- property tab_selection#
Current selected tab(s)
- omni.flux.validator.mass.widget.setup_ui.disable_viewport_notifications()#
Disable viewport notifications temporarily