GladeVCP References

More
10 years 7 months ago #72281 by squan09
GladeVCP References was created by squan09
Are there any references to find lists of attributes for objects related to GladeVCP? The particular error I am getting now is 'GPin' object has no attribute 'set_value'.

Similarly, I am looking through the custom GUI tutorial and see these lines:
self.status.poll()
data = self.status.actual_position[0]

Is there a reference that lists the functions like poll() or actual_position?

Please Log in to join the conversation.

More
10 years 7 months ago #72293 by cmorley

Please Log in to join the conversation.

More
10 years 7 months ago #72347 by squan09
Replied by squan09 on topic GladeVCP References
Thanks for that. Everything is starting to make more sense.

Please Log in to join the conversation.

More
10 years 7 months ago #72365 by newbynobi
Replied by newbynobi on topic GladeVCP References
pin.set(1.0) will set the pin to value 1.0

pin is a little but strange, as most widgets gets there value through set_value.

Norbert

Please Log in to join the conversation.

More
10 years 7 months ago #72410 by squan09
Replied by squan09 on topic GladeVCP References
That didn't seem to work for me. I'm not sure if I have the syntax calling the pin right. This did work for me though: self.halcomp = 0, but it only works for pins defined in the python code.

Is it possible to set any pin from python?

Please Log in to join the conversation.

Time to create page: 2.780 seconds
Powered by Kunena Forum