Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Embed TKinter on RoboDK (labels)
#1
Question 
Hi.
If I create a docked tkinter python app, the label form is not accesible via Robodk GUI, in other words It cant be writable.

   

Is there any example?
My code is: 
.py   Test.py (Size: 563 bytes / Downloads: 3)
#2
I believe this issue is specific to how you use Python/Tkinter.

I attached a sample project that shows a similar concept and writting on a label is working.

Also, one tip: when you embed a window in RoboDK I recommend you to run all RoboDK API operations in a separate thread.


Attached Files
.rdk   Example-07.b-Weld Script Graphical User Interface.rdk (Size: 2.45 MB / Downloads: 5)
#3
(11-17-2020, 03:36 AM)Albert Wrote: I believe this issue is specific to how you use Python/Tkinter.

I attached a sample project that shows a similar concept and writting on a label is working.

Also, one tip: when you embed a window in RoboDK I recommend you to run all RoboDK API operations in a separate thread.

Hi Albert, thanks for your reply.
In your example, the text field works, but if you resize the embed window the text label freezes and cant be writable.
  




Users browsing this thread:
1 Guest(s)