lightspeed.trex.home.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 lightspeed.trex.home.widget.HomePageWidget(context_name: str = '')#
- destroy()#
Clean up all resources, subscriptions, and references. Called when the window is being permanently closed.
- refresh()#
Refresh the UI elements and internal states.
- set_resume_enabled(enabled: bool)#
Enable or disable the resume button. Will also update the tooltip if the button is disabled
- Parameters:
enabled – Whether the resume button should be enabled or disabled
- show(visible: bool)#
Triggered by the WorkspaceWindowBase when the window is shown or hidden.
- Parameters:
visible – True if visible, False if hidden.
- class lightspeed.trex.home.widget.TrexHomePageWindowExtension#
Home Page Window Extension