12-21-2023, 04:55 PM
Hello everyone,
Recently, I was trying to embed a tkinter window into the RoboDK interface. I found this really useful python api function called EmbedWindow (https://robodk.com/doc/en/PythonAPI/robo...mbedWindow).
The stated options for the argument "area_add" are 1 for right, 2 for left.
But since my tkinter window had a horizontal layout, it didn't work properly on left and right option, i tried different values for the "area_add" parameter, and I found out that area_add = 4 will dock the tkinter window on the top, and the area_add = 8 will dock the tkinter window on the bottom.
I hope this gets included in the documentation as it will make it easier for others.
Are these types of threads allowed in this forum? Suggestions rather than questions.
Best regards,
Aymane
Recently, I was trying to embed a tkinter window into the RoboDK interface. I found this really useful python api function called EmbedWindow (https://robodk.com/doc/en/PythonAPI/robo...mbedWindow).
The stated options for the argument "area_add" are 1 for right, 2 for left.
But since my tkinter window had a horizontal layout, it didn't work properly on left and right option, i tried different values for the "area_add" parameter, and I found out that area_add = 4 will dock the tkinter window on the top, and the area_add = 8 will dock the tkinter window on the bottom.
I hope this gets included in the documentation as it will make it easier for others.
Are these types of threads allowed in this forum? Suggestions rather than questions.
Best regards,
Aymane