You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.
As a user, I would like to be able to reduce the amount of elements in the app when it starts. for example, opening a dock when a button is clicked.
Details
@viewer.button(text="open dock")
def click():
# Open a dock or form here that contains the below elements
# like select, checkbox, button, etc
@viewer.select(items=[
{'text': '0'},
{'text': '1'},
{'text': '2'}
])
def select(index, text):
meshobj = meshes[text]
viewer.view.update()
@viewer.checkbox(text="show mesh", checked=True)
def check(checked):
meshobj.is_visible = checked
viewer.view.update()
currently, all of the elements get created again when the button is clicked multiple times.
*allow to click once (or hide/show elements)
The text was updated successfully, but these errors were encountered:
Feature Request
As a user, I would like to be able to reduce the amount of elements in the app when it starts. for example, opening a dock when a button is clicked.
Details
currently, all of the elements get created again when the button is clicked multiple times.
*allow to click once (or hide/show elements)
The text was updated successfully, but these errors were encountered: