Please Log in or Create an account to join the conversation.
ArcEye wrote: JT
If you think that is worth doing, the better way might be to have a field in the .xml file, called for instance writeable .
When <writeable>1</writeable> say, is found inside a widget block, the extra pin could be created giving direct access to the value output or the state of the widget etc.
If not, everything works as previously with no extra pins cluttering pyvcp.
Certainly achievable, just a question of whether it is likely to be adopted and whether it is macro managing an aspect of a larger problem, which is better addressed through gladeVCP?
I only use pyVCP for simple controls and that is probably what it is best for.
Others would use gladeVCP and I would use a Qt panel and component for something more complicated.
regards
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Lets take something that makes sense to me a preset for a check box. If you could have in the XML a <preset>1</preset> to indicate the state of the check box should be on when created...
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.