Hello, folks!
I have a question about Axis GUI and pyvcp panels.
This is the section of Axis script, which addresses pyvcp panels:
if vcp:
import vcpparse
comp.setprefix("pyvcp")
f = Tkinter.Frame(root_window)
f.grid(row=1, column=0, rowspan=6, sticky="nw", padx=10, pady=250)
vcpparse.filename = vcp
vcpparse.create_vcp(f, comp)
comp.ready()
These particular 2 rows deal the question, where pyvcp panel is place
on the screen:
f = Tkinter.Frame(root_window)
f.grid(row=1, column=0, rowspan=6, sticky="nw", padx=10, pady=250)
As You may notice, I have already tweaked the second line a little bit.
My question is: can anyone suggest correct syntax for attaching pyvcp
panels to "Manual control" tab?
I have spent several hours, trying to find, how to do it, but python
documentation is not that detailed for my [nonexisting] skills of
programming. I suspect, that I should specify master widget, which I
think, according to Axis script, would be tabs_manual (now it has
master widget - root_window). I have tried many different ways to get
correct syntax, but I always get an error on EMC startup. Sometimes it
just says: incorrect syntax, some other times it refers to previous
calls and refers to some lines in usr/lib/python2.6/lib-tk/Tkinter.py
script. I looked there, but did not find any clue.
Thanks in advance!
Viesturs
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users