Is it possible to fire off a function from a PW object is selected or clicked in the same way it can be done with a standard screen GUI object like a button in a window?
For example, something like this:
mywindow.setParameterWidgetVisible(true);
var _pw = mywindow.parameterWidget();
_pw.appendComboBox(qsTr("Site"), "siteid", siteqry);
_pw.siteid.clicked.connect(DoSumthin);
function DoSumthin(){
blah blah blah
mywindow.close();
}