Hallo Simpson36,
if you add a embedded tab in your ini with a command like:
Code:
gladevcp -x {XID} -u plasma.py -H plasma.hal plasma.glade
it will load first the glade panel, than excecute the hal file and include the python file as a handler file. so you can make what ever u want.
You can look at sim / gmoccapy / gmoccapy_plasma for an example, as it do handle it your way.
In your handler file, you add two own hal pin with your component name one in and one out,
and connect the in change signal to your own handler.
In the hal file connect whatever pin you want to your component in hal pin.
The handler can now change the out pin to any value.
The out pin is again connected in your hal file to any other pin.
So where is the problem?
Please give a detailed example.
Norbert