GladeVCP References

More
29 Mar 2016 00:57 #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 or Create an account to join the conversation.

More
29 Mar 2016 06:20 #72293 by cmorley
The following user(s) said Thank You: squan09

Please Log in or Create an account to join the conversation.

More
29 Mar 2016 19:56 #72347 by squan09
Replied by squan09 on topic GladeVCP References
Thanks for that. Everything is starting to make more sense.

Please Log in or Create an account to join the conversation.

More
30 Mar 2016 06:43 #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 or Create an account to join the conversation.

More
30 Mar 2016 19:46 #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 or Create an account to join the conversation.

Moderators: mhaberlerHansU
Time to create page: 0.070 seconds
Powered by Kunena Forum