Disabling mouse clicks or off clicks from ui.dialog #4011
-
Questionis there a method to disable users from clicking off of the ui.dialog i want to keep it up untill my exe is finish in the background # Show the dialog with spinner
progress_dialog.open()
# Send unique_code and folder_path to the .exe for each row in the table_data
exe_path = 'SE Data Extraction.exe'
for data in table_data:
unique_code = data.get('unique_code', '')
if unique_code and folder_path:
output, sink_combined_configuration = await run_exe(exe_path, unique_code, folder_path)
data['sink_combined_configuration'] = sink_combined_configuration
print(f"EXE Output for {unique_code}: {output}")
# Hide the dialog with spinner
progress_dialog.close() |
Beta Was this translation helpful? Give feedback.
Answered by
falkoschindler
Nov 21, 2024
Replies: 1 comment 1 reply
-
Hi @Leocrydis, There's a "persistent" prop for exactly this purpose: progress_dialog.props('persistent') |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Leocrydis
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @Leocrydis,
There's a "persistent" prop for exactly this purpose: